List untranslated strings
This commit is contained in:
parent
00aedbf470
commit
c253034340
|
@ -0,0 +1,11 @@
|
|||
#!/bin/sh
|
||||
DIR="Passepartout/Resources"
|
||||
FILENAME="Localizable.strings"
|
||||
STRINGS_EN="$DIR/en.lproj/$FILENAME"
|
||||
STRINGS_IT="$DIR/it.lproj/$FILENAME"
|
||||
IDS="string-ids.tmp"
|
||||
|
||||
sed -E "s/^(.+) = .*$/\1/" $STRINGS_EN | grep '^"' >$IDS.en
|
||||
sed -E "s/^(.+) = .*$/\1/" $STRINGS_IT | grep '^"' >$IDS.it
|
||||
diff $IDS.en $IDS.it | grep "^<" | sed -E 's/^< "(.*)"$/\1/g'
|
||||
rm -f $IDS.*
|
Loading…
Reference in New Issue