mirror of
https://github.com/elyby/accounts-frontend.git
synced 2025-02-04 07:59:36 +05:30
В меню переключения языков добавлена ссылка на сервис переводов
This commit is contained in:
parent
8e06adbf21
commit
ac425431ed
@ -9,7 +9,7 @@ import prompt from 'prompt';
|
||||
const MESSAGES_PATTERN = `${__dirname}/../dist/messages/**/*.json`;
|
||||
const LANG_DIR = `${__dirname}/../src/i18n`;
|
||||
const DEFAULT_LOCALE = 'en';
|
||||
const SUPPORTED_LANGS = [DEFAULT_LOCALE].concat('ru', 'be', 'uk');
|
||||
const SUPPORTED_LANGS = [DEFAULT_LOCALE].concat('ru', 'be', 'pt', 'uk');
|
||||
|
||||
/**
|
||||
* Aggregates the default messages that were extracted from the app's
|
||||
|
@ -62,6 +62,11 @@ class LangMenu extends Component {
|
||||
{this.renderLangLabel(lang)}
|
||||
</li>
|
||||
))}
|
||||
<li className={styles.improveTranslatesLink}>
|
||||
<a href="https://ely-translates.oneskyapp.com/collaboration/project?id=201323" target="_blank">
|
||||
<Message {...messages.improveTranslations} />
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
{
|
||||
"siteLanguage": "Site language"
|
||||
"siteLanguage": "Site language",
|
||||
"improveTranslations": "Improve translations"
|
||||
}
|
||||
|
@ -111,6 +111,24 @@
|
||||
background-image: url('~icons/flag_uk.svg');
|
||||
}
|
||||
|
||||
.improveTranslatesLink {
|
||||
font-size: 11px;
|
||||
text-align: center;
|
||||
padding: 5px 10px;
|
||||
|
||||
a {
|
||||
color: #9a9a9a;
|
||||
border-bottom: 1px dotted #9a9a9a;
|
||||
text-decoration: none;
|
||||
transition: .25s;
|
||||
|
||||
&:hover {
|
||||
border-bottom-color: #777;
|
||||
color: #777;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.trigger {
|
||||
color: #666;
|
||||
border-bottom: 1px dotted #666;
|
||||
|
@ -91,6 +91,7 @@
|
||||
"components.contact.youMessageReceived": "Ваш зварот у форму зваротнай сувязі атрыман. Мы адкажам вам у бліжэйшы час. Адказ прыйдзе на ўказаны вамі E-mail:",
|
||||
"components.footerMenu.contactUs": "Зваротная сувязь",
|
||||
"components.footerMenu.rules": "Правілы сайта",
|
||||
"components.langMenu.improveTranslations": "Палепшыць пераклады",
|
||||
"components.langMenu.siteLanguage": "Мова сайта",
|
||||
"components.profile.accountDescription": "Дзякуючы акаўнту Ely.by вы можаце атрымаць доступ да шматлікіх рэсурсаў, звязаных з Minecraft. Беражыце свой акаўнт, выкарыстоўвайце надзейны пароль і рэгулярна яго змяняйце.",
|
||||
"components.profile.accountPreferencesTitle": "Налады акаўнта Ely.by",
|
||||
|
@ -91,6 +91,7 @@
|
||||
"components.contact.youMessageReceived": "Your message was received. We will respond to you shortly. The answer will come to your E-mail:",
|
||||
"components.footerMenu.contactUs": "Contact Us",
|
||||
"components.footerMenu.rules": "Rules",
|
||||
"components.langMenu.improveTranslations": "Improve translations",
|
||||
"components.langMenu.siteLanguage": "Site language",
|
||||
"components.profile.accountDescription": "Ely.by account allows you to get access to many Minecraft resources. Please, take care of your account safety. Use secure password and change it regularly.",
|
||||
"components.profile.accountPreferencesTitle": "Ely.by account preferences",
|
||||
|
@ -93,6 +93,7 @@
|
||||
"components.footerMenu.rules": "Regras",
|
||||
"components.profile.back": "Voltar",
|
||||
"components.profile.accountDescription": "A conta Ely.by lhe d\u00e1 acesso a muitos recursos do Minecraft, mas cuidado com a sua conta e mude a senha regularmente.",
|
||||
"components.langMenu.improveTranslations": "",
|
||||
"components.langMenu.siteLanguage": "Idioma do site",
|
||||
"components.profile.accountPreferencesTitle": "Prefer\u00eancias da conta Ely.by",
|
||||
"components.profile.changeEmail.alreadyReceivedCode": "J\u00e1 recebeu o c\u00f3digo",
|
||||
|
@ -91,6 +91,7 @@
|
||||
"components.contact.youMessageReceived": "Ваше обращение в форму обратной связи получено. Мы ответим вам в ближайшее время. Ответ придёт на указанный вами E‑mail:",
|
||||
"components.footerMenu.contactUs": "Обратная связь",
|
||||
"components.footerMenu.rules": "Правила сайта",
|
||||
"components.langMenu.improveTranslations": "Улучшить переводы",
|
||||
"components.langMenu.siteLanguage": "Язык сайта",
|
||||
"components.profile.accountDescription": "Благодаря аккаунту Ely.by вы можете получить доступ ко многим ресурсам, связанным с Minecraft. Берегите свой аккаунт, используйте надёжный пароль и регулярно его меняйте.",
|
||||
"components.profile.accountPreferencesTitle": "Настройки аккаунта Ely.by",
|
||||
|
@ -91,6 +91,7 @@
|
||||
"components.contact.youMessageReceived": "Ваше звернення отримано. Ми відповімо вам найближчим часом. Відповідь прийде на вказаний вами E-mail:",
|
||||
"components.footerMenu.contactUs": "Зворотній зв'язок",
|
||||
"components.footerMenu.rules": "Правила сайту",
|
||||
"components.langMenu.improveTranslations": "",
|
||||
"components.langMenu.siteLanguage": "Мова сайту",
|
||||
"components.profile.accountDescription": "Завдяки аккаунту Ely.by ви можете отримати доступ до багатьох ресурсів, пов'язаних з Minecraft. Бережіть свій аккаунт, використовуйте надійний пароль і регулярно його змінюйте.",
|
||||
"components.profile.accountPreferencesTitle": "Налаштування акаунту Ely.by",
|
||||
|
Loading…
x
Reference in New Issue
Block a user