From 794f03be4014df98856295c6ac48af662446092e Mon Sep 17 00:00:00 2001
From: shikong <919411476@qq.com>
Date: Tue, 20 Feb 2024 01:37:03 +0800
Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E4=BF=9D=E5=AD=98=E5=8A=9F?=
=?UTF-8?q?=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/components/markdown/tui-editor.vue | 93 ++++++++++++++-----
frontend/src/i18n/locales/en.json | 4 +-
frontend/src/i18n/locales/zh-CN.json | 4 +-
3 files changed, 78 insertions(+), 23 deletions(-)
diff --git a/frontend/src/components/markdown/tui-editor.vue b/frontend/src/components/markdown/tui-editor.vue
index 1fe472a..deaad47 100644
--- a/frontend/src/components/markdown/tui-editor.vue
+++ b/frontend/src/components/markdown/tui-editor.vue
@@ -1,5 +1,5 @@
+ {{ t("general.new") }}
{{ t("general.open") }}
- {{ t("general.save")}}
+ {{ t("general.save") }}
+ {{ t("general.saveAs") }}
diff --git a/frontend/src/i18n/locales/en.json b/frontend/src/i18n/locales/en.json
index 8c07f87..06598b7 100644
--- a/frontend/src/i18n/locales/en.json
+++ b/frontend/src/i18n/locales/en.json
@@ -32,6 +32,8 @@
"general": {
"open": "open",
"save": "save",
- "file": "file"
+ "saveAs": "save as",
+ "file": "file",
+ "new": "new"
}
}
diff --git a/frontend/src/i18n/locales/zh-CN.json b/frontend/src/i18n/locales/zh-CN.json
index 4694070..421d9dd 100644
--- a/frontend/src/i18n/locales/zh-CN.json
+++ b/frontend/src/i18n/locales/zh-CN.json
@@ -32,6 +32,8 @@
"general": {
"open": "打开",
"save": "保存",
- "file": "文件"
+ "saveAs": "另存为",
+ "file": "文件",
+ "new": "新建"
}
}