diff --git a/src/app/components/shared/_dialogs/topic-cloud-dialog/topic-cloud-dialog.component.html b/src/app/components/shared/_dialogs/topic-cloud-dialog/topic-cloud-dialog.component.html index 82b0157636ad720594e9062cba23f2c402b94aef..e912befa63c522aece1035211afc8732e44ba227 100644 --- a/src/app/components/shared/_dialogs/topic-cloud-dialog/topic-cloud-dialog.component.html +++ b/src/app/components/shared/_dialogs/topic-cloud-dialog/topic-cloud-dialog.component.html @@ -1,3 +1,4 @@ +<p> {{'topic-cloud-dialog.considerVotes' | translate}} </p> <mat-dialog-content> <mat-card> <label>{{'topic-cloud-dialog.considerVotes' | translate}}</label> @@ -11,8 +12,8 @@ </div> <mat-menu #sortMenu> - <button mat-menu-item (click)="sortQuestions(sortModeEnum.ALPHABETIC)">Sort Alphabetically</button> - <button mat-menu-item (click)="sortQuestions(sortModeEnum.QUESTIONSCOUNT)">Sort Question Count</button> + <button mat-menu-item (click)="sortQuestions(sortModeEnum.ALPHABETIC)">{{'topic-cloud-dialog.sort' | translate}} </button> + <button mat-menu-item (click)="sortQuestions(sortModeEnum.QUESTIONSCOUNT)">{{'topic-cloud-dialog.fragesortieren' | translate}} </button> <!-- <button mat-menu-item (click)="sortScore(true)" aria-labelledby="sort-lbl-rating">{{'question-wall.sort-score' | translate}}</button> --> </mat-menu> diff --git a/src/app/components/shared/_dialogs/topic-cloud-dialog/topic-cloud-dialog.component.ts b/src/app/components/shared/_dialogs/topic-cloud-dialog/topic-cloud-dialog.component.ts index ad445bafa47ef8fdf67dc349e6c903e3da0da081..61000d3f42735c18dc0a6d6c8527e0209100c2a6 100644 --- a/src/app/components/shared/_dialogs/topic-cloud-dialog/topic-cloud-dialog.component.ts +++ b/src/app/components/shared/_dialogs/topic-cloud-dialog/topic-cloud-dialog.component.ts @@ -79,7 +79,16 @@ export class TopicCloudDialogComponent implements OnInit { "Darf man in der Klausur hilfmittel verwenden?", "An welchem Termin findet die Klausur statt?" ] - } + }, + { + keywordID: 8, + keyword: "Diskrete Math", + questions: [ + "wann wird die nächste veranstaltung stattfinden?", + "gibt es heute übung?" + ] + }, + ]; diff --git a/src/assets/i18n/home/de.json b/src/assets/i18n/home/de.json index 3e97056ef7d562edc4922c6ae95ab5c57367cc36..39d6273f7c02c17e5d0727b61695cb01b51e658d 100644 --- a/src/assets/i18n/home/de.json +++ b/src/assets/i18n/home/de.json @@ -300,7 +300,9 @@ "question-count-plural": "Fragen", "editkeyword-tipp": "Neues Thema", "nokeyword-note": "Es gibt keine Themen", - "considerVotes": "Votes berücksichtigen" + "considerVotes": "Votes berücksichtigen", + "sort": "Alphabetisch sortieren", + "fragesortieren": "fragen nach Anzahl sortieren " }, "topic-cloud-confirm-dialog":{ "cancel": "abbrechen", diff --git a/src/assets/i18n/home/en.json b/src/assets/i18n/home/en.json index dc5e667494f256b3742e24f1d0b09f99089beba5..8c7a39d64efe7323b394afcfb62a9dc809d5a8b9 100644 --- a/src/assets/i18n/home/en.json +++ b/src/assets/i18n/home/en.json @@ -302,7 +302,8 @@ "question-count-plural": "questions", "editkeyword-tipp": "new topic", "nokeyword-note": "there are no topics!", - "considerVotes": "Consider Votes" + "considerVotes": "Consider Votes", + "alphab": "Sort Alphabetically" }, "topic-cloud-confirm-dialog":{ "cancel": "cancel",