mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-23 09:14:45 +03:00
Add GPL modules
This commit is contained in:
20
MediaBrowser.Controller/Plugins/ILocalizablePlugin.cs
Normal file
20
MediaBrowser.Controller/Plugins/ILocalizablePlugin.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user