mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-30 08:51:32 +00:00
kivy: update i18n imports
This commit is contained in:
parent
2ffafbf634
commit
731f05746e
6 changed files with 9 additions and 9 deletions
|
@ -4,7 +4,7 @@ from kivy.factory import Factory
|
||||||
from kivy.properties import NumericProperty, StringProperty, BooleanProperty
|
from kivy.properties import NumericProperty, StringProperty, BooleanProperty
|
||||||
from kivy.core.window import Window
|
from kivy.core.window import Window
|
||||||
|
|
||||||
from electrum.i18n import _
|
from electrum_gui.kivy.i18n import _
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -13,13 +13,12 @@ from kivy.properties import ObjectProperty, StringProperty, OptionProperty
|
||||||
from kivy.core.window import Window
|
from kivy.core.window import Window
|
||||||
|
|
||||||
from electrum_gui.kivy.uix.dialogs import EventsDialog
|
from electrum_gui.kivy.uix.dialogs import EventsDialog
|
||||||
|
from electrum_gui.kivy.i18n import _
|
||||||
from electrum.i18n import _
|
|
||||||
|
|
||||||
|
|
||||||
Builder.load_string('''
|
Builder.load_string('''
|
||||||
#:import Window kivy.core.window.Window
|
#:import Window kivy.core.window.Window
|
||||||
#:import _ electrum.i18n._
|
#:import _ electrum_gui.kivy.i18n._
|
||||||
|
|
||||||
|
|
||||||
<WizardTextInput@TextInput>
|
<WizardTextInput@TextInput>
|
||||||
|
|
|
@ -4,7 +4,7 @@ from kivy.properties import ObjectProperty
|
||||||
from kivy.lang import Builder
|
from kivy.lang import Builder
|
||||||
|
|
||||||
from electrum.bitcoin import RECOMMENDED_FEE
|
from electrum.bitcoin import RECOMMENDED_FEE
|
||||||
from electrum.i18n import _
|
from electrum_gui.kivy.i18n import _
|
||||||
|
|
||||||
Builder.load_string('''
|
Builder.load_string('''
|
||||||
<FeeDialog@Popup>
|
<FeeDialog@Popup>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
from electrum import Wallet
|
from electrum import Wallet
|
||||||
from electrum.i18n import _
|
from electrum_gui.kivy.i18n import _
|
||||||
|
|
||||||
from kivy.app import App
|
from kivy.app import App
|
||||||
from kivy.uix.widget import Widget
|
from kivy.uix.widget import Widget
|
||||||
|
|
|
@ -3,7 +3,7 @@ from kivy.factory import Factory
|
||||||
from kivy.properties import ObjectProperty
|
from kivy.properties import ObjectProperty
|
||||||
from kivy.lang import Builder
|
from kivy.lang import Builder
|
||||||
|
|
||||||
from electrum.i18n import _
|
from electrum_gui.kivy.i18n import _
|
||||||
from electrum.util import base_units
|
from electrum.util import base_units
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
|
@ -17,15 +17,16 @@ from kivy.uix.label import Label
|
||||||
from kivy.lang import Builder
|
from kivy.lang import Builder
|
||||||
from kivy.factory import Factory
|
from kivy.factory import Factory
|
||||||
|
|
||||||
from electrum.i18n import _
|
|
||||||
from electrum.util import profiler, parse_URI, format_time
|
from electrum.util import profiler, parse_URI, format_time
|
||||||
from electrum import bitcoin
|
from electrum import bitcoin
|
||||||
from electrum.util import timestamp_to_datetime
|
from electrum.util import timestamp_to_datetime
|
||||||
from electrum.plugins import run_hook
|
from electrum.plugins import run_hook
|
||||||
|
from electrum.paymentrequest import PR_UNPAID, PR_PAID, PR_UNKNOWN, PR_EXPIRED
|
||||||
|
|
||||||
from context_menu import ContextMenu
|
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):
|
class EmptyLabel(Factory.Label):
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Add table
Reference in a new issue