Browse Source

kivy: update i18n imports

283
ThomasV 9 years ago
parent
commit
731f05746e
  1. 2
      gui/kivy/uix/dialogs/__init__.py
  2. 5
      gui/kivy/uix/dialogs/create_restore.py
  3. 2
      gui/kivy/uix/dialogs/fee_dialog.py
  4. 2
      gui/kivy/uix/dialogs/installwizard.py
  5. 2
      gui/kivy/uix/dialogs/wallets.py
  6. 5
      gui/kivy/uix/screens.py

2
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 _

5
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>

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

2
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

2
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

5
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

Loading…
Cancel
Save