aboutsummaryrefslogtreecommitdiffstats
path: root/main/project/localization
diff options
context:
space:
mode:
Diffstat (limited to 'main/project/localization')
-rwxr-xr-xmain/project/localization/findextratranslations.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/main/project/localization/findextratranslations.sh b/main/project/localization/findextratranslations.sh
index 8e2898d..331c5d4 100755
--- a/main/project/localization/findextratranslations.sh
+++ b/main/project/localization/findextratranslations.sh
@@ -20,6 +20,11 @@ else
fi
checkpresent() {
+ # Status messages are dynamically referenced by name, so they will
+ # not appear in the source.
+ if [ -z `echo $1 | sed -e 's/^status_.*$//'` ]; then
+ return 0
+ fi
# Attributes are a special case, where in fact only the _yes is
# referenced in the source while the _no should be kept as well
res=`echo $1 | sed -e 's/^\(attribute_.*_\)no/\1yes/'`