Skip to content

Commit

Permalink
fix: missing locale
Browse files Browse the repository at this point in the history
  • Loading branch information
dongchengjie committed May 15, 2024
1 parent 9e87293 commit ffbc892
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/profile/editor-viewer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
4 changes: 2 additions & 2 deletions src/components/profile/profile-more.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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" />
Expand All @@ -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" />
Expand Down
2 changes: 2 additions & 0 deletions src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"Import": "Import",
"New": "New",
"Create Profile": "Create Profile",
"Edit Profile": "Edit Profile",
"Choose File": "Choose File",
"Close": "Close",
"Close All": "Close All",
Expand All @@ -51,6 +52,7 @@
"Reactivate Profiles": "Reactivate Profiles",
"Confirm deletion": "Confirm deletion",
"This operation is not reversible": "This operation is not reversible",
"Script Console": "Script Console",

"Location": "Location",
"Delay check": "Delay check",
Expand Down
2 changes: 2 additions & 0 deletions src/locales/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"Import": "Импорт",
"New": "Новый",
"Create Profile": "Создать профиль",
"Edit Profile": "Изменить профиль",
"Choose File": "Выбрать файл",
"Close": "Закрыть",
"Close All": "Закрыть всё",
Expand All @@ -51,6 +52,7 @@
"Reactivate Profiles": "Реактивировать профили",
"Confirm deletion": "Подтвердите удаление",
"This operation is not reversible": "Эта операция необратима",
"Script Console": "Консоль скрипта",

"Location": "Местоположение",
"Delay check": "Проверка задержки",
Expand Down
4 changes: 3 additions & 1 deletion src/locales/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"Profile URL": "订阅文件链接",
"Import": "导入",
"New": "新建",
"Create Profile": "新建订阅",
"Create Profile": "新建配置",
"Edit Profile": "编辑配置",
"Choose File": "选择文件",
"Close": "关闭",
"Close All": "关闭全部",
Expand All @@ -51,6 +52,7 @@
"Reactivate Profiles": "重新激活订阅",
"Confirm deletion": "确认删除",
"This operation is not reversible": "此操作不可逆",
"Script Console": "脚本控制台输出",

"Location": "当前节点",
"Delay check": "延迟测试",
Expand Down

0 comments on commit ffbc892

Please sign in to comment.