Добавлена (скопипащена) команда для пулинга локалей из oneskyapp

This commit is contained in:
ErickSkrauch
2017-05-20 02:53:11 +03:00
parent ea81641ad0
commit 7609cb0e15
6 changed files with 179 additions and 6 deletions

View File

@@ -1,2 +1,4 @@
export const SUPPORTED_LANGUAGES = ['be', 'en', 'ru', 'pt', 'uk'];
import LOCALES from 'i18n/index.json';
export const SUPPORTED_LANGUAGES = Object.keys(LOCALES);
export const DEFAULT_LANGUAGE = 'en';

22
src/i18n/index.json Normal file
View File

@@ -0,0 +1,22 @@
{
"be": {
"name": "Беларуская",
"progress": 100
},
"en": {
"name": "English",
"progress": 100
},
"pt": {
"name": "Português",
"progress": 100
},
"ru": {
"name": "Русский",
"progress": 100
},
"uk": {
"name": "Українська",
"progress": 100
}
}