feat: support translate all now

This commit is contained in:
Gabe
2025-10-01 21:18:53 +08:00
parent 3c5ffc045f
commit c993c15c92
8 changed files with 56 additions and 38 deletions

View File

@@ -122,6 +122,7 @@ export default function Settings() {
preInit = true,
skipLangs = [],
detectRemote = true,
transAllnow = false,
} = setting;
const { isHide = false, fabClickAction = 0 } = fab || {};
@@ -300,6 +301,20 @@ export default function Settings() {
<MenuItem value={2}>{i18n("secondary_context_menus")}</MenuItem>
</TextField>
</Grid>
<Grid item xs={12} sm={12} md={6} lg={3}>
<TextField
select
size="small"
fullWidth
name="transAllnow"
value={transAllnow}
label={i18n("trigger_mode")}
onChange={handleChange}
>
<MenuItem value={false}>{i18n("mk_pagescroll")}</MenuItem>
<MenuItem value={true}>{i18n("mk_pageopen")}</MenuItem>
</TextField>
</Grid>
<Grid item xs={12} sm={12} md={6} lg={3}>
<TextField
select