mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-28 18:56:32 +02:00
Merge pull request #3763
9194522
Wizard: display selected network (testnet/stagenet) on 'Create a new wallet' header (rating89us)
This commit is contained in:
commit
2bbb6adb4f
@ -73,7 +73,12 @@ Rectangle {
|
|||||||
spacing: 20
|
spacing: 20
|
||||||
|
|
||||||
WizardHeader {
|
WizardHeader {
|
||||||
title: qsTr("Create a new wallet") + translationManager.emptyString
|
title: {
|
||||||
|
var nettype = persistentSettings.nettype;
|
||||||
|
return qsTr("Create a new wallet") + (nettype === 2 ? " (" + qsTr("stagenet") + ")"
|
||||||
|
: nettype === 1 ? " (" + qsTr("testnet") + ")"
|
||||||
|
: "") + translationManager.emptyString
|
||||||
|
}
|
||||||
subtitle: qsTr("Using a hardware device.") + translationManager.emptyString
|
subtitle: qsTr("Using a hardware device.") + translationManager.emptyString
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -60,7 +60,12 @@ Rectangle {
|
|||||||
spacing: 20
|
spacing: 20
|
||||||
|
|
||||||
WizardHeader {
|
WizardHeader {
|
||||||
title: qsTr("Create a new wallet") + translationManager.emptyString
|
title: {
|
||||||
|
var nettype = persistentSettings.nettype;
|
||||||
|
return qsTr("Create a new wallet") + (nettype === 2 ? " (" + qsTr("stagenet") + ")"
|
||||||
|
: nettype === 1 ? " (" + qsTr("testnet") + ")"
|
||||||
|
: "") + translationManager.emptyString
|
||||||
|
}
|
||||||
subtitle: qsTr("Creates a new wallet on this computer.") + translationManager.emptyString
|
subtitle: qsTr("Creates a new wallet on this computer.") + translationManager.emptyString
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -73,7 +73,12 @@ Rectangle {
|
|||||||
}
|
}
|
||||||
|
|
||||||
WizardMenuItem {
|
WizardMenuItem {
|
||||||
headerText: qsTr("Create a new wallet") + translationManager.emptyString
|
headerText: {
|
||||||
|
var nettype = persistentSettings.nettype;
|
||||||
|
return qsTr("Create a new wallet") + (nettype === 2 ? " (" + qsTr("stagenet") + ")"
|
||||||
|
: nettype === 1 ? " (" + qsTr("testnet") + ")"
|
||||||
|
: "") + translationManager.emptyString
|
||||||
|
}
|
||||||
bodyText: qsTr("Choose this option if this is your first time using Monero.") + translationManager.emptyString
|
bodyText: qsTr("Choose this option if this is your first time using Monero.") + translationManager.emptyString
|
||||||
imageIcon: "qrc:///images/create-wallet.png"
|
imageIcon: "qrc:///images/create-wallet.png"
|
||||||
|
|
||||||
@ -94,7 +99,12 @@ Rectangle {
|
|||||||
}
|
}
|
||||||
|
|
||||||
WizardMenuItem {
|
WizardMenuItem {
|
||||||
headerText: qsTr("Create a new wallet from hardware") + translationManager.emptyString
|
headerText: {
|
||||||
|
var nettype = persistentSettings.nettype;
|
||||||
|
return qsTr("Create a new wallet from hardware") + (nettype === 2 ? " (" + qsTr("stagenet") + ")"
|
||||||
|
: nettype === 1 ? " (" + qsTr("testnet") + ")"
|
||||||
|
: "") + translationManager.emptyString
|
||||||
|
}
|
||||||
bodyText: qsTr("Connect your hardware wallet to create a new Monero wallet.") + translationManager.emptyString
|
bodyText: qsTr("Connect your hardware wallet to create a new Monero wallet.") + translationManager.emptyString
|
||||||
imageIcon: "qrc:///images/restore-wallet-from-hardware.png"
|
imageIcon: "qrc:///images/restore-wallet-from-hardware.png"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user