Browse Source

kivy: use correct i18n

3.2.x
SomberNight 7 years ago
parent
commit
f8e13c5c33
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 2
      electrum/gui/kivy/main_window.py
  2. 2
      electrum/gui/kivy/uix/dialogs/crash_reporter.py

2
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

2
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('''

Loading…
Cancel
Save