瀏覽代碼

Merge pull request #19131 from YeldhamDev/connection_comment_capitalize

Capitalized comments of methods created by the Connect Signal dialog
Max Hilbrunner 7 年之前
父節點
當前提交
aee8d26252
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      modules/gdscript/gdscript_editor.cpp
  2. 1 1
      modules/mono/csharp_script.cpp

+ 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