mirror of https://github.com/usememos/memos.git
chore: update i18n text for zh (#4771)
* feat: add i18n text * feat: add i18n text for zh
This commit is contained in:
parent
c9c07a599c
commit
d386b83b7b
|
|
@ -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…
Reference in New Issue