diff --git a/libs/ui/elements/src/lib/max-lines/max-lines.component.html b/libs/ui/elements/src/lib/max-lines/max-lines.component.html index ca94208cde..040a870e84 100644 --- a/libs/ui/elements/src/lib/max-lines/max-lines.component.html +++ b/libs/ui/elements/src/lib/max-lines/max-lines.component.html @@ -11,5 +11,5 @@ (click)="toggleDisplay()" class="text-primary cursor-pointer pt-2.5" > - {{ isExpanded ? 'Show Less' : 'Read More' }} + {{ (isExpanded ? 'ui.readLess' : 'ui.readMore') | translate }} diff --git a/libs/ui/elements/src/lib/ui-elements.module.ts b/libs/ui/elements/src/lib/ui-elements.module.ts index de219197c5..377675c95f 100644 --- a/libs/ui/elements/src/lib/ui-elements.module.ts +++ b/libs/ui/elements/src/lib/ui-elements.module.ts @@ -26,7 +26,7 @@ import { FormsModule } from '@angular/forms' import { AvatarComponent } from './avatar/avatar.component' import { UserPreviewComponent } from './user-preview/user-preview.component' import { GnUiLinkifyDirective } from './metadata-info/linkify.directive' -import { PaginationButtonsComponent } from './pagination-buttons/pagination-buttons.component'; +import { PaginationButtonsComponent } from './pagination-buttons/pagination-buttons.component' import { MaxLinesComponent } from './max-lines/max-lines.component' @NgModule({ diff --git a/translations/de.json b/translations/de.json index 6ecb5d6d4a..53e9c81a52 100644 --- a/translations/de.json +++ b/translations/de.json @@ -294,6 +294,8 @@ "tooltip.html.copy": "HTML kopieren", "tooltip.url.copy": "URL kopieren", "tooltip.url.open": "URL öffnen", + "ui.readLess": "Weniger lesen", + "ui.readMore": "Weiterlesen", "wfs.featuretype.notfound": "Kein passender Feature-Typ wurde im Dienst gefunden", "wfs.geojsongml.notsupported": "Dieser Dienst unterstützt das GeoJSON- oder GML-Format nicht", "wfs.unreachable.cors": "Der Dienst konnte aufgrund von CORS-Beschränkungen nicht erreicht werden", diff --git a/translations/en.json b/translations/en.json index cce6353f66..26a9cf9506 100644 --- a/translations/en.json +++ b/translations/en.json @@ -294,6 +294,8 @@ "tooltip.html.copy": "Copy HTML", "tooltip.url.copy": "Copy URL", "tooltip.url.open": "Open URL", + "ui.readLess": "Read less", + "ui.readMore": "Read more", "wfs.featuretype.notfound": "No matching feature type was found in the service", "wfs.geojsongml.notsupported": "This service does not support the GeoJSON or GML format", "wfs.unreachable.cors": "The service could not be reached because of CORS limitations", diff --git a/translations/es.json b/translations/es.json index 9e4bd02a79..daf3244485 100644 --- a/translations/es.json +++ b/translations/es.json @@ -294,6 +294,8 @@ "tooltip.html.copy": "", "tooltip.url.copy": "", "tooltip.url.open": "", + "ui.readLess": "", + "ui.readMore": "", "wfs.featuretype.notfound": "", "wfs.geojsongml.notsupported": "", "wfs.unreachable.cors": "", diff --git a/translations/fr.json b/translations/fr.json index 795fff860d..96ccb278b4 100644 --- a/translations/fr.json +++ b/translations/fr.json @@ -294,6 +294,8 @@ "tooltip.html.copy": "Copier le HTML", "tooltip.url.copy": "Copier l'URL", "tooltip.url.open": "Ouvrir l'URL", + "ui.readLess": "Réduire", + "ui.readMore": "Lire la suite", "wfs.featuretype.notfound": "La classe d'objet n'a pas été trouvée dans le service", "wfs.geojsongml.notsupported": "Le service ne supporte pas le format GeoJSON ou GML", "wfs.unreachable.cors": "Le service n'est pas accessible en raison de limitations CORS", diff --git a/translations/it.json b/translations/it.json index b5c7f49092..5a8638635c 100644 --- a/translations/it.json +++ b/translations/it.json @@ -294,6 +294,8 @@ "tooltip.html.copy": "", "tooltip.url.copy": "", "tooltip.url.open": "", + "ui.readLess": "", + "ui.readMore": "", "wfs.featuretype.notfound": "", "wfs.geojsongml.notsupported": "", "wfs.unreachable.cors": "", diff --git a/translations/nl.json b/translations/nl.json index 2176b77624..e0dffaca5e 100644 --- a/translations/nl.json +++ b/translations/nl.json @@ -294,6 +294,8 @@ "tooltip.html.copy": "", "tooltip.url.copy": "", "tooltip.url.open": "", + "ui.readLess": "", + "ui.readMore": "", "wfs.featuretype.notfound": "", "wfs.geojsongml.notsupported": "", "wfs.unreachable.cors": "", diff --git a/translations/pt.json b/translations/pt.json index 4a2bdba25c..232c3f7051 100644 --- a/translations/pt.json +++ b/translations/pt.json @@ -294,6 +294,8 @@ "tooltip.html.copy": "", "tooltip.url.copy": "", "tooltip.url.open": "", + "ui.readLess": "", + "ui.readMore": "", "wfs.featuretype.notfound": "", "wfs.geojsongml.notsupported": "", "wfs.unreachable.cors": "", diff --git a/translations/sk.json b/translations/sk.json index c43cce6973..107da7447d 100644 --- a/translations/sk.json +++ b/translations/sk.json @@ -294,6 +294,8 @@ "tooltip.html.copy": "", "tooltip.url.copy": "", "tooltip.url.open": "", + "ui.readLess": "", + "ui.readMore": "", "wfs.featuretype.notfound": "", "wfs.geojsongml.notsupported": "", "wfs.unreachable.cors": "",