elliebot/src/Ellie.Marmalade/Strings/IMarmaladeStrings.cs
2024-05-12 23:43:23 +12:00

15 lines
No EOL
501 B
C#

using System.Globalization;
namespace EllieBot.Marmalade;
/// <summary>
/// Defines methods to retrieve and reload marmalade strings
/// </summary>
public interface IMarmaladeStrings
{
// string GetText(string key, ulong? guildId = null, params object[] data);
string? GetText(string key, CultureInfo locale, params object[] data);
void Reload();
CommandStrings GetCommandStrings(string commandName, CultureInfo cultureInfo);
string? GetDescription(CultureInfo? locale);
}