mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-11-30 02:32:58 +05:30
Change language switcher bottom text
This commit is contained in:
parent
9f49bebc3b
commit
38eff395c7
@ -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>
|
||||
|
@ -5,6 +5,6 @@
|
||||
"mayBeInaccurate": "May be inaccurate",
|
||||
"weDoNotSupportThisLang": "Sorry, we do not support this language",
|
||||
"improveTranslates": "Improve Ely.by translation",
|
||||
"improveTranslatesDescription": "Ely.by’s 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.by’s 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."
|
||||
}
|
||||
|
@ -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.by’s 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.by’s 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…",
|
||||
|
Loading…
Reference in New Issue
Block a user