Migrate main workflow i18n

This commit is contained in:
DemonGatanjieu
2026-08-06 17:14:22 +08:00
parent 09d3eccf40
commit cc48b0216c
4 changed files with 124 additions and 43 deletions
+58
View File
@@ -237,6 +237,35 @@ export const i18n = {
pickerNoMatches: '没有符合条件的模型。',
pickerOperationFailed: '操作失败:',
notebookSelectMain: '请先选择一个主模型。',
mainPreflightTitle: '📥 导入工作流 (预检海关)',
mainPreflightDesc: '请在此处粘贴工作流的 JSON 代码(未来将支持分享码)。我们将为您提取并校验所有模型依赖。',
mainCancel: '取消',
mainAnalyzePreflight: '🔍 解析并预检',
mainForceLoad: '🚀 强制载入画布',
mainNoDependencies: '✅ 未检测到任何模型依赖。',
mainDetectedModels: '扫描到 {count} 个模型资源:',
mainDownloadCivitai: '去 C站下载',
mainReady: '已就绪',
mainInvalidJson: '无效的 JSON!',
mainOpenTitle: '打开 Anomalous 模型浏览器',
mainRetryInit: '插件界面初始化失败,点击可重试',
mainRetryInitEn: 'The plugin UI failed to initialize. Click to retry.',
mainExportTitle: '📦 导出工作流分享码',
mainSkeletonOption: '精简版 (推荐 B站评论区, 体积小, 丢失坐标)',
mainFullOption: '完整版 (保留所有坐标与颜色, 较长)',
mainGenerate: '生成分享码',
mainCopyClipboard: '复制到剪贴板',
mainClose: '关闭',
mainCopied: '✅ 复制成功!',
mainImportTitle: '📥 导入工作流分享码',
mainSharePlaceholder: '粘贴 AMB0- 或 AMB1- 开头的分享码...',
mainImportLoad: '导入并加载',
mainShareEmpty: '❌ 分享码为空',
mainImportedNodes: '✅ 成功导入 {count} 个节点配置',
mainDecodeFailed: '❌ 解析失败: ',
mainUnifiedTitle: '🔄 工作流分享与导入',
mainExportWorkflow: '📤 导出当前工作流为分享码',
mainImportWorkflow: '📥 从分享码导入工作流',
closeHelp: '关闭说明',
delSure: '⚠️ 确定吗?',
dockTitle: '侧边停靠',
@@ -728,6 +757,35 @@ export const i18n = {
pickerNoMatches: 'No models match the current filters.',
pickerOperationFailed: 'Operation failed: ',
notebookSelectMain: 'Please select a Main Model first.',
mainPreflightTitle: '📥 Pre-flight Import Workflow',
mainPreflightDesc: 'Paste the workflow JSON here. We will extract and validate all model dependencies before loading.',
mainCancel: 'Cancel',
mainAnalyzePreflight: '🔍 Analyze & Pre-flight',
mainForceLoad: '🚀 Force Load to Canvas',
mainNoDependencies: '✅ No model dependencies detected.',
mainDetectedModels: 'Detected {count} model resources:',
mainDownloadCivitai: 'Download',
mainReady: 'Ready',
mainInvalidJson: 'Invalid JSON!',
mainOpenTitle: 'Open Anomalous Model Browser',
mainRetryInit: '插件界面初始化失败,点击可重试',
mainRetryInitEn: 'The plugin UI failed to initialize. Click to retry.',
mainExportTitle: '📦 Export Workflow Share Code',
mainSkeletonOption: 'Skeleton (Compact, best for comments, loses coords)',
mainFullOption: 'Full (Keeps coords and colors, longer string)',
mainGenerate: 'Generate',
mainCopyClipboard: 'Copy',
mainClose: 'Close',
mainCopied: '✅ Copied successfully!',
mainImportTitle: '📥 Import Workflow Share Code',
mainSharePlaceholder: 'Paste AMB0- or AMB1- share code here...',
mainImportLoad: 'Import & Load',
mainShareEmpty: '❌ Share code is empty',
mainImportedNodes: '✅ Successfully imported {count} nodes',
mainDecodeFailed: '❌ Decode Failed: ',
mainUnifiedTitle: '🔄 Workflow Share & Import',
mainExportWorkflow: '📤 Export Workflow to Share Code',
mainImportWorkflow: '📥 Import Workflow from Share Code',
closeHelp: 'Close Manual',
delSure: '⚠️ Sure?',
dockTitle: 'Dock to Left',