diff options
author | Andras Timar <andras.timar@collabora.com> | 2014-01-19 18:48:30 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2014-01-19 19:01:49 +0100 |
commit | bf32240b97ad2cf6a515715a4214497e4fb00bb9 (patch) | |
tree | 0e7a0fe68f2ba8c073327af0fbf9283e6c722208 /bin | |
parent | fdo#73799: Make some items in the filter dialogs translatable. (diff) | |
download | core-bf32240b97ad2cf6a515715a4214497e4fb00bb9.tar.gz core-bf32240b97ad2cf6a515715a4214497e4fb00bb9.zip |
detect unlocalizable strings in GtkComboBoxText <item> elements
Change-Id: I0598be74345b70aee7feefeaea4cf525a5f2173b
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ui-translatable.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/ui-translatable.sh b/bin/ui-translatable.sh index affac56ae082..1d88d9df9345 100755 --- a/bin/ui-translatable.sh +++ b/bin/ui-translatable.sh @@ -15,4 +15,8 @@ for i in `git ls-files *.ui`; do then echo "Source: $i^"; fi done + grep -s "<item>" $i | grep -v "translatable\=\"yes" | grep -v "translatable\=\"no" | grep ">.*[A-Za-z].*<"; + if [ "$?" -eq 0 ] ; + then echo "Source: $i^"; + fi done |