diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-03-17 22:39:55 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-03-17 22:39:55 -0400 |
| commit | 6b278f9b041045baa0d6edcfe6cb44819b18bf0d (patch) | |
| tree | 7f8b288f483a4586c415758842b88906aa19f25b /MediaBrowser.Controller/Plugins/ILocalizablePlugin.cs | |
| parent | cafc8356b202932f58d902a861bfbc3181b8e0f9 (diff) | |
stub out localizable plugin
Diffstat (limited to 'MediaBrowser.Controller/Plugins/ILocalizablePlugin.cs')
| -rw-r--r-- | MediaBrowser.Controller/Plugins/ILocalizablePlugin.cs | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Plugins/ILocalizablePlugin.cs b/MediaBrowser.Controller/Plugins/ILocalizablePlugin.cs new file mode 100644 index 000000000..d294107d7 --- /dev/null +++ b/MediaBrowser.Controller/Plugins/ILocalizablePlugin.cs @@ -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; + } + } +} |
