mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: fix i18n vietnamese typos and update MemoCardDialog (#228)
This commit is contained in:
@ -112,12 +112,12 @@ const MemoCardDialog: React.FC<Props> = (props: Props) => {
|
|||||||
|
|
||||||
const handleCopyMemoLinkBtnClick = () => {
|
const handleCopyMemoLinkBtnClick = () => {
|
||||||
if (memo.visibility === "PRIVATE") {
|
if (memo.visibility === "PRIVATE") {
|
||||||
toastHelper.error("This memo is private only.");
|
toastHelper.error(t("message.private-only"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
copy(`${window.location.origin}/explore?memoId=${memo.id}`);
|
copy(`${window.location.origin}/explore?memoId=${memo.id}`);
|
||||||
toastHelper.success("Copied");
|
toastHelper.success(t("message.copied"));
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleEditMemoBtnClick = () => {
|
const handleEditMemoBtnClick = () => {
|
||||||
|
@ -130,6 +130,8 @@
|
|||||||
"login-failed": "Login failed",
|
"login-failed": "Login failed",
|
||||||
"signup-failed": "Signup failed",
|
"signup-failed": "Signup failed",
|
||||||
"user-not-found": "User not found",
|
"user-not-found": "User not found",
|
||||||
"password-changed": "Password Changed"
|
"password-changed": "Password Changed",
|
||||||
|
"private-only": "This memo is private only.",
|
||||||
|
"copied": "Copied"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -13,8 +13,8 @@
|
|||||||
"reset": "Khôi phục",
|
"reset": "Khôi phục",
|
||||||
"language": "Ngôn Ngữ",
|
"language": "Ngôn Ngữ",
|
||||||
"version": "Phiên bản",
|
"version": "Phiên bản",
|
||||||
"pin": "Gắn lên trên cùng",
|
"pin": "Gắn lên",
|
||||||
"unpin": "Gỡ khỏi vị trị trên cùng",
|
"unpin": "Gỡ ra",
|
||||||
"edit": "Chỉnh sửa",
|
"edit": "Chỉnh sửa",
|
||||||
"restore": "Khôi phục",
|
"restore": "Khôi phục",
|
||||||
"delete": "Xóa",
|
"delete": "Xóa",
|
||||||
@ -33,11 +33,11 @@
|
|||||||
"title": "Tên",
|
"title": "Tên",
|
||||||
"filter": "Bộ lọc",
|
"filter": "Bộ lọc",
|
||||||
"tags": "Thẻ",
|
"tags": "Thẻ",
|
||||||
"yourself": "Của bạn",
|
"yourself": "Chính bạn",
|
||||||
"archived-at": "Lưu trữ lúc",
|
"archived-at": "Lưu trữ lúc",
|
||||||
"changed": "đã thay đổi"
|
"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": {
|
"auth": {
|
||||||
"signup-as-host": "Đăng ký như chủ nhân",
|
"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.",
|
"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",
|
"member-list": "Danh sách thành viên",
|
||||||
"account-section": {
|
"account-section": {
|
||||||
"title": "Thông tin tài khoản",
|
"title": "Thông tin tài khoản",
|
||||||
"change-password": "đổi mật khẩu"
|
"change-password": "Đổi mật khẩu"
|
||||||
},
|
},
|
||||||
"preference-section": {
|
"preference-section": {
|
||||||
"default-memo-visibility": "Chế độ memo mặc định",
|
"default-memo-visibility": "Chế độ memo mặc định",
|
||||||
"editor-font-style": "Thay đổi font cho trình soạn thảo"
|
"editor-font-style": "Thay đổi font cho trình soạn thảo"
|
||||||
},
|
},
|
||||||
"member-section": {
|
"member-section": {
|
||||||
"create-a-member": "Tạo một thành viên"
|
"create-a-member": "Tạo thành viên"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"amount-text": {
|
"amount-text": {
|
||||||
@ -126,10 +126,12 @@
|
|||||||
"fill-all": "Vui lòng nhập tất cả các mục.",
|
"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.",
|
"new-password-not-match": "Mật khẩu mới không giống nhau.",
|
||||||
"image-load-failed": "Tải ảnh bị lỗi",
|
"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",
|
"login-failed": "Đăng nhập thất bại",
|
||||||
"signup-failed": "Đăng ký 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",
|
"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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -130,6 +130,8 @@
|
|||||||
"login-failed": "登录失败",
|
"login-failed": "登录失败",
|
||||||
"signup-failed": "注册失败",
|
"signup-failed": "注册失败",
|
||||||
"user-not-found": "未找到用户",
|
"user-not-found": "未找到用户",
|
||||||
"password-changed": "密码已修改"
|
"password-changed": "密码已修改",
|
||||||
|
"private-only": "This memo is private only.",
|
||||||
|
"copied": "Copied"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user