mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-27 01:39:47 +00:00
* Refactor app menu items (#4665) * Restructures the application menu - rename Workflow to File - move new & template items to top level - add View menu and related sub items Commands - add "active" state getter shown as checkmark in the menu Node side panel - add refresh node defs - change reset view icon Help center - change to use store for visibility Fixes - Fix bug with mouse down where if you drag mouse out, mouse up wasn't caught - Fix issue with canvas info setting not triggering a redraw on change * Fix missing translation warnings * Add separator under new * tidy * Update locales [skip ci] * fix some tests * fix * Hide icon if there is an active state within the menu item group * Update locales [skip ci] * Fix tests * Implement feedback - Remove queue, node lib, model lib, workflows, manager, help center - Add minimap, link visibility * Update locales [skip ci] * Add plus icon on "New" menu item * Update locales [skip ci] * Fix test * Fix translations * Update locales [skip ci] * Update locales [skip ci] --------- Co-authored-by: github-actions <github-actions@github.com> * Update side toolbar menu (#4946) Side toolbar menu UI updates - Currently the template modal is very hidden. Many users do not find it - The current icons are quite aleatory **What**: - Add templates shortcut button - Add item label in normal size - Use custom icon Critical design decisions or edge cases that need attention: - Sidebar tabs registered using custom icons will have their associated command registed with an undefined icon (currently only string icons are accepted, not components). I couldn't see anywhere directly using this icon, but we should consider autogenerating an icon font so we can use classes for our custom icons (or locating and updating locations to support both icon types) Normal mode: <img width="621" height="1034" alt="image" src="https://github.com/user-attachments/assets/c1d1cee2-004e-4ff8-b3fa-197329b0d2ae" /> Small mode: <img width="176" height="325" alt="image" src="https://github.com/user-attachments/assets/3824b8f6-bc96-4e62-aece-f0265113d2e3" /> ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-4946-Update-side-toolbar-menu-24d6d73d365081c5b2bdc0ee8b61dc50) by [Unito](https://www.unito.io) --------- Co-authored-by: github-actions <github-actions@github.com> --------- Co-authored-by: pythongosssss <125205205+pythongosssss@users.noreply.github.com> Co-authored-by: github-actions <github-actions@github.com>
270 lines
6.7 KiB
JSON
270 lines
6.7 KiB
JSON
{
|
||
"Comfy-Desktop_CheckForUpdates": {
|
||
"label": "检查更新"
|
||
},
|
||
"Comfy-Desktop_Folders_OpenCustomNodesFolder": {
|
||
"label": "打开自定义节点文件夹"
|
||
},
|
||
"Comfy-Desktop_Folders_OpenInputsFolder": {
|
||
"label": "打开输入文件夹"
|
||
},
|
||
"Comfy-Desktop_Folders_OpenLogsFolder": {
|
||
"label": "打开日志文件夹"
|
||
},
|
||
"Comfy-Desktop_Folders_OpenModelConfig": {
|
||
"label": "打开 extra_model_paths.yaml"
|
||
},
|
||
"Comfy-Desktop_Folders_OpenModelsFolder": {
|
||
"label": "打开模型文件夹"
|
||
},
|
||
"Comfy-Desktop_Folders_OpenOutputsFolder": {
|
||
"label": "打开输出文件夹"
|
||
},
|
||
"Comfy-Desktop_OpenDevTools": {
|
||
"label": "打开开发者工具"
|
||
},
|
||
"Comfy-Desktop_OpenUserGuide": {
|
||
"label": "桌面用户指南"
|
||
},
|
||
"Comfy-Desktop_Quit": {
|
||
"label": "退出"
|
||
},
|
||
"Comfy-Desktop_Reinstall": {
|
||
"label": "重新安装"
|
||
},
|
||
"Comfy-Desktop_Restart": {
|
||
"label": "重启"
|
||
},
|
||
"Comfy_BrowseTemplates": {
|
||
"label": "浏览模板"
|
||
},
|
||
"Comfy_Canvas_AddEditModelStep": {
|
||
"label": "添加编辑模型步骤"
|
||
},
|
||
"Comfy_Canvas_DeleteSelectedItems": {
|
||
"label": "删除选定的项目"
|
||
},
|
||
"Comfy_Canvas_FitView": {
|
||
"label": "适应视图到选中节点"
|
||
},
|
||
"Comfy_Canvas_MoveSelectedNodes_Down": {
|
||
"label": "下移选中的节点"
|
||
},
|
||
"Comfy_Canvas_MoveSelectedNodes_Left": {
|
||
"label": "向左移动选中节点"
|
||
},
|
||
"Comfy_Canvas_MoveSelectedNodes_Right": {
|
||
"label": "向右移动选中节点"
|
||
},
|
||
"Comfy_Canvas_MoveSelectedNodes_Up": {
|
||
"label": "上移选中的节点"
|
||
},
|
||
"Comfy_Canvas_ResetView": {
|
||
"label": "重置视图"
|
||
},
|
||
"Comfy_Canvas_Resize": {
|
||
"label": "调整选定节点的大小"
|
||
},
|
||
"Comfy_Canvas_ToggleLinkVisibility": {
|
||
"label": "切换链接可见性"
|
||
},
|
||
"Comfy_Canvas_ToggleLock": {
|
||
"label": "锁定视图"
|
||
},
|
||
"Comfy_Canvas_ToggleMinimap": {
|
||
"label": "画布切换小地图"
|
||
},
|
||
"Comfy_Canvas_ToggleSelectedNodes_Bypass": {
|
||
"label": "忽略/取消忽略选中节点"
|
||
},
|
||
"Comfy_Canvas_ToggleSelectedNodes_Collapse": {
|
||
"label": "折叠/展开选中节点"
|
||
},
|
||
"Comfy_Canvas_ToggleSelectedNodes_Mute": {
|
||
"label": "静音/取消静音选中节点"
|
||
},
|
||
"Comfy_Canvas_ToggleSelectedNodes_Pin": {
|
||
"label": "固定/取消固定选中节点"
|
||
},
|
||
"Comfy_Canvas_ToggleSelected_Pin": {
|
||
"label": "固定/取消固定选中项"
|
||
},
|
||
"Comfy_Canvas_ZoomIn": {
|
||
"label": "放大"
|
||
},
|
||
"Comfy_Canvas_ZoomOut": {
|
||
"label": "缩小"
|
||
},
|
||
"Comfy_ClearPendingTasks": {
|
||
"label": "清除待处理任务"
|
||
},
|
||
"Comfy_ClearWorkflow": {
|
||
"label": "清除工作流"
|
||
},
|
||
"Comfy_ContactSupport": {
|
||
"label": "联系支持"
|
||
},
|
||
"Comfy_DuplicateWorkflow": {
|
||
"label": "复制当前工作流"
|
||
},
|
||
"Comfy_ExportWorkflow": {
|
||
"label": "导出工作流"
|
||
},
|
||
"Comfy_ExportWorkflowAPI": {
|
||
"label": "导出工作流(API格式)"
|
||
},
|
||
"Comfy_Feedback": {
|
||
"label": "反馈"
|
||
},
|
||
"Comfy_Graph_ConvertToSubgraph": {
|
||
"label": "将选区转换为子图"
|
||
},
|
||
"Comfy_Graph_ExitSubgraph": {
|
||
"label": "退出子图"
|
||
},
|
||
"Comfy_Graph_FitGroupToContents": {
|
||
"label": "适应节点框到内容"
|
||
},
|
||
"Comfy_Graph_GroupSelectedNodes": {
|
||
"label": "添加框到选中节点"
|
||
},
|
||
"Comfy_GroupNode_ConvertSelectedNodesToGroupNode": {
|
||
"label": "将选中节点转换为组节点"
|
||
},
|
||
"Comfy_GroupNode_ManageGroupNodes": {
|
||
"label": "管理组节点"
|
||
},
|
||
"Comfy_GroupNode_UngroupSelectedGroupNodes": {
|
||
"label": "解散选中组节点"
|
||
},
|
||
"Comfy_Help_AboutComfyUI": {
|
||
"label": "打开关于ComfyUI"
|
||
},
|
||
"Comfy_Help_OpenComfyOrgDiscord": {
|
||
"label": "打开Comfy-Org Discord"
|
||
},
|
||
"Comfy_Help_OpenComfyUIDocs": {
|
||
"label": "打开ComfyUI文档"
|
||
},
|
||
"Comfy_Help_OpenComfyUIForum": {
|
||
"label": "打开 Comfy-Org 论坛"
|
||
},
|
||
"Comfy_Help_OpenComfyUIIssues": {
|
||
"label": "打开ComfyUI问题"
|
||
},
|
||
"Comfy_Interrupt": {
|
||
"label": "中断"
|
||
},
|
||
"Comfy_LoadDefaultWorkflow": {
|
||
"label": "加载默认工作流"
|
||
},
|
||
"Comfy_Manager_CustomNodesManager": {
|
||
"label": "自定义节点管理器"
|
||
},
|
||
"Comfy_Manager_ToggleManagerProgressDialog": {
|
||
"label": "切换进度对话框"
|
||
},
|
||
"Comfy_MaskEditor_BrushSize_Decrease": {
|
||
"label": "减小 MaskEditor 中的笔刷大小"
|
||
},
|
||
"Comfy_MaskEditor_BrushSize_Increase": {
|
||
"label": "增加 MaskEditor 画笔大小"
|
||
},
|
||
"Comfy_MaskEditor_OpenMaskEditor": {
|
||
"label": "打开选中节点的遮罩编辑器"
|
||
},
|
||
"Comfy_NewBlankWorkflow": {
|
||
"label": "新建空白工作流"
|
||
},
|
||
"Comfy_OpenClipspace": {
|
||
"label": "打开剪贴板"
|
||
},
|
||
"Comfy_OpenManagerDialog": {
|
||
"label": "管理器"
|
||
},
|
||
"Comfy_OpenWorkflow": {
|
||
"label": "打开工作流"
|
||
},
|
||
"Comfy_QueuePrompt": {
|
||
"label": "执行提示词"
|
||
},
|
||
"Comfy_QueuePromptFront": {
|
||
"label": "执行提示词(前端)"
|
||
},
|
||
"Comfy_QueueSelectedOutputNodes": {
|
||
"label": "队列所选输出节点"
|
||
},
|
||
"Comfy_Redo": {
|
||
"label": "重做"
|
||
},
|
||
"Comfy_RefreshNodeDefinitions": {
|
||
"label": "刷新节点定义"
|
||
},
|
||
"Comfy_SaveWorkflow": {
|
||
"label": "保存工作流"
|
||
},
|
||
"Comfy_SaveWorkflowAs": {
|
||
"label": "另存工作流"
|
||
},
|
||
"Comfy_ShowSettingsDialog": {
|
||
"label": "显示设置对话框"
|
||
},
|
||
"Comfy_ToggleCanvasInfo": {
|
||
"label": "畫布效能"
|
||
},
|
||
"Comfy_ToggleHelpCenter": {
|
||
"label": "說明中心"
|
||
},
|
||
"Comfy_ToggleTheme": {
|
||
"label": "切换主题"
|
||
},
|
||
"Comfy_Undo": {
|
||
"label": "撤销"
|
||
},
|
||
"Comfy_User_OpenSignInDialog": {
|
||
"label": "打开登录对话框"
|
||
},
|
||
"Comfy_User_SignOut": {
|
||
"label": "退出登录"
|
||
},
|
||
"Workspace_CloseWorkflow": {
|
||
"label": "关闭当前工作流"
|
||
},
|
||
"Workspace_NextOpenedWorkflow": {
|
||
"label": "下一个打开的工作流"
|
||
},
|
||
"Workspace_PreviousOpenedWorkflow": {
|
||
"label": "上一个打开的工作流"
|
||
},
|
||
"Workspace_SearchBox_Toggle": {
|
||
"label": "切换搜索框"
|
||
},
|
||
"Workspace_ToggleBottomPanel": {
|
||
"label": "切换底部面板"
|
||
},
|
||
"Workspace_ToggleBottomPanelTab_command-terminal": {
|
||
"label": "切换终端底部面板"
|
||
},
|
||
"Workspace_ToggleBottomPanelTab_logs-terminal": {
|
||
"label": "切换日志底部面板"
|
||
},
|
||
"Workspace_ToggleFocusMode": {
|
||
"label": "切换焦点模式"
|
||
},
|
||
"Workspace_ToggleSidebarTab_model-library": {
|
||
"label": "切换模型库侧边栏",
|
||
"tooltip": "模型库"
|
||
},
|
||
"Workspace_ToggleSidebarTab_node-library": {
|
||
"label": "切换节点库侧边栏",
|
||
"tooltip": "节点库"
|
||
},
|
||
"Workspace_ToggleSidebarTab_queue": {
|
||
"label": "切换执行队列侧边栏",
|
||
"tooltip": "执行队列"
|
||
},
|
||
"Workspace_ToggleSidebarTab_workflows": {
|
||
"label": "切换工作流侧边栏",
|
||
"tooltip": "工作流"
|
||
}
|
||
} |