docs: complete German structured documentation
Module Package Release / publish-packages (push) Successful in 11s

This commit is contained in:
2026-08-24 01:15:31 +02:00
parent f71434ec6d
commit f2d7b9b29a
5 changed files with 44 additions and 4 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@govoplan/audit-webui", "name": "@govoplan/audit-webui",
"version": "0.1.19", "version": "0.1.20",
"private": true, "private": true,
"type": "module", "type": "module",
"main": "webui/src/index.ts", "main": "webui/src/index.ts",
+1 -1
View File
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project] [project]
name = "govoplan-audit" name = "govoplan-audit"
version = "0.1.19" version = "0.1.20"
description = "GovOPlaN audit platform module." description = "GovOPlaN audit platform module."
readme = "README.md" readme = "README.md"
requires-python = ">=3.12" requires-python = ">=3.12"
@@ -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.']}}
+9 -1
View File
@@ -1,5 +1,8 @@
from __future__ import annotations 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 pathlib import Path
from govoplan_audit.backend.db import models as audit_models # noqa: F401 - populate Audit ORM metadata 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( manifest = ModuleManifest(
id="audit", id="audit",
name="Audit", name="Audit",
version="0.1.19", version="0.1.20",
permissions=AUDIT_PERMISSIONS, permissions=AUDIT_PERMISSIONS,
role_templates=AUDIT_ROLE_TEMPLATES, role_templates=AUDIT_ROLE_TEMPLATES,
required_capabilities=( required_capabilities=(
@@ -324,5 +327,10 @@ manifest = ModuleManifest(
) )
manifest = with_documentation_structured_translations(
manifest, locale="de", translations=GERMAN_STRUCTURED_TRANSLATIONS
)
def get_manifest() -> ModuleManifest: def get_manifest() -> ModuleManifest:
return manifest return manifest
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@govoplan/audit-webui", "name": "@govoplan/audit-webui",
"version": "0.1.19", "version": "0.1.20",
"private": true, "private": true,
"type": "module", "type": "module",
"main": "src/index.ts", "main": "src/index.ts",