diff --git a/Gruntfile.js b/Gruntfile.js index 07329fd05bcc64..0660c81c383b78 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -29,6 +29,14 @@ module.exports = function (grunt) { } }()), + i18nextract: { + default_options: { + src: [ 'src/**/*.js', 'src/**/*.html' ], + lang: ['en'], + dest: 'build/tmp' + } + }, + nodeVersion: grunt.file.read('.node-version').trim(), meta: { @@ -65,4 +73,7 @@ module.exports = function (grunt) { // load task definitions grunt.task.loadTasks('tasks'); grunt.task.loadTasks('tasks/build'); + + // load NPM tasks + grunt.loadNpmTasks('grunt-angular-translate'); }; diff --git a/docs/development/plugin/development-internationalization.asciidoc b/docs/development/plugin/development-internationalization.asciidoc index 0a822767b46d78..4cc305cf853b2d 100644 --- a/docs/development/plugin/development-internationalization.asciidoc +++ b/docs/development/plugin/development-internationalization.asciidoc @@ -115,15 +115,15 @@ After `_create.html` -------------------------------------------------------- -

KIBANA-H1_CONFIGURE_INDEX_PATTERN

-

KIBANA-MUST_CONFIGURE_INDEX_PATTERN

+

+

-------------------------------------------------------- `en.json` -------------------------------------------------------------------------------- { - "KIBANA-H1_CONFIGURE_INDEX_PATTERN": "Configure an index pattern", + "KIBANA-CONFIGURE_INDEX_PATTERN": "Configure an index pattern", "KIBANA-MUST_CONFIGURE_INDEX_PATTERN": "In order to use Kibana you must…" } -------------------------------------------------------------------------------- diff --git a/package.json b/package.json index 30dde508b7057b..e2a26db2da6621 100644 --- a/package.json +++ b/package.json @@ -216,6 +216,7 @@ "expect.js": "0.3.1", "faker": "1.1.0", "grunt": "1.0.1", + "grunt-angular-translate": "0.3.0", "grunt-aws-s3": "0.14.5", "grunt-babel": "6.0.0", "grunt-cli": "0.1.13", diff --git a/src/core_plugins/kibana/public/management/sections/indices/_create.html b/src/core_plugins/kibana/public/management/sections/indices/_create.html index 441da9fdf87421..166fd8f68e5cc3 100644 --- a/src/core_plugins/kibana/public/management/sections/indices/_create.html +++ b/src/core_plugins/kibana/public/management/sections/indices/_create.html @@ -2,8 +2,8 @@

@@ -34,7 +34,7 @@

- +
@@ -42,7 +42,7 @@