2
0

ILocalizablePlugin.cs 609 B

12345678910111213141516171819202122
  1. #pragma warning disable CS1591
  2. using System.IO;
  3. using System.Reflection;
  4. namespace MediaBrowser.Controller.Plugins
  5. {
  6. public interface ILocalizablePlugin
  7. {
  8. Stream GetDictionary(string culture);
  9. }
  10. public static class LocalizablePluginHelper
  11. {
  12. public static Stream GetDictionary(Assembly assembly, string manifestPrefix, string culture)
  13. {
  14. // Find all dictionaries using GetManifestResourceNames, start start with the prefix
  15. // Return the one for the culture if exists, otherwise return the default
  16. return null;
  17. }
  18. }
  19. }