1
0
forked from mirrors/0ad
Files
0ad/source/gui
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
..
2025-07-05 12:42:34 +02:00
2025-07-02 13:20:13 +02:00
2025-07-02 13:20:13 +02:00
2025-07-29 18:19:49 +02:00
2025-07-02 13:20:13 +02:00
2025-07-05 12:42:34 +02:00
2025-07-02 13:20:13 +02:00
2025-07-05 12:42:34 +02:00
2025-07-02 13:20:13 +02:00
2025-07-02 13:20:13 +02:00
2025-07-02 13:20:13 +02:00
2025-07-02 13:20:13 +02:00
2025-07-02 13:20:13 +02:00
2025-07-02 13:20:13 +02:00