Fix: Refactoring and enhancing the functionality of the delete confirmation dialog component #10703 (#11542)

### What problem does this PR solve?

Fix: Refactoring and enhancing the functionality of the delete
confirmation dialog component

- Refactoring and enhancing the functionality of the delete confirmation
dialog component
- Modifying the style of the user center

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
chanx
2025-11-26 19:49:21 +08:00
committed by GitHub
parent 89ba7abe30
commit 376eb15c63
25 changed files with 393 additions and 112 deletions

View File

@ -7,7 +7,8 @@ export default {
selectPlaceholder: 'select value',
selectAll: 'Select all',
delete: 'Delete',
deleteModalTitle: 'Are you sure to delete this item?',
deleteModalTitle: 'Are you sure to delete it ?',
deleteThem: 'Are you sure to delete them ?',
ok: 'Ok',
cancel: 'Cancel',
yes: 'Yes',
@ -59,6 +60,7 @@ export default {
urlPlaceholder: 'https://api.example.com/v1/mcp',
tokenPlaceholder: 'e.g. eyJhbGciOiJIUzI1Ni...',
},
selected: 'Selected',
},
login: {
loginTitle: 'Sign in to Your Account',
@ -92,7 +94,7 @@ export default {
home: 'Home',
setting: 'User settings',
logout: 'Log out',
fileManager: 'File Management',
fileManager: 'File',
flow: 'Agent',
search: 'Search',
welcome: 'Welcome to',
@ -696,8 +698,9 @@ This auto-tagging feature enhances retrieval by adding another layer of domain-s
tocEnhanceTip: ` During the parsing of the document, table of contents information was generated (see the 'Enable Table of Contents Extraction' option in the General method). This allows the large model to return table of contents items relevant to the user's query, thereby using these items to retrieve related chunks and apply weighting to these chunks during the sorting process. This approach is derived from mimicking the behavioral logic of how humans search for knowledge in books.`,
},
setting: {
deleteModel: 'Delete model',
modelEmptyTip:
'No models available. Please add models from the panel on the right.',
'No models available. <br>Please add models from the panel on the right.',
sourceEmptyTip: 'No data sources added yet. Select one below to connect.',
seconds: 'seconds',
minutes: 'minutes',
@ -1917,6 +1920,7 @@ Important structured information may include: names, dates, locations, events, k
editMCP: 'Edit MCP',
toolsAvailable: 'tools available',
mcpServers: 'MCP servers',
mcpServer: 'MCP server',
customizeTheListOfMcpServers: 'Customize the list of MCP servers',
cachedTools: 'cached tools',
bulkManage: 'Bulk manage',
@ -2014,6 +2018,18 @@ Important structured information may include: names, dates, locations, events, k
processingFailedTip: 'Total failed processes',
processing: 'Processing',
},
deleteModal: {
delAgent: 'Delete agent',
delDataset: 'Delete dataset',
delSearch: 'Delete search',
delFile: 'Delete file',
delFiles: 'Delete files',
delFilesContent: 'Selected {{count}} files',
delChat: 'Delete chat',
delMember: 'Delete member',
},
admin: {
loginTitle: 'Admin Console',
title: 'RAGFlow',

View File

@ -8,6 +8,7 @@ export default {
selectAll: '全选',
delete: '删除',
deleteModalTitle: '确定删除吗?',
deleteThem: '确定要删除吗?',
ok: '确认',
cancel: '取消',
yes: '是',
@ -51,6 +52,7 @@ export default {
noDataFound: '没有找到数据。',
noData: '暂无数据',
promptPlaceholder: '请输入或使用 / 快速插入变量。',
selected: '已选择',
},
login: {
loginTitle: '登录账户',
@ -685,7 +687,8 @@ General实体和关系提取提示来自 GitHub - microsoft/graphrag基于
tocEnhanceTip: `解析文档时生成了目录信息见General方法的启用目录抽取让大模型返回和用户问题相关的目录项从而利用目录项拿到相关chunk对这些chunk在排序中进行加权。这种方法来源于模仿人类查询书本中知识的行为逻辑`,
},
setting: {
modelEmptyTip: '暂无可用模型,请先在右侧面板添加模型。',
deleteModel: '删除模型',
modelEmptyTip: '暂无可用模型,<br>请先在右侧面板添加模型。',
sourceEmptyTip: '暂未添加任何数据源,请从下方选择一个进行连接。',
seconds: '秒',
minutes: '分',
@ -1770,6 +1773,7 @@ Tokenizer 会根据所选方式将内容存储为对应的数据结构。`,
editMCP: '编辑 MCP',
toolsAvailable: '可用的工具',
mcpServers: 'MCP 服务器',
mcpServer: 'MCP 服务器',
customizeTheListOfMcpServers: '自定义 MCP 服务器列表',
cachedTools: '缓存工具',
selected: '已选择',
@ -1866,5 +1870,16 @@ Tokenizer 会根据所选方式将内容存储为对应的数据结构。`,
processingSuccessTip: '处理成功的文件总数',
processingFailedTip: '处理失败的文件总数',
},
deleteModal: {
delAgent: '删除智能体',
delDataset: '删除知识库',
delSearch: '删除搜索',
delFile: '删除文件',
delFiles: '删除文件',
delFilesContent: '已选择 {{count}} 个文件',
delChat: '删除聊天',
delMember: '删除成员',
},
},
};