From 76643eb839411f99821e40942308f2d178688a47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Thu, 31 Jan 2019 20:22:34 +0100 Subject: Use correct i18n module --- roster_tweaks/roster_tweaks.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'roster_tweaks/roster_tweaks.py') 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): -- cgit v1.2.3