Browse Source

Merge pull request #18406 from YeldhamDev/script_templates_period

Changed periods in the script templates
Max Hilbrunner 7 years ago
parent
commit
ffb6f8f1ca
2 changed files with 2 additions and 2 deletions
  1. 1 1
      modules/gdscript/gdscript_editor.cpp
  2. 1 1
      modules/mono/csharp_script.cpp

+ 1 - 1
modules/gdscript/gdscript_editor.cpp

@@ -61,7 +61,7 @@ Ref<Script> GDScriptLanguage::get_template(const String &p_class_name, const Str
 					   "# var b = \"textvar\"\n\n" +
 					   "# var b = \"textvar\"\n\n" +
 					   "func _ready():\n" +
 					   "func _ready():\n" +
 					   "%TS%# Called when the node is added to the scene for the first time.\n" +
 					   "%TS%# Called when the node is added to the scene for the first time.\n" +
-					   "%TS%# Initialization here\n" +
+					   "%TS%# Initialization here.\n" +
 					   "%TS%pass\n\n" +
 					   "%TS%pass\n\n" +
 					   "#func _process(delta):\n" +
 					   "#func _process(delta):\n" +
 					   "#%TS%# Called every frame. Delta is time since last frame.\n" +
 					   "#%TS%# Called every frame. Delta is time since last frame.\n" +

+ 1 - 1
modules/mono/csharp_script.cpp

@@ -305,7 +305,7 @@ Ref<Script> CSharpLanguage::get_template(const String &p_class_name, const Strin
 							 "    public override void _Ready()\n"
 							 "    public override void _Ready()\n"
 							 "    {\n"
 							 "    {\n"
 							 "        // Called every time the node is added to the scene.\n"
 							 "        // Called every time the node is added to the scene.\n"
-							 "        // Initialization here\n"
+							 "        // Initialization here.\n"
 							 "        \n"
 							 "        \n"
 							 "    }\n"
 							 "    }\n"
 							 "\n"
 							 "\n"