summaryrefslogtreecommitdiff
path: root/doc/translations/es.po
diff options
context:
space:
mode:
authorLightning_A <aaronjrecord@gmail.com>2021-06-17 16:03:09 -0600
committerLightning_A <aaronjrecord@gmail.com>2021-06-19 20:49:18 -0600
commite28fd07b2bbe78db0f286604a6eb469d8a0664be (patch)
treed10b935e7a77774960fefd93ac306db447cc2bfd /doc/translations/es.po
parent60dcc4f39c0e6289dba691225c002cd6e77be6ba (diff)
Rename `instance()`->`instantiate()` when it's a verb
Diffstat (limited to 'doc/translations/es.po')
-rw-r--r--doc/translations/es.po8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/translations/es.po b/doc/translations/es.po
index 7df36316b7..44b3b22597 100644
--- a/doc/translations/es.po
+++ b/doc/translations/es.po
@@ -1119,7 +1119,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 ""
@@ -18123,7 +18123,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]"
@@ -18150,7 +18150,7 @@ msgstr ""
"Ejemplo de uso con una instancia de una escena personalizada<\n"
"[codeblock]\n"
"func _make_custom_tooltip(for_text):\n"
-" var sugerencia = preload(\"algunaEscenaSugerencia.tscn\").instance()\n"
+" var sugerencia = preload(\"algunaEscenaSugerencia.tscn\").instantiate()\n"
" tooltip.get_node(\"etiqueta\").text = para_texto\n"
" return sugerencia\n"
"[/codeblock]"
@@ -46659,7 +46659,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"