docs: complete German structured documentation
Module Package Release / publish-packages (push) Successful in 11s
Module Package Release / publish-packages (push) Successful in 11s
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
"""German translations for public structured documentation metadata."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from typing import Any
|
||||
|
||||
|
||||
GERMAN_STRUCTURED_TRANSLATIONS: dict[str, dict[str, Any]] = {'audit.data-subject-requests': {'consequence_classes': {'export_actor_evidence': 'Retouren '
|
||||
'minimierten die '
|
||||
'Attribution von '
|
||||
'handelnde '
|
||||
'Personenn und '
|
||||
'stabile '
|
||||
'Referenzen, '
|
||||
'niemals '
|
||||
'willkürliche '
|
||||
'Beweisnutzlasten.',
|
||||
'retain_audit_evidence': 'Hält '
|
||||
'unveränderliche '
|
||||
'Nachweise unter '
|
||||
'konfigurierten '
|
||||
'Aufbewahrungs- '
|
||||
'und '
|
||||
'Legal-Hold-Richtlinien.'}},
|
||||
'audit.evidence-bundles': {'verification': ['Bestätigen Sie, dass der angeforderte Datenumfang '
|
||||
'vor dem Export vollständig und begrenzt ist.',
|
||||
'Überprüfen Sie kanonische Hashes offline und liefern '
|
||||
'Sie bei Bedarf vertrauenswürdige Schlüssel oder '
|
||||
'referenzierte Nachweise.',
|
||||
'Behandeln Sie fehlende externe Nachweise, nicht '
|
||||
'verifizierbare Referenzen und Hash-Mismatches als '
|
||||
'unterschiedliche Ergebnisse.']}}
|
||||
@@ -1,5 +1,8 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from govoplan_core.core.modules import with_documentation_structured_translations
|
||||
from govoplan_audit.backend.german_structured_documentation import GERMAN_STRUCTURED_TRANSLATIONS
|
||||
|
||||
from pathlib import Path
|
||||
|
||||
from govoplan_audit.backend.db import models as audit_models # noqa: F401 - populate Audit ORM metadata
|
||||
@@ -74,7 +77,7 @@ def _dsar_provider(_context: ModuleContext) -> AuditDsarProvider:
|
||||
manifest = ModuleManifest(
|
||||
id="audit",
|
||||
name="Audit",
|
||||
version="0.1.19",
|
||||
version="0.1.20",
|
||||
permissions=AUDIT_PERMISSIONS,
|
||||
role_templates=AUDIT_ROLE_TEMPLATES,
|
||||
required_capabilities=(
|
||||
@@ -324,5 +327,10 @@ manifest = ModuleManifest(
|
||||
)
|
||||
|
||||
|
||||
manifest = with_documentation_structured_translations(
|
||||
manifest, locale="de", translations=GERMAN_STRUCTURED_TRANSLATIONS
|
||||
)
|
||||
|
||||
|
||||
def get_manifest() -> ModuleManifest:
|
||||
return manifest
|
||||
|
||||
Reference in New Issue
Block a user