diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2014-01-30 08:59:28 +0100 |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2014-01-30 08:59:28 +0100 |
commit | 8404fe9e3289107ac7507764691bac221a212255 (patch) | |
tree | bea366b3c68ccf53a6e51829ea5e32699b4c9f51 /bin/transifexpull.sh | |
parent | cfc84e984f253c9ed75aa7260419a6032dff5123 (diff) |
Updated localizations from Transifex
Diffstat (limited to 'bin/transifexpull.sh')
-rwxr-xr-x | bin/transifexpull.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/transifexpull.sh b/bin/transifexpull.sh index ba26a07f1..7415c02fd 100755 --- a/bin/transifexpull.sh +++ b/bin/transifexpull.sh @@ -36,3 +36,9 @@ done for file in $PWD/../plugins/*/localization/*.inc; do do_clean $file done + +# remove empty localization files +for file in $PWD/../program/localization/*/labels.inc; do grep -q -E '\$labels' $file || rm $file; done +for file in $PWD/../program/localization/*/messages.inc; do grep -q -E '\$messages' $file || rm $file; done +for file in $PWD/../plugins/*/localization/*.inc; do grep -q -E '\$(labels|messages)' $file || rm $file; done + |