fix(@desktop/wallet): Replaced watched-only with watched address/adresses text

This commit is contained in:
Khushboo Mehta 2023-10-04 16:54:04 +02:00 committed by Khushboo-dev-cpp
parent e5166c11d3
commit 7bdec15353
5 changed files with 7 additions and 7 deletions

View File

@ -95,7 +95,7 @@ Item {
case Constants.onboarding.profileFetching.entity.keypairs:
return qsTr("Keypairs")
case Constants.onboarding.profileFetching.entity.watchOnlyAccounts:
return qsTr("Watch-only accounts")
return qsTr("Watched addresses")
}
}
}

View File

@ -14,7 +14,7 @@ StatusListItem {
signal buttonClicked()
title: !!root.keyPair? root.keyPair.pairType === Constants.keypair.type.watchOnly ? qsTr("Watch only") : root.keyPair.name: ""
title: !!root.keyPair? root.keyPair.pairType === Constants.keypair.type.watchOnly ? qsTr("Watched address") : root.keyPair.name: ""
titleAsideText: !!root.keyPair && root.keyPair.pairType === Constants.keypair.type.profile? Utils.getElidedCompressedPk(root.keyPair.pubKey): ""
asset {
width: !!root.keyPair && root.keyPair.icon? Style.current.bigPadding : 40

View File

@ -96,7 +96,7 @@ Item {
font.weight: Font.Normal
textColor: Theme.palette.baseColor1
text: overview.includeWatchOnly ? qsTr("Hide watch-only"): qsTr("Show watch-only")
text: overview.includeWatchOnly ? qsTr("Hide watched addresses"): qsTr("Show watched addresses")
icon.name: overview.includeWatchOnly ? "hide" : "show"
icon.height: 16

View File

@ -65,7 +65,7 @@ StatusMenu {
StatusAction {
objectName: "AccountMenu-AddWatchOnlyAccountAction-%1".arg(root.uniqueIdentifier)
text: qsTr("Add watch-only account")
text: qsTr("Add watched address")
enabled: !root.account
icon.name: "show"
onTriggered: {

View File

@ -655,9 +655,9 @@ QtObject {
case Constants.appTranslatableConstants.loginAccountsListLostKeycard:
return qsTr("Lost Keycard")
case Constants.appTranslatableConstants.addAccountLabelNewWatchOnlyAccount:
return qsTr("New watch-only account")
return qsTr("New watched address")
case Constants.appTranslatableConstants.addAccountLabelWatchOnlyAccount:
return qsTr("Watch-only account")
return qsTr("Watched address")
case Constants.appTranslatableConstants.addAccountLabelExisting:
return qsTr("Existing")
case Constants.appTranslatableConstants.addAccountLabelImportNew:
@ -665,7 +665,7 @@ QtObject {
case Constants.appTranslatableConstants.addAccountLabelOptionAddNewMasterKey:
return qsTr("Add new master key")
case Constants.appTranslatableConstants.addAccountLabelOptionAddWatchOnlyAcc:
return qsTr("Add watch-only account")
return qsTr("Add watched address")
}
// special handling because on an index attached to the constant