diff options
author | Andras Timar <andras.timar@collabora.com> | 2013-11-30 19:04:43 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2013-11-30 19:09:53 +0100 |
commit | 642df5d716f858f1f6b3d6219132c3323032975a (patch) | |
tree | cc064c102f5d85e01a44a27d7403172fac0a5d35 /bin | |
parent | 79384a8f6049d10fd581e782deb57db653ac1a25 (diff) |
mark non-translatable .ui strings explicitely as such
so bin/ui-translatable.sh will not find false positives
Change-Id: I35e98ba22ba8c0cc9bbf0de40b31be421acc4c15
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ui-translatable.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ui-translatable.sh b/bin/ui-translatable.sh index 34f3d0873cf6..affac56ae082 100755 --- a/bin/ui-translatable.sh +++ b/bin/ui-translatable.sh @@ -10,7 +10,7 @@ for i in `git ls-files *.ui`; do for j in "label" "title" "text" "format" "copyright" "comments" "preview_text" "tooltip" "message" ; do - grep -s "\<property name\=\"$j\"" $i | grep -v "translatable\=\"yes" | grep -v gtk\- | grep ">.*[A-Za-z].*<"; + grep -s "\<property name\=\"$j\"" $i | grep -v "translatable\=\"yes" | grep -v "translatable\=\"no" | grep -v gtk\- | grep ">.*[A-Za-z].*<"; if [ "$?" -eq 0 ] ; then echo "Source: $i^"; fi |