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

@@ -257,9 +257,9 @@ class TabbedSqlEditors extends React.PureComponent {
);
const warning = isFeatureEnabled(FeatureFlag.SQLLAB_BACKEND_PERSISTENCE)
? ''
: `${t(
'-- Note: Unless you save your query, these tabs will NOT persist if you clear your cookies or change browsers.',
)}\n\n`;
: t(
'-- Note: Unless you save your query, these tabs will NOT persist if you clear your cookies or change browsers.\n\n',
);
const qe = {
title: t('Untitled Query %s', queryCount),
dbId:

View File

@@ -100,7 +100,7 @@ function TemplateParamsEditor({
trigger={['hover']}
>
<div role="button">
{`${t('Parameters')} `}
{t('Parameters ')}
<Badge count={paramCount} />
{!isValid && (
<InfoTooltipWithTrigger