Skip to content

Commit

Permalink
🐛 Fix label for targets screen selection (#804)
Browse files Browse the repository at this point in the history
Fixes https://issues.redhat.com/browse/MTA-430

Signed-off-by: ibolton336 <ibolton@redhat.com>
  • Loading branch information
ibolton336 committed Apr 7, 2023
1 parent 63dceb5 commit bbf6631
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion client/public/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@
"noCustomRules": "No custom rules available",
"notAllAnalyzable": "Some applications cannot be analyzed",
"notAllAnalyzableDetails": "Some of the selected applications cannot be analyzed with the selected source because those values have not been defined. By continuing, these applications won't be included in the analysis.",
"ruleFileRequired": "Target or rule file required",
"skipTargets": "Target selection can be skipped if custom rules file(s) are used",
"ruleFileRequiredDetails": "At least one custom rule file is required if no targets are selected.",
"packageToInclude": "Add a package to include",
"packageIncluded": "This package is already included",
Expand Down
2 changes: 1 addition & 1 deletion client/public/locales/es/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@
"noCustomRules": "No custom rules personalizadas disponibles",
"notAllAnalyzable": "Algunas aplicaciones no se pueden analizar",
"notAllAnalyzableDetails": "Algunas de las aplicaciones seleccionadas no se pueden analizar con la fuente seleccionada porque esos valores no se han definido. Si continúa, estas aplicaciones no se incluirán en el análisis.",
"ruleFileRequired": "Se requiere un archivo de destino o regla.",
"skipTargets": "La selección de destino se puede omitir si se utilizan archivos de reglas personalizadas",
"ruleFileRequiredDetails": "Se requiere al menos un archivo de reglas personalizadas si no se seleccionan objetivos.",
"packageToInclude": "Agregar un paquete para incluir",
"packageIncluded": "Este paquete ya está incluido.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ export const SetOptions: React.FC = () => {
name="formTargets"
label={t("wizard.terms.targets")}
fieldId="targets"
isRequired
renderInput={({
field: { onChange, onBlur, value: selectedFormTargets },
fieldState: { isTouched, error },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export const SetTargets: React.FC = () => {
<Alert
variant="warning"
isInline
title={t("wizard.label.ruleFileRequiredDetails")}
title={t("wizard.label.skipTargets")}
/>
)}
<Gallery hasGutter>
Expand Down

0 comments on commit bbf6631

Please sign in to comment.