mirror of
https://github.com/apache/superset.git
synced 2026-04-13 13:18:25 +00:00
chore: Localization of several charts and elements (#22150)
Co-authored-by: ashumeiko <ashumeiko@ashumeiko.com>
This commit is contained in:
@@ -27,7 +27,6 @@ import {
|
||||
D3_FORMAT_DOCS,
|
||||
D3_FORMAT_OPTIONS,
|
||||
D3_TIME_FORMAT_OPTIONS,
|
||||
formatSelectOptions,
|
||||
sections,
|
||||
emitFilterControl,
|
||||
ControlPanelConfig,
|
||||
@@ -93,12 +92,12 @@ const config: ControlPanelConfig = {
|
||||
description: t(
|
||||
'Determines how whiskers and outliers are calculated.',
|
||||
),
|
||||
choices: formatSelectOptions([
|
||||
'Tukey',
|
||||
'Min/max (no outliers)',
|
||||
'2/98 percentiles',
|
||||
'9/91 percentiles',
|
||||
]),
|
||||
choices: [
|
||||
['Tukey', t('Tukey')],
|
||||
['Min/max (no outliers)', t('Min/max (no outliers)')],
|
||||
['2/98 percentiles', t('2/98 percentiles')],
|
||||
['9/91 percentiles', t('9/91 percentiles')],
|
||||
],
|
||||
},
|
||||
},
|
||||
],
|
||||
@@ -116,13 +115,13 @@ const config: ControlPanelConfig = {
|
||||
config: {
|
||||
type: 'SelectControl',
|
||||
label: t('X Tick Layout'),
|
||||
choices: formatSelectOptions([
|
||||
'auto',
|
||||
'flat',
|
||||
'45°',
|
||||
'90°',
|
||||
'staggered',
|
||||
]),
|
||||
choices: [
|
||||
['auto', t('auto')],
|
||||
['flat', t('flat')],
|
||||
['45°', '45°'],
|
||||
['90°', '90°'],
|
||||
['staggered', t('staggered')],
|
||||
],
|
||||
default: 'auto',
|
||||
clearable: false,
|
||||
renderTrigger: true,
|
||||
|
||||
Reference in New Issue
Block a user