From 0dae35dab1b3b3ee28638feebb470825211d39f2 Mon Sep 17 00:00:00 2001 From: Anthony LC Date: Thu, 30 Jan 2025 11:16:54 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=8F=EF=B8=8F(frontend)=20replace=20Word?= =?UTF-8?q?=20/=20Open=20Office=20by=20Docx?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace the naming of the select export options from Word / Open Office to Docx. --- .../apps/e2e/__tests__/app-impress/doc-export.spec.ts | 6 ++---- .../src/features/docs/doc-header/components/ModalExport.tsx | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/src/frontend/apps/e2e/__tests__/app-impress/doc-export.spec.ts b/src/frontend/apps/e2e/__tests__/app-impress/doc-export.spec.ts index eff9592a..db9cb820 100644 --- a/src/frontend/apps/e2e/__tests__/app-impress/doc-export.spec.ts +++ b/src/frontend/apps/e2e/__tests__/app-impress/doc-export.spec.ts @@ -29,9 +29,7 @@ test.describe('Doc Export', () => { .first(), ).toBeVisible(); await expect( - page.getByText( - 'Upload your docs to a Microsoft Word, Open Office or PDF document', - ), + page.getByText('Download your document in a .docx or .pdf format.'), ).toBeVisible(); await expect( page.getByRole('combobox', { name: 'Template' }), @@ -95,7 +93,7 @@ test.describe('Doc Export', () => { .click(); await page.getByRole('combobox', { name: 'Format' }).click(); - await page.getByRole('option', { name: 'Word / Open Office' }).click(); + await page.getByRole('option', { name: 'Docx' }).click(); await page .getByRole('button', { diff --git a/src/frontend/apps/impress/src/features/docs/doc-header/components/ModalExport.tsx b/src/frontend/apps/impress/src/features/docs/doc-header/components/ModalExport.tsx index 4e72a6eb..7d7f1657 100644 --- a/src/frontend/apps/impress/src/features/docs/doc-header/components/ModalExport.tsx +++ b/src/frontend/apps/impress/src/features/docs/doc-header/components/ModalExport.tsx @@ -179,9 +179,7 @@ export const ModalExport = ({ onClose, doc }: ModalExportProps) => { $gap="1rem" > - {t( - 'Upload your docs to a Microsoft Word, Open Office or PDF document.', - )} + {t('Download your document in a .docx or .pdf format.')}