mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-09 12:30:10 +00:00
SettingsInfo: add portable mode to wallet mode
This commit is contained in:
parent
453388f744
commit
54e183a7f5
1 changed files with 5 additions and 3 deletions
|
@ -42,13 +42,15 @@ Rectangle {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
property alias infoHeight: infoLayout.height
|
property alias infoHeight: infoLayout.height
|
||||||
property string walletModeString: {
|
property string walletModeString: {
|
||||||
|
var modeStr;
|
||||||
if(appWindow.walletMode === 0){
|
if(appWindow.walletMode === 0){
|
||||||
return qsTr("Simple mode") + translationManager.emptyString;
|
modeStr = qsTr("Simple mode") + translationManager.emptyString;
|
||||||
} else if(appWindow.walletMode === 1){
|
} else if(appWindow.walletMode === 1){
|
||||||
return qsTr("Simple mode") + " (bootstrap)" + translationManager.emptyString;
|
modeStr = qsTr("Simple mode") + " (bootstrap)" + translationManager.emptyString;
|
||||||
} else if(appWindow.walletMode === 2){
|
} else if(appWindow.walletMode === 2){
|
||||||
return "%1 (%2)".arg(qsTr("Advanced mode")).arg(persistentSettings.useRemoteNode ? qsTr("Remote node") : qsTr("Local node")) + translationManager.emptyString;
|
modeStr = "%1 (%2)".arg(qsTr("Advanced mode")).arg(persistentSettings.useRemoteNode ? qsTr("Remote node") : qsTr("Local node")) + translationManager.emptyString;
|
||||||
}
|
}
|
||||||
|
return modeStr + (persistentSettings.portable ? ", %1".arg(qsTr("portable")) : "");
|
||||||
}
|
}
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
|
|
Loading…
Reference in a new issue