Translate command label on top command dropdown menu (#1792)

* collect i18n with playwright

* Add command label translation

* Normalize i18n object key
This commit is contained in:
Chenlei Hu
2024-12-04 10:19:53 -08:00
committed by GitHub
parent 2caa87d35d
commit 7986aebf27
12 changed files with 317 additions and 24 deletions

View File

@@ -1,3 +1,4 @@
import type { ComfyCommand } from '@/stores/commandStore'
import { Component } from 'vue'
export interface BaseSidebarTabExtension {
@@ -108,5 +109,6 @@ export interface ExtensionManager {
}
export interface CommandManager {
commands: ComfyCommand[]
execute(command: string, errorHandler?: (error: any) => void): void
}