mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
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:
parent
149a4b4ca1
commit
172c80df67
23 changed files with 132 additions and 101 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue