mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-28 18:56:32 +02:00
Account: add translation to primary account label
This commit is contained in:
parent
c75e5b1674
commit
41e1908a42
@ -229,7 +229,14 @@ Rectangle {
|
|||||||
anchors.left: idLabel.right
|
anchors.left: idLabel.right
|
||||||
anchors.leftMargin: 6
|
anchors.leftMargin: 6
|
||||||
fontSize: 16
|
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
|
elide: Text.ElideRight
|
||||||
textWidth: addressLabel.x - nameLabel.x - 1
|
textWidth: addressLabel.x - nameLabel.x - 1
|
||||||
themeTransition: false
|
themeTransition: false
|
||||||
|
Loading…
Reference in New Issue
Block a user