Skip to content

Commit

Permalink
Merge pull request #8352 from nixocio/ui_issue_6857
Browse files Browse the repository at this point in the history
Mark missing words for translation

Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
  • Loading branch information
2 parents bb15132 + d149e23 commit e6c1249
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ function AdHocDetailsStep({ i18n, verbosityOptions, moduleOptions }) {
target="_blank"
rel="noopener noreferrer"
>
{i18n._(`here`)}
{i18n._(t`here`)}
</a>
</span>
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 && (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e6c1249

Please sign in to comment.