1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-04 17:04:49 +00:00

Merge pull request #107999 from timothyqiu/translation-cleanup

Clean up editor translation related methods
This commit is contained in:
Thaddeus Crews
2025-10-15 16:31:09 -05:00
12 changed files with 77 additions and 163 deletions

View File

@@ -1337,16 +1337,10 @@ void EditorSettings::setup_language(bool p_initial_setup) {
TranslationServer::get_singleton()->set_locale(lang);
return; // Default, nothing to do.
}
// Load editor translation for configured/detected locale.
load_editor_translations(lang);
load_property_translations(lang);
// Load class reference translation.
load_doc_translations(lang);
// Load extractable translation for projects.
load_extractable_translations(lang);
TranslationServer::get_singleton()->set_locale(lang);
}