[docs] fix typos in the i18n and development docs.

This commit is contained in:
Aleh Zasypkin 2018-12-03 12:13:29 +01:00
parent f2c050cec7
commit 3427a08108
2 changed files with 2 additions and 2 deletions

View file

@ -13,7 +13,7 @@ Each tutorial contains three sets of instructions:
=== Creating a new tutorial
1. Create a new directory in the link:https://github.com/elastic/kibana/tree/master/src/legacy/core_plugins/kibana/server/tutorials[tutorials directory].
2. In the new directory, create a file called `index.js` that exports a function.
The function must return a JavaScript object that conforms to the link:https://github.com/elastic/kibana/blob/master/src/lgeacy/core_plugins/kibana/common/tutorials/tutorial_schema.js[tutorial schema].
The function must return a JavaScript object that conforms to the link:https://github.com/elastic/kibana/blob/master/src/legacy/core_plugins/kibana/common/tutorials/tutorial_schema.js[tutorial schema].
3. Register the tutorial in link:https://github.com/elastic/kibana/blob/master/src/legacy/core_plugins/kibana/server/tutorials/register.js[register.js] by calling `server.registerTutorial(myFuncImportedFromIndexJs)`.
4. Add image assets to the link:https://github.com/elastic/kibana/tree/master/src/legacy/core_plugins/kibana/public/home/tutorial_resources[tutorial_resources directory].
5. Run Kibana locally to preview the tutorial.

View file

@ -53,7 +53,7 @@ where `locale` is [ISO 639 language code](https://en.wikipedia.org/wiki/List_of_
For example:
```
src/core_plugins/kibana/translations/fr.json
src/legacy/core_plugins/kibana/translations/fr.json
```
When a new translation file is added, you have to register this file into