0ad/source/gui/SettingTypes
trompetin17 690838e3dc
Add [locale] inline tag for per-locale fonts
New `[locale='xx']...[/locale]` markup lets GUI text sections render
with a locale-specific font (e.g. CJK) while the rest of the caption
keeps the current game font.

guiObject.caption = "Hello [locale='ja']世界[/locale], how do you
[locale='zh']感覺[/locale]" This is ideal for language pickers and
similar UI where you want the language name shown in its own script.

This commit unlocks richer, self-explanatory international UI while
keeping the legacy text behaviour unchanged.
2025-08-04 09:35:41 -05:00
..
CGUIColor.cpp Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
CGUIColor.h Fix most headers in gui 2025-07-05 12:42:34 +02:00
CGUIHotkey.cpp Pass IGUIObject as reference 2025-08-03 16:55:43 +02:00
CGUIHotkey.h Fix most headers in gui 2025-07-05 12:42:34 +02:00
CGUIList.h Fix most headers in gui 2025-07-05 12:42:34 +02:00
CGUISeries.h Fix some headers in gui 2025-07-02 13:20:13 +02:00
CGUISize.cpp Fix most headers in gui 2025-07-05 12:42:34 +02:00
CGUISize.h Fix most headers in gui 2025-07-05 12:42:34 +02:00
CGUIString.cpp Add [locale] inline tag for per-locale fonts 2025-08-04 09:35:41 -05:00
CGUIString.h Add [locale] inline tag for per-locale fonts 2025-08-04 09:35:41 -05:00
EAlign.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
EScrollOrientation.h Add scrollpanel widget 2024-11-12 15:01:42 -05:00
MouseEventMask.cpp Fix most headers in gui 2025-07-05 12:42:34 +02:00
MouseEventMask.h Fix most headers in gui 2025-07-05 12:42:34 +02:00