~valavanisalex/ubuntu/precise/inkscape/fix-943984

« back to all changes in this revision

Viewing changes to share/filters/i18n.py

  • Committer: Bazaar Package Importer
  • Author(s): Bryce Harrington
  • Date: 2009-07-02 17:09:45 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20090702170945-nn6d6zswovbwju1t
Tags: 0.47~pre1-0ubuntu1
* New upstream release.
  - Don't constrain maximization on small resolution devices (pre0)
    (LP: #348842)
  - Fixes segfault on startup (pre0)
    (LP: #391149)

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
        label = filter.getAttribute('inkscape:label')
14
14
        menu = filter.getAttribute('inkscape:menu')
15
15
        desc = filter.getAttribute('inkscape:menu-tooltip')
 
16
        comment = ""
16
17
 
17
 
        print "N_(\"" + label + "\"), N_(\"" + menu + "\"), N_(\"" + desc + "\"),"
 
18
        if "NR" in label:
 
19
                comment = '/* TRANSLATORS: NR means non-realistic. See menu Filters > Non realistic shaders */\n'
 
20
        
 
21
        print comment + "N_(\"" + label + "\"), N_(\"" + menu + "\"), N_(\"" + desc + "\"),"
18
22
 
19
23
print "];"