mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-02-25 20:35:24 +02:00
main.qml: add "primary account" translation in balance card
This commit is contained in:
parent
0b2e74cdb5
commit
c75e5b1674
8
main.qml
8
main.qml
@ -1629,7 +1629,13 @@ ApplicationWindow {
|
||||
currentAccountIndex: currentWallet ? currentWallet.currentSubaddressAccount : 0
|
||||
currentAccountLabel: {
|
||||
if (currentWallet) {
|
||||
return currentWallet.getSubaddressLabel(currentWallet.currentSubaddressAccount, 0);
|
||||
var accountLabel = currentWallet.getSubaddressLabel(currentWallet.currentSubaddressAccount, 0);
|
||||
if (accountLabel === "Primary account") {
|
||||
//add translation
|
||||
return qsTr("Primary account") + translationManager.emptyString;
|
||||
} else {
|
||||
return accountLabel;
|
||||
}
|
||||
}
|
||||
return qsTr("Primary account") + translationManager.emptyString;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user