mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: update i18n (#215)
This commit is contained in:
@ -110,7 +110,7 @@ const MemoEditor = () => {
|
||||
const { type } = file;
|
||||
|
||||
if (!type.startsWith("image")) {
|
||||
toastHelper.error("Only image file supported.");
|
||||
toastHelper.error(t("editor.only-image-supported"));
|
||||
return;
|
||||
}
|
||||
|
||||
@ -133,7 +133,7 @@ const MemoEditor = () => {
|
||||
|
||||
const handleSaveBtnClick = async (content: string) => {
|
||||
if (content === "") {
|
||||
toastHelper.error("Content can't be empty");
|
||||
toastHelper.error(t("editor.cant-empty"));
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user