Features: 1) Set LANGUAGE_CODE to "en-gb" for UK English;

Fixes: 1) Remove redundant LANGUAGE_CODE assignment;

Extra: 1) Reordered settings for consistency; 2) Updated LANGUAGES_FLAGS with new flag mappings.
This commit is contained in:
Egor Pavlovich Gorbunov 2025-11-16 14:51:31 +03:00
parent 56826300b6
commit 7c12b24c01

View file

@ -250,6 +250,8 @@ LANGUAGES: tuple[tuple[str, str], ...] = (
("zh-hans", "简体中文"), ("zh-hans", "简体中文"),
) )
LANGUAGE_CODE: str = "en-gb"
LANGUAGES_FLAGS: dict[str, str] = { LANGUAGES_FLAGS: dict[str, str] = {
"ar-ar": "🇸🇦", "ar-ar": "🇸🇦",
"cs-cz": "🇨🇿", "cs-cz": "🇨🇿",
@ -281,8 +283,6 @@ LANGUAGES_FLAGS: dict[str, str] = {
"zh-hans": "🇨🇳", "zh-hans": "🇨🇳",
} }
LANGUAGE_CODE: str = "en-gb"
CURRENCIES_BY_LANGUAGES: tuple[tuple[str, str], ...] = ( CURRENCIES_BY_LANGUAGES: tuple[tuple[str, str], ...] = (
("ar-ar", "AED"), ("ar-ar", "AED"),
("cs-cz", "CZK"), ("cs-cz", "CZK"),