Skip to content

Commit

Permalink
add translations
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimir-8 authored and Pierre-LHOSTE committed Nov 21, 2024
1 parent e2a208b commit ea43b8c
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 4 deletions.
2 changes: 2 additions & 0 deletions src/i18n/locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,8 @@
"RESTAURANT_PRINTER_CONNECT_ERROR_TITLE": "Verbindung mit dem Gerät fehlgeschlagen",
"RESTAURANT_SOUND_ALERT_CONFIRM": "OK, mach ich",
"RESTAURANT_PRINTER_DISCONNECTED_BODY": "Das Gerät {{name}} ist nicht mehr verbunden",
"RESTAURANT_SEARCH_ORDERS": "Bestellung finden...",
"RESTAURANT_SEARCH_ORDERS_INPUT_PLACEHOLDER": "Bestellnummer...",
"NOTIFICATION_TASKS_CHANGED_DESC": "Deine Aufgaben vom {{date}} wurden aktualisiert",
"NOTIFICATION_TASKS_CHANGED_TITLE": "Aufgabe geändert",
"ADD_TO_CART": "In den Warenkorb legen",
Expand Down
4 changes: 2 additions & 2 deletions src/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -352,8 +352,8 @@
"RESTAURANT_ORDER_CONNECT_PRINTER": "Connect a printer",
"RESTAURANT_ORDER_PRINTING": "Printing order",
"RESTAURANT_ORDER_FAILED_TO_PRINT": "Failed to print",
"SEARCH_ORDERS": "Find order...",
"SEARCH_ORDERS_INPUT_PLACEHOLDER": "Order number...",
"RESTAURANT_SEARCH_ORDERS": "Find order...",
"RESTAURANT_SEARCH_ORDERS_INPUT_PLACEHOLDER": "Order number...",
"SWIPE_TO_ACCEPT_REFUSE": "Slide to the right to accept, to the left to refuse",
"ADD_COUPON": "Add a voucher code",
"VOUCHER_CODE": "Voucher code",
Expand Down
2 changes: 2 additions & 0 deletions src/i18n/locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,8 @@
"RESTAURANT_SETTINGS_MENU_ACTIVATE": "Activar el menú {{- name}}",
"RESTAURANT_ALERT_RUSH_MODE_ON": "El modo rush esta activado",
"RESTAURANT_ALERT_CLOSED": "El restaurante esta cerrado",
"RESTAURANT_SEARCH_ORDERS": "Buscar pedido...",
"RESTAURANT_SEARCH_ORDERS_INPUT_PLACEHOLDER": "Número de pedido...",
"CHECKOUT_PRODUCT_OPTIONS_TITLE": "Elección de opciones",
"CHECKOUT_LOGIN_TITLE": "Autenticación",
"CHECKOUT_LOGIN_DISCLAIMER": "Por favor inicie sesión para continuar",
Expand Down
2 changes: 2 additions & 0 deletions src/i18n/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@
"RESTAURANT_ORDER_REFUSE_REASON_ORDER_CONTINUE_RECEIVING": "Vous continuerez à recevoir de nouvelles commandes",
"RESTAURANT_ORDER_REFUSE_REASON_ORDER_STOP_RECEIVING": "Vous ne recevrez plus de nouvelles commandes",
"RESTAURANT_ORDER_PRINT": "Imprimer",
"RESTAURANT_SEARCH_ORDERS": "Trouver commande...",
"RESTAURANT_SEARCH_ORDERS_INPUT_PLACEHOLDER": "Numéro de commande...",
"RESTAURANT_PRODUCTS": "Produits",
"RESTAURANT_CLOSE_ALERT_TITLE": "Fermer jusqu'à demain",
"RESTAURANT_OPENING_HOURS": "Horaires d'ouverture",
Expand Down
2 changes: 1 addition & 1 deletion src/navigation/navigators/RestaurantNavigator.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export default () => (
name="RestaurantSearch"
component={screens.RestaurantSearch}
options={{
title: i18n.t('SEARCH_ORDERS'),
title: i18n.t('RESTAURANT_SEARCH_ORDERS'),
}}
/>
</RootStack.Navigator>
Expand Down
2 changes: 1 addition & 1 deletion src/navigation/restaurant/Search.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export default function Search() {
/>
}
onChangeText={ _.debounce(setQuery, 350) }
placeholder={ t('SEARCH_ORDERS_INPUT_PLACEHOLDER') }
placeholder={ t('RESTAURANT_SEARCH_ORDERS_INPUT_PLACEHOLDER') }
/>
</FormControl>
<FlatList
Expand Down

0 comments on commit ea43b8c

Please sign in to comment.