From 3ee74b247f1dc2c8fdd0a92a2b03d3b02623f16b Mon Sep 17 00:00:00 2001 From: Davinder Singh Date: Thu, 7 Dec 2023 11:45:09 +0000 Subject: [PATCH] Removing Exclamation mark from the Welcome to overleaf translations. (#16098) * removing ! from en.json * fixing tests * fixing GitOrigin-RevId: 40c9a036df6b100743454e9e5109182edd90894a --- services/web/locales/en.json | 2 +- .../features/project-list/components/project-list-root.test.tsx | 2 +- .../project-list/components/welcome-message-new.test.tsx | 2 +- services/web/test/frontend/infrastructure/i18n.spec.tsx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/services/web/locales/en.json b/services/web/locales/en.json index 403984eaf9..eb0eadfc3f 100644 --- a/services/web/locales/en.json +++ b/services/web/locales/en.json @@ -2073,7 +2073,7 @@ "webinars": "Webinars", "website_status": "Website status", "wed_love_you_to_stay": "We’d love you to stay", - "welcome_to_sl": "Welcome to __appName__!", + "welcome_to_sl": "Welcome to __appName__", "were_in_the_process_of_reducing_compile_timeout_which_may_affect_this_project": "We’re in the process of <0>reducing the compile timeout limit on our free plan, which may affect this project in future.", "were_in_the_process_of_reducing_compile_timeout_which_may_affect_your_project": "We’re in the process of <0>reducing the compile timeout limit on our free plan, which may affect your project in future.", "were_performing_maintenance": "We’re performing maintenance on Overleaf and you need to wait a moment. Sorry for any inconvenience. The editor will refresh automatically in __seconds__ seconds.", diff --git a/services/web/test/frontend/features/project-list/components/project-list-root.test.tsx b/services/web/test/frontend/features/project-list/components/project-list-root.test.tsx index ca8391d0bc..4ff31b189f 100644 --- a/services/web/test/frontend/features/project-list/components/project-list-root.test.tsx +++ b/services/web/test/frontend/features/project-list/components/project-list-root.test.tsx @@ -75,7 +75,7 @@ describe('', function () { }) it('the welcome page is displayed', async function () { - screen.getByRole('heading', { name: 'Welcome to Overleaf!' }) + screen.getByRole('heading', { name: 'Welcome to Overleaf' }) }) it('the email confirmation alert is not displayed', async function () { diff --git a/services/web/test/frontend/features/project-list/components/welcome-message-new.test.tsx b/services/web/test/frontend/features/project-list/components/welcome-message-new.test.tsx index d1e0a2ca2b..992686df8c 100644 --- a/services/web/test/frontend/features/project-list/components/welcome-message-new.test.tsx +++ b/services/web/test/frontend/features/project-list/components/welcome-message-new.test.tsx @@ -10,7 +10,7 @@ describe('', function () { it('renders welcome page correctly', function () { render() - screen.getByText('Welcome to Overleaf!') + screen.getByText('Welcome to Overleaf') screen.getByText('Create a new project') screen.getByText('Learn LaTeX with a tutorial') screen.getByText('Browse templates') diff --git a/services/web/test/frontend/infrastructure/i18n.spec.tsx b/services/web/test/frontend/infrastructure/i18n.spec.tsx index 75e4527dfc..f8760b1ad5 100644 --- a/services/web/test/frontend/infrastructure/i18n.spec.tsx +++ b/services/web/test/frontend/infrastructure/i18n.spec.tsx @@ -17,7 +17,7 @@ describe('i18n', function () { return
{t('welcome_to_sl')}
} cy.mount() - cy.findByText('Welcome to Overleaf!') + cy.findByText('Welcome to Overleaf') }) it('uses values', function () {