Pārlūkot izejas kodu

Merge pull request #19131 from YeldhamDev/connection_comment_capitalize

Capitalized comments of methods created by the Connect Signal dialog
Max Hilbrunner 7 gadi atpakaļ
vecāks
revīzija
aee8d26252

+ 1 - 1
modules/gdscript/gdscript_editor.cpp

@@ -416,7 +416,7 @@ String GDScriptLanguage::make_function(const String &p_class, const String &p_na
 			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;
 }

+ 1 - 1
modules/mono/csharp_script.cpp

@@ -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 += ")\n{\n    // Replace with function body\n}\n";
+	s += ")\n{\n    // Replace with function body.\n}\n";
 
 	return s;
 #else