mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-17 08:17:59 +00:00
Fallback to english seed lang if not set
This commit is contained in:
parent
127790e4a1
commit
41b2c282bd
1 changed files with 5 additions and 0 deletions
|
@ -467,6 +467,11 @@ Rectangle {
|
||||||
|
|
||||||
onAccepted: {
|
onAccepted: {
|
||||||
if(appWindow.password === settingsPasswordDialog.password){
|
if(appWindow.password === settingsPasswordDialog.password){
|
||||||
|
if(currentWallet.seedLanguage == "") {
|
||||||
|
console.log("No seed language set. Using English as default");
|
||||||
|
currentWallet.setSeedLanguage("English");
|
||||||
|
}
|
||||||
|
|
||||||
seedPopup.title = qsTr("Wallet seed & keys") + translationManager.emptyString;
|
seedPopup.title = qsTr("Wallet seed & keys") + translationManager.emptyString;
|
||||||
seedPopup.text = "<b>Wallet Mnemonic seed</b> <br>" + currentWallet.seed
|
seedPopup.text = "<b>Wallet Mnemonic seed</b> <br>" + currentWallet.seed
|
||||||
+ "<br><br> <b>" + qsTr("Secret view key") + ":</b> " + currentWallet.secretViewKey
|
+ "<br><br> <b>" + qsTr("Secret view key") + ":</b> " + currentWallet.secretViewKey
|
||||||
|
|
Loading…
Reference in a new issue