[CST-5535] Add i18n keys for section's headers

This commit is contained in:
Giuseppe Digilio
2022-05-16 18:50:07 +02:00
parent c508e0035e
commit 73573793a0
3 changed files with 17 additions and 2 deletions

View File

@@ -5,7 +5,7 @@
<div class="w-100 d-flex justify-content-between" ngbPanelToggle (click)="acc.toggle(entry.key)" data-test="info-component">
<button type="button" class="btn btn-link p-0" (click)="$event.preventDefault()" [attr.aria-expanded]="!acc.isExpanded(entry.key)"
aria-controls="collapseExample">
{{ entry.key | titlecase }}
{{ 'health-page.section-info.' + entry.key +'.title' | translate }}
</button>
<div class="text-right d-flex">
<ds-health-status [status]="entry.value?.status"></ds-health-status>

View File

@@ -5,7 +5,7 @@
<div class="w-100 d-flex justify-content-between" ngbPanelToggle (click)="acc.toggle(entry.key)" data-test="component">
<button type="button" class="btn btn-link p-0" (click)="$event.preventDefault()" [attr.aria-expanded]="!acc.isExpanded(entry.key)"
aria-controls="collapseExample">
{{ entry.key | titlecase }}
{{ 'health-page.section.' + entry.key +'.title' | translate }}
</button>
<div class="text-right d-flex">
<ds-health-status [status]="entry.value?.status"></ds-health-status>

View File

@@ -1566,6 +1566,21 @@
"grant-request-copy.success": "Successfully granted item request",
"health-page.section.db.title": "Database",
"health-page.section.geoIp.title": "GeoIp",
"health-page.section.solrAuthorityCore.title": "Sor: authority core",
"health-page.section.solrOaiCore.title": "Sor: oai core",
"health-page.section.solrSearchCore.title": "Sor: search core",
"health-page.section.solrStatisticsCore.title": "Sor: statistics core",
"health-page.section-info.app.title": "Application Backend",
"health-page.section-info.java.title": "Java",
"health-page.status.ok.info": "Operational",