mirror of
				https://github.com/jellyfin/jellyfin.git
				synced 2025-11-04 03:27:21 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
		
			577 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			577 B
		
	
	
	
		
			C#
		
	
	
	
	
	
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;
 | 
						|
        }
 | 
						|
    }
 | 
						|
}
 |