chore: update i18 for memo sharing (#513)

This commit is contained in:
Zeng1998 2022-11-21 19:59:19 +08:00 committed by GitHub
parent d2a87a4ddb
commit 0d0f893b93
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 4 deletions

View file

@ -105,7 +105,9 @@ const ShareMemoImageDialog: React.FC<Props> = (props: Props) => {
</div>
<div className="dialog-content-container">
<div className={`tip-words-container ${state.shortcutImgUrl ? "finish" : "loading"}`}>
<p className="tip-text">{state.shortcutImgUrl ? "Click to save the image 👇" : "Generating the screenshot..."}</p>
<p className="tip-text">
{state.shortcutImgUrl ? t("message.click-to-save-the-image") + " 👇" : t("message.generating-the-screenshot")}
</p>
</div>
<div className="memo-container" ref={memoElRef}>
{state.shortcutImgUrl !== "" && <img className="memo-shortcut-img" onClick={handleDownloadBtnClick} src={state.shortcutImgUrl} />}

View file

@ -185,6 +185,8 @@
"succeed-copy-content": "Succeed to copy content to clipboard.",
"change-resource-filename": "Change resource filename",
"resource-filename-updated": "Resource filename changed.",
"invalid-resource-filename": "Invalid filename."
"invalid-resource-filename": "Invalid filename.",
"click-to-save-the-image": "Click to save the image",
"generating-the-screenshot": "Generating the screenshot..."
}
}

View file

@ -184,6 +184,8 @@
"succeed-copy-content": "Đã sao chép nội dung memo thành công.",
"change-resource-filename": "Thay đổi tên tệp tài nguyên",
"resource-filename-updated": "Tên tệp tài nguyên đã thay đổi.",
"invalid-resource-filename": "Tên tệp không hợp lệ."
"invalid-resource-filename": "Tên tệp không hợp lệ.",
"click-to-save-the-image": "Bấm để lưu hình ảnh",
"generating-the-screenshot": "Đang tạo ảnh chụp màn hình ..."
}
}

View file

@ -185,6 +185,8 @@
"succeed-copy-content": "复制内容到剪贴板成功。",
"change-resource-filename": "更改资源文件名",
"resource-filename-updated": "资源文件名更改成功。",
"invalid-resource-filename": "无效的资源文件名"
"invalid-resource-filename": "无效的资源文件名",
"click-to-save-the-image": "点击保存图片",
"generating-the-screenshot": "正在生成图片..."
}
}