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

@@ -4,13 +4,7 @@ from gi.repository import GdkPixbuf
from gajim.common import app
from gajim.plugins import GajimPlugin
from gajim.plugins.helpers import log_calls
# 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 GuiForMe(GajimPlugin):

View File

@@ -1,7 +1,7 @@
[info]
name: GUI For Me
short_name: gui_for_me
version: 1.2.0
version: 1.2.1
description: Adds a button for the '/me' command.
authors: BomberMan
copper