Sfoglia il codice sorgente

Merge pull request #103689 from timothyqiu/text-file

EditorHelpBit: Fix symbol type name capitalization for text files
Thaddeus Crews 2 mesi fa
parent
commit
30a0e46f1f
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      editor/editor_help.cpp

+ 1 - 1
editor/editor_help.cpp

@@ -4315,7 +4315,7 @@ void EditorHelpBit::parse_symbol(const String &p_symbol, const String &p_prologu
 			help_data.doc_type.type = ResourceLoader::get_resource_type(path);
 			if (help_data.doc_type.type.is_empty()) {
 				const Vector<String> textfile_ext = ((String)(EDITOR_GET("docks/filesystem/textfile_extensions"))).split(",", false);
-				symbol_type = textfile_ext.has(path.get_extension()) ? TTR("TextFile") : TTR("File");
+				symbol_type = textfile_ext.has(path.get_extension()) ? TTR("Text File") : TTR("File");
 			} else {
 				symbol_type = TTR("Resource");
 				symbol_hint = SYMBOL_HINT_ASSIGNABLE;