docs: complete German structured documentation
Module Package Release / publish-packages (push) Successful in 12s
Module Package Release / publish-packages (push) Successful in 12s
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@govoplan/tasks",
|
"name": "@govoplan/tasks",
|
||||||
"version": "0.1.20",
|
"version": "0.1.21",
|
||||||
"private": true,
|
"private": true,
|
||||||
"description": "Governed work items and unified work inbox for GovOPlaN.",
|
"description": "Governed work items and unified work inbox for GovOPlaN.",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
|||||||
+1
-1
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "govoplan-tasks"
|
name = "govoplan-tasks"
|
||||||
version = "0.1.20"
|
version = "0.1.21"
|
||||||
description = "Governed work items and unified work inbox for GovOPlaN."
|
description = "Governed work items and unified work inbox for GovOPlaN."
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.12"
|
requires-python = ">=3.12"
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
"""GovOPlaN Tasks module."""
|
"""GovOPlaN Tasks module."""
|
||||||
|
|
||||||
__version__ = "0.1.20"
|
__version__ = "0.1.21"
|
||||||
|
|||||||
@@ -0,0 +1,29 @@
|
|||||||
|
"""German translations for public structured documentation metadata."""
|
||||||
|
|
||||||
|
from __future__ import annotations
|
||||||
|
|
||||||
|
from typing import Any
|
||||||
|
|
||||||
|
|
||||||
|
GERMAN_STRUCTURED_TRANSLATIONS: dict[str, dict[str, Any]] = {'tasks.data-subject-requests': {'consequence_classes': {'export_assigned_task': 'Gibt nur '
|
||||||
|
'eingeschränkte '
|
||||||
|
'aufgabeneigene '
|
||||||
|
'Daten und genaue '
|
||||||
|
'Kontozuweisung '
|
||||||
|
'zurück.',
|
||||||
|
'retain_actor_attribution': 'Bewahrt '
|
||||||
|
'minimierte '
|
||||||
|
'Task-Lifecycle-Rechenschaftsnachweise '
|
||||||
|
'vor.',
|
||||||
|
'review_assignment_erasure': 'Benötigt '
|
||||||
|
'den '
|
||||||
|
'Besitzer '
|
||||||
|
'der '
|
||||||
|
'Task-Quelle '
|
||||||
|
'und die '
|
||||||
|
'Aufbewahrungsberechtigung, '
|
||||||
|
'bevor Sie '
|
||||||
|
'die '
|
||||||
|
'freigegebene '
|
||||||
|
'Arbeit '
|
||||||
|
'ändern.'}}}
|
||||||
@@ -1,5 +1,8 @@
|
|||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
|
from govoplan_core.core.modules import with_documentation_structured_translations
|
||||||
|
from govoplan_tasks.backend.german_structured_documentation import GERMAN_STRUCTURED_TRANSLATIONS
|
||||||
|
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
from govoplan_core.core.access import (
|
from govoplan_core.core.access import (
|
||||||
@@ -44,7 +47,7 @@ from govoplan_tasks.backend.service import SqlTaskService
|
|||||||
|
|
||||||
MODULE_ID = "tasks"
|
MODULE_ID = "tasks"
|
||||||
MODULE_NAME = "Tasks"
|
MODULE_NAME = "Tasks"
|
||||||
MODULE_VERSION = "0.1.20"
|
MODULE_VERSION = "0.1.21"
|
||||||
READ_SCOPE = "tasks:item:read"
|
READ_SCOPE = "tasks:item:read"
|
||||||
WRITE_SCOPE = "tasks:item:write"
|
WRITE_SCOPE = "tasks:item:write"
|
||||||
ADMIN_SCOPE = "tasks:item:admin"
|
ADMIN_SCOPE = "tasks:item:admin"
|
||||||
@@ -492,6 +495,11 @@ 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/tasks-webui",
|
"name": "@govoplan/tasks-webui",
|
||||||
"version": "0.1.20",
|
"version": "0.1.21",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "src/index.ts",
|
"main": "src/index.ts",
|
||||||
|
|||||||
Reference in New Issue
Block a user