From e43d79fea7f1ece3e8b971351dccce4cc65e3f05 Mon Sep 17 00:00:00 2001 From: Vasyka Date: Sat, 18 Jul 2026 10:51:42 +0000 Subject: [PATCH] i18n(subcontract-jobs + filament core): +6 keys + fix missing 'no options' RU/EN MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - +6 subcontract-jobs translations (Lucrare, Termene, Returnat, ETA, helper 'Setat manual dacă markup = 0.', empty-state description) - Add lang/vendor/filament-forms/{ru,en}/components.php with select no_options_message + max_items_message. Filament ships RO copy with no RU override, so 'Nu sunt disponibile opțiuni.' bled through into RU/EN locales. Co-Authored-By: Claude Opus 4.7 (1M context) --- lang/en.json | 10 +++++----- lang/ru.json | 10 +++++----- lang/vendor/filament-forms/en/components.php | 11 +++++++++++ lang/vendor/filament-forms/ru/components.php | 16 ++++++++++++++++ 4 files changed, 37 insertions(+), 10 deletions(-) create mode 100644 lang/vendor/filament-forms/en/components.php create mode 100644 lang/vendor/filament-forms/ru/components.php diff --git a/lang/en.json b/lang/en.json index caf04be..10761cf 100644 --- a/lang/en.json +++ b/lang/en.json @@ -981,7 +981,7 @@ "Loturi (FIFO)": "Batches (FIFO)", "Low Stock Table": "Low stock", "Low stock": "Low stock", - "Lucrare": "Lucrare", + "Lucrare": "Job", "Lucrare blocată": "Work blocked", "Lucrări": "Tasks", "Lucrări la terți": "Subcontracted work", @@ -1573,7 +1573,7 @@ "Restituire": "Restituire", "Restore": "Restore", "Retur": "Return", - "Returnat": "Returnat", + "Returnat": "Returned", "Revenue": "Revenue", "Revizie": "Service", "Revizii": "Services", @@ -1688,7 +1688,7 @@ "Set eliberat din depozit": "Set released from storage", "Set primit în depozit": "Set received in storage", "Setare implicită": "Default", - "Setat manual dacă markup = 0.": "Setat manual dacă markup = 0.", + "Setat manual dacă markup = 0.": "Set manually if markup = 0.", "Setează webhook": "Set webhook", "Settings": "Settings", "Seturi anvelope": "Tire sets", @@ -1820,7 +1820,7 @@ "Tenantul vede factura în interiorul lui la": "Tenantul vede factura în interiorul lui la", "Termen": "Due date", "Termen limită": "Deadline", - "Termene": "Termene", + "Termene": "Deadlines", "Termeni": "Terms", "Termeni de plată": "Payment terms", "Termeni plată": "Payment terms", @@ -2332,7 +2332,7 @@ "Înregistrare": "Register", "Înregistrat": "Registered", "Înregistrează lucrări de tinichigerie, vopsitorie, PDR, detailing, ceramică, PPF sau polish. Hartă daune, dosar asigurare și arhivă foto înainte/după.": "Înregistrează lucrări de tinichigerie, vopsitorie, PDR, detailing, ceramică, PPF sau polish. Hartă daune, dosar asigurare și arhivă foto înainte/după.", - "Înregistrează lucrările trimise la ateliere externe (turbo, cutii, vopsitorie). Costul terțului + markup intră automat în totalul fișei asociate.": "Înregistrează lucrările trimise la ateliere externe (turbo, cutii, vopsitorie). Costul terțului + markup intră automat în totalul fișei asociate.", + "Înregistrează lucrările trimise la ateliere externe (turbo, cutii, vopsitorie). Costul terțului + markup intră automat în totalul fișei asociate.": "Register jobs sent to external workshops (turbo, gearboxes, paint). Subcontractor cost + markup automatically add up in the linked order total.", "Înregistrează seturile de anvelope ale clienților și gestionează depozitarea sezonieră (tire hotel). Urmărește uzura, TPMS și locația în depozit.": "Register clients' tire sets and manage seasonal storage (tire hotel). Track wear, TPMS and warehouse location.", "Întreabă-mă orice — diagnostic, sumar, sugestii, redactare mesaje către clienți...": "Ask me anything — diagnostics, summary, suggestions, drafting client messages...", "Șabloane servicii": "Service templates", diff --git a/lang/ru.json b/lang/ru.json index f0f5af9..2c7d158 100644 --- a/lang/ru.json +++ b/lang/ru.json @@ -981,7 +981,7 @@ "Loturi (FIFO)": "Партии (FIFO)", "Low Stock Table": "Остаток ниже минимума", "Low stock": "Ниже минимума", - "Lucrare": "Lucrare", + "Lucrare": "Работа", "Lucrare blocată": "Работа заблокирована", "Lucrări": "Работы", "Lucrări la terți": "Работы у субподрядчиков", @@ -1573,7 +1573,7 @@ "Restituire": "Restituire", "Restore": "Восстановить", "Retur": "Возврат", - "Returnat": "Returnat", + "Returnat": "Возвращено", "Revenue": "Доход", "Revizie": "ТО", "Revizii": "ТО", @@ -1688,7 +1688,7 @@ "Set eliberat din depozit": "Комплект выдан со склада", "Set primit în depozit": "Комплект принят на склад", "Setare implicită": "По умолчанию", - "Setat manual dacă markup = 0.": "Setat manual dacă markup = 0.", + "Setat manual dacă markup = 0.": "Установите вручную, если наценка = 0.", "Setează webhook": "Настроить webhook", "Settings": "Настройки", "Seturi anvelope": "Шины (комплекты)", @@ -1820,7 +1820,7 @@ "Tenantul vede factura în interiorul lui la": "Tenantul vede factura în interiorul lui la", "Termen": "Срок", "Termen limită": "Крайний срок", - "Termene": "Termene", + "Termene": "Сроки", "Termeni": "Условия", "Termeni de plată": "Условия оплаты", "Termeni plată": "Условия оплаты", @@ -2332,7 +2332,7 @@ "Înregistrare": "Регистрация", "Înregistrat": "Зарегистрирован", "Înregistrează lucrări de tinichigerie, vopsitorie, PDR, detailing, ceramică, PPF sau polish. Hartă daune, dosar asigurare și arhivă foto înainte/după.": "Înregistrează lucrări de tinichigerie, vopsitorie, PDR, detailing, ceramică, PPF sau polish. Hartă daune, dosar asigurare și arhivă foto înainte/după.", - "Înregistrează lucrările trimise la ateliere externe (turbo, cutii, vopsitorie). Costul terțului + markup intră automat în totalul fișei asociate.": "Înregistrează lucrările trimise la ateliere externe (turbo, cutii, vopsitorie). Costul terțului + markup intră automat în totalul fișei asociate.", + "Înregistrează lucrările trimise la ateliere externe (turbo, cutii, vopsitorie). Costul terțului + markup intră automat în totalul fișei asociate.": "Регистрируйте работы, отправленные в сторонние мастерские (турбина, коробки, покраска). Стоимость субподрядчика + наценка автоматически входят в сумму связанного наряда.", "Înregistrează seturile de anvelope ale clienților și gestionează depozitarea sezonieră (tire hotel). Urmărește uzura, TPMS și locația în depozit.": "Регистрируйте комплекты шин клиентов и управляйте сезонным хранением (tire hotel). Отслеживайте износ, TPMS и локацию на складе.", "Întreabă-mă orice — diagnostic, sumar, sugestii, redactare mesaje către clienți...": "Спросите что угодно — диагноз, резюме, подсказки, тексты клиентам...", "Șabloane servicii": "Шаблоны услуг", diff --git a/lang/vendor/filament-forms/en/components.php b/lang/vendor/filament-forms/en/components.php new file mode 100644 index 0000000..0cac281 --- /dev/null +++ b/lang/vendor/filament-forms/en/components.php @@ -0,0 +1,11 @@ + [ + 'no_options_message' => 'No options available.', + 'max_items_message' => 'Only :count items may be selected.', + ], + 'mentions' => [ + 'no_options_message' => 'No options available.', + ], +]; diff --git a/lang/vendor/filament-forms/ru/components.php b/lang/vendor/filament-forms/ru/components.php new file mode 100644 index 0000000..8d2fb6d --- /dev/null +++ b/lang/vendor/filament-forms/ru/components.php @@ -0,0 +1,16 @@ + [ + 'no_options_message' => 'Нет доступных вариантов.', + 'max_items_message' => 'Можно выбрать максимум :count.', + ], + 'mentions' => [ + 'no_options_message' => 'Нет доступных вариантов.', + ], +];