Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
canifa_note
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vũ Hoàng Anh
canifa_note
Commits
d386b83b
Unverified
Commit
d386b83b
authored
Jun 12, 2025
by
XIN_____
Committed by
GitHub
Jun 12, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: update i18n text for zh (#4771)
* feat: add i18n text * feat: add i18n text for zh
parent
c9c07a59
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
index.tsx
web/src/components/MemoEditor/index.tsx
+1
-1
en.json
web/src/locales/en.json
+2
-1
zh-Hans.json
web/src/locales/zh-Hans.json
+2
-1
No files found.
web/src/components/MemoEditor/index.tsx
View file @
d386b83b
...
...
@@ -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
();
}
...
...
web/src/locales/en.json
View file @
d386b83b
...
...
@@ -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"
,
...
...
web/src/locales/zh-Hans.json
View file @
d386b83b
...
...
@@ -108,7 +108,8 @@
"editor"
:
{
"add-your-comment-here"
:
"请输入您的评论..."
,
"any-thoughts"
:
"此刻的想法..."
,
"save"
:
"保存"
"save"
:
"保存"
,
"no-changes-detected"
:
"未检测到更改"
},
"filters"
:
{
"has-code"
:
"有代码"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment