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

@@ -25,6 +25,7 @@ import {
} from '@superset-ui/core';
import {
D3_FORMAT_DOCS,
D3_NUMBER_FORMAT_DESCRIPTION_VALUES_TEXT,
D3_FORMAT_OPTIONS,
D3_TIME_FORMAT_OPTIONS,
sections,
@@ -137,9 +138,7 @@ const config: ControlPanelConfig = {
renderTrigger: true,
default: 'SMART_NUMBER',
choices: D3_FORMAT_OPTIONS,
description: `${t(
'D3 format syntax: https://github.com/d3/d3-format',
)} ${t('Only applies when "Label Type" is set to show values.')}`,
description: `${D3_FORMAT_DOCS} ${D3_NUMBER_FORMAT_DESCRIPTION_VALUES_TEXT}`,
},
},
],