Use correct i18n module
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
[info]
|
||||
name: Roster Tweaks
|
||||
short_name: roster_tweaks
|
||||
version: 1.2.0
|
||||
version: 1.2.1
|
||||
description: Allows user to tweak roster window appearance (eg. make it compact).
|
||||
Added ability to quickly change the status message to all connected accounts.
|
||||
authors = Denis Fomin <fominde@gmail.com>
|
||||
|
||||
@@ -8,12 +8,7 @@ from gajim.plugins import GajimPlugin
|
||||
from gajim.plugins.gui import GajimPluginConfigDialog
|
||||
from gajim.dialogs import ChangeActivityDialog, ChangeMoodDialog
|
||||
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 RosterTweaksPlugin(GajimPlugin):
|
||||
|
||||
Reference in New Issue
Block a user