Migrate Approvals interface patterns
This commit is contained in:
@@ -0,0 +1,129 @@
|
||||
import type { PlatformTranslations } from "@govoplan/core-webui";
|
||||
|
||||
const en = {
|
||||
"i18n:govoplan-approvals.approvals": "Approvals",
|
||||
"i18n:govoplan-approvals.loading_reason": "Approval data is still loading.",
|
||||
"i18n:govoplan-approvals.busy_reason": "Another Approval action is still running.",
|
||||
"i18n:govoplan-approvals.write_permission_reason": "Your account may not create Approval requests.",
|
||||
"i18n:govoplan-approvals.decide_permission_reason": "Your account may not decide this Approval request.",
|
||||
"i18n:govoplan-approvals.lifecycle_reason": "Only pending or escalated requests can be decided.",
|
||||
"i18n:govoplan-approvals.incomplete_reason": "Complete the required subject, digest, steps, and selector fields first.",
|
||||
"i18n:govoplan-approvals.one_step_reason": "An Approval chain must retain at least one step.",
|
||||
"i18n:govoplan-approvals.required_action": "Required action",
|
||||
"i18n:govoplan-approvals.responsible_actor": "Responsible actor",
|
||||
"i18n:govoplan-approvals.destination": "Destination",
|
||||
"i18n:govoplan-approvals.permission_action": "Ask for the corresponding Approval permission.",
|
||||
"i18n:govoplan-approvals.permission_actor": "An Access or tenant administrator",
|
||||
"i18n:govoplan-approvals.permission_destination": "Access role assignments",
|
||||
"i18n:govoplan-approvals.unsaved_title": "Unsaved Approval request",
|
||||
"i18n:govoplan-approvals.unsaved_message": "Save or discard the Approval draft before leaving this surface.",
|
||||
"Approvals": "Approvals",
|
||||
"Refresh approvals": "Refresh approvals",
|
||||
"New request": "New request",
|
||||
"Loading approvals": "Loading approvals",
|
||||
"No approval requests": "No approval requests",
|
||||
"Select or create an approval request.": "Select or create an approval request.",
|
||||
"No Approval creation permission": "No Approval creation permission",
|
||||
"Approve": "Approve",
|
||||
"Reject": "Reject",
|
||||
"Revision": "Revision",
|
||||
"Current step": "Current step",
|
||||
"Requested by": "Requested by",
|
||||
"Steps": "Steps",
|
||||
"Complete": "Complete",
|
||||
"Approval chain": "Approval chain",
|
||||
"History": "History",
|
||||
"Signature": "Signature",
|
||||
"Cancel": "Cancel",
|
||||
"Confirm": "Confirm",
|
||||
"Reason": "Reason",
|
||||
"Signature reference": "Signature reference",
|
||||
"New Approval request": "New Approval request",
|
||||
"Creating": "Creating",
|
||||
"Create request": "Create request",
|
||||
"Title": "Title",
|
||||
"Subject module": "Subject module",
|
||||
"Subject type": "Subject type",
|
||||
"Subject ID": "Subject ID",
|
||||
"Subject version": "Subject version",
|
||||
"Subject SHA-256": "Subject SHA-256",
|
||||
"Description": "Description",
|
||||
"Separate requester and approver": "Separate requester and approver",
|
||||
"Different actor for every step": "Different actor for every step",
|
||||
"Add step": "Add step",
|
||||
"Key": "Key",
|
||||
"Label": "Label",
|
||||
"Actor type": "Actor type",
|
||||
"Actor value": "Actor value",
|
||||
"Required": "Required",
|
||||
"Account": "Account",
|
||||
"Group": "Group",
|
||||
"Role": "Role",
|
||||
"Function assignment": "Function assignment",
|
||||
"Any account": "Any account"
|
||||
} as const;
|
||||
|
||||
const de: Record<keyof typeof en, string> = {
|
||||
"i18n:govoplan-approvals.approvals": "Genehmigungen",
|
||||
"i18n:govoplan-approvals.loading_reason": "Genehmigungsdaten werden noch geladen.",
|
||||
"i18n:govoplan-approvals.busy_reason": "Eine andere Genehmigungsaktion läuft noch.",
|
||||
"i18n:govoplan-approvals.write_permission_reason": "Ihr Konto darf keine Genehmigungsanträge erstellen.",
|
||||
"i18n:govoplan-approvals.decide_permission_reason": "Ihr Konto darf diesen Genehmigungsantrag nicht entscheiden.",
|
||||
"i18n:govoplan-approvals.lifecycle_reason": "Nur ausstehende oder eskalierte Anträge können entschieden werden.",
|
||||
"i18n:govoplan-approvals.incomplete_reason": "Füllen Sie zuerst Gegenstand, Prüfsumme, Schritte und Auswahlfelder aus.",
|
||||
"i18n:govoplan-approvals.one_step_reason": "Eine Genehmigungskette muss mindestens einen Schritt behalten.",
|
||||
"i18n:govoplan-approvals.required_action": "Erforderliche Aktion",
|
||||
"i18n:govoplan-approvals.responsible_actor": "Verantwortliche Stelle",
|
||||
"i18n:govoplan-approvals.destination": "Ziel",
|
||||
"i18n:govoplan-approvals.permission_action": "Fordern Sie die entsprechende Genehmigungsberechtigung an.",
|
||||
"i18n:govoplan-approvals.permission_actor": "Eine Zugriffs- oder Mandantenadministration",
|
||||
"i18n:govoplan-approvals.permission_destination": "Zugriff und Rollenzuweisungen",
|
||||
"i18n:govoplan-approvals.unsaved_title": "Ungespeicherter Genehmigungsantrag",
|
||||
"i18n:govoplan-approvals.unsaved_message": "Speichern oder verwerfen Sie den Genehmigungsentwurf, bevor Sie diese Oberfläche verlassen.",
|
||||
"Approvals": "Genehmigungen",
|
||||
"Refresh approvals": "Genehmigungen aktualisieren",
|
||||
"New request": "Neuer Antrag",
|
||||
"Loading approvals": "Genehmigungen werden geladen",
|
||||
"No approval requests": "Keine Genehmigungsanträge",
|
||||
"Select or create an approval request.": "Wählen oder erstellen Sie einen Genehmigungsantrag.",
|
||||
"No Approval creation permission": "Keine Berechtigung zum Erstellen von Genehmigungen",
|
||||
"Approve": "Genehmigen",
|
||||
"Reject": "Ablehnen",
|
||||
"Revision": "Revision",
|
||||
"Current step": "Aktueller Schritt",
|
||||
"Requested by": "Beantragt von",
|
||||
"Steps": "Schritte",
|
||||
"Complete": "Abgeschlossen",
|
||||
"Approval chain": "Genehmigungskette",
|
||||
"History": "Verlauf",
|
||||
"Signature": "Signatur",
|
||||
"Cancel": "Abbrechen",
|
||||
"Confirm": "Bestätigen",
|
||||
"Reason": "Grund",
|
||||
"Signature reference": "Signaturreferenz",
|
||||
"New Approval request": "Neuer Genehmigungsantrag",
|
||||
"Creating": "Erstellen",
|
||||
"Create request": "Antrag erstellen",
|
||||
"Title": "Titel",
|
||||
"Subject module": "Gegenstandsmodul",
|
||||
"Subject type": "Gegenstandsart",
|
||||
"Subject ID": "Gegenstands-ID",
|
||||
"Subject version": "Gegenstandsversion",
|
||||
"Subject SHA-256": "SHA-256 des Gegenstands",
|
||||
"Description": "Beschreibung",
|
||||
"Separate requester and approver": "Antragstellende und Genehmigende trennen",
|
||||
"Different actor for every step": "Unterschiedliche Stelle für jeden Schritt",
|
||||
"Add step": "Schritt hinzufügen",
|
||||
"Key": "Schlüssel",
|
||||
"Label": "Bezeichnung",
|
||||
"Actor type": "Akteursart",
|
||||
"Actor value": "Akteurswert",
|
||||
"Required": "Erforderlich",
|
||||
"Account": "Konto",
|
||||
"Group": "Gruppe",
|
||||
"Role": "Rolle",
|
||||
"Function assignment": "Funktionszuordnung",
|
||||
"Any account": "Beliebiges Konto"
|
||||
};
|
||||
|
||||
export const generatedTranslations: PlatformTranslations = { en, de };
|
||||
Reference in New Issue
Block a user