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
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "govoplan-voting"
|
name = "govoplan-voting"
|
||||||
version = "0.1.19"
|
version = "0.1.20"
|
||||||
description = "Governed voting, ballot assurance, tally, and certification for GovOPlaN."
|
description = "Governed voting, ballot assurance, tally, and certification for GovOPlaN."
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.12"
|
requires-python = ">=3.12"
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
"""GovOPlaN Voting module."""
|
"""GovOPlaN Voting module."""
|
||||||
|
|
||||||
__version__ = "0.1.19"
|
__version__ = "0.1.20"
|
||||||
|
|||||||
@@ -0,0 +1,67 @@
|
|||||||
|
"""German translations for public structured documentation metadata."""
|
||||||
|
|
||||||
|
from __future__ import annotations
|
||||||
|
|
||||||
|
from typing import Any
|
||||||
|
|
||||||
|
|
||||||
|
GERMAN_STRUCTURED_TRANSLATIONS: dict[str, dict[str, Any]] = {'voting.assurance': {'privacy_notes': ['Aufgezeichnete Stimmzettel sind rekonstruierbar und '
|
||||||
|
'dürfen niemals als geheim bezeichnet werden.',
|
||||||
|
'Von Anbietern unterstützte Profile zeigen nur das '
|
||||||
|
'Aggregat, den Empfang, den Hash und die Nachweise, die '
|
||||||
|
'der Anbietervertrag erlaubt.',
|
||||||
|
'Der gebündelte lokale vertrauliche Anbieter ist '
|
||||||
|
'serverlesbar und unzertifiziert trotz verschlüsselter '
|
||||||
|
'gespeicherter Auswahl.']},
|
||||||
|
'voting.data-subject-requests': {'consequence_classes': {'export_confidential_receipt': 'Gibt '
|
||||||
|
'Teilnahme-Metadaten '
|
||||||
|
'ohne '
|
||||||
|
'Auswahl '
|
||||||
|
'oder '
|
||||||
|
'Geheimtext '
|
||||||
|
'zurück.',
|
||||||
|
'export_recorded_vote': 'Gibt die '
|
||||||
|
'rekonstruierbaren '
|
||||||
|
'aufgezeichneten '
|
||||||
|
'Auswahlen des '
|
||||||
|
'Subjekts '
|
||||||
|
'zurück.',
|
||||||
|
'retain_ballot_evidence': 'Bewahrt die '
|
||||||
|
'Integrität '
|
||||||
|
'der '
|
||||||
|
'Stimmzettel '
|
||||||
|
'und die '
|
||||||
|
'Geschichte '
|
||||||
|
'der '
|
||||||
|
'Herausforderungen.'}},
|
||||||
|
'voting.reference.fields-and-consequences': {'consequence_classes': {'cast': 'Registriert oder '
|
||||||
|
'ersetzt eine '
|
||||||
|
'autorisierte Stimme '
|
||||||
|
'und gibt eine '
|
||||||
|
'datenschutzbeschränkte '
|
||||||
|
'Quittung zurück.',
|
||||||
|
'certify': 'Fügt '
|
||||||
|
'Zertifizierungsnachweise '
|
||||||
|
'hinzu, ohne das '
|
||||||
|
'eingefrorene '
|
||||||
|
'Ergebnis neu zu '
|
||||||
|
'schreiben.',
|
||||||
|
'challenge_or_annul': 'Hängt '
|
||||||
|
'einen '
|
||||||
|
'begründeten '
|
||||||
|
'Governance-Übergang '
|
||||||
|
'an, '
|
||||||
|
'während '
|
||||||
|
'vorherige '
|
||||||
|
'Nachweise '
|
||||||
|
'beibehalten '
|
||||||
|
'werden.',
|
||||||
|
'close': 'Stoppt das Gießen '
|
||||||
|
'und zeichnet die '
|
||||||
|
'Aggregatzahl auf.',
|
||||||
|
'open': 'Friert die '
|
||||||
|
'Stimmzetteldefinition '
|
||||||
|
'und Wählerschaft '
|
||||||
|
'ein und erlaubt '
|
||||||
|
'autorisiertes '
|
||||||
|
'Casting.'}}}
|
||||||
@@ -1,5 +1,8 @@
|
|||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
|
from govoplan_core.core.modules import with_documentation_structured_translations
|
||||||
|
from govoplan_voting.backend.german_structured_documentation import GERMAN_STRUCTURED_TRANSLATIONS
|
||||||
|
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
from govoplan_core.core.access import (
|
from govoplan_core.core.access import (
|
||||||
@@ -52,7 +55,7 @@ from govoplan_voting.backend.local_confidential_provider import (
|
|||||||
|
|
||||||
MODULE_ID = "voting"
|
MODULE_ID = "voting"
|
||||||
MODULE_NAME = "Voting"
|
MODULE_NAME = "Voting"
|
||||||
MODULE_VERSION = "0.1.19"
|
MODULE_VERSION = "0.1.20"
|
||||||
READ_SCOPE = "voting:ballot:read"
|
READ_SCOPE = "voting:ballot:read"
|
||||||
MANAGE_SCOPE = "voting:ballot:manage"
|
MANAGE_SCOPE = "voting:ballot:manage"
|
||||||
CAST_SCOPE = "voting:ballot:cast"
|
CAST_SCOPE = "voting:ballot:cast"
|
||||||
@@ -567,5 +570,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/voting-webui",
|
"name": "@govoplan/voting-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