feat: Added fr-BE (#4004)

This commit is contained in:
TheSuperBeaver 2024-08-08 16:50:14 +02:00 committed by GitHub
parent d53f81cdfb
commit f92a9afbe5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 32 additions and 0 deletions

View File

@ -35,6 +35,7 @@ LOCALE_DATA: dict[str, LocaleData] = {
"es-ES": LocaleData(name="Español (Spanish)"),
"fi-FI": LocaleData(name="Suomi (Finnish)"),
"fr-FR": LocaleData(name="Français (French)"),
"fr-BE": LocaleData(name="Belge (Belgian)"),
"gl-ES": LocaleData(name="Galego (Galician)"),
"he-IL": LocaleData(name="עברית (Hebrew)", dir="rtl"),
"hr-HR": LocaleData(name="Hrvatski (Croatian)"),

View File

@ -162,6 +162,12 @@ export const LOCALES = [
progress: 100,
dir: "ltr",
},
{
name: "Belge (Belgian)",
value: "fr-BE",
progress: 100,
dir: "ltr",
},
{
name: "French, Canada",
value: "fr-CA",

View File

@ -0,0 +1,21 @@
{
"short": {
"month": "short",
"day": "numeric",
"weekday": "long"
},
"medium": {
"month": "long",
"day": "numeric",
"weekday": "long",
"year": "numeric"
},
"long": {
"year": "numeric",
"month": "long",
"day": "numeric",
"weekday": "long",
"hour": "numeric",
"minute": "numeric"
}
}

View File

@ -203,6 +203,7 @@ export default {
{ code: "cs-CZ", file: "cs-CZ.json" },
{ code: "gl-ES", file: "gl-ES.json" },
{ code: "fr-FR", file: "fr-FR.json" },
{ code: "fr-BE", file: "fr-BE.json" },
{ code: "zh-TW", file: "zh-TW.json" },
{ code: "af-ZA", file: "af-ZA.json" },
{ code: "is-IS", file: "is-IS.json" },
@ -252,6 +253,7 @@ export default {
"sr-SP": require("./lang/dateTimeFormats/sr-SP.json"),
"cs-CZ": require("./lang/dateTimeFormats/cs-CZ.json"),
"fr-FR": require("./lang/dateTimeFormats/fr-FR.json"),
"fr-BE": require("./lang/dateTimeFormats/fr-BE.json"),
"zh-TW": require("./lang/dateTimeFormats/zh-TW.json"),
"af-ZA": require("./lang/dateTimeFormats/af-ZA.json"),
"ru-RU": require("./lang/dateTimeFormats/ru-RU.json"),

View File

@ -67,6 +67,7 @@ export default {
"sr-SP": locale.srCyrl,
"cs-CZ": locale.cs,
"fr-FR": locale.fr,
"fr-BE": locale.fr,
"zh-TW": locale.zhHant,
"af-ZA": locale.af,
"sl-SI": locale.sl,

View File

@ -15,6 +15,7 @@ def validate_locale(locale: str) -> bool:
"fi-FI",
"fr-CA",
"fr-FR",
"fr-BE",
"gl-ES",
"he-IL",
"hr-HR",