Răsfoiți Sursa

Removing Exclamation mark from the Welcome to overleaf translations. (#16098)

* removing ! from en.json

* fixing tests

* fixing

GitOrigin-RevId: 40c9a036df6b100743454e9e5109182edd90894a
Davinder Singh 2 ani în urmă
părinte
comite
3ee74b247f

+ 1 - 1
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</0> 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</0> 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.",

+ 1 - 1
services/web/test/frontend/features/project-list/components/project-list-root.test.tsx

@@ -75,7 +75,7 @@ describe('<ProjectListRoot />', 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 () {

+ 1 - 1
services/web/test/frontend/features/project-list/components/welcome-message-new.test.tsx

@@ -10,7 +10,7 @@ describe('<WelcomeMessageNew />', function () {
   it('renders welcome page correctly', function () {
     render(<WelcomeMessageNew />)
 
-    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')

+ 1 - 1
services/web/test/frontend/infrastructure/i18n.spec.tsx

@@ -17,7 +17,7 @@ describe('i18n', function () {
         return <div>{t('welcome_to_sl')}</div>
       }
       cy.mount(<Test />)
-      cy.findByText('Welcome to Overleaf!')
+      cy.findByText('Welcome to Overleaf')
     })
 
     it('uses values', function () {