From 2b70f28b0b6bcd4869842c583288b84b9173d277 Mon Sep 17 00:00:00 2001 From: Gabe Yuan Date: Fri, 15 Mar 2024 10:47:35 +0800 Subject: [PATCH] fix: help text --- src/config/i18n.js | 10 +++++++--- src/views/Options/Webfix.js | 1 + 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/config/i18n.js b/src/config/i18n.js index 11a98fe..8704d66 100644 --- a/src/config/i18n.js +++ b/src/config/i18n.js @@ -188,15 +188,15 @@ export const I18N = { en: `Translate Timing`, }, mk_disable: { - zh: `滚动加载(推荐)`, + zh: `滚动加载翻译(推荐)`, en: `Rolling Loading (Suggested)`, }, mk_pageopen: { - zh: `页面打开`, + zh: `页面打开全部翻译`, en: `Page Open`, }, mk_mouseover: { - zh: `鼠标悬停`, + zh: `鼠标悬停翻译`, en: `Mouseover`, }, mk_ctrlKey: { @@ -435,6 +435,10 @@ export const I18N = { zh: `修复函数`, en: `Fixer Function`, }, + fixer_function_helper: { + zh: `1、br目标是将
换行替换成

包裹换行。2、bn目标是将\\n换行替换成

包裹换行。3、brToDiv和bnToDiv是替换成

`, + en: `1. The goal of br is to replace
line breaks with

wrapped line breaks. 2. The goal of bn is to replace \\n newlines with

wrapped newlines. 3. brToDiv and bnToDiv are replaced with

`, + }, import: { zh: `导入`, en: `Import`, diff --git a/src/views/Options/Webfix.js b/src/views/Options/Webfix.js index 8965cec..0c98eed 100644 --- a/src/views/Options/Webfix.js +++ b/src/views/Options/Webfix.js @@ -142,6 +142,7 @@ function WebfixFields({ rule, webfix, setShow }) { name="fixer" value={fixer} label={i18n("fixer_function")} + helperText={i18n("fixer_function_helper")} disabled={disabled} onChange={handleChange} >