1
0
Fork 0
mirror of https://github.com/overleaf/overleaf.git synced 2025-04-22 18:38:04 +00:00

Merge pull request from overleaf/as-fix-extract-translations-round-2

Fix extract translations round 2

GitOrigin-RevId: f0117b9dc7c2d7829a59ac5ba050461bca85e39d
This commit is contained in:
Davinder Singh 2022-09-22 11:53:03 +01:00 committed by Copybot
parent 2c497bfc6d
commit bac4ea525d
2 changed files with 10 additions and 6 deletions
services/web/frontend
extracted-translations.json
js/features/settings/components

View file

@ -64,7 +64,7 @@
"change_or_cancel-or": "",
"change_owner": "",
"change_password": "",
"change_primary_email_address_instructions": "<0></0><2></2>",
"change_primary_email_address_instructions": "",
"change_project_owner": "",
"chat": "",
"chat_error": "",

View file

@ -28,11 +28,15 @@ function EmailsSectionContent() {
<h3>{t('emails_and_affiliations_title')}</h3>
<p className="small">{t('emails_and_affiliations_explanation')}</p>
<p className="small">
<Trans i18nKey="change_primary_email_address_instructions">
<strong />
{/* eslint-disable-next-line jsx-a11y/anchor-has-content */}
<a href="/learn/how-to/Managing_your_Overleaf_emails" />
</Trans>
<Trans
i18nKey="change_primary_email_address_instructions"
components={[
// eslint-disable-next-line react/jsx-key
<strong />,
// eslint-disable-next-line jsx-a11y/anchor-has-content, react/jsx-key
<a href="/learn/how-to/Managing_your_Overleaf_emails" />,
]}
/>
</p>
<>
<EmailsHeader />