Updated translations

This commit is contained in:
Emanuel Schütze 2019-07-13 14:55:55 +02:00
parent 19f47e1bef
commit cf3879957b
11 changed files with 93 additions and 80 deletions

View File

@ -26,9 +26,9 @@
</div> </div>
<div> <div>
Upload to: <span translate>Upload to:</span>&nbsp;
<span *ngIf="selectedDirectoryId === null" translate>Base folder</span> <i *ngIf="selectedDirectoryId === null" translate>Base folder</i>
<span *ngIf="selectedDirectoryId !== null">{{ getDirectory(selectedDirectoryId).title }}</span> <i *ngIf="selectedDirectoryId !== null">{{ getDirectory(selectedDirectoryId).title }}</i>
</div> </div>
<div class="table-container" *ngIf="uploadList.data.length > 0"> <div class="table-container" *ngIf="uploadList.data.length > 0">
@ -65,7 +65,7 @@
<!-- Access groups --> <!-- Access groups -->
<ng-container matColumnDef="access_groups"> <ng-container matColumnDef="access_groups">
<th mat-header-cell *matHeaderCellDef><span translate>Access permissions</span></th> <th mat-header-cell *matHeaderCellDef><span translate>Access groups</span></th>
<td mat-cell *matCellDef="let file"> <td mat-cell *matCellDef="let file">
<os-search-value-selector <os-search-value-selector
ngDefaultControl ngDefaultControl

View File

@ -50,10 +50,8 @@
</button> </button>
</span> </span>
<span class="visibility" *ngIf="directory && directory.inherited_access_groups_id !== true"> <span class="visibility" *ngIf="directory && directory.inherited_access_groups_id !== true">
<span translate>Visibility of this directory:</span>
<span class="visible-for" *ngIf="directory.inherited_access_groups_id === false" translate>No one</span>
<span class="visible-for" *ngIf="directory.has_inherited_access_groups" translate> <span class="visible-for" *ngIf="directory.has_inherited_access_groups" translate>
<os-icon-container icon="group">{{ directory.inherited_access_groups }}</os-icon-container> <os-icon-container icon="visibility" matTooltip="{{ 'Allowed access groups for this directory' | translate }}">{{ directory.inherited_access_groups }}</os-icon-container>
</span> </span>
</span> </span>
</div> </div>
@ -86,8 +84,10 @@
<!-- Info column --> <!-- Info column -->
<div *pblNgridCellDef="'info'; row as mediafile" class="fill clickable" (click)="onEditFile(mediafile)"> <div *pblNgridCellDef="'info'; row as mediafile" class="fill clickable" (click)="onEditFile(mediafile)">
<os-icon-container *ngIf="mediafile.access_groups.length" icon="group"> <os-icon-container *ngIf="mediafile.access_groups.length" icon="group">
<span translate> <span>
{{ mediafile.access_groups }} <span *ngFor="let group of mediafile.access_groups; let last = last">
{{ group.getTitle() | translate }}<span *ngIf="!last">,</span>
</span>
</span> </span>
</os-icon-container> </os-icon-container>
</div> </div>
@ -246,7 +246,7 @@
<!-- New folder dialog --> <!-- New folder dialog -->
<ng-template #newFolderDialog> <ng-template #newFolderDialog>
<h1 mat-dialog-title>{{ 'Create new directory' | translate }}</h1> <h1 mat-dialog-title>{{ 'New directory' | translate }}</h1>
<div class="os-form-card-mobile" mat-dialog-content> <div class="os-form-card-mobile" mat-dialog-content>
<form class="edit-file-form" [formGroup]="newDirectoryForm"> <form class="edit-file-form" [formGroup]="newDirectoryForm">
<p translate>Please enter a name for the new directory:</p> <p translate>Please enter a name for the new directory:</p>
@ -276,10 +276,10 @@
<!-- Move dialog --> <!-- Move dialog -->
<ng-template #moveDialog> <ng-template #moveDialog>
<h1 mat-dialog-title> <h1 mat-dialog-title>
<span translate>Move to directory</span> <span translate>Move into directory</span>
</h1> </h1>
<div mat-dialog-content> <div mat-dialog-content>
<p translate>Please select the directory to move to:</p> <p translate>Please select the directory:</p>
<os-search-value-selector <os-search-value-selector
ngDefaultControl ngDefaultControl
[formControl]="moveForm.get('directory_id')" [formControl]="moveForm.get('directory_id')"

View File

@ -36,10 +36,14 @@
display: flex; display: flex;
position: absolute; position: absolute;
right: 10px; right: 10px;
top: 12px;
.visible-for { .visible-for {
margin-left: 10px; margin-left: 10px;
display: inherit; display: inherit;
} }
mat-icon {
cursor: auto;
}
} }
} }

View File

@ -94,13 +94,11 @@ export class MediafileListComponent extends BaseViewComponent implements OnInit,
}, },
{ {
prop: 'title', prop: 'title',
label: this.translate.instant('Title'),
width: 'auto', width: 'auto',
minWidth: 60 minWidth: 60
}, },
{ {
prop: 'info', prop: 'info',
label: this.translate.instant('Info'),
width: '20%', width: '20%',
minWidth: 60 minWidth: 60
}, },

View File

@ -153,8 +153,7 @@
<!-- Sequential number --> <!-- Sequential number -->
<span class="main-nav-color title-font"> <span class="main-nav-color title-font">
<span *ngIf="showSequential"> <span *ngIf="showSequential">
<span translate>Sequential number</span> <span translate>Sequential number</span>&nbsp;{{ motion.id }}
&nbsp;{{ motion.id }}
</span> </span>
<span *ngIf="showSequential && motion.parent_id">&#xb7;&nbsp;</span> <span *ngIf="showSequential && motion.parent_id">&#xb7;&nbsp;</span>
<span *ngIf="motion.parent_id"> <span *ngIf="motion.parent_id">

View File

@ -203,7 +203,7 @@ export class WorkflowDetailComponent extends BaseViewComponent implements OnInit
* Opens a dialog to enter the workflow name * Opens a dialog to enter the workflow name
*/ */
public onNewStateButton(): void { public onNewStateButton(): void {
this.openEditDialog('', this.translate.instant('Create new state'), this.translate.instant('Name')).subscribe( this.openEditDialog('', this.translate.instant('New state'), this.translate.instant('Name')).subscribe(
result => { result => {
if (result && result.action === 'update') { if (result && result.action === 'update') {
this.workflowRepo.addState(result.value, this.workflow).then(() => {}, this.raiseError); this.workflowRepo.addState(result.value, this.workflow).then(() => {}, this.raiseError);

View File

@ -31,7 +31,7 @@
<!-- New workflow dialog --> <!-- New workflow dialog -->
<ng-template #newWorkflowDialog> <ng-template #newWorkflowDialog>
<h1 mat-dialog-title> <h1 mat-dialog-title>
<span translate>Create new workflow</span> <span translate>New workflow</span>
</h1> </h1>
<div mat-dialog-content> <div mat-dialog-content>
<p translate>Please enter a name for the new workflow:</p> <p translate>Please enter a name for the new workflow:</p>

View File

@ -59,7 +59,7 @@
<div *ngIf="user.groups && user.groups.length"> <div *ngIf="user.groups && user.groups.length">
<os-icon-container icon="people"> <os-icon-container icon="people">
<span *ngFor="let group of user.groups; let last = last"> <span *ngFor="let group of user.groups; let last = last">
{{ group.getTitle() | translate }} <span *ngIf="!last">,&nbsp;</span> {{ group.getTitle() | translate }}<span *ngIf="!last">,</span>
</span> </span>
</os-icon-container> </os-icon-container>
</div> </div>

File diff suppressed because one or more lines are too long

View File

@ -57,6 +57,9 @@ msgstr "Annahme"
msgid "Access data (PDF)" msgid "Access data (PDF)"
msgstr "Zugangsdaten (PDF)" msgstr "Zugangsdaten (PDF)"
msgid "Access groups"
msgstr "Zugriffsgruppen"
msgid "Access-data" msgid "Access-data"
msgstr "Zugangsdaten" msgstr "Zugangsdaten"
@ -155,6 +158,9 @@ msgstr "Unterstützung möglich"
msgid "Allow to disable versioning" msgid "Allow to disable versioning"
msgstr "Erlaubt Versionierung zu deaktiveren" msgstr "Erlaubt Versionierung zu deaktiveren"
msgid "Allowed access groups for this directory"
msgstr "Zulässige Zugriffsgruppen für dieses Verzeichnis"
msgid "Always" msgid "Always"
msgstr "Immer" msgstr "Immer"
@ -200,9 +206,6 @@ msgstr ""
msgid "Are you sure you want to delete all selected elections?" msgid "Are you sure you want to delete all selected elections?"
msgstr "Sollen alle ausgewählten Wahlen wirklich gelöscht werden?" msgstr "Sollen alle ausgewählten Wahlen wirklich gelöscht werden?"
msgid "Are you sure you want to delete all selected files?"
msgstr "Sollen alle ausgewählten Dateien wirklich gelöscht werden?"
msgid "Are you sure you want to delete all selected motions?" msgid "Are you sure you want to delete all selected motions?"
msgstr "Sollen alle ausgewählten Anträge wirklich gelöscht werden?" msgstr "Sollen alle ausgewählten Anträge wirklich gelöscht werden?"
@ -339,6 +342,9 @@ msgstr "Wahlgang"
msgid "Ballot and ballot papers" msgid "Ballot and ballot papers"
msgstr "Wahlgang und Stimmzettel" msgstr "Wahlgang und Stimmzettel"
msgid "Base folder"
msgstr "Basisverzeichnis"
msgid "Begin of event" msgid "Begin of event"
msgstr "Beginn der Veranstaltung" msgstr "Beginn der Veranstaltung"
@ -616,12 +622,6 @@ msgstr "Erstellen"
msgid "Create final print template" msgid "Create final print template"
msgstr "Beschluss-Druckvorlage erstellen" msgstr "Beschluss-Druckvorlage erstellen"
msgid "Create new state"
msgstr "Neuen Status erstellen"
msgid "Create new workflow"
msgstr "Neuen Arbeitsablauf erstellen"
msgid "Creation date" msgid "Creation date"
msgstr "Erstellungsdatum" msgstr "Erstellungsdatum"
@ -1043,9 +1043,6 @@ msgstr "Überschriftenfarbe"
msgid "Help text for access data and welcome PDF" msgid "Help text for access data and welcome PDF"
msgstr "Hilfetext für das Zugangsdaten- und Willkommens-PDF" msgstr "Hilfetext für das Zugangsdaten- und Willkommens-PDF"
msgid "Hidden"
msgstr "Versteckt"
msgid "Hidden item" msgid "Hidden item"
msgstr "Versteckter Eintrag" msgstr "Versteckter Eintrag"
@ -1153,9 +1150,6 @@ msgstr "Ungültige Zeilennummer"
msgid "Invalid votes" msgid "Invalid votes"
msgstr "Ungültige Stimmen" msgstr "Ungültige Stimmen"
msgid "Is PDF file"
msgstr "Ist eine PDF-Datei"
msgid "Is a committee" msgid "Is a committee"
msgstr "Ist ein Gremium" msgstr "Ist ein Gremium"
@ -1171,9 +1165,6 @@ msgstr "Ist Gremium"
msgid "Is favorite" msgid "Is favorite"
msgstr "Ist Favorit" msgstr "Ist Favorit"
msgid "Is no PDF file"
msgstr "Ist keine PDF-Datei"
msgid "Is not a committee" msgid "Is not a committee"
msgstr "Ist kein Gremium" msgstr "Ist kein Gremium"
@ -1324,9 +1315,15 @@ msgstr "Anträge"
msgid "Motions have been imported." msgid "Motions have been imported."
msgstr "Anträge wurden importiert." msgstr "Anträge wurden importiert."
msgid "Move"
msgstr "Verschieben"
msgid "Move in call list" msgid "Move in call list"
msgstr "In Aufrufliste verschieben" msgstr "In Aufrufliste verschieben"
msgid "Move into directory"
msgstr "In Verzeichnis verschieben"
msgid "Move selected items ..." msgid "Move selected items ..."
msgstr "Ausgewählte Einträge verschieben ..." msgstr "Ausgewählte Einträge verschieben ..."
@ -1366,6 +1363,9 @@ msgstr "Neue Änderungsempfehlung"
msgid "New comment field" msgid "New comment field"
msgstr "Neues Kommentarfeld" msgstr "Neues Kommentarfeld"
msgid "New directory"
msgstr "Neues Verzeichnis"
msgid "New election" msgid "New election"
msgstr "Neue Wahl" msgstr "Neue Wahl"
@ -1387,6 +1387,9 @@ msgstr "Neue/r Teilnehmer/in"
msgid "New password" msgid "New password"
msgstr "Neues Passwort" msgstr "Neues Passwort"
msgid "New state"
msgstr "Neuer Status"
msgid "New statute paragraph" msgid "New statute paragraph"
msgstr "Neuer Satzungsabschnitt" msgstr "Neuer Satzungsabschnitt"
@ -1399,6 +1402,9 @@ msgstr "Neues Thema"
msgid "New vote" msgid "New vote"
msgstr "Neue Abstimmung" msgstr "Neue Abstimmung"
msgid "New workflow"
msgstr "Neuer Arbeitsablauf"
msgid "Next" msgid "Next"
msgstr "Weiter" msgstr "Weiter"
@ -1624,6 +1630,9 @@ msgstr "Parallel hochladen"
msgid "Parent agenda item" msgid "Parent agenda item"
msgstr "Elternelement in der Tagesordnung" msgstr "Elternelement in der Tagesordnung"
msgid "Parent directory"
msgstr "Elternverzeichnis"
msgid "Participant cannot be found" msgid "Participant cannot be found"
msgstr "Teilnehmende wurde nicht gefunden" msgstr "Teilnehmende wurde nicht gefunden"
@ -1673,6 +1682,9 @@ msgstr "Persönliche Notizen"
msgid "Phase" msgid "Phase"
msgstr "Phase" msgstr "Phase"
msgid "Please enter a name for the new directory:"
msgstr "Bitte geben Sie einen Namen für das neue Verzeichnis ein:"
msgid "Please enter a name for the new workflow:" msgid "Please enter a name for the new workflow:"
msgstr "Bitte geben Sie einen Namen für den neuen Arbeitsablauf ein:" msgstr "Bitte geben Sie einen Namen für den neuen Arbeitsablauf ein:"
@ -1691,6 +1703,9 @@ msgstr "Bitte füllen Sie alle erforderlichen Felder aus."
msgid "Please fill in the values for each candidate" msgid "Please fill in the values for each candidate"
msgstr "Bitte füllen Sie die Werte aller Kandidat/innen aus." msgstr "Bitte füllen Sie die Werte aller Kandidat/innen aus."
msgid "Please select the directory:"
msgstr "Bitte wählen Sie das Verzeichnis aus:"
msgid "Preamble text for PDF document (all elections)" msgid "Preamble text for PDF document (all elections)"
msgstr "Einleitungstext für PDF-Dokument (alle Wahlen) " msgstr "Einleitungstext für PDF-Dokument (alle Wahlen) "
@ -1945,9 +1960,6 @@ msgstr "Antragsteller/in auswählen oder suchen ..."
msgid "Select paragraphs" msgid "Select paragraphs"
msgstr "Absätze auswählen" msgstr "Absätze auswählen"
msgid "Selected values"
msgstr "Ausgewählte Werte"
msgid "Send invitation email" msgid "Send invitation email"
msgstr "Einladungs-E-Mail senden" msgstr "Einladungs-E-Mail senden"
@ -2418,6 +2430,9 @@ msgstr "Hochladen"
msgid "Upload files" msgid "Upload files"
msgstr "Dateien hochladen" msgstr "Dateien hochladen"
msgid "Upload to:"
msgstr "Hochladen in:"
msgid "" msgid ""
"Use <strong>admin</strong> and <strong>admin</strong> for your first " "Use <strong>admin</strong> and <strong>admin</strong> for your first "
"login.<br>Please change your password to hide this message!" "login.<br>Please change your password to hide this message!"
@ -2454,9 +2469,6 @@ msgstr "Gültige Stimmen"
msgid "Visibility" msgid "Visibility"
msgstr "Sichtbarkeit" msgstr "Sichtbarkeit"
msgid "Visible"
msgstr "Sichtbar"
msgid "Vote" msgid "Vote"
msgstr "Abstimmung" msgstr "Abstimmung"
@ -2671,12 +2683,6 @@ msgstr "intern"
msgid "is elected" msgid "is elected"
msgstr "gewählt" msgstr "gewählt"
msgid "is hidden"
msgstr "ist versteckt"
msgid "is not hidden"
msgstr "ist nicht versteckt"
msgid "is now" msgid "is now"
msgstr "ist jetzt" msgstr "ist jetzt"

View File

@ -46,6 +46,9 @@ msgstr ""
msgid "Access data (PDF)" msgid "Access data (PDF)"
msgstr "" msgstr ""
msgid "Access groups"
msgstr ""
msgid "Access-data" msgid "Access-data"
msgstr "" msgstr ""
@ -141,6 +144,9 @@ msgstr ""
msgid "Allow to disable versioning" msgid "Allow to disable versioning"
msgstr "" msgstr ""
msgid "Allowed access groups for this directory"
msgstr ""
msgid "Always" msgid "Always"
msgstr "" msgstr ""
@ -183,9 +189,6 @@ msgstr ""
msgid "Are you sure you want to delete all selected elections?" msgid "Are you sure you want to delete all selected elections?"
msgstr "" msgstr ""
msgid "Are you sure you want to delete all selected files?"
msgstr ""
msgid "Are you sure you want to delete all selected motions?" msgid "Are you sure you want to delete all selected motions?"
msgstr "" msgstr ""
@ -313,6 +316,9 @@ msgstr ""
msgid "Ballot and ballot papers" msgid "Ballot and ballot papers"
msgstr "" msgstr ""
msgid "Base folder"
msgstr ""
msgid "Begin of event" msgid "Begin of event"
msgstr "" msgstr ""
@ -586,12 +592,6 @@ msgstr ""
msgid "Create final print template" msgid "Create final print template"
msgstr "" msgstr ""
msgid "Create new state"
msgstr ""
msgid "Create new workflow"
msgstr ""
msgid "Creation date" msgid "Creation date"
msgstr "" msgstr ""
@ -987,9 +987,6 @@ msgstr ""
msgid "Help text for access data and welcome PDF" msgid "Help text for access data and welcome PDF"
msgstr "" msgstr ""
msgid "Hidden"
msgstr ""
msgid "Hidden item" msgid "Hidden item"
msgstr "" msgstr ""
@ -1094,9 +1091,6 @@ msgstr ""
msgid "Invalid votes" msgid "Invalid votes"
msgstr "" msgstr ""
msgid "Is PDF file"
msgstr ""
msgid "Is a committee" msgid "Is a committee"
msgstr "" msgstr ""
@ -1112,9 +1106,6 @@ msgstr ""
msgid "Is favorite" msgid "Is favorite"
msgstr "" msgstr ""
msgid "Is no PDF file"
msgstr ""
msgid "Is not a committee" msgid "Is not a committee"
msgstr "" msgstr ""
@ -1265,9 +1256,15 @@ msgstr ""
msgid "Motions have been imported." msgid "Motions have been imported."
msgstr "" msgstr ""
msgid "Move"
msgstr ""
msgid "Move in call list" msgid "Move in call list"
msgstr "" msgstr ""
msgid "Move into directory"
msgstr ""
msgid "Move selected items ..." msgid "Move selected items ..."
msgstr "" msgstr ""
@ -1307,6 +1304,9 @@ msgstr ""
msgid "New comment field" msgid "New comment field"
msgstr "" msgstr ""
msgid "New directory"
msgstr ""
msgid "New election" msgid "New election"
msgstr "" msgstr ""
@ -1328,6 +1328,9 @@ msgstr ""
msgid "New password" msgid "New password"
msgstr "" msgstr ""
msgid "New state"
msgstr ""
msgid "New statute paragraph" msgid "New statute paragraph"
msgstr "" msgstr ""
@ -1340,6 +1343,9 @@ msgstr ""
msgid "New vote" msgid "New vote"
msgstr "" msgstr ""
msgid "New workflow"
msgstr ""
msgid "Next" msgid "Next"
msgstr "" msgstr ""
@ -1561,6 +1567,9 @@ msgstr ""
msgid "Parent agenda item" msgid "Parent agenda item"
msgstr "" msgstr ""
msgid "Parent directory"
msgstr ""
msgid "Participant cannot be found" msgid "Participant cannot be found"
msgstr "" msgstr ""
@ -1609,6 +1618,9 @@ msgstr ""
msgid "Phase" msgid "Phase"
msgstr "" msgstr ""
msgid "Please enter a name for the new directory:"
msgstr ""
msgid "Please enter a name for the new workflow:" msgid "Please enter a name for the new workflow:"
msgstr "" msgstr ""
@ -1627,6 +1639,9 @@ msgstr ""
msgid "Please fill in the values for each candidate" msgid "Please fill in the values for each candidate"
msgstr "" msgstr ""
msgid "Please select the directory:"
msgstr ""
msgid "Preamble text for PDF document (all elections)" msgid "Preamble text for PDF document (all elections)"
msgstr "" msgstr ""
@ -1877,9 +1892,6 @@ msgstr ""
msgid "Select paragraphs" msgid "Select paragraphs"
msgstr "" msgstr ""
msgid "Selected values"
msgstr ""
msgid "Send invitation email" msgid "Send invitation email"
msgstr "" msgstr ""
@ -2314,6 +2326,9 @@ msgstr ""
msgid "Upload files" msgid "Upload files"
msgstr "" msgstr ""
msgid "Upload to:"
msgstr ""
msgid "" msgid ""
"Use <strong>admin</strong> and <strong>admin</strong> for your first " "Use <strong>admin</strong> and <strong>admin</strong> for your first "
"login.<br>Please change your password to hide this message!" "login.<br>Please change your password to hide this message!"
@ -2345,9 +2360,6 @@ msgstr ""
msgid "Visibility" msgid "Visibility"
msgstr "" msgstr ""
msgid "Visible"
msgstr ""
msgid "Vote" msgid "Vote"
msgstr "" msgstr ""
@ -2556,12 +2568,6 @@ msgstr ""
msgid "is elected" msgid "is elected"
msgstr "" msgstr ""
msgid "is hidden"
msgstr ""
msgid "is not hidden"
msgstr ""
msgid "is now" msgid "is now"
msgstr "" msgstr ""