feat(web): app share

This commit is contained in:
zhaoying
2026-03-13 17:27:52 +08:00
parent f0c3d5f308
commit 90c8ff35d1
41 changed files with 2044 additions and 163 deletions

View File

@@ -458,6 +458,7 @@ export const en = {
imageSquareRequired: 'Please upload a square image',
nameInvalid: 'Name cannot start or end with a space',
notAllSpaces: 'Cannot be all spaces',
view: 'View',
},
model: {
searchPlaceholder: 'search model…',
@@ -1370,7 +1371,58 @@ export const en = {
gotoList: 'Return to Application List',
gotoDetail: 'View Details',
dify: 'Dify',
pleaseUploadFile: 'Please upload workflow file',
setting: 'Settings',
funConfig: 'Features',
fileUpload: 'File Upload',
fileUploadDesc: 'The chat input box supports file uploads. Types include images, documents, and other types',
settings: 'File Upload Settings',
uploadType: 'Upload Type',
local: 'Local Upload',
both: 'Both',
maxSize: 'Maximum Upload',
maxSizeDesc: 'Documents < 200.00MB, Images < 10.00MB, Audio < 50.00MB, Video < 100.00MB',
supportedTypes: 'Supported File Types',
document: 'Document',
image: 'Image',
audio: 'Audio',
video: 'Video',
other: 'Other File Types',
otherFormats: 'Specify other file types',
maxCount: 'Max Files',
singleMaxSize: 'Max Size',
unix: 'items',
textTranfer: 'Text to Speech',
textTranferDesc: 'Text can be converted to speech',
apps: 'My Apps',
sharing: 'Sharing',
sharingApp: 'Shared Apps',
myShare: 'My Shares',
selectTargetSpace: 'Select Target Space',
alreadyShared: 'Already Shared',
permissionMode: 'Permission Mode',
readonlyMode: 'Use Shared',
readonlyModeDesc: 'Can test and run, cannot view internals',
editableMode: 'Copy Shared',
editableModeDesc: 'Copy full replica, free to edit',
confirmSharing: 'Confirm Sharing',
selectAtLeastOneSpace: 'Please select at least one target space',
test: 'Conversation Test',
log: 'Logs',
testChatEmpty: 'Send a message to test the shared app',
allCancel: 'Cancel All',
cancelShare: 'Cancel Sharing',
confirmAppCancelShareDesc: 'Are you sure to cancel sharing of 【{{app}}】 app with 【{{workspace}}】 space? The other party will no longer have access after cancellation.',
confirmWorkspaceCancelShareDesc: 'Are you sure to cancel all apps shared with 【{{workspace}}】? This action cannot be undone.',
sourceActive: 'Active',
sourceInactive: 'Inactive',
readonly: 'Use Only',
editable: 'Copyable',
version: 'Version',
permission: 'Permission',
souceStatus: 'Source App Status',
confirmCopyDesc: 'Are you sure to copy 【{{app}}】 app?',
noShareAuth: 'No permission to share apps',
},
userMemory: {
userMemory: 'User Memory',

View File

@@ -755,6 +755,58 @@ export const zh = {
gotoDetail: '查看详情',
dify: 'Dify',
pleaseUploadFile: '请上传工作流文件',
setting: '设置',
funConfig: '功能',
fileUpload: '文件上传',
fileUploadDesc: '聊天输入框支持上传文件。类型包括图片、文档以及其它类型',
settings: '文件上传设置',
uploadType: '上传类型',
local: '本地上传',
both: '两者皆可',
maxSize: '最大上传大小',
maxSizeDesc: '文档 < 200.00MB,图片 < 10.00MB,音频 < 50.00MB,视频 < 100.00MB',
supportedTypes: '支持的文件类型',
document: '文档',
image: '图片',
audio: '音频',
video: '视频',
other: '其他文件类型',
otherFormats: '指定其他文件类型',
maxCount: '最大文件数',
singleMaxSize: '单文件最大大小',
unix: '个',
textTranfer: '文字转语音',
textTranferDesc: '文本可以转换成语言',
apps: '我的应用',
sharing: '共享',
sharingApp: '共享应用',
myShare: '我的共享',
selectTargetSpace: '选择目标空间',
alreadyShared: '已共享',
permissionMode: '权限模式',
readonlyMode: '使用共享',
readonlyModeDesc: '可测试运行,不可查看内部',
editableMode: '复制共享',
editableModeDesc: '复制完整副本,自由编辑',
confirmSharing: '确认共享',
selectAtLeastOneSpace: '请选择至少一个目标空间',
test: '对话测试',
log: '日志',
testChatEmpty: '发送消息测试共享应用效果',
allCancel: '全部取消',
cancelShare: '取消共享',
confirmAppCancelShareDesc: '确定取消该【{{app}}】应用对【{{workspace}}】空间的共享?取消后对方将无法访问。',
confirmWorkspaceCancelShareDesc: '确定取消所有共享给【{{workspace}}】的应用?此操作不可恢复。',
sourceActive: '生效中',
sourceInactive: '已失效',
readonly: '仅使用',
editable: '可复制',
version: '版本号',
permission: '权限',
souceStatus: '源应用状态',
confirmCopyDesc: '确定复制【{{app}}】应用?',
noShareAuth: '无共享应用的权限',
},
table: {
totalRecords: '共 {{total}} 条记录'
@@ -1038,6 +1090,7 @@ export const zh = {
imageSquareRequired: '请上传正方形比例图片',
nameInvalid: '不能是空格开头或结尾',
notAllSpaces: '不能是纯空格',
view: '查看',
},
model: {
searchPlaceholder: '搜索模型…',
@@ -2544,7 +2597,7 @@ export const zh = {
memoryHealthVisualization: '记忆健康可视化',
activationValueDistribution: '激活值分布',
forgettingTrend: '遗忘趋势近7天',
nodes_without_activation: '观察区',
low_activation_nodes: '遗忘区',
health_nodes: '健康区',