1
0

qml: fix mixup help texts in ConfirmTxDialog, and take descriptions from config

This commit is contained in:
Sander van Grieken
2025-01-23 16:14:19 +01:00
parent 01fcd2ee9a
commit 6a4b398209

View File

@@ -173,12 +173,13 @@ ElDialog {
HelpButton {
heading: qsTr('Use multiple change addresses')
helptext: qsTr('To somewhat protect your privacy, Electrum tries to create change with similar precision to other outputs.')
helptext: [qsTr('In some cases, use up to 3 change addresses in order to break up large coin amounts and obfuscate the recipient address.'),
qsTr('This may result in higher transactions fees.')].join(' ')
}
ElCheckBox {
Layout.fillWidth: true
text: qsTr('Enable output value rounding')
text: Config.shortDescFor('WALLET_COIN_CHOOSER_OUTPUT_ROUNDING')
onCheckedChanged: {
if (activeFocus) {
Config.outputValueRounding = checked
@@ -191,9 +192,8 @@ ElDialog {
}
HelpButton {
heading: qsTr('Enable output value rounding')
helptext: qsTr('In some cases, use up to 3 change addresses in order to break up large coin amounts and obfuscate the recipient address.')
+ ' ' + qsTr('This may result in higher transactions fees.')
heading: Config.shortDescFor('WALLET_COIN_CHOOSER_OUTPUT_ROUNDING')
helptext: Config.longDescFor('WALLET_COIN_CHOOSER_OUTPUT_ROUNDING')
}
}