Flow.Launcher/Flow.Launcher.Plugin/Interfaces/IPluginI18n.cs
2023-06-18 22:53:01 +03:00

28 lines
No EOL
716 B
C#

using System.Globalization;
namespace Flow.Launcher.Plugin
{
/// <summary>
/// Represent plugins that support internationalization
/// </summary>
public interface IPluginI18n : IFeatures
{
/// <summary>
/// Get a localised version of the plugin's title
/// </summary>
string GetTranslatedPluginTitle();
/// <summary>
/// Get a localised version of the plugin's description
/// </summary>
string GetTranslatedPluginDescription();
/// <summary>
/// The method will be invoked when language of flow changed
/// </summary>
void OnCultureInfoChanged(CultureInfo newCulture)
{
}
}
}