From 84ff943f9273e86ea482f62400e8b11ea5d767cd Mon Sep 17 00:00:00 2001 From: karim Date: Sat, 6 Jun 2026 12:35:36 +0200 Subject: [PATCH] Fix remaining partial translations in log messages --- rhino/elemente.py | 6 +++--- rhino/layers_panel.py | 2 +- rhino/styles.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/rhino/elemente.py b/rhino/elemente.py index 0a59348..5379063 100644 --- a/rhino/elemente.py +++ b/rhino/elemente.py @@ -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) diff --git a/rhino/layers_panel.py b/rhino/layers_panel.py index 0188168..8ac06cf 100644 --- a/rhino/layers_panel.py +++ b/rhino/layers_panel.py @@ -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 diff --git a/rhino/styles.py b/rhino/styles.py index 780e474..90db819 100644 --- a/rhino/styles.py +++ b/rhino/styles.py @@ -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]