Merge pull request #8352 from nixocio/ui_issue_6857

Mark missing words for translation

Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
softwarefactory-project-zuul[bot] 2020-10-09 16:01:40 +00:00 committed by GitHub
commit e6c124962b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View File

@ -179,7 +179,7 @@ function AdHocDetailsStep({ i18n, verbosityOptions, moduleOptions }) {
target="_blank"
rel="noopener noreferrer"
>
{i18n._(`here`)}
{i18n._(t`here`)}
</a>
</span>
}

View File

@ -135,7 +135,7 @@ function PromptJobTemplateDetail({ i18n, resource }) {
<Detail label={i18n._(t`Verbosity`)} value={VERBOSITY[verbosity]} />
<Detail
label={i18n._(t`Show Changes`)}
value={diff_mode ? 'On' : 'Off'}
value={diff_mode ? i18n._(t`On`) : i18n._(t`Off`)}
/>
<Detail label={i18n._(t` Job Slicing`)} value={job_slice_count} />
<Detail label={i18n._(t`Host Config Key`)} value={host_config_key} />

View File

@ -225,7 +225,7 @@ function ScheduleDetail({ schedule, i18n }) {
{ask_diff_mode_on_launch && typeof diff_mode === 'boolean' && (
<Detail
label={i18n._(t`Show Changes`)}
value={diff_mode ? 'On' : 'Off'}
value={diff_mode ? i18n._(t`On`) : i18n._(t`Off`)}
/>
)}
{ask_credential_on_launch && (

View File

@ -231,9 +231,9 @@ function JobTemplateDetail({ i18n, template }) {
/>
<Detail
label={i18n._(t`Show Changes`)}
value={diff_mode ? 'On' : 'Off'}
value={diff_mode ? i18n._(t`On`) : i18n._(t`Off`)}
/>
<Detail label={i18n._(t` Job Slicing`)} value={job_slice_count} />
<Detail label={i18n._(t`Job Slicing`)} value={job_slice_count} />
{host_config_key && (
<React.Fragment>
<Detail