From b99e8d7f46288757a2934745c32cd22963b97541 Mon Sep 17 00:00:00 2001
From: dongchengjie <2424014450@qq.com>
Date: Wed, 15 May 2024 23:27:31 +0800
Subject: [PATCH] fix: missing locale
---
src/components/profile/editor-viewer.tsx | 2 +-
src/components/profile/profile-more.tsx | 4 ++--
src/locales/en.json | 2 ++
src/locales/ru.json | 2 ++
src/locales/zh.json | 4 +++-
5 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/src/components/profile/editor-viewer.tsx b/src/components/profile/editor-viewer.tsx
index c234b255..ddbbcf70 100644
--- a/src/components/profile/editor-viewer.tsx
+++ b/src/components/profile/editor-viewer.tsx
@@ -129,7 +129,7 @@ export const EditorViewer = (props: Props) => {
{t("Edit File")}
diff --git a/src/components/profile/profile-more.tsx b/src/components/profile/profile-more.tsx
index 3efcd34b..f87989d5 100644
--- a/src/components/profile/profile-more.tsx
+++ b/src/components/profile/profile-more.tsx
@@ -166,7 +166,7 @@ export const ProfileMore = (props: Props) => {
size="small"
edge="start"
color="error"
- title="Console"
+ title={t("Script Console")}
onClick={() => setLogOpen(true)}
>
@@ -177,7 +177,7 @@ export const ProfileMore = (props: Props) => {
size="small"
edge="start"
color="inherit"
- title="Console"
+ title={t("Script Console")}
onClick={() => setLogOpen(true)}
>
diff --git a/src/locales/en.json b/src/locales/en.json
index fb49ccba..209be797 100644
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -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",
@@ -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",
diff --git a/src/locales/ru.json b/src/locales/ru.json
index 67380d3a..d9f9dcd3 100644
--- a/src/locales/ru.json
+++ b/src/locales/ru.json
@@ -30,6 +30,7 @@
"Import": "Импорт",
"New": "Новый",
"Create Profile": "Создать профиль",
+ "Edit Profile": "Изменить профиль",
"Choose File": "Выбрать файл",
"Close": "Закрыть",
"Close All": "Закрыть всё",
@@ -51,6 +52,7 @@
"Reactivate Profiles": "Реактивировать профили",
"Confirm deletion": "Подтвердите удаление",
"This operation is not reversible": "Эта операция необратима",
+ "Script Console": "Консоль скрипта",
"Location": "Местоположение",
"Delay check": "Проверка задержки",
diff --git a/src/locales/zh.json b/src/locales/zh.json
index 1ad2050e..24feb0d9 100644
--- a/src/locales/zh.json
+++ b/src/locales/zh.json
@@ -29,7 +29,8 @@
"Profile URL": "订阅文件链接",
"Import": "导入",
"New": "新建",
- "Create Profile": "新建订阅",
+ "Create Profile": "新建配置",
+ "Edit Profile": "编辑配置",
"Choose File": "选择文件",
"Close": "关闭",
"Close All": "关闭全部",
@@ -51,6 +52,7 @@
"Reactivate Profiles": "重新激活订阅",
"Confirm deletion": "确认删除",
"This operation is not reversible": "此操作不可逆",
+ "Script Console": "脚本控制台输出",
"Location": "当前节点",
"Delay check": "延迟测试",