diff --git a/services/web/frontend/extracted-translations.json b/services/web/frontend/extracted-translations.json index eeb661d392..608e758298 100644 --- a/services/web/frontend/extracted-translations.json +++ b/services/web/frontend/extracted-translations.json @@ -1063,6 +1063,7 @@ "new_overleaf_editor": "", "new_password": "", "new_project": "", + "new_project_name": "", "new_subscription_will_be_billed_immediately": "", "new_tag": "", "new_tag_name": "", diff --git a/services/web/frontend/js/features/clone-project-modal/components/clone-project-modal-content.jsx b/services/web/frontend/js/features/clone-project-modal/components/clone-project-modal-content.jsx index 84d8151f0f..404af82ca4 100644 --- a/services/web/frontend/js/features/clone-project-modal/components/clone-project-modal-content.jsx +++ b/services/web/frontend/js/features/clone-project-modal/components/clone-project-modal-content.jsx @@ -91,7 +91,7 @@ export default function CloneProjectModalContent({ {t('new_name')} setClonedProjectName(event.target.value)} diff --git a/services/web/locales/en.json b/services/web/locales/en.json index df4478b114..c2401427b7 100644 --- a/services/web/locales/en.json +++ b/services/web/locales/en.json @@ -1390,6 +1390,7 @@ "new_overleaf_editor": "New Overleaf editor", "new_password": "New password", "new_project": "New Project", + "new_project_name": "New project name", "new_snippet_project": "Untitled", "new_subscription_will_be_billed_immediately": "Your new subscription will be billed immediately to your current payment method.", "new_tag": "New Tag", diff --git a/services/web/test/frontend/features/editor-left-menu/components/actions-copy-project.test.jsx b/services/web/test/frontend/features/editor-left-menu/components/actions-copy-project.test.jsx index aea2592bad..066858f1ba 100644 --- a/services/web/test/frontend/features/editor-left-menu/components/actions-copy-project.test.jsx +++ b/services/web/test/frontend/features/editor-left-menu/components/actions-copy-project.test.jsx @@ -23,7 +23,7 @@ describe('', function () { fireEvent.click(screen.getByRole('button', { name: 'Copy Project' })) - screen.getByPlaceholderText('New Project Name') + screen.getByPlaceholderText('New project name') }) it('loads the project page when submitted', async function () { @@ -38,7 +38,7 @@ describe('', function () { fireEvent.click(screen.getByRole('button', { name: 'Copy Project' })) - const input = screen.getByPlaceholderText('New Project Name') + const input = screen.getByPlaceholderText('New project name') fireEvent.change(input, { target: { value: 'New Project' } }) const button = screen.getByRole('button', { name: 'Copy' })