summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c04e6f3)
raw | patch | inline | side by side (parent: c04e6f3)
author | JazzyNico <nicoduf@yahoo.fr> | |
Thu, 8 Jul 2010 16:48:40 +0000 (18:48 +0200) | ||
committer | JazzyNico <nicoduf@yahoo.fr> | |
Thu, 8 Jul 2010 16:48:40 +0000 (18:48 +0200) |
share/extensions/uniconv-ext.py | patch | blob | history | |
share/extensions/uniconv_output.py | patch | blob | history |
index 3b248d8b82bcbfa96433b95edca44677baef50e0..d3d69546c2e1ebfc0507dc4c357d4b87e7d93ea3 100644 (file)
import sys
from run_command import run
+import gettext
+_ = gettext.gettext
cmd = None
import imp
imp.find_module("uniconvertor")
except ImportError:
- sys.stderr.write('You need to install the UniConvertor software.\n'+\
+ sys.stderr.write(_('You need to install the UniConvertor software.\n'+\
'For GNU/Linux: install the package python-uniconvertor.\n'+\
'For Windows: download it from\n'+\
'http://sk1project.org/modules.php?name=Products&product=uniconvertor\n'+\
- 'and install into your Inkscape\'s Python location\n')
+ 'and install into your Inkscape\'s Python location\n'))
sys.exit(1)
cmd = 'python -c "import uniconvertor"'
index 9cdac7fc28ac77b79f466c1b501fc2fab497afa8..f7746c2f45ff2a1a5123871357aa4121a327545f 100644 (file)
import os
import sys
import tempfile
+import gettext
+_ = gettext.gettext
def run(command_format, prog_name, uniconv_format):
outfile = tempfile.mktemp(uniconv_format)