You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
Reworked translation system
-Label and Button reload translation on the fly -Resources are loaded and reload depending on locale
This commit is contained in:
@@ -687,7 +687,9 @@ void SceneTree::_notification(int p_notification) {
|
||||
get_root()->propagate_notification(p_notification);
|
||||
} break;
|
||||
case NOTIFICATION_TRANSLATION_CHANGED: {
|
||||
get_root()->propagate_notification(Node::NOTIFICATION_TRANSLATION_CHANGED);
|
||||
if (!is_editor_hint()) {
|
||||
get_root()->propagate_notification(Node::NOTIFICATION_TRANSLATION_CHANGED);
|
||||
}
|
||||
} break;
|
||||
case NOTIFICATION_WM_UNFOCUS_REQUEST: {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user