2022-02-20 18:46:21 +01:00
|
|
|
import { useTranslation } from 'next-i18next'
|
|
|
|
|
2023-01-29 18:57:24 +01:00
|
|
|
export const CutLayout = (props) => {
|
2022-02-20 18:46:21 +01:00
|
|
|
const { t } = useTranslation(['workbench'])
|
|
|
|
|
2022-09-25 10:45:52 +02:00
|
|
|
let name = props.design.designConfig.data.name
|
2022-09-01 23:06:37 -07:00
|
|
|
name = name.replace('@freesewing/', '')
|
2022-02-20 18:46:21 +01:00
|
|
|
return (
|
|
|
|
<div>
|
2023-01-29 18:57:24 +01:00
|
|
|
<h2 className="capitalize">{t('layoutThing', { thing: name }) + ': ' + t('forCutting')}</h2>
|
2022-02-20 18:46:21 +01:00
|
|
|
<Settings {...props} />
|
|
|
|
</div>
|
|
|
|
)
|
|
|
|
}
|