freshOS / Localize

🏁 Automatically clean your Localizable.strings files
MIT License
354 stars 29 forks source link

Unable to find some of the usages #14

Closed ezisazis closed 6 years ago

ezisazis commented 6 years ago

The script can't find those usages where (let's say, the line is too long) a key is broke into a new line

NSLocalizedString(
@"string_key", nil)]

Can be easily fixed by doing:

NSLocalizedString(@"string_key", nil)]

Although it would be nice if the script could find the first one too

sionleroux commented 6 years ago

If you just want to allow newline after ( you can do: NSLocalizedString(\n?otherstuff the \n? is the important part (optional newline).