Skip to content

Commit

Permalink
Merge pull request #1111 from geonetwork/icons-placeholder-improvements
Browse files Browse the repository at this point in the history
Editor: Icons and placeholder improvements
  • Loading branch information
LHBruneton-C2C authored Feb 5, 2025
2 parents c1a6849 + 3d9381d commit 7a0dc5e
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div
class="flex flex-row py-3 px-4 gap-4 overflow-hidden grow border-[1px] border-gray-200"
>
<ng-icon class="mt-0.5" name="iconoirFilterList"></ng-icon>
<ng-icon class="mt-0.5" name="iconoirFilterAlt"></ng-icon>
<gn-ui-filter-dropdown
*ngFor="let filter of searchConfig; let i = index"
[fieldName]="filter.fieldName"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
provideIcons,
provideNgIconsConfig,
} from '@ng-icons/core'
import { iconoirFilterList } from '@ng-icons/iconoir'
import { iconoirFilterAlt } from '@ng-icons/iconoir'
import {
FeatureSearchModule,
SearchFiltersSummaryComponent,
Expand All @@ -24,7 +24,7 @@ import {
],
providers: [
provideIcons({
iconoirFilterList,
iconoirFilterAlt,
}),
provideNgIconsConfig({
size: '1.5rem',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@
data-test="recordTitleInput"
class="grow font-title text-3xl font-normal overflow-hidden"
(change)="valueChange.emit($event.target.value)"
[placeholder]="
'editor.record.form.field.title.placeholder' | translate
"
>{{ valueAsString }}</textarea
>
<div class="flex flex-row justify-between self-start mt-0.5">
Expand Down
1 change: 1 addition & 0 deletions translations/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@
"editor.record.form.field.spatialExtents": "",
"editor.record.form.field.temporalExtents": "Zeitlicher Umfang",
"editor.record.form.field.title": "Metadaten-Titel",
"editor.record.form.field.title.placeholder": "Geben Sie einen Titel ein",
"editor.record.form.field.uniqueIdentifier": "Eindeutige Kennung (ID)",
"editor.record.form.field.updateFrequency": "Aktualisierungshäufigkeit",
"editor.record.form.license.cc-by": "",
Expand Down
1 change: 1 addition & 0 deletions translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@
"editor.record.form.field.spatialExtents": "Spatial extents",
"editor.record.form.field.temporalExtents": "Temporal extents",
"editor.record.form.field.title": "Metadata title",
"editor.record.form.field.title.placeholder": "Enter a title",
"editor.record.form.field.uniqueIdentifier": "Unique identifier",
"editor.record.form.field.updateFrequency": "Update frequency",
"editor.record.form.license.cc-by": "Creative Commons CC-BY",
Expand Down
1 change: 1 addition & 0 deletions translations/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@
"editor.record.form.field.spatialExtents": "",
"editor.record.form.field.temporalExtents": "",
"editor.record.form.field.title": "",
"editor.record.form.field.title.placeholder": "Introduzca un título",
"editor.record.form.field.uniqueIdentifier": "",
"editor.record.form.field.updateFrequency": "",
"editor.record.form.license.cc-by": "",
Expand Down
1 change: 1 addition & 0 deletions translations/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@
"editor.record.form.field.spatialExtents": "Étendue spatiale",
"editor.record.form.field.temporalExtents": "Étendue temporelle",
"editor.record.form.field.title": "Titre",
"editor.record.form.field.title.placeholder": "Saisir un titre",
"editor.record.form.field.uniqueIdentifier": "Identifiant unique",
"editor.record.form.field.updateFrequency": "Fréquence de mise à jour",
"editor.record.form.license.cc-by": "",
Expand Down
1 change: 1 addition & 0 deletions translations/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@
"editor.record.form.field.spatialExtents": "",
"editor.record.form.field.temporalExtents": "",
"editor.record.form.field.title": "",
"editor.record.form.field.title.placeholder": "Inserisci un titolo",
"editor.record.form.field.uniqueIdentifier": "",
"editor.record.form.field.updateFrequency": "",
"editor.record.form.license.cc-by": "",
Expand Down
1 change: 1 addition & 0 deletions translations/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@
"editor.record.form.field.spatialExtents": "",
"editor.record.form.field.temporalExtents": "",
"editor.record.form.field.title": "",
"editor.record.form.field.title.placeholder": "Voer een titel in",
"editor.record.form.field.uniqueIdentifier": "",
"editor.record.form.field.updateFrequency": "",
"editor.record.form.license.cc-by": "",
Expand Down
1 change: 1 addition & 0 deletions translations/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@
"editor.record.form.field.spatialExtents": "",
"editor.record.form.field.temporalExtents": "",
"editor.record.form.field.title": "",
"editor.record.form.field.title.placeholder": "Insira um título",
"editor.record.form.field.uniqueIdentifier": "",
"editor.record.form.field.updateFrequency": "",
"editor.record.form.license.cc-by": "",
Expand Down
1 change: 1 addition & 0 deletions translations/sk.json
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@
"editor.record.form.field.spatialExtents": "",
"editor.record.form.field.temporalExtents": "",
"editor.record.form.field.title": "",
"editor.record.form.field.title.placeholder": "Zadajte názov",
"editor.record.form.field.uniqueIdentifier": "",
"editor.record.form.field.updateFrequency": "",
"editor.record.form.license.cc-by": "",
Expand Down

0 comments on commit 7a0dc5e

Please sign in to comment.