commit 731f05746e12bc9a0f11a6d31b632b35a26dc5c3
parent 2ffafbf6348e4b6870cf6424680407ca338e261d
Author: ThomasV <thomasv@electrum.org>
Date: Thu, 4 Feb 2016 10:57:09 +0100
kivy: update i18n imports
Diffstat:
6 files changed, 9 insertions(+), 9 deletions(-)
diff --git 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
@@ -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._
<WizardTextInput@TextInput>
diff --git 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('''
<FeeDialog@Popup>
diff --git 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
@@ -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
@@ -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