Last active
August 29, 2015 14:06
-
-
Save orkoden/d9027cc6773ff8712d61 to your computer and use it in GitHub Desktop.
Incorrectly escaped string in my localized strings files: \\"%@\\" should have been \"%@\" as it should display as "foo".
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find Resources/Localizable.strings -name "*.strings" -type f -exec gsed -i 's/\\\\\"%@\\\\\"/\\\"%@\\\"/g' {} ";" -exec plutil -lint {} ";" | |
# needs gnu-sed to be installed for -i parameter |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment