chore: Localization of superset pt. 3 (#22938)

Co-authored-by: Evan Rusackas <evan@preset.io>
This commit is contained in:
Artem Shumeiko
2023-02-07 19:21:23 +03:00
committed by GitHub
parent a1b7eb3870
commit 773d2a54a3
26 changed files with 100 additions and 67 deletions

View File

@@ -27,7 +27,10 @@ import {
sharedControls,
} from '@superset-ui/chart-controls';
import { DEFAULT_FORM_DATA } from '../../constants';
import {
DEFAULT_FORM_DATA,
TIME_SERIES_DESCRIPTION_TEXT,
} from '../../constants';
import {
legendSection,
richTooltipSection,
@@ -111,9 +114,7 @@ const config: ControlPanelConfig = {
config: {
...sharedControls.x_axis_time_format,
default: 'smart_date',
description: `${D3_TIME_FORMAT_DOCS}. ${t(
'When using other than adaptive formatting, labels may overlap.',
)}`,
description: `${D3_TIME_FORMAT_DOCS}. ${TIME_SERIES_DESCRIPTION_TEXT}`,
},
},
],