Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim-plugins.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/latex
diff options
context:
space:
mode:
authorYann Leboulanger <yann@leboulanger.org>2017-09-20 12:16:44 +0300
committerYann Leboulanger <yann@leboulanger.org>2017-09-20 12:16:44 +0300
commit6f2442f6b805fedbad2e0a80071c73872c089822 (patch)
treec961e9b29f917b081dc2340c64d5c24f13b74bad /latex
parent540a312e14d19ccb1a549a0cf268f5cf2495d866 (diff)
Improve strings for translation
Diffstat (limited to 'latex')
-rw-r--r--latex/latex.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/latex/latex.py b/latex/latex.py
index 0034e38..dcf2aae 100644
--- a/latex/latex.py
+++ b/latex/latex.py
@@ -161,8 +161,8 @@ class LatexRenderer(Thread):
except Exception:
msg = 'Could not create temporary files for Latex plugin'
log.debug(msg)
- self.show_error(_('latex error: %s\n===ORIGINAL CODE====\n%s') % (
- msg, self.code[2:len(self.code)-2]))
+ self.show_error(_('latex error: %(error)s\n===ORIGINAL CODE====\n'
+ '%(code)s') % {'error': msg, 'code': self.code[2:len(self.code)-2]})
return False
tmpfile = os.path.join(tmpdir, 'gajim_tex')