mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Allow localizing the application name with project translations
This commit is contained in:
parent
6fd949a6dc
commit
b8a8f8b35a
12 changed files with 100 additions and 57 deletions
|
|
@ -578,8 +578,7 @@ void EditorNode::_gdextensions_reloaded() {
|
|||
void EditorNode::_update_translations() {
|
||||
Ref<TranslationDomain> main = TranslationServer::get_singleton()->get_main_domain();
|
||||
|
||||
main->clear();
|
||||
TranslationServer::get_singleton()->load_translations();
|
||||
TranslationServer::get_singleton()->load_project_translations(main);
|
||||
|
||||
if (main->is_enabled()) {
|
||||
// Check for the exact locale.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue