From d149e23170f00cd0ea1288086ae2b729c5ac2378 Mon Sep 17 00:00:00 2001 From: nixocio Date: Thu, 8 Oct 2020 11:19:55 -0400 Subject: [PATCH] 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 --- awx/ui_next/src/components/AdHocCommands/AdHocDetailsStep.jsx | 2 +- .../src/components/PromptDetail/PromptJobTemplateDetail.jsx | 2 +- .../src/components/Schedule/ScheduleDetail/ScheduleDetail.jsx | 2 +- .../screens/Template/JobTemplateDetail/JobTemplateDetail.jsx | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/awx/ui_next/src/components/AdHocCommands/AdHocDetailsStep.jsx b/awx/ui_next/src/components/AdHocCommands/AdHocDetailsStep.jsx index 3d12f2767c39..bd5fdab92c2b 100644 --- a/awx/ui_next/src/components/AdHocCommands/AdHocDetailsStep.jsx +++ b/awx/ui_next/src/components/AdHocCommands/AdHocDetailsStep.jsx @@ -179,7 +179,7 @@ function AdHocDetailsStep({ i18n, verbosityOptions, moduleOptions }) { target="_blank" rel="noopener noreferrer" > - {i18n._(`here`)} + {i18n._(t`here`)} } diff --git a/awx/ui_next/src/components/PromptDetail/PromptJobTemplateDetail.jsx b/awx/ui_next/src/components/PromptDetail/PromptJobTemplateDetail.jsx index d0d44272b870..5a2a9399e868 100644 --- a/awx/ui_next/src/components/PromptDetail/PromptJobTemplateDetail.jsx +++ b/awx/ui_next/src/components/PromptDetail/PromptJobTemplateDetail.jsx @@ -135,7 +135,7 @@ function PromptJobTemplateDetail({ i18n, resource }) { diff --git a/awx/ui_next/src/components/Schedule/ScheduleDetail/ScheduleDetail.jsx b/awx/ui_next/src/components/Schedule/ScheduleDetail/ScheduleDetail.jsx index 4c6366959035..cf553745f008 100644 --- a/awx/ui_next/src/components/Schedule/ScheduleDetail/ScheduleDetail.jsx +++ b/awx/ui_next/src/components/Schedule/ScheduleDetail/ScheduleDetail.jsx @@ -225,7 +225,7 @@ function ScheduleDetail({ schedule, i18n }) { {ask_diff_mode_on_launch && typeof diff_mode === 'boolean' && ( )} {ask_credential_on_launch && ( diff --git a/awx/ui_next/src/screens/Template/JobTemplateDetail/JobTemplateDetail.jsx b/awx/ui_next/src/screens/Template/JobTemplateDetail/JobTemplateDetail.jsx index e369d3467b82..e25032e52745 100644 --- a/awx/ui_next/src/screens/Template/JobTemplateDetail/JobTemplateDetail.jsx +++ b/awx/ui_next/src/screens/Template/JobTemplateDetail/JobTemplateDetail.jsx @@ -231,9 +231,9 @@ function JobTemplateDetail({ i18n, template }) { /> - + {host_config_key && (