summaryrefslogtreecommitdiff
path: root/doc/translations/zh_TW.po
diff options
context:
space:
mode:
Diffstat (limited to 'doc/translations/zh_TW.po')
-rw-r--r--doc/translations/zh_TW.po207
1 files changed, 165 insertions, 42 deletions
diff --git a/doc/translations/zh_TW.po b/doc/translations/zh_TW.po
index 4a9142bb64..82786a4963 100644
--- a/doc/translations/zh_TW.po
+++ b/doc/translations/zh_TW.po
@@ -13,12 +13,13 @@
# Number18 <secretemail7730@gmail.com>, 2022.
# 曹恩逢 <nelson22768384@gmail.com>, 2022.
# Otis Kao <momoslim@gmail.com>, 2022.
+# YuChiang Chang <chiang.c.tw@gmail.com>, 2022.
msgid ""
msgstr ""
"Project-Id-Version: Godot Engine class reference\n"
"Report-Msgid-Bugs-To: https://github.com/godotengine/godot\n"
-"PO-Revision-Date: 2022-05-03 07:13+0000\n"
-"Last-Translator: Otis Kao <momoslim@gmail.com>\n"
+"PO-Revision-Date: 2022-05-31 22:35+0000\n"
+"Last-Translator: YuChiang Chang <chiang.c.tw@gmail.com>\n"
"Language-Team: Chinese (Traditional) <https://hosted.weblate.org/projects/"
"godot-engine/godot-class-reference/zh_Hant/>\n"
"Language: zh_TW\n"
@@ -26,7 +27,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8-bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
-"X-Generator: Weblate 4.12.1\n"
+"X-Generator: Weblate 4.13-dev\n"
#: doc/tools/make_rst.py
msgid "Description"
@@ -10973,7 +10974,7 @@ msgstr ""
#: doc/classes/Basis.xml doc/classes/Quat.xml doc/classes/Transform.xml
msgid "Using 3D transforms"
-msgstr ""
+msgstr "使用 3D 變換(transforms)"
#: doc/classes/Basis.xml doc/classes/Line2D.xml doc/classes/Transform.xml
#: doc/classes/Transform2D.xml doc/classes/Vector2.xml doc/classes/Vector3.xml
@@ -17974,8 +17975,7 @@ msgid ""
"saved like any other [Resource].\n"
"They can be used to generate a self-signed [X509Certificate] via [method "
"Crypto.generate_self_signed_certificate] and as private key in [method "
-"StreamPeerSSL.accept_stream] along with the appropriate certificate.\n"
-"[b]Note:[/b] Not available in HTML5 exports."
+"StreamPeerSSL.accept_stream] along with the appropriate certificate."
msgstr ""
#: doc/classes/CryptoKey.xml
@@ -19369,7 +19369,7 @@ msgid ""
"accessing the dictionary with isn't a fixed string (such as a number or "
"variable).\n"
"[codeblock]\n"
-"export(string, \"White\", \"Yellow\", \"Orange\") var my_color\n"
+"export(String, \"White\", \"Yellow\", \"Orange\") var my_color\n"
"var points_dict = {\"White\": 50, \"Yellow\": 75, \"Orange\": 100}\n"
"func _ready():\n"
" # We can't use dot syntax here as `my_color` is a variable.\n"
@@ -25433,7 +25433,7 @@ msgid ""
"Checks if the two lines ([code]from_a[/code], [code]dir_a[/code]) and "
"([code]from_b[/code], [code]dir_b[/code]) intersect. If yes, return the "
"point of intersection as [Vector2]. If no intersection takes place, returns "
-"an empty [Variant].\n"
+"[code]null[/code].\n"
"[b]Note:[/b] The lines are specified using direction vectors, not end points."
msgstr ""
@@ -25544,8 +25544,8 @@ msgstr ""
msgid ""
"Checks if the two segments ([code]from_a[/code], [code]to_a[/code]) and "
"([code]from_b[/code], [code]to_b[/code]) intersect. If yes, return the point "
-"of intersection as [Vector2]. If no intersection takes place, returns an "
-"empty [Variant]."
+"of intersection as [Vector2]. If no intersection takes place, returns "
+"[code]null[/code]."
msgstr ""
#: doc/classes/Geometry.xml
@@ -27190,8 +27190,7 @@ msgid ""
" var res = ctx.finish()\n"
" # Print the result as hex string and array.\n"
" printt(res.hex_encode(), Array(res))\n"
-"[/codeblock]\n"
-"[b]Note:[/b] Not available in HTML5 exports."
+"[/codeblock]"
msgstr ""
#: doc/classes/HashingContext.xml
@@ -37907,8 +37906,8 @@ msgid ""
"will only be received by nodes with the same [NodePath], including the exact "
"same node name. Behaviour depends on the RPC configuration for the given "
"method, see [method rpc_config]. Methods are not exposed to RPCs by default. "
-"See also [method rset] and [method rset_config] for properties. Returns an "
-"empty [Variant].\n"
+"See also [method rset] and [method rset_config] for properties. Returns "
+"[code]null[/code].\n"
"[b]Note:[/b] You can only safely use RPCs on clients after you received the "
"[code]connected_to_server[/code] signal from the [SceneTree]. You also need "
"to keep track of the connection state, either by the [SceneTree] signals "
@@ -37930,21 +37929,20 @@ msgstr ""
#: doc/classes/Node.xml
msgid ""
"Sends a [method rpc] to a specific peer identified by [code]peer_id[/code] "
-"(see [method NetworkedMultiplayerPeer.set_target_peer]). Returns an empty "
-"[Variant]."
+"(see [method NetworkedMultiplayerPeer.set_target_peer]). Returns [code]null[/"
+"code]."
msgstr ""
#: doc/classes/Node.xml
msgid ""
-"Sends a [method rpc] using an unreliable protocol. Returns an empty "
-"[Variant]."
+"Sends a [method rpc] using an unreliable protocol. Returns [code]null[/code]."
msgstr ""
#: doc/classes/Node.xml
msgid ""
"Sends a [method rpc] to a specific peer identified by [code]peer_id[/code] "
"using an unreliable protocol (see [method NetworkedMultiplayerPeer."
-"set_target_peer]). Returns an empty [Variant]."
+"set_target_peer]). Returns [code]null[/code]."
msgstr ""
#: doc/classes/Node.xml
@@ -44866,7 +44864,24 @@ msgstr ""
msgid ""
"An array specifically designed to hold bytes. Optimized for memory usage, "
"does not fragment the memory.\n"
-"[b]Note:[/b] This type is passed by value and not by reference."
+"[b]Note:[/b] This type is passed by value and not by reference. This means "
+"that when [i]mutating[/i] a class property of type [PoolByteArray] or "
+"mutating a [PoolByteArray] within an [Array] or [Dictionary], changes will "
+"be lost:\n"
+"[codeblock]\n"
+"var array = [PoolByteArray()]\n"
+"array[0].push_back(123)\n"
+"print(array) # [[]] (empty PoolByteArray within an empty Array)\n"
+"[/codeblock]\n"
+"Instead, the entire [PoolByteArray] property must be [i]reassigned[/i] with "
+"[code]=[/code] for it to be changed:\n"
+"[codeblock]\n"
+"var array = [PoolByteArray()]\n"
+"var pool_array = array[0]\n"
+"pool_array.push_back(123)\n"
+"array[0] = pool_array\n"
+"print(array) # [[123]] (PoolByteArray with 1 element inside an Array)\n"
+"[/codeblock]"
msgstr ""
#: doc/classes/PoolByteArray.xml
@@ -44996,14 +45011,32 @@ msgid ""
msgstr ""
#: doc/classes/PoolColorArray.xml
-msgid "A pooled array of [Color]."
+msgid "A pooled array of [Color]s."
msgstr ""
#: doc/classes/PoolColorArray.xml
msgid ""
"An array specifically designed to hold [Color]. Optimized for memory usage, "
"does not fragment the memory.\n"
-"[b]Note:[/b] This type is passed by value and not by reference."
+"[b]Note:[/b] This type is passed by value and not by reference. This means "
+"that when [i]mutating[/i] a class property of type [PoolColorArray] or "
+"mutating a [PoolColorArray] within an [Array] or [Dictionary], changes will "
+"be lost:\n"
+"[codeblock]\n"
+"var array = [PoolColorArray()]\n"
+"array[0].push_back(Color(0.1, 0.2, 0.3, 0.4))\n"
+"print(array) # [[]] (empty PoolColorArray within an empty Array)\n"
+"[/codeblock]\n"
+"Instead, the entire [PoolColorArray] property must be [i]reassigned[/i] with "
+"[code]=[/code] for it to be changed:\n"
+"[codeblock]\n"
+"var array = [PoolColorArray()]\n"
+"var pool_array = array[0]\n"
+"pool_array.push_back(Color(0.1, 0.2, 0.3, 0.4))\n"
+"array[0] = pool_array\n"
+"print(array) # [[(0.1, 0.2, 0.3, 0.4)]] (PoolColorArray with 1 element "
+"inside an Array)\n"
+"[/codeblock]"
msgstr ""
#: doc/classes/PoolColorArray.xml
@@ -45040,7 +45073,24 @@ msgstr ""
msgid ""
"An array specifically designed to hold integer values ([int]). Optimized for "
"memory usage, does not fragment the memory.\n"
-"[b]Note:[/b] This type is passed by value and not by reference.\n"
+"[b]Note:[/b] This type is passed by value and not by reference. This means "
+"that when [i]mutating[/i] a class property of type [PoolIntArray] or "
+"mutating a [PoolIntArray] within an [Array] or [Dictionary], changes will be "
+"lost:\n"
+"[codeblock]\n"
+"var array = [PoolIntArray()]\n"
+"array[0].push_back(1234)\n"
+"print(array) # [[]] (empty PoolIntArray within an empty Array)\n"
+"[/codeblock]\n"
+"Instead, the entire [PoolIntArray] property must be [i]reassigned[/i] with "
+"[code]=[/code] for it to be changed:\n"
+"[codeblock]\n"
+"var array = [PoolIntArray()]\n"
+"var pool_array = array[0]\n"
+"pool_array.push_back(1234)\n"
+"array[0] = pool_array\n"
+"print(array) # [[1234]] (PoolIntArray with 1 element inside an Array)\n"
+"[/codeblock]\n"
"[b]Note:[/b] This type is limited to signed 32-bit integers, which means it "
"can only take values in the interval [code][-2^31, 2^31 - 1][/code], i.e. "
"[code][-2147483648, 2147483647][/code]. Exceeding those bounds will wrap "
@@ -45069,14 +45119,31 @@ msgid "Changes the int at the given index."
msgstr ""
#: doc/classes/PoolRealArray.xml
-msgid "A pooled array of reals ([float])."
+msgid "A pooled array of real numbers ([float])."
msgstr ""
#: doc/classes/PoolRealArray.xml
msgid ""
"An array specifically designed to hold floating-point values. Optimized for "
"memory usage, does not fragment the memory.\n"
-"[b]Note:[/b] This type is passed by value and not by reference.\n"
+"[b]Note:[/b] This type is passed by value and not by reference. This means "
+"that when [i]mutating[/i] a class property of type [PoolRealArray] or "
+"mutating a [PoolRealArray] within an [Array] or [Dictionary], changes will "
+"be lost:\n"
+"[codeblock]\n"
+"var array = [PoolRealArray()]\n"
+"array[0].push_back(12.34)\n"
+"print(array) # [[]] (empty PoolRealArray within an empty Array)\n"
+"[/codeblock]\n"
+"Instead, the entire [PoolRealArray] property must be [i]reassigned[/i] with "
+"[code]=[/code] for it to be changed:\n"
+"[codeblock]\n"
+"var array = [PoolRealArray()]\n"
+"var pool_array = array[0]\n"
+"pool_array.push_back(12.34)\n"
+"array[0] = pool_array\n"
+"print(array) # [[12.34]] (PoolRealArray with 1 element inside an Array)\n"
+"[/codeblock]\n"
"[b]Note:[/b] Unlike primitive [float]s which are 64-bit, numbers stored in "
"[PoolRealArray] are 32-bit floats. This means values stored in "
"[PoolRealArray] have lower precision compared to primitive [float]s. If you "
@@ -45101,14 +45168,31 @@ msgid "Changes the float at the given index."
msgstr ""
#: doc/classes/PoolStringArray.xml
-msgid "A pooled array of [String]."
+msgid "A pooled array of [String]s."
msgstr ""
#: doc/classes/PoolStringArray.xml
msgid ""
"An array specifically designed to hold [String]s. Optimized for memory "
"usage, does not fragment the memory.\n"
-"[b]Note:[/b] This type is passed by value and not by reference."
+"[b]Note:[/b] This type is passed by value and not by reference. This means "
+"that when [i]mutating[/i] a class property of type [PoolStringArray] or "
+"mutating a [PoolStringArray] within an [Array] or [Dictionary], changes will "
+"be lost:\n"
+"[codeblock]\n"
+"var array = [PoolStringArray()]\n"
+"array[0].push_back(\"hello\")\n"
+"print(array) # [[]] (empty PoolStringArray within an empty Array)\n"
+"[/codeblock]\n"
+"Instead, the entire [PoolStringArray] property must be [i]reassigned[/i] "
+"with [code]=[/code] for it to be changed:\n"
+"[codeblock]\n"
+"var array = [PoolStringArray()]\n"
+"var pool_array = array[0]\n"
+"pool_array.push_back(\"hello\")\n"
+"array[0] = pool_array\n"
+"print(array) # [[hello]] (PoolStringArray with 1 element inside an Array)\n"
+"[/codeblock]"
msgstr ""
#: doc/classes/PoolStringArray.xml
@@ -45136,14 +45220,32 @@ msgid "Changes the [String] at the given index."
msgstr ""
#: doc/classes/PoolVector2Array.xml
-msgid "A pooled array of [Vector2]."
+msgid "A pooled array of [Vector2]s."
msgstr ""
#: doc/classes/PoolVector2Array.xml
msgid ""
"An array specifically designed to hold [Vector2]. Optimized for memory "
"usage, does not fragment the memory.\n"
-"[b]Note:[/b] This type is passed by value and not by reference."
+"[b]Note:[/b] This type is passed by value and not by reference. This means "
+"that when [i]mutating[/i] a class property of type [PoolVector2Array] or "
+"mutating a [PoolVector2Array] within an [Array] or [Dictionary], changes "
+"will be lost:\n"
+"[codeblock]\n"
+"var array = [PoolVector2Array()]\n"
+"array[0].push_back(Vector2(12, 34))\n"
+"print(array) # [[]] (empty PoolVector2Array within an empty Array)\n"
+"[/codeblock]\n"
+"Instead, the entire [PoolVector2Array] property must be [i]reassigned[/i] "
+"with [code]=[/code] for it to be changed:\n"
+"[codeblock]\n"
+"var array = [PoolVector2Array()]\n"
+"var pool_array = array[0]\n"
+"pool_array.push_back(Vector2(12, 34))\n"
+"array[0] = pool_array\n"
+"print(array) # [[(12, 34)]] (PoolVector2Array with 1 element inside an "
+"Array)\n"
+"[/codeblock]"
msgstr ""
#: doc/classes/PoolVector2Array.xml doc/classes/TileMap.xml
@@ -45177,7 +45279,25 @@ msgstr ""
msgid ""
"An array specifically designed to hold [Vector3]. Optimized for memory "
"usage, does not fragment the memory.\n"
-"[b]Note:[/b] This type is passed by value and not by reference."
+"[b]Note:[/b] This type is passed by value and not by reference. This means "
+"that when [i]mutating[/i] a class property of type [PoolVector3Array] or "
+"mutating a [PoolVector3Array] within an [Array] or [Dictionary], changes "
+"will be lost:\n"
+"[codeblock]\n"
+"var array = [PoolVector3Array()]\n"
+"array[0].push_back(Vector3(12, 34, 56))\n"
+"print(array) # [[]] (empty PoolVector3Array within an empty Array)\n"
+"[/codeblock]\n"
+"Instead, the entire [PoolVector3Array] property must be [i]reassigned[/i] "
+"with [code]=[/code] for it to be changed:\n"
+"[codeblock]\n"
+"var array = [PoolVector3Array()]\n"
+"var pool_array = array[0]\n"
+"pool_array.push_back(Vector3(12, 34, 56))\n"
+"array[0] = pool_array\n"
+"print(array) # [[(12, 34, 56)]] (PoolVector3Array with 1 element inside an "
+"Array)\n"
+"[/codeblock]"
msgstr ""
#: doc/classes/PoolVector3Array.xml
@@ -51609,7 +51729,8 @@ msgstr ""
#: doc/classes/RigidBody.xml
msgid ""
-"Damps RigidBody's rotational forces.\n"
+"Damps RigidBody's rotational forces. If this value is different from -1.0 it "
+"will be added to any linear damp derived from the world or areas.\n"
"See [member ProjectSettings.physics/3d/default_angular_damp] for more "
"details about damping."
msgstr ""
@@ -51708,8 +51829,8 @@ msgstr ""
#: doc/classes/RigidBody.xml
msgid ""
"The body's linear damp. Cannot be less than -1.0. If this value is different "
-"from -1.0, any linear damp derived from the world or areas will be "
-"overridden.\n"
+"from -1.0 it will be added to any linear damp derived from the world or "
+"areas.\n"
"See [member ProjectSettings.physics/3d/default_linear_damp] for more details "
"about damping."
msgstr ""
@@ -51923,7 +52044,8 @@ msgstr ""
msgid ""
"Damps the body's [member angular_velocity]. If [code]-1[/code], the body "
"will use the [b]Default Angular Damp[/b] defined in [b]Project > Project "
-"Settings > Physics > 2d[/b].\n"
+"Settings > Physics > 2d[/b]. If greater than [code]-1[/code] it will be "
+"added to the default project value.\n"
"See [member ProjectSettings.physics/2d/default_angular_damp] for more "
"details about damping."
msgstr ""
@@ -52005,7 +52127,8 @@ msgstr ""
msgid ""
"Damps the body's [member linear_velocity]. If [code]-1[/code], the body will "
"use the [b]Default Linear Damp[/b] in [b]Project > Project Settings > "
-"Physics > 2d[/b].\n"
+"Physics > 2d[/b]. If greater than [code]-1[/code] it will be added to the "
+"default project value.\n"
"See [member ProjectSettings.physics/2d/default_linear_damp] for more details "
"about damping."
msgstr ""
@@ -54616,7 +54739,7 @@ msgstr ""
#: doc/classes/Spatial.xml
msgid "Introduction to 3D"
-msgstr ""
+msgstr "3D 簡介"
#: doc/classes/Spatial.xml doc/classes/Vector3.xml
msgid "All 3D Demos"
@@ -63373,7 +63496,7 @@ msgstr ""
msgid ""
"Resets a tween to its initial value (the one given, not the one before the "
"tween), given its object and property/method pair. By default, all tweens "
-"are removed, unless [code]key[/code] is specified."
+"are reset, unless [code]key[/code] is specified."
msgstr ""
#: doc/classes/Tween.xml
@@ -69007,10 +69130,11 @@ msgid "Returns the value of a certain material's parameter."
msgstr ""
#: doc/classes/VisualServer.xml
+#, fuzzy
msgid ""
-"Returns the default value for the param if available. Otherwise returns an "
-"empty [Variant]."
-msgstr ""
+"Returns the default value for the param if available. Returns [code]null[/"
+"code] otherwise."
+msgstr "計算兩個向量的外積。"
#: doc/classes/VisualServer.xml
msgid ""
@@ -73994,8 +74118,7 @@ msgid ""
"They can be used as the server certificate in [method StreamPeerSSL."
"accept_stream] (along with the proper [CryptoKey]), and to specify the only "
"certificate that should be accepted when connecting to an SSL server via "
-"[method StreamPeerSSL.connect_to_stream].\n"
-"[b]Note:[/b] Not available in HTML5 exports."
+"[method StreamPeerSSL.connect_to_stream]."
msgstr ""
#: doc/classes/X509Certificate.xml