i18n(settings): wrap delivery methods CheckboxList with I18n::opts + 3 keys
OnlineOrder::DELIVERY values (Ridicare din service / Curier / Poștă) weren't translated; now go through I18n::opts and have RU/EN entries. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -213,7 +213,7 @@ class Settings extends Page
|
|||||||
Forms\Components\Toggle::make('shop_enabled')->label(__('Magazin activ'))->columnSpanFull(),
|
Forms\Components\Toggle::make('shop_enabled')->label(__('Magazin activ'))->columnSpanFull(),
|
||||||
Forms\Components\CheckboxList::make('shop_delivery_methods')
|
Forms\Components\CheckboxList::make('shop_delivery_methods')
|
||||||
->label(__('Metode de livrare'))
|
->label(__('Metode de livrare'))
|
||||||
->options(\App\Models\Tenant\OnlineOrder::DELIVERY)
|
->options(\App\Support\I18n::opts(\App\Models\Tenant\OnlineOrder::DELIVERY))
|
||||||
->default(['pickup'])
|
->default(['pickup'])
|
||||||
->columnSpanFull(),
|
->columnSpanFull(),
|
||||||
Forms\Components\TextInput::make('shop_delivery_fee')->label(__('Taxă livrare'))->numeric()->default(0),
|
Forms\Components\TextInput::make('shop_delivery_fee')->label(__('Taxă livrare'))->numeric()->default(0),
|
||||||
|
|||||||
@@ -526,6 +526,7 @@
|
|||||||
"Cumul.": "Stack.",
|
"Cumul.": "Stack.",
|
||||||
"Cumulabil": "Stackable",
|
"Cumulabil": "Stackable",
|
||||||
"Cumulabil = se înmulțește cu alți coeficienți. Necumulabil = doar cel mai mare necumulabil se aplică.": "Stackable = multiplies with other coefficients. Non-stackable = only the largest non-stackable applies.",
|
"Cumulabil = se înmulțește cu alți coeficienți. Necumulabil = doar cel mai mare necumulabil se aplică.": "Stackable = multiplies with other coefficients. Non-stackable = only the largest non-stackable applies.",
|
||||||
|
"Curier": "Courier",
|
||||||
"Currency": "Currency",
|
"Currency": "Currency",
|
||||||
"Curăță": "Clear",
|
"Curăță": "Clear",
|
||||||
"Custom": "Custom",
|
"Custom": "Custom",
|
||||||
@@ -1433,6 +1434,7 @@
|
|||||||
"Post actualizat": "Post actualizat",
|
"Post actualizat": "Post actualizat",
|
||||||
"Poze": "Photos",
|
"Poze": "Photos",
|
||||||
"Pozele auto": "Vehicle photos",
|
"Pozele auto": "Vehicle photos",
|
||||||
|
"Poștă": "Post",
|
||||||
"Poți adăuga un loc de muncă (cu lift sau fără — ex: curte, atelier electric).": "You can add a workspace (with or without a lift — e.g. yard, electric workshop).",
|
"Poți adăuga un loc de muncă (cu lift sau fără — ex: curte, atelier electric).": "You can add a workspace (with or without a lift — e.g. yard, electric workshop).",
|
||||||
"Pre-completat automat la programări noi pe acest pod.": "Pre-completat automat la programări noi pe acest pod.",
|
"Pre-completat automat la programări noi pe acest pod.": "Pre-completat automat la programări noi pe acest pod.",
|
||||||
"Precedent": "Previous",
|
"Precedent": "Previous",
|
||||||
@@ -1630,6 +1632,7 @@
|
|||||||
"Rezultate": "Results",
|
"Rezultate": "Results",
|
||||||
"Rezumat": "Summary",
|
"Rezumat": "Summary",
|
||||||
"Reîmprospătează": "Refresh",
|
"Reîmprospătează": "Refresh",
|
||||||
|
"Ridicare din service": "Pickup at service",
|
||||||
"Ridicare la service": "Pickup at service",
|
"Ridicare la service": "Pickup at service",
|
||||||
"Ridicat": "High",
|
"Ridicat": "High",
|
||||||
"Robotizată": "Robotized",
|
"Robotizată": "Robotized",
|
||||||
|
|||||||
@@ -526,6 +526,7 @@
|
|||||||
"Cumul.": "Кум.",
|
"Cumul.": "Кум.",
|
||||||
"Cumulabil": "Накопительный",
|
"Cumulabil": "Накопительный",
|
||||||
"Cumulabil = se înmulțește cu alți coeficienți. Necumulabil = doar cel mai mare necumulabil se aplică.": "Накопительный = умножается с другими коэффициентами. Ненакопительный = применяется только наибольший ненакопительный.",
|
"Cumulabil = se înmulțește cu alți coeficienți. Necumulabil = doar cel mai mare necumulabil se aplică.": "Накопительный = умножается с другими коэффициентами. Ненакопительный = применяется только наибольший ненакопительный.",
|
||||||
|
"Curier": "Курьер",
|
||||||
"Currency": "Валюта",
|
"Currency": "Валюта",
|
||||||
"Curăță": "Очистить",
|
"Curăță": "Очистить",
|
||||||
"Custom": "Свой",
|
"Custom": "Свой",
|
||||||
@@ -1433,6 +1434,7 @@
|
|||||||
"Post actualizat": "Post actualizat",
|
"Post actualizat": "Post actualizat",
|
||||||
"Poze": "Фото",
|
"Poze": "Фото",
|
||||||
"Pozele auto": "Фото авто",
|
"Pozele auto": "Фото авто",
|
||||||
|
"Poștă": "Почта",
|
||||||
"Poți adăuga un loc de muncă (cu lift sau fără — ex: curte, atelier electric).": "Можно добавить рабочее место (с лифтом или без — например: двор, электроцех).",
|
"Poți adăuga un loc de muncă (cu lift sau fără — ex: curte, atelier electric).": "Можно добавить рабочее место (с лифтом или без — например: двор, электроцех).",
|
||||||
"Pre-completat automat la programări noi pe acest pod.": "Pre-completat automat la programări noi pe acest pod.",
|
"Pre-completat automat la programări noi pe acest pod.": "Pre-completat automat la programări noi pe acest pod.",
|
||||||
"Precedent": "Предыдущий",
|
"Precedent": "Предыдущий",
|
||||||
@@ -1630,6 +1632,7 @@
|
|||||||
"Rezultate": "Результаты",
|
"Rezultate": "Результаты",
|
||||||
"Rezumat": "Резюме",
|
"Rezumat": "Резюме",
|
||||||
"Reîmprospătează": "Обновить",
|
"Reîmprospătează": "Обновить",
|
||||||
|
"Ridicare din service": "Самовывоз из сервиса",
|
||||||
"Ridicare la service": "Самовывоз в сервисе",
|
"Ridicare la service": "Самовывоз в сервисе",
|
||||||
"Ridicat": "Высокий",
|
"Ridicat": "Высокий",
|
||||||
"Robotizată": "Робот",
|
"Robotizată": "Робот",
|
||||||
|
|||||||
Reference in New Issue
Block a user