fix: setting ui

This commit is contained in:
Gabe
2025-10-17 13:11:57 +08:00
parent f011f5ae38
commit 3983477904
2 changed files with 22 additions and 23 deletions

View File

@@ -531,9 +531,9 @@ export const I18N = {
zh_TW: `2.大部分AI介面都與OpenAI相容因此選擇新增OpenAI類型即可。`,
},
about_api_3: {
zh: `2、暂未列出的接口,理论上都可以通过自定义接口 (Custom) 的形式支持。`,
en: `2. Interfaces that have not yet been launched can theoretically be supported through custom interfaces.`,
zh_TW: `2、暫未列出的介面,理論上都可透過自訂介面 (Custom) 的形式支援。`,
zh: `3、暂未列出的接口,理论上都可以通过自定义接口 (Custom) 的形式支持。`,
en: `3. Interfaces that have not yet been launched can theoretically be supported through custom interfaces.`,
zh_TW: `3、暫未列出的介面,理論上都可透過自訂介面 (Custom) 的形式支援。`,
},
about_api_proxy: {
zh: `查看自建一个翻译接口代理`,

View File

@@ -379,18 +379,19 @@ export default function Settings() {
</MenuItem>
))}
</TextField>
<TextField
size="small"
label={i18n("translate_blacklist")}
helperText={i18n("pattern_helper")}
name="blacklist"
value={blacklist}
onChange={handleChange}
maxRows={10}
multiline
/>
{isExt ? (
<>
<TextField
size="small"
label={i18n("disabled_orilist")}
helperText={i18n("pattern_helper")}
name="orilist"
value={orilist}
onChange={handleChange}
multiline
/>
<TextField
select
fullWidth
@@ -409,6 +410,15 @@ export default function Settings() {
<MenuItem value={true}>{i18n("clear_cache_restart")}</MenuItem>
</TextField>
<TextField
size="small"
label={i18n("disabled_orilist")}
helperText={i18n("pattern_helper")}
name="orilist"
value={orilist}
onChange={handleChange}
multiline
/>
<TextField
size="small"
label={i18n("disabled_csplist")}
@@ -453,17 +463,6 @@ export default function Settings() {
</Box>
</>
)}
<TextField
size="small"
label={i18n("translate_blacklist")}
helperText={i18n("pattern_helper")}
name="blacklist"
value={blacklist}
onChange={handleChange}
maxRows={10}
multiline
/>
</Stack>
</Box>
);