From 420e59bf81afdbb0fa9d1757f2ed2a9207901f57 Mon Sep 17 00:00:00 2001 From: Gabe Yuan Date: Thu, 22 Feb 2024 22:57:34 +0800 Subject: [PATCH] fix: translate text --- README.md | 2 +- public/_locales/zh_CN/messages.json | 2 +- src/config/i18n.js | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 06fac83..79cb46c 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ - [x] 自定义专业术语 - [x] 自定义译文样式 - [x] 自定义快捷键 - - `Alt+Q` 启停翻译 + - `Alt+Q` 开启翻译 - `Alt+C` 切换样式 - `Alt+K` 打开设置弹窗 - `Alt+S` 打开翻译弹窗/翻译选中文字 diff --git a/public/_locales/zh_CN/messages.json b/public/_locales/zh_CN/messages.json index 7514ec6..b2daa13 100644 --- a/public/_locales/zh_CN/messages.json +++ b/public/_locales/zh_CN/messages.json @@ -6,7 +6,7 @@ "message": "一个简约的双语对照翻译扩展 & 油猴脚本" }, "toggle_translate": { - "message": "启停翻译" + "message": "开启翻译" }, "toggle_style": { "message": "切换样式" diff --git a/src/config/i18n.js b/src/config/i18n.js index fa35c17..c4c36eb 100644 --- a/src/config/i18n.js +++ b/src/config/i18n.js @@ -376,7 +376,7 @@ export const I18N = { en: `1. Follow CSS selector syntax. 2. Leave blank to adopt the global setting. 3. Separate multiple CSS selectors with ";". 4. The "shadow root" selector and the internal selector are separated by ">>>".`, }, translate_switch: { - zh: `启停翻译`, + zh: `开启翻译`, en: `Translate Switch`, }, default_enabled: { @@ -560,7 +560,7 @@ export const I18N = { en: `Shortcuts Setting`, }, toggle_translate_shortcut: { - zh: `"启停翻译"快捷键`, + zh: `"开启翻译"快捷键`, en: `"Toggle Translate" Shortcut`, }, toggle_style_shortcut: {