Files
Mikalai KryvushaandClaude Opus 5.5 6d282b670d Russian translation as a plugin-specific AutoTranslator file; measure translated labels correctly (#125)
IMGUI translators replace GUIContent.text at draw time, after GUILayout measured the control. A string argument
is a temporary GUIContent reset to the original text on every call, so translated buttons were clipped to the
width of the English word. A persistent GUIContent keeps the replaced text and is measured correctly from the
next frame on. The Russian strings ship as a plugin-specific XUnity.AutoTranslator file instead of code.

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
2026-10-11 13:43:03 +02:00
..