diff options
author | Torsten Grote <t@grobox.de> | 2020-05-04 11:39:15 -0300 |
---|---|---|
committer | Torsten Grote <t@grobox.de> | 2020-05-04 11:39:15 -0300 |
commit | 3e13e7c84e4a093d4f681f1f071c59c4c96e1c22 (patch) | |
tree | b9c581953cd9deae7986d0c1ed145609b2da2eea /merchant-terminal/src | |
parent | 724f9fa491638ae7fcfed07eefa376bacd34d29f (diff) | |
download | taler-android-3e13e7c84e4a093d4f681f1f071c59c4c96e1c22.tar.gz taler-android-3e13e7c84e4a093d4f681f1f071c59c4c96e1c22.tar.bz2 taler-android-3e13e7c84e4a093d4f681f1f071c59c4c96e1c22.zip |
Rename Purchase Reference to Receipt #
Diffstat (limited to 'merchant-terminal/src')
3 files changed, 4 insertions, 4 deletions
diff --git a/merchant-terminal/src/main/java/net/taler/merchantpos/payment/ProcessPaymentFragment.kt b/merchant-terminal/src/main/java/net/taler/merchantpos/payment/ProcessPaymentFragment.kt index e947ae2..9060fd3 100644 --- a/merchant-terminal/src/main/java/net/taler/merchantpos/payment/ProcessPaymentFragment.kt +++ b/merchant-terminal/src/main/java/net/taler/merchantpos/payment/ProcessPaymentFragment.kt @@ -74,7 +74,7 @@ class ProcessPaymentFragment : Fragment() { payIntroView.fadeIn() amountView.text = payment.order.total.toString() payment.orderId?.let { - orderRefView.text = getString(R.string.payment_order_ref, it) + orderRefView.text = getString(R.string.payment_order_id, it) orderRefView.fadeIn() } payment.talerPayUri?.let { diff --git a/merchant-terminal/src/main/res/layout/fragment_process_payment.xml b/merchant-terminal/src/main/res/layout/fragment_process_payment.xml index cb69aa2..f84e041 100644 --- a/merchant-terminal/src/main/res/layout/fragment_process_payment.xml +++ b/merchant-terminal/src/main/res/layout/fragment_process_payment.xml @@ -91,7 +91,7 @@ app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="@+id/guideline" app:layout_constraintTop_toBottomOf="@+id/amountView" - tools:text="@string/payment_order_ref" + tools:text="@string/payment_order_id" tools:visibility="visible" /> <Button diff --git a/merchant-terminal/src/main/res/values/strings.xml b/merchant-terminal/src/main/res/values/strings.xml index eabe816..a3e69f3 100644 --- a/merchant-terminal/src/main/res/values/strings.xml +++ b/merchant-terminal/src/main/res/values/strings.xml @@ -41,12 +41,12 @@ <string name="payment_cancel">Cancel payment</string> <string name="payment_received">Payment received</string> <string name="payment_back_button">Continue</string> - <string name="payment_order_ref">Purchase reference: %s</string> + <string name="payment_order_id">Receipt #%s</string> <string name="payment_process_label">Payment required</string> <string name="payment_canceled">Payment canceled</string> <string name="history_label">Payment history</string> - <string name="history_ref_no">Ref. No: %s</string> + <string name="history_ref_no" translatable="false">@string/payment_order_id</string> <string name="history_refund">Refund</string> <string name="refund_amount">Amount</string> <string name="refund_reason">Refund reason</string> |