docs: complete German structured documentation
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "govoplan-quick-access"
|
||||
version = "0.1.19"
|
||||
version = "0.1.20"
|
||||
description = "Governed configurable Quick Access rail for GovOPlaN."
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.12"
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
"""GovOPlaN Quick Access module."""
|
||||
|
||||
__version__ = "0.1.19"
|
||||
__version__ = "0.1.20"
|
||||
|
||||
@@ -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]] = {'quick-access.data-subject-requests': {'consequence_classes': {'delete_personal_profile': 'Entfernt '
|
||||
'persönliche '
|
||||
'Overrides; '
|
||||
'Reged '
|
||||
'Defaults '
|
||||
'gelten '
|
||||
'wieder.',
|
||||
'export_personal_profile': 'Gibt '
|
||||
'begrenzte '
|
||||
'Schienenpräferenzen '
|
||||
'zurück, '
|
||||
'niemals '
|
||||
'werkzeugeigene '
|
||||
'Daten.',
|
||||
'retain_tenant_attribution': 'Preserves '
|
||||
'minimiert '
|
||||
'Mandant-Politik '
|
||||
'Rechenschaftspflicht '
|
||||
'Nachweise.'}},
|
||||
'quick-access.user': {'steps': ['Öffnen Sie eine Kategorie auf der richtigen Schiene und wählen '
|
||||
'Sie ein verfügbares kompaktes Werkzeug.',
|
||||
'Füllen Sie die begrenzte Aktion des Eigentümermoduls aus oder '
|
||||
'stornieren Sie sie ausdrücklich.',
|
||||
'Folgen Sie dem Owning-Page-Link, wenn die Aufgabe die kompakte '
|
||||
'Oberfläche übersteigt.']}}
|
||||
@@ -1,5 +1,8 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from govoplan_core.core.modules import with_documentation_structured_translations
|
||||
from govoplan_quick_access.backend.german_structured_documentation import GERMAN_STRUCTURED_TRANSLATIONS
|
||||
|
||||
from pathlib import Path
|
||||
|
||||
from govoplan_core.core.access import (
|
||||
@@ -35,7 +38,7 @@ from govoplan_quick_access.backend.dsar_provider import (
|
||||
|
||||
MODULE_ID = "quick_access"
|
||||
MODULE_NAME = "Quick Access"
|
||||
MODULE_VERSION = "0.1.19"
|
||||
MODULE_VERSION = "0.1.20"
|
||||
|
||||
READ_SCOPE = "quick_access:profile:read"
|
||||
WRITE_SCOPE = "quick_access:profile:write"
|
||||
@@ -425,6 +428,11 @@ manifest = ModuleManifest(
|
||||
)
|
||||
|
||||
|
||||
manifest = with_documentation_structured_translations(
|
||||
manifest, locale="de", translations=GERMAN_STRUCTURED_TRANSLATIONS
|
||||
)
|
||||
|
||||
|
||||
def get_manifest() -> ModuleManifest:
|
||||
return manifest
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@govoplan/quick-access-webui",
|
||||
"version": "0.1.19",
|
||||
"version": "0.1.20",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"main": "src/index.ts",
|
||||
|
||||
Reference in New Issue
Block a user