From ea8dd830759438d0f2a387a49b7338df603d0f5c Mon Sep 17 00:00:00 2001 From: Haoyu Qiu Date: Thu, 6 Mar 2025 20:46:04 +0800 Subject: [PATCH] EditorHelpBit: Fix symbol type name capitalization for text files --- editor/editor_help.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/editor_help.cpp b/editor/editor_help.cpp index 0b6e817754..805ad82f23 100644 --- a/editor/editor_help.cpp +++ b/editor/editor_help.cpp @@ -4136,7 +4136,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 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;