dral3x / StringsLint

📱Ensure your localized strings are complete and never unused 👍
MIT License
68 stars 10 forks source link

False positive - strings with comments #20

Open jamiehunt opened 3 years ago

jamiehunt commented 3 years ago

Strings with same-line comments appear to produce false missing violations Partial Violation: Localized string "my_string" is missing in locale "ja" (partial)

en/Localizable.strings

"my_string" = "Foo bar...";

ja/Localizable.strings

"my_string" = "フーバー"; // Some comment
dral3x commented 3 years ago

Hi @jamiehunt ! Thanks for reporting this issue.

Are comments supposed to be added inline? I never saw them used like that inside a .strings. file.