Use correct i18n module
This commit is contained in:
@@ -38,12 +38,7 @@ from gajim.common import app
|
||||
from gajim.plugins import GajimPlugin
|
||||
from gajim.plugins.helpers import log, log_calls
|
||||
from gajim.plugins.gui import GajimPluginConfigDialog
|
||||
|
||||
# Since Gajim 1.1.0 _() has to be imported
|
||||
try:
|
||||
from gajim.common.i18n import _
|
||||
except ImportError:
|
||||
pass
|
||||
from gajim.plugins.plugins_i18n import _
|
||||
|
||||
def latex_template(code):
|
||||
return '''\\documentclass[12pt]{article}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[info]
|
||||
name: Latex
|
||||
short_name: latex
|
||||
version: 1.2.0
|
||||
version: 1.2.1
|
||||
description: render received latex code
|
||||
authors: Yves Fischer <yvesf@xapek.org>
|
||||
Yann Leboulanger <asterix@lagaule.org>
|
||||
|
||||
Reference in New Issue
Block a user