Browse Source

feat(request-accepted): optimize no-contact action button and add 24-locale translations

master
mortezaei 6 hours ago
parent
commit
ee384ab066
  1. 4
      src/app/request-accepted/request-accepted-client.tsx
  2. 3
      src/translations/locales/ar.json
  3. 3
      src/translations/locales/az.json
  4. 3
      src/translations/locales/bn.json
  5. 3
      src/translations/locales/da.json
  6. 3
      src/translations/locales/de.json
  7. 3
      src/translations/locales/en.json
  8. 3
      src/translations/locales/es.json
  9. 1
      src/translations/locales/fa.json
  10. 3
      src/translations/locales/fr.json
  11. 3
      src/translations/locales/gu.json
  12. 3
      src/translations/locales/ha.json
  13. 3
      src/translations/locales/he.json
  14. 3
      src/translations/locales/hi.json
  15. 3
      src/translations/locales/id.json
  16. 3
      src/translations/locales/ks.json
  17. 3
      src/translations/locales/pt.json
  18. 3
      src/translations/locales/ru.json
  19. 3
      src/translations/locales/sw.json
  20. 3
      src/translations/locales/tg.json
  21. 3
      src/translations/locales/tr.json
  22. 3
      src/translations/locales/ul.json
  23. 3
      src/translations/locales/ur.json
  24. 3
      src/translations/locales/uz.json
  25. 3
      src/translations/locales/zh.json

4
src/app/request-accepted/request-accepted-client.tsx

@ -261,7 +261,7 @@ export default function RequestAcceptedClient() {
? t["Contact info released"] ? t["Contact info released"]
: t["Request approved!"]; : t["Request approved!"];
const primaryActionText = isFemaleProfile const primaryActionText = isFemaleProfile
? t["No Contact Received"]
? t["No Contact"] || t["No Contact Received"] || "No Contact"
: t["View profile"]; : t["View profile"];
const secondaryActionText = isFemaleProfile const secondaryActionText = isFemaleProfile
? t["Contact Received"] ? t["Contact Received"]
@ -657,7 +657,7 @@ export default function RequestAcceptedClient() {
contactStatusMutation.isPending || contactStatusMutation.isPending ||
noContactReportedSuccess noContactReportedSuccess
} }
className="flex-1 min-h-[48px] px-3.5 py-2.5 rounded-full border border-[#E2E8F0] bg-white/95 backdrop-blur-sm text-[#475569] font-bold text-[13.5px] leading-tight shadow-sm flex items-center justify-center text-center transition-all cursor-pointer hover:bg-[#F8FAFC] active:scale-[0.98] disabled:opacity-50 disabled:cursor-not-allowed"
className="flex-1 min-h-[48px] px-3.5 py-2.5 rounded-full border border-[#E2E8F0] bg-white/95 backdrop-blur-sm text-[#475569] font-bold text-[13.5px] leading-tight shadow-sm flex items-center justify-center text-center whitespace-nowrap transition-all cursor-pointer hover:bg-[#F8FAFC] active:scale-[0.98] disabled:opacity-50 disabled:cursor-not-allowed"
> >
{contactStatusMutation.isPending ? ( {contactStatusMutation.isPending ? (
<LoadingThreeDot /> <LoadingThreeDot />

3
src/translations/locales/ar.json

@ -813,5 +813,6 @@
"add_another_document": "إضافة وثيقة أخرى", "add_another_document": "إضافة وثيقة أخرى",
"max_files_reached": "تم تحميل الحد الأقصى (4 ملفات)", "max_files_reached": "تم تحميل الحد الأقصى (4 ملفات)",
"remove_document": "حذف الوثيقة", "remove_document": "حذف الوثيقة",
"upload_failed": "فشل التحميل. يرجى المحاولة مرة أخرى."
"upload_failed": "فشل التحميل. يرجى المحاولة مرة أخرى.",
"No Contact": "لا يوجد اتصال"
} }

3
src/translations/locales/az.json

@ -813,5 +813,6 @@
"add_another_document": "Başqa sənəd əlavə edin", "add_another_document": "Başqa sənəd əlavə edin",
"max_files_reached": "Maksimum 4 fayl yükləndi", "max_files_reached": "Maksimum 4 fayl yükləndi",
"remove_document": "Sənədi sil", "remove_document": "Sənədi sil",
"upload_failed": "Yükləmə uğursuz oldu. Yenidən cəhd edin."
"upload_failed": "Yükləmə uğursuz oldu. Yenidən cəhd edin.",
"No Contact": "Əlaqə saxlanılmadı"
} }

3
src/translations/locales/bn.json

@ -813,5 +813,6 @@
"add_another_document": "অন্য নথি যোগ করুন", "add_another_document": "অন্য নথি যোগ করুন",
"max_files_reached": "সর্বোচ্চ ৪টি ফাইল আপলোড করা হয়েছে", "max_files_reached": "সর্বোচ্চ ৪টি ফাইল আপলোড করা হয়েছে",
"remove_document": "নথি মুছুন", "remove_document": "নথি মুছুন",
"upload_failed": "আপলোড ব্যর্থ হয়েছে। আবার চেষ্টা করুন।"
"upload_failed": "আপলোড ব্যর্থ হয়েছে। আবার চেষ্টা করুন।",
"No Contact": "যোগাযোগ হয়নি"
} }

3
src/translations/locales/da.json

@ -813,5 +813,6 @@
"add_another_document": "Tilføj et andet dokument", "add_another_document": "Tilføj et andet dokument",
"max_files_reached": "Maksimalt 4 filer uploadet", "max_files_reached": "Maksimalt 4 filer uploadet",
"remove_document": "Fjern dokument", "remove_document": "Fjern dokument",
"upload_failed": "Upload mislykkedes. Prøv igen."
"upload_failed": "Upload mislykkedes. Prøv igen.",
"No Contact": "Ingen kontakt"
} }

3
src/translations/locales/de.json

@ -813,5 +813,6 @@
"add_another_document": "Ein weiteres Dokument hinzufügen", "add_another_document": "Ein weiteres Dokument hinzufügen",
"max_files_reached": "Maximal 4 Dateien hochgeladen", "max_files_reached": "Maximal 4 Dateien hochgeladen",
"remove_document": "Dokument entfernen", "remove_document": "Dokument entfernen",
"upload_failed": "Upload fehlgeschlagen. Bitte versuchen Sie es erneut."
"upload_failed": "Upload fehlgeschlagen. Bitte versuchen Sie es erneut.",
"No Contact": "Kein Kontakt"
} }

3
src/translations/locales/en.json

@ -377,7 +377,8 @@
"Next": "Next", "Next": "Next",
"Next Page": "Next Page", "Next Page": "Next Page",
"No Active Subscription": "No Active Subscription", "No Active Subscription": "No Active Subscription",
"No Contact Received": "No Contact Received",
"No Contact": "No Contact",
"No Contact Received": "No Contact",
"No Hijab (Casual/Modern) - Modern styling and casual outfits.": "No Hijab (Casual/Modern) - Modern styling and casual outfits.", "No Hijab (Casual/Modern) - Modern styling and casual outfits.": "No Hijab (Casual/Modern) - Modern styling and casual outfits.",
"No Hijab (Modest styling) - Dignified modest attire without headscarf.": "No Hijab (Modest styling) - Dignified modest attire without headscarf.", "No Hijab (Modest styling) - Dignified modest attire without headscarf.": "No Hijab (Modest styling) - Dignified modest attire without headscarf.",
"No ceremony or very simple": "No ceremony or very simple", "No ceremony or very simple": "No ceremony or very simple",

3
src/translations/locales/es.json

@ -813,5 +813,6 @@
"add_another_document": "Agregar otro documento", "add_another_document": "Agregar otro documento",
"max_files_reached": "Máximo de 4 archivos subidos", "max_files_reached": "Máximo de 4 archivos subidos",
"remove_document": "Eliminar documento", "remove_document": "Eliminar documento",
"upload_failed": "Error al subir. Por favor, inténtelo de nuevo."
"upload_failed": "Error al subir. Por favor, inténtelo de nuevo.",
"No Contact": "Sin contacto"
} }

1
src/translations/locales/fa.json

@ -377,6 +377,7 @@
"Next": "بعدی", "Next": "بعدی",
"Next Page": "صفحه بعدی", "Next Page": "صفحه بعدی",
"No Active Subscription": "فاقد اشتراک فعال", "No Active Subscription": "فاقد اشتراک فعال",
"No Contact": "عدم تماس",
"No Contact Received": "عدم دریافت تماس", "No Contact Received": "عدم دریافت تماس",
"No Hijab (Casual/Modern) - Modern styling and casual outfits.": "پوشش مدرن و آزاد (بدون رعایت حجاب) - دنبال کردن استایل‌های روز بدون پایبندی به قواعد حجاب اسلامی.", "No Hijab (Casual/Modern) - Modern styling and casual outfits.": "پوشش مدرن و آزاد (بدون رعایت حجاب) - دنبال کردن استایل‌های روز بدون پایبندی به قواعد حجاب اسلامی.",
"No Hijab (Modest styling) - Dignified modest attire without headscarf.": "پوشش آراسته و سنگین (بدون پوشش مو) - لباس‌های رسمی و موقر بدون استفاده از روسری یا شال.", "No Hijab (Modest styling) - Dignified modest attire without headscarf.": "پوشش آراسته و سنگین (بدون پوشش مو) - لباس‌های رسمی و موقر بدون استفاده از روسری یا شال.",

3
src/translations/locales/fr.json

@ -813,5 +813,6 @@
"add_another_document": "Ajouter un autre document", "add_another_document": "Ajouter un autre document",
"max_files_reached": "Maximum de 4 fichiers téléchargés", "max_files_reached": "Maximum de 4 fichiers téléchargés",
"remove_document": "Supprimer le document", "remove_document": "Supprimer le document",
"upload_failed": "Échec du téléchargement. Veuillez réessayer."
"upload_failed": "Échec du téléchargement. Veuillez réessayer.",
"No Contact": "Aucun contact"
} }

3
src/translations/locales/gu.json

@ -813,5 +813,6 @@
"add_another_document": "બીજો દસ્તાવેજ ઉમેરો", "add_another_document": "બીજો દસ્તાવેજ ઉમેરો",
"max_files_reached": "મહત્તમ 4 ફાઇલો અપલોડ કરવામાં આવી છે", "max_files_reached": "મહત્તમ 4 ફાઇલો અપલોડ કરવામાં આવી છે",
"remove_document": "દસ્તાવેજ દૂર કરો", "remove_document": "દસ્તાવેજ દૂર કરો",
"upload_failed": "અપલોડ નિષ્ફળ ગયું. કૃપા કરીને ફરી પ્રયાસ કરો."
"upload_failed": "અપલોડ નિષ્ફળ ગયું. કૃપા કરીને ફરી પ્રયાસ કરો.",
"No Contact": "સંપર્ક નથી થયો"
} }

3
src/translations/locales/ha.json

@ -813,5 +813,6 @@
"add_another_document": "Ƙara wata takarda", "add_another_document": "Ƙara wata takarda",
"max_files_reached": "An loda matsakaicin fayiloli 4", "max_files_reached": "An loda matsakaicin fayiloli 4",
"remove_document": "Cire takarda", "remove_document": "Cire takarda",
"upload_failed": "Loda ya faskara. Da fatan za a sake gwadawa."
"upload_failed": "Loda ya faskara. Da fatan za a sake gwadawa.",
"No Contact": "Babu lamba"
} }

3
src/translations/locales/he.json

@ -360,5 +360,6 @@
"add_another_document": "הוסף מסמך נוסף", "add_another_document": "הוסף מסמך נוסף",
"max_files_reached": "הועלו מקסימום 4 קבצים", "max_files_reached": "הועלו מקסימום 4 קבצים",
"remove_document": "הסר מסמך", "remove_document": "הסר מסמך",
"upload_failed": "ההעלאה נכשלה. אנא נסה שוב."
"upload_failed": "ההעלאה נכשלה. אנא נסה שוב.",
"No Contact": "אין קשר"
} }

3
src/translations/locales/hi.json

@ -813,5 +813,6 @@
"add_another_document": "दूसरा दस्तावेज़ जोड़ें", "add_another_document": "दूसरा दस्तावेज़ जोड़ें",
"max_files_reached": "अधिकतम 4 फ़ाइलें अपलोड की गईं", "max_files_reached": "अधिकतम 4 फ़ाइलें अपलोड की गईं",
"remove_document": "दस्तावेज़ हटाएं", "remove_document": "दस्तावेज़ हटाएं",
"upload_failed": "अपलोड विफल रहा। कृपया पुन: प्रयास करें।"
"upload_failed": "अपलोड विफल रहा। कृपया पुन: प्रयास करें।",
"No Contact": "कोई संपर्क नहीं"
} }

3
src/translations/locales/id.json

@ -360,5 +360,6 @@
"add_another_document": "Tambah dokumen lain", "add_another_document": "Tambah dokumen lain",
"max_files_reached": "Maksimum 4 file diunggah", "max_files_reached": "Maksimum 4 file diunggah",
"remove_document": "Hapus dokumen", "remove_document": "Hapus dokumen",
"upload_failed": "Pengunggahan gagal. Silakan coba lagi."
"upload_failed": "Pengunggahan gagal. Silakan coba lagi.",
"No Contact": "Tidak Ada Kontak"
} }

3
src/translations/locales/ks.json

@ -360,5 +360,6 @@
"add_another_document": "بیٛاکھ دستاویز جمع کریو", "add_another_document": "بیٛاکھ دستاویز جمع کریو",
"max_files_reached": "زیاد کھوتہ زیاد ۴ فائل اپ لوڈ کرنہ آمژٕ", "max_files_reached": "زیاد کھوتہ زیاد ۴ فائل اپ لوڈ کرنہ آمژٕ",
"remove_document": "دستاویز ہٹاوِیو", "remove_document": "دستاویز ہٹاوِیو",
"upload_failed": "اپ لوڈ ناکام۔ مہربانی کرتھ دوبارہ کوشش کریو۔"
"upload_failed": "اپ لوڈ ناکام۔ مہربانی کرتھ دوبارہ کوشش کریو۔",
"No Contact": "رابطہٕ نا"
} }

3
src/translations/locales/pt.json

@ -360,5 +360,6 @@
"add_another_document": "Adicionar outro documento", "add_another_document": "Adicionar outro documento",
"max_files_reached": "Máximo de 4 arquivos enviados", "max_files_reached": "Máximo de 4 arquivos enviados",
"remove_document": "Remover documento", "remove_document": "Remover documento",
"upload_failed": "Falha no envio. Por favor, tente novamente."
"upload_failed": "Falha no envio. Por favor, tente novamente.",
"No Contact": "Sem contato"
} }

3
src/translations/locales/ru.json

@ -817,5 +817,6 @@
"add_another_document": "Добавить еще один документ", "add_another_document": "Добавить еще один документ",
"max_files_reached": "Загружено максимум 4 файла", "max_files_reached": "Загружено максимум 4 файла",
"remove_document": "Удалить документ", "remove_document": "Удалить документ",
"upload_failed": "Ошибка загрузки. Пожалуйста, повторите попытку."
"upload_failed": "Ошибка загрузки. Пожалуйста, повторите попытку.",
"No Contact": "Нет контакта"
} }

3
src/translations/locales/sw.json

@ -360,5 +360,6 @@
"add_another_document": "Ongeza hati nyingine", "add_another_document": "Ongeza hati nyingine",
"max_files_reached": "Upeo wa faili 4 zimepakiwa", "max_files_reached": "Upeo wa faili 4 zimepakiwa",
"remove_document": "Ondoa hati", "remove_document": "Ondoa hati",
"upload_failed": "Upakiaji umeshindwa. Tafadhali jaribu tena."
"upload_failed": "Upakiaji umeshindwa. Tafadhali jaribu tena.",
"No Contact": "Hakuna mawasiliano"
} }

3
src/translations/locales/tg.json

@ -360,5 +360,6 @@
"add_another_document": "Ҳуҷҷати дигар илова кунед", "add_another_document": "Ҳуҷҷати дигар илова кунед",
"max_files_reached": "Ҳадди аксар 4 файл боргузорӣ шудааст", "max_files_reached": "Ҳадди аксар 4 файл боргузорӣ шудааст",
"remove_document": "Ҳуҷҷатро нест кунед", "remove_document": "Ҳуҷҷатро нест кунед",
"upload_failed": "Боргузорӣ ноком шуд. Лутфан бори дигар кӯшиш кунед."
"upload_failed": "Боргузорӣ ноком шуд. Лутфан бори дигар кӯшиш кунед.",
"No Contact": "Тамос набуд"
} }

3
src/translations/locales/tr.json

@ -360,5 +360,6 @@
"add_another_document": "Başka bir belge ekle", "add_another_document": "Başka bir belge ekle",
"max_files_reached": "Maksimum 4 dosya yüklendi", "max_files_reached": "Maksimum 4 dosya yüklendi",
"remove_document": "Belgeyi kaldır", "remove_document": "Belgeyi kaldır",
"upload_failed": "Yükleme başarısız oldu. Lütfen tekrar deneyin."
"upload_failed": "Yükleme başarısız oldu. Lütfen tekrar deneyin.",
"No Contact": "İletişim kurulmadı"
} }

3
src/translations/locales/ul.json

@ -360,5 +360,6 @@
"add_another_document": "مزید دستاویز شامل کریں", "add_another_document": "مزید دستاویز شامل کریں",
"max_files_reached": "زیادہ سے زیادہ 4 فائلیں اپ لوڈ کی گئیں", "max_files_reached": "زیادہ سے زیادہ 4 فائلیں اپ لوڈ کی گئیں",
"remove_document": "دستاویز ہٹائیں", "remove_document": "دستاویز ہٹائیں",
"upload_failed": "اپ لوڈ ناکام ہو گیا۔ براہ کرم دوبارہ کوشش کریں۔"
"upload_failed": "اپ لوڈ ناکام ہو گیا۔ براہ کرم دوبارہ کوشش کریں۔",
"No Contact": "No Contact"
} }

3
src/translations/locales/ur.json

@ -360,5 +360,6 @@
"add_another_document": "مزید دستاویز شامل کریں", "add_another_document": "مزید دستاویز شامل کریں",
"max_files_reached": "زیادہ سے زیادہ 4 فائلیں اپ لوڈ کی گئیں", "max_files_reached": "زیادہ سے زیادہ 4 فائلیں اپ لوڈ کی گئیں",
"remove_document": "دستاویز ہٹائیں", "remove_document": "دستاویز ہٹائیں",
"upload_failed": "اپ لوڈ ناکام ہو گیا۔ براہ کرم دوبارہ کوشش کریں۔"
"upload_failed": "اپ لوڈ ناکام ہو گیا۔ براہ کرم دوبارہ کوشش کریں۔",
"No Contact": "کوئی رابطہ نہیں"
} }

3
src/translations/locales/uz.json

@ -360,5 +360,6 @@
"add_another_document": "Boshqa hujjat qo'shish", "add_another_document": "Boshqa hujjat qo'shish",
"max_files_reached": "Maksimal 4 ta fayl yuklandi", "max_files_reached": "Maksimal 4 ta fayl yuklandi",
"remove_document": "Hujjatni o'chirish", "remove_document": "Hujjatni o'chirish",
"upload_failed": "Yuklab bo'lmadi. Qayta urinib ko'ring."
"upload_failed": "Yuklab bo'lmadi. Qayta urinib ko'ring.",
"No Contact": "Aloqa yo‘q"
} }

3
src/translations/locales/zh.json

@ -813,5 +813,6 @@
"add_another_document": "添加其他文件", "add_another_document": "添加其他文件",
"max_files_reached": "最多已上传 4 个文件", "max_files_reached": "最多已上传 4 个文件",
"remove_document": "删除文件", "remove_document": "删除文件",
"upload_failed": "上传失败,请重试。"
"upload_failed": "上传失败,请重试。",
"No Contact": "未收到联系"
} }
Loading…
Cancel
Save