Add update-strings.sh to generate Localizable.strings (UTF-8)
This commit is contained in:
parent
3fd4dd1989
commit
632f28b664
7
update-strings.sh
Executable file
7
update-strings.sh
Executable file
|
@ -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…
Reference in a new issue