You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
287 B

if ! test -d Snikket/tmp.strings; then
mkdir Snikket/tmp.strings;
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