Skip to content

Commit

Permalink
Add Comfy-Desktop.OpenUserGuide in help menu (#1896)
Browse files Browse the repository at this point in the history
* Add Comfy-Desktop.OpenUserGuide in help menu

* Update locales [skip ci]

---------

Co-authored-by: github-actions <[email protected]>
  • Loading branch information
huchenlei and github-actions authored Dec 13, 2024
1 parent 28ab86c commit fc8c10b
Show file tree
Hide file tree
Showing 11 changed files with 32 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/extensions/core/electronAdapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,14 @@ import { electronAPI as getElectronAPI, isElectron } from '@/utils/envUtil'
window.open('https://forum.comfy.org/c/v1-feedback/', '_blank')
}
},
{
id: 'Comfy-Desktop.OpenUserGuide',
label: 'Desktop User Guide',
icon: 'pi pi-book',
function() {
window.open('https://comfyorg.notion.site/', '_blank')
}
},
{
id: 'Comfy-Desktop.Reinstall',
label: 'Reinstall',
Expand Down Expand Up @@ -128,7 +136,10 @@ import { electronAPI as getElectronAPI, isElectron } from '@/utils/envUtil'
menuCommands: [
{
path: ['Help'],
commands: ['Comfy-Desktop.OpenFeedbackPage']
commands: [
'Comfy-Desktop.OpenUserGuide',
'Comfy-Desktop.OpenFeedbackPage'
]
},
{
path: ['Help'],
Expand Down
3 changes: 3 additions & 0 deletions src/locales/en/commands.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
"Comfy-Desktop_OpenFeedbackPage": {
"label": "Feedback"
},
"Comfy-Desktop_OpenUserGuide": {
"label": "Desktop User Guide"
},
"Comfy-Desktop_Reinstall": {
"label": "Reinstall"
},
Expand Down
1 change: 1 addition & 0 deletions src/locales/en/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -635,6 +635,7 @@
"Open Outputs Folder": "Open Outputs Folder",
"Open DevTools": "Open DevTools",
"Feedback": "Feedback",
"Desktop User Guide": "Desktop User Guide",
"Reinstall": "Reinstall",
"Restart": "Restart",
"Browse Templates": "Browse Templates",
Expand Down
3 changes: 3 additions & 0 deletions src/locales/ja/commands.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
"Comfy-Desktop_OpenFeedbackPage": {
"label": "フィードバック"
},
"Comfy-Desktop_OpenUserGuide": {
"label": "デスクトップユーザーガイド"
},
"Comfy-Desktop_Reinstall": {
"label": "再インストール"
},
Expand Down
1 change: 1 addition & 0 deletions src/locales/ja/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@
"ComfyUI Docs": "ComfyUIのドキュメント",
"ComfyUI Issues": "ComfyUIの問題",
"Convert selected nodes to group node": "選択したノードをグループノードに変換",
"Desktop User Guide": "デスクトップユーザーガイド",
"Edit": "編集",
"Export": "エクスポート",
"Export (API)": "エクスポート (API)",
Expand Down
3 changes: 3 additions & 0 deletions src/locales/ko/commands.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
"Comfy-Desktop_OpenFeedbackPage": {
"label": "피드백"
},
"Comfy-Desktop_OpenUserGuide": {
"label": "데스크톱 사용자 가이드"
},
"Comfy-Desktop_Reinstall": {
"label": "재설치"
},
Expand Down
1 change: 1 addition & 0 deletions src/locales/ko/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@
"ComfyUI Docs": "ComfyUI 문서",
"ComfyUI Issues": "ComfyUI 이슈 페이지",
"Convert selected nodes to group node": "선택한 노드를 그룹 노드로 변환",
"Desktop User Guide": "데스크톱 사용자 가이드",
"Edit": "편집",
"Export": "내보내기",
"Export (API)": "내보내기 (API)",
Expand Down
3 changes: 3 additions & 0 deletions src/locales/ru/commands.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
"Comfy-Desktop_OpenFeedbackPage": {
"label": "Обратная связь"
},
"Comfy-Desktop_OpenUserGuide": {
"label": "Руководство пользователя для рабочего стола"
},
"Comfy-Desktop_Reinstall": {
"label": "Переустановить"
},
Expand Down
1 change: 1 addition & 0 deletions src/locales/ru/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@
"ComfyUI Docs": "Документация ComfyUI",
"ComfyUI Issues": "Проблемы ComfyUI",
"Convert selected nodes to group node": "Преобразовать выбранные узлы в групповой узел",
"Desktop User Guide": "Руководство пользователя для настольных ПК",
"Edit": "Редактировать",
"Export": "Экспортировать",
"Export (API)": "Экспорт (API)",
Expand Down
3 changes: 3 additions & 0 deletions src/locales/zh/commands.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
"Comfy-Desktop_OpenFeedbackPage": {
"label": "反馈"
},
"Comfy-Desktop_OpenUserGuide": {
"label": "桌面用户指南"
},
"Comfy-Desktop_Reinstall": {
"label": "重新安装"
},
Expand Down
1 change: 1 addition & 0 deletions src/locales/zh/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@
"ComfyUI Docs": "ComfyUI 文档",
"ComfyUI Issues": "ComfyUI 问题",
"Convert selected nodes to group node": "将选定节点转换为组节点",
"Desktop User Guide": "桌面用户指南",
"Edit": "编辑",
"Export": "导出",
"Export (API)": "导出 (API)",
Expand Down

0 comments on commit fc8c10b

Please sign in to comment.