From 788f517a317b0b4aa266630d0804b3762c86e5ef Mon Sep 17 00:00:00 2001 From: "Muhammad A. Ghorbani" Date: Thu, 3 Sep 2026 12:12:07 +0330 Subject: [PATCH] feat: add multi-language support files and implement question progress tracker component --- src/components/Componentes/question-progress-tracker.tsx | 4 ++-- src/translations/locales/ar.json | 2 +- src/translations/locales/az.json | 2 +- src/translations/locales/bn.json | 2 +- src/translations/locales/da.json | 2 +- src/translations/locales/de.json | 2 +- src/translations/locales/en.json | 2 +- src/translations/locales/es.json | 2 +- src/translations/locales/fa.json | 2 +- src/translations/locales/fr.json | 2 +- src/translations/locales/gu.json | 2 +- src/translations/locales/ha.json | 2 +- src/translations/locales/he.json | 2 +- src/translations/locales/hi.json | 2 +- src/translations/locales/id.json | 2 +- src/translations/locales/ks.json | 2 +- src/translations/locales/pt.json | 2 +- src/translations/locales/ru.json | 2 +- src/translations/locales/sw.json | 2 +- src/translations/locales/tg.json | 2 +- src/translations/locales/tr.json | 2 +- src/translations/locales/ul.json | 2 +- src/translations/locales/ur.json | 2 +- src/translations/locales/uz.json | 2 +- src/translations/locales/zh.json | 2 +- 25 files changed, 26 insertions(+), 26 deletions(-) diff --git a/src/components/Componentes/question-progress-tracker.tsx b/src/components/Componentes/question-progress-tracker.tsx index 55ef100..036139a 100644 --- a/src/components/Componentes/question-progress-tracker.tsx +++ b/src/components/Componentes/question-progress-tracker.tsx @@ -187,9 +187,9 @@ export function QuestionProgressTracker({ >
- {t["Completed fields"] || + {t["Completed items"] || t["fields to complete"] || - "Completed fields"} + "Completed items"} {answered} /{safeTotal} diff --git a/src/translations/locales/ar.json b/src/translations/locales/ar.json index 42b1219..a32fdaf 100644 --- a/src/translations/locales/ar.json +++ b/src/translations/locales/ar.json @@ -846,7 +846,7 @@ "Enter a valid email address.": "يرجى إدخال عنوان بريد إلكتروني صالح.", " (approximately)": " (تقريباً)", " (Years)": " (سنوات)", - "fields to complete": "الحقول المكتملة", + "fields to complete": "العناصر المكتملة", "Close": "إغلاق", "close": "إغلاق", "Dropdown chevron": "سهم القائمة المنسدلة", diff --git a/src/translations/locales/az.json b/src/translations/locales/az.json index d20b019..2dc17cd 100644 --- a/src/translations/locales/az.json +++ b/src/translations/locales/az.json @@ -846,7 +846,7 @@ "Enter a valid email address.": "Zəhmət olmasa düzgün e-poçt ünvanı daxil edin.", " (approximately)": " (təxminən)", " (Years)": " (il)", - "fields to complete": "Tamamlanmış sahələr", + "fields to complete": "Tamamlanmış bəndlər", "Close": "Bağlayın", "close": "bağlayın", "Dropdown chevron": "Açılan menyu oxu", diff --git a/src/translations/locales/bn.json b/src/translations/locales/bn.json index 2f0cba3..380a8e2 100644 --- a/src/translations/locales/bn.json +++ b/src/translations/locales/bn.json @@ -846,7 +846,7 @@ "Enter a valid email address.": "অনুগ্রহ করে একটি বৈধ ইমেল ঠিকানা লিখুন।", " (approximately)": " (আনুমানিক)", " (Years)": " (বছর)", - "fields to complete": "সম্পন্ন ক্ষেত্র", + "fields to complete": "সম্পন্ন আইটেম", "Close": "বন্ধ করুন", "close": "বন্ধ করুন", "Dropdown chevron": "ড্রপডাউন তীরচিহ্ন", diff --git a/src/translations/locales/da.json b/src/translations/locales/da.json index 0f166c3..15ffdbf 100644 --- a/src/translations/locales/da.json +++ b/src/translations/locales/da.json @@ -846,7 +846,7 @@ "Enter a valid email address.": "Indtast en gyldig e-mailadresse.", " (approximately)": " (omtrent)", " (Years)": " (år)", - "fields to complete": "Udfyldte felter", + "fields to complete": "Fuldførte elementer", "Close": "Luk", "close": "luk", "Dropdown chevron": "Rullemenu-pil", diff --git a/src/translations/locales/de.json b/src/translations/locales/de.json index c68502d..095d913 100644 --- a/src/translations/locales/de.json +++ b/src/translations/locales/de.json @@ -846,7 +846,7 @@ "Enter a valid email address.": "Bitte geben Sie eine gültige E-Mail-Adresse ein.", " (approximately)": " (ungefähr)", " (Years)": " (Jahre)", - "fields to complete": "Ausgefüllte Felder", + "fields to complete": "Abgeschlossene Punkte", "Close": "Schließen", "close": "schließen", "Dropdown chevron": "Dropdown-Pfeil", diff --git a/src/translations/locales/en.json b/src/translations/locales/en.json index f8551af..7d4684e 100644 --- a/src/translations/locales/en.json +++ b/src/translations/locales/en.json @@ -884,7 +884,7 @@ "Enter a valid email address.": "Please enter a valid email address.", " (approximately)": " (approximately)", " (Years)": " (Years)", - "fields to complete": "Completed fields", + "fields to complete": "Completed items", "Close": "Close", "close": "Close", "Dropdown chevron": "Dropdown chevron", diff --git a/src/translations/locales/es.json b/src/translations/locales/es.json index 16d6a83..a90c80c 100644 --- a/src/translations/locales/es.json +++ b/src/translations/locales/es.json @@ -846,7 +846,7 @@ "Enter a valid email address.": "Por favor, introduce una dirección de correo electrónico válida.", " (approximately)": " (aproximadamente)", " (Years)": " (años)", - "fields to complete": "Campos completados", + "fields to complete": "Elementos completados", "Close": "Cerrar", "close": "cerrar", "Dropdown chevron": "Flecha de menú desplegable", diff --git a/src/translations/locales/fa.json b/src/translations/locales/fa.json index d5d2602..a43f787 100644 --- a/src/translations/locales/fa.json +++ b/src/translations/locales/fa.json @@ -894,7 +894,7 @@ "Enter a valid email address.": "یک آدرس ایمیل معتبر وارد کنید.", " (approximately)": " (تقریبی)", " (Years)": " (سال)", - "fields to complete": "فیلدهای تکمیل‌شده", + "fields to complete": "موارد تکمیل‌شده", "Close": "بستن", "close": "بستن", "Dropdown chevron": "فلش منوی بازشو", diff --git a/src/translations/locales/fr.json b/src/translations/locales/fr.json index dc74080..4b258fa 100644 --- a/src/translations/locales/fr.json +++ b/src/translations/locales/fr.json @@ -846,7 +846,7 @@ "Enter a valid email address.": "Veuillez saisir une adresse e-mail valide.", " (approximately)": " (environ)", " (Years)": " (ans)", - "fields to complete": "Champs complétés", + "fields to complete": "Éléments complétés", "Close": "Fermer", "close": "fermer", "Dropdown chevron": "Flèche du menu déroulant", diff --git a/src/translations/locales/gu.json b/src/translations/locales/gu.json index 21f95e7..bac1225 100644 --- a/src/translations/locales/gu.json +++ b/src/translations/locales/gu.json @@ -846,7 +846,7 @@ "Enter a valid email address.": "માન્ય ઇમેઇલ સરનામું દાખલ કરો.", " (approximately)": " (આશરે)", " (Years)": " (વર્ષ)", - "fields to complete": "પૂર્ણ થયેલ ક્ષેત્રો", + "fields to complete": "પૂર્ણ થયેલ આઇટમ્સ", "Close": "બંધ કરો", "close": "બંધ કરો", "Dropdown chevron": "ડ્રોપડાઉન એરો", diff --git a/src/translations/locales/ha.json b/src/translations/locales/ha.json index 5ec617d..2a40086 100644 --- a/src/translations/locales/ha.json +++ b/src/translations/locales/ha.json @@ -846,7 +846,7 @@ "Enter a valid email address.": "Shigar da ingantaccen adireshin imel.", " (approximately)": " (kusan)", " (Years)": " (Shekaru)", - "fields to complete": "Fayilolin da aka kammala", + "fields to complete": "Abubuwan da aka kammala", "Close": "Rufe", "close": "rufe", "Dropdown chevron": "Alamar sauka", diff --git a/src/translations/locales/he.json b/src/translations/locales/he.json index 8bf096d..958ad20 100644 --- a/src/translations/locales/he.json +++ b/src/translations/locales/he.json @@ -399,7 +399,7 @@ "Enter a valid email address.": "הזן/י כתובת דוא\"ל תקינה.", " (approximately)": " (בקירוב)", " (Years)": " (שנים)", - "fields to complete": "שדות שהושלמו", + "fields to complete": "פריטים שהושלמו", "Close": "סגירה", "close": "סגירה", "Dropdown chevron": "חץ נפתח", diff --git a/src/translations/locales/hi.json b/src/translations/locales/hi.json index 941c2a1..abdebbe 100644 --- a/src/translations/locales/hi.json +++ b/src/translations/locales/hi.json @@ -846,7 +846,7 @@ "Enter a valid email address.": "एक मान्य ईमेल पता दर्ज करें।", " (approximately)": " (लगभग)", " (Years)": " (वर्ष)", - "fields to complete": "पूरे किए गए फ़ील्ड", + "fields to complete": "पूरे किए गए आइटम", "Close": "बंद करें", "close": "बंद करें", "Dropdown chevron": "ड्रॉपडाउन तीर", diff --git a/src/translations/locales/id.json b/src/translations/locales/id.json index 370e62a..0fd099d 100644 --- a/src/translations/locales/id.json +++ b/src/translations/locales/id.json @@ -399,7 +399,7 @@ "Enter a valid email address.": "Masukkan alamat email yang valid.", " (approximately)": " (kira-kira)", " (Years)": " (Tahun)", - "fields to complete": "Bidang yang telah diisi", + "fields to complete": "Item yang telah selesai", "Close": "Tutup", "close": "tutup", "Dropdown chevron": "Panah dropdown", diff --git a/src/translations/locales/ks.json b/src/translations/locales/ks.json index 4e08626..7fca812 100644 --- a/src/translations/locales/ks.json +++ b/src/translations/locales/ks.json @@ -399,7 +399,7 @@ "Enter a valid email address.": "اکھ صحیح ای میل پتہ درج کٔریو۔", " (approximately)": " (تقریباً)", " (Years)": " (وری)", - "fields to complete": "مکمل گٔمٕژ فیلڈز", + "fields to complete": "مکمل گٔمٕژ آئٹمز", "Close": "بند کٔریو", "close": "بند کٔریو", "Dropdown chevron": "ڈراپ ڈاؤن نشان", diff --git a/src/translations/locales/pt.json b/src/translations/locales/pt.json index 7bd1d1d..32ac6eb 100644 --- a/src/translations/locales/pt.json +++ b/src/translations/locales/pt.json @@ -399,7 +399,7 @@ "Enter a valid email address.": "Insira um endereço de e-mail válido.", " (approximately)": " (aproximadamente)", " (Years)": " (Anos)", - "fields to complete": "Campos preenchidos", + "fields to complete": "Itens concluídos", "Close": "Fechar", "close": "fechar", "Dropdown chevron": "Seta de seleção", diff --git a/src/translations/locales/ru.json b/src/translations/locales/ru.json index 3ea3334..bc67060 100644 --- a/src/translations/locales/ru.json +++ b/src/translations/locales/ru.json @@ -850,7 +850,7 @@ "Enter a valid email address.": "Пожалуйста, введите корректный адрес электронной почты.", " (approximately)": " (приблизительно)", " (Years)": " (лет)", - "fields to complete": "Заполненные поля", + "fields to complete": "Заполненные пункты", "Close": "Закрыть", "close": "закрыть", "Dropdown chevron": "Стрелка выпадающего списка", diff --git a/src/translations/locales/sw.json b/src/translations/locales/sw.json index 2490936..99b96e2 100644 --- a/src/translations/locales/sw.json +++ b/src/translations/locales/sw.json @@ -399,7 +399,7 @@ "Enter a valid email address.": "Weka anwani sahihi ya barua pepe.", " (approximately)": " (takriban)", " (Years)": " (Miaka)", - "fields to complete": "Sehemu zilizokamilika", + "fields to complete": "Vipengele vilivyokamilika", "Close": "Funga", "close": "funga", "Dropdown chevron": "Mshale wa orodha", diff --git a/src/translations/locales/tg.json b/src/translations/locales/tg.json index 4a7fc10..a4f0a2d 100644 --- a/src/translations/locales/tg.json +++ b/src/translations/locales/tg.json @@ -399,7 +399,7 @@ "Enter a valid email address.": "Суроғаи дурусти почтаи электрониро ворид кунед.", " (approximately)": " (тақрибан)", " (Years)": " (Сол)", - "fields to complete": "Майдонҳои пуршуда", + "fields to complete": "Бандҳои пуршуда", "Close": "Пӯшидан", "close": "пӯшидан", "Dropdown chevron": "Аломати рӯйхат", diff --git a/src/translations/locales/tr.json b/src/translations/locales/tr.json index 2ad21d1..4dda38d 100644 --- a/src/translations/locales/tr.json +++ b/src/translations/locales/tr.json @@ -399,7 +399,7 @@ "Enter a valid email address.": "Geçerli bir e-posta adresi girin.", " (approximately)": " (yaklaşık)", " (Years)": " (Yıl)", - "fields to complete": "Tamamlanan alanlar", + "fields to complete": "Tamamlanan maddeler", "Close": "Kapat", "close": "kapat", "Dropdown chevron": "Açılır liste oku", diff --git a/src/translations/locales/ul.json b/src/translations/locales/ul.json index 29d7465..d0d8052 100644 --- a/src/translations/locales/ul.json +++ b/src/translations/locales/ul.json @@ -399,7 +399,7 @@ "Enter a valid email address.": "Durust email address darj karein.", " (approximately)": " (taqreeban)", " (Years)": " (Saal)", - "fields to complete": "Mukammal shuda khanay", + "fields to complete": "Mukammal shuda items", "Close": "Band Karein", "close": "band karein", "Dropdown chevron": "Dropdown teer", diff --git a/src/translations/locales/ur.json b/src/translations/locales/ur.json index 94a2826..3162202 100644 --- a/src/translations/locales/ur.json +++ b/src/translations/locales/ur.json @@ -399,7 +399,7 @@ "Enter a valid email address.": "درست ای میل ایڈریس درج کریں۔", " (approximately)": " (تقریباً)", " (Years)": " (سال)", - "fields to complete": "مکمل شدہ خانے", + "fields to complete": "مکمل شدہ اشیاء", "Close": "بند کریں", "close": "بند کریں", "Dropdown chevron": "ڈراپ ڈاؤن تیر", diff --git a/src/translations/locales/uz.json b/src/translations/locales/uz.json index 508bba4..59668a8 100644 --- a/src/translations/locales/uz.json +++ b/src/translations/locales/uz.json @@ -399,7 +399,7 @@ "Enter a valid email address.": "To'g'ri elektron pochta manzilini kiriting.", " (approximately)": " (taxminan)", " (Years)": " (Yil)", - "fields to complete": "To'ldirilgan maydonlar", + "fields to complete": "Bajarilgan bandlar", "Close": "Yopish", "close": "yopish", "Dropdown chevron": "Ochiluvchi ro'yxat belgisi", diff --git a/src/translations/locales/zh.json b/src/translations/locales/zh.json index 0694d0c..86d7095 100644 --- a/src/translations/locales/zh.json +++ b/src/translations/locales/zh.json @@ -846,7 +846,7 @@ "Enter a valid email address.": "请输入有效的电子邮箱地址。", " (approximately)": "(大约)", " (Years)": "(年)", - "fields to complete": "已填写字段", + "fields to complete": "已完成项目", "Close": "关闭", "close": "关闭", "Dropdown chevron": "下拉箭头",