Migrate Committee interface patterns

This commit is contained in:
2026-08-03 12:48:55 +02:00
parent 11b946ea78
commit e64af30534
10 changed files with 719 additions and 79 deletions
+223
View File
@@ -0,0 +1,223 @@
import type { PlatformTranslations } from "@govoplan/core-webui";
const en = {
"i18n:govoplan-committee.committee": "Committee",
"i18n:govoplan-committee.loading_reason": "Committee data is still loading.",
"i18n:govoplan-committee.busy_reason": "Another Committee action is still running.",
"i18n:govoplan-committee.write_permission_reason": "Your account may not manage Committee records.",
"i18n:govoplan-committee.finalize_permission_reason": "Your account may not finalize governed ballot results.",
"i18n:govoplan-committee.lifecycle_reason": "This record is immutable in its current lifecycle state.",
"i18n:govoplan-committee.incomplete_reason": "Complete the required title and change reason first.",
"i18n:govoplan-committee.required_action": "Required action",
"i18n:govoplan-committee.responsible_actor": "Responsible actor",
"i18n:govoplan-committee.destination": "Destination",
"i18n:govoplan-committee.permission_action": "Ask for the corresponding Committee management permission.",
"i18n:govoplan-committee.permission_actor": "An Access or tenant administrator",
"i18n:govoplan-committee.permission_destination": "Access role assignments",
"i18n:govoplan-committee.confirm_state_change": "Save {kind} and change its state from {from} to {to}? The reason and revision are retained as evidence.",
"i18n:govoplan-committee.confirm_ballot_finalization": "Finalize {title}? The aggregate result, approval and evidence become part of the governed Committee record.",
"i18n:govoplan-committee.finalize_title": "Finalize ballot result",
"i18n:govoplan-committee.save_state_title": "Confirm lifecycle change",
"i18n:govoplan-committee.unsaved_title": "Unsaved Committee record",
"i18n:govoplan-committee.unsaved_message": "Save or discard the Committee record before leaving this surface.",
"i18n:govoplan-committee.votes_for": "Votes - {title}",
"i18n:govoplan-committee.finalize_provider_record": "Finalize {title} from ballot provider",
"i18n:govoplan-committee.record_reference": "Record {id}",
"i18n:govoplan-committee.edit_record": "Edit {title}",
"i18n:govoplan-committee.vote_summary": "{method}, {cast}/{eligible} cast",
"i18n:govoplan-committee.record_dialog_title": "{action} {kind}",
"i18n:govoplan-committee.kind_body": "body",
"i18n:govoplan-committee.kind_meeting": "meeting",
"i18n:govoplan-committee.kind_agenda_item": "agenda item",
"i18n:govoplan-committee.kind_vote": "vote",
"i18n:govoplan-committee.kind_minute": "minutes",
"i18n:govoplan-committee.state_draft": "Draft",
"i18n:govoplan-committee.state_active": "Active",
"i18n:govoplan-committee.state_suspended": "Suspended",
"i18n:govoplan-committee.state_retired": "Retired",
"i18n:govoplan-committee.state_scheduled": "Scheduled",
"i18n:govoplan-committee.state_open": "Open",
"i18n:govoplan-committee.state_closed": "Closed",
"i18n:govoplan-committee.state_cancelled": "Cancelled",
"i18n:govoplan-committee.state_deliberating": "Deliberating",
"i18n:govoplan-committee.state_decided": "Decided",
"i18n:govoplan-committee.state_withdrawn": "Withdrawn",
"i18n:govoplan-committee.state_proposed": "Proposed",
"i18n:govoplan-committee.state_accepted": "Accepted",
"i18n:govoplan-committee.state_corrected": "Corrected",
"i18n:govoplan-committee.domain_recorded": "Recorded",
"i18n:govoplan-committee.domain_public": "Public",
"i18n:govoplan-committee.domain_secret": "Secret",
"Committee": "Committee",
"Search bodies": "Search bodies",
"Search committee bodies": "Search committee bodies",
"Refresh": "Refresh",
"New body": "New body",
"Loading committee workspace": "Loading committee workspace",
"Committee bodies": "Committee bodies",
"Bodies": "Bodies",
"Edit body": "Edit body",
"New meeting": "New meeting",
"Meetings": "Meetings",
"Meeting workspace": "Meeting workspace",
"Select or create a meeting.": "Select or create a meeting.",
"Edit meeting": "Edit meeting",
"Agenda": "Agenda",
"Add item": "Add item",
"No agenda items.": "No agenda items.",
"Add vote": "Add vote",
"Minutes": "Minutes",
"Add minutes": "Add minutes",
"No records.": "No records.",
"Cancel": "Cancel",
"Save": "Save",
"Saving": "Saving",
"Title": "Title",
"State": "State",
"Responsible organization unit ID": "Responsible organization unit ID",
"Starts": "Starts",
"Ends": "Ends",
"Position": "Position",
"Subject type": "Subject type",
"Subject ID": "Subject ID",
"Formal Decision ID": "Formal Decision ID",
"Method": "Method",
"Eligible voters": "Eligible voters",
"Ballot provider (optional)": "Ballot provider (optional)",
"Voting ballot ID (optional)": "Voting ballot ID (optional)",
"Choices (comma separated)": "Choices (comma separated)",
"Votes cast": "Votes cast",
"Quorum": "Quorum",
"Met": "Met",
"Not met": "Not met",
"Approval ID": "Approval ID",
"Evidence record ID": "Evidence record ID",
"Minutes record ID": "Minutes record ID",
"Change reason": "Change reason",
"Provider ballot reference": "Provider ballot reference",
"Importing": "Importing",
"Finalize": "Finalize",
"Date not set": "Date not set",
"No Committee management permission": "No Committee management permission",
"Edit": "Edit",
"New": "New",
"Recorded": "Recorded",
"Public": "Public",
"Secret": "Secret",
"Case": "Case",
"Service": "Service",
"Work Item": "Work item",
"Record": "Record"
} as const;
const de: Record<keyof typeof en, string> = {
"i18n:govoplan-committee.committee": "Gremien",
"i18n:govoplan-committee.loading_reason": "Gremiendaten werden noch geladen.",
"i18n:govoplan-committee.busy_reason": "Eine andere Gremienaktion läuft noch.",
"i18n:govoplan-committee.write_permission_reason": "Ihr Konto darf Gremiendatensätze nicht verwalten.",
"i18n:govoplan-committee.finalize_permission_reason": "Ihr Konto darf geregelte Abstimmungsergebnisse nicht abschließen.",
"i18n:govoplan-committee.lifecycle_reason": "Dieser Datensatz ist in seinem aktuellen Lebenszyklus unveränderlich.",
"i18n:govoplan-committee.incomplete_reason": "Füllen Sie zuerst Titel und Änderungsgrund aus.",
"i18n:govoplan-committee.required_action": "Erforderliche Aktion",
"i18n:govoplan-committee.responsible_actor": "Verantwortliche Stelle",
"i18n:govoplan-committee.destination": "Ziel",
"i18n:govoplan-committee.permission_action": "Fordern Sie die entsprechende Berechtigung zur Gremienverwaltung an.",
"i18n:govoplan-committee.permission_actor": "Eine Zugriffs- oder Mandantenadministration",
"i18n:govoplan-committee.permission_destination": "Zugriff und Rollenzuweisungen",
"i18n:govoplan-committee.confirm_state_change": "{kind} speichern und den Status von {from} auf {to} ändern? Grund und Revision werden als Nachweis aufbewahrt.",
"i18n:govoplan-committee.confirm_ballot_finalization": "{title} abschließen? Gesamtergebnis, Genehmigung und Nachweis werden Bestandteil des geregelten Gremiendatensatzes.",
"i18n:govoplan-committee.finalize_title": "Abstimmungsergebnis abschließen",
"i18n:govoplan-committee.save_state_title": "Lebenszyklusänderung bestätigen",
"i18n:govoplan-committee.unsaved_title": "Ungespeicherter Gremiendatensatz",
"i18n:govoplan-committee.unsaved_message": "Speichern oder verwerfen Sie den Gremiendatensatz, bevor Sie diese Oberfläche verlassen.",
"i18n:govoplan-committee.votes_for": "Abstimmungen - {title}",
"i18n:govoplan-committee.finalize_provider_record": "{title} über Abstimmungsanbieter abschließen",
"i18n:govoplan-committee.record_reference": "Datensatz {id}",
"i18n:govoplan-committee.edit_record": "{title} bearbeiten",
"i18n:govoplan-committee.vote_summary": "{method}, {cast}/{eligible} abgegeben",
"i18n:govoplan-committee.record_dialog_title": "{kind}: {action}",
"i18n:govoplan-committee.kind_body": "Gremium",
"i18n:govoplan-committee.kind_meeting": "Sitzung",
"i18n:govoplan-committee.kind_agenda_item": "Tagesordnungspunkt",
"i18n:govoplan-committee.kind_vote": "Abstimmung",
"i18n:govoplan-committee.kind_minute": "Protokoll",
"i18n:govoplan-committee.state_draft": "Entwurf",
"i18n:govoplan-committee.state_active": "Aktiv",
"i18n:govoplan-committee.state_suspended": "Ausgesetzt",
"i18n:govoplan-committee.state_retired": "Stillgelegt",
"i18n:govoplan-committee.state_scheduled": "Geplant",
"i18n:govoplan-committee.state_open": "Offen",
"i18n:govoplan-committee.state_closed": "Geschlossen",
"i18n:govoplan-committee.state_cancelled": "Abgesagt",
"i18n:govoplan-committee.state_deliberating": "In Beratung",
"i18n:govoplan-committee.state_decided": "Entschieden",
"i18n:govoplan-committee.state_withdrawn": "Zurückgezogen",
"i18n:govoplan-committee.state_proposed": "Vorgeschlagen",
"i18n:govoplan-committee.state_accepted": "Angenommen",
"i18n:govoplan-committee.state_corrected": "Berichtigt",
"i18n:govoplan-committee.domain_recorded": "Namentlich",
"i18n:govoplan-committee.domain_public": "Öffentlich",
"i18n:govoplan-committee.domain_secret": "Geheim",
"Committee": "Gremien",
"Search bodies": "Gremien suchen",
"Search committee bodies": "Gremien durchsuchen",
"Refresh": "Aktualisieren",
"New body": "Neues Gremium",
"Loading committee workspace": "Gremienarbeitsbereich wird geladen",
"Committee bodies": "Gremien",
"Bodies": "Gremien",
"Edit body": "Gremium bearbeiten",
"New meeting": "Neue Sitzung",
"Meetings": "Sitzungen",
"Meeting workspace": "Sitzungsarbeitsbereich",
"Select or create a meeting.": "Wählen oder erstellen Sie eine Sitzung.",
"Edit meeting": "Sitzung bearbeiten",
"Agenda": "Tagesordnung",
"Add item": "Punkt hinzufügen",
"No agenda items.": "Keine Tagesordnungspunkte.",
"Add vote": "Abstimmung hinzufügen",
"Minutes": "Protokolle",
"Add minutes": "Protokoll hinzufügen",
"No records.": "Keine Datensätze.",
"Cancel": "Abbrechen",
"Save": "Speichern",
"Saving": "Speichern",
"Title": "Titel",
"State": "Status",
"Responsible organization unit ID": "ID der zuständigen Organisationseinheit",
"Starts": "Beginn",
"Ends": "Ende",
"Position": "Position",
"Subject type": "Gegenstandsart",
"Subject ID": "Gegenstands-ID",
"Formal Decision ID": "Formelle Entscheidungs-ID",
"Method": "Verfahren",
"Eligible voters": "Stimmberechtigte",
"Ballot provider (optional)": "Abstimmungsanbieter (optional)",
"Voting ballot ID (optional)": "Abstimmungs-ID (optional)",
"Choices (comma separated)": "Auswahlmöglichkeiten (kommagetrennt)",
"Votes cast": "Abgegebene Stimmen",
"Quorum": "Quorum",
"Met": "Erfüllt",
"Not met": "Nicht erfüllt",
"Approval ID": "Genehmigungs-ID",
"Evidence record ID": "Nachweisdatensatz-ID",
"Minutes record ID": "Protokolldatensatz-ID",
"Change reason": "Änderungsgrund",
"Provider ballot reference": "Referenz des Abstimmungsanbieters",
"Importing": "Importieren",
"Finalize": "Abschließen",
"Date not set": "Datum nicht festgelegt",
"No Committee management permission": "Keine Berechtigung zur Gremienverwaltung",
"Edit": "Bearbeiten",
"New": "Neu",
"Recorded": "Namentlich",
"Public": "Öffentlich",
"Secret": "Geheim",
"Case": "Fall",
"Service": "Leistung",
"Work Item": "Arbeitsschritt",
"Record": "Datensatz"
};
export const generatedTranslations: PlatformTranslations = { en, de };