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:
2026-07-18 11:36:10 +00:00
parent a6f21762fc
commit d97b9b3d6d
3 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -213,7 +213,7 @@ class Settings extends Page
Forms\Components\Toggle::make('shop_enabled')->label(__('Magazin activ'))->columnSpanFull(),
Forms\Components\CheckboxList::make('shop_delivery_methods')
->label(__('Metode de livrare'))
->options(\App\Models\Tenant\OnlineOrder::DELIVERY)
->options(\App\Support\I18n::opts(\App\Models\Tenant\OnlineOrder::DELIVERY))
->default(['pickup'])
->columnSpanFull(),
Forms\Components\TextInput::make('shop_delivery_fee')->label(__('Taxă livrare'))->numeric()->default(0),