docs: complete German structured documentation
Module Package Release / publish-packages (push) Successful in 10s
Module Package Release / publish-packages (push) Successful in 10s
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "govoplan-portal"
|
name = "govoplan-portal"
|
||||||
version = "0.1.19"
|
version = "0.1.20"
|
||||||
description = "GovOPlaN service discovery and public portal module."
|
description = "GovOPlaN service discovery and public portal module."
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.12"
|
requires-python = ">=3.12"
|
||||||
|
|||||||
@@ -0,0 +1,22 @@
|
|||||||
|
"""German translations for public structured documentation metadata."""
|
||||||
|
|
||||||
|
from __future__ import annotations
|
||||||
|
|
||||||
|
from typing import Any
|
||||||
|
|
||||||
|
|
||||||
|
GERMAN_STRUCTURED_TRANSLATIONS: dict[str, dict[str, Any]] = {'portal.application-status': {'privacy_notes': ['Der Besitz eines permanenten Statuslinks gewährt '
|
||||||
|
'Zugriff auf die begrenzte Projektion, bis der '
|
||||||
|
'Eigentümer die Police aussetzt oder den Zuschuss '
|
||||||
|
'widerruft.',
|
||||||
|
'Die Oberfläche der E-Mail-Anfrage zeigt nicht '
|
||||||
|
'an, ob die Tracking-Kennung, die E-Mail-Adresse, '
|
||||||
|
'der Anbieter oder der Lieferversuch '
|
||||||
|
'übereinstimmen.']},
|
||||||
|
'portal.service-directory': {'steps': ['Öffnen Sie das Dienstverzeichnis und wählen Sie einen '
|
||||||
|
'entsprechenden veröffentlichten Dienst aus.',
|
||||||
|
'Überprüfen Sie alle erklärten '
|
||||||
|
'Verfügbarkeitsbeschränkungen, bevor Sie fortfahren.',
|
||||||
|
'Öffnen Sie den Dienst, damit Portal die genaue '
|
||||||
|
'Überarbeitung erneut überprüft und den Start an sein '
|
||||||
|
'eigenes Modul übergibt.']}}
|
||||||
@@ -1,5 +1,8 @@
|
|||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
|
from govoplan_core.core.modules import with_documentation_structured_translations
|
||||||
|
from govoplan_portal.backend.german_structured_documentation import GERMAN_STRUCTURED_TRANSLATIONS
|
||||||
|
|
||||||
from govoplan_core.core.application_status import (
|
from govoplan_core.core.application_status import (
|
||||||
CAPABILITY_APPLICATION_STATUS_PROJECTION,
|
CAPABILITY_APPLICATION_STATUS_PROJECTION,
|
||||||
application_status_projection_provider,
|
application_status_projection_provider,
|
||||||
@@ -40,7 +43,7 @@ from govoplan_core.core.views import ViewSurface
|
|||||||
|
|
||||||
|
|
||||||
MODULE_ID = "portal"
|
MODULE_ID = "portal"
|
||||||
MODULE_VERSION = "0.1.19"
|
MODULE_VERSION = "0.1.20"
|
||||||
READ_SCOPE = "portal:service:read"
|
READ_SCOPE = "portal:service:read"
|
||||||
SERVICE_LAUNCH_CAPABILITIES = tuple(
|
SERVICE_LAUNCH_CAPABILITIES = tuple(
|
||||||
service_launch_capability(kind) for kind in ("case", "form", "workflow")
|
service_launch_capability(kind) for kind in ("case", "form", "workflow")
|
||||||
@@ -432,5 +435,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
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@govoplan/portal-webui",
|
"name": "@govoplan/portal-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",
|
||||||
|
|||||||
Reference in New Issue
Block a user