diff --git a/gui/kivy/uix/dialogs/__init__.py b/gui/kivy/uix/dialogs/__init__.py index 16416f5c6..2405350a2 100644 --- a/gui/kivy/uix/dialogs/__init__.py +++ b/gui/kivy/uix/dialogs/__init__.py @@ -4,7 +4,7 @@ from kivy.factory import Factory from kivy.properties import NumericProperty, StringProperty, BooleanProperty from kivy.core.window import Window -from electrum.i18n import _ +from electrum_gui.kivy.i18n import _ diff --git a/gui/kivy/uix/dialogs/create_restore.py b/gui/kivy/uix/dialogs/create_restore.py index 6442efd51..8f340612d 100644 --- a/gui/kivy/uix/dialogs/create_restore.py +++ b/gui/kivy/uix/dialogs/create_restore.py @@ -13,13 +13,12 @@ from kivy.properties import ObjectProperty, StringProperty, OptionProperty from kivy.core.window import Window from electrum_gui.kivy.uix.dialogs import EventsDialog - -from electrum.i18n import _ +from electrum_gui.kivy.i18n import _ Builder.load_string(''' #:import Window kivy.core.window.Window -#:import _ electrum.i18n._ +#:import _ electrum_gui.kivy.i18n._ diff --git a/gui/kivy/uix/dialogs/fee_dialog.py b/gui/kivy/uix/dialogs/fee_dialog.py index 5b6b0ae53..beba490b7 100644 --- a/gui/kivy/uix/dialogs/fee_dialog.py +++ b/gui/kivy/uix/dialogs/fee_dialog.py @@ -4,7 +4,7 @@ from kivy.properties import ObjectProperty from kivy.lang import Builder from electrum.bitcoin import RECOMMENDED_FEE -from electrum.i18n import _ +from electrum_gui.kivy.i18n import _ Builder.load_string(''' diff --git a/gui/kivy/uix/dialogs/installwizard.py b/gui/kivy/uix/dialogs/installwizard.py index 26ec11175..c8baa3a89 100644 --- a/gui/kivy/uix/dialogs/installwizard.py +++ b/gui/kivy/uix/dialogs/installwizard.py @@ -1,5 +1,5 @@ from electrum import Wallet -from electrum.i18n import _ +from electrum_gui.kivy.i18n import _ from kivy.app import App from kivy.uix.widget import Widget diff --git a/gui/kivy/uix/dialogs/wallets.py b/gui/kivy/uix/dialogs/wallets.py index 309ac3f25..55d4fd273 100644 --- a/gui/kivy/uix/dialogs/wallets.py +++ b/gui/kivy/uix/dialogs/wallets.py @@ -3,7 +3,7 @@ from kivy.factory import Factory from kivy.properties import ObjectProperty from kivy.lang import Builder -from electrum.i18n import _ +from electrum_gui.kivy.i18n import _ from electrum.util import base_units import os diff --git a/gui/kivy/uix/screens.py b/gui/kivy/uix/screens.py index 711858c5a..11489cf99 100644 --- a/gui/kivy/uix/screens.py +++ b/gui/kivy/uix/screens.py @@ -17,15 +17,16 @@ from kivy.uix.label import Label from kivy.lang import Builder from kivy.factory import Factory -from electrum.i18n import _ from electrum.util import profiler, parse_URI, format_time from electrum import bitcoin from electrum.util import timestamp_to_datetime from electrum.plugins import run_hook +from electrum.paymentrequest import PR_UNPAID, PR_PAID, PR_UNKNOWN, PR_EXPIRED from context_menu import ContextMenu -from electrum.paymentrequest import PR_UNPAID, PR_PAID, PR_UNKNOWN, PR_EXPIRED + +from electrum_gui.kivy.i18n import _ class EmptyLabel(Factory.Label): pass