Добавлен упрощённый китайский

This commit is contained in:
ErickSkrauch 2018-01-06 19:07:50 +03:00
parent a581292e83
commit d075476577
4 changed files with 22 additions and 11 deletions

View File

@ -24,6 +24,7 @@ const LOCALES_MAP = {
de: 'de-DE',
sr: 'sr-RS',
lt: 'lt-LT',
zh: 'zh-Hans-CN',
};
/**
@ -33,6 +34,7 @@ const LOCALES_MAP = {
const ORIGINAL_NAMES_MAP = {
en: 'English, UK',
pt: 'Português do Brasil',
zh: '简体中文',
};
/**
@ -42,6 +44,7 @@ const ORIGINAL_NAMES_MAP = {
const ENGLISH_NAMES_MAP = {
en: 'English, UK',
pt: 'Portuguese, Brazilian',
zh: 'Simplified Chinese',
};
// https://ely-translates.oneskyapp.com/admin/site/settings

View File

@ -8,6 +8,7 @@ const localeToCountryCode = {
uk: 'ua',
vi: 'vn',
sl: 'si',
zh: 'cn',
};
const SUPPORTED_LANGUAGES: Array<string> = Object.keys(supportedLocales);
@ -26,5 +27,5 @@ export default {
*/
getIconUrl(locale: string): string {
return require(`flag-icon-css/flags/4x3/${localeToCountryCode[locale] || locale}.svg`);
}
},
};

View File

@ -45,7 +45,7 @@
"code": "pt",
"name": "Português do Brasil",
"englishName": "Portuguese, Brazilian",
"progress": 96.2,
"progress": 100,
"isReleased": true
},
"ro": {
@ -82,5 +82,12 @@
"englishName": "Vietnamese",
"progress": 96.2,
"isReleased": true
},
"zh": {
"code": "zh",
"name": "简体中文",
"englishName": "Simplified Chinese",
"progress": 100,
"isReleased": false
}
}

View File

@ -95,15 +95,15 @@
"components.contact.youMessageReceived": "Sua mensagem foi enviada. Vamos responder você logo. A resposta chegará ao seu E-mail:",
"components.footerMenu.contactUs": "Contate conosco",
"components.footerMenu.rules": "Regras",
"components.footerMenu.siteLanguage": "Site language",
"components.languageSwitcher.improveTranslates": "Improve Ely.by translation",
"components.languageSwitcher.improveTranslatesArticleLink": "this article",
"components.languageSwitcher.improveTranslatesDescription": "Ely.bys localization is a community effort. If you want to see Ely.by translated into another language, we'd love your help. To apply read {articleLink}.",
"components.languageSwitcher.mayBeInaccurate": "May be inaccurate",
"components.languageSwitcher.siteLanguage": "Site language",
"components.languageSwitcher.startTyping": "Start typing…",
"components.languageSwitcher.translationProgress": "{progress}% translated",
"components.languageSwitcher.weDoNotSupportThisLang": "Sorry, we do not support this language",
"components.footerMenu.siteLanguage": "Idioma do site",
"components.languageSwitcher.improveTranslates": "Melhorar a tradução do Ely.by",
"components.languageSwitcher.improveTranslatesArticleLink": "esse artículo",
"components.languageSwitcher.improveTranslatesDescription": "A linguagem do Ely.by é um esforço comunitário. Se você quer ver o Ely.by traduzido em outra linguagem, nós amaríamos sua ajuda. Para aplicar leia {articleLink}",
"components.languageSwitcher.mayBeInaccurate": "Pode estar imprecisa",
"components.languageSwitcher.siteLanguage": "Idioma do site",
"components.languageSwitcher.startTyping": "Comece a escrever…",
"components.languageSwitcher.translationProgress": "{progress}% traduzido",
"components.languageSwitcher.weDoNotSupportThisLang": "Desculpe, nós não suportamos este idioma",
"components.profile.accountDescription": "A conta Ely.by lhe dá acesso a muitos recursos do Minecraft, mas cuidado com a sua conta e mude a senha regularmente.",
"components.profile.accountPreferencesTitle": "Preferências da conta Ely.by",
"components.profile.back": "Voltar",