diff options
author | Spartan322 <Megacake1234@gmail.com> | 2024-10-24 18:01:23 -0400 |
---|---|---|
committer | Spartan322 <Megacake1234@gmail.com> | 2024-10-24 18:01:23 -0400 |
commit | 3679f5971aa431d37cc2acd5d459ed4b38aad26f (patch) | |
tree | cee32a21c68b1d737fc0cbe52b2a0ff649016123 /core/io | |
parent | a22fcac9dc8ecca406a3267849954a5a5373dd11 (diff) | |
parent | 1015a481ff43edb1126ab39a147fefda290131e5 (diff) | |
download | redot-engine-3679f5971aa431d37cc2acd5d459ed4b38aad26f.tar.gz |
Merge commit godotengine/godot@1015a481ff43edb1126ab39a147fefda290131e5
Diffstat (limited to 'core/io')
-rw-r--r-- | core/io/translation_loader_po.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/io/translation_loader_po.cpp b/core/io/translation_loader_po.cpp index b82330d5e5..ae58081470 100644 --- a/core/io/translation_loader_po.cpp +++ b/core/io/translation_loader_po.cpp @@ -33,7 +33,6 @@ #include "translation_loader_po.h" #include "core/io/file_access.h" -#include "core/string/translation.h" #include "core/string/translation_po.h" Ref<Resource> TranslationLoaderPO::load_translation(Ref<FileAccess> f, Error *r_error) { @@ -363,7 +362,7 @@ void TranslationLoaderPO::get_recognized_extensions(List<String> *p_extensions) } bool TranslationLoaderPO::handles_type(const String &p_type) const { - return (p_type == "Translation"); + return (p_type == "Translation") || (p_type == "TranslationPO"); } String TranslationLoaderPO::get_resource_type(const String &p_path) const { |