Skip to content

Commit

Permalink
Refactor: nhn#110 - ISO language code
Browse files Browse the repository at this point in the history
  • Loading branch information
anton-marchenko committed Dec 21, 2018
1 parent 8b751fd commit 6b707a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/Basic-Tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ imageEditor.loadImageFromURL('img/sampleImage.jpg', 'My sample image')
ImageEditor provide feature to customize all of inscriptions. Look at example.

```js
var locale_ru = { // override default English locale to your custom
var locale_ru_RU = { // override default English locale to your custom
'Crop': 'Обзрезать', // as result default English inscription will be translated into Russian
'Delete-all': 'Удалить всё'
// etc...
Expand All @@ -55,7 +55,7 @@ var instance = new ImageEditor(document.querySelector('#tui-image-editor'), {
path: 'img/sampleImage.jpg',
name: 'SampleImage'
},
locale: locale_ru, // key-value object with localization
locale: locale_ru_RU, // key-value object with localization
theme: blackTheme, // or whiteTheme
initMenu: 'filter',
menuBarPosition: 'bottom'
Expand Down

0 comments on commit 6b707a4

Please sign in to comment.