Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cfcd723496 |
+1
-1
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "govoplan-forms"
|
||||
version = "0.1.21"
|
||||
version = "0.1.22"
|
||||
description = "Immutable reusable form definitions for GovOPlaN."
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.12"
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
"""GovOPlaN Forms module."""
|
||||
|
||||
__version__ = "0.1.21"
|
||||
__version__ = "0.1.22"
|
||||
|
||||
@@ -0,0 +1,84 @@
|
||||
"""German translations for public structured documentation metadata."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from typing import Any
|
||||
|
||||
|
||||
GERMAN_STRUCTURED_TRANSLATIONS: dict[str, dict[str, Any]] = {'forms.data-subject-requests': {'consequence_classes': {'exclude_form_semantics': 'Gibt keinen '
|
||||
'Schema-, Feld- '
|
||||
'oder '
|
||||
'Submission-Value-Inhalt '
|
||||
'zurück.',
|
||||
'export_definition_attribution': 'Returns '
|
||||
'minimierten '
|
||||
'die '
|
||||
'unveränderliche '
|
||||
'Revisionsaktivität.'}},
|
||||
'forms.definitions': {'privacy_notes': ['Definitionskataloge enthalten Schemata und '
|
||||
'Richtlinienreferenzen, keine eingereichten '
|
||||
'Formularwerte.',
|
||||
'Die Paketbewertung gewährt keinen Zugriff auf '
|
||||
'referenzierte Laufzeiteinreichungen oder externe '
|
||||
'Anbieter.',
|
||||
'Veröffentlichte Zugänglichkeits- und '
|
||||
'Lokalisierungsinhalte sind überall dort sichtbar, wo die '
|
||||
'genaue Definition autorisiert ist.']},
|
||||
'forms.reference.fields-and-consequences': {'consequence_classes': {'import_package': 'Erstellt '
|
||||
'einen '
|
||||
'lokalen '
|
||||
'Entwurf '
|
||||
'und behält '
|
||||
'die '
|
||||
'Herkunft '
|
||||
'des Pakets '
|
||||
'ohne '
|
||||
'automatische '
|
||||
'Veröffentlichung.',
|
||||
'publish': 'Macht die genaue '
|
||||
'Revision für '
|
||||
'zukünftige '
|
||||
'autorisierte '
|
||||
'Instanzen '
|
||||
'verfügbar.',
|
||||
'retire': 'Stoppt die '
|
||||
'zukünftige '
|
||||
'Nutzung, während '
|
||||
'Definitionen und '
|
||||
'genaue '
|
||||
'Laufzeitreferenzen '
|
||||
'beibehalten '
|
||||
'werden.',
|
||||
'save_revision': 'Erstellt '
|
||||
'eine '
|
||||
'unveränderliche '
|
||||
'Definitionsrevision '
|
||||
'mit einem '
|
||||
'Änderungsgrund.'},
|
||||
'limitations': ['Der Paketimport veröffentlicht '
|
||||
'niemals automatisch eine '
|
||||
'Formularrevision.',
|
||||
'Laufzeiteingaben und eingereichte '
|
||||
'Werte werden niemals als '
|
||||
'Definitionskonfiguration exportiert.',
|
||||
'Generische Paket-Rollback erfordert '
|
||||
'die Voranwendung Datenbank Snapshot '
|
||||
'beibehalten.'],
|
||||
'operational_consequences': ['Preserve blockiert eine '
|
||||
'widersprüchliche lokale '
|
||||
'Definition; new '
|
||||
'revision muss explizit '
|
||||
'überprüft werden.',
|
||||
'Das erneute Anwenden '
|
||||
'eines identischen '
|
||||
'Quell-Digests ist '
|
||||
'idempotent und erzeugt '
|
||||
'keine Revision.',
|
||||
'Importierte '
|
||||
'Definitionen erfordern '
|
||||
'eine normale '
|
||||
'Überprüfung und '
|
||||
'Veröffentlichung von '
|
||||
'Formularen vor der '
|
||||
'Verwendung zur '
|
||||
'Laufzeit.']}}
|
||||
@@ -1,5 +1,8 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from govoplan_core.core.modules import with_documentation_structured_translations
|
||||
from govoplan_forms.backend.german_structured_documentation import GERMAN_STRUCTURED_TRANSLATIONS
|
||||
|
||||
from pathlib import Path
|
||||
|
||||
from govoplan_core.core.access import (
|
||||
@@ -48,7 +51,7 @@ from govoplan_forms.backend.semantic_subjects import (
|
||||
|
||||
MODULE_ID = "forms"
|
||||
MODULE_NAME = "Forms"
|
||||
MODULE_VERSION = "0.1.21"
|
||||
MODULE_VERSION = "0.1.22"
|
||||
READ_SCOPE = "forms:definition:read"
|
||||
WRITE_SCOPE = "forms:definition:write"
|
||||
ADMIN_SCOPE = "forms:definition:admin"
|
||||
@@ -523,5 +526,10 @@ 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/forms-webui",
|
||||
"version": "0.1.21",
|
||||
"version": "0.1.22",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"main": "src/index.ts",
|
||||
|
||||
Reference in New Issue
Block a user