mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[i18n] Translate ML - index.js (#27976)
* Translate index.js * Resolve issue from review comment
This commit is contained in:
parent
99f99291ef
commit
fdfbd57a89
1 changed files with 7 additions and 2 deletions
|
@ -28,6 +28,7 @@ import { resultsServiceRoutes } from './server/routes/results_service';
|
|||
import { jobServiceRoutes } from './server/routes/job_service';
|
||||
import { jobAuditMessagesRoutes } from './server/routes/job_audit_messages';
|
||||
import { fileDataVisualizerRoutes } from './server/routes/file_data_visualizer';
|
||||
import { i18n } from '@kbn/i18n';
|
||||
|
||||
export const ml = (kibana) => {
|
||||
return new kibana.Plugin({
|
||||
|
@ -38,8 +39,12 @@ export const ml = (kibana) => {
|
|||
|
||||
uiExports: {
|
||||
app: {
|
||||
title: 'Machine Learning',
|
||||
description: 'Machine Learning for the Elastic Stack',
|
||||
title: i18n.translate('xpack.ml.mlNavTitle', {
|
||||
defaultMessage: 'Machine Learning'
|
||||
}),
|
||||
description: i18n.translate('xpack.ml.mlNavDescription', {
|
||||
defaultMessage: 'Machine Learning for the Elastic Stack'
|
||||
}),
|
||||
icon: 'plugins/ml/ml.svg',
|
||||
euiIconType: 'machineLearningApp',
|
||||
main: 'plugins/ml/app',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue