chore: update i18n text for zh (#4771)

* feat: add i18n text

* feat: add i18n text for zh
pull/4772/head
XIN_____ 4 months ago committed by GitHub
parent c9c07a599c
commit d386b83b7b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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": "有代码",

Loading…
Cancel
Save