| export const i18n = { | |
| zh: { | |
| title: '📦 Anomalous 模型浏览器', | |
| scan: '🔄 扫描目录并同步 C 站数据', | |
| scanTitle: '扫描目录', | |
| scanConfirm: '注意:\n扫描过程将会自动比对 Civitai 并重命名本地模型,同时清理损坏文件。\n确定要开始扫描吗?', | |
| scanning: '扫描中...', | |
| scanBg: '🚀 扫描后台启动!', | |
| scanDone: '完成', | |
| scanCompleteMsg: '✅ 扫描完成!\n\n⚠️ 提示:由于部分模型已被重命名或去重,请点击 ComfyUI 的 [Refresh] 按钮以同步最新的模型列表。', | |
| eco: '🔋 视频悬浮播放 (节能模式)', | |
| autoPlay: '🎬 自动播放视频封面 (高能耗)', | |
| togglePlayTitle: '切换播放模式', | |
| clean: '🧹 清理无效的 .info 残留文件', | |
| cleanTitle: '清理重复 Info', | |
| cleanConfirm: '将扫描并删除所有无用的 .civitai.info 残留文件。是否继续?', | |
| cleaning: '清理中', | |
| cleanDone: '✅ 清理完毕!删除了', | |
| files: '个文件。', | |
| cleanFail: '❌ 清理失败: ', | |
| cleanErr: '❌ 清理出错: ', | |
| folders: '📂 文件夹', | |
| collapseAll: '➖ 收起全部', | |
| expandAll: '➕ 展开全部', | |
| noModels: '此文件夹中没有找到模型。', | |
| noPreview: '暂无预览图', | |
| clickScan: '点击扫描', | |
| back: '⬅️ 返回网格', | |
| delModel: '🗑️ 删除', | |
| delConfirm: '确定彻底删除', | |
| delConfirm2: '及其所有关联配置、预览图和缓存文件吗?此操作不可逆!', | |
| delSuccess: '✅ 删除成功!\n', | |
| delNote: '\n\n⚠️ 提示:请重启 ComfyUI,否则由于缓存继续使用会报错', | |
| delFail: '❌ 删除失败: ', | |
| copyAll: '📋 复制全部', | |
| copied: '✅ 已复制!', | |
| clickToCopy: '点击复制: ', | |
| compatibleModels: '🔗 兼容模型', | |
| loadingCompatible: '加载中...', | |
| backToPrev: '🔙 返回上一层', | |
| applyToCanvas: '➕ 插入节点', | |
| applySuccess: '✅ 已添加至工作流', | |
| help: '帮助', | |
| helpTitle: '📖 使用手册', | |
| helpContent: ` | |
| <div style="line-height: 1.6; font-size: 0.95em; color: #eee; padding: 10px;"> | |
| <h3 style="color:#00ffcc; margin-top:0;">📖 标准操作说明</h3> | |
| <p><strong>1. 🔄 前置准备 (扫描向导)</strong><br>具体位置:界面左侧底部的 <strong>扫描向导 (🔄)</strong>。<br>这是最重要的前置操作!请先打开扫描向导执行扫描。切记保持网络畅通。部分 C站限制级模型信息需要在设置中填入 API-KEY。扫描完成后,插件的各项功能基本激活。</p> | |
| <p><strong>2. 🩺 拯救爆红 (模型医生)</strong><br>具体位置:左侧底部第二个 <strong>听诊器 (🩺)</strong> 按钮。<br>当导入别人使用该插件输出的工作流或者图片时,若模型路径爆红,点击模型医生就能智能识别当前所有节点实现正确路径的替换。</p> | |
| <p><strong>3. 🤖 选中交互 (节点助手)</strong><br>具体位置:左侧第三个 <strong>机器人 (🤖)</strong> 按钮。<br>打开后在画布上选择模型节点。新版操作卡可以替换当前模型,也可在兼容的 MODEL + CLIP 链前方或后方插入 LoRA。模型卡会标注类别与基础模型类型;选择 LoRA 时会优先按已连接主模型的类型自动筛选,也可切回全部 LoRA。文件夹、完整路径搜索、排序和多分支安全保护仍然保留。</p> | |
| <p><strong>4. ⚙️ 个性化配置 (设置面板)</strong><br>具体位置:左侧底部的 <strong>齿轮 (⚙️)</strong> 按钮。<br>可以调节语言、主页面字体大小;进入“模型设置”可选择视频封面始终播放或悬停播放,以及卡片使用流畅缩略图或原始封面。详情页始终保留原图画质。</p> | |
| <p><strong>5. 📑 顶部导航与笔记本功能</strong><br>具体位置:右侧顶部的按钮分别为 <strong>模型 (📦)</strong>、<strong>图库 (🖼️)</strong>、<strong>笔记本 (📑)</strong>、<strong>停靠侧边栏 (◧)</strong>。<br>点击笔记本,点击新建 <strong>➕</strong> 号。确认后选择基础模型(如SD1.5),接着选择主模型和对应的 lora。点击下方的 <strong>📝纯文本/粘贴</strong> 填入提示词,选择左上角的语言即可实现双语对照。确认后自动分块标签,支持查找替换和直接修改单个标签。最后点击 <strong>🚀 发送到画布</strong> 即可一键连线!</p> | |
| <p><strong>6. 📁 文件夹管理 (Folder Manager)</strong><br>具体位置:设置 (⚙️) 面板内的 <strong>📁 文件夹管理</strong>。<br>可以用来隐藏不需要的内置文件夹。隐藏后的文件夹不仅从侧边栏消失,后端的静默扫描和本地读取也会完全跳过,实现真正的“零性能损耗”。并且可以在这里拖拽调整文件夹在侧边栏显示的顺序。</p> | |
| <p><strong>7. 📥 工作流导出与导入 (分享码)</strong><br>具体位置:设置 (⚙️) 按钮左侧的 <strong>导入/导出 (📥)</strong> 按钮。<br>该功能可以将当前的工作流一键编码导出为一段专属分享码,方便发到社交平台。别人只需复制这串分享码,在此界面粘贴即可直接还原导入完整的工作流,并且在导入前系统会自动校验模型是否在本地存在。</p> | |
| <p><strong>8. 💬 提交反馈 / 报告问题</strong><br>具体位置:设置 (⚙️) 面板内的 <strong>💬 提交反馈 / 报告问题</strong>。<br>当你遇到插件报错或有新功能建议时,点击该按钮可一键直达 GitHub Issues 页面提交反馈。</p> | |
| </div>`, | |
| notebooks: '笔记本', | |
| notebookTitle: '笔记本管理', | |
| createNotebook: '新建', | |
| saveNotebook: '💾 保存', | |
| deleteNotebook: '🗑️ 删除', | |
| renameNotebook: '✏️ 重命名', | |
| baseModel: 'Base Model (基础模型)', | |
| mainModel: 'Main Model (主模型)', | |
| sendToCanvas: '🚀 发送到画布', | |
| translate: '翻译', | |
| newNotebookName: '新笔记本名称', | |
| noBaseModel: '请先选择 Base Model', | |
| closeHelp: '关闭说明', | |
| delSure: '⚠️ 确定吗?', | |
| dockTitle: '侧边停靠', | |
| replaceAll: '全部替换', | |
| editRaw: '📝 纯文本/粘贴', | |
| findPlaceholder: '查找...', | |
| replacePlaceholder: '替换为...', | |
| models: '模型', | |
| gallery: '图库', | |
| apiKeyConfig: '🔑 Civitai API 密钥配置 (用于下载封面)', | |
| apiKeyPrompt: '请输入你的 Civitai API Key:', | |
| settingsBtn: '设置', | |
| closeSettings: '✖ 关闭设置面板', | |
| doctorBtn: '节点助手', | |
| importBtn: '📥 导入 / 导出工作流 (分享码)', | |
| }, | |
| en: { | |
| title: '📦 Anomalous Model Browser', | |
| scan: '🔄 Scan folder and sync Civitai data', | |
| scanTitle: 'Scan Folder', | |
| scanConfirm: 'Notice:\nThe scan process will automatically compare with Civitai and rename your local files.\nStart scan?', | |
| scanning: 'Scanning...', | |
| scanBg: '🚀 Scan started in background!', | |
| scanDone: 'Done', | |
| scanCompleteMsg: '✅ Scan Complete!\n\n⚠️ Note: Please click [Refresh] to sync the model list since files were renamed.', | |
| eco: '🔋 Eco Mode (Play video on hover)', | |
| autoPlay: '🎬 AutoPlay Videos (High perf cost)', | |
| togglePlayTitle: 'Toggle Play Mode', | |
| clean: '🧹 Clean orphaned .info files', | |
| cleanTitle: 'Clean Duplicate Info', | |
| cleanConfirm: 'This will globally scan and delete all redundant .civitai.info files. Continue?', | |
| cleaning: 'Cleaning', | |
| cleanDone: '✅ Clean Complete! Deleted', | |
| files: 'files.', | |
| cleanFail: '❌ Failed: ', | |
| cleanErr: '❌ Error: ', | |
| folders: '📂 Folders', | |
| collapseAll: '➖ Collapse All', | |
| expandAll: '➕ Expand All', | |
| noModels: 'No models found in this folder.', | |
| noPreview: 'No preview available', | |
| clickScan: 'Click Scan', | |
| back: '⬅️ Back to grid', | |
| delModel: '🗑️ Delete', | |
| delConfirm: 'Are you sure you want to permanently delete', | |
| delConfirm2: ' and all its associated configs, previews, and cache files? This action is irreversible!', | |
| delSuccess: '✅ Delete Complete!\n', | |
| delNote: '\n\n⚠️ Note: Please restart ComfyUI, otherwise continuing to use it due to cache will cause errors.', | |
| delFail: '❌ Delete Failed: ', | |
| copyAll: '📋 Copy All', | |
| copied: '✅ Copied!', | |
| clickToCopy: 'Click to copy: ', | |
| compatibleModels: '🔗 Compatible Models', | |
| loadingCompatible: 'Loading...', | |
| backToPrev: '🔙 Back to prev', | |
| applyToCanvas: '➕ Add Node', | |
| applySuccess: '✅ Added to workflow', | |
| help: 'Help', | |
| helpTitle: '📖 User Manual', | |
| helpContent: ` | |
| <div style="line-height: 1.6; font-size: 0.95em; color: #eee; padding: 10px;"> | |
| <h3 style="color:#00ffcc; margin-top:0;">📖 Step-by-Step Guide</h3> | |
| <p><strong>1. 🔄 Prerequisites (Scan Wizard)</strong><br>Location: The <strong>Scan (🔄)</strong> icon at the bottom left.<br>This is the most crucial step! Open the Scan Wizard and execute a scan. Keep your network connected. (API-KEY may be needed in Settings for NSFW Civitai models). Scanning activates all core features.</p> | |
| <p><strong>2. 🩺 Fix Broken Nodes (Model Doctor)</strong><br>Location: The 2nd icon <strong>(Stethoscope 🩺)</strong> from the bottom left.<br>When importing a workflow/image exported by this plugin and nodes turn red, open the Model Doctor to intelligently identify and replace them with correct local paths.</p> | |
| <p><strong>3. 🤖 Visual Info (Node Assistant)</strong><br>Location: The 3rd icon <strong>(Robot 🤖)</strong> from the bottom left.<br>The redesigned action card can replace the current model or insert a LoRA before/after a compatible MODEL + CLIP chain. Picker cards show category and base-model badges. LoRA choices default to the connected main model's type when metadata is available, with an option to show all LoRAs. Folder browsing, full-path search, sorting, and ambiguous-branch protection remain available.</p> | |
| <p><strong>4. ⚙️ Settings Panel</strong><br>Location: The <strong>Gear (⚙️)</strong> icon at the bottom left.<br>Adjust language and UI scale. Open “Model Settings” to choose always-play or hover-play video covers and optimized thumbnails or original covers. Detail pages always retain original image quality.</p> | |
| <p><strong>5. 📑 Top Navigation & Notebook</strong><br>Location: Top right tabs <strong>Models (📦)</strong>, <strong>Gallery (🖼️)</strong>, <strong>Notebook (📑)</strong>, <strong>Dock (◧)</strong>.<br>Click Notebook -> click <strong>➕</strong> -> select Base Model (e.g. SD1.5) -> pick Main Model & LoRA. Click <strong>📝 Edit Raw/Paste</strong> to input prompts, select language on top-left for bilingual translation. Confirm to auto-chunk tags (supports find/replace & direct edit). Finally, click <strong>🚀 Send to Canvas</strong>!</p> | |
| <p><strong>6. 📁 Folder Manager</strong><br>Location: Inside the Settings (⚙️) panel, click <strong>📁 Manage Folders</strong>.<br>Use this to hide unneeded built-in folders. Hidden folders will be completely skipped by background scans and I/O reads, achieving true "zero performance cost". You can also drag and drop to reorder how folders appear in the sidebar.</p> | |
| <p><strong>7. 📥 Workflow Export & Import (Share Code)</strong><br>Location: The <strong>Import/Export (📥)</strong> icon to the left of the Settings gear.<br>You can encode your current workflow into a single share code for easy sharing on social platforms. Others can simply copy this code and paste it here to instantly import the workflow. The system will also automatically pre-check if the required models exist locally.</p> | |
| <p><strong>8. 💬 Submit Feedback / Report Bug</strong><br>Location: Inside the Settings (⚙️) panel, click <strong>💬 Submit Feedback / Report Bug</strong>.<br>If you encounter bugs or have feature requests, click this to go directly to our GitHub Issues page.</p> | |
| </div>`, | |
| notebooks: 'Notebooks', | |
| notebookTitle: 'Notebook Manager', | |
| createNotebook: 'New', | |
| saveNotebook: '💾 Save', | |
| deleteNotebook: '🗑️ Delete', | |
| renameNotebook: '✏️ Rename', | |
| baseModel: 'Base Model', | |
| mainModel: 'Main Model', | |
| sendToCanvas: '🚀 Send to Canvas', | |
| translate: 'Translate', | |
| newNotebookName: 'New Notebook Name', | |
| noBaseModel: 'Select a Base Model first', | |
| closeHelp: 'Close Manual', | |
| delSure: '⚠️ Sure?', | |
| dockTitle: 'Dock to Left', | |
| replaceAll: 'Replace All', | |
| editRaw: '📝 Edit Raw / Paste', | |
| findPlaceholder: 'Find...', | |
| replacePlaceholder: 'Replace with...', | |
| models: 'Models', | |
| gallery: 'Gallery', | |
| apiKeyConfig: '🔑 Civitai API Key Config (For downloading previews)', | |
| apiKeyPrompt: 'Enter your Civitai API Key:', | |
| settingsBtn: 'Settings', | |
| closeSettings: '✖ Close Settings', | |
| doctorBtn: 'Node Assistant', | |
| importBtn: '📥 Import / Export Workflow (Share Code)', | |
| } | |
| }; | |