Updated translations

This commit is contained in:
Emanuel Schütze 2021-02-11 21:33:18 +01:00
parent c0dad72eb4
commit 1cf2763ed6
6 changed files with 63 additions and 7 deletions

View File

@ -359,6 +359,7 @@ _('Can manage configuration');
_('Can manage logos and fonts'); _('Can manage logos and fonts');
_('Can see history'); _('Can see history');
_('Can see the live stream'); _('Can see the live stream');
_('Can manage chat');
// mediafiles // mediafiles
_('Can see the list of files'); _('Can see the list of files');
_('Can upload files'); _('Can upload files');

View File

@ -28,17 +28,17 @@
<ng-container *osPerms="permission.chatCanManage"> <ng-container *osPerms="permission.chatCanManage">
<button mat-menu-item (click)="editChat()"> <button mat-menu-item (click)="editChat()">
<mat-icon>edit</mat-icon> <mat-icon>edit</mat-icon>
<span>{{ 'Edit chat' | translate }}</span> <span>{{ 'Edit' | translate }}</span>
</button> </button>
<!-- clear history --> <!-- clear history -->
<button mat-menu-item (click)="clearChat()" class="red-warning-text"> <button mat-menu-item (click)="clearChat()" class="red-warning-text">
<mat-icon>format_clear</mat-icon> <mat-icon>format_clear</mat-icon>
<span>{{ 'Clear chat' | translate }}</span> <span>{{ 'Clear' | translate }}</span>
</button> </button>
<!-- delete --> <!-- delete -->
<button mat-menu-item (click)="deleteChatGroup()" class="red-warning-text"> <button mat-menu-item (click)="deleteChatGroup()" class="red-warning-text">
<mat-icon>delete</mat-icon> <mat-icon>delete</mat-icon>
<span>{{ 'Delete chat' | translate }}</span> <span>{{ 'Delete' | translate }}</span>
</button> </button>
</ng-container> </ng-container>
<!-- edit --> <!-- edit -->

View File

@ -132,7 +132,7 @@ export class ChatGroupDetailComponent extends BaseViewComponentDirective impleme
} }
public async clearChat(): Promise<void> { public async clearChat(): Promise<void> {
const title = this.translate.instant('Are you sure you want to clear this chats history?'); const title = this.translate.instant('Are you sure you want to clear all messages in this chat?');
if (await this.promptService.open(title)) { if (await this.promptService.open(title)) {
await this.repo.clearMessages(this.chatGroup).catch(this.raiseError); await this.repo.clearMessages(this.chatGroup).catch(this.raiseError);
this.cd.markForCheck(); this.cd.markForCheck();
@ -140,8 +140,9 @@ export class ChatGroupDetailComponent extends BaseViewComponentDirective impleme
} }
public async deleteChatGroup(): Promise<void> { public async deleteChatGroup(): Promise<void> {
const title = this.translate.instant('Are you sure you want to delete this chat?'); const title = this.translate.instant('Are you sure you want to delete this chat group?');
if (await this.promptService.open(title)) { const content = this.chatGroup.name;
if (await this.promptService.open(title, content)) {
await this.repo.delete(this.chatGroup).catch(this.raiseError); await this.repo.delete(this.chatGroup).catch(this.raiseError);
this.cd.markForCheck(); this.cd.markForCheck();
} }

File diff suppressed because one or more lines are too long

View File

@ -265,6 +265,9 @@ msgstr ""
"Sollen alle Stimmen wirklich anonymisiert werden? Dies kann nicht rückgängig" "Sollen alle Stimmen wirklich anonymisiert werden? Dies kann nicht rückgängig"
" gemacht werden." " gemacht werden."
msgid "Are you sure you want to clear all messages in this chat?"
msgstr "Sollen wirklich alle Nachrichten in diesem Chat gelöscht werden?"
msgid "Are you sure you want to clear all speakers of all lists?" msgid "Are you sure you want to clear all speakers of all lists?"
msgstr "Sollen wirklich alle Redner/innen von allen Listen entfernt werden?" msgstr "Sollen wirklich alle Redner/innen von allen Listen entfernt werden?"
@ -295,6 +298,9 @@ msgstr ""
msgid "Are you sure you want to delete this change recommendation?" msgid "Are you sure you want to delete this change recommendation?"
msgstr "Soll diese Änderungsempfehlung wirklich gelöscht werden?" msgstr "Soll diese Änderungsempfehlung wirklich gelöscht werden?"
msgid "Are you sure you want to delete this chat group?"
msgstr "Soll diese Chat-Gruppe wirklich gelöscht werden?"
msgid "Are you sure you want to delete this comment field?" msgid "Are you sure you want to delete this comment field?"
msgstr "Soll dieses Kommentarfeld wirklich gelöscht werden?" msgstr "Soll dieses Kommentarfeld wirklich gelöscht werden?"
@ -310,6 +316,9 @@ msgstr "Soll diese Datei wirklich gelöscht werden?"
msgid "Are you sure you want to delete this group?" msgid "Are you sure you want to delete this group?"
msgstr "Soll diese Gruppe wirklich gelöscht werden?" msgstr "Soll diese Gruppe wirklich gelöscht werden?"
msgid "Are you sure you want to delete this message?"
msgstr "Soll die ausgewählte Nachricht wirklich gelöscht werden?"
msgid "Are you sure you want to delete this motion block?" msgid "Are you sure you want to delete this motion block?"
msgstr "Soll dieser Antragsblock wirklich gelöscht werden?" msgstr "Soll dieser Antragsblock wirklich gelöscht werden?"
@ -495,6 +504,9 @@ msgstr "Darf Anträge erstellen"
msgid "Can manage agenda" msgid "Can manage agenda"
msgstr "Darf die Tagesordung verwalten" msgstr "Darf die Tagesordung verwalten"
msgid "Can manage chat"
msgstr "Darf den Chat verwalten"
msgid "Can manage comments" msgid "Can manage comments"
msgstr "Darf Kommentare verwalten" msgstr "Darf Kommentare verwalten"
@ -658,6 +670,9 @@ msgstr "Geänderte Fassung in Zeile"
msgid "Changes" msgid "Changes"
msgstr "Änderungen" msgstr "Änderungen"
msgid "Chat"
msgstr "Chat"
msgid "Check for updates" msgid "Check for updates"
msgstr "Auf Updates prüfen" msgstr "Auf Updates prüfen"
@ -677,6 +692,9 @@ msgstr "Hintergrundfarbe Bauchbinde"
msgid "Chyron font color" msgid "Chyron font color"
msgstr "Schriftfarbe Bauchbinde" msgstr "Schriftfarbe Bauchbinde"
msgid "Clear"
msgstr "Bereinigen"
msgid "Clear all" msgid "Clear all"
msgstr "Alle löschen" msgstr "Alle löschen"
@ -788,6 +806,9 @@ msgstr "Erstellen"
msgid "Create final print template" msgid "Create final print template"
msgstr "Beschluss-Druckvorlage erstellen" msgstr "Beschluss-Druckvorlage erstellen"
msgid "Create new chat group"
msgstr "Neue Chat-Gruppe anlegen"
msgid "Create user" msgid "Create user"
msgstr "Nutzer anlegen" msgstr "Nutzer anlegen"
@ -1859,6 +1880,9 @@ msgstr "Bisher keine Änderungsempfehlungen"
msgid "No changes at the text." msgid "No changes at the text."
msgstr "Keine Änderung am Text." msgstr "Keine Änderung am Text."
msgid "No chat groups available"
msgstr "Keine Chat-Gruppen vorhanden."
msgid "No comment" msgid "No comment"
msgstr "Kein Kommentar" msgstr "Kein Kommentar"
@ -2512,6 +2536,9 @@ msgstr "Antragsteller/in auswählen oder suchen ..."
msgid "Select paragraphs" msgid "Select paragraphs"
msgstr "Absätze auswählen" msgstr "Absätze auswählen"
msgid "Send"
msgstr "Senden"
msgid "Send invitation email" msgid "Send invitation email"
msgstr "Einladungs-E-Mail senden" msgstr "Einladungs-E-Mail senden"

View File

@ -242,6 +242,9 @@ msgstr ""
msgid "Are you sure you want to anonymize all votes? This cannot be undone." msgid "Are you sure you want to anonymize all votes? This cannot be undone."
msgstr "" msgstr ""
msgid "Are you sure you want to clear all messages in this chat?"
msgstr ""
msgid "Are you sure you want to clear all speakers of all lists?" msgid "Are you sure you want to clear all speakers of all lists?"
msgstr "" msgstr ""
@ -269,6 +272,9 @@ msgstr ""
msgid "Are you sure you want to delete this change recommendation?" msgid "Are you sure you want to delete this change recommendation?"
msgstr "" msgstr ""
msgid "Are you sure you want to delete this chat group?"
msgstr ""
msgid "Are you sure you want to delete this comment field?" msgid "Are you sure you want to delete this comment field?"
msgstr "" msgstr ""
@ -284,6 +290,9 @@ msgstr ""
msgid "Are you sure you want to delete this group?" msgid "Are you sure you want to delete this group?"
msgstr "" msgstr ""
msgid "Are you sure you want to delete this message?"
msgstr ""
msgid "Are you sure you want to delete this motion block?" msgid "Are you sure you want to delete this motion block?"
msgstr "" msgstr ""
@ -454,6 +463,9 @@ msgstr ""
msgid "Can manage agenda" msgid "Can manage agenda"
msgstr "" msgstr ""
msgid "Can manage chat"
msgstr ""
msgid "Can manage comments" msgid "Can manage comments"
msgstr "" msgstr ""
@ -616,6 +628,9 @@ msgstr ""
msgid "Changes" msgid "Changes"
msgstr "" msgstr ""
msgid "Chat"
msgstr ""
msgid "Check for updates" msgid "Check for updates"
msgstr "" msgstr ""
@ -634,6 +649,9 @@ msgstr ""
msgid "Chyron font color" msgid "Chyron font color"
msgstr "" msgstr ""
msgid "Clear"
msgstr ""
msgid "Clear all" msgid "Clear all"
msgstr "" msgstr ""
@ -745,6 +763,9 @@ msgstr ""
msgid "Create final print template" msgid "Create final print template"
msgstr "" msgstr ""
msgid "Create new chat group"
msgstr ""
msgid "Create user" msgid "Create user"
msgstr "" msgstr ""
@ -1774,6 +1795,9 @@ msgstr ""
msgid "No changes at the text." msgid "No changes at the text."
msgstr "" msgstr ""
msgid "No chat groups available"
msgstr ""
msgid "No comment" msgid "No comment"
msgstr "" msgstr ""
@ -2408,6 +2432,9 @@ msgstr ""
msgid "Select paragraphs" msgid "Select paragraphs"
msgstr "" msgstr ""
msgid "Send"
msgstr ""
msgid "Send invitation email" msgid "Send invitation email"
msgstr "" msgstr ""