summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2013-11-30 19:04:43 +0100
committerAndras Timar <andras.timar@collabora.com>2013-11-30 19:09:53 +0100
commit642df5d716f858f1f6b3d6219132c3323032975a (patch)
treecc064c102f5d85e01a44a27d7403172fac0a5d35 /bin
parent79384a8f6049d10fd581e782deb57db653ac1a25 (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-xbin/ui-translatable.sh2
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