2024-03-23 05:42:46 +00:00
|
|
|
|
using System.Globalization;
|
|
|
|
|
|
2024-03-28 12:01:35 +00:00
|
|
|
|
namespace Ellie.Marmalade;
|
2024-03-23 05:42:46 +00:00
|
|
|
|
|
|
|
|
|
/// <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);
|
|
|
|
|
}
|