diff --git a/src/plugins/controls/public/control_group/component/control_frame_component.tsx b/src/plugins/controls/public/control_group/component/control_frame_component.tsx index 6cb9a9b0cb970..babf862a05c9e 100644 --- a/src/plugins/controls/public/control_group/component/control_frame_component.tsx +++ b/src/plugins/controls/public/control_group/component/control_frame_component.tsx @@ -23,7 +23,6 @@ import { controlGroupSelector, useControlGroupContainer, } from '../embeddable/control_group_container'; -import { ControlGroupStrings } from '../control_group_strings'; import { useChildEmbeddable } from '../../hooks/use_child_embeddable'; import { ControlError } from './control_error_component'; @@ -135,11 +134,7 @@ export const ControlFrame = ({ {form} diff --git a/src/plugins/controls/public/control_group/control_group_strings.ts b/src/plugins/controls/public/control_group/control_group_strings.ts index fa66f1e593e48..6de3797b2e9c4 100644 --- a/src/plugins/controls/public/control_group/control_group_strings.ts +++ b/src/plugins/controls/public/control_group/control_group_strings.ts @@ -9,29 +9,6 @@ import { i18n } from '@kbn/i18n'; export const ControlGroupStrings = { - emptyState: { - getBadge: () => - i18n.translate('controls.controlGroup.emptyState.badgeText', { - defaultMessage: 'New', - }), - getCallToAction: () => - i18n.translate('controls.controlGroup.emptyState.callToAction', { - defaultMessage: - 'Filtering your data just got better with Controls, letting you display only the data you want to explore.', - }), - getAddControlButtonTitle: () => - i18n.translate('controls.controlGroup.emptyState.addControlButtonTitle', { - defaultMessage: 'Add control', - }), - getTwoLineLoadingTitle: () => - i18n.translate('controls.controlGroup.emptyState.twoLineLoadingTitle', { - defaultMessage: '...', - }), - getDismissButton: () => - i18n.translate('controls.controlGroup.emptyState.dismissButton', { - defaultMessage: 'Dismiss', - }), - }, manageControl: { getFlyoutCreateTitle: () => i18n.translate('controls.controlGroup.manageControl.createFlyoutTitle', { diff --git a/x-pack/plugins/translations/translations/fr-FR.json b/x-pack/plugins/translations/translations/fr-FR.json index 0a41979cac1c8..47ac1f7dfd73d 100644 --- a/x-pack/plugins/translations/translations/fr-FR.json +++ b/x-pack/plugins/translations/translations/fr-FR.json @@ -409,11 +409,6 @@ "controls.optionsList.popover.invalidSelectionsSectionTitle": "{invalidSelectionCount, plural, one {Sélection ignorée} many {Sélections ignorées} other {Sélections ignorées}}", "controls.optionsList.popover.suggestionsAriaLabel": "{optionCount, plural, one {option disponible} many {options disponibles} other {options disponibles}} pour {fieldName}", "controls.rangeSlider.errors.fieldNotFound": "Impossible de localiser le champ : {fieldName}", - "controls.controlGroup.emptyState.addControlButtonTitle": "Ajouter un contrôle", - "controls.controlGroup.emptyState.badgeText": "Nouveauté", - "controls.controlGroup.emptyState.callToAction": "Le filtrage des données s'est amélioré grâce aux contrôles, qui vous permettent d'afficher uniquement les données que vous souhaitez explorer.", - "controls.controlGroup.emptyState.dismissButton": "Rejeter", - "controls.controlGroup.emptyState.twoLineLoadingTitle": "...", "controls.controlGroup.floatingActions.clearTitle": "Effacer", "controls.controlGroup.floatingActions.editTitle": "Modifier", "controls.controlGroup.floatingActions.removeTitle": "Supprimer", diff --git a/x-pack/plugins/translations/translations/ja-JP.json b/x-pack/plugins/translations/translations/ja-JP.json index 806ad69f7faa3..680ddef2a5f16 100644 --- a/x-pack/plugins/translations/translations/ja-JP.json +++ b/x-pack/plugins/translations/translations/ja-JP.json @@ -409,11 +409,6 @@ "controls.optionsList.popover.invalidSelectionsSectionTitle": "{invalidSelectionCount, plural, other {選択項目}}が無視されました", "controls.optionsList.popover.suggestionsAriaLabel": "{fieldName}の{optionCount, plural, other {オプション}}があります", "controls.rangeSlider.errors.fieldNotFound": "フィールドが見つかりませんでした:{fieldName}", - "controls.controlGroup.emptyState.addControlButtonTitle": "コントロールを追加", - "controls.controlGroup.emptyState.badgeText": "新規", - "controls.controlGroup.emptyState.callToAction": "データのフィルタリングはコントロールによって効果的になりました。探索するデータのみを表示できます。", - "controls.controlGroup.emptyState.dismissButton": "閉じる", - "controls.controlGroup.emptyState.twoLineLoadingTitle": "...", "controls.controlGroup.floatingActions.clearTitle": "クリア", "controls.controlGroup.floatingActions.editTitle": "編集", "controls.controlGroup.floatingActions.removeTitle": "削除", diff --git a/x-pack/plugins/translations/translations/zh-CN.json b/x-pack/plugins/translations/translations/zh-CN.json index 7cd9c279a468f..66b68e88f625c 100644 --- a/x-pack/plugins/translations/translations/zh-CN.json +++ b/x-pack/plugins/translations/translations/zh-CN.json @@ -409,11 +409,6 @@ "controls.optionsList.popover.invalidSelectionsSectionTitle": "已忽略{invalidSelectionCount, plural, other {选择的内容}}", "controls.optionsList.popover.suggestionsAriaLabel": "{fieldName} 的可用{optionCount, plural, other {选项}}", "controls.rangeSlider.errors.fieldNotFound": "找不到字段:{fieldName}", - "controls.controlGroup.emptyState.addControlButtonTitle": "添加控件", - "controls.controlGroup.emptyState.badgeText": "新建", - "controls.controlGroup.emptyState.callToAction": "使用控件可以更有效地筛选数据,允许您仅显示要浏览的数据。", - "controls.controlGroup.emptyState.dismissButton": "关闭", - "controls.controlGroup.emptyState.twoLineLoadingTitle": "...", "controls.controlGroup.floatingActions.clearTitle": "清除", "controls.controlGroup.floatingActions.editTitle": "编辑", "controls.controlGroup.floatingActions.removeTitle": "删除",