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) { for (const locale of availableLocales) {
this.$localeSelect.append($("<option>") this.$localeSelect.append($("<option>")
.attr("value", locale.id) .attr("value", locale.id)
.text(`${locale.flag} ${locale.name}`)); .text(locale.name));
} }
this.$localeSelect.val(options.locale); this.$localeSelect.val(options.locale);

View File

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