From 076a3d0ccbb5f2eedb1d2507b52ecd97580e0a20 Mon Sep 17 00:00:00 2001 From: Ivan Mas??r Date: Tue, 16 Jun 2009 14:35:19 +0000 Subject: * [INTL:*] added some translator comments for filters.svg * [INTL:*] make inkscape.pot * [INTL:*] ran ./check-markup and msgfmt -cv for *.po and fixed errors (bzr r8085) --- share/filters/i18n.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'share') 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 "];" -- cgit v1.2.3