Use correct i18n module
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
[info]
|
||||
name: Ayatana Appindicator integration
|
||||
short_name: appindicator_integration
|
||||
version: 1.2.0
|
||||
version: 1.2.1
|
||||
description: This plugin integrates Gajim with the Ayatana AppIndicator. You must have gir1.2-ayatanaappindicator3-0.1 installed to enable this plugin.
|
||||
homepage: https://dev.gajim.org/gajim/gajim-plugins/wikis/AppindicatorSupportPlugin
|
||||
authors: Denis Borenko <borenko@rambler.ru>
|
||||
|
||||
@@ -24,12 +24,7 @@ from gajim.common import app, ged
|
||||
from gajim.common import configpaths
|
||||
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 AppindicatorIntegrationPlugin(GajimPlugin):
|
||||
|
||||
Reference in New Issue
Block a user