Introduce x-pack/translations plugin. (#30115)

This commit is contained in:
Aleh Zasypkin 2019-02-05 22:31:28 +01:00 committed by GitHub
parent f44dea576c
commit b61f87f559
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 0 deletions

View file

@ -33,6 +33,7 @@ import { taskManager } from './plugins/task_manager';
import { rollup } from './plugins/rollup';
import { remoteClusters } from './plugins/remote_clusters';
import { crossClusterReplication } from './plugins/cross_cluster_replication';
import { translations } from './plugins/translations';
import { upgradeAssistant } from './plugins/upgrade_assistant';
import { uptime } from './plugins/uptime';
import { ossTelemetry } from './plugins/oss_telemetry';
@ -68,6 +69,7 @@ module.exports = function (kibana) {
rollup(kibana),
remoteClusters(kibana),
crossClusterReplication(kibana),
translations(kibana),
upgradeAssistant(kibana),
uptime(kibana),
ossTelemetry(kibana),

View file

@ -0,0 +1,15 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
export function translations(kibana: any) {
return new kibana.Plugin({
id: 'translations',
init() {
// There is nothing to initialize.
},
});
}