jellyfin-server/MediaBrowser.Controller/Plugins/ILocalizablePlugin.cs

21 lines
580 B
C#
Raw Normal View History

2018-12-27 23:27:57 +00:00
using System.IO;
using System.Reflection;
namespace MediaBrowser.Controller.Plugins
{
public interface ILocalizablePlugin
{
Stream GetDictionary(string culture);
}
public static class LocalizablePluginHelper
{
public static Stream GetDictionary(Assembly assembly, string manifestPrefix, string culture)
{
// Find all dictionaries using GetManifestResourceNames, start start with the prefix
// Return the one for the culture if exists, otherwise return the default
return null;
2019-01-07 23:27:46 +00:00
}
2018-12-27 23:27:57 +00:00
}
}