From d7304a5731a2225385b474daaada676600434638 Mon Sep 17 00:00:00 2001 From: Pablo Pettinari Date: Mon, 26 Jan 2026 13:29:30 +0100 Subject: [PATCH] chore(storybook): replace fa locale with ar for RTL testing The fa (Farsi) locale has been removed from the project. Replace it with ar (Arabic) which is still actively supported and also provides RTL layout testing capabilities. --- .storybook/modes.ts | 2 +- .storybook/next-intl.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.storybook/modes.ts b/.storybook/modes.ts index e80df9d115d..22c5914b36a 100644 --- a/.storybook/modes.ts +++ b/.storybook/modes.ts @@ -14,7 +14,7 @@ export const viewportModes = breakpointSet.reduce<{ } }, {}) -const localesToTest = ["en", "fa"] +const localesToTest = ["en", "ar"] const locales = pickBy(baseLocales, (_, key) => localesToTest.includes(key)) export const langModes = Object.keys(locales).reduce<{ [locale: string]: { locale: string } diff --git a/.storybook/next-intl.ts b/.storybook/next-intl.ts index 7e793fde433..7c78b768786 100644 --- a/.storybook/next-intl.ts +++ b/.storybook/next-intl.ts @@ -3,7 +3,7 @@ export const baseLocales = { zh: { title: "中国人", left: "Zh" }, ru: { title: "Русский", left: "Ru" }, uk: { title: "українська", left: "Uk" }, - fa: { title: "فارسی", left: "Fa" }, + ar: { title: "العربية", left: "Ar" }, } // Only i18n files named in this array are being exposed to Storybook. Add filenames as necessary.