aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Plugins/ILocalizablePlugin.cs
blob: bf15fe0407f431c0c01c2c773573f0e6c4b9c9fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#pragma warning disable CS1591

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;
        }
    }
}