mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
28 lines
No EOL
716 B
C#
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)
|
|
{
|
|
|
|
}
|
|
}
|
|
} |