diff --git a/README.md b/README.md index 44ae8e2..fc6c3a8 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ timepicker.on('change', function(evt) { ###### `options` is an object with the following possible properties: - `theme`: `'dark'`; Theme color -- `lang`: `'en'`; Header language ('en', 'pt' for now) +- `lang`: `'en'`; Header language ('en', 'pt', 'de', 'es', 'fr', 'it', 'nl', 'sv', 'ru') ## Methods @@ -129,4 +129,4 @@ timepicker.on('change', function(evt) {}); ### Changed - No longer needs to load a separate CSS file. -- (breaking change) No longer accept an array of elements. \ No newline at end of file +- (breaking change) No longer accept an array of elements. diff --git a/src/constants.js b/src/constants.js index b621033..c76df7b 100644 --- a/src/constants.js +++ b/src/constants.js @@ -26,4 +26,5 @@ export const LANG = { it: { hour: 'Ora', minute: 'minuto' }, nl: { hour: 'Uur', minute: 'minuut' }, sv: { hour: 'Timmars', minute: 'minut' }, + ru: { hour: 'Час', minute: 'Минута'} };