Rubustrings icon indicating copy to clipboard operation
Rubustrings copied to clipboard

cannot catch this error

Open djwgit opened this issue 7 years ago • 0 comments

in Localizable.strings, there is a line like this. "Turn off airplane mode or use Wi-Fi to access %@." = "Отключить режим "в самолете" или использовать Wi-Fi для доступа к %@.";

within the string, quotation marks are not escaped, wrong translation, while rubustring reports it is ok. plutil could catch the error.

$ plutil -lint test.strings plutil[60246:655609] CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary on line 1. Parsing will be abandoned. Break on _CFPropertyListMissingSemicolon to debug. test.strings: Unexpected character " at line 1029

djwgit avatar May 24 '18 05:05 djwgit