Merge pull request #19131 from YeldhamDev/connection_comment_capitalize
Capitalized comments of methods created by the Connect Signal dialog
This commit is contained in:
commit
aee8d26252
|
@ -416,7 +416,7 @@ String GDScriptLanguage::make_function(const String &p_class, const String &p_na
|
||||||
s += p_args[i].get_slice(":", 0);
|
s += p_args[i].get_slice(":", 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
s += "):\n" + _get_indentation() + "pass # replace with function body\n";
|
s += "):\n" + _get_indentation() + "pass # Replace with function body.\n";
|
||||||
|
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
|
|
@ -446,7 +446,7 @@ String CSharpLanguage::make_function(const String &p_class, const String &p_name
|
||||||
|
|
||||||
s += variant_type_to_managed_name(arg.get_slice(":", 1)) + " " + escape_csharp_keyword(arg.get_slice(":", 0));
|
s += variant_type_to_managed_name(arg.get_slice(":", 1)) + " " + escape_csharp_keyword(arg.get_slice(":", 0));
|
||||||
}
|
}
|
||||||
s += ")\n{\n // Replace with function body\n}\n";
|
s += ")\n{\n // Replace with function body.\n}\n";
|
||||||
|
|
||||||
return s;
|
return s;
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in New Issue