Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
39e9c6c2ea |
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@govoplan/tasks",
|
||||
"version": "0.1.20",
|
||||
"version": "0.1.21",
|
||||
"private": true,
|
||||
"description": "Governed work items and unified work inbox for GovOPlaN.",
|
||||
"type": "module",
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "govoplan-tasks"
|
||||
version = "0.1.20"
|
||||
version = "0.1.21"
|
||||
description = "Governed work items and unified work inbox for GovOPlaN."
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.12"
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
"""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 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 govoplan_core.core.access import (
|
||||
@@ -44,7 +47,7 @@ from govoplan_tasks.backend.service import SqlTaskService
|
||||
|
||||
MODULE_ID = "tasks"
|
||||
MODULE_NAME = "Tasks"
|
||||
MODULE_VERSION = "0.1.20"
|
||||
MODULE_VERSION = "0.1.21"
|
||||
READ_SCOPE = "tasks:item:read"
|
||||
WRITE_SCOPE = "tasks:item:write"
|
||||
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:
|
||||
return manifest
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@govoplan/tasks-webui",
|
||||
"version": "0.1.20",
|
||||
"version": "0.1.21",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"main": "src/index.ts",
|
||||
|
||||
Reference in New Issue
Block a user