mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-16 15:58:11 +00:00
Account: add translation to primary account label
This commit is contained in:
parent
c75e5b1674
commit
41e1908a42
1 changed files with 8 additions and 1 deletions
|
@ -229,7 +229,14 @@ Rectangle {
|
|||
anchors.left: idLabel.right
|
||||
anchors.leftMargin: 6
|
||||
fontSize: 16
|
||||
text: label
|
||||
text: {
|
||||
if (label === "Primary account" && index === 0) {
|
||||
//add translation
|
||||
return qsTr("Primary account") + translationManager.emptyString;
|
||||
} else {
|
||||
return label;
|
||||
}
|
||||
}
|
||||
elide: Text.ElideRight
|
||||
textWidth: addressLabel.x - nameLabel.x - 1
|
||||
themeTransition: false
|
||||
|
|
Loading…
Reference in a new issue