mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-29 16:44:27 +03:00
Merge pull request #641 from esteemapp/language/pt-ko-lt
added porteguese lithuanian and korean
This commit is contained in:
commit
a5a20b079d
@ -6,6 +6,9 @@ export default {
|
|||||||
'it-IT': require('./it-IT.json'),
|
'it-IT': require('./it-IT.json'),
|
||||||
'ru-RU': require('./ru-RU.json'),
|
'ru-RU': require('./ru-RU.json'),
|
||||||
'tr-TR': require('./tr-TR.json'),
|
'tr-TR': require('./tr-TR.json'),
|
||||||
|
'ko-KR': require('./ko-KR.json'),
|
||||||
|
'lt-LT': require('./lt-LT.json'),
|
||||||
|
'pt-PT': require('./pt-PT.json'),
|
||||||
};
|
};
|
||||||
|
|
||||||
export const locales = [
|
export const locales = [
|
||||||
@ -16,4 +19,7 @@ export const locales = [
|
|||||||
{ id: 'iT-IT', name: 'Italian' },
|
{ id: 'iT-IT', name: 'Italian' },
|
||||||
{ id: 'ru-RU', name: 'Русский' },
|
{ id: 'ru-RU', name: 'Русский' },
|
||||||
{ id: 'tr-TR', name: 'Türkçe' },
|
{ id: 'tr-TR', name: 'Türkçe' },
|
||||||
|
{ id: 'ko-KR', name: 'Korean' },
|
||||||
|
{ id: 'lt-LT', name: 'Lithuanian' },
|
||||||
|
{ id: 'pt-PT', name: 'Porteguese' },
|
||||||
];
|
];
|
||||||
|
@ -1,3 +1,23 @@
|
|||||||
export default ['Deutsche', 'English', 'Hungarian', 'Indonesian', 'Russian', 'Turkish'];
|
export default [
|
||||||
|
'Deutsche',
|
||||||
|
'English',
|
||||||
|
'Hungarian',
|
||||||
|
'Indonesian',
|
||||||
|
'Korean',
|
||||||
|
'Lithuanian',
|
||||||
|
'Porteguese',
|
||||||
|
'Russian',
|
||||||
|
'Turkish',
|
||||||
|
];
|
||||||
|
|
||||||
export const VALUE = ['de-DE', 'en-US', 'hu-HU', 'id-ID', 'ru-RU', 'tr-TR'];
|
export const VALUE = [
|
||||||
|
'de-DE',
|
||||||
|
'en-US',
|
||||||
|
'hu-HU',
|
||||||
|
'id-ID',
|
||||||
|
'ko-KR',
|
||||||
|
'lt-LT',
|
||||||
|
'pt-PT',
|
||||||
|
'ru-RU',
|
||||||
|
'tr-TR',
|
||||||
|
];
|
||||||
|
@ -10,7 +10,7 @@ import { NavigationActions } from 'react-navigation';
|
|||||||
import { bindActionCreators } from 'redux';
|
import { bindActionCreators } from 'redux';
|
||||||
import Push from 'appcenter-push';
|
import Push from 'appcenter-push';
|
||||||
|
|
||||||
// Constants
|
// Languages
|
||||||
import en from 'react-intl/locale-data/en';
|
import en from 'react-intl/locale-data/en';
|
||||||
import id from 'react-intl/locale-data/id';
|
import id from 'react-intl/locale-data/id';
|
||||||
import ru from 'react-intl/locale-data/ru';
|
import ru from 'react-intl/locale-data/ru';
|
||||||
@ -18,7 +18,11 @@ import de from 'react-intl/locale-data/de';
|
|||||||
import it from 'react-intl/locale-data/it';
|
import it from 'react-intl/locale-data/it';
|
||||||
import hu from 'react-intl/locale-data/hu';
|
import hu from 'react-intl/locale-data/hu';
|
||||||
import tr from 'react-intl/locale-data/tr';
|
import tr from 'react-intl/locale-data/tr';
|
||||||
|
import ko from 'react-intl/locale-data/ko';
|
||||||
|
import lt from 'react-intl/locale-data/lt';
|
||||||
|
import pt from 'react-intl/locale-data/pt';
|
||||||
|
|
||||||
|
// Constants
|
||||||
import AUTH_TYPE from '../../../constants/authType';
|
import AUTH_TYPE from '../../../constants/authType';
|
||||||
|
|
||||||
// Services
|
// Services
|
||||||
@ -67,7 +71,7 @@ import {
|
|||||||
import ApplicationScreen from '../screen/applicationScreen';
|
import ApplicationScreen from '../screen/applicationScreen';
|
||||||
import { Launch } from '../..';
|
import { Launch } from '../..';
|
||||||
|
|
||||||
addLocaleData([...en, ...ru, ...de, ...id, ...it, ...hu, ...tr]);
|
addLocaleData([...en, ...ru, ...de, ...id, ...it, ...hu, ...tr, ...ko, ...pt, ...lt]);
|
||||||
|
|
||||||
class ApplicationContainer extends Component {
|
class ApplicationContainer extends Component {
|
||||||
constructor() {
|
constructor() {
|
||||||
|
Loading…
Reference in New Issue
Block a user