feat: 支持开关指定内置插件

This commit is contained in:
Hk-Gosuto
2023-09-04 21:59:42 +08:00
parent c5cc16ca09
commit c9c5ab2a9b
17 changed files with 909 additions and 8 deletions

View File

@@ -305,6 +305,24 @@ const cn = {
},
Plugin: {
Name: "插件",
Page: {
Title: "预设插件",
SubTitle: (count: number) => `${count} 个预设插件`,
Search: "搜索插件",
Create: "新建",
},
Item: {
View: "查看",
Edit: "编辑",
Delete: "删除",
DeleteConfirm: "确认删除?",
},
EditModal: {
Title: (readonly: boolean) =>
`编辑预设插件 ${readonly ? "(只读)" : ""}`,
Download: "下载预设",
Clone: "克隆预设",
},
},
FineTuned: {
Sysmessage: "你是一个助手",

View File

@@ -310,6 +310,24 @@ const en: LocaleType = {
},
Plugin: {
Name: "Plugin",
Page: {
Title: "Plugin Template",
SubTitle: (count: number) => `${count} plugin templates`,
Search: "Search Templates",
Create: "Create",
},
Item: {
View: "View",
Edit: "Edit",
Delete: "Delete",
DeleteConfirm: "Confirm to delete?",
},
EditModal: {
Title: (readonly: boolean) =>
`Edit Plugin Template ${readonly ? "(readonly)" : ""}`,
Download: "Download",
Clone: "Clone",
},
},
FineTuned: {
Sysmessage: "You are an assistant that",