diff options
author | Philip Kaufmann <phil.kaufmann@t-online.de> | 2013-09-13 16:49:35 +0200 |
---|---|---|
committer | Philip Kaufmann <phil.kaufmann@t-online.de> | 2013-10-01 15:48:25 +0200 |
commit | 23b48d13f1639d30741612b1dcf406a94d32a0da (patch) | |
tree | 1f1a934982d0e441a65725dc0bd180ec8f0f4161 /src/qt/sendcoinsentry.cpp | |
parent | b85560a1b569547b1a06998d54ff16573a0076bd (diff) |
Bitcoin-Qt: translation fixes in sendcoins
- remove some unneeded translatable strings from sendcoinsentry.ui file and
rename some elements for better readability
- optimize string prorcessing in SendCoinsDialog::on_sendButton_clicked()
- make all UI labels for secure payments plain text and move the settings
to sendcoinsentry.ui file
- remove unneeded button and default button definiton from warning message
boxes
- remove fixed font-size when sending coins to an address with label and
use monospace font for addresses
Diffstat (limited to 'src/qt/sendcoinsentry.cpp')
-rw-r--r-- | src/qt/sendcoinsentry.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/qt/sendcoinsentry.cpp b/src/qt/sendcoinsentry.cpp index 75610f199e..ee84f7bc11 100644 --- a/src/qt/sendcoinsentry.cpp +++ b/src/qt/sendcoinsentry.cpp @@ -106,8 +106,8 @@ bool SendCoinsEntry::validate() if (!recipient.authenticatedMerchant.isEmpty()) return retval; - if(!ui->payTo->hasAcceptableInput() || - (model && !model->validateAddress(ui->payTo->text()))) + if (!ui->payTo->hasAcceptableInput() || + (model && !model->validateAddress(ui->payTo->text()))) { ui->payTo->setValid(false); retval = false; @@ -163,8 +163,7 @@ void SendCoinsEntry::setValue(const SendCoinsRecipient &value) const payments::PaymentDetails& details = value.paymentRequest.getDetails(); ui->payTo_s->setText(value.authenticatedMerchant); - ui->memo_s->setTextFormat(Qt::PlainText); - ui->memo_s->setText(QString::fromStdString(details.memo())); + ui->memoTextLabel_s->setText(QString::fromStdString(details.memo())); ui->payAmount_s->setValue(value.amount); setCurrentWidget(ui->SendCoinsSecure); } |