mirror of
https://github.com/Nezumi-2711/9router.git
synced 2026-09-22 20:00:47 +00:00
feat(i18n): add Farsi (fa) language support (#2385)
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
committed by
decolua
co-authored by
Cursor
parent
46e6c01a01
commit
b6454d84da
@@ -49,7 +49,8 @@ const getLocaleInfo = (locale) => {
|
||||
"hu": { name: "Magyar", flag: "🇭🇺" },
|
||||
"fi": { name: "Suomi", flag: "🇫🇮" },
|
||||
"da": { name: "Dansk", flag: "🇩🇰" },
|
||||
"no": { name: "Norsk", flag: "🇳🇴" }
|
||||
"no": { name: "Norsk", flag: "🇳🇴" },
|
||||
"fa": { name: "فارسی", flag: "🇮🇷" }
|
||||
};
|
||||
return locales[locale] || { name: locale, flag: "🌐" };
|
||||
};
|
||||
|
||||
@@ -33,4 +33,5 @@ export const LOCALE_FLAGS = {
|
||||
"fi": "🇫🇮",
|
||||
"da": "🇩🇰",
|
||||
"no": "🇳🇴",
|
||||
"fa": "🇮🇷",
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user