Mark missing words for translation

Add missing words for translation.

`...more`, and `Show Less` were already marked for translation in a
previous PR, since this code is shared as part of the `ChipGroup` code.

See: https://github.com/ansible/awx/issues/6857
This commit is contained in:
nixocio
2020-10-08 11:19:55 -04:00
parent a1700404cd
commit d149e23170
4 changed files with 5 additions and 5 deletions

View File

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

View File

@@ -135,7 +135,7 @@ function PromptJobTemplateDetail({ i18n, resource }) {
<Detail label={i18n._(t`Verbosity`)} value={VERBOSITY[verbosity]} /> <Detail label={i18n._(t`Verbosity`)} value={VERBOSITY[verbosity]} />
<Detail <Detail
label={i18n._(t`Show Changes`)} 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} />
<Detail label={i18n._(t`Host Config Key`)} value={host_config_key} /> <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' && ( {ask_diff_mode_on_launch && typeof diff_mode === 'boolean' && (
<Detail <Detail
label={i18n._(t`Show Changes`)} label={i18n._(t`Show Changes`)}
value={diff_mode ? 'On' : 'Off'} value={diff_mode ? i18n._(t`On`) : i18n._(t`Off`)}
/> />
)} )}
{ask_credential_on_launch && ( {ask_credential_on_launch && (

View File

@@ -231,9 +231,9 @@ function JobTemplateDetail({ i18n, template }) {
/> />
<Detail <Detail
label={i18n._(t`Show Changes`)} 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 && ( {host_config_key && (
<React.Fragment> <React.Fragment>
<Detail <Detail