summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/fragment_order.xml
diff options
context:
space:
mode:
authorTorsten Grote <t@grobox.de>2020-02-27 16:53:48 -0300
committerTorsten Grote <t@grobox.de>2020-02-27 17:05:46 -0300
commitd1b7474b478d65366b38edbc87144c7ce1215601 (patch)
tree3e9752f14306fd923fe89828a871caf8c44f3d96 /app/src/main/res/layout/fragment_order.xml
parentf08ae2791f564cb1fce394e4e277946f86c20efc (diff)
downloadmerchant-terminal-android-d1b7474b478d65366b38edbc87144c7ce1215601.tar.gz
merchant-terminal-android-d1b7474b478d65366b38edbc87144c7ce1215601.tar.bz2
merchant-terminal-android-d1b7474b478d65366b38edbc87144c7ce1215601.zip
Change product definition format to support i18n
When localized product descriptions or category names are available, they will be shown instead of the default string, if their locale is in the user's locale priority list (or default locale).
Diffstat (limited to 'app/src/main/res/layout/fragment_order.xml')
-rw-r--r--app/src/main/res/layout/fragment_order.xml7
1 files changed, 3 insertions, 4 deletions
diff --git a/app/src/main/res/layout/fragment_order.xml b/app/src/main/res/layout/fragment_order.xml
index 19fb629..d65c0ce 100644
--- a/app/src/main/res/layout/fragment_order.xml
+++ b/app/src/main/res/layout/fragment_order.xml
@@ -7,7 +7,6 @@
<androidx.fragment.app.FragmentContainerView
android:id="@+id/fragment1"
- android:name="net.taler.merchantpos.order.OrderStateFragment"
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_marginBottom="8dp"
@@ -93,7 +92,7 @@
android:layout_height="wrap_content"
android:layout_marginStart="32dp"
android:backgroundTint="@color/button_bottom"
- android:text="@string/button_previous"
+ android:text="@string/order_previous"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toEndOf="@+id/plusButton" />
@@ -103,7 +102,7 @@
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:backgroundTint="@color/button_bottom"
- android:text="@string/button_next"
+ android:text="@string/order_next"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toEndOf="@+id/prevButton" />
@@ -114,7 +113,7 @@
android:layout_marginStart="32dp"
android:layout_marginEnd="8dp"
android:backgroundTint="@color/button_bottom"
- android:text="@string/button_complete"
+ android:text="@string/order_complete"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="1.0"