Skip to content

Commit

Permalink
fix(dh): Fixed some organization translation typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Romuald Caplier committed Jun 26, 2024
1 parent f098c15 commit a824251
Show file tree
Hide file tree
Showing 12 changed files with 38 additions and 38 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ describe('NavigationMenuComponent', () => {
})
it('displays activeLabel for organisations', async () => {
const activeLabel = (await readFirst(component.activeLink$)).label
expect(activeLabel).toEqual('datahub.header.organisations')
expect(activeLabel).toEqual('datahub.header.organizations')
})
})
describe('navigate to a route with missing label', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { getThemeConfig } from '@geonetwork-ui/util/app-config'

marker('datahub.header.news')
marker('datahub.header.datasets')
marker('datahub.header.organisations')
marker('datahub.header.organizations')

@Component({
selector: 'datahub-navigation-menu',
Expand All @@ -34,7 +34,7 @@ export class NavigationMenuComponent {
},
{
link: `${ROUTER_ROUTE_ORGANIZATIONS}`,
label: 'datahub.header.organisations',
label: 'datahub.header.organizations',
},
]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { OrganizationsServiceInterface } from '@geonetwork-ui/common/domain/orga
import { marker } from '@biesbjerg/ngx-translate-extract-marker'

marker('catalog.figures.datasets')
marker('catalog.figures.organisations')
marker('catalog.figures.organizations')

@Component({
selector: 'datahub-key-figures',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
class="font-title text-[28px] font-medium text-title text-center sm:text-left"
translate
>
organization.lastPublishedDatasets
organization.details.lastPublishedDatasets
</p>
<ng-container
*ngIf="
Expand All @@ -87,7 +87,7 @@
data-test="orgDetailsSearchAllBtn"
translate
>
organization.lastPublishedDatasets.searchAllButton
organization.details.lastPublishedDatasets.searchAllButton
</a>
</div>
</ng-container>
Expand Down
8 changes: 4 additions & 4 deletions translations/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"Add Layer As": "",
"button.login": "",
"catalog.figures.datasets": "{count, plural, =0{Datensätze} one{Datensatz} other{Datensätze}}",
"catalog.figures.organisations": "{count, plural, =0{Organisationen} one{Organisation} other{Organisationen}}",
"catalog.figures.organizations": "{count, plural, =0{Organisationen} one{Organisation} other{Organisationen}}",
"chart.aggregation.average": "Durchschnitt",
"chart.aggregation.count": "Anzahl",
"chart.aggregation.max": "Maximum",
Expand Down Expand Up @@ -117,7 +117,7 @@
"datahub.header.lastRecords": "Die neuesten",
"datahub.header.myfavorites": "Meine Favoriten",
"datahub.header.news": "Startseite",
"datahub.header.organisations": "Organisationen",
"datahub.header.organizations": "Organisationen",
"datahub.header.popularRecords": "Die beliebtesten",
"datahub.header.title.html": "<div class=\"text-white\">Entdecken Sie offene<br> Daten meiner Organisation</div>",
"datahub.news.contact.contactus": "Kontaktieren Sie uns",
Expand Down Expand Up @@ -253,10 +253,10 @@
"organisations.sortBy.nameDesc": "Name Z → A",
"organisations.sortBy.recordCountAsc": "Veröffentlichungen 0 → 9",
"organisations.sortBy.recordCountDesc": "Veröffentlichungen 9 → 0",
"organization.details.lastPublishedDatasets": "",
"organization.details.lastPublishedDatasets.searchAllButton": "",
"organization.details.mailContact": "",
"organization.header.recordCount": "{count, plural, =0{} one{} other{}}",
"organization.lastPublishedDatasets": "",
"organization.lastPublishedDatasets.searchAllButton": "",
"pagination.nextPage": "Nächste Seite",
"pagination.page": "Seite",
"pagination.pageOf": "von",
Expand Down
8 changes: 4 additions & 4 deletions translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"Add Layer As": "",
"button.login": "Log in",
"catalog.figures.datasets": "{count, plural, =0{datasets} one{dataset} other{datasets}}",
"catalog.figures.organisations": "",
"catalog.figures.organizations": "{count, plural, =0{organizations} one{organization} other{organizations}}",
"chart.aggregation.average": "average",
"chart.aggregation.count": "count",
"chart.aggregation.max": "max",
Expand Down Expand Up @@ -117,7 +117,7 @@
"datahub.header.lastRecords": "The latest",
"datahub.header.myfavorites": "My favorites",
"datahub.header.news": "Home",
"datahub.header.organisations": "Organisations",
"datahub.header.organizations": "Organizations",
"datahub.header.popularRecords": "The most popular",
"datahub.header.title.html": "<div class=\"text-white\">Discover open<br> data from my Organization</div>",
"datahub.news.contact.contactus": "Contact us",
Expand Down Expand Up @@ -253,10 +253,10 @@
"organisations.sortBy.nameDesc": "Name Z → A",
"organisations.sortBy.recordCountAsc": "Publications 0 → 9",
"organisations.sortBy.recordCountDesc": "Publications 9 → 0",
"organization.details.lastPublishedDatasets": "Last published datasets",
"organization.details.lastPublishedDatasets.searchAllButton": "Search all",
"organization.details.mailContact": "Contact by email",
"organization.header.recordCount": "{count, plural, =0{data} one{data} other{datas}}",
"organization.lastPublishedDatasets": "Last published datasets",
"organization.lastPublishedDatasets.searchAllButton": "Search all",
"pagination.nextPage": "Next page",
"pagination.page": "page",
"pagination.pageOf": "of",
Expand Down
8 changes: 4 additions & 4 deletions translations/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"Add Layer As": "",
"button.login": "",
"catalog.figures.datasets": "conjuntos de datos",
"catalog.figures.organisations": "",
"catalog.figures.organizations": "organizaciones",
"chart.aggregation.average": "promedio",
"chart.aggregation.count": "conteo",
"chart.aggregation.max": "máximo",
Expand Down Expand Up @@ -117,7 +117,7 @@
"datahub.header.lastRecords": "",
"datahub.header.myfavorites": "",
"datahub.header.news": "",
"datahub.header.organisations": "",
"datahub.header.organizations": "",
"datahub.header.popularRecords": "",
"datahub.header.title.html": "",
"datahub.news.contact.contactus": "",
Expand Down Expand Up @@ -253,10 +253,10 @@
"organisations.sortBy.nameDesc": "",
"organisations.sortBy.recordCountAsc": "",
"organisations.sortBy.recordCountDesc": "",
"organization.details.lastPublishedDatasets": "",
"organization.details.lastPublishedDatasets.searchAllButton": "",
"organization.details.mailContact": "",
"organization.header.recordCount": "{count, plural, =0{} one{} other{}}",
"organization.lastPublishedDatasets": "",
"organization.lastPublishedDatasets.searchAllButton": "",
"pagination.nextPage": "",
"pagination.page": "",
"pagination.pageOf": "",
Expand Down
8 changes: 4 additions & 4 deletions translations/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"Add Layer As": "",
"button.login": "Se connecter",
"catalog.figures.datasets": "{count, plural, =0{données} one{donnée} other{données}}",
"catalog.figures.organisations": "{count, plural, =0{organisations} one{organisation} other{organisations}}",
"catalog.figures.organizations": "{count, plural, =0{organisations} one{organisation} other{organisations}}",
"chart.aggregation.average": "moyenne",
"chart.aggregation.count": "nombre",
"chart.aggregation.max": "maximum",
Expand Down Expand Up @@ -117,7 +117,7 @@
"datahub.header.lastRecords": "Les plus récentes",
"datahub.header.myfavorites": "Mes favoris",
"datahub.header.news": "Accueil",
"datahub.header.organisations": "Organisations",
"datahub.header.organizations": "Organisations",
"datahub.header.popularRecords": "Les plus appréciées",
"datahub.header.title.html": "<div class=\"text-white\">Toutes les données<br>publiques de mon organisation</div>",
"datahub.news.contact.contactus": "Contactez-nous",
Expand Down Expand Up @@ -253,10 +253,10 @@
"organisations.sortBy.nameDesc": "Nom Z → A",
"organisations.sortBy.recordCountAsc": "Données 0 → 9",
"organisations.sortBy.recordCountDesc": "Données 9 → 0",
"organization.details.lastPublishedDatasets": "Dernières données publiées",
"organization.details.lastPublishedDatasets.searchAllButton": "Rechercher tous",
"organization.details.mailContact": "Contacter par mail",
"organization.header.recordCount": "{count, plural, =0{donnée} one{donnée} other{données}}",
"organization.lastPublishedDatasets": "Dernières données publiées",
"organization.lastPublishedDatasets.searchAllButton": "Rechercher tous",
"pagination.nextPage": "Page suivante",
"pagination.page": "page",
"pagination.pageOf": "sur",
Expand Down
8 changes: 4 additions & 4 deletions translations/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"Add Layer As": "",
"button.login": "",
"catalog.figures.datasets": "{count, plural, =0{datasets} one{dataset} other{datasets}}",
"catalog.figures.organisations": "{count, plural, =0{organizzazioni} one{organizzazione} other{organizzazioni}}",
"catalog.figures.organizations": "{count, plural, =0{organizzazioni} one{organizzazione} other{organizzazioni}}",
"chart.aggregation.average": "media",
"chart.aggregation.count": "conteggio",
"chart.aggregation.max": "massimo",
Expand Down Expand Up @@ -117,7 +117,7 @@
"datahub.header.lastRecords": "Ultimi",
"datahub.header.myfavorites": "Miei preferiti",
"datahub.header.news": "Home",
"datahub.header.organisations": "Organizzazioni",
"datahub.header.organizations": "Organizzazioni",
"datahub.header.popularRecords": "Più popolari",
"datahub.header.title.html": "<div class=\"text-white\">Tutti i dati<br>pubblici della mia organizzazione</div>",
"datahub.news.contact.contactus": "Contattateci",
Expand Down Expand Up @@ -253,10 +253,10 @@
"organisations.sortBy.nameDesc": "Nome Z → A",
"organisations.sortBy.recordCountAsc": "Dati 0 → 9",
"organisations.sortBy.recordCountDesc": "Dati 9 → 0",
"organization.details.lastPublishedDatasets": "",
"organization.details.lastPublishedDatasets.searchAllButton": "",
"organization.details.mailContact": "",
"organization.header.recordCount": "{count, plural, =0{} one{} other{}}",
"organization.lastPublishedDatasets": "",
"organization.lastPublishedDatasets.searchAllButton": "",
"pagination.nextPage": "Pagina successiva",
"pagination.page": "pagina",
"pagination.pageOf": "di",
Expand Down
8 changes: 4 additions & 4 deletions translations/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"Add Layer As": "",
"button.login": "",
"catalog.figures.datasets": "datasets",
"catalog.figures.organisations": "organisaties",
"catalog.figures.organizations": "organisaties",
"chart.aggregation.average": "gemiddelde",
"chart.aggregation.count": "aantal",
"chart.aggregation.max": "max",
Expand Down Expand Up @@ -117,7 +117,7 @@
"datahub.header.lastRecords": "",
"datahub.header.myfavorites": "",
"datahub.header.news": "",
"datahub.header.organisations": "",
"datahub.header.organizations": "",
"datahub.header.popularRecords": "",
"datahub.header.title.html": "",
"datahub.news.contact.contactus": "",
Expand Down Expand Up @@ -253,10 +253,10 @@
"organisations.sortBy.nameDesc": "",
"organisations.sortBy.recordCountAsc": "",
"organisations.sortBy.recordCountDesc": "",
"organization.details.lastPublishedDatasets": "",
"organization.details.lastPublishedDatasets.searchAllButton": "",
"organization.details.mailContact": "",
"organization.header.recordCount": "{count, plural, =0{} one{} other{}}",
"organization.lastPublishedDatasets": "",
"organization.lastPublishedDatasets.searchAllButton": "",
"pagination.nextPage": "",
"pagination.page": "",
"pagination.pageOf": "",
Expand Down
8 changes: 4 additions & 4 deletions translations/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"Add Layer As": "",
"button.login": "",
"catalog.figures.datasets": "conjuntos de dados",
"catalog.figures.organisations": "organizações",
"catalog.figures.organizations": "organizações",
"chart.aggregation.average": "média",
"chart.aggregation.count": "contagem",
"chart.aggregation.max": "máximo",
Expand Down Expand Up @@ -117,7 +117,7 @@
"datahub.header.lastRecords": "",
"datahub.header.myfavorites": "",
"datahub.header.news": "",
"datahub.header.organisations": "",
"datahub.header.organizations": "",
"datahub.header.popularRecords": "",
"datahub.header.title.html": "",
"datahub.news.contact.contactus": "",
Expand Down Expand Up @@ -253,10 +253,10 @@
"organisations.sortBy.nameDesc": "",
"organisations.sortBy.recordCountAsc": "",
"organisations.sortBy.recordCountDesc": "",
"organization.details.lastPublishedDatasets": "",
"organization.details.lastPublishedDatasets.searchAllButton": "",
"organization.details.mailContact": "",
"organization.header.recordCount": "{count, plural, =0{} one{} other{}}",
"organization.lastPublishedDatasets": "",
"organization.lastPublishedDatasets.searchAllButton": "",
"pagination.nextPage": "",
"pagination.page": "",
"pagination.pageOf": "",
Expand Down
8 changes: 4 additions & 4 deletions translations/sk.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"Add Layer As": "",
"button.login": "",
"catalog.figures.datasets": "{count, plural, =0{datasety} one{dataset} other{datasety}}",
"catalog.figures.organisations": "{count, plural, =0{organizácie} one{organizácia} other{organizácie}}",
"catalog.figures.organizations": "{count, plural, =0{organizácie} one{organizácia} other{organizácie}}",
"chart.aggregation.average": "priemer",
"chart.aggregation.count": "počet",
"chart.aggregation.max": "maximum",
Expand Down Expand Up @@ -117,7 +117,7 @@
"datahub.header.lastRecords": "Najnovšie",
"datahub.header.myfavorites": "Moje obľúbené",
"datahub.header.news": "Domov",
"datahub.header.organisations": "Organizácie",
"datahub.header.organizations": "Organizácie",
"datahub.header.popularRecords": "Najpopulárnejšie",
"datahub.header.title.html": "<div class=\"text-white\">Objavte otvorené<br>dáta z mojej organizácie</div>",
"datahub.news.contact.contactus": "Kontaktujte nás",
Expand Down Expand Up @@ -253,10 +253,10 @@
"organisations.sortBy.nameDesc": "Názov Z → A",
"organisations.sortBy.recordCountAsc": "Publikácie 0 → 9",
"organisations.sortBy.recordCountDesc": "Publikácie 9 → 0",
"organization.details.lastPublishedDatasets": "",
"organization.details.lastPublishedDatasets.searchAllButton": "",
"organization.details.mailContact": "",
"organization.header.recordCount": "{count, plural, =0{} one{} other{}}",
"organization.lastPublishedDatasets": "",
"organization.lastPublishedDatasets.searchAllButton": "",
"pagination.nextPage": "Ďalšia stránka",
"pagination.page": "strana",
"pagination.pageOf": "z",
Expand Down

0 comments on commit a824251

Please sign in to comment.