From 675eabd89872c07f6205ab1dbe58afa988468039 Mon Sep 17 00:00:00 2001 From: Giuseppe Ciotola <30926550+gciotola@users.noreply.github.com> Date: Tue, 17 Dec 2024 12:41:44 +0100 Subject: [PATCH] fix: add more keys for app-orders --- packages/app-elements/src/locales/en.ts | 28 ++++++++++++++++++++++--- packages/app-elements/src/locales/it.ts | 26 ++++++++++++++++++++--- 2 files changed, 48 insertions(+), 6 deletions(-) diff --git a/packages/app-elements/src/locales/en.ts b/packages/app-elements/src/locales/en.ts index f85f072b..f6387421 100644 --- a/packages/app-elements/src/locales/en.ts +++ b/packages/app-elements/src/locales/en.ts @@ -159,6 +159,7 @@ const en = { add_up_to: 'You can add up to {{limit}} {{resource}}.', all_items: 'All items', back: 'Back', + close: 'Close', edit: 'Edit', filters: 'Filters', limit_reached: 'Limit reached', @@ -171,8 +172,16 @@ const en = { search: 'Search...', timeline: 'Timeline', update: 'Update', - updated: 'Updated' + updated: 'Updated', + cancel: 'Cancel', + apply: 'Apply', + not_found: 'Not found', + generic_resource_not_found: + 'We could not find the resource you are looking for.', + create_resource: 'Create {{resource}}', + generic_select_autocomplete_hint: 'Type to search for more options.' }, + resources, apps: { orders: { @@ -194,6 +203,7 @@ const en = { fulfillment_in_progress: 'Fulfillment in progress', editing: 'Editing', history: 'Order history', + cart: 'Cart', carts: 'Carts', archived: 'Archived' }, @@ -209,7 +219,18 @@ const en = { discount: 'Discount', fulfillment: 'Fulfillment', payment: 'Payment', - adjust_total: 'Adjust total' + adjust_total: 'Adjust total', + use_for_shipping: 'Use for shipping', + use_for_billing: 'Use for billing' + }, + form: { + language: 'Language', + language_hint: 'The language used for checkout', + error_create_order: + 'Cannot create the order without a valid item. Please select one.', + email: 'Email', + email_placeholder: 'Search or add email', + email_hint: "The customer's email for this order." }, actions: { add_item: 'Add item', @@ -221,7 +242,8 @@ const en = { place: 'Place order', refund: 'Refund', unarchive: 'Unarchive', - select_address: 'Select address' + select_address: 'Select address', + edit_customer: 'Edit customer' } }, shipments: { diff --git a/packages/app-elements/src/locales/it.ts b/packages/app-elements/src/locales/it.ts index 655bae98..418c3f05 100644 --- a/packages/app-elements/src/locales/it.ts +++ b/packages/app-elements/src/locales/it.ts @@ -5,6 +5,7 @@ const it: typeof en = { all_items: 'Tutti gli elementi', not_handled: 'Non gestito', back: 'Torna indietro', + close: 'Chiudi', new: 'Nuovo', not_authorized: 'Non autorizzato', no_items: 'Nessun elemento', @@ -17,7 +18,13 @@ const it: typeof en = { search: 'Cerca...', limit_reached: 'Limite raggiunto', add_up_to: 'Puoi aggiungere fino a {{limit}} {{resource}}.', - update: 'Aggiorna' + update: 'Aggiorna', + cancel: 'Annulla', + apply: 'Applica', + not_found: 'Non trovato', + generic_resource_not_found: 'La risorsa che cercavi non è esiste.', + create_resource: 'Crea {{resource}}', + generic_select_autocomplete_hint: 'Digita per cercare più opzioni.' }, resources: { adjustments: { @@ -171,6 +178,7 @@ const it: typeof en = { fulfillment_in_progress: 'Evasione in corso', editing: 'In modifica', history: 'Tutti gli ordini', + cart: 'Carrello', carts: 'Carrelli', archived: 'Archiviati' }, @@ -186,7 +194,18 @@ const it: typeof en = { discount: 'Sconto', fulfillment: 'Evasione', payment: 'Pagamento', - adjust_total: 'Aggiusta totale' + adjust_total: 'Aggiusta totale', + use_for_shipping: 'Usa per la spedizione', + use_for_billing: 'Usa per la fatturazione' + }, + form: { + language: 'Lingua', + language_hint: 'La lingua usata per il checkout', + error_create_order: + "Non è possibile creare l'ordine senza un prodotto valido. Selezionane uno.", + email: 'Indirizzo Email', + email_placeholder: 'Cerca o aggiungi un indirizzo email', + email_hint: "L'indirizzo email del cliente per questo ordine." }, actions: { add_item: 'Aggiungi prodotto', @@ -198,7 +217,8 @@ const it: typeof en = { place: 'Piazza ordine', refund: 'Rimborsa', unarchive: 'Ripristina', - select_address: 'Seleziona indirizzo' + select_address: 'Seleziona indirizzo', + edit_customer: 'Modifica cliente' } }, shipments: {