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
050a2d39
Unverified
Commit
050a2d39
authored
Sep 18, 2022
by
f97
Committed by
GitHub
Sep 18, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: fix i18n vietnamese typos and update MemoCardDialog (#228)
parent
13aa61bb
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
12 deletions
+18
-12
MemoCardDialog.tsx
web/src/components/MemoCardDialog.tsx
+2
-2
en.json
web/src/locales/en.json
+3
-1
vi.json
web/src/locales/vi.json
+10
-8
zh.json
web/src/locales/zh.json
+3
-1
No files found.
web/src/components/MemoCardDialog.tsx
View file @
050a2d39
...
...
@@ -112,12 +112,12 @@ const MemoCardDialog: React.FC<Props> = (props: Props) => {
const
handleCopyMemoLinkBtnClick
=
()
=>
{
if
(
memo
.
visibility
===
"PRIVATE"
)
{
toastHelper
.
error
(
"This memo is private only."
);
toastHelper
.
error
(
t
(
"message.private-only"
)
);
return
;
}
copy
(
`
${
window
.
location
.
origin
}
/explore?memoId=
${
memo
.
id
}
`
);
toastHelper
.
success
(
"Copied"
);
toastHelper
.
success
(
t
(
"message.copied"
)
);
};
const
handleEditMemoBtnClick
=
()
=>
{
...
...
web/src/locales/en.json
View file @
050a2d39
...
...
@@ -130,6 +130,8 @@
"login-failed"
:
"Login failed"
,
"signup-failed"
:
"Signup failed"
,
"user-not-found"
:
"User not found"
,
"password-changed"
:
"Password Changed"
"password-changed"
:
"Password Changed"
,
"private-only"
:
"This memo is private only."
,
"copied"
:
"Copied"
}
}
web/src/locales/vi.json
View file @
050a2d39
...
...
@@ -13,8 +13,8 @@
"reset"
:
"Khôi phục"
,
"language"
:
"Ngôn Ngữ"
,
"version"
:
"Phiên bản"
,
"pin"
:
"Gắn lên
trên cùng
"
,
"unpin"
:
"Gỡ
khỏi vị trị trên cùng
"
,
"pin"
:
"Gắn lên"
,
"unpin"
:
"Gỡ
ra
"
,
"edit"
:
"Chỉnh sửa"
,
"restore"
:
"Khôi phục"
,
"delete"
:
"Xóa"
,
...
...
@@ -33,11 +33,11 @@
"title"
:
"Tên"
,
"filter"
:
"Bộ lọc"
,
"tags"
:
"Thẻ"
,
"yourself"
:
"C
ủa
bạn"
,
"yourself"
:
"C
hính
bạn"
,
"archived-at"
:
"Lưu trữ lúc"
,
"changed"
:
"đã thay đổi"
},
"slogan"
:
"Một mã nguồn mở, tự lưu lại mọi thứ bạn biết dựa trên SQLite db."
,
"slogan"
:
"Một mã nguồn mở, tự
bạn
lưu lại mọi thứ bạn biết dựa trên SQLite db."
,
"auth"
:
{
"signup-as-host"
:
"Đăng ký như chủ nhân"
,
"host-tip"
:
"Bạn đang đăng ký với tư cách chủ nhân của trang web này."
,
...
...
@@ -100,14 +100,14 @@
"member-list"
:
"Danh sách thành viên"
,
"account-section"
:
{
"title"
:
"Thông tin tài khoản"
,
"change-password"
:
"
đ
ổi mật khẩu"
"change-password"
:
"
Đ
ổi mật khẩu"
},
"preference-section"
:
{
"default-memo-visibility"
:
"Chế độ memo mặc định"
,
"editor-font-style"
:
"Thay đổi font cho trình soạn thảo"
},
"member-section"
:
{
"create-a-member"
:
"Tạo
một
thành viên"
"create-a-member"
:
"Tạo thành viên"
}
},
"amount-text"
:
{
...
...
@@ -126,10 +126,12 @@
"fill-all"
:
"Vui lòng nhập tất cả các mục."
,
"new-password-not-match"
:
"Mật khẩu mới không giống nhau."
,
"image-load-failed"
:
"Tải ảnh bị lỗi"
,
"fill-form"
:
"
Please fill out this
form"
,
"fill-form"
:
"
Hãy điền đầy đủ nội dung của
form"
,
"login-failed"
:
"Đăng nhập thất bại"
,
"signup-failed"
:
"Đăng ký thất bại"
,
"user-not-found"
:
"Không tìm thấy người dùng này"
,
"password-changed"
:
"mật khẩu đã được thay đổi"
"password-changed"
:
"Mật khẩu đã được thay đổi"
,
"private-only"
:
"Memo này có trạng thái riêng tư."
,
"copied"
:
"Đã sao chép"
}
}
web/src/locales/zh.json
View file @
050a2d39
...
...
@@ -130,6 +130,8 @@
"login-failed"
:
"登录失败"
,
"signup-failed"
:
"注册失败"
,
"user-not-found"
:
"未找到用户"
,
"password-changed"
:
"密码已修改"
"password-changed"
:
"密码已修改"
,
"private-only"
:
"This memo is private only."
,
"copied"
:
"Copied"
}
}
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