docs: complete German structured documentation

This commit is contained in:
2026-08-24 01:15:41 +02:00
parent dff2508698
commit d492624905
5 changed files with 70 additions and 4 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "govoplan-templates"
version = "0.1.19"
version = "0.1.20"
description = "GovOPlaN typed template library and deterministic printable rendering."
readme = "README.md"
requires-python = ">=3.12"
+1 -1
View File
@@ -1,3 +1,3 @@
"""GovOPlaN Templates module."""
__version__ = "0.1.19"
__version__ = "0.1.20"
@@ -0,0 +1,58 @@
"""German translations for public structured documentation metadata."""
from __future__ import annotations
from typing import Any
GERMAN_STRUCTURED_TRANSLATIONS: dict[str, dict[str, Any]] = {'templates.data-subject-requests': {'consequence_classes': {'exclude_template_payloads': 'Gibt '
'keinen '
'Template-Inhalt '
'zurück '
'oder '
'rendert '
'Inputs '
'und '
'Outputs.',
'export_template_attribution': 'Returns '
'minimiert '
'Autor, '
'Publikation '
'und '
'Render-Aktivität.'}},
'templates.reference.fields-and-consequences': {'consequence_classes': {'delete_template': 'Verhindert '
'zukünftige '
'Auswahl, '
'ohne '
'beibehaltene '
'Revisionen '
'neu '
'zu '
'schreiben '
'oder '
'Nachweise '
'zu '
'erbringen.',
'publish_revision': 'Macht '
'die '
'ausgewählte '
'unveränderliche '
'Revision '
'für '
'die '
'Endverbraucherproduktion '
'geeignet.',
'render_final': 'Erstellt '
'gespeicherte '
'Render-Nachweise '
'und kann '
'ein '
'Artefakt '
'durch '
'Dateien '
'beibehalten.',
'save_revision': 'Erstellt '
'eine '
'neue '
'unveränderliche '
'Template-Revision.'}}}
+9 -1
View File
@@ -1,5 +1,8 @@
from __future__ import annotations
from govoplan_core.core.modules import with_documentation_structured_translations
from govoplan_templates.backend.german_structured_documentation import GERMAN_STRUCTURED_TRANSLATIONS
from pathlib import Path
from govoplan_core.core.files import CAPABILITY_FILES_ARTIFACT_STORE
@@ -40,7 +43,7 @@ from govoplan_templates.backend.dsar_provider import (
MODULE_ID = "templates"
MODULE_NAME = "Templates"
MODULE_VERSION = "0.1.19"
MODULE_VERSION = "0.1.20"
READ_SCOPE = "templates:template:read"
WRITE_SCOPE = "templates:template:write"
@@ -545,5 +548,10 @@ manifest = ModuleManifest(
)
manifest = with_documentation_structured_translations(
manifest, locale="de", translations=GERMAN_STRUCTURED_TRANSLATIONS
)
def get_manifest() -> ModuleManifest:
return manifest
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@govoplan/templates-webui",
"version": "0.1.19",
"version": "0.1.20",
"private": true,
"type": "module",
"main": "src/index.ts",