From 84c5bf88843ae7231f6e63d3c15f13bf5064082a Mon Sep 17 00:00:00 2001 From: nilaoda Date: Sun, 13 Nov 2022 02:37:49 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=E6=96=87=E6=9C=AC=E8=B5=84?= =?UTF-8?q?=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/N_m3u8DL-RE.Common/Resource/ResString.cs | 1 + src/N_m3u8DL-RE.Common/Resource/StaticText.cs | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/src/N_m3u8DL-RE.Common/Resource/ResString.cs b/src/N_m3u8DL-RE.Common/Resource/ResString.cs index d43796f..c243216 100644 --- a/src/N_m3u8DL-RE.Common/Resource/ResString.cs +++ b/src/N_m3u8DL-RE.Common/Resource/ResString.cs @@ -102,6 +102,7 @@ namespace N_m3u8DL_RE.Common.Resource 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) { diff --git a/src/N_m3u8DL-RE.Common/Resource/StaticText.cs b/src/N_m3u8DL-RE.Common/Resource/StaticText.cs index 5f9c22c..f554ac6 100644 --- a/src/N_m3u8DL-RE.Common/Resource/StaticText.cs +++ b/src/N_m3u8DL-RE.Common/Resource/StaticText.cs @@ -10,6 +10,12 @@ namespace N_m3u8DL_RE.Common.Resource { public static Dictionary LANG_DIC = new() { + ["newVersionFound"] = new TextContainer + ( + zhCN: "检测到新版本,请尽快升级!", + zhTW: "檢測到新版本,請盡快升級!", + enUS: "New version detected!" + ), ["autoBinaryMerge"] = new TextContainer ( zhCN: "检测到fMP4,自动开启二进制合并",