feat: govern accessible appearance overrides

This commit is contained in:
2026-08-20 10:50:55 +02:00
parent 0fae09ba3c
commit f11c675d11
14 changed files with 796 additions and 19 deletions
+58
View File
@@ -21,6 +21,35 @@ export const generatedTranslations: PlatformTranslations = {
"i18n:govoplan-core.advanced_theme_overrides": "Advanced custom overrides",
"i18n:govoplan-core.not_configured": "Not configured",
"i18n:govoplan-core.advanced_theme_overrides_follow_up": "Arbitrary token overrides require separate tenant branding policy and accessibility safeguards.",
"i18n:govoplan-core.configured": "Configured",
"i18n:govoplan-core.configure_overrides": "Configure safe defaults",
"i18n:govoplan-core.restore_safe_defaults": "Restore safe defaults",
"i18n:govoplan-core.import_overrides": "Import JSON",
"i18n:govoplan-core.export_overrides": "Export JSON",
"i18n:govoplan-core.remove_overrides": "Remove overrides",
"i18n:govoplan-core.appearance_override_not_configured_help": "No personal token overrides are stored. Preset and policy inheritance remain active.",
"i18n:govoplan-core.appearance_override_policy_disabled": "The governing appearance policy currently blocks creating or editing personal overrides. Existing overrides may still be exported or removed.",
"i18n:govoplan-core.appearance_override_mode": "Color mode",
"i18n:govoplan-core.appearance_override_imported": "The validated appearance document was imported into this draft.",
"i18n:govoplan-core.appearance_override_invalid_schema": "Use the supported version 1 appearance document with exactly light and dark modes.",
"i18n:govoplan-core.appearance_override_all_tokens_required": "Every supported token must be present exactly once in both modes.",
"i18n:govoplan-core.appearance_override_hex_required": "Every token must use a six-digit hexadecimal color.",
"i18n:govoplan-core.appearance_override_contrast_error": "Each foreground must meet WCAG AA contrast against its paired color.",
"i18n:govoplan-core.appearance_override_status_error": "Success, information, warning, and danger colors must remain visibly distinct.",
"i18n:govoplan-core.appearance_override_validation_ok": "Both modes pass contrast and semantic status differentiation checks. Saving applies the document atomically.",
"i18n:govoplan-core.override_accent": "Accent",
"i18n:govoplan-core.override_accent_foreground": "Accent foreground",
"i18n:govoplan-core.override_surface": "Surface",
"i18n:govoplan-core.override_surface_foreground": "Surface foreground",
"i18n:govoplan-core.override_success": "Success",
"i18n:govoplan-core.override_success_foreground": "Success foreground",
"i18n:govoplan-core.override_info": "Information",
"i18n:govoplan-core.override_info_foreground": "Information foreground",
"i18n:govoplan-core.override_warning": "Warning",
"i18n:govoplan-core.override_warning_foreground": "Warning foreground",
"i18n:govoplan-core.override_danger": "Danger",
"i18n:govoplan-core.override_danger_foreground": "Danger foreground",
"i18n:govoplan-core.preview_action": "Primary action",
"i18n:govoplan-core.standard_folder_mappings": "Standard folder mappings",
"i18n:govoplan-core.standard_folder_mappings_help": "Map each standard mailbox role to a folder exposed by this IMAP account. Leave a field empty to use automatic detection.",
"i18n:govoplan-core.inbox_folder": "Inbox folder",
@@ -727,6 +756,35 @@ export const generatedTranslations: PlatformTranslations = {
"i18n:govoplan-core.advanced_theme_overrides": "Erweiterte benutzerdefinierte Anpassungen",
"i18n:govoplan-core.not_configured": "Nicht konfiguriert",
"i18n:govoplan-core.advanced_theme_overrides_follow_up": "Beliebige Token-Anpassungen erfordern eine getrennte Mandanten-Branding-Richtlinie und Barrierefreiheitsprüfungen.",
"i18n:govoplan-core.configured": "Konfiguriert",
"i18n:govoplan-core.configure_overrides": "Sichere Standardwerte einrichten",
"i18n:govoplan-core.restore_safe_defaults": "Sichere Standardwerte wiederherstellen",
"i18n:govoplan-core.import_overrides": "JSON importieren",
"i18n:govoplan-core.export_overrides": "JSON exportieren",
"i18n:govoplan-core.remove_overrides": "Anpassungen entfernen",
"i18n:govoplan-core.appearance_override_not_configured_help": "Es sind keine persönlichen Token-Anpassungen gespeichert. Vorgaben und Richtlinienvererbung bleiben aktiv.",
"i18n:govoplan-core.appearance_override_policy_disabled": "Die geltende Darstellungsrichtlinie sperrt derzeit das Anlegen oder Bearbeiten persönlicher Anpassungen. Bestehende Anpassungen können weiterhin exportiert oder entfernt werden.",
"i18n:govoplan-core.appearance_override_mode": "Farbmodus",
"i18n:govoplan-core.appearance_override_imported": "Das geprüfte Darstellungsdokument wurde in diesen Entwurf importiert.",
"i18n:govoplan-core.appearance_override_invalid_schema": "Verwenden Sie das unterstützte Darstellungsdokument der Version 1 mit genau einem hellen und einem dunklen Modus.",
"i18n:govoplan-core.appearance_override_all_tokens_required": "Jedes unterstützte Token muss in beiden Modi genau einmal vorhanden sein.",
"i18n:govoplan-core.appearance_override_hex_required": "Jedes Token muss eine sechsstellige hexadezimale Farbe verwenden.",
"i18n:govoplan-core.appearance_override_contrast_error": "Jede Vordergrundfarbe muss gegenüber der zugehörigen Farbe den WCAG-AA-Kontrast erfüllen.",
"i18n:govoplan-core.appearance_override_status_error": "Erfolg, Information, Warnung und Gefahr müssen visuell unterscheidbar bleiben.",
"i18n:govoplan-core.appearance_override_validation_ok": "Beide Modi erfüllen die Prüfungen für Kontrast und semantische Statusunterscheidung. Beim Speichern wird das Dokument atomar angewendet.",
"i18n:govoplan-core.override_accent": "Akzent",
"i18n:govoplan-core.override_accent_foreground": "Akzent-Vordergrund",
"i18n:govoplan-core.override_surface": "Oberfläche",
"i18n:govoplan-core.override_surface_foreground": "Oberflächen-Vordergrund",
"i18n:govoplan-core.override_success": "Erfolg",
"i18n:govoplan-core.override_success_foreground": "Erfolg-Vordergrund",
"i18n:govoplan-core.override_info": "Information",
"i18n:govoplan-core.override_info_foreground": "Information-Vordergrund",
"i18n:govoplan-core.override_warning": "Warnung",
"i18n:govoplan-core.override_warning_foreground": "Warnungs-Vordergrund",
"i18n:govoplan-core.override_danger": "Gefahr",
"i18n:govoplan-core.override_danger_foreground": "Gefahren-Vordergrund",
"i18n:govoplan-core.preview_action": "Primäraktion",
"i18n:govoplan-core.standard_folder_mappings": "Zuordnung der Standardordner",
"i18n:govoplan-core.standard_folder_mappings_help": "Ordnen Sie jede Standardfunktion einem Ordner dieses IMAP-Kontos zu. Lassen Sie ein Feld leer, um die automatische Erkennung zu verwenden.",
"i18n:govoplan-core.inbox_folder": "Posteingang",