Skip to content

Commit

Permalink
frontend crd/Details: Add Categories field
Browse files Browse the repository at this point in the history
Signed-off-by: Joaquim Rocha <joaquim.rocha@microsoft.com>
  • Loading branch information
joaquimrocha committed May 27, 2024
1 parent e4ecdf4 commit f8d09da
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions frontend/src/components/crd/Details.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ export default function CustomResourceDefinitionDetails() {
</Link>
),
},
{
name: t('translation|Categories'),
value: item.getCategories().join(', '),
hide: item.getCategories().length === 0,
},
]
}
/>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/i18n/locales/de/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -267,9 +267,9 @@
"No custom resources found": "Keine benutzerdefinierten Ressourcen gefunden",
"Loading resource definition details": "Lade Details zur Ressourcendefinition",
"Group": "Gruppe",
"Categories": "",
"Accepted Names": "Akzeptierte Namen",
"Versions": "Versionen",
"Categories": "",
"Spawn Job": "Erzeuge Job",
"This will trigger a new Job based on the CronJob {{ name }}": "Dies löst einen neuen Job aus, der auf dem CronJob {{ name }} basiert.",
"Job Name": "Job Name",
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/i18n/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -267,9 +267,9 @@
"No custom resources found": "No custom resources found",
"Loading resource definition details": "Loading resource definition details",
"Group": "Group",
"Categories": "Categories",
"Accepted Names": "Accepted Names",
"Versions": "Versions",
"Categories": "Categories",
"Spawn Job": "Spawn Job",
"This will trigger a new Job based on the CronJob {{ name }}": "This will trigger a new Job based on the CronJob {{ name }}",
"Job Name": "Job Name",
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/i18n/locales/es/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -267,9 +267,9 @@
"No custom resources found": "No se encontraron custom resources",
"Loading resource definition details": "Cargando detalles de la definición del recurso",
"Group": "Grupo",
"Categories": "",
"Accepted Names": "Nombres Aceptados",
"Versions": "Versiones",
"Categories": "",
"Spawn Job": "Crear Job",
"This will trigger a new Job based on the CronJob {{ name }}": "Esto desencadenará un nuevo Job basado en el CronJob {{ name }}",
"Job Name": "Nombre del Job",
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/i18n/locales/fr/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -267,9 +267,9 @@
"No custom resources found": "Aucune ressource personnalisée trouvée",
"Loading resource definition details": "Chargement des détails de la définition des ressources",
"Group": "Groupe",
"Categories": "",
"Accepted Names": "Noms acceptés",
"Versions": "Versions",
"Categories": "",
"Spawn Job": "Lancer un Job",
"This will trigger a new Job based on the CronJob {{ name }}": "Cela déclenchera un nouveau Job basé sur le CronJob {{ name }}",
"Job Name": "Nom du Job",
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/i18n/locales/pt/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -267,9 +267,9 @@
"No custom resources found": "Não foram encontrados \"custom resources\"",
"Loading resource definition details": "A carregar os detalhes de definição do recurso",
"Group": "Grupo",
"Categories": "",
"Accepted Names": "Nomes aceites",
"Versions": "Versões",
"Categories": "",
"Spawn Job": "Criar Job",
"This will trigger a new Job based on the CronJob {{ name }}": "Isto irá despoletar um novo Job baseado no CronJob {{ name }}",
"Job Name": "Nome do Job",
Expand Down

0 comments on commit f8d09da

Please sign in to comment.