Skip to content

Commit

Permalink
refactor: nhn#110 - ISO language code (nhn#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
anton-marchenko authored and jinwoo-kim-nhn committed Dec 24, 2018
1 parent a14783b commit 19d033f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ Add dependencies & initialize ImageEditor class with given element to make an im
```javascript
var ImageEditor = require('tui-image-editor');
var blackTheme = require('./js/theme/black-theme.js');
var locale_ru = { // override default English locale to your custom
var locale_ru_RU = { // override default English locale to your custom
'Crop': 'Обзрезать',
'Delete-all': 'Удалить всё'
// etc...
Expand All @@ -258,7 +258,7 @@ var instance = new ImageEditor(document.querySelector('#tui-image-editor'), {
path: 'img/sampleImage.jpg',
name: 'SampleImage'
},
locale: locale_ru,
locale: locale_ru_RU,
theme: blackTheme, // or whiteTheme
initMenu: 'filter',
menuBarPosition: 'bottom'
Expand Down

0 comments on commit 19d033f

Please sign in to comment.