mirror of
https://github.com/Jetsparrow/karmabot.git
synced 2026-01-21 09:06:09 +03:00
Make Localization actually try to help
This commit is contained in:
parent
44c47913d7
commit
a8675cc648
@ -136,7 +136,7 @@ namespace JetKarmaBot
|
||||
|
||||
public int Count => ((IReadOnlyDictionary<string, string>)locale).Count;
|
||||
|
||||
public string this[string name] => locale.ContainsKey(name) ? locale[name] : "unknown";
|
||||
public string this[string name] => locale.ContainsKey(name) ? locale[name] : "Unmapped locale key: " + name;
|
||||
|
||||
public bool ContainsKey(string key)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user