Fix remaining German log messages: Panel registered, Listener active, sync all files to PROJECTS
- Fix sed $-anchor issue: 'Panel registriert' now replaced globally - Translate: Listener aktiv, Select-Handler, Closing-Hook, Doppelklick-Handler - Translate SPLASH messages: gesetzt/angewendet - Translate ALIAS-LOADER, WELCOME, ELEMENTE migration messages - Full rsync of all rhino/*.py to PROJECTS (previously partial sync missed schnitte.py, wand_grips.py, treppe_grips.py, text_editor.py, welcome.py etc.)
This commit is contained in:
+3
-3
@@ -14,7 +14,7 @@ Persistiert als JSON in doc.Strings["dossier_mass_styles"] (Liste) und
|
||||
doc.Strings["dossier_mass_style_active"] (aktive ID).
|
||||
|
||||
Ein Mass-Style wird als globale Vorgabe gelesen. Per-Element-Override
|
||||
(z.B. raum_rundung UserString am einzelnen Raum) hat Vorrang wenn gesetzt.
|
||||
(z.B. raum_rundung UserString am einzelnen Raum) hat Vorrang wenn set.
|
||||
"""
|
||||
import json
|
||||
import uuid
|
||||
@@ -88,7 +88,7 @@ def list_presets(doc):
|
||||
# Erst-Initialisierung: Default-Liste schreiben
|
||||
items = [_normalize(p) for p in _DEFAULT_PRESETS]
|
||||
_save_all(doc, items)
|
||||
# Default-Aktiv setzen falls noch nichts gesetzt
|
||||
# Default-Aktiv setzen falls noch nichts set
|
||||
if not doc.Strings.GetValue(_KEY_ACTIVE):
|
||||
doc.Strings.SetString(_KEY_ACTIVE, items[0]["id"])
|
||||
return items
|
||||
@@ -175,7 +175,7 @@ def delete_preset(doc, preset_id):
|
||||
|
||||
def raum_rundung_default(doc):
|
||||
"""Default-Rundung fuer Raum-Stempel wenn keine per-Raum-Override
|
||||
gesetzt ist."""
|
||||
set ist."""
|
||||
p = get_active(doc)
|
||||
return p["raumRundung"] if p else "0.1"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user