mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-24 16:29:45 +00:00
[i18n] Add commands label translation (#1890)
* [i18n] Add commands label translation * Use translation
This commit is contained in:
@@ -47,7 +47,7 @@ export const useBottomPanelStore = defineStore('bottomPanel', () => {
|
||||
useCommandStore().registerCommand({
|
||||
id: `Workspace.ToggleBottomPanelTab.${tab.id}`,
|
||||
icon: 'pi pi-list',
|
||||
label: tab.title,
|
||||
label: `Toggle ${tab.title} Bottom Panel`,
|
||||
function: () => toggleBottomPanelTab(tab.id)
|
||||
})
|
||||
}
|
||||
|
||||
@@ -27,7 +27,7 @@ export const useSidebarTabStore = defineStore('sidebarTab', () => {
|
||||
useCommandStore().registerCommand({
|
||||
id: `Workspace.ToggleSidebarTab.${tab.id}`,
|
||||
icon: tab.icon,
|
||||
label: tab.tooltip,
|
||||
label: `Toggle ${tab.title} Sidebar`,
|
||||
tooltip: tab.tooltip,
|
||||
versionAdded: '1.3.9',
|
||||
function: () => {
|
||||
|
||||
Reference in New Issue
Block a user