From da8dd913cf8918cd9113598f3447351b7b1075ba Mon Sep 17 00:00:00 2001 From: Klaus Quibeldey-Cirkel <klaus.quibeldey-cirkel@mni.thm.de> Date: Thu, 27 Aug 2020 13:35:34 +0200 Subject: [PATCH] wording --- .../create-comment.component.html | 32 +++++++++++++------ src/assets/i18n/creator/de.json | 8 ++--- src/assets/i18n/creator/en.json | 4 +-- src/assets/i18n/demo/demo-de.html | 2 +- src/assets/i18n/home/de.json | 6 ++-- src/assets/i18n/participant/de.json | 2 +- src/assets/i18n/participant/en.json | 2 +- 7 files changed, 35 insertions(+), 21 deletions(-) diff --git a/src/app/components/shared/_dialogs/create-comment/create-comment.component.html b/src/app/components/shared/_dialogs/create-comment/create-comment.component.html index e40640e58..673a6eaf6 100644 --- a/src/app/components/shared/_dialogs/create-comment/create-comment.component.html +++ b/src/app/components/shared/_dialogs/create-comment/create-comment.component.html @@ -2,10 +2,15 @@ <ars-row> <div class="anchor-wrp"> <div class="anchor-right"> - <mat-form-field *ngIf="tags" class="tag-form-field"> - <mat-label><mat-icon>local_offer</mat-icon>{{'comment-page.tag' | translate}}</mat-label> - <mat-select [(ngModel)]="selectedTag" class="tag-select"> - <mat-option *ngFor="let tag of tags" value="{{tag}}"> + <mat-form-field *ngIf="tags" + class="tag-form-field"> + <mat-label> + <mat-icon class="icon-svg" svgIcon="comment_tag"></mat-icon> + {{'comment-page.tag' | translate}}</mat-label> + <mat-select [(ngModel)]="selectedTag" + class="tag-select"> + <mat-option *ngFor="let tag of tags" + value="{{tag}}"> {{tag}} </mat-option> </mat-select> @@ -25,9 +30,16 @@ <textarea (focus)="eventService.makeFocusOnInputTrue()" style="margin-top:15px;width:100%;" (blur)="eventService.makeFocusOnInputFalse()" - matInput #commentBody matTextareaAutosize - matAutosizeMinRows=5 matAutosizeMaxRows=10 maxlength="250" - [formControl]="bodyForm" aria-labelledby="ask-question-description" autofocus id="answer-input"> + matInput + #commentBody + matTextareaAutosize + matAutosizeMinRows="5" + matAutosizeMaxRows="10" + maxlength="250" + [formControl]="bodyForm" + aria-labelledby="ask-question-description" + autofocus + id="answer-input"> </textarea> <mat-placeholder class="placeholder"> {{ 'comment-page.enter-comment' | translate }} @@ -45,13 +57,15 @@ </mat-form-field> </ars-row> </mat-tab> - <mat-tab label="{{ 'comment-page.preview-comment' | translate }}" [disabled]="!commentBody.value"> + <mat-tab label="{{ 'comment-page.preview-comment' | translate }}" + [disabled]="!commentBody.value"> <ars-row [height]="12"></ars-row> <ars-row> <mat-divider></mat-divider> </ars-row> <ars-row [height]="12"></ars-row> - <ars-row [overflow]="'auto'" style="max-height:calc( 100vh - 250px )"> + <ars-row [overflow]="'auto'" + style="max-height:calc( 100vh - 250px )"> <markdown [data]="commentBody.value"></markdown> </ars-row> </mat-tab> diff --git a/src/assets/i18n/creator/de.json b/src/assets/i18n/creator/de.json index 059d59dc9..891942542 100644 --- a/src/assets/i18n/creator/de.json +++ b/src/assets/i18n/creator/de.json @@ -97,7 +97,7 @@ "export-description": "Exportieren", "live-announcer": "Du befindest dich jetzt auf der Fragen-Seite. Um Informationen zu Tastenkombinationen zu erhalten drücke jetzt die Enter-Taste oder rufe die Ansage zu einem späteren Zeitpunkt mit der Escape-Taste auf.", "live-announcer-moderation": "Du befindest dich jetzt auf der Moderations-Seite. Um Informationen zu Tastenkombinationen zu erhalten drücke jetzt die Enter-Taste oder rufe die Ansage zu einem späteren Zeitpunkt mit der Escape-Taste auf.", - "Markdown-hint": "Formatierung mit Markdown", + "Markdown-hint": "Formatiere mit Markdown", "mark-correct": "Frage bejahen", "mark-favorite": "Bonus für die Frage vergeben", "mark-not-correct": "Markierung zurücknehmen", @@ -186,8 +186,8 @@ "abort": "Abbrechen", "answer": "Antwort", "answer-statistics": "Statistiken", - "bonus-token": "Token-Archiv", - "bonus-token-header": "Token-Archiv", + "bonus-token": "Vergebene Sterne", + "bonus-token-header": "Vergebene Sterne", "no-bonus": "Du hast bisher keine Frage mit einem Stern ausgezeichnet.", "cancel": "Abbrechen", "cancel-description": "Abbrechen", @@ -209,7 +209,7 @@ "general": "Sitzung", "live-announcer": "Du befindest dich jetzt in der Sitzung. Um Informationen zu Tastenkombinationen zu erhalten drücke jetzt die Enter-Taste oder rufe die Ansage zu einem späteren Zeitpunkt mit der Escape-Taste auf.", "live-feedback": "Live Feedback", - "Markdown-hint": "Formatierung mit Markdown", + "Markdown-hint": "Formatiere mit Markdown", "moderating-stream": "Moderation", "moderator-added": "Moderator wurde hinzugefügt.", "moderator-email": "Mail-Adresse eines registrierten Users", diff --git a/src/assets/i18n/creator/en.json b/src/assets/i18n/creator/en.json index b2953792f..30a50f0e0 100644 --- a/src/assets/i18n/creator/en.json +++ b/src/assets/i18n/creator/en.json @@ -98,7 +98,7 @@ "export-description": "Export", "live-announcer": "You are now on the questions page. To get information about key combinations press the Enter key or call the announcement later with the Escape key.", "live-announcer-moderation": "You are now on the moderation page. To get information about key combinations press the Enter key or call the announcement later with the Escape key.", - "Markdown-hint": "Formatting with Markdown", + "Markdown-hint": "Format with Markdown", "mark-correct": "Mark as correct", "mark-favorite": "Mark as bonus question", "mark-not-correct": "Mark not as correct", @@ -210,7 +210,7 @@ "general": "Session", "live-announcer": "You're in the session now. To get information about key combinations press the Enter key or call the announcement later with the Escape key.", "live-feedback": "Live feedback", - "Markdown-hint": "Formatting with Markdown", + "Markdown-hint": "Format with Markdown", "moderating-stream": "Moderation", "moderator-added": "Moderator was added.", "moderator-email": "Mail address of a registered user", diff --git a/src/assets/i18n/demo/demo-de.html b/src/assets/i18n/demo/demo-de.html index b4d6d6ac4..7c755ab9e 100644 --- a/src/assets/i18n/demo/demo-de.html +++ b/src/assets/i18n/demo/demo-de.html @@ -244,7 +244,7 @@ <li>Dozent hat die Frage besprochen (Beamer-Icon)</li> <li>Dozent hat die Frage kommentiert</li> <li>Dozent hat die Frage bejaht</li> - <li>Die Frage wurde vom Dozenten oder Moderator markiert (Stern-Icon)</li> + <li>Die Frage wurde vom Dozenten oder Moderator mit einem Stern ausgezeichnet</li> </ol> <p tabindex="0">Untere Werkzeugleiste einer Fragenkarte</p> diff --git a/src/assets/i18n/home/de.json b/src/assets/i18n/home/de.json index 416a28f37..e408092af 100644 --- a/src/assets/i18n/home/de.json +++ b/src/assets/i18n/home/de.json @@ -252,9 +252,9 @@ "cancel-description": "Abbrechen" }, "user-bonus-token": { - "header": "Tokens für Bonuspunkte", - "no-bonus": "Du hast noch keinen Token (Stern) für eine gute Frage erhalten.", - "redeem-tokens": "Tokens einlösen", + "header": "Sterne für Bonuspunkte", + "no-bonus": "Du hast noch keinen Stern für eine gute Frage erhalten.", + "redeem-tokens": "Sterne einlösen", "mail-subject": "Bitte%20um%20Einl%C3%B6sung%20meiner%20Tokens%20aus%20der%20%C2%BBfrag.jetzt%C2%AB-Sitzung%20%C2%BB", "mail-body-1": "Hallo%2C%0D%0A%0D%0Aich%20habe%20heute%20in%20der%20%C2%BBfrag.jetzt%C2%AB-Sitzung%20%C2%BB", "mail-body-2": "%C2%AB%20mit%20dem%20Sitzungs-Code%20%C2%BB", diff --git a/src/assets/i18n/participant/de.json b/src/assets/i18n/participant/de.json index bbaa0ad71..a6238e3e4 100644 --- a/src/assets/i18n/participant/de.json +++ b/src/assets/i18n/participant/de.json @@ -74,7 +74,7 @@ "comment": "Die Frage {{ comment }} wurde um {{ time }} Uhr gestellt und hat derzeitig {{ votes }}. {{correct}} {{wrong}} {{bonus}} {{beamer}}", "delete": "Deine Frage löschen", "enter-comment": "Gib deine Frage ein …", - "Markdown-hint": "Formatierung mit Markdown", + "Markdown-hint": "Formatiere mit Markdown", "enter-title": "Titel", "error-both-fields": "Bitte fülle alle Felder aus.", "error-comment": "Bitte gib deine Frage ein.", diff --git a/src/assets/i18n/participant/en.json b/src/assets/i18n/participant/en.json index 8ecdb7882..07f10b08e 100644 --- a/src/assets/i18n/participant/en.json +++ b/src/assets/i18n/participant/en.json @@ -84,7 +84,7 @@ "comment": "Question {{ comment }} was asked at {{ time }} and has currently {{ votes }}. {{correct}} {{wrong}} {{bonus}} {{beamer}}", "delete": "Delete your question", "enter-comment": "Enter your question …", - "Markdown-hint": "Formatting with Markdown", + "Markdown-hint": "Format with Markdown", "enter-title": "Title", "error-both-fields": "Please fill in all fields.", "error-comment": "Please enter a question.", -- GitLab