Skip to content

Commit

Permalink
Merge pull request #1080 from geonetwork/various-wording-fixes
Browse files Browse the repository at this point in the history
Various wording fixes
  • Loading branch information
LHBruneton-C2C authored Jan 29, 2025
2 parents 2faf1ec + e4a2f4e commit 97cdb3a
Show file tree
Hide file tree
Showing 11 changed files with 143 additions and 151 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
<span
class="material-symbols-outlined gn-ui-icon-small"
[ngClass]="{ 'text-primary': !preview }"
>{{ preview ? 'visibility' : 'visibility_off' }}</span
>{{ preview ? 'visibility_off' : 'visibility' }}</span
>
&nbsp;
{{ preview ? 'WYSIWYG' : 'Markdown' }}
{{ preview ? 'Edit' : 'Preview' }}
</gn-ui-button>
<gn-ui-markdown-editor
[preview]="preview"
Expand Down
8 changes: 4 additions & 4 deletions libs/feature/editor/src/lib/fields.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -256,10 +256,10 @@ export const DATA_MANAGERS_SECTION: EditorSection = {
fields: [CONTACTS_FOR_RESOURCE_FIELD],
}

export const DATA_POINT_OF_CONTACT_SECTION: EditorSection = {
labelKey: marker('editor.record.form.section.dataPointOfContact.label'),
export const METADATA_POINT_OF_CONTACT_SECTION: EditorSection = {
labelKey: marker('editor.record.form.section.metadataPointOfContact.label'),
descriptionKey: marker(
'editor.record.form.section.dataPointOfContact.description'
'editor.record.form.section.metadataPointOfContact.description'
),
hidden: false,
fields: [CONTACTS],
Expand All @@ -285,7 +285,7 @@ export const DEFAULT_CONFIGURATION: EditorConfig = {
CLASSIFICATION_SECTION,
USE_AND_ACCESS_CONDITIONS_SECTION,
DATA_MANAGERS_SECTION,
DATA_POINT_OF_CONTACT_SECTION,
METADATA_POINT_OF_CONTACT_SECTION,
],
},
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
(sortChange)="setSortBy('recordOwner', $event)"
>
<ng-template #header>
<span translate>record.metadata.author</span>
<span translate>search.filters.user</span>
</ng-template>
<ng-template #cell let-item>
<ng-icon name="iconoirUser" size="16px"></ng-icon>
Expand Down Expand Up @@ -119,7 +119,7 @@
(sortChange)="setSortBy('changeDate', $event)"
>
<ng-template #header>
<span translate>record.metadata.updatedOn</span>
<span translate>search.filters.changeDate</span>
</ng-template>
<ng-template #cell let-item>
<div class="flex text-left w-full text-xs">
Expand Down
5 changes: 2 additions & 3 deletions translations/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -266,9 +266,9 @@
"editor.record.form.section.classification.label": "",
"editor.record.form.section.dataManagers.description": "",
"editor.record.form.section.dataManagers.label": "",
"editor.record.form.section.dataPointOfContact.description": "",
"editor.record.form.section.dataPointOfContact.label": "",
"editor.record.form.section.geographicalCoverage.label": "",
"editor.record.form.section.metadataPointOfContact.description": "",
"editor.record.form.section.metadataPointOfContact.label": "",
"editor.record.form.section.useAndAccessConditions.label": "",
"editor.record.form.temporalExtents.addDate": "Zeitpunkt",
"editor.record.form.temporalExtents.addRange": "Zeitraum",
Expand Down Expand Up @@ -416,7 +416,6 @@
"record.metadata.api.form.reset": "Zurücksetzen",
"record.metadata.api.form.title": "Benutzerdefinierte URL generieren",
"record.metadata.api.form.type": "Ausgabeformat",
"record.metadata.author": "Bearbeitet von",
"record.metadata.catalog": "Katalog",
"record.metadata.contact": "Kontakt",
"record.metadata.creation": "Erstellungsdatum",
Expand Down
129 changes: 64 additions & 65 deletions translations/en.json

Large diffs are not rendered by default.

5 changes: 2 additions & 3 deletions translations/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -266,9 +266,9 @@
"editor.record.form.section.classification.label": "",
"editor.record.form.section.dataManagers.description": "",
"editor.record.form.section.dataManagers.label": "",
"editor.record.form.section.dataPointOfContact.description": "",
"editor.record.form.section.dataPointOfContact.label": "",
"editor.record.form.section.geographicalCoverage.label": "",
"editor.record.form.section.metadataPointOfContact.description": "",
"editor.record.form.section.metadataPointOfContact.label": "",
"editor.record.form.section.useAndAccessConditions.label": "",
"editor.record.form.temporalExtents.addDate": "",
"editor.record.form.temporalExtents.addRange": "",
Expand Down Expand Up @@ -416,7 +416,6 @@
"record.metadata.api.form.reset": "",
"record.metadata.api.form.title": "",
"record.metadata.api.form.type": "",
"record.metadata.author": "",
"record.metadata.catalog": "",
"record.metadata.contact": "",
"record.metadata.creation": "",
Expand Down
119 changes: 59 additions & 60 deletions translations/fr.json

Large diffs are not rendered by default.

5 changes: 2 additions & 3 deletions translations/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -266,9 +266,9 @@
"editor.record.form.section.classification.label": "",
"editor.record.form.section.dataManagers.description": "",
"editor.record.form.section.dataManagers.label": "",
"editor.record.form.section.dataPointOfContact.description": "",
"editor.record.form.section.dataPointOfContact.label": "",
"editor.record.form.section.geographicalCoverage.label": "",
"editor.record.form.section.metadataPointOfContact.description": "",
"editor.record.form.section.metadataPointOfContact.label": "",
"editor.record.form.section.useAndAccessConditions.label": "",
"editor.record.form.temporalExtents.addDate": "",
"editor.record.form.temporalExtents.addRange": "",
Expand Down Expand Up @@ -416,7 +416,6 @@
"record.metadata.api.form.reset": "Reset",
"record.metadata.api.form.title": "Genera un URL personalizzata",
"record.metadata.api.form.type": "Formato in uscita",
"record.metadata.author": "Modificato da",
"record.metadata.catalog": "Catalogo",
"record.metadata.contact": "Contatto",
"record.metadata.creation": "Data di creazione",
Expand Down
5 changes: 2 additions & 3 deletions translations/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -266,9 +266,9 @@
"editor.record.form.section.classification.label": "",
"editor.record.form.section.dataManagers.description": "",
"editor.record.form.section.dataManagers.label": "",
"editor.record.form.section.dataPointOfContact.description": "",
"editor.record.form.section.dataPointOfContact.label": "",
"editor.record.form.section.geographicalCoverage.label": "",
"editor.record.form.section.metadataPointOfContact.description": "",
"editor.record.form.section.metadataPointOfContact.label": "",
"editor.record.form.section.useAndAccessConditions.label": "",
"editor.record.form.temporalExtents.addDate": "",
"editor.record.form.temporalExtents.addRange": "",
Expand Down Expand Up @@ -416,7 +416,6 @@
"record.metadata.api.form.reset": "",
"record.metadata.api.form.title": "",
"record.metadata.api.form.type": "",
"record.metadata.author": "",
"record.metadata.catalog": "",
"record.metadata.contact": "",
"record.metadata.creation": "",
Expand Down
5 changes: 2 additions & 3 deletions translations/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -266,9 +266,9 @@
"editor.record.form.section.classification.label": "",
"editor.record.form.section.dataManagers.description": "",
"editor.record.form.section.dataManagers.label": "",
"editor.record.form.section.dataPointOfContact.description": "",
"editor.record.form.section.dataPointOfContact.label": "",
"editor.record.form.section.geographicalCoverage.label": "",
"editor.record.form.section.metadataPointOfContact.description": "",
"editor.record.form.section.metadataPointOfContact.label": "",
"editor.record.form.section.useAndAccessConditions.label": "",
"editor.record.form.temporalExtents.addDate": "",
"editor.record.form.temporalExtents.addRange": "",
Expand Down Expand Up @@ -416,7 +416,6 @@
"record.metadata.api.form.reset": "",
"record.metadata.api.form.title": "",
"record.metadata.api.form.type": "",
"record.metadata.author": "",
"record.metadata.catalog": "",
"record.metadata.contact": "",
"record.metadata.creation": "",
Expand Down
5 changes: 2 additions & 3 deletions translations/sk.json
Original file line number Diff line number Diff line change
Expand Up @@ -266,9 +266,9 @@
"editor.record.form.section.classification.label": "",
"editor.record.form.section.dataManagers.description": "",
"editor.record.form.section.dataManagers.label": "",
"editor.record.form.section.dataPointOfContact.description": "",
"editor.record.form.section.dataPointOfContact.label": "",
"editor.record.form.section.geographicalCoverage.label": "",
"editor.record.form.section.metadataPointOfContact.description": "",
"editor.record.form.section.metadataPointOfContact.label": "",
"editor.record.form.section.useAndAccessConditions.label": "",
"editor.record.form.temporalExtents.addDate": "",
"editor.record.form.temporalExtents.addRange": "",
Expand Down Expand Up @@ -416,7 +416,6 @@
"record.metadata.api.form.reset": "Resetovať",
"record.metadata.api.form.title": "Vytvoriť vlatnú URL",
"record.metadata.api.form.type": "Výstupný formát",
"record.metadata.author": "Autor",
"record.metadata.catalog": "Katalóg",
"record.metadata.contact": "Kontakt",
"record.metadata.creation": "",
Expand Down

0 comments on commit 97cdb3a

Please sign in to comment.