Make text-related nodes translation domain aware

- Makes `is_layout_rtl()` translation domain aware
- Makes various text-drawing controls translation domain aware
- Makes translation preview use the project's fallback locale when disabled
This commit is contained in:
Haoyu Qiu 2025-09-10 15:14:18 +08:00
parent 149a4b4ca1
commit 172c80df67
23 changed files with 132 additions and 101 deletions

View file

@ -793,6 +793,9 @@ protected:
virtual bool _uses_signal_mutex() const;
// Internal helper to get the current locale, taking into account the translation domain.
String _get_locale() const;
#ifdef TOOLS_ENABLED
struct VirtualMethodTracker {
void **method;