diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-09-20 16:06:23 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-09-20 16:06:23 +0200 |
commit | 7e62565f1e075cb5a2b090e320739daa4a8dce9a (patch) | |
tree | e5a7109f59d4d3683d53c1f0e23e331f3b4e1cbb /editor/editor_settings.cpp | |
parent | 99a1eb7147ad3e13a2302d172708db909195c89c (diff) | |
parent | 818acb42900267f6c5dc2637e1bd8b7002413a98 (diff) | |
download | redot-engine-7e62565f1e075cb5a2b090e320739daa4a8dce9a.tar.gz |
Merge pull request #95787 from timothyqiu/domestic
Add translation domain
Diffstat (limited to 'editor/editor_settings.cpp')
-rw-r--r-- | editor/editor_settings.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/editor_settings.cpp b/editor/editor_settings.cpp index 312140da67..963c45b573 100644 --- a/editor/editor_settings.cpp +++ b/editor/editor_settings.cpp @@ -1226,6 +1226,8 @@ fail: void EditorSettings::setup_language() { String lang = get("interface/editor/editor_language"); + TranslationServer::get_singleton()->set_locale(lang); + if (lang == "en") { return; // Default, nothing to do. } |