fixed tweezers in hangman, language names are no longer in english

This commit is contained in:
Kwoth 2017-03-30 15:53:29 +02:00
parent 111b4bc465
commit 090ad4f981
3 changed files with 9 additions and 8 deletions

View File

@ -17,26 +17,27 @@ namespace NadekoBot.Modules.Administration
public class LocalizationCommands : NadekoSubmodule public class LocalizationCommands : NadekoSubmodule
{ {
//Română, România //Română, România
//Bahasa Indonesia, Indonesia
private ImmutableDictionary<string, string> supportedLocales { get; } = new Dictionary<string, string>() private ImmutableDictionary<string, string> supportedLocales { get; } = new Dictionary<string, string>()
{ {
{"zh-TW", "繁體中文, 台灣" }, {"zh-TW", "繁體中文, 台灣" },
{"zh-CN", "简体中文, 中华人民共和国"}, {"zh-CN", "简体中文, 中华人民共和国"},
{"nl-NL", "Dutch, Netherlands"}, {"nl-NL", "Nederlands, Nederland"},
{"en-US", "English, United States"}, {"en-US", "English, United States"},
{"fr-FR", "Français, France"}, {"fr-FR", "Français, France"},
{"de-DE", "Deutsch, Deutschland"}, {"de-DE", "Deutsch, Deutschland"},
{"he-IL", "Hebrew, Israel" }, {"he-IL", "עברית, ישראל"},
{"it-IT", "Italiano, Italia" }, {"it-IT", "Italiano, Italia" },
//{"ja-JP", "Japanese, Japan"}, //{"ja-JP", "日本語, 日本"},
{"ko-KR", "한국어, 대한민국" }, {"ko-KR", "한국어, 대한민국" },
{"nb-NO", "Norwegian (bokmål), Norway"}, {"nb-NO", "Norsk, Norge"},
{"pl-PL", "Polski, Polska" }, {"pl-PL", "Polski, Polska" },
{"pt-BR", "Português Brasileiro, Brasil"}, {"pt-BR", "Português Brasileiro, Brasil"},
{"ru-RU", "Russian, Russia"}, {"ru-RU", "Русский, Россия"},
{"sr-Cyrl-RS", "Српски, Србија"}, {"sr-Cyrl-RS", "Српски, Србија"},
{"es-ES", "Español, España"}, {"es-ES", "Español, España"},
{"sv-SE", "Svenska, Sverige"}, {"sv-SE", "Svenska, Sverige"},
{"tr-TR", "Turkish, Turkey" } {"tr-TR", "Türkçe, Türkiye"}
}.ToImmutableDictionary(); }.ToImmutableDictionary();
[NadekoCommand, Usage, Description, Aliases] [NadekoCommand, Usage, Description, Aliases]

View File

@ -15,7 +15,7 @@ namespace NadekoBot.Modules.Games.Hangman
{ {
public class HangmanTermPool public class HangmanTermPool
{ {
const string termsPath = "data/hangman.json"; const string termsPath = "data/hangman2.json";
public static IReadOnlyDictionary<string, HangmanObject[]> data { get; } public static IReadOnlyDictionary<string, HangmanObject[]> data { get; }
static HangmanTermPool() static HangmanTermPool()
{ {

View File

@ -3023,7 +3023,7 @@
"ImageUrl": "https://www.randomlists.com/img/things/tv.jpg" "ImageUrl": "https://www.randomlists.com/img/things/tv.jpg"
}, },
{ {
"Word": "twezzers", "Word": "tweezers",
"ImageUrl": "https://www.randomlists.com/img/things/twezzers.jpg" "ImageUrl": "https://www.randomlists.com/img/things/twezzers.jpg"
}, },
{ {