author | cniehaus <cniehaus> | 2002-12-14 20:00:07 (UTC) |
---|---|---|
committer | cniehaus <cniehaus> | 2002-12-14 20:00:07 (UTC) |
commit | a7752e9b70b3cf13afe6614ce646ccb5aedc4923 (patch) (unidiff) | |
tree | cd035ac80eb488426ae92e054b852950620f68b2 | |
parent | bf021429703b663aae76a25898311fccc7be830a (diff) | |
download | opie-a7752e9b70b3cf13afe6614ce646ccb5aedc4923.zip opie-a7752e9b70b3cf13afe6614ce646ccb5aedc4923.tar.gz opie-a7752e9b70b3cf13afe6614ce646ccb5aedc4923.tar.bz2 |
probs to cfish :)
-rwxr-xr-x | addLanguage.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/addLanguage.sh b/addLanguage.sh index 7d8a296..e321804 100755 --- a/addLanguage.sh +++ b/addLanguage.sh | |||
@@ -27,9 +27,7 @@ for i in `find . -name "*.pro"` ; do | |||
27 | else | 27 | else |
28 | echo "$i: Adding $LANG" | 28 | echo "$i: Adding $LANG" |
29 | perl -p -i.bak -e 's/^(TRANSLATIONS\s+)(([^+])?=)(.+?i18n\/)(.+?)(\/.+?)$/$1$2$4$5$6\n$1+=$4'$LANG'$6/' $i | 29 | perl -p -i.bak -e 's/^(TRANSLATIONS\s*\+?=\s*)(.+?i18n\/)(.+?)(\/.+?\.ts)(.*)$/$1$2$3$4 \\\n\t $2'$LANG'$4$5/' $i |
30 | fi | 30 | fi |
31 | fi | 31 | fi |
32 | done | 32 | done |
33 | 33 | ||
34 | |||
35 | |||