diff --git a/src/app/components/shared/dialog/topic-dialog-comment/topic-dialog-comment.component.html b/src/app/components/shared/dialog/topic-dialog-comment/topic-dialog-comment.component.html index e4775979698f7323b46ef33f1130e1549580c523..a188307dbb87778b6922d1e455281fa340bb30be 100644 --- a/src/app/components/shared/dialog/topic-dialog-comment/topic-dialog-comment.component.html +++ b/src/app/components/shared/dialog/topic-dialog-comment/topic-dialog-comment.component.html @@ -3,7 +3,7 @@ {{(isCollapsed) ? question : question | slice:0:maxShowedCharachters}}{{question.length > maxShowedCharachters && !isCollapsed? "..." : ""}} <button *ngIf = "question.length > maxShowedCharachters" (click)="isCollapsed = !isCollapsed"> - {{ !isCollapsed ? 'more': 'less' }} + {{ "dialog-comment.read-" + (!isCollapsed ? 'more': 'less') | translate }} </button> </p> </div> \ No newline at end of file diff --git a/src/app/components/shared/dialog/topic-dialog-comment/topic-dialog-comment.component.scss b/src/app/components/shared/dialog/topic-dialog-comment/topic-dialog-comment.component.scss index 8383a827af9fd236ac41be209070d262b62bc064..af788a4d50ce7a49b8e8ebf7cf0760fe7fefeea8 100644 --- a/src/app/components/shared/dialog/topic-dialog-comment/topic-dialog-comment.component.scss +++ b/src/app/components/shared/dialog/topic-dialog-comment/topic-dialog-comment.component.scss @@ -15,7 +15,6 @@ button{ background: none; font-weight: bold; border: 0px solid; - font-size: 14px; } button:focus{ @@ -24,6 +23,5 @@ button:focus{ button:hover{ text-decoration: underline; - font-size: 16px; } diff --git a/src/assets/i18n/participant/de.json b/src/assets/i18n/participant/de.json index 02d6a65d986ad42d4e6420d68f44051252b9bd98..1ee55c1b65fa6775cbd6e652f03027eea8ff7a12 100644 --- a/src/assets/i18n/participant/de.json +++ b/src/assets/i18n/participant/de.json @@ -234,5 +234,9 @@ "cancel": "Abbrechen", "delete": "Löschen", "confirm": "Möchten Sie wirklich das Thema löschen" + }, + "dialog-comment":{ + "read-more": "Mehr lesen", + "read-less": "Weniger lesen" } } diff --git a/src/assets/i18n/participant/en.json b/src/assets/i18n/participant/en.json index a8f3fc3171a85ae0910240832bcc2b20d67e77a0..85051cf0a37a6e294f6a3beb6665525fd86a74d8 100644 --- a/src/assets/i18n/participant/en.json +++ b/src/assets/i18n/participant/en.json @@ -240,5 +240,9 @@ "cancel": "Cancel", "delete": "Delete", "confirm": "Do you really want to delete the topic" + }, + "dialog-comment":{ + "read-more": "Read more", + "read-less": "Read less" } }