Skip to content
Snippets Groups Projects
Commit 2d341fc1 authored by Mohammad Alayoub's avatar Mohammad Alayoub
Browse files

added translation for the buttons readmore and readless

parent 7d027ea5
Branches
Tags
No related merge requests found
......@@ -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
......@@ -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;
}
......@@ -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"
}
}
......@@ -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"
}
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment