Skip to content

Commit

Permalink
fix: add more keys for app-orders
Browse files Browse the repository at this point in the history
  • Loading branch information
gciotola committed Dec 17, 2024
1 parent f08f848 commit 675eabd
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 6 deletions.
28 changes: 25 additions & 3 deletions packages/app-elements/src/locales/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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: {
Expand All @@ -194,6 +203,7 @@ const en = {
fulfillment_in_progress: 'Fulfillment in progress',
editing: 'Editing',
history: 'Order history',
cart: 'Cart',
carts: 'Carts',
archived: 'Archived'
},
Expand All @@ -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',
Expand All @@ -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: {
Expand Down
26 changes: 23 additions & 3 deletions packages/app-elements/src/locales/it.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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: {
Expand Down Expand Up @@ -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'
},
Expand All @@ -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',
Expand All @@ -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: {
Expand Down

0 comments on commit 675eabd

Please sign in to comment.