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)
|
||||
|
||||
Reference in New Issue
Block a user