ADD: Added Danish (DK) into settings screen

This commit is contained in:
Marcos Rodriguez Vélez 2019-01-06 11:46:31 -05:00
parent 1ae2bf81c6
commit f2ba903fc3
3 changed files with 10 additions and 7 deletions

View File

@ -32,6 +32,7 @@ let strings;
locale === 'de-de' ||
locale === 'cs-cz' ||
locale === 'th-th' ||
locale === 'da-dk' ||
locale === 'nl-nl'
) {
locale = locale.replace('-', '_');
@ -51,6 +52,7 @@ strings = new Localization({
es: require('./es.js'),
ua: require('./ua.js'),
de_de: require('./de_DE.js'),
da_dk: require('./da_DK.js'),
cs_cz: require('./cs_CZ.js'),
th_th: require('./th_TH.js'),
nl_nl: require('./nl_NL.js'),

View File

@ -18,16 +18,17 @@ export default class Language extends Component {
language: loc.getLanguage(),
availableLanguages: [
{ label: 'English', value: 'en' },
{ label: 'Русский', value: 'ru' },
{ label: 'Українська', value: 'ua' },
{ label: 'Spanish', value: 'es' },
{ label: 'Portuguese (BR)', value: 'pt_br' },
{ label: 'Portuguese (PT)', value: 'pt_pt' },
{ label: 'Deutsch (DE)', value: 'de_de' },
{ label: 'Česky (CZ)', value: 'cs_cz' },
{ label: 'Thai (TH)', value: 'th_th' },
{ label: 'Danish (DK)', value: 'da_dk' },
{ label: 'Deutsch (DE)', value: 'de_de' },
{ label: 'Dutch (NL)', value: 'nl_nl' },
{ label: 'Français (FR)', value: 'fr_fr' },
{ label: 'Portuguese (BR)', value: 'pt_br' },
{ label: 'Portuguese (PT)', value: 'pt_pt' },
{ label: 'Русский', value: 'ru' },
{ label: 'Spanish', value: 'es' },
{ label: 'Thai (TH)', value: 'th_th' },
{ label: 'Українська', value: 'ua' },
],
};
}