commit 0b400a106c49f0b4c83e35d8d81c5a574210d900 parent 84a3de230a94c624d1cec35b4d04c70de4d7be3d Author: Iván Ávalos <avalos@disroot.org> Date: Thu, 21 Nov 2024 13:43:25 +0100 [android] QC: unify available for transfer strings Diffstat:
3 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/wallet/src/main/java/net/taler/wallet/deposit/MakeDepositComposable.kt b/wallet/src/main/java/net/taler/wallet/deposit/MakeDepositComposable.kt @@ -200,7 +200,7 @@ fun MakeDepositComposable( bottom = 16.dp, ), text = stringResource( - R.string.send_deposit_max_amount, + R.string.amount_available_transfer, it.withSpec(currencySpec), ), ) diff --git a/wallet/src/main/java/net/taler/wallet/peer/OutgoingPushComposable.kt b/wallet/src/main/java/net/taler/wallet/peer/OutgoingPushComposable.kt @@ -117,7 +117,7 @@ fun OutgoingPushIntroComposable( bottom = 16.dp, ), text = stringResource( - R.string.send_peer_max_amount, + R.string.amount_available_transfer, it.withSpec(selectedSpec), ), ) diff --git a/wallet/src/main/res/values/strings.xml b/wallet/src/main/res/values/strings.xml @@ -85,6 +85,7 @@ GNU Taler is immune against many types of fraud, such as phishing of credit card <!-- Amounts --> + <string name="amount_available_transfer">Available for transfer: %1$s</string> <string name="amount_chosen">Chosen amount</string> <string name="amount_conversion">Conversion</string> <string name="amount_deposit">Amount to deposit</string> @@ -214,7 +215,6 @@ GNU Taler is immune against many types of fraud, such as phishing of credit card <string name="pay_peer_intro">Do you want to pay this request?</string> <string name="pay_peer_title">Pay request</string> <string name="send_deposit_account">Account</string> - <string name="send_deposit_max_amount">Available to deposit: %1$s</string> <string name="send_deposit_bitcoin_address">Bitcoin address</string> <string name="send_deposit_bitcoin_create_button">Transfer Bitcoin</string> <string name="send_deposit_button_label">Deposit</string> @@ -235,7 +235,6 @@ GNU Taler is immune against many types of fraud, such as phishing of credit card <string name="send_peer_expiration_days">Days</string> <string name="send_peer_expiration_hours">Hours</string> <string name="send_peer_expiration_period">Expires in</string> - <string name="send_peer_max_amount">Available to send: %1$s</string> <string name="send_peer_payment_instruction">Sending %1$s, let the payee scan this QR code to receive it</string> <string name="send_peer_purpose">Purpose</string> <string name="send_peer_title">Send money to another wallet</string>