summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rwxr-xr-xshare/filters/i18n.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/share/filters/i18n.py b/share/filters/i18n.py
index f36746fa7..c4e09959b 100755
--- a/share/filters/i18n.py
+++ b/share/filters/i18n.py
@@ -13,7 +13,11 @@ for filter in filters:
label = filter.getAttribute('inkscape:label')
menu = filter.getAttribute('inkscape:menu')
desc = filter.getAttribute('inkscape:menu-tooltip')
+ comment = ""
- print "N_(\"" + label + "\"), N_(\"" + menu + "\"), N_(\"" + desc + "\"),"
+ if "NR" in label:
+ comment = '/* TRANSLATORS: NR means non-realistic. See menu Filters > Non realistic shaders */\n'
+
+ print comment + "N_(\"" + label + "\"), N_(\"" + menu + "\"), N_(\"" + desc + "\"),"
print "];"