Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim-plugins.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'length_notifier/length_notifier.py')
-rw-r--r--length_notifier/length_notifier.py7
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):