fix: translate text

This commit is contained in:
Gabe Yuan
2024-02-22 22:57:34 +08:00
parent dbc5135301
commit 420e59bf81
3 changed files with 4 additions and 4 deletions

View File

@@ -29,7 +29,7 @@
- [x] 自定义专业术语 - [x] 自定义专业术语
- [x] 自定义译文样式 - [x] 自定义译文样式
- [x] 自定义快捷键 - [x] 自定义快捷键
- `Alt+Q`翻译 - `Alt+Q` 启翻译
- `Alt+C` 切换样式 - `Alt+C` 切换样式
- `Alt+K` 打开设置弹窗 - `Alt+K` 打开设置弹窗
- `Alt+S` 打开翻译弹窗/翻译选中文字 - `Alt+S` 打开翻译弹窗/翻译选中文字

View File

@@ -6,7 +6,7 @@
"message": "一个简约的双语对照翻译扩展 & 油猴脚本" "message": "一个简约的双语对照翻译扩展 & 油猴脚本"
}, },
"toggle_translate": { "toggle_translate": {
"message": "启翻译" "message": "启翻译"
}, },
"toggle_style": { "toggle_style": {
"message": "切换样式" "message": "切换样式"

View File

@@ -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 ">>>".`, 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: { translate_switch: {
zh: `翻译`, zh: `启翻译`,
en: `Translate Switch`, en: `Translate Switch`,
}, },
default_enabled: { default_enabled: {
@@ -560,7 +560,7 @@ export const I18N = {
en: `Shortcuts Setting`, en: `Shortcuts Setting`,
}, },
toggle_translate_shortcut: { toggle_translate_shortcut: {
zh: `"启翻译"快捷键`, zh: `"启翻译"快捷键`,
en: `"Toggle Translate" Shortcut`, en: `"Toggle Translate" Shortcut`,
}, },
toggle_style_shortcut: { toggle_style_shortcut: {