19 Commits
Author SHA1 Message Date
卯月兔 46a4fb7861 Fix tooltip translation through IMGUI hooks (#131)
Render tooltips with GUI.Label and retain their GUIContent so IMGUI translators can update the text and subsequent repaints measure the translated height.
2026-10-19 13:19:20 +02:00
Mikalai Kryvusha 7b25a861e6 Fit the slider value box to its text instead of a fixed 50px (#127)
* Fit the slider value box to its text instead of a fixed 50px

DrawRangeField drew the number box and the percent label with GUILayout.Width(50), so with a bigger font (4K, custom skin) the value was clipped ("-0.", "0.(") and "100%" wrapped to a second line. The width now fits the longest of the value, the minimum and the maximum in the current style (plus its margin), measured on a sample of zeros so the box does not jump while the slider is dragged, and is never narrower than the old 50.

* Share one width between all slider value boxes so they line up

Per review: every value box and percent label next to a slider now uses one global width, so they stand in one column. It only grows: a value that needs more room bumps it for all of them, up to 10 characters, and it never goes below the old 50. It is reset in ClearCache, when the window opens or closes, so a font or skin change is picked up on the next open.
2026-10-14 19:27:11 +02:00
Mikalai KryvushaandClaude Opus 5.5 c6bc2f0c62 Add 23 translations for XUnity.AutoTranslator (CJK, European, Baltic, SE Asian, Swahili) (#129)
* Add 23 translations of the window for XUnity.AutoTranslator

Each language is a copy of the ru folder with the same keys in the same order:
zh-CN, zh-TW, es, fr, pt, id, de, ja, tr, vi, tl, ko, it, sw, pl, uk, be, lt, lv, et, ms, nl, ro.

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>

* Shorter filter labels in tl, sw and lv so the header row fits the window

With the full labels the header row was wider than 650 px and the window grew past its default width.

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>

* Keep a translated Reset button inside the window

The right column reserved room for the English "Reset" only, so a longer translated label (Restablecer,
Réinitialiser, Сбросить...) pushed the button past the right edge and added a horizontal scrollbar. Three changes,
all no-ops for the untranslated window:
- the fixed-width value fields give up the difference between the translated and the English button width;
- flags fields count the spacing between toggles when wrapping, so a line no longer ends up wider than its column;
- the color field's text box may shrink below its text width.

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
2026-10-14 19:23:50 +02:00
Mikalai KryvushaandClaude Opus 5.5 13452464e0 Add WindowSkin: let a separate plugin theme the settings window (#126)
WindowSkin (null by default) is used to draw the window, its controls and tooltips; its window style draws the
window background instead of the built-in grey one. Plugin and category headers use the skin's custom styles named
ConfigurationManager.PluginHeader / ConfigurationManager.CategoryHeader if present. The default look is unchanged.

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
2026-10-11 14:33:10 +02:00
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
ManlyMarco e00b453ab2 IL2CPP - Upgrade to BepInEx6 be.785 (support games without legacy input); Set KeyboardShortcut package as obsolete 2026-06-30 01:53:06 +02:00
Sir Wintour 1ca4951c33 Fixed decimal for Scandinavian and similar Culture (#105)
Scandinavian and some other regions use Comma (,) instead of Period (.) for decimal places. This causes some issues when entering float values.
2025-04-16 16:24:40 +02:00
ManlyMarco dc09cbd1f5 Fully move to new sdk csproj format; Generate zips on release build 2025-01-19 18:20:21 +01:00
ManlyMarco 8289a7f308 Keep original category order (#102) 2025-01-16 22:57:46 +01:00
ManlyMarco 40b56abda9 Use a props file for setting Version; Build improvements 2024-10-01 21:07:01 +02:00
ManlyMarco bddaa27f08 Version up to 18.3 2024-04-09 21:08:10 +02:00
Sergio Jurado Torres 19cff155fa Do not throw ArgumenNullException in ConfigSettingEntry.GetAcceptedValues (#89)
This PR removes the ArgumenNullException present in ConfigSettingEntry.GetAcceptedValues(AcceptableValueBase values), enforcing the use of both MinValue and MaxValue for custom range classes (see issue's comments for a in-depth explanation)

Fixes #88
2024-04-06 00:48:14 +02:00
ManlyMarco 69802e7da9 Version up to 18.2.1 2024-02-09 20:37:20 +01:00
ManlyMarco fd11431672 Fix not working in some IL2CPP games (#83) 2024-02-09 20:36:20 +01:00
ManlyMarco 67b4eefb16 Improve Color settings: Dec/Hex numbers, Visualize alpha
Closes #76
2023-12-30 16:31:20 +01:00
ManlyMarco 0b502ad678 Version up to 18.2 2023-12-28 23:44:17 +01:00
ManlyMarco 9047ead0c3 Add ConfigurationManager.IsWindowFullscreen 2023-12-28 23:41:38 +01:00
ManlyMarco e10c4a1be4 Version up to 18.1 2023-11-27 18:58:59 +01:00
ManlyMarco e3b754d6b5 Add IL2CPP version for BepInEx6 nightly builds (#78)
Code was refactored to use a shared project. Based on source from HC.BepInEx.ConfigurationManager.Il2Cpp.CoreCLR-18.0_beta2_20230821
2023-11-27 18:52:36 +01:00