Transfer.qml: Make ringsize one word

This commit is contained in:
xmr-eric 2017-02-22 14:19:50 -05:00 committed by GitHub
parent c6688dc876
commit 3ed4dee00e

View file

@ -74,7 +74,7 @@ Rectangle {
var mixin = scaleValueToMixinCount(fillLevel) var mixin = scaleValueToMixinCount(fillLevel)
print ("PrivacyLevel changed:" + fillLevel) print ("PrivacyLevel changed:" + fillLevel)
print ("mixin count: " + mixin) print ("mixin count: " + mixin)
privacyLabel.text = qsTr("Privacy level (ring size %1)").arg(mixin+1) + translationManager.emptyString privacyLabel.text = qsTr("Privacy level (ringsize %1)").arg(mixin+1) + translationManager.emptyString
} }
function updateFromQrCode(address, payment_id, amount, tx_description, recipient_name) { function updateFromQrCode(address, payment_id, amount, tx_description, recipient_name) {
@ -595,7 +595,7 @@ Rectangle {
+ (transaction.paymentId[i] == "" ? "" : qsTr("\n\payment ID: ") + transaction.paymentId[i]) + (transaction.paymentId[i] == "" ? "" : qsTr("\n\payment ID: ") + transaction.paymentId[i])
+ qsTr("\nAmount: ") + walletManager.displayAmount(transaction.amount(i)) + qsTr("\nAmount: ") + walletManager.displayAmount(transaction.amount(i))
+ qsTr("\nFee: ") + walletManager.displayAmount(transaction.fee(i)) + qsTr("\nFee: ") + walletManager.displayAmount(transaction.fee(i))
+ qsTr("\nRing size: ") + transaction.mixin(i+1) + qsTr("\nRingsize: ") + transaction.mixin(i+1)
// TODO: add descriptions to unsigned_tx_set? // TODO: add descriptions to unsigned_tx_set?
// + (transactionDescription === "" ? "" : (qsTr("\n\nDescription: ") + transactionDescription)) // + (transactionDescription === "" ? "" : (qsTr("\n\nDescription: ") + transactionDescription))