This commit is contained in:
Tyrrrz 2025-09-02 19:55:09 +03:00
parent a966bee140
commit 27a434a663

View file

@ -63,40 +63,40 @@ public class SettingsViewModel : DialogViewModelBase
// These items have to be non-nullable because Avalonia ComboBox doesn't allow a null value to be selected // These items have to be non-nullable because Avalonia ComboBox doesn't allow a null value to be selected
public IReadOnlyList<string> AvailableLocales { get; } = public IReadOnlyList<string> AvailableLocales { get; } =
[ [
// Current locale (maps to null downstream) // Current locale (maps to null downstream)
"", "",
// Locales supported by the Discord app // Locales supported by the Discord app
"da-DK", "da-DK",
"de-DE", "de-DE",
"en-GB", "en-GB",
"en-US", "en-US",
"es-ES", "es-ES",
"fr-FR", "fr-FR",
"hr-HR", "hr-HR",
"it-IT", "it-IT",
"lt-LT", "lt-LT",
"hu-HU", "hu-HU",
"nl-NL", "nl-NL",
"no-NO", "no-NO",
"pl-PL", "pl-PL",
"pt-BR", "pt-BR",
"ro-RO", "ro-RO",
"fi-FI", "fi-FI",
"sv-SE", "sv-SE",
"vi-VN", "vi-VN",
"tr-TR", "tr-TR",
"cs-CZ", "cs-CZ",
"el-GR", "el-GR",
"bg-BG", "bg-BG",
"ru-RU", "ru-RU",
"uk-UA", "uk-UA",
"th-TH", "th-TH",
"zh-CN", "zh-CN",
"ja-JP", "ja-JP",
"zh-TW", "zh-TW",
"ko-KR", "ko-KR",
]; ];
// This has to be non-nullable because Avalonia ComboBox doesn't allow a null value to be selected // This has to be non-nullable because Avalonia ComboBox doesn't allow a null value to be selected
public string Locale public string Locale