mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
feat(ui): rename tabs
- "Text to Image" -> "Generation" - "Unified Canvas" -> "Canvas" - "Model Manager" -> "Models"
This commit is contained in:
parent
a6ac184211
commit
7c1f1076b4
@ -1557,5 +1557,14 @@
|
|||||||
"opacityFilter": "Opacity Filter",
|
"opacityFilter": "Opacity Filter",
|
||||||
"clearProcessor": "Clear Processor",
|
"clearProcessor": "Clear Processor",
|
||||||
"resetProcessor": "Reset Processor to Defaults"
|
"resetProcessor": "Reset Processor to Defaults"
|
||||||
|
},
|
||||||
|
"ui": {
|
||||||
|
"tabs": {
|
||||||
|
"generation": "Generation",
|
||||||
|
"canvas": "Canvas",
|
||||||
|
"workflows": "Workflows",
|
||||||
|
"models": "Models",
|
||||||
|
"queue": "Queue"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -46,31 +46,31 @@ type TabData = {
|
|||||||
const TAB_DATA: Record<InvokeTabName, TabData> = {
|
const TAB_DATA: Record<InvokeTabName, TabData> = {
|
||||||
txt2img: {
|
txt2img: {
|
||||||
id: 'txt2img',
|
id: 'txt2img',
|
||||||
translationKey: 'common.txt2img',
|
translationKey: 'ui.tabs.generation',
|
||||||
icon: <RiInputMethodLine />,
|
icon: <RiInputMethodLine />,
|
||||||
content: <TextToImageTab />,
|
content: <TextToImageTab />,
|
||||||
},
|
},
|
||||||
unifiedCanvas: {
|
unifiedCanvas: {
|
||||||
id: 'unifiedCanvas',
|
id: 'unifiedCanvas',
|
||||||
translationKey: 'common.unifiedCanvas',
|
translationKey: 'ui.tabs.canvas',
|
||||||
icon: <RiBrushLine />,
|
icon: <RiBrushLine />,
|
||||||
content: <UnifiedCanvasTab />,
|
content: <UnifiedCanvasTab />,
|
||||||
},
|
},
|
||||||
nodes: {
|
nodes: {
|
||||||
id: 'nodes',
|
id: 'nodes',
|
||||||
translationKey: 'common.nodes',
|
translationKey: 'ui.tabs.workflows',
|
||||||
icon: <PiFlowArrowBold />,
|
icon: <PiFlowArrowBold />,
|
||||||
content: <NodesTab />,
|
content: <NodesTab />,
|
||||||
},
|
},
|
||||||
modelManager: {
|
modelManager: {
|
||||||
id: 'modelManager',
|
id: 'modelManager',
|
||||||
translationKey: 'modelManager.modelManager',
|
translationKey: 'ui.tabs.models',
|
||||||
icon: <RiBox2Line />,
|
icon: <RiBox2Line />,
|
||||||
content: <ModelManagerTab />,
|
content: <ModelManagerTab />,
|
||||||
},
|
},
|
||||||
queue: {
|
queue: {
|
||||||
id: 'queue',
|
id: 'queue',
|
||||||
translationKey: 'queue.queue',
|
translationKey: 'ui.tabs.queue',
|
||||||
icon: <RiPlayList2Fill />,
|
icon: <RiPlayList2Fill />,
|
||||||
content: <QueueTab />,
|
content: <QueueTab />,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user