1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

add options for using fallback fonts

This commit is contained in:
nyanmisaka 2020-07-24 21:55:33 +08:00
parent 783b62c301
commit 86c87446e3
5 changed files with 68 additions and 6 deletions

View file

@ -1565,5 +1565,11 @@
"ButtonCast": "Cast",
"ButtonPlayer": "Player",
"StopPlayback": "Stop playback",
"ClearQueue": "Clear queue"
"ClearQueue": "Clear queue",
"HeaderSelectFallbackFontPath" : "Select Fallback Font File Path",
"HeaderSelectFallbackFontPathHelp": "Browse or enter the path of the fallback font file to use for rendering ASS/SSA subtitles.",
"LabelFallbackFontPath": "Fallback font file path:",
"LabelFallbackFontPathHelp": "Specify a custom path of the fallback font file to use for rendering ASS/SSA subtitles. The maximum allowed size is 10 Megabytes. It is recommended to use the lightweight and web-friendly woff2 format font. Leave it blank unless the font is rendered incorrectly.",
"EnableFallbackFont" : "Enable fallback fonts",
"EnableFallbackFontHelp" : "Enable custom alternate fonts. This can avoid the problem of incorrect subtitle rendering."
}

View file

@ -1578,5 +1578,11 @@
"ClearQueue": "清空队列",
"StopPlayback": "停止播放",
"Writers": "作者",
"ViewAlbumArtist": "查看专辑艺术家"
"ViewAlbumArtist": "查看专辑艺术家",
"HeaderSelectFallbackFontPath" : "选择备用字体路径",
"HeaderSelectFallbackFontPathHelp": "浏览或输入一个备用字体文件的路径用于渲染 ASS/SSA 字幕。",
"LabelFallbackFontPath": "备用字体文件路径:",
"LabelFallbackFontPathHelp": "指定一个备用字体文件用于渲染 ASS/SSA 字幕。允许的最大字体容量为 10 MB。推荐使用轻量且适合网络传输的 woff2 格式字体。除非字体显示不正确,否则将其留空。",
"EnableFallbackFont" : "启用备用字体",
"EnableFallbackFontHelp" : "使用自定义的备用字体。这可以避免一些字幕渲染不正确的问题。"
}