mirror of
https://github.com/zadam/trilium.git
synced 2025-10-26 07:46:30 +01:00
client: Remove flags from language selection to avoid potential political issues
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -135,13 +135,11 @@ function getSupportedLocales() {
|
||||
return [
|
||||
{
|
||||
"id": "en",
|
||||
"flag": "🇺🇸",
|
||||
"name": "English (United States)"
|
||||
"name": "English"
|
||||
},
|
||||
{
|
||||
"id": "cn",
|
||||
"flag": "🇨🇳",
|
||||
"name": "Chinese (China)"
|
||||
"name": "Chinese"
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user