2018-05-03 00:56:06 +02:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using Discord.Commands;
|
|
|
|
|
|
|
|
|
|
namespace Geekbot.net.Lib.Localization
|
|
|
|
|
{
|
|
|
|
|
public interface ITranslationHandler
|
|
|
|
|
{
|
|
|
|
|
string GetString(ulong guildId, string command, string stringName);
|
|
|
|
|
Dictionary<string, string> GetDict(ICommandContext context);
|
|
|
|
|
Dictionary<string, string> GetDict(ICommandContext context, string command);
|
|
|
|
|
bool SetLanguage(ulong guildId, string language);
|
2018-05-26 02:55:18 +02:00
|
|
|
|
List<string> SupportedLanguages { get; }
|
2018-05-03 00:56:06 +02:00
|
|
|
|
}
|
|
|
|
|
}
|