Make GetDict private in the TranslationHandler
This commit is contained in:
parent
67add36e51
commit
b309f155be
2 changed files with 1 additions and 2 deletions
|
@ -8,7 +8,6 @@ namespace Geekbot.net.Lib.Localization
|
||||||
{
|
{
|
||||||
Task<string> GetString(ulong guildId, string command, string stringName);
|
Task<string> GetString(ulong guildId, string command, string stringName);
|
||||||
List<string> GetStrings(string language, string command, string stringName);
|
List<string> GetStrings(string language, string command, string stringName);
|
||||||
Task<Dictionary<string, string>> GetDict(ICommandContext context);
|
|
||||||
Task<Dictionary<string, string>> GetDict(ICommandContext context, string command);
|
Task<Dictionary<string, string>> GetDict(ICommandContext context, string command);
|
||||||
Task<TranslationGuildContext> GetGuildContext(ICommandContext context);
|
Task<TranslationGuildContext> GetGuildContext(ICommandContext context);
|
||||||
Task<bool> SetLanguage(ulong guildId, string language);
|
Task<bool> SetLanguage(ulong guildId, string language);
|
||||||
|
|
|
@ -127,7 +127,7 @@ namespace Geekbot.net.Lib.Localization
|
||||||
return translation;
|
return translation;
|
||||||
}
|
}
|
||||||
|
|
||||||
public async Task<Dictionary<string, string>> GetDict(ICommandContext context)
|
private async Task<Dictionary<string, string>> GetDict(ICommandContext context)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue