Translate remaining internal log messages to English

- EBENEN: drawing levels updated, sublayer not found, saved/verified
- GESTALTUNG: Linetypes before/after, fill field, opened/focused
- CLIP: disabled done
- ELEMENTE: Bulk-op, Listener bail
- Global: not found, not available, unchanged, failed, present
This commit is contained in:
2026-06-06 12:19:10 +02:00
parent 9fcada260e
commit 24f6b76f06
21 changed files with 112 additions and 112 deletions
+11 -11
View File
@@ -113,7 +113,7 @@ def migrate_to_dossier(doc):
new = "dossier_" + suffix
try:
if doc.Strings.GetValue(new):
continue # Dossier-Variante vorhanden -> nicht ueberschreiben
continue # Dossier-Variante present -> nicht ueberschreiben
for prefix in _LEGACY_PREFIXES:
old_v = doc.Strings.GetValue(prefix + suffix)
if old_v:
@@ -327,7 +327,7 @@ def load_inline(wv, mode, params=None):
if _INLINE_TEMPLATE is None or _INLINE_TEMPLATE[0] != cur_mtime:
sig, tmpl = _build_inline_template()
if tmpl is None:
print("[{}] dist nicht gefunden".format(mode.upper()))
print("[{}] dist not found".format(mode.upper()))
return
_INLINE_TEMPLATE = (sig, tmpl)
@@ -741,7 +741,7 @@ def make_panel_icon(name_or_letter, bg_hex):
except Exception as ex:
print("[panel_base] Icon path check error:", ex)
# 1) Material-Icon-Font (wenn keine SVG vorhanden)
# 1) Material-Icon-Font (wenn keine SVG present)
mat_cp = _MATERIAL_CODEPOINTS.get(name_or_letter)
if not used_svg and mat_cp is not None:
font_family_name = _try_material_font()
@@ -815,7 +815,7 @@ def make_panel_icon(name_or_letter, bg_hex):
print("[panel_base] Icon erzeugt via Eto.Drawing.Icon(path) [{}]".format(tag))
return ic
except Exception as ex:
print("[panel_base] Eto.Drawing.Icon(path) fehlgeschlagen:", ex)
print("[panel_base] Eto.Drawing.Icon(path) failed:", ex)
# Bitmap-Fallback (in-memory) — wenn alles vorherige fehlschlaegt
try:
ic = drawing.Icon(1.0, bmp)
@@ -825,7 +825,7 @@ def make_panel_icon(name_or_letter, bg_hex):
print("[panel_base] Icon Fallback: Eto.Bitmap zurueck ({})".format(tag))
return bmp
except Exception as ex:
print("[panel_base] Icon-Erstellung fehlgeschlagen:", ex)
print("[panel_base] Icon-Erstellung failed:", ex)
return None
@@ -860,7 +860,7 @@ def register_and_open(mode, caption, guid_str, bridge_factory, icon_spec=None, m
t_reg = time.time()
plugin = find_plugin()
if plugin is None:
print("[{}] Plugin nicht gefunden".format(mode.upper()))
print("[{}] Plugin not found".format(mode.upper()))
return
try:
type_name = "DynPanel_" + mode
@@ -900,7 +900,7 @@ def register_and_open(mode, caption, guid_str, bridge_factory, icon_spec=None, m
registered_with_icon = False
# Erst mit Icon versuchen, dann stillschweigend ohne (Mac Rhino-Panels
# akzeptieren auf manchen Versionen nur System.Drawing.Icon, das auf
# Mac nicht verfuegbar ist - die Registrierung ohne Icon ist OK).
# Mac not available ist - die Registrierung ohne Icon ist OK).
attempts = [(icon, True)] if icon is not None else []
attempts.append((None, False))
for arg, with_icon in attempts:
@@ -914,10 +914,10 @@ def register_and_open(mode, caption, guid_str, bridge_factory, icon_spec=None, m
break
except Exception as ex:
if with_icon:
print("[{}] RegisterPanel mit Icon fehlgeschlagen: {}".format(
print("[{}] RegisterPanel mit Icon failed: {}".format(
mode.upper(), ex))
else:
print("[{}] RegisterPanel fehlgeschlagen: {}".format(
print("[{}] RegisterPanel failed: {}".format(
mode.upper(), ex))
if registered and not registered_with_icon and icon is not None:
print("[{}] Panel ohne Icon registriert (Fallback)".format(mode.upper()))
@@ -927,7 +927,7 @@ def register_and_open(mode, caption, guid_str, bridge_factory, icon_spec=None, m
sc.sticky[sticky_guid] = System.Guid(guid_str)
print("[{}] Panel registered".format(mode.upper()))
except Exception as ex:
print("[{}] Registrierung fehlgeschlagen: {}".format(mode.upper(), ex))
print("[{}] Registrierung failed: {}".format(mode.upper(), ex))
return
_t_mark("register", mode, t_reg)
@@ -938,5 +938,5 @@ def register_and_open(mode, caption, guid_str, bridge_factory, icon_spec=None, m
_t_mark("OpenPanel", mode, t_open)
print("[{}] Panel opened".format(mode.upper()))
except Exception as ex:
print("[{}] OpenPanel fehlgeschlagen: {}".format(mode.upper(), ex))
print("[{}] OpenPanel failed: {}".format(mode.upper(), ex))
_t_mark("register_and_open", mode, t_outer)