From f8e13c5c330c892698356ec35858785ce8dc012f Mon Sep 17 00:00:00 2001 From: SomberNight Date: Sat, 21 Jul 2018 16:15:45 +0200 Subject: [PATCH] kivy: use correct i18n --- electrum/gui/kivy/main_window.py | 2 +- electrum/gui/kivy/uix/dialogs/crash_reporter.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/electrum/gui/kivy/main_window.py b/electrum/gui/kivy/main_window.py index 5414543f1..052bd5f03 100644 --- a/electrum/gui/kivy/main_window.py +++ b/electrum/gui/kivy/main_window.py @@ -10,12 +10,12 @@ import threading from electrum.bitcoin import TYPE_ADDRESS from electrum.storage import WalletStorage from electrum.wallet import Wallet -from electrum.i18n import _ from electrum.paymentrequest import InvoiceStore from electrum.util import profiler, InvalidPassword from electrum.plugin import run_hook from electrum.util import format_satoshis, format_satoshis_plain from electrum.paymentrequest import PR_UNPAID, PR_PAID, PR_UNKNOWN, PR_EXPIRED +from .i18n import _ from kivy.app import App from kivy.core.window import Window diff --git a/electrum/gui/kivy/uix/dialogs/crash_reporter.py b/electrum/gui/kivy/uix/dialogs/crash_reporter.py index 8603d806b..04582b953 100644 --- a/electrum/gui/kivy/uix/dialogs/crash_reporter.py +++ b/electrum/gui/kivy/uix/dialogs/crash_reporter.py @@ -9,9 +9,9 @@ from kivy.lang import Builder from kivy.uix.label import Label from kivy.utils import platform +from electrum.gui.kivy.i18n import _ from electrum.base_crash_reporter import BaseCrashReporter -from electrum.i18n import _ Builder.load_string('''