diff options
| author | Aur??lio A. Heckert <aurium@gmail.com> | 2010-11-14 22:59:27 +0000 |
|---|---|---|
| committer | Aurélio A. Heckert <aurium@gnu> | 2010-11-14 22:59:27 +0000 |
| commit | 778da494463891561f889d0010673a892a475472 (patch) | |
| tree | 7d88998e5469cd666b2304c1ff354532511166c4 /share | |
| parent | Fixed include to ensure file compiles with lcms disabled (diff) | |
| download | inkscape-778da494463891561f889d0010673a892a475472.tar.gz inkscape-778da494463891561f889d0010673a892a475472.zip | |
makes i18n to work on python extensions
(bzr r9893)
Diffstat (limited to 'share')
| -rwxr-xr-x | share/extensions/inkex.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/share/extensions/inkex.py b/share/extensions/inkex.py index 7d40bc70c..67e6c5bad 100755 --- a/share/extensions/inkex.py +++ b/share/extensions/inkex.py @@ -22,7 +22,11 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA import sys, copy, optparse, random, re import gettext from math import * -_ = gettext.gettext + +gettext.install('inkscape') +# _ = gettext.gettext +# gettext.bindtextdomain('inkscape', '/usr/share/locale') +# gettext.textdomain('inkscape') #a dictionary of all of the xmlns prefixes in a standard inkscape doc NSS = { |
