Use correct i18n module

This commit is contained in:
Philipp Hörist
2019-01-31 20:22:34 +01:00
parent 604272bdec
commit 76643eb839
30 changed files with 30 additions and 106 deletions

View File

@@ -1,7 +1,7 @@
[info]
name: Juick
short_name: juick
version: 1.2.1
version: 1.2.2
description: Clickable Juick links , Juick nicks, preview Juick picturs.
The key combination alt + up in the textbox allow insert the number of last message (comment or topic).
authors: Denis Fomin <fominde@gmail.com>

View File

@@ -17,13 +17,7 @@ from gajim.plugins.helpers import log_calls
from gajim.plugins.gui import GajimPluginConfigDialog
from gajim.conversation_textview import TextViewImage
from gajim import gtkgui_helpers
# Since Gajim 1.1.0 _() has to be imported
try:
from gajim.common.i18n import _
except ImportError:
pass
from gajim.plugins.plugins_i18n import _
class JuickPlugin(GajimPlugin):