mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-09 13:57:26 -04:00
Apply translation for "normal" mode
This commit is contained in:
9
main.qml
9
main.qml
@@ -125,8 +125,16 @@ ApplicationWindow {
|
||||
|
||||
function initialize() {
|
||||
console.log("initializing..")
|
||||
|
||||
// setup language
|
||||
var locale = persistentSettings.locale
|
||||
if (locale !== "") {
|
||||
translationManager.setLanguage(locale.split("_")[0]);
|
||||
}
|
||||
|
||||
middlePanel.paymentClicked.connect(handlePayment);
|
||||
|
||||
|
||||
if (typeof wizard.settings['wallet'] !== 'undefined') {
|
||||
wallet = wizard.settings['wallet'];
|
||||
} else {
|
||||
@@ -262,6 +270,7 @@ ApplicationWindow {
|
||||
Settings {
|
||||
id: persistentSettings
|
||||
property string language
|
||||
property string locale
|
||||
property string account_name
|
||||
property string wallet_path
|
||||
property bool auto_donations_enabled : true
|
||||
|
||||
Reference in New Issue
Block a user