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
commit 20430236e7
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC
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);
}