Skip to content

Commit

Permalink
replace translations help texxt
Browse files Browse the repository at this point in the history
  • Loading branch information
magicznyleszek committed Nov 29, 2018
1 parent 6da893d commit e26731e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 3 additions & 3 deletions jsapp/js/components/modalForms/translationSettings.es6
Original file line number Diff line number Diff line change
Expand Up @@ -265,9 +265,9 @@ export class TranslationSettings extends React.Component {
<bem.FormModal__item>
{(translations && translations[0] === null) ?
<bem.FormView__cell m='translation-note'>
{t('Here you can add more languages to your project, and translate the strings in each of them.')}
<br/>
<strong>{t('Please name your default language before adding languages and translations.')}</strong>
<p>{t('Here you can add more languages to your project, and translate the strings in each of them.')}</p>
<p><strong>{t('Please name your default language before adding languages and translations.')}</strong></p>
<p>{t('For the language code field, we suggest using the <a href="##code_url##">official language code</a> (e.g. `English (en)` or `Rohingya (rhg)`). <a href="##more_url##">Read more.</a>').replace('##code_url', 'https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry').replace('##more_url', 'http://xlsform.org/en/#multiple-language-support')}</p>
</bem.FormView__cell>
:
<bem.FormView__cell m='label'>
Expand Down
4 changes: 4 additions & 0 deletions jsapp/scss/components/_kobo.modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,10 @@ $z-modal-x: 10;

.form-view__cell--translation-note {
padding-bottom: 20px;

p {
margin: 0;
}
}
.form-view__cell--translation {
display: flex;
Expand Down

0 comments on commit e26731e

Please sign in to comment.