From d3bfe8d5b445cf4b035ccad8aa8198277d644594 Mon Sep 17 00:00:00 2001 From: krzysztof ziecina Date: Wed, 29 Apr 2026 17:36:01 +0200 Subject: [PATCH] fix: switch rtl phone numbers to ltr --- shared-helpers/src/locales/ar.json | 2 +- shared-helpers/src/locales/fa.json | 2 +- sites/public/src/components/shared/FormSummaryDetails.tsx | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/shared-helpers/src/locales/ar.json b/shared-helpers/src/locales/ar.json index 8bae23931e..4131b3c316 100644 --- a/shared-helpers/src/locales/ar.json +++ b/shared-helpers/src/locales/ar.json @@ -172,7 +172,7 @@ "application.contact.givenName": "الاسم الأول", "application.contact.mailingAddress": "عنوان البريد", "application.contact.noPhoneNumber": "ليس لدي رقم هاتف", - "application.contact.number.subNote": "10 أرقام، على سبيل المثال 999-999-9999", + "application.contact.number.subNote": "10 أرقام، على سبيل المثال \u2066999-999-9999\u2069", "application.contact.number": "رقم", "application.contact.phoneNumberTypes.cell": "زنزانة", "application.contact.phoneNumberTypes.home": "الصفحة الرئيسية", diff --git a/shared-helpers/src/locales/fa.json b/shared-helpers/src/locales/fa.json index ba2c10f1bc..060a7672e3 100644 --- a/shared-helpers/src/locales/fa.json +++ b/shared-helpers/src/locales/fa.json @@ -172,7 +172,7 @@ "application.contact.givenName": "نام داده شده", "application.contact.mailingAddress": "آدرس پستی", "application.contact.noPhoneNumber": "شماره تلفن ندارم", - "application.contact.number.subNote": "ده رقمی، مثلاً ۹۹۹-۹۹۹-۹۹۹۹", + "application.contact.number.subNote": "ده رقمی، مثلاً \u2066999-999-9999\u2069", "application.contact.number": "شماره", "application.contact.phoneNumberTypes.cell": "سلول", "application.contact.phoneNumberTypes.home": "خانه", diff --git a/sites/public/src/components/shared/FormSummaryDetails.tsx b/sites/public/src/components/shared/FormSummaryDetails.tsx index 973c5c9b55..79fa87d750 100644 --- a/sites/public/src/components/shared/FormSummaryDetails.tsx +++ b/sites/public/src/components/shared/FormSummaryDetails.tsx @@ -352,7 +352,7 @@ const FormSummaryDetails = ({ } className={styles["summary-value"]} > - {application.applicant.phoneNumber} + {application.applicant.phoneNumber} )} {application.additionalPhoneNumber && ( @@ -367,7 +367,7 @@ const FormSummaryDetails = ({ } className={styles["summary-value"]} > - {application.additionalPhoneNumber} + {application.additionalPhoneNumber} )} {application.applicant.emailAddress && ( @@ -485,7 +485,7 @@ const FormSummaryDetails = ({ label={t("t.phone")} className={styles["summary-value"]} > - {application.alternateContact.phoneNumber} + {application.alternateContact.phoneNumber} )}