feat: supported translation all when page opened

This commit is contained in:
Gabe Yuan
2024-01-19 17:55:18 +08:00
parent 1e0397adc9
commit 61b017618a
4 changed files with 23 additions and 7 deletions

View File

@@ -168,11 +168,11 @@ export default function Settings() {
/>
<FormControl size="small">
<InputLabel>{i18n("mouseover_translation")}</InputLabel>
<InputLabel>{i18n("translate_timing")}</InputLabel>
<Select
name="mouseKey"
value={mouseKey}
label={i18n("mouseover_translation")}
label={i18n("translate_timing")}
onChange={handleChange}
>
{OPT_MOUSEKEY_ALL.map((item) => (