SomberNight
b0b4f39b40
i18n: add "context" param to _(), and use it from qml
...
fixes https://github.com/spesmilo/electrum/issues/8323
from issue:
> Currently, translatable strings from QML are assigned a `context`
> by `lupdate`, which is then also used by the conversion to `gettext`.
> This `context` must be used when translating such a string. This results in
> strings that are unique to QML to not be translated, due to a missing
> `context` parameter which we do not take into account in electrum.
2023-04-20 14:31:44 +00:00
Sander van Grieken
4d5be450d9
qml: default to system locale on android
2023-04-11 15:19:29 +02:00
SomberNight
f4e66810e7
qml: ElectrumGui to inherit BaseElectrumGui
2023-03-29 16:41:04 +00:00
Sander van Grieken
75e5e4afd8
android: set default localization to en_GB to force number formatting and parsing to en_GB
2023-03-23 10:30:40 +01:00
Sander van Grieken
17bb1ad5c5
qml: enable Qt virtual keyboard and add Electrum keyboard style, modified from Qt 'default' style
2023-03-23 10:30:40 +01:00
Sander van Grieken
2849c021b6
qml: add gettext-wrapping QTranslator
2023-01-30 12:52:50 +01:00
Sander van Grieken
bc91732f22
qml: crash handler, move Exception_Hook to qeapp.py
2023-01-10 17:17:19 +01:00
Sander van Grieken
fa030b3fa5
qml: initial crash handler impl
2023-01-10 17:02:38 +01:00
SomberNight
01b5e3f8e0
flake8: enable more mandatory tests
2022-10-31 16:13:22 +00:00
Sander van Grieken
43bac2edff
qml: use new wizard approach in qml and also implement 2FA/trustedcoin
2022-10-21 13:31:24 +02:00
Sander van Grieken
32a81d8ee7
qml: initial plugin support, with labelsync mostly implemented
2022-09-08 12:19:38 +02:00
Sander van Grieken
5008cef491
qml: optimize imports
2022-07-28 16:53:05 +02:00
Sander van Grieken
2c656a0cf7
add excepthooks, hoping to force a backtrace log when qt5 SIGABRTs
2022-07-08 16:25:44 +02:00
Sander van Grieken
ddbd785a46
add version information to QML context
2022-07-07 18:29:01 +02:00
Sander van Grieken
0682f05d95
factor off the main QGuiApplication class into its own file
2022-07-07 18:28:00 +02:00
Sander van Grieken
d13f5d0da0
qml: add server connect wizard
2022-07-07 18:28:00 +02:00
Sander van Grieken
18b10c84ca
qml: add debug tracing of QML plugin loading
2022-07-07 18:28:00 +02:00
Sander van Grieken
f8ce681f5e
allow override of QT_QUICK_CONTROLS_STYLE
2022-07-07 18:28:00 +02:00
Sander van Grieken
3b22ecdae4
qml: add available wallets model
2022-07-07 18:28:00 +02:00
Sander van Grieken
599b01f009
qml: some more boilerplate, init language, SIGINT signal handler
2022-07-07 18:28:00 +02:00
Sander van Grieken
1260720bb6
qml: qml test plugin
2022-07-07 18:28:00 +02:00
Sander van Grieken
d195fce82d
qml: hook any qml supporting plugins, add test plugin
...
This allows different platforms to have their own UI components while still leveraging the common
set of QObjects and utility components.
2022-07-07 18:28:00 +02:00
Sander van Grieken
7eb733757a
qml: add initial qml.ElectrumGui class, Electrum QObject wrappers and an initial QObject for QR en/decoding
2022-07-07 18:28:00 +02:00