Updated translations

This commit is contained in:
Emanuel Schütze 2020-11-07 18:07:41 +01:00
parent 5b84bddc2a
commit 88b25acd0a
6 changed files with 22 additions and 16 deletions

View File

@ -19,7 +19,7 @@ export class PromptService {
*/
public async open(title: string, content: string = ''): Promise<any> {
const dialogRef = this.dialog.open(PromptDialogComponent, {
width: '250px',
width: '290px',
data: { title: title, content: content }
});

View File

@ -192,9 +192,9 @@ export class ListOfSpeakersContentComponent extends BaseViewComponentDirective i
* the operator themself is removed
*/
public async removeSpeaker(speaker?: ViewSpeaker): Promise<void> {
const title = this.translate.instant(
'Are you sure you want to delete this speaker from this list of speakers?'
);
const title = speaker
? this.translate.instant('Are you sure you want to remove this speaker from the list of speakers?')
: this.translate.instant('Are you sure you want to remove yourself from this list of speakers?');
if (await this.promptService.open(title)) {
try {
await this.listOfSpeakersRepo.deleteSpeaker(this.viewListOfSpeakers, speaker ? speaker.id : null);

View File

@ -2,7 +2,7 @@
<h2 mat-dialog-title>{{ data.title }}</h2>
<mat-dialog-content [innerHTML]="data.content"></mat-dialog-content>
<mat-dialog-actions>
<button mat-button [mat-dialog-close]="true" color="warn">{{ 'Yes' | translate }}</button>
<button mat-button [mat-dialog-close]="true" color="warn">{{ 'OK' | translate }}</button>
<button mat-button [mat-dialog-close]="false">{{ 'Cancel' | translate }}</button>
</mat-dialog-actions>
</div>

File diff suppressed because one or more lines are too long

View File

@ -305,10 +305,6 @@ msgstr "Soll diese/r Teilnehmende wirklich gelöscht werden?"
msgid "Are you sure you want to delete this projector?"
msgstr "Soll dieser Projektor wirklich gelöscht werden?"
msgid ""
"Are you sure you want to delete this speaker from this list of speakers?"
msgstr "Soll diese/r Redner/in von der Redeliste wirklich entfernt werden?"
msgid "Are you sure you want to delete this statute paragraph?"
msgstr "Soll dieser Satzungsabschnitt wirklich gelöscht werden?"
@ -355,6 +351,13 @@ msgstr "Soll dieser Eintrag wirklich aus der Tagesordnung entfernt werden?"
msgid "Are you sure you want to remove this motion from motion block?"
msgstr "Soll dieser Antrag wirklich aus dem Antragsblock entfernt werden?"
msgid ""
"Are you sure you want to remove this speaker from the list of speakers?"
msgstr "Soll diese/r Redner/in wirklich von der Redeliste entfernt werden?"
msgid "Are you sure you want to remove yourself from this list of speakers?"
msgstr "Wollen Sie sich wirklich von dieser Redeliste entfernen?"
msgid "Are you sure you want to renumber all motions of this category?"
msgstr ""
"Sollen alle Anträge dieses Sachgebiets wirklich neu nummeriert werden?"
@ -389,7 +392,7 @@ msgstr ""
"Sollen E-Mails wirklich an alle ausgewählten Teilnehmende gesendet werden?"
msgid "Are you sure you want to submit a point of order?"
msgstr "Soll wirklich ein GO-Antrag gestellt werden?"
msgstr "Soll wirklich ein Geschäftsordnungsantrag gestellt werden?"
msgid "As of"
msgstr "Stand"
@ -2110,7 +2113,7 @@ msgstr ""
"Systemadministration."
msgid "Point of order"
msgstr "Geschäftsordnungsantrag"
msgstr "GO-Antrag"
msgid "Poll created"
msgstr "Abstimmung erstellt"
@ -3129,7 +3132,7 @@ msgid "Withdraw"
msgstr "Zurückziehen"
msgid "Withdraw point of order"
msgstr "Geschäftsordnungsantrag zurückziehen"
msgstr "GO-Antrag zurückziehen"
msgid "Workflow"
msgstr "Arbeitsablauf"

View File

@ -281,9 +281,6 @@ msgstr ""
msgid "Are you sure you want to delete this projector?"
msgstr ""
msgid "Are you sure you want to delete this speaker from this list of speakers?"
msgstr ""
msgid "Are you sure you want to delete this statute paragraph?"
msgstr ""
@ -324,6 +321,12 @@ msgstr ""
msgid "Are you sure you want to remove this motion from motion block?"
msgstr ""
msgid "Are you sure you want to remove this speaker from the list of speakers?"
msgstr ""
msgid "Are you sure you want to remove yourself from this list of speakers?"
msgstr ""
msgid "Are you sure you want to renumber all motions of this category?"
msgstr ""