diff options
author | Philipp Hörist <philipp@hoerist.com> | 2019-01-31 22:22:34 +0300 |
---|---|---|
committer | Philipp Hörist <philipp@hoerist.com> | 2019-01-31 22:22:34 +0300 |
commit | 76643eb839411f99821e40942308f2d178688a47 (patch) | |
tree | 8cfbc98212341b9700746f1ad9cd22312b8fac9c /roster_tweaks/roster_tweaks.py | |
parent | 604272bdec370551b626b89143757706a7a1b1cf (diff) |
Use correct i18n module
Diffstat (limited to 'roster_tweaks/roster_tweaks.py')
-rw-r--r-- | roster_tweaks/roster_tweaks.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/roster_tweaks/roster_tweaks.py b/roster_tweaks/roster_tweaks.py index 84167cc..7f86b5a 100644 --- a/roster_tweaks/roster_tweaks.py +++ b/roster_tweaks/roster_tweaks.py @@ -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): |