补充文本资源

This commit is contained in:
nilaoda 2022-11-13 02:37:49 +08:00
parent 515601c598
commit 84c5bf8884
2 changed files with 7 additions and 0 deletions

View File

@ -102,6 +102,7 @@ namespace N_m3u8DL_RE.Common.Resource
public static string streamsInfo { get => GetText("streamsInfo"); } public static string streamsInfo { get => GetText("streamsInfo"); }
public static string writeJson { get => GetText("writeJson"); } public static string writeJson { get => GetText("writeJson"); }
public static string noStreamsToDownload { get => GetText("noStreamsToDownload"); } public static string noStreamsToDownload { get => GetText("noStreamsToDownload"); }
public static string newVersionFound { get => GetText("newVersionFound"); }
private static string GetText(string key) private static string GetText(string key)
{ {

View File

@ -10,6 +10,12 @@ namespace N_m3u8DL_RE.Common.Resource
{ {
public static Dictionary<string, TextContainer> LANG_DIC = new() public static Dictionary<string, TextContainer> LANG_DIC = new()
{ {
["newVersionFound"] = new TextContainer
(
zhCN: "检测到新版本,请尽快升级!",
zhTW: "檢測到新版本,請盡快升級!",
enUS: "New version detected!"
),
["autoBinaryMerge"] = new TextContainer ["autoBinaryMerge"] = new TextContainer
( (
zhCN: "检测到fMP4自动开启二进制合并", zhCN: "检测到fMP4自动开启二进制合并",