chore(translations): Add missing i18n (#17525)

* Add *.ts to babel.cfg

* Add missing i18n calls

* Update pot file

* Fix lint issues and review comment

* Incorparate review feedback

* Fix missing or non-extractable i18n calls

* Update pot file

* Fix syntax error in CommonParameters.tsx

* Fix introduced issues
This commit is contained in:
Holger Bruch
2021-11-27 13:50:33 +01:00
committed by GitHub
parent 4cf429c154
commit 6604a6ab28
22 changed files with 1167 additions and 567 deletions

View File

@@ -88,9 +88,10 @@ function TimeoutErrorMessage({
</>
);
const copyText = `${subtitle}
${t('This may be triggered by:')}
${extra.issue_codes.map(issueCode => issueCode.message).join('\n')}`;
const copyText = t('%(subtitle)s\nThis may be triggered by:\n %(issue)s', {
subtitle,
issue: extra.issue_codes.map(issueCode => issueCode.message).join('\n'),
});
return (
<ErrorAlert