fix: missing locale

This commit is contained in:
dongchengjie
2024-05-15 23:27:31 +08:00
parent 9e872932d1
commit ffbc892e44
5 changed files with 10 additions and 4 deletions

View File

@@ -129,7 +129,7 @@ export const EditorViewer = (props: Props) => {
<DialogTitle>{t("Edit File")}</DialogTitle>
<DialogContent
sx={{ width: "94%", height: "100vh", pb: 1, userSelect: "text" }}
sx={{ width: "auto", height: "100vh", pb: 1, userSelect: "text" }}
>
<div style={{ width: "100%", height: "100%" }} ref={editorRef} />
</DialogContent>

View File

@@ -166,7 +166,7 @@ export const ProfileMore = (props: Props) => {
size="small"
edge="start"
color="error"
title="Console"
title={t("Script Console")}
onClick={() => setLogOpen(true)}
>
<FeaturedPlayListRounded fontSize="inherit" />
@@ -177,7 +177,7 @@ export const ProfileMore = (props: Props) => {
size="small"
edge="start"
color="inherit"
title="Console"
title={t("Script Console")}
onClick={() => setLogOpen(true)}
>
<FeaturedPlayListRounded fontSize="inherit" />