diff --git a/superset-frontend/src/dashboard/components/PublishedStatus/index.tsx b/superset-frontend/src/dashboard/components/PublishedStatus/index.tsx index dce12de6cbd..52e7aeb2309 100644 --- a/superset-frontend/src/dashboard/components/PublishedStatus/index.tsx +++ b/superset-frontend/src/dashboard/components/PublishedStatus/index.tsx @@ -17,7 +17,7 @@ * under the License. */ import { useCallback } from 'react'; -import { t } from '@apache-superset/core'; +import { t } from '@apache-superset/core/translation'; import { Tooltip, PublishedLabel } from '@superset-ui/core/components'; import { HeaderProps, HeaderDropdownProps } from '../Header/types'; diff --git a/superset-frontend/src/dashboard/components/SliceAdder.tsx b/superset-frontend/src/dashboard/components/SliceAdder.tsx index cd0ff3e69d6..e5f47c0cfdd 100644 --- a/superset-frontend/src/dashboard/components/SliceAdder.tsx +++ b/superset-frontend/src/dashboard/components/SliceAdder.tsx @@ -22,7 +22,7 @@ import AutoSizer from 'react-virtualized-auto-sizer'; import { FixedSizeList as List } from 'react-window'; // @ts-expect-error import { createFilter } from 'react-search-input'; -import { t } from '@apache-superset/core'; +import { t } from '@apache-superset/core/translation'; import { styled, css, useTheme } from '@apache-superset/core/theme'; import { Button, diff --git a/superset-frontend/src/dashboard/components/menu/BackgroundStyleDropdown.tsx b/superset-frontend/src/dashboard/components/menu/BackgroundStyleDropdown.tsx index bc3c522c401..0f661aca20a 100644 --- a/superset-frontend/src/dashboard/components/menu/BackgroundStyleDropdown.tsx +++ b/superset-frontend/src/dashboard/components/menu/BackgroundStyleDropdown.tsx @@ -17,7 +17,7 @@ * under the License. */ import cx from 'classnames'; -import { t } from '@apache-superset/core'; +import { t } from '@apache-superset/core/translation'; import { css, styled } from '@apache-superset/core/theme'; import backgroundStyleOptions from 'src/dashboard/util/backgroundStyleOptions'; import PopoverDropdown, { diff --git a/superset-frontend/src/dashboard/components/menu/MarkdownModeDropdown.tsx b/superset-frontend/src/dashboard/components/menu/MarkdownModeDropdown.tsx index c9800b565db..95c6e9bd52f 100644 --- a/superset-frontend/src/dashboard/components/menu/MarkdownModeDropdown.tsx +++ b/superset-frontend/src/dashboard/components/menu/MarkdownModeDropdown.tsx @@ -16,8 +16,7 @@ * specific language governing permissions and limitations * under the License. */ -import { t } from '@apache-superset/core'; - +import { t } from '@apache-superset/core/translation'; import PopoverDropdown, { OnChangeHandler, } from '@superset-ui/core/components/PopoverDropdown'; diff --git a/superset-frontend/src/dashboard/components/nativeFilters/FilterBar/FilterControls/FilterValue.tsx b/superset-frontend/src/dashboard/components/nativeFilters/FilterBar/FilterControls/FilterValue.tsx index d295e45ca25..d59e7a9fcab 100644 --- a/superset-frontend/src/dashboard/components/nativeFilters/FilterBar/FilterControls/FilterValue.tsx +++ b/superset-frontend/src/dashboard/components/nativeFilters/FilterBar/FilterControls/FilterValue.tsx @@ -26,7 +26,7 @@ import { useState, } from 'react'; -import { t } from '@apache-superset/core'; +import { t } from '@apache-superset/core/translation'; import { ChartDataResponseResult, Behavior,