mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-04-19 16:33:36 +03:00
Revert LanguageOption.cs
Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
This commit is contained in:
parent
86ff1da7ec
commit
caac65fce4
1 changed files with 2 additions and 1 deletions
|
@ -11,7 +11,8 @@ public sealed class LanguageOption : Option<CultureInfo>
|
||||||
private static readonly Dictionary<string, CultureInfo> CultureInfoCache = new()
|
private static readonly Dictionary<string, CultureInfo> CultureInfoCache = new()
|
||||||
{
|
{
|
||||||
{ "en", new CultureInfo("en-US") },
|
{ "en", new CultureInfo("en-US") },
|
||||||
{ "ru", new CultureInfo("ru-RU") }
|
{ "ru", new CultureInfo("ru-RU") },
|
||||||
|
{ "mctaylors-ru", new CultureInfo("tt-RU") }
|
||||||
};
|
};
|
||||||
|
|
||||||
public LanguageOption(string name, string defaultValue) : base(name, CultureInfoCache[defaultValue]) { }
|
public LanguageOption(string name, string defaultValue) : base(name, CultureInfoCache[defaultValue]) { }
|
||||||
|
|
Loading…
Add table
Reference in a new issue