diff options
| author | Ivan Mas??r <helix84@centrum.sk> | 2009-06-16 14:35:19 +0000 |
|---|---|---|
| committer | helix84 <helix84@users.sourceforge.net> | 2009-06-16 14:35:19 +0000 |
| commit | 076a3d0ccbb5f2eedb1d2507b52ecd97580e0a20 (patch) | |
| tree | 8538fdef13438e5c72d4e51db117c525fbca0cc2 /share | |
| parent | * [INTL:zh_TW] Traditional Chinese translation update (diff) | |
| download | inkscape-076a3d0ccbb5f2eedb1d2507b52ecd97580e0a20.tar.gz inkscape-076a3d0ccbb5f2eedb1d2507b52ecd97580e0a20.zip | |
* [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)
Diffstat (limited to 'share')
| -rwxr-xr-x | share/filters/i18n.py | 6 |
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 "];" |
