Fix remaining partial translations in log messages
This commit is contained in:
+3
-3
@@ -16759,7 +16759,7 @@ def _migrate_layer_caps_once(doc):
|
||||
old = e.get("name") or ""
|
||||
if old in renames:
|
||||
new = renames[old]
|
||||
print("[ELEMENTE] CAPS-Migration: '{}' → '{}'".format(old, new))
|
||||
print("[ELEMENTE] CAPS migration: '{}' → '{}'".format(old, new))
|
||||
legacy.append((e.get("code") or "", old, new))
|
||||
e["name"] = new
|
||||
if not legacy: return
|
||||
@@ -16780,14 +16780,14 @@ def _migrate_layer_caps_once(doc):
|
||||
except Exception: pass
|
||||
except Exception as ex:
|
||||
print("[ELEMENTE] CAPS-Migration rename:", ex)
|
||||
print("[ELEMENTE] CAPS-Migration: {} Rhino-Layer umbenannt".format(n_renamed))
|
||||
print("[ELEMENTE] CAPS migration: {} Rhino layers renamed".format(n_renamed))
|
||||
try:
|
||||
import layer_builder as _lb
|
||||
z_raw = doc.Strings.GetValue("dossier_zeichnungsebenen")
|
||||
zlist = json.loads(z_raw) if z_raw else []
|
||||
if zlist: _lb.build_layers(doc, zlist, ebenen)
|
||||
except Exception as ex:
|
||||
print("[ELEMENTE] build_layers nach CAPS-Migration:", ex)
|
||||
print("[ELEMENTE] build_layers nach CAPS migration:", ex)
|
||||
try:
|
||||
import layers_panel as _rp
|
||||
_rp._broadcast_state(doc)
|
||||
|
||||
@@ -2500,7 +2500,7 @@ class EbenenBridge(panel_base.BaseBridge):
|
||||
# trip (30 ms debounce in React) feuert ohnehin layer_builder
|
||||
# .apply_visibility() das am Ende selbst redrawt. Sparen wir uns
|
||||
# einen doppelten Full-Repaint pro Geschoss-Klick.
|
||||
print("[EBENEN] CPlane Z={} auf {} Top-Style View(s) set".format(okff, updated))
|
||||
print("[EBENEN] CPlane Z={} on {} top-style view(s) set".format(okff, updated))
|
||||
|
||||
def _needs_clipping_update(self, doc, prev_active_id, new_z):
|
||||
"""Liefert True wenn entweder das alte oder das neue Geschoss
|
||||
|
||||
+1
-1
@@ -1153,7 +1153,7 @@ class GestaltungBridge(panel_base.BaseBridge):
|
||||
before = doc.Linetypes.Count
|
||||
ok = _force_load_linetypes(doc)
|
||||
after = doc.Linetypes.Count
|
||||
print("[GESTALTUNG] Linetypes vor: {}, nach LoadDefaults({}): {}".format(before, ok, after))
|
||||
print("[GESTALTUNG] Linetypes before: {}, nach LoadDefaults({}): {}".format(before, ok, after))
|
||||
entries = []
|
||||
for i in range(after):
|
||||
lt = doc.Linetypes[i]
|
||||
|
||||
Reference in New Issue
Block a user