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 see history');
_('Can see the live stream');
_('Can manage chat');
// mediafiles
_('Can see the list of files');
_('Can upload files');

View File

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

View File

@ -132,7 +132,7 @@ export class ChatGroupDetailComponent extends BaseViewComponentDirective impleme
}
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)) {
await this.repo.clearMessages(this.chatGroup).catch(this.raiseError);
this.cd.markForCheck();
@ -140,8 +140,9 @@ export class ChatGroupDetailComponent extends BaseViewComponentDirective impleme
}
public async deleteChatGroup(): Promise<void> {
const title = this.translate.instant('Are you sure you want to delete this chat?');
if (await this.promptService.open(title)) {
const title = this.translate.instant('Are you sure you want to delete this chat group?');
const content = this.chatGroup.name;
if (await this.promptService.open(title, content)) {
await this.repo.delete(this.chatGroup).catch(this.raiseError);
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"
" 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?"
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?"
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?"
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?"
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?"
msgstr "Soll dieser Antragsblock wirklich gelöscht werden?"
@ -495,6 +504,9 @@ msgstr "Darf Anträge erstellen"
msgid "Can manage agenda"
msgstr "Darf die Tagesordung verwalten"
msgid "Can manage chat"
msgstr "Darf den Chat verwalten"
msgid "Can manage comments"
msgstr "Darf Kommentare verwalten"
@ -658,6 +670,9 @@ msgstr "Geänderte Fassung in Zeile"
msgid "Changes"
msgstr "Änderungen"
msgid "Chat"
msgstr "Chat"
msgid "Check for updates"
msgstr "Auf Updates prüfen"
@ -677,6 +692,9 @@ msgstr "Hintergrundfarbe Bauchbinde"
msgid "Chyron font color"
msgstr "Schriftfarbe Bauchbinde"
msgid "Clear"
msgstr "Bereinigen"
msgid "Clear all"
msgstr "Alle löschen"
@ -788,6 +806,9 @@ msgstr "Erstellen"
msgid "Create final print template"
msgstr "Beschluss-Druckvorlage erstellen"
msgid "Create new chat group"
msgstr "Neue Chat-Gruppe anlegen"
msgid "Create user"
msgstr "Nutzer anlegen"
@ -1859,6 +1880,9 @@ msgstr "Bisher keine Änderungsempfehlungen"
msgid "No changes at the text."
msgstr "Keine Änderung am Text."
msgid "No chat groups available"
msgstr "Keine Chat-Gruppen vorhanden."
msgid "No comment"
msgstr "Kein Kommentar"
@ -2512,6 +2536,9 @@ msgstr "Antragsteller/in auswählen oder suchen ..."
msgid "Select paragraphs"
msgstr "Absätze auswählen"
msgid "Send"
msgstr "Senden"
msgid "Send invitation email"
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."
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?"
msgstr ""
@ -269,6 +272,9 @@ msgstr ""
msgid "Are you sure you want to delete this change recommendation?"
msgstr ""
msgid "Are you sure you want to delete this chat group?"
msgstr ""
msgid "Are you sure you want to delete this comment field?"
msgstr ""
@ -284,6 +290,9 @@ msgstr ""
msgid "Are you sure you want to delete this group?"
msgstr ""
msgid "Are you sure you want to delete this message?"
msgstr ""
msgid "Are you sure you want to delete this motion block?"
msgstr ""
@ -454,6 +463,9 @@ msgstr ""
msgid "Can manage agenda"
msgstr ""
msgid "Can manage chat"
msgstr ""
msgid "Can manage comments"
msgstr ""
@ -616,6 +628,9 @@ msgstr ""
msgid "Changes"
msgstr ""
msgid "Chat"
msgstr ""
msgid "Check for updates"
msgstr ""
@ -634,6 +649,9 @@ msgstr ""
msgid "Chyron font color"
msgstr ""
msgid "Clear"
msgstr ""
msgid "Clear all"
msgstr ""
@ -745,6 +763,9 @@ msgstr ""
msgid "Create final print template"
msgstr ""
msgid "Create new chat group"
msgstr ""
msgid "Create user"
msgstr ""
@ -1774,6 +1795,9 @@ msgstr ""
msgid "No changes at the text."
msgstr ""
msgid "No chat groups available"
msgstr ""
msgid "No comment"
msgstr ""
@ -2408,6 +2432,9 @@ msgstr ""
msgid "Select paragraphs"
msgstr ""
msgid "Send"
msgstr ""
msgid "Send invitation email"
msgstr ""