diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-01-24 21:21:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-24 21:21:51 +0100 |
commit | 37472fa2c0c4c03a62fa6a57b25655c91bd8263f (patch) | |
tree | 8b2aafb697d1e1b30d7c182a23380b0fc3045b6e /editor | |
parent | 5f8f6ae7f6e7d598629993fcdd4b3828f1bf2d04 (diff) | |
parent | 945645410905e8b23228965e29c2be274cb12645 (diff) |
Merge pull request #57133 from bruvzg/fix_multi_file_tr
Diffstat (limited to 'editor')
-rw-r--r-- | editor/editor_settings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_settings.cpp b/editor/editor_settings.cpp index 07ebd249b3..8146f48f91 100644 --- a/editor/editor_settings.cpp +++ b/editor/editor_settings.cpp @@ -377,7 +377,7 @@ void EditorSettings::_load_defaults(Ref<ConfigFile> p_extra_config) { lang_hint += locale; int score = TranslationServer::get_singleton()->compare_locales(host_lang, locale); - if (score > best_score) { + if (score > 0 && score >= best_score) { best = locale; best_score = score; if (score == 10) { |