Change language switcher bottom text

This commit is contained in:
ErickSkrauch 2019-03-09 03:30:06 +03:00
parent 9f49bebc3b
commit 38eff395c7
3 changed files with 10 additions and 12 deletions

View File

@ -11,7 +11,7 @@ import styles from './languageSwitcher.scss';
import messages from './languageSwitcher.intl.json';
import LanguageList from './LanguageList';
const improveTranslationUrl = 'http://ely.by/erickskrauch/posts/174943';
const translateUrl = 'https://translate.ely.by/project/elyby/invite';
export type LocaleData = {
code: string,
@ -92,13 +92,11 @@ class LanguageSwitcher extends Component<{
<Message {...messages.improveTranslates} />
</div>
<div className={styles.improveTranslatesText}>
<Message {...messages.improveTranslatesDescription} values={{
articleLink: (
<a href={improveTranslationUrl} target="_blank">
<Message {...messages.improveTranslatesArticleLink} />
</a>
),
}} />
<Message {...messages.improveTranslatesDescription} />
{' '}
<a href={translateUrl} target="_blank">
<Message {...messages.improveTranslatesParticipate} />
</a>
</div>
</div>
</div>

View File

@ -5,6 +5,6 @@
"mayBeInaccurate": "May be inaccurate",
"weDoNotSupportThisLang": "Sorry, we do not support this language",
"improveTranslates": "Improve Ely.by translation",
"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}.",
"improveTranslatesArticleLink": "this article"
"improveTranslatesDescription": "Ely.bys localization is a community effort. If you want to improve the translation of Ely.by, we'd love your help.",
"improveTranslatesParticipate": "Click here to participate."
}

View File

@ -138,8 +138,8 @@
"components.footerMenu.rules": "Rules",
"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.improveTranslatesDescription": "Ely.bys localization is a community effort. If you want to improve the translation of Ely.by, we'd love your help.",
"components.languageSwitcher.improveTranslatesParticipate": "Click here to participate.",
"components.languageSwitcher.mayBeInaccurate": "May be inaccurate",
"components.languageSwitcher.siteLanguage": "Site language",
"components.languageSwitcher.startTyping": "Start typing…",