You've already forked godot
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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user