Unverified Commit d386b83b authored by XIN_____'s avatar XIN_____ Committed by GitHub

chore: update i18n text for zh (#4771)

* feat: add i18n text

* feat: add i18n text for zh
parent c9c07a59
......@@ -373,7 +373,7 @@ const MemoEditor = observer((props: Props) => {
memoPatch.updateTime = updateTime;
}
if (updateMask.size === 0) {
toast.error("No changes detected");
toast.error(t("editor.no-changes-detected"));
if (onCancel) {
onCancel();
}
......
......@@ -112,7 +112,8 @@
"editor": {
"add-your-comment-here": "Add your comment here...",
"any-thoughts": "Any thoughts...",
"save": "Save"
"save": "Save",
"no-changes-detected": "No changes detected"
},
"filters": {
"has-code": "hasCode",
......
......@@ -108,7 +108,8 @@
"editor": {
"add-your-comment-here": "请输入您的评论...",
"any-thoughts": "此刻的想法...",
"save": "保存"
"save": "保存",
"no-changes-detected": "未检测到更改"
},
"filters": {
"has-code": "有代码",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment