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:04:43 +0100
commit8027780051da7758f722d1b5e003bd5aa7eee1cd (patch)
tree111b93c448c920ecb735eadd734dc8907863af64 /bin
parent781dc45515537991371e89212b25d3a262ab4cdf (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