Add update-strings.sh to generate Localizable.strings (UTF-8)

old/BartyCrouch
Matthew Wild 3 years ago
parent 3fd4dd1989
commit 632f28b664

@ -0,0 +1,7 @@
if ! test -d Snikket/tmp.strings; then
mkdir Snikket/tmp.strings;
fi
find ./Snikket -name "*.swift" -print0 | xargs -0 genstrings -o Snikket/tmp.strings
iconv -f utf-16 -t utf-8 Snikket/tmp.strings/Localizable.strings > Snikket/en.lproj/Localizable.strings
rm -rf Snikket/tmp.strings
Loading…
Cancel
Save