diff --git a/x-pack/plugins/infra/public/components/logging/log_analysis_setup/missing_privileges_messages.ts b/x-pack/plugins/infra/public/components/logging/log_analysis_setup/missing_privileges_messages.ts index 70f5b542b233..cca8fc03f7c2 100644 --- a/x-pack/plugins/infra/public/components/logging/log_analysis_setup/missing_privileges_messages.ts +++ b/x-pack/plugins/infra/public/components/logging/log_analysis_setup/missing_privileges_messages.ts @@ -6,8 +6,8 @@ import { i18n } from '@kbn/i18n'; -export const missingMlResultsPrivilegesTitle = i18n.translate( - 'xpack.infra.logs.analysis.missingMlResultsPrivilegesTitle', +export const missingMlPrivilegesTitle = i18n.translate( + 'xpack.infra.logs.analysis.missingMlPrivilegesTitle', { defaultMessage: 'Additional Machine Learning privileges required', } @@ -21,13 +21,6 @@ export const missingMlResultsPrivilegesDescription = i18n.translate( } ); -export const missingMlSetupPrivilegesTitle = i18n.translate( - 'xpack.infra.logs.analysis.missingMlSetupPrivilegesTitle', - { - defaultMessage: 'Additional Machine Learning privileges required', - } -); - export const missingMlSetupPrivilegesDescription = i18n.translate( 'xpack.infra.logs.analysis.missingMlSetupPrivilegesDescription', { diff --git a/x-pack/plugins/infra/public/components/logging/log_analysis_setup/missing_results_privileges_prompt.tsx b/x-pack/plugins/infra/public/components/logging/log_analysis_setup/missing_results_privileges_prompt.tsx index 68bff9188b4c..3aa8b544b7b5 100644 --- a/x-pack/plugins/infra/public/components/logging/log_analysis_setup/missing_results_privileges_prompt.tsx +++ b/x-pack/plugins/infra/public/components/logging/log_analysis_setup/missing_results_privileges_prompt.tsx @@ -8,14 +8,14 @@ import { EuiEmptyPrompt } from '@elastic/eui'; import React from 'react'; import { euiStyled } from '../../../../../observability/public'; import { + missingMlPrivilegesTitle, missingMlResultsPrivilegesDescription, - missingMlResultsPrivilegesTitle, } from './missing_privileges_messages'; import { UserManagementLink } from './user_management_link'; export const MissingResultsPrivilegesPrompt: React.FunctionComponent = () => ( {missingMlResultsPrivilegesTitle}} + title={

{missingMlPrivilegesTitle}

} body={

{missingMlResultsPrivilegesDescription}

} actions={} /> diff --git a/x-pack/plugins/infra/public/components/logging/log_analysis_setup/missing_setup_privileges_prompt.tsx b/x-pack/plugins/infra/public/components/logging/log_analysis_setup/missing_setup_privileges_prompt.tsx index af0bba3756df..6a5a1da89041 100644 --- a/x-pack/plugins/infra/public/components/logging/log_analysis_setup/missing_setup_privileges_prompt.tsx +++ b/x-pack/plugins/infra/public/components/logging/log_analysis_setup/missing_setup_privileges_prompt.tsx @@ -8,14 +8,14 @@ import { EuiEmptyPrompt } from '@elastic/eui'; import React from 'react'; import { euiStyled } from '../../../../../observability/public'; import { + missingMlPrivilegesTitle, missingMlSetupPrivilegesDescription, - missingMlSetupPrivilegesTitle, } from './missing_privileges_messages'; import { UserManagementLink } from './user_management_link'; export const MissingSetupPrivilegesPrompt: React.FunctionComponent = () => ( {missingMlSetupPrivilegesTitle}} + title={

{missingMlPrivilegesTitle}

} body={

{missingMlSetupPrivilegesDescription}

} actions={} /> diff --git a/x-pack/plugins/infra/public/components/logging/log_analysis_setup/missing_setup_privileges_tooltip.tsx b/x-pack/plugins/infra/public/components/logging/log_analysis_setup/missing_setup_privileges_tooltip.tsx index 9d16be362aad..ccd207129e47 100644 --- a/x-pack/plugins/infra/public/components/logging/log_analysis_setup/missing_setup_privileges_tooltip.tsx +++ b/x-pack/plugins/infra/public/components/logging/log_analysis_setup/missing_setup_privileges_tooltip.tsx @@ -7,8 +7,8 @@ import { EuiToolTip, PropsOf } from '@elastic/eui'; import React from 'react'; import { + missingMlPrivilegesTitle, missingMlSetupPrivilegesDescription, - missingMlSetupPrivilegesTitle, } from './missing_privileges_messages'; export const MissingSetupPrivilegesToolTip: React.FC ); diff --git a/x-pack/plugins/translations/translations/ja-JP.json b/x-pack/plugins/translations/translations/ja-JP.json index fb1590457981..d07d92a028d8 100644 --- a/x-pack/plugins/translations/translations/ja-JP.json +++ b/x-pack/plugins/translations/translations/ja-JP.json @@ -7415,8 +7415,6 @@ "xpack.infra.logs.analysis.anomalySectionNoDataTitle": "表示するデータがありません。", "xpack.infra.logs.analysis.jobStoppedCalloutMessage": "ML ジョブが手動またはリソース不足により停止しました。新しいログエントリーはジョブが再起動するまで処理されません。", "xpack.infra.logs.analysis.jobStoppedCalloutTitle": "ML ジョブが停止しました", - "xpack.infra.logs.analysis.missingMlResultsPrivilegesTitle": "追加の機械学習の権限が必要です", - "xpack.infra.logs.analysis.missingMlSetupPrivilegesTitle": "追加の機械学習の権限が必要です", "xpack.infra.logs.analysis.mlAppButton": "機械学習を開く", "xpack.infra.logs.analysis.mlUnavailableBody": "詳細は{machineLearningAppLink}をご覧ください。", "xpack.infra.logs.analysis.mlUnavailableTitle": "この機能には機械学習が必要です", diff --git a/x-pack/plugins/translations/translations/zh-CN.json b/x-pack/plugins/translations/translations/zh-CN.json index b50d99fa2492..8f844de735dc 100644 --- a/x-pack/plugins/translations/translations/zh-CN.json +++ b/x-pack/plugins/translations/translations/zh-CN.json @@ -7420,8 +7420,6 @@ "xpack.infra.logs.analysis.anomalySectionNoDataTitle": "没有可显示的数据。", "xpack.infra.logs.analysis.jobStoppedCalloutMessage": "ML 作业已手动停止或由于缺乏资源而停止。作业重新启动后,才会处理新的日志条目。", "xpack.infra.logs.analysis.jobStoppedCalloutTitle": "ML 作业已停止", - "xpack.infra.logs.analysis.missingMlResultsPrivilegesTitle": "需要额外的 Machine Learning 权限", - "xpack.infra.logs.analysis.missingMlSetupPrivilegesTitle": "需要额外的 Machine Learning 权限", "xpack.infra.logs.analysis.mlAppButton": "打开 Machine Learning", "xpack.infra.logs.analysis.mlUnavailableBody": "查看 {machineLearningAppLink} 以获取更多信息。", "xpack.infra.logs.analysis.mlUnavailableTitle": "此功能需要 Machine Learning",