Skip to content

cannot catch this error  #15

@djwgit

Description

@djwgit

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions