File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ import { useReactToPrint } from 'react-to-print';
1010import Measuring from '@/components/icons/measuring.svg?react' ;
1111import SyntheticDataSettings from '@/components/SyntheticDataSettings' ;
1212import { SyntheticDataInfo } from '@/components/synthetic-data-interfaces/cluster-export' ;
13+ import LanguageSwitcher from '@/components/ui/languageSwitcher' ;
14+ import { useTranslation } from 'react-i18next' ;
1315
1416const PAGE_STYLE = `
1517 @page {
@@ -50,7 +52,7 @@ export default function SyntheticDataGeneration() {
5052 contentRef : contentRef ,
5153 pageStyle : PAGE_STYLE ,
5254 } ) ;
53-
55+ const { t } = useTranslation ( ) ;
5456 const {
5557 loading,
5658 initialised,
@@ -104,6 +106,7 @@ export default function SyntheticDataGeneration() {
104106
105107 return (
106108 < main ref = { contentRef } className = "gap-4 p-4 flex flex-col" >
109+ < LanguageSwitcher />
107110 < div className = "relative flex-1 flex-col items-start" >
108111 < SyntheticDataSettings
109112 onRun = { onRun }
@@ -129,7 +132,7 @@ export default function SyntheticDataGeneration() {
129132 onClick = { ( ) => reactToPrintFn ( ) }
130133 >
131134 < Share className = "size-3.5 mr-2" />
132- Share
135+ { t ( 'shareButton' ) }
133136 </ Button >
134137 </ div >
135138 ) }
@@ -140,7 +143,7 @@ export default function SyntheticDataGeneration() {
140143 < >
141144 < Measuring className = "max-w-96 m-auto 2xl:max-w-full" />
142145 < h1 className = "text-md text-center text-aaDark" >
143- Let's get started! Fill out the form.
146+ { t ( 'getStarted' ) }
144147 </ h1 >
145148 < div className = "flex-1" />
146149 </ >
You can’t perform that action at this time.
0 commit comments