mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
EditorHelpBit: Fix symbol type name capitalization for text files
This commit is contained in:
parent
134da37497
commit
ea8dd83075
1 changed files with 1 additions and 1 deletions
|
|
@ -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<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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue