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

@@ -86,7 +86,7 @@ const SelectAsyncControl = ({
const onError = (response: Response) =>
getClientErrorObject(response).then(e => {
const { error } = e;
addDangerToast(`${t('Error while fetching data')}: ${error}`);
addDangerToast(t('Error while fetching data: %s', error));
});
const loadOptions = () =>
SupersetClient.get({