docs: complete German structured documentation
Module Package Release / publish-packages (push) Successful in 11s
Module Package Release / publish-packages (push) Successful in 11s
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@govoplan/wiki-webui",
|
||||
"version": "0.1.20",
|
||||
"version": "0.1.21",
|
||||
"private": true,
|
||||
"description": "GovOPlaN governed collaborative Wiki module.",
|
||||
"type": "module",
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "govoplan-wiki"
|
||||
version = "0.1.20"
|
||||
version = "0.1.21"
|
||||
description = "GovOPlaN governed collaborative Wiki module."
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.12"
|
||||
|
||||
@@ -0,0 +1,79 @@
|
||||
"""German translations for public structured documentation metadata."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from typing import Any
|
||||
|
||||
|
||||
GERMAN_STRUCTURED_TRANSLATIONS: dict[str, dict[str, Any]] = {'wiki.admin.access-publishing': {'consequence_classes': {'publisher_mode': 'Die Verlagsautorität '
|
||||
'wird an der '
|
||||
'Aktionsgrenze erneut '
|
||||
'bewertet.',
|
||||
'restricted_without_acl': 'Die '
|
||||
'Konfiguration '
|
||||
'wird '
|
||||
'abgelehnt, um '
|
||||
'eine nicht '
|
||||
'erreichbare '
|
||||
'oder '
|
||||
'versehentlich '
|
||||
'ausgesetzte '
|
||||
'Ressource zu '
|
||||
'verhindern.'}},
|
||||
'wiki.admin.data-subject-requests': {'consequence_classes': {'erasure': 'Der Anbieter erstellt '
|
||||
'nicht ausführbare '
|
||||
'manuelle '
|
||||
'Überprüfungsaktionen und '
|
||||
'ändert automatisch keine '
|
||||
'Wissensnachweise.',
|
||||
'uninstall': 'Anhaltende Wiki-Zeilen '
|
||||
'blockieren die '
|
||||
'Deinstallation, bis '
|
||||
'die Migration, '
|
||||
'Aufbewahrung oder '
|
||||
'explizite '
|
||||
'Pensionierung '
|
||||
'abgeschlossen ist.'}},
|
||||
'wiki.integrations.references-search': {'consequence_classes': {'connector_absent': 'Externe '
|
||||
'Referenzen '
|
||||
'können '
|
||||
'aufgezeichnet '
|
||||
'werden, '
|
||||
'Synchronisation '
|
||||
'oder '
|
||||
'Migration '
|
||||
'können '
|
||||
'jedoch nicht '
|
||||
'ausgeführt '
|
||||
'werden.',
|
||||
'files_absent': 'Referenzen '
|
||||
'bleiben nur '
|
||||
'Metadaten und es '
|
||||
'wird keine '
|
||||
'binäre Operation '
|
||||
'angeboten.',
|
||||
'search_absent': 'Veröffentlichte '
|
||||
'Seiten sind '
|
||||
'durch globale '
|
||||
'Suche nicht '
|
||||
'auffindbar.'}},
|
||||
'wiki.module-boundary': {'consequence_classes': {'ownership': 'Wiki-Shops regulierten Text und '
|
||||
'Referenzen, niemals binäre Inhalte '
|
||||
'oder externe '
|
||||
'Transportinformationen.'}},
|
||||
'wiki.workflow.author-publish': {'consequence_classes': {'draft_after_publish': 'Die zuletzt '
|
||||
'veröffentlichte '
|
||||
'Revision bleibt '
|
||||
'leserlich '
|
||||
'sichtbar, bis '
|
||||
'der neue Entwurf '
|
||||
'explizit '
|
||||
'veröffentlicht '
|
||||
'wird.',
|
||||
'stale_revision': 'Das Schreiben gibt '
|
||||
'einen Konflikt zurück '
|
||||
'und bewahrt sowohl '
|
||||
'die gespeicherte '
|
||||
'Revision als auch den '
|
||||
'Entwurf des '
|
||||
'Anrufers.'}}}
|
||||
@@ -1,5 +1,8 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from govoplan_core.core.modules import with_documentation_structured_translations
|
||||
from govoplan_wiki.backend.german_structured_documentation import GERMAN_STRUCTURED_TRANSLATIONS
|
||||
|
||||
from pathlib import Path
|
||||
|
||||
from sqlalchemy import func
|
||||
@@ -52,7 +55,7 @@ from govoplan_wiki.backend.service import (
|
||||
|
||||
MODULE_ID = "wiki"
|
||||
MODULE_NAME = "Wiki"
|
||||
MODULE_VERSION = "0.1.20"
|
||||
MODULE_VERSION = "0.1.21"
|
||||
OPTIONAL_DEPENDENCIES = (
|
||||
"files",
|
||||
"dms",
|
||||
@@ -574,5 +577,10 @@ manifest = ModuleManifest(
|
||||
)
|
||||
|
||||
|
||||
manifest = with_documentation_structured_translations(
|
||||
manifest, locale="de", translations=GERMAN_STRUCTURED_TRANSLATIONS
|
||||
)
|
||||
|
||||
|
||||
def get_manifest() -> ModuleManifest:
|
||||
return manifest
|
||||
|
||||
@@ -18,7 +18,7 @@ class WikiManifestTests(unittest.TestCase):
|
||||
def test_manifest_registers_complete_vertical_slice(self) -> None:
|
||||
manifest = get_manifest()
|
||||
self.assertEqual("wiki", manifest.id)
|
||||
self.assertEqual("0.1.20", manifest.version)
|
||||
self.assertEqual("0.1.21", manifest.version)
|
||||
self.assertEqual(("access",), manifest.dependencies)
|
||||
self.assertEqual(
|
||||
{READ_SCOPE, WRITE_SCOPE, COMMENT_SCOPE, PUBLISH_SCOPE, ADMIN_SCOPE},
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@govoplan/wiki-webui",
|
||||
"version": "0.1.20",
|
||||
"version": "0.1.21",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"main": "src/index.ts",
|
||||
|
||||
Reference in New Issue
Block a user