diff --git a/packages/core/application/core-application-browser-internal/src/ui/app_container.tsx b/packages/core/application/core-application-browser-internal/src/ui/app_container.tsx index a6b85e017e24a..0bb763ed9d57f 100644 --- a/packages/core/application/core-application-browser-internal/src/ui/app_container.tsx +++ b/packages/core/application/core-application-browser-internal/src/ui/app_container.tsx @@ -134,7 +134,7 @@ const AppLoadingPlaceholder: FC<{ showPlainSpinner: boolean }> = ({ showPlainSpi size={'xxl'} className="appContainer__loading" data-test-subj="appContainer-loadingSpinner" - aria-label={i18n.translate('core.application.appContainer.loadingAriaLabel', { + aria-label={i18n.translate('core.application.appContainer.plainSpinner.loadingAriaLabel', { defaultMessage: 'Loading application', })} /> diff --git a/packages/core/status/core-status-server-internal/src/legacy_status.ts b/packages/core/status/core-status-server-internal/src/legacy_status.ts index f154374d5470e..ac692b2b4876d 100644 --- a/packages/core/status/core-status-server-internal/src/legacy_status.ts +++ b/packages/core/status/core-status-server-internal/src/legacy_status.ts @@ -106,7 +106,7 @@ const STATUS_LEVEL_LEGACY_ATTRS = deepFreeze>({ [ServiceStatusLevels.critical.toString()]: { id: 'red', state: 'red', - title: i18n.translate('core.status.redTitle', { + title: i18n.translate('core.status.critical.redTitle', { defaultMessage: 'Red', }), icon: 'danger', @@ -116,7 +116,7 @@ const STATUS_LEVEL_LEGACY_ATTRS = deepFreeze>({ [ServiceStatusLevels.unavailable.toString()]: { id: 'red', state: 'red', - title: i18n.translate('core.status.redTitle', { + title: i18n.translate('core.status.unavailable.redTitle', { defaultMessage: 'Red', }), icon: 'danger', @@ -126,7 +126,7 @@ const STATUS_LEVEL_LEGACY_ATTRS = deepFreeze>({ [ServiceStatusLevels.degraded.toString()]: { id: 'yellow', state: 'yellow', - title: i18n.translate('core.status.yellowTitle', { + title: i18n.translate('core.status.degraded.yellowTitle', { defaultMessage: 'Yellow', }), icon: 'warning', @@ -136,7 +136,7 @@ const STATUS_LEVEL_LEGACY_ATTRS = deepFreeze>({ [ServiceStatusLevels.available.toString()]: { id: 'green', state: 'green', - title: i18n.translate('core.status.greenTitle', { + title: i18n.translate('core.status.available.greenTitle', { defaultMessage: 'Green', }), icon: 'success', diff --git a/src/plugins/ai_assistant_management/selection/public/routes/components/ai_assistant_selection_page.tsx b/src/plugins/ai_assistant_management/selection/public/routes/components/ai_assistant_selection_page.tsx index 62687625db86d..41422212fa08b 100644 --- a/src/plugins/ai_assistant_management/selection/public/routes/components/ai_assistant_selection_page.tsx +++ b/src/plugins/ai_assistant_management/selection/public/routes/components/ai_assistant_selection_page.tsx @@ -75,7 +75,7 @@ export function AiAssistantSelectionPage() { Features.', @@ -124,7 +124,7 @@ export function AiAssistantSelectionPage() { Features.', diff --git a/src/plugins/console/public/application/containers/editor/legacy/console_editor/editor.tsx b/src/plugins/console/public/application/containers/editor/legacy/console_editor/editor.tsx index abdd7c5a5ab96..d7cc6073b5660 100644 --- a/src/plugins/console/public/application/containers/editor/legacy/console_editor/editor.tsx +++ b/src/plugins/console/public/application/containers/editor/legacy/console_editor/editor.tsx @@ -289,7 +289,7 @@ function EditorUI({ initialTextValue, setEditorInstance }: EditorProps) { > @@ -297,7 +297,7 @@ function EditorUI({ initialTextValue, setEditorInstance }: EditorProps) { color="primary" onClick={sendCurrentRequest} data-test-subj="sendRequestButton" - aria-label={i18n.translate('console.sendRequestButtonTooltip', { + aria-label={i18n.translate('console.sendRequestButtonTooltipAriaLabel', { defaultMessage: 'Click to send request', })} > diff --git a/src/plugins/console/public/application/containers/editor/monaco/monaco_editor.tsx b/src/plugins/console/public/application/containers/editor/monaco/monaco_editor.tsx index b54e6fa900b6e..bc9d6cf2ee3c9 100644 --- a/src/plugins/console/public/application/containers/editor/monaco/monaco_editor.tsx +++ b/src/plugins/console/public/application/containers/editor/monaco/monaco_editor.tsx @@ -125,7 +125,7 @@ export const MonacoEditor = ({ initialTextValue }: EditorProps) => { > @@ -133,7 +133,7 @@ export const MonacoEditor = ({ initialTextValue }: EditorProps) => { color="primary" onClick={sendRequestsCallback} data-test-subj="sendRequestButton" - aria-label={i18n.translate('console.sendRequestButtonTooltip', { + aria-label={i18n.translate('console.sendRequestButtonTooltipAriaLabel', { defaultMessage: 'Click to send request', })} > diff --git a/src/plugins/data/common/search/aggs/buckets/lib/time_buckets/calc_auto_interval.ts b/src/plugins/data/common/search/aggs/buckets/lib/time_buckets/calc_auto_interval.ts index 9332315f57cd2..ca8881cba5f97 100644 --- a/src/plugins/data/common/search/aggs/buckets/lib/time_buckets/calc_auto_interval.ts +++ b/src/plugins/data/common/search/aggs/buckets/lib/time_buckets/calc_auto_interval.ts @@ -6,197 +6,115 @@ * Side Public License, v 1. */ -import { i18n } from '@kbn/i18n'; import moment from 'moment'; +import { + dayLabel, + hourLabel, + yearLabel, + minuteLabel, + secondLabel, + millisecondLabel, + infinityLabel, + monthLabel, +} from './i18n_messages'; + export const boundsDescendingRaw = [ { bound: Infinity, interval: moment.duration(1, 'year'), - boundLabel: i18n.translate('data.search.timeBuckets.infinityLabel', { - defaultMessage: 'More than a year', - }), - intervalLabel: i18n.translate('data.search.timeBuckets.yearLabel', { - defaultMessage: 'a year', - }), + boundLabel: infinityLabel(), + intervalLabel: yearLabel(), }, { bound: moment.duration(1, 'year'), interval: moment.duration(1, 'month'), - boundLabel: i18n.translate('data.search.timeBuckets.yearLabel', { - defaultMessage: 'a year', - }), - intervalLabel: i18n.translate('data.search.timeBuckets.monthLabel', { - defaultMessage: 'a month', - }), + boundLabel: yearLabel(), + intervalLabel: monthLabel(), }, { bound: moment.duration(3, 'week'), interval: moment.duration(1, 'week'), - boundLabel: i18n.translate('data.search.timeBuckets.dayLabel', { - defaultMessage: '{amount, plural, one {a day} other {# days}}', - values: { amount: 21 }, - }), - intervalLabel: i18n.translate('data.search.timeBuckets.dayLabel', { - defaultMessage: '{amount, plural, one {a day} other {# days}}', - values: { amount: 7 }, - }), + boundLabel: dayLabel(21), + intervalLabel: dayLabel(7), }, { bound: moment.duration(1, 'week'), interval: moment.duration(1, 'd'), - boundLabel: i18n.translate('data.search.timeBuckets.dayLabel', { - defaultMessage: '{amount, plural, one {a day} other {# days}}', - values: { amount: 7 }, - }), - intervalLabel: i18n.translate('data.search.timeBuckets.dayLabel', { - defaultMessage: '{amount, plural, one {a day} other {# days}}', - values: { amount: 1 }, - }), + boundLabel: dayLabel(7), + intervalLabel: dayLabel(1), }, { bound: moment.duration(24, 'hour'), interval: moment.duration(12, 'hour'), - boundLabel: i18n.translate('data.search.timeBuckets.dayLabel', { - defaultMessage: '{amount, plural, one {a day} other {# days}}', - values: { amount: 1 }, - }), - intervalLabel: i18n.translate('data.search.timeBuckets.hourLabel', { - defaultMessage: '{amount, plural, one {an hour} other {# hours}}', - values: { amount: 12 }, - }), + boundLabel: dayLabel(1), + intervalLabel: hourLabel(12), }, { bound: moment.duration(6, 'hour'), interval: moment.duration(3, 'hour'), - boundLabel: i18n.translate('data.search.timeBuckets.hourLabel', { - defaultMessage: '{amount, plural, one {an hour} other {# hours}}', - values: { amount: 6 }, - }), - intervalLabel: i18n.translate('data.search.timeBuckets.hourLabel', { - defaultMessage: '{amount, plural, one {an hour} other {# hours}}', - values: { amount: 3 }, - }), + boundLabel: hourLabel(6), + intervalLabel: hourLabel(3), }, { bound: moment.duration(2, 'hour'), interval: moment.duration(1, 'hour'), - boundLabel: i18n.translate('data.search.timeBuckets.hourLabel', { - defaultMessage: '{amount, plural, one {an hour} other {# hours}}', - values: { amount: 2 }, - }), - intervalLabel: i18n.translate('data.search.timeBuckets.hourLabel', { - defaultMessage: '{amount, plural, one {an hour} other {# hours}}', - values: { amount: 1 }, - }), + boundLabel: hourLabel(2), + intervalLabel: hourLabel(1), }, { bound: moment.duration(45, 'minute'), interval: moment.duration(30, 'minute'), - boundLabel: i18n.translate('data.search.timeBuckets.minuteLabel', { - defaultMessage: '{amount, plural, one {a minute} other {# minutes}}', - values: { amount: 45 }, - }), - intervalLabel: i18n.translate('data.search.timeBuckets.minuteLabel', { - defaultMessage: '{amount, plural, one {a minute} other {# minutes}}', - values: { amount: 30 }, - }), + boundLabel: minuteLabel(45), + intervalLabel: minuteLabel(30), }, { bound: moment.duration(20, 'minute'), interval: moment.duration(10, 'minute'), - boundLabel: i18n.translate('data.search.timeBuckets.minuteLabel', { - defaultMessage: '{amount, plural, one {a minute} other {# minutes}}', - values: { amount: 20 }, - }), - intervalLabel: i18n.translate('data.search.timeBuckets.minuteLabel', { - defaultMessage: '{amount, plural, one {a minute} other {# minutes}}', - values: { amount: 10 }, - }), + boundLabel: minuteLabel(20), + intervalLabel: minuteLabel(10), }, { bound: moment.duration(9, 'minute'), interval: moment.duration(5, 'minute'), - boundLabel: i18n.translate('data.search.timeBuckets.minuteLabel', { - defaultMessage: '{amount, plural, one {a minute} other {# minutes}}', - values: { amount: 9 }, - }), - intervalLabel: i18n.translate('data.search.timeBuckets.minuteLabel', { - defaultMessage: '{amount, plural, one {a minute} other {# minutes}}', - values: { amount: 5 }, - }), + boundLabel: minuteLabel(9), + intervalLabel: minuteLabel(5), }, { bound: moment.duration(3, 'minute'), interval: moment.duration(1, 'minute'), - boundLabel: i18n.translate('data.search.timeBuckets.minuteLabel', { - defaultMessage: '{amount, plural, one {a minute} other {# minutes}}', - values: { amount: 3 }, - }), - intervalLabel: i18n.translate('data.search.timeBuckets.minuteLabel', { - defaultMessage: '{amount, plural, one {a minute} other {# minutes}}', - values: { amount: 1 }, - }), + boundLabel: minuteLabel(3), + intervalLabel: minuteLabel(1), }, { bound: moment.duration(45, 'second'), interval: moment.duration(30, 'second'), - boundLabel: i18n.translate('data.search.timeBuckets.secondLabel', { - defaultMessage: '{amount, plural, one {a second} other {# seconds}}', - values: { amount: 45 }, - }), - intervalLabel: i18n.translate('data.search.timeBuckets.secondLabel', { - defaultMessage: '{amount, plural, one {a second} other {# seconds}}', - values: { amount: 30 }, - }), + boundLabel: secondLabel(45), + intervalLabel: secondLabel(30), }, { bound: moment.duration(15, 'second'), interval: moment.duration(10, 'second'), - boundLabel: i18n.translate('data.search.timeBuckets.secondLabel', { - defaultMessage: '{amount, plural, one {a second} other {# seconds}}', - values: { amount: 15 }, - }), - intervalLabel: i18n.translate('data.search.timeBuckets.secondLabel', { - defaultMessage: '{amount, plural, one {a second} other {# seconds}}', - values: { amount: 10 }, - }), + boundLabel: secondLabel(15), + intervalLabel: secondLabel(10), }, { bound: moment.duration(7.5, 'second'), interval: moment.duration(5, 'second'), - boundLabel: i18n.translate('data.search.timeBuckets.secondLabel', { - defaultMessage: '{amount, plural, one {a second} other {# seconds}}', - values: { amount: 7.5 }, - }), - intervalLabel: i18n.translate('data.search.timeBuckets.secondLabel', { - defaultMessage: '{amount, plural, one {a second} other {# seconds}}', - values: { amount: 5 }, - }), + boundLabel: secondLabel(7.5), + intervalLabel: secondLabel(5), }, { bound: moment.duration(5, 'second'), interval: moment.duration(1, 'second'), - boundLabel: i18n.translate('data.search.timeBuckets.secondLabel', { - defaultMessage: '{amount, plural, one {a second} other {# seconds}}', - values: { amount: 5 }, - }), - intervalLabel: i18n.translate('data.search.timeBuckets.secondLabel', { - defaultMessage: '{amount, plural, one {a second} other {# seconds}}', - values: { amount: 1 }, - }), + boundLabel: secondLabel(5), + intervalLabel: secondLabel(1), }, { bound: moment.duration(500, 'ms'), interval: moment.duration(100, 'ms'), - boundLabel: i18n.translate('data.search.timeBuckets.millisecondLabel', { - defaultMessage: '{amount, plural, one {a millisecond} other {# milliseconds}}', - values: { amount: 500 }, - }), - intervalLabel: i18n.translate('data.search.timeBuckets.millisecondLabel', { - defaultMessage: '{amount, plural, one {a millisecond} other {# milliseconds}}', - values: { amount: 100 }, - }), + boundLabel: millisecondLabel(500), + intervalLabel: millisecondLabel(100), }, ]; diff --git a/src/plugins/data/common/search/aggs/buckets/lib/time_buckets/i18n_messages.ts b/src/plugins/data/common/search/aggs/buckets/lib/time_buckets/i18n_messages.ts new file mode 100644 index 0000000000000..56cfdc920317e --- /dev/null +++ b/src/plugins/data/common/search/aggs/buckets/lib/time_buckets/i18n_messages.ts @@ -0,0 +1,54 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { i18n } from '@kbn/i18n'; + +export const dayLabel = (amount: number) => + i18n.translate('data.search.timeBuckets.dayLabel', { + defaultMessage: '{amount, plural, one {a day} other {# days}}', + values: { amount }, + }); + +export const hourLabel = (amount: number) => + i18n.translate('data.search.timeBuckets.hourLabel', { + defaultMessage: '{amount, plural, one {an hour} other {# hours}}', + values: { amount }, + }); + +export const yearLabel = () => + i18n.translate('data.search.timeBuckets.yearLabel', { + defaultMessage: 'a year', + }); + +export const minuteLabel = (amount: number) => + i18n.translate('data.search.timeBuckets.minuteLabel', { + defaultMessage: '{amount, plural, one {a minute} other {# minutes}}', + values: { amount }, + }); + +export const secondLabel = (amount: number) => + i18n.translate('data.search.timeBuckets.secondLabel', { + defaultMessage: '{amount, plural, one {a second} other {# seconds}}', + values: { amount }, + }); + +export const millisecondLabel = (amount: number) => + i18n.translate('data.search.timeBuckets.millisecondLabel', { + defaultMessage: '{amount, plural, one {a millisecond} other {# milliseconds}}', + values: { amount }, + }); + +export const infinityLabel = () => + i18n.translate('data.search.timeBuckets.infinityLabel', { + defaultMessage: 'More than a year', + }); + +export const monthLabel = () => + i18n.translate('data.search.timeBuckets.monthLabel', { + defaultMessage: 'a month', + }); diff --git a/src/plugins/data/public/utils/table_inspector_view/components/data_table_selector.tsx b/src/plugins/data/public/utils/table_inspector_view/components/data_table_selector.tsx index faea07d402f18..0ecbe9e7fabd0 100644 --- a/src/plugins/data/public/utils/table_inspector_view/components/data_table_selector.tsx +++ b/src/plugins/data/public/utils/table_inspector_view/components/data_table_selector.tsx @@ -96,7 +96,7 @@ export class TableSelector extends Component diff --git a/src/plugins/data/server/ui_settings.ts b/src/plugins/data/server/ui_settings.ts index 7c314d66c1901..1a850152e2d32 100644 --- a/src/plugins/data/server/ui_settings.ts +++ b/src/plugins/data/server/ui_settings.ts @@ -204,7 +204,7 @@ export function getUiSettings(
  • {sessionId}: restricts operations to execute all search requests on the same shards. This has the benefit of reusing shard caches across requests.
  • {custom}: allows you to define a your own preference. - Use \''courier:customRequestPreference\'' to customize your preference value.
  • + Use courier:customRequestPreference to customize your preference value.
  • {none}: means do not set a preference. This might provide better performance because requests can be spread across all shard copies. However, results might be inconsistent because different shards might be in different refresh states.
  • diff --git a/src/plugins/data_views/common/data_views/data_views.ts b/src/plugins/data_views/common/data_views/data_views.ts index adce2a0079945..182429de37ef9 100644 --- a/src/plugins/data_views/common/data_views/data_views.ts +++ b/src/plugins/data_views/common/data_views/data_views.ts @@ -39,6 +39,12 @@ import { DuplicateDataViewError, DataViewInsufficientAccessError } from '../erro const MAX_ATTEMPTS_TO_RESOLVE_CONFLICTS = 3; +const createFetchFieldErrorTitle = ({ id, title }: { id?: string; title?: string }) => + i18n.translate('dataViews.fetchFieldErrorTitle', { + defaultMessage: 'Error fetching fields for data view {title} (ID: {id})', + values: { id, title }, + }); + /* * Attributes of the data view saved object * @public @@ -661,9 +667,9 @@ export class DataViewsService { this.onError( err, { - title: i18n.translate('dataViews.fetchFieldErrorTitle', { - defaultMessage: 'Error fetching fields for data view {title} (ID: {id})', - values: { id: dataView.id, title: dataView.getIndexPattern() }, + title: createFetchFieldErrorTitle({ + id: dataView.id, + title: dataView.getIndexPattern(), }), }, dataView.getIndexPattern() @@ -722,10 +728,7 @@ export class DataViewsService { this.onError( err, { - title: i18n.translate('dataViews.fetchFieldErrorTitle', { - defaultMessage: 'Error fetching fields for data view {title} (ID: {id})', - values: { id, title }, - }), + title: createFetchFieldErrorTitle({ id, title }), }, title ); @@ -884,10 +887,7 @@ export class DataViewsService { this.onError( err, { - title: i18n.translate('dataViews.fetchFieldErrorTitle', { - defaultMessage: 'Error fetching fields for data view {title} (ID: {id})', - values: { id: savedObject.id, title: spec.title }, - }), + title: createFetchFieldErrorTitle({ id: savedObject.id, title: spec.title }), }, spec.title || '' ); diff --git a/src/plugins/data_views/server/deprecations/scripted_fields.ts b/src/plugins/data_views/server/deprecations/scripted_fields.ts index 198a44ed45555..934bb71c85875 100644 --- a/src/plugins/data_views/server/deprecations/scripted_fields.ts +++ b/src/plugins/data_views/server/deprecations/scripted_fields.ts @@ -66,6 +66,7 @@ export const createScriptedFieldsDeprecationsConfig: ( allTitles: indexPatternTitles.join('; '), numberOfIndexPatternsWithScriptedFields: indexPatternsWithScriptedFields.length, }, + ignoreTag: true, }), ], }, diff --git a/src/plugins/home/server/tutorials/instructions/heartbeat_instructions.ts b/src/plugins/home/server/tutorials/instructions/heartbeat_instructions.ts index 1fbea1ddf58a1..c1ada0fd8d4cb 100644 --- a/src/plugins/home/server/tutorials/instructions/heartbeat_instructions.ts +++ b/src/plugins/home/server/tutorials/instructions/heartbeat_instructions.ts @@ -71,7 +71,7 @@ export const createHeartbeatInstructions = (context: TutorialContext) => { 'sudo rpm -vi heartbeat-{config.kibana.version}-x86_64.rpm', ], textPost: i18n.translate( - 'home.tutorials.common.heartbeatInstructions.install.debTextPost', + 'home.tutorials.common.heartbeatInstructions.install.rpmTextPost', { defaultMessage: 'Looking for the 32-bit packages? See the [Download page]({link}).', values: { link: 'https://www.elastic.co/downloads/beats/heartbeat' }, diff --git a/src/plugins/home/server/tutorials/instructions/metricbeat_instructions.ts b/src/plugins/home/server/tutorials/instructions/metricbeat_instructions.ts index fc83af9062100..859015613e658 100644 --- a/src/plugins/home/server/tutorials/instructions/metricbeat_instructions.ts +++ b/src/plugins/home/server/tutorials/instructions/metricbeat_instructions.ts @@ -82,7 +82,7 @@ export const createMetricbeatInstructions = memoize( 'sudo rpm -vi metricbeat-{config.kibana.version}-x86_64.rpm', ], textPost: i18n.translate( - 'home.tutorials.common.metricbeatInstructions.install.debTextPost', + 'home.tutorials.common.metricbeatInstructions.install.rpmTextPost', { defaultMessage: 'Looking for the 32-bit packages? See the [Download page]({link}).', values: { link: 'https://www.elastic.co/downloads/beats/metricbeat' }, diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/hooks/use_download_runtime.ts b/x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/hooks/use_download_runtime.ts index cb158fd3958c1..cd1635d65a573 100644 --- a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/hooks/use_download_runtime.ts +++ b/x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/hooks/use_download_runtime.ts @@ -26,7 +26,7 @@ const strings = { getShareableZipErrorTitle: (workpadName: string) => i18n.translate('xpack.canvas.workpadHeaderShareMenu.shareWebsiteErrorTitle', { defaultMessage: - "Failed to create {ZIP} file for '{workpadName}'. The workpad may be too large. You'll need to download the files separately.", + "Failed to create {ZIP} file for ''{workpadName}''. The workpad may be too large. You'll need to download the files separately.", values: { ZIP, workpadName, diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/i18n.ts b/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/i18n.ts index 01b3fb0d93be6..bbcb7f5b2c6b3 100644 --- a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/i18n.ts +++ b/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/abstract_dashboard_drilldown/components/i18n.ts @@ -10,7 +10,7 @@ import { i18n } from '@kbn/i18n'; export const txtDestinationDashboardNotFound = (dashboardId?: string) => i18n.translate('xpack.dashboard.drilldown.errorDestinationDashboardIsMissing', { defaultMessage: - "Destination dashboard ('{dashboardId}') no longer exists. Choose another dashboard.", + "Destination dashboard (''{dashboardId}'') no longer exists. Choose another dashboard.", values: { dashboardId, }, diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/column_headers.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/column_headers.tsx index b36d71a49de13..8bc4da27dcbb7 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/column_headers.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_table/column_headers.tsx @@ -43,6 +43,7 @@ export const ColumnHeaders: React.FC = () => { { defaultMessage: 'A snippet is an escaped representaiton of a field value. Query matches are encapsulated in tags for highlighting. Fallback will look for a snippet match, but fallback to an escaped raw value if none is found. Range is between 20-1000. Defaults to 100.', + ignoreTag: true, } )} /> diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/form.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/form.tsx index 5fe50e7e20711..e2c8ae42d63e4 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/form.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/single_page_layout/hooks/form.tsx @@ -378,7 +378,7 @@ export function useOnSubmit({ notifications.toasts.addSuccess({ title: i18n.translate('xpack.fleet.createPackagePolicy.addedNotificationTitle', { - defaultMessage: `'{packagePolicyName}' integration added.`, + defaultMessage: `''{packagePolicyName}'' integration added.`, values: { packagePolicyName: packagePolicy.name, }, diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/advanced_step_form.tsx b/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/advanced_step_form.tsx index bb344a2b373a1..6e93775486ed7 100644 --- a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/advanced_step_form.tsx +++ b/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/advanced_step_form.tsx @@ -402,6 +402,7 @@ export const AdvancedStepForm: FC = ({ { defaultMessage: 'Define the name of the prediction field in the results. The default is _prediction.', + ignoreTag: true, } )} > diff --git a/x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/metric.tsx b/x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/metric.tsx index dfe22251fb599..e4a6185cce807 100644 --- a/x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/metric.tsx +++ b/x-pack/plugins/observability_solution/infra/public/alerting/inventory/components/metric.tsx @@ -269,6 +269,7 @@ export const MetricExpression = ({ helpText={i18n.translate('xpack.infra.waffle.alerting.customMetrics.helpText', { defaultMessage: 'Choose a name to help identify your custom metric. Defaults to " of ".', + ignoreTag: true, })} > { 'xpack.infra.logs.analysis.anomaliesTableMoreThanExpectedAnomalyMessage', { defaultMessage: - 'more log messages in this {type, select, logRate {dataset} logCategory {category}} than expected', + 'more log messages in this {type, select, logRate {dataset} logCategory {category} other{#}} than expected', values: { type }, } ); @@ -239,7 +239,7 @@ const AnomalyMessage = ({ anomaly }: { anomaly: TableItem }) => { 'xpack.infra.logs.analysis.anomaliesTableFewerThanExpectedAnomalyMessage', { defaultMessage: - 'fewer log messages in this {type, select, logRate {dataset} logCategory {category}} than expected', + 'fewer log messages in this {type, select, logRate {dataset} logCategory {category} other{#}} than expected', values: { type }, } ); diff --git a/x-pack/plugins/observability_solution/observability_ai_assistant_management/public/routes/components/settings_tab/settings_tab.tsx b/x-pack/plugins/observability_solution/observability_ai_assistant_management/public/routes/components/settings_tab/settings_tab.tsx index b455d4a13ca8b..4ec17f34610e2 100644 --- a/x-pack/plugins/observability_solution/observability_ai_assistant_management/public/routes/components/settings_tab/settings_tab.tsx +++ b/x-pack/plugins/observability_solution/observability_ai_assistant_management/public/routes/components/settings_tab/settings_tab.tsx @@ -50,6 +50,7 @@ export function SettingsTab() { { defaultMessage: 'Toggle the AI Assistant button and Contextual Insights on or off in Observability apps by checking or unchecking the AI Assistant feature in Spaces > > Features.', + ignoreTag: true, } )}

    diff --git a/x-pack/plugins/security/server/config_deprecations.ts b/x-pack/plugins/security/server/config_deprecations.ts index 511fe1d04119d..2e6a14b2028a2 100644 --- a/x-pack/plugins/security/server/config_deprecations.ts +++ b/x-pack/plugins/security/server/config_deprecations.ts @@ -122,6 +122,7 @@ export const securityConfigDeprecationProvider: ConfigDeprecationProvider = ({ title: i18n.translate('xpack.security.deprecations.maxRedirectURLSizeTitle', { defaultMessage: '"xpack.security.authc.providers.saml..maxRedirectURLSize" has no effect', + ignoreTag: true, }), message: i18n.translate('xpack.security.deprecations.maxRedirectURLSizeMessage', { defaultMessage: 'This setting is no longer used.', @@ -133,6 +134,7 @@ export const securityConfigDeprecationProvider: ConfigDeprecationProvider = ({ i18n.translate('xpack.security.deprecations.maxRedirectURLSize.manualSteps1', { defaultMessage: 'Remove "xpack.security.authc.providers.saml..maxRedirectURLSize" from kibana.yml.', + ignoreTag: true, }), ], }, diff --git a/x-pack/plugins/security_solution/public/common/components/control_columns/translations.ts b/x-pack/plugins/security_solution/public/common/components/control_columns/translations.ts index 31872dd0087a0..ab8f90224bf52 100644 --- a/x-pack/plugins/security_solution/public/common/components/control_columns/translations.ts +++ b/x-pack/plugins/security_solution/public/common/components/control_columns/translations.ts @@ -18,5 +18,5 @@ export const CHECKBOX_FOR_ROW = ({ i18n.translate('xpack.securitySolution.controlColumns.checkboxForRowAriaLabel', { values: { ariaRowindex, checked, columnValues }, defaultMessage: - '{checked, select, false {unchecked} true {checked}} checkbox for the alert or event in row {ariaRowindex}, with columns {columnValues}', + '{checked, select, true {checked} other {unchecked}} checkbox for the alert or event in row {ariaRowindex}, with columns {columnValues}', }); diff --git a/x-pack/plugins/stack_alerts/public/rule_types/threshold/visualization.tsx b/x-pack/plugins/stack_alerts/public/rule_types/threshold/visualization.tsx index f31dc2fab4383..a6af4a2ae48a4 100644 --- a/x-pack/plugins/stack_alerts/public/rule_types/threshold/visualization.tsx +++ b/x-pack/plugins/stack_alerts/public/rule_types/threshold/visualization.tsx @@ -223,7 +223,6 @@ export const ThresholdVisualization: React.FunctionComponent = ({ } color="danger" diff --git a/x-pack/plugins/translations/translations/fr-FR.json b/x-pack/plugins/translations/translations/fr-FR.json index 77f55af596279..317f4c8f1ee86 100644 --- a/x-pack/plugins/translations/translations/fr-FR.json +++ b/x-pack/plugins/translations/translations/fr-FR.json @@ -324,7 +324,6 @@ "console.requestOptions.openDocumentationButtonLabel": "Ouvrir la documentation", "console.requestOptionsButtonAriaLabel": "Options de requête", "console.requestTimeElapasedBadgeTooltipContent": "Temps écoulé", - "console.sendRequestButtonTooltip": "Cliquer pour envoyer la requête", "console.settingsPage.accessibilityOverlayLabel": "Superposition d’accessibilité", "console.settingsPage.autocompleteLabel": "Saisie semi-automatique", "console.settingsPage.cancelButtonLabel": "Annuler", @@ -44139,7 +44138,6 @@ "advancedSettings.advancedSettingsLabel": "Paramètres avancés", "advancedSettings.featureCatalogueTitle": "Personnalisez votre expérience Kibana : modifiez le format de date, activez le mode sombre, et bien plus encore.", "aiAssistantManagementSelection.aiAssistantSelectionPage.observabilityLabel": "Assistant d'IA Elastic pour Observability", - "aiAssistantManagementSelection.aiAssistantSelectionPage.thisFeatureIsDisabledCallOutLabel": "Cette fonctionnalité est désactivée. Elle peut être activée dans Espaces > Fonctionnalités.", "aiAssistantManagementSelection.aiAssistantSettingsPage.descriptionTextLabel": "L'Assistant d'IA utilise l'IA générative pour aider votre équipe en expliquant les erreurs, en suggérant une résolution et en vous aidant à demander, analyser et visualiser vos données.", "aiAssistantManagementSelection.aiAssistantSettingsPage.h2.aIAssistantLabel": "Assistant d'intelligence artificielle", "aiAssistantManagementSelection.aiAssistantSettingsPage.obsAssistant.documentationLinkLabel": "Documentation", @@ -44857,4 +44855,4 @@ "xpack.serverlessObservability.nav.projectSettings": "Paramètres de projet", "xpack.serverlessObservability.nav.synthetics": "Synthetics" } -} \ No newline at end of file +} diff --git a/x-pack/plugins/translations/translations/ja-JP.json b/x-pack/plugins/translations/translations/ja-JP.json index 2f522969a2d25..5894cbe71d98e 100644 --- a/x-pack/plugins/translations/translations/ja-JP.json +++ b/x-pack/plugins/translations/translations/ja-JP.json @@ -324,7 +324,6 @@ "console.requestOptions.openDocumentationButtonLabel": "ドキュメントを開く", "console.requestOptionsButtonAriaLabel": "リクエストオプション", "console.requestTimeElapasedBadgeTooltipContent": "経過時間", - "console.sendRequestButtonTooltip": "クリックしてリクエストを送信", "console.settingsPage.accessibilityOverlayLabel": "アクセシビリティオーバーレイ", "console.settingsPage.autocompleteLabel": "自動入力", "console.settingsPage.cancelButtonLabel": "キャンセル", @@ -44111,7 +44110,6 @@ "advancedSettings.advancedSettingsLabel": "高度な設定", "advancedSettings.featureCatalogueTitle": "日付形式の変更、ダークモードの有効化など、Kibanaエクスペリエンスをカスタマイズします。", "aiAssistantManagementSelection.aiAssistantSelectionPage.observabilityLabel": "Elastic AI Assistant for Observability", - "aiAssistantManagementSelection.aiAssistantSelectionPage.thisFeatureIsDisabledCallOutLabel": "この機能は無効です。[スペース]>[機能]から有効化できます。", "aiAssistantManagementSelection.aiAssistantSettingsPage.descriptionTextLabel": "AI Assistantは、生成AIを使用して、エラーを説明したり、改善策を提案したり、データのリクエスト、分析、可視化を支援したりすることで、チームを支援します。", "aiAssistantManagementSelection.aiAssistantSettingsPage.h2.aIAssistantLabel": "AI Assistant", "aiAssistantManagementSelection.aiAssistantSettingsPage.obsAssistant.documentationLinkLabel": "ドキュメント", @@ -44829,4 +44827,4 @@ "xpack.serverlessObservability.nav.projectSettings": "プロジェクト設定", "xpack.serverlessObservability.nav.synthetics": "Synthetics" } -} \ No newline at end of file +} diff --git a/x-pack/plugins/translations/translations/zh-CN.json b/x-pack/plugins/translations/translations/zh-CN.json index 02341e19e9c98..306d08d1e7fb0 100644 --- a/x-pack/plugins/translations/translations/zh-CN.json +++ b/x-pack/plugins/translations/translations/zh-CN.json @@ -324,7 +324,6 @@ "console.requestOptions.openDocumentationButtonLabel": "打开文档", "console.requestOptionsButtonAriaLabel": "请求选项", "console.requestTimeElapasedBadgeTooltipContent": "已用时间", - "console.sendRequestButtonTooltip": "单击以发送请求", "console.settingsPage.accessibilityOverlayLabel": "辅助功能覆盖", "console.settingsPage.autocompleteLabel": "自动完成", "console.settingsPage.cancelButtonLabel": "取消", @@ -44159,7 +44158,6 @@ "advancedSettings.advancedSettingsLabel": "高级设置", "advancedSettings.featureCatalogueTitle": "定制您的 Kibana 体验 — 更改日期格式、打开深色模式,等等。", "aiAssistantManagementSelection.aiAssistantSelectionPage.observabilityLabel": "适用于 Observability 的 Elastic AI 助手", - "aiAssistantManagementSelection.aiAssistantSelectionPage.thisFeatureIsDisabledCallOutLabel": "此功能处于禁用状态。可以从“工作区 > 功能”中启用该功能。", "aiAssistantManagementSelection.aiAssistantSettingsPage.descriptionTextLabel": "通过解释错误,建议补救措施并帮助您请求、分析和可视化数据,AI 助手使用生成式 AI 来为您的团队提供帮助。", "aiAssistantManagementSelection.aiAssistantSettingsPage.h2.aIAssistantLabel": "AI 助手", "aiAssistantManagementSelection.aiAssistantSettingsPage.obsAssistant.documentationLinkLabel": "文档", @@ -44877,4 +44875,4 @@ "xpack.serverlessObservability.nav.projectSettings": "项目设置", "xpack.serverlessObservability.nav.synthetics": "Synthetics" } -} \ No newline at end of file +} diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/test_connector_form.tsx b/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/test_connector_form.tsx index 15e61c7b14940..e04a0d6e42a1f 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/test_connector_form.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/test_connector_form.tsx @@ -187,7 +187,6 @@ const SuccessfulExecution = () => ( 'xpack.triggersActionsUI.sections.testConnectorForm.executionSuccessfulTitle', { defaultMessage: 'Test was successful', - values: {}, } )} color="success" diff --git a/x-pack/plugins/upgrade_assistant/server/lib/es_deprecations_status.ts b/x-pack/plugins/upgrade_assistant/server/lib/es_deprecations_status.ts index b557e636c618a..d343aca07f9f6 100644 --- a/x-pack/plugins/upgrade_assistant/server/lib/es_deprecations_status.ts +++ b/x-pack/plugins/upgrade_assistant/server/lib/es_deprecations_status.ts @@ -42,6 +42,7 @@ export function getShardCapacityDeprecationInfo({ { defaultMessage: 'The number of nodes that are running low on disk and it is likely that they will run out of space. Their disk usage has tripped the <>.', + ignoreTag: true, } ) ); @@ -54,6 +55,7 @@ export function getShardCapacityDeprecationInfo({ { defaultMessage: 'The number of nodes that have run out of disk. Their disk usage has tripped the <>.', + ignoreTag: true, } ) );