fix: setting ui
This commit is contained in:
@@ -531,9 +531,9 @@ export const I18N = {
|
|||||||
zh_TW: `2.大部分AI介面都與OpenAI相容,因此選擇新增OpenAI類型即可。`,
|
zh_TW: `2.大部分AI介面都與OpenAI相容,因此選擇新增OpenAI類型即可。`,
|
||||||
},
|
},
|
||||||
about_api_3: {
|
about_api_3: {
|
||||||
zh: `2、暂未列出的接口,理论上都可以通过自定义接口 (Custom) 的形式支持。`,
|
zh: `3、暂未列出的接口,理论上都可以通过自定义接口 (Custom) 的形式支持。`,
|
||||||
en: `2. Interfaces that have not yet been launched can theoretically be supported through custom interfaces.`,
|
en: `3. Interfaces that have not yet been launched can theoretically be supported through custom interfaces.`,
|
||||||
zh_TW: `2、暫未列出的介面,理論上都可透過自訂介面 (Custom) 的形式支援。`,
|
zh_TW: `3、暫未列出的介面,理論上都可透過自訂介面 (Custom) 的形式支援。`,
|
||||||
},
|
},
|
||||||
about_api_proxy: {
|
about_api_proxy: {
|
||||||
zh: `查看自建一个翻译接口代理`,
|
zh: `查看自建一个翻译接口代理`,
|
||||||
|
|||||||
@@ -379,18 +379,19 @@ export default function Settings() {
|
|||||||
</MenuItem>
|
</MenuItem>
|
||||||
))}
|
))}
|
||||||
</TextField>
|
</TextField>
|
||||||
|
<TextField
|
||||||
|
size="small"
|
||||||
|
label={i18n("translate_blacklist")}
|
||||||
|
helperText={i18n("pattern_helper")}
|
||||||
|
name="blacklist"
|
||||||
|
value={blacklist}
|
||||||
|
onChange={handleChange}
|
||||||
|
maxRows={10}
|
||||||
|
multiline
|
||||||
|
/>
|
||||||
|
|
||||||
{isExt ? (
|
{isExt ? (
|
||||||
<>
|
<>
|
||||||
<TextField
|
|
||||||
size="small"
|
|
||||||
label={i18n("disabled_orilist")}
|
|
||||||
helperText={i18n("pattern_helper")}
|
|
||||||
name="orilist"
|
|
||||||
value={orilist}
|
|
||||||
onChange={handleChange}
|
|
||||||
multiline
|
|
||||||
/>
|
|
||||||
<TextField
|
<TextField
|
||||||
select
|
select
|
||||||
fullWidth
|
fullWidth
|
||||||
@@ -409,6 +410,15 @@ export default function Settings() {
|
|||||||
<MenuItem value={true}>{i18n("clear_cache_restart")}</MenuItem>
|
<MenuItem value={true}>{i18n("clear_cache_restart")}</MenuItem>
|
||||||
</TextField>
|
</TextField>
|
||||||
|
|
||||||
|
<TextField
|
||||||
|
size="small"
|
||||||
|
label={i18n("disabled_orilist")}
|
||||||
|
helperText={i18n("pattern_helper")}
|
||||||
|
name="orilist"
|
||||||
|
value={orilist}
|
||||||
|
onChange={handleChange}
|
||||||
|
multiline
|
||||||
|
/>
|
||||||
<TextField
|
<TextField
|
||||||
size="small"
|
size="small"
|
||||||
label={i18n("disabled_csplist")}
|
label={i18n("disabled_csplist")}
|
||||||
@@ -453,17 +463,6 @@ export default function Settings() {
|
|||||||
</Box>
|
</Box>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
<TextField
|
|
||||||
size="small"
|
|
||||||
label={i18n("translate_blacklist")}
|
|
||||||
helperText={i18n("pattern_helper")}
|
|
||||||
name="blacklist"
|
|
||||||
value={blacklist}
|
|
||||||
onChange={handleChange}
|
|
||||||
maxRows={10}
|
|
||||||
multiline
|
|
||||||
/>
|
|
||||||
</Stack>
|
</Stack>
|
||||||
</Box>
|
</Box>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user