Integrate translation module @superset-ui/translation (#6222)

* add translation modules

* Update package.json

* Update instructions in CONTRIBUTING

* Remove old files

* Add new entry point "translation"

* Change imports

* move setupTranslation code

* remove translation from entry

* Update python template

* Refactor utils into smaller, independent files

* Define preamble

* working state

* combine toggleCheckbox with setupApp

* move code block out of document.ready

* move setupClient to preamble

* fix unit tests

* update package version

* delete deletion code
This commit is contained in:
Krist Wongsuphasawat
2018-10-30 14:51:44 -07:00
committed by John Bodley
parent 1c4b3e999b
commit 1473e2cced
123 changed files with 360 additions and 552 deletions

View File

@@ -9,9 +9,9 @@ import {
Tooltip,
Well,
} from 'react-bootstrap';
import { t } from '@superset-ui/translation';
import ControlHeader from '../ControlHeader';
import { t } from '../../../locales';
import DatasourceModal from '../../../datasource/DatasourceModal';
import ColumnOption from '../../../components/ColumnOption';
import MetricOption from '../../../components/MetricOption';