chore: update zh-Hans translations for "Tag suggestions" (#2110)

pull/2115/head
Chris Akring 2 years ago committed by GitHub
parent 9693940010
commit 513002ff60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -123,9 +123,9 @@ const CreateTagDialog: React.FC<Props> = (props: Props) => {
{shownSuggestTagNameList.length > 0 && (
<>
<div className="mt-4 mb-1 text-sm w-full flex flex-row justify-start items-center">
<span className="text-gray-400 mr-2">Tag suggestions</span>
<span className="text-gray-400 mr-2">{t("tag-list.tag-suggestions")}</span>
<Button size="sm" variant="outlined" onClick={handleToggleShowSuggestionTags}>
{showTagSuggestions ? "hide" : "show"}
{showTagSuggestions ? t("tag-list.hide") : t("tag-list.show")}
</Button>
</div>
{showTagSuggestions && (
@ -142,7 +142,7 @@ const CreateTagDialog: React.FC<Props> = (props: Props) => {
))}
</div>
<Button size="sm" onClick={handleSaveSuggestTagList}>
Save all
{t("tag-list.save-all")}
</Button>
</>
)}

@ -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",

@ -432,6 +432,10 @@
"all-tags": "全部标签",
"create-tag": "创建标签",
"tag-name": "标签名称",
"tip-text": "输入`#tag`来创建标签"
"tip-text": "输入`#tag`来创建标签",
"tag-suggestions": "标签建议",
"show": "展开",
"hide": "收起",
"save-all": "全部保存"
}
}

Loading…
Cancel
Save