mirror of
https://github.com/apache/superset.git
synced 2026-04-21 17:14:57 +00:00
chore: Localization of superset pt. 2 (#22772)
This commit is contained in:
@@ -19,8 +19,11 @@
|
||||
|
||||
import { t } from '@superset-ui/core';
|
||||
|
||||
const CREATE_CHART_TEXT = t('Create chart');
|
||||
const UPDATE_CHART_TEXT = t('Update chart');
|
||||
|
||||
export const getChartRequiredFieldsMissingMessage = (isCreating: boolean) =>
|
||||
t(
|
||||
'Select values in highlighted field(s) in the control panel. Then run the query by clicking on the %s button.',
|
||||
isCreating ? '"Create chart"' : '"Update chart"',
|
||||
`"${isCreating ? CREATE_CHART_TEXT : UPDATE_CHART_TEXT}"`,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user