Revert back to using strings in stead of arrays in the translations

This commit is contained in:
runebaas 2019-05-12 15:49:00 +02:00
parent e0e76d7c27
commit 53f894676c
No known key found for this signature in database
GPG key ID: 2677AF508D0300D6
4 changed files with 120 additions and 226 deletions

View file

@ -7,7 +7,7 @@ namespace Geekbot.net.Lib.Localization
public interface ITranslationHandler
{
Task<string> GetString(ulong guildId, string command, string stringName);
List<string> GetStrings(string language, string command, string stringName);
string GetString(string language, string command, string stringName);
Task<Dictionary<string, string>> GetDict(ICommandContext context, string command);
Task<TranslationGuildContext> GetGuildContext(ICommandContext context);
Task<bool> SetLanguage(ulong guildId, string language);