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 /length_notifier/length_notifier.py | |
parent | 604272bdec370551b626b89143757706a7a1b1cf (diff) |
Use correct i18n module
Diffstat (limited to 'length_notifier/length_notifier.py')
-rw-r--r-- | length_notifier/length_notifier.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/length_notifier/length_notifier.py b/length_notifier/length_notifier.py index 20df647..1cad8d0 100644 --- a/length_notifier/length_notifier.py +++ b/length_notifier/length_notifier.py @@ -30,12 +30,7 @@ from gi.repository import Gdk from gajim.plugins import GajimPlugin from gajim.plugins.helpers import log_calls from gajim.plugins.gui import GajimPluginConfigDialog - -# 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 LengthNotifierPlugin(GajimPlugin): |