fix: i18n menu command for userscript

This commit is contained in:
Gabe Yuan
2024-04-20 15:54:41 +08:00
parent de1ddf2362
commit d622db0d7c
5 changed files with 38 additions and 8 deletions

View File

@@ -140,6 +140,7 @@ function showTransbox({
tranboxSetting = DEFAULT_TRANBOX_SETTING,
transApis,
darkMode,
uiLang,
}) {
if (!tranboxSetting?.transOpen) {
return;
@@ -170,6 +171,7 @@ function showTransbox({
contextMenuType={contextMenuType}
tranboxSetting={tranboxSetting}
transApis={transApis}
uiLang={uiLang}
/>
</CacheProvider>
</React.StrictMode>