Updated translations

This commit is contained in:
Emanuel Schütze 2019-02-19 20:21:31 +01:00
parent 26b1c6b74d
commit 29ba4a61e6
9 changed files with 73 additions and 18 deletions

View File

@ -171,6 +171,9 @@ _('needed');
_('Amendment');
_('Amendment to');
_('Statute amendment for');
_('Creation date');
_('Last modified');
// motion workflow 1
_('Simple Workflow');
_('submitted');
@ -375,3 +378,10 @@ _('Vote created');
_('Vote updated');
_('Vote deleted');
_('Number set');
_('OpenSlides is temporarily reset to following timestamp');
_('Motion change recommendation created');
_('Motion change recommendation updated');
_('Motion change recommendation deleted');
// core misc strings
_('items per page');

View File

@ -28,7 +28,7 @@ export class AgendaFilterListService extends BaseFilterListService<Item, ViewIte
options: this.createVisibilityFilterOptions()
},
{
label: 'Hidden Status',
label: 'Status',
property: 'done',
options: [{ label: 'Open', condition: false }, { label: 'Closed', condition: true }]
}

View File

@ -81,6 +81,9 @@ export abstract class ListViewBaseComponent<V extends BaseViewModel, M extends B
public initTable(): void {
this.dataSource = new MatTableDataSource();
this.dataSource.paginator = this.paginator;
if (this.dataSource.paginator) {
this.dataSource.paginator._intl.itemsPerPageLabel = this.translate.instant('items per page');
}
if (this.filterService) {
this.onFilter();
}

View File

@ -107,11 +107,11 @@ export class HistoryListComponent extends ListViewBaseComponent<ViewHistory, His
public async onClickRow(history: ViewHistory): Promise<void> {
await this.repo.browseHistory(history);
const element = this.viewModelStore.get(history.getCollectionString(), history.getModelId());
let message = this.translate.instant('Temporarily reset OpenSlides to the state from ');
message += history.getLocaleString('DE-de') + '. ';
let message = this.translate.instant('OpenSlides is temporarily reset to following timestamp:');
console.log(message);
message += ' ' + history.getLocaleString('DE-de');
if (isDetailNavigable(element)) {
message += this.translate.instant('You will be redirected to the detail state of the last changed item.');
this.raiseError(message);
this.router.navigate([element.getDetailStateURL()]);
} else {

View File

@ -37,7 +37,7 @@ export class MediafileFilterListService extends BaseFilterListService<Mediafile,
*/
public hiddenOptions: OsFilter = {
property: 'is_hidden',
label: this.translate.instant('Hidden status'),
label: this.translate.instant('Visibility'),
options: [
{ condition: true, label: this.translate.instant('is hidden') },
{ condition: false, label: this.translate.instant('is not hidden') }

View File

@ -34,7 +34,7 @@ export class ViewMotionChangeRecommendation extends BaseViewModel implements Vie
}
public getTitle = () => {
return 'Changerecommendation';
return 'Change recommendation';
};
public updateDependencies(update: BaseViewModel): void {}

File diff suppressed because one or more lines are too long

View File

@ -443,6 +443,9 @@ msgstr "Neues Sachgebiet erstellen"
msgid "Create new workflow"
msgstr "Neuen Arbeitsablauf erstellen"
msgid "Creation date"
msgstr "Erstellungsdatum"
msgid "Current"
msgstr "Aktuell"
@ -582,7 +585,7 @@ msgid "Does not have notes"
msgstr "Hat keine Notizen"
msgid "Done"
msgstr "Erledigt"
msgstr "erledigt"
msgid "Download CSV example file"
msgstr "CSV-Beispiel-Datei herunterladen"
@ -954,6 +957,9 @@ msgstr "Verwenden Sie eine Zeile pro Person."
msgid "Label color"
msgstr "Beschriftungsfarbe"
msgid "Last modified"
msgstr "Zuletzt geändert"
msgid "Last speakers"
msgstr "Letzte Redner"
@ -1017,6 +1023,15 @@ msgstr "Antragsblock"
msgid "Motion blocks"
msgstr "Antragsblöcke"
msgid "Motion change recommendation created"
msgstr "Änderungsempfehlung erstellt"
msgid "Motion change recommendation deleted"
msgstr "Änderungsempfehlung gelöscht"
msgid "Motion change recommendation updated"
msgstr "Änderungsempfehlung aktualisiert"
msgid "Motion created"
msgstr "Antrag erstellt"
@ -1129,7 +1144,7 @@ msgid "No category"
msgstr "Kein Sachgebiet"
msgid "No category set"
msgstr "Kein Sachgebiet gesetzt"
msgstr "kein Sachgebiet gesetzt"
msgid "No change recommendations yet"
msgstr "Bisher keine Änderungsempfehlungen"
@ -1168,13 +1183,13 @@ msgid "No messages"
msgstr "Keine Mitteilungen"
msgid "No motion block set"
msgstr "Kein Antragsblock gesetzt"
msgstr "kein Antragsblock gesetzt"
msgid "No personal note"
msgstr "Keine persönliche Notiz"
msgid "No recommendation"
msgstr "Keine Empfehlung gesetzt"
msgstr "keine Empfehlung gesetzt"
msgid "No search result found for"
msgstr "Keine Suchergebnisse gefunden für"
@ -1186,7 +1201,7 @@ msgid "None"
msgstr "aus"
msgid "Number motions"
msgstr "Anträgg nummerieren"
msgstr "Anträge nummerieren"
msgid "Number of (minimum) required supporters for a motion"
msgstr "Mindestanzahl erforderlicher Unterstützer/innen für einen Antrag"
@ -1244,6 +1259,9 @@ msgstr "Redeliste öffnen"
msgid "OpenSlides access data"
msgstr "OpenSlides-Zugangsdaten"
msgid "OpenSlides is temporarily reset to following timestamp"
msgstr "OpenSlides ist vorübergehend auf folgenden Zeitpunkt zurückgesetzt:"
msgid "Origin"
msgstr "Herkunft"
@ -1889,6 +1907,9 @@ msgstr "Folgender Status wird für alle ausgewählten Anträge gesetzt:"
msgid "Three-quarters majority"
msgstr "Dreiviertelmehrheit"
msgid "Time"
msgstr "Zeit"
msgid "Timestamp"
msgstr "Zeitstempel"
@ -2053,9 +2074,6 @@ msgstr "Arbeitsablauf für neue Satzungsänderungsanträge"
msgid "Workflows"
msgstr "Arbeitsabläufe"
msgid "Wrong file type detected. Import failed."
msgstr "Falscher Dateityp erkannt. Import fehlgeschlagen."
msgid "Yes"
msgstr "Ja"
@ -2155,6 +2173,9 @@ msgstr "ist nicht versteckt"
msgid "is now"
msgstr "ist jetzt"
msgid "items per page"
msgstr "Einträge pro Seite"
msgid "majority"
msgstr "Mehrheit"

View File

@ -425,6 +425,9 @@ msgstr ""
msgid "Create new workflow"
msgstr ""
msgid "Creation date"
msgstr ""
msgid "Current"
msgstr ""
@ -909,6 +912,9 @@ msgstr ""
msgid "Label color"
msgstr ""
msgid "Last modified"
msgstr ""
msgid "Last speakers"
msgstr ""
@ -972,6 +978,15 @@ msgstr ""
msgid "Motion blocks"
msgstr ""
msgid "Motion change recommendation created"
msgstr ""
msgid "Motion change recommendation deleted"
msgstr ""
msgid "Motion change recommendation updated"
msgstr ""
msgid "Motion created"
msgstr ""
@ -1197,6 +1212,9 @@ msgstr ""
msgid "OpenSlides access data"
msgstr ""
msgid "OpenSlides is temporarily reset to following timestamp"
msgstr ""
msgid "Origin"
msgstr ""
@ -1811,6 +1829,9 @@ msgstr ""
msgid "Three-quarters majority"
msgstr ""
msgid "Time"
msgstr ""
msgid "Timestamp"
msgstr ""
@ -1963,9 +1984,6 @@ msgstr ""
msgid "Workflows"
msgstr ""
msgid "Wrong file type detected. Import failed."
msgstr ""
msgid "Yes"
msgstr ""
@ -2061,6 +2079,9 @@ msgstr ""
msgid "is now"
msgstr ""
msgid "items per page"
msgstr ""
msgid "majority"
msgstr ""