Skip to content

Commit

Permalink
[docs] fix typos in the i18n and development docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
azasypkin committed Dec 3, 2018
1 parent f2c050c commit 3427a08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/development/add-data-guide.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion packages/kbn-i18n/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3427a08

Please sign in to comment.