client: Remove flags from language selection to avoid potential political issues

This commit is contained in:
Elian Doran 2024-08-11 13:07:17 +03:00
parent 18515111ff
commit 307c6ebb73
No known key found for this signature in database
2 changed files with 3 additions and 5 deletions

View File

@ -32,7 +32,7 @@ export default class LocalizationOptions extends OptionsWidget {
for (const locale of availableLocales) {
this.$localeSelect.append($("<option>")
.attr("value", locale.id)
.text(`${locale.flag} ${locale.name}`));
.text(locale.name));
}
this.$localeSelect.val(options.locale);

View File

@ -135,13 +135,11 @@ function getSupportedLocales() {
return [
{
"id": "en",
"flag": "🇺🇸",
"name": "English (United States)"
"name": "English"
},
{
"id": "cn",
"flag": "🇨🇳",
"name": "Chinese (China)"
"name": "Chinese"
}
];
}