MystiPanda 11 miesięcy temu
rodzic
commit
955182b05b
2 zmienionych plików z 5 dodań i 7 usunięć
  1. 0 2
      src/components/profile/profile-item.tsx
  2. 5 5
      src/locales/zh.json

+ 0 - 2
src/components/profile/profile-item.tsx

@@ -485,8 +485,6 @@ export const ProfileItem = (props: Props) => {
       <RulesEditorViewer
         property={option?.rules ?? ""}
         open={rulesOpen}
-        language="yaml"
-        schema={undefined}
         onChange={onChange}
         onClose={() => setRulesOpen(false)}
       />

+ 5 - 5
src/locales/zh.json

@@ -50,11 +50,11 @@
   "Expire Time": "到期时间",
   "Create Profile": "新建配置",
   "Edit Profile": "编辑配置",
-  "Edit Proxies": "编辑代理",
-  "Edit Rules": "编辑规则",
-  "Edit Groups": "编辑代理组",
-  "Edit Merge": "编辑 Merge",
-  "Edit Script": "编辑 Script",
+  "Edit Proxies": "添加/删除 节点",
+  "Edit Rules": "添加/删除 规则",
+  "Edit Groups": "添加/删除 代理组",
+  "Edit Merge": "微调配置 (yaml)",
+  "Edit Script": "微调配置 (js)",
   "Type": "类型",
   "Name": "名称",
   "Descriptions": "描述",