We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 52bbbd4 + 33d9b40 commit d8aa32dCopy full SHA for d8aa32d
core/io/translation_loader_po.cpp
@@ -31,7 +31,6 @@
31
#include "translation_loader_po.h"
32
33
#include "core/io/file_access.h"
34
-#include "core/string/translation.h"
35
#include "core/string/translation_po.h"
36
37
Ref<Resource> TranslationLoaderPO::load_translation(Ref<FileAccess> f, Error *r_error) {
@@ -361,7 +360,7 @@ void TranslationLoaderPO::get_recognized_extensions(List<String> *p_extensions)
361
360
}
362
363
bool TranslationLoaderPO::handles_type(const String &p_type) const {
364
- return (p_type == "Translation");
+ return (p_type == "Translation") || (p_type == "TranslationPO");
365
366
367
String TranslationLoaderPO::get_resource_type(const String &p_path) const {
0 commit comments