Skip to content

Commit

Permalink
Merge pull request #956 from geonetwork/dh-css-and-translations
Browse files Browse the repository at this point in the history
Datahub: Display search filter topic label in plural
  • Loading branch information
tkohr authored Aug 5, 2024
2 parents a1bcfe2 + 09e8c72 commit aa5f997
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,15 @@
>
<gn-ui-badge
*ngIf="(isGeodata$ | async) === true"
[style.--gn-ui-badge-padding]="'0.4em 0.75em'"
[style.--gn-ui-badge-padding]="'0.5em 0.75em'"
[style.--gn-ui-badge-background-color]="'var(--color-primary-darker)'"
[style.--gn-ui-badge-opacity]="'1'"
[style.font-size]="'0.85em'"
>
<mat-icon class="material-symbols-outlined mt-0.5 ml-2 text-[20px]">
<mat-icon class="material-symbols-outlined mr-2">
my_location
</mat-icon>
<span class="ml-2 mr-2" translate>record.metadata.type</span>
<span class="font-semibold" translate>record.metadata.type</span>
</gn-ui-badge>
<div *ngIf="metadata.recordUpdated">
<p translate [translateParams]="{ date: lastUpdate }">
Expand Down
2 changes: 1 addition & 1 deletion translations/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@
"search.filters.resourceType": "Ressourcentyp",
"search.filters.standard": "Standard",
"search.filters.title": "Ergebnisse filtern",
"search.filters.topic": "Thema",
"search.filters.topic": "Themen",
"search.filters.useSpatialFilter": "Zuerst Datensätze im Interessenbereich anzeigen",
"search.filters.useSpatialFilterHelp": "Wenn diese Option aktiviert ist, werden Datensätze im Bereich des Katalogs zuerst angezeigt. Datensätze außerhalb dieses Bereichs werden nicht angezeigt.",
"share.tab.permalink": "Teilen",
Expand Down
2 changes: 1 addition & 1 deletion translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@
"search.filters.resourceType": "Resource type",
"search.filters.standard": "Standard",
"search.filters.title": "Filter your results",
"search.filters.topic": "Topic",
"search.filters.topic": "Topics",
"search.filters.useSpatialFilter": "Show records in the area of interest first",
"search.filters.useSpatialFilterHelp": "When this is enabled, records situated in the catalog's area of interest are shown first; records outside of this area will not show up.",
"share.tab.permalink": "Share",
Expand Down
2 changes: 1 addition & 1 deletion translations/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@
"search.filters.resourceType": "Type de ressource",
"search.filters.standard": "Standard",
"search.filters.title": "Affiner votre recherche",
"search.filters.topic": "Thème",
"search.filters.topic": "Thèmes",
"search.filters.useSpatialFilter": "Mettre en avant les résultats sur la zone d'intérêt",
"search.filters.useSpatialFilterHelp": "Si cette option est activée, les fiches portant sur la zone d'intérêt du catalogue seront montrées en premier; les fiches en dehors de cette zone n'apparaîtront pas dans les résultats.",
"share.tab.permalink": "Partager",
Expand Down
2 changes: 1 addition & 1 deletion translations/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@
"search.filters.resourceType": "Tipo di risorsa",
"search.filters.standard": "Standard",
"search.filters.title": "Affina la sua ricerca",
"search.filters.topic": "Argomento",
"search.filters.topic": "Argomenti",
"search.filters.useSpatialFilter": "Evidenzia i risultati nell'area di interesse",
"search.filters.useSpatialFilterHelp": "Se attivata, le schede relative all'area di interesse del catalogo saranno mostrate per prime; le schede al di fuori di questa area non appariranno nei risultati.",
"share.tab.permalink": "Condividere",
Expand Down
2 changes: 1 addition & 1 deletion translations/sk.json
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@
"search.filters.resourceType": "Typ zdroja",
"search.filters.standard": "Štandard",
"search.filters.title": "Filtrovanie výsledkov",
"search.filters.topic": "Téma",
"search.filters.topic": "Témy",
"search.filters.useSpatialFilter": "Najskôr zobraziť záznamy v oblasti záujmu",
"search.filters.useSpatialFilterHelp": "Keď je táto možnosť zapnutá, záznamy nachádzajúce sa v oblasti záujmu katalógu sa zobrazia ako prvé; záznamy mimo tejto oblasti sa nezobrazia.",
"share.tab.permalink": "Zdieľať",
Expand Down

0 comments on commit aa5f997

Please sign in to comment.