Use correct i18n module
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
[info]
|
||||
name: Server Status Icons
|
||||
short_name: server_status_icons
|
||||
version: 1.2.0
|
||||
version: 1.2.1
|
||||
description: Replace standard Gajim status icons with server
|
||||
specific for known XMPP server accounts (vk.com, ...)
|
||||
authors = Denis Fomin <fominde@gmail.com>
|
||||
|
||||
@@ -6,12 +6,7 @@ from gajim import gtkgui_helpers
|
||||
from gajim.common import app
|
||||
from gajim.common import helpers
|
||||
from gajim.common import ged
|
||||
|
||||
# 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 ServerStatusIconsPlugin(GajimPlugin):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user