File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
src/features/nodes/components/sidePanel/workflow/WorkflowLibrary Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 16851685 "created" : " Created" ,
16861686 "descending" : " Descending" ,
16871687 "workflows" : " Workflows" ,
1688- "workflowLibrary" : " Library" ,
1688+ "workflowLibrary" : " Workflow Library" ,
16891689 "loadMore" : " Load More" ,
16901690 "allLoaded" : " All Workflows Loaded" ,
16911691 "searchPlaceholder" : " Search by name, description or tags" ,
Original file line number Diff line number Diff line change @@ -9,12 +9,14 @@ import {
99 ModalOverlay ,
1010} from '@invoke-ai/ui-library' ;
1111import { useWorkflowLibraryModal } from 'features/nodes/store/workflowLibraryModal' ;
12+ import { useTranslation } from 'react-i18next' ;
1213
1314import { WorkflowLibrarySideNav } from './WorkflowLibrarySideNav' ;
1415import { WorkflowLibraryTopNav } from './WorkflowLibraryTopNav' ;
1516import { WorkflowList } from './WorkflowList' ;
1617
1718export const WorkflowLibraryModal = ( ) => {
19+ const { t } = useTranslation ( ) ;
1820 const workflowLibraryModal = useWorkflowLibraryModal ( ) ;
1921 return (
2022 < Modal isOpen = { workflowLibraryModal . isOpen } onClose = { workflowLibraryModal . close } isCentered >
@@ -25,7 +27,7 @@ export const WorkflowLibraryModal = () => {
2527 h = "calc(100% - var(--invoke-sizes-40))"
2628 maxH = "calc(100% - var(--invoke-sizes-40))"
2729 >
28- < ModalHeader > Workflow Library </ ModalHeader >
30+ < ModalHeader > { t ( 'workflows.workflowLibrary' ) } </ ModalHeader >
2931 < ModalCloseButton />
3032 < ModalBody pb = { 6 } >
3133 < Flex gap = { 4 } h = "100%" >
You can’t perform that action at this time.
0 commit comments