From a80932d3f9ac88685d30997c35a9be404d484a5f Mon Sep 17 00:00:00 2001 From: Jin <22962980+JYC333@users.noreply.github.com> Date: Mon, 31 Mar 2025 21:33:15 +0200 Subject: [PATCH] =?UTF-8?q?chore:=20=F0=9F=A4=96=20add=20week=20number=20e?= =?UTF-8?q?xplanation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/public/app/widgets/type_widgets/options/i18n/i18n.ts | 6 ++++++ src/public/translations/cn/translation.json | 2 ++ src/public/translations/en/translation.json | 2 ++ 3 files changed, 10 insertions(+) diff --git a/src/public/app/widgets/type_widgets/options/i18n/i18n.ts b/src/public/app/widgets/type_widgets/options/i18n/i18n.ts index e0c7662f2..d55971903 100644 --- a/src/public/app/widgets/type_widgets/options/i18n/i18n.ts +++ b/src/public/app/widgets/type_widgets/options/i18n/i18n.ts @@ -64,6 +64,12 @@ const TPL = ` +

${t("i18n.first-week-info")}

+ + +
diff --git a/src/public/translations/cn/translation.json b/src/public/translations/cn/translation.json index 7a582447b..f928eaa3f 100644 --- a/src/public/translations/cn/translation.json +++ b/src/public/translations/cn/translation.json @@ -1238,6 +1238,8 @@ "first-week-contains-first-thursday": "第一周包含一年的第一个周四", "first-week-has-minimum-days": "第一周有最小天数", "min-days-in-first-week": "第一周的最小天数", + "first-week-info": "第一周包含一年的第一个周四,基于 ISO 8601 标准。", + "first-week-warning": "更改第一周选项可能会导致与现有周笔记重复,已创建的周笔记将不会相应更新。", "formatting-locale": "日期和数字格式" }, "backup": { diff --git a/src/public/translations/en/translation.json b/src/public/translations/en/translation.json index b440d316d..97b699a74 100644 --- a/src/public/translations/en/translation.json +++ b/src/public/translations/en/translation.json @@ -1248,6 +1248,8 @@ "first-week-contains-first-thursday": "First week contains first Thursday of the year", "first-week-has-minimum-days": "First week has minimum days", "min-days-in-first-week": "Minimum days in first week", + "first-week-info": "First week contains first Thursday of the year is based on ISO 8601 standard.", + "first-week-warning": "Changing first week options may cause duplicate with existing Week Notes and the existing Week Notes will not be updated accordingly.", "formatting-locale": "Date & number format" }, "backup": {