Przeglądaj źródła

Capitalized comments of methods created by the Connect Signal dialog.

Michael Alexsander Silva Dias 7 lat temu
rodzic
commit
4e257293d9

+ 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 += 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;
 }
 }

+ 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 += 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