Skip to content

Beautiful Open-Source Form Builder

Add Serbian language support (#909)

Julien Nahum9836ac90e67e
diff --git a/api/app/Models/Forms/Form.php b/api/app/Models/Forms/Form.php
index e1bd8da84..45af64d38 100644
--- a/api/app/Models/Forms/Form.php
+++ b/api/app/Models/Forms/Form.php
@@ -42,7 +42,7 @@ class Form extends Model implements CachableAttributes
public const VISIBILITY = ['public', 'draft', 'closed'];
- public const LANGUAGES = ['en', 'fr', 'hi', 'es', 'ar', 'zh', 'ja', 'bn', 'pt', 'ru', 'ur', 'pa', 'de', 'jv', 'ko', 'vi', 'te', 'mr', 'ta', 'tr', 'sk', 'cs', 'eu', 'gl', 'ca', 'sv', 'pl', 'nl'];
+ public const LANGUAGES = ['en', 'fr', 'hi', 'es', 'ar', 'zh', 'ja', 'bn', 'pt', 'ru', 'ur', 'pa', 'de', 'jv', 'ko', 'vi', 'te', 'mr', 'ta', 'tr', 'sk', 'cs', 'eu', 'gl', 'ca', 'sv', 'pl', 'nl', 'sr', 'uk'];
protected $fillable = [
'workspace_id',
diff --git a/api/config/app.php b/api/config/app.php
index db75c9643..6ece669a2 100644
--- a/api/config/app.php
+++ b/api/config/app.php
@@ -147,6 +147,8 @@ return [
'sv' => 'SV',
'pl' => 'PL',
'nl' => 'NL',
+ 'sr' => 'SR',
+ 'uk' => 'UK',
],
/*
diff --git a/api/resources/lang/sr/validation.php b/api/resources/lang/sr/validation.php
new file mode 100644
index 000000000..e2675d600
--- /dev/null
+++ b/api/resources/lang/sr/validation.php
@@ -0,0 +1,154 @@
+<?php
+
+return [
+
+ /*
+ |--------------------------------------------------------------------------
+ | Validation Language Lines
+ |--------------------------------------------------------------------------
+ |
+ | The following language lines contain the default error messages used by
+ | the validator class. Some of these rules have multiple versions such
+ | as the size rules. Feel free to tweak each of these messages here.
+ |
+ */
+
+ 'accepted' => ':attribute mora biti prihvaćen.',
+ 'active_url' => ':attribute nije validan URL.',
+ 'after' => ':attribute mora biti datum posle :date.',
+ 'after_or_equal' => ':attribute mora biti datum posle ili jednak :date.',
+ 'alpha' => ':attribute može da sadrži samo slova.',
+ 'alpha_dash' => ':attribute može da sadrži samo slova, brojeve, crtice i donje crte.',
+ 'alpha_num' => ':attribute može da sadrži samo slova i brojeve.',
+ 'array' => ':attribute mora biti niz.',
+ 'before' => ':attribute mora biti datum pre :date.',
+ 'before_or_equal' => ':attribute mora biti datum pre ili jednak :date.',
+ 'between' => [
+ 'numeric' => ':attribute mora biti između :min i :max.',
+ 'file' => ':attribute mora biti između :min i :max kilobajta.',
+ 'string' => ':attribute mora imati između :min i :max karaktera.',
+ 'array' => ':attribute mora imati između :min i :max stavki.',
+ ],
+ 'boolean' => 'Polje :attribute mora biti tačno ili netačno.',
+ 'confirmed' => 'Potvrda polja :attribute se ne poklapa.',
+ 'date' => ':attribute nije važeći datum.',
+ 'date_equals' => ':attribute mora biti datum jednak :date.',
+ 'date_format' => ':attribute ne odgovara formatu :format.',
+ 'different' => ':attribute i :other moraju biti različiti.',
+ 'digits' => ':attribute mora imati :digits cifara.',
+ 'digits_between' => ':attribute mora imati između :min i :max cifara.',
+ 'dimensions' => ':attribute ima nevažeće dimenzije slike.',
+ 'distinct' => 'Polje :attribute ima duplu vrednost.',
+ 'email' => ':attribute mora biti važeća email adresa.',
+ 'ends_with' => ':attribute mora se završavati jednim od sledećih: :values.',
+ 'exists' => 'Izabrani :attribute je nevažeći.',
+ 'file' => ':attribute mora biti fajl.',
+ 'filled' => 'Polje :attribute mora imati vrednost.',
+ 'gt' => [
+ 'numeric' => ':attribute mora biti veći od :value.',
+ 'file' => ':attribute mora biti veći od :value kilobajta.',
+ 'string' => ':attribute mora imati više od :value karaktera.',
+ 'array' => ':attribute mora imati više od :value stavki.',
+ ],
+ 'gte' => [
+ 'numeric' => ':attribute mora biti veći ili jednak :value.',
+ 'file' => ':attribute mora biti veći ili jednak :value kilobajta.',
+ 'string' => ':attribute mora imati najmanje :value karaktera.',
+ 'array' => ':attribute mora imati :value stavki ili više.',
+ ],
+ 'image' => ':attribute mora biti slika.',
+ 'in' => 'Izabrani :attribute je nevažeći.',
+ 'in_array' => 'Polje :attribute ne postoji u :other.',
+ 'integer' => ':attribute mora biti ceo broj.',
+ 'ip' => ':attribute mora biti važeća IP adresa.',
+ 'ipv4' => ':attribute mora biti važeća IPv4 adresa.',
+ 'ipv6' => ':attribute mora biti važeća IPv6 adresa.',
+ 'json' => ':attribute mora biti važeći JSON string.',
+ 'lt' => [
+ 'numeric' => ':attribute mora biti manji od :value.',
+ 'file' => ':attribute mora biti manji od :value kilobajta.',
+ 'string' => ':attribute mora imati manje od :value karaktera.',
+ 'array' => ':attribute mora imati manje od :value stavki.',
+ ],
+ 'lte' => [
+ 'numeric' => ':attribute mora biti manji ili jednak :value.',
+ 'file' => ':attribute mora biti manji ili jednak :value kilobajta.',
+ 'string' => ':attribute mora imati najviše :value karaktera.',
+ 'array' => ':attribute ne sme imati više od :value stavki.',
+ ],
+ 'max' => [
+ 'numeric' => ':attribute ne sme biti veći od :max.',
+ 'file' => ':attribute ne sme biti veći od :max kilobajta.',
+ 'string' => ':attribute ne sme imati više od :max karaktera.',
+ 'array' => ':attribute ne sme imati više od :max stavki.',
+ ],
+ 'mimes' => ':attribute mora biti fajl tipa: :values.',
+ 'mimetypes' => ':attribute mora biti fajl tipa: :values.',
+ 'min' => [
+ 'numeric' => ':attribute mora biti najmanje :min.',
+ 'file' => ':attribute mora biti najmanje :min kilobajta.',
+ 'string' => ':attribute mora imati najmanje :min karaktera.',
+ 'array' => ':attribute mora imati najmanje :min stavki.',
+ ],
+ 'multiple_of' => ':attribute mora biti umnožak vrednosti :value',
+ 'not_in' => 'Izabrani :attribute je nevažeći.',
+ 'not_regex' => 'Format polja :attribute je nevažeći.',
+ 'numeric' => ':attribute mora biti broj.',
+ 'password' => 'Lozinka je netačna.',
+ 'present' => 'Polje :attribute mora biti prisutno.',
+ 'regex' => 'Format polja :attribute je nevažeći.',
+ 'required' => 'Polje :attribute je obavezno.',
+ 'required_if' => 'Polje :attribute je obavezno kada je :other :value.',
+ 'required_unless' => 'Polje :attribute je obavezno osim ako :other nije u :values.',
+ 'required_with' => 'Polje :attribute je obavezno kada je prisutno :values.',
+ 'required_with_all' => 'Polje :attribute je obavezno kada su prisutne :values.',
+ 'required_without' => 'Polje :attribute je obavezno kada :values nije prisutno.',
+ 'required_without_all' => 'Polje :attribute je obavezno kada nijedna od :values nije prisutna.',
+ 'same' => ':attribute i :other moraju da se poklapaju.',
+ 'size' => [
+ 'numeric' => ':attribute mora biti :size.',
+ 'file' => ':attribute mora biti :size kilobajta.',
+ 'string' => ':attribute mora imati :size karaktera.',
+ 'array' => ':attribute mora sadržati :size stavki.',
+ ],
+ 'starts_with' => ':attribute mora počinjati jednim od sledećih: :values.',
+ 'string' => ':attribute mora biti ispravan tekst.',
+ 'timezone' => ':attribute mora biti važeća vremenska zona.',
+ 'unique' => ':attribute je već zauzet.',
+ 'uploaded' => ':attribute nije uspeo da se otpremi.',
+ 'url' => 'Format polja :attribute je nevažeći.',
+ 'uuid' => ':attribute mora biti važeći UUID.',
+
+ /*
+ |--------------------------------------------------------------------------
+ | Custom Validation Language Lines
+ |--------------------------------------------------------------------------
+ */
+
+ 'custom' => [
+ 'attribute-name' => [
+ 'rule-name' => 'prilagođena-poruka',
+ ],
+ ],
+
+ /*
+ |--------------------------------------------------------------------------
+ | Custom Validation Attributes
+ |--------------------------------------------------------------------------
+ */
+
+ 'attributes' => [],
+
+ 'invalid_json' => 'Neispravan unos. Ispravite i pokušajte ponovo.',
+ 'invalid_captcha' => 'Nevažeća CAPTCHA. Dokažite da niste robot.',
+ 'complete_captcha' => 'Molimo završite captcha.',
+ 'yes' => 'Da',
+ 'no' => 'Ne',
+
+ 'from_date_required' => 'Datum od je obavezan',
+ 'to_date_required' => 'Datum do je obavezan',
+ 'from_date_before_or_equal' => 'Datum od mora biti pre ili jednak datumu do',
+ 'rating_min' => 'Mora biti izabrana ocena',
+ 'select_min' => 'Molimo izaberite najmanje :min opcija',
+ 'select_max' => 'Molimo izaberite najviše :max opcija',
+];
diff --git a/api/resources/lang/uk/validation.php b/api/resources/lang/uk/validation.php
new file mode 100644
index 000000000..8df0afb24
--- /dev/null
+++ b/api/resources/lang/uk/validation.php
@@ -0,0 +1,149 @@
+<?php
+
+return [
+
+ /*
+ |--------------------------------------------------------------------------
+ | Validation Language Lines (Ukrainian)
+ |--------------------------------------------------------------------------
+ */
+
+ 'accepted' => ':attribute має бути прийнятий.',
+ 'active_url' => ':attribute не є дійсною URL-адресою.',
+ 'after' => ':attribute має бути датою після :date.',
+ 'after_or_equal' => ':attribute має бути датою після або рівною :date.',
+ 'alpha' => ':attribute може містити лише літери.',
+ 'alpha_dash' => ':attribute може містити лише літери, цифри, тире та підкреслення.',
+ 'alpha_num' => ':attribute може містити лише літери та цифри.',
+ 'array' => ':attribute має бути масивом.',
+ 'before' => ':attribute має бути датою до :date.',
+ 'before_or_equal' => ':attribute має бути датою до або рівною :date.',
+ 'between' => [
+ 'numeric' => ':attribute має бути між :min та :max.',
+ 'file' => ':attribute має бути від :min до :max кілобайт.',
+ 'string' => ':attribute має містити від :min до :max символів.',
+ 'array' => ':attribute має містити від :min до :max елементів.',
+ ],
+ 'boolean' => 'Поле :attribute має бути істинним або хибним.',
+ 'confirmed' => 'Підтвердження для :attribute не збігається.',
+ 'date' => ':attribute не є дійсною датою.',
+ 'date_equals' => ':attribute має бути датою, рівною :date.',
+ 'date_format' => ':attribute не відповідає формату :format.',
+ 'different' => ':attribute та :other мають бути різними.',
+ 'digits' => ':attribute має містити :digits цифр.',
+ 'digits_between' => ':attribute має містити від :min до :max цифр.',
+ 'dimensions' => ':attribute має недійсні розміри зображення.',
+ 'distinct' => 'Поле :attribute містить повторюване значення.',
+ 'email' => ':attribute має бути дійсною електронною адресою.',
+ 'ends_with' => ':attribute має закінчуватися одним із таких значень: :values.',
+ 'exists' => 'Обраний :attribute недійсний.',
+ 'file' => ':attribute має бути файлом.',
+ 'filled' => 'Поле :attribute має містити значення.',
+ 'gt' => [
+ 'numeric' => ':attribute має бути більшим за :value.',
+ 'file' => ':attribute має бути більшим за :value кілобайт.',
+ 'string' => ':attribute має містити більше ніж :value символів.',
+ 'array' => ':attribute має містити більше ніж :value елементів.',
+ ],
+ 'gte' => [
+ 'numeric' => ':attribute має бути не меншим за :value.',
+ 'file' => ':attribute має бути не меншим за :value кілобайт.',
+ 'string' => ':attribute має містити не менше :value символів.',
+ 'array' => ':attribute має містити :value елементів або більше.',
+ ],
+ 'image' => ':attribute має бути зображенням.',
+ 'in' => 'Обраний :attribute недійсний.',
+ 'in_array' => 'Поле :attribute не існує у :other.',
+ 'integer' => ':attribute має бути цілим числом.',
+ 'ip' => ':attribute має бути дійсною IP-адресою.',
+ 'ipv4' => ':attribute має бути дійсною IPv4-адресою.',
+ 'ipv6' => ':attribute має бути дійсною IPv6-адресою.',
+ 'json' => ':attribute має бути дійсним JSON-рядком.',
+ 'lt' => [
+ 'numeric' => ':attribute має бути меншим за :value.',
+ 'file' => ':attribute має бути меншим за :value кілобайт.',
+ 'string' => ':attribute має містити менше ніж :value символів.',
+ 'array' => ':attribute має містити менше ніж :value елементів.',
+ ],
+ 'lte' => [
+ 'numeric' => ':attribute має бути не більшим за :value.',
+ 'file' => ':attribute має бути не більшим за :value кілобайт.',
+ 'string' => ':attribute має містити не більше :value символів.',
+ 'array' => ':attribute не повинно містити більше ніж :value елементів.',
+ ],
+ 'max' => [
+ 'numeric' => ':attribute не може бути більшим за :max.',
+ 'file' => ':attribute не може бути більшим за :max кілобайт.',
+ 'string' => ':attribute не може містити більше ніж :max символів.',
+ 'array' => ':attribute не може містити більше ніж :max елементів.',
+ ],
+ 'mimes' => ':attribute має бути файлом типу: :values.',
+ 'mimetypes' => ':attribute має бути файлом типу: :values.',
+ 'min' => [
+ 'numeric' => ':attribute має бути не меншим за :min.',
+ 'file' => ':attribute має бути не меншим за :min кілобайт.',
+ 'string' => ':attribute має містити не менше :min символів.',
+ 'array' => ':attribute має містити щонайменше :min елементів.',
+ ],
+ 'multiple_of' => ':attribute має бути кратним :value.',
+ 'not_in' => 'Обраний :attribute недійсний.',
+ 'not_regex' => 'Неприпустимий формат поля :attribute.',
+ 'numeric' => ':attribute має бути числом.',
+ 'password' => 'Невірний пароль.',
+ 'present' => 'Поле :attribute має бути присутнім.',
+ 'regex' => 'Неприпустимий формат поля :attribute.',
+ 'required' => 'Поле :attribute є обов\'язковим.',
+ 'required_if' => 'Поле :attribute є обов\'язковим, коли :other дорівнює :value.',
+ 'required_unless' => 'Поле :attribute є обов\'язковим, якщо :other не знаходиться у :values.',
+ 'required_with' => 'Поле :attribute є обов\'язковим, коли присутнє :values.',
+ 'required_with_all' => 'Поле :attribute є обов\'язковим, коли присутні :values.',
+ 'required_without' => 'Поле :attribute є обов\'язковим, коли :values відсутнє.',
+ 'required_without_all' => 'Поле :attribute є обов\'язковим, коли жодне з :values не присутнє.',
+ 'same' => ':attribute і :other повинні збігатися.',
+ 'size' => [
+ 'numeric' => ':attribute має бути :size.',
+ 'file' => ':attribute має бути :size кілобайт.',
+ 'string' => ':attribute має містити :size символів.',
+ 'array' => ':attribute має містити :size елементів.',
+ ],
+ 'starts_with' => ':attribute має починатися з одного з наступних значень: :values.',
+ 'string' => ':attribute має бути рядком.',
+ 'timezone' => ':attribute має бути дійсним часовим поясом.',
+ 'unique' => ':attribute вже зайнятий.',
+ 'uploaded' => ':attribute не вдалося завантажити.',
+ 'url' => 'Неприпустимий формат поля :attribute.',
+ 'uuid' => ':attribute має бути дійсним UUID.',
+
+ /*
+ |--------------------------------------------------------------------------
+ | Custom Validation Language Lines
+ |--------------------------------------------------------------------------
+ */
+
+ 'custom' => [
+ 'attribute-name' => [
+ 'rule-name' => 'спеціальне-повідомлення',
+ ],
+ ],
+
+ /*
+ |--------------------------------------------------------------------------
+ | Custom Validation Attributes
+ |--------------------------------------------------------------------------
+ */
+
+ 'attributes' => [],
+
+ 'invalid_json' => 'Некоректне введення. Виправте і спробуйте ще раз.',
+ 'invalid_captcha' => 'Недійсна CAPTCHA. Підтвердіть, що ви не робот.',
+ 'complete_captcha' => 'Будь ласка, пройдіть капчу.',
+ 'yes' => 'Так',
+ 'no' => 'Ні',
+
+ 'from_date_required' => 'Потрібна дата початку',
+ 'to_date_required' => 'Потрібна дата завершення',
+ 'from_date_before_or_equal' => 'Дата початку має бути раніше або дорівнювати даті завершення',
+ 'rating_min' => 'Потрібно вибрати оцінку',
+ 'select_min' => 'Виберіть щонайменше :min варіантів',
+ 'select_max' => 'Виберіть не більше ніж :max варіантів',
+];
diff --git a/client/i18n/lang/sr.json b/client/i18n/lang/sr.json
new file mode 100644
index 000000000..f1fa93605
--- /dev/null
+++ b/client/i18n/lang/sr.json
@@ -0,0 +1,74 @@
+{
+ "app": {
+ "name": "OpnForm"
+ },
+ "forms": {
+ "buttons": {
+ "submit": "Pošalji",
+ "next": "Dalje",
+ "previous": "Nazad",
+ "re_fill": "Pošalji još jedan odgovor"
+ },
+ "powered_by": "Pokreće",
+ "password_protected": "Ovaj formular je zaštićen lozinkom.",
+ "invalid_password": "Neispravna lozinka.",
+ "password_required": "Lozinka je obavezna.",
+ "create_form_free": "Kreiraj svoj formular besplatno uz OpnForm",
+ "submit": "Pošalji",
+ "wrong_form_structure": "Nešto nije u redu sa strukturom ovog formulara. Ako ste vlasnik formulara, kontaktirajte nas.",
+ "cannot_access_here": "Ovom sadržaju nije moguće pristupiti ovde. Kliknite na link ispod za pristup.",
+ "open_form": "Otvori formular",
+ "restricted_to_workspace": "Ograničeno na članove Notion Workspace-a. Prijavite se za pristup ovom sadržaju.",
+ "select": {
+ "search": "Pretraga",
+ "searchOrTypeToCreateNew": "Pretraži ili ukucaj da kreiraš novo",
+ "typeSomethingToAddAnOption": "Ukucaj nešto da dodaš opciju",
+ "noOptionAvailable": "Nema dostupnih opcija",
+ "create": "Kreiraj"
+ },
+ "fileInput": {
+ "chooseFiles": "Kliknite da izaberete fajl(ove) ili prevucite ovde | Kliknite da izaberete fajl ili prevucite ovde",
+ "sizeLimit": "Ograničenje veličine: {count}MB po fajlu",
+ "uploadingFile": "Otpremanje vašeg fajla..."
+ },
+ "cameraUpload": {
+ "allowCameraPermission": "Dozvoli pristup kameri",
+ "allowCameraPermissionDescription": "Morate dozvoliti pristup kameri pre snimanja. Idite u podešavanja pregledača da omogućite pristup kameri na ovoj stranici.",
+ "gotIt": "U redu!",
+ "cameraDeviceError": "Greška uređaja kamere",
+ "cameraDeviceErrorDescription": "Došlo je do nepoznate greške prilikom pokretanja uređaja za kameru.",
+ "goBack": "Nazad"
+ },
+ "signatureInput": {
+ "uploadFileInstead": "Otpremi fajl umesto toga",
+ "clear": "Obriši"
+ },
+ "barcodeInput": {
+ "clickToOpenCamera": "Kliknite da otvorite kameru"
+ },
+ "payment": {
+ "amount_to_pay": "Iznos za plaćanje",
+ "success": "Plaćanje uspešno",
+ "name_on_card": "Ime na kartici",
+ "billing_email": "Email adresa za naplatu",
+ "payment_disclaimer": "Vaša kartica će biti naplaćena klikom na ovo dugme. Plaćanja se bezbedno obrađuju preko Stripe-a.",
+ "errors": {
+ "missingFormOrProvider": "Nedostaje slug formulara ili ID provajdera.",
+ "failedAccountDetails": "Neuspešno preuzimanje Stripe podataka o nalogu.",
+ "setupError": "Došlo je do greške tokom podešavanja Stripe-a.",
+ "systemNotReady": "Sistem plaćanja nije spreman. Sačekajte i pokušajte ponovo.",
+ "misconfigured": "Sistem plaćanja je pogrešno podešen. Osvežite i pokušajte ponovo.",
+ "notFullyReady": "Sistem plaćanja nije u potpunosti spreman. Osvežite i pokušajte ponovo.",
+ "paymentRequired": "Dovršite plaćanje pre nego što nastavite.",
+ "nameRequired": "Ime vlasnika kartice je obavezno.",
+ "emailRequired": "Email adresa za naplatu je obavezna.",
+ "invalidEmail": "Nevažeća email adresa za naplatu.",
+ "failedIntent": "Neuspešno kreiranje namere plaćanja.",
+ "processingFailed": "Obrada plaćanja nije uspela."
+ }
+ },
+ "validation_error": "Greška pri validaciji",
+ "validation_error_with_count": "Greška pri validaciji ({count} polja)"
+ }
+}
+
diff --git a/client/i18n/lang/uk.json b/client/i18n/lang/uk.json
new file mode 100644
index 000000000..c4612d768
--- /dev/null
+++ b/client/i18n/lang/uk.json
@@ -0,0 +1,75 @@
+{
+ "app": {
+ "name": "OpnForm"
+ },
+ "forms": {
+ "buttons": {
+ "submit": "Надіслати",
+ "next": "Далі",
+ "previous": "Назад",
+ "re_fill": "Надіслати ще одну відповідь"
+ },
+ "powered_by": "Працює на",
+ "password_protected": "Ця форма захищена паролем.",
+ "invalid_password": "Невірний пароль.",
+ "password_required": "Пароль обов'язковий.",
+ "create_form_free": "Створіть свою форму безкоштовно з OpnForm",
+ "submit": "Надіслати",
+ "wrong_form_structure": "Щось не так зі структурою цієї форми. Якщо ви власник форми, зв'яжіться з нами.",
+ "cannot_access_here": "Доступ до цього вмісту тут неможливий. Натисніть посилання нижче для доступу.",
+ "open_form": "Відкрити форму",
+ "restricted_to_workspace": "Обмежено для учасників робочого простору Notion. Увійдіть, щоб отримати доступ до цього вмісту.",
+ "select": {
+ "search": "Пошук",
+ "searchOrTypeToCreateNew": "Пошук або введіть, щоб створити нове",
+ "typeSomethingToAddAnOption": "Введіть щось, щоб додати варіант",
+ "noOptionAvailable": "Немає доступних варіантів",
+ "create": "Створити"
+ },
+ "fileInput": {
+ "chooseFiles": "Клацніть, щоб вибрати файл(и), або перетягніть сюди | Клацніть, щоб вибрати файл або перетягніть сюди",
+ "sizeLimit": "Обмеження розміру: {count}MB на файл",
+ "uploadingFile": "Завантаження вашого файлу..."
+ },
+ "cameraUpload": {
+ "allowCameraPermission": "Дозволити доступ до камери",
+ "allowCameraPermissionDescription": "Ви повинні дозволити доступ до камери перед записом. Перейдіть у налаштування браузера, щоб дозволити доступ до камери на цій сторінці.",
+ "gotIt": "Зрозуміло!",
+ "cameraDeviceError": "Помилка пристрою камери",
+ "cameraDeviceErrorDescription": "Сталася невідома помилка під час запуску пристрою камери.",
+ "goBack": "Назад"
+ },
+ "signatureInput": {
+ "uploadFileInstead": "Завантажити файл замість цього",
+ "clear": "Очистити"
+ },
+ "barcodeInput": {
+ "clickToOpenCamera": "Клацніть, щоб відкрити камеру"
+ },
+ "payment": {
+ "amount_to_pay": "Сума до сплати",
+ "success": "Оплату успішно здійснено",
+ "name_on_card": "Ім'я на картці",
+ "billing_email": "Електронна адреса для виставлення рахунку",
+ "payment_disclaimer": "Натискаючи цю кнопку, ви підтверджуєте списання коштів з вашої картки. Платежі безпечно обробляються через Stripe.",
+ "errors": {
+ "missingFormOrProvider": "Відсутній slug форми або ID провайдера.",
+ "failedAccountDetails": "Не вдалося отримати деталі облікового запису Stripe.",
+ "setupError": "Сталася помилка під час налаштування Stripe.",
+ "systemNotReady": "Платіжна система не готова. Зачекайте і спробуйте знову.",
+ "misconfigured": "Платіжна система неправильно налаштована. Оновіть сторінку і спробуйте знову.",
+ "notFullyReady": "Платіжна система ще не повністю готова. Оновіть сторінку і спробуйте знову.",
+ "paymentRequired": "Завершіть оплату, перш ніж продовжити.",
+ "nameRequired": "Ім'я власника картки є обов'язковим.",
+ "emailRequired": "Електронна адреса для виставлення рахунку є обов'язковою.",
+ "invalidEmail": "Недійсна електронна адреса для виставлення рахунку.",
+ "failedIntent": "Не вдалося створити платіжний намір.",
+ "processingFailed": "Обробка платежу не вдалася."
+ }
+ },
+ "validation_error": "Помилка валідації",
+ "validation_error_with_count": "Помилка валідації ({count} полів)"
+ }
+}
+
+
diff --git a/client/nuxt.config.ts b/client/nuxt.config.ts
index 73c3cfa42..6f85526a8 100644
--- a/client/nuxt.config.ts
+++ b/client/nuxt.config.ts
@@ -54,6 +54,8 @@ export default defineNuxtConfig({
{ code: 'sv', name: 'Swedish', iso: 'sv-SE', file: 'sv.json' },
{ code: 'pl', name: 'Polish', iso: 'pl-PL', file: 'pl.json' },
{ code: 'nl', name: 'Dutch', iso: 'nl-NL', file: 'nl.json' },
+ { code: 'sr', name: 'Serbian', iso: 'sr-RS', file: 'sr.json' },
+ { code: 'uk', name: 'Ukrainian', iso: 'uk-UA', file: 'uk.json' },
],
defaultLocale: 'en',
lazy: true,