mirror of
https://github.com/passepartoutvpn/passepartout-apple.git
synced 2025-02-16 12:52:11 +00:00
List untranslated strings
This commit is contained in:
parent
00aedbf470
commit
c253034340
11
ci/list-untranslated.sh
Executable file
11
ci/list-untranslated.sh
Executable file
@ -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
Block a user