diff options
author | Andriy Kushnir (Orhideous) <me@orhideous.name> | 2018-10-27 20:29:46 +0300 |
---|---|---|
committer | Philipp Hörist <philipp@hoerist.com> | 2018-11-10 03:14:55 +0300 |
commit | c8415e844a553d1bd2b0cd129a55c4851a4c21bd (patch) | |
tree | c95c986a4238d2056d93cf1a3e3b6e3ff56432a4 | |
parent | cb989c9bb87d57c45fa1a3a1a74dc5611c0ea0a7 (diff) |
[openpgp] Fix _() import
Fixes #358
-rw-r--r-- | openpgp/gtk/key.py | 1 | ||||
-rw-r--r-- | openpgp/gtk/wizard.py | 1 | ||||
-rw-r--r-- | openpgp/pgpplugin.py | 1 |
3 files changed, 3 insertions, 0 deletions
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 |