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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user