Skip to content

Commit 1762496

Browse files
taosinkiss-fire
andauthored
chore: update zh-hans text for rename-tag (#4496)
* Update RenameTagDialog.tsx Co-authored-by: kiss-fire <[email protected]> * Update zh-Hans.json Co-authored-by: kiss-fire <[email protected]> --------- Co-authored-by: kiss-fire <[email protected]>
1 parent 34ab883 commit 1762496

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

web/src/components/RenameTagDialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const RenameTagDialog: React.FC<Props> = (props: Props) => {
4949
return (
5050
<div className="max-w-full shadow flex flex-col justify-start items-start bg-white dark:bg-zinc-800 dark:text-gray-300 p-4 rounded-lg">
5151
<div className="flex flex-row justify-between items-center mb-4 gap-2 w-full">
52-
<p className="title-text">{"Rename tag"}</p>
52+
<p className="title-text">{t("tag.rename-tag")}</p>
5353
<Button size="sm" variant="plain" onClick={() => destroy()}>
5454
<XIcon className="w-5 h-auto" />
5555
</Button>

web/src/locales/zh-Hans.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@
380380
"delete-confirm": "您确定要删除此标签吗?所有相关的备忘录将会被归档。",
381381
"delete-tag": "删除标签",
382382
"no-tag-found": "没找到此标签",
383-
"rename-tag": "标签重命名",
383+
"rename-tag": "重命名",
384384
"old-name": "旧名称",
385385
"new-name": "新名称",
386386
"rename-tip": "您的所有带有此标签的备忘录将被更新。",

0 commit comments

Comments
 (0)