818acb4290
How editor plugins use this feature: 1. Pick a unique translation domain name. 2. `_enter_tree()`: load translations into that translation domain. 3. Call `set_translation_domain()` for its root UI node. 4. `_exit_tree()`: remove that translation domain. Plugins can also set the translation domain to `godot.editor` for nested nodes that should use editor translations. `EditorFileDialog` automatically does this. |
||
---|---|---|
.. | ||
callable_method_pointer.cpp | ||
callable_method_pointer.h | ||
class_db.cpp | ||
class_db.h | ||
make_virtuals.py | ||
message_queue.cpp | ||
message_queue.h | ||
method_bind.cpp | ||
method_bind.h | ||
object.cpp | ||
object.h | ||
object_id.h | ||
ref_counted.cpp | ||
ref_counted.h | ||
script_instance.cpp | ||
script_instance.h | ||
script_language.cpp | ||
script_language.h | ||
script_language_extension.cpp | ||
script_language_extension.h | ||
SCsub | ||
undo_redo.cpp | ||
undo_redo.h | ||
worker_thread_pool.cpp | ||
worker_thread_pool.h |