Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/blame/commit/abf9809a1d1b18cda1b1455a51b57689ee254f0d/MediaBrowser.Controller/Plugins/ILocalizablePlugin.cs
You should set ROOT_URL correctly, otherwise the web may not work correctly.
|
|
|
|
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;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|