Skip to content

Commit

Permalink
补充文本资源
Browse files Browse the repository at this point in the history
  • Loading branch information
nilaoda committed Nov 12, 2022
1 parent 515601c commit 84c5bf8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/N_m3u8DL-RE.Common/Resource/ResString.cs
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ public class ResString
public static string streamsInfo { get => GetText("streamsInfo"); }
public static string writeJson { get => GetText("writeJson"); }
public static string noStreamsToDownload { get => GetText("noStreamsToDownload"); }
public static string newVersionFound { get => GetText("newVersionFound"); }

private static string GetText(string key)
{
Expand Down
6 changes: 6 additions & 0 deletions src/N_m3u8DL-RE.Common/Resource/StaticText.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ internal class StaticText
{
public static Dictionary<string, TextContainer> LANG_DIC = new()
{
["newVersionFound"] = new TextContainer
(
zhCN: "检测到新版本,请尽快升级!",
zhTW: "檢測到新版本,請盡快升級!",
enUS: "New version detected!"
),
["autoBinaryMerge"] = new TextContainer
(
zhCN: "检测到fMP4,自动开启二进制合并",
Expand Down

0 comments on commit 84c5bf8

Please sign in to comment.