mirror of
https://github.com/apache/superset.git
synced 2026-07-13 18:25:58 +00:00
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:
committed by
John Bodley
parent
1c4b3e999b
commit
1473e2cced
@@ -2,14 +2,12 @@ import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import { OverlayTrigger, Popover, ListGroup, ListGroupItem } from 'react-bootstrap';
|
||||
import { connect } from 'react-redux';
|
||||
import { t } from '@superset-ui/translation';
|
||||
import { getChartKey } from '../../exploreUtils';
|
||||
import { runAnnotationQuery } from '../../../chart/chartAction';
|
||||
import InfoTooltipWithTrigger from '../../../components/InfoTooltipWithTrigger';
|
||||
|
||||
|
||||
import AnnotationLayer from './AnnotationLayer';
|
||||
import { t } from '../../../locales';
|
||||
|
||||
|
||||
const propTypes = {
|
||||
colorScheme: PropTypes.string.isRequired,
|
||||
|
||||
Reference in New Issue
Block a user