-
Notifications
You must be signed in to change notification settings - Fork 38.7k
[Qt] rename "amount" to "requested amount" in receive coins table #7383
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Qt] rename "amount" to "requested amount" in receive coins table #7383
Conversation
|
utACK |
4669c96 to
6693cb2
Compare
|
Sorry. Typo. Fixed (reworded commit and PR title to "requested amount"). |
|
utACK 6693cb2 |
src/qt/recentrequeststablemodel.cpp
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about
QString RecentRequestsTableModel::getAmountTitle()
{
- QString amountTitle = tr("Amount");
if (this->walletModel->getOptionsModel() != NULL)
- {
- amountTitle += " ("+BitcoinUnits::name(this->walletModel->getOptionsModel()->getDisplayUnit()) + ")";
- }
- return amountTitle;
+ return tr("Requested") + " ("+BitcoinUnits::name(this->walletModel->getOptionsModel()->getDisplayUnit()) + ")";
+ else
+ return tr("Requested amount");
}|
utACK |
6693cb2 to
430674c
Compare
|
Applied @MarcoFalke diff (force push). Thanks. It's a nice solution for a smaller column. |
src/qt/recentrequeststablemodel.cpp
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we need a special translation for the case that the model is not set, it is an error case which shouldn't crash but there's no need to make translators work for it (just return empty or something like that).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you think about the new solution?
430674c to
df6e8e1
Compare
…ins table df6e8e1 [Qt] rename "amount" to "requested amount" in receive coins table (Jonas Schnelli)
…eive coins table df6e8e1 [Qt] rename "amount" to "requested amount" in receive coins table (Jonas Schnelli)
Addresses #7014 (partial).
Users can be confused by looking at the "amount" column in the receive coins table (history or created addresses) because they expect the amount of "coins received by this address" instead of the "requested amount".
Renaming table header from "amount" to "requested amount".