jellyfin/MediaBrowser.Controller/Plugins/ILocalizablePlugin.cs

23 lines
609 B
C#
Raw Normal View History

#pragma warning disable CS1591
using System.IO;
2018-12-27 18:27:57 -05:00
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 18:27:46 -05:00
}
2018-12-27 18:27:57 -05:00
}
}