docs: complete German structured documentation
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@govoplan/addresses-webui",
|
"name": "@govoplan/addresses-webui",
|
||||||
"version": "0.1.19",
|
"version": "0.1.20",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "webui/src/index.ts",
|
"main": "webui/src/index.ts",
|
||||||
|
|||||||
+1
-1
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "govoplan-addresses"
|
name = "govoplan-addresses"
|
||||||
version = "0.1.19"
|
version = "0.1.20"
|
||||||
description = "GovOPlaN reusable address and recipient-source module."
|
description = "GovOPlaN reusable address and recipient-source module."
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.12"
|
requires-python = ">=3.12"
|
||||||
|
|||||||
@@ -0,0 +1,55 @@
|
|||||||
|
"""German translations for public structured documentation metadata."""
|
||||||
|
|
||||||
|
from __future__ import annotations
|
||||||
|
|
||||||
|
from typing import Any
|
||||||
|
|
||||||
|
|
||||||
|
GERMAN_STRUCTURED_TRANSLATIONS: dict[str, dict[str, Any]] = {'addresses.reference.fields-and-consequences': {'consequence_classes': {'archive': 'Entfernt das '
|
||||||
|
'Objekt aus '
|
||||||
|
'der '
|
||||||
|
'gewöhnlichen '
|
||||||
|
'Auswahl, '
|
||||||
|
'während die '
|
||||||
|
'verwaltete '
|
||||||
|
'Geschichte '
|
||||||
|
'und '
|
||||||
|
'Referenzen '
|
||||||
|
'beibehalten '
|
||||||
|
'werden.',
|
||||||
|
'governance_fact': 'Hinzufügen '
|
||||||
|
'oder '
|
||||||
|
'Beenden '
|
||||||
|
'einer '
|
||||||
|
'effektiv '
|
||||||
|
'datierten '
|
||||||
|
'Kommunikationsentscheidung '
|
||||||
|
'ohne '
|
||||||
|
'vorherige '
|
||||||
|
'Fakten '
|
||||||
|
'zu '
|
||||||
|
'löschen.',
|
||||||
|
'import_or_sync': 'Wendet '
|
||||||
|
'nur '
|
||||||
|
'einen '
|
||||||
|
'überprüften '
|
||||||
|
'Bounded '
|
||||||
|
'Plan '
|
||||||
|
'an und '
|
||||||
|
'behält '
|
||||||
|
'die '
|
||||||
|
'Quellenrevision, '
|
||||||
|
'Diagnose '
|
||||||
|
'und '
|
||||||
|
'Herkunft '
|
||||||
|
'bei.',
|
||||||
|
'merge': 'Repoints '
|
||||||
|
'verwaltet '
|
||||||
|
'Verweise auf '
|
||||||
|
'einen '
|
||||||
|
'Überlebenden '
|
||||||
|
'und behält '
|
||||||
|
'reversible '
|
||||||
|
'Redirect und '
|
||||||
|
'Provenienz '
|
||||||
|
'Nachweise.'}}}
|
||||||
@@ -1,5 +1,8 @@
|
|||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
|
from govoplan_core.core.modules import with_documentation_structured_translations
|
||||||
|
from govoplan_addresses.backend.german_structured_documentation import GERMAN_STRUCTURED_TRANSLATIONS
|
||||||
|
|
||||||
from dataclasses import replace
|
from dataclasses import replace
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
@@ -435,7 +438,7 @@ LDAP_PROVIDER = ExternalProviderDeclaration(
|
|||||||
manifest = ModuleManifest(
|
manifest = ModuleManifest(
|
||||||
id="addresses",
|
id="addresses",
|
||||||
name="Addresses",
|
name="Addresses",
|
||||||
version="0.1.19",
|
version="0.1.20",
|
||||||
required_capabilities=(
|
required_capabilities=(
|
||||||
CAPABILITY_AUTH_PRINCIPAL_RESOLVER,
|
CAPABILITY_AUTH_PRINCIPAL_RESOLVER,
|
||||||
CAPABILITY_AUTH_PERMISSION_EVALUATOR,
|
CAPABILITY_AUTH_PERMISSION_EVALUATOR,
|
||||||
@@ -1079,5 +1082,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/addresses-webui",
|
"name": "@govoplan/addresses-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