You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-04 17:04:49 +00:00
Allow localizing the application name with project translations
This commit is contained in:
@@ -772,7 +772,7 @@ Error Main::test_setup() {
|
||||
if (!locale.is_empty()) {
|
||||
translation_server->set_locale(locale);
|
||||
}
|
||||
translation_server->load_translations();
|
||||
translation_server->load_project_translations(translation_server->get_main_domain());
|
||||
ResourceLoader::load_translation_remaps(); //load remaps for resources
|
||||
|
||||
// Initialize ThemeDB early so that scene types can register their theme items.
|
||||
@@ -3456,7 +3456,7 @@ Error Main::setup2(bool p_show_boot_logo) {
|
||||
if (!locale.is_empty()) {
|
||||
translation_server->set_locale(locale);
|
||||
}
|
||||
translation_server->load_translations();
|
||||
translation_server->load_project_translations(translation_server->get_main_domain());
|
||||
ResourceLoader::load_translation_remaps(); //load remaps for resources
|
||||
|
||||
OS::get_singleton()->benchmark_end_measure("Startup", "Translations and Remaps");
|
||||
|
||||
Reference in New Issue
Block a user