summaryrefslogtreecommitdiff
path: root/doc/translations/cs.po
diff options
context:
space:
mode:
Diffstat (limited to 'doc/translations/cs.po')
-rw-r--r--doc/translations/cs.po6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/translations/cs.po b/doc/translations/cs.po
index a267656497..3584fc5062 100644
--- a/doc/translations/cs.po
+++ b/doc/translations/cs.po
@@ -1058,7 +1058,7 @@ msgid ""
"the FileSystem dock into the script.\n"
"[codeblock]\n"
"# Instance a scene.\n"
-"var diamond = preload(\"res://diamond.tscn\").instance()\n"
+"var diamond = preload(\"res://diamond.tscn\").instantiate()\n"
"[/codeblock]"
msgstr ""
@@ -14318,7 +14318,7 @@ msgid ""
"Example of usage with custom scene instance:\n"
"[codeblock]\n"
"func _make_custom_tooltip(for_text):\n"
-" var tooltip = preload(\"SomeTooltipScene.tscn\").instance()\n"
+" var tooltip = preload(\"SomeTooltipScene.tscn\").instantiate()\n"
" tooltip.get_node(\"Label\").text = for_text\n"
" return tooltip\n"
"[/codeblock]"
@@ -35192,7 +35192,7 @@ msgid ""
"[codeblock]\n"
"# Use `load()` instead of `preload()` if the path isn't known at compile-"
"time.\n"
-"var scene = preload(\"res://scene.tscn\").instance()\n"
+"var scene = preload(\"res://scene.tscn\").instantiate()\n"
"# Add the node as a child of the node the script is attached to.\n"
"add_child(scene)\n"
"[/codeblock]\n"