diff --git a/frontend/src/features/hero/components/FocusDialog.tsx b/frontend/src/features/hero/components/FocusDialog.tsx index f675c0a..37a0ed8 100644 --- a/frontend/src/features/hero/components/FocusDialog.tsx +++ b/frontend/src/features/hero/components/FocusDialog.tsx @@ -100,7 +100,6 @@ function FocusEditor({ image, onApply, onClose, onReset }: { image: HeroImageDto return (

{t('hero.focus.intro')}

-

{t('hero.focus.applyHint')}

{t('hero.focus.targetLegend')} diff --git a/frontend/src/features/hero/pages/HeroPage.test.tsx b/frontend/src/features/hero/pages/HeroPage.test.tsx index c73792f..69b4e74 100644 --- a/frontend/src/features/hero/pages/HeroPage.test.tsx +++ b/frontend/src/features/hero/pages/HeroPage.test.tsx @@ -281,7 +281,8 @@ describe('Focus dialog', () => { expect(screen.getByTestId('focus-y')).toHaveValue(50); expect(screen.getByTestId('focus-preview-wide')).toBeInTheDocument(); expect(screen.getByTestId('focus-preview-tall')).toBeInTheDocument(); - expect(screen.getByTestId('focus-apply-hint')).toHaveTextContent(/pas nadat je de hero opslaat|only takes effect when you save the hero/); + // A crop is processed at once: there is no note about saving the hero. + expect(screen.queryByTestId('focus-apply-hint')).not.toBeInTheDocument(); }); it('moves the point with the keyboard', async () => { diff --git a/frontend/src/i18n/locales/en/translation.json b/frontend/src/i18n/locales/en/translation.json index b2cc1d0..9ede23f 100644 --- a/frontend/src/i18n/locales/en/translation.json +++ b/frontend/src/i18n/locales/en/translation.json @@ -709,7 +709,6 @@ "tall": "Portrait preview" }, "apply": "Apply", - "applyHint": "The change only takes effect when you save the hero. If you leave the page without saving it is dropped.", "previewPending": "The preview of this photo is being prepared. Close this window and try again in a few seconds.", "reset": "Use the photo’s crop again" }, diff --git a/frontend/src/i18n/locales/nl/translation.json b/frontend/src/i18n/locales/nl/translation.json index a649fa1..3336a64 100644 --- a/frontend/src/i18n/locales/nl/translation.json +++ b/frontend/src/i18n/locales/nl/translation.json @@ -709,7 +709,6 @@ "tall": "Voorbeeld staand" }, "apply": "Toepassen", - "applyHint": "De wijziging geldt pas nadat je de hero opslaat. Verlaat je de pagina zonder op te slaan, dan vervalt ze.", "previewPending": "Het voorbeeld van deze foto wordt klaargezet. Sluit dit venster en probeer het over een paar seconden opnieuw.", "reset": "Terug naar de uitsnede van de foto" },