[libcalamares] Switch default language in Belarus

*If* the distro has GeoIP enabled and auto-selects the language for
Calamares, then Belarus now selects Russian, rather the Belarusian.
This is based on some personal input, mostly, and Wikipedia census data.

FIXES #1634
main
Adriaan de Groot 4 years ago
parent fc034828c7
commit f045e4f00e

@ -29,7 +29,8 @@
/* MODIFICATIONS
*
* Edited anyway:
* 20191211 India changed to AnyLanguage, since Hindi doesn't make sense. #1284
* 20191211 India (IN) changed to AnyLanguage, since Hindi doesn't make sense. #1284
* 20210207 Belarus (BY) changed to Russian, as the more-common-language. #1634
*
*/
@ -77,7 +78,7 @@ static const CountryData country_data_table[] = {
{ QLocale::Language::Portuguese, QLocale::Country::Brazil, 'B', 'R' },
{ QLocale::Language::Dzongkha, QLocale::Country::Bhutan, 'B', 'T' },
{ QLocale::Language::AnyLanguage, QLocale::Country::BouvetIsland, 'B', 'V' },
{ QLocale::Language::Belarusian, QLocale::Country::Belarus, 'B', 'Y' },
{ QLocale::Language::Russian, QLocale::Country::Belarus, 'B', 'Y' },
{ QLocale::Language::Swahili, QLocale::Country::CongoKinshasa, 'C', 'D' },
{ QLocale::Language::French, QLocale::Country::CentralAfricanRepublic, 'C', 'F' },
{ QLocale::Language::French, QLocale::Country::CongoBrazzaville, 'C', 'G' },

Loading…
Cancel
Save