summaryrefslogtreecommitdiff
path: root/wallet/src
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2024-03-04 15:22:57 -0600
committerTorsten Grote <t@grobox.de>2024-03-06 14:18:55 -0300
commit6120660ee0f3417a740981dd1b39eeb21405afe0 (patch)
tree9d424645fc9bfbe086ab98072f8123860a59d847 /wallet/src
parent993e5abcd9a2d0f279a8c6166e392955befe4300 (diff)
downloadtaler-android-6120660ee0f3417a740981dd1b39eeb21405afe0.tar.gz
taler-android-6120660ee0f3417a740981dd1b39eeb21405afe0.tar.bz2
taler-android-6120660ee0f3417a740981dd1b39eeb21405afe0.zip
[wallet] Fix label of invoiced amount in peer pull credit tx
bug 0008505
Diffstat (limited to 'wallet/src')
-rw-r--r--wallet/src/main/java/net/taler/wallet/peer/TransactionPeerPullCredit.kt4
-rw-r--r--wallet/src/main/res/values/strings.xml1
2 files changed, 3 insertions, 2 deletions
diff --git a/wallet/src/main/java/net/taler/wallet/peer/TransactionPeerPullCredit.kt b/wallet/src/main/java/net/taler/wallet/peer/TransactionPeerPullCredit.kt
index cc8bfa3..375e6f3 100644
--- a/wallet/src/main/java/net/taler/wallet/peer/TransactionPeerPullCredit.kt
+++ b/wallet/src/main/java/net/taler/wallet/peer/TransactionPeerPullCredit.kt
@@ -48,7 +48,7 @@ fun ColumnScope.TransactionPeerPullCreditComposable(t: TransactionPeerPullCredit
)
TransactionAmountComposable(
- label = stringResource(id = R.string.amount_chosen),
+ label = stringResource(id = R.string.receive_peer_amount_invoiced),
amount = t.amountRaw,
amountType = AmountType.Neutral,
)
@@ -63,7 +63,7 @@ fun ColumnScope.TransactionPeerPullCreditComposable(t: TransactionPeerPullCredit
}
TransactionAmountComposable(
- label = stringResource(id = R.string.receive_amount),
+ label = stringResource(id = R.string.send_peer_payment_amount_received),
amount = t.amountEffective,
amountType = AmountType.Positive,
)
diff --git a/wallet/src/main/res/values/strings.xml b/wallet/src/main/res/values/strings.xml
index 4f580af..bd9514e 100644
--- a/wallet/src/main/res/values/strings.xml
+++ b/wallet/src/main/res/values/strings.xml
@@ -150,6 +150,7 @@ GNU Taler is immune against many types of fraud, such as phishing of credit card
<string name="receive_peer_create_button">Create invoice</string>
<string name="receive_peer_invoice_instruction">Let the payer scan this QR code to pay:</string>
<string name="receive_peer_invoice_uri">Alternatively, copy and send this URI:</string>
+ <string name="receive_peer_amount_invoiced">Amount invoiced</string>
<string name="send_amount">Amount to send</string>
<string name="send_intro">Choose where to send money to:</string>