fix: Inclusion of Watched addresses in Balances: Wording change
- "Include in total balance" -> "Include in balances and activity" Fixes #14517
This commit is contained in:
parent
58e5dbff27
commit
792e8d74a8
|
@ -108,12 +108,28 @@ Rectangle {
|
|||
spacing: 1
|
||||
model: d.relatedAccounts
|
||||
delegate: WalletAccountDelegate {
|
||||
id: walletAccountDelegate
|
||||
width: ListView.view.width
|
||||
label: keyPair.pairType !== Constants.keypair.type.watchOnly ? "" : model.account.hideFromTotalBalance ? qsTr("Excl. from total balance"): qsTr("Incl. in total balance")
|
||||
account: model.account
|
||||
totalCount: ListView.view.count
|
||||
getNetworkShortNames: root.getNetworkShortNames
|
||||
onGoToAccountView: root.goToAccountView(model.account)
|
||||
|
||||
RowLayout {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
anchors.right: parent.right
|
||||
anchors.rightMargin: Style.current.padding + walletAccountDelegate.statusListItemComponentsSlot.width
|
||||
visible: keyPair.pairType === Constants.keypair.type.watchOnly
|
||||
|
||||
StatusIcon {
|
||||
icon: "wallet"
|
||||
color: Theme.palette.baseColor1
|
||||
}
|
||||
StatusBaseText {
|
||||
text: model.account.hideFromTotalBalance ? qsTr("Excluded") : qsTr("Included")
|
||||
color: Theme.palette.baseColor1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -229,7 +229,7 @@ ColumnLayout {
|
|||
|
||||
StatusListItem {
|
||||
Layout.fillWidth: true
|
||||
title: qsTr("Include in total balance")
|
||||
title: qsTr("Include in total balances and activity")
|
||||
objectName: "includeTotalBalanceListItem"
|
||||
visible: d.watchOnlyAccount
|
||||
color: Theme.palette.transparent
|
||||
|
|
|
@ -47,7 +47,8 @@ StatusMenu {
|
|||
StatusAction {
|
||||
objectName: "AccountMenu-HideFromTotalBalance-%1".arg(root.uniqueIdentifier)
|
||||
enabled: !!root.account && root.account.walletType === Constants.watchWalletType
|
||||
text: !!root.account ? root.account.hideFromTotalBalance ? qsTr("Include in total balance"): qsTr("Exclude from total balance"): ""
|
||||
text: !!root.account ? root.account.hideFromTotalBalance ? qsTr("Include in balances and activity")
|
||||
: qsTr("Exclude from balances and activity") : ""
|
||||
icon.name: !!root.account ? root.account.hideFromTotalBalance ? "show" : "hide": ""
|
||||
onTriggered: root.hideFromTotalBalanceClicked(root.account.address, !root.account.hideFromTotalBalance)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue