qml: fix mixup help texts in ConfirmTxDialog, and take descriptions from config
This commit is contained in:
@@ -173,12 +173,13 @@ ElDialog {
|
|||||||
|
|
||||||
HelpButton {
|
HelpButton {
|
||||||
heading: qsTr('Use multiple change addresses')
|
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 {
|
ElCheckBox {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
text: qsTr('Enable output value rounding')
|
text: Config.shortDescFor('WALLET_COIN_CHOOSER_OUTPUT_ROUNDING')
|
||||||
onCheckedChanged: {
|
onCheckedChanged: {
|
||||||
if (activeFocus) {
|
if (activeFocus) {
|
||||||
Config.outputValueRounding = checked
|
Config.outputValueRounding = checked
|
||||||
@@ -191,9 +192,8 @@ ElDialog {
|
|||||||
}
|
}
|
||||||
|
|
||||||
HelpButton {
|
HelpButton {
|
||||||
heading: qsTr('Enable output value rounding')
|
heading: Config.shortDescFor('WALLET_COIN_CHOOSER_OUTPUT_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.')
|
helptext: Config.longDescFor('WALLET_COIN_CHOOSER_OUTPUT_ROUNDING')
|
||||||
+ ' ' + qsTr('This may result in higher transactions fees.')
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user