diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-09-20 16:07:06 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-09-20 16:07:06 +0200 |
commit | 8ea7f5eac26121733fe0f6ee25406fd68608c01f (patch) | |
tree | c2f05d8a5de3829a1fac88d88bea09279bce1135 /editor | |
parent | 34dd5e0c37c9a6efc0ef045fb43c5e0dfb081a58 (diff) | |
parent | b1000d1830e2a0486a68e787d032ef5c2bc6a576 (diff) | |
download | redot-engine-8ea7f5eac26121733fe0f6ee25406fd68608c01f.tar.gz |
Merge pull request #97222 from timothyqiu/csv-not-translation
Don't list CSV as a valid extension for `Translation` resource
Diffstat (limited to 'editor')
-rw-r--r-- | editor/localization_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/localization_editor.cpp b/editor/localization_editor.cpp index 6bc3a27a95..3c07e85758 100644 --- a/editor/localization_editor.cpp +++ b/editor/localization_editor.cpp @@ -37,7 +37,6 @@ #include "editor/filesystem_dock.h" #include "editor/gui/editor_file_dialog.h" #include "editor/pot_generator.h" -#include "editor/themes/editor_scale.h" #include "scene/gui/control.h" void LocalizationEditor::_notification(int p_what) { @@ -49,6 +48,7 @@ void LocalizationEditor::_notification(int p_what) { List<String> tfn; ResourceLoader::get_recognized_extensions_for_type("Translation", &tfn); + tfn.erase("csv"); // CSV is recognized by the resource importer to generate translation files, but it's not a translation file itself. for (const String &E : tfn) { translation_file_open->add_filter("*." + E); } |