Updated translations

This commit is contained in:
Emanuel Schütze 2019-05-29 09:42:34 +02:00
parent 32af73cfb7
commit 708de917e1
11 changed files with 218 additions and 60 deletions

View File

@ -16,10 +16,7 @@ import { _ } from 'app/core/translate/translation-marker';
_('Presentation and assembly system');
_('Event name');
_(
'<a href="http://www.openslides.org">OpenSlides</a> is a free ' +
'web based presentation and assembly system for visualizing ' +
'and controlling agenda, motions and elections of an ' +
'assembly.'
'<a href="http://www.openslides.org">OpenSlides</a> is a free web based presentation and assembly system for visualizing and controlling agenda, motions and elections of an assembly.'
);
_('General');
_('Event');
@ -34,6 +31,7 @@ _('[Space for your welcome text.]');
_('System');
_('Allow access for anonymous guest users');
_('Show this text on the login page');
_('OpenSlides Theme');
_('Export');
_('Separator used for all csv exports and examples');
_('Default encoding for all csv exports');
@ -42,6 +40,7 @@ _('Left');
_('Center');
_('Right');
_('Standard font size in PDF');
_('Standard page size in PDF');
// Projector config strings
_('Projector');
@ -78,8 +77,11 @@ _('Show orange countdown in the last x seconds of speaking time');
_('Enter duration in seconds. Choose 0 to disable warning color.');
_('Couple countdown with the list of speakers');
_('[Begin speech] starts the countdown, [End speech] stops the countdown.');
_('Agenda visibility');
_('Only present participants can be added to the list of speakers'), _('Agenda visibility');
_('Default visibility for new agenda items (except topics)');
_('public');
_('internal');
_('hidden');
_('Public item');
_('Internal item');
_('Hidden item');
@ -111,9 +113,7 @@ _(
'Will be displayed as label before selected recommendation. Use an empty value to disable the recommendation system.'
);
_('Name of recommender for statute amendments');
_(
'Will be displayed as label before selected recommendation for statute amendments. Use an empty value to disable the recommendation system.'
);
_('Will be displayed as label before selected recommendation in statute amendments.');
_('Default text version for change recommendations');
// subgroup Amendments
_('Amendments');
@ -155,6 +155,7 @@ _('Custom number of ballot papers');
_('Title for PDF and DOCX documents (all motions)');
_('Preamble text for PDF and DOCX documents (all motions)');
_('Sort categories by');
_('Sort motions by');
_('Include the sequential number in PDF and DOCX');
// misc motion strings
_('Amendment');
@ -218,10 +219,7 @@ _('Elections');
_('Ballot and ballot papers');
_('The 100-%-base of an election result consists of');
_(
'For Yes/No/Abstain per candidate and Yes/No per candidate the 100-%-base ' +
'depends on the election method: If there is only one option per candidate, ' +
'the sum of all votes of all candidates is 100 %. Otherwise for each ' +
'candidate the sum of all votes is 100 %.'
'For Yes/No/Abstain per candidate and Yes/No per candidate the 100-%-base depends on the election method: If there is only one option per candidate, the sum of all votes of all candidates is 100 %. Otherwise for each candidate the sum of all votes is 100 %.'
);
_('Yes/No/Abstain per candidate');
_('Yes/No per candidate');
@ -250,7 +248,7 @@ _('Allow submitter edit');
_('Set identifier');
_('Show state extension field');
_('Show recommendation extension field');
_('Show amendment in parent motoin');
_('Show amendment in parent motion');
_('Restrictions');
_('Label color');
_('Next states');

View File

@ -6,9 +6,9 @@ import { BaseModelWithContentObject } from '../base/base-model-with-content-obje
* Coming from "ConfigVariables" property "agenda_hide_internal_items_on_projector"
*/
export const itemVisibilityChoices = [
{ key: 1, name: 'Public item', csvName: '' },
{ key: 2, name: 'Internal item', csvName: 'internal' },
{ key: 3, name: 'Hidden item', csvName: 'hidden' }
{ key: 1, name: 'public', csvName: '' },
{ key: 2, name: 'internal', csvName: 'internal' },
{ key: 3, name: 'hidden', csvName: 'hidden' }
];
/**

View File

@ -70,7 +70,7 @@ export class AssignmentPdfExportService {
? [assignmentDocDef, this.pdfDocumentService.getPageBreak()]
: [assignmentDocDef];
} catch (error) {
const errorText = `${this.translate.instant('Error during PDF creation of assignment:')} ${
const errorText = `${this.translate.instant('Error during PDF creation of election:')} ${
assignment.title
}`;
console.error(`${errorText}\nDebugInfo:\n`, error);

View File

@ -499,7 +499,7 @@
<button
type="button"
mat-icon-button
matTooltip="{{ 'Copy to final print template' | translate }}"
matTooltip="{{ 'Create final print template' | translate }}"
*osPerms="'motions.can_manage'; and: isRecoMode(ChangeRecoMode.Final)"
(click)="createModifiedFinalVersion()"
>

View File

@ -80,7 +80,7 @@ export class SiteComponent extends BaseComponent implements OnInit {
*/
public constructor(
title: Title,
translate: TranslateService,
protected translate: TranslateService,
configService: ConfigService,
private updateService: UpdateService,
private authService: AuthService,
@ -174,9 +174,13 @@ export class SiteComponent extends BaseComponent implements OnInit {
* Shows the update notification
*/
private showUpdateNotification(): void {
const ref = this.matSnackBar.open('A new update is available!', 'Refresh', {
duration: 0
});
const ref = this.matSnackBar.open(
this.translate.instant('A new update is available!'),
this.translate.instant('Refresh'),
{
duration: 0
}
);
// Enforces an update
ref.onAction().subscribe(() => {

File diff suppressed because one or more lines are too long

View File

@ -14,12 +14,24 @@ msgstr ""
msgid "%num% emails were send sucessfully."
msgstr "%num% E-Mails wurden erfolgreich versandt."
msgid ""
"<a href=\"http://www.openslides.org\">OpenSlides</a> is a free web based "
"presentation and assembly system for visualizing and controlling agenda, "
"motions and elections of an assembly."
msgstr ""
"<a href=\"http://www.openslides.org\">OpenSlides</a> ist ein freies, "
"webbasiertes Präsentations- und Versammlungssystem zur Darstellung und "
"Steuerung von Tagesordnung, Anträgen und Wahlen einer Versammlung."
msgid "<unknown motion>"
msgstr "<unbekannter Antrag>"
msgid "A name is required"
msgstr "Ein Name ist erforderlich"
msgid "A new update is available!"
msgstr "Ein neues Update ist verfügbar!"
msgid "A password is required"
msgstr "Ein Passwort ist erforderlich"
@ -267,9 +279,6 @@ msgid "Are you sure you want to send emails to all selected participants?"
msgstr ""
"Sollen E-Mails wirklich an alle ausgewählten Teilnehmende gesendet werden?"
msgid "Assignments"
msgstr ""
msgid ""
"At least given name or surname have to be filled in. All other fields are "
"optional and may be empty."
@ -475,6 +484,12 @@ msgstr "Zum Deaktivieren des Unterstützersystems '0' eingeben."
msgid "Chyron"
msgstr "Bauchbinde"
msgid "Chyron background color"
msgstr "Hintergrundfarbe Bauchbinde"
msgid "Chyron font color"
msgstr "Schriftfarbe Bauchbinde"
msgid "Clear all"
msgstr "Alle löschen"
@ -745,9 +760,6 @@ msgstr "Satzungsabschnitt bearbeiten:"
msgid "Edit the whole motion text"
msgstr "Vollständigen Antragstext bearbeiten"
msgid "Edit title"
msgstr "Titel bearbeiten"
msgid "Edit topic"
msgstr "Thema bearbeiten"
@ -824,6 +836,9 @@ msgstr ""
msgid "Error"
msgstr "Fehler"
msgid "Error during PDF creation of election:"
msgstr "Fehler bei der PDF-Erstellung der Wahl:"
msgid "Error during PDF creation of motion:"
msgstr "Fehler bei der PDF-Erstellung in Antrag"
@ -875,6 +890,9 @@ msgstr "Anträge exportieren"
msgid "Export personal note only"
msgstr "Nur persönliche Notiz exportieren"
msgid "Export selected elections"
msgstr "Ausgewählte Wahlen exportieren"
msgid "Export selected motions"
msgstr "Ausgewählte Anträge exportieren"
@ -923,6 +941,17 @@ msgstr "Empfehlungen für alle Anträge folgen"
msgid "Following users are currently editing this motion:"
msgstr "Folgende Nutzer bearbeiten aktuell diesen Antrag:"
msgid ""
"For Yes/No/Abstain per candidate and Yes/No per candidate the 100-%-base "
"depends on the election method: If there is only one option per candidate, "
"the sum of all votes of all candidates is 100 %. Otherwise for each "
"candidate the sum of all votes is 100 %."
msgstr ""
"Für Ja/Nein/Enthaltung pro Kandidat und Ja/Nein pro Kandidat hängt die "
"100%-Basis von der Wahlmethode ab: Wenn es nur eine Option pro Kandidat "
"gibt, ist 100% die Summe aller Stimmen von allen Kandidaten. Andernfalls ist"
" 100% die Summe aller Stimmen pro Kandidat."
msgid "Forgot Password?"
msgstr "Passwort vergessen?"
@ -1071,6 +1100,9 @@ msgstr "Ergänzung"
msgid "Installed plugins"
msgstr "Installierte Plugins"
msgid "Internal"
msgstr "Intern"
msgid "Internal item"
msgstr "Interner Eintrag"
@ -1173,6 +1205,9 @@ msgstr "Redeliste"
msgid "List of speakers overlay"
msgstr "Redelisten-Einblendung"
msgid "List view"
msgstr "Listenansicht"
msgid "Loading data. Please wait..."
msgstr "Daten werden geladen. Bitte warten..."
@ -1185,9 +1220,18 @@ msgstr "Als Gast anmelden"
msgid "Logout"
msgstr "Abmelden"
msgid "Mark as elected"
msgstr "Als gewählt markieren"
msgid "Mark speaker"
msgstr "Redner/in markieren"
msgid "Media file"
msgstr "Mediendatei"
msgid "Menu"
msgstr "Menü"
msgid "Message"
msgstr "Mitteilung"
@ -1386,9 +1430,6 @@ msgstr "Nr."
msgid "None"
msgstr "aus"
msgid "Not elected"
msgstr "nicht gewählt"
msgid ""
"Note: Your own password was not changed. Please use the password change "
"dialog instead."
@ -1461,6 +1502,9 @@ msgstr "Nur für interne Notizen."
msgid "Only main agenda items"
msgstr "Nur Haupt-Tagesordnungspunkte"
msgid "Only present participants can be added to the list of speakers"
msgstr "Nur anwesende Teilnehmende können zur Redeliste hinzugefügt werden"
msgid "Open"
msgstr "Öffnen"
@ -1473,6 +1517,9 @@ msgstr "Redeliste öffnen"
msgid "Open projection dialog"
msgstr "Projektionsdialog öffnen"
msgid "OpenSlides Theme"
msgstr "OpenSlides-Design-Theme"
msgid "OpenSlides access data"
msgstr "OpenSlides-Zugangsdaten"
@ -1509,6 +1556,9 @@ msgstr "PDF-Logo Kopfzeile (links)"
msgid "PDF header logo (right)"
msgstr "PDF-Logo Kopfzeile (rechts)"
msgid "Page"
msgstr "Seite"
msgid "Page number alignment in PDF"
msgstr "Seitenzahl-Ausrichtung im PDF"
@ -1699,6 +1749,9 @@ msgstr "Referenzprojektor für die aktuelle Redeliste:"
msgid "Referral to committee"
msgstr "Verweisung in Ausschuss"
msgid "Refresh"
msgstr "Aktualisieren"
msgid "Reject"
msgstr "Ablehnen"
@ -1724,8 +1777,8 @@ msgid ""
"Remove all supporters of a motion if a submitter edits his motion in early "
"state"
msgstr ""
"Entferne alle Unterstützer/innen eines Antrags, wenn ein Antragsteller/in "
"den Antrag im Anfangsstadium bearbeitet"
"Entferne alle Unterstützer/innen, wenn ein Antragsteller/in den Antrag im "
"Anfangsstadium bearbeitet"
msgid "Remove candidate"
msgstr "Kandidate/in entfernen"
@ -1911,7 +1964,7 @@ msgstr "Kurzbeschreibung der Veranstaltung"
msgid "Show all"
msgstr "Alle anzeigen"
msgid "Show amendment in parent motoin"
msgid "Show amendment in parent motion"
msgstr "Änderungsantrag im Hauptantrag anzeigen"
msgid "Show amendments together with motions"
@ -1980,6 +2033,9 @@ msgstr "Sachgebiete sortieren nach"
msgid "Sort motions"
msgstr "Anträge sortieren"
msgid "Sort motions by"
msgstr "Anträge sortieren nach"
msgid "Sort name of participants by"
msgstr "Namen der Teilnehmenden sortieren nach"
@ -1995,6 +2051,9 @@ msgstr "Mitarbeitende"
msgid "Standard font size in PDF"
msgstr "Standard-Schriftgröße im PDF"
msgid "Standard page size in PDF"
msgstr "Standard-PDF-Papierformat"
msgid "Start time"
msgstr "Startzeit"
@ -2113,6 +2172,13 @@ msgstr ""
msgid "The reason field may not be blank."
msgstr "Die Begründung darf nicht leer sein."
msgid ""
"The requested method is not allowed. Please contact your system "
"administrator."
msgstr ""
"Die gewünschte Methode ist nicht erlaubt. Bitte kontaktieren Sie den "
"zuständigen Administrator."
msgid "The server could not be reached."
msgstr "Der Server konnte nicht erreicht werden."
@ -2202,6 +2268,9 @@ msgstr "Folgender Status wird für alle ausgewählten Anträge gesetzt:"
msgid "Three-quarters majority"
msgstr "Dreiviertelmehrheit"
msgid "Tile view"
msgstr "Kachelansicht"
msgid "Timestamp"
msgstr "Zeitstempel"
@ -2355,19 +2424,18 @@ msgid "Which version?"
msgstr "Welche Fassung?"
msgid ""
"Will be displayed as label before selected recommendation for statute "
"amendments. Use an empty value to disable the recommendation system."
"Will be displayed as label before selected recommendation in statute "
"amendments."
msgstr ""
"Wird als Beschriftung vor der ausgewählten Empfehlung von "
"Satzungsänderungsanträgen angezeigt. Verwenden Sie eine leere Eingabe, um "
"das Empfehlungssystem zu deaktivieren."
"Wird als Beschriftung vor der Beschlussempfehlung in "
"Satzungsänderungsanträgen angezeigt."
msgid ""
"Will be displayed as label before selected recommendation. Use an empty "
"value to disable the recommendation system."
msgstr ""
"Wird als Beschriftung vor der ausgewählten Empfehlung angezeigt. Verwenden "
"Sie eine leere Eingabe, um das Empfehlungssystem zu deaktivieren."
"Wird als Beschriftung vor der Beschlussempfehlung angezeigt. Leere Eingabe "
"deaktiviert das Empfehlungssystem."
msgid "Withdraw"
msgstr "Zurückziehen"
@ -2491,15 +2559,24 @@ msgstr "Beispiel"
msgid "female"
msgstr "weiblich"
msgid "fullscreen"
msgstr "Vollbild"
msgid "has saved his work on this motion."
msgstr "hat die Arbeit an diesem Antrag gespeichert."
msgid "hidden"
msgstr "versteckt"
msgid "inactive"
msgstr "inaktiv"
msgid "inline"
msgstr "innerhalb"
msgid "internal"
msgstr "intern"
msgid "is elected"
msgstr "gewählt"
@ -2518,6 +2595,9 @@ msgstr "Einträge"
msgid "items per page"
msgstr "Einträge pro Seite"
msgid "items selected"
msgstr "Einträge ausgewählt"
msgid "majority"
msgstr "Mehrheit"
@ -2566,6 +2646,9 @@ msgstr "zugelassen"
msgid "present"
msgstr "anwesend"
msgid "public"
msgstr "öffentlich"
msgid "published"
msgstr "veröffentlicht"

View File

@ -7,12 +7,21 @@ msgstr ""
msgid "%num% emails were send sucessfully."
msgstr ""
msgid ""
"<a href=\"http://www.openslides.org\">OpenSlides</a> is a free web based "
"presentation and assembly system for visualizing and controlling agenda, "
"motions and elections of an assembly."
msgstr ""
msgid "<unknown motion>"
msgstr ""
msgid "A name is required"
msgstr ""
msgid "A new update is available!"
msgstr ""
msgid "A password is required"
msgstr ""
@ -248,9 +257,6 @@ msgstr ""
msgid "Are you sure you want to send emails to all selected participants?"
msgstr ""
msgid "Assignments"
msgstr ""
msgid ""
"At least given name or surname have to be filled in. All other fields are "
"optional and may be empty."
@ -451,6 +457,12 @@ msgstr ""
msgid "Chyron"
msgstr ""
msgid "Chyron background color"
msgstr ""
msgid "Chyron font color"
msgstr ""
msgid "Clear all"
msgstr ""
@ -700,9 +712,6 @@ msgstr ""
msgid "Edit the whole motion text"
msgstr ""
msgid "Edit title"
msgstr ""
msgid "Edit topic"
msgstr ""
@ -775,6 +784,9 @@ msgstr ""
msgid "Error"
msgstr ""
msgid "Error during PDF creation of election:"
msgstr ""
msgid "Error during PDF creation of motion:"
msgstr ""
@ -826,6 +838,9 @@ msgstr ""
msgid "Export personal note only"
msgstr ""
msgid "Export selected elections"
msgstr ""
msgid "Export selected motions"
msgstr ""
@ -874,6 +889,13 @@ msgstr ""
msgid "Following users are currently editing this motion:"
msgstr ""
msgid ""
"For Yes/No/Abstain per candidate and Yes/No per candidate the 100-%-base "
"depends on the election method: If there is only one option per candidate, "
"the sum of all votes of all candidates is 100 %. Otherwise for each "
"candidate the sum of all votes is 100 %."
msgstr ""
msgid "Forgot Password?"
msgstr ""
@ -1020,6 +1042,9 @@ msgstr ""
msgid "Installed plugins"
msgstr ""
msgid "Internal"
msgstr ""
msgid "Internal item"
msgstr ""
@ -1122,6 +1147,9 @@ msgstr ""
msgid "List of speakers overlay"
msgstr ""
msgid "List view"
msgstr ""
msgid "Loading data. Please wait..."
msgstr ""
@ -1134,9 +1162,18 @@ msgstr ""
msgid "Logout"
msgstr ""
msgid "Mark as elected"
msgstr ""
msgid "Mark speaker"
msgstr ""
msgid "Media file"
msgstr ""
msgid "Menu"
msgstr ""
msgid "Message"
msgstr ""
@ -1335,9 +1372,6 @@ msgstr ""
msgid "None"
msgstr ""
msgid "Not elected"
msgstr ""
msgid ""
"Note: Your own password was not changed. Please use the password change "
"dialog instead."
@ -1406,6 +1440,9 @@ msgstr ""
msgid "Only main agenda items"
msgstr ""
msgid "Only present participants can be added to the list of speakers"
msgstr ""
msgid "Open"
msgstr ""
@ -1418,6 +1455,9 @@ msgstr ""
msgid "Open projection dialog"
msgstr ""
msgid "OpenSlides Theme"
msgstr ""
msgid "OpenSlides access data"
msgstr ""
@ -1454,6 +1494,9 @@ msgstr ""
msgid "PDF header logo (right)"
msgstr ""
msgid "Page"
msgstr ""
msgid "Page number alignment in PDF"
msgstr ""
@ -1643,6 +1686,9 @@ msgstr ""
msgid "Referral to committee"
msgstr ""
msgid "Refresh"
msgstr ""
msgid "Reject"
msgstr ""
@ -1851,7 +1897,7 @@ msgstr ""
msgid "Show all"
msgstr ""
msgid "Show amendment in parent motoin"
msgid "Show amendment in parent motion"
msgstr ""
msgid "Show amendments together with motions"
@ -1920,6 +1966,9 @@ msgstr ""
msgid "Sort motions"
msgstr ""
msgid "Sort motions by"
msgstr ""
msgid "Sort name of participants by"
msgstr ""
@ -1935,6 +1984,9 @@ msgstr ""
msgid "Standard font size in PDF"
msgstr ""
msgid "Standard page size in PDF"
msgstr ""
msgid "Start time"
msgstr ""
@ -2045,6 +2097,11 @@ msgstr ""
msgid "The reason field may not be blank."
msgstr ""
msgid ""
"The requested method is not allowed. Please contact your system "
"administrator."
msgstr ""
msgid "The server could not be reached."
msgstr ""
@ -2113,6 +2170,9 @@ msgstr ""
msgid "Three-quarters majority"
msgstr ""
msgid "Tile view"
msgstr ""
msgid "Timestamp"
msgstr ""
@ -2259,8 +2319,8 @@ msgid "Which version?"
msgstr ""
msgid ""
"Will be displayed as label before selected recommendation for statute "
"amendments. Use an empty value to disable the recommendation system."
"Will be displayed as label before selected recommendation in statute "
"amendments."
msgstr ""
msgid ""
@ -2388,15 +2448,24 @@ msgstr ""
msgid "female"
msgstr ""
msgid "fullscreen"
msgstr ""
msgid "has saved his work on this motion."
msgstr ""
msgid "hidden"
msgstr ""
msgid "inactive"
msgstr ""
msgid "inline"
msgstr ""
msgid "internal"
msgstr ""
msgid "is elected"
msgstr ""
@ -2415,6 +2484,9 @@ msgstr ""
msgid "items per page"
msgstr ""
msgid "items selected"
msgstr ""
msgid "majority"
msgstr ""
@ -2463,6 +2535,9 @@ msgstr ""
msgid "present"
msgstr ""
msgid "public"
msgstr ""
msgid "published"
msgstr ""

View File

@ -120,8 +120,7 @@ def get_config_variables():
name="agenda_present_speakers_only",
default_value=False,
input_type="boolean",
label="Only present users can be on the list of speakers",
help_text="Users without the status 'present' will not be available for any list of speakers.",
label="Only present participants can be added to the list of speakers",
weight=250,
group="Agenda",
subgroup="List of speakers",

View File

@ -192,8 +192,8 @@ def get_config_variables():
input_type="choice",
label="Standard page size in PDF",
choices=(
{"value": "A4", "display_name": "A4"},
{"value": "A5", "display_name": "A5"},
{"value": "A4", "display_name": "DIN A4"},
{"value": "A5", "display_name": "DIN A5"},
),
weight=147,
group="General",

View File

@ -154,8 +154,7 @@ def get_config_variables():
name="motions_statute_recommendations_by",
default_value="",
label="Name of recommender for statute amendments",
help_text="Will be displayed as label before selected recommendation in statute amendments. "
+ "Use an empty value to disable the recommendation system for statute amendments.",
help_text="Will be displayed as label before selected recommendation in statute amendments.",
weight=333,
group="Motions",
subgroup="General",