From eb80f10c218ff43ce5f107287e0aa347c1af2964 Mon Sep 17 00:00:00 2001 From: "Andriy Kushnir (Orhideous)" Date: Sat, 27 Oct 2018 20:29:46 +0300 Subject: [PATCH] [openpgp] Fix _() import Fixes #358 --- openpgp/gtk/key.py | 1 + openpgp/gtk/wizard.py | 1 + openpgp/pgpplugin.py | 1 + 3 files changed, 3 insertions(+) diff --git a/openpgp/gtk/key.py b/openpgp/gtk/key.py index 902e35f..54d603b 100644 --- a/openpgp/gtk/key.py +++ b/openpgp/gtk/key.py @@ -25,6 +25,7 @@ from gajim.common import app from gajim.common.const import DialogButton, ButtonAction from gajim.gtk import NewConfirmationDialog +from gajim.plugins.plugins_i18n import _ from openpgp.modules.util import Trust diff --git a/openpgp/gtk/wizard.py b/openpgp/gtk/wizard.py index 7213143..9535713 100644 --- a/openpgp/gtk/wizard.py +++ b/openpgp/gtk/wizard.py @@ -24,6 +24,7 @@ from gi.repository import Gtk from gi.repository import GLib from gajim.common import app +from gajim.plugins.plugins_i18n import _ log = logging.getLogger('gajim.plugin_system.openpgp.wizard') diff --git a/openpgp/pgpplugin.py b/openpgp/pgpplugin.py index b6bef79..17207eb 100644 --- a/openpgp/pgpplugin.py +++ b/openpgp/pgpplugin.py @@ -30,6 +30,7 @@ from gajim.common import configpaths from gajim.common import helpers from gajim.common.const import CSSPriority from gajim.gtk.dialogs import ErrorDialog +from gajim.plugins.plugins_i18n import _ from openpgp.modules.util import NS_NOTIFY from openpgp.modules.util import ENCRYPTION_NAME