libcalamares: repair names for recent translations

bqi is one possible name of Luri / Lhur language,
as far as I can tell -- there is also Northern Luri,
which is supported by Qt and has code lrc.

ie is Interlingue, which Qt maps to C locale.
Work around that by mapping it to interlingua.
This commit is contained in:
Adriaan de Groot 2023-11-07 13:25:37 +01:00
parent cb42b3af6a
commit 5346008b7a

View File

@ -87,6 +87,21 @@ static constexpr const TranslationSpecialCase special_cases[] = {
QLocale::Script::AnyScript,
QLocale::Country::AnyCountry,
"Lenga d'òc" },
// Luri
{ "bqi",
nullptr,
QLocale::Language::NorthernLuri,
QLocale::Script::AnyScript,
QLocale::Country::AnyCountry,
nullptr },
// Interlingue is mapped to interlingu*a* because
// the real Language::Interlingue acts like C locale.
{ "ie",
nullptr,
QLocale::Language::Interlingua,
QLocale::Script::AnyScript,
QLocale::Country::AnyCountry,
"Interlingue" },
};
static inline bool