Skip to content

Commit

Permalink
updates on format attribute for android
Browse files Browse the repository at this point in the history
  • Loading branch information
cescofry committed Jun 27, 2013
1 parent 8d821da commit da3844c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
###Strings
=======

Strings is an utility to transform and manage the diffrent localization files from and to an iOS project and an Android project.<br>
Strings is an utility to transform and manage the diffrent localisation files from and to an iOS project and an Android project.<br>
The obejctive-C project has 2 targets. They are meant for managing strings through an GUI interface as well as a command line one.<br>

The core library at the moment is
Expand All @@ -27,7 +27,7 @@ Tests are a bit behind

### Aknolegment
My background comes from iOS developemnt. In that sense I feel pretty confident with the import/export and translation of the files. However this project could really use some help from some more experienced Mac OS X developers to address the user interface, as well as some Android developers ot check the format conversion and the parsing of xml files.<br>
At this stage the basic for file conversion is at a good stage. Most important features to be implemented are the keeping the order of the keys during parsing comapred with original files, and consequently tracking and parsing of the comments inside the files (at the moment both ignored). Also the Andorid xml string elements sometimes contain a format attribute that is ignored from the covnertion and later on the parsing as well.<br>
At this stage the basic for file conversion is at a good stage. Most important features to be implemented are the keeping the order of the keys during parsing comapred with original files, and consequently tracking and parsing of the comments inside the files (at the moment both ignored).<br>


### License
Expand Down
6 changes: 3 additions & 3 deletions Strings/ZFStringsConverter.m
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ - (NSString *)stringsStringFromDictionary:(NSDictionary *)dictionary {

}



#pragma mark - XML

/*!
Expand All @@ -125,8 +127,6 @@ - (NSString *)stringsStringFromDictionary:(NSDictionary *)dictionary {
@return NSDictionary with the translations
@discussion This doesn't take care of the format parameter found in some xml translation files
*/

- (NSDictionary *)translationsForXMLAtURL:(NSURL *)XMLURL {
Expand All @@ -153,7 +153,7 @@ - (NSDictionary *)translationsForXMLAtURL:(NSURL *)XMLURL {
@return NSString ready to be written to an .xml file
@discussion The format attribute is not parsed as not tracked
@discussion The format attribute is not parsed
*/

Expand Down

0 comments on commit da3844c

Please sign in to comment.