commit f8e13c5c330c892698356ec35858785ce8dc012f
parent 281805a0a4bb7e01a8ec623be9ea23d7505bb9a0
Author: SomberNight <somber.night@protonmail.com>
Date: Sat, 21 Jul 2018 16:15:45 +0200
kivy: use correct i18n
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git 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
@@ -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('''