From 513002ff606cfbe6588346f5ddf062463ea76e1e Mon Sep 17 00:00:00 2001 From: Chris Akring Date: Tue, 8 Aug 2023 19:12:04 +0800 Subject: [PATCH] chore: update zh-Hans translations for "Tag suggestions" (#2110) --- web/src/components/CreateTagDialog.tsx | 6 +++--- web/src/locales/en.json | 6 +++++- web/src/locales/zh-Hans.json | 6 +++++- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/web/src/components/CreateTagDialog.tsx b/web/src/components/CreateTagDialog.tsx index 0546a0021..4d380b1f6 100644 --- a/web/src/components/CreateTagDialog.tsx +++ b/web/src/components/CreateTagDialog.tsx @@ -123,9 +123,9 @@ const CreateTagDialog: React.FC = (props: Props) => { {shownSuggestTagNameList.length > 0 && ( <>
- Tag suggestions + {t("tag-list.tag-suggestions")}
{showTagSuggestions && ( @@ -142,7 +142,7 @@ const CreateTagDialog: React.FC = (props: Props) => { ))} )} diff --git a/web/src/locales/en.json b/web/src/locales/en.json index 9a48a2164..9ca186dcd 100644 --- a/web/src/locales/en.json +++ b/web/src/locales/en.json @@ -152,7 +152,11 @@ "create-tag": "Create Tag", "all-tags": "All Tags", "tag-name": "TAG_NAME", - "invalid-tag-name": "Invalid tag name" + "invalid-tag-name": "Invalid tag name", + "tag-suggestions": "Tag suggestions", + "show": "Show", + "hide": "Hide", + "save-all": "Save all" }, "daily-review": { "title": "Daily Review", diff --git a/web/src/locales/zh-Hans.json b/web/src/locales/zh-Hans.json index ba257d678..174d218d3 100644 --- a/web/src/locales/zh-Hans.json +++ b/web/src/locales/zh-Hans.json @@ -432,6 +432,10 @@ "all-tags": "全部标签", "create-tag": "创建标签", "tag-name": "标签名称", - "tip-text": "输入`#tag`来创建标签" + "tip-text": "输入`#tag`来创建标签", + "tag-suggestions": "标签建议", + "show": "展开", + "hide": "收起", + "save-all": "全部保存" } }