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');
_('Amendment to'); _('Amendment to');
_('Statute amendment for'); _('Statute amendment for');
_('Creation date');
_('Last modified');
// motion workflow 1 // motion workflow 1
_('Simple Workflow'); _('Simple Workflow');
_('submitted'); _('submitted');
@ -375,3 +378,10 @@ _('Vote created');
_('Vote updated'); _('Vote updated');
_('Vote deleted'); _('Vote deleted');
_('Number set'); _('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() options: this.createVisibilityFilterOptions()
}, },
{ {
label: 'Hidden Status', label: 'Status',
property: 'done', property: 'done',
options: [{ label: 'Open', condition: false }, { label: 'Closed', condition: true }] 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 { public initTable(): void {
this.dataSource = new MatTableDataSource(); this.dataSource = new MatTableDataSource();
this.dataSource.paginator = this.paginator; this.dataSource.paginator = this.paginator;
if (this.dataSource.paginator) {
this.dataSource.paginator._intl.itemsPerPageLabel = this.translate.instant('items per page');
}
if (this.filterService) { if (this.filterService) {
this.onFilter(); this.onFilter();
} }

View File

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

View File

@ -37,7 +37,7 @@ export class MediafileFilterListService extends BaseFilterListService<Mediafile,
*/ */
public hiddenOptions: OsFilter = { public hiddenOptions: OsFilter = {
property: 'is_hidden', property: 'is_hidden',
label: this.translate.instant('Hidden status'), label: this.translate.instant('Visibility'),
options: [ options: [
{ condition: true, label: this.translate.instant('is hidden') }, { condition: true, label: this.translate.instant('is hidden') },
{ condition: false, label: this.translate.instant('is not 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 = () => { public getTitle = () => {
return 'Changerecommendation'; return 'Change recommendation';
}; };
public updateDependencies(update: BaseViewModel): void {} 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" msgid "Create new workflow"
msgstr "Neuen Arbeitsablauf erstellen" msgstr "Neuen Arbeitsablauf erstellen"
msgid "Creation date"
msgstr "Erstellungsdatum"
msgid "Current" msgid "Current"
msgstr "Aktuell" msgstr "Aktuell"
@ -582,7 +585,7 @@ msgid "Does not have notes"
msgstr "Hat keine Notizen" msgstr "Hat keine Notizen"
msgid "Done" msgid "Done"
msgstr "Erledigt" msgstr "erledigt"
msgid "Download CSV example file" msgid "Download CSV example file"
msgstr "CSV-Beispiel-Datei herunterladen" msgstr "CSV-Beispiel-Datei herunterladen"
@ -954,6 +957,9 @@ msgstr "Verwenden Sie eine Zeile pro Person."
msgid "Label color" msgid "Label color"
msgstr "Beschriftungsfarbe" msgstr "Beschriftungsfarbe"
msgid "Last modified"
msgstr "Zuletzt geändert"
msgid "Last speakers" msgid "Last speakers"
msgstr "Letzte Redner" msgstr "Letzte Redner"
@ -1017,6 +1023,15 @@ msgstr "Antragsblock"
msgid "Motion blocks" msgid "Motion blocks"
msgstr "Antragsblöcke" 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" msgid "Motion created"
msgstr "Antrag erstellt" msgstr "Antrag erstellt"
@ -1129,7 +1144,7 @@ msgid "No category"
msgstr "Kein Sachgebiet" msgstr "Kein Sachgebiet"
msgid "No category set" msgid "No category set"
msgstr "Kein Sachgebiet gesetzt" msgstr "kein Sachgebiet gesetzt"
msgid "No change recommendations yet" msgid "No change recommendations yet"
msgstr "Bisher keine Änderungsempfehlungen" msgstr "Bisher keine Änderungsempfehlungen"
@ -1168,13 +1183,13 @@ msgid "No messages"
msgstr "Keine Mitteilungen" msgstr "Keine Mitteilungen"
msgid "No motion block set" msgid "No motion block set"
msgstr "Kein Antragsblock gesetzt" msgstr "kein Antragsblock gesetzt"
msgid "No personal note" msgid "No personal note"
msgstr "Keine persönliche Notiz" msgstr "Keine persönliche Notiz"
msgid "No recommendation" msgid "No recommendation"
msgstr "Keine Empfehlung gesetzt" msgstr "keine Empfehlung gesetzt"
msgid "No search result found for" msgid "No search result found for"
msgstr "Keine Suchergebnisse gefunden für" msgstr "Keine Suchergebnisse gefunden für"
@ -1186,7 +1201,7 @@ msgid "None"
msgstr "aus" msgstr "aus"
msgid "Number motions" msgid "Number motions"
msgstr "Anträgg nummerieren" msgstr "Anträge nummerieren"
msgid "Number of (minimum) required supporters for a motion" msgid "Number of (minimum) required supporters for a motion"
msgstr "Mindestanzahl erforderlicher Unterstützer/innen für einen Antrag" msgstr "Mindestanzahl erforderlicher Unterstützer/innen für einen Antrag"
@ -1244,6 +1259,9 @@ msgstr "Redeliste öffnen"
msgid "OpenSlides access data" msgid "OpenSlides access data"
msgstr "OpenSlides-Zugangsdaten" msgstr "OpenSlides-Zugangsdaten"
msgid "OpenSlides is temporarily reset to following timestamp"
msgstr "OpenSlides ist vorübergehend auf folgenden Zeitpunkt zurückgesetzt:"
msgid "Origin" msgid "Origin"
msgstr "Herkunft" msgstr "Herkunft"
@ -1889,6 +1907,9 @@ msgstr "Folgender Status wird für alle ausgewählten Anträge gesetzt:"
msgid "Three-quarters majority" msgid "Three-quarters majority"
msgstr "Dreiviertelmehrheit" msgstr "Dreiviertelmehrheit"
msgid "Time"
msgstr "Zeit"
msgid "Timestamp" msgid "Timestamp"
msgstr "Zeitstempel" msgstr "Zeitstempel"
@ -2053,9 +2074,6 @@ msgstr "Arbeitsablauf für neue Satzungsänderungsanträge"
msgid "Workflows" msgid "Workflows"
msgstr "Arbeitsabläufe" msgstr "Arbeitsabläufe"
msgid "Wrong file type detected. Import failed."
msgstr "Falscher Dateityp erkannt. Import fehlgeschlagen."
msgid "Yes" msgid "Yes"
msgstr "Ja" msgstr "Ja"
@ -2155,6 +2173,9 @@ msgstr "ist nicht versteckt"
msgid "is now" msgid "is now"
msgstr "ist jetzt" msgstr "ist jetzt"
msgid "items per page"
msgstr "Einträge pro Seite"
msgid "majority" msgid "majority"
msgstr "Mehrheit" msgstr "Mehrheit"

View File

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