diff options
Diffstat (limited to 'length_notifier')
-rw-r--r-- | length_notifier/length_notifier.py | 7 | ||||
-rw-r--r-- | length_notifier/manifest.ini | 2 |
2 files changed, 2 insertions, 7 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): diff --git a/length_notifier/manifest.ini b/length_notifier/manifest.ini index a6d29ae..a6c6824 100644 --- a/length_notifier/manifest.ini +++ b/length_notifier/manifest.ini @@ -1,7 +1,7 @@ [info] name: Message Length Notifier short_name: length_notifier -version: 1.2.0 +version: 1.2.1 description: Highlights message entry field in chat window when given length of message is exceeded. authors: Mateusz BiliĆski <mateusz@bilinski.it> homepage: http://trac-plugins.gajim.org/wiki/LengthNotifierPlugin |