diff options
| author | Nicolas Dufour <nicoduf@yahoo.fr> | 2017-01-22 15:37:47 +0000 |
|---|---|---|
| committer | JazzyNico <nicoduf@yahoo.fr> | 2017-01-22 15:37:47 +0000 |
| commit | 10141c4f5a78c99811a52ace4ee9b46ad5cbc3b5 (patch) | |
| tree | e1e8b4a0d85adda67bf4731183766c5a17bd4e59 | |
| parent | [Bug #1656726] Adding Russian translation for the shortcut comment. (diff) | |
| download | inkscape-10141c4f5a78c99811a52ace4ee9b46ad5cbc3b5.tar.gz inkscape-10141c4f5a78c99811a52ace4ee9b46ad5cbc3b5.zip | |
i18n. Fixing gettext initialization in the Uniconvertor related extensions.
(bzr r15430)
| -rwxr-xr-x | share/extensions/uniconv-ext.py | 3 | ||||
| -rwxr-xr-x | share/extensions/uniconv_output.py | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/share/extensions/uniconv-ext.py b/share/extensions/uniconv-ext.py index c84ee2e0a..6ce0d7fab 100755 --- a/share/extensions/uniconv-ext.py +++ b/share/extensions/uniconv-ext.py @@ -51,7 +51,8 @@ if cmd == None: import imp imp.find_module("uniconvertor") except ImportError: - sys.stderr.write(_('You need to install the UniConvertor software.\n'+\ + inkex.localize() + inkex.errormsg(_('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'+\ diff --git a/share/extensions/uniconv_output.py b/share/extensions/uniconv_output.py index 7815137b6..a02a16d95 100755 --- a/share/extensions/uniconv_output.py +++ b/share/extensions/uniconv_output.py @@ -118,7 +118,8 @@ def get_command(): import imp imp.find_module("uniconvertor") except ImportError: - sys.stderr.write(_('You need to install the UniConvertor software.\n'+\ + inkex.localize() + inkex.errormsg(_('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'+\ |
