diff options
Diffstat (limited to 'doc')
174 files changed, 22013 insertions, 8540 deletions
diff --git a/doc/classes/@GlobalScope.xml b/doc/classes/@GlobalScope.xml index f692a49ba1..0021b2f857 100644 --- a/doc/classes/@GlobalScope.xml +++ b/doc/classes/@GlobalScope.xml @@ -266,7 +266,7 @@ - Greater than 1.0 (exclusive): Ease in [/codeblock] [url=https://raw.githubusercontent.com/godotengine/godot-docs/master/img/ease_cheatsheet.png]ease() curve values cheatsheet[/url] - See also [method smoothstep]. If you need to perform more advanced transitions, use [Tween] or [AnimationPlayer]. + See also [method smoothstep]. If you need to perform more advanced transitions, use [method Tween.interpolate_value]. </description> </method> <method name="error_string"> @@ -2013,7 +2013,7 @@ <constant name="KEY_CODE_MASK" value="33554431" enum="KeyModifierMask"> Key Code mask. </constant> - <constant name="KEY_MODIFIER_MASK" value="-16777216" enum="KeyModifierMask"> + <constant name="KEY_MODIFIER_MASK" value="2130706432" enum="KeyModifierMask"> Modifier key mask. </constant> <constant name="KEY_MASK_SHIFT" value="33554432" enum="KeyModifierMask"> @@ -2405,7 +2405,8 @@ Additionally, other keywords can be included: "exp" for exponential range editing, "radians" for editing radian angles in degrees, "degrees" to hint at an angle and "noslider" to hide the slider. </constant> <constant name="PROPERTY_HINT_ENUM" value="2" enum="PropertyHint"> - Hints that an integer, float or string property is an enumerated value to pick in a list specified via a hint string such as [code]"Hello,Something,Else"[/code]. + Hints that an integer, float or string property is an enumerated value to pick in a list specified via a hint string. + The hint string is a comma separated list of names such as [code]"Hello,Something,Else"[/code]. For integer and float properties, the first name in the list has value 0, the next 1, and so on. Explicit values can also be specified by appending [code]:integer[/code] to the name, e.g. [code]"Zero,One,Three:3,Four,Six:6"[/code]. </constant> <constant name="PROPERTY_HINT_ENUM_SUGGESTION" value="3" enum="PropertyHint"> Hints that a string property can be an enumerated value to pick in a list specified via a hint string such as [code]"Hello,Something,Else"[/code]. @@ -2545,13 +2546,13 @@ The property is a translatable string. </constant> <constant name="PROPERTY_USAGE_GROUP" value="128" enum="PropertyUsageFlags"> - Used to group properties together in the editor. + Used to group properties together in the editor. See [EditorInspector]. </constant> <constant name="PROPERTY_USAGE_CATEGORY" value="256" enum="PropertyUsageFlags"> Used to categorize properties together in the editor. </constant> <constant name="PROPERTY_USAGE_SUBGROUP" value="512" enum="PropertyUsageFlags"> - Used to group properties together in the editor in a subgroup (under a group). + Used to group properties together in the editor in a subgroup (under a group). See [EditorInspector]. </constant> <constant name="PROPERTY_USAGE_NO_INSTANCE_STATE" value="2048" enum="PropertyUsageFlags"> The property does not save its state in [PackedScene]. diff --git a/doc/classes/AStar2D.xml b/doc/classes/AStar2D.xml index 2dde3ad340..4b65a64389 100644 --- a/doc/classes/AStar2D.xml +++ b/doc/classes/AStar2D.xml @@ -4,7 +4,7 @@ AStar class representation that uses 2D vectors as edges. </brief_description> <description> - This is a wrapper for the [AStar] class which uses 2D vectors instead of 3D vectors. + This is a wrapper for the [AStar3D] class which uses 2D vectors instead of 3D vectors. </description> <tutorials> </tutorials> diff --git a/doc/classes/AStar.xml b/doc/classes/AStar3D.xml index cb76fe8cf6..3087b9e363 100644 --- a/doc/classes/AStar.xml +++ b/doc/classes/AStar3D.xml @@ -1,16 +1,16 @@ <?xml version="1.0" encoding="UTF-8" ?> -<class name="AStar" inherits="RefCounted" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> +<class name="AStar3D" inherits="RefCounted" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> <brief_description> An implementation of A* to find the shortest paths among connected points in space. </brief_description> <description> A* (A star) is a computer algorithm that is widely used in pathfinding and graph traversal, the process of plotting short paths among vertices (points), passing through a given set of edges (segments). It enjoys widespread use due to its performance and accuracy. Godot's A* implementation uses points in three-dimensional space and Euclidean distances by default. You must add points manually with [method add_point] and create segments manually with [method connect_points]. Then you can test if there is a path between two points with the [method are_points_connected] function, get a path containing indices by [method get_id_path], or one containing actual coordinates with [method get_point_path]. - It is also possible to use non-Euclidean distances. To do so, create a class that extends [code]AStar[/code] and override methods [method _compute_cost] and [method _estimate_cost]. Both take two indices and return a length, as is shown in the following example. + It is also possible to use non-Euclidean distances. To do so, create a class that extends [code]AStar3D[/code] and override methods [method _compute_cost] and [method _estimate_cost]. Both take two indices and return a length, as is shown in the following example. [codeblocks] [gdscript] class MyAStar: - extends AStar + extends AStar3D func _compute_cost(u, v): return abs(u - v) @@ -19,7 +19,7 @@ return min(0, abs(u - v) - 1) [/gdscript] [csharp] - public class MyAStar : AStar + public class MyAStar : AStar3D { public override float _ComputeCost(int u, int v) { @@ -44,7 +44,7 @@ <argument index="1" name="to_id" type="int" /> <description> Called when computing the cost between two connected points. - Note that this function is hidden in the default [code]AStar[/code] class. + Note that this function is hidden in the default [code]AStar3D[/code] class. </description> </method> <method name="_estimate_cost" qualifiers="virtual const"> @@ -53,7 +53,7 @@ <argument index="1" name="to_id" type="int" /> <description> Called when estimating the cost between a point and the path's ending point. - Note that this function is hidden in the default [code]AStar[/code] class. + Note that this function is hidden in the default [code]AStar3D[/code] class. </description> </method> <method name="add_point"> @@ -66,11 +66,11 @@ The [code]weight_scale[/code] is multiplied by the result of [method _compute_cost] when determining the overall cost of traveling across a segment from a neighboring point to this point. Thus, all else being equal, the algorithm prefers points with lower [code]weight_scale[/code]s to form a path. [codeblocks] [gdscript] - var astar = AStar.new() + var astar = AStar3D.new() astar.add_point(1, Vector3(1, 0, 0), 4) # Adds the point (1, 0, 0) with weight_scale 4 and id 1 [/gdscript] [csharp] - var astar = new AStar(); + var astar = new AStar3D(); astar.AddPoint(1, new Vector3(1, 0, 0), 4); // Adds the point (1, 0, 0) with weight_scale 4 and id 1 [/csharp] [/codeblocks] @@ -101,13 +101,13 @@ Creates a segment between the given points. If [code]bidirectional[/code] is [code]false[/code], only movement from [code]id[/code] to [code]to_id[/code] is allowed, not the reverse direction. [codeblocks] [gdscript] - var astar = AStar.new() + var astar = AStar3D.new() astar.add_point(1, Vector3(1, 1, 0)) astar.add_point(2, Vector3(0, 5, 0)) astar.connect_points(1, 2, false) [/gdscript] [csharp] - var astar = new AStar(); + var astar = new AStar3D(); astar.AddPoint(1, new Vector3(1, 1, 0)); astar.AddPoint(2, new Vector3(0, 5, 0)); astar.ConnectPoints(1, 2, false); @@ -146,14 +146,14 @@ Returns the closest position to [code]to_position[/code] that resides inside a segment between two connected points. [codeblocks] [gdscript] - var astar = AStar.new() + var astar = AStar3D.new() astar.add_point(1, Vector3(0, 0, 0)) astar.add_point(2, Vector3(0, 5, 0)) astar.connect_points(1, 2) var res = astar.get_closest_position_in_segment(Vector3(3, 3, 0)) # Returns (0, 3, 0) [/gdscript] [csharp] - var astar = new AStar(); + var astar = new AStar3D(); astar.AddPoint(1, new Vector3(0, 0, 0)); astar.AddPoint(2, new Vector3(0, 5, 0)); astar.ConnectPoints(1, 2); @@ -168,10 +168,10 @@ <argument index="0" name="from_id" type="int" /> <argument index="1" name="to_id" type="int" /> <description> - Returns an array with the IDs of the points that form the path found by AStar between the given points. The array is ordered from the starting point to the ending point of the path. + Returns an array with the IDs of the points that form the path found by AStar3D between the given points. The array is ordered from the starting point to the ending point of the path. [codeblocks] [gdscript] - var astar = AStar.new() + var astar = AStar3D.new() astar.add_point(1, Vector3(0, 0, 0)) astar.add_point(2, Vector3(0, 1, 0), 1) # Default weight is 1 astar.add_point(3, Vector3(1, 1, 0)) @@ -185,7 +185,7 @@ var res = astar.get_id_path(1, 3) # Returns [1, 2, 3] [/gdscript] [csharp] - var astar = new AStar(); + var astar = new AStar3D(); astar.AddPoint(1, new Vector3(0, 0, 0)); astar.AddPoint(2, new Vector3(0, 1, 0), 1); // Default weight is 1 astar.AddPoint(3, new Vector3(1, 1, 0)); @@ -213,7 +213,7 @@ Returns an array with the IDs of the points that form the connection with the given point. [codeblocks] [gdscript] - var astar = AStar.new() + var astar = AStar3D.new() astar.add_point(1, Vector3(0, 0, 0)) astar.add_point(2, Vector3(0, 1, 0)) astar.add_point(3, Vector3(1, 1, 0)) @@ -225,7 +225,7 @@ var neighbors = astar.get_point_connections(1) # Returns [2, 3] [/gdscript] [csharp] - var astar = new AStar(); + var astar = new AStar3D(); astar.AddPoint(1, new Vector3(0, 0, 0)); astar.AddPoint(2, new Vector3(0, 1, 0)); astar.AddPoint(3, new Vector3(1, 1, 0)); @@ -255,7 +255,7 @@ <argument index="0" name="from_id" type="int" /> <argument index="1" name="to_id" type="int" /> <description> - Returns an array with the points that are in the path found by AStar between the given points. The array is ordered from the starting point to the ending point of the path. + Returns an array with the points that are in the path found by AStar3D between the given points. The array is ordered from the starting point to the ending point of the path. [b]Note:[/b] This method is not thread-safe. If called from a [Thread], it will return an empty [PackedVector3Array] and will print an error message. </description> </method> diff --git a/doc/classes/AcceptDialog.xml b/doc/classes/AcceptDialog.xml index 4836f48a57..c1e28ffba3 100644 --- a/doc/classes/AcceptDialog.xml +++ b/doc/classes/AcceptDialog.xml @@ -61,6 +61,8 @@ <member name="dialog_autowrap" type="bool" setter="set_autowrap" getter="has_autowrap" default="false"> Sets autowrapping for the text in the dialog. </member> + <member name="dialog_close_on_escape" type="bool" setter="set_close_on_escape" getter="get_close_on_escape" default="true"> + </member> <member name="dialog_hide_on_ok" type="bool" setter="set_hide_on_ok" getter="get_hide_on_ok" default="true"> If [code]true[/code], the dialog is hidden when the OK button is pressed. You can set it to [code]false[/code] if you want to do e.g. input validation when receiving the [signal confirmed] signal, and handle hiding the dialog in your own logic. [b]Note:[/b] Some nodes derived from this class can have a different default value, and potentially their own built-in logic overriding this setting. For example [FileDialog] defaults to [code]false[/code], and has its own input validation code that is called when you press OK, which eventually hides the dialog if the input is valid. As such, this property can't be used in [FileDialog] to disable hiding the dialog when pressing OK. diff --git a/doc/classes/AnimationLibrary.xml b/doc/classes/AnimationLibrary.xml new file mode 100644 index 0000000000..0a731edadd --- /dev/null +++ b/doc/classes/AnimationLibrary.xml @@ -0,0 +1,70 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<class name="AnimationLibrary" inherits="Resource" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> + <brief_description> + </brief_description> + <description> + </description> + <tutorials> + </tutorials> + <methods> + <method name="add_animation"> + <return type="int" enum="Error" /> + <argument index="0" name="name" type="StringName" /> + <argument index="1" name="animation" type="Animation" /> + <description> + </description> + </method> + <method name="get_animation" qualifiers="const"> + <return type="Animation" /> + <argument index="0" name="name" type="StringName" /> + <description> + </description> + </method> + <method name="get_animation_list" qualifiers="const"> + <return type="StringName[]" /> + <description> + </description> + </method> + <method name="has_animation" qualifiers="const"> + <return type="bool" /> + <argument index="0" name="name" type="StringName" /> + <description> + </description> + </method> + <method name="remove_animation"> + <return type="void" /> + <argument index="0" name="name" type="StringName" /> + <description> + </description> + </method> + <method name="rename_animation"> + <return type="void" /> + <argument index="0" name="name" type="StringName" /> + <argument index="1" name="newname" type="StringName" /> + <description> + </description> + </method> + </methods> + <members> + <member name="_data" type="Dictionary" setter="_set_data" getter="_get_data" default="{}"> + </member> + </members> + <signals> + <signal name="animation_added"> + <argument index="0" name="name" type="Animation" /> + <description> + </description> + </signal> + <signal name="animation_removed"> + <argument index="0" name="name" type="Animation" /> + <description> + </description> + </signal> + <signal name="animation_renamed"> + <argument index="0" name="name" type="Animation" /> + <argument index="1" name="to_name" type="Animation" /> + <description> + </description> + </signal> + </signals> +</class> diff --git a/doc/classes/AnimationPlayer.xml b/doc/classes/AnimationPlayer.xml index b1d04ce1f2..625cf3c47c 100644 --- a/doc/classes/AnimationPlayer.xml +++ b/doc/classes/AnimationPlayer.xml @@ -14,12 +14,11 @@ <link title="Third Person Shooter Demo">https://godotengine.org/asset-library/asset/678</link> </tutorials> <methods> - <method name="add_animation"> + <method name="add_animation_library"> <return type="int" enum="Error" /> <argument index="0" name="name" type="StringName" /> - <argument index="1" name="animation" type="Animation" /> + <argument index="1" name="library" type="AnimationLibrary" /> <description> - Adds [code]animation[/code] to the player accessible with the key [code]name[/code]. </description> </method> <method name="advance"> @@ -63,6 +62,12 @@ Returns the name of [code]animation[/code] or an empty string if not found. </description> </method> + <method name="find_animation_library" qualifiers="const"> + <return type="StringName" /> + <argument index="0" name="animation" type="Animation" /> + <description> + </description> + </method> <method name="get_animation" qualifiers="const"> <return type="Animation" /> <argument index="0" name="name" type="StringName" /> @@ -70,6 +75,17 @@ Returns the [Animation] with key [code]name[/code] or [code]null[/code] if not found. </description> </method> + <method name="get_animation_library" qualifiers="const"> + <return type="AnimationLibrary" /> + <argument index="0" name="name" type="StringName" /> + <description> + </description> + </method> + <method name="get_animation_library_list" qualifiers="const"> + <return type="StringName[]" /> + <description> + </description> + </method> <method name="get_animation_list" qualifiers="const"> <return type="PackedStringArray" /> <description> @@ -103,6 +119,12 @@ Returns [code]true[/code] if the [AnimationPlayer] stores an [Animation] with key [code]name[/code]. </description> </method> + <method name="has_animation_library" qualifiers="const"> + <return type="bool" /> + <argument index="0" name="name" type="StringName" /> + <description> + </description> + </method> <method name="is_playing" qualifiers="const"> <return type="bool" /> <description> @@ -138,19 +160,17 @@ [b]Note:[/b] If a looped animation is currently playing, the queued animation will never play unless the looped animation is stopped somehow. </description> </method> - <method name="remove_animation"> + <method name="remove_animation_library"> <return type="void" /> <argument index="0" name="name" type="StringName" /> <description> - Removes the animation with key [code]name[/code]. </description> </method> - <method name="rename_animation"> + <method name="rename_animation_library"> <return type="void" /> <argument index="0" name="name" type="StringName" /> <argument index="1" name="newname" type="StringName" /> <description> - Renames an existing animation with key [code]name[/code] to [code]newname[/code]. </description> </method> <method name="seek"> diff --git a/doc/classes/Array.xml b/doc/classes/Array.xml index 68cb615209..ef4f86f1a9 100644 --- a/doc/classes/Array.xml +++ b/doc/classes/Array.xml @@ -194,7 +194,7 @@ <return type="void" /> <argument index="0" name="value" type="Variant" /> <description> - Removes the first occurrence of a value from the array. To remove an element by index, use [method remove_at] instead. + Removes the first occurrence of a value from the array. If the value does not exist in the array, nothing happens. To remove an element by index, use [method remove_at] instead. [b]Note:[/b] This method acts in-place and doesn't return a value. [b]Note:[/b] On large arrays, this method will be slower if the removed element is close to the beginning of the array (index 0). This is because all elements placed after the removed element have to be reindexed. </description> @@ -513,48 +513,56 @@ <return type="bool" /> <argument index="0" name="right" type="Array" /> <description> + Compares the left operand [Array] against the [code]right[/code] [Array]. Returns [code]true[/code] if the sizes or contents of the arrays are [i]not[/i] equal, [code]false[/code] otherwise. </description> </operator> <operator name="operator +"> <return type="Array" /> <argument index="0" name="right" type="Array" /> <description> + Concatenates two [Array]s together, with the [code]right[/code] [Array] being added to the end of the [Array] specified in the left operand. For example, [code][1, 2] + [3, 4][/code] results in [code][1, 2, 3, 4][/code]. </description> </operator> <operator name="operator <"> <return type="bool" /> <argument index="0" name="right" type="Array" /> <description> + Performs a comparison for each index between the left operand [Array] and the [code]right[/code] [Array], considering the highest common index of both arrays for this comparison: Returns [code]true[/code] on the first occurrence of an element that is less, or [code]false[/code] if the element is greater. Note that depending on the type of data stored, this function may be recursive. If all elements are equal, it compares the length of both arrays and returns [code]false[/code] if the left operand [Array] has less elements, otherwise it returns [code]true[/code]. </description> </operator> <operator name="operator <="> <return type="bool" /> <argument index="0" name="right" type="Array" /> <description> + Performs a comparison for each index between the left operand [Array] and the [code]right[/code] [Array], considering the highest common index of both arrays for this comparison: Returns [code]true[/code] on the first occurrence of an element that is less, or [code]false[/code] if the element is greater. Note that depending on the type of data stored, this function may be recursive. If all elements are equal, it compares the length of both arrays and returns [code]true[/code] if the left operand [Array] has less or the same number of elements, otherwise it returns [code]false[/code]. </description> </operator> <operator name="operator =="> <return type="bool" /> <argument index="0" name="right" type="Array" /> <description> + Compares the left operand [Array] against the [code]right[/code] [Array]. Returns [code]true[/code] if the sizes and contents of the arrays are equal, [code]false[/code] otherwise. </description> </operator> <operator name="operator >"> <return type="bool" /> <argument index="0" name="right" type="Array" /> <description> + Performs a comparison for each index between the left operand [Array] and the [code]right[/code] [Array], considering the highest common index of both arrays for this comparison: Returns [code]true[/code] on the first occurrence of an element that is greater, or [code]false[/code] if the element is less. Note that depending on the type of data stored, this function may be recursive. If all elements are equal, it compares the length of both arrays and returns [code]true[/code] if the [code]right[/code] [Array] has more elements, otherwise it returns [code]false[/code]. </description> </operator> <operator name="operator >="> <return type="bool" /> <argument index="0" name="right" type="Array" /> <description> + Performs a comparison for each index between the left operand [Array] and the [code]right[/code] [Array], considering the highest common index of both arrays for this comparison: Returns [code]true[/code] on the first occurrence of an element that is greater, or [code]false[/code] if the element is less. Note that depending on the type of data stored, this function may be recursive. If all elements are equal, it compares the length of both arrays and returns [code]true[/code] if the [code]right[/code] [Array] has more or the same number of elements, otherwise it returns [code]false[/code]. </description> </operator> <operator name="operator []"> <return type="void" /> <argument index="0" name="index" type="int" /> <description> + Returns a reference to the element of type [Variant] at the specified location. Arrays start at index 0. [code]index[/code] can be a zero or positive value to start from the beginning, or a negative value to start from the end. Out-of-bounds array access causes a run-time error, which will result in an error being printed and the project execution pausing if run from the editor. </description> </operator> </operators> diff --git a/doc/classes/AspectRatioContainer.xml b/doc/classes/AspectRatioContainer.xml index 742a7276d4..e7847ba05c 100644 --- a/doc/classes/AspectRatioContainer.xml +++ b/doc/classes/AspectRatioContainer.xml @@ -7,6 +7,7 @@ Arranges child controls in a way to preserve their aspect ratio automatically whenever the container is resized. Solves the problem where the container size is dynamic and the contents' size needs to adjust accordingly without losing proportions. </description> <tutorials> + <link title="GUI containers">$DOCS_URL/tutorials/ui/gui_containers.html</link> </tutorials> <members> <member name="alignment_horizontal" type="int" setter="set_alignment_horizontal" getter="get_alignment_horizontal" enum="AspectRatioContainer.AlignmentMode" default="1"> diff --git a/doc/classes/BaseMaterial3D.xml b/doc/classes/BaseMaterial3D.xml index ae7b0afaa7..4b6f6eec67 100644 --- a/doc/classes/BaseMaterial3D.xml +++ b/doc/classes/BaseMaterial3D.xml @@ -63,6 +63,9 @@ <member name="albedo_tex_force_srgb" type="bool" setter="set_flag" getter="get_flag" default="false"> Forces a conversion of the [member albedo_texture] from sRGB space to linear space. </member> + <member name="albedo_tex_msdf" type="bool" setter="set_flag" getter="get_flag" default="false"> + Enables multichannel signed distance field rendering shader. Use [member msdf_pixel_range] and [member msdf_outline_size] to configure MSDF paramenters. + </member> <member name="albedo_texture" type="Texture2D" setter="set_texture" getter="get_texture"> Texture to multiply by [member albedo_color]. Used for basic texturing of objects. </member> @@ -243,6 +246,12 @@ <member name="metallic_texture_channel" type="int" setter="set_metallic_texture_channel" getter="get_metallic_texture_channel" enum="BaseMaterial3D.TextureChannel" default="0"> Specifies the channel of the [member metallic_texture] in which the metallic information is stored. This is useful when you store the information for multiple effects in a single texture. For example if you stored metallic in the red channel, roughness in the blue, and ambient occlusion in the green you could reduce the number of textures you use. </member> + <member name="msdf_outline_size" type="float" setter="set_msdf_outline_size" getter="get_msdf_outline_size" default="0.0"> + The width of the shape outine. + </member> + <member name="msdf_pixel_range" type="float" setter="set_msdf_pixel_range" getter="get_msdf_pixel_range" default="4.0"> + The width of the range around the shape between the minimum and maximum representable signed distance. + </member> <member name="no_depth_test" type="bool" setter="set_flag" getter="get_flag" default="false"> If [code]true[/code], depth testing is disabled and the object will be drawn in render order. </member> @@ -647,7 +656,10 @@ </constant> <constant name="FLAG_PARTICLE_TRAILS_MODE" value="19" enum="Flags"> </constant> - <constant name="FLAG_MAX" value="20" enum="Flags"> + <constant name="FLAG_ALBEDO_TEXTURE_MSDF" value="20" enum="Flags"> + Enables multichannel signed distance field rendering shader. + </constant> + <constant name="FLAG_MAX" value="21" enum="Flags"> Represents the size of the [enum Flags] enum. </constant> <constant name="DIFFUSE_BURLEY" value="0" enum="DiffuseMode"> diff --git a/doc/classes/BoxContainer.xml b/doc/classes/BoxContainer.xml index 92fccaa884..c76a178368 100644 --- a/doc/classes/BoxContainer.xml +++ b/doc/classes/BoxContainer.xml @@ -7,6 +7,7 @@ Arranges child [Control] nodes vertically or horizontally, and rearranges them automatically when their minimum size changes. </description> <tutorials> + <link title="GUI containers">$DOCS_URL/tutorials/ui/gui_containers.html</link> </tutorials> <methods> <method name="add_spacer"> diff --git a/doc/classes/Button.xml b/doc/classes/Button.xml index af9724af08..d85d02fbfb 100644 --- a/doc/classes/Button.xml +++ b/doc/classes/Button.xml @@ -78,7 +78,7 @@ </member> <member name="icon" type="Texture2D" setter="set_button_icon" getter="get_button_icon"> Button's icon, if text is present the icon will be placed before the text. - To edit margin and spacing of the icon, use [theme_item hseparation] theme property and [code]content_margin_*[/code] properties of the used [StyleBox]es. + To edit margin and spacing of the icon, use [theme_item h_separation] theme property and [code]content_margin_*[/code] properties of the used [StyleBox]es. </member> <member name="icon_alignment" type="int" setter="set_icon_alignment" getter="get_icon_alignment" enum="HorizontalAlignment" default="0"> Specifies if the icon should be aligned to the left, right, or center of a button. Uses the same [enum @GlobalScope.HorizontalAlignment] constants as the text alignment. If centered, text will draw on top of the icon. @@ -133,7 +133,7 @@ <theme_item name="icon_pressed_color" data_type="color" type="Color" default="Color(1, 1, 1, 1)"> Icon modulate [Color] used when the [Button] is being pressed. </theme_item> - <theme_item name="hseparation" data_type="constant" type="int" default="2"> + <theme_item name="h_separation" data_type="constant" type="int" default="2"> The horizontal space between [Button]'s icon and text. </theme_item> <theme_item name="outline_size" data_type="constant" type="int" default="0"> diff --git a/doc/classes/Camera3D.xml b/doc/classes/Camera3D.xml index f7a0d41626..5008cd826e 100644 --- a/doc/classes/Camera3D.xml +++ b/doc/classes/Camera3D.xml @@ -192,7 +192,7 @@ The camera's projection mode. In [constant PROJECTION_PERSPECTIVE] mode, objects' Z distance from the camera's local space scales their perceived size. </member> <member name="size" type="float" setter="set_size" getter="get_size" default="1.0"> - The camera's size measured as 1/2 the width or height. Only applicable in orthogonal mode. Since [member keep_aspect] locks on axis, [code]size[/code] sets the other axis' size length. + The camera's size measured as 1/2 the width or height. Only applicable in orthogonal and frustum modes. Since [member keep_aspect] locks on axis, [code]size[/code] sets the other axis' size length. </member> <member name="v_offset" type="float" setter="set_v_offset" getter="get_v_offset" default="0.0"> The vertical (Y) offset of the camera viewport. diff --git a/doc/classes/CanvasItem.xml b/doc/classes/CanvasItem.xml index 1fe2f5a756..6cd2da520f 100644 --- a/doc/classes/CanvasItem.xml +++ b/doc/classes/CanvasItem.xml @@ -103,8 +103,9 @@ <argument index="1" name="to" type="Vector2" /> <argument index="2" name="color" type="Color" /> <argument index="3" name="width" type="float" default="1.0" /> + <argument index="4" name="antialiased" type="bool" default="false" /> <description> - Draws a line from a 2D point to another, with a given color and width. See also [method draw_multiline] and [method draw_polyline]. + Draws a line from a 2D point to another, with a given color and width. It can be optionally antialiased. See also [method draw_multiline] and [method draw_polyline]. </description> </method> <method name="draw_mesh"> @@ -191,7 +192,7 @@ <argument index="2" name="width" type="float" default="1.0" /> <argument index="3" name="antialiased" type="bool" default="false" /> <description> - Draws interconnected line segments with a uniform [code]color[/code] and [code]width[/code]. When drawing large amounts of lines, this is faster than using individual [method draw_line] calls. To draw disconnected lines, use [method draw_multiline] instead. See also [method draw_polygon]. + Draws interconnected line segments with a uniform [code]color[/code] and [code]width[/code] and optional antialiasing. When drawing large amounts of lines, this is faster than using individual [method draw_line] calls. To draw disconnected lines, use [method draw_multiline] instead. See also [method draw_polygon]. </description> </method> <method name="draw_polyline_colors"> @@ -201,7 +202,7 @@ <argument index="2" name="width" type="float" default="1.0" /> <argument index="3" name="antialiased" type="bool" default="false" /> <description> - Draws interconnected line segments with a uniform [code]width[/code] and segment-by-segment coloring. Colors assigned to line segments match by index between [code]points[/code] and [code]colors[/code]. When drawing large amounts of lines, this is faster than using individual [method draw_line] calls. To draw disconnected lines, use [method draw_multiline_colors] instead. See also [method draw_polygon]. + Draws interconnected line segments with a uniform [code]width[/code] and segment-by-segment coloring, and optional antialiasing. Colors assigned to line segments match by index between [code]points[/code] and [code]colors[/code]. When drawing large amounts of lines, this is faster than using individual [method draw_line] calls. To draw disconnected lines, use [method draw_multiline_colors] instead. See also [method draw_polygon]. </description> </method> <method name="draw_primitive"> @@ -480,9 +481,6 @@ <member name="show_behind_parent" type="bool" setter="set_draw_behind_parent" getter="is_draw_behind_parent_enabled" default="false"> If [code]true[/code], the object draws behind its parent. </member> - <member name="show_on_top" type="bool" setter="_set_on_top" getter="_is_on_top"> - If [code]true[/code], the object draws on top of its parent. - </member> <member name="texture_filter" type="int" setter="set_texture_filter" getter="get_texture_filter" enum="CanvasItem.TextureFilter" default="0"> The texture filtering mode to use on this [CanvasItem]. </member> @@ -490,7 +488,7 @@ The texture repeating mode to use on this [CanvasItem]. </member> <member name="top_level" type="bool" setter="set_as_top_level" getter="is_set_as_top_level" default="false"> - If [code]true[/code], the node will not inherit its transform from parent [CanvasItem]s. + If [code]true[/code], this [CanvasItem] will [i]not[/i] inherit its transform from parent [CanvasItem]s. Its draw order will also be changed to make it draw on top of other [CanvasItem]s that do not have [member top_level] set to [code]true[/code]. The [CanvasItem] will effectively act as if it was placed as a child of a bare [Node]. </member> <member name="use_parent_material" type="bool" setter="set_use_parent_material" getter="get_use_parent_material" default="false"> If [code]true[/code], the parent [CanvasItem]'s [member material] property is used as this one's material. diff --git a/doc/classes/CenterContainer.xml b/doc/classes/CenterContainer.xml index 08cdf64cea..f5f32bd325 100644 --- a/doc/classes/CenterContainer.xml +++ b/doc/classes/CenterContainer.xml @@ -7,6 +7,7 @@ CenterContainer keeps children controls centered. This container keeps all children to their minimum size, in the center. </description> <tutorials> + <link title="GUI containers">$DOCS_URL/tutorials/ui/gui_containers.html</link> </tutorials> <members> <member name="use_top_left" type="bool" setter="set_use_top_left" getter="is_using_top_left" default="false"> diff --git a/doc/classes/CharacterBody2D.xml b/doc/classes/CharacterBody2D.xml index 28060f6579..63d493248f 100644 --- a/doc/classes/CharacterBody2D.xml +++ b/doc/classes/CharacterBody2D.xml @@ -183,7 +183,7 @@ If [code]true[/code], during a jump against the ceiling, the body will slide, if [code]false[/code] it will be stopped and will fall vertically. </member> <member name="up_direction" type="Vector2" setter="set_up_direction" getter="get_up_direction" default="Vector2(0, -1)"> - Direction vector used to determine what is a wall and what is a floor (or a ceiling), rather than a wall, when calling [method move_and_slide]. Defaults to [code]Vector2.UP[/code]. If set to [code]Vector2(0, 0)[/code], everything is considered a wall. This is useful for topdown games. + Vector pointing upwards, used to determine what is a wall and what is a floor (or a ceiling) when calling [method move_and_slide]. Defaults to [code]Vector2.UP[/code]. As the vector will be normalized it can't be equal to [constant Vector2.ZERO], if you want all collisions to be reported as walls, consider using [constant MOTION_MODE_FLOATING] as [member motion_mode]. </member> <member name="velocity" type="Vector2" setter="set_velocity" getter="get_velocity" default="Vector2(0, 0)"> Current velocity vector in pixels per second, used and modified during calls to [method move_and_slide]. diff --git a/doc/classes/CharacterBody3D.xml b/doc/classes/CharacterBody3D.xml index 4895e2cff7..6c5cd62fe1 100644 --- a/doc/classes/CharacterBody3D.xml +++ b/doc/classes/CharacterBody3D.xml @@ -168,7 +168,7 @@ If [code]true[/code], during a jump against the ceiling, the body will slide, if [code]false[/code] it will be stopped and will fall vertically. </member> <member name="up_direction" type="Vector3" setter="set_up_direction" getter="get_up_direction" default="Vector3(0, 1, 0)"> - Direction vector used to determine what is a wall and what is a floor (or a ceiling), rather than a wall, when calling [method move_and_slide]. Defaults to [code]Vector3.UP[/code]. If set to [code]Vector3(0, 0, 0)[/code], everything is considered a wall. This is useful for topdown games. + Vector pointing upwards, used to determine what is a wall and what is a floor (or a ceiling) when calling [method move_and_slide]. Defaults to [code]Vector3.UP[/code]. As the vector will be normalized it can't be equal to [constant Vector3.ZERO], if you want all collisions to be reported as walls, consider using [constant MOTION_MODE_FLOATING] as [member motion_mode]. </member> <member name="velocity" type="Vector3" setter="set_velocity" getter="get_velocity" default="Vector3(0, 0, 0)"> Current velocity vector (typically meters per second), used and modified during calls to [method move_and_slide]. diff --git a/doc/classes/CheckBox.xml b/doc/classes/CheckBox.xml index 606f5ca51f..6483faf763 100644 --- a/doc/classes/CheckBox.xml +++ b/doc/classes/CheckBox.xml @@ -35,10 +35,10 @@ <theme_item name="font_pressed_color" data_type="color" type="Color" default="Color(1, 1, 1, 1)"> The [CheckBox] text's font color when it's pressed. </theme_item> - <theme_item name="check_vadjust" data_type="constant" type="int" default="0"> + <theme_item name="check_v_adjust" data_type="constant" type="int" default="0"> The vertical offset used when rendering the check icons (in pixels). </theme_item> - <theme_item name="hseparation" data_type="constant" type="int" default="4"> + <theme_item name="h_separation" data_type="constant" type="int" default="4"> The separation between the check icon and the text (in pixels). </theme_item> <theme_item name="outline_size" data_type="constant" type="int" default="0"> @@ -54,23 +54,25 @@ The check icon to display when the [CheckBox] is checked. </theme_item> <theme_item name="checked_disabled" data_type="icon" type="Texture2D"> - The check icon to display when the [CheckBox] is checked and disabled. + The check icon to display when the [CheckBox] is checked and is disabled. </theme_item> <theme_item name="radio_checked" data_type="icon" type="Texture2D"> - If the [CheckBox] is configured as a radio button, the icon to display when the [CheckBox] is checked. + The check icon to display when the [CheckBox] is configured as a radio button and is checked. </theme_item> <theme_item name="radio_checked_disabled" data_type="icon" type="Texture2D"> + The check icon to display when the [CheckBox] is configured as a radio button, is disabled, and is unchecked. </theme_item> <theme_item name="radio_unchecked" data_type="icon" type="Texture2D"> - If the [CheckBox] is configured as a radio button, the icon to display when the [CheckBox] is unchecked. + The check icon to display when the [CheckBox] is configured as a radio button and is unchecked. </theme_item> <theme_item name="radio_unchecked_disabled" data_type="icon" type="Texture2D"> + The check icon to display when the [CheckBox] is configured as a radio button, is disabled, and is unchecked. </theme_item> <theme_item name="unchecked" data_type="icon" type="Texture2D"> The check icon to display when the [CheckBox] is unchecked. </theme_item> <theme_item name="unchecked_disabled" data_type="icon" type="Texture2D"> - The check icon to display when the [CheckBox] is unchecked and disabled. + The check icon to display when the [CheckBox] is unchecked and is disabled. </theme_item> <theme_item name="disabled" data_type="style" type="StyleBox"> The [StyleBox] to display as a background when the [CheckBox] is disabled. diff --git a/doc/classes/CheckButton.xml b/doc/classes/CheckButton.xml index c6ebfaf4b0..51b0411f4e 100644 --- a/doc/classes/CheckButton.xml +++ b/doc/classes/CheckButton.xml @@ -35,10 +35,10 @@ <theme_item name="font_pressed_color" data_type="color" type="Color" default="Color(1, 1, 1, 1)"> The [CheckButton] text's font color when it's pressed. </theme_item> - <theme_item name="check_vadjust" data_type="constant" type="int" default="0"> + <theme_item name="check_v_adjust" data_type="constant" type="int" default="0"> The vertical offset used when rendering the toggle icons (in pixels). </theme_item> - <theme_item name="hseparation" data_type="constant" type="int" default="4"> + <theme_item name="h_separation" data_type="constant" type="int" default="4"> The separation between the toggle icon and the text (in pixels). </theme_item> <theme_item name="outline_size" data_type="constant" type="int" default="0"> diff --git a/doc/classes/ClassDB.xml b/doc/classes/ClassDB.xml index 835588b293..43210de686 100644 --- a/doc/classes/ClassDB.xml +++ b/doc/classes/ClassDB.xml @@ -23,13 +23,6 @@ Returns whether the specified [code]class[/code] is available or not. </description> </method> - <method name="class_get_category" qualifiers="const"> - <return type="StringName" /> - <argument index="0" name="class" type="StringName" /> - <description> - Returns a category associated with the class for use in documentation and the Asset Library. Debug mode required. - </description> - </method> <method name="class_get_enum_constants" qualifiers="const"> <return type="PackedStringArray" /> <argument index="0" name="class" type="StringName" /> diff --git a/doc/classes/CollisionObject2D.xml b/doc/classes/CollisionObject2D.xml index 99bf9f7853..5d025985cc 100644 --- a/doc/classes/CollisionObject2D.xml +++ b/doc/classes/CollisionObject2D.xml @@ -5,6 +5,7 @@ </brief_description> <description> CollisionObject2D is the base class for 2D physics objects. It can hold any number of 2D collision [Shape2D]s. Each shape must be assigned to a [i]shape owner[/i]. The CollisionObject2D can have any number of shape owners. Shape owners are not nodes and do not appear in the editor, but are accessible through code using the [code]shape_owner_*[/code] methods. + [b]Note:[/b] Only collisions between objects within the same canvas ([Viewport] canvas or [CanvasLayer]) are supported. The behavior of collisions between objects in different canvases is undefined. </description> <tutorials> </tutorials> diff --git a/doc/classes/Color.xml b/doc/classes/Color.xml index e30d448a27..7b8a57ed22 100644 --- a/doc/classes/Color.xml +++ b/doc/classes/Color.xml @@ -183,6 +183,7 @@ <description> Returns the luminance of the color in the [code][0.0, 1.0][/code] range. This is useful when determining light or dark color. Colors with a luminance smaller than 0.5 can be generally considered dark. + [b]Note:[/b] [method get_luminance] relies on the colour being in the linear color space to return an accurate relative luminance value. If the color is in the sRGB color space, use [method srgb_to_linear] to convert it to the linear color space first. </description> </method> <method name="get_named_color" qualifiers="static"> @@ -320,6 +321,18 @@ [/codeblocks] </description> </method> + <method name="linear_to_srgb" qualifiers="const"> + <return type="Color" /> + <description> + Returns the color converted to the [url=https://en.wikipedia.org/wiki/SRGB]sRGB[/url] color space. This assumes the original color is in the linear color space. See also [method srgb_to_linear] which performs the opposite operation. + </description> + </method> + <method name="srgb_to_linear" qualifiers="const"> + <return type="Color" /> + <description> + Returns the color converted to the linear color space. This assumes the original color is in the sRGB color space. See also [method linear_to_srgb] which performs the opposite operation. + </description> + </method> <method name="to_abgr32" qualifiers="const"> <return type="int" /> <description> diff --git a/doc/classes/ColorPickerButton.xml b/doc/classes/ColorPickerButton.xml index f5e752578e..53d35c1a3d 100644 --- a/doc/classes/ColorPickerButton.xml +++ b/doc/classes/ColorPickerButton.xml @@ -74,7 +74,7 @@ <theme_item name="font_pressed_color" data_type="color" type="Color" default="Color(0.8, 0.8, 0.8, 1)"> Text [Color] used when the [ColorPickerButton] is being pressed. </theme_item> - <theme_item name="hseparation" data_type="constant" type="int" default="2"> + <theme_item name="h_separation" data_type="constant" type="int" default="2"> The horizontal space between [ColorPickerButton]'s icon and text. </theme_item> <theme_item name="outline_size" data_type="constant" type="int" default="0"> diff --git a/doc/classes/Container.xml b/doc/classes/Container.xml index 11b20b5654..900997d119 100644 --- a/doc/classes/Container.xml +++ b/doc/classes/Container.xml @@ -8,6 +8,7 @@ A Control can inherit this to create custom container classes. </description> <tutorials> + <link title="GUI containers">$DOCS_URL/tutorials/ui/gui_containers.html</link> </tutorials> <methods> <method name="_get_allowed_size_flags_horizontal" qualifiers="virtual const"> diff --git a/doc/classes/Control.xml b/doc/classes/Control.xml index 3163ac5610..d084bd4db9 100644 --- a/doc/classes/Control.xml +++ b/doc/classes/Control.xml @@ -665,7 +665,8 @@ <method name="is_drag_successful" qualifiers="const"> <return type="bool" /> <description> - Returns [code]true[/code] if drag operation is successful. + Returns [code]true[/code] if a drag operation is successful. Alternative to [method Viewport.gui_is_drag_successful]. + Best used with [constant Node.NOTIFICATION_DRAG_END]. </description> </method> <method name="is_layout_rtl" qualifiers="const"> @@ -943,9 +944,9 @@ </method> <method name="warp_mouse"> <return type="void" /> - <argument index="0" name="to_position" type="Vector2" /> + <argument index="0" name="position" type="Vector2" /> <description> - Moves the mouse cursor to [code]to_position[/code], relative to [member position] of this [Control]. + Moves the mouse cursor to [code]position[/code], relative to [member position] of this [Control]. </description> </method> </methods> @@ -1358,27 +1359,5 @@ <constant name="TEXT_DIRECTION_RTL" value="2" enum="TextDirection"> Right-to-left text writing direction. </constant> - <constant name="STRUCTURED_TEXT_DEFAULT" value="0" enum="StructuredTextParser"> - Use default behavior. Same as [code]STRUCTURED_TEXT_NONE[/code] unless specified otherwise in the control description. - </constant> - <constant name="STRUCTURED_TEXT_URI" value="1" enum="StructuredTextParser"> - BiDi override for URI. - </constant> - <constant name="STRUCTURED_TEXT_FILE" value="2" enum="StructuredTextParser"> - BiDi override for file path. - </constant> - <constant name="STRUCTURED_TEXT_EMAIL" value="3" enum="StructuredTextParser"> - BiDi override for email. - </constant> - <constant name="STRUCTURED_TEXT_LIST" value="4" enum="StructuredTextParser"> - BiDi override for lists. - Structured text options: list separator [code]String[/code]. - </constant> - <constant name="STRUCTURED_TEXT_NONE" value="5" enum="StructuredTextParser"> - Use default Unicode BiDi algorithm. - </constant> - <constant name="STRUCTURED_TEXT_CUSTOM" value="6" enum="StructuredTextParser"> - User defined structured text BiDi override function. - </constant> </constants> </class> diff --git a/doc/classes/Directory.xml b/doc/classes/Directory.xml index 7d72cd867c..bd16fd3936 100644 --- a/doc/classes/Directory.xml +++ b/doc/classes/Directory.xml @@ -196,7 +196,8 @@ <return type="int" enum="Error" /> <argument index="0" name="path" type="String" /> <description> - Deletes the target file or an empty directory. The argument can be relative to the current directory, or an absolute path. If the target directory is not empty, the operation will fail. + Permanently deletes the target file or an empty directory. The argument can be relative to the current directory, or an absolute path. If the target directory is not empty, the operation will fail. + If you don't want to delete the file/directory permanently, use [method OS.move_to_trash] instead. Returns one of the [enum Error] code constants ([code]OK[/code] on success). </description> </method> diff --git a/doc/classes/DisplayServer.xml b/doc/classes/DisplayServer.xml index 5a67170086..ede3a1e199 100644 --- a/doc/classes/DisplayServer.xml +++ b/doc/classes/DisplayServer.xml @@ -136,7 +136,74 @@ <argument index="1" name="label" type="String" /> <argument index="2" name="callback" type="Callable" /> <argument index="3" name="tag" type="Variant" default="null" /> + <argument index="4" name="accelerator" type="int" enum="Key" default="0" /> + <argument index="5" name="index" type="int" default="-1" /> <description> + Adds a new checkable item with text [code]label[/code] to the global menu with ID [code]menu_root[/code]. + [b]Note:[/b] This method is implemented on macOS. + [b]Supported system menu IDs:[/b] + [codeblock] + "" - Main menu (macOS). + "_dock" - Dock popup menu (macOS). + [/codeblock] + </description> + </method> + <method name="global_menu_add_icon_check_item"> + <return type="void" /> + <argument index="0" name="menu_root" type="String" /> + <argument index="1" name="icon" type="Texture2D" /> + <argument index="2" name="label" type="String" /> + <argument index="3" name="callback" type="Callable" /> + <argument index="4" name="tag" type="Variant" default="null" /> + <argument index="5" name="accelerator" type="int" enum="Key" default="0" /> + <argument index="6" name="index" type="int" default="-1" /> + <description> + Adds a new checkable item with text [code]label[/code] and icon [code]icon[/code] to the global menu with ID [code]menu_root[/code]. + [b]Note:[/b] This method is implemented on macOS. + [b]Supported system menu IDs:[/b] + [codeblock] + "" - Main menu (macOS). + "_dock" - Dock popup menu (macOS). + [/codeblock] + </description> + </method> + <method name="global_menu_add_icon_item"> + <return type="void" /> + <argument index="0" name="menu_root" type="String" /> + <argument index="1" name="icon" type="Texture2D" /> + <argument index="2" name="label" type="String" /> + <argument index="3" name="callback" type="Callable" /> + <argument index="4" name="tag" type="Variant" default="null" /> + <argument index="5" name="accelerator" type="int" enum="Key" default="0" /> + <argument index="6" name="index" type="int" default="-1" /> + <description> + Adds a new item with text [code]label[/code] and icon [code]icon[/code] to the global menu with ID [code]menu_root[/code]. + [b]Note:[/b] This method is implemented on macOS. + [b]Supported system menu IDs:[/b] + [codeblock] + "" - Main menu (macOS). + "_dock" - Dock popup menu (macOS). + [/codeblock] + </description> + </method> + <method name="global_menu_add_icon_radio_check_item"> + <return type="void" /> + <argument index="0" name="menu_root" type="String" /> + <argument index="1" name="icon" type="Texture2D" /> + <argument index="2" name="label" type="String" /> + <argument index="3" name="callback" type="Callable" /> + <argument index="4" name="tag" type="Variant" default="null" /> + <argument index="5" name="accelerator" type="int" enum="Key" default="0" /> + <argument index="6" name="index" type="int" default="-1" /> + <description> + Adds a new radio-checkable item with text [code]label[/code] and icon [code]icon[/code] to the global menu with ID [code]menu_root[/code]. + [b]Note:[/b] Radio-checkable items just display a checkmark, but don't have any built-in checking behavior and must be checked/unchecked manually. See [method global_menu_set_item_checked] for more info on how to control it. + [b]Note:[/b] This method is implemented on macOS. + [b]Supported system menu IDs:[/b] + [codeblock] + "" - Main menu (macOS). + "_dock" - Dock popup menu (macOS). + [/codeblock] </description> </method> <method name="global_menu_add_item"> @@ -145,13 +212,70 @@ <argument index="1" name="label" type="String" /> <argument index="2" name="callback" type="Callable" /> <argument index="3" name="tag" type="Variant" default="null" /> + <argument index="4" name="accelerator" type="int" enum="Key" default="0" /> + <argument index="5" name="index" type="int" default="-1" /> <description> + Adds a new item with text [code]label[/code] to the global menu with ID [code]menu_root[/code]. + [b]Note:[/b] This method is implemented on macOS. + [b]Supported system menu IDs:[/b] + [codeblock] + "" - Main menu (macOS). + "_dock" - Dock popup menu (macOS). + [/codeblock] + </description> + </method> + <method name="global_menu_add_multistate_item"> + <return type="void" /> + <argument index="0" name="menu_root" type="String" /> + <argument index="1" name="labe" type="String" /> + <argument index="2" name="max_states" type="int" /> + <argument index="3" name="default_state" type="int" /> + <argument index="4" name="callback" type="Callable" /> + <argument index="5" name="tag" type="Variant" default="null" /> + <argument index="6" name="accelerator" type="int" enum="Key" default="0" /> + <argument index="7" name="index" type="int" default="-1" /> + <description> + Adds a new item with text [code]label[/code] to the global menu with ID [code]menu_root[/code]. + Contrarily to normal binary items, multistate items can have more than two states, as defined by [code]max_states[/code]. Each press or activate of the item will increase the state by one. The default value is defined by [code]default_state[/code]. + [b]Note:[/b] This method is implemented on macOS. + [b]Supported system menu IDs:[/b] + [codeblock] + "" - Main menu (macOS). + "_dock" - Dock popup menu (macOS). + [/codeblock] + </description> + </method> + <method name="global_menu_add_radio_check_item"> + <return type="void" /> + <argument index="0" name="menu_root" type="String" /> + <argument index="1" name="label" type="String" /> + <argument index="2" name="callback" type="Callable" /> + <argument index="3" name="tag" type="Variant" default="null" /> + <argument index="4" name="accelerator" type="int" enum="Key" default="0" /> + <argument index="5" name="index" type="int" default="-1" /> + <description> + Adds a new radio-checkable item with text [code]label[/code] to the global menu with ID [code]menu_root[/code]. + [b]Note:[/b] Radio-checkable items just display a checkmark, but don't have any built-in checking behavior and must be checked/unchecked manually. See [method global_menu_set_item_checked] for more info on how to control it. + [b]Note:[/b] This method is implemented on macOS. + [b]Supported system menu IDs:[/b] + [codeblock] + "" - Main menu (macOS). + "_dock" - Dock popup menu (macOS). + [/codeblock] </description> </method> <method name="global_menu_add_separator"> <return type="void" /> <argument index="0" name="menu_root" type="String" /> + <argument index="1" name="index" type="int" default="-1" /> <description> + Adds a separator between items to the global menu with ID [code]menu_root[/code]. Separators also occupy an index. + [b]Note:[/b] This method is implemented on macOS. + [b]Supported system menu IDs:[/b] + [codeblock] + "" - Main menu (macOS). + "_dock" - Dock popup menu (macOS). + [/codeblock] </description> </method> <method name="global_menu_add_submenu_item"> @@ -159,41 +283,127 @@ <argument index="0" name="menu_root" type="String" /> <argument index="1" name="label" type="String" /> <argument index="2" name="submenu" type="String" /> + <argument index="3" name="index" type="int" default="-1" /> <description> + Adds an item that will act as a submenu of the global menu [code]menu_root[/code]. The [code]submenu[/code] argument is the ID of the global menu root that will be shown when the item is clicked. + [b]Note:[/b] This method is implemented on macOS. + [b]Supported system menu IDs:[/b] + [codeblock] + "" - Main menu (macOS). + "_dock" - Dock popup menu (macOS). + [/codeblock] </description> </method> <method name="global_menu_clear"> <return type="void" /> <argument index="0" name="menu_root" type="String" /> <description> + Removes all items from the global menu with ID [code]menu_root[/code]. + [b]Note:[/b] This method is implemented on macOS. + [b]Supported system menu IDs:[/b] + [codeblock] + "" - Main menu (macOS). + "_dock" - Dock popup menu (macOS). + [/codeblock] </description> </method> - <method name="global_menu_get_item_callback"> + <method name="global_menu_get_item_accelerator" qualifiers="const"> + <return type="int" enum="Key" /> + <argument index="0" name="menu_root" type="String" /> + <argument index="1" name="idx" type="int" /> + <description> + Returns the accelerator of the item at index [code]idx[/code]. Accelerators are special combinations of keys that activate the item, no matter which control is focused. + [b]Note:[/b] This method is implemented on macOS. + </description> + </method> + <method name="global_menu_get_item_callback" qualifiers="const"> <return type="Callable" /> <argument index="0" name="menu_root" type="String" /> <argument index="1" name="idx" type="int" /> <description> + Returns the callback of the item at index [code]idx[/code]. + [b]Note:[/b] This method is implemented on macOS. </description> </method> - <method name="global_menu_get_item_submenu"> + <method name="global_menu_get_item_icon" qualifiers="const"> + <return type="Texture2D" /> + <argument index="0" name="menu_root" type="String" /> + <argument index="1" name="idx" type="int" /> + <description> + Returns the icon of the item at index [code]idx[/code]. + [b]Note:[/b] This method is implemented on macOS. + </description> + </method> + <method name="global_menu_get_item_index_from_tag" qualifiers="const"> + <return type="int" /> + <argument index="0" name="menu_root" type="String" /> + <argument index="1" name="tag" type="Variant" /> + <description> + Returns the index of the item with the specified [code]tag[/code]. Index is automatically assigned to each item by the engine. Index can not be set manually. + [b]Note:[/b] This method is implemented on macOS. + </description> + </method> + <method name="global_menu_get_item_index_from_text" qualifiers="const"> + <return type="int" /> + <argument index="0" name="menu_root" type="String" /> + <argument index="1" name="text" type="String" /> + <description> + Returns the index of the item with the specified [code]text[/code]. Index is automatically assigned to each item by the engine. Index can not be set manually. + [b]Note:[/b] This method is implemented on macOS. + </description> + </method> + <method name="global_menu_get_item_max_states" qualifiers="const"> + <return type="int" /> + <argument index="0" name="menu_root" type="String" /> + <argument index="1" name="idx" type="int" /> + <description> + Returns number of states of an multistate item. See [method global_menu_add_multistate_item] for details. + [b]Note:[/b] This method is implemented on macOS. + </description> + </method> + <method name="global_menu_get_item_state" qualifiers="const"> + <return type="int" /> + <argument index="0" name="menu_root" type="String" /> + <argument index="1" name="idx" type="int" /> + <description> + Returns the state of an multistate item. See [method global_menu_add_multistate_item] for details. + [b]Note:[/b] This method is implemented on macOS. + </description> + </method> + <method name="global_menu_get_item_submenu" qualifiers="const"> <return type="String" /> <argument index="0" name="menu_root" type="String" /> <argument index="1" name="idx" type="int" /> <description> + Returns the submenu ID of the item at index [code]idx[/code]. See [method global_menu_add_submenu_item] for more info on how to add a submenu. + [b]Note:[/b] This method is implemented on macOS. </description> </method> - <method name="global_menu_get_item_tag"> + <method name="global_menu_get_item_tag" qualifiers="const"> <return type="Variant" /> <argument index="0" name="menu_root" type="String" /> <argument index="1" name="idx" type="int" /> <description> + Returns the metadata of the specified item, which might be of any type. You can set it with [method global_menu_set_item_tag], which provides a simple way of assigning context data to items. + [b]Note:[/b] This method is implemented on macOS. + </description> + </method> + <method name="global_menu_get_item_text" qualifiers="const"> + <return type="String" /> + <argument index="0" name="menu_root" type="String" /> + <argument index="1" name="idx" type="int" /> + <description> + Returns the text of the item at index [code]idx[/code]. + [b]Note:[/b] This method is implemented on macOS. </description> </method> - <method name="global_menu_get_item_text"> + <method name="global_menu_get_item_tooltip" qualifiers="const"> <return type="String" /> <argument index="0" name="menu_root" type="String" /> <argument index="1" name="idx" type="int" /> <description> + Returns the tooltip associated with the specified index index [code]idx[/code]. + [b]Note:[/b] This method is implemented on macOS. </description> </method> <method name="global_menu_is_item_checkable" qualifiers="const"> @@ -201,6 +411,8 @@ <argument index="0" name="menu_root" type="String" /> <argument index="1" name="idx" type="int" /> <description> + Returns [code]true[/code] if the item at index [code]idx[/code] is checkable in some way, i.e. if it has a checkbox or radio button. + [b]Note:[/b] This method is implemented on macOS. </description> </method> <method name="global_menu_is_item_checked" qualifiers="const"> @@ -208,6 +420,28 @@ <argument index="0" name="menu_root" type="String" /> <argument index="1" name="idx" type="int" /> <description> + Returns [code]true[/code] if the item at index [code]idx[/code] is checked. + [b]Note:[/b] This method is implemented on macOS. + </description> + </method> + <method name="global_menu_is_item_disabled" qualifiers="const"> + <return type="bool" /> + <argument index="0" name="menu_root" type="String" /> + <argument index="1" name="idx" type="int" /> + <description> + Returns [code]true[/code] if the item at index [code]idx[/code] is disabled. When it is disabled it can't be selected, or its action invoked. + See [method global_menu_set_item_disabled] for more info on how to disable an item. + [b]Note:[/b] This method is implemented on macOS. + </description> + </method> + <method name="global_menu_is_item_radio_checkable" qualifiers="const"> + <return type="bool" /> + <argument index="0" name="menu_root" type="String" /> + <argument index="1" name="idx" type="int" /> + <description> + Returns [code]true[/code] if the item at index [code]idx[/code] has radio button-style checkability. + [b]Note:[/b] This is purely cosmetic; you must add the logic for checking/unchecking items in radio groups. + [b]Note:[/b] This method is implemented on macOS. </description> </method> <method name="global_menu_remove_item"> @@ -215,6 +449,19 @@ <argument index="0" name="menu_root" type="String" /> <argument index="1" name="idx" type="int" /> <description> + Removes the item at index [code]idx[/code] from the global menu [code]menu_root[/code]. + [b]Note:[/b] The indices of items after the removed item will be shifted by one. + [b]Note:[/b] This method is implemented on macOS. + </description> + </method> + <method name="global_menu_set_item_accelerator"> + <return type="void" /> + <argument index="0" name="menu_root" type="String" /> + <argument index="1" name="idx" type="int" /> + <argument index="2" name="keycode" type="int" enum="Key" /> + <description> + Sets the accelerator of the item at index [code]idx[/code]. + [b]Note:[/b] This method is implemented on macOS. </description> </method> <method name="global_menu_set_item_callback"> @@ -223,6 +470,8 @@ <argument index="1" name="idx" type="int" /> <argument index="2" name="callback" type="Callable" /> <description> + Sets the callback of the item at index [code]idx[/code]. Callback is emitted when an item is pressed or its accelerator is activated. + [b]Note:[/b] This method is implemented on macOS. </description> </method> <method name="global_menu_set_item_checkable"> @@ -231,6 +480,8 @@ <argument index="1" name="idx" type="int" /> <argument index="2" name="checkable" type="bool" /> <description> + Sets whether the item at index [code]idx[/code] has a checkbox. If [code]false[/code], sets the type of the item to plain text. + [b]Note:[/b] This method is implemented on macOS. </description> </method> <method name="global_menu_set_item_checked"> @@ -239,6 +490,60 @@ <argument index="1" name="idx" type="int" /> <argument index="2" name="checked" type="bool" /> <description> + Sets the checkstate status of the item at index [code]idx[/code]. + [b]Note:[/b] This method is implemented on macOS. + </description> + </method> + <method name="global_menu_set_item_disabled"> + <return type="void" /> + <argument index="0" name="menu_root" type="String" /> + <argument index="1" name="idx" type="int" /> + <argument index="2" name="disabled" type="bool" /> + <description> + Enables/disables the item at index [code]idx[/code]. When it is disabled, it can't be selected and its action can't be invoked. + [b]Note:[/b] This method is implemented on macOS. + </description> + </method> + <method name="global_menu_set_item_icon"> + <return type="void" /> + <argument index="0" name="menu_root" type="String" /> + <argument index="1" name="idx" type="int" /> + <argument index="2" name="icon" type="Texture2D" /> + <description> + Replaces the [Texture2D] icon of the specified [code]idx[/code]. + [b]Note:[/b] This method is implemented on macOS. + [b]Note:[/b] This method is not supported by macOS "_dock" menu items. + </description> + </method> + <method name="global_menu_set_item_max_states"> + <return type="void" /> + <argument index="0" name="menu_root" type="String" /> + <argument index="1" name="idx" type="int" /> + <argument index="2" name="max_states" type="int" /> + <description> + Sets number of state of an multistate item. See [method global_menu_add_multistate_item] for details. + [b]Note:[/b] This method is implemented on macOS. + </description> + </method> + <method name="global_menu_set_item_radio_checkable"> + <return type="void" /> + <argument index="0" name="menu_root" type="String" /> + <argument index="1" name="idx" type="int" /> + <argument index="2" name="checkable" type="bool" /> + <description> + Sets the type of the item at the specified index [code]idx[/code] to radio button. If [code]false[/code], sets the type of the item to plain text + [b]Note:[/b] This is purely cosmetic; you must add the logic for checking/unchecking items in radio groups. + [b]Note:[/b] This method is implemented on macOS. + </description> + </method> + <method name="global_menu_set_item_state"> + <return type="void" /> + <argument index="0" name="menu_root" type="String" /> + <argument index="1" name="idx" type="int" /> + <argument index="2" name="state" type="int" /> + <description> + Sets the state of an multistate item. See [method global_menu_add_multistate_item] for details. + [b]Note:[/b] This method is implemented on macOS. </description> </method> <method name="global_menu_set_item_submenu"> @@ -247,6 +552,8 @@ <argument index="1" name="idx" type="int" /> <argument index="2" name="submenu" type="String" /> <description> + Sets the submenu of the item at index [code]idx[/code]. The submenu is the ID of a global menu root that would be shown when the item is clicked. + [b]Note:[/b] This method is implemented on macOS. </description> </method> <method name="global_menu_set_item_tag"> @@ -255,6 +562,8 @@ <argument index="1" name="idx" type="int" /> <argument index="2" name="tag" type="Variant" /> <description> + Sets the metadata of an item, which may be of any type. You can later get it with [method global_menu_get_item_tag], which provides a simple way of assigning context data to items. + [b]Note:[/b] This method is implemented on macOS. </description> </method> <method name="global_menu_set_item_text"> @@ -263,6 +572,18 @@ <argument index="1" name="idx" type="int" /> <argument index="2" name="text" type="String" /> <description> + Sets the text of the item at index [code]idx[/code]. + [b]Note:[/b] This method is implemented on macOS. + </description> + </method> + <method name="global_menu_set_item_tooltip"> + <return type="void" /> + <argument index="0" name="menu_root" type="String" /> + <argument index="1" name="idx" type="int" /> + <argument index="2" name="tooltip" type="String" /> + <description> + Sets the [String] tooltip of the item at the specified index [code]idx[/code]. + [b]Note:[/b] This method is implemented on macOS. </description> </method> <method name="has_feature" qualifiers="const"> @@ -349,13 +670,6 @@ <description> </description> </method> - <method name="mouse_warp_to_position"> - <return type="void" /> - <argument index="0" name="position" type="Vector2i" /> - <description> - Sets the mouse cursor position to the given [code]position[/code]. - </description> - </method> <method name="process_events"> <return type="void" /> <description> @@ -500,6 +814,93 @@ [b]Note:[/b] This method is implemented on Windows. </description> </method> + <method name="tts_get_voices" qualifiers="const"> + <return type="Array" /> + <description> + Returns an [Array] of voice information dictionaries. + Each [Dictionary] contains two [String] entries: + - [code]name[/code] is voice name. + - [code]id[/code] is voice identifier. + - [code]language[/code] is language code in [code]lang_Variant[/code] format. [code]lang[/code] part is a 2 or 3-letter code based on the ISO-639 standard, in lowercase. And [code]Variant[/code] part is an engine dependent string describing country, region or/and dialect. + [b]Note:[/b] This method is implemented on Android, iOS, HTML5, Linux, macOS, and Windows. + </description> + </method> + <method name="tts_get_voices_for_language" qualifiers="const"> + <return type="PackedStringArray" /> + <argument index="0" name="language" type="String" /> + <description> + Returns an [PackedStringArray] of voice identifiers for the [code]language[/code]. + [b]Note:[/b] This method is implemented on Android, iOS, HTML5, Linux, macOS, and Windows. + </description> + </method> + <method name="tts_is_paused" qualifiers="const"> + <return type="bool" /> + <description> + Returns [code]true[/code] if the synthesizer is in a paused state. + [b]Note:[/b] This method is implemented on Android, iOS, HTML5, Linux, macOS, and Windows. + </description> + </method> + <method name="tts_is_speaking" qualifiers="const"> + <return type="bool" /> + <description> + Returns [code]true[/code] if the synthesizer is generating speech, or have utterance waiting in the queue. + [b]Note:[/b] This method is implemented on Android, iOS, HTML5, Linux, macOS, and Windows. + </description> + </method> + <method name="tts_pause"> + <return type="void" /> + <description> + Puts the synthesizer into a paused state. + [b]Note:[/b] This method is implemented on Android, iOS, HTML5, Linux, macOS, and Windows. + </description> + </method> + <method name="tts_resume"> + <return type="void" /> + <description> + Resumes the synthesizer if it was paused. + [b]Note:[/b] This method is implemented on Android, iOS, HTML5, Linux, macOS, and Windows. + </description> + </method> + <method name="tts_set_utterance_callback"> + <return type="void" /> + <argument index="0" name="event" type="int" enum="DisplayServer.TTSUtteranceEvent" /> + <argument index="1" name="callable" type="Callable" /> + <description> + Adds a callback, which is called when the utterance has started, finished, canceled or reached a text boundary. + - [code]TTS_UTTERANCE_STARTED[/code], [code]TTS_UTTERANCE_ENDED[/code], and [code]TTS_UTTERANCE_CANCELED[/code] callable's method should take one [int] parameter, the utterance id. + - [code]TTS_UTTERANCE_BOUNDARY[/code] callable's method should take two [int] parameters, the index of the character and the utterance id. + [b]Note:[/b] The granularity of the boundary callbacks is engine dependent. + [b]Note:[/b] This method is implemented on Android, iOS, HTML5, Linux, macOS, and Windows. + </description> + </method> + <method name="tts_speak"> + <return type="void" /> + <argument index="0" name="text" type="String" /> + <argument index="1" name="voice" type="String" /> + <argument index="2" name="volume" type="int" default="50" /> + <argument index="3" name="pitch" type="float" default="1.0" /> + <argument index="4" name="rate" type="float" default="1.0" /> + <argument index="5" name="utterance_id" type="int" default="0" /> + <argument index="6" name="interrupt" type="bool" default="false" /> + <description> + Adds an utterance to the queue. If [code]interrupt[/code] is [code]true[/code], the queue is cleared first. + - [code]voice[/code] identifier is one of the [code]"id"[/code] values returned by [method tts_get_voices] or one of the values returned by [method tts_get_voices_for_language]. + - [code]volume[/code] ranges from [code]0[/code] (lowest) to [code]100[/code] (highest). + - [code]pitch[/code] ranges from [code]0.0[/code] (lowest) to [code]2.0[/code] (highest), [code]1.0[/code] is default pitch for the current voice. + - [code]rate[/code] ranges from [code]0.1[/code] (lowest) to [code]10.0[/code] (highest), [code]1.0[/code] is a normal speaking rate. Other values act as a percentage relative. + - [code]utterance_id[/code] is passed as a parameter to the callback functions. + [b]Note:[/b] On Windows and Linux, utterance [code]text[/code] can use SSML markup. SSML support is engine and voice dependent. If the engine does not support SSML, you should strip out all XML markup before calling [method tts_speak]. + [b]Note:[/b] The granularity of pitch, rate, and volume is engine and voice dependent. Values may be truncated. + [b]Note:[/b] This method is implemented on Android, iOS, HTML5, Linux, macOS, and Windows. + </description> + </method> + <method name="tts_stop"> + <return type="void" /> + <description> + Stops synthesis in progress and removes all utterances from the queue. + [b]Note:[/b] This method is implemented on Android, iOS, HTML5, Linux, macOS, and Windows. + </description> + </method> <method name="virtual_keyboard_get_height" qualifiers="const"> <return type="int" /> <description> @@ -531,6 +932,13 @@ [b]Note:[/b] This method is implemented on Android, iOS and UWP. </description> </method> + <method name="warp_mouse"> + <return type="void" /> + <argument index="0" name="position" type="Vector2i" /> + <description> + Sets the mouse cursor position to the given [code]position[/code] relative to an origin at the upper left corner of the currently focused game Window Manager window. + </description> + </method> <method name="window_attach_instance_id"> <return type="void" /> <argument index="0" name="instance_id" type="int" /> @@ -863,6 +1271,9 @@ </constant> <constant name="FEATURE_CLIPBOARD_PRIMARY" value="18" enum="Feature"> </constant> + <constant name="FEATURE_TEXT_TO_SPEECH" value="19" enum="Feature"> + Display server supports text-to-speech. See [code]tts_*[/code] methods. + </constant> <constant name="MOUSE_MODE_VISIBLE" value="0" enum="MouseMode"> Makes the mouse cursor visible if it is hidden. </constant> @@ -966,7 +1377,7 @@ Window can't be focused. No-focus window will ignore all input, except mouse clicks. </constant> <constant name="WINDOW_FLAG_POPUP" value="5" enum="WindowFlags"> - Window is part of menu or [OptionButton] dropdown. This flag can't be changed when window is visible. An active popup window will exclusivly receive all input, without stealing focus from its parent. Popup windows are automatically closed when uses click outside it, or when an application is switched. Popup window must have [constant WINDOW_FLAG_TRANSPARENT] set. + Window is part of menu or [OptionButton] dropdown. This flag can't be changed when window is visible. An active popup window will exclusively receive all input, without stealing focus from its parent. Popup windows are automatically closed when uses click outside it, or when an application is switched. Popup window must have [constant WINDOW_FLAG_TRANSPARENT] set. </constant> <constant name="WINDOW_FLAG_MAX" value="6" enum="WindowFlags"> </constant> @@ -1014,5 +1425,17 @@ - MacOS: [code]NSView*[/code] for the window main view. - iOS: [code]UIView*[/code] for the window main view. </constant> + <constant name="TTS_UTTERANCE_STARTED" value="0" enum="TTSUtteranceEvent"> + Utterance has begun to be spoken. + </constant> + <constant name="TTS_UTTERANCE_ENDED" value="1" enum="TTSUtteranceEvent"> + Utterance was successfully finished. + </constant> + <constant name="TTS_UTTERANCE_CANCELED" value="2" enum="TTSUtteranceEvent"> + Utterance was canceled, or TTS service was unable to process it. + </constant> + <constant name="TTS_UTTERANCE_BOUNDARY" value="3" enum="TTSUtteranceEvent"> + Utterance reached a word or sentence boundary. + </constant> </constants> </class> diff --git a/doc/classes/EditorFileSystemImportFormatSupportQuery.xml b/doc/classes/EditorFileSystemImportFormatSupportQuery.xml new file mode 100644 index 0000000000..8431a3a7ef --- /dev/null +++ b/doc/classes/EditorFileSystemImportFormatSupportQuery.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<class name="EditorFileSystemImportFormatSupportQuery" inherits="RefCounted" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> + <brief_description> + Used to query and configure import format support. + </brief_description> + <description> + This class is used to query and configure a certain import format. It is used in conjuntion with asset format import plugins. + </description> + <tutorials> + </tutorials> + <methods> + <method name="_get_file_extensions" qualifiers="virtual const"> + <return type="PackedStringArray" /> + <description> + Return the file extensions supported. + </description> + </method> + <method name="_is_active" qualifiers="virtual const"> + <return type="bool" /> + <description> + Return whether this importer is active. + </description> + </method> + <method name="_query" qualifiers="virtual const"> + <return type="bool" /> + <description> + Query support. Return false if import must not continue. + </description> + </method> + </methods> +</class> diff --git a/doc/classes/EditorInspector.xml b/doc/classes/EditorInspector.xml index cd249ed319..365e1f13a9 100644 --- a/doc/classes/EditorInspector.xml +++ b/doc/classes/EditorInspector.xml @@ -1,11 +1,15 @@ <?xml version="1.0" encoding="UTF-8" ?> <class name="EditorInspector" inherits="ScrollContainer" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> <brief_description> - A tab used to edit properties of the selected node. + A control used to edit properties of an object. </brief_description> <description> - The editor inspector is by default located on the right-hand side of the editor. It's used to edit the properties of the selected node. For example, you can select a node such as the Sprite2D then edit its transform through the inspector tool. The editor inspector is an essential tool in the game development workflow. - [b]Note:[/b] This class shouldn't be instantiated directly. Instead, access the singleton using [method EditorInterface.get_inspector]. + This is the control that implements property editing in the editor's Settings dialogs, the Inspector dock, etc. To get the [EditorInspector] used in the editor's Inspector dock, use [method EditorInterface.get_inspector]. + [EditorInspector] will show properties in the same order as the array returned by [method Object.get_property_list]. + If a property's name is path-like (i.e. if it contains forward slashes), [EditorInspector] will create nested sections for "directories" along the path. For example, if a property is named [code]highlighting/gdscript/node_path_color[/code], it will be shown as "Node Path Color" inside the "GDScript" section nested inside the "Highlighting" section. + If a property has [constant @GlobalScope.PROPERTY_USAGE_GROUP] usage, it will group subsequent properties whose name starts with the property's hint string. The group ends when a property does not start with that hint string or when a new group starts. An empty group name effectively ends the current group. [EditorInspector] will create a top-level section for each group. For example, if a property with group usage is named [code]Collide With[/code] and its hint string is [code]collide_with_[/code], a subsequent [code]collide_with_area[/code] property will be shown as "Area" inside the "Collide With" section. + If a property has [constant @GlobalScope.PROPERTY_USAGE_SUBGROUP] usage, a subgroup will be created in the same way as a group, and a second-level section will be created for each subgroup. + [b]Note:[/b] Unlike sections created from path-like property names, [EditorInspector] won't capitalize the name for sections created from groups. So properties with group usage usually use capitalized names instead of snake_cased names. </description> <tutorials> </tutorials> diff --git a/doc/classes/EditorPlugin.xml b/doc/classes/EditorPlugin.xml index d28bf80a1e..7bbb2ae26c 100644 --- a/doc/classes/EditorPlugin.xml +++ b/doc/classes/EditorPlugin.xml @@ -470,6 +470,12 @@ Returns the [EditorInterface] object that gives you control over Godot editor's window and its functionalities. </description> </method> + <method name="get_export_as_menu"> + <return type="PopupMenu" /> + <description> + Returns the [PopupMenu] under [b]Scene > Export As...[/b]. + </description> + </method> <method name="get_script_create_dialog"> <return type="ScriptCreateDialog" /> <description> diff --git a/doc/classes/EditorSceneFormatImporter.xml b/doc/classes/EditorSceneFormatImporter.xml index 63c1498f20..0290d7207d 100644 --- a/doc/classes/EditorSceneFormatImporter.xml +++ b/doc/classes/EditorSceneFormatImporter.xml @@ -29,16 +29,8 @@ <method name="_get_option_visibility" qualifiers="virtual const"> <return type="Variant" /> <argument index="0" name="path" type="String" /> - <argument index="1" name="option" type="String" /> - <description> - </description> - </method> - <method name="_import_animation" qualifiers="virtual"> - <return type="Animation" /> - <argument index="0" name="path" type="String" /> - <argument index="1" name="flags" type="int" /> - <argument index="2" name="options" type="Dictionary" /> - <argument index="3" name="bake_fps" type="int" /> + <argument index="1" name="for_animation" type="bool" /> + <argument index="2" name="option" type="String" /> <description> </description> </method> @@ -63,5 +55,7 @@ </constant> <constant name="IMPORT_USE_NAMED_SKIN_BINDS" value="16"> </constant> + <constant name="IMPORT_DISCARD_MESHES_AND_MATERIALS" value="32"> + </constant> </constants> </class> diff --git a/doc/classes/EditorSceneFormatImporterFBX.xml b/doc/classes/EditorSceneFormatImporterFBX.xml deleted file mode 100644 index 21aebd4507..0000000000 --- a/doc/classes/EditorSceneFormatImporterFBX.xml +++ /dev/null @@ -1,32 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" ?> -<class name="EditorSceneFormatImporterFBX" inherits="EditorSceneFormatImporter" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> - <brief_description> - FBX 3D asset importer. - </brief_description> - <description> - This is an FBX 3D asset importer with full support for most FBX features. - If exporting a FBX scene from Autodesk Maya, use these FBX export settings: - [codeblock] - - Smoothing Groups - - Smooth Mesh - - Triangluate (for meshes with blend shapes) - - Bake Animation - - Resample All - - Deformed Models - - Skins - - Blend Shapes - - Curve Filters - - Constant Key Reducer - - Auto Tangents Only - - *Do not check* Constraints (as it will break the file) - - Can check Embed Media (embeds textures into the exported FBX file) - - Note that when importing embedded media, the texture and mesh will be a single immutable file. - - You will have to re-export then re-import the FBX if the texture has changed. - - Units: Centimeters - - Up Axis: Y - - Binary format in FBX 2017 - [/codeblock] - </description> - <tutorials> - </tutorials> -</class> diff --git a/doc/classes/EditorSceneFormatImporterGLTF.xml b/doc/classes/EditorSceneFormatImporterGLTF.xml deleted file mode 100644 index 6478e853eb..0000000000 --- a/doc/classes/EditorSceneFormatImporterGLTF.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" ?> -<class name="EditorSceneFormatImporterGLTF" inherits="EditorSceneFormatImporter" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> - <brief_description> - </brief_description> - <description> - </description> - <tutorials> - </tutorials> -</class> diff --git a/doc/classes/EditorScenePostImportPlugin.xml b/doc/classes/EditorScenePostImportPlugin.xml index de9d5e067a..0fdbd5db1e 100644 --- a/doc/classes/EditorScenePostImportPlugin.xml +++ b/doc/classes/EditorScenePostImportPlugin.xml @@ -34,7 +34,8 @@ <method name="_get_internal_option_visibility" qualifiers="virtual const"> <return type="Variant" /> <argument index="0" name="category" type="int" /> - <argument index="1" name="option" type="String" /> + <argument index="1" name="for_animation" type="bool" /> + <argument index="2" name="option" type="String" /> <description> Return true or false whether a given option should be visible. Return null to ignore. </description> @@ -42,7 +43,8 @@ <method name="_get_option_visibility" qualifiers="virtual const"> <return type="Variant" /> <argument index="0" name="path" type="String" /> - <argument index="1" name="option" type="String" /> + <argument index="1" name="for_animation" type="bool" /> + <argument index="2" name="option" type="String" /> <description> Return true or false whether a given option should be visible. Return null to ignore. </description> diff --git a/doc/classes/Engine.xml b/doc/classes/Engine.xml index af4df321c1..506992e3af 100644 --- a/doc/classes/Engine.xml +++ b/doc/classes/Engine.xml @@ -94,6 +94,17 @@ [/codeblock] </description> </method> + <method name="get_script_language" qualifiers="const"> + <return type="ScriptLanguage" /> + <argument index="0" name="index" type="int" /> + <description> + </description> + </method> + <method name="get_script_language_count"> + <return type="int" /> + <description> + </description> + </method> <method name="get_singleton" qualifiers="const"> <return type="Object" /> <argument index="0" name="name" type="StringName" /> @@ -167,6 +178,12 @@ Returns [code]true[/code] if the game is inside the fixed process and physics phase of the game loop. </description> </method> + <method name="register_script_language"> + <return type="void" /> + <argument index="0" name="language" type="ScriptLanguage" /> + <description> + </description> + </method> <method name="register_singleton"> <return type="void" /> <argument index="0" name="name" type="StringName" /> diff --git a/doc/classes/Environment.xml b/doc/classes/Environment.xml index c61cd0a361..9da360915b 100644 --- a/doc/classes/Environment.xml +++ b/doc/classes/Environment.xml @@ -51,16 +51,17 @@ The global color saturation value of the rendered scene (default value is 1). Effective only if [code]adjustment_enabled[/code] is [code]true[/code]. </member> <member name="ambient_light_color" type="Color" setter="set_ambient_light_color" getter="get_ambient_light_color" default="Color(0, 0, 0, 1)"> - The ambient light's [Color]. + The ambient light's [Color]. Only effective if [member ambient_light_sky_contribution] is lower than [code]1.0[/code] (exclusive). </member> <member name="ambient_light_energy" type="float" setter="set_ambient_light_energy" getter="get_ambient_light_energy" default="1.0"> - The ambient light's energy. The higher the value, the stronger the light. + The ambient light's energy. The higher the value, the stronger the light. Only effective if [member ambient_light_sky_contribution] is lower than [code]1.0[/code] (exclusive). </member> <member name="ambient_light_sky_contribution" type="float" setter="set_ambient_light_sky_contribution" getter="get_ambient_light_sky_contribution" default="1.0"> Defines the amount of light that the sky brings on the scene. A value of [code]0.0[/code] means that the sky's light emission has no effect on the scene illumination, thus all ambient illumination is provided by the ambient light. On the contrary, a value of [code]1.0[/code] means that [i]all[/i] the light that affects the scene is provided by the sky, thus the ambient light parameter has no effect on the scene. [b]Note:[/b] [member ambient_light_sky_contribution] is internally clamped between [code]0.0[/code] and [code]1.0[/code] (inclusive). </member> <member name="ambient_light_source" type="int" setter="set_ambient_source" getter="get_ambient_source" enum="Environment.AmbientSource" default="0"> + The ambient light source to use for rendering materials and global illumination. </member> <member name="auto_exposure_enabled" type="bool" setter="set_tonemap_auto_exposure_enabled" getter="is_tonemap_auto_exposure_enabled" default="false"> If [code]true[/code], enables the tonemapping auto exposure mode of the scene renderer. If [code]true[/code], the renderer will automatically determine the exposure setting to adapt to the scene's illumination and the observed light. @@ -97,6 +98,7 @@ This is useful to simulate [url=https://en.wikipedia.org/wiki/Aerial_perspective]aerial perspective[/url] in large scenes with low density fog. However, it is not very useful for high-density fog, as the sky will shine through. When set to [code]1.0[/code], the fog color comes completely from the [Sky]. If set to [code]0.0[/code], aerial perspective is disabled. </member> <member name="fog_density" type="float" setter="set_fog_density" getter="get_fog_density" default="0.001"> + The exponential fog density to use. Higher values result in a more dense fog. </member> <member name="fog_enabled" type="bool" setter="set_fog_enabled" getter="is_fog_enabled" default="false"> If [code]true[/code], fog effects are enabled. @@ -108,10 +110,13 @@ The density used to increase fog as height decreases. To make fog increase as height increases, use a negative value. </member> <member name="fog_light_color" type="Color" setter="set_fog_light_color" getter="get_fog_light_color" default="Color(0.5, 0.6, 0.7, 1)"> + The fog's color. </member> <member name="fog_light_energy" type="float" setter="set_fog_light_energy" getter="get_fog_light_energy" default="1.0"> + The fog's brightness. Higher values result in brighter fog. </member> <member name="fog_sun_scatter" type="float" setter="set_fog_sun_scatter" getter="get_fog_sun_scatter" default="0.0"> + If set above [code]0.0[/code], renders the scene's directional light(s) in the fog color depending on the view angle. This can be used to give the impression that the sun is "piercing" through the fog. </member> <member name="glow_blend_mode" type="int" setter="set_glow_blend_mode" getter="get_glow_blend_mode" enum="Environment.GlowBlendMode" default="2"> The glow blending mode. @@ -132,7 +137,7 @@ The lower threshold of the HDR glow. When using the OpenGL renderer (which doesn't support HDR), this needs to be below [code]1.0[/code] for glow to be visible. A value of [code]0.9[/code] works well in this case. </member> <member name="glow_intensity" type="float" setter="set_glow_intensity" getter="get_glow_intensity" default="0.8"> - The overall brightness multiplier of the glow effect. When using the OpenGL renderer, this should be increased to 1.5 to compensate for the lack of HDR rendering. + The overall brightness multiplier of the glow effect. When using the OpenGL renderer, this should be increased to [code]1.5[/code] to compensate for the lack of HDR rendering. </member> <member name="glow_levels/1" type="float" setter="set_glow_level" getter="get_glow_level" default="0.0"> The intensity of the 1st level of glow. This is the most "local" level (least blurry). @@ -163,6 +168,7 @@ How strong of an impact the [member glow_map] should have on the overall glow effect. A strength of [code]0.0[/code] means the glow map has no effect on the overall glow effect. A strength of [code]1.0[/code] means the glow has a full effect on the overall glow effect (and can turn off glow entirely in specific areas of the screen if the glow map has black areas). </member> <member name="glow_mix" type="float" setter="set_glow_mix" getter="get_glow_mix" default="0.05"> + When using the [constant GLOW_BLEND_MODE_MIX] [member glow_blend_mode], this controls how much the source image is blended with the glow layer. A value of [code]0.0[/code] makes the glow rendering invisible, while a value of [code]1.0[/code] is equivalent to [constant GLOW_BLEND_MODE_REPLACE]. </member> <member name="glow_normalized" type="bool" setter="set_glow_normalized" getter="is_glow_normalized" default="false"> If [code]true[/code], glow levels will be normalized so that summed together their intensities equal [code]1.0[/code]. @@ -171,10 +177,15 @@ The strength of the glow effect. This applies as the glow is blurred across the screen and increases the distance and intensity of the blur. When using the OpenGL renderer, this should be increased to 1.3 to compensate for the lack of HDR rendering. </member> <member name="reflected_light_source" type="int" setter="set_reflection_source" getter="get_reflection_source" enum="Environment.ReflectionSource" default="0"> + The reflected (specular) light source. </member> <member name="sdfgi_bounce_feedback" type="float" setter="set_sdfgi_bounce_feedback" getter="get_sdfgi_bounce_feedback" default="0.5"> + The energy multiplier applied to light every time it bounces from a surface when using SDFGI. Values greater than [code]0.0[/code] will simulate multiple bounces, resulting in a more realistic appearance. Increasing [member sdfgi_bounce_feedback] generally has no performance impact. See also [member sdfgi_energy]. + [b]Note:[/b] Values greater than [code]0.5[/code] can cause infinite feedback loops and should be avoided in scenes with bright materials. + [b]Note:[/b] If [member sdfgi_bounce_feedback] is [code]0.0[/code], indirect lighting will not be represented in reflections as light will only bounce one time. </member> <member name="sdfgi_cascade0_distance" type="float" setter="set_sdfgi_cascade0_distance" getter="get_sdfgi_cascade0_distance" default="12.8"> + [b]Note:[/b] This property is linked to [member sdfgi_min_cell_size] and [member sdfgi_max_distance]. Changing its value will automatically change those properties as well. </member> <member name="sdfgi_cascades" type="int" setter="set_sdfgi_cascades" getter="get_sdfgi_cascades" default="4"> The number of cascades to use for SDFGI (between 1 and 8). A higher number of cascades allows displaying SDFGI further away while preserving detail up close, at the cost of performance. When using SDFGI on small-scale levels, [member sdfgi_cascades] can often be decreased between [code]1[/code] and [code]4[/code] to improve performance. @@ -185,42 +196,39 @@ [b]Note:[/b] Meshes should have sufficiently thick walls to avoid light leaks (avoid one-sided walls). For interior levels, enclose your level geometry in a sufficiently large box and bridge the loops to close the mesh. </member> <member name="sdfgi_energy" type="float" setter="set_sdfgi_energy" getter="get_sdfgi_energy" default="1.0"> + The energy multiplier to use for SDFGI. Higher values will result in brighter indirect lighting and reflections. See also [member sdfgi_bounce_feedback]. </member> <member name="sdfgi_max_distance" type="float" setter="set_sdfgi_max_distance" getter="get_sdfgi_max_distance" default="204.8"> + The maximum distance at which SDFGI is visible. Beyond this distance, environment lighting or other sources of GI such as [ReflectionProbe] will be used as a fallback. + [b]Note:[/b] This property is linked to [member sdfgi_min_cell_size] and [member sdfgi_cascade0_distance]. Changing its value will automatically change those properties as well. </member> <member name="sdfgi_min_cell_size" type="float" setter="set_sdfgi_min_cell_size" getter="get_sdfgi_min_cell_size" default="0.2"> + The cell size to use for the closest SDFGI cascade (in 3D units). Lower values allow SDFGI to be more precise up close, at the cost of making SDFGI updates more demanding. This can cause stuttering when the camera moves fast. Higher values allow SDFGI to cover more ground, while also reducing the performance impact of SDFGI updates. + [b]Note:[/b] This property is linked to [member sdfgi_max_distance] and [member sdfgi_cascade0_distance]. Changing its value will automatically change those properties as well. </member> <member name="sdfgi_normal_bias" type="float" setter="set_sdfgi_normal_bias" getter="get_sdfgi_normal_bias" default="1.1"> + The normal bias to use for SDFGI probes. Increasing this value can reduce visible streaking artifacts on sloped surfaces, at the cost of increased light leaking. </member> <member name="sdfgi_probe_bias" type="float" setter="set_sdfgi_probe_bias" getter="get_sdfgi_probe_bias" default="1.1"> + The constant bias to use for SDFGI probes. Increasing this value can reduce visible streaking artifacts on sloped surfaces, at the cost of increased light leaking. </member> <member name="sdfgi_read_sky_light" type="bool" setter="set_sdfgi_read_sky_light" getter="is_sdfgi_reading_sky_light" default="true"> + If [code]true[/code], SDFGI takes the environment lighting into account. This should be set to [code]false[/code] for interior scenes. </member> <member name="sdfgi_use_occlusion" type="bool" setter="set_sdfgi_use_occlusion" getter="is_sdfgi_using_occlusion" default="false"> + If [code]true[/code], SDFGI uses an occlusion detection approach to reduce light leaking. Occlusion may however introduce dark blotches in certain spots, which may be undesired in mostly outdoor scenes. [member sdfgi_use_occlusion] has a performance impact and should only be enabled when needed. </member> <member name="sdfgi_y_scale" type="int" setter="set_sdfgi_y_scale" getter="get_sdfgi_y_scale" enum="Environment.SDFGIYScale" default="1"> + The Y scale to use for SDFGI cells. Lower values will result in SDFGI cells being packed together more closely on the Y axis. This is used to balance between quality and covering a lot of vertical ground. [member sdfgi_y_scale] should be set depending on how vertical your scene is (and how fast your camera may move on the Y axis). </member> <member name="sky" type="Sky" setter="set_sky" getter="get_sky"> The [Sky] resource used for this [Environment]. </member> <member name="sky_custom_fov" type="float" setter="set_sky_custom_fov" getter="get_sky_custom_fov" default="0.0"> + If set to a value greater than [code]0.0[/code], overrides the field of view to use for sky rendering. If set to [code]0.0[/code], the same FOV as the current [Camera3D] is used for sky rendering. </member> <member name="sky_rotation" type="Vector3" setter="set_sky_rotation" getter="get_sky_rotation" default="Vector3(0, 0, 0)"> - </member> - <member name="ss_reflections_depth_tolerance" type="float" setter="set_ssr_depth_tolerance" getter="get_ssr_depth_tolerance" default="0.2"> - The depth tolerance for screen-space reflections. - </member> - <member name="ss_reflections_enabled" type="bool" setter="set_ssr_enabled" getter="is_ssr_enabled" default="false"> - If [code]true[/code], screen-space reflections are enabled. Screen-space reflections are more accurate than reflections from [VoxelGI]s or [ReflectionProbe]s, but are slower and can't reflect surfaces occluded by others. - </member> - <member name="ss_reflections_fade_in" type="float" setter="set_ssr_fade_in" getter="get_ssr_fade_in" default="0.15"> - The fade-in distance for screen-space reflections. Affects the area from the reflected material to the screen-space reflection). Only positive values are valid (negative values will be clamped to [code]0.0[/code]). - </member> - <member name="ss_reflections_fade_out" type="float" setter="set_ssr_fade_out" getter="get_ssr_fade_out" default="2.0"> - The fade-out distance for screen-space reflections. Affects the area from the screen-space reflection to the "global" reflection. Only positive values are valid (negative values will be clamped to [code]0.0[/code]). - </member> - <member name="ss_reflections_max_steps" type="int" setter="set_ssr_max_steps" getter="get_ssr_max_steps" default="64"> - The maximum number of steps for screen-space reflections. Higher values are slower. + The rotation to use for sky rendering. </member> <member name="ssao_ao_channel_affect" type="float" setter="set_ssao_ao_channel_affect" getter="get_ssao_ao_channel_affect" default="0.0"> The screen-space ambient occlusion intensity on materials that have an AO texture defined. Values higher than [code]0[/code] will make the SSAO effect visible in areas darkened by AO textures. @@ -264,14 +272,29 @@ <member name="ssil_sharpness" type="float" setter="set_ssil_sharpness" getter="get_ssil_sharpness" default="0.98"> The amount that the screen-space indirect lighting effect is allowed to blur over the edges of objects. Setting too high will result in aliasing around the edges of objects. Setting too low will make object edges appear blurry. </member> + <member name="ssr_depth_tolerance" type="float" setter="set_ssr_depth_tolerance" getter="get_ssr_depth_tolerance" default="0.2"> + The depth tolerance for screen-space reflections. + </member> + <member name="ssr_enabled" type="bool" setter="set_ssr_enabled" getter="is_ssr_enabled" default="false"> + If [code]true[/code], screen-space reflections are enabled. Screen-space reflections are more accurate than reflections from [VoxelGI]s or [ReflectionProbe]s, but are slower and can't reflect surfaces occluded by others. + </member> + <member name="ssr_fade_in" type="float" setter="set_ssr_fade_in" getter="get_ssr_fade_in" default="0.15"> + The fade-in distance for screen-space reflections. Affects the area from the reflected material to the screen-space reflection). Only positive values are valid (negative values will be clamped to [code]0.0[/code]). + </member> + <member name="ssr_fade_out" type="float" setter="set_ssr_fade_out" getter="get_ssr_fade_out" default="2.0"> + The fade-out distance for screen-space reflections. Affects the area from the screen-space reflection to the "global" reflection. Only positive values are valid (negative values will be clamped to [code]0.0[/code]). + </member> + <member name="ssr_max_steps" type="int" setter="set_ssr_max_steps" getter="get_ssr_max_steps" default="64"> + The maximum number of steps for screen-space reflections. Higher values are slower. + </member> <member name="tonemap_exposure" type="float" setter="set_tonemap_exposure" getter="get_tonemap_exposure" default="1.0"> - The default exposure used for tonemapping. + The default exposure used for tonemapping. Higher values result in a brighter image. See also [member tonemap_white]. </member> <member name="tonemap_mode" type="int" setter="set_tonemapper" getter="get_tonemapper" enum="Environment.ToneMapper" default="0"> The tonemapping mode to use. Tonemapping is the process that "converts" HDR values to be suitable for rendering on a LDR display. (Godot doesn't support rendering on HDR displays yet.) </member> <member name="tonemap_white" type="float" setter="set_tonemap_white" getter="get_tonemap_white" default="1.0"> - The white reference value for tonemapping. Only effective if the [member tonemap_mode] isn't set to [constant TONE_MAPPER_LINEAR]. + The white reference value for tonemapping (also called "whitepoint"). Higher values can make highlights look less blown out, and will also slightly darken the whole scene as a result. Only effective if the [member tonemap_mode] isn't set to [constant TONE_MAPPER_LINEAR]. See also [member tonemap_exposure]. </member> <member name="volumetric_fog_albedo" type="Color" setter="set_volumetric_fog_albedo" getter="get_volumetric_fog_albedo" default="Color(1, 1, 1, 1)"> The [Color] of the volumetric fog when interacting with lights. Mist and fog have an albedo close to [code]Color(1, 1, 1, 1)[/code] while smoke has a darker albedo. @@ -336,10 +359,10 @@ Gather ambient light from whichever source is specified as the background. </constant> <constant name="AMBIENT_SOURCE_DISABLED" value="1" enum="AmbientSource"> - Disable ambient light. + Disable ambient light. This provides a slight performance boost over [constant AMBIENT_SOURCE_SKY]. </constant> <constant name="AMBIENT_SOURCE_COLOR" value="2" enum="AmbientSource"> - Specify a specific [Color] for ambient light. + Specify a specific [Color] for ambient light. This provides a slight performance boost over [constant AMBIENT_SOURCE_SKY]. </constant> <constant name="AMBIENT_SOURCE_SKY" value="3" enum="AmbientSource"> Gather ambient light from the [Sky] regardless of what the background is. @@ -348,7 +371,7 @@ Use the background for reflections. </constant> <constant name="REFLECTION_SOURCE_DISABLED" value="1" enum="ReflectionSource"> - Disable reflections. + Disable reflections. This provides a slight performance boost over other options. </constant> <constant name="REFLECTION_SOURCE_SKY" value="2" enum="ReflectionSource"> Use the [Sky] for reflections regardless of what the background is. @@ -382,10 +405,13 @@ Mixes the glow with the underlying color to avoid increasing brightness as much while still maintaining a glow effect. </constant> <constant name="SDFGI_Y_SCALE_50_PERCENT" value="0" enum="SDFGIYScale"> + Use 50% scale for SDFGI on the Y (vertical) axis. SDFGI cells will be twice as short as they are wide. This allows providing increased GI detail and reduced light leaking with thin floors and ceilings. This is usually the best choice for scenes that don't feature much verticality. </constant> <constant name="SDFGI_Y_SCALE_75_PERCENT" value="1" enum="SDFGIYScale"> + Use 75% scale for SDFGI on the Y (vertical) axis. This is a balance between the 50% and 100% SDFGI Y scales. </constant> <constant name="SDFGI_Y_SCALE_100_PERCENT" value="2" enum="SDFGIYScale"> + Use 100% scale for SDFGI on the Y (vertical) axis. SDFGI cells will be as tall as they are wide. This is usually the best choice for highly vertical scenes. The downside is that light leaking may become more noticeable with thin floors and ceilings. </constant> </constants> </class> diff --git a/doc/classes/File.xml b/doc/classes/File.xml index 29283e107d..0b4a8fa46e 100644 --- a/doc/classes/File.xml +++ b/doc/classes/File.xml @@ -74,7 +74,7 @@ [/codeblocks] </description> </method> - <method name="file_exists" qualifiers="const"> + <method name="file_exists" qualifiers="static"> <return type="bool" /> <argument index="0" name="path" type="String" /> <description> diff --git a/doc/classes/Font.xml b/doc/classes/Font.xml index f357cb05b5..dae42ddf34 100644 --- a/doc/classes/Font.xml +++ b/doc/classes/Font.xml @@ -194,7 +194,7 @@ <method name="get_rids" qualifiers="const"> <return type="Array" /> <description> - Returns [Array] of valid [FontData] [RID]s, which can be passsed to the [TextServer] methods. + Returns [Array] of valid [FontData] [RID]s, which can be passed to the [TextServer] methods. </description> </method> <method name="get_spacing" qualifiers="const"> diff --git a/doc/classes/FontData.xml b/doc/classes/FontData.xml index 9344a1fe80..a423d7a4e4 100644 --- a/doc/classes/FontData.xml +++ b/doc/classes/FontData.xml @@ -3,7 +3,7 @@ <brief_description> Font source data and prerendered glyph cache, imported from dynamic or bitmap font. Supported font formats: - - Dynamic font importer: TrueType (.ttf), OpenType (.otf), WOFF (.woff), Type 1 (.pfb, .pfm). + - Dynamic font importer: TrueType (.ttf), OpenType (.otf), WOFF (.woff), WOFF2 (.woff2), Type 1 (.pfb, .pfm). - Bitmap font importer: AngelCode BMFont (.fnt, .font), text and binary (version 3) format variants. - Monospace image font importer: All supported image formats. </brief_description> @@ -318,7 +318,7 @@ <return type="int" enum="Error" /> <argument index="0" name="path" type="String" /> <description> - Loads a TrueType (.ttf), OpenType (.otf), WOFF (.woff) or Type 1 (.pfb, .pfm) dynamic font from file [code]path[/code]. + Loads a TrueType (.ttf), OpenType (.otf), WOFF (.woff), WOFF2 (.woff2) or Type 1 (.pfb, .pfm) dynamic font from file [code]path[/code]. [b]Warning:[/b] This method should only be used in the editor or in cases when you need to load external fonts at run-time, such as fonts located at the [code]user://[/code] directory. </description> </method> @@ -582,6 +582,9 @@ <member name="force_autohinter" type="bool" setter="set_force_autohinter" getter="is_force_autohinter" default="false"> If set to [code]true[/code], auto-hinting is supported and preferred over font built-in hinting. Used by dynamic fonts only. </member> + <member name="generate_mipmaps" type="bool" setter="set_generate_mipmaps" getter="get_generate_mipmaps" default="false"> + If set to [code]true[/code], generate mipmaps for the font textures. + </member> <member name="hinting" type="int" setter="set_hinting" getter="get_hinting" enum="TextServer.Hinting" default="1"> Font hinting mode. Used by dynamic fonts only. </member> diff --git a/doc/classes/GPUParticles2D.xml b/doc/classes/GPUParticles2D.xml index 3de0d0dbe9..53894bad87 100644 --- a/doc/classes/GPUParticles2D.xml +++ b/doc/classes/GPUParticles2D.xml @@ -57,6 +57,9 @@ <member name="fract_delta" type="bool" setter="set_fractional_delta" getter="get_fractional_delta" default="true"> If [code]true[/code], results in fractional delta calculation which has a smoother particles display effect. </member> + <member name="interpolate" type="bool" setter="set_interpolate" getter="get_interpolate" default="true"> + Enables particle interpolation, which makes the particle movement smoother when their [member fixed_fps] is lower than the screen refresh rate. + </member> <member name="lifetime" type="float" setter="set_lifetime" getter="get_lifetime" default="1.0"> Amount of time each particle will exist. </member> diff --git a/doc/classes/GPUParticles3D.xml b/doc/classes/GPUParticles3D.xml index 899b5dec27..c4bd18db69 100644 --- a/doc/classes/GPUParticles3D.xml +++ b/doc/classes/GPUParticles3D.xml @@ -90,6 +90,7 @@ If [code]true[/code], results in fractional delta calculation which has a smoother particles display effect. </member> <member name="interpolate" type="bool" setter="set_interpolate" getter="get_interpolate" default="true"> + Enables particle interpolation, which makes the particle movement smoother when their [member fixed_fps] is lower than the screen refresh rate. </member> <member name="lifetime" type="float" setter="set_lifetime" getter="get_lifetime" default="1.0"> Amount of time each particle will exist. diff --git a/doc/classes/GraphEdit.xml b/doc/classes/GraphEdit.xml index 19f2915087..e699a40ea0 100644 --- a/doc/classes/GraphEdit.xml +++ b/doc/classes/GraphEdit.xml @@ -342,7 +342,7 @@ </description> </signal> <signal name="scroll_offset_changed"> - <argument index="0" name="ofs" type="Vector2" /> + <argument index="0" name="offset" type="Vector2" /> <description> Emitted when the scroll offset is changed by the user. It will not be emitted when changed in code. </description> diff --git a/doc/classes/GraphNode.xml b/doc/classes/GraphNode.xml index 1e9169146e..173da63a15 100644 --- a/doc/classes/GraphNode.xml +++ b/doc/classes/GraphNode.xml @@ -331,7 +331,7 @@ <theme_item name="comment" data_type="style" type="StyleBox"> The [StyleBox] used when [member comment] is enabled. </theme_item> - <theme_item name="commentfocus" data_type="style" type="StyleBox"> + <theme_item name="comment_focus" data_type="style" type="StyleBox"> The [StyleBox] used when [member comment] is enabled and the [GraphNode] is focused. </theme_item> <theme_item name="frame" data_type="style" type="StyleBox"> @@ -340,7 +340,7 @@ <theme_item name="position" data_type="style" type="StyleBox"> The background used when [member overlay] is set to [constant OVERLAY_POSITION]. </theme_item> - <theme_item name="selectedframe" data_type="style" type="StyleBox"> + <theme_item name="selected_frame" data_type="style" type="StyleBox"> The background used when the [GraphNode] is selected. </theme_item> </theme_items> diff --git a/doc/classes/GridContainer.xml b/doc/classes/GridContainer.xml index 59777ffb79..8b7a0fe407 100644 --- a/doc/classes/GridContainer.xml +++ b/doc/classes/GridContainer.xml @@ -9,6 +9,7 @@ [b]Note:[/b] GridContainer only works with child nodes inheriting from Control. It won't rearrange child nodes inheriting from Node2D. </description> <tutorials> + <link title="GUI containers">$DOCS_URL/tutorials/ui/gui_containers.html</link> <link title="OS Test Demo">https://godotengine.org/asset-library/asset/677</link> </tutorials> <members> @@ -17,10 +18,10 @@ </member> </members> <theme_items> - <theme_item name="hseparation" data_type="constant" type="int" default="4"> + <theme_item name="h_separation" data_type="constant" type="int" default="4"> The horizontal separation of children nodes. </theme_item> - <theme_item name="vseparation" data_type="constant" type="int" default="4"> + <theme_item name="v_separation" data_type="constant" type="int" default="4"> The vertical separation of children nodes. </theme_item> </theme_items> diff --git a/doc/classes/HBoxContainer.xml b/doc/classes/HBoxContainer.xml index 0af9f7a0f4..21267215eb 100644 --- a/doc/classes/HBoxContainer.xml +++ b/doc/classes/HBoxContainer.xml @@ -7,6 +7,7 @@ Horizontal box container. See [BoxContainer]. </description> <tutorials> + <link title="GUI containers">$DOCS_URL/tutorials/ui/gui_containers.html</link> </tutorials> <theme_items> <theme_item name="separation" data_type="constant" type="int" default="4"> diff --git a/doc/classes/HFlowContainer.xml b/doc/classes/HFlowContainer.xml index 3cee25e3ab..a8594a1c76 100644 --- a/doc/classes/HFlowContainer.xml +++ b/doc/classes/HFlowContainer.xml @@ -9,10 +9,10 @@ <tutorials> </tutorials> <theme_items> - <theme_item name="hseparation" data_type="constant" type="int" default="4"> + <theme_item name="h_separation" data_type="constant" type="int" default="4"> The horizontal separation of children nodes. </theme_item> - <theme_item name="vseparation" data_type="constant" type="int" default="4"> + <theme_item name="v_separation" data_type="constant" type="int" default="4"> The vertical separation of children nodes. </theme_item> </theme_items> diff --git a/doc/classes/HSplitContainer.xml b/doc/classes/HSplitContainer.xml index f240718176..8137e26b8c 100644 --- a/doc/classes/HSplitContainer.xml +++ b/doc/classes/HSplitContainer.xml @@ -7,6 +7,7 @@ Horizontal split container. See [SplitContainer]. This goes from left to right. </description> <tutorials> + <link title="GUI containers">$DOCS_URL/tutorials/ui/gui_containers.html</link> </tutorials> <theme_items> <theme_item name="autohide" data_type="constant" type="int" default="1"> diff --git a/doc/classes/HTTPRequest.xml b/doc/classes/HTTPRequest.xml index 42047a68c8..641d73e333 100644 --- a/doc/classes/HTTPRequest.xml +++ b/doc/classes/HTTPRequest.xml @@ -247,7 +247,7 @@ <member name="max_redirects" type="int" setter="set_max_redirects" getter="get_max_redirects" default="8"> Maximum number of allowed redirects. </member> - <member name="timeout" type="int" setter="set_timeout" getter="get_timeout" default="0"> + <member name="timeout" type="float" setter="set_timeout" getter="get_timeout" default="0.0"> </member> <member name="use_threads" type="bool" setter="set_use_threads" getter="is_using_threads" default="false"> If [code]true[/code], multithreading is used to improve performance. diff --git a/doc/classes/IP.xml b/doc/classes/IP.xml index 7ecac8680a..569f7fe570 100644 --- a/doc/classes/IP.xml +++ b/doc/classes/IP.xml @@ -103,7 +103,7 @@ <constant name="RESOLVER_STATUS_ERROR" value="3" enum="ResolverStatus"> DNS hostname resolver status: Error. </constant> - <constant name="RESOLVER_MAX_QUERIES" value="32"> + <constant name="RESOLVER_MAX_QUERIES" value="256"> Maximum number of concurrent DNS resolver queries allowed, [constant RESOLVER_INVALID_ID] is returned if exceeded. </constant> <constant name="RESOLVER_INVALID_ID" value="-1"> diff --git a/doc/classes/Image.xml b/doc/classes/Image.xml index 35868563de..da5b907fab 100644 --- a/doc/classes/Image.xml +++ b/doc/classes/Image.xml @@ -26,7 +26,7 @@ <argument index="1" name="src_rect" type="Rect2" /> <argument index="2" name="dst" type="Vector2" /> <description> - Alpha-blends [code]src_rect[/code] from [code]src[/code] image to this image at coordinates [code]dest[/code]. + Alpha-blends [code]src_rect[/code] from [code]src[/code] image to this image at coordinates [code]dest[/code], clipped accordingly to both image bounds. This image and [code]src[/code] image [b]must[/b] have the same format. [code]src_rect[/code] with not positive size is treated as empty. </description> </method> <method name="blend_rect_mask"> @@ -36,7 +36,7 @@ <argument index="2" name="src_rect" type="Rect2" /> <argument index="3" name="dst" type="Vector2" /> <description> - Alpha-blends [code]src_rect[/code] from [code]src[/code] image to this image using [code]mask[/code] image at coordinates [code]dst[/code]. Alpha channels are required for both [code]src[/code] and [code]mask[/code]. [code]dst[/code] pixels and [code]src[/code] pixels will blend if the corresponding mask pixel's alpha value is not 0. [code]src[/code] image and [code]mask[/code] image [b]must[/b] have the same size (width and height) but they can have different formats. + Alpha-blends [code]src_rect[/code] from [code]src[/code] image to this image using [code]mask[/code] image at coordinates [code]dst[/code], clipped accordingly to both image bounds. Alpha channels are required for both [code]src[/code] and [code]mask[/code]. [code]dst[/code] pixels and [code]src[/code] pixels will blend if the corresponding mask pixel's alpha value is not 0. This image and [code]src[/code] image [b]must[/b] have the same format. [code]src[/code] image and [code]mask[/code] image [b]must[/b] have the same size (width and height) but they can have different formats. [code]src_rect[/code] with not positive size is treated as empty. </description> </method> <method name="blit_rect"> @@ -45,7 +45,7 @@ <argument index="1" name="src_rect" type="Rect2" /> <argument index="2" name="dst" type="Vector2" /> <description> - Copies [code]src_rect[/code] from [code]src[/code] image to this image at coordinates [code]dst[/code]. + Copies [code]src_rect[/code] from [code]src[/code] image to this image at coordinates [code]dst[/code], clipped accordingly to both image bounds. This image and [code]src[/code] image [b]must[/b] have the same format. [code]src_rect[/code] with not positive size is treated as empty. </description> </method> <method name="blit_rect_mask"> @@ -55,7 +55,7 @@ <argument index="2" name="src_rect" type="Rect2" /> <argument index="3" name="dst" type="Vector2" /> <description> - Blits [code]src_rect[/code] area from [code]src[/code] image to this image at the coordinates given by [code]dst[/code]. [code]src[/code] pixel is copied onto [code]dst[/code] if the corresponding [code]mask[/code] pixel's alpha value is not 0. [code]src[/code] image and [code]mask[/code] image [b]must[/b] have the same size (width and height) but they can have different formats. + Blits [code]src_rect[/code] area from [code]src[/code] image to this image at the coordinates given by [code]dst[/code], clipped accordingly to both image bounds. [code]src[/code] pixel is copied onto [code]dst[/code] if the corresponding [code]mask[/code] pixel's alpha value is not 0. This image and [code]src[/code] image [b]must[/b] have the same format. [code]src[/code] image and [code]mask[/code] image [b]must[/b] have the same size (width and height) but they can have different formats. [code]src_rect[/code] with not positive size is treated as empty. </description> </method> <method name="bump_map_to_normal_map"> @@ -153,7 +153,7 @@ Returns [constant ALPHA_BLEND] if the image has data for alpha values. Returns [constant ALPHA_BIT] if all the alpha values are stored in a single bit. Returns [constant ALPHA_NONE] if no data for alpha values is found. </description> </method> - <method name="detect_used_channels"> + <method name="detect_used_channels" qualifiers="const"> <return type="int" enum="Image.UsedChannels" /> <argument index="0" name="source" type="int" enum="Image.CompressSource" default="0" /> <description> diff --git a/doc/classes/Input.xml b/doc/classes/Input.xml index 64a914bb31..948c4b253f 100644 --- a/doc/classes/Input.xml +++ b/doc/classes/Input.xml @@ -376,14 +376,15 @@ <argument index="0" name="duration_ms" type="int" default="500" /> <description> Vibrate Android and iOS devices. - [b]Note:[/b] It needs [code]VIBRATE[/code] permission for Android at export settings. iOS does not support duration. + [b]Note:[/b] For Android, it requires enabling the [code]VIBRATE[/code] permission in the export preset. + [b]Note:[/b] For iOS, specifying the duration is supported in iOS 13 and later. </description> </method> - <method name="warp_mouse_position"> + <method name="warp_mouse"> <return type="void" /> - <argument index="0" name="to" type="Vector2" /> + <argument index="0" name="position" type="Vector2" /> <description> - Sets the mouse position to the specified vector, provided in pixels and relative to an origin at the upper left corner of the game window. + Sets the mouse position to the specified vector, provided in pixels and relative to an origin at the upper left corner of the currently focused Window Manager game window. Mouse position is clipped to the limits of the screen resolution, or to the limits of the game window if [enum MouseMode] is set to [code]MOUSE_MODE_CONFINED[/code] or [code]MOUSE_MODE_CONFINED_HIDDEN[/code]. </description> </method> diff --git a/doc/classes/InputEventJoypadButton.xml b/doc/classes/InputEventJoypadButton.xml index 5066fb29d3..edbc5b1e0b 100644 --- a/doc/classes/InputEventJoypadButton.xml +++ b/doc/classes/InputEventJoypadButton.xml @@ -17,7 +17,7 @@ If [code]true[/code], the button's state is pressed. If [code]false[/code], the button's state is released. </member> <member name="pressure" type="float" setter="set_pressure" getter="get_pressure" default="0.0"> - Represents the pressure the user puts on the button with his finger, if the controller supports it. Ranges from [code]0[/code] to [code]1[/code]. + Represents the pressure the user puts on the button with their finger, if the controller supports it. Ranges from [code]0[/code] to [code]1[/code]. </member> </members> </class> diff --git a/doc/classes/ItemList.xml b/doc/classes/ItemList.xml index 06bd64577b..edfd8daec1 100644 --- a/doc/classes/ItemList.xml +++ b/doc/classes/ItemList.xml @@ -476,7 +476,7 @@ <theme_item name="guide_color" data_type="color" type="Color" default="Color(0, 0, 0, 0.1)"> [Color] of the guideline. The guideline is a line drawn between each row of items. </theme_item> - <theme_item name="hseparation" data_type="constant" type="int" default="4"> + <theme_item name="h_separation" data_type="constant" type="int" default="4"> The horizontal spacing between items. </theme_item> <theme_item name="icon_margin" data_type="constant" type="int" default="4"> @@ -488,7 +488,7 @@ <theme_item name="outline_size" data_type="constant" type="int" default="0"> The size of the item text outline. </theme_item> - <theme_item name="vseparation" data_type="constant" type="int" default="2"> + <theme_item name="v_separation" data_type="constant" type="int" default="2"> The vertical spacing between items. </theme_item> <theme_item name="font" data_type="font" type="Font"> diff --git a/doc/classes/Label.xml b/doc/classes/Label.xml index b1046dea6b..d5744bbc42 100644 --- a/doc/classes/Label.xml +++ b/doc/classes/Label.xml @@ -85,7 +85,7 @@ [b]Note:[/b] Setting this property updates [member visible_characters] based on current [method get_total_character_count]. </member> <member name="size_flags_vertical" type="int" setter="set_v_size_flags" getter="get_v_size_flags" overrides="Control" default="4" /> - <member name="structured_text_bidi_override" type="int" setter="set_structured_text_bidi_override" getter="get_structured_text_bidi_override" enum="Control.StructuredTextParser" default="0"> + <member name="structured_text_bidi_override" type="int" setter="set_structured_text_bidi_override" getter="get_structured_text_bidi_override" enum="TextServer.StructuredTextParser" default="0"> Set BiDi algorithm override for the structured text. </member> <member name="structured_text_bidi_override_options" type="Array" setter="set_structured_text_bidi_override_options" getter="get_structured_text_bidi_override_options" default="[]"> diff --git a/doc/classes/Label3D.xml b/doc/classes/Label3D.xml new file mode 100644 index 0000000000..fbb53715c4 --- /dev/null +++ b/doc/classes/Label3D.xml @@ -0,0 +1,176 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<class name="Label3D" inherits="GeometryInstance3D" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> + <brief_description> + Displays plain text in a 3D world. + </brief_description> + <description> + Label3D displays plain text in a 3D world. It gives you control over the horizontal and vertical alignment. + </description> + <tutorials> + </tutorials> + <methods> + <method name="clear_opentype_features"> + <return type="void" /> + <description> + Removes all OpenType features. + </description> + </method> + <method name="generate_triangle_mesh" qualifiers="const"> + <return type="TriangleMesh" /> + <description> + Returns a [TriangleMesh] with the label's vertices following its current configuration (such as its [member pixel_size]). + </description> + </method> + <method name="get_draw_flag" qualifiers="const"> + <return type="bool" /> + <argument index="0" name="flag" type="int" enum="Label3D.DrawFlags" /> + <description> + Returns the value of the specified flag. + </description> + </method> + <method name="get_opentype_feature" qualifiers="const"> + <return type="int" /> + <argument index="0" name="tag" type="String" /> + <description> + Returns OpenType feature [code]tag[/code]. + </description> + </method> + <method name="set_draw_flag"> + <return type="void" /> + <argument index="0" name="flag" type="int" enum="Label3D.DrawFlags" /> + <argument index="1" name="enabled" type="bool" /> + <description> + If [code]true[/code], the specified flag will be enabled. See [enum Label3D.DrawFlags] for a list of flags. + </description> + </method> + <method name="set_opentype_feature"> + <return type="void" /> + <argument index="0" name="tag" type="String" /> + <argument index="1" name="value" type="int" /> + <description> + Returns OpenType feature [code]tag[/code]. More info: [url=https://docs.microsoft.com/en-us/typography/opentype/spec/featuretags]OpenType feature tags[/url]. + </description> + </method> + </methods> + <members> + <member name="alpha_cut" type="int" setter="set_alpha_cut_mode" getter="get_alpha_cut_mode" enum="Label3D.AlphaCutMode" default="0"> + The alpha cutting mode to use for the sprite. See [enum AlphaCutMode] for possible values. + </member> + <member name="alpha_scissor_threshold" type="float" setter="set_alpha_scissor_threshold" getter="get_alpha_scissor_threshold" default="0.5"> + Threshold at which the alpha scissor will discard values. + </member> + <member name="autowrap_mode" type="int" setter="set_autowrap_mode" getter="get_autowrap_mode" enum="Label3D.AutowrapMode" default="0"> + If set to something other than [constant AUTOWRAP_OFF], the text gets wrapped inside the node's bounding rectangle. If you resize the node, it will change its height automatically to show all the text. To see how each mode behaves, see [enum AutowrapMode]. + </member> + <member name="billboard" type="int" setter="set_billboard_mode" getter="get_billboard_mode" enum="BaseMaterial3D.BillboardMode" default="0"> + The billboard mode to use for the label. See [enum BaseMaterial3D.BillboardMode] for possible values. + </member> + <member name="double_sided" type="bool" setter="set_draw_flag" getter="get_draw_flag" default="true"> + If [code]true[/code], text can be seen from the back as well, if [code]false[/code], it is invisible when looking at it from behind. + </member> + <member name="fixed_size" type="bool" setter="set_draw_flag" getter="get_draw_flag" default="false"> + If [code]true[/code], the label is rendered at the same size regardless of distance. + </member> + <member name="font" type="Font" setter="set_font" getter="get_font"> + [Font] used for the [Label3D]'s text. + </member> + <member name="font_size" type="int" setter="set_font_size" getter="get_font_size" default="16"> + Font size of the [Label3D]'s text. + </member> + <member name="horizontal_alignment" type="int" setter="set_horizontal_alignment" getter="get_horizontal_alignment" enum="HorizontalAlignment" default="1"> + Controls the text's horizontal alignment. Supports left, center, right. Set it to one of the [enum HorizontalAlignment] constants. + </member> + <member name="language" type="String" setter="set_language" getter="get_language" default=""""> + Language code used for line-breaking and text shaping algorithms, if left empty current locale is used instead. + </member> + <member name="line_spacing" type="float" setter="set_line_spacing" getter="get_line_spacing" default="0.0"> + Vertical space between lines in multiline [Label3D]. + </member> + <member name="modulate" type="Color" setter="set_modulate" getter="get_modulate" default="Color(1, 1, 1, 1)"> + Text [Color] of the [Label3D]. + </member> + <member name="no_depth_test" type="bool" setter="set_draw_flag" getter="get_draw_flag" default="false"> + If [code]true[/code], depth testing is disabled and the object will be drawn in render order. + </member> + <member name="offset" type="Vector2" setter="set_offset" getter="get_offset" default="Vector2(0, 0)"> + The text drawing offset (in pixels). + </member> + <member name="outline_modulate" type="Color" setter="set_outline_modulate" getter="get_outline_modulate" default="Color(0, 0, 0, 1)"> + The tint of [Font]'s outline. + </member> + <member name="outline_size" type="int" setter="set_outline_size" getter="get_outline_size" default="0"> + Text outline size. + </member> + <member name="pixel_size" type="float" setter="set_pixel_size" getter="get_pixel_size" default="0.01"> + The size of one pixel's width on the label to scale it in 3D. + </member> + <member name="shaded" type="bool" setter="set_draw_flag" getter="get_draw_flag" default="false"> + If [code]true[/code], the [Light3D] in the [Environment] has effects on the label. + </member> + <member name="structured_text_bidi_override" type="int" setter="set_structured_text_bidi_override" getter="get_structured_text_bidi_override" enum="TextServer.StructuredTextParser" default="0"> + Set BiDi algorithm override for the structured text. + </member> + <member name="structured_text_bidi_override_options" type="Array" setter="set_structured_text_bidi_override_options" getter="get_structured_text_bidi_override_options" default="[]"> + Set additional options for BiDi override. + </member> + <member name="text" type="String" setter="set_text" getter="get_text" default=""""> + The text to display on screen. + </member> + <member name="text_direction" type="int" setter="set_text_direction" getter="get_text_direction" enum="TextServer.Direction" default="0"> + Base text writing direction. + </member> + <member name="texture_filter" type="int" setter="set_texture_filter" getter="get_texture_filter" enum="BaseMaterial3D.TextureFilter" default="3"> + Filter flags for the texture. See [enum BaseMaterial3D.TextureFilter] for options. + </member> + <member name="uppercase" type="bool" setter="set_uppercase" getter="is_uppercase" default="false"> + If [code]true[/code], all the text displays as UPPERCASE. + </member> + <member name="vertical_alignment" type="int" setter="set_vertical_alignment" getter="get_vertical_alignment" enum="VerticalAlignment" default="1"> + Controls the text's vertical alignment. Supports top, center, bottom. Set it to one of the [enum VerticalAlignment] constants. + </member> + <member name="width" type="float" setter="set_width" getter="get_width" default="500.0"> + Text width (in pixels), used for autowrap and fill alignment. + </member> + </members> + <constants> + <constant name="AUTOWRAP_OFF" value="0" enum="AutowrapMode"> + Autowrap is disabled. + </constant> + <constant name="AUTOWRAP_ARBITRARY" value="1" enum="AutowrapMode"> + Wraps the text inside the node's bounding rectangle by allowing to break lines at arbitrary positions, which is useful when very limited space is available. + </constant> + <constant name="AUTOWRAP_WORD" value="2" enum="AutowrapMode"> + Wraps the text inside the node's bounding rectangle by soft-breaking between words. + </constant> + <constant name="AUTOWRAP_WORD_SMART" value="3" enum="AutowrapMode"> + Behaves similarly to [constant AUTOWRAP_WORD], but force-breaks a word if that single word does not fit in one line. + </constant> + <constant name="FLAG_SHADED" value="0" enum="DrawFlags"> + If set, lights in the environment affect the label. + </constant> + <constant name="FLAG_DOUBLE_SIDED" value="1" enum="DrawFlags"> + If set, text can be seen from the back as well. If not, the texture is invisible when looking at it from behind. + </constant> + <constant name="FLAG_DISABLE_DEPTH_TEST" value="2" enum="DrawFlags"> + Disables the depth test, so this object is drawn on top of all others. However, objects drawn after it in the draw order may cover it. + </constant> + <constant name="FLAG_FIXED_SIZE" value="3" enum="DrawFlags"> + Label is scaled by depth so that it always appears the same size on screen. + </constant> + <constant name="FLAG_MAX" value="4" enum="DrawFlags"> + Represents the size of the [enum DrawFlags] enum. + </constant> + <constant name="ALPHA_CUT_DISABLED" value="0" enum="AlphaCutMode"> + This mode performs standard alpha blending. It can display translucent areas, but transparency sorting issues may be visible when multiple transparent materials are overlapping. + </constant> + <constant name="ALPHA_CUT_DISCARD" value="1" enum="AlphaCutMode"> + This mode only allows fully transparent or fully opaque pixels. Harsh edges will be visible unless some form of screen-space antialiasing is enabled (see [member ProjectSettings.rendering/anti_aliasing/quality/screen_space_aa]). This mode is also known as [i]alpha testing[/i] or [i]1-bit transparency[/i]. + [b]Note:[/b] This mode might have issues with anti-aliased fonts and outlines, try adjusting [member alpha_scissor_threshold] or using MSDF font. + [b]Note:[/b] When using text with overlapping glyphs (e.g., cursive scripts), this mode might have transparency sorting issues between the main text and the outline. + </constant> + <constant name="ALPHA_CUT_OPAQUE_PREPASS" value="2" enum="AlphaCutMode"> + This mode draws fully opaque pixels in the depth prepass. This is slower than [constant ALPHA_CUT_DISABLED] or [constant ALPHA_CUT_DISCARD], but it allows displaying translucent areas and smooth edges while using proper sorting. + [b]Note:[/b] When using text with overlapping glyphs (e.g., cursive scripts), this mode might have transparency sorting issues between the main text and the outline. + </constant> + </constants> +</class> diff --git a/doc/classes/LineEdit.xml b/doc/classes/LineEdit.xml index 136147b4b0..55e012ee0c 100644 --- a/doc/classes/LineEdit.xml +++ b/doc/classes/LineEdit.xml @@ -251,7 +251,7 @@ <member name="shortcut_keys_enabled" type="bool" setter="set_shortcut_keys_enabled" getter="is_shortcut_keys_enabled" default="true"> If [code]false[/code], using shortcuts will be disabled. </member> - <member name="structured_text_bidi_override" type="int" setter="set_structured_text_bidi_override" getter="get_structured_text_bidi_override" enum="Control.StructuredTextParser" default="0"> + <member name="structured_text_bidi_override" type="int" setter="set_structured_text_bidi_override" getter="get_structured_text_bidi_override" enum="TextServer.StructuredTextParser" default="0"> Set BiDi algorithm override for the structured text. </member> <member name="structured_text_bidi_override_options" type="Array" setter="set_structured_text_bidi_override_options" getter="get_structured_text_bidi_override_options" default="[]"> diff --git a/doc/classes/LinkButton.xml b/doc/classes/LinkButton.xml index 3b03d86644..ba80504caf 100644 --- a/doc/classes/LinkButton.xml +++ b/doc/classes/LinkButton.xml @@ -36,7 +36,7 @@ <member name="language" type="String" setter="set_language" getter="get_language" default=""""> Language code used for line-breaking and text shaping algorithms, if left empty current locale is used instead. </member> - <member name="structured_text_bidi_override" type="int" setter="set_structured_text_bidi_override" getter="get_structured_text_bidi_override" enum="Control.StructuredTextParser" default="0"> + <member name="structured_text_bidi_override" type="int" setter="set_structured_text_bidi_override" getter="get_structured_text_bidi_override" enum="TextServer.StructuredTextParser" default="0"> Set BiDi algorithm override for the structured text. </member> <member name="structured_text_bidi_override_options" type="Array" setter="set_structured_text_bidi_override_options" getter="get_structured_text_bidi_override_options" default="[]"> diff --git a/doc/classes/MarginContainer.xml b/doc/classes/MarginContainer.xml index 3f9f93a39b..3b2ace8475 100644 --- a/doc/classes/MarginContainer.xml +++ b/doc/classes/MarginContainer.xml @@ -26,6 +26,7 @@ [/codeblocks] </description> <tutorials> + <link title="GUI containers">$DOCS_URL/tutorials/ui/gui_containers.html</link> </tutorials> <theme_items> <theme_item name="margin_bottom" data_type="constant" type="int" default="0"> diff --git a/doc/classes/MenuButton.xml b/doc/classes/MenuButton.xml index c32f7318c0..bec567b3ef 100644 --- a/doc/classes/MenuButton.xml +++ b/doc/classes/MenuButton.xml @@ -64,7 +64,7 @@ <theme_item name="font_pressed_color" data_type="color" type="Color" default="Color(1, 1, 1, 1)"> Text [Color] used when the [MenuButton] is being pressed. </theme_item> - <theme_item name="hseparation" data_type="constant" type="int" default="3"> + <theme_item name="h_separation" data_type="constant" type="int" default="3"> The horizontal space between [MenuButton]'s icon and text. </theme_item> <theme_item name="outline_size" data_type="constant" type="int" default="0"> diff --git a/doc/classes/MultiplayerAPI.xml b/doc/classes/MultiplayerAPI.xml index ac17886183..059d147979 100644 --- a/doc/classes/MultiplayerAPI.xml +++ b/doc/classes/MultiplayerAPI.xml @@ -6,7 +6,7 @@ <description> This class implements the high-level multiplayer API. See also [MultiplayerPeer]. By default, [SceneTree] has a reference to this class that is used to provide multiplayer capabilities (i.e. RPCs) across the whole scene. - It is possible to override the MultiplayerAPI instance used by specific Nodes by setting the [member Node.custom_multiplayer] property, effectively allowing to run both client and server in the same scene. + It is possible to override the MultiplayerAPI instance used by specific tree branches by calling the [method SceneTree.set_multiplayer] method, effectively allowing to run both client and server in the same scene. [b]Note:[/b] The high-level multiplayer API protocol is an implementation detail and isn't meant to be used by non-Godot servers. It may change without notice. [b]Note:[/b] When exporting to Android, make sure to enable the [code]INTERNET[/code] permission in the Android export preset before exporting the project or using one-click deploy. Otherwise, network communication of any kind will be blocked by Android. </description> @@ -53,7 +53,7 @@ <method name="poll"> <return type="void" /> <description> - Method used for polling the MultiplayerAPI. You only need to worry about this if you are using [member Node.custom_multiplayer] override or you set [member SceneTree.multiplayer_poll] to [code]false[/code]. By default, [SceneTree] will poll its MultiplayerAPI for you. + Method used for polling the MultiplayerAPI. You only need to worry about this if you set [member SceneTree.multiplayer_poll] to [code]false[/code]. By default, [SceneTree] will poll its MultiplayerAPI(s) for you. [b]Note:[/b] This method results in RPCs being called, so they will be executed in the same context of this function (e.g. [code]_process[/code], [code]physics[/code], [Thread]). </description> </method> diff --git a/doc/classes/NavigationAgent2D.xml b/doc/classes/NavigationAgent2D.xml index b7b23a1097..baab91569a 100644 --- a/doc/classes/NavigationAgent2D.xml +++ b/doc/classes/NavigationAgent2D.xml @@ -90,6 +90,9 @@ <member name="max_speed" type="float" setter="set_max_speed" getter="get_max_speed" default="200.0"> The maximum speed that an agent can move. </member> + <member name="navigable_layers" type="int" setter="set_navigable_layers" getter="get_navigable_layers" default="1"> + A bitfield determining what layers of navigation regions this agent will use to calculate path. Changing it runtime will clear current navigation path and generate new one, according to new layers. + </member> <member name="neighbor_dist" type="float" setter="set_neighbor_dist" getter="get_neighbor_dist" default="500.0"> The distance to search for other agents. </member> diff --git a/doc/classes/NavigationAgent3D.xml b/doc/classes/NavigationAgent3D.xml index 18886ac33e..04b148c70d 100644 --- a/doc/classes/NavigationAgent3D.xml +++ b/doc/classes/NavigationAgent3D.xml @@ -96,6 +96,9 @@ <member name="max_speed" type="float" setter="set_max_speed" getter="get_max_speed" default="10.0"> The maximum speed that an agent can move. </member> + <member name="navigable_layers" type="int" setter="set_navigable_layers" getter="get_navigable_layers" default="1"> + A bitfield determining what layers of navigation regions this agent will use to calculate path. Changing it runtime will clear current navigation path and generate new one, according to new layers. + </member> <member name="neighbor_dist" type="float" setter="set_neighbor_dist" getter="get_neighbor_dist" default="50.0"> The distance to search for other agents. </member> diff --git a/doc/classes/NavigationServer2D.xml b/doc/classes/NavigationServer2D.xml index a59666356c..e007dfd9b5 100644 --- a/doc/classes/NavigationServer2D.xml +++ b/doc/classes/NavigationServer2D.xml @@ -110,11 +110,11 @@ Sets the current velocity of the agent. </description> </method> - <method name="free" qualifiers="const"> + <method name="free_rid" qualifiers="const"> <return type="void" /> - <argument index="0" name="object" type="RID" /> + <argument index="0" name="rid" type="RID" /> <description> - Destroy the RID + Destroys the given RID. </description> </method> <method name="map_create" qualifiers="const"> diff --git a/doc/classes/NavigationServer3D.xml b/doc/classes/NavigationServer3D.xml index 7d11a30647..c987bc9042 100644 --- a/doc/classes/NavigationServer3D.xml +++ b/doc/classes/NavigationServer3D.xml @@ -110,11 +110,11 @@ Sets the current velocity of the agent. </description> </method> - <method name="free" qualifiers="const"> + <method name="free_rid" qualifiers="const"> <return type="void" /> - <argument index="0" name="object" type="RID" /> + <argument index="0" name="rid" type="RID" /> <description> - Destroy the RID + Destroys the given RID. </description> </method> <method name="map_create" qualifiers="const"> diff --git a/doc/classes/Node.xml b/doc/classes/Node.xml index 28b104e276..c9795856d5 100644 --- a/doc/classes/Node.xml +++ b/doc/classes/Node.xml @@ -84,6 +84,17 @@ [b]Note:[/b] [method _ready] may be called only once for each node. After removing a node from the scene tree and adding it again, [code]_ready[/code] will not be called a second time. This can be bypassed by requesting another call with [method request_ready], which may be called anywhere before adding the node again. </description> </method> + <method name="_shortcut_input" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="event" type="InputEvent" /> + <description> + Called when an [InputEventKey] or [InputEventShortcut] hasn't been consumed by [method _input] or any GUI [Control] item. The input event propagates up through the node tree until a node consumes it. + It is only called if shortcut processing is enabled, which is done automatically if this method is overridden, and can be toggled with [method set_process_shortcut_input]. + To consume the input event and stop it propagating further to other nodes, [method Viewport.set_input_as_handled] can be called. + This method can be used to handle shortcuts. + [b]Note:[/b] This method is only called if the node is present in the scene tree (i.e. if it's not orphan). + </description> + </method> <method name="_unhandled_input" qualifiers="virtual"> <return type="void" /> <argument index="0" name="event" type="InputEvent" /> @@ -102,6 +113,7 @@ Called when an [InputEventKey] or [InputEventShortcut] hasn't been consumed by [method _input] or any GUI [Control] item. The input event propagates up through the node tree until a node consumes it. It is only called if unhandled key input processing is enabled, which is done automatically if this method is overridden, and can be toggled with [method set_process_unhandled_key_input]. To consume the input event and stop it propagating further to other nodes, [method Viewport.set_input_as_handled] can be called. + This method can be used to handle Unicode character input with [kbd]Alt[/kbd], [kbd]Alt + Ctrl[/kbd], and [kbd]Alt + Shift[/kbd] modifiers, after shortcuts were handled. For gameplay input, this and [method _unhandled_input] are usually a better fit than [method _input] as they allow the GUI to intercept the events first. [b]Note:[/b] This method is only called if the node is present in the scene tree (i.e. if it's not an orphan). </description> @@ -181,28 +193,45 @@ [b]Note:[/b] It will not work properly if the node contains a script with constructor arguments (i.e. needs to supply arguments to [method Object._init] method). In that case, the node will be duplicated without a script. </description> </method> - <method name="find_nodes" qualifiers="const"> + <method name="find_child" qualifiers="const"> + <return type="Node" /> + <argument index="0" name="pattern" type="String" /> + <argument index="1" name="recursive" type="bool" default="true" /> + <argument index="2" name="owned" type="bool" default="true" /> + <description> + Finds the first descendant of this node whose name matches [code]pattern[/code] as in [method String.match]. + [code]pattern[/code] does not match against the full path, just against individual node names. It is case-sensitive, with [code]"*"[/code] matching zero or more characters and [code]"?"[/code] matching any single character except [code]"."[/code]). + If [code]recursive[/code] is [code]true[/code], all child nodes are included, even if deeply nested. Nodes are checked in tree order, so this node's first direct child is checked first, then its own direct children, etc., before moving to the second direct child, and so on. If [code]recursive[/code] is [code]false[/code], only this node's direct children are matched. + If [code]owned[/code] is [code]true[/code], this method only finds nodes who have an assigned [member Node.owner]. This is especially important for scenes instantiated through a script, because those scenes don't have an owner. + Returns [code]null[/code] if no matching [Node] is found. + [b]Note:[/b] As this method walks through all the descendants of the node, it is the slowest way to get a reference to another node. Whenever possible, consider using [method get_node] with unique names instead (see [member unique_name_in_owner]), or caching the node references into variable. + [b]Note:[/b] To find all descendant nodes matching a pattern or a class type, see [method find_children]. + </description> + </method> + <method name="find_children" qualifiers="const"> <return type="Node[]" /> - <argument index="0" name="mask" type="String" /> + <argument index="0" name="pattern" type="String" /> <argument index="1" name="type" type="String" default="""" /> <argument index="2" name="recursive" type="bool" default="true" /> <argument index="3" name="owned" type="bool" default="true" /> <description> - Finds descendants of this node whose, name matches [code]mask[/code] as in [method String.match], and/or type matches [code]type[/code] as in [method Object.is_class]. - [code]mask[/code] does not match against the full path, just against individual node names. It is case-sensitive, with [code]"*"[/code] matching zero or more characters and [code]"?"[/code] matching any single character except [code]"."[/code]). - [code]type[/code] will check equality or inheritance. It is case-sensitive, [code]"Object"[/code] will match a node whose type is [code]"Node"[/code] but not the other way around. - If [code]owned[/code] is [code]true[/code], this method only finds nodes whose owner is this node. This is especially important for scenes instantiated through a script, because those scenes don't have an owner. - Returns an empty array, if no matching nodes are found. - [b]Note:[/b] As this method walks through all the descendants of the node, it is the slowest way to get references to other nodes. To avoid using [method find_nodes] too often, consider caching the node references into variables. + Finds descendants of this node whose name matches [code]pattern[/code] as in [method String.match], and/or type matches [code]type[/code] as in [method Object.is_class]. + [code]pattern[/code] does not match against the full path, just against individual node names. It is case-sensitive, with [code]"*"[/code] matching zero or more characters and [code]"?"[/code] matching any single character except [code]"."[/code]). + [code]type[/code] will check equality or inheritance, and is case-sensitive. [code]"Object"[/code] will match a node whose type is [code]"Node"[/code] but not the other way around. + If [code]recursive[/code] is [code]true[/code], all child nodes are included, even if deeply nested. Nodes are checked in tree order, so this node's first direct child is checked first, then its own direct children, etc., before moving to the second direct child, and so on. If [code]recursive[/code] is [code]false[/code], only this node's direct children are matched. + If [code]owned[/code] is [code]true[/code], this method only finds nodes who have an assigned [member Node.owner]. This is especially important for scenes instantiated through a script, because those scenes don't have an owner. + Returns an empty array if no matching nodes are found. + [b]Note:[/b] As this method walks through all the descendants of the node, it is the slowest way to get references to other nodes. Whenever possible, consider caching the node references into variables. + [b]Note:[/b] If you only want to find the first descendant node that matches a pattern, see [method find_child]. </description> </method> <method name="find_parent" qualifiers="const"> <return type="Node" /> - <argument index="0" name="mask" type="String" /> + <argument index="0" name="pattern" type="String" /> <description> - Finds the first parent of the current node whose name matches [code]mask[/code] as in [method String.match] (i.e. case-sensitive, but [code]"*"[/code] matches zero or more characters and [code]"?"[/code] matches any single character except [code]"."[/code]). - [b]Note:[/b] It does not match against the full path, just against individual node names. - [b]Note:[/b] As this method walks upwards in the scene tree, it can be slow in large, deeply nested scene trees. Whenever possible, consider using [method get_node] instead. To avoid using [method find_parent] too often, consider caching the node reference into a variable. + Finds the first parent of the current node whose name matches [code]pattern[/code] as in [method String.match]. + [code]pattern[/code] does not match against the full path, just against individual node names. It is case-sensitive, with [code]"*"[/code] matching zero or more characters and [code]"?"[/code] matching any single character except [code]"."[/code]). + [b]Note:[/b] As this method walks upwards in the scene tree, it can be slow in large, deeply nested scene trees. Whenever possible, consider using [method get_node] with unique names instead (see [member unique_name_in_owner]), or caching the node references into variable. </description> </method> <method name="get_child" qualifiers="const"> @@ -462,6 +491,12 @@ Returns [code]true[/code] if internal processing is enabled (see [method set_process_internal]). </description> </method> + <method name="is_processing_shortcut_input" qualifiers="const"> + <return type="bool" /> + <description> + Returns [code]true[/code] if the node is processing shortcuts (see [method set_process_shortcut_input]). + </description> + </method> <method name="is_processing_unhandled_input" qualifiers="const"> <return type="bool" /> <description> @@ -483,10 +518,11 @@ [b]Note:[/b] Internal children can only be moved within their expected "internal range" (see [code]internal[/code] parameter in [method add_child]). </description> </method> - <method name="print_stray_nodes"> + <method name="print_orphan_nodes"> <return type="void" /> <description> - Prints all stray nodes (nodes outside the [SceneTree]). Used for debugging. Works only in debug builds. + Prints all orphan nodes (nodes outside the [SceneTree]). Used for debugging. + [b]Note:[/b] [method print_orphan_nodes] only works in debug builds. When called in a project exported in release mode, [method print_orphan_nodes] will not print anything. </description> </method> <method name="print_tree"> @@ -586,7 +622,7 @@ </description> </method> <method name="rpc" qualifiers="vararg"> - <return type="Variant" /> + <return type="void" /> <argument index="0" name="method" type="StringName" /> <description> Sends a remote procedure call request for the given [code]method[/code] to peers on the network (and locally), optionally sending all additional arguments as arguments to the method called by the RPC. The call request 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. Returns an empty [Variant]. @@ -605,7 +641,7 @@ </description> </method> <method name="rpc_id" qualifiers="vararg"> - <return type="Variant" /> + <return type="void" /> <argument index="0" name="peer_id" type="int" /> <argument index="1" name="method" type="StringName" /> <description> @@ -672,6 +708,13 @@ [b]Warning:[/b] Built-in Nodes rely on the internal processing for their own logic, so changing this value from your code may lead to unexpected behavior. Script access to this internal logic is provided for specific advanced uses, but is unsafe and not supported. </description> </method> + <method name="set_process_shortcut_input"> + <return type="void" /> + <argument index="0" name="enable" type="bool" /> + <description> + Enables shortcut processing. Enabled automatically if [method _shortcut_input] is overridden. Any calls to this before [method _ready] will be ignored. + </description> + </method> <method name="set_process_unhandled_input"> <return type="void" /> <argument index="0" name="enable" type="bool" /> @@ -702,14 +745,11 @@ </method> </methods> <members> - <member name="custom_multiplayer" type="MultiplayerAPI" setter="set_custom_multiplayer" getter="get_custom_multiplayer"> - The override to the default [MultiplayerAPI]. Set to [code]null[/code] to use the default [SceneTree] one. - </member> <member name="editor_description" type="String" setter="set_editor_description" getter="get_editor_description" default=""""> - Add a custom description to a node. + Add a custom description to a node. It will be displayed in a tooltip when hovered in editor's scene tree. </member> <member name="multiplayer" type="MultiplayerAPI" setter="" getter="get_multiplayer"> - The [MultiplayerAPI] instance associated with this node. Either the [member custom_multiplayer], or the default SceneTree one (if inside tree). + The [MultiplayerAPI] instance associated with this node. See [method SceneTree.get_multiplayer]. </member> <member name="name" type="StringName" setter="set_name" getter="get_name"> The name of the node. This name is unique among the siblings (other child nodes from the same parent). When set to an existing name, the node will be automatically renamed. @@ -728,6 +768,10 @@ <member name="scene_file_path" type="String" setter="set_scene_file_path" getter="get_scene_file_path"> If a scene is instantiated from a file, its topmost node contains the absolute file path from which it was loaded in [member scene_file_path] (e.g. [code]res://levels/1.tscn[/code]). Otherwise, [member scene_file_path] is set to an empty string. </member> + <member name="unique_name_in_owner" type="bool" setter="set_unique_name_in_owner" getter="is_unique_name_in_owner" default="false"> + Sets this node's name as a unique name in its [member owner]. This allows the node to be accessed as [code]%Name[/code] instead of the full path, from any node within that scene. + If another node with the same owner already had that name declared as unique, that other node's name will no longer be set as having a unique name. + </member> </members> <signals> <signal name="child_entered_tree"> @@ -804,10 +848,13 @@ Notification received when the node is instantiated. </constant> <constant name="NOTIFICATION_DRAG_BEGIN" value="21"> - Notification received when a drag begins. + Notification received when a drag operation begins. All nodes receive this notification, not only the dragged one. + Can be triggered either by dragging a [Control] that provides drag data (see [method Control._get_drag_data]) or using [method Control.force_drag]. + Use [method Viewport.gui_get_drag_data] to get the dragged data. </constant> <constant name="NOTIFICATION_DRAG_END" value="22"> - Notification received when a drag ends. + Notification received when a drag operation ends. + Use [method Viewport.gui_is_drag_successful] to check if the drag succeeded. </constant> <constant name="NOTIFICATION_PATH_RENAMED" value="23"> Notification received when the node's name or one of its parents' name is changed. This notification is [i]not[/i] received when the node is removed from the scene tree to be added to another parent later on. diff --git a/doc/classes/OS.xml b/doc/classes/OS.xml index bc9bfc9676..f45bee4db4 100644 --- a/doc/classes/OS.xml +++ b/doc/classes/OS.xml @@ -278,7 +278,7 @@ <return type="String" /> <description> Returns the name of the host OS. - On Windows, this is [code]"Windows"[/code] or [code]"UWP"[/code] (Universal Windows Platform) if exported thereon. + On Windows, this is [code]"Windows"[/code] or [code]"UWP"[/code] if exported on Universal Windows Platform. On macOS, this is [code]"macOS"[/code]. On Linux-based operating systems, this is [code]"Linux"[/code]. On BSD-based operating systems, this is [code]"FreeBSD"[/code], [code]"NetBSD"[/code], [code]"OpenBSD"[/code], or [code]"BSD"[/code] as a fallback. @@ -455,6 +455,14 @@ [b]Note:[/b] This method is implemented on Android, iOS, Linux, macOS and Windows. </description> </method> + <method name="move_to_trash" qualifiers="const"> + <return type="int" enum="Error" /> + <argument index="0" name="path" type="String" /> + <description> + Moves the file or directory to the system's recycle bin. See also [method Directory.remove]. + [b]Note:[/b] If the user has disabled the recycle bin on their system, the file will be permanently deleted instead. + </description> + </method> <method name="open_midi_inputs"> <return type="void" /> <description> diff --git a/doc/classes/Object.xml b/doc/classes/Object.xml index d09f3a2b0d..f7a3be48cf 100644 --- a/doc/classes/Object.xml +++ b/doc/classes/Object.xml @@ -107,7 +107,7 @@ </description> </method> <method name="call_deferred" qualifiers="vararg"> - <return type="void" /> + <return type="Variant" /> <argument index="0" name="method" type="StringName" /> <description> Calls the [code]method[/code] on the object during idle time. This method supports a variable number of arguments, so parameters are passed as a comma separated list. Example: @@ -301,7 +301,7 @@ </description> </method> <method name="emit_signal" qualifiers="vararg"> - <return type="void" /> + <return type="int" enum="Error" /> <argument index="0" name="signal" type="StringName" /> <description> Emits the given [code]signal[/code]. The signal must exist, so it should be a built-in signal of this class or one of its parent classes, or a user-defined signal. This method supports a variable number of arguments, so parameters are passed as a comma separated list. Example: @@ -366,8 +366,10 @@ <method name="get_meta" qualifiers="const"> <return type="Variant" /> <argument index="0" name="name" type="StringName" /> + <argument index="1" name="default" type="Variant" default="null" /> <description> Returns the object's metadata entry for the given [code]name[/code]. + Throws error if the entry does not exist, unless [code]default[/code] is not [code]null[/code] (in which case the default value will be returned). </description> </method> <method name="get_meta_list" qualifiers="const"> diff --git a/doc/classes/OptionButton.xml b/doc/classes/OptionButton.xml index 25e41116a2..a7b1f0ea33 100644 --- a/doc/classes/OptionButton.xml +++ b/doc/classes/OptionButton.xml @@ -30,8 +30,9 @@ </method> <method name="add_separator"> <return type="void" /> + <argument index="0" name="text" type="String" default="""" /> <description> - Adds a separator to the list of items. Separators help to group items. Separator also takes up an index and is appended at the end. + Adds a separator to the list of items. Separators help to group items, and can optionally be given a [code]text[/code] header. A separator also gets an index assigned, and is appended at the end of the item list. </description> </method> <method name="clear"> @@ -89,6 +90,12 @@ [b]Warning:[/b] This is a required internal node, removing and freeing it may cause a crash. If you wish to hide it or any of its children, use their [member Window.visible] property. </description> </method> + <method name="get_selectable_item" qualifiers="const"> + <return type="int" /> + <argument index="0" name="from_last" type="bool" default="false" /> + <description> + </description> + </method> <method name="get_selected_id" qualifiers="const"> <return type="int" /> <description> @@ -101,6 +108,11 @@ Gets the metadata of the selected item. Metadata for items can be set using [method set_item_metadata]. </description> </method> + <method name="has_selectable_items" qualifiers="const"> + <return type="bool" /> + <description> + </description> + </method> <method name="is_item_disabled" qualifiers="const"> <return type="bool" /> <argument index="0" name="idx" type="int" /> @@ -108,6 +120,12 @@ Returns [code]true[/code] if the item at index [code]idx[/code] is disabled. </description> </method> + <method name="is_item_separator" qualifiers="const"> + <return type="bool" /> + <argument index="0" name="idx" type="int" /> + <description> + </description> + </method> <method name="remove_item"> <return type="void" /> <argument index="0" name="idx" type="int" /> @@ -220,7 +238,7 @@ <theme_item name="arrow_margin" data_type="constant" type="int" default="4"> The horizontal space between the arrow icon and the right edge of the button. </theme_item> - <theme_item name="hseparation" data_type="constant" type="int" default="2"> + <theme_item name="h_separation" data_type="constant" type="int" default="2"> The horizontal space between [OptionButton]'s icon and text. </theme_item> <theme_item name="outline_size" data_type="constant" type="int" default="0"> diff --git a/doc/classes/PackedByteArray.xml b/doc/classes/PackedByteArray.xml index a0e67bfa63..61dc1eef00 100644 --- a/doc/classes/PackedByteArray.xml +++ b/doc/classes/PackedByteArray.xml @@ -1,10 +1,10 @@ <?xml version="1.0" encoding="UTF-8" ?> <class name="PackedByteArray" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> <brief_description> - A packed [Array] of bytes. + A packed array of bytes. </brief_description> <description> - An [Array] specifically designed to hold bytes. Packs data tightly, so it saves memory for large array sizes. + An array specifically designed to hold bytes. Packs data tightly, so it saves memory for large array sizes. </description> <tutorials> </tutorials> diff --git a/doc/classes/PackedColorArray.xml b/doc/classes/PackedColorArray.xml index d1a00b32b1..f880771c77 100644 --- a/doc/classes/PackedColorArray.xml +++ b/doc/classes/PackedColorArray.xml @@ -1,10 +1,10 @@ <?xml version="1.0" encoding="UTF-8" ?> <class name="PackedColorArray" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> <brief_description> - A packed [Array] of [Color]s. + A packed array of [Color]s. </brief_description> <description> - An [Array] specifically designed to hold [Color]. Packs data tightly, so it saves memory for large array sizes. + An array specifically designed to hold [Color]. Packs data tightly, so it saves memory for large array sizes. </description> <tutorials> </tutorials> diff --git a/doc/classes/PackedFloat32Array.xml b/doc/classes/PackedFloat32Array.xml index b351058346..e2b877ad5f 100644 --- a/doc/classes/PackedFloat32Array.xml +++ b/doc/classes/PackedFloat32Array.xml @@ -1,10 +1,10 @@ <?xml version="1.0" encoding="UTF-8" ?> <class name="PackedFloat32Array" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> <brief_description> - A packed [Array] of 32-bit floating-point values. + A packed array of 32-bit floating-point values. </brief_description> <description> - An [Array] specifically designed to hold 32-bit floating-point values. Packs data tightly, so it saves memory for large array sizes. + An array specifically designed to hold 32-bit floating-point values. Packs data tightly, so it saves memory for large array sizes. If you need to pack 64-bit floats tightly, see [PackedFloat64Array]. </description> <tutorials> diff --git a/doc/classes/PackedFloat64Array.xml b/doc/classes/PackedFloat64Array.xml index b4ffa295bd..be7a52b7f4 100644 --- a/doc/classes/PackedFloat64Array.xml +++ b/doc/classes/PackedFloat64Array.xml @@ -1,10 +1,10 @@ <?xml version="1.0" encoding="UTF-8" ?> <class name="PackedFloat64Array" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> <brief_description> - A packed [Array] of 64-bit floating-point values. + A packed array of 64-bit floating-point values. </brief_description> <description> - An [Array] specifically designed to hold 64-bit floating-point values. Packs data tightly, so it saves memory for large array sizes. + An array specifically designed to hold 64-bit floating-point values. Packs data tightly, so it saves memory for large array sizes. If you only need to pack 32-bit floats tightly, see [PackedFloat32Array] for a more memory-friendly alternative. </description> <tutorials> diff --git a/doc/classes/PackedInt32Array.xml b/doc/classes/PackedInt32Array.xml index b34deb518a..108273d859 100644 --- a/doc/classes/PackedInt32Array.xml +++ b/doc/classes/PackedInt32Array.xml @@ -1,10 +1,10 @@ <?xml version="1.0" encoding="UTF-8" ?> <class name="PackedInt32Array" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> <brief_description> - A packed [Array] of 32-bit integers. + A packed array of 32-bit integers. </brief_description> <description> - An [Array] specifically designed to hold 32-bit integer values. Packs data tightly, so it saves memory for large array sizes. + An array specifically designed to hold 32-bit integer values. Packs data tightly, so it saves memory for large array sizes. [b]Note:[/b] This type stores signed 32-bit integers, which means it can take values in the interval [code][-2^31, 2^31 - 1][/code], i.e. [code][-2147483648, 2147483647][/code]. Exceeding those bounds will wrap around. In comparison, [int] uses signed 64-bit integers which can hold much larger values. If you need to pack 64-bit integers tightly, see [PackedInt64Array]. </description> <tutorials> diff --git a/doc/classes/PackedInt64Array.xml b/doc/classes/PackedInt64Array.xml index 6a99db778c..c34f2fc75e 100644 --- a/doc/classes/PackedInt64Array.xml +++ b/doc/classes/PackedInt64Array.xml @@ -1,10 +1,10 @@ <?xml version="1.0" encoding="UTF-8" ?> <class name="PackedInt64Array" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> <brief_description> - A packed [Array] of 64-bit integers. + A packed array of 64-bit integers. </brief_description> <description> - An [Array] specifically designed to hold 64-bit integer values. Packs data tightly, so it saves memory for large array sizes. + An array specifically designed to hold 64-bit integer values. Packs data tightly, so it saves memory for large array sizes. [b]Note:[/b] This type stores signed 64-bit integers, which means it can take values in the interval [code][-2^63, 2^63 - 1][/code], i.e. [code][-9223372036854775808, 9223372036854775807][/code]. Exceeding those bounds will wrap around. If you only need to pack 32-bit integers tightly, see [PackedInt32Array] for a more memory-friendly alternative. </description> <tutorials> diff --git a/doc/classes/PackedStringArray.xml b/doc/classes/PackedStringArray.xml index 29c72f62de..536f5f02eb 100644 --- a/doc/classes/PackedStringArray.xml +++ b/doc/classes/PackedStringArray.xml @@ -1,10 +1,10 @@ <?xml version="1.0" encoding="UTF-8" ?> <class name="PackedStringArray" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> <brief_description> - A packed [Array] of [String]s. + A packed array of [String]s. </brief_description> <description> - An [Array] specifically designed to hold [String]s. Packs data tightly, so it saves memory for large array sizes. + An array specifically designed to hold [String]s. Packs data tightly, so it saves memory for large array sizes. </description> <tutorials> <link title="OS Test Demo">https://godotengine.org/asset-library/asset/677</link> diff --git a/doc/classes/PackedVector2Array.xml b/doc/classes/PackedVector2Array.xml index cd78f29595..29423d1cde 100644 --- a/doc/classes/PackedVector2Array.xml +++ b/doc/classes/PackedVector2Array.xml @@ -1,10 +1,10 @@ <?xml version="1.0" encoding="UTF-8" ?> <class name="PackedVector2Array" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> <brief_description> - A packed [Array] of [Vector2]s. + A packed array of [Vector2]s. </brief_description> <description> - An [Array] specifically designed to hold [Vector2]. Packs data tightly, so it saves memory for large array sizes. + An array specifically designed to hold [Vector2]. Packs data tightly, so it saves memory for large array sizes. </description> <tutorials> <link title="2D Navigation Astar Demo">https://godotengine.org/asset-library/asset/519</link> diff --git a/doc/classes/PackedVector3Array.xml b/doc/classes/PackedVector3Array.xml index 9ae4073fdf..6d460cecab 100644 --- a/doc/classes/PackedVector3Array.xml +++ b/doc/classes/PackedVector3Array.xml @@ -1,10 +1,10 @@ <?xml version="1.0" encoding="UTF-8" ?> <class name="PackedVector3Array" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> <brief_description> - A packed [Array] of [Vector3]s. + A packed array of [Vector3]s. </brief_description> <description> - An [Array] specifically designed to hold [Vector3]. Packs data tightly, so it saves memory for large array sizes. + An array specifically designed to hold [Vector3]. Packs data tightly, so it saves memory for large array sizes. </description> <tutorials> </tutorials> diff --git a/doc/classes/PacketPeerUDP.xml b/doc/classes/PacketPeerUDP.xml index 580bf60518..7c6622be3c 100644 --- a/doc/classes/PacketPeerUDP.xml +++ b/doc/classes/PacketPeerUDP.xml @@ -61,7 +61,7 @@ Returns whether this [PacketPeerUDP] is bound to an address and can receive packets. </description> </method> - <method name="is_connected_to_host" qualifiers="const"> + <method name="is_socket_connected" qualifiers="const"> <return type="bool" /> <description> Returns [code]true[/code] if the UDP socket is open and has been connected to a remote address. See [method connect_to_host]. diff --git a/doc/classes/PanelContainer.xml b/doc/classes/PanelContainer.xml index 1bb26045d9..fff30e0dc0 100644 --- a/doc/classes/PanelContainer.xml +++ b/doc/classes/PanelContainer.xml @@ -7,6 +7,7 @@ Panel container type. This container fits controls inside of the delimited area of a stylebox. It's useful for giving controls an outline. </description> <tutorials> + <link title="GUI containers">$DOCS_URL/tutorials/ui/gui_containers.html</link> <link title="2D Role Playing Game Demo">https://godotengine.org/asset-library/asset/520</link> </tutorials> <members> diff --git a/doc/classes/PhysicalSkyMaterial.xml b/doc/classes/PhysicalSkyMaterial.xml index 3e85074e41..716eaaeeba 100644 --- a/doc/classes/PhysicalSkyMaterial.xml +++ b/doc/classes/PhysicalSkyMaterial.xml @@ -12,7 +12,7 @@ </tutorials> <members> <member name="dither_strength" type="float" setter="set_dither_strength" getter="get_dither_strength" default="1.0"> - Sets the amount of dithering to use. Dithering helps reduce banding that appears from the smooth changes in color in the sky. Use the lowest value possible, higher amounts may add fuzziness to the sky. + The amount of dithering to use. Dithering helps reduce banding that appears from the smooth changes in color in the sky. Use the lowest value possible for your given sky settings, as higher amounts may add fuzziness to the sky. </member> <member name="exposure" type="float" setter="set_exposure" getter="get_exposure" default="0.1"> Sets the exposure of the sky. Higher exposure values make the entire sky brighter. diff --git a/doc/classes/PopupMenu.xml b/doc/classes/PopupMenu.xml index 4bcfc3c726..bf80aa94a5 100644 --- a/doc/classes/PopupMenu.xml +++ b/doc/classes/PopupMenu.xml @@ -568,8 +568,11 @@ <theme_item name="font_separator_color" data_type="color" type="Color" default="Color(0.875, 0.875, 0.875, 1)"> [Color] used for labeled separators' text. See [method add_separator]. </theme_item> - <theme_item name="hseparation" data_type="constant" type="int" default="4"> - The horizontal space between the item's name and the shortcut text/submenu arrow. + <theme_item name="font_separator_outline_color" data_type="color" type="Color" default="Color(1, 1, 1, 1)"> + The tint of text outline of the labeled separator. + </theme_item> + <theme_item name="h_separation" data_type="constant" type="int" default="4"> + The horizontal space between the item's elements. </theme_item> <theme_item name="item_end_padding" data_type="constant" type="int" default="2"> </theme_item> @@ -578,12 +581,21 @@ <theme_item name="outline_size" data_type="constant" type="int" default="0"> The size of the item text outline. </theme_item> - <theme_item name="vseparation" data_type="constant" type="int" default="4"> + <theme_item name="separator_outline_size" data_type="constant" type="int" default="0"> + The size of the labeled separator text outline. + </theme_item> + <theme_item name="v_separation" data_type="constant" type="int" default="4"> The vertical space between each menu item. </theme_item> <theme_item name="font" data_type="font" type="Font"> [Font] used for the menu items. </theme_item> + <theme_item name="font_separator" data_type="font" type="Font"> + [Font] used for the labeled separator. + </theme_item> + <theme_item name="font_separator_size" data_type="font_size" type="int"> + Font size of the labeled separator. + </theme_item> <theme_item name="font_size" data_type="font_size" type="int"> Font size of the menu items. </theme_item> diff --git a/doc/classes/PortableCompressedTexture2D.xml b/doc/classes/PortableCompressedTexture2D.xml new file mode 100644 index 0000000000..aad72bbb48 --- /dev/null +++ b/doc/classes/PortableCompressedTexture2D.xml @@ -0,0 +1,79 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<class name="PortableCompressedTexture2D" inherits="Texture2D" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> + <brief_description> + Provides a compressed texture for disk and/or VRAM in a way that is portable. + </brief_description> + <description> + This class allows storing compressed textures as self contained (not imported) resources. + For 2D usage (compressed on disk, uncompressed on VRAM), the lossy and lossless modes are recommended. For 3D usage (compressed on VRAM) it depends on the target platform. + If you intend to only use desktop, S3TC or BPTC are recommended. For only mobile, ETC2 is recommended. + For portable, self contained 3D textures that work on both desktop and mobile, Basis Universal is recommended (although it has a small quality cost and longer compression time as a tradeoff). + This resource is intended to be created from code. + </description> + <tutorials> + </tutorials> + <methods> + <method name="create_from_image"> + <return type="void" /> + <argument index="0" name="image" type="Image" /> + <argument index="1" name="compression_mode" type="int" enum="PortableCompressedTexture2D.CompressionMode" /> + <argument index="2" name="normal_map" type="bool" default="false" /> + <argument index="3" name="lossy_quality" type="float" default="0.8" /> + <description> + Initializes the compressed texture from a base image. The compression mode must be provided. + If this image will be used as a normal map, the "normal map" flag is recommended, to ensure optimum quality. + If lossy compression is requested, the quality setting can optionally be provided. This maps to Lossy WEBP compression quality. + </description> + </method> + <method name="get_compression_mode" qualifiers="const"> + <return type="int" enum="PortableCompressedTexture2D.CompressionMode" /> + <description> + Return the compression mode used (valid after initialized). + </description> + </method> + <method name="get_format" qualifiers="const"> + <return type="int" enum="Image.Format" /> + <description> + Return the image format used (valid after initialized). + </description> + </method> + <method name="is_keeping_all_compressed_buffers" qualifiers="static"> + <return type="bool" /> + <description> + Return whether the flag is overridden for all textures of this type. + </description> + </method> + <method name="set_keep_all_compressed_buffers" qualifiers="static"> + <return type="void" /> + <argument index="0" name="keep" type="bool" /> + <description> + Overrides the flag globally for all textures of this type. This is used primarily by the editor. + </description> + </method> + </methods> + <members> + <member name="_data" type="PackedByteArray" setter="_set_data" getter="_get_data" default="PackedByteArray()"> + </member> + <member name="keep_compressed_buffer" type="bool" setter="set_keep_compressed_buffer" getter="is_keeping_compressed_buffer" default="false"> + When running on the editor, this class will keep the source compressed data in memory. Otherwise, the source compressed data is lost after loading and the resource can't be re saved. + This flag allows to keep the compressed data in memory if you intend it to persist after loading. + </member> + <member name="size_override" type="Vector2" setter="set_size_override" getter="get_size_override" default="Vector2(0, 0)"> + Allow overriding the texture size (for 2D only). + </member> + </members> + <constants> + <constant name="COMPRESSION_MODE_LOSSLESS" value="0" enum="CompressionMode"> + </constant> + <constant name="COMPRESSION_MODE_LOSSY" value="1" enum="CompressionMode"> + </constant> + <constant name="COMPRESSION_MODE_BASIS_UNIVERSAL" value="2" enum="CompressionMode"> + </constant> + <constant name="COMPRESSION_MODE_S3TC" value="3" enum="CompressionMode"> + </constant> + <constant name="COMPRESSION_MODE_ETC2" value="4" enum="CompressionMode"> + </constant> + <constant name="COMPRESSION_MODE_BPTC" value="5" enum="CompressionMode"> + </constant> + </constants> +</class> diff --git a/doc/classes/Position2D.xml b/doc/classes/Position2D.xml index 881ec028de..754fd1fdf1 100644 --- a/doc/classes/Position2D.xml +++ b/doc/classes/Position2D.xml @@ -8,4 +8,9 @@ </description> <tutorials> </tutorials> + <members> + <member name="gizmo_extents" type="float" setter="set_gizmo_extents" getter="get_gizmo_extents" default="10.0"> + Size of the gizmo cross that appears in the editor. + </member> + </members> </class> diff --git a/doc/classes/ProceduralSkyMaterial.xml b/doc/classes/ProceduralSkyMaterial.xml index bf33232406..88283bcf24 100644 --- a/doc/classes/ProceduralSkyMaterial.xml +++ b/doc/classes/ProceduralSkyMaterial.xml @@ -11,6 +11,9 @@ <tutorials> </tutorials> <members> + <member name="dither_strength" type="float" setter="set_dither_strength" getter="get_dither_strength" default="1.0"> + The amount of dithering to use. Dithering helps reduce banding that appears from the smooth changes in color in the sky. Use the lowest value possible for your given sky settings, as higher amounts may add fuzziness to the sky. + </member> <member name="ground_bottom_color" type="Color" setter="set_ground_bottom_color" getter="get_ground_bottom_color" default="Color(0.2, 0.169, 0.133, 1)"> Color of the ground at the bottom. Blends with [member ground_horizon_color]. </member> diff --git a/doc/classes/ProjectSettings.xml b/doc/classes/ProjectSettings.xml index a8b4129061..7c6d6d1c10 100644 --- a/doc/classes/ProjectSettings.xml +++ b/doc/classes/ProjectSettings.xml @@ -512,7 +512,7 @@ </member> <member name="display/window/size/resizable" type="bool" setter="" getter="" default="true"> Allows the window to be resizable by default. - [b]Note:[/b] This setting is ignored on iOS and Android. + [b]Note:[/b] This setting is ignored on iOS. </member> <member name="display/window/size/viewport_height" type="int" setter="" getter="" default="600"> Sets the game's main viewport height. On desktop platforms, this is also the initial window height. @@ -553,6 +553,14 @@ <member name="editor/script/templates_search_path" type="String" setter="" getter="" default=""res://script_templates""> Search path for project-specific script templates. Godot will search for script templates both in the editor-specific path and in this project-specific path. </member> + <member name="filesystem/import/blender/enabled" type="bool" setter="" getter="" default="true"> + If [code]true[/code], Blender 3D scene files with the [code].blend[/code] extension will be imported by converting them to glTF 2.0. + This requires configuring a path to a Blender executable in the editor settings at [code]filesystem/import/blender/blender3_path[/code]. Blender 3.0 or later is required. + </member> + <member name="filesystem/import/fbx/enabled" type="bool" setter="" getter="" default="true"> + If [code]true[/code], Autodesk FBX 3D scene files with the [code].fbx[/code] extension will be imported by converting them to glTF 2.0. + This requires configuring a path to a FBX2glTF executable in the editor settings at [code]filesystem/import/fbx/fbx2gltf_path[/code]. + </member> <member name="gui/common/default_scroll_deadzone" type="int" setter="" getter="" default="0"> Default value for [member ScrollContainer.scroll_deadzone], which will be used for all [ScrollContainer]s unless overridden. </member> @@ -570,9 +578,19 @@ <member name="gui/theme/default_font_antialiased" type="bool" setter="" getter="" default="true"> If set to [code]true[/code], default font uses 8-bit anitialiased glyph rendering. See [member FontData.antialiased]. </member> + <member name="gui/theme/default_font_generate_mipmaps" type="bool" setter="" getter="" default="false"> + If set to [code]true[/code], the default font will have mipmaps generated. This prevents text from looking grainy when a [Control] is scaled down, or when a [Label3D] is viewed from a long distance (if [member Label3D.texture_filter] is set to a mode that displays mipmaps). + Enabling [member gui/theme/default_font_generate_mipmaps] increases font generation time and memory usage. Only enable this setting if you actually need it. + [b]Note:[/b] This setting does not affect custom [Font]s used within the project. + </member> <member name="gui/theme/default_font_hinting" type="int" setter="" getter="" default="1"> Default font hinting mode. See [member FontData.hinting]. </member> + <member name="gui/theme/default_font_multichannel_signed_distance_field" type="bool" setter="" getter="" default="false"> + If set to [code]true[/code], the default font will use multichannel signed distance field (MSDF) for crisp rendering at any size. Since this approach does not rely on rasterizing the font every time its size changes, this allows for resizing the font in real-time without any performance penalty. Text will also not look grainy for [Control]s that are scaled down (or for [Label3D]s viewed from a long distance). + MSDF font rendering can be combined with [member gui/theme/default_font_generate_mipmaps] to further improve font rendering quality when scaled down. + [b]Note:[/b] This setting does not affect custom [Font]s used within the project. + </member> <member name="gui/theme/default_font_subpixel_positioning" type="int" setter="" getter="" default="1"> Default font glyph sub-pixel positioning mode. See [member FontData.subpixel_positioning]. </member> @@ -1915,7 +1933,7 @@ </member> <member name="rendering/vulkan/staging_buffer/texture_upload_region_size_px" type="int" setter="" getter="" default="64"> </member> - <member name="xr/openxr/default_action_map" type="String" setter="" getter="" default=""res://default_action_map.tres""> + <member name="xr/openxr/default_action_map" type="String" setter="" getter="" default=""res://openxr_action_map.tres""> Action map configuration to load by default. </member> <member name="xr/openxr/enabled" type="bool" setter="" getter="" default="false"> @@ -1928,7 +1946,7 @@ Specify the default reference space. </member> <member name="xr/openxr/view_configuration" type="int" setter="" getter="" default=""1""> - Specify the view configuration with which to configure OpenXR settting up either Mono or Stereo rendering. + Specify the view configuration with which to configure OpenXR setting up either Mono or Stereo rendering. </member> <member name="xr/shaders/enabled" type="bool" setter="" getter="" default="false"> If [code]true[/code], Godot will compile shaders required for XR. diff --git a/doc/classes/Range.xml b/doc/classes/Range.xml index 9743d969ca..df6efd155a 100644 --- a/doc/classes/Range.xml +++ b/doc/classes/Range.xml @@ -11,7 +11,7 @@ <methods> <method name="_value_changed" qualifiers="virtual"> <return type="void" /> - <argument index="0" name="" type="float" /> + <argument index="0" name="new_value" type="float" /> <description> Called when the [Range]'s value is changed (following the same conditions as [signal value_changed]). </description> diff --git a/doc/classes/ReflectionProbe.xml b/doc/classes/ReflectionProbe.xml index debbfd8d5d..ff66a89cb7 100644 --- a/doc/classes/ReflectionProbe.xml +++ b/doc/classes/ReflectionProbe.xml @@ -5,7 +5,7 @@ </brief_description> <description> Captures its surroundings as a cubemap, and stores versions of it with increasing levels of blur to simulate different material roughnesses. - The [ReflectionProbe] is used to create high-quality reflections at a low performance cost (when [member update_mode] is [constant UPDATE_ONCE]). [ReflectionProbe]s can be blended together and with the rest of the scene smoothly. [ReflectionProbe]s can also be combined with [VoxelGI], SDFGI ([member Environment.sdfgi_enabled]) and screen-space reflections ([member Environment.ss_reflections_enabled]) to get more accurate reflections in specific areas. [ReflectionProbe]s render all objects within their [member cull_mask], so updating them can be quite expensive. It is best to update them once with the important static objects and then leave them as-is. + The [ReflectionProbe] is used to create high-quality reflections at a low performance cost (when [member update_mode] is [constant UPDATE_ONCE]). [ReflectionProbe]s can be blended together and with the rest of the scene smoothly. [ReflectionProbe]s can also be combined with [VoxelGI], SDFGI ([member Environment.sdfgi_enabled]) and screen-space reflections ([member Environment.ssr_enabled]) to get more accurate reflections in specific areas. [ReflectionProbe]s render all objects within their [member cull_mask], so updating them can be quite expensive. It is best to update them once with the important static objects and then leave them as-is. [b]Note:[/b] Unlike [VoxelGI] and SDFGI, [ReflectionProbe]s only source their environment from a [WorldEnvironment] node. If you specify an [Environment] resource within a [Camera3D] node, it will be ignored by the [ReflectionProbe]. This can lead to incorrect lighting within the [ReflectionProbe]. </description> <tutorials> diff --git a/doc/classes/RenderingServer.xml b/doc/classes/RenderingServer.xml index 9f7c23f250..d21e2b5bca 100644 --- a/doc/classes/RenderingServer.xml +++ b/doc/classes/RenderingServer.xml @@ -183,6 +183,7 @@ <argument index="2" name="to" type="Vector2" /> <argument index="3" name="color" type="Color" /> <argument index="4" name="width" type="float" default="1.0" /> + <argument index="5" name="antialiased" type="bool" default="false" /> <description> </description> </method> @@ -3932,10 +3933,10 @@ [FogVolume] will have no shape, will cover the whole world and will not be culled. </constant> <constant name="VIEWPORT_SCALING_3D_MODE_BILINEAR" value="0" enum="ViewportScaling3DMode"> - Enables bilinear scaling on 3D viewports. The amount of scaling can be set using [member Viewport.scaling_3d_scale]. Values less then [code]1.0[/code] will result in undersampling while values greater than [code]1.0[/code] will result in supersampling. A value of [code]1.0[/code] disables scaling. + Use bilinear scaling for the viewport's 3D buffer. The amount of scaling can be set using [member Viewport.scaling_3d_scale]. Values less then [code]1.0[/code] will result in undersampling while values greater than [code]1.0[/code] will result in supersampling. A value of [code]1.0[/code] disables scaling. </constant> <constant name="VIEWPORT_SCALING_3D_MODE_FSR" value="1" enum="ViewportScaling3DMode"> - Enables FSR upscaling on 3D viewports. The amount of scaling can be set using [member Viewport.scaling_3d_scale]. Values less then [code]1.0[/code] will be result in the viewport being upscaled using FSR. Values greater than [code]1.0[/code] are not supported and bilinear supersampling will be used instead. A value of [code]1.0[/code] disables scaling. + Use AMD FidelityFX Super Resolution 1.0 upscaling for the viewport's 3D buffer. The amount of scaling can be set using [member Viewport.scaling_3d_scale]. Values less then [code]1.0[/code] will be result in the viewport being upscaled using FSR. Values greater than [code]1.0[/code] are not supported and bilinear downsampling will be used instead. A value of [code]1.0[/code] disables scaling. </constant> <constant name="VIEWPORT_SCALING_3D_MODE_MAX" value="2" enum="ViewportScaling3DMode"> </constant> diff --git a/doc/classes/RichTextLabel.xml b/doc/classes/RichTextLabel.xml index e805d3469c..62a692d4a7 100644 --- a/doc/classes/RichTextLabel.xml +++ b/doc/classes/RichTextLabel.xml @@ -49,6 +49,12 @@ Clears the tag stack and sets [member text] to an empty string. </description> </method> + <method name="deselect"> + <return type="void" /> + <description> + Clears the current selection. + </description> + </method> <method name="get_character_line"> <return type="int" /> <argument index="0" name="character" type="int" /> @@ -88,6 +94,13 @@ Returns the vertical offset of the line found at the provided index. </description> </method> + <method name="get_menu" qualifiers="const"> + <return type="PopupMenu" /> + <description> + Returns the [PopupMenu] of this [RichTextLabel]. By default, this menu is displayed when right-clicking on the [RichTextLabel]. + [b]Warning:[/b] This is a required internal node, removing and freeing it may cause a crash. If you wish to hide it or any of its children, use their [member Window.visible] property. + </description> + </method> <method name="get_paragraph_count" qualifiers="const"> <return type="int" /> <description> @@ -157,6 +170,12 @@ Installs a custom effect. [code]effect[/code] should be a valid [RichTextEffect]. </description> </method> + <method name="is_menu_visible" qualifiers="const"> + <return type="bool" /> + <description> + Returns whether the menu is visible. Use this instead of [code]get_menu().visible[/code] to improve performance (so the creation of the menu is avoided). + </description> + </method> <method name="newline"> <return type="void" /> <description> @@ -323,7 +342,7 @@ <argument index="0" name="alignment" type="int" enum="HorizontalAlignment" /> <argument index="1" name="base_direction" type="int" enum="Control.TextDirection" default="0" /> <argument index="2" name="language" type="String" default="""" /> - <argument index="3" name="st_parser" type="int" enum="Control.StructuredTextParser" default="0" /> + <argument index="3" name="st_parser" type="int" enum="TextServer.StructuredTextParser" default="0" /> <description> Adds a [code][p][/code] tag to the tag stack. </description> @@ -370,6 +389,13 @@ Scrolls the window's top line to match first line of the [code]paragraph[/code]. </description> </method> + <method name="select_all"> + <return type="void" /> + <description> + Select all the text. + If [member selection_enabled] is [code]false[/code], no selection will occur. + </description> + </method> <method name="set_cell_border_color"> <return type="void" /> <argument index="0" name="color" type="Color" /> @@ -420,6 +446,9 @@ If [code]true[/code], the label uses BBCode formatting. </member> <member name="clip_contents" type="bool" setter="set_clip_contents" getter="is_clipping_contents" overrides="Control" default="true" /> + <member name="context_menu_enabled" type="bool" setter="set_context_menu_enabled" getter="is_context_menu_enabled" default="false"> + If [code]true[/code], a right-click displays the context menu. + </member> <member name="custom_effects" type="Array" setter="set_effects" getter="get_effects" default="[]"> The currently installed custom effects. This is an array of [RichTextEffect]s. To add a custom effect, it's more convenient to use [method install_effect]. @@ -456,7 +485,10 @@ <member name="selection_enabled" type="bool" setter="set_selection_enabled" getter="is_selection_enabled" default="false"> If [code]true[/code], the label allows text selection. </member> - <member name="structured_text_bidi_override" type="int" setter="set_structured_text_bidi_override" getter="get_structured_text_bidi_override" enum="Control.StructuredTextParser" default="0"> + <member name="shortcut_keys_enabled" type="bool" setter="set_shortcut_keys_enabled" getter="is_shortcut_keys_enabled" default="true"> + If [code]true[/code], shortcut keys for context menu items are enabled, even if the context menu is disabled. + </member> + <member name="structured_text_bidi_override" type="int" setter="set_structured_text_bidi_override" getter="get_structured_text_bidi_override" enum="TextServer.StructuredTextParser" default="0"> Set BiDi algorithm override for the structured text. </member> <member name="structured_text_bidi_override_options" type="Array" setter="set_structured_text_bidi_override_options" getter="get_structured_text_bidi_override_options" default="[]"> @@ -635,10 +667,10 @@ <theme_item name="shadow_outline_size" data_type="constant" type="int" default="1"> The size of the shadow outline. </theme_item> - <theme_item name="table_hseparation" data_type="constant" type="int" default="3"> + <theme_item name="table_h_separation" data_type="constant" type="int" default="3"> The horizontal separation of elements in a table. </theme_item> - <theme_item name="table_vseparation" data_type="constant" type="int" default="3"> + <theme_item name="table_v_separation" data_type="constant" type="int" default="3"> The vertical separation of elements in a table. </theme_item> <theme_item name="bold_font" data_type="font" type="Font"> diff --git a/doc/classes/SceneTree.xml b/doc/classes/SceneTree.xml index f3dfc727b0..970f5125cd 100644 --- a/doc/classes/SceneTree.xml +++ b/doc/classes/SceneTree.xml @@ -14,7 +14,7 @@ </tutorials> <methods> <method name="call_group" qualifiers="vararg"> - <return type="Variant" /> + <return type="void" /> <argument index="0" name="group" type="StringName" /> <argument index="1" name="method" type="StringName" /> <description> @@ -24,7 +24,7 @@ </description> </method> <method name="call_group_flags" qualifiers="vararg"> - <return type="Variant" /> + <return type="void" /> <argument index="0" name="flags" type="int" /> <argument index="1" name="group" type="StringName" /> <argument index="2" name="method" type="StringName" /> @@ -91,6 +91,7 @@ <return type="Node" /> <argument index="0" name="group" type="StringName" /> <description> + Returns the first node in the specified group, or [code]null[/code] if the group is empty or does not exist. </description> </method> <method name="get_frame" qualifiers="const"> @@ -99,6 +100,13 @@ Returns the current frame number, i.e. the total frame count since the application started. </description> </method> + <method name="get_multiplayer" qualifiers="const"> + <return type="MultiplayerAPI" /> + <argument index="0" name="for_path" type="NodePath" default="NodePath("")" /> + <description> + Return the [MultiplayerAPI] configured for the given path, or the default one if [code]for_path[/code] is empty. + </description> + </method> <method name="get_node_count" qualifiers="const"> <return type="int" /> <description> @@ -193,6 +201,14 @@ Sets the given [code]property[/code] to [code]value[/code] on all members of the given group, respecting the given [enum GroupCallFlags]. </description> </method> + <method name="set_multiplayer"> + <return type="void" /> + <argument index="0" name="multiplayer" type="MultiplayerAPI" /> + <argument index="1" name="root_path" type="NodePath" default="NodePath("")" /> + <description> + Sets a custom [MultiplayerAPI] with the given [code]root_path[/code] (controlling also the relative subpaths), or override the default one if [code]root_path[/code] is empty. + </description> + </method> <method name="set_quit_on_go_back"> <return type="void" /> <argument index="0" name="enabled" type="bool" /> @@ -215,9 +231,6 @@ <member name="edited_scene_root" type="Node" setter="set_edited_scene_root" getter="get_edited_scene_root"> The root of the edited scene. </member> - <member name="multiplayer" type="MultiplayerAPI" setter="set_multiplayer" getter="get_multiplayer"> - The default [MultiplayerAPI] instance for this [SceneTree]. - </member> <member name="multiplayer_poll" type="bool" setter="set_multiplayer_poll_enabled" getter="is_multiplayer_poll_enabled" default="true"> If [code]true[/code] (default value), enables automatic polling of the [MultiplayerAPI] for this SceneTree during [signal process_frame]. If [code]false[/code], you need to manually call [method MultiplayerAPI.poll] to process network packets and deliver RPCs. This allows running RPCs in a different loop (e.g. physics, thread, specific time step) and for manual [Mutex] protection when accessing the [MultiplayerAPI] from threads. diff --git a/doc/classes/ScriptExtension.xml b/doc/classes/ScriptExtension.xml new file mode 100644 index 0000000000..91fa6206d7 --- /dev/null +++ b/doc/classes/ScriptExtension.xml @@ -0,0 +1,173 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<class name="ScriptExtension" inherits="Script" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> + <brief_description> + </brief_description> + <description> + </description> + <tutorials> + </tutorials> + <methods> + <method name="_can_instantiate" qualifiers="virtual const"> + <return type="bool" /> + <description> + </description> + </method> + <method name="_editor_can_reload_from_file" qualifiers="virtual"> + <return type="bool" /> + <description> + </description> + </method> + <method name="_get_base_script" qualifiers="virtual const"> + <return type="Script" /> + <description> + </description> + </method> + <method name="_get_constants" qualifiers="virtual const"> + <return type="Dictionary" /> + <description> + </description> + </method> + <method name="_get_documentation" qualifiers="virtual const"> + <return type="Dictionary[]" /> + <description> + </description> + </method> + <method name="_get_instance_base_type" qualifiers="virtual const"> + <return type="StringName" /> + <description> + </description> + </method> + <method name="_get_language" qualifiers="virtual const"> + <return type="ScriptLanguage" /> + <description> + </description> + </method> + <method name="_get_member_line" qualifiers="virtual const"> + <return type="int" /> + <argument index="0" name="member" type="StringName" /> + <description> + </description> + </method> + <method name="_get_members" qualifiers="virtual const"> + <return type="StringName[]" /> + <description> + </description> + </method> + <method name="_get_method_info" qualifiers="virtual const"> + <return type="Dictionary" /> + <argument index="0" name="method" type="StringName" /> + <description> + </description> + </method> + <method name="_get_property_default_value" qualifiers="virtual const"> + <return type="Variant" /> + <argument index="0" name="property" type="StringName" /> + <description> + </description> + </method> + <method name="_get_rpc_methods" qualifiers="virtual const"> + <return type="Dictionary[]" /> + <description> + </description> + </method> + <method name="_get_script_method_list" qualifiers="virtual const"> + <return type="Dictionary[]" /> + <description> + </description> + </method> + <method name="_get_script_property_list" qualifiers="virtual const"> + <return type="Dictionary[]" /> + <description> + </description> + </method> + <method name="_get_script_signal_list" qualifiers="virtual const"> + <return type="Dictionary[]" /> + <description> + </description> + </method> + <method name="_get_source_code" qualifiers="virtual const"> + <return type="String" /> + <description> + </description> + </method> + <method name="_has_method" qualifiers="virtual const"> + <return type="bool" /> + <argument index="0" name="method" type="StringName" /> + <description> + </description> + </method> + <method name="_has_script_signal" qualifiers="virtual const"> + <return type="bool" /> + <argument index="0" name="signal" type="StringName" /> + <description> + </description> + </method> + <method name="_has_source_code" qualifiers="virtual const"> + <return type="bool" /> + <description> + </description> + </method> + <method name="_inherits_script" qualifiers="virtual const"> + <return type="bool" /> + <argument index="0" name="script" type="Script" /> + <description> + </description> + </method> + <method name="_instance_create" qualifiers="virtual const"> + <return type="void*" /> + <argument index="0" name="for_object" type="Object" /> + <description> + </description> + </method> + <method name="_instance_has" qualifiers="virtual const"> + <return type="bool" /> + <argument index="0" name="object" type="Object" /> + <description> + </description> + </method> + <method name="_is_placeholder_fallback_enabled" qualifiers="virtual const"> + <return type="bool" /> + <description> + </description> + </method> + <method name="_is_tool" qualifiers="virtual const"> + <return type="bool" /> + <description> + </description> + </method> + <method name="_is_valid" qualifiers="virtual const"> + <return type="bool" /> + <description> + </description> + </method> + <method name="_placeholder_erased" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="placeholder" type="void*" /> + <description> + </description> + </method> + <method name="_placeholder_instance_create" qualifiers="virtual const"> + <return type="void*" /> + <argument index="0" name="for_object" type="Object" /> + <description> + </description> + </method> + <method name="_reload" qualifiers="virtual"> + <return type="int" enum="Error" /> + <argument index="0" name="keep_state" type="bool" /> + <description> + </description> + </method> + <method name="_set_source_code" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="code" type="String" /> + <description> + </description> + </method> + <method name="_update_exports" qualifiers="virtual"> + <return type="void" /> + <description> + </description> + </method> + </methods> +</class> diff --git a/doc/classes/ScriptLanguage.xml b/doc/classes/ScriptLanguage.xml new file mode 100644 index 0000000000..b229e461f5 --- /dev/null +++ b/doc/classes/ScriptLanguage.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<class name="ScriptLanguage" inherits="Object" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> + <brief_description> + </brief_description> + <description> + </description> + <tutorials> + </tutorials> +</class> diff --git a/doc/classes/ScriptLanguageExtension.xml b/doc/classes/ScriptLanguageExtension.xml new file mode 100644 index 0000000000..d66bb6a7c7 --- /dev/null +++ b/doc/classes/ScriptLanguageExtension.xml @@ -0,0 +1,416 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<class name="ScriptLanguageExtension" inherits="ScriptLanguage" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> + <brief_description> + </brief_description> + <description> + </description> + <tutorials> + </tutorials> + <methods> + <method name="_add_global_constant" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="name" type="StringName" /> + <argument index="1" name="value" type="Variant" /> + <description> + </description> + </method> + <method name="_add_named_global_constant" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="name" type="StringName" /> + <argument index="1" name="value" type="Variant" /> + <description> + </description> + </method> + <method name="_alloc_instance_binding_data" qualifiers="virtual"> + <return type="void*" /> + <argument index="0" name="object" type="Object" /> + <description> + </description> + </method> + <method name="_auto_indent_code" qualifiers="virtual const"> + <return type="String" /> + <argument index="0" name="code" type="String" /> + <argument index="1" name="from_line" type="int" /> + <argument index="2" name="to_line" type="int" /> + <description> + </description> + </method> + <method name="_can_inherit_from_file" qualifiers="virtual const"> + <return type="bool" /> + <description> + </description> + </method> + <method name="_complete_code" qualifiers="virtual const"> + <return type="Dictionary" /> + <argument index="0" name="code" type="String" /> + <argument index="1" name="path" type="String" /> + <argument index="2" name="owner" type="Object" /> + <description> + </description> + </method> + <method name="_create_script" qualifiers="virtual const"> + <return type="Object" /> + <description> + </description> + </method> + <method name="_debug_get_current_stack_info" qualifiers="virtual"> + <return type="Dictionary[]" /> + <description> + </description> + </method> + <method name="_debug_get_error" qualifiers="virtual const"> + <return type="String" /> + <description> + </description> + </method> + <method name="_debug_get_globals" qualifiers="virtual"> + <return type="Dictionary" /> + <argument index="0" name="max_subitems" type="int" /> + <argument index="1" name="max_depth" type="int" /> + <description> + </description> + </method> + <method name="_debug_get_stack_level_count" qualifiers="virtual const"> + <return type="int" /> + <description> + </description> + </method> + <method name="_debug_get_stack_level_function" qualifiers="virtual const"> + <return type="String" /> + <argument index="0" name="level" type="int" /> + <description> + </description> + </method> + <method name="_debug_get_stack_level_instance" qualifiers="virtual"> + <return type="void*" /> + <argument index="0" name="level" type="int" /> + <description> + </description> + </method> + <method name="_debug_get_stack_level_line" qualifiers="virtual const"> + <return type="int" /> + <argument index="0" name="level" type="int" /> + <description> + </description> + </method> + <method name="_debug_get_stack_level_locals" qualifiers="virtual"> + <return type="Dictionary" /> + <argument index="0" name="level" type="int" /> + <argument index="1" name="max_subitems" type="int" /> + <argument index="2" name="max_depth" type="int" /> + <description> + </description> + </method> + <method name="_debug_get_stack_level_members" qualifiers="virtual"> + <return type="Dictionary" /> + <argument index="0" name="level" type="int" /> + <argument index="1" name="max_subitems" type="int" /> + <argument index="2" name="max_depth" type="int" /> + <description> + </description> + </method> + <method name="_debug_parse_stack_level_expression" qualifiers="virtual"> + <return type="String" /> + <argument index="0" name="level" type="int" /> + <argument index="1" name="expression" type="String" /> + <argument index="2" name="max_subitems" type="int" /> + <argument index="3" name="max_depth" type="int" /> + <description> + </description> + </method> + <method name="_execute_file" qualifiers="virtual"> + <return type="int" enum="Error" /> + <argument index="0" name="path" type="String" /> + <description> + </description> + </method> + <method name="_find_function" qualifiers="virtual const"> + <return type="int" /> + <argument index="0" name="class_name" type="String" /> + <argument index="1" name="function_name" type="String" /> + <description> + </description> + </method> + <method name="_finish" qualifiers="virtual"> + <return type="void" /> + <description> + </description> + </method> + <method name="_frame" qualifiers="virtual"> + <return type="void" /> + <description> + </description> + </method> + <method name="_free_instance_binding_data" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="data" type="void*" /> + <description> + </description> + </method> + <method name="_get_built_in_templates" qualifiers="virtual const"> + <return type="Dictionary[]" /> + <argument index="0" name="object" type="StringName" /> + <description> + </description> + </method> + <method name="_get_comment_delimiters" qualifiers="virtual const"> + <return type="PackedStringArray" /> + <description> + </description> + </method> + <method name="_get_extension" qualifiers="virtual const"> + <return type="String" /> + <description> + </description> + </method> + <method name="_get_global_class_name" qualifiers="virtual const"> + <return type="Dictionary" /> + <argument index="0" name="path" type="String" /> + <description> + </description> + </method> + <method name="_get_name" qualifiers="virtual const"> + <return type="String" /> + <description> + </description> + </method> + <method name="_get_public_constants" qualifiers="virtual const"> + <return type="Dictionary" /> + <description> + </description> + </method> + <method name="_get_public_functions" qualifiers="virtual const"> + <return type="Dictionary[]" /> + <description> + </description> + </method> + <method name="_get_recognized_extensions" qualifiers="virtual const"> + <return type="PackedStringArray" /> + <description> + </description> + </method> + <method name="_get_reserved_words" qualifiers="virtual const"> + <return type="PackedStringArray" /> + <description> + </description> + </method> + <method name="_get_string_delimiters" qualifiers="virtual const"> + <return type="PackedStringArray" /> + <description> + </description> + </method> + <method name="_get_type" qualifiers="virtual const"> + <return type="String" /> + <description> + </description> + </method> + <method name="_handles_global_class_type" qualifiers="virtual const"> + <return type="bool" /> + <argument index="0" name="type" type="String" /> + <description> + </description> + </method> + <method name="_has_named_classes" qualifiers="virtual const"> + <return type="bool" /> + <description> + </description> + </method> + <method name="_init" qualifiers="virtual"> + <return type="void" /> + <description> + </description> + </method> + <method name="_is_control_flow_keyword" qualifiers="virtual const"> + <return type="bool" /> + <argument index="0" name="keyword" type="String" /> + <description> + </description> + </method> + <method name="_is_using_templates" qualifiers="virtual"> + <return type="bool" /> + <description> + </description> + </method> + <method name="_lookup_code" qualifiers="virtual const"> + <return type="Dictionary" /> + <argument index="0" name="code" type="String" /> + <argument index="1" name="symbol" type="String" /> + <argument index="2" name="path" type="String" /> + <argument index="3" name="owner" type="Object" /> + <description> + </description> + </method> + <method name="_make_function" qualifiers="virtual const"> + <return type="String" /> + <argument index="0" name="class_name" type="String" /> + <argument index="1" name="function_name" type="String" /> + <argument index="2" name="function_args" type="PackedStringArray" /> + <description> + </description> + </method> + <method name="_make_template" qualifiers="virtual const"> + <return type="Script" /> + <argument index="0" name="template" type="String" /> + <argument index="1" name="class_name" type="String" /> + <argument index="2" name="base_class_name" type="String" /> + <description> + </description> + </method> + <method name="_open_in_external_editor" qualifiers="virtual"> + <return type="int" enum="Error" /> + <argument index="0" name="script" type="Script" /> + <argument index="1" name="line" type="int" /> + <argument index="2" name="column" type="int" /> + <description> + </description> + </method> + <method name="_overrides_external_editor" qualifiers="virtual"> + <return type="bool" /> + <description> + </description> + </method> + <method name="_profiling_get_accumulated_data" qualifiers="virtual"> + <return type="int" /> + <argument index="0" name="info_array" type="ScriptLanguageExtensionProfilingInfo*" /> + <argument index="1" name="info_max" type="int" /> + <description> + </description> + </method> + <method name="_profiling_get_frame_data" qualifiers="virtual"> + <return type="int" /> + <argument index="0" name="info_array" type="ScriptLanguageExtensionProfilingInfo*" /> + <argument index="1" name="info_max" type="int" /> + <description> + </description> + </method> + <method name="_profiling_start" qualifiers="virtual"> + <return type="void" /> + <description> + </description> + </method> + <method name="_profiling_stop" qualifiers="virtual"> + <return type="void" /> + <description> + </description> + </method> + <method name="_refcount_decremented_instance_binding" qualifiers="virtual"> + <return type="bool" /> + <argument index="0" name="object" type="Object" /> + <description> + </description> + </method> + <method name="_refcount_incremented_instance_binding" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="object" type="Object" /> + <description> + </description> + </method> + <method name="_reload_all_scripts" qualifiers="virtual"> + <return type="void" /> + <description> + </description> + </method> + <method name="_reload_tool_script" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="script" type="Script" /> + <argument index="1" name="soft_reload" type="bool" /> + <description> + </description> + </method> + <method name="_remove_named_global_constant" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="name" type="StringName" /> + <description> + </description> + </method> + <method name="_supports_builtin_mode" qualifiers="virtual const"> + <return type="bool" /> + <description> + </description> + </method> + <method name="_supports_documentation" qualifiers="virtual const"> + <return type="bool" /> + <description> + </description> + </method> + <method name="_thread_enter" qualifiers="virtual"> + <return type="void" /> + <description> + </description> + </method> + <method name="_thread_exit" qualifiers="virtual"> + <return type="void" /> + <description> + </description> + </method> + <method name="_validate" qualifiers="virtual const"> + <return type="Dictionary" /> + <argument index="0" name="script" type="String" /> + <argument index="1" name="path" type="String" /> + <argument index="2" name="validate_functions" type="bool" /> + <argument index="3" name="validate_errors" type="bool" /> + <argument index="4" name="validate_warnings" type="bool" /> + <argument index="5" name="validate_safe_lines" type="bool" /> + <description> + </description> + </method> + <method name="_validate_path" qualifiers="virtual const"> + <return type="String" /> + <argument index="0" name="path" type="String" /> + <description> + </description> + </method> + </methods> + <constants> + <constant name="LOOKUP_RESULT_SCRIPT_LOCATION" value="0" enum="LookupResultType"> + </constant> + <constant name="LOOKUP_RESULT_CLASS" value="1" enum="LookupResultType"> + </constant> + <constant name="LOOKUP_RESULT_CLASS_CONSTANT" value="2" enum="LookupResultType"> + </constant> + <constant name="LOOKUP_RESULT_CLASS_PROPERTY" value="3" enum="LookupResultType"> + </constant> + <constant name="LOOKUP_RESULT_CLASS_METHOD" value="4" enum="LookupResultType"> + </constant> + <constant name="LOOKUP_RESULT_CLASS_ENUM" value="5" enum="LookupResultType"> + </constant> + <constant name="LOOKUP_RESULT_CLASS_TBD_GLOBALSCOPE" value="6" enum="LookupResultType"> + </constant> + <constant name="LOOKUP_RESULT_MAX" value="7" enum="LookupResultType"> + </constant> + <constant name="LOCATION_LOCAL" value="0" enum="CodeCompletionLocation"> + The option is local to the location of the code completion query - e.g. a local variable. + </constant> + <constant name="LOCATION_PARENT_MASK" value="256" enum="CodeCompletionLocation"> + The option is from the containing class or a parent class, relative to the location of the code completion query. Perform a bitwise OR with the class depth (e.g. 0 for the local class, 1 for the parent, 2 for the grandparent, etc) to store the depth of an option in a the class or a parent class. + </constant> + <constant name="LOCATION_OTHER_USER_CODE" value="512" enum="CodeCompletionLocation"> + The option is from user code which is not local and not in a derived class (e.g. Autoload Singletons). + </constant> + <constant name="LOCATION_OTHER" value="1024" enum="CodeCompletionLocation"> + The option is from other engine code, not covered by the other enum constants - e.g. built-in classes. + </constant> + <constant name="CODE_COMPLETION_KIND_CLASS" value="0" enum="CodeCompletionKind"> + </constant> + <constant name="CODE_COMPLETION_KIND_FUNCTION" value="1" enum="CodeCompletionKind"> + </constant> + <constant name="CODE_COMPLETION_KIND_SIGNAL" value="2" enum="CodeCompletionKind"> + </constant> + <constant name="CODE_COMPLETION_KIND_VARIABLE" value="3" enum="CodeCompletionKind"> + </constant> + <constant name="CODE_COMPLETION_KIND_MEMBER" value="4" enum="CodeCompletionKind"> + </constant> + <constant name="CODE_COMPLETION_KIND_ENUM" value="5" enum="CodeCompletionKind"> + </constant> + <constant name="CODE_COMPLETION_KIND_CONSTANT" value="6" enum="CodeCompletionKind"> + </constant> + <constant name="CODE_COMPLETION_KIND_NODE_PATH" value="7" enum="CodeCompletionKind"> + </constant> + <constant name="CODE_COMPLETION_KIND_FILE_PATH" value="8" enum="CodeCompletionKind"> + </constant> + <constant name="CODE_COMPLETION_KIND_PLAIN_TEXT" value="9" enum="CodeCompletionKind"> + </constant> + <constant name="CODE_COMPLETION_KIND_MAX" value="10" enum="CodeCompletionKind"> + </constant> + </constants> +</class> diff --git a/doc/classes/ScrollContainer.xml b/doc/classes/ScrollContainer.xml index 95255ed79f..658793c4c0 100644 --- a/doc/classes/ScrollContainer.xml +++ b/doc/classes/ScrollContainer.xml @@ -9,6 +9,7 @@ Works great with a [Panel] control. You can set [code]EXPAND[/code] on the children's size flags, so they will upscale to the ScrollContainer's size if it's larger (scroll is invisible for the chosen dimension). </description> <tutorials> + <link title="GUI containers">$DOCS_URL/tutorials/ui/gui_containers.html</link> </tutorials> <methods> <method name="ensure_control_visible"> diff --git a/doc/classes/Signal.xml b/doc/classes/Signal.xml index c5855e30a4..049e7f8777 100644 --- a/doc/classes/Signal.xml +++ b/doc/classes/Signal.xml @@ -6,6 +6,8 @@ <description> </description> <tutorials> + <link title="Using Signals">$DOCS_URL/getting_started/step_by_step/signals.html</link> + <link title="GDScript Basics">$DOCS_URL/tutorials/scripting/gdscript/gdscript_basics.html#signals</link> </tutorials> <constructors> <constructor name="Signal"> diff --git a/doc/classes/Skeleton3D.xml b/doc/classes/Skeleton3D.xml index 80a36acacc..f271220989 100644 --- a/doc/classes/Skeleton3D.xml +++ b/doc/classes/Skeleton3D.xml @@ -111,6 +111,14 @@ <return type="Transform3D" /> <argument index="0" name="bone_idx" type="int" /> <description> + Returns the global pose override transform for [code]bone_idx[/code]. + </description> + </method> + <method name="get_bone_global_rest" qualifiers="const"> + <return type="Transform3D" /> + <argument index="0" name="bone_idx" type="int" /> + <description> + Returns the global rest transform for [code]bone_idx[/code]. </description> </method> <method name="get_bone_local_pose_override" qualifiers="const"> diff --git a/doc/classes/SpinBox.xml b/doc/classes/SpinBox.xml index 5e3eb0c9f8..e84f9c38ff 100644 --- a/doc/classes/SpinBox.xml +++ b/doc/classes/SpinBox.xml @@ -25,6 +25,7 @@ The above code will create a [SpinBox], disable context menu on it and set the text alignment to right. See [Range] class for more options over the [SpinBox]. [b]Note:[/b] [SpinBox] relies on an underlying [LineEdit] node. To theme a [SpinBox]'s background, add theme items for [LineEdit] and customize them. + [b]Note:[/b] If you want to implement drag and drop for the underlying [LineEdit], you can use [method Control.set_drag_forwarding] on the node returned by [method get_line_edit]. </description> <tutorials> </tutorials> diff --git a/doc/classes/SplitContainer.xml b/doc/classes/SplitContainer.xml index b2fcd46731..f2bc65f8df 100644 --- a/doc/classes/SplitContainer.xml +++ b/doc/classes/SplitContainer.xml @@ -7,6 +7,7 @@ Container for splitting two [Control]s vertically or horizontally, with a grabber that allows adjusting the split offset or ratio. </description> <tutorials> + <link title="GUI containers">$DOCS_URL/tutorials/ui/gui_containers.html</link> </tutorials> <methods> <method name="clamp_split_offset"> diff --git a/doc/classes/SpriteBase3D.xml b/doc/classes/SpriteBase3D.xml index 405fff0ce8..9733fa3a26 100644 --- a/doc/classes/SpriteBase3D.xml +++ b/doc/classes/SpriteBase3D.xml @@ -53,6 +53,9 @@ <member name="double_sided" type="bool" setter="set_draw_flag" getter="get_draw_flag" default="true"> If [code]true[/code], texture can be seen from the back as well, if [code]false[/code], it is invisible when looking at it from behind. </member> + <member name="fixed_size" type="bool" setter="set_draw_flag" getter="get_draw_flag" default="false"> + If [code]true[/code], the label is rendered at the same size regardless of distance. + </member> <member name="flip_h" type="bool" setter="set_flip_h" getter="is_flipped_h" default="false"> If [code]true[/code], texture is flipped horizontally. </member> @@ -63,6 +66,9 @@ A color value used to [i]multiply[/i] the texture's colors. Can be used for mood-coloring or to simulate the color of light. [b]Note:[/b] If a [member GeometryInstance3D.material_override] is defined on the [SpriteBase3D], the material override must be configured to take vertex colors into account for albedo. Otherwise, the color defined in [member modulate] will be ignored. For a [BaseMaterial3D], [member BaseMaterial3D.vertex_color_use_as_albedo] must be [code]true[/code]. For a [ShaderMaterial], [code]ALBEDO *= COLOR.rgb;[/code] must be inserted in the shader's [code]fragment()[/code] function. </member> + <member name="no_depth_test" type="bool" setter="set_draw_flag" getter="get_draw_flag" default="false"> + If [code]true[/code], depth testing is disabled and the object will be drawn in render order. + </member> <member name="offset" type="Vector2" setter="set_offset" getter="get_offset" default="Vector2(0, 0)"> The texture's drawing offset. </member> @@ -72,6 +78,9 @@ <member name="shaded" type="bool" setter="set_draw_flag" getter="get_draw_flag" default="false"> If [code]true[/code], the [Light3D] in the [Environment] has effects on the sprite. </member> + <member name="texture_filter" type="int" setter="set_texture_filter" getter="get_texture_filter" enum="BaseMaterial3D.TextureFilter" default="3"> + Filter flags for the texture. See [enum BaseMaterial3D.TextureFilter] for options. + </member> <member name="transparent" type="bool" setter="set_draw_flag" getter="get_draw_flag" default="true"> If [code]true[/code], the texture's transparency and the opacity are used to make those parts of the sprite invisible. </member> @@ -86,7 +95,13 @@ <constant name="FLAG_DOUBLE_SIDED" value="2" enum="DrawFlags"> If set, texture can be seen from the back as well. If not, the texture is invisible when looking at it from behind. </constant> - <constant name="FLAG_MAX" value="3" enum="DrawFlags"> + <constant name="FLAG_DISABLE_DEPTH_TEST" value="3" enum="DrawFlags"> + Disables the depth test, so this object is drawn on top of all others. However, objects drawn after it in the draw order may cover it. + </constant> + <constant name="FLAG_FIXED_SIZE" value="4" enum="DrawFlags"> + Label is scaled by depth so that it always appears the same size on screen. + </constant> + <constant name="FLAG_MAX" value="5" enum="DrawFlags"> Represents the size of the [enum DrawFlags] enum. </constant> <constant name="ALPHA_CUT_DISABLED" value="0" enum="AlphaCutMode"> diff --git a/doc/classes/StreamPeerTCP.xml b/doc/classes/StreamPeerTCP.xml index a1f1f1be79..f06cf5c7a2 100644 --- a/doc/classes/StreamPeerTCP.xml +++ b/doc/classes/StreamPeerTCP.xml @@ -51,16 +51,16 @@ Returns the local port to which this peer is bound. </description> </method> - <method name="get_status"> + <method name="get_status" qualifiers="const"> <return type="int" enum="StreamPeerTCP.Status" /> <description> Returns the status of the connection, see [enum Status]. </description> </method> - <method name="is_connected_to_host" qualifiers="const"> - <return type="bool" /> + <method name="poll"> + <return type="int" enum="Error" /> <description> - Returns [code]true[/code] if this peer is currently connected or is connecting to a host, [code]false[/code] otherwise. + Poll the socket, updating its state. See [method get_status]. </description> </method> <method name="set_no_delay"> diff --git a/doc/classes/String.xml b/doc/classes/String.xml index 9a6155c8a8..1f3d5596aa 100644 --- a/doc/classes/String.xml +++ b/doc/classes/String.xml @@ -341,7 +341,6 @@ print("1.7".is_valid_float()) # Prints "true" print("24".is_valid_float()) # Prints "true" print("7e3".is_valid_float()) # Prints "true" - print("24".is_valid_float()) # Prints "true" print("Hello".is_valid_float()) # Prints "false" [/codeblock] </description> @@ -633,8 +632,8 @@ var some_string = "One,Two,Three,Four" var some_array = some_string.rsplit(",", true, 1) print(some_array.size()) # Prints 2 - print(some_array[0]) # Prints "Four" - print(some_array[1]) # Prints "Three,Two,One" + print(some_array[0]) # Prints "One,Two,Three" + print(some_array[1]) # Prints "Four" [/gdscript] [csharp] // There is no Rsplit. @@ -678,7 +677,7 @@ <return type="float" /> <argument index="0" name="text" type="String" /> <description> - Returns the similarity index ([url=https://en.wikipedia.org/wiki/S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) this string compared to another. 1.0 means totally similar and 0.0 means totally dissimilar. + Returns the similarity index ([url=https://en.wikipedia.org/wiki/S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) of this string compared to another. A result of 1.0 means totally similar, while 0.0 means totally dissimilar. [codeblock] print("ABC123".similarity("ABC123")) # Prints "1" print("ABC123".similarity("XYZ456")) # Prints "0" diff --git a/doc/classes/StyleBoxFlat.xml b/doc/classes/StyleBoxFlat.xml index 20430f3205..c80f8dcbb1 100644 --- a/doc/classes/StyleBoxFlat.xml +++ b/doc/classes/StyleBoxFlat.xml @@ -119,7 +119,7 @@ </methods> <members> <member name="anti_aliasing" type="bool" setter="set_anti_aliased" getter="is_anti_aliased" default="true"> - Antialiasing draws a small ring around the edges, which fades to transparency. As a result, edges look much smoother. This is only noticeable when using rounded corners. + Antialiasing draws a small ring around the edges, which fades to transparency. As a result, edges look much smoother. This is only noticeable when using rounded corners or [member skew]. [b]Note:[/b] When using beveled corners with 45-degree angles ([member corner_detail] = 1), it is recommended to set [member anti_aliasing] to [code]false[/code] to ensure crisp visuals and avoid possible visual glitches. </member> <member name="anti_aliasing_size" type="float" setter="set_aa_size" getter="get_aa_size" default="0.625"> @@ -168,15 +168,19 @@ </member> <member name="expand_margin_bottom" type="float" setter="set_expand_margin" getter="get_expand_margin" default="0.0"> Expands the stylebox outside of the control rect on the bottom edge. Useful in combination with [member border_width_bottom] to draw a border outside the control rect. + [b]Note:[/b] Unlike [member StyleBox.content_margin_bottom], [member expand_margin_bottom] does [i]not[/i] affect the size of the clickable area for [Control]s. This can negatively impact usability if used wrong, as the user may try to click an area of the StyleBox that cannot actually receive clicks. </member> <member name="expand_margin_left" type="float" setter="set_expand_margin" getter="get_expand_margin" default="0.0"> Expands the stylebox outside of the control rect on the left edge. Useful in combination with [member border_width_left] to draw a border outside the control rect. + [b]Note:[/b] Unlike [member StyleBox.content_margin_left], [member expand_margin_left] does [i]not[/i] affect the size of the clickable area for [Control]s. This can negatively impact usability if used wrong, as the user may try to click an area of the StyleBox that cannot actually receive clicks. </member> <member name="expand_margin_right" type="float" setter="set_expand_margin" getter="get_expand_margin" default="0.0"> Expands the stylebox outside of the control rect on the right edge. Useful in combination with [member border_width_right] to draw a border outside the control rect. + [b]Note:[/b] Unlike [member StyleBox.content_margin_right], [member expand_margin_right] does [i]not[/i] affect the size of the clickable area for [Control]s. This can negatively impact usability if used wrong, as the user may try to click an area of the StyleBox that cannot actually receive clicks. </member> <member name="expand_margin_top" type="float" setter="set_expand_margin" getter="get_expand_margin" default="0.0"> Expands the stylebox outside of the control rect on the top edge. Useful in combination with [member border_width_top] to draw a border outside the control rect. + [b]Note:[/b] Unlike [member StyleBox.content_margin_top], [member expand_margin_top] does [i]not[/i] affect the size of the clickable area for [Control]s. This can negatively impact usability if used wrong, as the user may try to click an area of the StyleBox that cannot actually receive clicks. </member> <member name="shadow_color" type="Color" setter="set_shadow_color" getter="get_shadow_color" default="Color(0, 0, 0, 0.6)"> The color of the shadow. This has no effect if [member shadow_size] is lower than 1. @@ -187,5 +191,9 @@ <member name="shadow_size" type="int" setter="set_shadow_size" getter="get_shadow_size" default="0"> The shadow size in pixels. </member> + <member name="skew" type="Vector2" setter="set_skew" getter="get_skew" default="Vector2(0, 0)"> + If set to a non-zero value on either axis, [member skew] distorts the StyleBox horizontally and/or vertically. This can be used for "futuristic"-style UIs. Positive values skew the StyleBox towards the right (X axis) and upwards (Y axis), while negative values skew the StyleBox towards the left (X axis) and downwards (Y axis). + [b]Note:[/b] To ensure text does not touch the StyleBox's edges, consider increasing the [StyleBox]'s content margin (see [member StyleBox.content_margin_bottom]). It is preferable to increase the content margin instead of the expand margin (see [member expand_margin_bottom]), as increasing the expand margin does not increase the size of the clickable area for [Control]s. + </member> </members> </class> diff --git a/doc/classes/TabBar.xml b/doc/classes/TabBar.xml index 420ab2adeb..a8ed0d4286 100644 --- a/doc/classes/TabBar.xml +++ b/doc/classes/TabBar.xml @@ -323,6 +323,9 @@ </constant> </constants> <theme_items> + <theme_item name="drop_mark_color" data_type="color" type="Color" default="Color(1, 1, 1, 1)"> + Modulation color for the [theme_item drop_mark] icon. + </theme_item> <theme_item name="font_disabled_color" data_type="color" type="Color" default="Color(0.875, 0.875, 0.875, 0.5)"> Font color of disabled tabs. </theme_item> @@ -335,7 +338,7 @@ <theme_item name="font_unselected_color" data_type="color" type="Color" default="Color(0.7, 0.7, 0.7, 1)"> Font color of the other, unselected tabs. </theme_item> - <theme_item name="hseparation" data_type="constant" type="int" default="4"> + <theme_item name="h_separation" data_type="constant" type="int" default="4"> The horizontal separation between the elements inside tabs. </theme_item> <theme_item name="outline_size" data_type="constant" type="int" default="0"> @@ -356,6 +359,9 @@ <theme_item name="decrement_highlight" data_type="icon" type="Texture2D"> Icon for the left arrow button that appears when there are too many tabs to fit in the container width. Used when the button is being hovered with the cursor. </theme_item> + <theme_item name="drop_mark" data_type="icon" type="Texture2D"> + Icon shown to indicate where a dragged tab is gonna be dropped (see [member drag_to_rearrange_enabled]). + </theme_item> <theme_item name="increment" data_type="icon" type="Texture2D"> Icon for the right arrow button that appears when there are too many tabs to fit in the container width. When the button is disabled (i.e. the last tab is visible) it appears semi-transparent. </theme_item> diff --git a/doc/classes/TabContainer.xml b/doc/classes/TabContainer.xml index ec2be012e9..10b5f730ad 100644 --- a/doc/classes/TabContainer.xml +++ b/doc/classes/TabContainer.xml @@ -9,6 +9,7 @@ [b]Note:[/b] The drawing of the clickable tabs themselves is handled by this node. Adding [TabBar]s as children is not needed. </description> <tutorials> + <link title="GUI containers">$DOCS_URL/tutorials/ui/gui_containers.html</link> </tutorials> <methods> <method name="get_current_tab_control" qualifiers="const"> @@ -30,6 +31,13 @@ Returns the previously active tab index. </description> </method> + <method name="get_tab_button_icon" qualifiers="const"> + <return type="Texture2D" /> + <argument index="0" name="tab_idx" type="int" /> + <description> + Returns the button icon from the tab at index [code]tab_idx[/code]. + </description> + </method> <method name="get_tab_control" qualifiers="const"> <return type="Control" /> <argument index="0" name="tab_idx" type="int" /> @@ -92,6 +100,14 @@ If set on a [Popup] node instance, a popup menu icon appears in the top-right corner of the [TabContainer] (setting it to [code]null[/code] will make it go away). Clicking it will expand the [Popup] node. </description> </method> + <method name="set_tab_button_icon"> + <return type="void" /> + <argument index="0" name="tab_idx" type="int" /> + <argument index="1" name="icon" type="Texture2D" /> + <description> + Sets the button icon from the tab at index [code]tab_idx[/code]. + </description> + </method> <method name="set_tab_disabled"> <return type="void" /> <argument index="0" name="tab_idx" type="int" /> @@ -158,6 +174,12 @@ Emitted when the [TabContainer]'s [Popup] button is clicked. See [method set_popup] for details. </description> </signal> + <signal name="tab_button_pressed"> + <argument index="0" name="tab" type="int" /> + <description> + Emitted when the user clicks on the button icon on this tab. + </description> + </signal> <signal name="tab_changed"> <argument index="0" name="tab" type="int" /> <description> @@ -172,6 +194,9 @@ </signal> </signals> <theme_items> + <theme_item name="drop_mark_color" data_type="color" type="Color" default="Color(1, 1, 1, 1)"> + Modulation color for the [theme_item drop_mark] icon. + </theme_item> <theme_item name="font_disabled_color" data_type="color" type="Color" default="Color(0.875, 0.875, 0.875, 0.5)"> Font color of disabled tabs. </theme_item> @@ -206,6 +231,9 @@ <theme_item name="decrement_highlight" data_type="icon" type="Texture2D"> Icon for the left arrow button that appears when there are too many tabs to fit in the container width. Used when the button is being hovered with the cursor. </theme_item> + <theme_item name="drop_mark" data_type="icon" type="Texture2D"> + Icon shown to indicate where a dragged tab is gonna be dropped (see [member drag_to_rearrange_enabled]). + </theme_item> <theme_item name="increment" data_type="icon" type="Texture2D"> Icon for the right arrow button that appears when there are too many tabs to fit in the container width. When the button is disabled (i.e. the last tab is visible) it appears semi-transparent. </theme_item> diff --git a/doc/classes/TextEdit.xml b/doc/classes/TextEdit.xml index a4edaa79c7..58fdd2d058 100644 --- a/doc/classes/TextEdit.xml +++ b/doc/classes/TextEdit.xml @@ -1017,7 +1017,7 @@ <member name="shortcut_keys_enabled" type="bool" setter="set_shortcut_keys_enabled" getter="is_shortcut_keys_enabled" default="true"> If [code]true[/code], shortcut keys for context menu items are enabled, even if the context menu is disabled. </member> - <member name="structured_text_bidi_override" type="int" setter="set_structured_text_bidi_override" getter="get_structured_text_bidi_override" enum="Control.StructuredTextParser" default="0"> + <member name="structured_text_bidi_override" type="int" setter="set_structured_text_bidi_override" getter="get_structured_text_bidi_override" enum="TextServer.StructuredTextParser" default="0"> Set BiDi algorithm override for the structured text. </member> <member name="structured_text_bidi_override_options" type="Array" setter="set_structured_text_bidi_override_options" getter="get_structured_text_bidi_override_options" default="[]"> diff --git a/doc/classes/TextServer.xml b/doc/classes/TextServer.xml index b4339bef11..2f57b76374 100644 --- a/doc/classes/TextServer.xml +++ b/doc/classes/TextServer.xml @@ -80,6 +80,7 @@ <description> Draws single glyph into a canvas item at the position, using [code]font_rid[/code] at the size [code]size[/code]. [b]Note:[/b] Glyph index is specific to the font, use glyphs indices returned by [method shaped_text_get_glyphs] or [method font_get_glyph_index]. + [b]Note:[/b] If there are pending glyphs to render, calling this function might trigger the texture cache update. </description> </method> <method name="font_draw_glyph_outline" qualifiers="const"> @@ -94,6 +95,7 @@ <description> Draws single glyph outline of size [code]outline_size[/code] into a canvas item at the position, using [code]font_rid[/code] at the size [code]size[/code]. [b]Note:[/b] Glyph index is specific to the font, use glyphs indices returned by [method shaped_text_get_glyphs] or [method font_get_glyph_index]. + [b]Note:[/b] If there are pending glyphs to render, calling this function might trigger the texture cache update. </description> </method> <method name="font_get_ascent" qualifiers="const"> @@ -126,6 +128,13 @@ Returns bitmap font fixed size. </description> </method> + <method name="font_get_generate_mipmaps" qualifiers="const"> + <return type="bool" /> + <argument index="0" name="font_rid" type="RID" /> + <description> + Returns [code]true[/code] if font texture mipmap generation is enabled. + </description> + </method> <method name="font_get_global_oversampling" qualifiers="const"> <return type="float" /> <description> @@ -199,6 +208,26 @@ Returns index of the cache texture containing the glyph. </description> </method> + <method name="font_get_glyph_texture_rid" qualifiers="const"> + <return type="RID" /> + <argument index="0" name="font_rid" type="RID" /> + <argument index="1" name="size" type="Vector2i" /> + <argument index="2" name="glyph" type="int" /> + <description> + Returns resource id of the cache texture containing the glyph. + [b]Note:[/b] If there are pending glyphs to render, calling this function might trigger the texture cache update. + </description> + </method> + <method name="font_get_glyph_texture_size" qualifiers="const"> + <return type="Vector2" /> + <argument index="0" name="font_rid" type="RID" /> + <argument index="1" name="size" type="Vector2i" /> + <argument index="2" name="glyph" type="int" /> + <description> + Returns size of the cache texture containing the glyph. + [b]Note:[/b] If there are pending glyphs to render, calling this function might trigger the texture cache update. + </description> + </method> <method name="font_get_glyph_uv_rect" qualifiers="const"> <return type="Rect2" /> <argument index="0" name="font_rid" type="RID" /> @@ -580,6 +609,14 @@ If set to [code]true[/code] auto-hinting is preferred over font built-in hinting. </description> </method> + <method name="font_set_generate_mipmaps"> + <return type="void" /> + <argument index="0" name="font_rid" type="RID" /> + <argument index="1" name="generate_mipmaps" type="bool" /> + <description> + If set to [code]true[/code] font texture mipmap generation is enabled. + </description> + </method> <method name="font_set_global_oversampling"> <return type="void" /> <argument index="0" name="oversampling" type="float" /> @@ -927,6 +964,15 @@ Converts a number from the numeral systems used in [code]language[/code] to Western Arabic (0..9). </description> </method> + <method name="parse_structured_text" qualifiers="const"> + <return type="Array" /> + <argument index="0" name="parser_type" type="int" enum="TextServer.StructuredTextParser" /> + <argument index="1" name="args" type="Array" /> + <argument index="2" name="text" type="String" /> + <description> + Default implementation of the BiDi algorithm override function. See [enum StructuredTextParser] for more info. + </description> + </method> <method name="percent_sign" qualifiers="const"> <return type="String" /> <argument index="0" name="language" type="String" default="""" /> @@ -1249,9 +1295,9 @@ <method name="shaped_text_get_word_breaks" qualifiers="const"> <return type="PackedInt32Array" /> <argument index="0" name="shaped" type="RID" /> - <argument index="1" name="grapheme_flags" type="int" /> + <argument index="1" name="grapheme_flags" type="int" default="264" /> <description> - Breaks text into words and returns array of character ranges. + Breaks text into words and returns array of character ranges. Use [code]grapheme_flags[/code] to set what characters are used for breaking (see [enum GraphemeFlag]). </description> </method> <method name="shaped_text_hit_test_grapheme" qualifiers="const"> @@ -1395,6 +1441,14 @@ Aligns shaped text to the given tab-stops. </description> </method> + <method name="string_get_word_breaks" qualifiers="const"> + <return type="PackedInt32Array" /> + <argument index="0" name="string" type="String" /> + <argument index="1" name="language" type="String" default="""" /> + <description> + Returns array of the word break character offsets. + </description> + </method> <method name="string_to_lower" qualifiers="const"> <return type="String" /> <argument index="0" name="string" type="String" /> @@ -1630,5 +1684,27 @@ <constant name="FONT_FIXED_WIDTH" value="4" enum="FontStyle"> Font have fixed-width characters. </constant> + <constant name="STRUCTURED_TEXT_DEFAULT" value="0" enum="StructuredTextParser"> + Use default behavior. Same as [code]STRUCTURED_TEXT_NONE[/code] unless specified otherwise in the control description. + </constant> + <constant name="STRUCTURED_TEXT_URI" value="1" enum="StructuredTextParser"> + BiDi override for URI. + </constant> + <constant name="STRUCTURED_TEXT_FILE" value="2" enum="StructuredTextParser"> + BiDi override for file path. + </constant> + <constant name="STRUCTURED_TEXT_EMAIL" value="3" enum="StructuredTextParser"> + BiDi override for email. + </constant> + <constant name="STRUCTURED_TEXT_LIST" value="4" enum="StructuredTextParser"> + BiDi override for lists. + Structured text options: list separator [code]String[/code]. + </constant> + <constant name="STRUCTURED_TEXT_NONE" value="5" enum="StructuredTextParser"> + Use default Unicode BiDi algorithm. + </constant> + <constant name="STRUCTURED_TEXT_CUSTOM" value="6" enum="StructuredTextParser"> + User defined structured text BiDi override function. + </constant> </constants> </class> diff --git a/doc/classes/TextServerExtension.xml b/doc/classes/TextServerExtension.xml index 25647e2668..434d6f909c 100644 --- a/doc/classes/TextServerExtension.xml +++ b/doc/classes/TextServerExtension.xml @@ -121,6 +121,13 @@ Returns bitmap font fixed size. </description> </method> + <method name="font_get_generate_mipmaps" qualifiers="virtual const"> + <return type="bool" /> + <argument index="0" name="font_rid" type="RID" /> + <description> + Returns [code]true[/code] if font texture mipmap generation is enabled. + </description> + </method> <method name="font_get_global_oversampling" qualifiers="virtual const"> <return type="float" /> <description> @@ -193,6 +200,24 @@ Returns index of the cache texture containing the glyph. </description> </method> + <method name="font_get_glyph_texture_rid" qualifiers="virtual const"> + <return type="RID" /> + <argument index="0" name="font_rid" type="RID" /> + <argument index="1" name="size" type="Vector2i" /> + <argument index="2" name="glyph" type="int" /> + <description> + Returns resource id of the cache texture containing the glyph. + </description> + </method> + <method name="font_get_glyph_texture_size" qualifiers="virtual const"> + <return type="Vector2" /> + <argument index="0" name="font_rid" type="RID" /> + <argument index="1" name="size" type="Vector2i" /> + <argument index="2" name="glyph" type="int" /> + <description> + Returns size of the cache texture containing the glyph. + </description> + </method> <method name="font_get_glyph_uv_rect" qualifiers="virtual const"> <return type="Rect2" /> <argument index="0" name="font_rid" type="RID" /> @@ -373,7 +398,7 @@ <return type="Transform2D" /> <argument index="0" name="font_rid" type="RID" /> <description> - Retruns 2D transform applied to the font outlines. + Returns 2D transform applied to the font outlines. </description> </method> <method name="font_get_underline_position" qualifiers="virtual const"> @@ -581,6 +606,14 @@ If set to [code]true[/code] auto-hinting is preferred over font built-in hinting. </description> </method> + <method name="font_set_generate_mipmaps" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="font_rid" type="RID" /> + <argument index="1" name="generate_mipmaps" type="bool" /> + <description> + If set to [code]true[/code] font texture mipmap generation is enabled. + </description> + </method> <method name="font_set_global_oversampling" qualifiers="virtual"> <return type="void" /> <argument index="0" name="oversampling" type="float" /> @@ -927,6 +960,14 @@ Converts a number from the numeral systems used in [code]language[/code] to Western Arabic (0..9). </description> </method> + <method name="parse_structured_text" qualifiers="virtual const"> + <return type="Array" /> + <argument index="0" name="parser_type" type="int" enum="TextServer.StructuredTextParser" /> + <argument index="1" name="args" type="Array" /> + <argument index="2" name="text" type="String" /> + <description> + </description> + </method> <method name="percent_sign" qualifiers="virtual const"> <return type="String" /> <argument index="0" name="language" type="String" /> @@ -1420,6 +1461,14 @@ [b]Note:[/b] This method is used by default line/word breaking methods, and its implementation might be omitted if custom line breaking in implemented. </description> </method> + <method name="string_get_word_breaks" qualifiers="virtual const"> + <return type="PackedInt32Array" /> + <argument index="0" name="string" type="String" /> + <argument index="1" name="language" type="String" /> + <description> + Returns array of the word break character offsets. + </description> + </method> <method name="string_to_lower" qualifiers="virtual const"> <return type="String" /> <argument index="0" name="string" type="String" /> diff --git a/doc/classes/TileMap.xml b/doc/classes/TileMap.xml index 9453bb9e2a..259c800a78 100644 --- a/doc/classes/TileMap.xml +++ b/doc/classes/TileMap.xml @@ -330,10 +330,10 @@ [b]Note:[/b] Enabling [code]collision_animatable[/code] may have a small performance impact, only do it if the TileMap is moving and has colliding tiles. </member> <member name="collision_visibility_mode" type="int" setter="set_collision_visibility_mode" getter="get_collision_visibility_mode" enum="TileMap.VisibilityMode" default="0"> - Show or hide the TileMap's collision shapes. If set to [code]VISIBILITY_MODE_DEFAULT[/code], this depends on the show collision debug settings. + Show or hide the TileMap's collision shapes. If set to [constant VISIBILITY_MODE_DEFAULT], this depends on the show collision debug settings. </member> <member name="navigation_visibility_mode" type="int" setter="set_navigation_visibility_mode" getter="get_navigation_visibility_mode" enum="TileMap.VisibilityMode" default="0"> - Show or hide the TileMap's collision shapes. If set to [code]VISIBILITY_MODE_DEFAULT[/code], this depends on the show navigation debug settings. + Show or hide the TileMap's collision shapes. If set to [constant VISIBILITY_MODE_DEFAULT], this depends on the show navigation debug settings. </member> <member name="tile_set" type="TileSet" setter="set_tileset" getter="get_tileset"> The assigned [TileSet]. diff --git a/doc/classes/Time.xml b/doc/classes/Time.xml index dd83fa54ff..d3aac5fa00 100644 --- a/doc/classes/Time.xml +++ b/doc/classes/Time.xml @@ -50,6 +50,7 @@ <description> Converts the given ISO 8601 date and time string (YYYY-MM-DDTHH:MM:SS) to a dictionary of keys: [code]year[/code], [code]month[/code], [code]day[/code], [code]weekday[/code], [code]hour[/code], [code]minute[/code], and [code]second[/code]. If [code]weekday[/code] is false, then the [code]weekday[/code] entry is excluded (the calculation is relatively expensive). + [b]Note:[/b] Any decimal fraction in the time string will be ignored silently. </description> </method> <method name="get_datetime_dict_from_system" qualifiers="const"> @@ -171,12 +172,14 @@ <description> Converts the given ISO 8601 date and/or time string to a Unix timestamp. The string can contain a date only, a time only, or both. [b]Note:[/b] Unix timestamps are often in UTC. This method does not do any timezone conversion, so the timestamp will be in the same timezone as the given datetime string. + [b]Note:[/b] Any decimal fraction in the time string will be ignored silently. </description> </method> <method name="get_unix_time_from_system" qualifiers="const"> <return type="float" /> <description> Returns the current Unix timestamp in seconds based on the system time in UTC. This method is implemented by the operating system and always returns the time in UTC. + [b]Note:[/b] Unlike other methods that use integer timestamps, this method returns the timestamp as a [float] for sub-second precision. </description> </method> </methods> diff --git a/doc/classes/Tree.xml b/doc/classes/Tree.xml index b8c39bee49..1d4a5b922d 100644 --- a/doc/classes/Tree.xml +++ b/doc/classes/Tree.xml @@ -179,8 +179,9 @@ <return type="Rect2" /> <argument index="0" name="item" type="TreeItem" /> <argument index="1" name="column" type="int" default="-1" /> + <argument index="2" name="button_index" type="int" default="-1" /> <description> - Returns the rectangle area for the specified [TreeItem]. If [code]column[/code] is specified, only get the position and size of that column, otherwise get the rectangle containing all columns. + Returns the rectangle area for the specified [TreeItem]. If [code]column[/code] is specified, only get the position and size of that column, otherwise get the rectangle containing all columns. If a button index is specified, the rectangle of that button will be returned. </description> </method> <method name="get_item_at_position" qualifiers="const"> @@ -521,7 +522,7 @@ <theme_item name="draw_relationship_lines" data_type="constant" type="int" default="0"> Draws the relationship lines if not zero, this acts as a boolean. Relationship lines are drawn at the start of child items to show hierarchy. </theme_item> - <theme_item name="hseparation" data_type="constant" type="int" default="4"> + <theme_item name="h_separation" data_type="constant" type="int" default="4"> The horizontal space between item cells. This is also used as the margin at the start of an item when folding is disabled. </theme_item> <theme_item name="item_margin" data_type="constant" type="int" default="16"> @@ -545,7 +546,7 @@ <theme_item name="scroll_speed" data_type="constant" type="int" default="12"> The speed of border scrolling. </theme_item> - <theme_item name="vseparation" data_type="constant" type="int" default="4"> + <theme_item name="v_separation" data_type="constant" type="int" default="4"> The vertical padding inside each item, i.e. the distance between the item's content and top/bottom border. </theme_item> <theme_item name="font" data_type="font" type="Font"> diff --git a/doc/classes/TreeItem.xml b/doc/classes/TreeItem.xml index c909a35ab5..d2e29bf3b1 100644 --- a/doc/classes/TreeItem.xml +++ b/doc/classes/TreeItem.xml @@ -22,7 +22,7 @@ </description> </method> <method name="call_recursive" qualifiers="vararg"> - <return type="Variant" /> + <return type="void" /> <argument index="0" name="method" type="StringName" /> <description> Calls the [code]method[/code] on the actual TreeItem and its children recursively. Pass parameters as a comma separated list. @@ -284,7 +284,7 @@ </description> </method> <method name="get_structured_text_bidi_override" qualifiers="const"> - <return type="int" enum="Control.StructuredTextParser" /> + <return type="int" enum="TextServer.StructuredTextParser" /> <argument index="0" name="column" type="int" /> <description> </description> @@ -620,7 +620,7 @@ <method name="set_structured_text_bidi_override"> <return type="void" /> <argument index="0" name="column" type="int" /> - <argument index="1" name="parser" type="int" enum="Control.StructuredTextParser" /> + <argument index="1" name="parser" type="int" enum="TextServer.StructuredTextParser" /> <description> </description> </method> diff --git a/doc/classes/Tween.xml b/doc/classes/Tween.xml index 2c152410ce..f9ec0d115d 100644 --- a/doc/classes/Tween.xml +++ b/doc/classes/Tween.xml @@ -6,7 +6,7 @@ <description> Tweens are mostly useful for animations requiring a numerical property to be interpolated over a range of values. The name [i]tween[/i] comes from [i]in-betweening[/i], an animation technique where you specify [i]keyframes[/i] and the computer interpolates the frames that appear between them. [Tween] is more suited than [AnimationPlayer] for animations where you don't know the final values in advance. For example, interpolating a dynamically-chosen camera zoom value is best done with a [Tween]; it would be difficult to do the same thing with an [AnimationPlayer] node. Tweens are also more light-weight than [AnimationPlayer], so they are very much suited for simple animations or general tasks that don't require visual tweaking provided by the editor. They can be used in a fire-and-forget manner for some logic that normally would be done by code. You can e.g. make something shoot periodically by using a looped [CallbackTweener] with a delay. - A [Tween] can be created by using either [method SceneTree.create_tween] or [method Node.create_tween]. [Tween]s created manually (i.e. by using [code]Tween.new()[/code]) are invalid. They can't be used for tweening values, but you can do manual interpolation with [method interpolate_value]. + A [Tween] can be created by using either [method SceneTree.create_tween] or [method Node.create_tween]. [Tween]s created manually (i.e. by using [code]Tween.new()[/code]) are invalid and can't be used for tweening values. A [Tween] animation is composed of a sequence of [Tweener]s, which by default are executed one after another. You can create a sequence by appending [Tweener]s to the [Tween]. Animating something with a [Tweener] is called tweening. Example tweening sequence looks like this: [codeblock] var tween = get_tree().create_tween() @@ -72,7 +72,14 @@ [b]Note:[/b] The [Tween] will become invalid after finished, but you can call [method stop] after the step, to keep it and reset. </description> </method> - <method name="interpolate_value"> + <method name="get_total_elapsed_time" qualifiers="const"> + <return type="float" /> + <description> + Returns the total time in seconds the [Tween] has been animating (i.e. time since it started, not counting pauses etc.). The time is affected by [method set_speed_scale] and [method stop] will reset it to [code]0[/code]. + [b]Note:[/b] As it results from accumulating frame deltas, the time returned after the [Tween] has finished animating will be slightly greater than the actual [Tween] duration. + </description> + </method> + <method name="interpolate_value" qualifiers="static"> <return type="Variant" /> <argument index="0" name="initial_value" type="Variant" /> <argument index="1" name="delta_value" type="Variant" /> @@ -98,7 +105,7 @@ <method name="is_valid"> <return type="bool" /> <description> - Returns whether the [Tween] is valid. A valid [Tween] is a [Tween] contained by the scene tree (i.e. the array from [method SceneTree.get_processed_tweens] will contain this [Tween]). [Tween] might become invalid when it has finished tweening or was killed, also when created with [code]Tween.new()[/code]. Invalid [Tween] can't have [Tweener]s appended, because it can't animate them. You can however still use [method interpolate_value]. + Returns whether the [Tween] is valid. A valid [Tween] is a [Tween] contained by the scene tree (i.e. the array from [method SceneTree.get_processed_tweens] will contain this [Tween]). [Tween] might become invalid when it has finished tweening or was killed, also when created with [code]Tween.new()[/code]. Invalid [Tween] can't have [Tweener]s appended, because it can't animate them. </description> </method> <method name="kill"> @@ -224,10 +231,10 @@ Example: creating an object that moves back and forth and jumps every few seconds. [codeblock] var tween = create_tween().set_loops() - tween.tween_property("position:x", 200, 1).as_relative() + tween.tween_property($Sprite, "position:x", 200.0, 1).as_relative() tween.tween_callback(jump) tween.tween_interval(2) - tween.tween_property("position:x", -200, 1).as_relative() + tween.tween_property($Sprite, "position:x", -200.0, 1).as_relative() tween.tween_callback(jump) tween.tween_interval(2) [/codeblock] @@ -267,16 +274,16 @@ Creates and appends a [PropertyTweener]. This method tweens a [code]property[/code] of an [code]object[/code] between an initial value and [code]final_val[/code] in a span of time equal to [code]duration[/code], in seconds. The initial value by default is a value at the time the tweening of the [PropertyTweener] start. For example: [codeblock] var tween = create_tween() - tween.tween_property($Sprite, "position", Vector2(100, 200) - tween.tween_property($Sprite, "position", Vector2(200, 300) + tween.tween_property($Sprite, "position", Vector2(100, 200), 1) + tween.tween_property($Sprite, "position", Vector2(200, 300), 1) [/codeblock] will move the sprite to position (100, 200) and then to (200, 300). If you use [method PropertyTweener.from] or [method PropertyTweener.from_current], the starting position will be overwritten by the given value instead. See other methods in [PropertyTweener] to see how the tweening can be tweaked further. [b]Note:[/b] You can find the correct property name by hovering over the property in the Inspector. You can also provide the components of a property directly by using [code]"property:component"[/code] (eg. [code]position:x[/code]), where it would only apply to that particular component. Example: moving object twice from the same position, with different transition types. [codeblock] var tween = create_tween() - tween.tween_property($Sprite, "position", Vector2.RIGHT * 300).as_relative().set_trans(Tween.TRANS_SINE) - tween.tween_property($Sprite, "position", Vector2.RIGHT * 300).as_relative().from_current().set_trans(Tween.TRANS_EXPO) + tween.tween_property($Sprite, "position", Vector2.RIGHT * 300, 1).as_relative().set_trans(Tween.TRANS_SINE) + tween.tween_property($Sprite, "position", Vector2.RIGHT * 300, 1).as_relative().from_current().set_trans(Tween.TRANS_EXPO) [/codeblock] </description> </method> diff --git a/doc/classes/Tweener.xml b/doc/classes/Tweener.xml index 3392f9ee23..721ed4e13e 100644 --- a/doc/classes/Tweener.xml +++ b/doc/classes/Tweener.xml @@ -4,7 +4,7 @@ Abstract class for all Tweeners used by [Tween]. </brief_description> <description> - Tweeners are objects that perform a specific animating task, e.g. interpolating a property or calling a method at a given time. A [Tweener] can't be created manually, you need to use a dedicated method from [Tween] or [Node]. + Tweeners are objects that perform a specific animating task, e.g. interpolating a property or calling a method at a given time. A [Tweener] can't be created manually, you need to use a dedicated method from [Tween]. </description> <tutorials> </tutorials> diff --git a/doc/classes/VBoxContainer.xml b/doc/classes/VBoxContainer.xml index 4821791f50..a345668f91 100644 --- a/doc/classes/VBoxContainer.xml +++ b/doc/classes/VBoxContainer.xml @@ -7,6 +7,7 @@ Vertical box container. See [BoxContainer]. </description> <tutorials> + <link title="GUI containers">$DOCS_URL/tutorials/ui/gui_containers.html</link> <link title="3D Voxel Demo">https://godotengine.org/asset-library/asset/676</link> </tutorials> <theme_items> diff --git a/doc/classes/VFlowContainer.xml b/doc/classes/VFlowContainer.xml index d047f4142e..f427276117 100644 --- a/doc/classes/VFlowContainer.xml +++ b/doc/classes/VFlowContainer.xml @@ -9,10 +9,10 @@ <tutorials> </tutorials> <theme_items> - <theme_item name="hseparation" data_type="constant" type="int" default="4"> + <theme_item name="h_separation" data_type="constant" type="int" default="4"> The horizontal separation of children nodes. </theme_item> - <theme_item name="vseparation" data_type="constant" type="int" default="4"> + <theme_item name="v_separation" data_type="constant" type="int" default="4"> The vertical separation of children nodes. </theme_item> </theme_items> diff --git a/doc/classes/VSplitContainer.xml b/doc/classes/VSplitContainer.xml index 32b7637c7e..b933fb2805 100644 --- a/doc/classes/VSplitContainer.xml +++ b/doc/classes/VSplitContainer.xml @@ -7,6 +7,7 @@ Vertical split container. See [SplitContainer]. This goes from top to bottom. </description> <tutorials> + <link title="GUI containers">$DOCS_URL/tutorials/ui/gui_containers.html</link> </tutorials> <theme_items> <theme_item name="autohide" data_type="constant" type="int" default="1"> diff --git a/doc/classes/Vector3.xml b/doc/classes/Vector3.xml index 1653b66003..18204943fd 100644 --- a/doc/classes/Vector3.xml +++ b/doc/classes/Vector3.xml @@ -4,7 +4,7 @@ Vector used for 3D math using floating point coordinates. </brief_description> <description> - 3-element structure that can be used to represent positions in 3D space or any other pair of numeric values. + 3-element structure that can be used to represent positions in 3D space or any other triplet of numeric values. It uses floating-point coordinates. See [Vector3i] for its integer counterpart. [b]Note:[/b] In a boolean context, a Vector3 will evaluate to [code]false[/code] if it's equal to [code]Vector3(0, 0, 0)[/code]. Otherwise, a Vector3 will always evaluate to [code]true[/code]. </description> diff --git a/doc/classes/Vector3i.xml b/doc/classes/Vector3i.xml index 4c7f3badc5..ebb518792f 100644 --- a/doc/classes/Vector3i.xml +++ b/doc/classes/Vector3i.xml @@ -4,7 +4,7 @@ Vector used for 3D math using integer coordinates. </brief_description> <description> - 3-element structure that can be used to represent positions in 3D space or any other pair of numeric values. + 3-element structure that can be used to represent positions in 3D space or any other triplet of numeric values. It uses integer coordinates and is therefore preferable to [Vector3] when exact precision is required. [b]Note:[/b] In a boolean context, a Vector3i will evaluate to [code]false[/code] if it's equal to [code]Vector3i(0, 0, 0)[/code]. Otherwise, a Vector3i will always evaluate to [code]true[/code]. </description> @@ -161,7 +161,7 @@ <description> Gets the remainder of each component of the [Vector3i] with the the given [int]. This operation uses truncated division, which is often not desired as it does not work well with negative numbers. Consider using [method @GlobalScope.posmod] instead if you want to handle negative numbers. [codeblock] - print(Vector2i(10, -20, 30) % 7) # Prints "(3, -6, 2)" + print(Vector3i(10, -20, 30) % 7) # Prints "(3, -6, 2)" [/codeblock] </description> </operator> diff --git a/doc/classes/Viewport.xml b/doc/classes/Viewport.xml index a72e7f1eb0..ce466b2d0f 100644 --- a/doc/classes/Viewport.xml +++ b/doc/classes/Viewport.xml @@ -122,6 +122,7 @@ <return type="bool" /> <description> Returns [code]true[/code] if the viewport is currently performing a drag operation. + Alternative to [constant Node.NOTIFICATION_DRAG_BEGIN] and [constant Node.NOTIFICATION_DRAG_END] when you prefer polling the value. </description> </method> <method name="gui_release_focus"> @@ -172,7 +173,7 @@ </method> <method name="warp_mouse"> <return type="void" /> - <argument index="0" name="to_position" type="Vector2" /> + <argument index="0" name="position" type="Vector2" /> <description> Moves the mouse pointer to the specified position in this [Viewport] using the coordinate system of this [Viewport]. </description> @@ -332,10 +333,10 @@ Represents the size of the [enum ShadowAtlasQuadrantSubdiv] enum. </constant> <constant name="SCALING_3D_MODE_BILINEAR" value="0" enum="Scaling3DMode"> - Enables bilinear scaling on 3D viewports. The amount of scaling can be set using [member scaling_3d_scale]. Values less then [code]1.0[/code] will result in undersampling while values greater than [code]1.0[/code] will result in supersampling. A value of [code]1.0[/code] disables scaling. + Use bilinear scaling for the viewport's 3D buffer. The amount of scaling can be set using [member scaling_3d_scale]. Values less then [code]1.0[/code] will result in undersampling while values greater than [code]1.0[/code] will result in supersampling. A value of [code]1.0[/code] disables scaling. </constant> <constant name="SCALING_3D_MODE_FSR" value="1" enum="Scaling3DMode"> - Enables FSR upscaling on 3D viewports. The amount of scaling can be set using [member scaling_3d_scale]. Values less then [code]1.0[/code] will be result in the viewport being upscaled using FSR. Values greater than [code]1.0[/code] are not supported and bilinear supersampling will be used instead. A value of [code]1.0[/code] disables scaling. + Use AMD FidelityFX Super Resolution 1.0 upscaling for the viewport's 3D buffer. The amount of scaling can be set using [member scaling_3d_scale]. Values less then [code]1.0[/code] will be result in the viewport being upscaled using FSR. Values greater than [code]1.0[/code] are not supported and bilinear downsampling will be used instead. A value of [code]1.0[/code] disables scaling. </constant> <constant name="SCALING_3D_MODE_MAX" value="2" enum="Scaling3DMode"> Represents the size of the [enum Scaling3DMode] enum. diff --git a/doc/classes/VisualShader.xml b/doc/classes/VisualShader.xml index 138aad8d47..5f13e4e7bc 100644 --- a/doc/classes/VisualShader.xml +++ b/doc/classes/VisualShader.xml @@ -214,11 +214,13 @@ </constant> <constant name="VARYING_TYPE_VECTOR_3D" value="2" enum="VaryingType"> </constant> - <constant name="VARYING_TYPE_COLOR" value="3" enum="VaryingType"> + <constant name="VARYING_TYPE_VECTOR_4D" value="3" enum="VaryingType"> </constant> - <constant name="VARYING_TYPE_TRANSFORM" value="4" enum="VaryingType"> + <constant name="VARYING_TYPE_COLOR" value="4" enum="VaryingType"> </constant> - <constant name="VARYING_TYPE_MAX" value="5" enum="VaryingType"> + <constant name="VARYING_TYPE_TRANSFORM" value="5" enum="VaryingType"> + </constant> + <constant name="VARYING_TYPE_MAX" value="6" enum="VaryingType"> </constant> <constant name="NODE_ID_INVALID" value="-1"> </constant> diff --git a/doc/classes/VisualShaderNode.xml b/doc/classes/VisualShaderNode.xml index b4a9c85625..7220731a8a 100644 --- a/doc/classes/VisualShaderNode.xml +++ b/doc/classes/VisualShaderNode.xml @@ -78,16 +78,19 @@ <constant name="PORT_TYPE_VECTOR_3D" value="3" enum="PortType"> 3D vector of floating-point values. Translated to [code]vec3[/code] type in shader code. </constant> - <constant name="PORT_TYPE_BOOLEAN" value="4" enum="PortType"> + <constant name="PORT_TYPE_VECTOR_4D" value="4" enum="PortType"> + 4D vector of floating-point values. Translated to [code]vec4[/code] type in shader code. + </constant> + <constant name="PORT_TYPE_BOOLEAN" value="5" enum="PortType"> Boolean type. Translated to [code]bool[/code] type in shader code. </constant> - <constant name="PORT_TYPE_TRANSFORM" value="5" enum="PortType"> + <constant name="PORT_TYPE_TRANSFORM" value="6" enum="PortType"> Transform type. Translated to [code]mat4[/code] type in shader code. </constant> - <constant name="PORT_TYPE_SAMPLER" value="6" enum="PortType"> + <constant name="PORT_TYPE_SAMPLER" value="7" enum="PortType"> Sampler type. Translated to reference of sampler uniform in shader code. Can only be used for input ports in non-uniform nodes. </constant> - <constant name="PORT_TYPE_MAX" value="7" enum="PortType"> + <constant name="PORT_TYPE_MAX" value="8" enum="PortType"> Represents the size of the [enum PortType] enum. </constant> </constants> diff --git a/doc/classes/VisualShaderNodeClamp.xml b/doc/classes/VisualShaderNodeClamp.xml index fd24b9cfc2..35f50a37c3 100644 --- a/doc/classes/VisualShaderNodeClamp.xml +++ b/doc/classes/VisualShaderNodeClamp.xml @@ -26,7 +26,10 @@ <constant name="OP_TYPE_VECTOR_3D" value="3" enum="OpType"> A 3D vector type. </constant> - <constant name="OP_TYPE_MAX" value="4" enum="OpType"> + <constant name="OP_TYPE_VECTOR_4D" value="4" enum="OpType"> + A 4D vector type. + </constant> + <constant name="OP_TYPE_MAX" value="5" enum="OpType"> Represents the size of the [enum OpType] enum. </constant> </constants> diff --git a/doc/classes/VisualShaderNodeCompare.xml b/doc/classes/VisualShaderNodeCompare.xml index d703181e2d..942ced2ebd 100644 --- a/doc/classes/VisualShaderNodeCompare.xml +++ b/doc/classes/VisualShaderNodeCompare.xml @@ -32,13 +32,16 @@ <constant name="CTYPE_VECTOR_3D" value="3" enum="ComparisonType"> A 3D vector type. </constant> - <constant name="CTYPE_BOOLEAN" value="4" enum="ComparisonType"> + <constant name="CTYPE_VECTOR_4D" value="4" enum="ComparisonType"> + A 4D vector type. + </constant> + <constant name="CTYPE_BOOLEAN" value="5" enum="ComparisonType"> A boolean type. </constant> - <constant name="CTYPE_TRANSFORM" value="5" enum="ComparisonType"> + <constant name="CTYPE_TRANSFORM" value="6" enum="ComparisonType"> A transform ([code]mat4[/code]) type. </constant> - <constant name="CTYPE_MAX" value="6" enum="ComparisonType"> + <constant name="CTYPE_MAX" value="7" enum="ComparisonType"> Represents the size of the [enum ComparisonType] enum. </constant> <constant name="FUNC_EQUAL" value="0" enum="Function"> diff --git a/doc/classes/VisualShaderNodeDerivativeFunc.xml b/doc/classes/VisualShaderNodeDerivativeFunc.xml index ea1153ca25..9a1ad53394 100644 --- a/doc/classes/VisualShaderNodeDerivativeFunc.xml +++ b/doc/classes/VisualShaderNodeDerivativeFunc.xml @@ -26,7 +26,10 @@ <constant name="OP_TYPE_VECTOR_3D" value="2" enum="OpType"> A 3D vector type. </constant> - <constant name="OP_TYPE_MAX" value="3" enum="OpType"> + <constant name="OP_TYPE_VECTOR_4D" value="3" enum="OpType"> + A 4D vector type. + </constant> + <constant name="OP_TYPE_MAX" value="4" enum="OpType"> Represents the size of the [enum OpType] enum. </constant> <constant name="FUNC_SUM" value="0" enum="Function"> diff --git a/doc/classes/VisualShaderNodeMix.xml b/doc/classes/VisualShaderNodeMix.xml index c8ca545183..3470e47726 100644 --- a/doc/classes/VisualShaderNodeMix.xml +++ b/doc/classes/VisualShaderNodeMix.xml @@ -29,7 +29,13 @@ <constant name="OP_TYPE_VECTOR_3D_SCALAR" value="4" enum="OpType"> The [code]a[/code] and [code]b[/code] ports use a 3D vector type. The [code]weight[/code] port uses a scalar type. </constant> - <constant name="OP_TYPE_MAX" value="5" enum="OpType"> + <constant name="OP_TYPE_VECTOR_4D" value="5" enum="OpType"> + A 4D vector type. + </constant> + <constant name="OP_TYPE_VECTOR_4D_SCALAR" value="6" enum="OpType"> + The [code]a[/code] and [code]b[/code] ports use a 4D vector type. The [code]weight[/code] port uses a scalar type. + </constant> + <constant name="OP_TYPE_MAX" value="7" enum="OpType"> Represents the size of the [enum OpType] enum. </constant> </constants> diff --git a/doc/classes/VisualShaderNodeMultiplyAdd.xml b/doc/classes/VisualShaderNodeMultiplyAdd.xml index 811f01fc28..15d0d113e9 100644 --- a/doc/classes/VisualShaderNodeMultiplyAdd.xml +++ b/doc/classes/VisualShaderNodeMultiplyAdd.xml @@ -23,7 +23,10 @@ <constant name="OP_TYPE_VECTOR_3D" value="2" enum="OpType"> A 3D vector type. </constant> - <constant name="OP_TYPE_MAX" value="3" enum="OpType"> + <constant name="OP_TYPE_VECTOR_4D" value="3" enum="OpType"> + A 4D vector type. + </constant> + <constant name="OP_TYPE_MAX" value="4" enum="OpType"> Represents the size of the [enum OpType] enum. </constant> </constants> diff --git a/doc/classes/VisualShaderNodeSmoothStep.xml b/doc/classes/VisualShaderNodeSmoothStep.xml index b10e8b4433..e25fb72921 100644 --- a/doc/classes/VisualShaderNodeSmoothStep.xml +++ b/doc/classes/VisualShaderNodeSmoothStep.xml @@ -30,7 +30,13 @@ <constant name="OP_TYPE_VECTOR_3D_SCALAR" value="4" enum="OpType"> The [code]x[/code] port uses a 3D vector type. The first two ports use a floating-point scalar type. </constant> - <constant name="OP_TYPE_MAX" value="5" enum="OpType"> + <constant name="OP_TYPE_VECTOR_4D" value="5" enum="OpType"> + A 4D vector type. + </constant> + <constant name="OP_TYPE_VECTOR_4D_SCALAR" value="6" enum="OpType"> + The [code]a[/code] and [code]b[/code] ports use a 4D vector type. The [code]weight[/code] port uses a scalar type. + </constant> + <constant name="OP_TYPE_MAX" value="7" enum="OpType"> Represents the size of the [enum OpType] enum. </constant> </constants> diff --git a/doc/classes/VisualShaderNodeStep.xml b/doc/classes/VisualShaderNodeStep.xml index 2d9e87e56c..497b86c85f 100644 --- a/doc/classes/VisualShaderNodeStep.xml +++ b/doc/classes/VisualShaderNodeStep.xml @@ -30,7 +30,13 @@ <constant name="OP_TYPE_VECTOR_3D_SCALAR" value="4" enum="OpType"> The [code]x[/code] port uses a 3D vector type, while the [code]edge[/code] port uses a floating-point scalar type. </constant> - <constant name="OP_TYPE_MAX" value="5" enum="OpType"> + <constant name="OP_TYPE_VECTOR_4D" value="5" enum="OpType"> + A 4D vector type. + </constant> + <constant name="OP_TYPE_VECTOR_4D_SCALAR" value="6" enum="OpType"> + The [code]a[/code] and [code]b[/code] ports use a 4D vector type. The [code]weight[/code] port uses a scalar type. + </constant> + <constant name="OP_TYPE_MAX" value="7" enum="OpType"> Represents the size of the [enum OpType] enum. </constant> </constants> diff --git a/doc/classes/VisualShaderNodeSwitch.xml b/doc/classes/VisualShaderNodeSwitch.xml index 4cadf79b8e..e74ff6e162 100644 --- a/doc/classes/VisualShaderNodeSwitch.xml +++ b/doc/classes/VisualShaderNodeSwitch.xml @@ -26,13 +26,16 @@ <constant name="OP_TYPE_VECTOR_3D" value="3" enum="OpType"> A 3D vector type. </constant> - <constant name="OP_TYPE_BOOLEAN" value="4" enum="OpType"> + <constant name="OP_TYPE_VECTOR_4D" value="4" enum="OpType"> + A 4D vector type. + </constant> + <constant name="OP_TYPE_BOOLEAN" value="5" enum="OpType"> A boolean type. </constant> - <constant name="OP_TYPE_TRANSFORM" value="5" enum="OpType"> + <constant name="OP_TYPE_TRANSFORM" value="6" enum="OpType"> A transform type. </constant> - <constant name="OP_TYPE_MAX" value="6" enum="OpType"> + <constant name="OP_TYPE_MAX" value="7" enum="OpType"> Represents the size of the [enum OpType] enum. </constant> </constants> diff --git a/doc/classes/VisualShaderNodeVec4Constant.xml b/doc/classes/VisualShaderNodeVec4Constant.xml new file mode 100644 index 0000000000..ed3d8a673d --- /dev/null +++ b/doc/classes/VisualShaderNodeVec4Constant.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<class name="VisualShaderNodeVec4Constant" inherits="VisualShaderNodeConstant" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> + <brief_description> + A 4D vector (represented as a [Quaternion]) constant to be used within the visual shader graph. + </brief_description> + <description> + A constant 4D vector (represented as a [Quaternion]), which can be used as an input node. + </description> + <tutorials> + </tutorials> + <members> + <member name="constant" type="Quaternion" setter="set_constant" getter="get_constant" default="Quaternion(0, 0, 0, 1)"> + A 4D vector (represented as a [Quaternion]) constant which represents the state of this node. + </member> + </members> +</class> diff --git a/doc/classes/VisualShaderNodeVec4Uniform.xml b/doc/classes/VisualShaderNodeVec4Uniform.xml new file mode 100644 index 0000000000..5bd13a440b --- /dev/null +++ b/doc/classes/VisualShaderNodeVec4Uniform.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<class name="VisualShaderNodeVec4Uniform" inherits="VisualShaderNodeUniform" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> + <brief_description> + A 4D vector (represented as a [Quaternion]) uniform to be used within the visual shader graph. + </brief_description> + <description> + Translated to [code]uniform vec4[/code] in the shader language. + </description> + <tutorials> + </tutorials> + <members> + <member name="default_value" type="Quaternion" setter="set_default_value" getter="get_default_value" default="Quaternion(0, 0, 0, 1)"> + A default value to be assigned within the shader. + </member> + <member name="default_value_enabled" type="bool" setter="set_default_value_enabled" getter="is_default_value_enabled" default="false"> + Enables usage of the [member default_value]. + </member> + </members> +</class> diff --git a/doc/classes/VisualShaderNodeVectorBase.xml b/doc/classes/VisualShaderNodeVectorBase.xml index 21f70960ab..d9c9f2d79c 100644 --- a/doc/classes/VisualShaderNodeVectorBase.xml +++ b/doc/classes/VisualShaderNodeVectorBase.xml @@ -19,7 +19,10 @@ <constant name="OP_TYPE_VECTOR_3D" value="1" enum="OpType"> A 3D vector type. </constant> - <constant name="OP_TYPE_MAX" value="2" enum="OpType"> + <constant name="OP_TYPE_VECTOR_4D" value="2" enum="OpType"> + A 4D vector type. + </constant> + <constant name="OP_TYPE_MAX" value="3" enum="OpType"> Represents the size of the [enum OpType] enum. </constant> </constants> diff --git a/doc/classes/VisualShaderNodeVectorCompose.xml b/doc/classes/VisualShaderNodeVectorCompose.xml index 87947c088e..b7447894b7 100644 --- a/doc/classes/VisualShaderNodeVectorCompose.xml +++ b/doc/classes/VisualShaderNodeVectorCompose.xml @@ -1,10 +1,10 @@ <?xml version="1.0" encoding="UTF-8" ?> <class name="VisualShaderNodeVectorCompose" inherits="VisualShaderNodeVectorBase" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> <brief_description> - Composes a [Vector3] from three scalars within the visual shader graph. + Composes a [Vector2], [Vector3] or 4D vector (represented as a [Quaternion]) from scalars within the visual shader graph. </brief_description> <description> - Creates a [code]vec3[/code] using three scalar values that can be provided from separate inputs. + Creates a [code]vec2[/code], [code]vec3[/code] or [code]vec4[/code] using scalar values that can be provided from separate inputs. </description> <tutorials> </tutorials> diff --git a/doc/classes/VisualShaderNodeVectorDecompose.xml b/doc/classes/VisualShaderNodeVectorDecompose.xml index f5cff2a9f7..fa18e6b0b9 100644 --- a/doc/classes/VisualShaderNodeVectorDecompose.xml +++ b/doc/classes/VisualShaderNodeVectorDecompose.xml @@ -1,10 +1,10 @@ <?xml version="1.0" encoding="UTF-8" ?> <class name="VisualShaderNodeVectorDecompose" inherits="VisualShaderNodeVectorBase" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> <brief_description> - Decomposes a [Vector3] into three scalars within the visual shader graph. + Decomposes a [Vector2], [Vector3] or 4D vector (represented as a [Quaternion]) into scalars within the visual shader graph. </brief_description> <description> - Takes a [code]vec3[/code] and decomposes it into three scalar values that can be used as separate inputs. + Takes a [code]vec2[/code], [code]vec3[/code] or [code]vec4[/code] and decomposes it into scalar values that can be used as separate outputs. </description> <tutorials> </tutorials> diff --git a/doc/classes/Window.xml b/doc/classes/Window.xml index 9853f906bc..5ce870a899 100644 --- a/doc/classes/Window.xml +++ b/doc/classes/Window.xml @@ -349,6 +349,15 @@ <argument index="0" name="files" type="PackedStringArray" /> <description> Emitted when files are dragged from the OS file manager and dropped in the game window. The argument is a list of file paths. + Note that this method only works with non-embedded windows, i.e. the main window and [Window]-derived nodes when [member Viewport.gui_embed_subwindows] is disabled in the main viewport. + Example usage: + [codeblock] + func _ready(): + get_viewport().files_dropped.connect(on_files_dropped) + + func on_files_dropped(files): + print(files) + [/codeblock] </description> </signal> <signal name="focus_entered"> @@ -458,9 +467,9 @@ <theme_item name="title_outline_modulate" data_type="color" type="Color" default="Color(1, 1, 1, 1)"> The color of the title outline. </theme_item> - <theme_item name="close_h_ofs" data_type="constant" type="int" default="18"> + <theme_item name="close_h_offset" data_type="constant" type="int" default="18"> </theme_item> - <theme_item name="close_v_ofs" data_type="constant" type="int" default="24"> + <theme_item name="close_v_offset" data_type="constant" type="int" default="24"> </theme_item> <theme_item name="resize_margin" data_type="constant" type="int" default="4"> </theme_item> diff --git a/doc/tools/make_rst.py b/doc/tools/make_rst.py index 365beb434b..eba4cee33a 100755 --- a/doc/tools/make_rst.py +++ b/doc/tools/make_rst.py @@ -58,7 +58,7 @@ strings_l10n = {} def print_error(error, state): # type: (str, State) -> None print("ERROR: {}".format(error)) - state.errored = True + state.num_errors += 1 class TypeName: @@ -163,8 +163,7 @@ class ClassDef: class State: def __init__(self): # type: () -> None - # Has any error been reported? - self.errored = False + self.num_errors = 0 self.classes = OrderedDict() # type: OrderedDict[str, ClassDef] self.current_class = "" # type: str @@ -194,7 +193,7 @@ class State: property_name = property.attrib["name"] if property_name in class_def.properties: - print_error("Duplicate property '{}', file: {}".format(property_name, class_name), self) + print_error('{}.xml: Duplicate property "{}".'.format(class_name, property_name), self) continue type_name = TypeName.from_element(property) @@ -305,7 +304,7 @@ class State: constant_def = ConstantDef(constant_name, value, constant.text) if enum is None: if constant_name in class_def.constants: - print_error("Duplicate constant '{}', file: {}".format(constant_name, class_name), self) + print_error('{}.xml: Duplicate constant "{}".'.format(class_name, constant_name), self) continue class_def.constants[constant_name] = constant_def @@ -328,7 +327,7 @@ class State: signal_name = signal.attrib["name"] if signal_name in class_def.signals: - print_error("Duplicate signal '{}', file: {}".format(signal_name, class_name), self) + print_error('{}.xml: Duplicate signal "{}".'.format(class_name, signal_name), self) continue params = parse_arguments(signal) @@ -351,8 +350,8 @@ class State: theme_item_id = "{}_{}".format(theme_item_data_name, theme_item_name) if theme_item_id in class_def.theme_items: print_error( - "Duplicate theme property '{}' of type '{}', file: {}".format( - theme_item_name, theme_item_data_name, class_name + '{}.xml: Duplicate theme item "{}" of type "{}".'.format( + class_name, theme_item_name, theme_item_data_name ), self, ) @@ -430,7 +429,7 @@ def main(): # type: () -> None if entry.msgid in BASE_STRINGS: strings_l10n[entry.msgid] = entry.msgstr else: - print("No PO file at '{}' for language '{}'.".format(lang_file, args.lang)) + print('No PO file at "{}" for language "{}".'.format(lang_file, args.lang)) print("Checking for errors in the XML class reference...") @@ -453,7 +452,7 @@ def main(): # type: () -> None elif os.path.isfile(path): if not path.endswith(".xml"): - print("Got non-.xml file '{}' in input, skipping.".format(path)) + print('Got non-.xml file "{}" in input, skipping.'.format(path)) continue file_list.append(path) @@ -465,17 +464,17 @@ def main(): # type: () -> None try: tree = ET.parse(cur_file) except ET.ParseError as e: - print_error("Parse error reading file '{}': {}".format(cur_file, e), state) + print_error("{}.xml: Parse error while reading the file: {}".format(cur_file, e), state) continue doc = tree.getroot() if "version" not in doc.attrib: - print_error("Version missing from 'doc', file: {}".format(cur_file), state) + print_error('{}.xml: "version" attribute missing from "doc".'.format(cur_file), state) continue name = doc.attrib["name"] if name in classes: - print_error("Duplicate class '{}'".format(name), state) + print_error('{}.xml: Duplicate class "{}".'.format(cur_file, name), state) continue classes[name] = (doc, cur_file) @@ -484,7 +483,7 @@ def main(): # type: () -> None try: state.parse_class(data[0], data[1]) except Exception as e: - print_error("Exception while parsing class '{}': {}".format(name, e), state) + print_error("{}.xml: Exception while parsing class: {}".format(name, e), state) state.sort_classes() @@ -499,12 +498,17 @@ def main(): # type: () -> None state.current_class = class_name make_rst_class(class_def, state, args.dry_run, args.output) - if not state.errored: - print("No errors found.") + if state.num_errors == 0: + print("No errors found in the class reference XML.") if not args.dry_run: print("Wrote reStructuredText files for each class to: %s" % args.output) else: - print("Errors were found in the class reference XML. Please check the messages above.") + if state.num_errors >= 2: + print( + "%d errors were found in the class reference XML. Please check the messages above." % state.num_errors + ) + else: + print("1 error was found in the class reference XML. Please check the messages above.") exit(1) @@ -856,7 +860,7 @@ def escape_rst(text, until_pos=-1): # type: (str) -> str def format_codeblock(code_type, post_text, indent_level, state): # types: str, str, int, state end_pos = post_text.find("[/" + code_type + "]") if end_pos == -1: - print_error("[" + code_type + "] without a closing tag, file: {}".format(state.current_class), state) + print_error("{}.xml: [" + code_type + "] without a closing tag.".format(state.current_class), state) return None code_text = post_text[len("[" + code_type + "]") : end_pos] @@ -875,9 +879,9 @@ def format_codeblock(code_type, post_text, indent_level, state): # types: str, if to_skip > indent_level: print_error( - "Four spaces should be used for indentation within [" + "{}.xml: Four spaces should be used for indentation within [" + code_type - + "], file: {}".format(state.current_class), + + "].".format(state.current_class), state, ) @@ -987,7 +991,7 @@ def rstize_text(text, state): # type: (str, State) -> str if param.find(".") != -1: ss = param.split(".") if len(ss) > 2: - print_error("Bad reference: '{}', file: {}".format(param, state.current_class), state) + print_error('{}.xml: Bad reference: "{}".'.format(state.current_class, param), state) class_param, method_param = ss else: @@ -1000,33 +1004,31 @@ def rstize_text(text, state): # type: (str, State) -> str if cmd.startswith("constructor"): if method_param not in class_def.constructors: print_error( - "Unresolved constructor '{}', file: {}".format(param, state.current_class), state + '{}.xml: Unresolved constructor "{}".'.format(state.current_class, param), state ) ref_type = "_constructor" if cmd.startswith("method"): if method_param not in class_def.methods: - print_error("Unresolved method '{}', file: {}".format(param, state.current_class), state) + print_error('{}.xml: Unresolved method "{}".'.format(state.current_class, param), state) ref_type = "_method" if cmd.startswith("operator"): if method_param not in class_def.operators: - print_error("Unresolved operator '{}', file: {}".format(param, state.current_class), state) + print_error('{}.xml: Unresolved operator "{}".'.format(state.current_class, param), state) ref_type = "_operator" elif cmd.startswith("member"): if method_param not in class_def.properties: - print_error("Unresolved member '{}', file: {}".format(param, state.current_class), state) + print_error('{}.xml: Unresolved member "{}".'.format(state.current_class, param), state) ref_type = "_property" elif cmd.startswith("theme_item"): if method_param not in class_def.theme_items: - print_error( - "Unresolved theme item '{}', file: {}".format(param, state.current_class), state - ) + print_error('{}.xml: Unresolved theme item "{}".'.format(state.current_class, param), state) ref_type = "_theme_{}".format(class_def.theme_items[method_param].data_name) elif cmd.startswith("signal"): if method_param not in class_def.signals: - print_error("Unresolved signal '{}', file: {}".format(param, state.current_class), state) + print_error('{}.xml: Unresolved signal "{}".'.format(state.current_class, param), state) ref_type = "_signal" elif cmd.startswith("constant"): @@ -1052,13 +1054,13 @@ def rstize_text(text, state): # type: (str, State) -> str break if not found: - print_error("Unresolved constant '{}', file: {}".format(param, state.current_class), state) + print_error('{}.xml: Unresolved constant "{}".'.format(state.current_class, param), state) ref_type = "_constant" else: print_error( - "Unresolved type reference '{}' in method reference '{}', file: {}".format( - class_param, param, state.current_class + '{}.xml: Unresolved type reference "{}" in method reference "{}".'.format( + state.current_class, class_param, param ), state, ) @@ -1078,7 +1080,7 @@ def rstize_text(text, state): # type: (str, State) -> str endurl_pos = text.find("[/url]", endq_pos + 1) if endurl_pos == -1: print_error( - "Tag depth mismatch for [url]: no closing [/url], file: {}".format(state.current_class), state + "{}.xml: Tag depth mismatch for [url]: no closing [/url]".format(state.current_class), state ) break link_title = text[endq_pos + 1 : endurl_pos] @@ -1203,7 +1205,9 @@ def rstize_text(text, state): # type: (str, State) -> str previous_pos = pos if tag_depth > 0: - print_error("Tag depth mismatch: too many/little open/close tags, file: {}".format(state.current_class), state) + print_error( + "{}.xml: Tag depth mismatch: too many (or too little) open/close tags.".format(state.current_class), state + ) return text @@ -1247,7 +1251,7 @@ def make_type(klass, state): # type: (str, State) -> str link_type = link_type[:-2] if link_type in state.classes: return ":ref:`{}<class_{}>`".format(klass, link_type) - print_error("Unresolved type '{}', file: {}".format(klass, state.current_class), state) + print_error('{}.xml: Unresolved type "{}".'.format(state.current_class, klass), state) return klass @@ -1271,7 +1275,7 @@ def make_enum(t, state): # type: (str, State) -> str # Don't fail for `Vector3.Axis`, as this enum is a special case which is expected not to be resolved. if "{}.{}".format(c, e) != "Vector3.Axis": - print_error("Unresolved enum '{}', file: {}".format(t, state.current_class), state) + print_error('{}.xml: Unresolved enum "{}".'.format(state.current_class, t), state) return t @@ -1429,7 +1433,7 @@ def sanitize_operator_name(dirty_name, state): # type: (str, State) -> str else: clear_name = "xxx" - print_error("Unsupported operator type '{}', please add the missing rule.".format(dirty_name), state) + print_error('Unsupported operator type "{}", please add the missing rule.'.format(dirty_name), state) return clear_name diff --git a/doc/translations/ar.po b/doc/translations/ar.po index d8fac5a193..e6aba3a951 100644 --- a/doc/translations/ar.po +++ b/doc/translations/ar.po @@ -3413,8 +3413,12 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" "Hints that an integer, float or string property is an enumerated value to " -"pick in a list specified via a hint string such as [code]\"Hello,Something," -"Else\"[/code]." +"pick in a list specified via a hint string.\n" +"The hint string is a comma separated list of names such as [code]\"Hello," +"Something,Else\"[/code]. For integer and float properties, the first name in " +"the list has value 0, the next 1, and so on. Explicit values can also be " +"specified by appending [code]:integer[/code] to the name, e.g. [code]\"Zero," +"One,Three:3,Four,Six:6\"[/code]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -3555,7 +3559,7 @@ msgid "The property is a translatable string." msgstr "" #: doc/classes/@GlobalScope.xml -msgid "Used to group properties together in the editor." +msgid "Used to group properties together in the editor. See [EditorInspector]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -5328,8 +5332,11 @@ msgstr "" #: doc/classes/AnimationNodeBlendTree.xml msgid "" -"This node may contain a sub-tree of any other blend type nodes, such as mix, " -"blend2, blend3, one shot, etc. This is one of the most commonly used roots." +"This node may contain a sub-tree of any other blend type nodes, such as " +"[AnimationNodeTransition], [AnimationNodeBlend2], [AnimationNodeBlend3], " +"[AnimationNodeOneShot], etc. This is one of the most commonly used roots.\n" +"An [AnimationNodeOutput] node named [code]output[/code] is created by " +"default." msgstr "" #: doc/classes/AnimationNodeBlendTree.xml @@ -7071,8 +7078,9 @@ msgstr "" #: doc/classes/Array.xml msgid "" -"Removes the first occurrence of a value from the array. To remove an element " -"by index, use [method remove] instead.\n" +"Removes the first occurrence of a value from the array. If the value does " +"not exist in the array, nothing happens. To remove an element by index, use " +"[method remove] instead.\n" "[b]Note:[/b] This method acts in-place and doesn't return a value.\n" "[b]Note:[/b] On large arrays, this method will be slower if the removed " "element is close to the beginning of the array (index 0). This is because " @@ -10449,8 +10457,15 @@ msgstr "" #: doc/classes/BakedLightmap.xml msgid "" -"When enabled, the lightmapper will merge the textures for all meshes into a " -"single large layered texture. Not supported in GLES2." +"If [code]true[/code], the lightmapper will merge the textures for all meshes " +"into one or several large layered textures. If [code]false[/code], every " +"mesh will get its own lightmap texture, which is less efficient.\n" +"[b]Note:[/b] Atlas lightmap rendering is only supported in GLES3, [i]not[/i] " +"GLES2. Non-atlas lightmap rendering is supported by both GLES3 and GLES2. If " +"[member ProjectSettings.rendering/quality/driver/fallback_to_gles2] is " +"[code]true[/code], consider baking lightmaps with [member atlas_generate] " +"set to [code]false[/code] so that the resulting lightmap is visible in both " +"GLES3 and GLES2." msgstr "" #: doc/classes/BakedLightmap.xml @@ -11795,8 +11810,8 @@ msgstr "" #: doc/classes/Camera.xml msgid "" "The camera's size measured as 1/2 the width or height. Only applicable in " -"orthogonal mode. Since [member keep_aspect] locks on axis, [code]size[/code] " -"sets the other axis' size length." +"orthogonal and frustum modes. Since [member keep_aspect] locks on axis, " +"[code]size[/code] sets the other axis' size length." msgstr "" #: doc/classes/Camera.xml @@ -12597,20 +12612,24 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], the node won't inherit its " -"transform from parent canvas items." +"If [code]enable[/code] is [code]true[/code], this [CanvasItem] will [i]not[/" +"i] inherit its transform from parent [CanvasItem]s. Its draw order will also " +"be changed to make it draw on top of other [CanvasItem]s that are not set as " +"top-level. The [CanvasItem] will effectively act as if it was placed as a " +"child of a bare [Node]. See also [method is_set_as_toplevel]." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"local transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_LOCAL_TRANSFORM_CHANGED] when its local transform " +"changes." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"global transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_TRANSFORM_CHANGED] when its global transform changes." msgstr "" #: doc/classes/CanvasItem.xml @@ -12724,9 +12743,14 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"The [CanvasItem]'s transform has changed. This notification is only received " -"if enabled by [method set_notify_transform] or [method " -"set_notify_local_transform]." +"The [CanvasItem]'s global transform has changed. This notification is only " +"received if enabled by [method set_notify_transform]." +msgstr "" + +#: doc/classes/CanvasItem.xml +msgid "" +"The [CanvasItem]'s local transform has changed. This notification is only " +"received if enabled by [method set_notify_local_transform]." msgstr "" #: doc/classes/CanvasItem.xml @@ -13681,7 +13705,10 @@ msgid "" "number of 2D collision [Shape2D]s. Each shape must be assigned to a [i]shape " "owner[/i]. The CollisionObject2D can have any number of shape owners. Shape " "owners are not nodes and do not appear in the editor, but are accessible " -"through code using the [code]shape_owner_*[/code] methods." +"through code using the [code]shape_owner_*[/code] methods.\n" +"[b]Note:[/b] Only collisions between objects within the same canvas " +"([Viewport] canvas or [CanvasLayer]) are supported. The behavior of " +"collisions between objects in different canvases is undefined." msgstr "" #: doc/classes/CollisionObject2D.xml @@ -19699,9 +19726,8 @@ msgid "" "main font.\n" "DynamicFont uses the [url=https://www.freetype.org/]FreeType[/url] library " "for rasterization. Supported formats are TrueType ([code].ttf[/code]), " -"OpenType ([code].otf[/code]) and Web Open Font Format 1 ([code].woff[/" -"code]). Web Open Font Format 2 ([code].woff2[/code]) is [i]not[/i] " -"supported.\n" +"OpenType ([code].otf[/code]), Web Open Font Format 1 ([code].woff[/code]), " +"and Web Open Font Format 2 ([code].woff2[/code]).\n" "[codeblock]\n" "var dynamic_font = DynamicFont.new()\n" "dynamic_font.font_data = load(\"res://BarlowCondensed-Bold.ttf\")\n" @@ -20568,18 +20594,34 @@ msgid "" msgstr "" #: doc/classes/EditorInspector.xml -msgid "A tab used to edit properties of the selected node." +msgid "A control used to edit properties of an object." msgstr "" #: doc/classes/EditorInspector.xml msgid "" -"The editor inspector is by default located on the right-hand side of the " -"editor. It's used to edit the properties of the selected node. For example, " -"you can select a node such as [Sprite] then edit its transform through the " -"inspector tool. The editor inspector is an essential tool in the game " -"development workflow.\n" -"[b]Note:[/b] This class shouldn't be instantiated directly. Instead, access " -"the singleton using [method EditorInterface.get_inspector]." +"This is the control that implements property editing in the editor's " +"Settings dialogs, the Inspector dock, etc. To get the [EditorInspector] used " +"in the editor's Inspector dock, use [method EditorInterface.get_inspector].\n" +"[EditorInspector] will show properties in the same order as the array " +"returned by [method Object.get_property_list].\n" +"If a property's name is path-like (i.e. if it contains forward slashes), " +"[EditorInspector] will create nested sections for \"directories\" along the " +"path. For example, if a property is named [code]highlighting/gdscript/" +"node_path_color[/code], it will be shown as \"Node Path Color\" inside the " +"\"GDScript\" section nested inside the \"Highlighting\" section.\n" +"If a property has [constant @GlobalScope.PROPERTY_USAGE_GROUP] usage, it " +"will group subsequent properties whose name starts with the property's hint " +"string. The group ends when a property does not start with that hint string " +"or when a new group starts. An empty group name effectively ends the current " +"group. [EditorInspector] will create a top-level section for each group. For " +"example, if a property with group usage is named [code]Collide With[/code] " +"and its hint string is [code]collide_with_[/code], a subsequent " +"[code]collide_with_area[/code] property will be shown as \"Area\" inside the " +"\"Collide With\" section.\n" +"[b]Note:[/b] Unlike sections created from path-like property names, " +"[EditorInspector] won't capitalize the name for sections created from " +"groups. So properties with group usage usually use capitalized names instead " +"of snake_cased names." msgstr "" #: doc/classes/EditorInspector.xml @@ -21754,6 +21796,14 @@ msgid "" "[/codeblock]" msgstr "" +#: modules/gltf/doc_classes/EditorSceneImporterGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [EditorSceneImporterGLTF] within a script will cause an error in an " +"exported project." +msgstr "" + #: doc/classes/EditorScenePostImport.xml msgid "Post-processes scenes after import." msgstr "" @@ -22492,12 +22542,13 @@ msgstr "" #: doc/classes/EditorVCSInterface.xml msgid "" "Helper function to create a commit [Dictionary] item. [code]msg[/code] is " -"the commit message of the commit. [code]author[/code] is a human-readable " -"string containing the author's details, e.g. the email and name configured " -"in the VCS. [code]id[/code] is the identifier of the commit, in whichever " -"format your VCS may provide an identifier to commits. [code]date[/code] is " -"directly added to the commit item and displayed in the editor, and hence, it " -"shall be a well-formatted, human-readable date string." +"the commit message of the commit. [code]author[/code] is a single human-" +"readable string containing all the author's details, e.g. the email and name " +"configured in the VCS. [code]id[/code] is the identifier of the commit, in " +"whichever format your VCS may provide an identifier to commits. " +"[code]unix_timestamp[/code] is the UTC Unix timestamp of when the commit was " +"created. [code]offset_minutes[/code] is the timezone offset in minutes, " +"recorded from the system timezone where the commit was created." msgstr "" #: doc/classes/EditorVCSInterface.xml @@ -25653,6 +25704,50 @@ msgstr "" msgid "Represents the size of the [enum Subdiv] enum." msgstr "" +#: modules/gltf/doc_classes/GLTFAccessor.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAccessor] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFAnimation.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAnimation] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFBufferView.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFBufferView] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFCamera.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFCamera] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFDocument.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFDocument] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFLight.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFLight] within a script will cause an error in an exported project." +msgstr "" + #: modules/gltf/doc_classes/GLTFLight.xml msgid "" "The [Color] of the light. Defaults to white. A black color causes the light " @@ -25702,6 +25797,49 @@ msgid "" "and [DirectionalLight] respectively." msgstr "" +#: modules/gltf/doc_classes/GLTFMesh.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFMesh] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFNode.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFNode] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSkeleton.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSkeleton] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSpecGloss.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSpecGloss] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFState.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFState] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFTexture.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFTexture] within a script will cause an error in an exported project." +msgstr "" + #: modules/mono/doc_classes/GodotSharp.xml msgid "Bridge between Godot and the Mono runtime (Mono-enabled builds only)." msgstr "" @@ -29090,9 +29228,9 @@ msgid "" "Returns a value between 0 and 1 representing the raw intensity of the given " "action, ignoring the action's deadzone. In most cases, you should use " "[method get_action_strength] instead.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29102,9 +29240,9 @@ msgid "" "or L2, R2 triggers) is from the dead zone, the closer the value will be to " "1. If the action is mapped to a control that has no axis as the keyboard, " "the value returned will be 0 or 1.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29237,9 +29375,9 @@ msgid "" "the button.\n" "This is useful for code that needs to run only once when an action is " "pressed, instead of every frame while it's pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_just_pressed] may " "return [code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29251,9 +29389,9 @@ msgid "" "Returns [code]true[/code] when the user stops pressing the action event, " "meaning it's [code]true[/code] only on the frame that the user released the " "button.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29262,9 +29400,9 @@ msgid "" "an action has multiple buttons assigned and more than one of them is " "pressed, releasing one button will release the action, even if some other " "button assigned to this action is still pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29614,18 +29752,18 @@ msgstr "" msgid "" "Returns a value between 0.0 and 1.0 depending on the given actions' state. " "Useful for getting the value of events of type [InputEventJoypadMotion].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml msgid "" "Returns [code]true[/code] if this input event matches a pre-defined action " "of any type.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -29634,9 +29772,9 @@ msgid "" "an echo event for [InputEventKey] events, unless [code]allow_echo[/code] is " "[code]true[/code]). Not relevant for events of type [InputEventMouseMotion] " "or [InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events.\n" +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29648,9 +29786,9 @@ msgid "" "Returns [code]true[/code] if the given action is released (i.e. not " "pressed). Not relevant for events of type [InputEventMouseMotion] or " "[InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -29681,9 +29819,9 @@ msgid "" "event. Only valid for action events i.e key ([InputEventKey]), button " "([InputEventMouseButton] or [InputEventJoypadButton]), axis " "[InputEventJoypadMotion] or action ([InputEventAction]) events.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -30214,9 +30352,9 @@ msgid "" "This method ignores keyboard modifiers if the given [InputEvent] is not " "pressed (for proper release detection). See [method action_has_event] if you " "don't want this behavior.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputMap.xml @@ -32621,7 +32759,7 @@ msgid "" "be within the text's length." msgstr "" -#: doc/classes/LineEdit.xml +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml msgid "Clears the current selection." msgstr "" @@ -32640,6 +32778,19 @@ msgid "" "characters." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection begin column." +msgstr "" + +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection end column." +msgstr "" + +#: doc/classes/LineEdit.xml +#, fuzzy +msgid "Returns [code]true[/code] if the user has selected text." +msgstr "يُرجع جيب التمام \"cosine \" لقيمة المَعلم." + #: doc/classes/LineEdit.xml msgid "Executes a given action as defined in the [enum MenuItems] enum." msgstr "" @@ -34053,6 +34204,39 @@ msgid "Returns the number of surface materials." msgstr "" #: doc/classes/MeshInstance.xml +msgid "" +"Returns [code]true[/code] if this [MeshInstance] can be merged with the " +"specified [code]other_mesh_instance[/code], using the [method MeshInstance." +"merge_meshes] function.\n" +"In order to be mergeable, properties of the [MeshInstance] must match, and " +"each surface must match, in terms of material, attributes and vertex format." +msgstr "" + +#: doc/classes/MeshInstance.xml +msgid "" +"This function can merge together the data from several source " +"[MeshInstance]s into a single destination [MeshInstance] (the MeshInstance " +"the function is called from). This is primarily useful for improving " +"performance by reducing the number of drawcalls and [Node]s.\n" +"Merging should only be attempted for simple meshes that do not contain " +"animation.\n" +"The final vertices can either be returned in global space, or in local space " +"relative to the destination [MeshInstance] global transform (the destination " +"Node must be inside the [SceneTree] for local space to work).\n" +"The function will make a final check for compatibility between the " +"[MeshInstance]s by default, this should always be used unless you have " +"previously checked for compatibility using [method MeshInstance." +"is_mergeable_with]. If the compatibility check is omitted and the meshes are " +"merged, you may see rendering errors.\n" +"[b]Note:[/b] The requirements for similarity between meshes are quite " +"stringent. They can be checked using the [method MeshInstance." +"is_mergeable_with] function prior to calling [method MeshInstance." +"merge_meshes].\n" +"Also note that any initial data in the destination [MeshInstance] data will " +"be discarded." +msgstr "" + +#: doc/classes/MeshInstance.xml msgid "Sets the [Material] for a surface of the [Mesh] resource." msgstr "" @@ -36531,12 +36715,12 @@ msgid "" "[/codeblock]\n" "[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " "must set [member owner] in addition to calling [method add_child]. This is " -"typically relevant for [url=https://godot.readthedocs.io/en/3.2/tutorials/" -"misc/running_code_in_the_editor.html]tool scripts[/url] and [url=https://" -"godot.readthedocs.io/en/latest/tutorials/plugins/editor/index.html]editor " -"plugins[/url]. If [method add_child] is called without setting [member " -"owner], the newly added [Node] will not be visible in the scene tree, though " -"it will be visible in the 2D/3D view." +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37243,7 +37427,15 @@ msgid "" "valid parent, grandparent, etc. ascending in the tree). When saving a node " "(using [PackedScene]), all the nodes it owns will be saved with it. This " "allows for the creation of complex [SceneTree]s, with instancing and " -"subinstancing." +"subinstancing.\n" +"[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " +"must set [member owner] in addition to calling [method add_child]. This is " +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37839,7 +38031,13 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Called when the object is initialized." +msgid "" +"Called when the object is initialized in memory. Can be defined to take in " +"parameters, that are passed in when constructing.\n" +"[b]Note:[/b] If [method _init] is defined with required parameters, then " +"explicit construction is the only valid means of creating an Object of the " +"class. If any other means (such as [method PackedScene.instance]) is used, " +"then initialization will fail." msgstr "" #: doc/classes/Object.xml @@ -38035,7 +38233,10 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Returns the object's metadata entry for the given [code]name[/code]." +msgid "" +"Returns the object's metadata entry for the given [code]name[/code].\n" +"Throws error if the entry does not exist, unless [code]default[/code] is not " +"[code]null[/code] (in which case the default value will be returned)." msgstr "" #: doc/classes/Object.xml @@ -40251,6 +40452,14 @@ msgid "" "[b]Note:[/b] Only available in editor builds." msgstr "" +#: modules/gltf/doc_classes/PackedSceneGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [PackedSceneGLTF] within a script will cause an error in an exported " +"project." +msgstr "" + #: doc/classes/PacketPeer.xml msgid "Abstraction and base class for packet-based protocols." msgstr "" @@ -43107,7 +43316,10 @@ msgid "" msgstr "" #: doc/classes/PhysicsServer.xml -msgid "Returns an Info defined by the [enum ProcessInfo] input given." +msgid "" +"Returns information about the current state of the 3D physics engine. See " +"[enum ProcessInfo] for a list of available states. Only implemented for " +"Godot Physics." msgstr "" #: doc/classes/PhysicsServer.xml @@ -45972,7 +46184,7 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Allows the window to be resizable by default.\n" -"[b]Note:[/b] This setting is ignored on iOS and Android." +"[b]Note:[/b] This setting is ignored on iOS." msgstr "" #: doc/classes/ProjectSettings.xml @@ -46619,7 +46831,7 @@ msgid "Optional name for the 3D render layer 13." msgstr "" #: doc/classes/ProjectSettings.xml -msgid "Optional name for the 3D render layer 14" +msgid "Optional name for the 3D render layer 14." msgstr "" #: doc/classes/ProjectSettings.xml @@ -47889,16 +48101,24 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" -"If [code]true[/code], forces vertex shading for all rendering. This can " -"increase performance a lot, but also reduces quality immensely. Can be used " -"to optimize performance on low-end mobile devices." +"If [code]true[/code], forces vertex shading for all 3D [SpatialMaterial] and " +"[ShaderMaterial] rendering. This can be used to improve performance on low-" +"end mobile devices. The downside is that shading becomes much less accurate, " +"with visible linear interpolation between vertices that are joined together. " +"This can be compensated by ensuring meshes have a sufficient level of " +"subdivision (but not too much, to avoid reducing performance). Some material " +"features are also not supported when vertex shading is enabled.\n" +"See also [member SpatialMaterial.flags_vertex_lighting] which can be used to " +"enable vertex shading on specific materials only.\n" +"[b]Note:[/b] This setting does not affect unshaded materials." msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Lower-end override for [member rendering/quality/shading/" "force_vertex_shading] on mobile devices, due to performance concerns or " -"driver support." +"driver support. If lighting looks broken after exporting the project to a " +"mobile platform, try disabling this setting." msgstr "" #: doc/classes/ProjectSettings.xml @@ -49934,6 +50154,11 @@ msgid "" msgstr "" #: doc/classes/RichTextLabel.xml +#, fuzzy +msgid "Returns the current selection text. Does not include BBCodes." +msgstr "يُرجع قيمة ظل الزاوية للمَعلم." + +#: doc/classes/RichTextLabel.xml msgid "" "Returns the total number of characters from text tags. Does not include " "BBCodes." @@ -52225,14 +52450,23 @@ msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Lowers the [Semaphore], allowing one more thread in. Returns [constant OK] " -"on success, [constant ERR_BUSY] otherwise." +"Lowers the [Semaphore], allowing one more thread in.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Tries to wait for the [Semaphore], if its value is zero, blocks until non-" -"zero. Returns [constant OK] on success, [constant ERR_BUSY] otherwise." +"Like [method wait], but won't block, so if the value is zero, fails " +"immediately and returns [constant ERR_BUSY]. If non-zero, it returns " +"[constant OK] to report success." +msgstr "" + +#: doc/classes/Semaphore.xml +msgid "" +"Waits for the [Semaphore], if its value is zero, blocks until non-zero.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Separator.xml @@ -53678,7 +53912,21 @@ msgstr "" #: doc/classes/SpatialMaterial.xml msgid "" "If [code]true[/code], lighting is calculated per vertex rather than per " -"pixel. This may increase performance on low-end devices." +"pixel. This may increase performance on low-end devices, especially for " +"meshes with a lower polygon count. The downside is that shading becomes much " +"less accurate, with visible linear interpolation between vertices that are " +"joined together. This can be compensated by ensuring meshes have a " +"sufficient level of subdivision (but not too much, to avoid reducing " +"performance). Some material features are also not supported when vertex " +"shading is enabled.\n" +"See also [member ProjectSettings.rendering/quality/shading/" +"force_vertex_shading] which can globally enable vertex shading on all " +"materials.\n" +"[b]Note:[/b] By default, vertex shading is enforced on mobile platforms by " +"[member ProjectSettings.rendering/quality/shading/force_vertex_shading]'s " +"[code]mobile[/code] override.\n" +"[b]Note:[/b] [member flags_vertex_lighting] has no effect if [member " +"flags_unshaded] is [code]true[/code]." msgstr "" #: doc/classes/SpatialMaterial.xml @@ -54482,7 +54730,10 @@ msgid "" "the text alignment to right.\n" "See [Range] class for more options over the [SpinBox].\n" "[b]Note:[/b] [SpinBox] relies on an underlying [LineEdit] node. To theme a " -"[SpinBox]'s background, add theme items for [LineEdit] and customize them." +"[SpinBox]'s background, add theme items for [LineEdit] and customize them.\n" +"[b]Note:[/b] If you want to implement drag and drop for the underlying " +"[LineEdit], you can use [method Control.set_drag_forwarding] on the node " +"returned by [method get_line_edit]." msgstr "" #: doc/classes/SpinBox.xml @@ -55802,7 +56053,6 @@ msgid "" "print(\"1.7\".is_valid_float()) # Prints \"True\"\n" "print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"7e3\".is_valid_float()) # Prints \"True\"\n" -"print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -56039,8 +56289,8 @@ msgid "" "var some_string = \"One,Two,Three,Four\"\n" "var some_array = some_string.rsplit(\",\", true, 1)\n" "print(some_array.size()) # Prints 2\n" -"print(some_array[0]) # Prints \"Four\"\n" -"print(some_array[1]) # Prints \"Three,Two,One\"\n" +"print(some_array[0]) # Prints \"One,Two,Three\"\n" +"print(some_array[1]) # Prints \"Four\"\n" "[/codeblock]" msgstr "" @@ -56073,9 +56323,9 @@ msgstr "" #: doc/classes/String.xml msgid "" "Returns the similarity index ([url=https://en.wikipedia.org/wiki/" -"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) this " -"string compared to another. 1.0 means totally similar and 0.0 means totally " -"dissimilar.\n" +"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) of " +"this string compared to another. A result of 1.0 means totally similar, " +"while 0.0 means totally dissimilar.\n" "[codeblock]\n" "print(\"ABC123\".similarity(\"ABC123\")) # Prints \"1\"\n" "print(\"ABC123\".similarity(\"XYZ456\")) # Prints \"0\"\n" @@ -57550,10 +57800,6 @@ msgid "" msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection begin column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection begin line." msgstr "" @@ -57562,10 +57808,6 @@ msgid "Returns the text inside the selection." msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection end column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection end line." msgstr "" @@ -58590,6 +58832,14 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Adds an empty theme type for every valid data type.\n" +"[b]Note:[/b] Empty types are not saved with the theme. This method only " +"exists to perform in-memory changes to the resource. Use available " +"[code]set_*[/code] methods to add theme items." +msgstr "" + +#: doc/classes/Theme.xml msgid "Clears all values on the theme." msgstr "" @@ -58850,6 +59100,13 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Removes the theme type, gracefully discarding defined theme items. If the " +"type is a variation, this information is also erased. If the type is a base " +"for type variations, those variations lose their base." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Renames the [Color] at [code]old_name[/code] to [code]name[/code] if the " "theme has [code]node_type[/code]. If [code]name[/code] is already taken, " "this method fails." @@ -71576,6 +71833,11 @@ msgid "" msgstr "" #: modules/websocket/doc_classes/WebSocketServer.xml +msgid "" +"Sets additional headers to be sent to clients during the HTTP handshake." +msgstr "" + +#: modules/websocket/doc_classes/WebSocketServer.xml msgid "Stops the server and clear its state." msgstr "" @@ -71671,6 +71933,9 @@ msgid "" "\n" " webxr_interface = ARVRServer.find_interface(\"WebXR\")\n" " if webxr_interface:\n" +" # Map to the standard button/axis ids when possible.\n" +" webxr_interface.xr_standard_mapping = true\n" +"\n" " # WebXR uses a lot of asynchronous callbacks, so we connect to " "various\n" " # signals in order to receive them.\n" @@ -71896,6 +72161,13 @@ msgstr "" #: modules/webxr/doc_classes/WebXRInterface.xml msgid "" +"If set to true, the button and axes ids will be converted to match the " +"standard ids used by other AR/VR interfaces, when possible.\n" +"Otherwise, the ids will be passed through unaltered from WebXR." +msgstr "" + +#: modules/webxr/doc_classes/WebXRInterface.xml +msgid "" "Emitted to indicate that the reference space has been reset or " "reconfigured.\n" "When (or whether) this is emitted depends on the user's browser or device, " diff --git a/doc/translations/ca.po b/doc/translations/ca.po index c024a6fd7b..94543dd2b3 100644 --- a/doc/translations/ca.po +++ b/doc/translations/ca.po @@ -3436,8 +3436,12 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" "Hints that an integer, float or string property is an enumerated value to " -"pick in a list specified via a hint string such as [code]\"Hello,Something," -"Else\"[/code]." +"pick in a list specified via a hint string.\n" +"The hint string is a comma separated list of names such as [code]\"Hello," +"Something,Else\"[/code]. For integer and float properties, the first name in " +"the list has value 0, the next 1, and so on. Explicit values can also be " +"specified by appending [code]:integer[/code] to the name, e.g. [code]\"Zero," +"One,Three:3,Four,Six:6\"[/code]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -3578,7 +3582,7 @@ msgid "The property is a translatable string." msgstr "" #: doc/classes/@GlobalScope.xml -msgid "Used to group properties together in the editor." +msgid "Used to group properties together in the editor. See [EditorInspector]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -5349,8 +5353,11 @@ msgstr "" #: doc/classes/AnimationNodeBlendTree.xml msgid "" -"This node may contain a sub-tree of any other blend type nodes, such as mix, " -"blend2, blend3, one shot, etc. This is one of the most commonly used roots." +"This node may contain a sub-tree of any other blend type nodes, such as " +"[AnimationNodeTransition], [AnimationNodeBlend2], [AnimationNodeBlend3], " +"[AnimationNodeOneShot], etc. This is one of the most commonly used roots.\n" +"An [AnimationNodeOutput] node named [code]output[/code] is created by " +"default." msgstr "" #: doc/classes/AnimationNodeBlendTree.xml @@ -7092,8 +7099,9 @@ msgstr "" #: doc/classes/Array.xml msgid "" -"Removes the first occurrence of a value from the array. To remove an element " -"by index, use [method remove] instead.\n" +"Removes the first occurrence of a value from the array. If the value does " +"not exist in the array, nothing happens. To remove an element by index, use " +"[method remove] instead.\n" "[b]Note:[/b] This method acts in-place and doesn't return a value.\n" "[b]Note:[/b] On large arrays, this method will be slower if the removed " "element is close to the beginning of the array (index 0). This is because " @@ -10469,8 +10477,15 @@ msgstr "" #: doc/classes/BakedLightmap.xml msgid "" -"When enabled, the lightmapper will merge the textures for all meshes into a " -"single large layered texture. Not supported in GLES2." +"If [code]true[/code], the lightmapper will merge the textures for all meshes " +"into one or several large layered textures. If [code]false[/code], every " +"mesh will get its own lightmap texture, which is less efficient.\n" +"[b]Note:[/b] Atlas lightmap rendering is only supported in GLES3, [i]not[/i] " +"GLES2. Non-atlas lightmap rendering is supported by both GLES3 and GLES2. If " +"[member ProjectSettings.rendering/quality/driver/fallback_to_gles2] is " +"[code]true[/code], consider baking lightmaps with [member atlas_generate] " +"set to [code]false[/code] so that the resulting lightmap is visible in both " +"GLES3 and GLES2." msgstr "" #: doc/classes/BakedLightmap.xml @@ -11813,8 +11828,8 @@ msgstr "" #: doc/classes/Camera.xml msgid "" "The camera's size measured as 1/2 the width or height. Only applicable in " -"orthogonal mode. Since [member keep_aspect] locks on axis, [code]size[/code] " -"sets the other axis' size length." +"orthogonal and frustum modes. Since [member keep_aspect] locks on axis, " +"[code]size[/code] sets the other axis' size length." msgstr "" #: doc/classes/Camera.xml @@ -12612,20 +12627,24 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], the node won't inherit its " -"transform from parent canvas items." +"If [code]enable[/code] is [code]true[/code], this [CanvasItem] will [i]not[/" +"i] inherit its transform from parent [CanvasItem]s. Its draw order will also " +"be changed to make it draw on top of other [CanvasItem]s that are not set as " +"top-level. The [CanvasItem] will effectively act as if it was placed as a " +"child of a bare [Node]. See also [method is_set_as_toplevel]." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"local transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_LOCAL_TRANSFORM_CHANGED] when its local transform " +"changes." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"global transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_TRANSFORM_CHANGED] when its global transform changes." msgstr "" #: doc/classes/CanvasItem.xml @@ -12739,9 +12758,14 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"The [CanvasItem]'s transform has changed. This notification is only received " -"if enabled by [method set_notify_transform] or [method " -"set_notify_local_transform]." +"The [CanvasItem]'s global transform has changed. This notification is only " +"received if enabled by [method set_notify_transform]." +msgstr "" + +#: doc/classes/CanvasItem.xml +msgid "" +"The [CanvasItem]'s local transform has changed. This notification is only " +"received if enabled by [method set_notify_local_transform]." msgstr "" #: doc/classes/CanvasItem.xml @@ -13696,7 +13720,10 @@ msgid "" "number of 2D collision [Shape2D]s. Each shape must be assigned to a [i]shape " "owner[/i]. The CollisionObject2D can have any number of shape owners. Shape " "owners are not nodes and do not appear in the editor, but are accessible " -"through code using the [code]shape_owner_*[/code] methods." +"through code using the [code]shape_owner_*[/code] methods.\n" +"[b]Note:[/b] Only collisions between objects within the same canvas " +"([Viewport] canvas or [CanvasLayer]) are supported. The behavior of " +"collisions between objects in different canvases is undefined." msgstr "" #: doc/classes/CollisionObject2D.xml @@ -19703,9 +19730,8 @@ msgid "" "main font.\n" "DynamicFont uses the [url=https://www.freetype.org/]FreeType[/url] library " "for rasterization. Supported formats are TrueType ([code].ttf[/code]), " -"OpenType ([code].otf[/code]) and Web Open Font Format 1 ([code].woff[/" -"code]). Web Open Font Format 2 ([code].woff2[/code]) is [i]not[/i] " -"supported.\n" +"OpenType ([code].otf[/code]), Web Open Font Format 1 ([code].woff[/code]), " +"and Web Open Font Format 2 ([code].woff2[/code]).\n" "[codeblock]\n" "var dynamic_font = DynamicFont.new()\n" "dynamic_font.font_data = load(\"res://BarlowCondensed-Bold.ttf\")\n" @@ -20572,18 +20598,34 @@ msgid "" msgstr "" #: doc/classes/EditorInspector.xml -msgid "A tab used to edit properties of the selected node." +msgid "A control used to edit properties of an object." msgstr "" #: doc/classes/EditorInspector.xml msgid "" -"The editor inspector is by default located on the right-hand side of the " -"editor. It's used to edit the properties of the selected node. For example, " -"you can select a node such as [Sprite] then edit its transform through the " -"inspector tool. The editor inspector is an essential tool in the game " -"development workflow.\n" -"[b]Note:[/b] This class shouldn't be instantiated directly. Instead, access " -"the singleton using [method EditorInterface.get_inspector]." +"This is the control that implements property editing in the editor's " +"Settings dialogs, the Inspector dock, etc. To get the [EditorInspector] used " +"in the editor's Inspector dock, use [method EditorInterface.get_inspector].\n" +"[EditorInspector] will show properties in the same order as the array " +"returned by [method Object.get_property_list].\n" +"If a property's name is path-like (i.e. if it contains forward slashes), " +"[EditorInspector] will create nested sections for \"directories\" along the " +"path. For example, if a property is named [code]highlighting/gdscript/" +"node_path_color[/code], it will be shown as \"Node Path Color\" inside the " +"\"GDScript\" section nested inside the \"Highlighting\" section.\n" +"If a property has [constant @GlobalScope.PROPERTY_USAGE_GROUP] usage, it " +"will group subsequent properties whose name starts with the property's hint " +"string. The group ends when a property does not start with that hint string " +"or when a new group starts. An empty group name effectively ends the current " +"group. [EditorInspector] will create a top-level section for each group. For " +"example, if a property with group usage is named [code]Collide With[/code] " +"and its hint string is [code]collide_with_[/code], a subsequent " +"[code]collide_with_area[/code] property will be shown as \"Area\" inside the " +"\"Collide With\" section.\n" +"[b]Note:[/b] Unlike sections created from path-like property names, " +"[EditorInspector] won't capitalize the name for sections created from " +"groups. So properties with group usage usually use capitalized names instead " +"of snake_cased names." msgstr "" #: doc/classes/EditorInspector.xml @@ -21758,6 +21800,14 @@ msgid "" "[/codeblock]" msgstr "" +#: modules/gltf/doc_classes/EditorSceneImporterGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [EditorSceneImporterGLTF] within a script will cause an error in an " +"exported project." +msgstr "" + #: doc/classes/EditorScenePostImport.xml msgid "Post-processes scenes after import." msgstr "" @@ -22495,12 +22545,13 @@ msgstr "" #: doc/classes/EditorVCSInterface.xml msgid "" "Helper function to create a commit [Dictionary] item. [code]msg[/code] is " -"the commit message of the commit. [code]author[/code] is a human-readable " -"string containing the author's details, e.g. the email and name configured " -"in the VCS. [code]id[/code] is the identifier of the commit, in whichever " -"format your VCS may provide an identifier to commits. [code]date[/code] is " -"directly added to the commit item and displayed in the editor, and hence, it " -"shall be a well-formatted, human-readable date string." +"the commit message of the commit. [code]author[/code] is a single human-" +"readable string containing all the author's details, e.g. the email and name " +"configured in the VCS. [code]id[/code] is the identifier of the commit, in " +"whichever format your VCS may provide an identifier to commits. " +"[code]unix_timestamp[/code] is the UTC Unix timestamp of when the commit was " +"created. [code]offset_minutes[/code] is the timezone offset in minutes, " +"recorded from the system timezone where the commit was created." msgstr "" #: doc/classes/EditorVCSInterface.xml @@ -25654,6 +25705,50 @@ msgstr "" msgid "Represents the size of the [enum Subdiv] enum." msgstr "" +#: modules/gltf/doc_classes/GLTFAccessor.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAccessor] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFAnimation.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAnimation] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFBufferView.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFBufferView] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFCamera.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFCamera] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFDocument.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFDocument] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFLight.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFLight] within a script will cause an error in an exported project." +msgstr "" + #: modules/gltf/doc_classes/GLTFLight.xml msgid "" "The [Color] of the light. Defaults to white. A black color causes the light " @@ -25703,6 +25798,49 @@ msgid "" "and [DirectionalLight] respectively." msgstr "" +#: modules/gltf/doc_classes/GLTFMesh.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFMesh] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFNode.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFNode] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSkeleton.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSkeleton] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSpecGloss.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSpecGloss] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFState.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFState] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFTexture.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFTexture] within a script will cause an error in an exported project." +msgstr "" + #: modules/mono/doc_classes/GodotSharp.xml msgid "Bridge between Godot and the Mono runtime (Mono-enabled builds only)." msgstr "" @@ -29087,9 +29225,9 @@ msgid "" "Returns a value between 0 and 1 representing the raw intensity of the given " "action, ignoring the action's deadzone. In most cases, you should use " "[method get_action_strength] instead.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29099,9 +29237,9 @@ msgid "" "or L2, R2 triggers) is from the dead zone, the closer the value will be to " "1. If the action is mapped to a control that has no axis as the keyboard, " "the value returned will be 0 or 1.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29234,9 +29372,9 @@ msgid "" "the button.\n" "This is useful for code that needs to run only once when an action is " "pressed, instead of every frame while it's pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_just_pressed] may " "return [code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29248,9 +29386,9 @@ msgid "" "Returns [code]true[/code] when the user stops pressing the action event, " "meaning it's [code]true[/code] only on the frame that the user released the " "button.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29259,9 +29397,9 @@ msgid "" "an action has multiple buttons assigned and more than one of them is " "pressed, releasing one button will release the action, even if some other " "button assigned to this action is still pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29611,18 +29749,18 @@ msgstr "" msgid "" "Returns a value between 0.0 and 1.0 depending on the given actions' state. " "Useful for getting the value of events of type [InputEventJoypadMotion].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml msgid "" "Returns [code]true[/code] if this input event matches a pre-defined action " "of any type.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -29631,9 +29769,9 @@ msgid "" "an echo event for [InputEventKey] events, unless [code]allow_echo[/code] is " "[code]true[/code]). Not relevant for events of type [InputEventMouseMotion] " "or [InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events.\n" +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29645,9 +29783,9 @@ msgid "" "Returns [code]true[/code] if the given action is released (i.e. not " "pressed). Not relevant for events of type [InputEventMouseMotion] or " "[InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -29678,9 +29816,9 @@ msgid "" "event. Only valid for action events i.e key ([InputEventKey]), button " "([InputEventMouseButton] or [InputEventJoypadButton]), axis " "[InputEventJoypadMotion] or action ([InputEventAction]) events.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -30210,9 +30348,9 @@ msgid "" "This method ignores keyboard modifiers if the given [InputEvent] is not " "pressed (for proper release detection). See [method action_has_event] if you " "don't want this behavior.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputMap.xml @@ -32616,7 +32754,7 @@ msgid "" "be within the text's length." msgstr "" -#: doc/classes/LineEdit.xml +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml msgid "Clears the current selection." msgstr "" @@ -32635,6 +32773,18 @@ msgid "" "characters." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection begin column." +msgstr "" + +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection end column." +msgstr "" + +#: doc/classes/LineEdit.xml +msgid "Returns [code]true[/code] if the user has selected text." +msgstr "" + #: doc/classes/LineEdit.xml msgid "Executes a given action as defined in the [enum MenuItems] enum." msgstr "" @@ -34048,6 +34198,39 @@ msgid "Returns the number of surface materials." msgstr "" #: doc/classes/MeshInstance.xml +msgid "" +"Returns [code]true[/code] if this [MeshInstance] can be merged with the " +"specified [code]other_mesh_instance[/code], using the [method MeshInstance." +"merge_meshes] function.\n" +"In order to be mergeable, properties of the [MeshInstance] must match, and " +"each surface must match, in terms of material, attributes and vertex format." +msgstr "" + +#: doc/classes/MeshInstance.xml +msgid "" +"This function can merge together the data from several source " +"[MeshInstance]s into a single destination [MeshInstance] (the MeshInstance " +"the function is called from). This is primarily useful for improving " +"performance by reducing the number of drawcalls and [Node]s.\n" +"Merging should only be attempted for simple meshes that do not contain " +"animation.\n" +"The final vertices can either be returned in global space, or in local space " +"relative to the destination [MeshInstance] global transform (the destination " +"Node must be inside the [SceneTree] for local space to work).\n" +"The function will make a final check for compatibility between the " +"[MeshInstance]s by default, this should always be used unless you have " +"previously checked for compatibility using [method MeshInstance." +"is_mergeable_with]. If the compatibility check is omitted and the meshes are " +"merged, you may see rendering errors.\n" +"[b]Note:[/b] The requirements for similarity between meshes are quite " +"stringent. They can be checked using the [method MeshInstance." +"is_mergeable_with] function prior to calling [method MeshInstance." +"merge_meshes].\n" +"Also note that any initial data in the destination [MeshInstance] data will " +"be discarded." +msgstr "" + +#: doc/classes/MeshInstance.xml msgid "Sets the [Material] for a surface of the [Mesh] resource." msgstr "" @@ -36500,12 +36683,12 @@ msgid "" "[/codeblock]\n" "[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " "must set [member owner] in addition to calling [method add_child]. This is " -"typically relevant for [url=https://godot.readthedocs.io/en/3.2/tutorials/" -"misc/running_code_in_the_editor.html]tool scripts[/url] and [url=https://" -"godot.readthedocs.io/en/latest/tutorials/plugins/editor/index.html]editor " -"plugins[/url]. If [method add_child] is called without setting [member " -"owner], the newly added [Node] will not be visible in the scene tree, though " -"it will be visible in the 2D/3D view." +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37212,7 +37395,15 @@ msgid "" "valid parent, grandparent, etc. ascending in the tree). When saving a node " "(using [PackedScene]), all the nodes it owns will be saved with it. This " "allows for the creation of complex [SceneTree]s, with instancing and " -"subinstancing." +"subinstancing.\n" +"[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " +"must set [member owner] in addition to calling [method add_child]. This is " +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37808,7 +37999,13 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Called when the object is initialized." +msgid "" +"Called when the object is initialized in memory. Can be defined to take in " +"parameters, that are passed in when constructing.\n" +"[b]Note:[/b] If [method _init] is defined with required parameters, then " +"explicit construction is the only valid means of creating an Object of the " +"class. If any other means (such as [method PackedScene.instance]) is used, " +"then initialization will fail." msgstr "" #: doc/classes/Object.xml @@ -38004,7 +38201,10 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Returns the object's metadata entry for the given [code]name[/code]." +msgid "" +"Returns the object's metadata entry for the given [code]name[/code].\n" +"Throws error if the entry does not exist, unless [code]default[/code] is not " +"[code]null[/code] (in which case the default value will be returned)." msgstr "" #: doc/classes/Object.xml @@ -40212,6 +40412,14 @@ msgid "" "[b]Note:[/b] Only available in editor builds." msgstr "" +#: modules/gltf/doc_classes/PackedSceneGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [PackedSceneGLTF] within a script will cause an error in an exported " +"project." +msgstr "" + #: doc/classes/PacketPeer.xml msgid "Abstraction and base class for packet-based protocols." msgstr "" @@ -43052,7 +43260,10 @@ msgid "" msgstr "" #: doc/classes/PhysicsServer.xml -msgid "Returns an Info defined by the [enum ProcessInfo] input given." +msgid "" +"Returns information about the current state of the 3D physics engine. See " +"[enum ProcessInfo] for a list of available states. Only implemented for " +"Godot Physics." msgstr "" #: doc/classes/PhysicsServer.xml @@ -45912,7 +46123,7 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Allows the window to be resizable by default.\n" -"[b]Note:[/b] This setting is ignored on iOS and Android." +"[b]Note:[/b] This setting is ignored on iOS." msgstr "" #: doc/classes/ProjectSettings.xml @@ -46559,7 +46770,7 @@ msgid "Optional name for the 3D render layer 13." msgstr "" #: doc/classes/ProjectSettings.xml -msgid "Optional name for the 3D render layer 14" +msgid "Optional name for the 3D render layer 14." msgstr "" #: doc/classes/ProjectSettings.xml @@ -47829,16 +48040,24 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" -"If [code]true[/code], forces vertex shading for all rendering. This can " -"increase performance a lot, but also reduces quality immensely. Can be used " -"to optimize performance on low-end mobile devices." +"If [code]true[/code], forces vertex shading for all 3D [SpatialMaterial] and " +"[ShaderMaterial] rendering. This can be used to improve performance on low-" +"end mobile devices. The downside is that shading becomes much less accurate, " +"with visible linear interpolation between vertices that are joined together. " +"This can be compensated by ensuring meshes have a sufficient level of " +"subdivision (but not too much, to avoid reducing performance). Some material " +"features are also not supported when vertex shading is enabled.\n" +"See also [member SpatialMaterial.flags_vertex_lighting] which can be used to " +"enable vertex shading on specific materials only.\n" +"[b]Note:[/b] This setting does not affect unshaded materials." msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Lower-end override for [member rendering/quality/shading/" "force_vertex_shading] on mobile devices, due to performance concerns or " -"driver support." +"driver support. If lighting looks broken after exporting the project to a " +"mobile platform, try disabling this setting." msgstr "" #: doc/classes/ProjectSettings.xml @@ -49873,6 +50092,10 @@ msgid "" msgstr "" #: doc/classes/RichTextLabel.xml +msgid "Returns the current selection text. Does not include BBCodes." +msgstr "" + +#: doc/classes/RichTextLabel.xml msgid "" "Returns the total number of characters from text tags. Does not include " "BBCodes." @@ -52164,14 +52387,23 @@ msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Lowers the [Semaphore], allowing one more thread in. Returns [constant OK] " -"on success, [constant ERR_BUSY] otherwise." +"Lowers the [Semaphore], allowing one more thread in.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Tries to wait for the [Semaphore], if its value is zero, blocks until non-" -"zero. Returns [constant OK] on success, [constant ERR_BUSY] otherwise." +"Like [method wait], but won't block, so if the value is zero, fails " +"immediately and returns [constant ERR_BUSY]. If non-zero, it returns " +"[constant OK] to report success." +msgstr "" + +#: doc/classes/Semaphore.xml +msgid "" +"Waits for the [Semaphore], if its value is zero, blocks until non-zero.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Separator.xml @@ -53617,7 +53849,21 @@ msgstr "" #: doc/classes/SpatialMaterial.xml msgid "" "If [code]true[/code], lighting is calculated per vertex rather than per " -"pixel. This may increase performance on low-end devices." +"pixel. This may increase performance on low-end devices, especially for " +"meshes with a lower polygon count. The downside is that shading becomes much " +"less accurate, with visible linear interpolation between vertices that are " +"joined together. This can be compensated by ensuring meshes have a " +"sufficient level of subdivision (but not too much, to avoid reducing " +"performance). Some material features are also not supported when vertex " +"shading is enabled.\n" +"See also [member ProjectSettings.rendering/quality/shading/" +"force_vertex_shading] which can globally enable vertex shading on all " +"materials.\n" +"[b]Note:[/b] By default, vertex shading is enforced on mobile platforms by " +"[member ProjectSettings.rendering/quality/shading/force_vertex_shading]'s " +"[code]mobile[/code] override.\n" +"[b]Note:[/b] [member flags_vertex_lighting] has no effect if [member " +"flags_unshaded] is [code]true[/code]." msgstr "" #: doc/classes/SpatialMaterial.xml @@ -54421,7 +54667,10 @@ msgid "" "the text alignment to right.\n" "See [Range] class for more options over the [SpinBox].\n" "[b]Note:[/b] [SpinBox] relies on an underlying [LineEdit] node. To theme a " -"[SpinBox]'s background, add theme items for [LineEdit] and customize them." +"[SpinBox]'s background, add theme items for [LineEdit] and customize them.\n" +"[b]Note:[/b] If you want to implement drag and drop for the underlying " +"[LineEdit], you can use [method Control.set_drag_forwarding] on the node " +"returned by [method get_line_edit]." msgstr "" #: doc/classes/SpinBox.xml @@ -55739,7 +55988,6 @@ msgid "" "print(\"1.7\".is_valid_float()) # Prints \"True\"\n" "print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"7e3\".is_valid_float()) # Prints \"True\"\n" -"print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55976,8 +56224,8 @@ msgid "" "var some_string = \"One,Two,Three,Four\"\n" "var some_array = some_string.rsplit(\",\", true, 1)\n" "print(some_array.size()) # Prints 2\n" -"print(some_array[0]) # Prints \"Four\"\n" -"print(some_array[1]) # Prints \"Three,Two,One\"\n" +"print(some_array[0]) # Prints \"One,Two,Three\"\n" +"print(some_array[1]) # Prints \"Four\"\n" "[/codeblock]" msgstr "" @@ -56010,9 +56258,9 @@ msgstr "" #: doc/classes/String.xml msgid "" "Returns the similarity index ([url=https://en.wikipedia.org/wiki/" -"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) this " -"string compared to another. 1.0 means totally similar and 0.0 means totally " -"dissimilar.\n" +"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) of " +"this string compared to another. A result of 1.0 means totally similar, " +"while 0.0 means totally dissimilar.\n" "[codeblock]\n" "print(\"ABC123\".similarity(\"ABC123\")) # Prints \"1\"\n" "print(\"ABC123\".similarity(\"XYZ456\")) # Prints \"0\"\n" @@ -57483,10 +57731,6 @@ msgid "" msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection begin column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection begin line." msgstr "" @@ -57495,10 +57739,6 @@ msgid "Returns the text inside the selection." msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection end column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection end line." msgstr "" @@ -58519,6 +58759,14 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Adds an empty theme type for every valid data type.\n" +"[b]Note:[/b] Empty types are not saved with the theme. This method only " +"exists to perform in-memory changes to the resource. Use available " +"[code]set_*[/code] methods to add theme items." +msgstr "" + +#: doc/classes/Theme.xml msgid "Clears all values on the theme." msgstr "" @@ -58778,6 +59026,13 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Removes the theme type, gracefully discarding defined theme items. If the " +"type is a variation, this information is also erased. If the type is a base " +"for type variations, those variations lose their base." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Renames the [Color] at [code]old_name[/code] to [code]name[/code] if the " "theme has [code]node_type[/code]. If [code]name[/code] is already taken, " "this method fails." @@ -71471,6 +71726,11 @@ msgid "" msgstr "" #: modules/websocket/doc_classes/WebSocketServer.xml +msgid "" +"Sets additional headers to be sent to clients during the HTTP handshake." +msgstr "" + +#: modules/websocket/doc_classes/WebSocketServer.xml msgid "Stops the server and clear its state." msgstr "" @@ -71566,6 +71826,9 @@ msgid "" "\n" " webxr_interface = ARVRServer.find_interface(\"WebXR\")\n" " if webxr_interface:\n" +" # Map to the standard button/axis ids when possible.\n" +" webxr_interface.xr_standard_mapping = true\n" +"\n" " # WebXR uses a lot of asynchronous callbacks, so we connect to " "various\n" " # signals in order to receive them.\n" @@ -71791,6 +72054,13 @@ msgstr "" #: modules/webxr/doc_classes/WebXRInterface.xml msgid "" +"If set to true, the button and axes ids will be converted to match the " +"standard ids used by other AR/VR interfaces, when possible.\n" +"Otherwise, the ids will be passed through unaltered from WebXR." +msgstr "" + +#: modules/webxr/doc_classes/WebXRInterface.xml +msgid "" "Emitted to indicate that the reference space has been reset or " "reconfigured.\n" "When (or whether) this is emitted depends on the user's browser or device, " diff --git a/doc/translations/classes.pot b/doc/translations/classes.pot index f7706efa7d..dc9d16da28 100644 --- a/doc/translations/classes.pot +++ b/doc/translations/classes.pot @@ -3316,8 +3316,12 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" "Hints that an integer, float or string property is an enumerated value to " -"pick in a list specified via a hint string such as [code]\"Hello,Something," -"Else\"[/code]." +"pick in a list specified via a hint string.\n" +"The hint string is a comma separated list of names such as [code]\"Hello," +"Something,Else\"[/code]. For integer and float properties, the first name in " +"the list has value 0, the next 1, and so on. Explicit values can also be " +"specified by appending [code]:integer[/code] to the name, e.g. [code]\"Zero," +"One,Three:3,Four,Six:6\"[/code]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -3458,7 +3462,7 @@ msgid "The property is a translatable string." msgstr "" #: doc/classes/@GlobalScope.xml -msgid "Used to group properties together in the editor." +msgid "Used to group properties together in the editor. See [EditorInspector]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -5229,8 +5233,11 @@ msgstr "" #: doc/classes/AnimationNodeBlendTree.xml msgid "" -"This node may contain a sub-tree of any other blend type nodes, such as mix, " -"blend2, blend3, one shot, etc. This is one of the most commonly used roots." +"This node may contain a sub-tree of any other blend type nodes, such as " +"[AnimationNodeTransition], [AnimationNodeBlend2], [AnimationNodeBlend3], " +"[AnimationNodeOneShot], etc. This is one of the most commonly used roots.\n" +"An [AnimationNodeOutput] node named [code]output[/code] is created by " +"default." msgstr "" #: doc/classes/AnimationNodeBlendTree.xml @@ -6972,8 +6979,9 @@ msgstr "" #: doc/classes/Array.xml msgid "" -"Removes the first occurrence of a value from the array. To remove an element " -"by index, use [method remove] instead.\n" +"Removes the first occurrence of a value from the array. If the value does " +"not exist in the array, nothing happens. To remove an element by index, use " +"[method remove] instead.\n" "[b]Note:[/b] This method acts in-place and doesn't return a value.\n" "[b]Note:[/b] On large arrays, this method will be slower if the removed " "element is close to the beginning of the array (index 0). This is because " @@ -10349,8 +10357,15 @@ msgstr "" #: doc/classes/BakedLightmap.xml msgid "" -"When enabled, the lightmapper will merge the textures for all meshes into a " -"single large layered texture. Not supported in GLES2." +"If [code]true[/code], the lightmapper will merge the textures for all meshes " +"into one or several large layered textures. If [code]false[/code], every " +"mesh will get its own lightmap texture, which is less efficient.\n" +"[b]Note:[/b] Atlas lightmap rendering is only supported in GLES3, [i]not[/i] " +"GLES2. Non-atlas lightmap rendering is supported by both GLES3 and GLES2. If " +"[member ProjectSettings.rendering/quality/driver/fallback_to_gles2] is " +"[code]true[/code], consider baking lightmaps with [member atlas_generate] " +"set to [code]false[/code] so that the resulting lightmap is visible in both " +"GLES3 and GLES2." msgstr "" #: doc/classes/BakedLightmap.xml @@ -11693,8 +11708,8 @@ msgstr "" #: doc/classes/Camera.xml msgid "" "The camera's size measured as 1/2 the width or height. Only applicable in " -"orthogonal mode. Since [member keep_aspect] locks on axis, [code]size[/code] " -"sets the other axis' size length." +"orthogonal and frustum modes. Since [member keep_aspect] locks on axis, " +"[code]size[/code] sets the other axis' size length." msgstr "" #: doc/classes/Camera.xml @@ -12492,20 +12507,24 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], the node won't inherit its " -"transform from parent canvas items." +"If [code]enable[/code] is [code]true[/code], this [CanvasItem] will [i]not[/" +"i] inherit its transform from parent [CanvasItem]s. Its draw order will also " +"be changed to make it draw on top of other [CanvasItem]s that are not set as " +"top-level. The [CanvasItem] will effectively act as if it was placed as a " +"child of a bare [Node]. See also [method is_set_as_toplevel]." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"local transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_LOCAL_TRANSFORM_CHANGED] when its local transform " +"changes." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"global transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_TRANSFORM_CHANGED] when its global transform changes." msgstr "" #: doc/classes/CanvasItem.xml @@ -12619,9 +12638,14 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"The [CanvasItem]'s transform has changed. This notification is only received " -"if enabled by [method set_notify_transform] or [method " -"set_notify_local_transform]." +"The [CanvasItem]'s global transform has changed. This notification is only " +"received if enabled by [method set_notify_transform]." +msgstr "" + +#: doc/classes/CanvasItem.xml +msgid "" +"The [CanvasItem]'s local transform has changed. This notification is only " +"received if enabled by [method set_notify_local_transform]." msgstr "" #: doc/classes/CanvasItem.xml @@ -13576,7 +13600,10 @@ msgid "" "number of 2D collision [Shape2D]s. Each shape must be assigned to a [i]shape " "owner[/i]. The CollisionObject2D can have any number of shape owners. Shape " "owners are not nodes and do not appear in the editor, but are accessible " -"through code using the [code]shape_owner_*[/code] methods." +"through code using the [code]shape_owner_*[/code] methods.\n" +"[b]Note:[/b] Only collisions between objects within the same canvas " +"([Viewport] canvas or [CanvasLayer]) are supported. The behavior of " +"collisions between objects in different canvases is undefined." msgstr "" #: doc/classes/CollisionObject2D.xml @@ -19583,9 +19610,8 @@ msgid "" "main font.\n" "DynamicFont uses the [url=https://www.freetype.org/]FreeType[/url] library " "for rasterization. Supported formats are TrueType ([code].ttf[/code]), " -"OpenType ([code].otf[/code]) and Web Open Font Format 1 ([code].woff[/" -"code]). Web Open Font Format 2 ([code].woff2[/code]) is [i]not[/i] " -"supported.\n" +"OpenType ([code].otf[/code]), Web Open Font Format 1 ([code].woff[/code]), " +"and Web Open Font Format 2 ([code].woff2[/code]).\n" "[codeblock]\n" "var dynamic_font = DynamicFont.new()\n" "dynamic_font.font_data = load(\"res://BarlowCondensed-Bold.ttf\")\n" @@ -20452,18 +20478,34 @@ msgid "" msgstr "" #: doc/classes/EditorInspector.xml -msgid "A tab used to edit properties of the selected node." +msgid "A control used to edit properties of an object." msgstr "" #: doc/classes/EditorInspector.xml msgid "" -"The editor inspector is by default located on the right-hand side of the " -"editor. It's used to edit the properties of the selected node. For example, " -"you can select a node such as [Sprite] then edit its transform through the " -"inspector tool. The editor inspector is an essential tool in the game " -"development workflow.\n" -"[b]Note:[/b] This class shouldn't be instantiated directly. Instead, access " -"the singleton using [method EditorInterface.get_inspector]." +"This is the control that implements property editing in the editor's " +"Settings dialogs, the Inspector dock, etc. To get the [EditorInspector] used " +"in the editor's Inspector dock, use [method EditorInterface.get_inspector].\n" +"[EditorInspector] will show properties in the same order as the array " +"returned by [method Object.get_property_list].\n" +"If a property's name is path-like (i.e. if it contains forward slashes), " +"[EditorInspector] will create nested sections for \"directories\" along the " +"path. For example, if a property is named [code]highlighting/gdscript/" +"node_path_color[/code], it will be shown as \"Node Path Color\" inside the " +"\"GDScript\" section nested inside the \"Highlighting\" section.\n" +"If a property has [constant @GlobalScope.PROPERTY_USAGE_GROUP] usage, it " +"will group subsequent properties whose name starts with the property's hint " +"string. The group ends when a property does not start with that hint string " +"or when a new group starts. An empty group name effectively ends the current " +"group. [EditorInspector] will create a top-level section for each group. For " +"example, if a property with group usage is named [code]Collide With[/code] " +"and its hint string is [code]collide_with_[/code], a subsequent " +"[code]collide_with_area[/code] property will be shown as \"Area\" inside the " +"\"Collide With\" section.\n" +"[b]Note:[/b] Unlike sections created from path-like property names, " +"[EditorInspector] won't capitalize the name for sections created from " +"groups. So properties with group usage usually use capitalized names instead " +"of snake_cased names." msgstr "" #: doc/classes/EditorInspector.xml @@ -21638,6 +21680,14 @@ msgid "" "[/codeblock]" msgstr "" +#: modules/gltf/doc_classes/EditorSceneImporterGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [EditorSceneImporterGLTF] within a script will cause an error in an " +"exported project." +msgstr "" + #: doc/classes/EditorScenePostImport.xml msgid "Post-processes scenes after import." msgstr "" @@ -22375,12 +22425,13 @@ msgstr "" #: doc/classes/EditorVCSInterface.xml msgid "" "Helper function to create a commit [Dictionary] item. [code]msg[/code] is " -"the commit message of the commit. [code]author[/code] is a human-readable " -"string containing the author's details, e.g. the email and name configured " -"in the VCS. [code]id[/code] is the identifier of the commit, in whichever " -"format your VCS may provide an identifier to commits. [code]date[/code] is " -"directly added to the commit item and displayed in the editor, and hence, it " -"shall be a well-formatted, human-readable date string." +"the commit message of the commit. [code]author[/code] is a single human-" +"readable string containing all the author's details, e.g. the email and name " +"configured in the VCS. [code]id[/code] is the identifier of the commit, in " +"whichever format your VCS may provide an identifier to commits. " +"[code]unix_timestamp[/code] is the UTC Unix timestamp of when the commit was " +"created. [code]offset_minutes[/code] is the timezone offset in minutes, " +"recorded from the system timezone where the commit was created." msgstr "" #: doc/classes/EditorVCSInterface.xml @@ -25531,6 +25582,50 @@ msgstr "" msgid "Represents the size of the [enum Subdiv] enum." msgstr "" +#: modules/gltf/doc_classes/GLTFAccessor.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAccessor] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFAnimation.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAnimation] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFBufferView.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFBufferView] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFCamera.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFCamera] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFDocument.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFDocument] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFLight.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFLight] within a script will cause an error in an exported project." +msgstr "" + #: modules/gltf/doc_classes/GLTFLight.xml msgid "" "The [Color] of the light. Defaults to white. A black color causes the light " @@ -25580,6 +25675,49 @@ msgid "" "and [DirectionalLight] respectively." msgstr "" +#: modules/gltf/doc_classes/GLTFMesh.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFMesh] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFNode.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFNode] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSkeleton.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSkeleton] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSpecGloss.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSpecGloss] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFState.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFState] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFTexture.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFTexture] within a script will cause an error in an exported project." +msgstr "" + #: modules/mono/doc_classes/GodotSharp.xml msgid "Bridge between Godot and the Mono runtime (Mono-enabled builds only)." msgstr "" @@ -28964,9 +29102,9 @@ msgid "" "Returns a value between 0 and 1 representing the raw intensity of the given " "action, ignoring the action's deadzone. In most cases, you should use " "[method get_action_strength] instead.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -28976,9 +29114,9 @@ msgid "" "or L2, R2 triggers) is from the dead zone, the closer the value will be to " "1. If the action is mapped to a control that has no axis as the keyboard, " "the value returned will be 0 or 1.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29111,9 +29249,9 @@ msgid "" "the button.\n" "This is useful for code that needs to run only once when an action is " "pressed, instead of every frame while it's pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_just_pressed] may " "return [code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29125,9 +29263,9 @@ msgid "" "Returns [code]true[/code] when the user stops pressing the action event, " "meaning it's [code]true[/code] only on the frame that the user released the " "button.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29136,9 +29274,9 @@ msgid "" "an action has multiple buttons assigned and more than one of them is " "pressed, releasing one button will release the action, even if some other " "button assigned to this action is still pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29488,18 +29626,18 @@ msgstr "" msgid "" "Returns a value between 0.0 and 1.0 depending on the given actions' state. " "Useful for getting the value of events of type [InputEventJoypadMotion].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml msgid "" "Returns [code]true[/code] if this input event matches a pre-defined action " "of any type.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -29508,9 +29646,9 @@ msgid "" "an echo event for [InputEventKey] events, unless [code]allow_echo[/code] is " "[code]true[/code]). Not relevant for events of type [InputEventMouseMotion] " "or [InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events.\n" +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29522,9 +29660,9 @@ msgid "" "Returns [code]true[/code] if the given action is released (i.e. not " "pressed). Not relevant for events of type [InputEventMouseMotion] or " "[InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -29555,9 +29693,9 @@ msgid "" "event. Only valid for action events i.e key ([InputEventKey]), button " "([InputEventMouseButton] or [InputEventJoypadButton]), axis " "[InputEventJoypadMotion] or action ([InputEventAction]) events.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -30087,9 +30225,9 @@ msgid "" "This method ignores keyboard modifiers if the given [InputEvent] is not " "pressed (for proper release detection). See [method action_has_event] if you " "don't want this behavior.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputMap.xml @@ -32493,7 +32631,7 @@ msgid "" "be within the text's length." msgstr "" -#: doc/classes/LineEdit.xml +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml msgid "Clears the current selection." msgstr "" @@ -32512,6 +32650,18 @@ msgid "" "characters." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection begin column." +msgstr "" + +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection end column." +msgstr "" + +#: doc/classes/LineEdit.xml +msgid "Returns [code]true[/code] if the user has selected text." +msgstr "" + #: doc/classes/LineEdit.xml msgid "Executes a given action as defined in the [enum MenuItems] enum." msgstr "" @@ -33925,6 +34075,39 @@ msgid "Returns the number of surface materials." msgstr "" #: doc/classes/MeshInstance.xml +msgid "" +"Returns [code]true[/code] if this [MeshInstance] can be merged with the " +"specified [code]other_mesh_instance[/code], using the [method MeshInstance." +"merge_meshes] function.\n" +"In order to be mergeable, properties of the [MeshInstance] must match, and " +"each surface must match, in terms of material, attributes and vertex format." +msgstr "" + +#: doc/classes/MeshInstance.xml +msgid "" +"This function can merge together the data from several source " +"[MeshInstance]s into a single destination [MeshInstance] (the MeshInstance " +"the function is called from). This is primarily useful for improving " +"performance by reducing the number of drawcalls and [Node]s.\n" +"Merging should only be attempted for simple meshes that do not contain " +"animation.\n" +"The final vertices can either be returned in global space, or in local space " +"relative to the destination [MeshInstance] global transform (the destination " +"Node must be inside the [SceneTree] for local space to work).\n" +"The function will make a final check for compatibility between the " +"[MeshInstance]s by default, this should always be used unless you have " +"previously checked for compatibility using [method MeshInstance." +"is_mergeable_with]. If the compatibility check is omitted and the meshes are " +"merged, you may see rendering errors.\n" +"[b]Note:[/b] The requirements for similarity between meshes are quite " +"stringent. They can be checked using the [method MeshInstance." +"is_mergeable_with] function prior to calling [method MeshInstance." +"merge_meshes].\n" +"Also note that any initial data in the destination [MeshInstance] data will " +"be discarded." +msgstr "" + +#: doc/classes/MeshInstance.xml msgid "Sets the [Material] for a surface of the [Mesh] resource." msgstr "" @@ -36377,12 +36560,12 @@ msgid "" "[/codeblock]\n" "[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " "must set [member owner] in addition to calling [method add_child]. This is " -"typically relevant for [url=https://godot.readthedocs.io/en/3.2/tutorials/" -"misc/running_code_in_the_editor.html]tool scripts[/url] and [url=https://" -"godot.readthedocs.io/en/latest/tutorials/plugins/editor/index.html]editor " -"plugins[/url]. If [method add_child] is called without setting [member " -"owner], the newly added [Node] will not be visible in the scene tree, though " -"it will be visible in the 2D/3D view." +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37089,7 +37272,15 @@ msgid "" "valid parent, grandparent, etc. ascending in the tree). When saving a node " "(using [PackedScene]), all the nodes it owns will be saved with it. This " "allows for the creation of complex [SceneTree]s, with instancing and " -"subinstancing." +"subinstancing.\n" +"[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " +"must set [member owner] in addition to calling [method add_child]. This is " +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37685,7 +37876,13 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Called when the object is initialized." +msgid "" +"Called when the object is initialized in memory. Can be defined to take in " +"parameters, that are passed in when constructing.\n" +"[b]Note:[/b] If [method _init] is defined with required parameters, then " +"explicit construction is the only valid means of creating an Object of the " +"class. If any other means (such as [method PackedScene.instance]) is used, " +"then initialization will fail." msgstr "" #: doc/classes/Object.xml @@ -37881,7 +38078,10 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Returns the object's metadata entry for the given [code]name[/code]." +msgid "" +"Returns the object's metadata entry for the given [code]name[/code].\n" +"Throws error if the entry does not exist, unless [code]default[/code] is not " +"[code]null[/code] (in which case the default value will be returned)." msgstr "" #: doc/classes/Object.xml @@ -40089,6 +40289,14 @@ msgid "" "[b]Note:[/b] Only available in editor builds." msgstr "" +#: modules/gltf/doc_classes/PackedSceneGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [PackedSceneGLTF] within a script will cause an error in an exported " +"project." +msgstr "" + #: doc/classes/PacketPeer.xml msgid "Abstraction and base class for packet-based protocols." msgstr "" @@ -42929,7 +43137,10 @@ msgid "" msgstr "" #: doc/classes/PhysicsServer.xml -msgid "Returns an Info defined by the [enum ProcessInfo] input given." +msgid "" +"Returns information about the current state of the 3D physics engine. See " +"[enum ProcessInfo] for a list of available states. Only implemented for " +"Godot Physics." msgstr "" #: doc/classes/PhysicsServer.xml @@ -45789,7 +46000,7 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Allows the window to be resizable by default.\n" -"[b]Note:[/b] This setting is ignored on iOS and Android." +"[b]Note:[/b] This setting is ignored on iOS." msgstr "" #: doc/classes/ProjectSettings.xml @@ -46436,7 +46647,7 @@ msgid "Optional name for the 3D render layer 13." msgstr "" #: doc/classes/ProjectSettings.xml -msgid "Optional name for the 3D render layer 14" +msgid "Optional name for the 3D render layer 14." msgstr "" #: doc/classes/ProjectSettings.xml @@ -47706,16 +47917,24 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" -"If [code]true[/code], forces vertex shading for all rendering. This can " -"increase performance a lot, but also reduces quality immensely. Can be used " -"to optimize performance on low-end mobile devices." +"If [code]true[/code], forces vertex shading for all 3D [SpatialMaterial] and " +"[ShaderMaterial] rendering. This can be used to improve performance on low-" +"end mobile devices. The downside is that shading becomes much less accurate, " +"with visible linear interpolation between vertices that are joined together. " +"This can be compensated by ensuring meshes have a sufficient level of " +"subdivision (but not too much, to avoid reducing performance). Some material " +"features are also not supported when vertex shading is enabled.\n" +"See also [member SpatialMaterial.flags_vertex_lighting] which can be used to " +"enable vertex shading on specific materials only.\n" +"[b]Note:[/b] This setting does not affect unshaded materials." msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Lower-end override for [member rendering/quality/shading/" "force_vertex_shading] on mobile devices, due to performance concerns or " -"driver support." +"driver support. If lighting looks broken after exporting the project to a " +"mobile platform, try disabling this setting." msgstr "" #: doc/classes/ProjectSettings.xml @@ -49750,6 +49969,10 @@ msgid "" msgstr "" #: doc/classes/RichTextLabel.xml +msgid "Returns the current selection text. Does not include BBCodes." +msgstr "" + +#: doc/classes/RichTextLabel.xml msgid "" "Returns the total number of characters from text tags. Does not include " "BBCodes." @@ -52041,14 +52264,23 @@ msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Lowers the [Semaphore], allowing one more thread in. Returns [constant OK] " -"on success, [constant ERR_BUSY] otherwise." +"Lowers the [Semaphore], allowing one more thread in.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Tries to wait for the [Semaphore], if its value is zero, blocks until non-" -"zero. Returns [constant OK] on success, [constant ERR_BUSY] otherwise." +"Like [method wait], but won't block, so if the value is zero, fails " +"immediately and returns [constant ERR_BUSY]. If non-zero, it returns " +"[constant OK] to report success." +msgstr "" + +#: doc/classes/Semaphore.xml +msgid "" +"Waits for the [Semaphore], if its value is zero, blocks until non-zero.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Separator.xml @@ -53494,7 +53726,21 @@ msgstr "" #: doc/classes/SpatialMaterial.xml msgid "" "If [code]true[/code], lighting is calculated per vertex rather than per " -"pixel. This may increase performance on low-end devices." +"pixel. This may increase performance on low-end devices, especially for " +"meshes with a lower polygon count. The downside is that shading becomes much " +"less accurate, with visible linear interpolation between vertices that are " +"joined together. This can be compensated by ensuring meshes have a " +"sufficient level of subdivision (but not too much, to avoid reducing " +"performance). Some material features are also not supported when vertex " +"shading is enabled.\n" +"See also [member ProjectSettings.rendering/quality/shading/" +"force_vertex_shading] which can globally enable vertex shading on all " +"materials.\n" +"[b]Note:[/b] By default, vertex shading is enforced on mobile platforms by " +"[member ProjectSettings.rendering/quality/shading/force_vertex_shading]'s " +"[code]mobile[/code] override.\n" +"[b]Note:[/b] [member flags_vertex_lighting] has no effect if [member " +"flags_unshaded] is [code]true[/code]." msgstr "" #: doc/classes/SpatialMaterial.xml @@ -54298,7 +54544,10 @@ msgid "" "the text alignment to right.\n" "See [Range] class for more options over the [SpinBox].\n" "[b]Note:[/b] [SpinBox] relies on an underlying [LineEdit] node. To theme a " -"[SpinBox]'s background, add theme items for [LineEdit] and customize them." +"[SpinBox]'s background, add theme items for [LineEdit] and customize them.\n" +"[b]Note:[/b] If you want to implement drag and drop for the underlying " +"[LineEdit], you can use [method Control.set_drag_forwarding] on the node " +"returned by [method get_line_edit]." msgstr "" #: doc/classes/SpinBox.xml @@ -55616,7 +55865,6 @@ msgid "" "print(\"1.7\".is_valid_float()) # Prints \"True\"\n" "print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"7e3\".is_valid_float()) # Prints \"True\"\n" -"print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55853,8 +56101,8 @@ msgid "" "var some_string = \"One,Two,Three,Four\"\n" "var some_array = some_string.rsplit(\",\", true, 1)\n" "print(some_array.size()) # Prints 2\n" -"print(some_array[0]) # Prints \"Four\"\n" -"print(some_array[1]) # Prints \"Three,Two,One\"\n" +"print(some_array[0]) # Prints \"One,Two,Three\"\n" +"print(some_array[1]) # Prints \"Four\"\n" "[/codeblock]" msgstr "" @@ -55887,9 +56135,9 @@ msgstr "" #: doc/classes/String.xml msgid "" "Returns the similarity index ([url=https://en.wikipedia.org/wiki/" -"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) this " -"string compared to another. 1.0 means totally similar and 0.0 means totally " -"dissimilar.\n" +"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) of " +"this string compared to another. A result of 1.0 means totally similar, " +"while 0.0 means totally dissimilar.\n" "[codeblock]\n" "print(\"ABC123\".similarity(\"ABC123\")) # Prints \"1\"\n" "print(\"ABC123\".similarity(\"XYZ456\")) # Prints \"0\"\n" @@ -57360,10 +57608,6 @@ msgid "" msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection begin column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection begin line." msgstr "" @@ -57372,10 +57616,6 @@ msgid "Returns the text inside the selection." msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection end column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection end line." msgstr "" @@ -58396,6 +58636,14 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Adds an empty theme type for every valid data type.\n" +"[b]Note:[/b] Empty types are not saved with the theme. This method only " +"exists to perform in-memory changes to the resource. Use available " +"[code]set_*[/code] methods to add theme items." +msgstr "" + +#: doc/classes/Theme.xml msgid "Clears all values on the theme." msgstr "" @@ -58655,6 +58903,13 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Removes the theme type, gracefully discarding defined theme items. If the " +"type is a variation, this information is also erased. If the type is a base " +"for type variations, those variations lose their base." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Renames the [Color] at [code]old_name[/code] to [code]name[/code] if the " "theme has [code]node_type[/code]. If [code]name[/code] is already taken, " "this method fails." @@ -71348,6 +71603,11 @@ msgid "" msgstr "" #: modules/websocket/doc_classes/WebSocketServer.xml +msgid "" +"Sets additional headers to be sent to clients during the HTTP handshake." +msgstr "" + +#: modules/websocket/doc_classes/WebSocketServer.xml msgid "Stops the server and clear its state." msgstr "" @@ -71443,6 +71703,9 @@ msgid "" "\n" " webxr_interface = ARVRServer.find_interface(\"WebXR\")\n" " if webxr_interface:\n" +" # Map to the standard button/axis ids when possible.\n" +" webxr_interface.xr_standard_mapping = true\n" +"\n" " # WebXR uses a lot of asynchronous callbacks, so we connect to " "various\n" " # signals in order to receive them.\n" @@ -71668,6 +71931,13 @@ msgstr "" #: modules/webxr/doc_classes/WebXRInterface.xml msgid "" +"If set to true, the button and axes ids will be converted to match the " +"standard ids used by other AR/VR interfaces, when possible.\n" +"Otherwise, the ids will be passed through unaltered from WebXR." +msgstr "" + +#: modules/webxr/doc_classes/WebXRInterface.xml +msgid "" "Emitted to indicate that the reference space has been reset or " "reconfigured.\n" "When (or whether) this is emitted depends on the user's browser or device, " diff --git a/doc/translations/cs.po b/doc/translations/cs.po index 75cc6ed7e8..efd9b002f9 100644 --- a/doc/translations/cs.po +++ b/doc/translations/cs.po @@ -3820,8 +3820,12 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" "Hints that an integer, float or string property is an enumerated value to " -"pick in a list specified via a hint string such as [code]\"Hello,Something," -"Else\"[/code]." +"pick in a list specified via a hint string.\n" +"The hint string is a comma separated list of names such as [code]\"Hello," +"Something,Else\"[/code]. For integer and float properties, the first name in " +"the list has value 0, the next 1, and so on. Explicit values can also be " +"specified by appending [code]:integer[/code] to the name, e.g. [code]\"Zero," +"One,Three:3,Four,Six:6\"[/code]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -3962,7 +3966,7 @@ msgid "The property is a translatable string." msgstr "" #: doc/classes/@GlobalScope.xml -msgid "Used to group properties together in the editor." +msgid "Used to group properties together in the editor. See [EditorInspector]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -5735,8 +5739,11 @@ msgstr "" #: doc/classes/AnimationNodeBlendTree.xml msgid "" -"This node may contain a sub-tree of any other blend type nodes, such as mix, " -"blend2, blend3, one shot, etc. This is one of the most commonly used roots." +"This node may contain a sub-tree of any other blend type nodes, such as " +"[AnimationNodeTransition], [AnimationNodeBlend2], [AnimationNodeBlend3], " +"[AnimationNodeOneShot], etc. This is one of the most commonly used roots.\n" +"An [AnimationNodeOutput] node named [code]output[/code] is created by " +"default." msgstr "" #: doc/classes/AnimationNodeBlendTree.xml @@ -7480,8 +7487,9 @@ msgstr "" #: doc/classes/Array.xml msgid "" -"Removes the first occurrence of a value from the array. To remove an element " -"by index, use [method remove] instead.\n" +"Removes the first occurrence of a value from the array. If the value does " +"not exist in the array, nothing happens. To remove an element by index, use " +"[method remove] instead.\n" "[b]Note:[/b] This method acts in-place and doesn't return a value.\n" "[b]Note:[/b] On large arrays, this method will be slower if the removed " "element is close to the beginning of the array (index 0). This is because " @@ -10865,8 +10873,15 @@ msgstr "" #: doc/classes/BakedLightmap.xml msgid "" -"When enabled, the lightmapper will merge the textures for all meshes into a " -"single large layered texture. Not supported in GLES2." +"If [code]true[/code], the lightmapper will merge the textures for all meshes " +"into one or several large layered textures. If [code]false[/code], every " +"mesh will get its own lightmap texture, which is less efficient.\n" +"[b]Note:[/b] Atlas lightmap rendering is only supported in GLES3, [i]not[/i] " +"GLES2. Non-atlas lightmap rendering is supported by both GLES3 and GLES2. If " +"[member ProjectSettings.rendering/quality/driver/fallback_to_gles2] is " +"[code]true[/code], consider baking lightmaps with [member atlas_generate] " +"set to [code]false[/code] so that the resulting lightmap is visible in both " +"GLES3 and GLES2." msgstr "" #: doc/classes/BakedLightmap.xml @@ -12212,8 +12227,8 @@ msgstr "" #: doc/classes/Camera.xml msgid "" "The camera's size measured as 1/2 the width or height. Only applicable in " -"orthogonal mode. Since [member keep_aspect] locks on axis, [code]size[/code] " -"sets the other axis' size length." +"orthogonal and frustum modes. Since [member keep_aspect] locks on axis, " +"[code]size[/code] sets the other axis' size length." msgstr "" #: doc/classes/Camera.xml @@ -13017,20 +13032,24 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], the node won't inherit its " -"transform from parent canvas items." +"If [code]enable[/code] is [code]true[/code], this [CanvasItem] will [i]not[/" +"i] inherit its transform from parent [CanvasItem]s. Its draw order will also " +"be changed to make it draw on top of other [CanvasItem]s that are not set as " +"top-level. The [CanvasItem] will effectively act as if it was placed as a " +"child of a bare [Node]. See also [method is_set_as_toplevel]." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"local transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_LOCAL_TRANSFORM_CHANGED] when its local transform " +"changes." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"global transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_TRANSFORM_CHANGED] when its global transform changes." msgstr "" #: doc/classes/CanvasItem.xml @@ -13144,9 +13163,14 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"The [CanvasItem]'s transform has changed. This notification is only received " -"if enabled by [method set_notify_transform] or [method " -"set_notify_local_transform]." +"The [CanvasItem]'s global transform has changed. This notification is only " +"received if enabled by [method set_notify_transform]." +msgstr "" + +#: doc/classes/CanvasItem.xml +msgid "" +"The [CanvasItem]'s local transform has changed. This notification is only " +"received if enabled by [method set_notify_local_transform]." msgstr "" #: doc/classes/CanvasItem.xml @@ -14103,7 +14127,10 @@ msgid "" "number of 2D collision [Shape2D]s. Each shape must be assigned to a [i]shape " "owner[/i]. The CollisionObject2D can have any number of shape owners. Shape " "owners are not nodes and do not appear in the editor, but are accessible " -"through code using the [code]shape_owner_*[/code] methods." +"through code using the [code]shape_owner_*[/code] methods.\n" +"[b]Note:[/b] Only collisions between objects within the same canvas " +"([Viewport] canvas or [CanvasLayer]) are supported. The behavior of " +"collisions between objects in different canvases is undefined." msgstr "" #: doc/classes/CollisionObject2D.xml @@ -20150,9 +20177,8 @@ msgid "" "main font.\n" "DynamicFont uses the [url=https://www.freetype.org/]FreeType[/url] library " "for rasterization. Supported formats are TrueType ([code].ttf[/code]), " -"OpenType ([code].otf[/code]) and Web Open Font Format 1 ([code].woff[/" -"code]). Web Open Font Format 2 ([code].woff2[/code]) is [i]not[/i] " -"supported.\n" +"OpenType ([code].otf[/code]), Web Open Font Format 1 ([code].woff[/code]), " +"and Web Open Font Format 2 ([code].woff2[/code]).\n" "[codeblock]\n" "var dynamic_font = DynamicFont.new()\n" "dynamic_font.font_data = load(\"res://BarlowCondensed-Bold.ttf\")\n" @@ -21019,18 +21045,34 @@ msgid "" msgstr "" #: doc/classes/EditorInspector.xml -msgid "A tab used to edit properties of the selected node." +msgid "A control used to edit properties of an object." msgstr "" #: doc/classes/EditorInspector.xml msgid "" -"The editor inspector is by default located on the right-hand side of the " -"editor. It's used to edit the properties of the selected node. For example, " -"you can select a node such as [Sprite] then edit its transform through the " -"inspector tool. The editor inspector is an essential tool in the game " -"development workflow.\n" -"[b]Note:[/b] This class shouldn't be instantiated directly. Instead, access " -"the singleton using [method EditorInterface.get_inspector]." +"This is the control that implements property editing in the editor's " +"Settings dialogs, the Inspector dock, etc. To get the [EditorInspector] used " +"in the editor's Inspector dock, use [method EditorInterface.get_inspector].\n" +"[EditorInspector] will show properties in the same order as the array " +"returned by [method Object.get_property_list].\n" +"If a property's name is path-like (i.e. if it contains forward slashes), " +"[EditorInspector] will create nested sections for \"directories\" along the " +"path. For example, if a property is named [code]highlighting/gdscript/" +"node_path_color[/code], it will be shown as \"Node Path Color\" inside the " +"\"GDScript\" section nested inside the \"Highlighting\" section.\n" +"If a property has [constant @GlobalScope.PROPERTY_USAGE_GROUP] usage, it " +"will group subsequent properties whose name starts with the property's hint " +"string. The group ends when a property does not start with that hint string " +"or when a new group starts. An empty group name effectively ends the current " +"group. [EditorInspector] will create a top-level section for each group. For " +"example, if a property with group usage is named [code]Collide With[/code] " +"and its hint string is [code]collide_with_[/code], a subsequent " +"[code]collide_with_area[/code] property will be shown as \"Area\" inside the " +"\"Collide With\" section.\n" +"[b]Note:[/b] Unlike sections created from path-like property names, " +"[EditorInspector] won't capitalize the name for sections created from " +"groups. So properties with group usage usually use capitalized names instead " +"of snake_cased names." msgstr "" #: doc/classes/EditorInspector.xml @@ -22206,6 +22248,14 @@ msgid "" "[/codeblock]" msgstr "" +#: modules/gltf/doc_classes/EditorSceneImporterGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [EditorSceneImporterGLTF] within a script will cause an error in an " +"exported project." +msgstr "" + #: doc/classes/EditorScenePostImport.xml msgid "Post-processes scenes after import." msgstr "" @@ -22949,12 +22999,13 @@ msgstr "" #: doc/classes/EditorVCSInterface.xml msgid "" "Helper function to create a commit [Dictionary] item. [code]msg[/code] is " -"the commit message of the commit. [code]author[/code] is a human-readable " -"string containing the author's details, e.g. the email and name configured " -"in the VCS. [code]id[/code] is the identifier of the commit, in whichever " -"format your VCS may provide an identifier to commits. [code]date[/code] is " -"directly added to the commit item and displayed in the editor, and hence, it " -"shall be a well-formatted, human-readable date string." +"the commit message of the commit. [code]author[/code] is a single human-" +"readable string containing all the author's details, e.g. the email and name " +"configured in the VCS. [code]id[/code] is the identifier of the commit, in " +"whichever format your VCS may provide an identifier to commits. " +"[code]unix_timestamp[/code] is the UTC Unix timestamp of when the commit was " +"created. [code]offset_minutes[/code] is the timezone offset in minutes, " +"recorded from the system timezone where the commit was created." msgstr "" #: doc/classes/EditorVCSInterface.xml @@ -26110,6 +26161,50 @@ msgstr "" msgid "Represents the size of the [enum Subdiv] enum." msgstr "" +#: modules/gltf/doc_classes/GLTFAccessor.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAccessor] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFAnimation.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAnimation] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFBufferView.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFBufferView] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFCamera.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFCamera] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFDocument.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFDocument] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFLight.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFLight] within a script will cause an error in an exported project." +msgstr "" + #: modules/gltf/doc_classes/GLTFLight.xml msgid "" "The [Color] of the light. Defaults to white. A black color causes the light " @@ -26159,6 +26254,49 @@ msgid "" "and [DirectionalLight] respectively." msgstr "" +#: modules/gltf/doc_classes/GLTFMesh.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFMesh] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFNode.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFNode] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSkeleton.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSkeleton] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSpecGloss.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSpecGloss] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFState.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFState] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFTexture.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFTexture] within a script will cause an error in an exported project." +msgstr "" + #: modules/mono/doc_classes/GodotSharp.xml msgid "Bridge between Godot and the Mono runtime (Mono-enabled builds only)." msgstr "" @@ -29552,9 +29690,9 @@ msgid "" "Returns a value between 0 and 1 representing the raw intensity of the given " "action, ignoring the action's deadzone. In most cases, you should use " "[method get_action_strength] instead.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29564,9 +29702,9 @@ msgid "" "or L2, R2 triggers) is from the dead zone, the closer the value will be to " "1. If the action is mapped to a control that has no axis as the keyboard, " "the value returned will be 0 or 1.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29699,9 +29837,9 @@ msgid "" "the button.\n" "This is useful for code that needs to run only once when an action is " "pressed, instead of every frame while it's pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_just_pressed] may " "return [code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29713,9 +29851,9 @@ msgid "" "Returns [code]true[/code] when the user stops pressing the action event, " "meaning it's [code]true[/code] only on the frame that the user released the " "button.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29724,9 +29862,9 @@ msgid "" "an action has multiple buttons assigned and more than one of them is " "pressed, releasing one button will release the action, even if some other " "button assigned to this action is still pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -30076,18 +30214,18 @@ msgstr "" msgid "" "Returns a value between 0.0 and 1.0 depending on the given actions' state. " "Useful for getting the value of events of type [InputEventJoypadMotion].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml msgid "" "Returns [code]true[/code] if this input event matches a pre-defined action " "of any type.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -30096,9 +30234,9 @@ msgid "" "an echo event for [InputEventKey] events, unless [code]allow_echo[/code] is " "[code]true[/code]). Not relevant for events of type [InputEventMouseMotion] " "or [InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events.\n" +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -30110,9 +30248,9 @@ msgid "" "Returns [code]true[/code] if the given action is released (i.e. not " "pressed). Not relevant for events of type [InputEventMouseMotion] or " "[InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -30143,9 +30281,9 @@ msgid "" "event. Only valid for action events i.e key ([InputEventKey]), button " "([InputEventMouseButton] or [InputEventJoypadButton]), axis " "[InputEventJoypadMotion] or action ([InputEventAction]) events.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -30676,9 +30814,9 @@ msgid "" "This method ignores keyboard modifiers if the given [InputEvent] is not " "pressed (for proper release detection). See [method action_has_event] if you " "don't want this behavior.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputMap.xml @@ -33084,7 +33222,7 @@ msgid "" "be within the text's length." msgstr "" -#: doc/classes/LineEdit.xml +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml msgid "Clears the current selection." msgstr "" @@ -33103,6 +33241,19 @@ msgid "" "characters." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection begin column." +msgstr "" + +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection end column." +msgstr "" + +#: doc/classes/LineEdit.xml +#, fuzzy +msgid "Returns [code]true[/code] if the user has selected text." +msgstr "Vrátí [code] true [/code], pokud je vektor normalizován, jinak false." + #: doc/classes/LineEdit.xml msgid "Executes a given action as defined in the [enum MenuItems] enum." msgstr "" @@ -34518,6 +34669,39 @@ msgid "Returns the number of surface materials." msgstr "" #: doc/classes/MeshInstance.xml +msgid "" +"Returns [code]true[/code] if this [MeshInstance] can be merged with the " +"specified [code]other_mesh_instance[/code], using the [method MeshInstance." +"merge_meshes] function.\n" +"In order to be mergeable, properties of the [MeshInstance] must match, and " +"each surface must match, in terms of material, attributes and vertex format." +msgstr "" + +#: doc/classes/MeshInstance.xml +msgid "" +"This function can merge together the data from several source " +"[MeshInstance]s into a single destination [MeshInstance] (the MeshInstance " +"the function is called from). This is primarily useful for improving " +"performance by reducing the number of drawcalls and [Node]s.\n" +"Merging should only be attempted for simple meshes that do not contain " +"animation.\n" +"The final vertices can either be returned in global space, or in local space " +"relative to the destination [MeshInstance] global transform (the destination " +"Node must be inside the [SceneTree] for local space to work).\n" +"The function will make a final check for compatibility between the " +"[MeshInstance]s by default, this should always be used unless you have " +"previously checked for compatibility using [method MeshInstance." +"is_mergeable_with]. If the compatibility check is omitted and the meshes are " +"merged, you may see rendering errors.\n" +"[b]Note:[/b] The requirements for similarity between meshes are quite " +"stringent. They can be checked using the [method MeshInstance." +"is_mergeable_with] function prior to calling [method MeshInstance." +"merge_meshes].\n" +"Also note that any initial data in the destination [MeshInstance] data will " +"be discarded." +msgstr "" + +#: doc/classes/MeshInstance.xml msgid "Sets the [Material] for a surface of the [Mesh] resource." msgstr "" @@ -37000,12 +37184,12 @@ msgid "" "[/codeblock]\n" "[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " "must set [member owner] in addition to calling [method add_child]. This is " -"typically relevant for [url=https://godot.readthedocs.io/en/3.2/tutorials/" -"misc/running_code_in_the_editor.html]tool scripts[/url] and [url=https://" -"godot.readthedocs.io/en/latest/tutorials/plugins/editor/index.html]editor " -"plugins[/url]. If [method add_child] is called without setting [member " -"owner], the newly added [Node] will not be visible in the scene tree, though " -"it will be visible in the 2D/3D view." +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37712,7 +37896,15 @@ msgid "" "valid parent, grandparent, etc. ascending in the tree). When saving a node " "(using [PackedScene]), all the nodes it owns will be saved with it. This " "allows for the creation of complex [SceneTree]s, with instancing and " -"subinstancing." +"subinstancing.\n" +"[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " +"must set [member owner] in addition to calling [method add_child]. This is " +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -38308,7 +38500,13 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Called when the object is initialized." +msgid "" +"Called when the object is initialized in memory. Can be defined to take in " +"parameters, that are passed in when constructing.\n" +"[b]Note:[/b] If [method _init] is defined with required parameters, then " +"explicit construction is the only valid means of creating an Object of the " +"class. If any other means (such as [method PackedScene.instance]) is used, " +"then initialization will fail." msgstr "" #: doc/classes/Object.xml @@ -38504,7 +38702,10 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Returns the object's metadata entry for the given [code]name[/code]." +msgid "" +"Returns the object's metadata entry for the given [code]name[/code].\n" +"Throws error if the entry does not exist, unless [code]default[/code] is not " +"[code]null[/code] (in which case the default value will be returned)." msgstr "" #: doc/classes/Object.xml @@ -40730,6 +40931,14 @@ msgid "" "[b]Note:[/b] Only available in editor builds." msgstr "" +#: modules/gltf/doc_classes/PackedSceneGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [PackedSceneGLTF] within a script will cause an error in an exported " +"project." +msgstr "" + #: doc/classes/PacketPeer.xml msgid "Abstraction and base class for packet-based protocols." msgstr "" @@ -43587,7 +43796,10 @@ msgid "" msgstr "" #: doc/classes/PhysicsServer.xml -msgid "Returns an Info defined by the [enum ProcessInfo] input given." +msgid "" +"Returns information about the current state of the 3D physics engine. See " +"[enum ProcessInfo] for a list of available states. Only implemented for " +"Godot Physics." msgstr "" #: doc/classes/PhysicsServer.xml @@ -46454,7 +46666,7 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Allows the window to be resizable by default.\n" -"[b]Note:[/b] This setting is ignored on iOS and Android." +"[b]Note:[/b] This setting is ignored on iOS." msgstr "" #: doc/classes/ProjectSettings.xml @@ -47101,7 +47313,7 @@ msgid "Optional name for the 3D render layer 13." msgstr "" #: doc/classes/ProjectSettings.xml -msgid "Optional name for the 3D render layer 14" +msgid "Optional name for the 3D render layer 14." msgstr "" #: doc/classes/ProjectSettings.xml @@ -48371,16 +48583,24 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" -"If [code]true[/code], forces vertex shading for all rendering. This can " -"increase performance a lot, but also reduces quality immensely. Can be used " -"to optimize performance on low-end mobile devices." +"If [code]true[/code], forces vertex shading for all 3D [SpatialMaterial] and " +"[ShaderMaterial] rendering. This can be used to improve performance on low-" +"end mobile devices. The downside is that shading becomes much less accurate, " +"with visible linear interpolation between vertices that are joined together. " +"This can be compensated by ensuring meshes have a sufficient level of " +"subdivision (but not too much, to avoid reducing performance). Some material " +"features are also not supported when vertex shading is enabled.\n" +"See also [member SpatialMaterial.flags_vertex_lighting] which can be used to " +"enable vertex shading on specific materials only.\n" +"[b]Note:[/b] This setting does not affect unshaded materials." msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Lower-end override for [member rendering/quality/shading/" "force_vertex_shading] on mobile devices, due to performance concerns or " -"driver support." +"driver support. If lighting looks broken after exporting the project to a " +"mobile platform, try disabling this setting." msgstr "" #: doc/classes/ProjectSettings.xml @@ -50423,6 +50643,11 @@ msgid "" msgstr "" #: doc/classes/RichTextLabel.xml +#, fuzzy +msgid "Returns the current selection text. Does not include BBCodes." +msgstr "Vrátí sinus parametru." + +#: doc/classes/RichTextLabel.xml msgid "" "Returns the total number of characters from text tags. Does not include " "BBCodes." @@ -52715,14 +52940,23 @@ msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Lowers the [Semaphore], allowing one more thread in. Returns [constant OK] " -"on success, [constant ERR_BUSY] otherwise." +"Lowers the [Semaphore], allowing one more thread in.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Tries to wait for the [Semaphore], if its value is zero, blocks until non-" -"zero. Returns [constant OK] on success, [constant ERR_BUSY] otherwise." +"Like [method wait], but won't block, so if the value is zero, fails " +"immediately and returns [constant ERR_BUSY]. If non-zero, it returns " +"[constant OK] to report success." +msgstr "" + +#: doc/classes/Semaphore.xml +msgid "" +"Waits for the [Semaphore], if its value is zero, blocks until non-zero.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Separator.xml @@ -54169,7 +54403,21 @@ msgstr "" #: doc/classes/SpatialMaterial.xml msgid "" "If [code]true[/code], lighting is calculated per vertex rather than per " -"pixel. This may increase performance on low-end devices." +"pixel. This may increase performance on low-end devices, especially for " +"meshes with a lower polygon count. The downside is that shading becomes much " +"less accurate, with visible linear interpolation between vertices that are " +"joined together. This can be compensated by ensuring meshes have a " +"sufficient level of subdivision (but not too much, to avoid reducing " +"performance). Some material features are also not supported when vertex " +"shading is enabled.\n" +"See also [member ProjectSettings.rendering/quality/shading/" +"force_vertex_shading] which can globally enable vertex shading on all " +"materials.\n" +"[b]Note:[/b] By default, vertex shading is enforced on mobile platforms by " +"[member ProjectSettings.rendering/quality/shading/force_vertex_shading]'s " +"[code]mobile[/code] override.\n" +"[b]Note:[/b] [member flags_vertex_lighting] has no effect if [member " +"flags_unshaded] is [code]true[/code]." msgstr "" #: doc/classes/SpatialMaterial.xml @@ -54973,7 +55221,10 @@ msgid "" "the text alignment to right.\n" "See [Range] class for more options over the [SpinBox].\n" "[b]Note:[/b] [SpinBox] relies on an underlying [LineEdit] node. To theme a " -"[SpinBox]'s background, add theme items for [LineEdit] and customize them." +"[SpinBox]'s background, add theme items for [LineEdit] and customize them.\n" +"[b]Note:[/b] If you want to implement drag and drop for the underlying " +"[LineEdit], you can use [method Control.set_drag_forwarding] on the node " +"returned by [method get_line_edit]." msgstr "" #: doc/classes/SpinBox.xml @@ -56300,7 +56551,6 @@ msgid "" "print(\"1.7\".is_valid_float()) # Prints \"True\"\n" "print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"7e3\".is_valid_float()) # Prints \"True\"\n" -"print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -56537,8 +56787,8 @@ msgid "" "var some_string = \"One,Two,Three,Four\"\n" "var some_array = some_string.rsplit(\",\", true, 1)\n" "print(some_array.size()) # Prints 2\n" -"print(some_array[0]) # Prints \"Four\"\n" -"print(some_array[1]) # Prints \"Three,Two,One\"\n" +"print(some_array[0]) # Prints \"One,Two,Three\"\n" +"print(some_array[1]) # Prints \"Four\"\n" "[/codeblock]" msgstr "" @@ -56571,9 +56821,9 @@ msgstr "" #: doc/classes/String.xml msgid "" "Returns the similarity index ([url=https://en.wikipedia.org/wiki/" -"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) this " -"string compared to another. 1.0 means totally similar and 0.0 means totally " -"dissimilar.\n" +"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) of " +"this string compared to another. A result of 1.0 means totally similar, " +"while 0.0 means totally dissimilar.\n" "[codeblock]\n" "print(\"ABC123\".similarity(\"ABC123\")) # Prints \"1\"\n" "print(\"ABC123\".similarity(\"XYZ456\")) # Prints \"0\"\n" @@ -58050,10 +58300,6 @@ msgid "" msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection begin column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection begin line." msgstr "" @@ -58062,10 +58308,6 @@ msgid "Returns the text inside the selection." msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection end column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection end line." msgstr "" @@ -59099,6 +59341,14 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Adds an empty theme type for every valid data type.\n" +"[b]Note:[/b] Empty types are not saved with the theme. This method only " +"exists to perform in-memory changes to the resource. Use available " +"[code]set_*[/code] methods to add theme items." +msgstr "" + +#: doc/classes/Theme.xml msgid "Clears all values on the theme." msgstr "" @@ -59377,6 +59627,13 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Removes the theme type, gracefully discarding defined theme items. If the " +"type is a variation, this information is also erased. If the type is a base " +"for type variations, those variations lose their base." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Renames the [Color] at [code]old_name[/code] to [code]name[/code] if the " "theme has [code]node_type[/code]. If [code]name[/code] is already taken, " "this method fails." @@ -72120,6 +72377,11 @@ msgid "" msgstr "" #: modules/websocket/doc_classes/WebSocketServer.xml +msgid "" +"Sets additional headers to be sent to clients during the HTTP handshake." +msgstr "" + +#: modules/websocket/doc_classes/WebSocketServer.xml msgid "Stops the server and clear its state." msgstr "" @@ -72215,6 +72477,9 @@ msgid "" "\n" " webxr_interface = ARVRServer.find_interface(\"WebXR\")\n" " if webxr_interface:\n" +" # Map to the standard button/axis ids when possible.\n" +" webxr_interface.xr_standard_mapping = true\n" +"\n" " # WebXR uses a lot of asynchronous callbacks, so we connect to " "various\n" " # signals in order to receive them.\n" @@ -72440,6 +72705,13 @@ msgstr "" #: modules/webxr/doc_classes/WebXRInterface.xml msgid "" +"If set to true, the button and axes ids will be converted to match the " +"standard ids used by other AR/VR interfaces, when possible.\n" +"Otherwise, the ids will be passed through unaltered from WebXR." +msgstr "" + +#: modules/webxr/doc_classes/WebXRInterface.xml +msgid "" "Emitted to indicate that the reference space has been reset or " "reconfigured.\n" "When (or whether) this is emitted depends on the user's browser or device, " diff --git a/doc/translations/de.po b/doc/translations/de.po index c658b5ea67..bc8315eb89 100644 --- a/doc/translations/de.po +++ b/doc/translations/de.po @@ -44,12 +44,13 @@ # Coxcopi70f00b67b61542fe <hn_vogel@gmx.net>, 2022. # Leon Marz <main@lmarz.org>, 2022. # Robin <robin.janzen@gmx.net>, 2022. +# Andreas <self@andreasbresser.de>, 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-03-13 22:11+0000\n" -"Last-Translator: Robin <robin.janzen@gmx.net>\n" +"PO-Revision-Date: 2022-03-27 01:06+0000\n" +"Last-Translator: Andreas <self@andreasbresser.de>\n" "Language-Team: German <https://hosted.weblate.org/projects/godot-engine/" "godot-class-reference/de/>\n" "Language: de\n" @@ -4328,13 +4329,13 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" "Hints that an integer, float or string property is an enumerated value to " -"pick in a list specified via a hint string such as [code]\"Hello,Something," -"Else\"[/code]." +"pick in a list specified via a hint string.\n" +"The hint string is a comma separated list of names such as [code]\"Hello," +"Something,Else\"[/code]. For integer and float properties, the first name in " +"the list has value 0, the next 1, and so on. Explicit values can also be " +"specified by appending [code]:integer[/code] to the name, e.g. [code]\"Zero," +"One,Three:3,Four,Six:6\"[/code]." msgstr "" -"Weist darauf hin, dass es sich bei einer Integer-, Float- oder Zeichenketten-" -"Eigenschaft um einen Aufzählungswert handelt, der in einer über eine " -"Hinweiszeichenkette wie [code]\"Hello,Something,Else\"[/code] angegebenen " -"Liste auszuwählen ist." #: doc/classes/@GlobalScope.xml msgid "" @@ -4524,7 +4525,8 @@ msgid "The property is a translatable string." msgstr "Die Eigenschaft ist eine übersetzbare Zeichenkette." #: doc/classes/@GlobalScope.xml -msgid "Used to group properties together in the editor." +#, fuzzy +msgid "Used to group properties together in the editor. See [EditorInspector]." msgstr "Wird verwendet, um Eigenschaften im Editor zu gruppieren." #: doc/classes/@GlobalScope.xml @@ -6470,9 +6472,8 @@ msgstr "" #: doc/classes/AnimationNodeOneShot.xml doc/classes/AnimationNodeOutput.xml #: doc/classes/AnimationNodeTimeScale.xml #: doc/classes/AnimationNodeTransition.xml -#, fuzzy msgid "AnimationTree" -msgstr "unbekanntes Node." +msgstr "AnimationTree" #: doc/classes/AnimationNodeAdd3.xml doc/classes/AnimationNodeAnimation.xml #: doc/classes/AnimationNodeBlend2.xml @@ -6853,9 +6854,13 @@ msgstr "" "Node Ressource [AnimationTree], die viele Knoten vom Typ \"Blend\" enthält." #: doc/classes/AnimationNodeBlendTree.xml +#, fuzzy msgid "" -"This node may contain a sub-tree of any other blend type nodes, such as mix, " -"blend2, blend3, one shot, etc. This is one of the most commonly used roots." +"This node may contain a sub-tree of any other blend type nodes, such as " +"[AnimationNodeTransition], [AnimationNodeBlend2], [AnimationNodeBlend3], " +"[AnimationNodeOneShot], etc. This is one of the most commonly used roots.\n" +"An [AnimationNodeOutput] node named [code]output[/code] is created by " +"default." msgstr "" "Dieses Node kann einen Unterbaum beliebiger anderer Nodes vom Typ Mischung " "enthalten, z. B. mix, blend2, blend3, one shot usw. Dies ist eine der am " @@ -9011,8 +9016,9 @@ msgstr "Gibt [code]true[/code] zurück falls das Array leer ist." #: doc/classes/Array.xml msgid "" -"Removes the first occurrence of a value from the array. To remove an element " -"by index, use [method remove] instead.\n" +"Removes the first occurrence of a value from the array. If the value does " +"not exist in the array, nothing happens. To remove an element by index, use " +"[method remove] instead.\n" "[b]Note:[/b] This method acts in-place and doesn't return a value.\n" "[b]Note:[/b] On large arrays, this method will be slower if the removed " "element is close to the beginning of the array (index 0). This is because " @@ -12407,8 +12413,15 @@ msgstr "" #: doc/classes/BakedLightmap.xml msgid "" -"When enabled, the lightmapper will merge the textures for all meshes into a " -"single large layered texture. Not supported in GLES2." +"If [code]true[/code], the lightmapper will merge the textures for all meshes " +"into one or several large layered textures. If [code]false[/code], every " +"mesh will get its own lightmap texture, which is less efficient.\n" +"[b]Note:[/b] Atlas lightmap rendering is only supported in GLES3, [i]not[/i] " +"GLES2. Non-atlas lightmap rendering is supported by both GLES3 and GLES2. If " +"[member ProjectSettings.rendering/quality/driver/fallback_to_gles2] is " +"[code]true[/code], consider baking lightmaps with [member atlas_generate] " +"set to [code]false[/code] so that the resulting lightmap is visible in both " +"GLES3 and GLES2." msgstr "" #: doc/classes/BakedLightmap.xml @@ -13763,8 +13776,8 @@ msgstr "" #: doc/classes/Camera.xml msgid "" "The camera's size measured as 1/2 the width or height. Only applicable in " -"orthogonal mode. Since [member keep_aspect] locks on axis, [code]size[/code] " -"sets the other axis' size length." +"orthogonal and frustum modes. Since [member keep_aspect] locks on axis, " +"[code]size[/code] sets the other axis' size length." msgstr "" #: doc/classes/Camera.xml @@ -14572,20 +14585,24 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], the node won't inherit its " -"transform from parent canvas items." +"If [code]enable[/code] is [code]true[/code], this [CanvasItem] will [i]not[/" +"i] inherit its transform from parent [CanvasItem]s. Its draw order will also " +"be changed to make it draw on top of other [CanvasItem]s that are not set as " +"top-level. The [CanvasItem] will effectively act as if it was placed as a " +"child of a bare [Node]. See also [method is_set_as_toplevel]." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"local transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_LOCAL_TRANSFORM_CHANGED] when its local transform " +"changes." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"global transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_TRANSFORM_CHANGED] when its global transform changes." msgstr "" #: doc/classes/CanvasItem.xml @@ -14701,9 +14718,14 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"The [CanvasItem]'s transform has changed. This notification is only received " -"if enabled by [method set_notify_transform] or [method " -"set_notify_local_transform]." +"The [CanvasItem]'s global transform has changed. This notification is only " +"received if enabled by [method set_notify_transform]." +msgstr "" + +#: doc/classes/CanvasItem.xml +msgid "" +"The [CanvasItem]'s local transform has changed. This notification is only " +"received if enabled by [method set_notify_local_transform]." msgstr "" #: doc/classes/CanvasItem.xml @@ -15707,7 +15729,10 @@ msgid "" "number of 2D collision [Shape2D]s. Each shape must be assigned to a [i]shape " "owner[/i]. The CollisionObject2D can have any number of shape owners. Shape " "owners are not nodes and do not appear in the editor, but are accessible " -"through code using the [code]shape_owner_*[/code] methods." +"through code using the [code]shape_owner_*[/code] methods.\n" +"[b]Note:[/b] Only collisions between objects within the same canvas " +"([Viewport] canvas or [CanvasLayer]) are supported. The behavior of " +"collisions between objects in different canvases is undefined." msgstr "" #: doc/classes/CollisionObject2D.xml @@ -21852,9 +21877,8 @@ msgid "" "main font.\n" "DynamicFont uses the [url=https://www.freetype.org/]FreeType[/url] library " "for rasterization. Supported formats are TrueType ([code].ttf[/code]), " -"OpenType ([code].otf[/code]) and Web Open Font Format 1 ([code].woff[/" -"code]). Web Open Font Format 2 ([code].woff2[/code]) is [i]not[/i] " -"supported.\n" +"OpenType ([code].otf[/code]), Web Open Font Format 1 ([code].woff[/code]), " +"and Web Open Font Format 2 ([code].woff2[/code]).\n" "[codeblock]\n" "var dynamic_font = DynamicFont.new()\n" "dynamic_font.font_data = load(\"res://BarlowCondensed-Bold.ttf\")\n" @@ -22721,18 +22745,34 @@ msgid "" msgstr "" #: doc/classes/EditorInspector.xml -msgid "A tab used to edit properties of the selected node." +msgid "A control used to edit properties of an object." msgstr "" #: doc/classes/EditorInspector.xml msgid "" -"The editor inspector is by default located on the right-hand side of the " -"editor. It's used to edit the properties of the selected node. For example, " -"you can select a node such as [Sprite] then edit its transform through the " -"inspector tool. The editor inspector is an essential tool in the game " -"development workflow.\n" -"[b]Note:[/b] This class shouldn't be instantiated directly. Instead, access " -"the singleton using [method EditorInterface.get_inspector]." +"This is the control that implements property editing in the editor's " +"Settings dialogs, the Inspector dock, etc. To get the [EditorInspector] used " +"in the editor's Inspector dock, use [method EditorInterface.get_inspector].\n" +"[EditorInspector] will show properties in the same order as the array " +"returned by [method Object.get_property_list].\n" +"If a property's name is path-like (i.e. if it contains forward slashes), " +"[EditorInspector] will create nested sections for \"directories\" along the " +"path. For example, if a property is named [code]highlighting/gdscript/" +"node_path_color[/code], it will be shown as \"Node Path Color\" inside the " +"\"GDScript\" section nested inside the \"Highlighting\" section.\n" +"If a property has [constant @GlobalScope.PROPERTY_USAGE_GROUP] usage, it " +"will group subsequent properties whose name starts with the property's hint " +"string. The group ends when a property does not start with that hint string " +"or when a new group starts. An empty group name effectively ends the current " +"group. [EditorInspector] will create a top-level section for each group. For " +"example, if a property with group usage is named [code]Collide With[/code] " +"and its hint string is [code]collide_with_[/code], a subsequent " +"[code]collide_with_area[/code] property will be shown as \"Area\" inside the " +"\"Collide With\" section.\n" +"[b]Note:[/b] Unlike sections created from path-like property names, " +"[EditorInspector] won't capitalize the name for sections created from " +"groups. So properties with group usage usually use capitalized names instead " +"of snake_cased names." msgstr "" #: doc/classes/EditorInspector.xml @@ -23914,6 +23954,14 @@ msgid "" "[/codeblock]" msgstr "" +#: modules/gltf/doc_classes/EditorSceneImporterGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [EditorSceneImporterGLTF] within a script will cause an error in an " +"exported project." +msgstr "" + #: doc/classes/EditorScenePostImport.xml msgid "Post-processes scenes after import." msgstr "" @@ -24661,12 +24709,13 @@ msgstr "" #: doc/classes/EditorVCSInterface.xml msgid "" "Helper function to create a commit [Dictionary] item. [code]msg[/code] is " -"the commit message of the commit. [code]author[/code] is a human-readable " -"string containing the author's details, e.g. the email and name configured " -"in the VCS. [code]id[/code] is the identifier of the commit, in whichever " -"format your VCS may provide an identifier to commits. [code]date[/code] is " -"directly added to the commit item and displayed in the editor, and hence, it " -"shall be a well-formatted, human-readable date string." +"the commit message of the commit. [code]author[/code] is a single human-" +"readable string containing all the author's details, e.g. the email and name " +"configured in the VCS. [code]id[/code] is the identifier of the commit, in " +"whichever format your VCS may provide an identifier to commits. " +"[code]unix_timestamp[/code] is the UTC Unix timestamp of when the commit was " +"created. [code]offset_minutes[/code] is the timezone offset in minutes, " +"recorded from the system timezone where the commit was created." msgstr "" #: doc/classes/EditorVCSInterface.xml @@ -27840,6 +27889,50 @@ msgstr "" msgid "Represents the size of the [enum Subdiv] enum." msgstr "" +#: modules/gltf/doc_classes/GLTFAccessor.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAccessor] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFAnimation.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAnimation] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFBufferView.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFBufferView] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFCamera.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFCamera] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFDocument.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFDocument] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFLight.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFLight] within a script will cause an error in an exported project." +msgstr "" + #: modules/gltf/doc_classes/GLTFLight.xml msgid "" "The [Color] of the light. Defaults to white. A black color causes the light " @@ -27889,6 +27982,49 @@ msgid "" "and [DirectionalLight] respectively." msgstr "" +#: modules/gltf/doc_classes/GLTFMesh.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFMesh] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFNode.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFNode] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSkeleton.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSkeleton] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSpecGloss.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSpecGloss] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFState.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFState] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFTexture.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFTexture] within a script will cause an error in an exported project." +msgstr "" + #: modules/mono/doc_classes/GodotSharp.xml msgid "Bridge between Godot and the Mono runtime (Mono-enabled builds only)." msgstr "" @@ -31322,9 +31458,9 @@ msgid "" "Returns a value between 0 and 1 representing the raw intensity of the given " "action, ignoring the action's deadzone. In most cases, you should use " "[method get_action_strength] instead.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -31334,9 +31470,9 @@ msgid "" "or L2, R2 triggers) is from the dead zone, the closer the value will be to " "1. If the action is mapped to a control that has no axis as the keyboard, " "the value returned will be 0 or 1.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -31469,9 +31605,9 @@ msgid "" "the button.\n" "This is useful for code that needs to run only once when an action is " "pressed, instead of every frame while it's pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_just_pressed] may " "return [code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -31483,9 +31619,9 @@ msgid "" "Returns [code]true[/code] when the user stops pressing the action event, " "meaning it's [code]true[/code] only on the frame that the user released the " "button.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -31494,9 +31630,9 @@ msgid "" "an action has multiple buttons assigned and more than one of them is " "pressed, releasing one button will release the action, even if some other " "button assigned to this action is still pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -31849,18 +31985,18 @@ msgstr "" msgid "" "Returns a value between 0.0 and 1.0 depending on the given actions' state. " "Useful for getting the value of events of type [InputEventJoypadMotion].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml msgid "" "Returns [code]true[/code] if this input event matches a pre-defined action " "of any type.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -31869,9 +32005,9 @@ msgid "" "an echo event for [InputEventKey] events, unless [code]allow_echo[/code] is " "[code]true[/code]). Not relevant for events of type [InputEventMouseMotion] " "or [InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events.\n" +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -31883,9 +32019,9 @@ msgid "" "Returns [code]true[/code] if the given action is released (i.e. not " "pressed). Not relevant for events of type [InputEventMouseMotion] or " "[InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -31916,9 +32052,9 @@ msgid "" "event. Only valid for action events i.e key ([InputEventKey]), button " "([InputEventMouseButton] or [InputEventJoypadButton]), axis " "[InputEventJoypadMotion] or action ([InputEventAction]) events.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -32449,9 +32585,9 @@ msgid "" "This method ignores keyboard modifiers if the given [InputEvent] is not " "pressed (for proper release detection). See [method action_has_event] if you " "don't want this behavior.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputMap.xml @@ -34867,7 +35003,7 @@ msgid "" "be within the text's length." msgstr "" -#: doc/classes/LineEdit.xml +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml msgid "Clears the current selection." msgstr "" @@ -34886,6 +35022,19 @@ msgid "" "characters." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection begin column." +msgstr "" + +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection end column." +msgstr "" + +#: doc/classes/LineEdit.xml +#, fuzzy +msgid "Returns [code]true[/code] if the user has selected text." +msgstr "Gibt [code]true[/code] zurück falls das Array leer ist." + #: doc/classes/LineEdit.xml msgid "Executes a given action as defined in the [enum MenuItems] enum." msgstr "" @@ -36302,6 +36451,39 @@ msgid "Returns the number of surface materials." msgstr "" #: doc/classes/MeshInstance.xml +msgid "" +"Returns [code]true[/code] if this [MeshInstance] can be merged with the " +"specified [code]other_mesh_instance[/code], using the [method MeshInstance." +"merge_meshes] function.\n" +"In order to be mergeable, properties of the [MeshInstance] must match, and " +"each surface must match, in terms of material, attributes and vertex format." +msgstr "" + +#: doc/classes/MeshInstance.xml +msgid "" +"This function can merge together the data from several source " +"[MeshInstance]s into a single destination [MeshInstance] (the MeshInstance " +"the function is called from). This is primarily useful for improving " +"performance by reducing the number of drawcalls and [Node]s.\n" +"Merging should only be attempted for simple meshes that do not contain " +"animation.\n" +"The final vertices can either be returned in global space, or in local space " +"relative to the destination [MeshInstance] global transform (the destination " +"Node must be inside the [SceneTree] for local space to work).\n" +"The function will make a final check for compatibility between the " +"[MeshInstance]s by default, this should always be used unless you have " +"previously checked for compatibility using [method MeshInstance." +"is_mergeable_with]. If the compatibility check is omitted and the meshes are " +"merged, you may see rendering errors.\n" +"[b]Note:[/b] The requirements for similarity between meshes are quite " +"stringent. They can be checked using the [method MeshInstance." +"is_mergeable_with] function prior to calling [method MeshInstance." +"merge_meshes].\n" +"Also note that any initial data in the destination [MeshInstance] data will " +"be discarded." +msgstr "" + +#: doc/classes/MeshInstance.xml msgid "Sets the [Material] for a surface of the [Mesh] resource." msgstr "" @@ -38814,12 +38996,12 @@ msgid "" "[/codeblock]\n" "[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " "must set [member owner] in addition to calling [method add_child]. This is " -"typically relevant for [url=https://godot.readthedocs.io/en/3.2/tutorials/" -"misc/running_code_in_the_editor.html]tool scripts[/url] and [url=https://" -"godot.readthedocs.io/en/latest/tutorials/plugins/editor/index.html]editor " -"plugins[/url]. If [method add_child] is called without setting [member " -"owner], the newly added [Node] will not be visible in the scene tree, though " -"it will be visible in the 2D/3D view." +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -39529,7 +39711,15 @@ msgid "" "valid parent, grandparent, etc. ascending in the tree). When saving a node " "(using [PackedScene]), all the nodes it owns will be saved with it. This " "allows for the creation of complex [SceneTree]s, with instancing and " -"subinstancing." +"subinstancing.\n" +"[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " +"must set [member owner] in addition to calling [method add_child]. This is " +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -40125,7 +40315,13 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Called when the object is initialized." +msgid "" +"Called when the object is initialized in memory. Can be defined to take in " +"parameters, that are passed in when constructing.\n" +"[b]Note:[/b] If [method _init] is defined with required parameters, then " +"explicit construction is the only valid means of creating an Object of the " +"class. If any other means (such as [method PackedScene.instance]) is used, " +"then initialization will fail." msgstr "" #: doc/classes/Object.xml @@ -40321,7 +40517,10 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Returns the object's metadata entry for the given [code]name[/code]." +msgid "" +"Returns the object's metadata entry for the given [code]name[/code].\n" +"Throws error if the entry does not exist, unless [code]default[/code] is not " +"[code]null[/code] (in which case the default value will be returned)." msgstr "" #: doc/classes/Object.xml @@ -42564,6 +42763,14 @@ msgid "" "[b]Note:[/b] Only available in editor builds." msgstr "" +#: modules/gltf/doc_classes/PackedSceneGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [PackedSceneGLTF] within a script will cause an error in an exported " +"project." +msgstr "" + #: doc/classes/PacketPeer.xml msgid "Abstraction and base class for packet-based protocols." msgstr "" @@ -45428,7 +45635,10 @@ msgid "" msgstr "" #: doc/classes/PhysicsServer.xml -msgid "Returns an Info defined by the [enum ProcessInfo] input given." +msgid "" +"Returns information about the current state of the 3D physics engine. See " +"[enum ProcessInfo] for a list of available states. Only implemented for " +"Godot Physics." msgstr "" #: doc/classes/PhysicsServer.xml @@ -48391,7 +48601,7 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Allows the window to be resizable by default.\n" -"[b]Note:[/b] This setting is ignored on iOS and Android." +"[b]Note:[/b] This setting is ignored on iOS." msgstr "" #: doc/classes/ProjectSettings.xml @@ -49038,7 +49248,7 @@ msgid "Optional name for the 3D render layer 13." msgstr "" #: doc/classes/ProjectSettings.xml -msgid "Optional name for the 3D render layer 14" +msgid "Optional name for the 3D render layer 14." msgstr "" #: doc/classes/ProjectSettings.xml @@ -50308,16 +50518,24 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" -"If [code]true[/code], forces vertex shading for all rendering. This can " -"increase performance a lot, but also reduces quality immensely. Can be used " -"to optimize performance on low-end mobile devices." +"If [code]true[/code], forces vertex shading for all 3D [SpatialMaterial] and " +"[ShaderMaterial] rendering. This can be used to improve performance on low-" +"end mobile devices. The downside is that shading becomes much less accurate, " +"with visible linear interpolation between vertices that are joined together. " +"This can be compensated by ensuring meshes have a sufficient level of " +"subdivision (but not too much, to avoid reducing performance). Some material " +"features are also not supported when vertex shading is enabled.\n" +"See also [member SpatialMaterial.flags_vertex_lighting] which can be used to " +"enable vertex shading on specific materials only.\n" +"[b]Note:[/b] This setting does not affect unshaded materials." msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Lower-end override for [member rendering/quality/shading/" "force_vertex_shading] on mobile devices, due to performance concerns or " -"driver support." +"driver support. If lighting looks broken after exporting the project to a " +"mobile platform, try disabling this setting." msgstr "" #: doc/classes/ProjectSettings.xml @@ -52397,6 +52615,11 @@ msgid "" msgstr "" #: doc/classes/RichTextLabel.xml +#, fuzzy +msgid "Returns the current selection text. Does not include BBCodes." +msgstr "Gibt den aktuell wiedergegebenen Animationszustand zurück." + +#: doc/classes/RichTextLabel.xml msgid "" "Returns the total number of characters from text tags. Does not include " "BBCodes." @@ -54697,14 +54920,23 @@ msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Lowers the [Semaphore], allowing one more thread in. Returns [constant OK] " -"on success, [constant ERR_BUSY] otherwise." +"Lowers the [Semaphore], allowing one more thread in.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." +msgstr "" + +#: doc/classes/Semaphore.xml +msgid "" +"Like [method wait], but won't block, so if the value is zero, fails " +"immediately and returns [constant ERR_BUSY]. If non-zero, it returns " +"[constant OK] to report success." msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Tries to wait for the [Semaphore], if its value is zero, blocks until non-" -"zero. Returns [constant OK] on success, [constant ERR_BUSY] otherwise." +"Waits for the [Semaphore], if its value is zero, blocks until non-zero.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Separator.xml @@ -56168,7 +56400,21 @@ msgstr "" #: doc/classes/SpatialMaterial.xml msgid "" "If [code]true[/code], lighting is calculated per vertex rather than per " -"pixel. This may increase performance on low-end devices." +"pixel. This may increase performance on low-end devices, especially for " +"meshes with a lower polygon count. The downside is that shading becomes much " +"less accurate, with visible linear interpolation between vertices that are " +"joined together. This can be compensated by ensuring meshes have a " +"sufficient level of subdivision (but not too much, to avoid reducing " +"performance). Some material features are also not supported when vertex " +"shading is enabled.\n" +"See also [member ProjectSettings.rendering/quality/shading/" +"force_vertex_shading] which can globally enable vertex shading on all " +"materials.\n" +"[b]Note:[/b] By default, vertex shading is enforced on mobile platforms by " +"[member ProjectSettings.rendering/quality/shading/force_vertex_shading]'s " +"[code]mobile[/code] override.\n" +"[b]Note:[/b] [member flags_vertex_lighting] has no effect if [member " +"flags_unshaded] is [code]true[/code]." msgstr "" #: doc/classes/SpatialMaterial.xml @@ -56987,7 +57233,10 @@ msgid "" "the text alignment to right.\n" "See [Range] class for more options over the [SpinBox].\n" "[b]Note:[/b] [SpinBox] relies on an underlying [LineEdit] node. To theme a " -"[SpinBox]'s background, add theme items for [LineEdit] and customize them." +"[SpinBox]'s background, add theme items for [LineEdit] and customize them.\n" +"[b]Note:[/b] If you want to implement drag and drop for the underlying " +"[LineEdit], you can use [method Control.set_drag_forwarding] on the node " +"returned by [method get_line_edit]." msgstr "" #: doc/classes/SpinBox.xml @@ -58334,7 +58583,6 @@ msgid "" "print(\"1.7\".is_valid_float()) # Prints \"True\"\n" "print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"7e3\".is_valid_float()) # Prints \"True\"\n" -"print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -58571,8 +58819,8 @@ msgid "" "var some_string = \"One,Two,Three,Four\"\n" "var some_array = some_string.rsplit(\",\", true, 1)\n" "print(some_array.size()) # Prints 2\n" -"print(some_array[0]) # Prints \"Four\"\n" -"print(some_array[1]) # Prints \"Three,Two,One\"\n" +"print(some_array[0]) # Prints \"One,Two,Three\"\n" +"print(some_array[1]) # Prints \"Four\"\n" "[/codeblock]" msgstr "" @@ -58605,9 +58853,9 @@ msgstr "" #: doc/classes/String.xml msgid "" "Returns the similarity index ([url=https://en.wikipedia.org/wiki/" -"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) this " -"string compared to another. 1.0 means totally similar and 0.0 means totally " -"dissimilar.\n" +"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) of " +"this string compared to another. A result of 1.0 means totally similar, " +"while 0.0 means totally dissimilar.\n" "[codeblock]\n" "print(\"ABC123\".similarity(\"ABC123\")) # Prints \"1\"\n" "print(\"ABC123\".similarity(\"XYZ456\")) # Prints \"0\"\n" @@ -60101,10 +60349,6 @@ msgid "" msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection begin column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection begin line." msgstr "" @@ -60113,10 +60357,6 @@ msgid "Returns the text inside the selection." msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection end column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection end line." msgstr "" @@ -61157,6 +61397,14 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Adds an empty theme type for every valid data type.\n" +"[b]Note:[/b] Empty types are not saved with the theme. This method only " +"exists to perform in-memory changes to the resource. Use available " +"[code]set_*[/code] methods to add theme items." +msgstr "" + +#: doc/classes/Theme.xml msgid "Clears all values on the theme." msgstr "" @@ -61451,6 +61699,13 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Removes the theme type, gracefully discarding defined theme items. If the " +"type is a variation, this information is also erased. If the type is a base " +"for type variations, those variations lose their base." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Renames the [Color] at [code]old_name[/code] to [code]name[/code] if the " "theme has [code]node_type[/code]. If [code]name[/code] is already taken, " "this method fails." @@ -74444,6 +74699,11 @@ msgid "" msgstr "" #: modules/websocket/doc_classes/WebSocketServer.xml +msgid "" +"Sets additional headers to be sent to clients during the HTTP handshake." +msgstr "" + +#: modules/websocket/doc_classes/WebSocketServer.xml msgid "Stops the server and clear its state." msgstr "" @@ -74539,6 +74799,9 @@ msgid "" "\n" " webxr_interface = ARVRServer.find_interface(\"WebXR\")\n" " if webxr_interface:\n" +" # Map to the standard button/axis ids when possible.\n" +" webxr_interface.xr_standard_mapping = true\n" +"\n" " # WebXR uses a lot of asynchronous callbacks, so we connect to " "various\n" " # signals in order to receive them.\n" @@ -74764,6 +75027,13 @@ msgstr "" #: modules/webxr/doc_classes/WebXRInterface.xml msgid "" +"If set to true, the button and axes ids will be converted to match the " +"standard ids used by other AR/VR interfaces, when possible.\n" +"Otherwise, the ids will be passed through unaltered from WebXR." +msgstr "" + +#: modules/webxr/doc_classes/WebXRInterface.xml +msgid "" "Emitted to indicate that the reference space has been reset or " "reconfigured.\n" "When (or whether) this is emitted depends on the user's browser or device, " diff --git a/doc/translations/el.po b/doc/translations/el.po index 07ba0eeae0..98bb60e4a3 100644 --- a/doc/translations/el.po +++ b/doc/translations/el.po @@ -3330,8 +3330,12 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" "Hints that an integer, float or string property is an enumerated value to " -"pick in a list specified via a hint string such as [code]\"Hello,Something," -"Else\"[/code]." +"pick in a list specified via a hint string.\n" +"The hint string is a comma separated list of names such as [code]\"Hello," +"Something,Else\"[/code]. For integer and float properties, the first name in " +"the list has value 0, the next 1, and so on. Explicit values can also be " +"specified by appending [code]:integer[/code] to the name, e.g. [code]\"Zero," +"One,Three:3,Four,Six:6\"[/code]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -3472,7 +3476,7 @@ msgid "The property is a translatable string." msgstr "" #: doc/classes/@GlobalScope.xml -msgid "Used to group properties together in the editor." +msgid "Used to group properties together in the editor. See [EditorInspector]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -5245,8 +5249,11 @@ msgstr "" #: doc/classes/AnimationNodeBlendTree.xml msgid "" -"This node may contain a sub-tree of any other blend type nodes, such as mix, " -"blend2, blend3, one shot, etc. This is one of the most commonly used roots." +"This node may contain a sub-tree of any other blend type nodes, such as " +"[AnimationNodeTransition], [AnimationNodeBlend2], [AnimationNodeBlend3], " +"[AnimationNodeOneShot], etc. This is one of the most commonly used roots.\n" +"An [AnimationNodeOutput] node named [code]output[/code] is created by " +"default." msgstr "" #: doc/classes/AnimationNodeBlendTree.xml @@ -6988,8 +6995,9 @@ msgstr "" #: doc/classes/Array.xml msgid "" -"Removes the first occurrence of a value from the array. To remove an element " -"by index, use [method remove] instead.\n" +"Removes the first occurrence of a value from the array. If the value does " +"not exist in the array, nothing happens. To remove an element by index, use " +"[method remove] instead.\n" "[b]Note:[/b] This method acts in-place and doesn't return a value.\n" "[b]Note:[/b] On large arrays, this method will be slower if the removed " "element is close to the beginning of the array (index 0). This is because " @@ -10366,8 +10374,15 @@ msgstr "" #: doc/classes/BakedLightmap.xml msgid "" -"When enabled, the lightmapper will merge the textures for all meshes into a " -"single large layered texture. Not supported in GLES2." +"If [code]true[/code], the lightmapper will merge the textures for all meshes " +"into one or several large layered textures. If [code]false[/code], every " +"mesh will get its own lightmap texture, which is less efficient.\n" +"[b]Note:[/b] Atlas lightmap rendering is only supported in GLES3, [i]not[/i] " +"GLES2. Non-atlas lightmap rendering is supported by both GLES3 and GLES2. If " +"[member ProjectSettings.rendering/quality/driver/fallback_to_gles2] is " +"[code]true[/code], consider baking lightmaps with [member atlas_generate] " +"set to [code]false[/code] so that the resulting lightmap is visible in both " +"GLES3 and GLES2." msgstr "" #: doc/classes/BakedLightmap.xml @@ -11712,8 +11727,8 @@ msgstr "" #: doc/classes/Camera.xml msgid "" "The camera's size measured as 1/2 the width or height. Only applicable in " -"orthogonal mode. Since [member keep_aspect] locks on axis, [code]size[/code] " -"sets the other axis' size length." +"orthogonal and frustum modes. Since [member keep_aspect] locks on axis, " +"[code]size[/code] sets the other axis' size length." msgstr "" #: doc/classes/Camera.xml @@ -12515,20 +12530,24 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], the node won't inherit its " -"transform from parent canvas items." +"If [code]enable[/code] is [code]true[/code], this [CanvasItem] will [i]not[/" +"i] inherit its transform from parent [CanvasItem]s. Its draw order will also " +"be changed to make it draw on top of other [CanvasItem]s that are not set as " +"top-level. The [CanvasItem] will effectively act as if it was placed as a " +"child of a bare [Node]. See also [method is_set_as_toplevel]." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"local transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_LOCAL_TRANSFORM_CHANGED] when its local transform " +"changes." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"global transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_TRANSFORM_CHANGED] when its global transform changes." msgstr "" #: doc/classes/CanvasItem.xml @@ -12642,9 +12661,14 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"The [CanvasItem]'s transform has changed. This notification is only received " -"if enabled by [method set_notify_transform] or [method " -"set_notify_local_transform]." +"The [CanvasItem]'s global transform has changed. This notification is only " +"received if enabled by [method set_notify_transform]." +msgstr "" + +#: doc/classes/CanvasItem.xml +msgid "" +"The [CanvasItem]'s local transform has changed. This notification is only " +"received if enabled by [method set_notify_local_transform]." msgstr "" #: doc/classes/CanvasItem.xml @@ -13599,7 +13623,10 @@ msgid "" "number of 2D collision [Shape2D]s. Each shape must be assigned to a [i]shape " "owner[/i]. The CollisionObject2D can have any number of shape owners. Shape " "owners are not nodes and do not appear in the editor, but are accessible " -"through code using the [code]shape_owner_*[/code] methods." +"through code using the [code]shape_owner_*[/code] methods.\n" +"[b]Note:[/b] Only collisions between objects within the same canvas " +"([Viewport] canvas or [CanvasLayer]) are supported. The behavior of " +"collisions between objects in different canvases is undefined." msgstr "" #: doc/classes/CollisionObject2D.xml @@ -19617,9 +19644,8 @@ msgid "" "main font.\n" "DynamicFont uses the [url=https://www.freetype.org/]FreeType[/url] library " "for rasterization. Supported formats are TrueType ([code].ttf[/code]), " -"OpenType ([code].otf[/code]) and Web Open Font Format 1 ([code].woff[/" -"code]). Web Open Font Format 2 ([code].woff2[/code]) is [i]not[/i] " -"supported.\n" +"OpenType ([code].otf[/code]), Web Open Font Format 1 ([code].woff[/code]), " +"and Web Open Font Format 2 ([code].woff2[/code]).\n" "[codeblock]\n" "var dynamic_font = DynamicFont.new()\n" "dynamic_font.font_data = load(\"res://BarlowCondensed-Bold.ttf\")\n" @@ -20486,18 +20512,34 @@ msgid "" msgstr "" #: doc/classes/EditorInspector.xml -msgid "A tab used to edit properties of the selected node." +msgid "A control used to edit properties of an object." msgstr "" #: doc/classes/EditorInspector.xml msgid "" -"The editor inspector is by default located on the right-hand side of the " -"editor. It's used to edit the properties of the selected node. For example, " -"you can select a node such as [Sprite] then edit its transform through the " -"inspector tool. The editor inspector is an essential tool in the game " -"development workflow.\n" -"[b]Note:[/b] This class shouldn't be instantiated directly. Instead, access " -"the singleton using [method EditorInterface.get_inspector]." +"This is the control that implements property editing in the editor's " +"Settings dialogs, the Inspector dock, etc. To get the [EditorInspector] used " +"in the editor's Inspector dock, use [method EditorInterface.get_inspector].\n" +"[EditorInspector] will show properties in the same order as the array " +"returned by [method Object.get_property_list].\n" +"If a property's name is path-like (i.e. if it contains forward slashes), " +"[EditorInspector] will create nested sections for \"directories\" along the " +"path. For example, if a property is named [code]highlighting/gdscript/" +"node_path_color[/code], it will be shown as \"Node Path Color\" inside the " +"\"GDScript\" section nested inside the \"Highlighting\" section.\n" +"If a property has [constant @GlobalScope.PROPERTY_USAGE_GROUP] usage, it " +"will group subsequent properties whose name starts with the property's hint " +"string. The group ends when a property does not start with that hint string " +"or when a new group starts. An empty group name effectively ends the current " +"group. [EditorInspector] will create a top-level section for each group. For " +"example, if a property with group usage is named [code]Collide With[/code] " +"and its hint string is [code]collide_with_[/code], a subsequent " +"[code]collide_with_area[/code] property will be shown as \"Area\" inside the " +"\"Collide With\" section.\n" +"[b]Note:[/b] Unlike sections created from path-like property names, " +"[EditorInspector] won't capitalize the name for sections created from " +"groups. So properties with group usage usually use capitalized names instead " +"of snake_cased names." msgstr "" #: doc/classes/EditorInspector.xml @@ -21672,6 +21714,14 @@ msgid "" "[/codeblock]" msgstr "" +#: modules/gltf/doc_classes/EditorSceneImporterGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [EditorSceneImporterGLTF] within a script will cause an error in an " +"exported project." +msgstr "" + #: doc/classes/EditorScenePostImport.xml msgid "Post-processes scenes after import." msgstr "" @@ -22410,12 +22460,13 @@ msgstr "" #: doc/classes/EditorVCSInterface.xml msgid "" "Helper function to create a commit [Dictionary] item. [code]msg[/code] is " -"the commit message of the commit. [code]author[/code] is a human-readable " -"string containing the author's details, e.g. the email and name configured " -"in the VCS. [code]id[/code] is the identifier of the commit, in whichever " -"format your VCS may provide an identifier to commits. [code]date[/code] is " -"directly added to the commit item and displayed in the editor, and hence, it " -"shall be a well-formatted, human-readable date string." +"the commit message of the commit. [code]author[/code] is a single human-" +"readable string containing all the author's details, e.g. the email and name " +"configured in the VCS. [code]id[/code] is the identifier of the commit, in " +"whichever format your VCS may provide an identifier to commits. " +"[code]unix_timestamp[/code] is the UTC Unix timestamp of when the commit was " +"created. [code]offset_minutes[/code] is the timezone offset in minutes, " +"recorded from the system timezone where the commit was created." msgstr "" #: doc/classes/EditorVCSInterface.xml @@ -25571,6 +25622,50 @@ msgstr "" msgid "Represents the size of the [enum Subdiv] enum." msgstr "" +#: modules/gltf/doc_classes/GLTFAccessor.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAccessor] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFAnimation.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAnimation] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFBufferView.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFBufferView] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFCamera.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFCamera] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFDocument.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFDocument] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFLight.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFLight] within a script will cause an error in an exported project." +msgstr "" + #: modules/gltf/doc_classes/GLTFLight.xml msgid "" "The [Color] of the light. Defaults to white. A black color causes the light " @@ -25620,6 +25715,49 @@ msgid "" "and [DirectionalLight] respectively." msgstr "" +#: modules/gltf/doc_classes/GLTFMesh.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFMesh] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFNode.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFNode] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSkeleton.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSkeleton] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSpecGloss.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSpecGloss] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFState.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFState] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFTexture.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFTexture] within a script will cause an error in an exported project." +msgstr "" + #: modules/mono/doc_classes/GodotSharp.xml msgid "Bridge between Godot and the Mono runtime (Mono-enabled builds only)." msgstr "" @@ -29008,9 +29146,9 @@ msgid "" "Returns a value between 0 and 1 representing the raw intensity of the given " "action, ignoring the action's deadzone. In most cases, you should use " "[method get_action_strength] instead.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29020,9 +29158,9 @@ msgid "" "or L2, R2 triggers) is from the dead zone, the closer the value will be to " "1. If the action is mapped to a control that has no axis as the keyboard, " "the value returned will be 0 or 1.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29155,9 +29293,9 @@ msgid "" "the button.\n" "This is useful for code that needs to run only once when an action is " "pressed, instead of every frame while it's pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_just_pressed] may " "return [code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29169,9 +29307,9 @@ msgid "" "Returns [code]true[/code] when the user stops pressing the action event, " "meaning it's [code]true[/code] only on the frame that the user released the " "button.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29180,9 +29318,9 @@ msgid "" "an action has multiple buttons assigned and more than one of them is " "pressed, releasing one button will release the action, even if some other " "button assigned to this action is still pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29532,18 +29670,18 @@ msgstr "" msgid "" "Returns a value between 0.0 and 1.0 depending on the given actions' state. " "Useful for getting the value of events of type [InputEventJoypadMotion].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml msgid "" "Returns [code]true[/code] if this input event matches a pre-defined action " "of any type.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -29552,9 +29690,9 @@ msgid "" "an echo event for [InputEventKey] events, unless [code]allow_echo[/code] is " "[code]true[/code]). Not relevant for events of type [InputEventMouseMotion] " "or [InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events.\n" +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29566,9 +29704,9 @@ msgid "" "Returns [code]true[/code] if the given action is released (i.e. not " "pressed). Not relevant for events of type [InputEventMouseMotion] or " "[InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -29599,9 +29737,9 @@ msgid "" "event. Only valid for action events i.e key ([InputEventKey]), button " "([InputEventMouseButton] or [InputEventJoypadButton]), axis " "[InputEventJoypadMotion] or action ([InputEventAction]) events.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -30132,9 +30270,9 @@ msgid "" "This method ignores keyboard modifiers if the given [InputEvent] is not " "pressed (for proper release detection). See [method action_has_event] if you " "don't want this behavior.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputMap.xml @@ -32539,7 +32677,7 @@ msgid "" "be within the text's length." msgstr "" -#: doc/classes/LineEdit.xml +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml msgid "Clears the current selection." msgstr "" @@ -32558,6 +32696,19 @@ msgid "" "characters." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection begin column." +msgstr "" + +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection end column." +msgstr "" + +#: doc/classes/LineEdit.xml +#, fuzzy +msgid "Returns [code]true[/code] if the user has selected text." +msgstr "Επιστρέφει το συνημίτονο της παραμέτρου." + #: doc/classes/LineEdit.xml msgid "Executes a given action as defined in the [enum MenuItems] enum." msgstr "" @@ -33971,6 +34122,39 @@ msgid "Returns the number of surface materials." msgstr "" #: doc/classes/MeshInstance.xml +msgid "" +"Returns [code]true[/code] if this [MeshInstance] can be merged with the " +"specified [code]other_mesh_instance[/code], using the [method MeshInstance." +"merge_meshes] function.\n" +"In order to be mergeable, properties of the [MeshInstance] must match, and " +"each surface must match, in terms of material, attributes and vertex format." +msgstr "" + +#: doc/classes/MeshInstance.xml +msgid "" +"This function can merge together the data from several source " +"[MeshInstance]s into a single destination [MeshInstance] (the MeshInstance " +"the function is called from). This is primarily useful for improving " +"performance by reducing the number of drawcalls and [Node]s.\n" +"Merging should only be attempted for simple meshes that do not contain " +"animation.\n" +"The final vertices can either be returned in global space, or in local space " +"relative to the destination [MeshInstance] global transform (the destination " +"Node must be inside the [SceneTree] for local space to work).\n" +"The function will make a final check for compatibility between the " +"[MeshInstance]s by default, this should always be used unless you have " +"previously checked for compatibility using [method MeshInstance." +"is_mergeable_with]. If the compatibility check is omitted and the meshes are " +"merged, you may see rendering errors.\n" +"[b]Note:[/b] The requirements for similarity between meshes are quite " +"stringent. They can be checked using the [method MeshInstance." +"is_mergeable_with] function prior to calling [method MeshInstance." +"merge_meshes].\n" +"Also note that any initial data in the destination [MeshInstance] data will " +"be discarded." +msgstr "" + +#: doc/classes/MeshInstance.xml msgid "Sets the [Material] for a surface of the [Mesh] resource." msgstr "" @@ -36443,12 +36627,12 @@ msgid "" "[/codeblock]\n" "[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " "must set [member owner] in addition to calling [method add_child]. This is " -"typically relevant for [url=https://godot.readthedocs.io/en/3.2/tutorials/" -"misc/running_code_in_the_editor.html]tool scripts[/url] and [url=https://" -"godot.readthedocs.io/en/latest/tutorials/plugins/editor/index.html]editor " -"plugins[/url]. If [method add_child] is called without setting [member " -"owner], the newly added [Node] will not be visible in the scene tree, though " -"it will be visible in the 2D/3D view." +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37155,7 +37339,15 @@ msgid "" "valid parent, grandparent, etc. ascending in the tree). When saving a node " "(using [PackedScene]), all the nodes it owns will be saved with it. This " "allows for the creation of complex [SceneTree]s, with instancing and " -"subinstancing." +"subinstancing.\n" +"[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " +"must set [member owner] in addition to calling [method add_child]. This is " +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37751,7 +37943,13 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Called when the object is initialized." +msgid "" +"Called when the object is initialized in memory. Can be defined to take in " +"parameters, that are passed in when constructing.\n" +"[b]Note:[/b] If [method _init] is defined with required parameters, then " +"explicit construction is the only valid means of creating an Object of the " +"class. If any other means (such as [method PackedScene.instance]) is used, " +"then initialization will fail." msgstr "" #: doc/classes/Object.xml @@ -37947,7 +38145,10 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Returns the object's metadata entry for the given [code]name[/code]." +msgid "" +"Returns the object's metadata entry for the given [code]name[/code].\n" +"Throws error if the entry does not exist, unless [code]default[/code] is not " +"[code]null[/code] (in which case the default value will be returned)." msgstr "" #: doc/classes/Object.xml @@ -40163,6 +40364,14 @@ msgid "" "[b]Note:[/b] Only available in editor builds." msgstr "" +#: modules/gltf/doc_classes/PackedSceneGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [PackedSceneGLTF] within a script will cause an error in an exported " +"project." +msgstr "" + #: doc/classes/PacketPeer.xml msgid "Abstraction and base class for packet-based protocols." msgstr "" @@ -43006,7 +43215,10 @@ msgid "" msgstr "" #: doc/classes/PhysicsServer.xml -msgid "Returns an Info defined by the [enum ProcessInfo] input given." +msgid "" +"Returns information about the current state of the 3D physics engine. See " +"[enum ProcessInfo] for a list of available states. Only implemented for " +"Godot Physics." msgstr "" #: doc/classes/PhysicsServer.xml @@ -45871,7 +46083,7 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Allows the window to be resizable by default.\n" -"[b]Note:[/b] This setting is ignored on iOS and Android." +"[b]Note:[/b] This setting is ignored on iOS." msgstr "" #: doc/classes/ProjectSettings.xml @@ -46518,7 +46730,7 @@ msgid "Optional name for the 3D render layer 13." msgstr "" #: doc/classes/ProjectSettings.xml -msgid "Optional name for the 3D render layer 14" +msgid "Optional name for the 3D render layer 14." msgstr "" #: doc/classes/ProjectSettings.xml @@ -47788,16 +48000,24 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" -"If [code]true[/code], forces vertex shading for all rendering. This can " -"increase performance a lot, but also reduces quality immensely. Can be used " -"to optimize performance on low-end mobile devices." +"If [code]true[/code], forces vertex shading for all 3D [SpatialMaterial] and " +"[ShaderMaterial] rendering. This can be used to improve performance on low-" +"end mobile devices. The downside is that shading becomes much less accurate, " +"with visible linear interpolation between vertices that are joined together. " +"This can be compensated by ensuring meshes have a sufficient level of " +"subdivision (but not too much, to avoid reducing performance). Some material " +"features are also not supported when vertex shading is enabled.\n" +"See also [member SpatialMaterial.flags_vertex_lighting] which can be used to " +"enable vertex shading on specific materials only.\n" +"[b]Note:[/b] This setting does not affect unshaded materials." msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Lower-end override for [member rendering/quality/shading/" "force_vertex_shading] on mobile devices, due to performance concerns or " -"driver support." +"driver support. If lighting looks broken after exporting the project to a " +"mobile platform, try disabling this setting." msgstr "" #: doc/classes/ProjectSettings.xml @@ -49833,6 +50053,11 @@ msgid "" msgstr "" #: doc/classes/RichTextLabel.xml +#, fuzzy +msgid "Returns the current selection text. Does not include BBCodes." +msgstr "Επιστρέφει την εφαπτομένη της παραμέτρου." + +#: doc/classes/RichTextLabel.xml msgid "" "Returns the total number of characters from text tags. Does not include " "BBCodes." @@ -52124,14 +52349,23 @@ msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Lowers the [Semaphore], allowing one more thread in. Returns [constant OK] " -"on success, [constant ERR_BUSY] otherwise." +"Lowers the [Semaphore], allowing one more thread in.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Tries to wait for the [Semaphore], if its value is zero, blocks until non-" -"zero. Returns [constant OK] on success, [constant ERR_BUSY] otherwise." +"Like [method wait], but won't block, so if the value is zero, fails " +"immediately and returns [constant ERR_BUSY]. If non-zero, it returns " +"[constant OK] to report success." +msgstr "" + +#: doc/classes/Semaphore.xml +msgid "" +"Waits for the [Semaphore], if its value is zero, blocks until non-zero.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Separator.xml @@ -53577,7 +53811,21 @@ msgstr "" #: doc/classes/SpatialMaterial.xml msgid "" "If [code]true[/code], lighting is calculated per vertex rather than per " -"pixel. This may increase performance on low-end devices." +"pixel. This may increase performance on low-end devices, especially for " +"meshes with a lower polygon count. The downside is that shading becomes much " +"less accurate, with visible linear interpolation between vertices that are " +"joined together. This can be compensated by ensuring meshes have a " +"sufficient level of subdivision (but not too much, to avoid reducing " +"performance). Some material features are also not supported when vertex " +"shading is enabled.\n" +"See also [member ProjectSettings.rendering/quality/shading/" +"force_vertex_shading] which can globally enable vertex shading on all " +"materials.\n" +"[b]Note:[/b] By default, vertex shading is enforced on mobile platforms by " +"[member ProjectSettings.rendering/quality/shading/force_vertex_shading]'s " +"[code]mobile[/code] override.\n" +"[b]Note:[/b] [member flags_vertex_lighting] has no effect if [member " +"flags_unshaded] is [code]true[/code]." msgstr "" #: doc/classes/SpatialMaterial.xml @@ -54381,7 +54629,10 @@ msgid "" "the text alignment to right.\n" "See [Range] class for more options over the [SpinBox].\n" "[b]Note:[/b] [SpinBox] relies on an underlying [LineEdit] node. To theme a " -"[SpinBox]'s background, add theme items for [LineEdit] and customize them." +"[SpinBox]'s background, add theme items for [LineEdit] and customize them.\n" +"[b]Note:[/b] If you want to implement drag and drop for the underlying " +"[LineEdit], you can use [method Control.set_drag_forwarding] on the node " +"returned by [method get_line_edit]." msgstr "" #: doc/classes/SpinBox.xml @@ -55701,7 +55952,6 @@ msgid "" "print(\"1.7\".is_valid_float()) # Prints \"True\"\n" "print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"7e3\".is_valid_float()) # Prints \"True\"\n" -"print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55938,8 +56188,8 @@ msgid "" "var some_string = \"One,Two,Three,Four\"\n" "var some_array = some_string.rsplit(\",\", true, 1)\n" "print(some_array.size()) # Prints 2\n" -"print(some_array[0]) # Prints \"Four\"\n" -"print(some_array[1]) # Prints \"Three,Two,One\"\n" +"print(some_array[0]) # Prints \"One,Two,Three\"\n" +"print(some_array[1]) # Prints \"Four\"\n" "[/codeblock]" msgstr "" @@ -55972,9 +56222,9 @@ msgstr "" #: doc/classes/String.xml msgid "" "Returns the similarity index ([url=https://en.wikipedia.org/wiki/" -"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) this " -"string compared to another. 1.0 means totally similar and 0.0 means totally " -"dissimilar.\n" +"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) of " +"this string compared to another. A result of 1.0 means totally similar, " +"while 0.0 means totally dissimilar.\n" "[codeblock]\n" "print(\"ABC123\".similarity(\"ABC123\")) # Prints \"1\"\n" "print(\"ABC123\".similarity(\"XYZ456\")) # Prints \"0\"\n" @@ -57449,10 +57699,6 @@ msgid "" msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection begin column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection begin line." msgstr "" @@ -57461,10 +57707,6 @@ msgid "Returns the text inside the selection." msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection end column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection end line." msgstr "" @@ -58489,6 +58731,14 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Adds an empty theme type for every valid data type.\n" +"[b]Note:[/b] Empty types are not saved with the theme. This method only " +"exists to perform in-memory changes to the resource. Use available " +"[code]set_*[/code] methods to add theme items." +msgstr "" + +#: doc/classes/Theme.xml msgid "Clears all values on the theme." msgstr "" @@ -58749,6 +58999,13 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Removes the theme type, gracefully discarding defined theme items. If the " +"type is a variation, this information is also erased. If the type is a base " +"for type variations, those variations lose their base." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Renames the [Color] at [code]old_name[/code] to [code]name[/code] if the " "theme has [code]node_type[/code]. If [code]name[/code] is already taken, " "this method fails." @@ -71474,6 +71731,11 @@ msgid "" msgstr "" #: modules/websocket/doc_classes/WebSocketServer.xml +msgid "" +"Sets additional headers to be sent to clients during the HTTP handshake." +msgstr "" + +#: modules/websocket/doc_classes/WebSocketServer.xml msgid "Stops the server and clear its state." msgstr "" @@ -71569,6 +71831,9 @@ msgid "" "\n" " webxr_interface = ARVRServer.find_interface(\"WebXR\")\n" " if webxr_interface:\n" +" # Map to the standard button/axis ids when possible.\n" +" webxr_interface.xr_standard_mapping = true\n" +"\n" " # WebXR uses a lot of asynchronous callbacks, so we connect to " "various\n" " # signals in order to receive them.\n" @@ -71794,6 +72059,13 @@ msgstr "" #: modules/webxr/doc_classes/WebXRInterface.xml msgid "" +"If set to true, the button and axes ids will be converted to match the " +"standard ids used by other AR/VR interfaces, when possible.\n" +"Otherwise, the ids will be passed through unaltered from WebXR." +msgstr "" + +#: modules/webxr/doc_classes/WebXRInterface.xml +msgid "" "Emitted to indicate that the reference space has been reset or " "reconfigured.\n" "When (or whether) this is emitted depends on the user's browser or device, " diff --git a/doc/translations/es.po b/doc/translations/es.po index e80ab772c3..4279e2136f 100644 --- a/doc/translations/es.po +++ b/doc/translations/es.po @@ -12,7 +12,7 @@ # No te interesa <soxahop585@inmail3.com>, 2020. # Jonatan <arandajonatan94@tuta.io>, 2020. # peter9811 <petercuevas.6@gmail.com>, 2020. -# Ventura Pérez García <vetu@protonmail.com>, 2020. +# Ventura Pérez García <vetu@protonmail.com>, 2020, 2022. # Joakker <joaquinandresleon108@gmail.com>, 2020, 2021. # ACM <albertocm@tuta.io>, 2020. # Pierre Stempin <pierre.stempin@gmail.com>, 2020. @@ -32,12 +32,14 @@ # Alejandro Pérez <alejandro.pr.rz@gmail.com>, 2022. # Cristhian Pineda Castro <kurgancpc@hotmail.com>, 2022. # Francesco Santoro <fgsantoror20@gmail.com>, 2022. +# Jake-insane <jake0insane@gmail.com>, 2022. +# Luis Alberto Flores Baca <betofloresbaca@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-03-05 03:08+0000\n" -"Last-Translator: Francesco Santoro <fgsantoror20@gmail.com>\n" +"PO-Revision-Date: 2022-04-25 15:12+0000\n" +"Last-Translator: Ventura Pérez García <vetu@protonmail.com>\n" "Language-Team: Spanish <https://hosted.weblate.org/projects/godot-engine/" "godot-class-reference/es/>\n" "Language: es\n" @@ -45,7 +47,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8-bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.12-dev\n" +"X-Generator: Weblate 4.12.1-dev\n" #: doc/tools/make_rst.py msgid "Description" @@ -108,9 +110,8 @@ msgid "Default" msgstr "Por defecto" #: doc/tools/make_rst.py -#, fuzzy msgid "Setter" -msgstr "Método Configurador o Setter" +msgstr "Regulador o fijador" #: doc/tools/make_rst.py msgid "value" @@ -324,7 +325,6 @@ msgstr "" "[/codeblock]" #: modules/gdscript/doc_classes/@GDScript.xml -#, fuzzy msgid "" "Returns the arc tangent of [code]s[/code] in radians. Use it to get the " "angle from an angle's tangent in trigonometry: [code]atan(tan(angle)) == " @@ -338,14 +338,13 @@ msgstr "" "Devuelve el arco tangente de [code]s[/code] en radianes. Úsalo para obtener " "el ángulo a partir de la tangente de un ángulo en trigonometría: " "[code]atan(tan(angle)) == angle[/code].\n" -"El método no puede saber en qué cuadrante el ángulo se encuentra. Vea " +"El método no puede saber en qué cuadrante se encuentra el ángulo . Vea " "[method atan2] si tienes tanto [code]y[/code] como [code]x[/code]\n" "[codeblock]\n" "a = atan(0.5) # a is 0.463648\n" "[/codeblock]" #: modules/gdscript/doc_classes/@GDScript.xml -#, fuzzy msgid "" "Returns the arc tangent of [code]y/x[/code] in radians. Use to get the angle " "of tangent [code]y/x[/code]. To compute the value, the method takes into " @@ -380,7 +379,6 @@ msgstr "" #: modules/gdscript/doc_classes/@GDScript.xml #: modules/visual_script/doc_classes/VisualScriptBuiltinFunc.xml -#, fuzzy msgid "" "Converts a 2D point expressed in the cartesian coordinate system (X and Y " "axis) to the polar coordinate system (a distance from the origin and an " @@ -400,12 +398,13 @@ msgid "" "[/codeblock]\n" "See also [method floor], [method round], [method stepify], and [int]." msgstr "" -"Redondea [code]s[/code] por encima, devolviendo el valor entero más pequeño " -"que no es menor que [code]s[/code].\n" +"Redondea [code]s[/code] hacia arriba (hacia infinito positivo), devolviendo " +"el valor entero más pequeño que no es menor que [code]s[/code].\n" "[codeblock]\n" -"a = ceil(1.45) # a es 2\n" -"a = ceil(1.001) # a es 2\n" -"[/codeblock]" +"a = ceil(1.45) # a es 2.0\n" +"a = ceil(1.001) # a es 2.0\n" +"[/codeblock]\n" +"Ver también [method floor], [method round], [method stepify] e [int]." #: modules/gdscript/doc_classes/@GDScript.xml msgid "" @@ -4401,12 +4400,13 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" "Hints that an integer, float or string property is an enumerated value to " -"pick in a list specified via a hint string such as [code]\"Hello,Something," -"Else\"[/code]." +"pick in a list specified via a hint string.\n" +"The hint string is a comma separated list of names such as [code]\"Hello," +"Something,Else\"[/code]. For integer and float properties, the first name in " +"the list has value 0, the next 1, and so on. Explicit values can also be " +"specified by appending [code]:integer[/code] to the name, e.g. [code]\"Zero," +"One,Three:3,Four,Six:6\"[/code]." msgstr "" -"Sugerencias de que una propiedad entera, real o de cadena es un valor " -"enumerado para elegir en una lista especificada a través de una string de " -"sugerencias como [code]\"Hello,Something,Else\"[/code]." #: doc/classes/@GlobalScope.xml msgid "" @@ -4589,7 +4589,8 @@ msgid "The property is a translatable string." msgstr "La propiedad es una string traducible." #: doc/classes/@GlobalScope.xml -msgid "Used to group properties together in the editor." +#, fuzzy +msgid "Used to group properties together in the editor. See [EditorInspector]." msgstr "Se utiliza para agrupar las propiedades en el editor." #: doc/classes/@GlobalScope.xml @@ -5265,40 +5266,40 @@ msgid "" " assert(decrypted == data.to_utf8())\n" "[/codeblock]" msgstr "" -"Esta clase proporciona acceso a la encriptación/desencriptación AES de los " -"datos en bruto. Tanto el modo AES-ECB como el AES-CBC están soportados.\n" +"Esta clase proporciona acceso a la cifrado/descifrado AES de los datos en " +"bruto. Tanto el modo AES-ECB como el AES-CBC están soportados.\n" "[codeblock]\n" "extends Node\n" "\n" "var aes = AESContext.new()\n" "\n" "func _ready():\n" -" var clave = \"Mi clave secreta!!!\" # La clave debe ser de 16 o 32 " -"bytes. (1 byte = 1 char) normalmdlkd\n" -" var datos = \"Mi clave secreta\" # El tamaño de datos debe ser multiplo " +" var clave = \"Mi clave secreta\" # La clave debe ser de 16 o 32 bytes. " +"(1 byte = 1 char) normalmdlkd\n" +" var datos = \"Mi texto secreto\" # El tamaño de datos debe ser multiplo " "de 16, ponga algún relleno para completar de ser necesario.\n" -" # Encriptar ECB\n" +" # Cifraro en modo ECB\n" " aes.start(AESContext.MODE_ECB_ENCRYPT, clave.to_utf8())\n" -" var encriptado = aes.update(datos.to_utf8())\n" +" var textocifrado = aes.update(datos.to_utf8())\n" " aes.finish()\n" -" # Desencriptar ECB\n" +" # Descifrar en modo ECB\n" " aes.start(AESContext.MODE_ECB_DECRYPT, clave.to_utf8())\n" -" var desencriptado = aes.update(encriptado)\n" +" var textoplano = aes.update(textocifrado)\n" " aes.finish()\n" " # Comprobar ECB\n" -" assert(desencriptado == datos.to_utf8())\n" +" assert(textoplano == datos.to_utf8())\n" "\n" " var iv = \"Mi secreto iv!!!\" # IV debe ser de tamaño 16 bytes.\n" -" # Encriptar CBC\n" +" # Cifrado en modo CBC\n" " aes.start(AESContext.MODE_CBC_ENCRYPT, clave.to_utf8(), iv.to_utf8())\n" -" encriptado = aes.update(datos.to_utf8())\n" +" textocifrado = aes.update(datos.to_utf8())\n" " aes.finish()\n" -" # Desencriptar CBC\n" +" # Descifrar en modo CBC\n" " aes.start(AESContext.MODE_CBC_DECRYPT, clave.to_utf8(), iv.to_utf8())\n" -" desencriptado = aes.update(encriptado)\n" +" textoplano = aes.update(textocifrado)\n" " aes.finish()\n" " # Comprobar CBC\n" -" assert(desencriptado == datos.to_utf8())\n" +" assert(textoplano == datos.to_utf8())\n" "[/codeblock]" #: doc/classes/AESContext.xml @@ -5334,7 +5335,6 @@ msgstr "" "[constant MODE_CBC_DECRYPT]." #: doc/classes/AESContext.xml -#, fuzzy msgid "" "Run the desired operation for this AES context. Will return a " "[PoolByteArray] containing the result of encrypting (or decrypting) the " @@ -5343,11 +5343,11 @@ msgid "" "some padding if needed." msgstr "" "Ejecute la operación deseada para este contexto de AES. Devolverá un " -"[PackedByteArray] que contiene el resultado de encriptar (o desencriptar) el " -"[code]src[/code] dado. Consulte [start method] para conocer el modo de " +"[PoolByteArray] que contiene el resultado de cifrar (o descifrar) el " +"[code]src[/code] dado. Consulte [method start] para conocer el modo de " "operación.\n" -"Nota: El tamaño de [code]src[/code] debe ser un múltiplo de 16. Aplique algo " -"de relleno si fuera necesario." +"[b]Nota:[/b] El tamaño de [code]src[/code] debe ser un múltiplo de 16. " +"Aplique algo de relleno si fuera necesario." #: doc/classes/AESContext.xml msgid "AES electronic codebook encryption mode." @@ -6533,9 +6533,8 @@ msgstr "" #: doc/classes/AnimationNodeOneShot.xml doc/classes/AnimationNodeOutput.xml #: doc/classes/AnimationNodeTimeScale.xml #: doc/classes/AnimationNodeTransition.xml -#, fuzzy msgid "AnimationTree" -msgstr "Nodo desconocido." +msgstr "AnimationTree" #: doc/classes/AnimationNodeAdd3.xml doc/classes/AnimationNodeAnimation.xml #: doc/classes/AnimationNodeBlend2.xml @@ -6906,9 +6905,13 @@ msgstr "" "mezcla." #: doc/classes/AnimationNodeBlendTree.xml +#, fuzzy msgid "" -"This node may contain a sub-tree of any other blend type nodes, such as mix, " -"blend2, blend3, one shot, etc. This is one of the most commonly used roots." +"This node may contain a sub-tree of any other blend type nodes, such as " +"[AnimationNodeTransition], [AnimationNodeBlend2], [AnimationNodeBlend3], " +"[AnimationNodeOneShot], etc. This is one of the most commonly used roots.\n" +"An [AnimationNodeOutput] node named [code]output[/code] is created by " +"default." msgstr "" "Este nodo puede contener un subárbol de cualquier otro tipo de nodos de " "mezcla, como mix, blend2, blend3, one shot, etc. Esta es una de los nodos " @@ -9136,14 +9139,22 @@ msgid "Returns [code]true[/code] if the array is empty." msgstr "Devuelve [code]true[/code] si el array es vacio." #: doc/classes/Array.xml +#, fuzzy msgid "" -"Removes the first occurrence of a value from the array. To remove an element " -"by index, use [method remove] instead.\n" +"Removes the first occurrence of a value from the array. If the value does " +"not exist in the array, nothing happens. To remove an element by index, use " +"[method remove] instead.\n" "[b]Note:[/b] This method acts in-place and doesn't return a value.\n" "[b]Note:[/b] On large arrays, this method will be slower if the removed " "element is close to the beginning of the array (index 0). This is because " "all elements placed after the removed element have to be reindexed." msgstr "" +"Inserta un nuevo elemento en la posisción dada en el array. La posición debe " +"ser valida, o al final de el array([code]pos == size()[/code].\n" +"[b]Note:[/b] este metodo actua en el lugar y no devuelve ningún valor.\n" +"[b]Note:[/b] en arrays largos, este metodo va a ser mas lento si el elemento " +"incertado esta cerca al inicio del array (índice 0). Esto es por que todos " +"los elementos despues del elemento incertado tienen que ser reindisados." #: doc/classes/Array.xml msgid "" @@ -13630,8 +13641,15 @@ msgstr "" #: doc/classes/BakedLightmap.xml msgid "" -"When enabled, the lightmapper will merge the textures for all meshes into a " -"single large layered texture. Not supported in GLES2." +"If [code]true[/code], the lightmapper will merge the textures for all meshes " +"into one or several large layered textures. If [code]false[/code], every " +"mesh will get its own lightmap texture, which is less efficient.\n" +"[b]Note:[/b] Atlas lightmap rendering is only supported in GLES3, [i]not[/i] " +"GLES2. Non-atlas lightmap rendering is supported by both GLES3 and GLES2. If " +"[member ProjectSettings.rendering/quality/driver/fallback_to_gles2] is " +"[code]true[/code], consider baking lightmaps with [member atlas_generate] " +"set to [code]false[/code] so that the resulting lightmap is visible in both " +"GLES3 and GLES2." msgstr "" #: doc/classes/BakedLightmap.xml @@ -15351,10 +15369,11 @@ msgstr "" "la cámara escala su tamaño percibido." #: doc/classes/Camera.xml +#, fuzzy msgid "" "The camera's size measured as 1/2 the width or height. Only applicable in " -"orthogonal mode. Since [member keep_aspect] locks on axis, [code]size[/code] " -"sets the other axis' size length." +"orthogonal and frustum modes. Since [member keep_aspect] locks on axis, " +"[code]size[/code] sets the other axis' size length." msgstr "" "El tamaño de la cámara se mide como la mitad de la anchura o la altura. Sólo " "aplicable en modo ortogonal. Dado que [member keep_aspect] se bloquea en el " @@ -16447,24 +16466,28 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], the node won't inherit its " -"transform from parent canvas items." +"If [code]enable[/code] is [code]true[/code], this [CanvasItem] will [i]not[/" +"i] inherit its transform from parent [CanvasItem]s. Its draw order will also " +"be changed to make it draw on top of other [CanvasItem]s that are not set as " +"top-level. The [CanvasItem] will effectively act as if it was placed as a " +"child of a bare [Node]. See also [method is_set_as_toplevel]." msgstr "" -"Si [code]enable[/code] es [code]true[/code], el nodo no heredará su " -"transformación de los objetos del canvas padre." #: doc/classes/CanvasItem.xml +#, fuzzy msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"local transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_LOCAL_TRANSFORM_CHANGED] when its local transform " +"changes." msgstr "" "Si [code]enable[/code] es [code]true[/code], los hijos serán actualizados " "con datos de transformación local." #: doc/classes/CanvasItem.xml +#, fuzzy msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"global transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_TRANSFORM_CHANGED] when its global transform changes." msgstr "" "Si [code]enable[/code] es [code]true[/code], los hijos serán actualizados " "con los datos de transformación global." @@ -16604,10 +16627,20 @@ msgid "" msgstr "" #: doc/classes/CanvasItem.xml +#, fuzzy msgid "" -"The [CanvasItem]'s transform has changed. This notification is only received " -"if enabled by [method set_notify_transform] or [method " +"The [CanvasItem]'s global transform has changed. This notification is only " +"received if enabled by [method set_notify_transform]." +msgstr "" +"La transformada del [CanvasItem] ha cambiado. Esta notificación sólo se " +"recibe si está habilitada por [method set_notify_transform] o [method " "set_notify_local_transform]." + +#: doc/classes/CanvasItem.xml +#, fuzzy +msgid "" +"The [CanvasItem]'s local transform has changed. This notification is only " +"received if enabled by [method set_notify_local_transform]." msgstr "" "La transformada del [CanvasItem] ha cambiado. Esta notificación sólo se " "recibe si está habilitada por [method set_notify_transform] o [method " @@ -17864,12 +17897,16 @@ msgid "Base node for 2D collision objects." msgstr "Nodo base para objetos de colisión 2D." #: doc/classes/CollisionObject2D.xml +#, fuzzy msgid "" "CollisionObject2D is the base class for 2D physics objects. It can hold any " "number of 2D collision [Shape2D]s. Each shape must be assigned to a [i]shape " "owner[/i]. The CollisionObject2D can have any number of shape owners. Shape " "owners are not nodes and do not appear in the editor, but are accessible " -"through code using the [code]shape_owner_*[/code] methods." +"through code using the [code]shape_owner_*[/code] methods.\n" +"[b]Note:[/b] Only collisions between objects within the same canvas " +"([Viewport] canvas or [CanvasLayer]) are supported. The behavior of " +"collisions between objects in different canvases is undefined." msgstr "" "CollisionObject2D es la clase base de los objetos de física 2D. Puede " "contener cualquier número de colisiones 2D [Shape2D]. Cada forma debe ser " @@ -20025,8 +20062,8 @@ msgid "" "Queue resort of the contained children. This is called automatically anyway, " "but can be called upon request." msgstr "" -"El recurso de la cola de los hijos contenidos. Esto se llama automáticamente " -"de todos modos, pero puede ser llamado a petición." +"Encolar la reorganización de los hijos contenidos. Este método es llamado " +"automáticamente, pero también puede ser llamado manualmente." #: doc/classes/Container.xml msgid "Emitted when sorting the children is needed." @@ -25949,9 +25986,8 @@ msgid "" "main font.\n" "DynamicFont uses the [url=https://www.freetype.org/]FreeType[/url] library " "for rasterization. Supported formats are TrueType ([code].ttf[/code]), " -"OpenType ([code].otf[/code]) and Web Open Font Format 1 ([code].woff[/" -"code]). Web Open Font Format 2 ([code].woff2[/code]) is [i]not[/i] " -"supported.\n" +"OpenType ([code].otf[/code]), Web Open Font Format 1 ([code].woff[/code]), " +"and Web Open Font Format 2 ([code].woff2[/code]).\n" "[codeblock]\n" "var dynamic_font = DynamicFont.new()\n" "dynamic_font.font_data = load(\"res://BarlowCondensed-Bold.ttf\")\n" @@ -27109,29 +27145,37 @@ msgstr "" "método." #: doc/classes/EditorInspector.xml -msgid "A tab used to edit properties of the selected node." +#, fuzzy +msgid "A control used to edit properties of an object." msgstr "" "Una pestaña que se utiliza para editar las propiedades del nodo seleccionado." #: doc/classes/EditorInspector.xml -#, fuzzy msgid "" -"The editor inspector is by default located on the right-hand side of the " -"editor. It's used to edit the properties of the selected node. For example, " -"you can select a node such as [Sprite] then edit its transform through the " -"inspector tool. The editor inspector is an essential tool in the game " -"development workflow.\n" -"[b]Note:[/b] This class shouldn't be instantiated directly. Instead, access " -"the singleton using [method EditorInterface.get_inspector]." -msgstr "" -"El inspector de la edición se encuentra por defecto en la parte derecha del " -"editor. Se utiliza para editar las propiedades del nodo seleccionado. Por " -"ejemplo, puedes seleccionar un nodo como el Sprite2D y luego editar su " -"transformación a través de la herramienta de inspección. El inspector del " -"editor es una herramienta esencial en el flujo de trabajo del desarrollo del " -"juego.\n" -"[b]Nota:[/b] Esta clase no debe ser instanciada directamente. En lugar de " -"eso, accede al singleton usando el [method EditorInterface.get_inspector]." +"This is the control that implements property editing in the editor's " +"Settings dialogs, the Inspector dock, etc. To get the [EditorInspector] used " +"in the editor's Inspector dock, use [method EditorInterface.get_inspector].\n" +"[EditorInspector] will show properties in the same order as the array " +"returned by [method Object.get_property_list].\n" +"If a property's name is path-like (i.e. if it contains forward slashes), " +"[EditorInspector] will create nested sections for \"directories\" along the " +"path. For example, if a property is named [code]highlighting/gdscript/" +"node_path_color[/code], it will be shown as \"Node Path Color\" inside the " +"\"GDScript\" section nested inside the \"Highlighting\" section.\n" +"If a property has [constant @GlobalScope.PROPERTY_USAGE_GROUP] usage, it " +"will group subsequent properties whose name starts with the property's hint " +"string. The group ends when a property does not start with that hint string " +"or when a new group starts. An empty group name effectively ends the current " +"group. [EditorInspector] will create a top-level section for each group. For " +"example, if a property with group usage is named [code]Collide With[/code] " +"and its hint string is [code]collide_with_[/code], a subsequent " +"[code]collide_with_area[/code] property will be shown as \"Area\" inside the " +"\"Collide With\" section.\n" +"[b]Note:[/b] Unlike sections created from path-like property names, " +"[EditorInspector] won't capitalize the name for sections created from " +"groups. So properties with group usage usually use capitalized names instead " +"of snake_cased names." +msgstr "" #: doc/classes/EditorInspector.xml msgid "" @@ -28686,6 +28730,14 @@ msgstr "" "- Formatio Binario en FBX 2017\n" "[/codeblock]" +#: modules/gltf/doc_classes/EditorSceneImporterGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [EditorSceneImporterGLTF] within a script will cause an error in an " +"exported project." +msgstr "" + #: doc/classes/EditorScenePostImport.xml msgid "Post-processes scenes after import." msgstr "Post-procesa las escenas después de la importación." @@ -29721,12 +29773,13 @@ msgstr "" #: doc/classes/EditorVCSInterface.xml msgid "" "Helper function to create a commit [Dictionary] item. [code]msg[/code] is " -"the commit message of the commit. [code]author[/code] is a human-readable " -"string containing the author's details, e.g. the email and name configured " -"in the VCS. [code]id[/code] is the identifier of the commit, in whichever " -"format your VCS may provide an identifier to commits. [code]date[/code] is " -"directly added to the commit item and displayed in the editor, and hence, it " -"shall be a well-formatted, human-readable date string." +"the commit message of the commit. [code]author[/code] is a single human-" +"readable string containing all the author's details, e.g. the email and name " +"configured in the VCS. [code]id[/code] is the identifier of the commit, in " +"whichever format your VCS may provide an identifier to commits. " +"[code]unix_timestamp[/code] is the UTC Unix timestamp of when the commit was " +"created. [code]offset_minutes[/code] is the timezone offset in minutes, " +"recorded from the system timezone where the commit was created." msgstr "" #: doc/classes/EditorVCSInterface.xml @@ -30869,7 +30922,7 @@ msgstr "" "El modo de mapeo de tonos a utilizar. El \"tonemapping\" es el proceso que " "\"convierte\" los valores HDR para que sean adecuados para su representación " "en una pantalla LDR. (Godot todavía no soporta la renderización en pantallas " -"HDR.)" +"HDR)." #: doc/classes/Environment.xml msgid "" @@ -33937,6 +33990,50 @@ msgstr "" msgid "Represents the size of the [enum Subdiv] enum." msgstr "Representa el tamaño del enum [enum Subdiv]." +#: modules/gltf/doc_classes/GLTFAccessor.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAccessor] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFAnimation.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAnimation] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFBufferView.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFBufferView] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFCamera.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFCamera] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFDocument.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFDocument] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFLight.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFLight] within a script will cause an error in an exported project." +msgstr "" + #: modules/gltf/doc_classes/GLTFLight.xml msgid "" "The [Color] of the light. Defaults to white. A black color causes the light " @@ -33986,6 +34083,49 @@ msgid "" "and [DirectionalLight] respectively." msgstr "" +#: modules/gltf/doc_classes/GLTFMesh.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFMesh] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFNode.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFNode] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSkeleton.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSkeleton] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSpecGloss.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSpecGloss] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFState.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFState] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFTexture.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFTexture] within a script will cause an error in an exported project." +msgstr "" + #: modules/mono/doc_classes/GodotSharp.xml msgid "Bridge between Godot and the Mono runtime (Mono-enabled builds only)." msgstr "" @@ -38558,14 +38698,18 @@ msgid "" msgstr "" #: doc/classes/Input.xml +#, fuzzy msgid "" "Returns a value between 0 and 1 representing the raw intensity of the given " "action, ignoring the action's deadzone. In most cases, you should use " "[method get_action_strength] instead.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" +"Devuelve un valor entre 0.0 y 1.0 dependiendo del estado de las acciones " +"dadas. Es útil para obtener el valor de los eventos del tipo " +"[InputEventJoypadMotion]." #: doc/classes/Input.xml #, fuzzy @@ -38575,9 +38719,9 @@ msgid "" "or L2, R2 triggers) is from the dead zone, the closer the value will be to " "1. If the action is mapped to a control that has no axis as the keyboard, " "the value returned will be 0 or 1.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" "Devuelve un valor entre 0 y 1 que representa la intensidad de la acción " "dada. En un joypad, por ejemplo, cuanto más lejos esté el eje (palos " @@ -38740,9 +38884,9 @@ msgid "" "the button.\n" "This is useful for code that needs to run only once when an action is " "pressed, instead of every frame while it's pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_just_pressed] may " "return [code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -38760,9 +38904,9 @@ msgid "" "Returns [code]true[/code] when the user stops pressing the action event, " "meaning it's [code]true[/code] only on the frame that the user released the " "button.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" "Devuelve [code]true[/code] cuando el usuario empieza a pulsar el evento de " "acción, lo que significa que es [code]true[/code] sólo en el marco en el que " @@ -38777,9 +38921,9 @@ msgid "" "an action has multiple buttons assigned and more than one of them is " "pressed, releasing one button will release the action, even if some other " "button assigned to this action is still pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -39248,22 +39392,27 @@ msgstr "Devuelve una representación [String] del evento." msgid "" "Returns a value between 0.0 and 1.0 depending on the given actions' state. " "Useful for getting the value of events of type [InputEventJoypadMotion].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" "Devuelve un valor entre 0.0 y 1.0 dependiendo del estado de las acciones " "dadas. Es útil para obtener el valor de los eventos del tipo " "[InputEventJoypadMotion]." #: doc/classes/InputEvent.xml +#, fuzzy msgid "" "Returns [code]true[/code] if this input event matches a pre-defined action " "of any type.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" +"Devuelve [code]true[/code] si se está pulsando la acción dada (y no es un " +"evento de eco para los eventos [InputEventKey], a menos que " +"[code]allow_echo[/code] sea [code]true[/code]). No es relevante para los " +"eventos de tipo [InputEventMouseMotion] o [InputEventScreenDrag]." #: doc/classes/InputEvent.xml #, fuzzy @@ -39272,9 +39421,9 @@ msgid "" "an echo event for [InputEventKey] events, unless [code]allow_echo[/code] is " "[code]true[/code]). Not relevant for events of type [InputEventMouseMotion] " "or [InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events.\n" +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -39291,9 +39440,9 @@ msgid "" "Returns [code]true[/code] if the given action is released (i.e. not " "pressed). Not relevant for events of type [InputEventMouseMotion] or " "[InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" "Devuelve [code]true[/code] si se está pulsando la acción dada (y no es un " "evento de eco para los eventos [InputEventKey], a menos que " @@ -39332,15 +39481,20 @@ msgstr "" "eventos de tipo [InputEventMouseMotion] o [InputEventScreenDrag]." #: doc/classes/InputEvent.xml +#, fuzzy msgid "" "Returns [code]true[/code] if the specified [code]event[/code] matches this " "event. Only valid for action events i.e key ([InputEventKey]), button " "([InputEventMouseButton] or [InputEventJoypadButton]), axis " "[InputEventJoypadMotion] or action ([InputEventAction]) events.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" +"Devuelve [code]true[/code] si se está pulsando la acción dada (y no es un " +"evento de eco para los eventos [InputEventKey], a menos que " +"[code]allow_echo[/code] sea [code]true[/code]). No es relevante para los " +"eventos de tipo [InputEventMouseMotion] o [InputEventScreenDrag]." #: doc/classes/InputEvent.xml msgid "" @@ -40021,9 +40175,9 @@ msgid "" "This method ignores keyboard modifiers if the given [InputEvent] is not " "pressed (for proper release detection). See [method action_has_event] if you " "don't want this behavior.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" "Devuelve [code]true[/code] si el evento dado es parte de una acción " "existente. Este método ignora los modificadores de teclado si no se pulsa el " @@ -43222,7 +43376,7 @@ msgstr "" "[code]from_column[/code] a [code]to_column[/code]. Ambos parámetros deben " "estar dentro de la longitud del texto." -#: doc/classes/LineEdit.xml +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml msgid "Clears the current selection." msgstr "Borra la selección actual." @@ -43241,6 +43395,19 @@ msgid "" "characters." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection begin column." +msgstr "Devuelve la columna de inicio de la selección." + +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection end column." +msgstr "Devuelve la columna de final de selección." + +#: doc/classes/LineEdit.xml +#, fuzzy +msgid "Returns [code]true[/code] if the user has selected text." +msgstr "Devuelve [code]true[/code] si el temporizador se detiene." + #: doc/classes/LineEdit.xml msgid "Executes a given action as defined in the [enum MenuItems] enum." msgstr "" @@ -45077,6 +45244,39 @@ msgid "Returns the number of surface materials." msgstr "Devuelve el número de materiales de la superficie." #: doc/classes/MeshInstance.xml +msgid "" +"Returns [code]true[/code] if this [MeshInstance] can be merged with the " +"specified [code]other_mesh_instance[/code], using the [method MeshInstance." +"merge_meshes] function.\n" +"In order to be mergeable, properties of the [MeshInstance] must match, and " +"each surface must match, in terms of material, attributes and vertex format." +msgstr "" + +#: doc/classes/MeshInstance.xml +msgid "" +"This function can merge together the data from several source " +"[MeshInstance]s into a single destination [MeshInstance] (the MeshInstance " +"the function is called from). This is primarily useful for improving " +"performance by reducing the number of drawcalls and [Node]s.\n" +"Merging should only be attempted for simple meshes that do not contain " +"animation.\n" +"The final vertices can either be returned in global space, or in local space " +"relative to the destination [MeshInstance] global transform (the destination " +"Node must be inside the [SceneTree] for local space to work).\n" +"The function will make a final check for compatibility between the " +"[MeshInstance]s by default, this should always be used unless you have " +"previously checked for compatibility using [method MeshInstance." +"is_mergeable_with]. If the compatibility check is omitted and the meshes are " +"merged, you may see rendering errors.\n" +"[b]Note:[/b] The requirements for similarity between meshes are quite " +"stringent. They can be checked using the [method MeshInstance." +"is_mergeable_with] function prior to calling [method MeshInstance." +"merge_meshes].\n" +"Also note that any initial data in the destination [MeshInstance] data will " +"be discarded." +msgstr "" + +#: doc/classes/MeshInstance.xml #, fuzzy msgid "Sets the [Material] for a surface of the [Mesh] resource." msgstr "" @@ -48061,7 +48261,7 @@ msgstr "" #: doc/classes/Node.xml msgid "Nodes and Scenes" -msgstr "" +msgstr "Nodos y escenas" #: doc/classes/Node.xml msgid "All Demos" @@ -48316,12 +48516,12 @@ msgid "" "[/codeblock]\n" "[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " "must set [member owner] in addition to calling [method add_child]. This is " -"typically relevant for [url=https://godot.readthedocs.io/en/3.2/tutorials/" -"misc/running_code_in_the_editor.html]tool scripts[/url] and [url=https://" -"godot.readthedocs.io/en/latest/tutorials/plugins/editor/index.html]editor " -"plugins[/url]. If [method add_child] is called without setting [member " -"owner], the newly added [Node] will not be visible in the scene tree, though " -"it will be visible in the 2D/3D view." +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" "Añade un nodo infantil. Los nodos pueden tener cualquier número de niños, " "pero cada niño debe tener un nombre único. Los nodos hijos se eliminan " @@ -49375,18 +49575,48 @@ msgstr "" "será renombrado automáticamente." #: doc/classes/Node.xml +#, fuzzy msgid "" "The node owner. A node can have any other node as owner (as long as it is a " "valid parent, grandparent, etc. ascending in the tree). When saving a node " "(using [PackedScene]), all the nodes it owns will be saved with it. This " "allows for the creation of complex [SceneTree]s, with instancing and " -"subinstancing." +"subinstancing.\n" +"[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " +"must set [member owner] in addition to calling [method add_child]. This is " +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" -"El dueño del nodo. Un nodo puede tener cualquier otro nodo como propietario " -"(siempre que sea un padre, abuelo, etc. válido ascendente en el árbol). " -"Cuando se guarda un nodo (usando [PackedScene]), todos los nodos que posee " -"se guardarán con él. Esto permite la creación de [SceneTree] complejos, con " -"instanciación y subinstanciación." +"Añade un nodo infantil. Los nodos pueden tener cualquier número de niños, " +"pero cada niño debe tener un nombre único. Los nodos hijos se eliminan " +"automáticamente cuando se elimina el nodo padre, por lo que una escena " +"entera puede ser eliminada eliminando su nodo superior.\n" +"Si [code]legible_unique_name[/code] es [code]true[/code], el nodo hijo " +"tendrá un nombre legible para los humanos basado en el nombre del nodo que " +"se instale en lugar de su tipo.\n" +"[b]Nota:[/b] Si el nodo hijo ya tiene un padre, la función fallará. Use " +"[method remove_child] primero para eliminar el nodo de su padre actual. Por " +"ejemplo:\n" +"[codeblock]\n" +"if child_node.get_parent():\n" +" child_node.get_parent().remove_child(child_node)\n" +"add_child(child_node)\n" +"[/codeblock]\n" +"Si necesita que el nodo hijo se añada debajo de un nodo específico en la " +"lista de hijos, use [method add_sibling] en lugar de este método.\n" +"[b]Nota:[/b] Si quieres que un hijo sea perseguido en un [PackedScene], " +"debes establecer [member owner] además de llamar a [method add_child]. Esto " +"es típicamente relevante para los scripts de la herramienta [url=https://" +"godot.readthedocs.io/es/latest/tutorials/misc/running_code_in_the_editor." +"html]tool[/url] y para los plugins de edición [/url] de [url=https://godot." +"readthedocs.io/es/latest/tutorials/plugins/editor/index.html]. Si se llama a " +"[method add_child] sin establecer [member owner], el [Node] recién agregado " +"no será visible en el árbol de la escena, aunque sí lo será en la vista " +"2D/3D." #: doc/classes/Node.xml msgid "Pause mode. How the node will behave if the [SceneTree] is paused." @@ -50227,8 +50457,14 @@ msgstr "" "code] (ver [enum PropertyUsageFlags])." #: doc/classes/Object.xml -msgid "Called when the object is initialized." -msgstr "Se llama cuando el objeto se inicializa." +msgid "" +"Called when the object is initialized in memory. Can be defined to take in " +"parameters, that are passed in when constructing.\n" +"[b]Note:[/b] If [method _init] is defined with required parameters, then " +"explicit construction is the only valid means of creating an Object of the " +"class. If any other means (such as [method PackedScene.instance]) is used, " +"then initialization will fail." +msgstr "" #: doc/classes/Object.xml msgid "" @@ -50543,9 +50779,16 @@ msgstr "" "recuperar la instancia del objeto con [method @GDScript.instance_from_id]." #: doc/classes/Object.xml -msgid "Returns the object's metadata entry for the given [code]name[/code]." +#, fuzzy +msgid "" +"Returns the object's metadata entry for the given [code]name[/code].\n" +"Throws error if the entry does not exist, unless [code]default[/code] is not " +"[code]null[/code] (in which case the default value will be returned)." msgstr "" -"Devuelve la entrada de metadatos del objeto para el [code]name[/code] dado." +"Devuelve el índice del artículo en la [code]position[/code] dada.\n" +"Cuando no hay ningún elemento en ese punto, se devolverá -1 si [code]exact[/" +"code] es [code]true[/code], y de lo contrario se devolverá el índice de " +"elemento más cercano." #: doc/classes/Object.xml #, fuzzy @@ -53435,6 +53678,14 @@ msgstr "" "principal.\n" "[b]Nota:[/b] Sólo disponible en las construcciones del editor." +#: modules/gltf/doc_classes/PackedSceneGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [PackedSceneGLTF] within a script will cause an error in an exported " +"project." +msgstr "" + #: doc/classes/PacketPeer.xml msgid "Abstraction and base class for packet-based protocols." msgstr "Abstracción y clase base para protocolos basados en paquetes." @@ -57277,9 +57528,14 @@ msgstr "" "G6DOFJointAxisParam])." #: doc/classes/PhysicsServer.xml -msgid "Returns an Info defined by the [enum ProcessInfo] input given." +#, fuzzy +msgid "" +"Returns information about the current state of the 3D physics engine. See " +"[enum ProcessInfo] for a list of available states. Only implemented for " +"Godot Physics." msgstr "" -"Devuelve una información definida por la entrada [enum ProcessInfo] dada." +"Devuelve información sobre el estado actual del motor de física 2D. Ver " +"[enum ProcessInfo] para una lista de los estados disponibles." #: doc/classes/PhysicsServer.xml msgid "Gets a hinge_joint flag (see [enum HingeJointFlag] constants)." @@ -61077,7 +61333,7 @@ msgstr "" #, fuzzy msgid "" "Allows the window to be resizable by default.\n" -"[b]Note:[/b] This setting is ignored on iOS and Android." +"[b]Note:[/b] This setting is ignored on iOS." msgstr "Permite que la ventana sea redimensionada por defecto." #: doc/classes/ProjectSettings.xml @@ -61870,7 +62126,8 @@ msgid "Optional name for the 3D render layer 13." msgstr "Nombre opcional para la capa 13 del renderizado 3D." #: doc/classes/ProjectSettings.xml -msgid "Optional name for the 3D render layer 14" +#, fuzzy +msgid "Optional name for the 3D render layer 14." msgstr "Nombre opcional para la capa 14 del renderizado 3D" #: doc/classes/ProjectSettings.xml @@ -63391,20 +63648,25 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" -"If [code]true[/code], forces vertex shading for all rendering. This can " -"increase performance a lot, but also reduces quality immensely. Can be used " -"to optimize performance on low-end mobile devices." +"If [code]true[/code], forces vertex shading for all 3D [SpatialMaterial] and " +"[ShaderMaterial] rendering. This can be used to improve performance on low-" +"end mobile devices. The downside is that shading becomes much less accurate, " +"with visible linear interpolation between vertices that are joined together. " +"This can be compensated by ensuring meshes have a sufficient level of " +"subdivision (but not too much, to avoid reducing performance). Some material " +"features are also not supported when vertex shading is enabled.\n" +"See also [member SpatialMaterial.flags_vertex_lighting] which can be used to " +"enable vertex shading on specific materials only.\n" +"[b]Note:[/b] This setting does not affect unshaded materials." msgstr "" -"Si [code]true[/code], fuerza el sombreado de vértices para todos los " -"renderizados. Esto puede aumentar mucho el rendimiento, pero también reduce " -"la calidad enormemente. Se puede utilizar para optimizar el rendimiento en " -"dispositivos móviles de gama baja." #: doc/classes/ProjectSettings.xml +#, fuzzy msgid "" "Lower-end override for [member rendering/quality/shading/" "force_vertex_shading] on mobile devices, due to performance concerns or " -"driver support." +"driver support. If lighting looks broken after exporting the project to a " +"mobile platform, try disabling this setting." msgstr "" "Sobreescritura del extremo inferior para [member rendering/quality/shading/" "force_vertex_shading] en los dispositivos móviles, debido a problemas de " @@ -66161,6 +66423,13 @@ msgstr "" "pila de etiquetas. Considera el texto envuelto como una línea." #: doc/classes/RichTextLabel.xml +#, fuzzy +msgid "Returns the current selection text. Does not include BBCodes." +msgstr "" +"Devuelve el número total de caracteres de las etiquetas de texto. No incluye " +"los BBCodes." + +#: doc/classes/RichTextLabel.xml msgid "" "Returns the total number of characters from text tags. Does not include " "BBCodes." @@ -69103,22 +69372,25 @@ msgstr "" "evitar los bloqueos. Para una versión binaria, véase [Mutex]." #: doc/classes/Semaphore.xml -#, fuzzy msgid "" -"Lowers the [Semaphore], allowing one more thread in. Returns [constant OK] " -"on success, [constant ERR_BUSY] otherwise." +"Lowers the [Semaphore], allowing one more thread in.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" -"Trata de bloquear este [Mutex], pero no bloquea. Devuelve [constant OK] en " -"el éxito, [constant ERR_BUSY] en caso contrario." #: doc/classes/Semaphore.xml -#, fuzzy msgid "" -"Tries to wait for the [Semaphore], if its value is zero, blocks until non-" -"zero. Returns [constant OK] on success, [constant ERR_BUSY] otherwise." +"Like [method wait], but won't block, so if the value is zero, fails " +"immediately and returns [constant ERR_BUSY]. If non-zero, it returns " +"[constant OK] to report success." +msgstr "" + +#: doc/classes/Semaphore.xml +msgid "" +"Waits for the [Semaphore], if its value is zero, blocks until non-zero.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" -"Trata de bloquear este [Mutex], pero no bloquea. Devuelve [constant OK] en " -"el éxito, [constant ERR_BUSY] en caso contrario." #: doc/classes/Separator.xml msgid "Base class for separators." @@ -70966,7 +71238,21 @@ msgstr "" #: doc/classes/SpatialMaterial.xml msgid "" "If [code]true[/code], lighting is calculated per vertex rather than per " -"pixel. This may increase performance on low-end devices." +"pixel. This may increase performance on low-end devices, especially for " +"meshes with a lower polygon count. The downside is that shading becomes much " +"less accurate, with visible linear interpolation between vertices that are " +"joined together. This can be compensated by ensuring meshes have a " +"sufficient level of subdivision (but not too much, to avoid reducing " +"performance). Some material features are also not supported when vertex " +"shading is enabled.\n" +"See also [member ProjectSettings.rendering/quality/shading/" +"force_vertex_shading] which can globally enable vertex shading on all " +"materials.\n" +"[b]Note:[/b] By default, vertex shading is enforced on mobile platforms by " +"[member ProjectSettings.rendering/quality/shading/force_vertex_shading]'s " +"[code]mobile[/code] override.\n" +"[b]Note:[/b] [member flags_vertex_lighting] has no effect if [member " +"flags_unshaded] is [code]true[/code]." msgstr "" #: doc/classes/SpatialMaterial.xml @@ -71990,7 +72276,10 @@ msgid "" "the text alignment to right.\n" "See [Range] class for more options over the [SpinBox].\n" "[b]Note:[/b] [SpinBox] relies on an underlying [LineEdit] node. To theme a " -"[SpinBox]'s background, add theme items for [LineEdit] and customize them." +"[SpinBox]'s background, add theme items for [LineEdit] and customize them.\n" +"[b]Note:[/b] If you want to implement drag and drop for the underlying " +"[LineEdit], you can use [method Control.set_drag_forwarding] on the node " +"returned by [method get_line_edit]." msgstr "" "SpinBox es un campo de texto de entrada numérica. Permite introducir números " "enteros y reales.\n" @@ -73669,7 +73958,6 @@ msgid "" "print(\"1.7\".is_valid_float()) # Prints \"True\"\n" "print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"7e3\".is_valid_float()) # Prints \"True\"\n" -"print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -73940,6 +74228,7 @@ msgid "Returns the right side of the string from a given position." msgstr "Devuelve el lado derecho de la string desde una posición determinada." #: doc/classes/String.xml +#, fuzzy msgid "" "Splits the string by a [code]delimiter[/code] string and returns an array of " "the substrings, starting from right.\n" @@ -73953,8 +74242,8 @@ msgid "" "var some_string = \"One,Two,Three,Four\"\n" "var some_array = some_string.rsplit(\",\", true, 1)\n" "print(some_array.size()) # Prints 2\n" -"print(some_array[0]) # Prints \"Four\"\n" -"print(some_array[1]) # Prints \"Three,Two,One\"\n" +"print(some_array[0]) # Prints \"One,Two,Three\"\n" +"print(some_array[1]) # Prints \"Four\"\n" "[/codeblock]" msgstr "" "Divide la string por un string de [code]delimiter[/code] y devuelve un array " @@ -74003,9 +74292,9 @@ msgstr "Devuelve el hash SHA-256 de la string como una string." #: doc/classes/String.xml msgid "" "Returns the similarity index ([url=https://en.wikipedia.org/wiki/" -"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) this " -"string compared to another. 1.0 means totally similar and 0.0 means totally " -"dissimilar.\n" +"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) of " +"this string compared to another. A result of 1.0 means totally similar, " +"while 0.0 means totally dissimilar.\n" "[codeblock]\n" "print(\"ABC123\".similarity(\"ABC123\")) # Prints \"1\"\n" "print(\"ABC123\".similarity(\"XYZ456\")) # Prints \"0\"\n" @@ -75943,10 +76232,6 @@ msgid "" msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection begin column." -msgstr "Devuelve la columna de inicio de la selección." - -#: doc/classes/TextEdit.xml msgid "Returns the selection begin line." msgstr "Devuelve la línea de inicio de la selección." @@ -75955,10 +76240,6 @@ msgid "Returns the text inside the selection." msgstr "Devuelve el texto dentro de la selección." #: doc/classes/TextEdit.xml -msgid "Returns the selection end column." -msgstr "Devuelve la columna de final de selección." - -#: doc/classes/TextEdit.xml msgid "Returns the selection end line." msgstr "Devuelve la línea final de selección." @@ -77251,6 +77532,14 @@ msgstr "" "archivo [code].theme[/code], vea la documentación para más información." #: doc/classes/Theme.xml +msgid "" +"Adds an empty theme type for every valid data type.\n" +"[b]Note:[/b] Empty types are not saved with the theme. This method only " +"exists to perform in-memory changes to the resource. Use available " +"[code]set_*[/code] methods to add theme items." +msgstr "" + +#: doc/classes/Theme.xml msgid "Clears all values on the theme." msgstr "Borra todos los valores del tema." @@ -77614,6 +77903,13 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Removes the theme type, gracefully discarding defined theme items. If the " +"type is a variation, this information is also erased. If the type is a base " +"for type variations, those variations lose their base." +msgstr "" + +#: doc/classes/Theme.xml #, fuzzy msgid "" "Renames the [Color] at [code]old_name[/code] to [code]name[/code] if the " @@ -94263,6 +94559,11 @@ msgstr "" "[code]get_peer(id).get_available_packet_count[/code])." #: modules/websocket/doc_classes/WebSocketServer.xml +msgid "" +"Sets additional headers to be sent to clients during the HTTP handshake." +msgstr "" + +#: modules/websocket/doc_classes/WebSocketServer.xml msgid "Stops the server and clear its state." msgstr "Detiene el servidor y limpia su estado." @@ -94382,6 +94683,9 @@ msgid "" "\n" " webxr_interface = ARVRServer.find_interface(\"WebXR\")\n" " if webxr_interface:\n" +" # Map to the standard button/axis ids when possible.\n" +" webxr_interface.xr_standard_mapping = true\n" +"\n" " # WebXR uses a lot of asynchronous callbacks, so we connect to " "various\n" " # signals in order to receive them.\n" @@ -94607,6 +94911,13 @@ msgstr "" #: modules/webxr/doc_classes/WebXRInterface.xml msgid "" +"If set to true, the button and axes ids will be converted to match the " +"standard ids used by other AR/VR interfaces, when possible.\n" +"Otherwise, the ids will be passed through unaltered from WebXR." +msgstr "" + +#: modules/webxr/doc_classes/WebXRInterface.xml +msgid "" "Emitted to indicate that the reference space has been reset or " "reconfigured.\n" "When (or whether) this is emitted depends on the user's browser or device, " diff --git a/doc/translations/fa.po b/doc/translations/fa.po index 162470f04c..c61a77b1dc 100644 --- a/doc/translations/fa.po +++ b/doc/translations/fa.po @@ -14,12 +14,13 @@ # ItzMiad44909858f5774b6d <maidggg@gmail.com>, 2020. # ahmad maftoon <ahmadmaftoon.1387@gmail.com>, 2021. # Seyed Fazel Alavi <fazel8195@gmail.com>, 2022. +# Giga hertz <gigahertzyt@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-01-09 14:57+0000\n" -"Last-Translator: Seyed Fazel Alavi <fazel8195@gmail.com>\n" +"PO-Revision-Date: 2022-04-03 08:11+0000\n" +"Last-Translator: Giga hertz <gigahertzyt@gmail.com>\n" "Language-Team: Persian <https://hosted.weblate.org/projects/godot-engine/" "godot-class-reference/fa/>\n" "Language: fa\n" @@ -27,7 +28,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8-bit\n" "Plural-Forms: nplurals=2; plural=n > 1;\n" -"X-Generator: Weblate 4.10.1\n" +"X-Generator: Weblate 4.12-dev\n" #: doc/tools/make_rst.py msgid "Description" @@ -70,9 +71,8 @@ msgid "Method Descriptions" msgstr "توضیحات تابع" #: doc/tools/make_rst.py -#, fuzzy msgid "Theme Property Descriptions" -msgstr "توضیحات خصیصه" +msgstr "توضیحات ویژگی تم" #: doc/tools/make_rst.py msgid "Inherits:" @@ -88,15 +88,15 @@ msgstr "" #: doc/tools/make_rst.py msgid "Default" -msgstr "" +msgstr "پیشفرض" #: doc/tools/make_rst.py msgid "Setter" -msgstr "" +msgstr "تنظیم کننده" #: doc/tools/make_rst.py msgid "value" -msgstr "" +msgstr "مقدار" #: doc/tools/make_rst.py msgid "Getter" @@ -3755,8 +3755,12 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" "Hints that an integer, float or string property is an enumerated value to " -"pick in a list specified via a hint string such as [code]\"Hello,Something," -"Else\"[/code]." +"pick in a list specified via a hint string.\n" +"The hint string is a comma separated list of names such as [code]\"Hello," +"Something,Else\"[/code]. For integer and float properties, the first name in " +"the list has value 0, the next 1, and so on. Explicit values can also be " +"specified by appending [code]:integer[/code] to the name, e.g. [code]\"Zero," +"One,Three:3,Four,Six:6\"[/code]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -3897,7 +3901,7 @@ msgid "The property is a translatable string." msgstr "" #: doc/classes/@GlobalScope.xml -msgid "Used to group properties together in the editor." +msgid "Used to group properties together in the editor. See [EditorInspector]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -5668,8 +5672,11 @@ msgstr "" #: doc/classes/AnimationNodeBlendTree.xml msgid "" -"This node may contain a sub-tree of any other blend type nodes, such as mix, " -"blend2, blend3, one shot, etc. This is one of the most commonly used roots." +"This node may contain a sub-tree of any other blend type nodes, such as " +"[AnimationNodeTransition], [AnimationNodeBlend2], [AnimationNodeBlend3], " +"[AnimationNodeOneShot], etc. This is one of the most commonly used roots.\n" +"An [AnimationNodeOutput] node named [code]output[/code] is created by " +"default." msgstr "" #: doc/classes/AnimationNodeBlendTree.xml @@ -7411,8 +7418,9 @@ msgstr "" #: doc/classes/Array.xml msgid "" -"Removes the first occurrence of a value from the array. To remove an element " -"by index, use [method remove] instead.\n" +"Removes the first occurrence of a value from the array. If the value does " +"not exist in the array, nothing happens. To remove an element by index, use " +"[method remove] instead.\n" "[b]Note:[/b] This method acts in-place and doesn't return a value.\n" "[b]Note:[/b] On large arrays, this method will be slower if the removed " "element is close to the beginning of the array (index 0). This is because " @@ -10788,8 +10796,15 @@ msgstr "" #: doc/classes/BakedLightmap.xml msgid "" -"When enabled, the lightmapper will merge the textures for all meshes into a " -"single large layered texture. Not supported in GLES2." +"If [code]true[/code], the lightmapper will merge the textures for all meshes " +"into one or several large layered textures. If [code]false[/code], every " +"mesh will get its own lightmap texture, which is less efficient.\n" +"[b]Note:[/b] Atlas lightmap rendering is only supported in GLES3, [i]not[/i] " +"GLES2. Non-atlas lightmap rendering is supported by both GLES3 and GLES2. If " +"[member ProjectSettings.rendering/quality/driver/fallback_to_gles2] is " +"[code]true[/code], consider baking lightmaps with [member atlas_generate] " +"set to [code]false[/code] so that the resulting lightmap is visible in both " +"GLES3 and GLES2." msgstr "" #: doc/classes/BakedLightmap.xml @@ -12132,8 +12147,8 @@ msgstr "" #: doc/classes/Camera.xml msgid "" "The camera's size measured as 1/2 the width or height. Only applicable in " -"orthogonal mode. Since [member keep_aspect] locks on axis, [code]size[/code] " -"sets the other axis' size length." +"orthogonal and frustum modes. Since [member keep_aspect] locks on axis, " +"[code]size[/code] sets the other axis' size length." msgstr "" #: doc/classes/Camera.xml @@ -12931,20 +12946,24 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], the node won't inherit its " -"transform from parent canvas items." +"If [code]enable[/code] is [code]true[/code], this [CanvasItem] will [i]not[/" +"i] inherit its transform from parent [CanvasItem]s. Its draw order will also " +"be changed to make it draw on top of other [CanvasItem]s that are not set as " +"top-level. The [CanvasItem] will effectively act as if it was placed as a " +"child of a bare [Node]. See also [method is_set_as_toplevel]." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"local transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_LOCAL_TRANSFORM_CHANGED] when its local transform " +"changes." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"global transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_TRANSFORM_CHANGED] when its global transform changes." msgstr "" #: doc/classes/CanvasItem.xml @@ -13058,9 +13077,14 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"The [CanvasItem]'s transform has changed. This notification is only received " -"if enabled by [method set_notify_transform] or [method " -"set_notify_local_transform]." +"The [CanvasItem]'s global transform has changed. This notification is only " +"received if enabled by [method set_notify_transform]." +msgstr "" + +#: doc/classes/CanvasItem.xml +msgid "" +"The [CanvasItem]'s local transform has changed. This notification is only " +"received if enabled by [method set_notify_local_transform]." msgstr "" #: doc/classes/CanvasItem.xml @@ -14015,7 +14039,10 @@ msgid "" "number of 2D collision [Shape2D]s. Each shape must be assigned to a [i]shape " "owner[/i]. The CollisionObject2D can have any number of shape owners. Shape " "owners are not nodes and do not appear in the editor, but are accessible " -"through code using the [code]shape_owner_*[/code] methods." +"through code using the [code]shape_owner_*[/code] methods.\n" +"[b]Note:[/b] Only collisions between objects within the same canvas " +"([Viewport] canvas or [CanvasLayer]) are supported. The behavior of " +"collisions between objects in different canvases is undefined." msgstr "" #: doc/classes/CollisionObject2D.xml @@ -20022,9 +20049,8 @@ msgid "" "main font.\n" "DynamicFont uses the [url=https://www.freetype.org/]FreeType[/url] library " "for rasterization. Supported formats are TrueType ([code].ttf[/code]), " -"OpenType ([code].otf[/code]) and Web Open Font Format 1 ([code].woff[/" -"code]). Web Open Font Format 2 ([code].woff2[/code]) is [i]not[/i] " -"supported.\n" +"OpenType ([code].otf[/code]), Web Open Font Format 1 ([code].woff[/code]), " +"and Web Open Font Format 2 ([code].woff2[/code]).\n" "[codeblock]\n" "var dynamic_font = DynamicFont.new()\n" "dynamic_font.font_data = load(\"res://BarlowCondensed-Bold.ttf\")\n" @@ -20891,18 +20917,34 @@ msgid "" msgstr "" #: doc/classes/EditorInspector.xml -msgid "A tab used to edit properties of the selected node." +msgid "A control used to edit properties of an object." msgstr "" #: doc/classes/EditorInspector.xml msgid "" -"The editor inspector is by default located on the right-hand side of the " -"editor. It's used to edit the properties of the selected node. For example, " -"you can select a node such as [Sprite] then edit its transform through the " -"inspector tool. The editor inspector is an essential tool in the game " -"development workflow.\n" -"[b]Note:[/b] This class shouldn't be instantiated directly. Instead, access " -"the singleton using [method EditorInterface.get_inspector]." +"This is the control that implements property editing in the editor's " +"Settings dialogs, the Inspector dock, etc. To get the [EditorInspector] used " +"in the editor's Inspector dock, use [method EditorInterface.get_inspector].\n" +"[EditorInspector] will show properties in the same order as the array " +"returned by [method Object.get_property_list].\n" +"If a property's name is path-like (i.e. if it contains forward slashes), " +"[EditorInspector] will create nested sections for \"directories\" along the " +"path. For example, if a property is named [code]highlighting/gdscript/" +"node_path_color[/code], it will be shown as \"Node Path Color\" inside the " +"\"GDScript\" section nested inside the \"Highlighting\" section.\n" +"If a property has [constant @GlobalScope.PROPERTY_USAGE_GROUP] usage, it " +"will group subsequent properties whose name starts with the property's hint " +"string. The group ends when a property does not start with that hint string " +"or when a new group starts. An empty group name effectively ends the current " +"group. [EditorInspector] will create a top-level section for each group. For " +"example, if a property with group usage is named [code]Collide With[/code] " +"and its hint string is [code]collide_with_[/code], a subsequent " +"[code]collide_with_area[/code] property will be shown as \"Area\" inside the " +"\"Collide With\" section.\n" +"[b]Note:[/b] Unlike sections created from path-like property names, " +"[EditorInspector] won't capitalize the name for sections created from " +"groups. So properties with group usage usually use capitalized names instead " +"of snake_cased names." msgstr "" #: doc/classes/EditorInspector.xml @@ -22077,6 +22119,14 @@ msgid "" "[/codeblock]" msgstr "" +#: modules/gltf/doc_classes/EditorSceneImporterGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [EditorSceneImporterGLTF] within a script will cause an error in an " +"exported project." +msgstr "" + #: doc/classes/EditorScenePostImport.xml msgid "Post-processes scenes after import." msgstr "" @@ -22814,12 +22864,13 @@ msgstr "" #: doc/classes/EditorVCSInterface.xml msgid "" "Helper function to create a commit [Dictionary] item. [code]msg[/code] is " -"the commit message of the commit. [code]author[/code] is a human-readable " -"string containing the author's details, e.g. the email and name configured " -"in the VCS. [code]id[/code] is the identifier of the commit, in whichever " -"format your VCS may provide an identifier to commits. [code]date[/code] is " -"directly added to the commit item and displayed in the editor, and hence, it " -"shall be a well-formatted, human-readable date string." +"the commit message of the commit. [code]author[/code] is a single human-" +"readable string containing all the author's details, e.g. the email and name " +"configured in the VCS. [code]id[/code] is the identifier of the commit, in " +"whichever format your VCS may provide an identifier to commits. " +"[code]unix_timestamp[/code] is the UTC Unix timestamp of when the commit was " +"created. [code]offset_minutes[/code] is the timezone offset in minutes, " +"recorded from the system timezone where the commit was created." msgstr "" #: doc/classes/EditorVCSInterface.xml @@ -25973,6 +26024,50 @@ msgstr "" msgid "Represents the size of the [enum Subdiv] enum." msgstr "" +#: modules/gltf/doc_classes/GLTFAccessor.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAccessor] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFAnimation.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAnimation] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFBufferView.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFBufferView] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFCamera.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFCamera] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFDocument.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFDocument] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFLight.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFLight] within a script will cause an error in an exported project." +msgstr "" + #: modules/gltf/doc_classes/GLTFLight.xml msgid "" "The [Color] of the light. Defaults to white. A black color causes the light " @@ -26022,6 +26117,49 @@ msgid "" "and [DirectionalLight] respectively." msgstr "" +#: modules/gltf/doc_classes/GLTFMesh.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFMesh] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFNode.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFNode] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSkeleton.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSkeleton] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSpecGloss.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSpecGloss] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFState.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFState] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFTexture.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFTexture] within a script will cause an error in an exported project." +msgstr "" + #: modules/mono/doc_classes/GodotSharp.xml msgid "Bridge between Godot and the Mono runtime (Mono-enabled builds only)." msgstr "" @@ -29406,9 +29544,9 @@ msgid "" "Returns a value between 0 and 1 representing the raw intensity of the given " "action, ignoring the action's deadzone. In most cases, you should use " "[method get_action_strength] instead.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29418,9 +29556,9 @@ msgid "" "or L2, R2 triggers) is from the dead zone, the closer the value will be to " "1. If the action is mapped to a control that has no axis as the keyboard, " "the value returned will be 0 or 1.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29553,9 +29691,9 @@ msgid "" "the button.\n" "This is useful for code that needs to run only once when an action is " "pressed, instead of every frame while it's pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_just_pressed] may " "return [code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29567,9 +29705,9 @@ msgid "" "Returns [code]true[/code] when the user stops pressing the action event, " "meaning it's [code]true[/code] only on the frame that the user released the " "button.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29578,9 +29716,9 @@ msgid "" "an action has multiple buttons assigned and more than one of them is " "pressed, releasing one button will release the action, even if some other " "button assigned to this action is still pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29930,18 +30068,18 @@ msgstr "" msgid "" "Returns a value between 0.0 and 1.0 depending on the given actions' state. " "Useful for getting the value of events of type [InputEventJoypadMotion].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml msgid "" "Returns [code]true[/code] if this input event matches a pre-defined action " "of any type.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -29950,9 +30088,9 @@ msgid "" "an echo event for [InputEventKey] events, unless [code]allow_echo[/code] is " "[code]true[/code]). Not relevant for events of type [InputEventMouseMotion] " "or [InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events.\n" +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29964,9 +30102,9 @@ msgid "" "Returns [code]true[/code] if the given action is released (i.e. not " "pressed). Not relevant for events of type [InputEventMouseMotion] or " "[InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -29997,9 +30135,9 @@ msgid "" "event. Only valid for action events i.e key ([InputEventKey]), button " "([InputEventMouseButton] or [InputEventJoypadButton]), axis " "[InputEventJoypadMotion] or action ([InputEventAction]) events.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -30529,9 +30667,9 @@ msgid "" "This method ignores keyboard modifiers if the given [InputEvent] is not " "pressed (for proper release detection). See [method action_has_event] if you " "don't want this behavior.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputMap.xml @@ -32935,7 +33073,7 @@ msgid "" "be within the text's length." msgstr "" -#: doc/classes/LineEdit.xml +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml msgid "Clears the current selection." msgstr "" @@ -32954,6 +33092,18 @@ msgid "" "characters." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection begin column." +msgstr "" + +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection end column." +msgstr "" + +#: doc/classes/LineEdit.xml +msgid "Returns [code]true[/code] if the user has selected text." +msgstr "" + #: doc/classes/LineEdit.xml msgid "Executes a given action as defined in the [enum MenuItems] enum." msgstr "" @@ -34367,6 +34517,39 @@ msgid "Returns the number of surface materials." msgstr "" #: doc/classes/MeshInstance.xml +msgid "" +"Returns [code]true[/code] if this [MeshInstance] can be merged with the " +"specified [code]other_mesh_instance[/code], using the [method MeshInstance." +"merge_meshes] function.\n" +"In order to be mergeable, properties of the [MeshInstance] must match, and " +"each surface must match, in terms of material, attributes and vertex format." +msgstr "" + +#: doc/classes/MeshInstance.xml +msgid "" +"This function can merge together the data from several source " +"[MeshInstance]s into a single destination [MeshInstance] (the MeshInstance " +"the function is called from). This is primarily useful for improving " +"performance by reducing the number of drawcalls and [Node]s.\n" +"Merging should only be attempted for simple meshes that do not contain " +"animation.\n" +"The final vertices can either be returned in global space, or in local space " +"relative to the destination [MeshInstance] global transform (the destination " +"Node must be inside the [SceneTree] for local space to work).\n" +"The function will make a final check for compatibility between the " +"[MeshInstance]s by default, this should always be used unless you have " +"previously checked for compatibility using [method MeshInstance." +"is_mergeable_with]. If the compatibility check is omitted and the meshes are " +"merged, you may see rendering errors.\n" +"[b]Note:[/b] The requirements for similarity between meshes are quite " +"stringent. They can be checked using the [method MeshInstance." +"is_mergeable_with] function prior to calling [method MeshInstance." +"merge_meshes].\n" +"Also note that any initial data in the destination [MeshInstance] data will " +"be discarded." +msgstr "" + +#: doc/classes/MeshInstance.xml msgid "Sets the [Material] for a surface of the [Mesh] resource." msgstr "" @@ -36825,12 +37008,12 @@ msgid "" "[/codeblock]\n" "[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " "must set [member owner] in addition to calling [method add_child]. This is " -"typically relevant for [url=https://godot.readthedocs.io/en/3.2/tutorials/" -"misc/running_code_in_the_editor.html]tool scripts[/url] and [url=https://" -"godot.readthedocs.io/en/latest/tutorials/plugins/editor/index.html]editor " -"plugins[/url]. If [method add_child] is called without setting [member " -"owner], the newly added [Node] will not be visible in the scene tree, though " -"it will be visible in the 2D/3D view." +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37537,7 +37720,15 @@ msgid "" "valid parent, grandparent, etc. ascending in the tree). When saving a node " "(using [PackedScene]), all the nodes it owns will be saved with it. This " "allows for the creation of complex [SceneTree]s, with instancing and " -"subinstancing." +"subinstancing.\n" +"[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " +"must set [member owner] in addition to calling [method add_child]. This is " +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -38133,7 +38324,13 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Called when the object is initialized." +msgid "" +"Called when the object is initialized in memory. Can be defined to take in " +"parameters, that are passed in when constructing.\n" +"[b]Note:[/b] If [method _init] is defined with required parameters, then " +"explicit construction is the only valid means of creating an Object of the " +"class. If any other means (such as [method PackedScene.instance]) is used, " +"then initialization will fail." msgstr "" #: doc/classes/Object.xml @@ -38329,7 +38526,10 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Returns the object's metadata entry for the given [code]name[/code]." +msgid "" +"Returns the object's metadata entry for the given [code]name[/code].\n" +"Throws error if the entry does not exist, unless [code]default[/code] is not " +"[code]null[/code] (in which case the default value will be returned)." msgstr "" #: doc/classes/Object.xml @@ -40537,6 +40737,14 @@ msgid "" "[b]Note:[/b] Only available in editor builds." msgstr "" +#: modules/gltf/doc_classes/PackedSceneGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [PackedSceneGLTF] within a script will cause an error in an exported " +"project." +msgstr "" + #: doc/classes/PacketPeer.xml msgid "Abstraction and base class for packet-based protocols." msgstr "" @@ -43389,7 +43597,10 @@ msgid "" msgstr "" #: doc/classes/PhysicsServer.xml -msgid "Returns an Info defined by the [enum ProcessInfo] input given." +msgid "" +"Returns information about the current state of the 3D physics engine. See " +"[enum ProcessInfo] for a list of available states. Only implemented for " +"Godot Physics." msgstr "" #: doc/classes/PhysicsServer.xml @@ -46249,7 +46460,7 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Allows the window to be resizable by default.\n" -"[b]Note:[/b] This setting is ignored on iOS and Android." +"[b]Note:[/b] This setting is ignored on iOS." msgstr "" #: doc/classes/ProjectSettings.xml @@ -46896,7 +47107,7 @@ msgid "Optional name for the 3D render layer 13." msgstr "" #: doc/classes/ProjectSettings.xml -msgid "Optional name for the 3D render layer 14" +msgid "Optional name for the 3D render layer 14." msgstr "" #: doc/classes/ProjectSettings.xml @@ -48166,16 +48377,24 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" -"If [code]true[/code], forces vertex shading for all rendering. This can " -"increase performance a lot, but also reduces quality immensely. Can be used " -"to optimize performance on low-end mobile devices." +"If [code]true[/code], forces vertex shading for all 3D [SpatialMaterial] and " +"[ShaderMaterial] rendering. This can be used to improve performance on low-" +"end mobile devices. The downside is that shading becomes much less accurate, " +"with visible linear interpolation between vertices that are joined together. " +"This can be compensated by ensuring meshes have a sufficient level of " +"subdivision (but not too much, to avoid reducing performance). Some material " +"features are also not supported when vertex shading is enabled.\n" +"See also [member SpatialMaterial.flags_vertex_lighting] which can be used to " +"enable vertex shading on specific materials only.\n" +"[b]Note:[/b] This setting does not affect unshaded materials." msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Lower-end override for [member rendering/quality/shading/" "force_vertex_shading] on mobile devices, due to performance concerns or " -"driver support." +"driver support. If lighting looks broken after exporting the project to a " +"mobile platform, try disabling this setting." msgstr "" #: doc/classes/ProjectSettings.xml @@ -50214,6 +50433,10 @@ msgid "" msgstr "" #: doc/classes/RichTextLabel.xml +msgid "Returns the current selection text. Does not include BBCodes." +msgstr "" + +#: doc/classes/RichTextLabel.xml msgid "" "Returns the total number of characters from text tags. Does not include " "BBCodes." @@ -52505,14 +52728,23 @@ msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Lowers the [Semaphore], allowing one more thread in. Returns [constant OK] " -"on success, [constant ERR_BUSY] otherwise." +"Lowers the [Semaphore], allowing one more thread in.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." +msgstr "" + +#: doc/classes/Semaphore.xml +msgid "" +"Like [method wait], but won't block, so if the value is zero, fails " +"immediately and returns [constant ERR_BUSY]. If non-zero, it returns " +"[constant OK] to report success." msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Tries to wait for the [Semaphore], if its value is zero, blocks until non-" -"zero. Returns [constant OK] on success, [constant ERR_BUSY] otherwise." +"Waits for the [Semaphore], if its value is zero, blocks until non-zero.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Separator.xml @@ -53958,7 +54190,21 @@ msgstr "" #: doc/classes/SpatialMaterial.xml msgid "" "If [code]true[/code], lighting is calculated per vertex rather than per " -"pixel. This may increase performance on low-end devices." +"pixel. This may increase performance on low-end devices, especially for " +"meshes with a lower polygon count. The downside is that shading becomes much " +"less accurate, with visible linear interpolation between vertices that are " +"joined together. This can be compensated by ensuring meshes have a " +"sufficient level of subdivision (but not too much, to avoid reducing " +"performance). Some material features are also not supported when vertex " +"shading is enabled.\n" +"See also [member ProjectSettings.rendering/quality/shading/" +"force_vertex_shading] which can globally enable vertex shading on all " +"materials.\n" +"[b]Note:[/b] By default, vertex shading is enforced on mobile platforms by " +"[member ProjectSettings.rendering/quality/shading/force_vertex_shading]'s " +"[code]mobile[/code] override.\n" +"[b]Note:[/b] [member flags_vertex_lighting] has no effect if [member " +"flags_unshaded] is [code]true[/code]." msgstr "" #: doc/classes/SpatialMaterial.xml @@ -54762,7 +55008,10 @@ msgid "" "the text alignment to right.\n" "See [Range] class for more options over the [SpinBox].\n" "[b]Note:[/b] [SpinBox] relies on an underlying [LineEdit] node. To theme a " -"[SpinBox]'s background, add theme items for [LineEdit] and customize them." +"[SpinBox]'s background, add theme items for [LineEdit] and customize them.\n" +"[b]Note:[/b] If you want to implement drag and drop for the underlying " +"[LineEdit], you can use [method Control.set_drag_forwarding] on the node " +"returned by [method get_line_edit]." msgstr "" #: doc/classes/SpinBox.xml @@ -56080,7 +56329,6 @@ msgid "" "print(\"1.7\".is_valid_float()) # Prints \"True\"\n" "print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"7e3\".is_valid_float()) # Prints \"True\"\n" -"print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -56317,8 +56565,8 @@ msgid "" "var some_string = \"One,Two,Three,Four\"\n" "var some_array = some_string.rsplit(\",\", true, 1)\n" "print(some_array.size()) # Prints 2\n" -"print(some_array[0]) # Prints \"Four\"\n" -"print(some_array[1]) # Prints \"Three,Two,One\"\n" +"print(some_array[0]) # Prints \"One,Two,Three\"\n" +"print(some_array[1]) # Prints \"Four\"\n" "[/codeblock]" msgstr "" @@ -56351,9 +56599,9 @@ msgstr "" #: doc/classes/String.xml msgid "" "Returns the similarity index ([url=https://en.wikipedia.org/wiki/" -"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) this " -"string compared to another. 1.0 means totally similar and 0.0 means totally " -"dissimilar.\n" +"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) of " +"this string compared to another. A result of 1.0 means totally similar, " +"while 0.0 means totally dissimilar.\n" "[codeblock]\n" "print(\"ABC123\".similarity(\"ABC123\")) # Prints \"1\"\n" "print(\"ABC123\".similarity(\"XYZ456\")) # Prints \"0\"\n" @@ -57824,10 +58072,6 @@ msgid "" msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection begin column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection begin line." msgstr "" @@ -57836,10 +58080,6 @@ msgid "Returns the text inside the selection." msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection end column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection end line." msgstr "" @@ -58860,6 +59100,14 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Adds an empty theme type for every valid data type.\n" +"[b]Note:[/b] Empty types are not saved with the theme. This method only " +"exists to perform in-memory changes to the resource. Use available " +"[code]set_*[/code] methods to add theme items." +msgstr "" + +#: doc/classes/Theme.xml msgid "Clears all values on the theme." msgstr "" @@ -59119,6 +59367,13 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Removes the theme type, gracefully discarding defined theme items. If the " +"type is a variation, this information is also erased. If the type is a base " +"for type variations, those variations lose their base." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Renames the [Color] at [code]old_name[/code] to [code]name[/code] if the " "theme has [code]node_type[/code]. If [code]name[/code] is already taken, " "this method fails." @@ -71812,6 +72067,11 @@ msgid "" msgstr "" #: modules/websocket/doc_classes/WebSocketServer.xml +msgid "" +"Sets additional headers to be sent to clients during the HTTP handshake." +msgstr "" + +#: modules/websocket/doc_classes/WebSocketServer.xml msgid "Stops the server and clear its state." msgstr "" @@ -71907,6 +72167,9 @@ msgid "" "\n" " webxr_interface = ARVRServer.find_interface(\"WebXR\")\n" " if webxr_interface:\n" +" # Map to the standard button/axis ids when possible.\n" +" webxr_interface.xr_standard_mapping = true\n" +"\n" " # WebXR uses a lot of asynchronous callbacks, so we connect to " "various\n" " # signals in order to receive them.\n" @@ -72132,6 +72395,13 @@ msgstr "" #: modules/webxr/doc_classes/WebXRInterface.xml msgid "" +"If set to true, the button and axes ids will be converted to match the " +"standard ids used by other AR/VR interfaces, when possible.\n" +"Otherwise, the ids will be passed through unaltered from WebXR." +msgstr "" + +#: modules/webxr/doc_classes/WebXRInterface.xml +msgid "" "Emitted to indicate that the reference space has been reset or " "reconfigured.\n" "When (or whether) this is emitted depends on the user's browser or device, " diff --git a/doc/translations/fi.po b/doc/translations/fi.po index 300e1dda53..71a130a11d 100644 --- a/doc/translations/fi.po +++ b/doc/translations/fi.po @@ -8,12 +8,13 @@ # Nekromanser <ari.taitto@protonmail.com>, 2021. # Leevi Laine <leeviervoemil@gmail.com>, 2021. # Tuomas Lähteenmäki <lahtis@gmail.com>, 2022. +# Siina Mashek <siina@criminallycute.fi>, 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-03-17 13:59+0000\n" -"Last-Translator: Tuomas Lähteenmäki <lahtis@gmail.com>\n" +"PO-Revision-Date: 2022-04-09 12:13+0000\n" +"Last-Translator: Siina Mashek <siina@criminallycute.fi>\n" "Language-Team: Finnish <https://hosted.weblate.org/projects/godot-engine/" "godot-class-reference/fi/>\n" "Language: fi\n" @@ -185,7 +186,7 @@ msgid "" "[/codeblock]\n" "Supported color names are the same as the constants defined in [Color]." msgstr "" -"Palauttaa standardoidun värin [code]nimen [/code] siten, että [code]alpha[/" +"Palauttaa standardoidun värin [code]nimen [/code] siten, että [code]alpha[/" "code] vaihtelee välillä 0 -1.\n" "[codeblock]\n" "punainen = ColorN(\"punainen\", 1)\n" @@ -3397,8 +3398,12 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" "Hints that an integer, float or string property is an enumerated value to " -"pick in a list specified via a hint string such as [code]\"Hello,Something," -"Else\"[/code]." +"pick in a list specified via a hint string.\n" +"The hint string is a comma separated list of names such as [code]\"Hello," +"Something,Else\"[/code]. For integer and float properties, the first name in " +"the list has value 0, the next 1, and so on. Explicit values can also be " +"specified by appending [code]:integer[/code] to the name, e.g. [code]\"Zero," +"One,Three:3,Four,Six:6\"[/code]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -3539,7 +3544,7 @@ msgid "The property is a translatable string." msgstr "" #: doc/classes/@GlobalScope.xml -msgid "Used to group properties together in the editor." +msgid "Used to group properties together in the editor. See [EditorInspector]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -5312,8 +5317,11 @@ msgstr "" #: doc/classes/AnimationNodeBlendTree.xml msgid "" -"This node may contain a sub-tree of any other blend type nodes, such as mix, " -"blend2, blend3, one shot, etc. This is one of the most commonly used roots." +"This node may contain a sub-tree of any other blend type nodes, such as " +"[AnimationNodeTransition], [AnimationNodeBlend2], [AnimationNodeBlend3], " +"[AnimationNodeOneShot], etc. This is one of the most commonly used roots.\n" +"An [AnimationNodeOutput] node named [code]output[/code] is created by " +"default." msgstr "" #: doc/classes/AnimationNodeBlendTree.xml @@ -7061,8 +7069,9 @@ msgstr "" #: doc/classes/Array.xml msgid "" -"Removes the first occurrence of a value from the array. To remove an element " -"by index, use [method remove] instead.\n" +"Removes the first occurrence of a value from the array. If the value does " +"not exist in the array, nothing happens. To remove an element by index, use " +"[method remove] instead.\n" "[b]Note:[/b] This method acts in-place and doesn't return a value.\n" "[b]Note:[/b] On large arrays, this method will be slower if the removed " "element is close to the beginning of the array (index 0). This is because " @@ -10439,8 +10448,15 @@ msgstr "" #: doc/classes/BakedLightmap.xml msgid "" -"When enabled, the lightmapper will merge the textures for all meshes into a " -"single large layered texture. Not supported in GLES2." +"If [code]true[/code], the lightmapper will merge the textures for all meshes " +"into one or several large layered textures. If [code]false[/code], every " +"mesh will get its own lightmap texture, which is less efficient.\n" +"[b]Note:[/b] Atlas lightmap rendering is only supported in GLES3, [i]not[/i] " +"GLES2. Non-atlas lightmap rendering is supported by both GLES3 and GLES2. If " +"[member ProjectSettings.rendering/quality/driver/fallback_to_gles2] is " +"[code]true[/code], consider baking lightmaps with [member atlas_generate] " +"set to [code]false[/code] so that the resulting lightmap is visible in both " +"GLES3 and GLES2." msgstr "" #: doc/classes/BakedLightmap.xml @@ -11786,8 +11802,8 @@ msgstr "" #: doc/classes/Camera.xml msgid "" "The camera's size measured as 1/2 the width or height. Only applicable in " -"orthogonal mode. Since [member keep_aspect] locks on axis, [code]size[/code] " -"sets the other axis' size length." +"orthogonal and frustum modes. Since [member keep_aspect] locks on axis, " +"[code]size[/code] sets the other axis' size length." msgstr "" #: doc/classes/Camera.xml @@ -12590,20 +12606,24 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], the node won't inherit its " -"transform from parent canvas items." +"If [code]enable[/code] is [code]true[/code], this [CanvasItem] will [i]not[/" +"i] inherit its transform from parent [CanvasItem]s. Its draw order will also " +"be changed to make it draw on top of other [CanvasItem]s that are not set as " +"top-level. The [CanvasItem] will effectively act as if it was placed as a " +"child of a bare [Node]. See also [method is_set_as_toplevel]." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"local transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_LOCAL_TRANSFORM_CHANGED] when its local transform " +"changes." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"global transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_TRANSFORM_CHANGED] when its global transform changes." msgstr "" #: doc/classes/CanvasItem.xml @@ -12717,9 +12737,14 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"The [CanvasItem]'s transform has changed. This notification is only received " -"if enabled by [method set_notify_transform] or [method " -"set_notify_local_transform]." +"The [CanvasItem]'s global transform has changed. This notification is only " +"received if enabled by [method set_notify_transform]." +msgstr "" + +#: doc/classes/CanvasItem.xml +msgid "" +"The [CanvasItem]'s local transform has changed. This notification is only " +"received if enabled by [method set_notify_local_transform]." msgstr "" #: doc/classes/CanvasItem.xml @@ -13675,7 +13700,10 @@ msgid "" "number of 2D collision [Shape2D]s. Each shape must be assigned to a [i]shape " "owner[/i]. The CollisionObject2D can have any number of shape owners. Shape " "owners are not nodes and do not appear in the editor, but are accessible " -"through code using the [code]shape_owner_*[/code] methods." +"through code using the [code]shape_owner_*[/code] methods.\n" +"[b]Note:[/b] Only collisions between objects within the same canvas " +"([Viewport] canvas or [CanvasLayer]) are supported. The behavior of " +"collisions between objects in different canvases is undefined." msgstr "" #: doc/classes/CollisionObject2D.xml @@ -19693,9 +19721,8 @@ msgid "" "main font.\n" "DynamicFont uses the [url=https://www.freetype.org/]FreeType[/url] library " "for rasterization. Supported formats are TrueType ([code].ttf[/code]), " -"OpenType ([code].otf[/code]) and Web Open Font Format 1 ([code].woff[/" -"code]). Web Open Font Format 2 ([code].woff2[/code]) is [i]not[/i] " -"supported.\n" +"OpenType ([code].otf[/code]), Web Open Font Format 1 ([code].woff[/code]), " +"and Web Open Font Format 2 ([code].woff2[/code]).\n" "[codeblock]\n" "var dynamic_font = DynamicFont.new()\n" "dynamic_font.font_data = load(\"res://BarlowCondensed-Bold.ttf\")\n" @@ -20562,18 +20589,34 @@ msgid "" msgstr "" #: doc/classes/EditorInspector.xml -msgid "A tab used to edit properties of the selected node." +msgid "A control used to edit properties of an object." msgstr "" #: doc/classes/EditorInspector.xml msgid "" -"The editor inspector is by default located on the right-hand side of the " -"editor. It's used to edit the properties of the selected node. For example, " -"you can select a node such as [Sprite] then edit its transform through the " -"inspector tool. The editor inspector is an essential tool in the game " -"development workflow.\n" -"[b]Note:[/b] This class shouldn't be instantiated directly. Instead, access " -"the singleton using [method EditorInterface.get_inspector]." +"This is the control that implements property editing in the editor's " +"Settings dialogs, the Inspector dock, etc. To get the [EditorInspector] used " +"in the editor's Inspector dock, use [method EditorInterface.get_inspector].\n" +"[EditorInspector] will show properties in the same order as the array " +"returned by [method Object.get_property_list].\n" +"If a property's name is path-like (i.e. if it contains forward slashes), " +"[EditorInspector] will create nested sections for \"directories\" along the " +"path. For example, if a property is named [code]highlighting/gdscript/" +"node_path_color[/code], it will be shown as \"Node Path Color\" inside the " +"\"GDScript\" section nested inside the \"Highlighting\" section.\n" +"If a property has [constant @GlobalScope.PROPERTY_USAGE_GROUP] usage, it " +"will group subsequent properties whose name starts with the property's hint " +"string. The group ends when a property does not start with that hint string " +"or when a new group starts. An empty group name effectively ends the current " +"group. [EditorInspector] will create a top-level section for each group. For " +"example, if a property with group usage is named [code]Collide With[/code] " +"and its hint string is [code]collide_with_[/code], a subsequent " +"[code]collide_with_area[/code] property will be shown as \"Area\" inside the " +"\"Collide With\" section.\n" +"[b]Note:[/b] Unlike sections created from path-like property names, " +"[EditorInspector] won't capitalize the name for sections created from " +"groups. So properties with group usage usually use capitalized names instead " +"of snake_cased names." msgstr "" #: doc/classes/EditorInspector.xml @@ -21748,6 +21791,14 @@ msgid "" "[/codeblock]" msgstr "" +#: modules/gltf/doc_classes/EditorSceneImporterGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [EditorSceneImporterGLTF] within a script will cause an error in an " +"exported project." +msgstr "" + #: doc/classes/EditorScenePostImport.xml msgid "Post-processes scenes after import." msgstr "" @@ -22486,12 +22537,13 @@ msgstr "" #: doc/classes/EditorVCSInterface.xml msgid "" "Helper function to create a commit [Dictionary] item. [code]msg[/code] is " -"the commit message of the commit. [code]author[/code] is a human-readable " -"string containing the author's details, e.g. the email and name configured " -"in the VCS. [code]id[/code] is the identifier of the commit, in whichever " -"format your VCS may provide an identifier to commits. [code]date[/code] is " -"directly added to the commit item and displayed in the editor, and hence, it " -"shall be a well-formatted, human-readable date string." +"the commit message of the commit. [code]author[/code] is a single human-" +"readable string containing all the author's details, e.g. the email and name " +"configured in the VCS. [code]id[/code] is the identifier of the commit, in " +"whichever format your VCS may provide an identifier to commits. " +"[code]unix_timestamp[/code] is the UTC Unix timestamp of when the commit was " +"created. [code]offset_minutes[/code] is the timezone offset in minutes, " +"recorded from the system timezone where the commit was created." msgstr "" #: doc/classes/EditorVCSInterface.xml @@ -25647,6 +25699,50 @@ msgstr "" msgid "Represents the size of the [enum Subdiv] enum." msgstr "" +#: modules/gltf/doc_classes/GLTFAccessor.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAccessor] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFAnimation.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAnimation] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFBufferView.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFBufferView] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFCamera.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFCamera] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFDocument.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFDocument] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFLight.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFLight] within a script will cause an error in an exported project." +msgstr "" + #: modules/gltf/doc_classes/GLTFLight.xml msgid "" "The [Color] of the light. Defaults to white. A black color causes the light " @@ -25696,6 +25792,49 @@ msgid "" "and [DirectionalLight] respectively." msgstr "" +#: modules/gltf/doc_classes/GLTFMesh.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFMesh] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFNode.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFNode] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSkeleton.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSkeleton] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSpecGloss.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSpecGloss] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFState.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFState] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFTexture.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFTexture] within a script will cause an error in an exported project." +msgstr "" + #: modules/mono/doc_classes/GodotSharp.xml msgid "Bridge between Godot and the Mono runtime (Mono-enabled builds only)." msgstr "" @@ -29091,9 +29230,9 @@ msgid "" "Returns a value between 0 and 1 representing the raw intensity of the given " "action, ignoring the action's deadzone. In most cases, you should use " "[method get_action_strength] instead.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29103,9 +29242,9 @@ msgid "" "or L2, R2 triggers) is from the dead zone, the closer the value will be to " "1. If the action is mapped to a control that has no axis as the keyboard, " "the value returned will be 0 or 1.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29238,9 +29377,9 @@ msgid "" "the button.\n" "This is useful for code that needs to run only once when an action is " "pressed, instead of every frame while it's pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_just_pressed] may " "return [code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29252,9 +29391,9 @@ msgid "" "Returns [code]true[/code] when the user stops pressing the action event, " "meaning it's [code]true[/code] only on the frame that the user released the " "button.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29263,9 +29402,9 @@ msgid "" "an action has multiple buttons assigned and more than one of them is " "pressed, releasing one button will release the action, even if some other " "button assigned to this action is still pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29615,18 +29754,18 @@ msgstr "" msgid "" "Returns a value between 0.0 and 1.0 depending on the given actions' state. " "Useful for getting the value of events of type [InputEventJoypadMotion].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml msgid "" "Returns [code]true[/code] if this input event matches a pre-defined action " "of any type.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -29635,9 +29774,9 @@ msgid "" "an echo event for [InputEventKey] events, unless [code]allow_echo[/code] is " "[code]true[/code]). Not relevant for events of type [InputEventMouseMotion] " "or [InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events.\n" +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29649,9 +29788,9 @@ msgid "" "Returns [code]true[/code] if the given action is released (i.e. not " "pressed). Not relevant for events of type [InputEventMouseMotion] or " "[InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -29682,9 +29821,9 @@ msgid "" "event. Only valid for action events i.e key ([InputEventKey]), button " "([InputEventMouseButton] or [InputEventJoypadButton]), axis " "[InputEventJoypadMotion] or action ([InputEventAction]) events.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -30215,9 +30354,9 @@ msgid "" "This method ignores keyboard modifiers if the given [InputEvent] is not " "pressed (for proper release detection). See [method action_has_event] if you " "don't want this behavior.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputMap.xml @@ -32623,7 +32762,7 @@ msgid "" "be within the text's length." msgstr "" -#: doc/classes/LineEdit.xml +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml msgid "Clears the current selection." msgstr "" @@ -32642,6 +32781,19 @@ msgid "" "characters." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection begin column." +msgstr "" + +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection end column." +msgstr "" + +#: doc/classes/LineEdit.xml +#, fuzzy +msgid "Returns [code]true[/code] if the user has selected text." +msgstr "Palauttaa parametrin kosinin." + #: doc/classes/LineEdit.xml msgid "Executes a given action as defined in the [enum MenuItems] enum." msgstr "" @@ -34055,6 +34207,39 @@ msgid "Returns the number of surface materials." msgstr "" #: doc/classes/MeshInstance.xml +msgid "" +"Returns [code]true[/code] if this [MeshInstance] can be merged with the " +"specified [code]other_mesh_instance[/code], using the [method MeshInstance." +"merge_meshes] function.\n" +"In order to be mergeable, properties of the [MeshInstance] must match, and " +"each surface must match, in terms of material, attributes and vertex format." +msgstr "" + +#: doc/classes/MeshInstance.xml +msgid "" +"This function can merge together the data from several source " +"[MeshInstance]s into a single destination [MeshInstance] (the MeshInstance " +"the function is called from). This is primarily useful for improving " +"performance by reducing the number of drawcalls and [Node]s.\n" +"Merging should only be attempted for simple meshes that do not contain " +"animation.\n" +"The final vertices can either be returned in global space, or in local space " +"relative to the destination [MeshInstance] global transform (the destination " +"Node must be inside the [SceneTree] for local space to work).\n" +"The function will make a final check for compatibility between the " +"[MeshInstance]s by default, this should always be used unless you have " +"previously checked for compatibility using [method MeshInstance." +"is_mergeable_with]. If the compatibility check is omitted and the meshes are " +"merged, you may see rendering errors.\n" +"[b]Note:[/b] The requirements for similarity between meshes are quite " +"stringent. They can be checked using the [method MeshInstance." +"is_mergeable_with] function prior to calling [method MeshInstance." +"merge_meshes].\n" +"Also note that any initial data in the destination [MeshInstance] data will " +"be discarded." +msgstr "" + +#: doc/classes/MeshInstance.xml msgid "Sets the [Material] for a surface of the [Mesh] resource." msgstr "" @@ -36528,12 +36713,12 @@ msgid "" "[/codeblock]\n" "[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " "must set [member owner] in addition to calling [method add_child]. This is " -"typically relevant for [url=https://godot.readthedocs.io/en/3.2/tutorials/" -"misc/running_code_in_the_editor.html]tool scripts[/url] and [url=https://" -"godot.readthedocs.io/en/latest/tutorials/plugins/editor/index.html]editor " -"plugins[/url]. If [method add_child] is called without setting [member " -"owner], the newly added [Node] will not be visible in the scene tree, though " -"it will be visible in the 2D/3D view." +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37240,7 +37425,15 @@ msgid "" "valid parent, grandparent, etc. ascending in the tree). When saving a node " "(using [PackedScene]), all the nodes it owns will be saved with it. This " "allows for the creation of complex [SceneTree]s, with instancing and " -"subinstancing." +"subinstancing.\n" +"[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " +"must set [member owner] in addition to calling [method add_child]. This is " +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37836,7 +38029,13 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Called when the object is initialized." +msgid "" +"Called when the object is initialized in memory. Can be defined to take in " +"parameters, that are passed in when constructing.\n" +"[b]Note:[/b] If [method _init] is defined with required parameters, then " +"explicit construction is the only valid means of creating an Object of the " +"class. If any other means (such as [method PackedScene.instance]) is used, " +"then initialization will fail." msgstr "" #: doc/classes/Object.xml @@ -38032,7 +38231,10 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Returns the object's metadata entry for the given [code]name[/code]." +msgid "" +"Returns the object's metadata entry for the given [code]name[/code].\n" +"Throws error if the entry does not exist, unless [code]default[/code] is not " +"[code]null[/code] (in which case the default value will be returned)." msgstr "" #: doc/classes/Object.xml @@ -40248,6 +40450,14 @@ msgid "" "[b]Note:[/b] Only available in editor builds." msgstr "" +#: modules/gltf/doc_classes/PackedSceneGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [PackedSceneGLTF] within a script will cause an error in an exported " +"project." +msgstr "" + #: doc/classes/PacketPeer.xml msgid "Abstraction and base class for packet-based protocols." msgstr "" @@ -43091,7 +43301,10 @@ msgid "" msgstr "" #: doc/classes/PhysicsServer.xml -msgid "Returns an Info defined by the [enum ProcessInfo] input given." +msgid "" +"Returns information about the current state of the 3D physics engine. See " +"[enum ProcessInfo] for a list of available states. Only implemented for " +"Godot Physics." msgstr "" #: doc/classes/PhysicsServer.xml @@ -45956,7 +46169,7 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Allows the window to be resizable by default.\n" -"[b]Note:[/b] This setting is ignored on iOS and Android." +"[b]Note:[/b] This setting is ignored on iOS." msgstr "" #: doc/classes/ProjectSettings.xml @@ -46603,7 +46816,7 @@ msgid "Optional name for the 3D render layer 13." msgstr "" #: doc/classes/ProjectSettings.xml -msgid "Optional name for the 3D render layer 14" +msgid "Optional name for the 3D render layer 14." msgstr "" #: doc/classes/ProjectSettings.xml @@ -47873,16 +48086,24 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" -"If [code]true[/code], forces vertex shading for all rendering. This can " -"increase performance a lot, but also reduces quality immensely. Can be used " -"to optimize performance on low-end mobile devices." +"If [code]true[/code], forces vertex shading for all 3D [SpatialMaterial] and " +"[ShaderMaterial] rendering. This can be used to improve performance on low-" +"end mobile devices. The downside is that shading becomes much less accurate, " +"with visible linear interpolation between vertices that are joined together. " +"This can be compensated by ensuring meshes have a sufficient level of " +"subdivision (but not too much, to avoid reducing performance). Some material " +"features are also not supported when vertex shading is enabled.\n" +"See also [member SpatialMaterial.flags_vertex_lighting] which can be used to " +"enable vertex shading on specific materials only.\n" +"[b]Note:[/b] This setting does not affect unshaded materials." msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Lower-end override for [member rendering/quality/shading/" "force_vertex_shading] on mobile devices, due to performance concerns or " -"driver support." +"driver support. If lighting looks broken after exporting the project to a " +"mobile platform, try disabling this setting." msgstr "" #: doc/classes/ProjectSettings.xml @@ -49918,6 +50139,11 @@ msgid "" msgstr "" #: doc/classes/RichTextLabel.xml +#, fuzzy +msgid "Returns the current selection text. Does not include BBCodes." +msgstr "Palauttaa parametrin sinin." + +#: doc/classes/RichTextLabel.xml msgid "" "Returns the total number of characters from text tags. Does not include " "BBCodes." @@ -52209,14 +52435,23 @@ msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Lowers the [Semaphore], allowing one more thread in. Returns [constant OK] " -"on success, [constant ERR_BUSY] otherwise." +"Lowers the [Semaphore], allowing one more thread in.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Tries to wait for the [Semaphore], if its value is zero, blocks until non-" -"zero. Returns [constant OK] on success, [constant ERR_BUSY] otherwise." +"Like [method wait], but won't block, so if the value is zero, fails " +"immediately and returns [constant ERR_BUSY]. If non-zero, it returns " +"[constant OK] to report success." +msgstr "" + +#: doc/classes/Semaphore.xml +msgid "" +"Waits for the [Semaphore], if its value is zero, blocks until non-zero.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Separator.xml @@ -53663,7 +53898,21 @@ msgstr "" #: doc/classes/SpatialMaterial.xml msgid "" "If [code]true[/code], lighting is calculated per vertex rather than per " -"pixel. This may increase performance on low-end devices." +"pixel. This may increase performance on low-end devices, especially for " +"meshes with a lower polygon count. The downside is that shading becomes much " +"less accurate, with visible linear interpolation between vertices that are " +"joined together. This can be compensated by ensuring meshes have a " +"sufficient level of subdivision (but not too much, to avoid reducing " +"performance). Some material features are also not supported when vertex " +"shading is enabled.\n" +"See also [member ProjectSettings.rendering/quality/shading/" +"force_vertex_shading] which can globally enable vertex shading on all " +"materials.\n" +"[b]Note:[/b] By default, vertex shading is enforced on mobile platforms by " +"[member ProjectSettings.rendering/quality/shading/force_vertex_shading]'s " +"[code]mobile[/code] override.\n" +"[b]Note:[/b] [member flags_vertex_lighting] has no effect if [member " +"flags_unshaded] is [code]true[/code]." msgstr "" #: doc/classes/SpatialMaterial.xml @@ -54467,7 +54716,10 @@ msgid "" "the text alignment to right.\n" "See [Range] class for more options over the [SpinBox].\n" "[b]Note:[/b] [SpinBox] relies on an underlying [LineEdit] node. To theme a " -"[SpinBox]'s background, add theme items for [LineEdit] and customize them." +"[SpinBox]'s background, add theme items for [LineEdit] and customize them.\n" +"[b]Note:[/b] If you want to implement drag and drop for the underlying " +"[LineEdit], you can use [method Control.set_drag_forwarding] on the node " +"returned by [method get_line_edit]." msgstr "" #: doc/classes/SpinBox.xml @@ -55788,7 +56040,6 @@ msgid "" "print(\"1.7\".is_valid_float()) # Prints \"True\"\n" "print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"7e3\".is_valid_float()) # Prints \"True\"\n" -"print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -56025,8 +56276,8 @@ msgid "" "var some_string = \"One,Two,Three,Four\"\n" "var some_array = some_string.rsplit(\",\", true, 1)\n" "print(some_array.size()) # Prints 2\n" -"print(some_array[0]) # Prints \"Four\"\n" -"print(some_array[1]) # Prints \"Three,Two,One\"\n" +"print(some_array[0]) # Prints \"One,Two,Three\"\n" +"print(some_array[1]) # Prints \"Four\"\n" "[/codeblock]" msgstr "" @@ -56059,9 +56310,9 @@ msgstr "" #: doc/classes/String.xml msgid "" "Returns the similarity index ([url=https://en.wikipedia.org/wiki/" -"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) this " -"string compared to another. 1.0 means totally similar and 0.0 means totally " -"dissimilar.\n" +"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) of " +"this string compared to another. A result of 1.0 means totally similar, " +"while 0.0 means totally dissimilar.\n" "[codeblock]\n" "print(\"ABC123\".similarity(\"ABC123\")) # Prints \"1\"\n" "print(\"ABC123\".similarity(\"XYZ456\")) # Prints \"0\"\n" @@ -57537,10 +57788,6 @@ msgid "" msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection begin column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection begin line." msgstr "" @@ -57549,10 +57796,6 @@ msgid "Returns the text inside the selection." msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection end column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection end line." msgstr "" @@ -58577,6 +58820,14 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Adds an empty theme type for every valid data type.\n" +"[b]Note:[/b] Empty types are not saved with the theme. This method only " +"exists to perform in-memory changes to the resource. Use available " +"[code]set_*[/code] methods to add theme items." +msgstr "" + +#: doc/classes/Theme.xml msgid "Clears all values on the theme." msgstr "" @@ -58839,6 +59090,13 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Removes the theme type, gracefully discarding defined theme items. If the " +"type is a variation, this information is also erased. If the type is a base " +"for type variations, those variations lose their base." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Renames the [Color] at [code]old_name[/code] to [code]name[/code] if the " "theme has [code]node_type[/code]. If [code]name[/code] is already taken, " "this method fails." @@ -71570,6 +71828,11 @@ msgid "" msgstr "" #: modules/websocket/doc_classes/WebSocketServer.xml +msgid "" +"Sets additional headers to be sent to clients during the HTTP handshake." +msgstr "" + +#: modules/websocket/doc_classes/WebSocketServer.xml msgid "Stops the server and clear its state." msgstr "" @@ -71665,6 +71928,9 @@ msgid "" "\n" " webxr_interface = ARVRServer.find_interface(\"WebXR\")\n" " if webxr_interface:\n" +" # Map to the standard button/axis ids when possible.\n" +" webxr_interface.xr_standard_mapping = true\n" +"\n" " # WebXR uses a lot of asynchronous callbacks, so we connect to " "various\n" " # signals in order to receive them.\n" @@ -71890,6 +72156,13 @@ msgstr "" #: modules/webxr/doc_classes/WebXRInterface.xml msgid "" +"If set to true, the button and axes ids will be converted to match the " +"standard ids used by other AR/VR interfaces, when possible.\n" +"Otherwise, the ids will be passed through unaltered from WebXR." +msgstr "" + +#: modules/webxr/doc_classes/WebXRInterface.xml +msgid "" "Emitted to indicate that the reference space has been reset or " "reconfigured.\n" "When (or whether) this is emitted depends on the user's browser or device, " diff --git a/doc/translations/fil.po b/doc/translations/fil.po index f91ed1b6b8..1aeae588a9 100644 --- a/doc/translations/fil.po +++ b/doc/translations/fil.po @@ -3323,8 +3323,12 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" "Hints that an integer, float or string property is an enumerated value to " -"pick in a list specified via a hint string such as [code]\"Hello,Something," -"Else\"[/code]." +"pick in a list specified via a hint string.\n" +"The hint string is a comma separated list of names such as [code]\"Hello," +"Something,Else\"[/code]. For integer and float properties, the first name in " +"the list has value 0, the next 1, and so on. Explicit values can also be " +"specified by appending [code]:integer[/code] to the name, e.g. [code]\"Zero," +"One,Three:3,Four,Six:6\"[/code]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -3465,7 +3469,7 @@ msgid "The property is a translatable string." msgstr "" #: doc/classes/@GlobalScope.xml -msgid "Used to group properties together in the editor." +msgid "Used to group properties together in the editor. See [EditorInspector]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -5236,8 +5240,11 @@ msgstr "" #: doc/classes/AnimationNodeBlendTree.xml msgid "" -"This node may contain a sub-tree of any other blend type nodes, such as mix, " -"blend2, blend3, one shot, etc. This is one of the most commonly used roots." +"This node may contain a sub-tree of any other blend type nodes, such as " +"[AnimationNodeTransition], [AnimationNodeBlend2], [AnimationNodeBlend3], " +"[AnimationNodeOneShot], etc. This is one of the most commonly used roots.\n" +"An [AnimationNodeOutput] node named [code]output[/code] is created by " +"default." msgstr "" #: doc/classes/AnimationNodeBlendTree.xml @@ -6979,8 +6986,9 @@ msgstr "" #: doc/classes/Array.xml msgid "" -"Removes the first occurrence of a value from the array. To remove an element " -"by index, use [method remove] instead.\n" +"Removes the first occurrence of a value from the array. If the value does " +"not exist in the array, nothing happens. To remove an element by index, use " +"[method remove] instead.\n" "[b]Note:[/b] This method acts in-place and doesn't return a value.\n" "[b]Note:[/b] On large arrays, this method will be slower if the removed " "element is close to the beginning of the array (index 0). This is because " @@ -10356,8 +10364,15 @@ msgstr "" #: doc/classes/BakedLightmap.xml msgid "" -"When enabled, the lightmapper will merge the textures for all meshes into a " -"single large layered texture. Not supported in GLES2." +"If [code]true[/code], the lightmapper will merge the textures for all meshes " +"into one or several large layered textures. If [code]false[/code], every " +"mesh will get its own lightmap texture, which is less efficient.\n" +"[b]Note:[/b] Atlas lightmap rendering is only supported in GLES3, [i]not[/i] " +"GLES2. Non-atlas lightmap rendering is supported by both GLES3 and GLES2. If " +"[member ProjectSettings.rendering/quality/driver/fallback_to_gles2] is " +"[code]true[/code], consider baking lightmaps with [member atlas_generate] " +"set to [code]false[/code] so that the resulting lightmap is visible in both " +"GLES3 and GLES2." msgstr "" #: doc/classes/BakedLightmap.xml @@ -11700,8 +11715,8 @@ msgstr "" #: doc/classes/Camera.xml msgid "" "The camera's size measured as 1/2 the width or height. Only applicable in " -"orthogonal mode. Since [member keep_aspect] locks on axis, [code]size[/code] " -"sets the other axis' size length." +"orthogonal and frustum modes. Since [member keep_aspect] locks on axis, " +"[code]size[/code] sets the other axis' size length." msgstr "" #: doc/classes/Camera.xml @@ -12499,20 +12514,24 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], the node won't inherit its " -"transform from parent canvas items." +"If [code]enable[/code] is [code]true[/code], this [CanvasItem] will [i]not[/" +"i] inherit its transform from parent [CanvasItem]s. Its draw order will also " +"be changed to make it draw on top of other [CanvasItem]s that are not set as " +"top-level. The [CanvasItem] will effectively act as if it was placed as a " +"child of a bare [Node]. See also [method is_set_as_toplevel]." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"local transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_LOCAL_TRANSFORM_CHANGED] when its local transform " +"changes." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"global transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_TRANSFORM_CHANGED] when its global transform changes." msgstr "" #: doc/classes/CanvasItem.xml @@ -12626,9 +12645,14 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"The [CanvasItem]'s transform has changed. This notification is only received " -"if enabled by [method set_notify_transform] or [method " -"set_notify_local_transform]." +"The [CanvasItem]'s global transform has changed. This notification is only " +"received if enabled by [method set_notify_transform]." +msgstr "" + +#: doc/classes/CanvasItem.xml +msgid "" +"The [CanvasItem]'s local transform has changed. This notification is only " +"received if enabled by [method set_notify_local_transform]." msgstr "" #: doc/classes/CanvasItem.xml @@ -13583,7 +13607,10 @@ msgid "" "number of 2D collision [Shape2D]s. Each shape must be assigned to a [i]shape " "owner[/i]. The CollisionObject2D can have any number of shape owners. Shape " "owners are not nodes and do not appear in the editor, but are accessible " -"through code using the [code]shape_owner_*[/code] methods." +"through code using the [code]shape_owner_*[/code] methods.\n" +"[b]Note:[/b] Only collisions between objects within the same canvas " +"([Viewport] canvas or [CanvasLayer]) are supported. The behavior of " +"collisions between objects in different canvases is undefined." msgstr "" #: doc/classes/CollisionObject2D.xml @@ -19590,9 +19617,8 @@ msgid "" "main font.\n" "DynamicFont uses the [url=https://www.freetype.org/]FreeType[/url] library " "for rasterization. Supported formats are TrueType ([code].ttf[/code]), " -"OpenType ([code].otf[/code]) and Web Open Font Format 1 ([code].woff[/" -"code]). Web Open Font Format 2 ([code].woff2[/code]) is [i]not[/i] " -"supported.\n" +"OpenType ([code].otf[/code]), Web Open Font Format 1 ([code].woff[/code]), " +"and Web Open Font Format 2 ([code].woff2[/code]).\n" "[codeblock]\n" "var dynamic_font = DynamicFont.new()\n" "dynamic_font.font_data = load(\"res://BarlowCondensed-Bold.ttf\")\n" @@ -20459,18 +20485,34 @@ msgid "" msgstr "" #: doc/classes/EditorInspector.xml -msgid "A tab used to edit properties of the selected node." +msgid "A control used to edit properties of an object." msgstr "" #: doc/classes/EditorInspector.xml msgid "" -"The editor inspector is by default located on the right-hand side of the " -"editor. It's used to edit the properties of the selected node. For example, " -"you can select a node such as [Sprite] then edit its transform through the " -"inspector tool. The editor inspector is an essential tool in the game " -"development workflow.\n" -"[b]Note:[/b] This class shouldn't be instantiated directly. Instead, access " -"the singleton using [method EditorInterface.get_inspector]." +"This is the control that implements property editing in the editor's " +"Settings dialogs, the Inspector dock, etc. To get the [EditorInspector] used " +"in the editor's Inspector dock, use [method EditorInterface.get_inspector].\n" +"[EditorInspector] will show properties in the same order as the array " +"returned by [method Object.get_property_list].\n" +"If a property's name is path-like (i.e. if it contains forward slashes), " +"[EditorInspector] will create nested sections for \"directories\" along the " +"path. For example, if a property is named [code]highlighting/gdscript/" +"node_path_color[/code], it will be shown as \"Node Path Color\" inside the " +"\"GDScript\" section nested inside the \"Highlighting\" section.\n" +"If a property has [constant @GlobalScope.PROPERTY_USAGE_GROUP] usage, it " +"will group subsequent properties whose name starts with the property's hint " +"string. The group ends when a property does not start with that hint string " +"or when a new group starts. An empty group name effectively ends the current " +"group. [EditorInspector] will create a top-level section for each group. For " +"example, if a property with group usage is named [code]Collide With[/code] " +"and its hint string is [code]collide_with_[/code], a subsequent " +"[code]collide_with_area[/code] property will be shown as \"Area\" inside the " +"\"Collide With\" section.\n" +"[b]Note:[/b] Unlike sections created from path-like property names, " +"[EditorInspector] won't capitalize the name for sections created from " +"groups. So properties with group usage usually use capitalized names instead " +"of snake_cased names." msgstr "" #: doc/classes/EditorInspector.xml @@ -21645,6 +21687,14 @@ msgid "" "[/codeblock]" msgstr "" +#: modules/gltf/doc_classes/EditorSceneImporterGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [EditorSceneImporterGLTF] within a script will cause an error in an " +"exported project." +msgstr "" + #: doc/classes/EditorScenePostImport.xml msgid "Post-processes scenes after import." msgstr "" @@ -22382,12 +22432,13 @@ msgstr "" #: doc/classes/EditorVCSInterface.xml msgid "" "Helper function to create a commit [Dictionary] item. [code]msg[/code] is " -"the commit message of the commit. [code]author[/code] is a human-readable " -"string containing the author's details, e.g. the email and name configured " -"in the VCS. [code]id[/code] is the identifier of the commit, in whichever " -"format your VCS may provide an identifier to commits. [code]date[/code] is " -"directly added to the commit item and displayed in the editor, and hence, it " -"shall be a well-formatted, human-readable date string." +"the commit message of the commit. [code]author[/code] is a single human-" +"readable string containing all the author's details, e.g. the email and name " +"configured in the VCS. [code]id[/code] is the identifier of the commit, in " +"whichever format your VCS may provide an identifier to commits. " +"[code]unix_timestamp[/code] is the UTC Unix timestamp of when the commit was " +"created. [code]offset_minutes[/code] is the timezone offset in minutes, " +"recorded from the system timezone where the commit was created." msgstr "" #: doc/classes/EditorVCSInterface.xml @@ -25541,6 +25592,50 @@ msgstr "" msgid "Represents the size of the [enum Subdiv] enum." msgstr "" +#: modules/gltf/doc_classes/GLTFAccessor.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAccessor] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFAnimation.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAnimation] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFBufferView.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFBufferView] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFCamera.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFCamera] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFDocument.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFDocument] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFLight.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFLight] within a script will cause an error in an exported project." +msgstr "" + #: modules/gltf/doc_classes/GLTFLight.xml msgid "" "The [Color] of the light. Defaults to white. A black color causes the light " @@ -25590,6 +25685,49 @@ msgid "" "and [DirectionalLight] respectively." msgstr "" +#: modules/gltf/doc_classes/GLTFMesh.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFMesh] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFNode.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFNode] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSkeleton.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSkeleton] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSpecGloss.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSpecGloss] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFState.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFState] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFTexture.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFTexture] within a script will cause an error in an exported project." +msgstr "" + #: modules/mono/doc_classes/GodotSharp.xml msgid "Bridge between Godot and the Mono runtime (Mono-enabled builds only)." msgstr "" @@ -28974,9 +29112,9 @@ msgid "" "Returns a value between 0 and 1 representing the raw intensity of the given " "action, ignoring the action's deadzone. In most cases, you should use " "[method get_action_strength] instead.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -28986,9 +29124,9 @@ msgid "" "or L2, R2 triggers) is from the dead zone, the closer the value will be to " "1. If the action is mapped to a control that has no axis as the keyboard, " "the value returned will be 0 or 1.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29121,9 +29259,9 @@ msgid "" "the button.\n" "This is useful for code that needs to run only once when an action is " "pressed, instead of every frame while it's pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_just_pressed] may " "return [code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29135,9 +29273,9 @@ msgid "" "Returns [code]true[/code] when the user stops pressing the action event, " "meaning it's [code]true[/code] only on the frame that the user released the " "button.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29146,9 +29284,9 @@ msgid "" "an action has multiple buttons assigned and more than one of them is " "pressed, releasing one button will release the action, even if some other " "button assigned to this action is still pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29498,18 +29636,18 @@ msgstr "" msgid "" "Returns a value between 0.0 and 1.0 depending on the given actions' state. " "Useful for getting the value of events of type [InputEventJoypadMotion].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml msgid "" "Returns [code]true[/code] if this input event matches a pre-defined action " "of any type.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -29518,9 +29656,9 @@ msgid "" "an echo event for [InputEventKey] events, unless [code]allow_echo[/code] is " "[code]true[/code]). Not relevant for events of type [InputEventMouseMotion] " "or [InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events.\n" +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29532,9 +29670,9 @@ msgid "" "Returns [code]true[/code] if the given action is released (i.e. not " "pressed). Not relevant for events of type [InputEventMouseMotion] or " "[InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -29565,9 +29703,9 @@ msgid "" "event. Only valid for action events i.e key ([InputEventKey]), button " "([InputEventMouseButton] or [InputEventJoypadButton]), axis " "[InputEventJoypadMotion] or action ([InputEventAction]) events.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -30097,9 +30235,9 @@ msgid "" "This method ignores keyboard modifiers if the given [InputEvent] is not " "pressed (for proper release detection). See [method action_has_event] if you " "don't want this behavior.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputMap.xml @@ -32503,7 +32641,7 @@ msgid "" "be within the text's length." msgstr "" -#: doc/classes/LineEdit.xml +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml msgid "Clears the current selection." msgstr "" @@ -32522,6 +32660,18 @@ msgid "" "characters." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection begin column." +msgstr "" + +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection end column." +msgstr "" + +#: doc/classes/LineEdit.xml +msgid "Returns [code]true[/code] if the user has selected text." +msgstr "" + #: doc/classes/LineEdit.xml msgid "Executes a given action as defined in the [enum MenuItems] enum." msgstr "" @@ -33935,6 +34085,39 @@ msgid "Returns the number of surface materials." msgstr "" #: doc/classes/MeshInstance.xml +msgid "" +"Returns [code]true[/code] if this [MeshInstance] can be merged with the " +"specified [code]other_mesh_instance[/code], using the [method MeshInstance." +"merge_meshes] function.\n" +"In order to be mergeable, properties of the [MeshInstance] must match, and " +"each surface must match, in terms of material, attributes and vertex format." +msgstr "" + +#: doc/classes/MeshInstance.xml +msgid "" +"This function can merge together the data from several source " +"[MeshInstance]s into a single destination [MeshInstance] (the MeshInstance " +"the function is called from). This is primarily useful for improving " +"performance by reducing the number of drawcalls and [Node]s.\n" +"Merging should only be attempted for simple meshes that do not contain " +"animation.\n" +"The final vertices can either be returned in global space, or in local space " +"relative to the destination [MeshInstance] global transform (the destination " +"Node must be inside the [SceneTree] for local space to work).\n" +"The function will make a final check for compatibility between the " +"[MeshInstance]s by default, this should always be used unless you have " +"previously checked for compatibility using [method MeshInstance." +"is_mergeable_with]. If the compatibility check is omitted and the meshes are " +"merged, you may see rendering errors.\n" +"[b]Note:[/b] The requirements for similarity between meshes are quite " +"stringent. They can be checked using the [method MeshInstance." +"is_mergeable_with] function prior to calling [method MeshInstance." +"merge_meshes].\n" +"Also note that any initial data in the destination [MeshInstance] data will " +"be discarded." +msgstr "" + +#: doc/classes/MeshInstance.xml msgid "Sets the [Material] for a surface of the [Mesh] resource." msgstr "" @@ -36387,12 +36570,12 @@ msgid "" "[/codeblock]\n" "[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " "must set [member owner] in addition to calling [method add_child]. This is " -"typically relevant for [url=https://godot.readthedocs.io/en/3.2/tutorials/" -"misc/running_code_in_the_editor.html]tool scripts[/url] and [url=https://" -"godot.readthedocs.io/en/latest/tutorials/plugins/editor/index.html]editor " -"plugins[/url]. If [method add_child] is called without setting [member " -"owner], the newly added [Node] will not be visible in the scene tree, though " -"it will be visible in the 2D/3D view." +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37099,7 +37282,15 @@ msgid "" "valid parent, grandparent, etc. ascending in the tree). When saving a node " "(using [PackedScene]), all the nodes it owns will be saved with it. This " "allows for the creation of complex [SceneTree]s, with instancing and " -"subinstancing." +"subinstancing.\n" +"[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " +"must set [member owner] in addition to calling [method add_child]. This is " +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37695,7 +37886,13 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Called when the object is initialized." +msgid "" +"Called when the object is initialized in memory. Can be defined to take in " +"parameters, that are passed in when constructing.\n" +"[b]Note:[/b] If [method _init] is defined with required parameters, then " +"explicit construction is the only valid means of creating an Object of the " +"class. If any other means (such as [method PackedScene.instance]) is used, " +"then initialization will fail." msgstr "" #: doc/classes/Object.xml @@ -37891,7 +38088,10 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Returns the object's metadata entry for the given [code]name[/code]." +msgid "" +"Returns the object's metadata entry for the given [code]name[/code].\n" +"Throws error if the entry does not exist, unless [code]default[/code] is not " +"[code]null[/code] (in which case the default value will be returned)." msgstr "" #: doc/classes/Object.xml @@ -40099,6 +40299,14 @@ msgid "" "[b]Note:[/b] Only available in editor builds." msgstr "" +#: modules/gltf/doc_classes/PackedSceneGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [PackedSceneGLTF] within a script will cause an error in an exported " +"project." +msgstr "" + #: doc/classes/PacketPeer.xml msgid "Abstraction and base class for packet-based protocols." msgstr "" @@ -42939,7 +43147,10 @@ msgid "" msgstr "" #: doc/classes/PhysicsServer.xml -msgid "Returns an Info defined by the [enum ProcessInfo] input given." +msgid "" +"Returns information about the current state of the 3D physics engine. See " +"[enum ProcessInfo] for a list of available states. Only implemented for " +"Godot Physics." msgstr "" #: doc/classes/PhysicsServer.xml @@ -45799,7 +46010,7 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Allows the window to be resizable by default.\n" -"[b]Note:[/b] This setting is ignored on iOS and Android." +"[b]Note:[/b] This setting is ignored on iOS." msgstr "" #: doc/classes/ProjectSettings.xml @@ -46446,7 +46657,7 @@ msgid "Optional name for the 3D render layer 13." msgstr "" #: doc/classes/ProjectSettings.xml -msgid "Optional name for the 3D render layer 14" +msgid "Optional name for the 3D render layer 14." msgstr "" #: doc/classes/ProjectSettings.xml @@ -47716,16 +47927,24 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" -"If [code]true[/code], forces vertex shading for all rendering. This can " -"increase performance a lot, but also reduces quality immensely. Can be used " -"to optimize performance on low-end mobile devices." +"If [code]true[/code], forces vertex shading for all 3D [SpatialMaterial] and " +"[ShaderMaterial] rendering. This can be used to improve performance on low-" +"end mobile devices. The downside is that shading becomes much less accurate, " +"with visible linear interpolation between vertices that are joined together. " +"This can be compensated by ensuring meshes have a sufficient level of " +"subdivision (but not too much, to avoid reducing performance). Some material " +"features are also not supported when vertex shading is enabled.\n" +"See also [member SpatialMaterial.flags_vertex_lighting] which can be used to " +"enable vertex shading on specific materials only.\n" +"[b]Note:[/b] This setting does not affect unshaded materials." msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Lower-end override for [member rendering/quality/shading/" "force_vertex_shading] on mobile devices, due to performance concerns or " -"driver support." +"driver support. If lighting looks broken after exporting the project to a " +"mobile platform, try disabling this setting." msgstr "" #: doc/classes/ProjectSettings.xml @@ -49760,6 +49979,10 @@ msgid "" msgstr "" #: doc/classes/RichTextLabel.xml +msgid "Returns the current selection text. Does not include BBCodes." +msgstr "" + +#: doc/classes/RichTextLabel.xml msgid "" "Returns the total number of characters from text tags. Does not include " "BBCodes." @@ -52051,14 +52274,23 @@ msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Lowers the [Semaphore], allowing one more thread in. Returns [constant OK] " -"on success, [constant ERR_BUSY] otherwise." +"Lowers the [Semaphore], allowing one more thread in.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Tries to wait for the [Semaphore], if its value is zero, blocks until non-" -"zero. Returns [constant OK] on success, [constant ERR_BUSY] otherwise." +"Like [method wait], but won't block, so if the value is zero, fails " +"immediately and returns [constant ERR_BUSY]. If non-zero, it returns " +"[constant OK] to report success." +msgstr "" + +#: doc/classes/Semaphore.xml +msgid "" +"Waits for the [Semaphore], if its value is zero, blocks until non-zero.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Separator.xml @@ -53504,7 +53736,21 @@ msgstr "" #: doc/classes/SpatialMaterial.xml msgid "" "If [code]true[/code], lighting is calculated per vertex rather than per " -"pixel. This may increase performance on low-end devices." +"pixel. This may increase performance on low-end devices, especially for " +"meshes with a lower polygon count. The downside is that shading becomes much " +"less accurate, with visible linear interpolation between vertices that are " +"joined together. This can be compensated by ensuring meshes have a " +"sufficient level of subdivision (but not too much, to avoid reducing " +"performance). Some material features are also not supported when vertex " +"shading is enabled.\n" +"See also [member ProjectSettings.rendering/quality/shading/" +"force_vertex_shading] which can globally enable vertex shading on all " +"materials.\n" +"[b]Note:[/b] By default, vertex shading is enforced on mobile platforms by " +"[member ProjectSettings.rendering/quality/shading/force_vertex_shading]'s " +"[code]mobile[/code] override.\n" +"[b]Note:[/b] [member flags_vertex_lighting] has no effect if [member " +"flags_unshaded] is [code]true[/code]." msgstr "" #: doc/classes/SpatialMaterial.xml @@ -54308,7 +54554,10 @@ msgid "" "the text alignment to right.\n" "See [Range] class for more options over the [SpinBox].\n" "[b]Note:[/b] [SpinBox] relies on an underlying [LineEdit] node. To theme a " -"[SpinBox]'s background, add theme items for [LineEdit] and customize them." +"[SpinBox]'s background, add theme items for [LineEdit] and customize them.\n" +"[b]Note:[/b] If you want to implement drag and drop for the underlying " +"[LineEdit], you can use [method Control.set_drag_forwarding] on the node " +"returned by [method get_line_edit]." msgstr "" #: doc/classes/SpinBox.xml @@ -55626,7 +55875,6 @@ msgid "" "print(\"1.7\".is_valid_float()) # Prints \"True\"\n" "print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"7e3\".is_valid_float()) # Prints \"True\"\n" -"print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55863,8 +56111,8 @@ msgid "" "var some_string = \"One,Two,Three,Four\"\n" "var some_array = some_string.rsplit(\",\", true, 1)\n" "print(some_array.size()) # Prints 2\n" -"print(some_array[0]) # Prints \"Four\"\n" -"print(some_array[1]) # Prints \"Three,Two,One\"\n" +"print(some_array[0]) # Prints \"One,Two,Three\"\n" +"print(some_array[1]) # Prints \"Four\"\n" "[/codeblock]" msgstr "" @@ -55897,9 +56145,9 @@ msgstr "" #: doc/classes/String.xml msgid "" "Returns the similarity index ([url=https://en.wikipedia.org/wiki/" -"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) this " -"string compared to another. 1.0 means totally similar and 0.0 means totally " -"dissimilar.\n" +"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) of " +"this string compared to another. A result of 1.0 means totally similar, " +"while 0.0 means totally dissimilar.\n" "[codeblock]\n" "print(\"ABC123\".similarity(\"ABC123\")) # Prints \"1\"\n" "print(\"ABC123\".similarity(\"XYZ456\")) # Prints \"0\"\n" @@ -57370,10 +57618,6 @@ msgid "" msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection begin column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection begin line." msgstr "" @@ -57382,10 +57626,6 @@ msgid "Returns the text inside the selection." msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection end column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection end line." msgstr "" @@ -58406,6 +58646,14 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Adds an empty theme type for every valid data type.\n" +"[b]Note:[/b] Empty types are not saved with the theme. This method only " +"exists to perform in-memory changes to the resource. Use available " +"[code]set_*[/code] methods to add theme items." +msgstr "" + +#: doc/classes/Theme.xml msgid "Clears all values on the theme." msgstr "" @@ -58665,6 +58913,13 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Removes the theme type, gracefully discarding defined theme items. If the " +"type is a variation, this information is also erased. If the type is a base " +"for type variations, those variations lose their base." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Renames the [Color] at [code]old_name[/code] to [code]name[/code] if the " "theme has [code]node_type[/code]. If [code]name[/code] is already taken, " "this method fails." @@ -71358,6 +71613,11 @@ msgid "" msgstr "" #: modules/websocket/doc_classes/WebSocketServer.xml +msgid "" +"Sets additional headers to be sent to clients during the HTTP handshake." +msgstr "" + +#: modules/websocket/doc_classes/WebSocketServer.xml msgid "Stops the server and clear its state." msgstr "" @@ -71453,6 +71713,9 @@ msgid "" "\n" " webxr_interface = ARVRServer.find_interface(\"WebXR\")\n" " if webxr_interface:\n" +" # Map to the standard button/axis ids when possible.\n" +" webxr_interface.xr_standard_mapping = true\n" +"\n" " # WebXR uses a lot of asynchronous callbacks, so we connect to " "various\n" " # signals in order to receive them.\n" @@ -71678,6 +71941,13 @@ msgstr "" #: modules/webxr/doc_classes/WebXRInterface.xml msgid "" +"If set to true, the button and axes ids will be converted to match the " +"standard ids used by other AR/VR interfaces, when possible.\n" +"Otherwise, the ids will be passed through unaltered from WebXR." +msgstr "" + +#: modules/webxr/doc_classes/WebXRInterface.xml +msgid "" "Emitted to indicate that the reference space has been reset or " "reconfigured.\n" "When (or whether) this is emitted depends on the user's browser or device, " diff --git a/doc/translations/fr.po b/doc/translations/fr.po index 2fb51cc467..99290efdf2 100644 --- a/doc/translations/fr.po +++ b/doc/translations/fr.po @@ -55,12 +55,13 @@ # Pierre-Alexandre Arènes <palex95870@gmail.com>, 2022. # KikooDX <kikoodx@paranoici.org>, 2022. # Kevin Bouancheau <kevin.bouancheau@gmail.com>, 2022. +# Maxim Lopez <maxim.lopez.02@gmail.com>, 2022. msgid "" msgstr "" "Project-Id-Version: Godot Engine class reference\n" "Report-Msgid-Bugs-To: https://github.com/godotengine/godot\n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2022-03-17 13:59+0000\n" +"PO-Revision-Date: 2022-04-25 15:12+0000\n" "Last-Translator: Maxime Leroy <lisacintosh@gmail.com>\n" "Language-Team: French <https://hosted.weblate.org/projects/godot-engine/" "godot-class-reference/fr/>\n" @@ -69,7 +70,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n > 1;\n" -"X-Generator: Weblate 4.12-dev\n" +"X-Generator: Weblate 4.12.1-dev\n" #: doc/tools/make_rst.py msgid "Description" @@ -133,7 +134,7 @@ msgstr "Défaut" #: doc/tools/make_rst.py msgid "Setter" -msgstr "" +msgstr "Setter" #: doc/tools/make_rst.py msgid "value" @@ -141,7 +142,7 @@ msgstr "valeur" #: doc/tools/make_rst.py msgid "Getter" -msgstr "" +msgstr "Getter" #: doc/tools/make_rst.py msgid "" @@ -3859,37 +3860,30 @@ msgid "Gamepad SDL miscellaneous button." msgstr "Bouton divers de la manette SDL." #: doc/classes/@GlobalScope.xml -#, fuzzy msgid "Gamepad SDL paddle 1 button." -msgstr "Bouton gauche du pavé directionnel du contrôleur de jeu SDL." +msgstr "Le bouton 1 du pavé directionnel de la manette SDL." #: doc/classes/@GlobalScope.xml -#, fuzzy msgid "Gamepad SDL paddle 2 button." -msgstr "Bouton gauche du pavé directionnel du contrôleur de jeu SDL." +msgstr "Le bouton 2 du pavé directionnel de la manette SDL." #: doc/classes/@GlobalScope.xml -#, fuzzy msgid "Gamepad SDL paddle 3 button." -msgstr "Bouton gauche du pavé directionnel du contrôleur de jeu SDL." +msgstr "Le bouton 3 du pavé directionnel de la manette SDL." #: doc/classes/@GlobalScope.xml -#, fuzzy msgid "Gamepad SDL paddle 4 button." -msgstr "Bouton gauche du pavé directionnel du contrôleur de jeu SDL." +msgstr "Le bouton 4 du pavé directionnel de la manette SDL." #: doc/classes/@GlobalScope.xml -#, fuzzy msgid "Gamepad SDL touchpad button." msgstr "Bouton haut du pavé directionnel du contrôleur de jeu SDL." #: doc/classes/@GlobalScope.xml -#, fuzzy msgid "Gamepad left Shoulder button." msgstr "Gâchette gauche de manette de jeu SDL." #: doc/classes/@GlobalScope.xml -#, fuzzy msgid "Gamepad left trigger." msgstr "Axe de la gâchette gauche de la manette." @@ -3898,7 +3892,6 @@ msgid "Gamepad left stick click." msgstr "Clic du stick gauche de la manette." #: doc/classes/@GlobalScope.xml -#, fuzzy msgid "Gamepad right Shoulder button." msgstr "Gâchette droite de manette de jeu SDL." @@ -3915,7 +3908,6 @@ msgid "Gamepad left stick horizontal axis." msgstr "Axe horizontal du stick gauche de la manette." #: doc/classes/@GlobalScope.xml -#, fuzzy msgid "Gamepad left stick vertical axis." msgstr "Axe X de la manette gauche du contrôleur de jeu." @@ -3924,7 +3916,6 @@ msgid "Gamepad right stick horizontal axis." msgstr "Axe horizontal du stick droite de la manette." #: doc/classes/@GlobalScope.xml -#, fuzzy msgid "Gamepad right stick vertical axis." msgstr "Axe X de la manette droite du contrôleur de jeu." @@ -3937,12 +3928,10 @@ msgid "Generic gamepad axis 5." msgstr "Axe 5 de la manette générique." #: doc/classes/@GlobalScope.xml -#, fuzzy msgid "Gamepad left trigger analog axis." msgstr "Axe du déclencheur gauche du contrôleur de jeu." #: doc/classes/@GlobalScope.xml -#, fuzzy msgid "Gamepad right trigger analog axis." msgstr "Axe du déclencheur gauche du contrôleur de jeu." @@ -3955,9 +3944,8 @@ msgid "Generic gamepad axis 9." msgstr "Axe 9 de la manette générique." #: doc/classes/@GlobalScope.xml -#, fuzzy msgid "Represents the maximum number of joystick axes supported." -msgstr "Nombre maximal de passes de tirage prises en charge." +msgstr "Représente le nombre maximum d'axes que le joystick supporte." #: doc/classes/@GlobalScope.xml msgid "Gamepad left analog trigger." @@ -4193,11 +4181,11 @@ msgstr "Fichier : Erreur d'impossibilité d'ouverture." #: doc/classes/@GlobalScope.xml msgid "File: Can't write error." -msgstr "Fichier: Erreur d'écriture." +msgstr "Fichier : Erreur d'écriture." #: doc/classes/@GlobalScope.xml msgid "File: Can't read error." -msgstr "Fichier: Erreur de lecture." +msgstr "Fichier : Erreur de lecture." #: doc/classes/@GlobalScope.xml msgid "File: Unrecognized error." @@ -4380,13 +4368,13 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" "Hints that an integer, float or string property is an enumerated value to " -"pick in a list specified via a hint string such as [code]\"Hello,Something," -"Else\"[/code]." +"pick in a list specified via a hint string.\n" +"The hint string is a comma separated list of names such as [code]\"Hello," +"Something,Else\"[/code]. For integer and float properties, the first name in " +"the list has value 0, the next 1, and so on. Explicit values can also be " +"specified by appending [code]:integer[/code] to the name, e.g. [code]\"Zero," +"One,Three:3,Four,Six:6\"[/code]." msgstr "" -"Indique qu'une propriété nombre entier, décimal ou chaîne de caractères est " -"une valeur énumérée qui doit être choisie depuis une liste spécifiée par une " -"chaine de caractères d'indication telle que [code]\"Bonjour,Truc," -"AutreTruc\"[/code]." #: doc/classes/@GlobalScope.xml msgid "" @@ -4572,7 +4560,8 @@ msgid "The property is a translatable string." msgstr "La propriété est une chaîne de caractères traduisible." #: doc/classes/@GlobalScope.xml -msgid "Used to group properties together in the editor." +#, fuzzy +msgid "Used to group properties together in the editor. See [EditorInspector]." msgstr "Utilisé pour rassembler des propriétés ensemble dans l'éditeur." #: doc/classes/@GlobalScope.xml @@ -4713,46 +4702,39 @@ msgstr "La variable est de type [Object]." #: doc/classes/@GlobalScope.xml msgid "Variable is of type [Dictionary]." -msgstr "Variable est de type [Dictionary]." +msgstr "La variable est de type [Dictionary]." #: doc/classes/@GlobalScope.xml msgid "Variable is of type [Array]." -msgstr "Variable est de type [Array]." +msgstr "La variable est de type [Array]." #: doc/classes/@GlobalScope.xml -#, fuzzy msgid "Variable is of type [PoolByteArray]." -msgstr "Variable est de type [PackedByteArray]." +msgstr "La variable est de type [PoolByteArray]." #: doc/classes/@GlobalScope.xml -#, fuzzy msgid "Variable is of type [PoolIntArray]." -msgstr "Variable est de type [Array]." +msgstr "La variable est de type [PoolIntArray]." #: doc/classes/@GlobalScope.xml -#, fuzzy msgid "Variable is of type [PoolRealArray]." -msgstr "Variable est de type [Array]." +msgstr "Le variable est de type [PoolRealArray]." #: doc/classes/@GlobalScope.xml -#, fuzzy msgid "Variable is of type [PoolStringArray]." -msgstr "Variable est de type [PackedStringArray]." +msgstr "La variable est de type [PoolStringArray]." #: doc/classes/@GlobalScope.xml -#, fuzzy msgid "Variable is of type [PoolVector2Array]." -msgstr "Variable est de type [PackedVector2Array]." +msgstr "La variable est de type [PoolVector2Array]." #: doc/classes/@GlobalScope.xml -#, fuzzy msgid "Variable is of type [PoolVector3Array]." -msgstr "Variable est de type [PackedVector3Array]." +msgstr "La variable est de type [PoolVector3Array]." #: doc/classes/@GlobalScope.xml -#, fuzzy msgid "Variable is of type [PoolColorArray]." -msgstr "Variable est de type [PackedColorArray]." +msgstr "La variable est de type [PoolColorArray]." #: doc/classes/@GlobalScope.xml msgid "Represents the size of the [enum Variant.Type] enum." @@ -4760,51 +4742,51 @@ msgstr "Représente la taille de l'énumération [enum Variant.Type]." #: doc/classes/@GlobalScope.xml msgid "Equality operator ([code]==[/code])." -msgstr "Opérateur d’égalité ([code]==[/code])." +msgstr "L'opérateur d’égalité ([code]==[/code])." #: doc/classes/@GlobalScope.xml msgid "Inequality operator ([code]!=[/code])." -msgstr "Opérateur d’inégalité ([code]!=[/code])." +msgstr "L'opérateur d’inégalité ([code]!=[/code])." #: doc/classes/@GlobalScope.xml msgid "Less than operator ([code]<[/code])." -msgstr "Opérateur inférieur à ([code]<[/code])." +msgstr "L'opérateur inférieur à ([code]<[/code])." #: doc/classes/@GlobalScope.xml msgid "Less than or equal operator ([code]<=[/code])." -msgstr "Opérateur inférieur ou égal ([code]<=[/code])." +msgstr "L'opérateur inférieur ou égal ([code]<=[/code])." #: doc/classes/@GlobalScope.xml msgid "Greater than operator ([code]>[/code])." -msgstr "Opérateur supérieur à ([code]>[/code])." +msgstr "L'opérateur supérieur à ([code]>[/code])." #: doc/classes/@GlobalScope.xml msgid "Greater than or equal operator ([code]>=[/code])." -msgstr "Opérateur supérieur ou égal ([code]>=[/code])." +msgstr "L'opérateur supérieur ou égal ([code]>=[/code])." #: doc/classes/@GlobalScope.xml msgid "Addition operator ([code]+[/code])." -msgstr "Opérateur d’addition ([code]+[/code])." +msgstr "L'opérateur d’addition ([code]+[/code])." #: doc/classes/@GlobalScope.xml msgid "Subtraction operator ([code]-[/code])." -msgstr "Opérateur de soustraction ([code]-[/code])." +msgstr "L'opérateur de soustraction ([code]-[/code])." #: doc/classes/@GlobalScope.xml msgid "Multiplication operator ([code]*[/code])." -msgstr "Opérateur de multiplication ([code]*[/code])." +msgstr "L'opérateur de multiplication ([code]*[/code])." #: doc/classes/@GlobalScope.xml msgid "Division operator ([code]/[/code])." -msgstr "Opérateur de division ([code]/[/code])." +msgstr "L'opérateur de division ([code]/[/code])." #: doc/classes/@GlobalScope.xml msgid "Unary negation operator ([code]-[/code])." -msgstr "Opérateur de négation unaire ([code]-[/code])." +msgstr "L'opérateur de négation unaire ([code]-[/code])." #: doc/classes/@GlobalScope.xml msgid "Unary plus operator ([code]+[/code])." -msgstr "Opérateur d'addition unaire ([code]+[/code])." +msgstr "L'opérateur d'addition unaire ([code]+[/code])." #: doc/classes/@GlobalScope.xml msgid "Remainder/modulo operator ([code]%[/code])." @@ -4840,11 +4822,11 @@ msgstr "Opérateur binaire NON ([code]~[/code])." #: doc/classes/@GlobalScope.xml msgid "Logical AND operator ([code]and[/code] or [code]&&[/code])." -msgstr "Opérateur logique ET ([code]and[/code] or [code]&&[/code])." +msgstr "L'opérateur logique ET ([code]and[/code] or [code]&&[/code])." #: doc/classes/@GlobalScope.xml msgid "Logical OR operator ([code]or[/code] or [code]||[/code])." -msgstr "Opérateur logique OU ([code]or[/code] or [code]||[/code])." +msgstr "L'opérateur logique OU ([code]or[/code] or [code]||[/code])." #: doc/classes/@GlobalScope.xml msgid "Logical XOR operator (not implemented in GDScript)." @@ -4852,7 +4834,7 @@ msgstr "Opérateur logique OU exclusif (XOR) (non implémenté dans le GDScript) #: doc/classes/@GlobalScope.xml msgid "Logical NOT operator ([code]not[/code] or [code]![/code])." -msgstr "Opérateur logique NON ([code]not[/code] or [code]![/code])." +msgstr "L'opérateur logique NON ([code]not[/code] or [code]![/code])." #: doc/classes/@GlobalScope.xml msgid "Logical IN operator ([code]in[/code])." @@ -4887,16 +4869,13 @@ msgstr "" #: doc/classes/AABB.xml doc/classes/Rect2.xml doc/classes/Vector2.xml #: doc/classes/Vector3.xml -#, fuzzy msgid "Vector math" -msgstr "" -"Vecteur utilisé pour les mathématiques 2D utilisant des coordonnées " -"d'entiers." +msgstr "Mathématiques des vecteurs" #: doc/classes/AABB.xml doc/classes/Rect2.xml doc/classes/Vector2.xml #: doc/classes/Vector3.xml msgid "Advanced vector math" -msgstr "" +msgstr "Mathématiques avancées des vecteurs" #: doc/classes/AABB.xml msgid "Constructs an [AABB] from a position and size." @@ -5515,9 +5494,8 @@ msgid "Returns the given frame's delay value." msgstr "Retourne la valeur du délai de la trame donnée." #: doc/classes/AnimatedTexture.xml -#, fuzzy msgid "Returns the given frame's [Texture]." -msgstr "Retourne la [Texture2D] de l'image donnée." +msgstr "Retourne la trame spécifiée pour cette [Texture]." #: doc/classes/AnimatedTexture.xml msgid "" @@ -6356,9 +6334,8 @@ msgstr "" "affiche l'édition de filtre sur ce nœud." #: doc/classes/AnimationNode.xml -#, fuzzy msgid "Returns whether the given path is filtered." -msgstr "Retourne [code]true[/code] si un chemin donné est filtré." +msgstr "Retourne quand un chemin donné est filtré." #: doc/classes/AnimationNode.xml msgid "" @@ -6867,8 +6844,11 @@ msgstr "" #: doc/classes/AnimationNodeBlendTree.xml msgid "" -"This node may contain a sub-tree of any other blend type nodes, such as mix, " -"blend2, blend3, one shot, etc. This is one of the most commonly used roots." +"This node may contain a sub-tree of any other blend type nodes, such as " +"[AnimationNodeTransition], [AnimationNodeBlend2], [AnimationNodeBlend3], " +"[AnimationNodeOneShot], etc. This is one of the most commonly used roots.\n" +"An [AnimationNodeOutput] node named [code]output[/code] is created by " +"default." msgstr "" #: doc/classes/AnimationNodeBlendTree.xml @@ -6928,7 +6908,6 @@ msgid "The input node is [code]null[/code]." msgstr "Le nœud d'entrée est [code]null[/code]." #: doc/classes/AnimationNodeBlendTree.xml -#, fuzzy msgid "The specified input port is out of range." msgstr "Le port d’entrée spécifié est hors de portée." @@ -7028,13 +7007,14 @@ msgstr "Retourne le nœud final du graphe." #: doc/classes/AnimationNodeStateMachine.xml msgid "Returns the draw offset of the graph. Used for display in the editor." msgstr "" +"Retourne le décalage de l'affichage du graphe. Utilisé pour l'affichage dans " +"l'éditeur." #: doc/classes/AnimationNodeStateMachine.xml msgid "Returns the animation node with the given name." -msgstr "" +msgstr "Retourne le nœud d'animation avec le nom donné." #: doc/classes/AnimationNodeStateMachine.xml -#, fuzzy msgid "Returns the given animation node's name." msgstr "Retourne le nom du nœud d'animation donné." @@ -7060,7 +7040,7 @@ msgstr "Retourne le nœud de fin de la transition donnée." #: doc/classes/AnimationNodeStateMachine.xml msgid "Returns [code]true[/code] if the graph contains the given node." -msgstr "" +msgstr "Retourne [code]true[/code] si le graphe contient le nœud spécifié." #: doc/classes/AnimationNodeStateMachine.xml msgid "" @@ -7069,11 +7049,11 @@ msgstr "" #: doc/classes/AnimationNodeStateMachine.xml msgid "Deletes the given node from the graph." -msgstr "" +msgstr "Supprime le nœud donné du graphe." #: doc/classes/AnimationNodeStateMachine.xml msgid "Deletes the transition between the two specified nodes." -msgstr "" +msgstr "Supprime la transition entre les deux nœuds spécifiés." #: doc/classes/AnimationNodeStateMachine.xml msgid "Deletes the given transition by index." @@ -7085,15 +7065,17 @@ msgstr "Renomme le nœud donné." #: doc/classes/AnimationNodeStateMachine.xml msgid "Replaces the node and keeps its transitions unchanged." -msgstr "" +msgstr "Remplace le nœud et garde sa transition non changée." #: doc/classes/AnimationNodeStateMachine.xml msgid "Sets the given node as the graph end point." -msgstr "" +msgstr "Définit le nœud spécifié comme fin du graph." #: doc/classes/AnimationNodeStateMachine.xml msgid "Sets the draw offset of the graph. Used for display in the editor." msgstr "" +"Définit le décalage de l'affichage du graphe. Utilisé pour l'affichage dans " +"l'éditeur." #: doc/classes/AnimationNodeStateMachine.xml msgid "Sets the node's coordinates. Used for display in the editor." @@ -7101,12 +7083,11 @@ msgstr "" #: doc/classes/AnimationNodeStateMachine.xml msgid "Sets the given node as the graph start point." -msgstr "" +msgstr "Définit le nœud spécifié comme départ du graph." #: doc/classes/AnimationNodeStateMachinePlayback.xml -#, fuzzy msgid "Playback control for [AnimationNodeStateMachine]." -msgstr "Contrôle de lecture pour [AnimationNodeStateMachine]." +msgstr "Contrôle de la lecture des [AnimationNodeStateMachine]." #: doc/classes/AnimationNodeStateMachinePlayback.xml msgid "" @@ -7125,9 +7106,8 @@ msgid "Returns the currently playing animation state." msgstr "Retourne l'actuel état d'animation joué." #: doc/classes/AnimationNodeStateMachinePlayback.xml -#, fuzzy msgid "Returns the playback position within the current animation state." -msgstr "Retourne la position globale de la souris." +msgstr "Retourne la position de lecture pour l'état actuel de l'animation." #: doc/classes/AnimationNodeStateMachinePlayback.xml msgid "" @@ -7138,7 +7118,7 @@ msgstr "" #: doc/classes/AnimationNodeStateMachinePlayback.xml msgid "Returns [code]true[/code] if an animation is playing." -msgstr "" +msgstr "Retourne [code]true[/code] si une animation est en lecture." #: doc/classes/AnimationNodeStateMachinePlayback.xml msgid "Starts playing the given animation." @@ -7220,6 +7200,7 @@ msgstr "" #: doc/classes/AnimationNodeTimeScale.xml msgid "A time-scaling animation node to be used with [AnimationTree]." msgstr "" +"Un nœud d'animation qui étire le temps à utiliser avec un [AnimationTree]." #: doc/classes/AnimationNodeTimeScale.xml msgid "" @@ -7230,6 +7211,8 @@ msgstr "" #: doc/classes/AnimationNodeTimeSeek.xml msgid "A time-seeking animation node to be used with [AnimationTree]." msgstr "" +"Un nœud d'animation de déplacement du temps à utiliser avec un " +"[AnimationTree]." #: doc/classes/AnimationNodeTimeSeek.xml msgid "" @@ -7254,7 +7237,7 @@ msgstr "" #: doc/classes/AnimationNodeTransition.xml msgid "A generic animation transition node for [AnimationTree]." -msgstr "" +msgstr "Une nœud d'animation de transition générique pour [AnimationTree]." #: doc/classes/AnimationNodeTransition.xml msgid "" @@ -7265,7 +7248,7 @@ msgstr "" #: doc/classes/AnimationNodeTransition.xml msgid "The number of available input ports for this node." -msgstr "" +msgstr "Le nombre de ports d'entrée disponibles pour ce nœud." #: doc/classes/AnimationNodeTransition.xml msgid "" @@ -7274,7 +7257,6 @@ msgid "" msgstr "" #: doc/classes/AnimationPlayer.xml -#, fuzzy msgid "Container and player of [Animation] resources." msgstr "Conteneur et lecteur de ressources [Animation]." @@ -7343,13 +7325,15 @@ msgstr "" #: doc/classes/AnimationPlayer.xml msgid "Returns the list of stored animation names." -msgstr "" +msgstr "Retourne la liste des noms des animations stockées." #: doc/classes/AnimationPlayer.xml msgid "" "Gets the blend time (in seconds) between two animations, referenced by their " "names." msgstr "" +"Retourne le temps de transition (en secondes) entre deux animations, " +"spécifiées par leur nom." #: doc/classes/AnimationPlayer.xml msgid "" @@ -7363,6 +7347,8 @@ msgstr "" msgid "" "Returns a list of the animation names that are currently queued to play." msgstr "" +"Retourne la liste des noms d'animation qui sont actuellement dans la file de " +"lecture." #: doc/classes/AnimationPlayer.xml msgid "" @@ -7416,6 +7402,8 @@ msgid "" "Renames an existing animation with key [code]name[/code] to [code]newname[/" "code]." msgstr "" +"Renomme une animation existante avec la clé [code]name[/code] en " +"[code]newname[/code]." #: doc/classes/AnimationPlayer.xml msgid "" @@ -7430,6 +7418,8 @@ msgid "" "Specifies a blend time (in seconds) between two animations, referenced by " "their names." msgstr "" +"Définit le temps de transition (en secondes) entre deux animations, " +"spécifiées par leur nom." #: doc/classes/AnimationPlayer.xml msgid "" @@ -7467,11 +7457,11 @@ msgstr "" #: doc/classes/AnimationPlayer.xml msgid "The length (in seconds) of the currently being played animation." -msgstr "" +msgstr "La durée (en secondes) de l'animation actuellement jouée." #: doc/classes/AnimationPlayer.xml msgid "The position (in seconds) of the currently playing animation." -msgstr "" +msgstr "La position (en secondes) de l'animation actuellement jouée." #: doc/classes/AnimationPlayer.xml msgid "The call mode to use for Call Method tracks." @@ -7566,6 +7556,8 @@ msgstr "" #: doc/classes/AnimationPlayer.xml msgid "Make method calls immediately when reached in the animation." msgstr "" +"Appelle la méthode aussitôt qu'elle est précisée lors de la lecture de " +"l'animation." #: doc/classes/AnimationTree.xml msgid "" @@ -7585,13 +7577,13 @@ msgid "" msgstr "" #: doc/classes/AnimationTree.xml -#, fuzzy msgid "Using AnimationTree" -msgstr "Réinitialise cet [AnimationTreePlayer]." +msgstr "Utiliser les AnimationTree" #: doc/classes/AnimationTree.xml msgid "Manually advance the animations by the specified time (in seconds)." msgstr "" +"Avance manuellement les animations par le temps spécifié (en secondes)." #: doc/classes/AnimationTree.xml msgid "" @@ -7603,7 +7595,7 @@ msgstr "" #: doc/classes/AnimationTree.xml msgid "If [code]true[/code], the [AnimationTree] will be processing." -msgstr "" +msgstr "Si [code]true[/code], le [AnimationTree] sera actif." #: doc/classes/AnimationTree.xml msgid "The path to the [AnimationPlayer] used for animating." @@ -7640,6 +7632,7 @@ msgstr "" #: doc/classes/AnimationTree.xml msgid "The root animation node of this [AnimationTree]. See [AnimationNode]." msgstr "" +"Le nœud d'animation racine de cet [AnimationTree]. Voir [AnimationNode]." #: doc/classes/AnimationTree.xml msgid "" @@ -7656,6 +7649,8 @@ msgstr "" #: doc/classes/AnimationTree.xml msgid "The animations will only progress manually (see [method advance])." msgstr "" +"Les animations devront être mises à jour manuellement (voir [method " +"advance])." #: doc/classes/AnimationTreePlayer.xml msgid "" @@ -7700,11 +7695,12 @@ msgid "" msgstr "" #: doc/classes/AnimationTreePlayer.xml -#, fuzzy msgid "" "Returns the absolute playback timestamp of the animation node with name " "[code]id[/code]." -msgstr "Retourne le nom du nœud à [code]idx[/code]." +msgstr "" +"Retourne la position temporaire absolue du nœud d'animation avec le nom " +"[code]id[/code]." #: doc/classes/AnimationTreePlayer.xml msgid "" @@ -7798,7 +7794,7 @@ msgstr "" #: doc/classes/AnimationTreePlayer.xml msgid "Returns a [PoolStringArray] containing the name of all nodes." -msgstr "" +msgstr "Retourne un [PoolStringArray] contenant le nom de tous les nœuds." #: doc/classes/AnimationTreePlayer.xml #, fuzzy @@ -7813,7 +7809,7 @@ msgstr "" #: doc/classes/AnimationTreePlayer.xml msgid "Check if a node exists (by name)." -msgstr "" +msgstr "Vérifie si un nœud existe (par son nom)." #: doc/classes/AnimationTreePlayer.xml msgid "" @@ -7838,9 +7834,8 @@ msgid "Gets the node type, will return from [enum NodeType] enum." msgstr "" #: doc/classes/AnimationTreePlayer.xml -#, fuzzy msgid "Renames a node in the graph." -msgstr "Retourne une nouvelle instance du scénario." +msgstr "Renomme un nœud du graphe." #: doc/classes/AnimationTreePlayer.xml #, fuzzy @@ -8029,10 +8024,11 @@ msgstr "" "par [code]to_idx[/code]." #: doc/classes/AnimationTreePlayer.xml -#, fuzzy msgid "" "If [code]true[/code], the [AnimationTreePlayer] is able to play animations." -msgstr "Si [code]true[/code], le [member animation] joue présentement." +msgstr "" +"Si [code]true[/code], le [AnimationTreePlayer] est capable de jouer des " +"animations." #: doc/classes/AnimationTreePlayer.xml msgid "" @@ -8050,7 +8046,7 @@ msgstr "" #: doc/classes/AnimationTreePlayer.xml msgid "The thread in which to update animations." -msgstr "" +msgstr "Le fil d'exécution qui met à jour les animations." #: doc/classes/AnimationTreePlayer.xml msgid "Output node." @@ -8061,7 +8057,6 @@ msgid "Animation node." msgstr "Nœud d'animation." #: doc/classes/AnimationTreePlayer.xml -#, fuzzy msgid "OneShot node." msgstr "Nœud à lancement unique (OneShot)." @@ -8070,27 +8065,22 @@ msgid "Mix node." msgstr "Nœud de mixage." #: doc/classes/AnimationTreePlayer.xml -#, fuzzy msgid "Blend2 node." msgstr "Nœud de mélange à 2 entrées (Blend2)." #: doc/classes/AnimationTreePlayer.xml -#, fuzzy msgid "Blend3 node." msgstr "Nœud de mélange à 3 entrées (Blend3)." #: doc/classes/AnimationTreePlayer.xml -#, fuzzy msgid "Blend4 node." msgstr "Nœud de mélange à 4 entrées (Blend4)." #: doc/classes/AnimationTreePlayer.xml -#, fuzzy msgid "TimeScale node." msgstr "Nœud d'étirement du temps (TimeScale)." #: doc/classes/AnimationTreePlayer.xml -#, fuzzy msgid "TimeSeek node." msgstr "Nœud de positionnement temporel (TimeSeek)." @@ -8163,7 +8153,7 @@ msgstr "" #: doc/classes/Area.xml doc/classes/Area2D.xml msgid "The name of the area's audio bus." -msgstr "" +msgstr "Le nom du bus audio de l'aire." #: doc/classes/Area.xml doc/classes/Area2D.xml msgid "" @@ -8216,6 +8206,8 @@ msgstr "" #: doc/classes/Area.xml doc/classes/Area2D.xml msgid "The area's priority. Higher priority areas are processed first." msgstr "" +"La priorité de l'aire. Les aires de plus hautes priorités seront gérées en " +"premier." #: doc/classes/Area.xml msgid "" @@ -8348,7 +8340,7 @@ msgstr "" #: doc/classes/Area2D.xml msgid "Using Area2D" -msgstr "" +msgstr "Utiliser les Area2D" #: doc/classes/Area2D.xml doc/classes/CollisionShape2D.xml #: doc/classes/RectangleShape2D.xml @@ -8524,9 +8516,8 @@ msgid "" msgstr "" #: doc/classes/Array.xml -#, fuzzy msgid "A generic array datatype." -msgstr "Type de données de tableau générique." +msgstr "Le type de données d'un tableau générique." #: doc/classes/Array.xml msgid "" @@ -8562,51 +8553,32 @@ msgid "" msgstr "" #: doc/classes/Array.xml -#, fuzzy msgid "Constructs an array from a [PoolColorArray]." -msgstr "" -"Construit une nouvelle chaîne de caractères à partir du [PackedColorArray] " -"donné." +msgstr "Construit an tableau à partir d'un [PoolColorArray]." #: doc/classes/Array.xml -#, fuzzy msgid "Constructs an array from a [PoolVector3Array]." -msgstr "" -"Construit une nouvelle chaîne de caractères à partir du [PackedVector3Array] " -"donné." +msgstr "Construit an tableau à partir d'un [PoolVector3Array]." #: doc/classes/Array.xml -#, fuzzy msgid "Constructs an array from a [PoolVector2Array]." -msgstr "" -"Construit une nouvelle chaîne de caractères à partir du [PackedVector2Array] " -"donné." +msgstr "Construit an tableau à partir d'un [PoolVector2Array]." #: doc/classes/Array.xml -#, fuzzy msgid "Constructs an array from a [PoolStringArray]." -msgstr "" -"Construit une nouvelle chaîne de caractères à partir du [PackedStringArray] " -"donné." +msgstr "Construit an tableau à partir d'un [PoolStringArray]." #: doc/classes/Array.xml -#, fuzzy msgid "Constructs an array from a [PoolRealArray]." -msgstr "Construit une nouvelle chaîne de caractères à partir du [Array] donné." +msgstr "Construit an tableau à partir d'un [PoolRealArray]." #: doc/classes/Array.xml -#, fuzzy msgid "Constructs an array from a [PoolIntArray]." -msgstr "" -"Construit une nouvelle chaîne de caractères à partir du [PackedInt32Array] " -"donné." +msgstr "Construit an tableau à partir d'un [PoolIntArray]." #: doc/classes/Array.xml -#, fuzzy msgid "Constructs an array from a [PoolByteArray]." -msgstr "" -"Construit une nouvelle chaîne de caractères à partir du [PackedByteArray] " -"donné." +msgstr "Construit an tableau à partir d'un [PoolByteArray]." #: doc/classes/Array.xml doc/classes/PoolByteArray.xml #: doc/classes/PoolColorArray.xml doc/classes/PoolIntArray.xml @@ -8615,6 +8587,8 @@ msgstr "" msgid "" "Appends an element at the end of the array (alias of [method push_back])." msgstr "" +"Ajoute un élément à la fin du tableau (c'est un raccourci vers [method " +"push_back])." #: doc/classes/Array.xml msgid "" @@ -8712,12 +8686,13 @@ msgstr "" #: doc/classes/PoolRealArray.xml doc/classes/PoolStringArray.xml #: doc/classes/PoolVector2Array.xml doc/classes/PoolVector3Array.xml msgid "Returns [code]true[/code] if the array is empty." -msgstr "" +msgstr "Retourne [code]true[/code] si le tableau est vide." #: doc/classes/Array.xml msgid "" -"Removes the first occurrence of a value from the array. To remove an element " -"by index, use [method remove] instead.\n" +"Removes the first occurrence of a value from the array. If the value does " +"not exist in the array, nothing happens. To remove an element by index, use " +"[method remove] instead.\n" "[b]Note:[/b] This method acts in-place and doesn't return a value.\n" "[b]Note:[/b] On large arrays, this method will be slower if the removed " "element is close to the beginning of the array (index 0). This is because " @@ -8792,7 +8767,7 @@ msgstr "" #: doc/classes/PoolRealArray.xml doc/classes/PoolStringArray.xml #: doc/classes/PoolVector2Array.xml doc/classes/PoolVector3Array.xml msgid "Reverses the order of the elements in the array." -msgstr "" +msgstr "Inverse l'ordre des éléments du tableau." #: doc/classes/Array.xml msgid "" @@ -8889,7 +8864,7 @@ msgstr "" #: doc/classes/PoolRealArray.xml doc/classes/PoolStringArray.xml #: doc/classes/PoolVector2Array.xml doc/classes/PoolVector3Array.xml msgid "Returns the number of elements in the array." -msgstr "" +msgstr "Retourne le nombre d'éléments dans le tableau." #: doc/classes/Array.xml msgid "" @@ -9046,7 +9021,7 @@ msgstr "" #: doc/classes/ArrayMesh.xml msgid "Gets the name assigned to this surface." -msgstr "" +msgstr "Retourne le nom assigné à cette surface." #: doc/classes/ArrayMesh.xml msgid "" @@ -9062,7 +9037,7 @@ msgstr "" #: doc/classes/ArrayMesh.xml msgid "Sets a name for a given surface." -msgstr "" +msgstr "Définit le nom donné à cette surface." #: doc/classes/ArrayMesh.xml msgid "" @@ -9088,16 +9063,17 @@ msgstr "" #: doc/classes/ArrayMesh.xml msgid "Amount of weights/bone indices per vertex (always 4)." -msgstr "" +msgstr "La quantité d'indices de poids/os par sommet (toujours 4)." #: doc/classes/ArrayMesh.xml msgid "[PoolVector3Array], [PoolVector2Array], or [Array] of vertex positions." msgstr "" +"Un [PoolVector3Array], [PoolVector2Array], ou [Array] avec la position des " +"sommets." #: doc/classes/ArrayMesh.xml -#, fuzzy msgid "[PoolVector3Array] of vertex normals." -msgstr "[PackedVector3Array] des normales de sommet." +msgstr "Le [PoolVector3Array] des normales des sommets." #: doc/classes/ArrayMesh.xml msgid "" @@ -9107,19 +9083,16 @@ msgid "" msgstr "" #: doc/classes/ArrayMesh.xml -#, fuzzy msgid "[PoolColorArray] of vertex colors." -msgstr "[PackedColorArray] des couleurs de sommet." +msgstr "Le [PoolColorArray] des couleurs des sommets." #: doc/classes/ArrayMesh.xml -#, fuzzy msgid "[PoolVector2Array] for UV coordinates." -msgstr "[PackedVector2Array] pour les coordonnées UV." +msgstr "Le [PoolVector2Array] pour les coordonnées UV." #: doc/classes/ArrayMesh.xml -#, fuzzy msgid "[PoolVector2Array] for second UV coordinates." -msgstr "[PackedVector2Array] pour les secondes coordonnées UV." +msgstr "[PoolVector2Array] pour les secondes coordonnées UV." #: doc/classes/ArrayMesh.xml msgid "" @@ -9678,15 +9651,17 @@ msgstr "" #: doc/classes/ARVRPositionalTracker.xml msgid "Returns [code]true[/code] if this device tracks orientation." -msgstr "" +msgstr "Retourne [code]true[/code] si l'appareil détecte l'orientation." #: doc/classes/ARVRPositionalTracker.xml msgid "Returns [code]true[/code] if this device tracks position." -msgstr "" +msgstr "Retourne [code]true[/code] si l'appareil détecte la position." #: doc/classes/ARVRPositionalTracker.xml msgid "Returns the transform combining this device's orientation and position." msgstr "" +"Retourne la transformation combinant l'orientation et la position de " +"l'appareil." #: doc/classes/ARVRPositionalTracker.xml msgid "Returns the tracker's type." @@ -9724,7 +9699,7 @@ msgstr "" #: doc/classes/ARVRServer.xml msgid "Registers an [ARVRInterface] object." -msgstr "" +msgstr "Enregistre un objet [ARVRInterface]." #: doc/classes/ARVRServer.xml msgid "" @@ -9834,13 +9809,12 @@ msgid "Removes this interface." msgstr "Supprime cette interface." #: doc/classes/ARVRServer.xml -#, fuzzy msgid "Removes this positional tracker." -msgstr "Renvoie le traqueur de position à l'identification donnée." +msgstr "Supprime ce traqueur de position." #: doc/classes/ARVRServer.xml msgid "The primary [ARVRInterface] currently bound to the [ARVRServer]." -msgstr "" +msgstr "La [ARVRInterface] actuellement connectée à ce [ARVRServer]." #: doc/classes/ARVRServer.xml msgid "" @@ -9929,8 +9903,9 @@ msgstr "" "position du joueur." #: doc/classes/AspectRatioContainer.xml +#, fuzzy msgid "Container that preserves its child controls' aspect ratio." -msgstr "" +msgstr "Un conteneur qui préserve le ratio d'aspect des contrôles enfants." #: doc/classes/AspectRatioContainer.xml msgid "" @@ -9958,7 +9933,7 @@ msgstr "" #: doc/classes/AspectRatioContainer.xml msgid "The stretch mode used to align child controls." -msgstr "" +msgstr "Le mode d'étirement utilisé pour aligner les contrôles enfants." #: doc/classes/AspectRatioContainer.xml msgid "" @@ -10330,7 +10305,7 @@ msgstr "" #: doc/classes/AStar2D.xml msgid "Deletes the segment between the given points." -msgstr "" +msgstr "Supprime le segment entre les points donnés." #: doc/classes/AStar2D.xml msgid "" @@ -10491,7 +10466,7 @@ msgstr "" #: doc/classes/AudioEffectBandLimitFilter.xml msgid "Adds a band limit filter to the audio bus." -msgstr "" +msgstr "Ajouter un filtre limiteur de bande au bus audio." #: doc/classes/AudioEffectBandLimitFilter.xml msgid "" @@ -10501,7 +10476,7 @@ msgstr "" #: doc/classes/AudioEffectBandPassFilter.xml msgid "Adds a band pass filter to the audio bus." -msgstr "" +msgstr "Ajouter un passe-bande au bus audio." #: doc/classes/AudioEffectBandPassFilter.xml msgid "" @@ -10511,7 +10486,7 @@ msgstr "" #: doc/classes/AudioEffectCapture.xml msgid "Captures audio from an audio bus in real-time." -msgstr "" +msgstr "Capture l'audio depuis un bus audio en temps réel." #: doc/classes/AudioEffectCapture.xml msgid "" @@ -10532,9 +10507,8 @@ msgstr "" "être lues dans la mémoire en anneau interne." #: doc/classes/AudioEffectCapture.xml -#, fuzzy msgid "Clears the internal ring buffer." -msgstr "Efface la bibliothèque." +msgstr "Efface la mémoire tampon interne en anneaux." #: doc/classes/AudioEffectCapture.xml msgid "" @@ -10588,7 +10562,6 @@ msgid "The effect's raw signal." msgstr "Le signal brut de l’effet." #: doc/classes/AudioEffectChorus.xml -#, fuzzy msgid "The voice's cutoff frequency." msgstr "La fréquence limite de la voix." @@ -10773,11 +10746,11 @@ msgstr "" #: doc/classes/AudioEffectHighShelfFilter.xml #: doc/classes/AudioEffectLowShelfFilter.xml doc/classes/AudioServer.xml msgid "Audio buses" -msgstr "" +msgstr "Bus audio" #: doc/classes/AudioEffectDistortion.xml msgid "Distortion power. Value can range from 0 to 1." -msgstr "" +msgstr "L'intensité de la distorsion. Cette valeur est comprise entre 0 et 1." #: doc/classes/AudioEffectDistortion.xml msgid "" @@ -10931,20 +10904,19 @@ msgstr "" #: doc/classes/AudioEffectFilter.xml msgid "Adds a filter to the audio bus." -msgstr "" +msgstr "Ajoute un filtre au bus audio." #: doc/classes/AudioEffectFilter.xml msgid "Allows frequencies other than the [member cutoff_hz] to pass." -msgstr "" +msgstr "Autorise les fréquences autres que [membre cutoff_hz] à passer." #: doc/classes/AudioEffectFilter.xml msgid "Threshold frequency for the filter, in Hz." msgstr "" #: doc/classes/AudioEffectFilter.xml -#, fuzzy msgid "Gain amount of the frequencies after the filter." -msgstr "Valeur du gain de fréquences après le filtre." +msgstr "La valeur du gain de fréquences après le filtre." #: doc/classes/AudioEffectFilter.xml #, fuzzy @@ -10954,17 +10926,21 @@ msgstr "" #: doc/classes/AudioEffectHighPassFilter.xml msgid "Adds a high-pass filter to the Audio Bus." -msgstr "" +msgstr "Ajouter un filtre passe-haut au bus audio." #: doc/classes/AudioEffectHighPassFilter.xml msgid "" "Cuts frequencies lower than the [member AudioEffectFilter.cutoff_hz] and " "allows higher frequencies to pass." msgstr "" +"Supprime les fréquences inférieures à [member AudioEffectFilter.cutoff_hz] " +"et laisse passer les fréquences supérieures." #: doc/classes/AudioEffectHighShelfFilter.xml msgid "Reduces all frequencies above the [member AudioEffectFilter.cutoff_hz]." msgstr "" +"Réduit toutes les fréquences au-dessus de [member AudioEffectFilter." +"cutoff_hz]." #: doc/classes/AudioEffectLimiter.xml msgid "Adds a soft-clip limiter audio effect to an Audio bus." @@ -11000,17 +10976,21 @@ msgstr "" #: doc/classes/AudioEffectLowPassFilter.xml msgid "Adds a low-pass filter to the Audio bus." -msgstr "" +msgstr "Ajouter un filtre passe-bas au bus audio." #: doc/classes/AudioEffectLowPassFilter.xml msgid "" "Cuts frequencies higher than the [member AudioEffectFilter.cutoff_hz] and " "allows lower frequencies to pass." msgstr "" +"Supprime les fréquences supérieures à [member AudioEffectFilter.cutoff_hz] " +"et laisse passer les fréquences inférieures." #: doc/classes/AudioEffectLowShelfFilter.xml msgid "Reduces all frequencies below the [member AudioEffectFilter.cutoff_hz]." msgstr "" +"Réduit tous les fréquences en-dessous de [member AudioEffectFilter." +"cutoff_hz]." #: doc/classes/AudioEffectNotchFilter.xml msgid "Adds a notch filter to the Audio bus." @@ -11034,6 +11014,8 @@ msgstr "" #: doc/classes/AudioEffectPanner.xml msgid "Pan position. Value can range from -1 (fully left) to 1 (fully right)." msgstr "" +"La balance gauche/droite. La valeur peut aller de -1 (uniquement à gauche) à " +"1 (uniquement à droite)." #: doc/classes/AudioEffectPhaser.xml msgid "" @@ -11164,7 +11146,7 @@ msgstr "" #: doc/classes/AudioEffectPitchShift.xml #: doc/classes/AudioEffectSpectrumAnalyzer.xml msgid "Represents the size of the [enum FFT_Size] enum." -msgstr "" +msgstr "Représente la taille de l'énumération [enum FFT_Size]." #: doc/classes/AudioEffectRecord.xml msgid "Audio effect used for recording the sound from an audio bus." @@ -11190,7 +11172,7 @@ msgstr "Retourne l’échantillon enregistré." #: doc/classes/AudioEffectRecord.xml msgid "Returns whether the recording is active or not." -msgstr "" +msgstr "Retourne si l'enregistrement est actif ou non." #: doc/classes/AudioEffectRecord.xml msgid "" @@ -11285,7 +11267,7 @@ msgstr "Démo de spectre audio" #: doc/classes/AudioStreamGenerator.xml #: doc/classes/AudioStreamGeneratorPlayback.xml msgid "Godot 3.2 will get new audio features" -msgstr "" +msgstr "Godot 3.2 aura ces nouvelles fonctionnalités audio" #: doc/classes/AudioEffectSpectrumAnalyzer.xml msgid "" @@ -11353,6 +11335,8 @@ msgid "" "Returns the [AudioEffect] at position [code]effect_idx[/code] in bus " "[code]bus_idx[/code]." msgstr "" +"Retourne l'effet [AudioEffect] à la position [code]effect_idx[/code] dans le " +"bus [code]bus_idx[/code]." #: doc/classes/AudioServer.xml msgid "Returns the number of effects on the bus at [code]bus_idx[/code]." @@ -11412,11 +11396,11 @@ msgstr "Retourne la configuration du haut-parleur." #: doc/classes/AudioServer.xml msgid "Returns the relative time since the last mix occurred." -msgstr "" +msgstr "Retourne le temps écoulé depuis le dernier mixage." #: doc/classes/AudioServer.xml msgid "Returns the relative time until the next mix occurs." -msgstr "" +msgstr "Retourne la durée avant le prochain mixage." #: doc/classes/AudioServer.xml msgid "" @@ -11433,6 +11417,7 @@ msgstr "" #: doc/classes/AudioServer.xml msgid "If [code]true[/code], the bus at index [code]bus_idx[/code] is muted." msgstr "" +"Si [code]true[/code], le bus à la position [code]bus_idx[/code] est muet." #: doc/classes/AudioServer.xml msgid "" @@ -11449,6 +11434,7 @@ msgstr "" msgid "" "Moves the bus from index [code]index[/code] to index [code]to_index[/code]." msgstr "" +"Déplacer le bus de la position [code]index[/code] à [code]to_index[/code]." #: doc/classes/AudioServer.xml msgid "Removes the bus at index [code]index[/code]." @@ -11474,6 +11460,8 @@ msgid "" "Connects the output of the bus at [code]bus_idx[/code] to the bus named " "[code]send[/code]." msgstr "" +"Connecte la sortie du bus à la position [code]bus_idx[/code] au bus nommé " +"[code]send[/code]." #: doc/classes/AudioServer.xml msgid "" @@ -11483,7 +11471,7 @@ msgstr "" #: doc/classes/AudioServer.xml msgid "Swaps the position of two effects in bus [code]bus_idx[/code]." -msgstr "" +msgstr "Échange la position de deux effets dans le bus [code]bus_idx[/code]." #: doc/classes/AudioServer.xml msgid "" @@ -11531,15 +11519,15 @@ msgstr "Deux enceintes ou moins sont détectées." #: doc/classes/AudioServer.xml msgid "A 3.1 channel surround setup was detected." -msgstr "" +msgstr "Une configuration surround 3.1 a été détecté." #: doc/classes/AudioServer.xml msgid "A 5.1 channel surround setup was detected." -msgstr "" +msgstr "Une configuration surround 5.1 a été détecté." #: doc/classes/AudioServer.xml msgid "A 7.1 channel surround setup was detected." -msgstr "" +msgstr "Une configuration surround 7.1 a été détecté." #: doc/classes/AudioStream.xml msgid "Base class for audio streams." @@ -11553,24 +11541,22 @@ msgid "" msgstr "" #: doc/classes/AudioStream.xml doc/classes/AudioStreamPlayer.xml -#, fuzzy msgid "Audio streams" -msgstr "Démo de spectre audio" +msgstr "Flux audio" #: doc/classes/AudioStream.xml doc/classes/AudioStreamGenerator.xml #: doc/classes/AudioStreamGeneratorPlayback.xml #: doc/classes/AudioStreamPlayback.xml doc/classes/AudioStreamPlayer.xml -#, fuzzy msgid "Audio Generator Demo" -msgstr "Démo de spectre audio" +msgstr "Démo du générateur audio" #: doc/classes/AudioStream.xml msgid "Returns the length of the audio stream in seconds." -msgstr "" +msgstr "Retourne la durée en secondes du flux audio." #: doc/classes/AudioStreamGenerator.xml msgid "Audio stream that generates sounds procedurally." -msgstr "" +msgstr "Un flux audio qui génère des sons de manière procédurale." #: doc/classes/AudioStreamGenerator.xml msgid "" @@ -11611,7 +11597,7 @@ msgstr "" #: doc/classes/AudioStreamGeneratorPlayback.xml msgid "Plays back audio generated using [AudioStreamGenerator]." -msgstr "" +msgstr "Joue les sons générés avec [AudioStreamGenerator]." #: doc/classes/AudioStreamGeneratorPlayback.xml msgid "" @@ -11705,17 +11691,19 @@ msgstr "" #: doc/classes/AudioStreamPlayer.xml msgid "Returns the position in the [AudioStream] in seconds." -msgstr "" +msgstr "Retourne la position dans le [AudioStream] en secondes." #: doc/classes/AudioStreamPlayer.xml msgid "" "Returns the [AudioStreamPlayback] object associated with this " "[AudioStreamPlayer]." msgstr "" +"Retourne l'objet [AudioStreamPlayback] associé à ce [AudioStreamPlayer]." #: doc/classes/AudioStreamPlayer.xml msgid "Plays the audio from the given [code]from_position[/code], in seconds." msgstr "" +"Joue l'audio depuis la position [code]from_position[/code], en secondes." #: doc/classes/AudioStreamPlayer.xml doc/classes/AudioStreamPlayer2D.xml #: doc/classes/AudioStreamPlayer3D.xml @@ -11782,7 +11770,7 @@ msgstr "L'audio ne sera joué que sur le premier canal." #: doc/classes/AudioStreamPlayer.xml msgid "The audio will be played on all surround channels." -msgstr "" +msgstr "L'audio sera joué sur tous les canaux surround." #: doc/classes/AudioStreamPlayer.xml msgid "" @@ -11804,7 +11792,6 @@ msgid "" msgstr "" #: doc/classes/AudioStreamPlayer2D.xml doc/classes/AudioStreamPlayer3D.xml -#, fuzzy msgid "Returns the position in the [AudioStream]." msgstr "Retourne la position dans le [AudioStream]." @@ -11839,7 +11826,7 @@ msgstr "Atténue l'audio avec la distance avec cette valeur comme exposant." #: doc/classes/AudioStreamPlayer2D.xml msgid "Maximum distance from which audio is still hearable." -msgstr "Distance maximale à laquelle cette piste audio peut être entendue" +msgstr "Distance maximale à laquelle cette piste audio peut être entendue." #: doc/classes/AudioStreamPlayer2D.xml msgid "Base volume without dampening." @@ -11911,9 +11898,8 @@ msgid "" msgstr "Si [code]true[/code], la lecture commence au chargement de la scène." #: doc/classes/AudioStreamPlayer3D.xml -#, fuzzy msgid "The bus on which this audio is playing." -msgstr "Bus sur lequel cet audio joue." +msgstr "Le bus sur lequel cet audio est joué." #: doc/classes/AudioStreamPlayer3D.xml msgid "" @@ -11926,7 +11912,7 @@ msgstr "" #: doc/classes/AudioStreamPlayer3D.xml msgid "The angle in which the audio reaches cameras undampened." -msgstr "L'angle auquel la piste audio atteint les caméras sans atténuation" +msgstr "L'angle auquel la piste audio atteint les caméras sans atténuation." #: doc/classes/AudioStreamPlayer3D.xml msgid "" @@ -11963,9 +11949,8 @@ msgstr "" "de portée définie par [member max_distance]." #: doc/classes/AudioStreamPlayer3D.xml -#, fuzzy msgid "The [AudioStream] resource to be played." -msgstr "Ressource [VideoStream] pour les vidéos WebM." +msgstr "La ressource [AudioStream] à jouer." #: doc/classes/AudioStreamPlayer3D.xml msgid "" @@ -12051,7 +12036,7 @@ msgstr "L'intensité de la variation aléatoire de la hauteur." #: doc/classes/AudioStreamSample.xml msgid "Stores audio data loaded from WAV files." -msgstr "" +msgstr "Enregistre les données audio depuis les fichiers WAV." #: doc/classes/AudioStreamSample.xml msgid "" @@ -12081,6 +12066,8 @@ msgstr "" #: doc/classes/AudioStreamSample.xml msgid "Audio format. See [enum Format] constants for values." msgstr "" +"Le format audio. Voir les constantes [enum Format] pour les valeurs " +"possibles." #: doc/classes/AudioStreamSample.xml msgid "" @@ -12230,11 +12217,16 @@ msgstr "" #: doc/classes/BakedLightmap.xml msgid "" -"When enabled, the lightmapper will merge the textures for all meshes into a " -"single large layered texture. Not supported in GLES2." +"If [code]true[/code], the lightmapper will merge the textures for all meshes " +"into one or several large layered textures. If [code]false[/code], every " +"mesh will get its own lightmap texture, which is less efficient.\n" +"[b]Note:[/b] Atlas lightmap rendering is only supported in GLES3, [i]not[/i] " +"GLES2. Non-atlas lightmap rendering is supported by both GLES3 and GLES2. If " +"[member ProjectSettings.rendering/quality/driver/fallback_to_gles2] is " +"[code]true[/code], consider baking lightmaps with [member atlas_generate] " +"set to [code]false[/code] so that the resulting lightmap is visible in both " +"GLES3 and GLES2." msgstr "" -"Si actif, le lightmapper fusionnera les textures de tous les maillages dans " -"une seule texture assez large avec claque. Ça n'est pas supporter avec GLES2." #: doc/classes/BakedLightmap.xml msgid "" @@ -12285,7 +12277,7 @@ msgstr "" #: doc/classes/BakedLightmap.xml msgid "Bake quality of the capture data." -msgstr "" +msgstr "La qualité du bake pour les données de capture." #: doc/classes/BakedLightmap.xml msgid "" @@ -12343,9 +12335,8 @@ msgid "" msgstr "" #: doc/classes/BakedLightmap.xml -#, fuzzy msgid "The calculated light data." -msgstr "La hauteur de la capsule." +msgstr "Les données calculées de la lumière." #: doc/classes/BakedLightmap.xml msgid "" @@ -12382,25 +12373,23 @@ msgstr "" #: doc/classes/BakedLightmap.xml msgid "The lowest bake quality mode. Fastest to calculate." -msgstr "" +msgstr "La qualité de bake la plus basse. La plus rapide à calculer." #: doc/classes/BakedLightmap.xml -#, fuzzy msgid "The default bake quality mode." -msgstr "L'arrière-plan par défaut pour [GraphNode]." +msgstr "Le mode de qualité du bake par défaut." #: doc/classes/BakedLightmap.xml msgid "A higher bake quality mode. Takes longer to calculate." -msgstr "" +msgstr "Une qualité de bake plus haute. Prend plus de temps de calcul." #: doc/classes/BakedLightmap.xml msgid "The highest bake quality mode. Takes the longest to calculate." -msgstr "" +msgstr "La qualité de bake la plus haute. La plus longue à calculer." #: doc/classes/BakedLightmap.xml -#, fuzzy msgid "Baking was successful." -msgstr "La connexion a réussi." +msgstr "Le baking a réussi." #: doc/classes/BakedLightmap.xml msgid "" @@ -12425,11 +12414,12 @@ msgstr "Taille du plan généré." #: doc/classes/BakedLightmap.xml msgid "Some mesh contains UV2 values outside the [code][0,1][/code] range." msgstr "" +"Certains maillages contiennent des valeurs de UV2 hors de l'intervalle [code]" +"[0,1][/code]." #: doc/classes/BakedLightmap.xml -#, fuzzy msgid "Returns if user cancels baking." -msgstr "Retourne le bouton d'annulation." +msgstr "Retourne si l'utilisateur a annulé le baking." #: doc/classes/BakedLightmap.xml msgid "" @@ -12445,7 +12435,7 @@ msgstr "" #: doc/classes/BakedLightmap.xml msgid "No environment is used during baking." -msgstr "" +msgstr "Aucun environnement n'est utilisé durant le baking." #: doc/classes/BakedLightmap.xml msgid "The baked environment is automatically picked from the current scene." @@ -12475,7 +12465,7 @@ msgstr "" #: doc/classes/BaseButton.xml msgid "Base class for different kinds of buttons." -msgstr "" +msgstr "La classe de base pour différents types de bouton." #: doc/classes/BaseButton.xml msgid "" @@ -12593,11 +12583,11 @@ msgstr "" #: doc/classes/BaseButton.xml msgid "Emitted when the button starts being held down." -msgstr "" +msgstr "Émis quand le bouton commence à être appuyé." #: doc/classes/BaseButton.xml msgid "Emitted when the button stops being held down." -msgstr "" +msgstr "Émis quand le bouton cesse d'être appuyé." #: doc/classes/BaseButton.xml msgid "" @@ -12635,11 +12625,11 @@ msgstr "L'état des boutons est : désactivé." #: doc/classes/BaseButton.xml msgid "The state of buttons are both hovered and pressed." -msgstr "" +msgstr "L'état des boutons est à la fois survolé et appuyé." #: doc/classes/BaseButton.xml msgid "Require just a press to consider the button clicked." -msgstr "" +msgstr "Il suffit d'appuyer sur le bouton pour le considérer comme cliqué." #: doc/classes/BaseButton.xml msgid "" @@ -12667,17 +12657,17 @@ msgstr "" #: doc/classes/Basis.xml doc/classes/Transform.xml doc/classes/Transform2D.xml msgid "Matrices and transforms" -msgstr "" +msgstr "Les matrices et les transformations" #: doc/classes/Basis.xml doc/classes/Quat.xml doc/classes/Transform.xml -#, fuzzy msgid "Using 3D transforms" -msgstr "Utilise ça lors des transformations 3D." +msgstr "Utiliser les transformations 3D" #: doc/classes/Basis.xml doc/classes/Line2D.xml doc/classes/Transform.xml #: doc/classes/Transform2D.xml doc/classes/Vector2.xml doc/classes/Vector3.xml +#, fuzzy msgid "Matrix Transform Demo" -msgstr "" +msgstr "Démo de transformation matricielle" #: doc/classes/Basis.xml doc/classes/CylinderShape.xml #: doc/classes/Dictionary.xml doc/classes/DynamicFont.xml @@ -12689,12 +12679,12 @@ msgstr "" #: doc/classes/TextureRect.xml doc/classes/Thread.xml #: doc/classes/VBoxContainer.xml msgid "3D Voxel Demo" -msgstr "" +msgstr "Démo voxel 3D" #: doc/classes/Basis.xml doc/classes/Line2D.xml doc/classes/Transform.xml #: doc/classes/Transform2D.xml msgid "2.5D Demo" -msgstr "" +msgstr "Démo 2.5D" #: doc/classes/Basis.xml #, fuzzy @@ -12816,11 +12806,11 @@ msgstr "" #: doc/classes/Basis.xml msgid "Returns the transposed version of the matrix." -msgstr "" +msgstr "Retourne la matrice transposée." #: doc/classes/Basis.xml msgid "Returns a vector transformed (multiplied) by the matrix." -msgstr "" +msgstr "Retourne le vecteur transformé (multiplié) par la matrice." #: doc/classes/Basis.xml msgid "" @@ -12916,7 +12906,7 @@ msgstr "Retourne les dimensions de bitmap." #: doc/classes/BitMap.xml msgid "" "Returns the amount of bitmap elements that are set to [code]true[/code]." -msgstr "" +msgstr "Retourne le nombre d'éléments bitmap qui sont à [code]true[/code]." #: doc/classes/BitMap.xml msgid "" @@ -12939,6 +12929,7 @@ msgstr "" #: doc/classes/BitMap.xml msgid "Sets a rectangular portion of the bitmap to the specified value." msgstr "" +"Définit une valeur spécifique pour une portion rectangulaire du bitmap." #: doc/classes/BitmapFont.xml msgid "" @@ -13001,17 +12992,14 @@ msgid "Returns the number of textures in the BitmapFont atlas." msgstr "Renvoie le nombre de textures dans l’atlas BitmapFont." #: doc/classes/BitmapFont.xml -#, fuzzy msgid "Ascent (number of pixels above the baseline)." -msgstr "Ascension (nombre de pixels au-dessus de la ligne de base)." +msgstr "L'ascension (le nombre de pixels au-dessus de la ligne de base)." #: doc/classes/BitmapFont.xml -#, fuzzy msgid "If [code]true[/code], distance field hint is enabled." msgstr "Si [code]true[/code], l'indice de champ de distance est activé." #: doc/classes/BitmapFont.xml -#, fuzzy msgid "The fallback font." msgstr "La police de caractères de repli." @@ -13038,7 +13026,7 @@ msgstr "" #: doc/classes/Bone2D.xml msgid "Stores the node's current transforms in [member rest]." -msgstr "" +msgstr "Enregistre la transformation actuelle du nœud dans [member rest]." #: doc/classes/Bone2D.xml msgid "" @@ -13064,7 +13052,7 @@ msgstr "" #: doc/classes/BoneAttachment.xml msgid "A node that will attach to a bone." -msgstr "" +msgstr "Un nœud qui s'attache à un os." #: doc/classes/BoneAttachment.xml msgid "" @@ -13189,7 +13177,7 @@ msgstr "Aligne les enfants avec le centre du conteneur." #: doc/classes/BoxContainer.xml msgid "Aligns children with the end of the container." -msgstr "" +msgstr "Aligne les nœuds enfants à la fin du conteneur." #: doc/classes/BoxShape.xml msgid "Box shape resource." @@ -13297,7 +13285,7 @@ msgstr "" #: doc/classes/Button.xml doc/classes/LinkButton.xml msgid "The button's text that will be displayed inside the button's area." -msgstr "" +msgstr "Le texte du bouton qui sera affiché à l'intérieur de l'aire du bouton." #: doc/classes/Button.xml msgid "Align the text to the left." @@ -13317,7 +13305,7 @@ msgstr "La [Color] du texte par défaut du [Button]." #: doc/classes/Button.xml msgid "Text [Color] used when the [Button] is disabled." -msgstr "" +msgstr "La [Color] du texte utilisée quand le [Button] est désactivé." #: doc/classes/Button.xml msgid "" @@ -13344,7 +13332,7 @@ msgstr "[Font] du texte du [Button]." #: doc/classes/Button.xml msgid "[StyleBox] used when the [Button] is disabled." -msgstr "" +msgstr "La [StyleBox] utilisée quand le [Button] est désactivé." #: doc/classes/Button.xml msgid "" @@ -13355,7 +13343,7 @@ msgstr "" #: doc/classes/Button.xml msgid "[StyleBox] used when the [Button] is being hovered." -msgstr "" +msgstr "Le [StyleBox] utilisé quand le [Button] est survolé." #: doc/classes/Button.xml msgid "Default [StyleBox] for the [Button]." @@ -13363,7 +13351,7 @@ msgstr "[StyleBox] par défaut pour le [Button]." #: doc/classes/Button.xml msgid "[StyleBox] used when the [Button] is being pressed." -msgstr "" +msgstr "Le [StyleBox] utilisé quand le [Button] est appuyé." #: doc/classes/ButtonGroup.xml msgid "Group of Buttons." @@ -13612,8 +13600,8 @@ msgstr "" #: doc/classes/Camera.xml msgid "" "The camera's size measured as 1/2 the width or height. Only applicable in " -"orthogonal mode. Since [member keep_aspect] locks on axis, [code]size[/code] " -"sets the other axis' size length." +"orthogonal and frustum modes. Since [member keep_aspect] locks on axis, " +"[code]size[/code] sets the other axis' size length." msgstr "" #: doc/classes/Camera.xml @@ -13703,12 +13691,12 @@ msgstr "" #: doc/classes/Camera2D.xml doc/classes/TileMap.xml doc/classes/TileSet.xml msgid "2D Isometric Demo" -msgstr "" +msgstr "Démo 2D isométrique" #: doc/classes/Camera2D.xml doc/classes/Environment.xml #: doc/classes/WorldEnvironment.xml msgid "2D HDR Demo" -msgstr "" +msgstr "Démo 2D HDR" #: doc/classes/Camera2D.xml msgid "Aligns the camera to the tracked node." @@ -13782,6 +13770,8 @@ msgstr "" #: doc/classes/Camera2D.xml msgid "The Camera2D's anchor point. See [enum AnchorMode] constants." msgstr "" +"Le point d'ancrage de la Camera2D. Voir [enum AnchorMode] pour les " +"constantes." #: doc/classes/Camera2D.xml msgid "" @@ -13854,18 +13844,24 @@ msgid "" "Bottom scroll limit in pixels. The camera stops moving when reaching this " "value." msgstr "" +"La limite basse de déplacement en pixels. La caméra s'arrête quand elle " +"atteint cette valeur." #: doc/classes/Camera2D.xml msgid "" "Left scroll limit in pixels. The camera stops moving when reaching this " "value." msgstr "" +"La limite gauche de déplacement en pixels. La caméra s'arrête quand elle " +"atteint cette valeur." #: doc/classes/Camera2D.xml msgid "" "Right scroll limit in pixels. The camera stops moving when reaching this " "value." msgstr "" +"La limite droite de déplacement en pixels. La caméra s'arrête quand elle " +"atteint cette valeur." #: doc/classes/Camera2D.xml msgid "" @@ -13881,11 +13877,15 @@ msgstr "" msgid "" "Top scroll limit in pixels. The camera stops moving when reaching this value." msgstr "" +"La limite haute de déplacement en pixels. La caméra s'arrête quand elle " +"atteint cette valeur." #: doc/classes/Camera2D.xml msgid "" "The camera's offset, useful for looking around or camera shake animations." msgstr "" +"Le décalage de la caméra, utilise pour regarder autour ou pour la faire " +"trembler." #: doc/classes/Camera2D.xml msgid "" @@ -13904,6 +13904,7 @@ msgstr "" #: doc/classes/Camera2D.xml msgid "The camera's process callback. See [enum Camera2DProcessMode]." msgstr "" +"La méthode de mise à jour de la camera. Voir [enum Camera2DProcessMode]." #: doc/classes/Camera2D.xml #, fuzzy @@ -13947,9 +13948,8 @@ msgid "The camera updates with the [code]_physics_process[/code] callback." msgstr "La caméra se met à jour avec le rappel [code]_physics_process[/code]." #: doc/classes/Camera2D.xml doc/classes/ClippedCamera.xml -#, fuzzy msgid "The camera updates with the [code]_process[/code] callback." -msgstr "La caméra se met à jour avec le [code]_process[/code] de rappel." +msgstr "La caméra se met à jour durant l'appel de [code]_process[/code]." #: doc/classes/CameraFeed.xml msgid "" @@ -13979,9 +13979,8 @@ msgid "Returns the camera's name." msgstr "Renvoie le nom de l'élément." #: doc/classes/CameraFeed.xml -#, fuzzy msgid "Returns the position of camera on the device." -msgstr "Renvoie le traqueur de position à l'identification donnée." +msgstr "Retourne la position de la caméra sur cet appareil." #: doc/classes/CameraFeed.xml msgid "If [code]true[/code], the feed is active." @@ -14102,6 +14101,7 @@ msgstr "" #: doc/classes/CameraTexture.xml msgid "The ID of the [CameraFeed] for which we want to display the image." msgstr "" +"L'identifiant du [CameraFeed] pour lequel la caméra doit être affichée." #: doc/classes/CameraTexture.xml msgid "" @@ -14405,9 +14405,8 @@ msgid "Returns the transform matrix of this item." msgstr "Retourne la matrice de transformation de cet élément." #: doc/classes/CanvasItem.xml -#, fuzzy msgid "Returns the viewport's boundaries as a [Rect2]." -msgstr "Retourne le [Rect2] de la fenêtre d'affichage." +msgstr "Retourne le [Rect2] délimitant la fenêtre d'affichage." #: doc/classes/CanvasItem.xml msgid "Returns this item's transform in relation to the viewport." @@ -14461,20 +14460,24 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], the node won't inherit its " -"transform from parent canvas items." +"If [code]enable[/code] is [code]true[/code], this [CanvasItem] will [i]not[/" +"i] inherit its transform from parent [CanvasItem]s. Its draw order will also " +"be changed to make it draw on top of other [CanvasItem]s that are not set as " +"top-level. The [CanvasItem] will effectively act as if it was placed as a " +"child of a bare [Node]. See also [method is_set_as_toplevel]." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"local transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_LOCAL_TRANSFORM_CHANGED] when its local transform " +"changes." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"global transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_TRANSFORM_CHANGED] when its global transform changes." msgstr "" #: doc/classes/CanvasItem.xml @@ -14495,14 +14498,15 @@ msgstr "" msgid "" "The rendering layers in which this [CanvasItem] responds to [Light2D] nodes." msgstr "" +"Les claques de rendu où le [CanvasItem] est affecté par les nœuds [Light2D]." #: doc/classes/CanvasItem.xml msgid "The material applied to textures on this [CanvasItem]." -msgstr "" +msgstr "Le matériau appliqué aux textures de ce [CanvasItem]." #: doc/classes/CanvasItem.xml msgid "The color applied to textures on this [CanvasItem]." -msgstr "" +msgstr "La couleur appliquée aux textures de ce [CanvasItem]." #: doc/classes/CanvasItem.xml msgid "" @@ -14512,7 +14516,7 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "If [code]true[/code], the object draws behind its parent." -msgstr "" +msgstr "Si [code]true[/code], l'objet est affiché derrière son parent." #: doc/classes/CanvasItem.xml msgid "If [code]true[/code], the object draws on top of its parent." @@ -14588,9 +14592,14 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"The [CanvasItem]'s transform has changed. This notification is only received " -"if enabled by [method set_notify_transform] or [method " -"set_notify_local_transform]." +"The [CanvasItem]'s global transform has changed. This notification is only " +"received if enabled by [method set_notify_transform]." +msgstr "" + +#: doc/classes/CanvasItem.xml +msgid "" +"The [CanvasItem]'s local transform has changed. This notification is only " +"received if enabled by [method set_notify_local_transform]." msgstr "" #: doc/classes/CanvasItem.xml @@ -14692,9 +14701,8 @@ msgid "" msgstr "" #: doc/classes/CanvasLayer.xml -#, fuzzy msgid "Canvas layers" -msgstr "Couche de dessin de toile." +msgstr "Claques du canevas" #: doc/classes/CanvasLayer.xml msgid "Returns the RID of the canvas used by this layer." @@ -14960,7 +14968,7 @@ msgstr "" #: doc/classes/CheckBox.xml msgid "Binary choice user interface widget. See also [CheckButton]." -msgstr "" +msgstr "Contrôle d'interface pour un choix binaire. Voir aussi [CheckButton]." #: doc/classes/CheckBox.xml msgid "" @@ -15004,14 +15012,15 @@ msgstr "" #: doc/classes/CheckBox.xml msgid "The vertical offset used when rendering the check icons (in pixels)." msgstr "" +"Le décalage vertical utilisé pour le rendu des icônes des coches (en pixels)." #: doc/classes/CheckBox.xml msgid "The separation between the check icon and the text (in pixels)." -msgstr "" +msgstr "L'espace entre l'icône de la coche et le texte (en pixels)." #: doc/classes/CheckBox.xml msgid "The [Font] to use for the [CheckBox] text." -msgstr "" +msgstr "La [Font] à utiliser pour le texte du [CheckBox]." #: doc/classes/CheckBox.xml msgid "The check icon to display when the [CheckBox] is checked." @@ -15097,6 +15106,7 @@ msgstr "La couleur de la police du texte [CheckButton]." #: doc/classes/CheckButton.xml msgid "The [CheckButton] text's font color when it's disabled." msgstr "" +"La couleur de la police du texte du [CheckButton] quand il est désactivé." #: doc/classes/CheckButton.xml msgid "" @@ -15108,6 +15118,7 @@ msgstr "" #: doc/classes/CheckButton.xml msgid "The [CheckButton] text's font color when it's hovered." msgstr "" +"La couleur de la police du texte du [CheckButton] quand il est survolé." #: doc/classes/CheckButton.xml msgid "The [CheckButton] text's font color when it's hovered and pressed." @@ -15115,7 +15126,7 @@ msgstr "" #: doc/classes/CheckButton.xml msgid "The [CheckButton] text's font color when it's pressed." -msgstr "" +msgstr "La couleur de la police du texte du [CheckButton] quand il est appuyé." #: doc/classes/CheckButton.xml msgid "The vertical offset used when rendering the toggle icons (in pixels)." @@ -15127,7 +15138,7 @@ msgstr "" #: doc/classes/CheckButton.xml msgid "The [Font] to use for the [CheckButton] text." -msgstr "" +msgstr "La [Font] à utilisé pour le texte du [CheckButton]." #: doc/classes/CheckButton.xml msgid "The icon to display when the [CheckButton] is unchecked." @@ -15136,6 +15147,7 @@ msgstr "" #: doc/classes/CheckButton.xml msgid "The icon to display when the [CheckButton] is unchecked and disabled." msgstr "" +"L'icône à afficher quand le [CheckButton] est à la fois décoché et désactivé." #: doc/classes/CheckButton.xml msgid "The icon to display when the [CheckButton] is checked." @@ -15306,6 +15318,8 @@ msgid "" "Returns whether [code]class[/code] or its ancestry has a signal called " "[code]signal[/code] or not." msgstr "" +"Retourne quand [code]class[/code] ou ses parents ont un signal nommé " +"[code]signal[/code] ou non." #: doc/classes/ClassDB.xml msgid "" @@ -15316,7 +15330,7 @@ msgstr "" #: doc/classes/ClassDB.xml msgid "Returns the names of all the classes available." -msgstr "" +msgstr "Retourne le nom de toutes les classes disponibles." #: doc/classes/ClassDB.xml msgid "" @@ -15334,7 +15348,7 @@ msgstr "Crée une instance de [code]class[/code]." #: doc/classes/ClassDB.xml msgid "Returns whether this [code]class[/code] is enabled or not." -msgstr "" +msgstr "Retourne quand cette [code]class[/code] est active ou pas." #: doc/classes/ClassDB.xml msgid "" @@ -15343,9 +15357,8 @@ msgid "" msgstr "" #: doc/classes/ClippedCamera.xml -#, fuzzy msgid "A [Camera] that includes collision." -msgstr "Une [Camera3D] qui inclut la collision." +msgstr "Une [Camera] qui inclut la collision." #: doc/classes/ClippedCamera.xml msgid "" @@ -15358,12 +15371,16 @@ msgid "" "Adds a collision exception so the camera does not collide with the specified " "node." msgstr "" +"Ajoute une exception de collision pour que la caméra n'entre pas en " +"collision avec le nœud spécifié." #: doc/classes/ClippedCamera.xml msgid "" "Adds a collision exception so the camera does not collide with the specified " "[RID]." msgstr "" +"Ajoute une exception de collision pour que la caméra n'entre pas en " +"collision avec le [RID] spécifié." #: doc/classes/ClippedCamera.xml msgid "Removes all collision exceptions." @@ -15372,6 +15389,7 @@ msgstr "Supprime toutes les exceptions de collision." #: doc/classes/ClippedCamera.xml msgid "Returns the distance the camera has been offset due to a collision." msgstr "" +"Retourne la distance de la caméra qui a été décalée à cause de la collision." #: doc/classes/ClippedCamera.xml msgid "" @@ -15381,11 +15399,11 @@ msgstr "" #: doc/classes/ClippedCamera.xml msgid "Removes a collision exception with the specified node." -msgstr "" +msgstr "Retire une exception de collision avec le nœud spécifié." #: doc/classes/ClippedCamera.xml msgid "Removes a collision exception with the specified [RID]." -msgstr "" +msgstr "Retire une exception de collision avec le [RID] spécifié." #: doc/classes/ClippedCamera.xml msgid "" @@ -15420,7 +15438,7 @@ msgstr "" #: doc/classes/ClippedCamera.xml msgid "The camera's process callback. See [enum ProcessMode]." -msgstr "" +msgstr "La méthode de mise à jour de la camera. Voir [enum ProcessMode]." #: doc/classes/CollisionObject.xml msgid "Base node for collision objects." @@ -15502,7 +15520,7 @@ msgstr "" #: doc/classes/CollisionObject.xml doc/classes/CollisionObject2D.xml msgid "Returns the [code]owner_id[/code] of the given shape." -msgstr "" +msgstr "Retourne le [code]owner_id[/code] de la forme spécifiée." #: doc/classes/CollisionObject.xml #, fuzzy @@ -15539,7 +15557,7 @@ msgstr "Retourne le [Transform] du propriétaire de la forme." #: doc/classes/CollisionObject.xml doc/classes/CollisionObject2D.xml msgid "Removes a shape from the given shape owner." -msgstr "" +msgstr "Retire la forme du propriétaire de forme donné." #: doc/classes/CollisionObject.xml doc/classes/CollisionObject2D.xml msgid "If [code]true[/code], disables the given shape owner." @@ -15594,7 +15612,7 @@ msgstr "" #: doc/classes/CollisionObject.xml msgid "Emitted when the mouse pointer enters any of this object's shapes." -msgstr "" +msgstr "Émis quand le curseur entre dans n'importe quelle forme de l'objet." #: doc/classes/CollisionObject.xml msgid "Emitted when the mouse pointer exits all this object's shapes." @@ -15610,7 +15628,10 @@ msgid "" "number of 2D collision [Shape2D]s. Each shape must be assigned to a [i]shape " "owner[/i]. The CollisionObject2D can have any number of shape owners. Shape " "owners are not nodes and do not appear in the editor, but are accessible " -"through code using the [code]shape_owner_*[/code] methods." +"through code using the [code]shape_owner_*[/code] methods.\n" +"[b]Note:[/b] Only collisions between objects within the same canvas " +"([Viewport] canvas or [CanvasLayer]) are supported. The behavior of " +"collisions between objects in different canvases is undefined." msgstr "" #: doc/classes/CollisionObject2D.xml @@ -15626,6 +15647,8 @@ msgid "" "Returns the [code]one_way_collision_margin[/code] of the shape owner " "identified by given [code]owner_id[/code]." msgstr "" +"Retourne la [code]one_way_collision_margin[/code] du propriétaire de la " +"forme identifié par le [code]owner_id[/code] spécifié." #: doc/classes/CollisionObject2D.xml msgid "" @@ -15732,7 +15755,7 @@ msgstr "" #: doc/classes/CollisionPolygon.xml msgid "If [code]true[/code], no collision will be produced." -msgstr "" +msgstr "Si [code]true[/code], aucune collision ne sera produite." #: doc/classes/CollisionPolygon.xml msgid "" @@ -15816,9 +15839,8 @@ msgstr "" #: doc/classes/Physics2DDirectSpaceState.xml #: doc/classes/PhysicsDirectBodyState.xml #: doc/classes/PhysicsDirectSpaceState.xml doc/classes/RigidBody.xml -#, fuzzy msgid "Physics introduction" -msgstr "Interpolation cubique." +msgstr "Introduction à la physique" #: doc/classes/CollisionShape.xml #, fuzzy @@ -15920,7 +15942,7 @@ msgstr "" #: doc/classes/Color.xml doc/classes/ColorPicker.xml msgid "Tween Demo" -msgstr "" +msgstr "Démo des Tween" #: doc/classes/Color.xml doc/classes/ColorPickerButton.xml msgid "GUI Drag And Drop Demo" @@ -16427,12 +16449,10 @@ msgid "Dark sea green color." msgstr "Couleur vert mer foncé." #: doc/classes/Color.xml -#, fuzzy msgid "Dark slate blue color." msgstr "Couleur bleu ardoise foncé." #: doc/classes/Color.xml -#, fuzzy msgid "Dark slate gray color." msgstr "Couleur gris ardoise foncé." @@ -16588,7 +16608,6 @@ msgid "Light sky blue color." msgstr "Couleur bleu ciel clair." #: doc/classes/Color.xml -#, fuzzy msgid "Light slate gray color." msgstr "Couleur gris ardoise clair." @@ -16623,7 +16642,7 @@ msgstr "Couleur marron." #: doc/classes/Color.xml #, fuzzy msgid "Medium aquamarine color." -msgstr "Couleur aigue-marine moyenne." +msgstr "Couleur bleu-marin moyenne." #: doc/classes/Color.xml msgid "Medium blue color." @@ -16642,7 +16661,6 @@ msgid "Medium sea green color." msgstr "Couleur vert mer moyen." #: doc/classes/Color.xml -#, fuzzy msgid "Medium slate blue color." msgstr "Couleur bleu ardoise moyen." @@ -17239,7 +17257,7 @@ msgstr "" #: doc/classes/ConeTwistJoint.xml doc/classes/Generic6DOFJoint.xml #: doc/classes/HingeJoint.xml doc/classes/Light.xml doc/classes/SliderJoint.xml msgid "Represents the size of the [enum Param] enum." -msgstr "" +msgstr "Représente la taille de l'énumération [enum Param]." #: doc/classes/ConfigFile.xml msgid "Helper class to handle INI-style files." @@ -17519,9 +17537,8 @@ msgid "GUI tutorial index" msgstr "" #: doc/classes/Control.xml -#, fuzzy msgid "Control node gallery" -msgstr "Touche contrôle." +msgstr "Galerie des nœuds de contrôle" #: doc/classes/Control.xml msgid "All GUI Demos" @@ -18062,9 +18079,8 @@ msgstr "" "existe, [code]false[/code] autrement." #: doc/classes/Control.xml -#, fuzzy msgid "Returns [code]true[/code] if drag operation is successful." -msgstr "Retourne [code]true[/code] si la sélection est active." +msgstr "Retourne [code]true[/code] si l'opération de déposer-glisser a réussi." #: doc/classes/Control.xml msgid "" @@ -18280,6 +18296,8 @@ msgid "" "Moves the mouse cursor to [code]to_position[/code], relative to [member " "rect_position] of this [Control]." msgstr "" +"Déplace le curseur de la souris à [code]to_position[/code], relatif à " +"[member rect_position] de ce [Control]." #: doc/classes/Control.xml msgid "" @@ -18650,6 +18668,8 @@ msgstr "" msgid "" "The node can only grab focus on mouse clicks. Use with [member focus_mode]." msgstr "" +"Le nœud ne reçoit le focus que pour les clics de la souris. À utiliser avec " +"[membre focus_mode]." #: doc/classes/Control.xml msgid "" @@ -18671,9 +18691,8 @@ msgid "Sent when the mouse pointer exits the node." msgstr "" #: doc/classes/Control.xml -#, fuzzy msgid "Sent when the node grabs focus." -msgstr "Envoyé lorsque le nœud capte le focus." +msgstr "Envoyé lorsque le nœud reçoit le focus." #: doc/classes/Control.xml msgid "Sent when the node loses focus." @@ -18718,7 +18737,7 @@ msgstr "" #: doc/classes/Control.xml msgid "" "Show the system's pointing hand mouse cursor when the user hovers the node." -msgstr "" +msgstr "Afficher le curseur de la main qui pointe quand il passe sur ce nœud." #: doc/classes/Control.xml msgid "Show the system's cross mouse cursor when the user hovers the node." @@ -19101,6 +19120,7 @@ msgstr "" #: doc/classes/CPUParticles.xml doc/classes/CPUParticles2D.xml msgid "Returns the base value of the parameter specified by [enum Parameter]." msgstr "" +"Retourne la valeur de base pour le paramètre spécifie par [enum Parameter]." #: doc/classes/CPUParticles.xml doc/classes/CPUParticles2D.xml msgid "Returns the [Curve] of the parameter specified by [enum Parameter]." @@ -19110,11 +19130,14 @@ msgstr "" msgid "" "Returns the randomness factor of the parameter specified by [enum Parameter]." msgstr "" +"Retourne le facteur d'aléatoire pour le paramètre spécifie par [enum " +"Parameter]." #: doc/classes/CPUParticles.xml doc/classes/CPUParticles2D.xml msgid "" "Returns the enabled state of the given flag (see [enum Flags] for options)." msgstr "" +"Retourne l'état activé du drapeau donné (voir [enum Flags] pour les options)." #: doc/classes/CPUParticles.xml doc/classes/CPUParticles2D.xml msgid "Restarts the particle emitter." @@ -19123,6 +19146,7 @@ msgstr "Redémarre l'émetteur de particules." #: doc/classes/CPUParticles.xml doc/classes/CPUParticles2D.xml msgid "Sets the base value of the parameter specified by [enum Parameter]." msgstr "" +"Définit la valeur de base pour le paramètre spécifié par [enum Parameter]." #: doc/classes/CPUParticles.xml doc/classes/CPUParticles2D.xml msgid "Sets the [Curve] of the parameter specified by [enum Parameter]." @@ -19132,10 +19156,13 @@ msgstr "" msgid "" "Sets the randomness factor of the parameter specified by [enum Parameter]." msgstr "" +"Définit le facteur d'aléatoire pour le paramètre spécifie par [enum " +"Parameter]." #: doc/classes/CPUParticles.xml doc/classes/CPUParticles2D.xml msgid "Enables or disables the given flag (see [enum Flags] for options)." msgstr "" +"Active ou désactive le drapeau donné (voir [enum Flags] pour les options)." #: doc/classes/CPUParticles.xml doc/classes/CPUParticles2D.xml #: doc/classes/Particles.xml doc/classes/Particles2D.xml @@ -19229,7 +19256,6 @@ msgid "The rate at which particles lose velocity." msgstr "Le vitesse à la laquelle les particules perdent leur vitesse." #: doc/classes/CPUParticles.xml doc/classes/CPUParticles2D.xml -#, fuzzy msgid "Damping will vary along this [Curve]." msgstr "L'amortissement varie le long de cette [Curve]." @@ -19256,6 +19282,8 @@ msgid "" "The rectangle's extents if [member emission_shape] is set to [constant " "EMISSION_SHAPE_BOX]." msgstr "" +"La taille de rectangle si [member emission_shape] est [constant " +"EMISSION_SHAPE_BOX]." #: doc/classes/CPUParticles.xml doc/classes/CPUParticles2D.xml msgid "" @@ -19268,6 +19296,8 @@ msgid "" "Sets the direction the particles will be emitted in when using [constant " "EMISSION_SHAPE_DIRECTED_POINTS]." msgstr "" +"Définit la direction des particules qui seront émises quand [constant " +"EMISSION_SHAPE_DIRECTED_POINTS] est utilisé." #: doc/classes/CPUParticles.xml doc/classes/CPUParticles2D.xml msgid "" @@ -19304,12 +19334,16 @@ msgid "" "Particles will be emitted inside this region. See [enum EmissionShape] for " "possible values." msgstr "" +"Les particules seront émises à l'intérieur de cette région. Voir [enum " +"EmissionShape] pour les valeurs possible." #: doc/classes/CPUParticles.xml msgid "" "The sphere's radius if [enum EmissionShape] is set to [constant " "EMISSION_SHAPE_SPHERE]." msgstr "" +"Le rayon de la sphere si [enum EmissionShape] est [constant " +"EMISSION_SHAPE_SPHERE]." #: doc/classes/CPUParticles.xml doc/classes/CPUParticles2D.xml #: doc/classes/Particles.xml doc/classes/Particles2D.xml @@ -19342,10 +19376,14 @@ msgstr "Aligner l’axe Y de la particule avec la direction de sa vélocité." #: doc/classes/CPUParticles.xml doc/classes/ParticlesMaterial.xml msgid "If [code]true[/code], particles will not move on the z axis." msgstr "" +"Si [code]true[/code], les particules ne se déplaceront pas le long de l'axe " +"Z." #: doc/classes/CPUParticles.xml doc/classes/ParticlesMaterial.xml msgid "If [code]true[/code], particles rotate around Y axis by [member angle]." msgstr "" +"Si [code]true[/code], les particules pivoteront autour de l'axe Y par " +"[membre angle]." #: doc/classes/CPUParticles.xml msgid "" @@ -19368,7 +19406,7 @@ msgstr "Gravité appliquée à chaque particule." #: doc/classes/CPUParticles.xml doc/classes/CPUParticles2D.xml #: doc/classes/ParticlesMaterial.xml msgid "Initial hue variation applied to each particle." -msgstr "" +msgstr "La variation de teinte appliquée à chaque particule." #: doc/classes/CPUParticles.xml doc/classes/CPUParticles2D.xml msgid "Each particle's hue will vary along this [Curve]." @@ -19376,9 +19414,8 @@ msgstr "" #: doc/classes/CPUParticles.xml doc/classes/CPUParticles2D.xml #: doc/classes/ParticlesMaterial.xml -#, fuzzy msgid "Hue variation randomness ratio." -msgstr "Rapport de randomité de variation de teinte." +msgstr "Facteur de l'aléatoire de la variation de la teinte." #: doc/classes/CPUParticles.xml doc/classes/CPUParticles2D.xml #: doc/classes/ParticlesMaterial.xml @@ -19532,15 +19569,17 @@ msgstr "Facteur d'aléatoire de l'accélération tangentielle." #: doc/classes/Particles.xml doc/classes/Particles2D.xml msgid "Particles are drawn in the order emitted." msgstr "" +"Les particules sont affichées dans l'ordre dans lequel elles ont été émises." #: doc/classes/CPUParticles.xml doc/classes/CPUParticles2D.xml #: doc/classes/Particles.xml doc/classes/Particles2D.xml msgid "Particles are drawn in order of remaining lifetime." msgstr "" +"Les particules sont affichées dans l'ordre de la durée de vie restante." #: doc/classes/CPUParticles.xml doc/classes/Particles.xml msgid "Particles are drawn in order of depth." -msgstr "" +msgstr "Les particules sont affichées suivant leur profondeur à l'écran." #: doc/classes/CPUParticles.xml doc/classes/CPUParticles2D.xml msgid "" @@ -19577,78 +19616,96 @@ msgid "" "Use with [method set_param], [method set_param_randomness], and [method " "set_param_curve] to set tangential acceleration properties." msgstr "" +"Utiliser avec [method set_param], [method set_param_randomness], et [method " +"set_param_curve] pour définir les propriétés de l'accélération tangentielle." #: doc/classes/CPUParticles.xml doc/classes/CPUParticles2D.xml msgid "" "Use with [method set_param], [method set_param_randomness], and [method " "set_param_curve] to set damping properties." msgstr "" +"À utiliser avec [method set_param], [method set_param_randomness], et " +"[method set_param_curve] pour définir les propriétés d'amortissement." #: doc/classes/CPUParticles.xml doc/classes/CPUParticles2D.xml msgid "" "Use with [method set_param], [method set_param_randomness], and [method " "set_param_curve] to set angle properties." msgstr "" +"Utiliser avec [method set_param], [method set_param_randomness], et [method " +"set_param_curve] pour définir les propriétés de l'angle." #: doc/classes/CPUParticles.xml doc/classes/CPUParticles2D.xml msgid "" "Use with [method set_param], [method set_param_randomness], and [method " "set_param_curve] to set scale properties." msgstr "" +"Utiliser avec [method set_param], [method set_param_randomness], et [method " +"set_param_curve] pour définir les propriétés de mise à l'échelle." #: doc/classes/CPUParticles.xml doc/classes/CPUParticles2D.xml msgid "" "Use with [method set_param], [method set_param_randomness], and [method " "set_param_curve] to set hue variation properties." msgstr "" +"Utiliser avec [method set_param], [method set_param_randomness], et [method " +"set_param_curve] pour définir les propriétés de la variation de teinte." #: doc/classes/CPUParticles.xml doc/classes/CPUParticles2D.xml msgid "" "Use with [method set_param], [method set_param_randomness], and [method " "set_param_curve] to set animation speed properties." msgstr "" +"Utiliser avec [method set_param], [method set_param_randomness], et [method " +"set_param_curve] pour définir les propriétés de vitesse de l'animation." #: doc/classes/CPUParticles.xml doc/classes/CPUParticles2D.xml msgid "" "Use with [method set_param], [method set_param_randomness], and [method " "set_param_curve] to set animation offset properties." msgstr "" +"Utiliser avec [method set_param], [method set_param_randomness], et [method " +"set_param_curve] pour définir les propriétés du décalage de l'animation." #: doc/classes/CPUParticles.xml doc/classes/CPUParticles2D.xml #: doc/classes/ParticlesMaterial.xml msgid "Represents the size of the [enum Parameter] enum." -msgstr "" +msgstr "Représente la taille de l'énumération [enum Parameter]." #: doc/classes/CPUParticles.xml doc/classes/CPUParticles2D.xml msgid "Use with [method set_particle_flag] to set [member flag_align_y]." msgstr "" +"Utiliser avec [method set_particle_flag] pour définir [member flag_align_y]." #: doc/classes/CPUParticles.xml msgid "Use with [method set_particle_flag] to set [member flag_rotate_y]." msgstr "" +"Utiliser avec [method set_particle_flag] pour définir [member flag_rotate_y]." #: doc/classes/CPUParticles.xml msgid "Use with [method set_particle_flag] to set [member flag_disable_z]." msgstr "" +"Utiliser avec [method set_particle_flag] pour définir [member " +"flag_disable_z]." #: doc/classes/CPUParticles.xml doc/classes/CPUParticles2D.xml #: doc/classes/GeometryInstance.xml doc/classes/ParticlesMaterial.xml #: doc/classes/SpatialMaterial.xml msgid "Represents the size of the [enum Flags] enum." -msgstr "" +msgstr "Représente la taille de l'énumération [enum Flags]." #: doc/classes/CPUParticles.xml doc/classes/CPUParticles2D.xml #: doc/classes/ParticlesMaterial.xml msgid "All particles will be emitted from a single point." -msgstr "" +msgstr "Toutes les particules seront émises depuis un seul point." #: doc/classes/CPUParticles.xml doc/classes/ParticlesMaterial.xml msgid "Particles will be emitted in the volume of a sphere." -msgstr "" +msgstr "Toutes les particules seront émises depuis l'intérieur d'une sphère." #: doc/classes/CPUParticles.xml doc/classes/ParticlesMaterial.xml msgid "Particles will be emitted in the volume of a box." -msgstr "" +msgstr "Toutes les particules seront émises depuis l'intérieur d'une boite." #: doc/classes/CPUParticles.xml doc/classes/CPUParticles2D.xml msgid "" @@ -19667,12 +19724,12 @@ msgstr "" #: doc/classes/CPUParticles.xml doc/classes/ParticlesMaterial.xml msgid "Particles will be emitted in a ring or cylinder." -msgstr "" +msgstr "Toutes les particules seront émises depuis un anneau ou un cylindre." #: doc/classes/CPUParticles.xml doc/classes/CPUParticles2D.xml #: doc/classes/ParticlesMaterial.xml msgid "Represents the size of the [enum EmissionShape] enum." -msgstr "" +msgstr "Représente la taille de l'énumération [enum EmissionShape]." #: doc/classes/CPUParticles2D.xml msgid "CPU-based 2D particle emitter." @@ -19746,14 +19803,20 @@ msgid "" "Each particle's initial direction range from [code]+spread[/code] to [code]-" "spread[/code] degrees." msgstr "" +"La direction initiale de chaque particules sera comprise entre " +"[code]+spread[/code] et [code]-spread[/code] degrés." #: doc/classes/CPUParticles2D.xml doc/classes/Particles2D.xml msgid "Particle texture. If [code]null[/code], particles will be squares." msgstr "" +"La texture des particules. Si [code]null[/code], les particules seront " +"carrées." #: doc/classes/CPUParticles2D.xml msgid "Present for consistency with 3D particle nodes, not used in 2D." msgstr "" +"Présent pour des raisons de cohérence avec les nœuds de particules 3D, mais " +"non utilisé en 2D." #: doc/classes/CPUParticles2D.xml msgid "" @@ -19763,7 +19826,7 @@ msgstr "" #: doc/classes/CPUParticles2D.xml msgid "Particles will be emitted in the area of a rectangle." -msgstr "" +msgstr "Toutes les particules seront émises depuis l'aire d'un rectangle." #: doc/classes/Crypto.xml msgid "Access to advanced cryptographic functionalities." @@ -19965,23 +20028,23 @@ msgstr "" #: modules/csg/doc_classes/CSGBox.xml msgid "Depth of the box measured from the center of the box." -msgstr "" +msgstr "La profondeur de la boite mesurée depuis son centre." #: modules/csg/doc_classes/CSGBox.xml msgid "Height of the box measured from the center of the box." -msgstr "" +msgstr "La hauteur de la boite mesuré depuis son centre." #: modules/csg/doc_classes/CSGBox.xml msgid "The material used to render the box." -msgstr "" +msgstr "Le matériau utilisé pour rendre la boite." #: modules/csg/doc_classes/CSGBox.xml msgid "Width of the box measured from the center of the box." -msgstr "" +msgstr "La longueur de la boite mesuré depuis son centre." #: modules/csg/doc_classes/CSGCombiner.xml msgid "A CSG node that allows you to combine other CSG modifiers." -msgstr "" +msgstr "Un nœud CSG qui permet de combiner plusieurs modificateurs CSG." #: modules/csg/doc_classes/CSGCombiner.xml msgid "" @@ -20291,7 +20354,7 @@ msgstr "" #: modules/csg/doc_classes/CSGShape.xml doc/classes/RayCast2D.xml #: doc/classes/SoftBody.xml msgid "Returns an individual bit on the collision mask." -msgstr "" +msgstr "Retourne un seul bit du masque de collision." #: modules/csg/doc_classes/CSGShape.xml msgid "" @@ -20484,13 +20547,12 @@ msgstr "" #: modules/mono/doc_classes/CSharpScript.xml #: modules/gdnative/doc_classes/PluginScript.xml -#, fuzzy msgid "Returns a new instance of the script." -msgstr "Retourne une nouvelle instance du scénario." +msgstr "Retourne une nouvelle instance du script." #: doc/classes/CubeMap.xml msgid "A CubeMap is a 6-sided 3D texture." -msgstr "" +msgstr "Un CubeMap est une texture à 6 faces en 3D." #: doc/classes/CubeMap.xml msgid "" @@ -20553,37 +20615,32 @@ msgid "" msgstr "" #: doc/classes/CubeMap.xml -#, fuzzy msgid "Identifier for the left face of the [CubeMap]." -msgstr "Inverser les faces du maillage." +msgstr "L'identifiant de la face de gauche du [CubeMap]." #: doc/classes/CubeMap.xml -#, fuzzy msgid "Identifier for the right face of the [CubeMap]." -msgstr "Inverser les faces du maillage." +msgstr "L'identifiant de la face de droite du [CubeMap]." #: doc/classes/CubeMap.xml msgid "Identifier for the bottom face of the [CubeMap]." -msgstr "" +msgstr "L'identifiant de la face du bas du [CubeMap]." #: doc/classes/CubeMap.xml -#, fuzzy msgid "Identifier for the top face of the [CubeMap]." -msgstr "Inverser les faces du maillage." +msgstr "L'identifiant de la face du haut du [CubeMap]." #: doc/classes/CubeMap.xml -#, fuzzy msgid "Identifier for the front face of the [CubeMap]." -msgstr "Inverser les faces du maillage." +msgstr "L'identifiant de la face de devant du [CubeMap]." #: doc/classes/CubeMap.xml -#, fuzzy msgid "Identifier for the back face of the [CubeMap]." -msgstr "Inverser les faces du maillage." +msgstr "L'identifiant de la face de derrière du [CubeMap]." #: doc/classes/CubeMap.xml msgid "Generate mipmaps, to enable smooth zooming out of the texture." -msgstr "" +msgstr "Génère des mipmaps, pour lisser le zoom arrière de la texture." #: doc/classes/CubeMap.xml msgid "Repeat (instead of clamp to edge)." @@ -20846,15 +20903,15 @@ msgstr "" #: doc/classes/Curve.xml msgid "The number of points to include in the baked (i.e. cached) curve data." -msgstr "" +msgstr "Le nombre de points à inclure dans les données de cache de la courbe." #: doc/classes/Curve.xml msgid "The maximum value the curve can reach." -msgstr "" +msgstr "La valeur maximale que la courbe peut atteindre." #: doc/classes/Curve.xml msgid "The minimum value the curve can reach." -msgstr "" +msgstr "La valeur minimale que la courbe peut atteindre." #: doc/classes/Curve.xml msgid "Emitted when [member max_value] or [member min_value] is changed." @@ -20876,7 +20933,7 @@ msgstr "" #: doc/classes/Curve2D.xml msgid "Describes a Bézier curve in 2D space." -msgstr "" +msgstr "Décrit une courbe de Bézier dans l'espace 2D." #: doc/classes/Curve2D.xml msgid "" @@ -20905,9 +20962,8 @@ msgid "" msgstr "" #: doc/classes/Curve2D.xml -#, fuzzy msgid "Returns the cache of points as a [PoolVector2Array]." -msgstr "Retourne le cache de points sous forme de [PackedVector3Array]." +msgstr "Retourne le cache de points sous forme de [PoolVector2Array]." #: doc/classes/Curve2D.xml msgid "" @@ -21053,14 +21109,12 @@ msgid "" msgstr "" #: doc/classes/Curve3D.xml -#, fuzzy msgid "Returns the cache of points as a [PoolVector3Array]." -msgstr "Retourne le cache de points sous forme de [PackedVector3Array]." +msgstr "Retourne le cache de points sous forme de [PoolVector3Array]." #: doc/classes/Curve3D.xml -#, fuzzy msgid "Returns the cache of tilts as a [PoolRealArray]." -msgstr "Retourne le cache d’inclinaisons en tant que [PackedFloat32Array]." +msgstr "Retourne le cache d’inclinaisons en tant que [PoolRealArray]." #: doc/classes/Curve3D.xml msgid "" @@ -21281,7 +21335,7 @@ msgstr "" #: doc/classes/Dictionary.xml msgid "Dictionary type." -msgstr "Type de dictionnaire." +msgstr "Le type dictionnaire." #: doc/classes/Dictionary.xml msgid "" @@ -21392,11 +21446,11 @@ msgstr "" #: doc/classes/Dictionary.xml msgid "GDScript basics: Dictionary" -msgstr "" +msgstr "Les bases de GDScript : Les dictionnaires" #: doc/classes/Dictionary.xml msgid "Clear the dictionary, removing all key/value pairs." -msgstr "" +msgstr "Efface le dictionnaire, retirant toutes les clés et valeurs." #: doc/classes/Dictionary.xml msgid "" @@ -21404,10 +21458,15 @@ msgid "" "parameter causes inner dictionaries and arrays to be copied recursively, but " "does not apply to objects." msgstr "" +"Créé une copié du dictionnaire et la retourne. Le paramètre [code]deep[/" +"code] permet de faire une copie en profondeur (de manière récursives) des " +"valeurs si ce sont des dictionnaires ou des tableaux, où leurs éléments et " +"sous-éléments sont aussi copiés si ce sont des dictionnaires ou des " +"tableaux, mais ne s'applique pas au objets." #: doc/classes/Dictionary.xml msgid "Returns [code]true[/code] if the dictionary is empty." -msgstr "" +msgstr "Retourne [code]true[/code] si le dictionnaire est vide." #: doc/classes/Dictionary.xml msgid "" @@ -21440,13 +21499,12 @@ msgid "" msgstr "" #: doc/classes/Dictionary.xml -#, fuzzy msgid "" "Returns [code]true[/code] if the dictionary has all the keys in the given " "array." msgstr "" -"Retourne [code]true[/code] (vrai) si la chaîne de caractères finit par la " -"chaîne de caractères donnée." +"Retourne [code]true[/code] si le dictionnaire contient toutes les clés " +"contenues dans le tableau donné." #: doc/classes/Dictionary.xml msgid "" @@ -21469,16 +21527,15 @@ msgstr "" #: doc/classes/Dictionary.xml msgid "Returns the list of keys in the [Dictionary]." -msgstr "" +msgstr "Retourne la liste des clés dans le [Dictionary]." #: doc/classes/Dictionary.xml -#, fuzzy msgid "Returns the number of keys in the dictionary." -msgstr "Renvoie le nombre de textures dans l’atlas BitmapFont." +msgstr "Retourne le nombre de clés dans le dictionnaire." #: doc/classes/Dictionary.xml msgid "Returns the list of values in the [Dictionary]." -msgstr "" +msgstr "Retourne la liste des valeurs dans le [Dictionary]." #: doc/classes/DirectionalLight.xml msgid "Directional light from a distance, as from the Sun." @@ -21512,7 +21569,6 @@ msgid "" msgstr "" #: doc/classes/DirectionalLight.xml -#, fuzzy msgid "The maximum distance for shadow splits." msgstr "Distance maximale pour les fractionnements d’ombre." @@ -21671,6 +21727,8 @@ msgid "" "Returns the absolute path to the currently opened directory (e.g. " "[code]res://folder[/code] or [code]C:\\tmp\\folder[/code])." msgstr "" +"Retourne le chemin absolu vers le dossier actuellement ouvert (ex.: " +"[code]res://folder[/code] ou [code]C:\\tmp\\folder[/code])." #: doc/classes/Directory.xml msgid "" @@ -21779,7 +21837,7 @@ msgstr "" #: doc/classes/DTLSServer.xml msgid "Helper class to implement a DTLS server." -msgstr "" +msgstr "Une classe d'aide pour implémenter un serveur DTLS." #: doc/classes/DTLSServer.xml msgid "" @@ -21867,6 +21925,7 @@ msgstr "" #: doc/classes/DynamicFont.xml msgid "DynamicFont renders vector font files at runtime." msgstr "" +"Les DynamicFont font un rendu de fichier de police vectorielles au lancement." #: doc/classes/DynamicFont.xml msgid "" @@ -21879,9 +21938,8 @@ msgid "" "main font.\n" "DynamicFont uses the [url=https://www.freetype.org/]FreeType[/url] library " "for rasterization. Supported formats are TrueType ([code].ttf[/code]), " -"OpenType ([code].otf[/code]) and Web Open Font Format 1 ([code].woff[/" -"code]). Web Open Font Format 2 ([code].woff2[/code]) is [i]not[/i] " -"supported.\n" +"OpenType ([code].otf[/code]), Web Open Font Format 1 ([code].woff[/code]), " +"and Web Open Font Format 2 ([code].woff2[/code]).\n" "[codeblock]\n" "var dynamic_font = DynamicFont.new()\n" "dynamic_font.font_data = load(\"res://BarlowCondensed-Bold.ttf\")\n" @@ -21910,10 +21968,9 @@ msgstr "" #: doc/classes/DynamicFont.xml msgid "Returns the fallback font at index [code]idx[/code]." -msgstr "" +msgstr "Retourne la police de repli à la position [code]idx[/code]." #: doc/classes/DynamicFont.xml -#, fuzzy msgid "Returns the number of fallback fonts." msgstr "Retourne le nombre de polices de rechange." @@ -21924,11 +21981,11 @@ msgstr "" #: doc/classes/DynamicFont.xml msgid "Removes the fallback font at index [code]idx[/code]." -msgstr "" +msgstr "Retire la police de repli à la position [code]idx[/code]." #: doc/classes/DynamicFont.xml msgid "Sets the fallback font at index [code]idx[/code]." -msgstr "" +msgstr "Définit la police de repli pour la position [code]idx[/code]." #: doc/classes/DynamicFont.xml msgid "" @@ -21938,7 +21995,7 @@ msgstr "" #: doc/classes/DynamicFont.xml msgid "Extra spacing at the bottom in pixels." -msgstr "" +msgstr "L'espacement supplémentaire en bas en pixels." #: doc/classes/DynamicFont.xml msgid "" @@ -21956,7 +22013,7 @@ msgstr "" #: doc/classes/DynamicFont.xml msgid "Extra spacing at the top in pixels." -msgstr "" +msgstr "L'espacement supplémentaire en haut en pixels." #: doc/classes/DynamicFont.xml msgid "The font data." @@ -22014,6 +22071,7 @@ msgstr "L'espacement pour le caractère d'espace." #: doc/classes/DynamicFontData.xml msgid "Used with [DynamicFont] to describe the location of a font file." msgstr "" +"Utiliser par [DynamicFont] pour spécifier l'emplacement du fichier de police." #: doc/classes/DynamicFontData.xml msgid "" @@ -22026,10 +22084,13 @@ msgid "" "If [code]true[/code], the font is rendered with anti-aliasing. This property " "applies both to the main font and its outline (if it has one)." msgstr "" +"Si [code]true[/code], la police est rendue avec l'anticrénelage. Cette " +"propriété s'applique à la fois à la police en elle-même et à son contour (si " +"elle en a un)." #: doc/classes/DynamicFontData.xml msgid "The path to the vector font file." -msgstr "" +msgstr "Le chemin vers le fichier de police vectorielle." #: doc/classes/DynamicFontData.xml msgid "The font hinting mode used by FreeType. See [enum Hinting] for options." @@ -22057,7 +22118,7 @@ msgstr "" #: doc/classes/EditorExportPlugin.xml msgid "A script that is executed when exporting the project." -msgstr "" +msgstr "Un script qui est exécuté à l'export du projet." #: doc/classes/EditorExportPlugin.xml msgid "" @@ -22312,7 +22373,7 @@ msgstr "" #: doc/classes/EditorFeatureProfile.xml doc/classes/SpatialMaterial.xml msgid "Represents the size of the [enum Feature] enum." -msgstr "" +msgstr "Représente la taille de l'énumération [enum Feature]." #: doc/classes/EditorFileDialog.xml msgid "A modified version of [FileDialog] used by the editor." @@ -22408,6 +22469,8 @@ msgid "" "The [EditorFileDialog] can select multiple files. Accepting the window will " "open all files." msgstr "" +"Le [EditorFileDialog] permet de sélectionner plusieurs fichiers. Valider le " +"dialogue ouvrira toutes ces fichiers." #: doc/classes/EditorFileDialog.xml msgid "" @@ -22686,7 +22749,7 @@ msgstr "" #: doc/classes/EditorImportPlugin.xml msgid "Gets the unique name of the importer." -msgstr "" +msgstr "Retourne le nom unique de l'importateur." #: doc/classes/EditorImportPlugin.xml msgid "" @@ -22734,6 +22797,8 @@ msgid "" "Gets the Godot resource type associated with this loader. e.g. " "[code]\"Mesh\"[/code] or [code]\"Animation\"[/code]." msgstr "" +"Récupérer le type de ressource de Godot associé avec ce chargeur, ex.: " +"[code]\"Mesh\"[/code] ou [code]\"Animation\"[/code]." #: doc/classes/EditorImportPlugin.xml msgid "" @@ -22758,18 +22823,36 @@ msgid "" msgstr "" #: doc/classes/EditorInspector.xml -msgid "A tab used to edit properties of the selected node." +#, fuzzy +msgid "A control used to edit properties of an object." msgstr "" +"Contrôle personnalisé pour modifier les propriétés à ajouter à l’inspecteur." #: doc/classes/EditorInspector.xml msgid "" -"The editor inspector is by default located on the right-hand side of the " -"editor. It's used to edit the properties of the selected node. For example, " -"you can select a node such as [Sprite] then edit its transform through the " -"inspector tool. The editor inspector is an essential tool in the game " -"development workflow.\n" -"[b]Note:[/b] This class shouldn't be instantiated directly. Instead, access " -"the singleton using [method EditorInterface.get_inspector]." +"This is the control that implements property editing in the editor's " +"Settings dialogs, the Inspector dock, etc. To get the [EditorInspector] used " +"in the editor's Inspector dock, use [method EditorInterface.get_inspector].\n" +"[EditorInspector] will show properties in the same order as the array " +"returned by [method Object.get_property_list].\n" +"If a property's name is path-like (i.e. if it contains forward slashes), " +"[EditorInspector] will create nested sections for \"directories\" along the " +"path. For example, if a property is named [code]highlighting/gdscript/" +"node_path_color[/code], it will be shown as \"Node Path Color\" inside the " +"\"GDScript\" section nested inside the \"Highlighting\" section.\n" +"If a property has [constant @GlobalScope.PROPERTY_USAGE_GROUP] usage, it " +"will group subsequent properties whose name starts with the property's hint " +"string. The group ends when a property does not start with that hint string " +"or when a new group starts. An empty group name effectively ends the current " +"group. [EditorInspector] will create a top-level section for each group. For " +"example, if a property with group usage is named [code]Collide With[/code] " +"and its hint string is [code]collide_with_[/code], a subsequent " +"[code]collide_with_area[/code] property will be shown as \"Area\" inside the " +"\"Collide With\" section.\n" +"[b]Note:[/b] Unlike sections created from path-like property names, " +"[EditorInspector] won't capitalize the name for sections created from " +"groups. So properties with group usage usually use capitalized names instead " +"of snake_cased names." msgstr "" #: doc/classes/EditorInspector.xml @@ -22844,7 +22927,7 @@ msgstr "" #: doc/classes/EditorInspectorPlugin.xml msgid "Inspector plugins" -msgstr "" +msgstr "Les greffons de l'inspecteur" #: doc/classes/EditorInspectorPlugin.xml msgid "Adds a custom control, which is not necessarily a property editor." @@ -22864,19 +22947,19 @@ msgstr "" #: doc/classes/EditorInspectorPlugin.xml msgid "Returns [code]true[/code] if this object can be handled by this plugin." -msgstr "" +msgstr "Retourne [code]true[/code] si cet objet peut être géré par ce greffon." #: doc/classes/EditorInspectorPlugin.xml msgid "Called to allow adding controls at the beginning of the list." -msgstr "" +msgstr "Appelé pour autoriser l'ajout de contrôle au début de la liste." #: doc/classes/EditorInspectorPlugin.xml msgid "Called to allow adding controls at the beginning of the category." -msgstr "" +msgstr "Appelé pour autoriser l'ajout de contrôle au début de la catégorie." #: doc/classes/EditorInspectorPlugin.xml msgid "Called to allow adding controls at the end of the list." -msgstr "" +msgstr "Appelé pour autoriser l'ajout de contrôle en fin de liste." #: doc/classes/EditorInspectorPlugin.xml msgid "" @@ -23042,7 +23125,7 @@ msgstr "" #: doc/classes/EditorInterface.xml msgid "Opens the scene at the given path." -msgstr "" +msgstr "Ouvre la scène à l'emplacement spécifié." #: doc/classes/EditorInterface.xml msgid "Plays the currently active scene." @@ -23050,7 +23133,7 @@ msgstr "Joue la scène actuellement active." #: doc/classes/EditorInterface.xml msgid "Plays the scene specified by its filepath." -msgstr "" +msgstr "Joue la scène spécifiée par son chemin de fichier." #: doc/classes/EditorInterface.xml msgid "Plays the main scene." @@ -23058,13 +23141,15 @@ msgstr "Joue la scène principale." #: doc/classes/EditorInterface.xml msgid "Reloads the scene at the given path." -msgstr "" +msgstr "Recharge la scène à l'emplacement spécifié." #: doc/classes/EditorInterface.xml msgid "" "Saves the scene. Returns either [code]OK[/code] or [code]ERR_CANT_CREATE[/" "code] (see [@GlobalScope] constants)." msgstr "" +"Enregistre la scène. Retourne soit [code]OK[/code] ou [code]ERR_CANT_CREATE[/" +"code] (voir les constantes [@GlobalScope])." #: doc/classes/EditorInterface.xml msgid "Saves the scene as a file at [code]path[/code]." @@ -23075,6 +23160,8 @@ msgid "" "Selects the file, with the path provided by [code]file[/code], in the " "FileSystem dock." msgstr "" +"Sélectionne le fichier, avec le chemin spécifié dans [code]file[/code], dans " +"la barre d'outils « FileSystem »." #: doc/classes/EditorInterface.xml msgid "" @@ -23462,11 +23549,11 @@ msgstr "" #: doc/classes/EditorPlugin.xml msgid "Minimizes the bottom panel." -msgstr "Agrandit le panneau du bas." +msgstr "Réduit le panneau du bas." #: doc/classes/EditorPlugin.xml msgid "Makes a specific item in the bottom panel visible." -msgstr "" +msgstr "Rend l'élément spécifié visible dans le panneau du bas." #: doc/classes/EditorPlugin.xml msgid "" @@ -23490,18 +23577,24 @@ msgid "" "Removes the control from the bottom panel. You have to manually [method Node." "queue_free] the control." msgstr "" +"Retire un contrôle du panneau du bas. Vous devez appeler manuellement " +"[method Node.queue_free] pour supprimer ce contrôle." #: doc/classes/EditorPlugin.xml msgid "" "Removes the control from the specified container. You have to manually " "[method Node.queue_free] the control." msgstr "" +"Retire un contrôle du conteneur spécifié. Vous devez appeler manuellement " +"[method Node.queue_free] pour supprimer ce contrôle." #: doc/classes/EditorPlugin.xml msgid "" "Removes the control from the dock. You have to manually [method Node." "queue_free] the control." msgstr "" +"Retire un contrôle de la barre d'outils. Vous devez appeler manuellement " +"[method Node.queue_free] pour supprimer ce contrôle." #: doc/classes/EditorPlugin.xml msgid "Removes a custom type added by [method add_custom_type]." @@ -23702,6 +23795,8 @@ msgstr "" msgid "" "Do not emit this manually, use the [method emit_changed] method instead." msgstr "" +"Ne l'émettez pas manuellement, utilisez plutôt la méthode [method " +"emit_changed]." #: doc/classes/EditorProperty.xml msgid "Emitted when a property was checked. Used internally." @@ -23730,6 +23825,8 @@ msgstr "" msgid "" "If you want a sub-resource to be edited, emit this signal with the resource." msgstr "" +"Si vous voulez que la sous-ressource soit modifié, émettez ce signal avec " +"cette ressource." #: doc/classes/EditorProperty.xml msgid "Emitted when selected. Used internally." @@ -23785,14 +23882,12 @@ msgid "" msgstr "" #: doc/classes/EditorResourcePicker.xml -#, fuzzy msgid "If [code]true[/code], the value can be selected and edited." -msgstr "Si [code]true[/code], le GraphNode est sélectionné." +msgstr "Si [code]true[/code], la valeur peut être sélectionnée et modifiée." #: doc/classes/EditorResourcePicker.xml -#, fuzzy msgid "The edited resource value." -msgstr "La ressource de texture du nœud." +msgstr "La valeur modifiée de la ressource." #: doc/classes/EditorResourcePicker.xml msgid "" @@ -23921,6 +24016,8 @@ msgid "" "Returns [code]true[/code] if your generator supports the resource of type " "[code]type[/code]." msgstr "" +"Retourne [code]true[/code] si votre générateur supporte les ressources du " +"type [code]type[/code]." #: doc/classes/EditorSceneImporter.xml msgid "Imports scenes from third-parties' 3D files." @@ -23966,6 +24063,14 @@ msgid "" "[/codeblock]" msgstr "" +#: modules/gltf/doc_classes/EditorSceneImporterGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [EditorSceneImporterGLTF] within a script will cause an error in an " +"exported project." +msgstr "" + #: doc/classes/EditorScenePostImport.xml msgid "Post-processes scenes after import." msgstr "Post-traite les scènes après l'importation." @@ -24006,6 +24111,8 @@ msgstr "" #: doc/classes/EditorScenePostImport.xml msgid "Returns the resource folder the imported scene file is located in." msgstr "" +"Retourne le dossier de ressources où le fichier de la scène importée est " +"placé." #: doc/classes/EditorScenePostImport.xml msgid "" @@ -24015,7 +24122,7 @@ msgstr "" #: doc/classes/EditorScript.xml msgid "Base script that can be used to add extension functions to the editor." -msgstr "" +msgstr "Script de base qui permet d'étendre les fonctionnalités de l'éditeur." #: doc/classes/EditorScript.xml msgid "" @@ -24041,6 +24148,8 @@ msgstr "" #: doc/classes/EditorScript.xml msgid "This method is executed by the Editor when [b]File > Run[/b] is used." msgstr "" +"Cette méthode est exécutée par l'éditeur quand [b]Ficher > Exécuter[/b] est " +"utilisé." #: doc/classes/EditorScript.xml msgid "" @@ -24236,7 +24345,7 @@ msgstr "" #: doc/classes/EditorSettings.xml msgid "Sets the list of favorite files and directories for this project." -msgstr "" +msgstr "Définit la liste des fichiers et dossiers favoris pour ce projet." #: doc/classes/EditorSettings.xml msgid "" @@ -24259,6 +24368,8 @@ msgid "" "Sets the list of recently visited folders in the file dialog for this " "project." msgstr "" +"Définit une liste des dossiers récemment visités dans le dialogue de " +"fichiers de ce projet." #: doc/classes/EditorSettings.xml msgid "" @@ -24269,7 +24380,7 @@ msgstr "" #: doc/classes/EditorSettings.xml msgid "Emitted after any editor setting has changed." -msgstr "" +msgstr "Émis après qu'une préférence de l'éditeur a changé." #: doc/classes/EditorSettings.xml msgid "" @@ -24407,7 +24518,7 @@ msgstr "" #: doc/classes/EditorSpatialGizmoPlugin.xml msgid "Used by the editor to define Spatial gizmo types." -msgstr "" +msgstr "Utilisé par l'éditeur pour définir les types de manipulateur Spatial." #: doc/classes/EditorSpatialGizmoPlugin.xml msgid "" @@ -24648,9 +24759,8 @@ msgid "" msgstr "Retourne une représentation [String] de l'évènement." #: doc/classes/EditorVCSInterface.xml -#, fuzzy msgid "Returns the name of the underlying VCS provider." -msgstr "Retourne le nom du nœud à [code]idx[/code]." +msgstr "Retourne le nom du fournisseur VCS utilisé." #: doc/classes/EditorVCSInterface.xml msgid "" @@ -24662,6 +24772,8 @@ msgstr "" #: doc/classes/EditorVCSInterface.xml msgid "Pulls changes from the remote. This can give rise to merge conflicts." msgstr "" +"Tire les modifications depuis le dépôt distant. Cela peut provoquer des " +"conflits de fusion." #: doc/classes/EditorVCSInterface.xml msgid "" @@ -24676,9 +24788,8 @@ msgid "Remove a branch from the local VCS." msgstr "Supprime un nœud de la sélection." #: doc/classes/EditorVCSInterface.xml -#, fuzzy msgid "Remove a remote from the local VCS." -msgstr "Supprime un nœud de la sélection." +msgstr "Supprimer un dépôt distant du VCS local." #: doc/classes/EditorVCSInterface.xml msgid "" @@ -24721,12 +24832,13 @@ msgstr "" #: doc/classes/EditorVCSInterface.xml msgid "" "Helper function to create a commit [Dictionary] item. [code]msg[/code] is " -"the commit message of the commit. [code]author[/code] is a human-readable " -"string containing the author's details, e.g. the email and name configured " -"in the VCS. [code]id[/code] is the identifier of the commit, in whichever " -"format your VCS may provide an identifier to commits. [code]date[/code] is " -"directly added to the commit item and displayed in the editor, and hence, it " -"shall be a well-formatted, human-readable date string." +"the commit message of the commit. [code]author[/code] is a single human-" +"readable string containing all the author's details, e.g. the email and name " +"configured in the VCS. [code]id[/code] is the identifier of the commit, in " +"whichever format your VCS may provide an identifier to commits. " +"[code]unix_timestamp[/code] is the UTC Unix timestamp of when the commit was " +"created. [code]offset_minutes[/code] is the timezone offset in minutes, " +"recorded from the system timezone where the commit was created." msgstr "" #: doc/classes/EditorVCSInterface.xml @@ -24761,30 +24873,28 @@ msgid "" msgstr "" #: doc/classes/EditorVCSInterface.xml -#, fuzzy msgid "Pops up an error message in the edior." -msgstr "Utilisé pour rassembler des propriétés ensemble dans l'éditeur." +msgstr "Affiche un message d'erreur dans l'éditeur." #: doc/classes/EditorVCSInterface.xml -#, fuzzy msgid "A new file has been added." -msgstr "Émis lorsqu'une nouvelle interface a été ajoutée." +msgstr "Un nouveau fichier a été ajouté." #: doc/classes/EditorVCSInterface.xml msgid "An earlier added file has been modified." -msgstr "" +msgstr "Un fichier précédemment ajouté a été modifié." #: doc/classes/EditorVCSInterface.xml msgid "An earlier added file has been renamed." -msgstr "" +msgstr "Un fichier précédemment ajouté a été renommé." #: doc/classes/EditorVCSInterface.xml msgid "An earlier added file has been deleted." -msgstr "" +msgstr "Un fichier précédemment ajouté a été supprimé." #: doc/classes/EditorVCSInterface.xml msgid "An earlier added file has been typechanged." -msgstr "" +msgstr "Un fichier précédemment ajouté a changé de type." #: doc/classes/EditorVCSInterface.xml msgid "A file is left unmerged." @@ -25090,7 +25200,7 @@ msgstr "" #: doc/classes/Environment.xml doc/classes/WorldEnvironment.xml #, fuzzy msgid "Environment and post-processing" -msgstr "$DOCS_URL/tutorials/3d/environment_and_post_processing.html" +msgstr "Les environnements et les effets post-rendu" #: doc/classes/Environment.xml msgid "Light transport in game engines" @@ -25106,6 +25216,8 @@ msgid "" "Returns [code]true[/code] if the glow level [code]idx[/code] is specified, " "[code]false[/code] otherwise." msgstr "" +"Retourne [code]true[/code] si le niveau de lueur à l'index [code]idx[/code] " +"est définit, ou [code]false[/code] sinon." #: doc/classes/Environment.xml msgid "" @@ -25199,7 +25311,7 @@ msgstr "" #: doc/classes/Environment.xml msgid "The ID of the camera feed to show in the background." -msgstr "" +msgstr "L'identifiant du flux de la caméra à afficher en arrière-plan." #: doc/classes/Environment.xml msgid "" @@ -25227,11 +25339,11 @@ msgstr "La ressource du [Sky] définit pour l’arrière-plan." #: doc/classes/Environment.xml msgid "The [Sky] resource's custom field of view." -msgstr "" +msgstr "Le champ de vision personnalisé de cette ressource [Sky]." #: doc/classes/Environment.xml msgid "The [Sky] resource's rotation expressed as a [Basis]." -msgstr "" +msgstr "La rotation du [Sky] exprimée par un [Basis]." #: doc/classes/Environment.xml #, fuzzy @@ -25244,9 +25356,8 @@ msgid "The [Sky] resource's rotation expressed as Euler angles in degrees." msgstr "La rotation de la texture en degrés." #: doc/classes/Environment.xml -#, fuzzy msgid "The amount of far blur for the depth-of-field effect." -msgstr "La quantité de voix dans l’effet." +msgstr "La quantité de flou lointain pour l'effet de profondeur." #: doc/classes/Environment.xml msgid "" @@ -25272,9 +25383,8 @@ msgstr "" "La longueur de la transition entre la zone sans flou et le flou lointain." #: doc/classes/Environment.xml -#, fuzzy msgid "The amount of near blur for the depth-of-field effect." -msgstr "La quantité de voix dans l’effet." +msgstr "La quantité de flou proche pour l'effet de profondeur." #: doc/classes/Environment.xml msgid "" @@ -25283,9 +25393,8 @@ msgstr "" "La distance de la caméra à laquelle l'effet de flou proche affecte le rendu." #: doc/classes/Environment.xml -#, fuzzy msgid "If [code]true[/code], enables the depth-of-field near blur effect." -msgstr "Si [code]true[/code], active le drapeau spécifié." +msgstr "Si [code]true[/code], active l'effet de flou de champ proche." #: doc/classes/Environment.xml msgid "" @@ -25636,6 +25745,8 @@ msgid "" "Clears the background using the clear color defined in [member " "ProjectSettings.rendering/environment/default_clear_color]." msgstr "" +"Efface l'arrière-plan en utilisant la couleur d'effacement définie par " +"[member ProjectSettings.rendering/environment/default_clear_color]." #: doc/classes/Environment.xml msgid "Clears the background using a custom clear color." @@ -25643,7 +25754,7 @@ msgstr "" #: doc/classes/Environment.xml msgid "Displays a user-defined sky in the background." -msgstr "" +msgstr "Affiche un ciel personnalisé en arrière-plan." #: doc/classes/Environment.xml msgid "" @@ -25659,11 +25770,11 @@ msgstr "Affiche un [CanvasLayer] en arrière-plan." #: doc/classes/Environment.xml msgid "Displays a camera feed in the background." -msgstr "" +msgstr "Afficher le flux de la caméra en arrière-plan." #: doc/classes/Environment.xml msgid "Represents the size of the [enum BGMode] enum." -msgstr "" +msgstr "Représente la taille de l'énumération [enum BGMode]." #: doc/classes/Environment.xml msgid "" @@ -25811,7 +25922,7 @@ msgstr "" #: doc/classes/Expression.xml msgid "Returns [code]true[/code] if [method execute] has failed." -msgstr "" +msgstr "Retourne [code]true[/code] si [method execute] a échoué." #: doc/classes/Expression.xml msgid "" @@ -25834,9 +25945,8 @@ msgid "" msgstr "" #: doc/classes/ExternalTexture.xml -#, fuzzy msgid "Returns the external texture name." -msgstr "Retourne la texture de la tuile." +msgstr "Retourne le nom de la texture externe." #: doc/classes/ExternalTexture.xml msgid "External texture size." @@ -25883,7 +25993,7 @@ msgstr "" #: doc/classes/File.xml msgid "File system" -msgstr "" +msgstr "Le système de fichiers" #: doc/classes/File.xml msgid "" @@ -25999,7 +26109,7 @@ msgstr "" #: doc/classes/File.xml msgid "Returns the size of the file in bytes." -msgstr "" +msgstr "Retourne la taille du fichier en octets." #: doc/classes/File.xml msgid "" @@ -26030,6 +26140,7 @@ msgstr "" #: doc/classes/File.xml msgid "Returns the path as a [String] for the current open file." msgstr "" +"Retourne le chemin en tant que [String] du fichier actuellement ouvert." #: doc/classes/File.xml msgid "Returns the absolute path as a [String] for the current open file." @@ -26065,6 +26176,7 @@ msgstr "" #: doc/classes/File.xml msgid "Opens the file for writing or reading, depending on the flags." msgstr "" +"Ouvre un fichier pour écriture ou lecture, suivant le drapeau spécifié." #: doc/classes/File.xml msgid "" @@ -26327,7 +26439,7 @@ msgstr "" #: doc/classes/FileDialog.xml msgid "Clear currently selected items in the dialog." -msgstr "" +msgstr "Efface l'élément actuellement sélectionné dans le dialogue." #: doc/classes/FileDialog.xml msgid "" @@ -26361,11 +26473,11 @@ msgstr "" #: doc/classes/FileDialog.xml msgid "The current working directory of the file dialog." -msgstr "" +msgstr "L'actuel dossier dans le dialogue de choix de fichier." #: doc/classes/FileDialog.xml msgid "The currently selected file of the file dialog." -msgstr "" +msgstr "L'actuel fichier sélectionné dans le dialogue de choix de fichier." #: doc/classes/FileDialog.xml msgid "The currently selected file path of the file dialog." @@ -26395,11 +26507,11 @@ msgstr "" #: doc/classes/FileDialog.xml msgid "If [code]true[/code], the dialog will show hidden files." -msgstr "" +msgstr "Si [code]true[/code], le dialogue affichera les fichiers masqués." #: doc/classes/FileDialog.xml msgid "Emitted when the user selects a directory." -msgstr "" +msgstr "Émis quand l'utilisateur sélectionne un dossier." #: doc/classes/FileDialog.xml msgid "" @@ -26409,7 +26521,7 @@ msgstr "" #: doc/classes/FileDialog.xml msgid "Emitted when the user selects multiple files." -msgstr "" +msgstr "Émis quand l'utilisateur sélectionne plusieurs fichiers." #: doc/classes/FileDialog.xml msgid "The dialog allows selecting one, and only one file." @@ -26424,14 +26536,15 @@ msgid "" "The dialog only allows selecting a directory, disallowing the selection of " "any file." msgstr "" +"Le dialogue ne permet de sélectionner que des dossiers, et aucun fichier." #: doc/classes/FileDialog.xml msgid "The dialog allows selecting one file or directory." -msgstr "" +msgstr "Le dialogue permet de sélectionner un fichier ou dossier." #: doc/classes/FileDialog.xml msgid "The dialog will warn when a file exists." -msgstr "" +msgstr "Le dialogue avertira si un fichier existe déjà." #: doc/classes/FileDialog.xml msgid "" @@ -26461,7 +26574,7 @@ msgstr "" #: doc/classes/FileDialog.xml msgid "The color modulation applied to the folder icon." -msgstr "" +msgstr "La couleur de modulation appliquée à l'icône de dossier." #: doc/classes/FileDialog.xml msgid "Custom icon for files." @@ -26473,7 +26586,7 @@ msgstr "Icône personnalisée pour les dossiers." #: doc/classes/FileDialog.xml msgid "Custom icon for the parent folder arrow." -msgstr "" +msgstr "L'icône personnalisée pour la flèche du dossier parent." #: doc/classes/FileDialog.xml msgid "Custom icon for the reload button." @@ -26481,7 +26594,7 @@ msgstr "Icône personnalisée pour le bouton de rechargement." #: doc/classes/FileDialog.xml msgid "Custom icon for the toggle hidden button." -msgstr "" +msgstr "L'icône personnalisé pour le bouton d'affichage." #: doc/classes/float.xml msgid "Float built-in type." @@ -26518,12 +26631,15 @@ msgid "" "Cast a [bool] value to a floating-point value, [code]float(true)[/code] will " "be equal to 1.0 and [code]float(false)[/code] will be equal to 0.0." msgstr "" +"Transforme un [bool] en flottant, donc [code]float(true)[/code] sera égal à " +"1.0 et [code]float(false)[/code] à 0.0." #: doc/classes/float.xml msgid "" "Cast an [int] value to a floating-point value, [code]float(1)[/code] will be " "equal to 1.0." msgstr "" +"Transforme un [int] en flottant, [code]float(1)[/code] sera égal à 1.0." #: doc/classes/float.xml msgid "" @@ -26553,7 +26669,7 @@ msgstr "" #: doc/classes/FlowContainer.xml #, fuzzy msgid "Returns the current line count." -msgstr "Retourne la position de défilement actuelle." +msgstr "Retourne le numéro de la ligne actuelle." #: doc/classes/Font.xml msgid "Internationalized font and text drawing support." @@ -26630,7 +26746,7 @@ msgstr "" #: doc/classes/Font.xml msgid "Returns [code]true[/code] if the font has an outline." -msgstr "" +msgstr "Retourne [code]true[/code] si la police a une bordure." #: doc/classes/Font.xml msgid "" @@ -26640,7 +26756,7 @@ msgstr "" #: doc/classes/FuncRef.xml msgid "Reference to a function in an object." -msgstr "" +msgstr "Référence une fonction située dans un objet." #: doc/classes/FuncRef.xml msgid "" @@ -26752,7 +26868,7 @@ msgstr "" #: modules/gdscript/doc_classes/GDScript.xml msgid "A script implemented in the GDScript programming language." -msgstr "" +msgstr "Un script implémenté dans le langage de programmation GDScript." #: modules/gdscript/doc_classes/GDScript.xml msgid "" @@ -26765,7 +26881,7 @@ msgstr "" #: modules/gdscript/doc_classes/GDScript.xml msgid "Returns byte code for the script source code." -msgstr "" +msgstr "Retourne code en octets du code source du script." #: modules/gdscript/doc_classes/GDScript.xml msgid "" @@ -27158,7 +27274,7 @@ msgstr "" #: doc/classes/Generic6DOFJoint.xml msgid "The velocity the linear motor will try to reach." -msgstr "" +msgstr "Le vitesse linéaire que le moteur essayera d'atteindre." #: doc/classes/Generic6DOFJoint.xml msgid "" @@ -27231,11 +27347,11 @@ msgstr "" #: doc/classes/Generic6DOFJoint.xml doc/classes/HingeJoint.xml msgid "Represents the size of the [enum Flag] enum." -msgstr "" +msgstr "Représente la taille de l'énumération [enum Flag]." #: doc/classes/Geometry.xml msgid "Helper node to calculate generic geometry operations." -msgstr "" +msgstr "Un nœud d'aide pour faire des opérations géométriques génériques." #: doc/classes/Geometry.xml msgid "" @@ -27405,6 +27521,8 @@ msgid "" "Returns [code]true[/code] if [code]polygon[/code]'s vertices are ordered in " "clockwise order, otherwise returns [code]false[/code]." msgstr "" +"Retourne [code]true[/code] si les sommets du [code]polygon[/code] sont dans " +"le sens horaire, et retourne [code]false[/code] pour le sens anti-horaire." #: doc/classes/Geometry.xml msgid "" @@ -27480,6 +27598,8 @@ msgid "" "Returns if [code]point[/code] is inside the triangle specified by [code]a[/" "code], [code]b[/code] and [code]c[/code]." msgstr "" +"Retourne si [code]point[/code] est à l'intérieur du triangle défini par les " +"points [code]a[/code], [code]b[/code] et [code]c[/code]." #: doc/classes/Geometry.xml msgid "" @@ -27620,15 +27740,15 @@ msgstr "" #: doc/classes/Geometry.xml msgid "Endpoints are squared off with no extension." -msgstr "" +msgstr "Les bouts sont carrés sans être allongés." #: doc/classes/Geometry.xml msgid "Endpoints are squared off and extended by [code]delta[/code] units." -msgstr "" +msgstr "Les bouts seront carrés et allongés de [code]delta[/code] unités." #: doc/classes/Geometry.xml msgid "Endpoints are rounded off and extended by [code]delta[/code] units." -msgstr "" +msgstr "Les bouts seront arrondis et allongés de [code]delta[/code] unités." #: doc/classes/GeometryInstance.xml msgid "Base node for geometry-based visual instances." @@ -27644,6 +27764,7 @@ msgstr "" msgid "" "Returns the [enum GeometryInstance.Flags] that have been set for this object." msgstr "" +"Retourne le [enum GeometryInstance.Flags] qui a été définit pour cet objet." #: doc/classes/GeometryInstance.xml msgid "" @@ -27953,6 +28074,50 @@ msgstr "" #: doc/classes/GIProbe.xml msgid "Represents the size of the [enum Subdiv] enum." +msgstr "Représente la taille de l'énumération [enum Subdiv]." + +#: modules/gltf/doc_classes/GLTFAccessor.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAccessor] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFAnimation.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAnimation] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFBufferView.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFBufferView] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFCamera.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFCamera] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFDocument.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFDocument] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFLight.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFLight] within a script will cause an error in an exported project." msgstr "" #: modules/gltf/doc_classes/GLTFLight.xml @@ -28004,6 +28169,49 @@ msgid "" "and [DirectionalLight] respectively." msgstr "" +#: modules/gltf/doc_classes/GLTFMesh.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFMesh] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFNode.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFNode] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSkeleton.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSkeleton] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSpecGloss.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSpecGloss] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFState.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFState] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFTexture.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFTexture] within a script will cause an error in an exported project." +msgstr "" + #: modules/mono/doc_classes/GodotSharp.xml msgid "Bridge between Godot and the Mono runtime (Mono-enabled builds only)." msgstr "" @@ -28097,15 +28305,17 @@ msgstr "" #: doc/classes/Gradient.xml msgid "Returns the color of the ramp color at index [code]point[/code]." -msgstr "" +msgstr "Retourne la couleur du dégradé à la position [code]point[/code]." #: doc/classes/Gradient.xml msgid "Returns the offset of the ramp color at index [code]point[/code]." msgstr "" +"Définit la position de la couleur du dégradé à la position [code]point[/" +"code]." #: doc/classes/Gradient.xml msgid "Returns the number of colors in the ramp." -msgstr "" +msgstr "Retourne le nombre de couleurs du dégradé." #: doc/classes/Gradient.xml msgid "Returns the interpolated color specified by [code]offset[/code]." @@ -28118,11 +28328,13 @@ msgstr "Retourne la position du point à l'index [code]point[/code]." #: doc/classes/Gradient.xml msgid "Sets the color of the ramp color at index [code]point[/code]." -msgstr "" +msgstr "Définit la couleur du dégradé à la position [code]point[/code]." #: doc/classes/Gradient.xml msgid "Sets the offset for the ramp color at index [code]point[/code]." msgstr "" +"Définit la position de la couleur du dégradé à la position [code]point[/" +"code]." #: doc/classes/Gradient.xml msgid "Gradient's colors returned as a [PoolColorArray]." @@ -28181,15 +28393,18 @@ msgstr "" msgid "" "The initial offset used to fill the texture specified in UV coordinates." msgstr "" +"Le décalage initial utilisé pour remplir la texture spécifiée dans les " +"coordonnées UV." #: doc/classes/GradientTexture2D.xml msgid "The final offset used to fill the texture specified in UV coordinates." msgstr "" +"Le décalage final utilisé pour remplir la texture spécifiée dans les " +"coordonnées UV." #: doc/classes/GradientTexture2D.xml -#, fuzzy msgid "The [Gradient] used to fill the texture." -msgstr "Texture remplie de gradients." +msgstr "Le [Gradient] utilisé pour remplir la texture." #: doc/classes/GradientTexture2D.xml msgid "" @@ -28355,6 +28570,7 @@ msgstr "" #: doc/classes/GraphEdit.xml msgid "Sets the specified [code]node[/code] as the one selected." msgstr "" +"Définit le nœud [code]node[/code] spécifié comme étant celui sélectionné." #: doc/classes/GraphEdit.xml msgid "If [code]true[/code], the minimap is visible." @@ -28438,9 +28654,8 @@ msgid "" msgstr "" #: doc/classes/GraphEdit.xml -#, fuzzy msgid "Emitted when the user presses [code]Ctrl + C[/code]." -msgstr "Émis lorsque le curseur change." +msgstr "Émis quand l'utilisateur presse [code]Ctrl + C[/code]." #: doc/classes/GraphEdit.xml msgid "Emitted when a GraphNode is attempted to be removed from the GraphEdit." @@ -28553,11 +28768,11 @@ msgstr "" #: doc/classes/GraphNode.xml msgid "Disables all input and output slots of the GraphNode." -msgstr "" +msgstr "Désactive toutes les entrées et sorties du GraphNode." #: doc/classes/GraphNode.xml msgid "Disables input and output slot whose index is [code]idx[/code]." -msgstr "" +msgstr "Désactive tous les entrées et sorties à l'index [code]idx[/code]." #: doc/classes/GraphNode.xml msgid "Returns the [Color] of the input connection [code]idx[/code]." @@ -28778,11 +28993,11 @@ msgstr "" #: doc/classes/GraphNode.xml msgid "The color modulation applied to the close button icon." -msgstr "" +msgstr "La couleur de modulation appliquée à l'icône du bouton fermer." #: doc/classes/GraphNode.xml msgid "The color modulation applied to the resizer icon." -msgstr "" +msgstr "La couleur de modulation appliquée à l'icône de redimensionnement." #: doc/classes/GraphNode.xml msgid "Color of the title text." @@ -28830,13 +29045,15 @@ msgstr "" #: doc/classes/GraphNode.xml msgid "The [StyleBox] used when [member comment] is enabled." -msgstr "" +msgstr "La [StyleBox] utilisée quand [member comment] est activé." #: doc/classes/GraphNode.xml msgid "" "The [StyleBox] used when [member comment] is enabled and the [GraphNode] is " "focused." msgstr "" +"La [StyleBox] utilisée quand [member comment] est activé et que le " +"[GraphNode] a le focus." #: doc/classes/GraphNode.xml msgid "The default background for [GraphNode]." @@ -28850,7 +29067,7 @@ msgstr "" #: doc/classes/GraphNode.xml msgid "The background used when the [GraphNode] is selected." -msgstr "" +msgstr "L'arrière-plan utilisé quand le [GraphNode] est sélectionné." #: doc/classes/GridContainer.xml msgid "" @@ -28912,7 +29129,7 @@ msgstr "" #: modules/gridmap/doc_classes/GridMap.xml msgid "Using gridmaps" -msgstr "" +msgstr "Utiliser les gridmaps" #: modules/gridmap/doc_classes/GridMap.xml msgid "Clear all cells." @@ -29130,7 +29347,7 @@ msgstr "" #: doc/classes/HashingContext.xml msgid "Closes the current context, and return the computed hash." -msgstr "" +msgstr "Finalise l'actuel contexte, et retourne le hachage calculé." #: doc/classes/HashingContext.xml msgid "" @@ -29141,6 +29358,7 @@ msgstr "" #: doc/classes/HashingContext.xml msgid "Updates the computation with the given [code]chunk[/code] of data." msgstr "" +"Met à jour le calcul avec la partie de données [code]chunk[/code] renseignée." #: doc/classes/HashingContext.xml msgid "Hashing algorithm: MD5." @@ -29164,7 +29382,7 @@ msgstr "Conteneur de boîte horizontale. Voir [BoxContainer]." #: doc/classes/HBoxContainer.xml msgid "The horizontal space between the [HBoxContainer]'s elements." -msgstr "" +msgstr "L'espace horizontal entre les éléments du [HBoxContainer]." #: doc/classes/HeightMapShape.xml #, fuzzy @@ -29217,12 +29435,12 @@ msgstr "" #: doc/classes/HingeJoint.xml doc/classes/SpriteBase3D.xml msgid "Returns the value of the specified flag." -msgstr "" +msgstr "Retourne la valeur de l'option donnée." #: doc/classes/HingeJoint.xml doc/classes/ParticlesMaterial.xml #: doc/classes/PinJoint.xml msgid "Returns the value of the specified parameter." -msgstr "" +msgstr "Retourne la valeur du paramètre donné." #: doc/classes/HingeJoint.xml msgid "If [code]true[/code], enables the specified flag." @@ -29249,16 +29467,20 @@ msgid "" "The minimum rotation. Only active if [member angular_limit/enable] is " "[code]true[/code]." msgstr "" +"La rotation minimale. Uniquement actif quand[member angular_limit/enable] " +"est [code]true[/code]." #: doc/classes/HingeJoint.xml doc/classes/PhysicsServer.xml msgid "The lower this value, the more the rotation gets slowed down." -msgstr "" +msgstr "Plus cette valeur sera basse, plus la rotation sera ralentie." #: doc/classes/HingeJoint.xml msgid "" "The maximum rotation. Only active if [member angular_limit/enable] is " "[code]true[/code]." msgstr "" +"La rotation maximale. Uniquement actif quand [member angular_limit/enable] " +"est [code]true[/code]." #: doc/classes/HingeJoint.xml msgid "When activated, a motor turns the hinge." @@ -29368,7 +29590,7 @@ msgstr "" #: doc/classes/HScrollBar.xml doc/classes/VScrollBar.xml msgid "Displayed when the mouse cursor hovers over the decrement button." -msgstr "" +msgstr "Affiché quand la souris survole le bouton de réduction." #: doc/classes/HScrollBar.xml doc/classes/VScrollBar.xml msgid "Displayed when the decrement button is being pressed." @@ -29386,8 +29608,7 @@ msgstr "" #: doc/classes/HScrollBar.xml doc/classes/VScrollBar.xml msgid "Displayed when the mouse cursor hovers over the increment button." -msgstr "" -"S'affiche lorsque le curseur de la souris survole le bouton d'incrémentation." +msgstr "Affiché quand la souris survole le bouton d'augmentation." #: doc/classes/HScrollBar.xml doc/classes/VScrollBar.xml msgid "Displayed when the increment button is being pressed." @@ -29492,19 +29713,21 @@ msgid "" "when it isn't under the cursor. If 0 ([code]false[/code]), it's always " "visible." msgstr "" +"Une valeur booléenne. Si 1 ([code]true[/code]), le glisseur sera " +"automatiquement masqué quand il n'est pas sous le curseur. Si 0 " +"([code]false[/code]), il sera toujours visible." #: doc/classes/HSplitContainer.xml doc/classes/VSplitContainer.xml msgid "The space between sides of the container." -msgstr "" +msgstr "L'espace entre les côtés des conteneurs." #: doc/classes/HSplitContainer.xml doc/classes/VSplitContainer.xml msgid "The icon used for the grabber drawn in the middle area." msgstr "" #: doc/classes/HTTPClient.xml -#, fuzzy msgid "Low-level hyper-text transfer protocol client." -msgstr "Client de protocole de transfert hypertexte." +msgstr "Client de protocole de transfert hypertexte de bas niveau." #: doc/classes/HTTPClient.xml msgid "" @@ -29544,6 +29767,8 @@ msgstr "" #: doc/classes/HTTPClient.xml msgid "Closes the current connection, allowing reuse of this [HTTPClient]." msgstr "" +"Ferme l'actuelle connexion, permettant de la réutiliser pour cet " +"[HTTPClient]." #: doc/classes/HTTPClient.xml msgid "" @@ -29566,9 +29791,8 @@ msgid "" msgstr "" #: doc/classes/HTTPClient.xml -#, fuzzy msgid "Returns the response's HTTP status code." -msgstr "Renvoie le code d’état HTTP de la réponse." +msgstr "Retourne le code d’état de la réponse HTTP." #: doc/classes/HTTPClient.xml msgid "Returns the response headers." @@ -29594,6 +29818,8 @@ msgid "" "Returns a [enum Status] constant. Need to call [method poll] in order to get " "status updates." msgstr "" +"Retourne la constance de [enum Status]. Vous devez appeler [method poll] " +"pour mettre à jour ce status." #: doc/classes/HTTPClient.xml msgid "If [code]true[/code], this [HTTPClient] has a response available." @@ -29602,6 +29828,8 @@ msgstr "Si [code]true[/code], ce [HTTPClient] a une réponse disponible." #: doc/classes/HTTPClient.xml msgid "If [code]true[/code], this [HTTPClient] has a response that is chunked." msgstr "" +"Si [code]true[/code], cet [HTTPClient] reçoit une réponse en différentes " +"parties." #: doc/classes/HTTPClient.xml msgid "" @@ -29696,13 +29924,15 @@ msgstr "" #: doc/classes/HTTPClient.xml msgid "The connection to use for this client." -msgstr "" +msgstr "La connexion à utiliser pour ce client." #: doc/classes/HTTPClient.xml msgid "" "The size of the buffer used and maximum bytes to read per iteration. See " "[method read_response_body_chunk]." msgstr "" +"La taille de la mémoire tampon utilisée et le nombre maximal d'octets à lire " +"à chaque itération. Voir [method read_response_body_chunk]." #: doc/classes/HTTPClient.xml msgid "" @@ -29948,12 +30178,16 @@ msgstr "" msgid "" "HTTP status code [code]305 Use Proxy[/code]. [i]Deprecated. Do not use.[/i]" msgstr "" +"Code de status HTTP [code]305 Use Proxy[/code]. [i]Obsolète. Ne pas utiliser." +"[/i]" #: doc/classes/HTTPClient.xml msgid "" "HTTP status code [code]306 Switch Proxy[/code]. [i]Deprecated. Do not use.[/" "i]" msgstr "" +"Code de status HTTP [code]306 Switch Proxy[/code]. [i]Obsolète. Ne pas " +"utiliser.[/i]" #: doc/classes/HTTPClient.xml msgid "" @@ -30255,7 +30489,7 @@ msgstr "" #: doc/classes/HTTPRequest.xml msgid "A node with the ability to send HTTP(S) requests." -msgstr "" +msgstr "Un nœud qui permet d'envoyer des requêtes HTTP(S)." #: doc/classes/HTTPRequest.xml msgid "" @@ -30445,6 +30679,7 @@ msgstr "La demande n'a pas (encore) de réponse." #: doc/classes/HTTPRequest.xml msgid "Request exceeded its maximum size limit, see [member body_size_limit]." msgstr "" +"La requête a dépassé la taille maximale, voir [member body_size_limit]." #: doc/classes/HTTPRequest.xml msgid "Request failed (currently unused)." @@ -30452,15 +30687,17 @@ msgstr "Échec de la demande (actuellement inutilisé)." #: doc/classes/HTTPRequest.xml msgid "HTTPRequest couldn't open the download file." -msgstr "[HTTPRequest] n'a pu ouvrir le fichier téléchargé." +msgstr "La HTTPRequest n'a pu ouvrir le fichier téléchargé." #: doc/classes/HTTPRequest.xml msgid "HTTPRequest couldn't write to the download file." -msgstr "" +msgstr "La HTTPRequest n'a pu écrire dans un fichier de téléchargement." #: doc/classes/HTTPRequest.xml msgid "Request reached its maximum redirect limit, see [member max_redirects]." msgstr "" +"La requête a atteint le nombre de redirections autorisée, voir [member " +"max_redirects]." #: doc/classes/Image.xml #, fuzzy @@ -30482,7 +30719,7 @@ msgstr "" #: doc/classes/Image.xml doc/classes/ImageTexture.xml msgid "Importing images" -msgstr "" +msgstr "Importer des images" #: doc/classes/Image.xml msgid "" @@ -30628,7 +30865,7 @@ msgstr "Retourne une copie des données brutes de l’image." #: doc/classes/Image.xml msgid "Returns the image's format. See [enum Format] constants." -msgstr "" +msgstr "Retourne le format de l'image. Voir [enum Format] pour les constantes." #: doc/classes/Image.xml msgid "Returns the image's height." @@ -30661,10 +30898,12 @@ msgid "" "Returns a new image that is a copy of the image's area specified with " "[code]rect[/code]." msgstr "" +"Retourne une nouvelle image qui est le copie de la zone définie par " +"[code]rect[/code] de l'image." #: doc/classes/Image.xml msgid "Returns the image's size (width and height)." -msgstr "" +msgstr "Retourne la taille de l'image (la largeur et la hauteur)." #: doc/classes/Image.xml msgid "" @@ -30678,15 +30917,15 @@ msgstr "Retourne la largeur de l'image." #: doc/classes/Image.xml msgid "Returns [code]true[/code] if the image has generated mipmaps." -msgstr "" +msgstr "Retourne [code]true[/code] si l'image à des mipmaps de générés." #: doc/classes/Image.xml msgid "Returns [code]true[/code] if the image is compressed." -msgstr "" +msgstr "Retourne [code]true[/code] si l'image est compressée." #: doc/classes/Image.xml msgid "Returns [code]true[/code] if the image has no data." -msgstr "" +msgstr "Retourne [code]true[/code] si l'image n'a aucun donnée." #: doc/classes/Image.xml msgid "" @@ -30782,6 +31021,7 @@ msgstr "" #: doc/classes/Image.xml msgid "Saves the image as a PNG file to [code]path[/code]." msgstr "" +"Enregistre l'image dans un fichier PNG à l'emplacement [code]path[/code]." #: doc/classes/Image.xml msgid "" @@ -30813,7 +31053,7 @@ msgstr "" #: doc/classes/Image.xml msgid "Shrinks the image by a factor of 2." -msgstr "" +msgstr "Réduit la taille de l'image par 2." #: doc/classes/Image.xml msgid "Converts the raw data from the sRGB colorspace to a linear scale." @@ -30821,7 +31061,7 @@ msgstr "" #: doc/classes/Image.xml msgid "Unlocks the data and prevents changes." -msgstr "" +msgstr "Déverrouille les données et évite les modifications." #: doc/classes/Image.xml #, fuzzy @@ -30832,21 +31072,24 @@ msgstr "Convertit le format de l’image. Voir les constantes [enum Format]." #: doc/classes/Image.xml msgid "The maximal width allowed for [Image] resources." -msgstr "" +msgstr "La largeur maximale autorisée pour les [Image]." #: doc/classes/Image.xml msgid "The maximal height allowed for [Image] resources." -msgstr "" +msgstr "La hauteur maximale autorisée pour les [Image]." #: doc/classes/Image.xml msgid "Texture format with a single 8-bit depth representing luminance." msgstr "" +"Un format de texture 8-bit représentant la luminance (niveaux de gris)." #: doc/classes/Image.xml msgid "" "OpenGL texture format with two values, luminance and alpha each stored with " "8 bits." msgstr "" +"Le format de texture OpenGL où il y a deux composants, la luminance et " +"l'opacité, chacun de 8 bits." #: doc/classes/Image.xml msgid "" @@ -30861,6 +31104,8 @@ msgid "" "OpenGL texture format [code]RG[/code] with two components and a bitdepth of " "8 for each." msgstr "" +"Le format de texture OpenGL [code]RG[/code] où il y a deux composants, " +"chacun de 8 bits." #: doc/classes/Image.xml msgid "" @@ -30883,6 +31128,8 @@ msgid "" "OpenGL texture format [code]RGBA[/code] with four components, each with a " "bitdepth of 4." msgstr "" +"Le format de texture OpenGL [code]RGBA[/code] où il y a quatre composants, " +"chacun de 4 bits." #: doc/classes/Image.xml msgid "" @@ -30895,48 +31142,64 @@ msgid "" "OpenGL texture format [code]GL_R32F[/code] where there's one component, a 32-" "bit floating-point value." msgstr "" +"Le format de texture OpenGL [code]GL_RGBA32F[/code] où il n'y a qu'un seul " +"composant, un flottant de 32 bits." #: doc/classes/Image.xml msgid "" "OpenGL texture format [code]GL_RG32F[/code] where there are two components, " "each a 32-bit floating-point values." msgstr "" +"Le format de texture OpenGL [code]GL_RG32F[/code] où il y a deux composants, " +"chacun un flottant de 32 bits." #: doc/classes/Image.xml msgid "" "OpenGL texture format [code]GL_RGB32F[/code] where there are three " "components, each a 32-bit floating-point values." msgstr "" +"Le format de texture OpenGL [code]GL_RGB32F[/code] où il y a trois " +"composants, chacun un flottant de 32 bits." #: doc/classes/Image.xml msgid "" "OpenGL texture format [code]GL_RGBA32F[/code] where there are four " "components, each a 32-bit floating-point values." msgstr "" +"Le format de texture OpenGL [code]GL_RGBA32F[/code] où il y a quatre " +"composants, chacun un flottant de 32 bits." #: doc/classes/Image.xml msgid "" "OpenGL texture format [code]GL_R32F[/code] where there's one component, a 16-" "bit \"half-precision\" floating-point value." msgstr "" +"Le format de texture OpenGL [code]GL_R32F[/code] où il n'y a qu'un seul " +"composant, un flottant de demi-précision de 16 bits." #: doc/classes/Image.xml msgid "" "OpenGL texture format [code]GL_RG32F[/code] where there are two components, " "each a 16-bit \"half-precision\" floating-point value." msgstr "" +"Le format de texture OpenGL [code]GL_RG32F[/code] où il y a deux composants, " +"chacun un flottant de demi-précision de 16 bits." #: doc/classes/Image.xml msgid "" "OpenGL texture format [code]GL_RGB32F[/code] where there are three " "components, each a 16-bit \"half-precision\" floating-point value." msgstr "" +"Le format de texture OpenGL [code]GL_RGB32F[/code] où il y a trois " +"composants, chacun un flottant de demi-précision de 16 bits." #: doc/classes/Image.xml msgid "" "OpenGL texture format [code]GL_RGBA32F[/code] where there are four " "components, each a 16-bit \"half-precision\" floating-point value." msgstr "" +"Le format de texture OpenGL [code]GL_RGA32F[/code] où il y a quatre " +"composants, chacun un flottant de demi-précision de 16 bits." #: doc/classes/Image.xml msgid "" @@ -31028,8 +31291,8 @@ msgid "" "Same as [url=https://en.wikipedia.org/wiki/PVRTC]PVRTC2[/url], but with an " "alpha component." msgstr "" -"Même chose que [url=https://en.wikipedia.org/wiki/PVRTC]PVRTC2[/url], mais " -"avec une composante alpha." +"C'est la même chose que [url=https://en.wikipedia.org/wiki/PVRTC]PVRTC2[/" +"url], mais avec une composante alpha." #: doc/classes/Image.xml msgid "" @@ -31042,6 +31305,8 @@ msgid "" "Same as [url=https://en.wikipedia.org/wiki/PVRTC]PVRTC4[/url], but with an " "alpha component." msgstr "" +"C'est la même chose que [url=https://en.wikipedia.org/wiki/PVRTC]PVRTC4[/" +"url], mais avec une composante alpha." #: doc/classes/Image.xml msgid "" @@ -31116,13 +31381,15 @@ msgstr "" #: doc/classes/Image.xml msgid "Represents the size of the [enum Format] enum." -msgstr "" +msgstr "Représente la taille de l'énumération [enum Format]." #: doc/classes/Image.xml msgid "" "Performs nearest-neighbor interpolation. If the image is resized, it will be " "pixelated." msgstr "" +"Fait une interpolation du voisin le plus proche. Si l'image est " +"redimensionnée, elle sera pixelisée." #: doc/classes/Image.xml msgid "" @@ -31161,11 +31428,11 @@ msgstr "" #: doc/classes/Image.xml msgid "Image does not have alpha." -msgstr "L’image n’a pas d’alpha." +msgstr "L’image n’a pas d'opacité." #: doc/classes/Image.xml msgid "Image stores alpha in a single bit." -msgstr "" +msgstr "L'image stocke l'opacité sur un seul bit." #: doc/classes/Image.xml msgid "Image uses alpha." @@ -31173,47 +31440,51 @@ msgstr "L'image utilise l'opacité." #: doc/classes/Image.xml msgid "Use S3TC compression." -msgstr "Utilisez la compression ST3TC." +msgstr "Utilise la compression ST3TC." #: doc/classes/Image.xml msgid "Use PVRTC2 compression." -msgstr "Utilisez la compression PVRTC2." +msgstr "Utilise la compression PVRTC2." #: doc/classes/Image.xml msgid "Use PVRTC4 compression." -msgstr "Utilisez la compression PVRTC4." +msgstr "Utilise la compression PVRTC4." #: doc/classes/Image.xml msgid "Use ETC compression." -msgstr "Utilisez la compression ETC." +msgstr "Utilise la compression ETC." #: doc/classes/Image.xml msgid "Use ETC2 compression." -msgstr "Utilisez la compression ETC2." +msgstr "Utilise la compression ETC2." #: doc/classes/Image.xml msgid "" "Source texture (before compression) is a regular texture. Default for all " "textures." msgstr "" +"La texture d'origine (avant la compression) est une texture classique. C'est " +"le choix par défaut de toutes les textures." #: doc/classes/Image.xml msgid "Source texture (before compression) is in sRGB space." -msgstr "" +msgstr "La texture d'origine (avant la compression) est dans l'espace sRGB." #: doc/classes/Image.xml msgid "" "Source texture (before compression) is a normal texture (e.g. it can be " "compressed into two channels)." msgstr "" +"La texture d'origine (avant la compression) est une texture pour les " +"normales (elle peut être compressée en n'utilisant que deux canaux)." #: doc/classes/Image.xml msgid "Source texture (before compression) is a [TextureLayered]." -msgstr "" +msgstr "La texture d'origine (avant la compression) est une [TextureLayered]." #: doc/classes/ImageTexture.xml msgid "A [Texture] based on an [Image]." -msgstr "" +msgstr "Une [Texture] basée sur une [Image]." #: doc/classes/ImageTexture.xml msgid "" @@ -31304,7 +31575,7 @@ msgstr "Renvoie le texte associé à l’index spécifié." #: doc/classes/ImageTexture.xml msgid "The storage quality for [constant STORAGE_COMPRESS_LOSSY]." -msgstr "" +msgstr "La qualité du stockage pour [constant STORAGE_COMPRESS_LOSSY]." #: doc/classes/ImageTexture.xml msgid "The storage type (raw, lossy, or compressed)." @@ -31351,11 +31622,15 @@ msgstr "" msgid "" "Simple helper to draw an UV sphere with given latitude, longitude and radius." msgstr "" +"Une aide simple pour afficher des sphères UV avec le nombre de latitudes, de " +"longitudes et le rayon spécifiés." #: doc/classes/ImmediateGeometry.xml msgid "" "Adds a vertex in local coordinate space with the currently set color/uv/etc." msgstr "" +"Ajoute une sommet dans les coordonnées locale avec la couleur/uv/etc. déjà " +"définit." #: doc/classes/ImmediateGeometry.xml msgid "" @@ -31371,7 +31646,7 @@ msgstr "Efface tout ce qui a été dessiné en utilisant le début / la fin." #: doc/classes/ImmediateGeometry.xml msgid "Ends a drawing context and displays the results." -msgstr "" +msgstr "Termine le contexte de dessin et affiche le résultat." #: doc/classes/ImmediateGeometry.xml msgid "The current drawing color." @@ -31459,9 +31734,9 @@ msgid "" "Returns a value between 0 and 1 representing the raw intensity of the given " "action, ignoring the action's deadzone. In most cases, you should use " "[method get_action_strength] instead.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -31471,9 +31746,9 @@ msgid "" "or L2, R2 triggers) is from the dead zone, the closer the value will be to " "1. If the action is mapped to a control that has no axis as the keyboard, " "the value returned will be 0 or 1.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -31495,6 +31770,7 @@ msgstr "" #: doc/classes/Input.xml msgid "Returns the currently assigned cursor shape (see [enum CursorShape])." msgstr "" +"Retourne la forme du curseur actuellement assignée (voir [enum CursorShape])." #: doc/classes/Input.xml msgid "" @@ -31524,7 +31800,7 @@ msgstr "Retourne l'état actuel de ce canal, voir [enum ChannelState]." #: doc/classes/Input.xml msgid "Returns the index of the provided axis name." -msgstr "" +msgstr "Retourne l'index du nom d'axe renseigné." #: doc/classes/Input.xml msgid "" @@ -31534,7 +31810,7 @@ msgstr "" #: doc/classes/Input.xml msgid "Returns the index of the provided button name." -msgstr "" +msgstr "Retourne l'index du nom de bouton renseigné." #: doc/classes/Input.xml msgid "" @@ -31554,7 +31830,7 @@ msgstr "" #: doc/classes/Input.xml msgid "Returns the duration of the current vibration effect in seconds." -msgstr "" +msgstr "Retourne la durée de l'effet de vibration actuel en secondes." #: doc/classes/Input.xml msgid "" @@ -31588,6 +31864,7 @@ msgstr "" #: doc/classes/Input.xml msgid "Returns the mouse mode. See the constants for more information." msgstr "" +"Retourne le mode de la souris. Voir les constantes pour plus d'informations." #: doc/classes/Input.xml msgid "" @@ -31609,9 +31886,9 @@ msgid "" "the button.\n" "This is useful for code that needs to run only once when an action is " "pressed, instead of every frame while it's pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_just_pressed] may " "return [code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -31623,9 +31900,9 @@ msgid "" "Returns [code]true[/code] when the user stops pressing the action event, " "meaning it's [code]true[/code] only on the frame that the user released the " "button.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -31634,9 +31911,9 @@ msgid "" "an action has multiple buttons assigned and more than one of them is " "pressed, releasing one button will release the action, even if some other " "button assigned to this action is still pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -31788,6 +32065,7 @@ msgstr "" #: doc/classes/Input.xml msgid "Sets the mouse mode. See the constants for more information." msgstr "" +"Définit le mode de la souris. Voir les constantes pour plus d'informations." #: doc/classes/Input.xml msgid "" @@ -31838,15 +32116,15 @@ msgstr "" #: doc/classes/Input.xml msgid "Emitted when a joypad device has been connected or disconnected." -msgstr "" +msgstr "Émis quand un contrôleur a été connecté ou déconnecté." #: doc/classes/Input.xml msgid "Makes the mouse cursor visible if it is hidden." -msgstr "" +msgstr "Rend le curseur visible de la souris s'il caché." #: doc/classes/Input.xml msgid "Makes the mouse cursor hidden if it is visible." -msgstr "" +msgstr "Masque le curseur de la souris s'il visible." #: doc/classes/Input.xml msgid "" @@ -32031,18 +32309,18 @@ msgstr "Retourne une représentation [String] de l'évènement." msgid "" "Returns a value between 0.0 and 1.0 depending on the given actions' state. " "Useful for getting the value of events of type [InputEventJoypadMotion].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml msgid "" "Returns [code]true[/code] if this input event matches a pre-defined action " "of any type.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -32051,9 +32329,9 @@ msgid "" "an echo event for [InputEventKey] events, unless [code]allow_echo[/code] is " "[code]true[/code]). Not relevant for events of type [InputEventMouseMotion] " "or [InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events.\n" +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -32065,9 +32343,9 @@ msgid "" "Returns [code]true[/code] if the given action is released (i.e. not " "pressed). Not relevant for events of type [InputEventMouseMotion] or " "[InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -32081,6 +32359,8 @@ msgid "" "Returns [code]true[/code] if this input event is an echo event (only for " "events of type [InputEventKey])." msgstr "" +"Retourne [code]true[/code] si cet événement d'entrée est un écho (uniquement " +"pour les événements de type [InputEventKey])." #: doc/classes/InputEvent.xml msgid "" @@ -32098,9 +32378,9 @@ msgid "" "event. Only valid for action events i.e key ([InputEventKey]), button " "([InputEventMouseButton] or [InputEventJoypadButton]), axis " "[InputEventJoypadMotion] or action ([InputEventAction]) events.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -32138,7 +32418,7 @@ msgstr "Type d’évènement d’entrée pour les actions." #: doc/classes/InputEventAction.xml msgid "The action's name. Actions are accessed via this [String]." -msgstr "" +msgstr "Le nom de l'action. Les actions sont accessibles par cette [String]." #: doc/classes/InputEventAction.xml msgid "" @@ -32223,6 +32503,8 @@ msgid "" "Stores key presses on the keyboard. Supports key presses, key releases and " "[member echo] events." msgstr "" +"Enregistre la touche du clavier appuyée. Supporte les événements de touches " +"appuyées, relâchées et [membre echo]." #: doc/classes/InputEventKey.xml msgid "" @@ -32446,6 +32728,8 @@ msgid "" "If [code]true[/code], the mouse button's state is pressed. If [code]false[/" "code], the mouse button's state is released." msgstr "" +"Si [code]true[/code], le bouton de la souris est appuyé. Si [code]false[/" +"code], le bouton de la souris est relâché." #: doc/classes/InputEventMouseMotion.xml msgid "Input event type for mouse motion events." @@ -32505,6 +32789,8 @@ msgstr "" #: doc/classes/InputEventScreenDrag.xml msgid "Contains screen drag information. See [method Node._input]." msgstr "" +"Contient les informations de déposé-glissé à l'écran. Voir [method Node." +"_input]." #: doc/classes/InputEventScreenDrag.xml msgid "The drag event index in the case of a multi-drag event." @@ -32542,6 +32828,8 @@ msgstr "" msgid "" "The touch index in the case of a multi-touch event. One index = one finger." msgstr "" +"L'index du touché dans le cas d'un événement de multi-touch. Un index = un " +"doigt (un point de contact)." #: doc/classes/InputEventScreenTouch.xml msgid "The touch position." @@ -32562,35 +32850,33 @@ msgid "" "Contains keys events information with modifiers support like [code]Shift[/" "code] or [code]Alt[/code]. See [method Node._input]." msgstr "" +"Contient les informations des événements des touches avec les touches " +"modificatrices comme [code]Shift[/code] (Majuscule) ou [code]Alt[/code] " +"(Alternative). Voir [method Node._input]." #: doc/classes/InputEventWithModifiers.xml -#, fuzzy msgid "State of the [code]Alt[/code] modifier." -msgstr "État du modificateur [kbd]Alt[/kbd]." +msgstr "L'état du modificateur [code]Alt[/code]." #: doc/classes/InputEventWithModifiers.xml -#, fuzzy msgid "State of the [code]Command[/code] modifier." -msgstr "État du modificateur [kbd]Cmd[/kbd]." +msgstr "L'état du modificateur [code]Command[/code]." #: doc/classes/InputEventWithModifiers.xml -#, fuzzy msgid "State of the [code]Ctrl[/code] modifier." -msgstr "État du modificateur [kbd]Ctrl[/kbd]." +msgstr "L'état du modificateur [code]Ctrl[/code] (Contrôle)." #: doc/classes/InputEventWithModifiers.xml -#, fuzzy msgid "State of the [code]Meta[/code] modifier." -msgstr "État du modificateur [kbd]Meta[/kbd]." +msgstr "L'état du modificateur [code]Meta[/code]." #: doc/classes/InputEventWithModifiers.xml -#, fuzzy msgid "State of the [code]Shift[/code] modifier." -msgstr "État du modificateur [kbd]Shift[/kbd]." +msgstr "L'état du modificateur [code]Shift[/code] (Majuscule)." #: doc/classes/InputMap.xml msgid "Singleton that manages [InputEventAction]." -msgstr "Singleton qui gère [InputEventAction]." +msgstr "L'instance unique qui gère les [InputEventAction]." #: doc/classes/InputMap.xml msgid "" @@ -32647,18 +32933,18 @@ msgid "" "This method ignores keyboard modifiers if the given [InputEvent] is not " "pressed (for proper release detection). See [method action_has_event] if you " "don't want this behavior.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputMap.xml msgid "Returns an array of [InputEvent]s associated with a given action." -msgstr "" +msgstr "Retourne une tableau des [InputEvent] associés à cette action." #: doc/classes/InputMap.xml msgid "Returns an array of all actions in the [InputMap]." -msgstr "" +msgstr "Retourne la liste de toutes les actions dans le [InputMap]." #: doc/classes/InputMap.xml msgid "" @@ -32927,6 +33213,8 @@ msgstr "" msgid "" "Invalid ID constant. Returned if [constant RESOLVER_MAX_QUERIES] is exceeded." msgstr "" +"La constante pour un identifiant invalide. Retourné si [constant " +"RESOLVER_MAX_QUERIES] est dépassé." #: doc/classes/IP.xml msgid "Address type: None." @@ -32998,7 +33286,7 @@ msgstr "" #: doc/classes/ItemList.xml msgid "Returns the number of items currently in the list." -msgstr "" +msgstr "Retourne le nombre d'éléments actuellement dans la liste." #: doc/classes/ItemList.xml msgid "" @@ -33014,11 +33302,13 @@ msgstr "" #: doc/classes/ItemList.xml msgid "Returns the icon associated with the specified index." -msgstr "" +msgstr "Retourne l'icône associée avec l'index donné." #: doc/classes/ItemList.xml msgid "Returns a [Color] modulating item's icon at the specified index." msgstr "" +"Retourne la [Color] de modulation pour l'icône de l'élément à la position " +"donnée." #: doc/classes/ItemList.xml msgid "" @@ -33031,17 +33321,16 @@ msgid "Returns the metadata value of the specified index." msgstr "Renvoie la valeur de métadonnées de l’index spécifié." #: doc/classes/ItemList.xml -#, fuzzy msgid "Returns the text associated with the specified index." -msgstr "Renvoie le texte associé à l’index spécifié." +msgstr "Retourne le texte associé à l’index spécifié." #: doc/classes/ItemList.xml msgid "Returns the tooltip hint associated with the specified index." -msgstr "" +msgstr "Retourne l'infobulle d'aide associée à l'index donné." #: doc/classes/ItemList.xml msgid "Returns an array with the indexes of the selected items." -msgstr "" +msgstr "Retourne un tableau des positions pour les éléments sélectionnés." #: doc/classes/ItemList.xml doc/classes/RichTextLabel.xml msgid "" @@ -33071,17 +33360,23 @@ msgstr "" msgid "" "Returns [code]true[/code] if the item at the specified index is selectable." msgstr "" +"Retourne [code]true[/code] si l'élément à la position donnée est " +"sélectionnable." #: doc/classes/ItemList.xml msgid "" "Returns [code]true[/code] if the tooltip is enabled for specified item index." msgstr "" +"Retourne [code]true[/code] si une infobulle est active pour la position " +"donnée." #: doc/classes/ItemList.xml msgid "" "Returns [code]true[/code] if the item at the specified index is currently " "selected." msgstr "" +"Retourne [code]true[/code] si l'élément à la position donnée est " +"actuellement sélectionné." #: doc/classes/ItemList.xml msgid "Moves item from index [code]from_idx[/code] to [code]to_idx[/code]." @@ -33091,6 +33386,7 @@ msgstr "" #: doc/classes/ItemList.xml msgid "Removes the item specified by [code]idx[/code] index from the list." msgstr "" +"Retire l'élément spécifié par la position [code]idx[/code] de la liste." #: doc/classes/ItemList.xml msgid "" @@ -33105,12 +33401,16 @@ msgid "" "Sets the background color of the item specified by [code]idx[/code] index to " "the specified [Color]." msgstr "" +"Définit la couleur d'arrière-plan de l'élément à la position [code]idx[/" +"code] par la [Color] donnée." #: doc/classes/ItemList.xml msgid "" "Sets the foreground color of the item specified by [code]idx[/code] index to " "the specified [Color]." msgstr "" +"Définit la couleur d'avant-plan de l'élément à la position [code]idx[/" +"code] par la [Color] donnée." #: doc/classes/ItemList.xml msgid "" @@ -33120,15 +33420,16 @@ msgid "" msgstr "" #: doc/classes/ItemList.xml -#, fuzzy msgid "" "Sets (or replaces) the icon's [Texture] associated with the specified index." -msgstr "Définit le texte de l’élément associé à l’index spécifié." +msgstr "" +"Définit (on remplace) la [Texture] de l'icône associée à la position donnée." #: doc/classes/ItemList.xml msgid "" "Sets a modulating [Color] of the item associated with the specified index." msgstr "" +"Définit la [Color] de modulation de l'élément associé à la position donnée." #: doc/classes/ItemList.xml msgid "" @@ -33163,17 +33464,16 @@ msgstr "Définit l’indice d’info-bulle de l’élément associé à l’inde #: doc/classes/ItemList.xml msgid "Sets whether the tooltip hint is enabled for specified item index." -msgstr "" -"Définit si l’indice de l’info-bulle est activé pour l’index d’élément " -"spécifié." +msgstr "Définit si l’infobulle est active pour la position donnée." #: doc/classes/ItemList.xml msgid "Sorts items in the list by their text." -msgstr "" +msgstr "Tri les éléments de la liste par leur texte." #: doc/classes/ItemList.xml msgid "Ensures the item associated with the specified index is not selected." msgstr "" +"Assure que l'élément associé à la position donnée n'est pas sélectionné." #: doc/classes/ItemList.xml msgid "Ensures there are no items selected." @@ -33183,16 +33483,20 @@ msgstr "S'assure qu'aucun élément n'est sélectionné." msgid "" "If [code]true[/code], the currently selected item can be selected again." msgstr "" +"Si [code]true[/code], l'élément actuellement sélectionné peut être " +"sélectionné à nouveau." #: doc/classes/ItemList.xml msgid "If [code]true[/code], right mouse button click can select items." -msgstr "" +msgstr "Si [code]true[/code], un clic-droit peut sélectionner les éléments." #: doc/classes/ItemList.xml msgid "" "If [code]true[/code], the control will automatically resize the height to " "fit its content." msgstr "" +"Si [code]true[/code], le taille du contrôle sera automatiquement ajusté pour " +"s'adapter à la hauteur de son contenu." #: doc/classes/ItemList.xml msgid "" @@ -33253,6 +33557,8 @@ msgid "" "Allows single or multiple item selection. See the [enum SelectMode] " "constants." msgstr "" +"Autorise une sélection d'un ou plusieurs éléments. Voir les constantes [enum " +"SelectMode]." #: doc/classes/ItemList.xml msgid "" @@ -33296,11 +33602,11 @@ msgstr "" #: doc/classes/ItemList.xml msgid "Icon is drawn above the text." -msgstr "L'icône est affiché au-dessus du texte." +msgstr "L'icône est affichée au-dessus du texte." #: doc/classes/ItemList.xml msgid "Icon is drawn to the left of the text." -msgstr "" +msgstr "L'icône est affichée à gauche du texte." #: doc/classes/ItemList.xml msgid "Only allow selecting a single item." @@ -33309,6 +33615,7 @@ msgstr "Ne permet de sélectionner qu'un seul élément." #: doc/classes/ItemList.xml msgid "Allows selecting multiple items by holding Ctrl or Shift." msgstr "" +"Autorise la sélection de plusieurs élément en maintenant Ctrl ou Maj appuyé." #: doc/classes/ItemList.xml doc/classes/Tree.xml msgid "Default text [Color] of the item." @@ -33316,13 +33623,15 @@ msgstr "La [Color] par défaut du texte de l'élément." #: doc/classes/ItemList.xml doc/classes/Tree.xml msgid "Text [Color] used when the item is selected." -msgstr "" +msgstr "La [Color] du texte utilisée quand l'élément est sélectionné." #: doc/classes/ItemList.xml msgid "" "[Color] of the guideline. The guideline is a line drawn between each row of " "items." msgstr "" +"La [Color] de la ligne de guide. Cette ligne est affichée entre chaque ligne " +"d'élément." #: doc/classes/ItemList.xml msgid "The horizontal spacing between items." @@ -33334,7 +33643,7 @@ msgstr "L'espacement entre l'icône de l'élément et le texte." #: doc/classes/ItemList.xml msgid "The vertical spacing between each line of text." -msgstr "" +msgstr "L'espacement vertical entre chaque ligne de texte." #: doc/classes/ItemList.xml msgid "The vertical spacing between items." @@ -33352,27 +33661,34 @@ msgstr "" #: doc/classes/ItemList.xml msgid "[StyleBox] used when the [ItemList] is being focused." -msgstr "" +msgstr "La [StyleBox] utilisée quand le [ItemList] n'a pas le focus." #: doc/classes/ItemList.xml msgid "[StyleBox] used for the cursor, when the [ItemList] is being focused." msgstr "" +"La [StyleBox] utilisée pour le curseur, quand le [ItemList] est en focus." #: doc/classes/ItemList.xml msgid "" "[StyleBox] used for the cursor, when the [ItemList] is not being focused." msgstr "" +"La [StyleBox] utilisée pour le curseur, quand le [ItemList] n'est pas en " +"focus." #: doc/classes/ItemList.xml msgid "" "[StyleBox] for the selected items, used when the [ItemList] is not being " "focused." msgstr "" +"La [StyleBox] utilisée pour les éléments sélectionnés, quand le [ItemList] " +"n'est pas en focus." #: doc/classes/ItemList.xml msgid "" "[StyleBox] for the selected items, used when the [ItemList] is being focused." msgstr "" +"La [StyleBox] utilisée pour les éléments sélectionnés, quand le [ItemList] " +"est en focus." #: doc/classes/JavaScript.xml msgid "" @@ -33511,6 +33827,8 @@ msgid "" "Singleton that connects the engine with Android plugins to interface with " "native Android code." msgstr "" +"L'instance unique qui connecte le moteur de jeu avec les greffons Android " +"pour s'interfacer sur du code natif Android." #: doc/classes/JNISingleton.xml msgid "" @@ -33524,7 +33842,7 @@ msgstr "" #: doc/classes/JNISingleton.xml msgid "Creating Android plugins" -msgstr "" +msgstr "Créer des greffons Android" #: doc/classes/Joint.xml msgid "Base class for all 3D joints." @@ -33821,7 +34139,7 @@ msgstr "" #: doc/classes/KinematicBody.xml doc/classes/KinematicBody2D.xml msgid "Kinematic character (2D)" -msgstr "" +msgstr "Caractère cinématique (2D)" #: doc/classes/KinematicBody.xml #, fuzzy @@ -34023,18 +34341,24 @@ msgid "" "Lock the body's X axis movement. Deprecated alias for [member " "axis_lock_motion_x]." msgstr "" +"Verrouille l'axe X de mouvement du corps. C'est un raccourcis obsolète vers " +"[member axis_lock_motion_x]." #: doc/classes/KinematicBody.xml msgid "" "Lock the body's Y axis movement. Deprecated alias for [member " "axis_lock_motion_y]." msgstr "" +"Verrouille l'axe Y de mouvement du corps. C'est un raccourcis obsolète vers " +"[member axis_lock_motion_Y]." #: doc/classes/KinematicBody.xml msgid "" "Lock the body's Z axis movement. Deprecated alias for [member " "axis_lock_motion_z]." msgstr "" +"Verrouille l'axe Z de mouvement du corps. C'est un raccourcis obsolète vers " +"[member axis_lock_motion_z]." #: doc/classes/KinematicBody.xml doc/classes/KinematicBody2D.xml msgid "" @@ -34057,7 +34381,7 @@ msgstr "" #: doc/classes/KinematicBody.xml doc/classes/KinematicBody2D.xml msgid "Do nothing when leaving a platform." -msgstr "" +msgstr "Ne fait rien quand quitte la plateforme." #: doc/classes/KinematicBody2D.xml msgid "Kinematic body 2D node." @@ -34082,9 +34406,8 @@ msgid "" msgstr "" #: doc/classes/KinematicBody2D.xml -#, fuzzy msgid "Using KinematicBody2D" -msgstr "Nœud 2D du corps cinématique." +msgstr "Utiliser KinematicBody2D" #: doc/classes/KinematicBody2D.xml msgid "" @@ -34188,9 +34511,8 @@ msgid "" msgstr "" #: doc/classes/KinematicCollision.xml -#, fuzzy msgid "Collision data for [KinematicBody] collisions." -msgstr "Constante pour les corps cinématiques." +msgstr "Les données lors des collisions des [KinematicBody]." #: doc/classes/KinematicCollision.xml msgid "" @@ -34217,15 +34539,16 @@ msgstr "Le corps en collision." msgid "" "The colliding body's unique instance ID. See [method Object.get_instance_id]." msgstr "" +"L'identifiant unique d'instance du corps entrant en collision. Voir [method " +"Object.get_instance_id]." #: doc/classes/KinematicCollision.xml doc/classes/KinematicCollision2D.xml msgid "The colliding body's metadata. See [Object]." msgstr "" #: doc/classes/KinematicCollision.xml -#, fuzzy msgid "The colliding body's [RID] used by the [PhysicsServer]." -msgstr "La forme du corps en collision." +msgstr "Le [RID] du corps entrant en collision utilisé par le [PhysicsServer]." #: doc/classes/KinematicCollision.xml doc/classes/KinematicCollision2D.xml msgid "The colliding body's shape." @@ -34233,7 +34556,7 @@ msgstr "La forme du corps en collision." #: doc/classes/KinematicCollision.xml msgid "The colliding shape's index. See [CollisionObject]." -msgstr "" +msgstr "L'index de la forme entrant en collision. Voir [CollisionObject]." #: doc/classes/KinematicCollision.xml doc/classes/KinematicCollision2D.xml msgid "The colliding object's velocity." @@ -34246,6 +34569,8 @@ msgstr "La forme de collision de l’objet en mouvement." #: doc/classes/KinematicCollision.xml doc/classes/KinematicCollision2D.xml msgid "The colliding body's shape's normal at the point of collision." msgstr "" +"La normale de la forme du corps qui entre en collision à l'endroit de la " +"collision." #: doc/classes/KinematicCollision.xml doc/classes/KinematicCollision2D.xml msgid "The point of collision, in global coordinates." @@ -34257,7 +34582,7 @@ msgstr "" #: doc/classes/KinematicCollision.xml doc/classes/KinematicCollision2D.xml msgid "The distance the moving object traveled before collision." -msgstr "" +msgstr "La distance que l'objet qui se déplace a bougé avant la collision." #: doc/classes/KinematicCollision2D.xml msgid "Collision data for [KinematicBody2D] collisions." @@ -34279,10 +34604,13 @@ msgid "" "The collision angle according to [code]up_direction[/code], which is " "[code]Vector2.UP[/code] by default. This value is always positive." msgstr "" +"L'angle de collision suivant [code]up_direction[/code], qui est " +"[code]Vector2.UP[/code] par défaut. Cette valeur est toujours positive." #: doc/classes/KinematicCollision2D.xml msgid "The colliding body's [RID] used by the [Physics2DServer]." msgstr "" +"Le [RID] du corps qui entre en collision utilisé par [Physics2DServer]." #: doc/classes/KinematicCollision2D.xml msgid "The colliding shape's index. See [CollisionObject2D]." @@ -34312,7 +34640,7 @@ msgstr "" #: doc/classes/Label.xml msgid "Returns the amount of lines of text the Label has." -msgstr "" +msgstr "Retourne le nombre de lignes de texte qu'a le Label." #: doc/classes/Label.xml msgid "Returns the font size in pixels." @@ -34357,7 +34685,7 @@ msgstr "" #: doc/classes/Label.xml msgid "Limits the lines of text the node shows on screen." -msgstr "" +msgstr "Limite le nombre de lignes de texte que le nœud affiche à l'écran." #: doc/classes/Label.xml msgid "" @@ -34372,7 +34700,7 @@ msgstr "Le texte à afficher à l'écran." #: doc/classes/Label.xml msgid "If [code]true[/code], all the text displays as UPPERCASE." -msgstr "" +msgstr "Si [code]true[/code], tous les textes seront en MAJUSCULE." #: doc/classes/Label.xml msgid "" @@ -34383,6 +34711,8 @@ msgstr "" #: doc/classes/Label.xml msgid "Restricts the number of characters to display. Set to -1 to disable." msgstr "" +"Limite le nombre de caractères affichés. Mettez la valeur à -1 pour " +"désactiver." #: doc/classes/Label.xml msgid "Align rows to the left (default)." @@ -34398,19 +34728,19 @@ msgstr "Aligne les lignes à droite." #: doc/classes/Label.xml msgid "Expand row whitespaces to fit the width." -msgstr "" +msgstr "Ajoute des espaces à la ligne pour remplir en largeur." #: doc/classes/Label.xml msgid "Align the whole text to the top." -msgstr "Alignez l’ensemble du texte en haut." +msgstr "Aligne l’ensemble du texte en haut." #: doc/classes/Label.xml msgid "Align the whole text to the center." -msgstr "Alignez l'ensemble du texte au centre." +msgstr "Aligne l'ensemble du texte au centre." #: doc/classes/Label.xml msgid "Align the whole text to the bottom." -msgstr "Alignez l’ensemble du texte vers le bas." +msgstr "Aligne l’ensemble du texte vers le bas." #: doc/classes/Label.xml msgid "Align the whole text by spreading the rows." @@ -34427,10 +34757,12 @@ msgstr "La [Color] de l'ombre du texte." #: doc/classes/Label.xml msgid "The tint of [Font]'s outline. See [member DynamicFont.outline_color]." msgstr "" +"La teinte de la bordure de la [Font]. Voir [member DynamicFont." +"outline_color]." #: doc/classes/Label.xml msgid "Vertical space between lines in multiline [Label]." -msgstr "Espace vertical entre les lignes en multiligne [Label]." +msgstr "L'espace vertical entre les lignes en multiligne [Label]." #: doc/classes/Label.xml msgid "" @@ -34459,6 +34791,8 @@ msgid "" "[i]Deprecated.[/i] A [Texture] capable of storing many smaller textures with " "offsets." msgstr "" +"[i]Obsolète[/i]. Une [Texture] capable de stocker plusieurs textures plus " +"petites avec des positions." #: doc/classes/LargeTexture.xml msgid "" @@ -34473,6 +34807,8 @@ msgid "" "Adds [code]texture[/code] to this [LargeTexture], starting on offset " "[code]ofs[/code]." msgstr "" +"Ajoute [code]texture[/code] à cette [LargeTexture], démarrant à la position " +"[code]ofs[/code]." #: doc/classes/LargeTexture.xml msgid "Clears the [LargeTexture]." @@ -34480,11 +34816,11 @@ msgstr "Efface la [LargeTexture]." #: doc/classes/LargeTexture.xml msgid "Returns the number of pieces currently in this [LargeTexture]." -msgstr "" +msgstr "Retourne le nombre de pièces actuellement dans cette [LargeTexture]." #: doc/classes/LargeTexture.xml msgid "Returns the offset of the piece with the index [code]idx[/code]." -msgstr "" +msgstr "Retourne le décalage de la pièce à l'index [code]idx[/code]." #: doc/classes/LargeTexture.xml #, fuzzy @@ -34496,6 +34832,8 @@ msgid "" "Sets the offset of the piece with the index [code]idx[/code] to [code]ofs[/" "code]." msgstr "" +"Définit le décalage de la pièce à l'index [code]idx[/code] avec [code]ofs[/" +"code]." #: doc/classes/LargeTexture.xml #, fuzzy @@ -34523,17 +34861,15 @@ msgstr "" #: doc/classes/Light.xml doc/classes/SpotLight.xml msgid "3D lights and shadows" -msgstr "" +msgstr "Les lumières et ombres 3D" #: doc/classes/Light.xml -#, fuzzy msgid "Returns the value of the specified [enum Light.Param] parameter." -msgstr "Renvoie la valeur de métadonnées de l’index spécifié." +msgstr "Retourne la valeur du paramètre [enum Light.Param] spécifié." #: doc/classes/Light.xml -#, fuzzy msgid "Sets the value of the specified [enum Light.Param] parameter." -msgstr "Renvoie la valeur de métadonnées de l’index spécifié." +msgstr "Définit la valeur du paramètre [enum Light.Param] spécifié." #: doc/classes/Light.xml msgid "" @@ -34553,7 +34889,7 @@ msgstr "" #: doc/classes/Light.xml msgid "The light will affect objects in the selected layers." -msgstr "" +msgstr "La lumière affectera les objets dans les claques sélectionnés." #: doc/classes/Light.xml msgid "" @@ -34599,7 +34935,7 @@ msgstr "" #: doc/classes/Light.xml msgid "The color of shadows cast by this light." -msgstr "" +msgstr "La couleur de l'ombre projeté par cette lumière." #: doc/classes/Light.xml msgid "" @@ -34612,7 +34948,7 @@ msgstr "" #: doc/classes/Light.xml msgid "If [code]true[/code], the light will cast shadows." -msgstr "" +msgstr "Si [code]true[/code], la lumière produira des ombres." #: doc/classes/Light.xml msgid "" @@ -34624,101 +34960,95 @@ msgstr "" #: doc/classes/Light.xml msgid "Constant for accessing [member light_energy]." -msgstr "Constante pour accéder à [member light_energy]." +msgstr "La constante pour accéder à [member light_energy]." #: doc/classes/Light.xml msgid "Constant for accessing [member light_indirect_energy]." -msgstr "Constante pour accéder à [member light_indirect_energy]." +msgstr "La constante pour accéder à [member light_indirect_energy]." #: doc/classes/Light.xml -#, fuzzy msgid "Constant for accessing [member light_size]." -msgstr "Constante d'accès [member light_size]." +msgstr "La constante pour accéder à [member light_size]." #: doc/classes/Light.xml msgid "Constant for accessing [member light_specular]." -msgstr "" +msgstr "La constante pour accéder à [member light_specular]." #: doc/classes/Light.xml -#, fuzzy msgid "" "Constant for accessing [member OmniLight.omni_range] or [member SpotLight." "spot_range]." -msgstr "Constante pour accéder à [member light_indirect_energy]." +msgstr "" +"La constante pour accéder à [member OmniLight.omni_range] ou [member " +"SpotLight.spot_range]." #: doc/classes/Light.xml -#, fuzzy msgid "" "Constant for accessing [member OmniLight.omni_attenuation] or [member " "SpotLight.spot_attenuation]." -msgstr "Constante pour accéder à [member light_indirect_energy]." +msgstr "" +"La constante pour accéder à [member OmniLight.omni_attenuation] ou [member " +"SpotLight.spot_attenuation]." #: doc/classes/Light.xml -#, fuzzy msgid "Constant for accessing [member SpotLight.spot_angle]." -msgstr "Constante pour accéder à [member light_energy]." +msgstr "La constante pour accéder à [member SpotLight.spot_angle]." #: doc/classes/Light.xml -#, fuzzy msgid "Constant for accessing [member SpotLight.spot_angle_attenuation]." -msgstr "Constante pour accéder à [member light_energy]." +msgstr "La constante pour accéder à [member SpotLight.spot_angle_attenuation]." #: doc/classes/Light.xml -#, fuzzy msgid "Constant for accessing [member shadow_contact]." -msgstr "Constante pour l'accès à [member shadow_normal_bias]." +msgstr "La constante pour accéder à [member shadow_contact]." #: doc/classes/Light.xml -#, fuzzy msgid "" "Constant for accessing [member DirectionalLight." "directional_shadow_max_distance]." msgstr "" -"Constante pour accéder à [member DirectionalLight3D." -"directional_shadow_fade_start]." +"La constante pour accéder à [member DirectionalLight." +"directional_shadow_max_distance]." #: doc/classes/Light.xml -#, fuzzy msgid "" "Constant for accessing [member DirectionalLight.directional_shadow_split_1]." msgstr "" -"Constante pour accéder à [member DirectionalLight3D." -"directional_shadow_fade_start]." +"La constante pour accéder à [member DirectionalLight." +"directional_shadow_split_1]." #: doc/classes/Light.xml -#, fuzzy msgid "" "Constant for accessing [member DirectionalLight.directional_shadow_split_2]." msgstr "" -"Constante pour accéder à [member DirectionalLight3D." -"directional_shadow_fade_start]." +"La constante pour accéder à [member DirectionalLight." +"directional_shadow_split_2]." #: doc/classes/Light.xml -#, fuzzy msgid "" "Constant for accessing [member DirectionalLight.directional_shadow_split_3]." msgstr "" -"Constante pour accéder à [member DirectionalLight3D." -"directional_shadow_fade_start]." +"La constante pour accéder à [member DirectionalLight." +"directional_shadow_split_3]." #: doc/classes/Light.xml msgid "" "Constant for accessing [member DirectionalLight." "directional_shadow_normal_bias]." msgstr "" -"Constante pour accéder à [member DirectionalLight." +"La constante pour accéder à [member DirectionalLight." "directional_shadow_normal_bias]." #: doc/classes/Light.xml msgid "Constant for accessing [member shadow_bias]." -msgstr "" +msgstr "La constante pour accéder à [member shadow_bias]." #: doc/classes/Light.xml msgid "" "Constant for accessing [member DirectionalLight." "directional_shadow_bias_split_scale]." msgstr "" -"Constante pour accéder à [member DirectionalLight." +"La constante pour accéder à [member DirectionalLight." "directional_shadow_bias_split_scale]." #: doc/classes/Light.xml @@ -34791,20 +35121,26 @@ msgstr "" #: doc/classes/Light2D.xml msgid "Maximum layer value of objects that are affected by the Light2D." msgstr "" +"La niveau de calque maximum pour qu'un objet soit éclairé par la Light2D." #: doc/classes/Light2D.xml msgid "Minimum layer value of objects that are affected by the Light2D." msgstr "" +"La niveau de calque minimum pour qu'un objet soit éclairé par la Light2D." #: doc/classes/Light2D.xml msgid "" "Maximum [code]z[/code] value of objects that are affected by the Light2D." msgstr "" +"La valeur [code]z[/code] maximale pour que les objets soient affectés pour " +"les Light2D." #: doc/classes/Light2D.xml msgid "" "Minimum [code]z[/code] value of objects that are affected by the Light2D." msgstr "" +"La valeur [code]z[/code] minimale pour que les objets soient affectés pour " +"les Light2D." #: doc/classes/Light2D.xml #, fuzzy @@ -34813,15 +35149,17 @@ msgstr "Taille du tampon d'ombre." #: doc/classes/Light2D.xml msgid "[Color] of shadows cast by the Light2D." -msgstr "" +msgstr "La [Color] de l'ombre affichée par la Light2D." #: doc/classes/Light2D.xml msgid "If [code]true[/code], the Light2D will cast shadows." -msgstr "" +msgstr "Si [code]true[/code], la Light2D affichera les ombres." #: doc/classes/Light2D.xml msgid "Shadow filter type. See [enum ShadowFilter] for possible values." msgstr "" +"Le type de filtre pour les ombres. Voir [enum ShadowFilter] pour les valeurs " +"possibles." #: doc/classes/Light2D.xml msgid "Smoothing value for shadows." @@ -34839,7 +35177,7 @@ msgstr "" #: doc/classes/Light2D.xml msgid "[Texture] used for the Light2D's appearance." -msgstr "" +msgstr "La [Texture] utilisée pour l'apparence de la Light2D." #: doc/classes/Light2D.xml msgid "The [code]texture[/code]'s scale factor." @@ -35006,7 +35344,7 @@ msgstr "" #: doc/classes/Line2D.xml msgid "The style for the points between the start and the end." -msgstr "" +msgstr "Le style des points entre le début et la fin." #: doc/classes/Line2D.xml msgid "" @@ -35144,6 +35482,8 @@ msgid "" "Deletes one character at the cursor's current position (equivalent to " "pressing the [code]Delete[/code] key)." msgstr "" +"Supprime un caractère à la position actuelle du curseur (revient à appuyer " +"sur la touche suppression [code]Delete[/code])." #: doc/classes/LineEdit.xml msgid "" @@ -35152,7 +35492,7 @@ msgid "" "be within the text's length." msgstr "" -#: doc/classes/LineEdit.xml +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml msgid "Clears the current selection." msgstr "Efface la sélection actuelle." @@ -35171,9 +35511,23 @@ msgid "" "characters." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection begin column." +msgstr "Retourne la colonne de début de sélection." + +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection end column." +msgstr "Retourne la colonne de fin de sélection." + +#: doc/classes/LineEdit.xml +#, fuzzy +msgid "Returns [code]true[/code] if the user has selected text." +msgstr "Retourne [code]true[/code] si le minuteur est arrêté." + #: doc/classes/LineEdit.xml msgid "Executes a given action as defined in the [enum MenuItems] enum." msgstr "" +"Exécute l'action donnée comme définit par l'énumération [enum MenuItems]." #: doc/classes/LineEdit.xml msgid "" @@ -35194,7 +35548,7 @@ msgstr "Sélectionne l’ensemble [String]." #: doc/classes/LineEdit.xml msgid "Text alignment as defined in the [enum Align] enum." -msgstr "" +msgstr "L'alignement du texte tel que défini dans l'énumération [enum Align]." #: doc/classes/LineEdit.xml doc/classes/TextEdit.xml msgid "If [code]true[/code], the caret (visual cursor) blinks." @@ -35202,7 +35556,7 @@ msgstr "Si [code]true[/code], le curseur de texte clignote." #: doc/classes/LineEdit.xml doc/classes/TextEdit.xml msgid "Duration (in seconds) of a caret's blinking cycle." -msgstr "" +msgstr "La durée (en secondes) de l'animation de clignotement du curseur." #: doc/classes/LineEdit.xml msgid "" @@ -35218,7 +35572,7 @@ msgstr "" #: doc/classes/LineEdit.xml msgid "If [code]true[/code], the context menu will appear when right-clicked." -msgstr "" +msgstr "Si [code]true[/code], le menu contextuel apparaitra au clic-droit." #: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml #: doc/classes/TextEdit.xml @@ -35277,6 +35631,8 @@ msgid "" "Opacity of the [member placeholder_text]. From [code]0[/code] to [code]1[/" "code]." msgstr "" +"L'opacité du [member placeholder_text]. Entre [code]0[/code] et [code]1[/" +"code]." #: doc/classes/LineEdit.xml msgid "" @@ -35349,7 +35705,7 @@ msgstr "" #: doc/classes/LineEdit.xml msgid "Centers the text in the middle of the [LineEdit]." -msgstr "" +msgstr "Centre le texte au milieu de la [LineEdit]." #: doc/classes/LineEdit.xml msgid "Aligns the text on the right-hand side of the [LineEdit]." @@ -35393,7 +35749,7 @@ msgstr "Inverser la dernière action d'annulation." #: doc/classes/LineEdit.xml doc/classes/TextEdit.xml msgid "Represents the size of the [enum MenuItems] enum." -msgstr "" +msgstr "Représente la taille de l'énumération [enum MenuItems]." #: doc/classes/LineEdit.xml msgid "Color used as default tint for the clear button." @@ -35436,7 +35792,7 @@ msgstr "Police utilisée pour le texte." #: doc/classes/LineEdit.xml msgid "Texture for the clear button. See [member clear_button_enabled]." -msgstr "" +msgstr "La texture pour le bouton effacer. Voir [member clear_button_enabled]." #: doc/classes/LineEdit.xml msgid "Background used when [LineEdit] has GUI focus." @@ -35591,9 +35947,8 @@ msgid "" msgstr "" #: doc/classes/Listener2D.xml -#, fuzzy msgid "Returns [code]true[/code] if this [Listener2D] is currently active." -msgstr "Retourne [code]true[/code] si une animation joue présentement." +msgstr "Retourne [code]true[/code] si le [Listener2D] est actuellement actif." #: doc/classes/Listener2D.xml msgid "" @@ -35931,11 +36286,9 @@ msgid "" msgstr "" #: doc/classes/Marshalls.xml -#, fuzzy msgid "Returns a Base64-encoded string of a given [PoolByteArray]." msgstr "" -"Construit une nouvelle chaîne de caractères à partir du [PackedByteArray] " -"donné." +"Retourne la chaine de caractères encodée en Base64 du [PoolByteArray] donné." #: doc/classes/Marshalls.xml msgid "" @@ -36034,7 +36387,7 @@ msgstr "La [Color] par défaut du texte du [MenuButton]." #: doc/classes/MenuButton.xml msgid "Text [Color] used when the [MenuButton] is disabled." -msgstr "" +msgstr "La [Color] du texte utilisée quand le [MenuButton] est désactivé." #: doc/classes/MenuButton.xml msgid "" @@ -36053,7 +36406,7 @@ msgstr "La [Color] du texte utilisée quand le [MenuButton] est appuyé." #: doc/classes/MenuButton.xml msgid "The horizontal space between [MenuButton]'s icon and text." -msgstr "" +msgstr "L'espace horizontal entre l'icône et le texte du [MenuButton]." #: doc/classes/MenuButton.xml msgid "[Font] of the [MenuButton]'s text." @@ -36115,9 +36468,8 @@ msgid "" msgstr "" #: doc/classes/Mesh.xml -#, fuzzy msgid "Calculate a [ConcavePolygonShape] from the mesh." -msgstr "Calculer une [ConcavePolygonShape3D] à partir du maillage." +msgstr "Calcule une [ConcavePolygonShape3D] à partir du maillage." #: doc/classes/Mesh.xml msgid "Generate a [TriangleMesh] from the mesh." @@ -36211,6 +36563,8 @@ msgid "" "Mesh array contains vertices. All meshes require a vertex array so this " "should always be present." msgstr "" +"Un maillage de points contient des sommets. Tous les maillages nécessitent " +"un tableau des sommets donc ce tableau doit être présent." #: doc/classes/Mesh.xml #, fuzzy @@ -36303,7 +36657,7 @@ msgstr "L'option pour marquer un tableau d'indices compressé." #: doc/classes/Mesh.xml doc/classes/VisualServer.xml msgid "Flag used to mark that the array contains 2D vertices." -msgstr "" +msgstr "Un marqueur pour spécifier que ce tableau contient des sommets 2D." #: doc/classes/Mesh.xml doc/classes/VisualServer.xml msgid "Flag used to mark that the array uses 16-bit bones instead of 8-bit." @@ -36326,48 +36680,53 @@ msgid "" "ARRAY_COMPRESS_TEX_UV2], [constant ARRAY_COMPRESS_WEIGHTS], and [constant " "ARRAY_FLAG_USE_OCTAHEDRAL_COMPRESSION] quickly." msgstr "" +"Utilisé pour marquer rapidement l'usage de [constant ARRAY_COMPRESS_VERTEX], " +"[constant ARRAY_COMPRESS_NORMAL], [constant ARRAY_COMPRESS_TANGENT], " +"[constant ARRAY_COMPRESS_COLOR], [constant ARRAY_COMPRESS_TEX_UV], [constant " +"ARRAY_COMPRESS_TEX_UV2], [constant ARRAY_COMPRESS_WEIGHTS], et [constant " +"ARRAY_FLAG_USE_OCTAHEDRAL_COMPRESSION]." #: doc/classes/Mesh.xml msgid "Array of vertices." -msgstr "Tableau de sommets." +msgstr "Le tableau des sommets." #: doc/classes/Mesh.xml msgid "Array of normals." -msgstr "Tableau de normales." +msgstr "Le tableau des normales." #: doc/classes/Mesh.xml msgid "Array of tangents as an array of floats, 4 floats per tangent." msgstr "" -"Tableau de tangentes sous la forme d'un tableau de nombres flottants, 4 de " -"ces nombres par tangente." +"Le tableau des tangentes sous la forme de nombres flottants, soit 4 " +"flottants par tangente." #: doc/classes/Mesh.xml msgid "Array of colors." -msgstr "Tableau de couleurs." +msgstr "Le tableau des couleurs." #: doc/classes/Mesh.xml msgid "Array of UV coordinates." -msgstr "Tableau de coordonnées UV." +msgstr "Le tableau des coordonnées UV." #: doc/classes/Mesh.xml msgid "Array of second set of UV coordinates." -msgstr "" +msgstr "Le tableau de coordonnées UV secondaires." #: doc/classes/Mesh.xml msgid "Array of bone data." -msgstr "Tableau de données sur les os." +msgstr "Le tableau des données sur les os." #: doc/classes/Mesh.xml msgid "Array of weights." -msgstr "Tableau de poids." +msgstr "Le tableau des poids." #: doc/classes/Mesh.xml msgid "Array of indices." -msgstr "Tableau d'indices." +msgstr "Le tableau des indices." #: doc/classes/MeshDataTool.xml msgid "Helper tool to access and edit [Mesh] data." -msgstr "" +msgstr "Un outil d'aide pour accéder et modifier les données des [Mesh]." #: doc/classes/MeshDataTool.xml msgid "" @@ -36409,10 +36768,9 @@ msgid "Clears all data currently in MeshDataTool." msgstr "Efface toutes les données actuellement dans le MeshDataTool." #: doc/classes/MeshDataTool.xml -#, fuzzy msgid "Adds a new surface to specified [Mesh] with edited data." msgstr "" -"Ajoute une nouvelle surface au [Mesh] spécifié avec des données modifiées." +"Ajoute une nouvelle surface au [Mesh] spécifié avec les données modifiées." #: doc/classes/MeshDataTool.xml msgid "" @@ -36421,17 +36779,16 @@ msgid "" msgstr "" #: doc/classes/MeshDataTool.xml -#, fuzzy msgid "Returns the number of edges in this [Mesh]." -msgstr "Renvoie le nombre d'arêtes dans ce [Mesh]." +msgstr "Retourne le nombre d'arêtes dans ce [Mesh]." #: doc/classes/MeshDataTool.xml msgid "Returns array of faces that touch given edge." -msgstr "" +msgstr "Retourne le tableau des faces qui touchent l'arête donnée." #: doc/classes/MeshDataTool.xml msgid "Returns meta information assigned to given edge." -msgstr "" +msgstr "Retourne les méta-données assignées à l'arête donnée." #: doc/classes/MeshDataTool.xml msgid "" @@ -36442,7 +36799,7 @@ msgstr "" #: doc/classes/MeshDataTool.xml msgid "Returns the number of faces in this [Mesh]." -msgstr "" +msgstr "Retourne le nombre de faces dans ce [Mesh]." #: doc/classes/MeshDataTool.xml msgid "" @@ -36452,11 +36809,11 @@ msgstr "" #: doc/classes/MeshDataTool.xml msgid "Returns the metadata associated with the given face." -msgstr "" +msgstr "Retourne les méta-données associées à la face donnée." #: doc/classes/MeshDataTool.xml msgid "Calculates and returns the face normal of the given face." -msgstr "" +msgstr "Calcule et retourne la normale de la face donnée." #: doc/classes/MeshDataTool.xml msgid "" @@ -36477,7 +36834,7 @@ msgstr "" #: doc/classes/MeshDataTool.xml msgid "Returns the material assigned to the [Mesh]." -msgstr "" +msgstr "Retourne la matériau assigné au [Mesh]." #: doc/classes/MeshDataTool.xml msgid "Returns the vertex at given index." @@ -36485,95 +36842,95 @@ msgstr "Retourne le sommet à l’index donné." #: doc/classes/MeshDataTool.xml msgid "Returns the bones of the given vertex." -msgstr "" +msgstr "Retourne les os du sommet donné." #: doc/classes/MeshDataTool.xml msgid "Returns the color of the given vertex." -msgstr "" +msgstr "Retourne la couleur du sommet donné." #: doc/classes/MeshDataTool.xml msgid "Returns the total number of vertices in [Mesh]." -msgstr "" +msgstr "Retourne le nombre total de sommet dans le [Mesh]." #: doc/classes/MeshDataTool.xml msgid "Returns an array of edges that share the given vertex." -msgstr "" +msgstr "Retourne une liste des bords incluant le sommet donné." #: doc/classes/MeshDataTool.xml msgid "Returns an array of faces that share the given vertex." -msgstr "" +msgstr "Retourne le tableau des faces qui partagent le sommet donné." #: doc/classes/MeshDataTool.xml msgid "Returns the metadata associated with the given vertex." -msgstr "" +msgstr "Retourne les méta-données associées au sommet donné." #: doc/classes/MeshDataTool.xml msgid "Returns the normal of the given vertex." -msgstr "" +msgstr "Retourne la normale du sommet donné." #: doc/classes/MeshDataTool.xml msgid "Returns the tangent of the given vertex." -msgstr "" +msgstr "Retourne la tangente du sommet donné." #: doc/classes/MeshDataTool.xml msgid "Returns the UV of the given vertex." -msgstr "" +msgstr "Retourne l'UV du sommet donné." #: doc/classes/MeshDataTool.xml msgid "Returns the UV2 of the given vertex." -msgstr "" +msgstr "Retourne l'UV2 du sommet donné." #: doc/classes/MeshDataTool.xml msgid "Returns bone weights of the given vertex." -msgstr "" +msgstr "Retourne le poids des os du sommet donné." #: doc/classes/MeshDataTool.xml msgid "Sets the metadata of the given edge." -msgstr "" +msgstr "Définit les méta-données pour le sommet donné." #: doc/classes/MeshDataTool.xml msgid "Sets the metadata of the given face." -msgstr "" +msgstr "Définit les méta-données pour la face donnée." #: doc/classes/MeshDataTool.xml msgid "Sets the material to be used by newly-constructed [Mesh]." -msgstr "" +msgstr "Définit le matériau à utiliser pour le nouveau [Mesh] construit." #: doc/classes/MeshDataTool.xml msgid "Sets the position of the given vertex." -msgstr "" +msgstr "Définit la position du sommet donné." #: doc/classes/MeshDataTool.xml msgid "Sets the bones of the given vertex." -msgstr "" +msgstr "Définit les os du sommet donné." #: doc/classes/MeshDataTool.xml msgid "Sets the color of the given vertex." -msgstr "" +msgstr "Définit la couleur du sommet donné." #: doc/classes/MeshDataTool.xml msgid "Sets the metadata associated with the given vertex." -msgstr "" +msgstr "Définit les méta-données associées du sommet donné." #: doc/classes/MeshDataTool.xml msgid "Sets the normal of the given vertex." -msgstr "" +msgstr "Définit la normale du sommet donné." #: doc/classes/MeshDataTool.xml msgid "Sets the tangent of the given vertex." -msgstr "" +msgstr "Définit la tangente du sommet donné." #: doc/classes/MeshDataTool.xml msgid "Sets the UV of the given vertex." -msgstr "" +msgstr "Définit l'UV du sommet donné." #: doc/classes/MeshDataTool.xml msgid "Sets the UV2 of the given vertex." -msgstr "" +msgstr "Définit l'UV2 du sommet donné." #: doc/classes/MeshDataTool.xml msgid "Sets the bone weights of the given vertex." -msgstr "" +msgstr "Définit les poids des os du sommet donné." #: doc/classes/MeshInstance.xml msgid "Node that instances meshes into a scenario." @@ -36640,6 +36997,39 @@ msgid "Returns the number of surface materials." msgstr "Retourne le nombre de surfaces du matériau." #: doc/classes/MeshInstance.xml +msgid "" +"Returns [code]true[/code] if this [MeshInstance] can be merged with the " +"specified [code]other_mesh_instance[/code], using the [method MeshInstance." +"merge_meshes] function.\n" +"In order to be mergeable, properties of the [MeshInstance] must match, and " +"each surface must match, in terms of material, attributes and vertex format." +msgstr "" + +#: doc/classes/MeshInstance.xml +msgid "" +"This function can merge together the data from several source " +"[MeshInstance]s into a single destination [MeshInstance] (the MeshInstance " +"the function is called from). This is primarily useful for improving " +"performance by reducing the number of drawcalls and [Node]s.\n" +"Merging should only be attempted for simple meshes that do not contain " +"animation.\n" +"The final vertices can either be returned in global space, or in local space " +"relative to the destination [MeshInstance] global transform (the destination " +"Node must be inside the [SceneTree] for local space to work).\n" +"The function will make a final check for compatibility between the " +"[MeshInstance]s by default, this should always be used unless you have " +"previously checked for compatibility using [method MeshInstance." +"is_mergeable_with]. If the compatibility check is omitted and the meshes are " +"merged, you may see rendering errors.\n" +"[b]Note:[/b] The requirements for similarity between meshes are quite " +"stringent. They can be checked using the [method MeshInstance." +"is_mergeable_with] function prior to calling [method MeshInstance." +"merge_meshes].\n" +"Also note that any initial data in the destination [MeshInstance] data will " +"be discarded." +msgstr "" + +#: doc/classes/MeshInstance.xml msgid "Sets the [Material] for a surface of the [Mesh] resource." msgstr "" @@ -36648,9 +37038,8 @@ msgid "The [Mesh] resource for the instance." msgstr "La ressource du [Mesh] pour cette instance." #: doc/classes/MeshInstance.xml -#, fuzzy msgid "[NodePath] to the [Skeleton] associated with the instance." -msgstr "Retourne le chemin d’accès au nœud associé à l’os spécifié." +msgstr "Le [NodePath] vers le [Skeleton] associé à cette instance." #: doc/classes/MeshInstance.xml msgid "Sets the skin to be used by this instance." @@ -36668,7 +37057,7 @@ msgstr "" #: doc/classes/MeshInstance2D.xml msgid "Node used for displaying a [Mesh] in 2D." -msgstr "" +msgstr "Un nœud utilisé pour afficher des [Mesh] en 2D." #: doc/classes/MeshInstance2D.xml msgid "" @@ -36679,7 +37068,7 @@ msgstr "" #: doc/classes/MeshInstance2D.xml msgid "The [Mesh] that will be drawn by the [MeshInstance2D]." -msgstr "" +msgstr "Le [Mesh] qui sera affiché par le [MeshInstance2D]." #: doc/classes/MeshInstance2D.xml doc/classes/MultiMeshInstance2D.xml msgid "" @@ -36698,7 +37087,7 @@ msgstr "" #: doc/classes/MeshInstance2D.xml doc/classes/MultiMeshInstance2D.xml msgid "Emitted when the [member texture] is changed." -msgstr "" +msgstr "Émis quand la [member texture] a changé." #: doc/classes/MeshLibrary.xml msgid "Library of meshes." @@ -36723,11 +37112,11 @@ msgstr "" #: doc/classes/MeshLibrary.xml msgid "Returns the first item with the given name." -msgstr "" +msgstr "Retourne le premier élément avec le nom donné." #: doc/classes/MeshLibrary.xml msgid "Returns the list of item IDs in use." -msgstr "" +msgstr "Retourne la liste des identifiants d'élément à utiliser." #: doc/classes/MeshLibrary.xml msgid "Returns the item's mesh." @@ -36767,7 +37156,7 @@ msgstr "" #: doc/classes/MeshLibrary.xml msgid "Gets an unused ID for a new item." -msgstr "" +msgstr "Récupère un identifiant inutilisé pour un nouvel élément." #: doc/classes/MeshLibrary.xml msgid "Removes the item." @@ -36862,7 +37251,7 @@ msgstr "" #: modules/mobile_vr/doc_classes/MobileVRInterface.xml msgid "The width of the display in centimeters." -msgstr "" +msgstr "La largeur de l'écran en centimètres." #: modules/mobile_vr/doc_classes/MobileVRInterface.xml msgid "" @@ -36881,6 +37270,9 @@ msgid "" "The k1 lens factor is one of the two constants that define the strength of " "the lens used and directly influences the lens distortion effect." msgstr "" +"Le facteur de lentille k1 est l'une des deux constantes qui définisse " +"l'intensité de la lentille utilisée et influence directement l'effet de " +"déformation des lentilles." #: modules/mobile_vr/doc_classes/MobileVRInterface.xml msgid "The k2 lens factor, see k1." @@ -36925,6 +37317,8 @@ msgstr "Retourne la couleur de l'instance spécifiée." #: doc/classes/MultiMesh.xml msgid "Returns the custom data that has been set for a specific instance." msgstr "" +"Retourne les données personnalisées qui ont été définies pour cette instance " +"spécifique." #: doc/classes/MultiMesh.xml msgid "Returns the [Transform] of a specific instance." @@ -37461,7 +37855,7 @@ msgstr "" #: doc/classes/Navigation.xml msgid "The cell height to use for fields." -msgstr "" +msgstr "La hauteur de la cellule utilisée pour les champs." #: doc/classes/Navigation.xml doc/classes/NavigationMesh.xml msgid "The XZ plane cell size to use for fields." @@ -37492,7 +37886,7 @@ msgstr "" #: doc/classes/Navigation2D.xml doc/classes/Navigation2DServer.xml #: doc/classes/NavigationPolygon.xml msgid "2D Navigation Demo" -msgstr "" +msgstr "Démo de navigation 2D" #: doc/classes/Navigation2D.xml msgid "" @@ -37553,9 +37947,8 @@ msgid "Callback called at the end of the RVO process." msgstr "" #: doc/classes/Navigation2DServer.xml doc/classes/NavigationServer.xml -#, fuzzy msgid "Puts the agent in the map." -msgstr "Renvoie la tangente du paramètre." +msgstr "Place l'agent sur la carte." #: doc/classes/Navigation2DServer.xml doc/classes/NavigationServer.xml msgid "" @@ -37582,9 +37975,8 @@ msgid "Sets the position of the agent in world space." msgstr "Définit la position du nœud spécifié." #: doc/classes/Navigation2DServer.xml doc/classes/NavigationServer.xml -#, fuzzy msgid "Sets the radius of the agent." -msgstr "Le rayon extérieur du tore." +msgstr "Définit le rayon de l'agent." #: doc/classes/Navigation2DServer.xml doc/classes/NavigationServer.xml msgid "Sets the new target velocity." @@ -37680,7 +38072,7 @@ msgstr "Retourne la matrice de transformation globale de cet élément." #: doc/classes/NavigationAgent.xml msgid "3D agent used in navigation for collision avoidance." -msgstr "" +msgstr "Un agent 3D utilisé dans les navigations pour esquiver les collisions." #: doc/classes/NavigationAgent.xml msgid "" @@ -38106,15 +38498,16 @@ msgid "" msgstr "" #: doc/classes/NavigationMesh.xml -#, fuzzy msgid "Represents the size of the [enum SamplePartitionType] enum." -msgstr "Représente la taille de l'énumération [enum Variant.Type]." +msgstr "Représente la taille de l'énumération [enum SamplePartitionType]." #: doc/classes/NavigationMesh.xml msgid "" "Parses mesh instances as geometry. This includes [MeshInstance], [CSGShape], " "and [GridMap] nodes." msgstr "" +"Interprète les instances de maillage comme des géométries. Cela inclus les " +"nœuds [MeshInstance], [CSGShape], et [GridMap]." #: doc/classes/NavigationMesh.xml msgid "" @@ -38127,11 +38520,12 @@ msgid "" "Both [constant PARSED_GEOMETRY_MESH_INSTANCES] and [constant " "PARSED_GEOMETRY_STATIC_COLLIDERS]." msgstr "" +"À la fois [constant PARSED_GEOMETRY_MESH_INSTANCES] et [constant " +"PARSED_GEOMETRY_STATIC_COLLIDERS]." #: doc/classes/NavigationMesh.xml -#, fuzzy msgid "Represents the size of the [enum ParsedGeometryType] enum." -msgstr "Représente la taille de l’enum [enum ArrayType]." +msgstr "Représente la taille de l’enum [enum ParsedGeometryType]." #: doc/classes/NavigationMesh.xml msgid "" @@ -38151,9 +38545,8 @@ msgid "" msgstr "" #: doc/classes/NavigationMesh.xml -#, fuzzy msgid "Represents the size of the [enum SourceGeometryMode] enum." -msgstr "Représente la taille de l'énumération [enum Method]." +msgstr "Représente la taille de l'énumération [enum SourceGeometryMode]." #: doc/classes/NavigationMeshGenerator.xml msgid "This class is responsible for creating and clearing navigation meshes." @@ -38201,9 +38594,8 @@ msgid "Notifies when the navigation mesh bake operation is completed." msgstr "Avertit quand une animation commence à jouer." #: doc/classes/NavigationMeshInstance.xml -#, fuzzy msgid "Notifies when the [NavigationMesh] has changed." -msgstr "Avertit quand une animation commence à jouer." +msgstr "Avertit quand le [NavigationMesh] a changé." #: doc/classes/NavigationObstacle.xml msgid "3D obstacle used in navigation for collision avoidance." @@ -38529,12 +38921,12 @@ msgstr "" #: modules/enet/doc_classes/NetworkedMultiplayerENet.xml #: modules/websocket/doc_classes/WebSocketServer.xml msgid "Returns the IP address of the given peer." -msgstr "" +msgstr "Retourne l'adresse IP du pair donné." #: modules/enet/doc_classes/NetworkedMultiplayerENet.xml #: modules/websocket/doc_classes/WebSocketServer.xml msgid "Returns the remote port of the given peer." -msgstr "" +msgstr "Retourne le port distant du pair spécifié." #: modules/enet/doc_classes/NetworkedMultiplayerENet.xml msgid "" @@ -38699,9 +39091,8 @@ msgid "" msgstr "" #: doc/classes/NetworkedMultiplayerPeer.xml -#, fuzzy msgid "High-level multiplayer" -msgstr "API multijoueur de haut niveau." +msgstr "API multijoueur de haut niveau" #: doc/classes/NetworkedMultiplayerPeer.xml msgid "WebRTC Signaling Demo" @@ -38741,6 +39132,8 @@ msgid "" "If [code]true[/code], this [NetworkedMultiplayerPeer] refuses new " "connections." msgstr "" +"Si [code]true[/code], ce [NetworkedMultiplayerPeer] refuse les nouvelles " +"connexions." #: doc/classes/NetworkedMultiplayerPeer.xml msgid "" @@ -38758,15 +39151,15 @@ msgstr "Émis quand une tentative de connexion réussie." #: doc/classes/NetworkedMultiplayerPeer.xml msgid "Emitted by the server when a client connects." -msgstr "" +msgstr "Émis par le serveur quand un client se connecte." #: doc/classes/NetworkedMultiplayerPeer.xml msgid "Emitted by the server when a client disconnects." -msgstr "" +msgstr "Émis par le serveur quand un client se déconnecte." #: doc/classes/NetworkedMultiplayerPeer.xml msgid "Emitted by clients when the server disconnects." -msgstr "" +msgstr "Émis par les clients quand le serveur se déconnecte." #: doc/classes/NetworkedMultiplayerPeer.xml msgid "" @@ -38813,7 +39206,7 @@ msgstr "" #: doc/classes/NetworkedMultiplayerPeer.xml msgid "Packets are sent to the server alone." -msgstr "" +msgstr "Les paquets sont envoyés uniquement au serveur." #: doc/classes/NinePatchRect.xml msgid "" @@ -39000,7 +39393,7 @@ msgstr "Nœuds et scènes" #: doc/classes/Node.xml msgid "All Demos" -msgstr "" +msgstr "Toutes les démos" #: doc/classes/Node.xml msgid "" @@ -39208,12 +39601,12 @@ msgid "" "[/codeblock]\n" "[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " "must set [member owner] in addition to calling [method add_child]. This is " -"typically relevant for [url=https://godot.readthedocs.io/en/3.2/tutorials/" -"misc/running_code_in_the_editor.html]tool scripts[/url] and [url=https://" -"godot.readthedocs.io/en/latest/tutorials/plugins/editor/index.html]editor " -"plugins[/url]. If [method add_child] is called without setting [member " -"owner], the newly added [Node] will not be visible in the scene tree, though " -"it will be visible in the 2D/3D view." +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -39302,7 +39695,7 @@ msgstr "Retourne le nombre de nœuds enfant." #: doc/classes/Node.xml msgid "Returns an array of references to node's children." -msgstr "" +msgstr "Retourne la liste des références des enfants du nœud." #: doc/classes/Node.xml msgid "" @@ -39440,7 +39833,7 @@ msgstr "" #: doc/classes/Node.xml msgid "Returns the [SceneTree] that contains this node." -msgstr "" +msgstr "Retourne le [SceneTree] qui contient ce nœud." #: doc/classes/Node.xml msgid "Returns the node's [Viewport]." @@ -39922,7 +40315,15 @@ msgid "" "valid parent, grandparent, etc. ascending in the tree). When saving a node " "(using [PackedScene]), all the nodes it owns will be saved with it. This " "allows for the creation of complex [SceneTree]s, with instancing and " -"subinstancing." +"subinstancing.\n" +"[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " +"must set [member owner] in addition to calling [method add_child]. This is " +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -39974,7 +40375,7 @@ msgstr "" #: doc/classes/Node.xml msgid "Notification received when the node enters a [SceneTree]." -msgstr "" +msgstr "La notification reçue quand un nœud entre dans le [SceneTree]." #: doc/classes/Node.xml msgid "Notification received when the node is about to exit a [SceneTree]." @@ -39990,11 +40391,11 @@ msgstr "" #: doc/classes/Node.xml msgid "Notification received when the node is paused." -msgstr "" +msgstr "La notification reçue quand ce nœud est en pause." #: doc/classes/Node.xml msgid "Notification received when the node is unpaused." -msgstr "" +msgstr "La notification reçue quand le nœud n'est plus en pause." #: doc/classes/Node.xml msgid "" @@ -40022,7 +40423,7 @@ msgstr "" #: doc/classes/Node.xml msgid "Notification received when the node is instanced." -msgstr "" +msgstr "La notification reçue quand ce nœud est instancié." #: doc/classes/Node.xml msgid "Notification received when a drag begins." @@ -40034,7 +40435,7 @@ msgstr "" #: doc/classes/Node.xml msgid "Notification received when the node's [NodePath] changed." -msgstr "" +msgstr "La notification reçue quand le [NodePath] de ce nœud a changé." #: doc/classes/Node.xml msgid "" @@ -40069,7 +40470,7 @@ msgstr "" #: doc/classes/Node.xml msgid "Stops processing when the [SceneTree] is paused." -msgstr "" +msgstr "Arrête la mise à jour quand le [SceneTree] est en pause." #: doc/classes/Node.xml msgid "Continue to process regardless of the [SceneTree] pause state." @@ -40110,11 +40511,12 @@ msgstr "" #: doc/classes/Node2D.xml doc/classes/Vector2.xml msgid "All 2D Demos" -msgstr "" +msgstr "Toutes les démos 2D" #: doc/classes/Node2D.xml msgid "Multiplies the current scale by the [code]ratio[/code] vector." msgstr "" +"Multiplie la mise à l'échelle actuelle par le vecteur [code]ratio[/code]." #: doc/classes/Node2D.xml msgid "" @@ -40125,7 +40527,7 @@ msgstr "" #: doc/classes/Node2D.xml msgid "Returns the [Transform2D] relative to this node's parent." -msgstr "" +msgstr "Retourne la [Transform2D] relative au parent de ce nœud." #: doc/classes/Node2D.xml msgid "Adds the [code]offset[/code] vector to the node's global position." @@ -40206,15 +40608,17 @@ msgstr "" #: doc/classes/Node2D.xml msgid "Rotation in radians, relative to the node's parent." -msgstr "" +msgstr "La rotation en radians, relative au parent de ce nœud." #: doc/classes/Node2D.xml msgid "Rotation in degrees, relative to the node's parent." -msgstr "" +msgstr "La rotation en degrés, relative au parent de ce nœud." #: doc/classes/Node2D.xml msgid "The node's scale. Unscaled value: [code](1, 1)[/code]." msgstr "" +"La mise à l'échelle du nœud. La valeur sans mise à l'échelle est [code](1, 1)" +"[/code]." #: doc/classes/Node2D.xml msgid "Local [Transform2D]." @@ -40385,7 +40789,7 @@ msgstr "" #: doc/classes/NodePath.xml msgid "Returns [code]true[/code] if the node path is empty." -msgstr "" +msgstr "Retourne [code]true[/code] si le chemin du nœud est vide." #: modules/opensimplex/doc_classes/NoiseTexture.xml msgid "[OpenSimplexNoise] filled texture." @@ -40449,9 +40853,8 @@ msgid "Width of the generated texture." msgstr "Largeur de la texture générée." #: doc/classes/Object.xml -#, fuzzy msgid "Base class for all non-built-in types." -msgstr "Classe de base pour toutes les ressources." +msgstr "La classe de base pour tous les types non intégrés." #: doc/classes/Object.xml msgid "" @@ -40493,7 +40896,7 @@ msgstr "" #: doc/classes/Object.xml doc/classes/Reference.xml doc/classes/Resource.xml msgid "When and how to avoid using nodes for everything" -msgstr "" +msgstr "Quand et comment éviter d'utiliser des nœuds pour tout" #: doc/classes/Object.xml msgid "Advanced exports using _get_property_list()" @@ -40520,7 +40923,13 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Called when the object is initialized." +msgid "" +"Called when the object is initialized in memory. Can be defined to take in " +"parameters, that are passed in when constructing.\n" +"[b]Note:[/b] If [method _init] is defined with required parameters, then " +"explicit construction is the only valid means of creating an Object of the " +"class. If any other means (such as [method PackedScene.instance]) is used, " +"then initialization will fail." msgstr "" #: doc/classes/Object.xml @@ -40716,7 +41125,10 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Returns the object's metadata entry for the given [code]name[/code]." +msgid "" +"Returns the object's metadata entry for the given [code]name[/code].\n" +"Throws error if the entry does not exist, unless [code]default[/code] is not " +"[code]null[/code] (in which case the default value will be returned)." msgstr "" #: doc/classes/Object.xml @@ -40750,23 +41162,26 @@ msgstr "" #: doc/classes/Object.xml msgid "Returns the list of signals as an [Array] of dictionaries." -msgstr "" +msgstr "Retourne la liste des signaux dans un [Array] de dictionnaires." #: doc/classes/Object.xml msgid "" "Returns [code]true[/code] if a metadata entry is found with the given " "[code]name[/code]." msgstr "" +"Retourne [code]true[/code] si une entrée de méta-donnée existe avec le nom " +"[code]name[/code] donné." #: doc/classes/Object.xml msgid "" "Returns [code]true[/code] if the object contains the given [code]method[/" "code]." msgstr "" +"Retourne [code]true[/code] si l'objet contient la [code]method[/code] donnée." #: doc/classes/Object.xml msgid "Returns [code]true[/code] if the given [code]signal[/code] exists." -msgstr "" +msgstr "Retourne [code]true[/code] si le [code]signal[/code] donné existe." #: doc/classes/Object.xml msgid "" @@ -40777,7 +41192,7 @@ msgstr "" #: doc/classes/Object.xml msgid "Returns [code]true[/code] if signal emission blocking is enabled." -msgstr "" +msgstr "Retourne [code]true[/code] si l'émission de signal est bloquée." #: doc/classes/Object.xml msgid "" @@ -40802,6 +41217,8 @@ msgid "" "Returns [code]true[/code] if the [method Node.queue_free] method was called " "for the object." msgstr "" +"Retourne [code]true[/code] si la méthode [method Node.queue_free] a été " +"appelée pour cet objet." #: doc/classes/Object.xml msgid "" @@ -40828,6 +41245,8 @@ msgstr "" msgid "" "Removes a given entry from the object's metadata. See also [method set_meta]." msgstr "" +"Supprime l'entrée donnée des méta-données de l'objet. Voir aussi [method " +"set_meta]." #: doc/classes/Object.xml msgid "" @@ -40841,7 +41260,7 @@ msgstr "" #: doc/classes/Object.xml msgid "If set to [code]true[/code], signal emission is blocked." -msgstr "" +msgstr "Si définit à [code]true[/code], l'émission de signal est bloquée." #: doc/classes/Object.xml msgid "" @@ -40910,29 +41329,37 @@ msgstr "" #: doc/classes/Object.xml msgid "Emitted whenever the object's script is changed." -msgstr "" +msgstr "Émis quand le script de l'objet est changé." #: doc/classes/Object.xml msgid "Called right when the object is initialized. Not available in script." msgstr "" +"Appelé juste après que l'objet a été initialisé. N'est pas disponible depuis " +"les scripts." #: doc/classes/Object.xml msgid "Called before the object is about to be deleted." -msgstr "" +msgstr "Appelé juste avant qu'un objet soit supprimé." #: doc/classes/Object.xml msgid "" "Connects a signal in deferred mode. This way, signal emissions are stored in " "a queue, then set on idle time." msgstr "" +"Connecte un signal en mode déferré. Ainsi, les émissions du signal sont " +"placées dans une file, et distribuées durant un moment de repos." #: doc/classes/Object.xml msgid "Persisting connections are saved when the object is serialized to file." msgstr "" +"Les connexions persistances sont enregistrées quand l'objet est sauvegardé " +"dans un fichier." #: doc/classes/Object.xml msgid "One-shot connections disconnect themselves after emission." msgstr "" +"Les connections uniques (one-shot) se déconnecté automatique après " +"l'émission." #: doc/classes/Object.xml msgid "" @@ -40971,7 +41398,7 @@ msgstr "" #: doc/classes/OccluderPolygon2D.xml msgid "Defines a 2D polygon for LightOccluder2D." -msgstr "" +msgstr "Définit un polygone 2D pour LightOccluder2D." #: doc/classes/OccluderPolygon2D.xml msgid "" @@ -41045,12 +41472,12 @@ msgstr "" #: doc/classes/OccluderShapePolygon.xml #, fuzzy msgid "Sets an individual hole point position." -msgstr "Définit un bit individuel sur le [member collision_mask]." +msgstr "Définit la position d'un trou simple." #: doc/classes/OccluderShapePolygon.xml #, fuzzy msgid "Sets an individual polygon point position." -msgstr "Définit un bit individuel sur le [member collision_mask]." +msgstr "Définit la position d'un polygone simple." #: doc/classes/OccluderShapePolygon.xml #, fuzzy @@ -41151,11 +41578,11 @@ msgstr "" #: doc/classes/OmniLight.xml msgid "Use more detail vertically when computing the shadow." -msgstr "" +msgstr "Utilise plus de détails verticalement lors du calcul des ombres." #: doc/classes/OmniLight.xml msgid "Use more detail horizontally when computing the shadow." -msgstr "" +msgstr "Utilise plus de détails horizontalement lors du calcul des ombres." #: modules/opensimplex/doc_classes/OpenSimplexNoise.xml msgid "Noise generator based on Open Simplex." @@ -41287,7 +41714,7 @@ msgstr "" #: doc/classes/OptionButton.xml msgid "Clears all the items in the [OptionButton]." -msgstr "" +msgstr "Retire tous les éléments du [OptionButton]." #: doc/classes/OptionButton.xml msgid "Returns the amount of items in the OptionButton, including separators." @@ -41295,11 +41722,11 @@ msgstr "Retourne le nombre d'élément dans ce OptionButton, séparateurs inclus #: doc/classes/OptionButton.xml doc/classes/PopupMenu.xml msgid "Returns the icon of the item at index [code]idx[/code]." -msgstr "" +msgstr "Retourne l'icône de l'élément à l'index [code]idx[/code]." #: doc/classes/OptionButton.xml msgid "Returns the ID of the item at index [code]idx[/code]." -msgstr "" +msgstr "Retourne l'identifiant de l'élément à l'index [code]idx[/code]." #: doc/classes/OptionButton.xml msgid "Returns the index of the item with the given [code]id[/code]." @@ -41406,7 +41833,7 @@ msgstr "La [Color] par défaut du texte pour le [OptionButton]." #: doc/classes/OptionButton.xml msgid "Text [Color] used when the [OptionButton] is disabled." -msgstr "" +msgstr "La [Color] du texte utilisée quand le [OptionButton] est désactivé." #: doc/classes/OptionButton.xml msgid "" @@ -41427,10 +41854,11 @@ msgstr "La [Color] du texte utilisée quand le [OptionButton] est pressé." msgid "" "The horizontal space between the arrow icon and the right edge of the button." msgstr "" +"L'espace horizontal entre l'icône de la flèche et le bord droit du bouton." #: doc/classes/OptionButton.xml msgid "The horizontal space between [OptionButton]'s icon and text." -msgstr "" +msgstr "L'espace horizontal entre l'icône et le texte du [OptionButton]." #: doc/classes/OptionButton.xml msgid "[Font] of the [OptionButton]'s text." @@ -41438,11 +41866,11 @@ msgstr "La [Font] du texte du [OptionButton]." #: doc/classes/OptionButton.xml msgid "The arrow icon to be drawn on the right end of the button." -msgstr "" +msgstr "L'icône de la flèche qui est affichée au bord droit du bouton." #: doc/classes/OptionButton.xml msgid "[StyleBox] used when the [OptionButton] is disabled." -msgstr "" +msgstr "La [StyleBox] utilisée quand le [OptionButton] est désactivé." #: doc/classes/OptionButton.xml msgid "" @@ -41453,7 +41881,7 @@ msgstr "" #: doc/classes/OptionButton.xml msgid "[StyleBox] used when the [OptionButton] is being hovered." -msgstr "" +msgstr "La [StyleBox] utilisée quand le [OptionButton] est survolé." #: doc/classes/OptionButton.xml msgid "Default [StyleBox] for the [OptionButton]." @@ -41461,7 +41889,7 @@ msgstr "Le [StyleBox] par défaut pour le [OptionButton]." #: doc/classes/OptionButton.xml msgid "[StyleBox] used when the [OptionButton] is being pressed." -msgstr "" +msgstr "La [StyleBox] utilisée quand le [OptionButton] est appuyé." #: doc/classes/OS.xml msgid "Operating System functions." @@ -41482,15 +41910,18 @@ msgid "" msgstr "" #: doc/classes/OS.xml -#, fuzzy msgid "Returns [code]true[/code] if the host OS allows drawing." -msgstr "Retourne [code]true[/code] si l'[AABB] contient un point." +msgstr "" +"Retourne [code]true[/code] si le système d'exploitation hôte permet le " +"dessin." #: doc/classes/OS.xml msgid "" "Returns [code]true[/code] if the current host platform is using multiple " "threads." msgstr "" +"Retourne [code]true[/code] le la plateforme hôte actuelle utilise plusieurs " +"fils d'exécutions." #: doc/classes/OS.xml #, fuzzy @@ -41627,9 +42058,8 @@ msgid "Returns the scancode of the given string (e.g. \"Escape\")." msgstr "Renvoie le reste de deux vecteurs." #: doc/classes/OS.xml -#, fuzzy msgid "Returns the total number of available audio drivers." -msgstr "Renvoie le nombre de lignes visibles." +msgstr "Retourne le nombre total de périphériques audio." #: doc/classes/OS.xml #, fuzzy @@ -41738,6 +42168,8 @@ msgstr "" #: doc/classes/OS.xml msgid "Returns the total amount of dynamic memory used (only works in debug)." msgstr "" +"Retourne la quantité totale de mémoire dynamique utilisée (ne fonctionne " +"qu'en débogage)." #: doc/classes/OS.xml msgid "" @@ -41749,7 +42181,7 @@ msgstr "" #: doc/classes/OS.xml msgid "Returns the path to the current engine executable." -msgstr "" +msgstr "Retourne le chemin de l'actuel exécutable du moteur de jeu." #: doc/classes/OS.xml msgid "" @@ -42019,12 +42451,16 @@ msgid "" "Returns the total number of available tablet drivers.\n" "[b]Note:[/b] This method is implemented on Windows." msgstr "" +"Retourne le nombre total de pilotes de tablette disponible.\n" +"[b]Note :[/b] Cette méthode est implémentée sous Windows." #: doc/classes/OS.xml msgid "" "Returns the tablet driver name for the given index.\n" "[b]Note:[/b] This method is implemented on Windows." msgstr "" +"Retourne le nom du pilote de tablette à la position spécifiée.\n" +"[b]Note :[/b] Cette méthode est implémentée sous Windows." #: doc/classes/OS.xml msgid "" @@ -42033,18 +42469,27 @@ msgid "" "[b]Note:[/b] Thread IDs are not deterministic and may be reused across " "application restarts." msgstr "" +"Retourne l'identifiant du fil d'exécution actuel. Cela peut être utile dans " +"les journaux pour faciliter le débogage des applications à plusieurs fils " +"d'exécution.\n" +"[b]Note :[/b] Ces identifiants ne sont pas déterministes et peuvent être " +"réutilisés durant plusieurs lancement de l'application." #: doc/classes/OS.xml msgid "" "Deprecated, use [method Time.get_ticks_msec] instead.\n" "Returns the amount of time passed in milliseconds since the engine started." msgstr "" +"Obsolète, utilisez plutôt [method Time.get_ticks_msec].\n" +"Retourne la temps écoulé en millisecondes depuis le lancement du moteur." #: doc/classes/OS.xml msgid "" "Deprecated, use [method Time.get_ticks_usec] instead.\n" "Returns the amount of time passed in microseconds since the engine started." msgstr "" +"Obsolète, utilisez plutôt [method Time.get_ticks_usec].\n" +"Retourne la temps écoulé en microsecondes depuis le lancement du moteur." #: doc/classes/OS.xml msgid "" @@ -42240,6 +42685,8 @@ msgid "" "Returns [code]true[/code] if the engine was executed with [code]-v[/code] " "(verbose stdout)." msgstr "" +"Retourne [code]true[/code] si le moteur a été lancé avec [code]-v[/code] " +"(sortie verbeuse)." #: doc/classes/OS.xml msgid "" @@ -42329,6 +42776,8 @@ msgid "" "Pauses native video playback.\n" "[b]Note:[/b] This method is only implemented on iOS." msgstr "" +"Met en pause la lecture de la vidéo native.\n" +"[b]Note :[/b] Cette méthode est seulement implémentée dans iOS." #: doc/classes/OS.xml msgid "" @@ -42363,15 +42812,16 @@ msgstr "" #: doc/classes/OS.xml msgid "Shows the list of loaded textures sorted by size in memory." -msgstr "" +msgstr "Liste des textures chargés en mémoire, triées par taille." #: doc/classes/OS.xml msgid "Shows the number of resources loaded by the game of the given types." msgstr "" +"Affiche le nombre de ressources des types spécifiés chargées par le jeu." #: doc/classes/OS.xml msgid "Shows all resources currently used by the game." -msgstr "" +msgstr "Affiche toutes les ressources actuellement utilisées par le jeu." #: doc/classes/OS.xml msgid "" @@ -42441,17 +42891,21 @@ msgstr "" #: doc/classes/OS.xml msgid "Sets the name of the current thread." -msgstr "" +msgstr "Définit le nom du fil d'exécution actuel." #: doc/classes/OS.xml msgid "Enables backup saves if [code]enabled[/code] is [code]true[/code]." msgstr "" +"Active les sauvegardes si [code]enabled[/code] est à [code]true[/code]." #: doc/classes/OS.xml msgid "" "Sets whether the window should always be on top.\n" "[b]Note:[/b] This method is implemented on Linux, macOS and Windows." msgstr "" +"Définit quand la fenêtre doit toujours être au dessus des autres.\n" +"[b]Note :[/b] Cette méthode n'est implémentée que sous Linux, macOS et " +"Windows." #: doc/classes/OS.xml msgid "" @@ -42516,10 +42970,12 @@ msgstr "" #: doc/classes/OS.xml msgid "The clipboard from the host OS. Might be unavailable on some platforms." msgstr "" +"Le presse-papiers du système hôte. Peut ne pas être disponible sur certaines " +"plateformes." #: doc/classes/OS.xml msgid "The current screen index (starting from 0)." -msgstr "" +msgstr "L'index de l'écran actuel (commence à 0)." #: doc/classes/OS.xml msgid "" @@ -42581,7 +43037,7 @@ msgstr "L'orientation de l'écran actuel." #: doc/classes/OS.xml msgid "The current tablet driver in use." -msgstr "" +msgstr "L'actuel pilote de tablette utilisé." #: doc/classes/OS.xml #, fuzzy @@ -42607,19 +43063,16 @@ msgid "" msgstr "" #: doc/classes/OS.xml -#, fuzzy msgid "If [code]true[/code], the window is fullscreen." -msgstr "Si [code]true[/code], l'interpolation fait une boucle." +msgstr "Si [code]true[/code], la fenêtre est en plein-écran." #: doc/classes/OS.xml -#, fuzzy msgid "If [code]true[/code], the window is maximized." -msgstr "Si [code]true[/code], le filtrage est activé." +msgstr "Si [code]true[/code], la fenêtre est maximisée." #: doc/classes/OS.xml -#, fuzzy msgid "If [code]true[/code], the window is minimized." -msgstr "Si [code]true[/code], le filtrage est activé." +msgstr "Si [code]true[/code], la fenêtre est réduite." #: doc/classes/OS.xml msgid "" @@ -42854,9 +43307,8 @@ msgid "Ringtones directory path." msgstr "Chemin d'accès au répertoire des sonneries." #: doc/classes/OS.xml -#, fuzzy msgid "Unknown powerstate." -msgstr "Nœud inconnu." +msgstr "État de l'alimentation inconnu." #: doc/classes/OS.xml msgid "Unplugged, running on battery." @@ -42868,7 +43320,7 @@ msgstr "Branché, aucune batterie installée." #: doc/classes/OS.xml msgid "Plugged in, battery charging." -msgstr "Branché, la batterie charge." +msgstr "Branché, la batterie se recharge." #: doc/classes/OS.xml msgid "Plugged in, battery fully charged." @@ -42930,12 +43382,14 @@ msgstr "" #: doc/classes/PackedScene.xml msgid "Returns [code]true[/code] if the scene file has nodes." -msgstr "" +msgstr "Retourne [code]true[/code] si le fichier de scène à des nœuds." #: doc/classes/PackedScene.xml msgid "" "Returns the [code]SceneState[/code] representing the scene file contents." msgstr "" +"Retourne le [code]SceneState[/code] représentant le contenu du fichier de la " +"scène." #: doc/classes/PackedScene.xml msgid "" @@ -42984,6 +43438,14 @@ msgid "" "[b]Note:[/b] Only available in editor builds." msgstr "" +#: modules/gltf/doc_classes/PackedSceneGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [PackedSceneGLTF] within a script will cause an error in an exported " +"project." +msgstr "" + #: doc/classes/PacketPeer.xml msgid "Abstraction and base class for packet-based protocols." msgstr "Abstraction et classe de base pour les protocoles à base de paquets." @@ -43100,7 +43562,7 @@ msgstr "" #: doc/classes/PacketPeerDTLS.xml msgid "Disconnects this peer, terminating the DTLS session." -msgstr "" +msgstr "Déconnecte ce pair, finissant la session DTLS." #: doc/classes/PacketPeerDTLS.xml doc/classes/StreamPeerSSL.xml msgid "Returns the status of the connection. See [enum Status] for values." @@ -43114,7 +43576,7 @@ msgstr "" #: doc/classes/PacketPeerDTLS.xml msgid "A status representing a [PacketPeerDTLS] that is disconnected." -msgstr "" +msgstr "Un status représentant un [PacketPeerDTLS] qui est déconnecté." #: doc/classes/PacketPeerDTLS.xml msgid "" @@ -43274,7 +43736,7 @@ msgstr "" #: doc/classes/Panel.xml msgid "Provides an opaque background for [Control] children." -msgstr "" +msgstr "Fournis un arrière-plan opaque pour le [Control] enfant." #: doc/classes/Panel.xml msgid "" @@ -43441,7 +43903,7 @@ msgstr "" #: doc/classes/Particles.xml msgid "Controlling thousands of fish with Particles" -msgstr "" +msgstr "Contrôler des milliers de poissons en utilisant les Particles" #: doc/classes/Particles.xml msgid "" @@ -43451,31 +43913,31 @@ msgstr "" #: doc/classes/Particles.xml msgid "Returns the [Mesh] that is drawn at index [code]pass[/code]." -msgstr "" +msgstr "Retourne le [Mesh] qui est affiché à l'index [code]pass[/code]." #: doc/classes/Particles.xml msgid "Restarts the particle emission, clearing existing particles." -msgstr "" +msgstr "Relance l'émission de particules, effaçant les particules existantes." #: doc/classes/Particles.xml msgid "Sets the [Mesh] that is drawn at index [code]pass[/code]." -msgstr "" +msgstr "Définit le [Mesh] qui à afficher pour l'index [code]pass[/code]." #: doc/classes/Particles.xml msgid "[Mesh] that is drawn for the first draw pass." -msgstr "" +msgstr "Le [Mesh] qui est affiché lors de la première passe." #: doc/classes/Particles.xml msgid "[Mesh] that is drawn for the second draw pass." -msgstr "" +msgstr "Le [Mesh] qui est affiché lors de la deuxième passe." #: doc/classes/Particles.xml msgid "[Mesh] that is drawn for the third draw pass." -msgstr "" +msgstr "Le [Mesh] qui est affiché lors de la troisième passe." #: doc/classes/Particles.xml msgid "[Mesh] that is drawn for the fourth draw pass." -msgstr "" +msgstr "Le [Mesh] qui est affiché lors de la quatrième passe." #: doc/classes/Particles.xml msgid "The number of draw passes when rendering particles." @@ -43491,6 +43953,7 @@ msgstr "" msgid "" "If [code]true[/code], only [code]amount[/code] particles will be emitted." msgstr "" +"Si [code]true[/code], seuls [code]amount[/code] particules seront émises." #: doc/classes/Particles.xml msgid "" @@ -43568,6 +44031,8 @@ msgstr "" #: doc/classes/Particles2D.xml msgid "Returns a rectangle containing the positions of all existing particles." msgstr "" +"Retourne un rectangle contenant la position de toutes les particules " +"existantes." #: doc/classes/Particles2D.xml msgid "Restarts all the existing particles." @@ -43604,35 +44069,35 @@ msgstr "" #: doc/classes/ParticlesMaterial.xml msgid "Returns [code]true[/code] if the specified flag is enabled." -msgstr "" +msgstr "Retourne [code]true[/code] si l'option spécifié est active." #: doc/classes/ParticlesMaterial.xml msgid "Returns the randomness ratio associated with the specified parameter." msgstr "Retourne le facteur d'aléatoire associé avec le paramètre spécifié." #: doc/classes/ParticlesMaterial.xml -#, fuzzy msgid "Returns the [Texture] used by the specified parameter." -msgstr "Renvoie le texte associé à l’index spécifié." +msgstr "Retourne la [Texture] utilisée par le paramètre donné." #: doc/classes/ParticlesMaterial.xml msgid "" "If [code]true[/code], enables the specified flag. See [enum Flags] for " "options." msgstr "" +"Si [code]true[/code], active l'option donné. Voir [enum Flags] pour ces " +"options." #: doc/classes/ParticlesMaterial.xml msgid "Sets the specified [enum Parameter]." -msgstr "" +msgstr "Définit le [enum Parameter] donné." #: doc/classes/ParticlesMaterial.xml msgid "Sets the randomness ratio for the specified [enum Parameter]." msgstr "Définit le facteur d'aléatoire pour le [enum Parameter] spécifié." #: doc/classes/ParticlesMaterial.xml -#, fuzzy msgid "Sets the [Texture] for the specified [enum Parameter]." -msgstr "Définit la position du nœud spécifié." +msgstr "Définit la [Texture] pour le [enum Parameter] spécifié." #: doc/classes/ParticlesMaterial.xml msgid "" @@ -43731,6 +44196,8 @@ msgid "" "The inner radius of the ring when using the emitter [constant " "EMISSION_SHAPE_RING]." msgstr "" +"Le rayon intérieur de l'anneau pour l'émetteur [constant " +"EMISSION_SHAPE_RING]." #: doc/classes/ParticlesMaterial.xml msgid "" @@ -43755,7 +44222,7 @@ msgstr "" #: doc/classes/ParticlesMaterial.xml msgid "Each particle's hue will vary along this [CurveTexture]." -msgstr "" +msgstr "La teinte de chaque particule variera suivant cette [CurveTexture]." #: doc/classes/ParticlesMaterial.xml msgid "" @@ -43773,20 +44240,27 @@ msgstr "" #: doc/classes/ParticlesMaterial.xml msgid "Each particle's orbital velocity will vary along this [CurveTexture]." msgstr "" +"La vélocité orbitale de chaque particule variera suivant cette " +"[CurveTexture]." #: doc/classes/ParticlesMaterial.xml msgid "" "Each particle's radial acceleration will vary along this [CurveTexture]." msgstr "" +"L'accélération radiale de chaque particule variera suivant cette " +"[CurveTexture]." #: doc/classes/ParticlesMaterial.xml msgid "Each particle's scale will vary along this [CurveTexture]." msgstr "" +"La mise à l'échelle de chaque particule variera suivant cette [CurveTexture]." #: doc/classes/ParticlesMaterial.xml msgid "" "Each particle's tangential acceleration will vary along this [CurveTexture]." msgstr "" +"L'accélération tangentielle de chaque particule variera suivant cette " +"[CurveTexture]." #: doc/classes/ParticlesMaterial.xml msgid "Trail particles' color will vary along this [GradientTexture]." @@ -43879,15 +44353,16 @@ msgstr "" #: doc/classes/ParticlesMaterial.xml msgid "Use with [method set_flag] to set [member flag_align_y]." -msgstr "" +msgstr "À utiliser avec [method set_flag] pour définir [member flag_align_y]." #: doc/classes/ParticlesMaterial.xml msgid "Use with [method set_flag] to set [member flag_rotate_y]." -msgstr "" +msgstr "À utiliser avec [method set_flag] pour définir [member flag_rotate_y]." #: doc/classes/ParticlesMaterial.xml msgid "Use with [method set_flag] to set [member flag_disable_z]." msgstr "" +"À utiliser avec [method set_flag] pour définir [member flag_disable_z]." #: doc/classes/ParticlesMaterial.xml msgid "" @@ -43927,7 +44402,7 @@ msgstr "Émis quand cette [member curve] change." #: doc/classes/Path2D.xml msgid "Contains a [Curve2D] path for [PathFollow2D] nodes to follow." -msgstr "" +msgstr "Contient un chemin [Curve2D] que suivront les nœuds [PathFollow2D]." #: doc/classes/Path2D.xml msgid "" @@ -44014,14 +44489,12 @@ msgid "Allows the PathFollow to rotate in the Y axis only." msgstr "Interdit au PathFollow3D de tourner." #: doc/classes/PathFollow.xml -#, fuzzy msgid "Allows the PathFollow to rotate in both the X, and Y axes." -msgstr "Interdit au PathFollow3D de tourner." +msgstr "Autorise le PathFollow à pivoter selon les axes X et Y." #: doc/classes/PathFollow.xml -#, fuzzy msgid "Allows the PathFollow to rotate in any axis." -msgstr "Interdit au PathFollow3D de tourner." +msgstr "Autorise le PathFollow à pivoter suivant n'importe quel axe." #: doc/classes/PathFollow.xml msgid "" @@ -44066,7 +44539,7 @@ msgstr "" #: doc/classes/PathFollow2D.xml msgid "The distance along the path in pixels." -msgstr "" +msgstr "La distance le long du chemin en pixels." #: doc/classes/PathFollow2D.xml msgid "" @@ -44153,7 +44626,7 @@ msgstr "Nombre d’images par seconde." #: doc/classes/Performance.xml msgid "Time it took to complete one frame, in seconds." -msgstr "" +msgstr "Le temps que cela prend de compléter une trame, en seconde." #: doc/classes/Performance.xml msgid "Time it took to complete one physics frame, in seconds." @@ -44170,12 +44643,17 @@ msgid "" msgstr "" #: doc/classes/Performance.xml +#, fuzzy msgid "Available static memory. Not available in release builds." msgstr "" +"La mémoire statique disponible. N'est pas utilisable dans les versions " +"finales." #: doc/classes/Performance.xml msgid "Available dynamic memory. Not available in release builds." msgstr "" +"La mémoire dynamique disponible. N'est pas utilisable dans les versions " +"finales." #: doc/classes/Performance.xml msgid "" @@ -44185,7 +44663,7 @@ msgstr "" #: doc/classes/Performance.xml msgid "Number of objects currently instanced (including nodes)." -msgstr "" +msgstr "Le nombre d'objets actuellement instanciés (nœuds inclus)." #: doc/classes/Performance.xml msgid "Number of resources currently used." @@ -44257,7 +44735,7 @@ msgstr "" #: doc/classes/Performance.xml msgid "Number of active [RigidBody2D] nodes in the game." -msgstr "" +msgstr "Le nombre de nœuds [RigidBody2D] actifs dans le jeu." #: doc/classes/Performance.xml msgid "Number of collision pairs in the 2D physics engine." @@ -44265,7 +44743,7 @@ msgstr "" #: doc/classes/Performance.xml msgid "Number of islands in the 2D physics engine." -msgstr "" +msgstr "Le nombre d'îles dans le moteur physique 2D." #: doc/classes/Performance.xml msgid "Number of active [RigidBody] and [VehicleBody] nodes in the game." @@ -44277,7 +44755,7 @@ msgstr "" #: doc/classes/Performance.xml msgid "Number of islands in the 3D physics engine." -msgstr "" +msgstr "Le nombre d'îles dans le moteur physique 3D." #: doc/classes/Performance.xml msgid "Output latency of the [AudioServer]." @@ -44285,7 +44763,7 @@ msgstr "Latence de sortie de l'[AudioServer]." #: doc/classes/Performance.xml msgid "Represents the size of the [enum Monitor] enum." -msgstr "" +msgstr "Représente la taille de l'énumération [enum Monitor]." #: doc/classes/PHashTranslation.xml msgid "Optimized translation." @@ -44326,7 +44804,7 @@ msgstr "" #: doc/classes/Physics2DDirectBodyState.xml doc/classes/RigidBody2D.xml msgid "Adds a constant directional force without affecting rotation." -msgstr "" +msgstr "Ajoute une force directionnelle constante sans affecter la rotation." #: doc/classes/Physics2DDirectBodyState.xml #: doc/classes/PhysicsDirectBodyState.xml doc/classes/RigidBody2D.xml @@ -44404,12 +44882,12 @@ msgstr "" #: doc/classes/Physics2DDirectBodyState.xml #: doc/classes/PhysicsDirectBodyState.xml msgid "Returns the local normal at the contact point." -msgstr "" +msgstr "Retourne la normale locale au point de contact." #: doc/classes/Physics2DDirectBodyState.xml #: doc/classes/PhysicsDirectBodyState.xml msgid "Returns the local position of the contact point." -msgstr "" +msgstr "Retourne la position locale au point de contact." #: doc/classes/Physics2DDirectBodyState.xml #: doc/classes/PhysicsDirectBodyState.xml @@ -44440,12 +44918,12 @@ msgstr "La vitesse de rotation du corps en [i]radians[/i] par seconde." #: doc/classes/Physics2DDirectBodyState.xml #: doc/classes/PhysicsDirectBodyState.xml msgid "The inverse of the inertia of the body." -msgstr "" +msgstr "L'inverse de l'inertie du corps." #: doc/classes/Physics2DDirectBodyState.xml #: doc/classes/PhysicsDirectBodyState.xml msgid "The inverse of the mass of the body." -msgstr "" +msgstr "L'inverse de la masse du corps." #: doc/classes/Physics2DDirectBodyState.xml msgid "The body's linear velocity in pixels per second." @@ -44762,7 +45240,7 @@ msgstr "" #: doc/classes/Physics2DServer.xml doc/classes/PhysicsServer.xml msgid "Assigns a space to the area." -msgstr "" +msgstr "Assigne un espace pour l'aire." #: doc/classes/Physics2DServer.xml msgid "" @@ -44772,7 +45250,7 @@ msgstr "" #: doc/classes/Physics2DServer.xml doc/classes/PhysicsServer.xml msgid "Sets the transform matrix for an area." -msgstr "" +msgstr "Définit la matrice de transformation pour l'aire." #: doc/classes/Physics2DServer.xml doc/classes/PhysicsServer.xml msgid "Adds a body to the list of bodies exempt from collisions." @@ -44800,7 +45278,7 @@ msgstr "" #: doc/classes/Physics2DServer.xml doc/classes/PhysicsServer.xml msgid "Removes all shapes from a body." -msgstr "" +msgstr "Retire toutes les formes du corps." #: doc/classes/Physics2DServer.xml msgid "Creates a physics body." @@ -44947,6 +45425,7 @@ msgstr "" #: doc/classes/Physics2DServer.xml msgid "Disables shape in body if [code]disable[/code] is [code]true[/code]." msgstr "" +"Désactive la forme du corps si [code]disable[/code] est [code]true[/code]." #: doc/classes/Physics2DServer.xml msgid "" @@ -44956,7 +45435,7 @@ msgstr "" #: doc/classes/Physics2DServer.xml doc/classes/PhysicsServer.xml msgid "Sets the transform matrix for a body shape." -msgstr "" +msgstr "Définit la matrice de transformation pour la forme du corps." #: doc/classes/Physics2DServer.xml doc/classes/PhysicsServer.xml msgid "Assigns a space to the body (see [method space_create])." @@ -45038,7 +45517,7 @@ msgstr "" #: doc/classes/Physics2DServer.xml msgid "Activates or deactivates the 2D physics engine." -msgstr "" +msgstr "Active ou désactive le moteur physique 2D." #: doc/classes/Physics2DServer.xml msgid "" @@ -45055,7 +45534,7 @@ msgstr "Retourne les données de forme." #: doc/classes/Physics2DServer.xml msgid "Returns a shape's type (see [enum ShapeType])." -msgstr "" +msgstr "Retourne le type de forme (voir [enum ShapeType])." #: doc/classes/Physics2DServer.xml doc/classes/PhysicsServer.xml msgid "" @@ -45082,7 +45561,7 @@ msgstr "" #: doc/classes/Physics2DServer.xml doc/classes/PhysicsServer.xml msgid "Returns whether the space is active." -msgstr "" +msgstr "Retourne quand cet espace est actif." #: doc/classes/Physics2DServer.xml doc/classes/PhysicsServer.xml msgid "" @@ -45289,23 +45768,25 @@ msgstr "" #: doc/classes/Physics2DServer.xml doc/classes/PhysicsServer.xml msgid "Constant to set/get a body's bounce factor." -msgstr "" +msgstr "La constante pour définir/obtenir le facteur de rebond." #: doc/classes/Physics2DServer.xml doc/classes/PhysicsServer.xml msgid "Constant to set/get a body's friction." -msgstr "" +msgstr "Constante pour définir/récupérer la friction du corps." #: doc/classes/Physics2DServer.xml doc/classes/PhysicsServer.xml msgid "Constant to set/get a body's mass." -msgstr "" +msgstr "La constante pour définir/obtenir la masse du corps." #: doc/classes/Physics2DServer.xml msgid "Constant to set/get a body's inertia." -msgstr "" +msgstr "La constante pour définir/obtenir l'inertie du corps." #: doc/classes/Physics2DServer.xml doc/classes/PhysicsServer.xml msgid "Constant to set/get a body's gravity multiplier." msgstr "" +"La constante pour définir/obtenir le facteur de multiplication de la gravité " +"du corps." #: doc/classes/Physics2DServer.xml doc/classes/PhysicsServer.xml msgid "Constant to set/get a body's linear dampening factor." @@ -45317,7 +45798,7 @@ msgstr "" #: doc/classes/Physics2DServer.xml doc/classes/PhysicsServer.xml msgid "Represents the size of the [enum BodyParameter] enum." -msgstr "" +msgstr "Représente la taille de l'énumération [enum BodyParameter]." #: doc/classes/Physics2DServer.xml doc/classes/PhysicsServer.xml msgid "Constant to set/get the current transform matrix of the body." @@ -45337,7 +45818,7 @@ msgstr "" #: doc/classes/Physics2DServer.xml doc/classes/PhysicsServer.xml msgid "Constant to set/get whether the body can sleep." -msgstr "" +msgstr "La constante pour définir/obtenir si le corps peut être au repos." #: doc/classes/Physics2DServer.xml #, fuzzy @@ -45408,7 +45889,7 @@ msgstr "" #: doc/classes/Physics2DServer.xml doc/classes/PhysicsServer.xml msgid "Constant to get the number of possible collisions." -msgstr "" +msgstr "La constante pour obtenir le nombre possible de collisions." #: doc/classes/Physics2DServer.xml doc/classes/PhysicsServer.xml msgid "" @@ -45424,6 +45905,8 @@ msgid "" "This class contains the shape and other parameters for 2D intersection/" "collision queries." msgstr "" +"Cette classe contient des formes et autres paramètres pour les requêtes " +"d'intersections/collisions en 2D." #: doc/classes/Physics2DShapeQueryParameters.xml msgid "" @@ -45460,9 +45943,8 @@ msgid "The collision margin for the shape." msgstr "La marge de collision de la forme." #: doc/classes/Physics2DShapeQueryParameters.xml -#, fuzzy msgid "The motion of the shape being queried for." -msgstr "Le mouvement de la forme qui a été demandé" +msgstr "Le mouvement de la forme qui a été demandée." #: doc/classes/Physics2DShapeQueryParameters.xml #: doc/classes/PhysicsShapeQueryParameters.xml @@ -45538,7 +46020,7 @@ msgstr "" #: doc/classes/PhysicsDirectBodyState.xml msgid "Adds a constant rotational force without affecting position." -msgstr "" +msgstr "Ajoute une force de rotation constante sans affecter la position." #: doc/classes/PhysicsDirectBodyState.xml msgid "" @@ -45780,7 +46262,7 @@ msgstr "" #: doc/classes/PhysicsServer.xml msgid "Gives the body a push to rotate it." -msgstr "" +msgstr "Pousse le corps pour le faire pivoter." #: doc/classes/PhysicsServer.xml msgid "" @@ -45840,7 +46322,7 @@ msgstr "" #: doc/classes/PhysicsServer.xml msgid "Sets a body state (see [enum BodyState] constants)." -msgstr "" +msgstr "Définit l'état du corps (voir les constantes [enum BodyState])." #: doc/classes/PhysicsServer.xml msgid "" @@ -45889,7 +46371,10 @@ msgid "" msgstr "" #: doc/classes/PhysicsServer.xml -msgid "Returns an Info defined by the [enum ProcessInfo] input given." +msgid "" +"Returns information about the current state of the 3D physics engine. See " +"[enum ProcessInfo] for a list of available states. Only implemented for " +"Godot Physics." msgstr "" #: doc/classes/PhysicsServer.xml @@ -45934,9 +46419,8 @@ msgid "Gets the priority value of the Joint." msgstr "Renvoie la valeur opposée du paramètre." #: doc/classes/PhysicsServer.xml -#, fuzzy msgid "Returns the type of the Joint." -msgstr "Retourne la hauteur du contenu." +msgstr "Retourne le type de Joint." #: doc/classes/PhysicsServer.xml #, fuzzy @@ -45971,7 +46455,7 @@ msgstr "" #: doc/classes/PhysicsServer.xml msgid "Activates or deactivates the 3D physics engine." -msgstr "" +msgstr "Active ou désactive le moteur physique 3D." #: doc/classes/PhysicsServer.xml msgid "" @@ -46050,13 +46534,12 @@ msgstr "" "Plus elle est élevée, plus elle est forte." #: doc/classes/PhysicsServer.xml -#, fuzzy msgid "" "If above 0, this value is the maximum value for an impulse that this Joint " "puts on its ends." msgstr "" "Si au-dessus de 0, cette valeur est la valeur maximale pour une impulsion " -"que ce Joint3D met sur ses extrémités." +"que ce Joint met sur ses extrémités." #: doc/classes/PhysicsServer.xml msgid "The maximum rotation across the Hinge." @@ -46232,7 +46715,7 @@ msgstr "" #: doc/classes/PhysicsServer.xml msgid "If set, rotational motion is possible." -msgstr "" +msgstr "Si définit, la rotation est possible." #: doc/classes/PhysicsServer.xml #, fuzzy @@ -46290,6 +46773,8 @@ msgid "" "This class contains the shape and other parameters for 3D intersection/" "collision queries." msgstr "" +"Cette classe contient des formes et autres paramètres pour les requêtes " +"d'intersections/collisions en 3D." #: doc/classes/PhysicsShapeQueryParameters.xml msgid "Sets the [Shape] that will be used for collision/intersection queries." @@ -46445,7 +46930,7 @@ msgstr "" #: doc/classes/Plane.xml msgid "Returns a copy of the plane, normalized." -msgstr "" +msgstr "Retourne une copie du plan, normalisé." #: doc/classes/Plane.xml msgid "" @@ -46520,15 +47005,15 @@ msgstr "Taille du plan généré." #: doc/classes/PlaneMesh.xml msgid "Number of subdivision along the Z axis." -msgstr "" +msgstr "Le nombre de sous-divisions suivant l'axe Z." #: doc/classes/PlaneMesh.xml msgid "Number of subdivision along the X axis." -msgstr "" +msgstr "Le nombre de sous-divisions suivant l'axe X." #: doc/classes/PlaneShape.xml msgid "Infinite plane shape for 3D collisions." -msgstr "" +msgstr "Forme de plan infini pour les collision 3D." #: doc/classes/PlaneShape.xml msgid "" @@ -46539,10 +47024,8 @@ msgid "" msgstr "" #: doc/classes/PlaneShape.xml -#, fuzzy msgid "The [Plane] used by the [PlaneShape] for collision." -msgstr "" -"Les calques de physique que cette forme de CSG analyse pour les collisions." +msgstr "Le [Plane] utilisé par le [PlaneShape] pour les collisions." #: doc/classes/PointMesh.xml msgid "Mesh with a single Point primitive." @@ -46591,7 +47074,7 @@ msgstr "Retire tous les os pour ce [Polygon2D]." #: doc/classes/Polygon2D.xml msgid "Removes the specified bone from this [Polygon2D]." -msgstr "" +msgstr "Retire les os spécifiés de ce [Polygon2D]." #: doc/classes/Polygon2D.xml msgid "Returns the number of bones in this [Polygon2D]." @@ -46617,6 +47100,8 @@ msgstr "Définit le poids pour l'os spécifié." #: doc/classes/Polygon2D.xml msgid "If [code]true[/code], polygon edges will be anti-aliased." msgstr "" +"Si [code]true[/code], l'anticrénelage sera activé pour les bordures du " +"polygone." #: doc/classes/Polygon2D.xml msgid "" @@ -46785,7 +47270,7 @@ msgstr "" #: doc/classes/PoolStringArray.xml doc/classes/PoolVector2Array.xml #: doc/classes/PoolVector3Array.xml msgid "Removes an element from the array by index." -msgstr "" +msgstr "Retire l' élément du tableau à l'index donné." #: doc/classes/PoolByteArray.xml doc/classes/PoolIntArray.xml #: doc/classes/PoolRealArray.xml @@ -46799,7 +47284,7 @@ msgstr "" #: doc/classes/PoolByteArray.xml msgid "Changes the byte at the given index." -msgstr "" +msgstr "Change l'octet à la position donnée." #: doc/classes/PoolByteArray.xml msgid "" @@ -46844,12 +47329,11 @@ msgstr "" #: doc/classes/PoolColorArray.xml msgid "Changes the [Color] at the given index." -msgstr "" +msgstr "Change la [Color] à la position donnée." #: doc/classes/PoolIntArray.xml -#, fuzzy msgid "A pooled [Array] of integers ([int])." -msgstr "Un [Array] compacté d'octets." +msgstr "Un [Array] compacté d'entier ([int])." #: doc/classes/PoolIntArray.xml msgid "" @@ -46885,9 +47369,8 @@ msgid "Changes the int at the given index." msgstr "Modifie le [int] à l’index donné." #: doc/classes/PoolRealArray.xml -#, fuzzy msgid "A pooled [Array] of reals ([float])." -msgstr "Un [Array] compacté d'octets." +msgstr "Un [Array] compacté de flottants ([float])." #: doc/classes/PoolRealArray.xml msgid "" @@ -46916,7 +47399,7 @@ msgstr "Ajoute un [PackedVector3Array] à la fin de ce tableau." #: doc/classes/PoolRealArray.xml msgid "Changes the float at the given index." -msgstr "" +msgstr "Change la flottant à la position donnée." #: doc/classes/PoolStringArray.xml msgid "A pooled [Array] of [String]." @@ -46953,7 +47436,7 @@ msgstr "Ajoute une chaine de caractère à la fin du tableau." #: doc/classes/PoolStringArray.xml msgid "Changes the [String] at the given index." -msgstr "" +msgstr "Change la [String] à la position donnée." #: doc/classes/PoolVector2Array.xml msgid "A pooled [Array] of [Vector2]." @@ -46988,7 +47471,7 @@ msgstr "Insère un [Vector2] à la fin." #: doc/classes/PoolVector2Array.xml msgid "Changes the [Vector2] at the given index." -msgstr "Modifie le [Vector2] à l’index donné." +msgstr "Change la [Vector2] à la position donnée." #: doc/classes/PoolVector3Array.xml msgid "A pooled [Array] of [Vector3]." @@ -47018,7 +47501,7 @@ msgstr "Insère un [Vector3] à la fin." #: doc/classes/PoolVector3Array.xml msgid "Changes the [Vector3] at the given index." -msgstr "Modifie le [Vector3] à l'indice donné." +msgstr "Change la [Vector3] à la position donnée." #: doc/classes/Popup.xml msgid "Base container control for popups and dialogs." @@ -47119,13 +47602,15 @@ msgstr "[StyleBox] par défaut pour le [Button]." #: doc/classes/PopupMenu.xml msgid "PopupMenu displays a list of options." -msgstr "" +msgstr "Un PopupMenu affiche une liste d'options." #: doc/classes/PopupMenu.xml msgid "" "[PopupMenu] is a [Control] that displays a list of options. They are popular " "in toolbars or context menus." msgstr "" +"Un [PopupMenu] est un [Control] qui affiche une liste d'options. Souvent " +"utilisé dans les barres d'outils ou les menus contextuels." #: doc/classes/PopupMenu.xml msgid "" @@ -47278,13 +47763,15 @@ msgstr "" #: doc/classes/PopupMenu.xml msgid "Removes all items from the [PopupMenu]." -msgstr "" +msgstr "Retire tous les éléments du [PopupMenu]." #: doc/classes/PopupMenu.xml msgid "" "Returns the index of the currently focused item. Returns [code]-1[/code] if " "no item is focused." msgstr "" +"Retourne la position de l’élément qui a actuellement le focus. Ou retourne " +"[code]-1[/code] si aucun n'a le focus." #: doc/classes/PopupMenu.xml msgid "" @@ -47302,6 +47789,8 @@ msgid "" "Returns the id of the item at index [code]idx[/code]. [code]id[/code] can be " "manually assigned, while index can not." msgstr "" +"Retourne l'identifiant de l'élément à la position [code]idx[/code]. Un " +"[code]id[/code] peut être changé manuellement, contrairement à la position." #: doc/classes/PopupMenu.xml msgid "" @@ -47335,13 +47824,12 @@ msgid "" msgstr "" #: doc/classes/PopupMenu.xml -#, fuzzy msgid "" "Returns [code]true[/code] if the popup will be hidden when the window loses " "focus or not." msgstr "" -"Retourne [code]true[/code] (vrai) si la chaîne de caractères commence par la " -"chaîne de caractères donnée." +"Retourne [code]true[/code] si la fenêtre contextuelle est masquée quand la " +"fenêtre perd le focus." #: doc/classes/PopupMenu.xml msgid "" @@ -47438,10 +47926,8 @@ msgid "" msgstr "" #: doc/classes/PopupMenu.xml -#, fuzzy msgid "Replaces the [Texture] icon of the specified [code]idx[/code]." -msgstr "" -"Active l'état de contrôle de l'élément de l'index spécifié [code]idx[/code]." +msgstr "Remplacer la [Texture] de l'icône à l'index [code]idx[/code] donnée." #: doc/classes/PopupMenu.xml msgid "Sets the [code]id[/code] of the item at index [code]idx[/code]." @@ -47495,7 +47981,6 @@ msgid "" msgstr "" #: doc/classes/PopupMenu.xml -#, fuzzy msgid "If [code]true[/code], allows navigating [PopupMenu] with letter keys." msgstr "" "Si [code]true[/code], permet de naviguer dans le [PopupMenu] avec des " @@ -47546,7 +48031,7 @@ msgstr "" #: doc/classes/PopupMenu.xml msgid "The default text [Color] for menu items' names." -msgstr "" +msgstr "La [Color] par défaut du texte pour les noms des éléments du menu." #: doc/classes/PopupMenu.xml msgid "" @@ -47556,13 +48041,12 @@ msgid "" msgstr "" #: doc/classes/PopupMenu.xml -#, fuzzy msgid "[Color] used for disabled menu items' text." -msgstr "[Color] utilisée pour le texte des éléments de menu désactivés." +msgstr "La [Color] utilisée pour le texte des éléments désactivés du menu." #: doc/classes/PopupMenu.xml msgid "[Color] used for the hovered text." -msgstr "" +msgstr "La [Color] utilisée pour le texte survolé." #: doc/classes/PopupMenu.xml msgid "[Color] used for labeled separators' text. See [method add_separator]." @@ -47580,7 +48064,7 @@ msgstr "L’espace vertical entre chaque élément de menu." #: doc/classes/PopupMenu.xml msgid "[Font] used for the menu items." -msgstr "" +msgstr "La [Font] utilisée pour les éléments du menu." #: doc/classes/PopupMenu.xml msgid "[Texture] icon for the checked checkbox items." @@ -47596,7 +48080,7 @@ msgstr "La [Texture] de l'icône pour les boutons radios décochés." #: doc/classes/PopupMenu.xml msgid "[Texture] icon for the submenu arrow." -msgstr "" +msgstr "La [Texture] pour l'icône de la flèche du sous-menu." #: doc/classes/PopupMenu.xml msgid "[Texture] icon for the unchecked checkbox items." @@ -47634,6 +48118,8 @@ msgstr "" #: doc/classes/PopupPanel.xml msgid "Class for displaying popups with a panel background." msgstr "" +"La classe pour afficher des fenêtres contextuelles avec un panneau en " +"arrière-plan." #: doc/classes/PopupPanel.xml msgid "" @@ -47644,7 +48130,7 @@ msgstr "" #: doc/classes/PopupPanel.xml msgid "The background panel style of this [PopupPanel]." -msgstr "" +msgstr "Le style du panneau d'arrière-plan de ce [PopupPanel]." #: doc/classes/Portal.xml msgid "Portal nodes are used to enable visibility between [Room]s." @@ -47903,6 +48389,8 @@ msgid "" "Size of [Texture] that the ProceduralSky will generate. The size is set " "using [enum TextureSize]." msgstr "" +"La taille de la [Texture] que le ProceduralSky va générer. Cette taille doit " +"correspondre à un des [enum TextureSize]." #: doc/classes/ProceduralSky.xml msgid "Sky texture will be 256x128." @@ -48450,7 +48938,6 @@ msgid "" msgstr "" #: doc/classes/ProjectSettings.xml -#, fuzzy msgid "" "Enables [url=https://github.com/facebook/zstd/releases/tag/v1.3.2]long-" "distance matching[/url] in Zstandard." @@ -48833,7 +49320,7 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Allows the window to be resizable by default.\n" -"[b]Note:[/b] This setting is ignored on iOS and Android." +"[b]Note:[/b] This setting is ignored on iOS." msgstr "" #: doc/classes/ProjectSettings.xml @@ -48974,6 +49461,8 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "Timer for detecting idle in [TextEdit] (in seconds)." msgstr "" +"Le minuteur pour la détection de l'inactivité dans le [TextEdit] (en " +"secondes)." #: doc/classes/ProjectSettings.xml msgid "Default delay for tooltips (in seconds)." @@ -49177,39 +49666,39 @@ msgstr "Le nom facultatif pour le claque 20 de physique 2D." #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D physics layer 21." -msgstr "" +msgstr "Le nom optionnel pour le claque physique 2D numéro 21." #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D physics layer 22." -msgstr "" +msgstr "Le nom optionnel pour le claque physique 2D numéro 22." #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D physics layer 23." -msgstr "" +msgstr "Le nom optionnel pour le claque physique 2D numéro 23." #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D physics layer 24." -msgstr "" +msgstr "Le nom optionnel pour le claque physique 2D numéro 24." #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D physics layer 25." -msgstr "" +msgstr "Le nom optionnel pour le claque physique 2D numéro 25." #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D physics layer 26." -msgstr "" +msgstr "Le nom optionnel pour le claque physique 2D numéro 26." #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D physics layer 27." -msgstr "" +msgstr "Le nom optionnel pour le claque physique 2D numéro 27." #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D physics layer 28." -msgstr "" +msgstr "Le nom optionnel pour le claque physique 2D numéro 28." #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D physics layer 29." -msgstr "" +msgstr "Le nom optionnel pour le claque physique 2D numéro 29." #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D physics layer 3." @@ -49217,15 +49706,15 @@ msgstr "Le nom facultatif pour le claque 3 de physique 2D." #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D physics layer 30." -msgstr "" +msgstr "Le nom optionnel pour le claque physique 2D numéro 30." #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D physics layer 31." -msgstr "" +msgstr "Le nom optionnel pour le claque physique 2D numéro 31." #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D physics layer 32." -msgstr "" +msgstr "Le nom optionnel pour le claque physique 2D numéro 32." #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D physics layer 4." @@ -49385,39 +49874,39 @@ msgstr "Le nom facultatif pour le claque 20 de physique 3D." #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D physics layer 21." -msgstr "" +msgstr "Le nom facultatif pour le claque 21 de physique 3D." #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D physics layer 22." -msgstr "" +msgstr "Le nom facultatif pour le claque 22 de physique 3D." #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D physics layer 23." -msgstr "" +msgstr "Le nom facultatif pour le claque 23 de physique 3D." #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D physics layer 24." -msgstr "" +msgstr "Le nom facultatif pour le claque 24 de physique 3D." #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D physics layer 25." -msgstr "" +msgstr "Le nom facultatif pour le claque 25 de physique 3D." #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D physics layer 26." -msgstr "" +msgstr "Le nom facultatif pour le claque 26 de physique 3D." #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D physics layer 27." -msgstr "" +msgstr "Le nom facultatif pour le claque 27 de physique 3D." #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D physics layer 28." -msgstr "" +msgstr "Le nom facultatif pour le claque 28 de physique 3D." #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D physics layer 29." -msgstr "" +msgstr "Le nom facultatif pour le claque 29 de physique 3D." #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D physics layer 3." @@ -49425,15 +49914,15 @@ msgstr "Le nom facultatif pour le claque 3 de physique 3D." #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D physics layer 30." -msgstr "" +msgstr "Le nom facultatif pour le claque 30 de physique 3D." #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D physics layer 31." -msgstr "" +msgstr "Le nom facultatif pour le claque 31 de physique 3D." #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D physics layer 32." -msgstr "" +msgstr "Le nom facultatif pour le claque 32 de physique 3D." #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D physics layer 4." @@ -49480,7 +49969,8 @@ msgid "Optional name for the 3D render layer 13." msgstr "Le nom facultatif pour le claque 13 de rendu 3D." #: doc/classes/ProjectSettings.xml -msgid "Optional name for the 3D render layer 14" +#, fuzzy +msgid "Optional name for the 3D render layer 14." msgstr "Le nom facultatif pour le claque 14 de rendu 3D" #: doc/classes/ProjectSettings.xml @@ -49550,11 +50040,12 @@ msgid "" "If non-empty, this locale will be used when running the project from the " "editor." msgstr "" +"Si n'est pas vide, ce langage sera utilisé lors du lancement du projet " +"depuis l'éditeur." #: doc/classes/ProjectSettings.xml -#, fuzzy msgid "If [code]true[/code], logs all output to files." -msgstr "Si [code]true[/code], enregistre toutes les sorties aux fichiers." +msgstr "Si [code]true[/code], enregistre toutes les sorties dans des fichiers." #: doc/classes/ProjectSettings.xml msgid "" @@ -49682,7 +50173,7 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "Page size used by remote filesystem (in bytes)." -msgstr "" +msgstr "La taille des pages pour les systèmes de fichier distants (en octets)." #: doc/classes/ProjectSettings.xml msgid "" @@ -50761,16 +51252,24 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" -"If [code]true[/code], forces vertex shading for all rendering. This can " -"increase performance a lot, but also reduces quality immensely. Can be used " -"to optimize performance on low-end mobile devices." +"If [code]true[/code], forces vertex shading for all 3D [SpatialMaterial] and " +"[ShaderMaterial] rendering. This can be used to improve performance on low-" +"end mobile devices. The downside is that shading becomes much less accurate, " +"with visible linear interpolation between vertices that are joined together. " +"This can be compensated by ensuring meshes have a sufficient level of " +"subdivision (but not too much, to avoid reducing performance). Some material " +"features are also not supported when vertex shading is enabled.\n" +"See also [member SpatialMaterial.flags_vertex_lighting] which can be used to " +"enable vertex shading on specific materials only.\n" +"[b]Note:[/b] This setting does not affect unshaded materials." msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Lower-end override for [member rendering/quality/shading/" "force_vertex_shading] on mobile devices, due to performance concerns or " -"driver support." +"driver support. If lighting looks broken after exporting the project to a " +"mobile platform, try disabling this setting." msgstr "" #: doc/classes/ProjectSettings.xml @@ -51009,9 +51508,8 @@ msgid "2D in 3D Demo" msgstr "" #: doc/classes/QuadMesh.xml -#, fuzzy msgid "Offset of the generated Quad. Useful for particles." -msgstr "Hauteur de la texture générée." +msgstr "Le décalage du Quad généré. Utile pour les particules." #: doc/classes/QuadMesh.xml msgid "Size on the X and Y axes." @@ -51190,7 +51688,7 @@ msgstr "" #: doc/classes/RandomNumberGenerator.xml msgid "A class for generating pseudo-random numbers." -msgstr "" +msgstr "Une classe pour générer des nombres pseudo-aléatoires." #: doc/classes/RandomNumberGenerator.xml msgid "" @@ -51214,9 +51712,8 @@ msgid "" msgstr "" #: doc/classes/RandomNumberGenerator.xml -#, fuzzy msgid "Random number generation" -msgstr "Réglez la graine pour le générateur de nombres aléatoires." +msgstr "Génération de nombres aléatoires" #: doc/classes/RandomNumberGenerator.xml msgid "" @@ -51243,16 +51740,20 @@ msgid "" "Generates a pseudo-random 32-bit unsigned integer between [code]0[/code] and " "[code]4294967295[/code] (inclusive)." msgstr "" +"Génère un entier non signé de 32 bits pseudo-aléatoire compris entre " +"[code]0[/code] et [code]4294967295[/code] (inclus)." #: doc/classes/RandomNumberGenerator.xml msgid "" "Generates a pseudo-random 32-bit signed integer between [code]from[/code] " "and [code]to[/code] (inclusive)." msgstr "" +"Génère un entier signé de 32 bits pseudo-aléatoire compris entre [code]from[/" +"code] et [code]to[/code] (inclus)." #: doc/classes/RandomNumberGenerator.xml msgid "Setups a time-based seed to generator." -msgstr "" +msgstr "Utilise un graine basée sur l'heure pour le générateur." #: doc/classes/RandomNumberGenerator.xml msgid "" @@ -51320,11 +51821,15 @@ msgstr "" msgid "" "If [code]true[/code], [member value] may be greater than [member max_value]." msgstr "" +"Si [code]true[/code], [member value] peut être supérieure à [member " +"max_value]." #: doc/classes/Range.xml msgid "" "If [code]true[/code], [member value] may be less than [member min_value]." msgstr "" +"Si [code]true[/code], [member value] peut être inférieure à [member " +"min_value]." #: doc/classes/Range.xml msgid "" @@ -51337,12 +51842,16 @@ msgid "" "Maximum value. Range is clamped if [code]value[/code] is greater than " "[code]max_value[/code]." msgstr "" +"La valeur maximale. L'intervalle est limitée si [code]value[/code] est " +"supérieure à [code]max_value[/code]." #: doc/classes/Range.xml msgid "" "Minimum value. Range is clamped if [code]value[/code] is less than " "[code]min_value[/code]." msgstr "" +"La valeur minimale. L'intervalle est limitée si [code]value[/code] est " +"inférieure à [code]min_value[/code]." #: doc/classes/Range.xml msgid "" @@ -51353,13 +51862,15 @@ msgstr "" #: doc/classes/Range.xml msgid "The value mapped between 0 and 1." -msgstr "" +msgstr "La valeur définit entre 0 et 1." #: doc/classes/Range.xml msgid "" "If [code]true[/code], [code]value[/code] will always be rounded to the " "nearest integer." msgstr "" +"Si [code]true[/code], [code]value[/code] sera toujours arrondie au nombre " +"entier le plus proche." #: doc/classes/Range.xml msgid "" @@ -51392,7 +51903,7 @@ msgstr "" #: doc/classes/RayCast.xml doc/classes/RayCast2D.xml msgid "Query the closest object intersecting a ray." -msgstr "" +msgstr "Demande l'objet le plus proche entrant en intersection avec le rayon." #: doc/classes/RayCast.xml msgid "" @@ -51426,7 +51937,7 @@ msgstr "" #: doc/classes/RayCast.xml doc/classes/RayCast2D.xml msgid "Removes all collision exceptions for this ray." -msgstr "" +msgstr "Retire tous les exceptions de collision pour ce rayon." #: doc/classes/RayCast.xml doc/classes/RayCast2D.xml msgid "" @@ -51473,18 +51984,24 @@ msgid "" "Returns whether any object is intersecting with the ray's vector " "(considering the vector length)." msgstr "" +"Retourne quand un objet intersecte avec le vecteur du rayon (en prenant en " +"compte la longueur du vecteur)." #: doc/classes/RayCast.xml doc/classes/RayCast2D.xml msgid "" "Removes a collision exception so the ray does report collisions with the " "specified node." msgstr "" +"Retirer une exception de collision pour que le rayon prenne en compte les " +"collision avec ce nœud." #: doc/classes/RayCast.xml doc/classes/RayCast2D.xml msgid "" "Removes a collision exception so the ray does report collisions with the " "specified [RID]." msgstr "" +"Retirer une exception de collision pour que le rayon prenne en compte les " +"collision avec ce [RID]." #: doc/classes/RayCast.xml msgid "" @@ -51572,16 +52089,21 @@ msgstr "" #: doc/classes/RayCast2D.xml msgid "If [code]true[/code], collision with [Area2D]s will be reported." msgstr "" +"Si [code]true[/code], les collisions avec les [Area2D] seront rapportées." #: doc/classes/RayCast2D.xml msgid "If [code]true[/code], collision with [PhysicsBody2D]s will be reported." msgstr "" +"Si [code]true[/code], les collisions avec les [PhysicBody2D] seront " +"rapportées." #: doc/classes/RayCast2D.xml msgid "" "If [code]true[/code], the parent node will be excluded from collision " "detection." msgstr "" +"Si [code]true[/code], le nœud parent sera exclu lors de la détection des " +"collisions." #: doc/classes/RayShape.xml msgid "Ray shape for 3D collisions." @@ -51602,6 +52124,8 @@ msgstr "La longueur du rayon." #: doc/classes/RayShape.xml doc/classes/RayShape2D.xml msgid "If [code]true[/code], allow the shape to return the correct normal." msgstr "" +"Utilisez [code]true[/code] pour autoriser la forme à retourner la normale " +"correcte." #: doc/classes/RayShape2D.xml msgid "Ray shape for 2D collisions." @@ -51632,11 +52156,11 @@ msgstr "" #: doc/classes/Rect2.xml msgid "Constructs a [Rect2] by position and size." -msgstr "" +msgstr "Construit un [Rect2] avec sa position et sa taille." #: doc/classes/Rect2.xml msgid "Constructs a [Rect2] by x, y, width, and height." -msgstr "" +msgstr "Construit un [Rect2] avec x, y, largeur, et hauteur." #: doc/classes/Rect2.xml msgid "" @@ -51647,12 +52171,12 @@ msgstr "" #: doc/classes/Rect2.xml msgid "Returns the intersection of this [Rect2] and b." -msgstr "" +msgstr "Retourne l'intersection de ce [Rect2] et de b." #: doc/classes/Rect2.xml msgid "" "Returns [code]true[/code] if this [Rect2] completely encloses another one." -msgstr "" +msgstr "Retourne [code]true[/code] si ce [Rect2] entoure complètement l'autre." #: doc/classes/Rect2.xml msgid "" @@ -51676,6 +52200,8 @@ msgid "" "Returns the center of the [Rect2], which is equal to [member position] + " "([member size] / 2)." msgstr "" +"Retourne le centre du [Rect2], qui est égal à [member position] + ([member " +"size] / 2)." #: doc/classes/Rect2.xml msgid "" @@ -51694,6 +52220,8 @@ msgid "" "Returns a copy of the [Rect2] grown a given amount of units towards the " "[enum Margin] direction." msgstr "" +"Retourne une copie du [Rect2] agrandie de la quantité donnée dans la " +"direction [enum Margin]." #: doc/classes/Rect2.xml msgid "" @@ -51731,6 +52259,8 @@ msgstr "" #: doc/classes/Rect2.xml msgid "Returns a larger [Rect2] that contains this [Rect2] and [code]b[/code]." msgstr "" +"Retourne un [Rect2] plus grand qui contient ce [Rect2] ainsi que [code]b[/" +"code]." #: doc/classes/RectangleShape2D.xml msgid "Rectangle shape for 2D collisions." @@ -51806,7 +52336,7 @@ msgstr "" #: doc/classes/ReferenceRect.xml msgid "Sets the border [Color] of the [ReferenceRect]." -msgstr "" +msgstr "Définit la [Color] de la bordure de ce [ReferenceRect]." #: doc/classes/ReferenceRect.xml msgid "" @@ -51893,6 +52423,8 @@ msgid "" "Defines the reflection intensity. Intensity modulates the strength of the " "reflection." msgstr "" +"Définit l'intensité de la réflexion. L'intensité modifie l'importance de " +"l'effet de réflexion." #: doc/classes/ReflectionProbe.xml msgid "" @@ -52070,6 +52602,7 @@ msgstr "" #: modules/regex/doc_classes/RegEx.xml msgid "Returns whether this object has a valid search pattern assigned." msgstr "" +"Retourne si cet objet à un motif de recherche valide qui lui est assigné." #: modules/regex/doc_classes/RegEx.xml msgid "" @@ -52099,7 +52632,7 @@ msgstr "" #: modules/regex/doc_classes/RegExMatch.xml msgid "Contains the results of a [RegEx] search." -msgstr "" +msgstr "Contient le résultat d'une recherche avec une [RegEx]." #: modules/regex/doc_classes/RegExMatch.xml msgid "" @@ -52185,15 +52718,15 @@ msgstr "" #: doc/classes/RemoteTransform.xml doc/classes/RemoteTransform2D.xml msgid "If [code]true[/code], the remote node's position is updated." -msgstr "" +msgstr "Si [code]true[/code], la position du nœud distant a changé." #: doc/classes/RemoteTransform.xml doc/classes/RemoteTransform2D.xml msgid "If [code]true[/code], the remote node's rotation is updated." -msgstr "" +msgstr "Si [code]true[/code], la rotation du nœud distant a changé." #: doc/classes/RemoteTransform.xml doc/classes/RemoteTransform2D.xml msgid "If [code]true[/code], the remote node's scale is updated." -msgstr "" +msgstr "Si [code]true[/code], la mise à l'échelle du nœud distant a changé." #: doc/classes/RemoteTransform.xml doc/classes/RemoteTransform2D.xml msgid "" @@ -52250,7 +52783,7 @@ msgstr "" #: doc/classes/Resource.xml msgid "Resources" -msgstr "" +msgstr "Ressources" #: doc/classes/Resource.xml msgid "" @@ -52657,7 +53190,7 @@ msgstr "" #: doc/classes/ResourcePreloader.xml msgid "Returns the list of resources inside the preloader." -msgstr "" +msgstr "Retourne la liste des ressources actuellement dans le preloader." #: doc/classes/ResourcePreloader.xml msgid "" @@ -52742,7 +53275,7 @@ msgstr "" #: doc/classes/RichTextEffect.xml msgid "A custom effect for use with [RichTextLabel]." -msgstr "" +msgstr "Un effet personnalisé à utilisé pour ce [RichTextLabel]." #: doc/classes/RichTextEffect.xml msgid "" @@ -52815,6 +53348,7 @@ msgstr "" #: doc/classes/RichTextLabel.xml msgid "Adds raw non-BBCode-parsed text to the tag stack." msgstr "" +"Ajoute du texte BBCode brut (non interprété) dans le pile des marqueurs." #: doc/classes/RichTextLabel.xml msgid "" @@ -52845,6 +53379,11 @@ msgid "" msgstr "" #: doc/classes/RichTextLabel.xml +#, fuzzy +msgid "Returns the current selection text. Does not include BBCodes." +msgstr "Retourne le numéro de la ligne actuelle." + +#: doc/classes/RichTextLabel.xml msgid "" "Returns the total number of characters from text tags. Does not include " "BBCodes." @@ -52862,7 +53401,7 @@ msgstr "" #: doc/classes/RichTextLabel.xml msgid "Adds a newline tag to the tag stack." -msgstr "" +msgstr "Ajouter un marqueur de retour à la ligne dans la pile des marqueurs." #: doc/classes/RichTextLabel.xml msgid "" @@ -52898,6 +53437,8 @@ msgstr "" msgid "" "Adds a [code][font][/code] tag with a bold italics font to the tag stack." msgstr "" +"Ajouter un marqueur [code][font][/code] avec une police italique gras dans " +"la pile des marqueurs." #: doc/classes/RichTextLabel.xml msgid "" @@ -52907,13 +53448,15 @@ msgstr "" #: doc/classes/RichTextLabel.xml msgid "Adds a [code][color][/code] tag to the tag stack." -msgstr "" +msgstr "Ajouter un marqueur [code][color][/code] dans la pile des marqueurs." #: doc/classes/RichTextLabel.xml msgid "" "Adds a [code][font][/code] tag to the tag stack. Overrides default fonts for " "its duration." msgstr "" +"Ajouter un marqueur [code][font][/code] dans la pile des marqueurs. Est " +"utilisé à la place de la police par défaut tant que le marqueur est ouvert." #: doc/classes/RichTextLabel.xml msgid "" @@ -52934,6 +53477,9 @@ msgid "" "[code][ol][/code] or [code][ul][/code], but supports more list types. Not " "fully implemented!" msgstr "" +"Ajoute un marqueur [code][list[/code] dans la pile des marqueurs. Similaire " +"à [code][ol][/code] ou [code][ul][/code], mais support plus de types de " +"liste. Pas entièrement implémenté !" #: doc/classes/RichTextLabel.xml msgid "" @@ -52944,27 +53490,27 @@ msgstr "" #: doc/classes/RichTextLabel.xml msgid "Adds a [code][font][/code] tag with a monospace font to the tag stack." msgstr "" -"Ajouter un marqueur [code][font][/code] avec une police monospace dans la " +"Ajoute un marqueur [code][font][/code] avec une police monospace dans la " "pile des marqueurs." #: doc/classes/RichTextLabel.xml msgid "Adds a [code][font][/code] tag with a normal font to the tag stack." msgstr "" -"Ajouter un marqueur [code][font][/code] avec une police normale dans la pile " +"Ajoute un marqueur [code][font][/code] avec une police normale dans la pile " "des marqueurs." #: doc/classes/RichTextLabel.xml msgid "Adds a [code][s][/code] tag to the tag stack." -msgstr "Ajouter un marqueur [code][s][/code] dans la pile des marqueurs." +msgstr "Ajoute un marqueur [code][s][/code] dans la pile des marqueurs." #: doc/classes/RichTextLabel.xml msgid "Adds a [code][table=columns][/code] tag to the tag stack." msgstr "" -"Ajouter un marqueur [code][table=columns][/code] dans la pile des marqueurs." +"Ajoute un marqueur [code][table=columns][/code] dans la pile des marqueurs." #: doc/classes/RichTextLabel.xml msgid "Adds a [code][u][/code] tag to the tag stack." -msgstr "Ajouter un marqueur [code][u][/code] dans la pile des marqueurs." +msgstr "Ajoute un marqueur [code][u][/code] dans la pile des marqueurs." #: doc/classes/RichTextLabel.xml msgid "" @@ -53060,7 +53606,7 @@ msgstr "" #: doc/classes/RichTextLabel.xml msgid "If [code]true[/code], the label allows text selection." -msgstr "" +msgstr "Si [code]true[/code], le label autorise la sélection du texte." #: doc/classes/RichTextLabel.xml msgid "" @@ -53093,14 +53639,12 @@ msgid "" msgstr "" #: doc/classes/RichTextLabel.xml -#, fuzzy msgid "Triggers when the mouse exits a meta tag." -msgstr "Se déclenche lorsque la souris sort d'une méta-tag." +msgstr "Se déclenche lorsque la souris sort d'une méta-marqueur." #: doc/classes/RichTextLabel.xml -#, fuzzy msgid "Triggers when the mouse enters a meta tag." -msgstr "Se déclenche lorsque la souris entre dans une balise meta." +msgstr "Se déclenche lorsque la souris entre dans un méta-marqueur." #: doc/classes/RichTextLabel.xml msgid "Makes text left aligned." @@ -53120,11 +53664,11 @@ msgstr "Rempli le texte en largeur." #: doc/classes/RichTextLabel.xml msgid "Each list item has a number marker." -msgstr "" +msgstr "Chaque élément de la liste à un chiffre comme marqueur." #: doc/classes/RichTextLabel.xml msgid "Each list item has a letter marker." -msgstr "" +msgstr "Chaque élément de la liste à une lettre comme marqueur." #: doc/classes/RichTextLabel.xml msgid "Each list item has a filled circle marker." @@ -53160,19 +53704,17 @@ msgstr "" #: doc/classes/RichTextLabel.xml msgid "The horizontal offset of the font's shadow." -msgstr "" +msgstr "Le décalage horizontal pour l'ombre de la police." #: doc/classes/RichTextLabel.xml msgid "The vertical offset of the font's shadow." -msgstr "" +msgstr "Le décalage vertical pour l'ombre de la police." #: doc/classes/RichTextLabel.xml -#, fuzzy msgid "The horizontal separation of elements in a table." msgstr "La séparation horizontale des éléments dans un tableau." #: doc/classes/RichTextLabel.xml -#, fuzzy msgid "The vertical separation of elements in a table." msgstr "La séparation verticale des éléments dans un tableau." @@ -53182,7 +53724,7 @@ msgstr "La police utilisée pour le texte en gras." #: doc/classes/RichTextLabel.xml msgid "The font used for bold italics text." -msgstr "" +msgstr "La police utilisée pour les textes italiques gras." #: doc/classes/RichTextLabel.xml msgid "The font used for italics text." @@ -53224,7 +53766,7 @@ msgstr "" #: doc/classes/RID.xml msgid "Returns the ID of the referenced resource." -msgstr "" +msgstr "Retourne l'identifiant de la ressource référencée." #: doc/classes/RigidBody.xml msgid "" @@ -53286,6 +53828,8 @@ msgid "" "Applies a directional impulse without affecting rotation.\n" "This is equivalent to [code]apply_impulse(Vector3(0,0,0), impulse)[/code]." msgstr "" +"Appliquer un impulsion directionnelle sans affecter la rotation.\n" +"C'est équivalent à [code]apply_impulse(Vector3(0,0,0), impulse)[/code]." #: doc/classes/RigidBody.xml msgid "" @@ -53449,7 +53993,7 @@ msgstr "La masse du corps." #: doc/classes/RigidBody.xml msgid "The body mode. See [enum Mode] for possible values." -msgstr "" +msgstr "Le mode du corps. Voir [enum Mode] pour les valeurs possibles." #: doc/classes/RigidBody.xml doc/classes/RigidBody2D.xml #: doc/classes/StaticBody.xml doc/classes/StaticBody2D.xml @@ -53603,7 +54147,7 @@ msgstr "" #: doc/classes/RigidBody2D.xml doc/classes/Sprite.xml msgid "Instancing Demo" -msgstr "" +msgstr "Démo des instanciations" #: doc/classes/RigidBody2D.xml msgid "" @@ -53742,7 +54286,7 @@ msgstr "" #: doc/classes/RigidBody2D.xml msgid "The body's mode. See [enum Mode] for possible values." -msgstr "" +msgstr "Le mode du corps. Voir [enum Mode] pour les valeurs possibles." #: doc/classes/RigidBody2D.xml msgid "" @@ -54267,7 +54811,7 @@ msgstr "" #: doc/classes/SceneState.xml msgid "Returns the method connected to the signal at [code]idx[/code]." -msgstr "" +msgstr "Retourne la méthode connecté au signal à [code]idx[/code]." #: doc/classes/SceneState.xml msgid "Returns the name of the signal at [code]idx[/code]." @@ -54513,7 +55057,7 @@ msgstr "" #: doc/classes/SceneTree.xml msgid "Returns [code]true[/code] if the given group exists." -msgstr "" +msgstr "Retourne [code]true[/code] si le groupe donné existe." #: doc/classes/SceneTree.xml #, fuzzy @@ -54625,7 +55169,7 @@ msgstr "La racine de la scène éditée." #: doc/classes/SceneTree.xml msgid "The default [MultiplayerAPI] instance for this [SceneTree]." -msgstr "" +msgstr "L'instance [MultiplayerAPI] par défaut pour ce [SceneTree]." #: doc/classes/SceneTree.xml msgid "" @@ -54783,11 +55327,11 @@ msgstr "" #: doc/classes/SceneTree.xml msgid "Call a group with no flags (default)." -msgstr "" +msgstr "Appelle un groupe sans drapeau (la valeur par défaut)." #: doc/classes/SceneTree.xml msgid "Call a group in reverse scene order." -msgstr "" +msgstr "Appelle un groupe dans l'ordre inversé de la scène." #: doc/classes/SceneTree.xml msgid "Call a group immediately (calls are normally made on idle)." @@ -54799,7 +55343,7 @@ msgstr "" #: doc/classes/SceneTree.xml msgid "No stretching." -msgstr "" +msgstr "Aucun étirement." #: doc/classes/SceneTree.xml msgid "Render stretching in higher resolution (interpolated)." @@ -54884,11 +55428,11 @@ msgstr "" #: doc/classes/Script.xml msgid "Returns [code]true[/code] if the script can be instanced." -msgstr "" +msgstr "Retourne [code]true[/code] si une instance du script peut être créée." #: doc/classes/Script.xml msgid "Returns the script directly inherited by this script." -msgstr "" +msgstr "Retourne le script directement hérité par ce script." #: doc/classes/Script.xml msgid "Returns the script's base type." @@ -54896,39 +55440,45 @@ msgstr "Retourne le type de base du script." #: doc/classes/Script.xml msgid "Returns the default value of the specified property." -msgstr "" +msgstr "Retourne la valeur par défaut de la propriété spécifiée." #: doc/classes/Script.xml msgid "Returns a dictionary containing constant names and their values." -msgstr "" +msgstr "Retourne un dictionnaire contenant le nom et valeur des constantes." #: doc/classes/Script.xml msgid "Returns the list of methods in this [Script]." -msgstr "" +msgstr "Retourne la liste des méthodes dans ce [Script]." #: doc/classes/Script.xml msgid "Returns the list of properties in this [Script]." -msgstr "" +msgstr "Retourne la liste des propriétés dans ce [Script]." #: doc/classes/Script.xml msgid "Returns the list of user signals defined in this [Script]." msgstr "" +"Retourne la liste des signaux définit par l'utilisateur dans ce [Script]." #: doc/classes/Script.xml msgid "" "Returns [code]true[/code] if the script, or a base class, defines a signal " "with the given name." msgstr "" +"Retourne [code]true[/code] si le script, ou sa classe parente, définit un " +"signal avec le nom donné." #: doc/classes/Script.xml msgid "Returns [code]true[/code] if the script contains non-empty source code." msgstr "" +"Retourne [code]true[/code] si le script contient un code source non vide." #: doc/classes/Script.xml msgid "" "Returns [code]true[/code] if [code]base_object[/code] is an instance of this " "script." msgstr "" +"Retourne [code]true[/code] si [code]base_object[/code] est une instance de " +"ce script." #: doc/classes/Script.xml msgid "" @@ -54970,7 +55520,7 @@ msgstr "" #: doc/classes/ScriptCreateDialog.xml msgid "Emitted when the user clicks the OK button." -msgstr "" +msgstr "Émis quand un utilisateur clique sur le bouton OK." #: doc/classes/ScriptEditor.xml msgid "Godot editor's script editor." @@ -55105,7 +55655,6 @@ msgid "The current horizontal scroll value." msgstr "La valeur de défilement horizontal actuelle." #: doc/classes/ScrollContainer.xml -#, fuzzy msgid "If [code]true[/code], enables horizontal scrolling." msgstr "Si [code]true[/code], permet le défilement horizontal." @@ -55159,22 +55708,25 @@ msgid "" msgstr "" #: doc/classes/Semaphore.xml -#, fuzzy msgid "" -"Lowers the [Semaphore], allowing one more thread in. Returns [constant OK] " -"on success, [constant ERR_BUSY] otherwise." +"Lowers the [Semaphore], allowing one more thread in.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" -"Essaie de verrouiller ce [Mutex], mais ne le bloque pas. Retourne [constant " -"OK] en cas de succès, [constant ERR_BUSY] dans le cas contraire." #: doc/classes/Semaphore.xml -#, fuzzy msgid "" -"Tries to wait for the [Semaphore], if its value is zero, blocks until non-" -"zero. Returns [constant OK] on success, [constant ERR_BUSY] otherwise." +"Like [method wait], but won't block, so if the value is zero, fails " +"immediately and returns [constant ERR_BUSY]. If non-zero, it returns " +"[constant OK] to report success." +msgstr "" + +#: doc/classes/Semaphore.xml +msgid "" +"Waits for the [Semaphore], if its value is zero, blocks until non-zero.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" -"Essaie de verrouiller ce [Mutex], mais ne le bloque pas. Retourne [constant " -"OK] en cas de succès, [constant ERR_BUSY] dans le cas contraire." #: doc/classes/Separator.xml msgid "Base class for separators." @@ -55246,11 +55798,11 @@ msgstr "" #: doc/classes/Shader.xml msgid "Mode used to draw all 3D objects." -msgstr "" +msgstr "Le mode utilise pour afficher tous les objets 3D." #: doc/classes/Shader.xml msgid "Mode used to draw all 2D objects." -msgstr "" +msgstr "Le mode utilise pour afficher tous les objets 2D." #: doc/classes/Shader.xml msgid "" @@ -55260,7 +55812,7 @@ msgstr "" #: doc/classes/ShaderMaterial.xml msgid "A material that uses a custom [Shader] program." -msgstr "" +msgstr "Un matériau que utilise un programme de [Shader] personnalisé." #: doc/classes/ShaderMaterial.xml msgid "" @@ -55299,11 +55851,11 @@ msgstr "" #: doc/classes/ShaderMaterial.xml msgid "The [Shader] program used to render this material." -msgstr "" +msgstr "Le programme [Shader] utilisé pour le rendu de ce matériau." #: doc/classes/Shape.xml msgid "Base class for all 3D shape resources." -msgstr "" +msgstr "La classe de base pour toutes les ressources de formes 3D." #: doc/classes/Shape.xml msgid "" @@ -55389,9 +55941,8 @@ msgid "The shape's custom solver bias." msgstr "Le biais du solveur personnalisé de la forme." #: doc/classes/ShortCut.xml -#, fuzzy msgid "A shortcut for binding input." -msgstr "Un raccourci pour la liaison d'entrée." +msgstr "Un raccourci lié à une entrée." #: doc/classes/ShortCut.xml msgid "" @@ -55402,17 +55953,19 @@ msgstr "" #: doc/classes/ShortCut.xml msgid "Returns the shortcut's [InputEvent] as a [String]." -msgstr "" +msgstr "Retourne le [InputEvent] de ce raccourci comme [String]." #: doc/classes/ShortCut.xml msgid "" "Returns [code]true[/code] if the shortcut's [InputEvent] equals [code]event[/" "code]." msgstr "" +"Retourne [code]true[/code] si le [InputEvent] du raccourci correspond à " +"[code]event[/code]." #: doc/classes/ShortCut.xml msgid "If [code]true[/code], this shortcut is valid." -msgstr "" +msgstr "Si [code]true[/code], ce raccourci est valide." #: doc/classes/ShortCut.xml msgid "" @@ -55423,7 +55976,7 @@ msgstr "" #: doc/classes/Skeleton.xml msgid "Skeleton for characters and animated objects." -msgstr "" +msgstr "Le squelette pour les caractères et les objets animés." #: doc/classes/Skeleton.xml msgid "" @@ -55442,22 +55995,24 @@ msgid "" "Adds a bone, with name [code]name[/code]. [method get_bone_count] will " "become the bone index." msgstr "" +"Ajoute un os, nommé [code]name[/code]. [method get_bone_count] deviendra " +"l'index de cet os." #: doc/classes/Skeleton.xml msgid "[i]Deprecated soon.[/i]" -msgstr "[i]Déprécié bientôt.[/i]" +msgstr "[i]Bientôt obsolète.[/i]" #: doc/classes/Skeleton.xml msgid "Clear all the bones in this skeleton." -msgstr "" +msgstr "Efface tous les os de ce squelette." #: doc/classes/Skeleton.xml msgid "Returns the bone index that matches [code]name[/code] as its name." -msgstr "" +msgstr "Retourne l'index de l'os qui se nomme [code]name[/code]." #: doc/classes/Skeleton.xml msgid "Returns the amount of bones in the skeleton." -msgstr "" +msgstr "Retourne le nombre d'os dans ce squelette." #: doc/classes/Skeleton.xml msgid "" @@ -55500,6 +56055,8 @@ msgstr "" #: doc/classes/Skeleton.xml msgid "Returns the rest transform for a bone [code]bone_idx[/code]." msgstr "" +"Retourne la transformation de repos pour l'os à l'index [code]bone_idx[/" +"code]." #: doc/classes/Skeleton.xml msgid "" @@ -55516,10 +56073,11 @@ msgstr "Définit le décalage à partir de [code]0.5[/code]." #: doc/classes/Skeleton.xml msgid "Sets the rest transform for bone [code]bone_idx[/code]." msgstr "" +"Définit la transformation de repos de l'os à l'index [code]bone_idx[/code]." #: doc/classes/Skeleton2D.xml msgid "Skeleton for 2D characters and animated objects." -msgstr "" +msgstr "Le squelette pour les caractères et les objets animés en 2D." #: doc/classes/Skeleton2D.xml msgid "" @@ -55544,7 +56102,7 @@ msgstr "" #: doc/classes/Skeleton2D.xml msgid "Returns the [RID] of a Skeleton2D instance." -msgstr "" +msgstr "Retourne le [RID] de l'instance du Skeleton2D." #: doc/classes/SkeletonIK.xml msgid "" @@ -55685,7 +56243,7 @@ msgstr "" #: doc/classes/Sky.xml msgid "The base class for [PanoramaSky] and [ProceduralSky]." -msgstr "" +msgstr "La classe de base pour les [PanoramaSky] et [ProceduralSky]." #: doc/classes/Sky.xml msgid "" @@ -55736,12 +56294,11 @@ msgstr "" #: doc/classes/Sky.xml msgid "Represents the size of the [enum RadianceSize] enum." -msgstr "" +msgstr "Représente la taille de l'énumération [enum RadianceSize]." #: doc/classes/Slider.xml -#, fuzzy msgid "Base class for GUI sliders." -msgstr "Classe de base pour les curseurs GUI." +msgstr "Classe de base pour les curseurs d'interface." #: doc/classes/Slider.xml msgid "" @@ -55898,9 +56455,8 @@ msgstr "" "l’état de la clé est libéré." #: doc/classes/SoftBody.xml -#, fuzzy msgid "If [code]true[/code], the [SoftBody] will respond to [RayCast]s." -msgstr "Si [code]true[/code], l'interpolation fait une boucle." +msgstr "Si [code]true[/code], le [SoftBody] répondra aux [RayCast]." #: doc/classes/SoftBody.xml msgid "" @@ -55934,11 +56490,11 @@ msgstr "" #: doc/classes/Spatial.xml msgid "Introduction to 3D" -msgstr "" +msgstr "Introduction à la 3D" #: doc/classes/Spatial.xml doc/classes/Vector3.xml msgid "All 3D Demos" -msgstr "" +msgstr "Toutes les démos 3D" #: doc/classes/Spatial.xml msgid "" @@ -56157,9 +56713,8 @@ msgid "" msgstr "" #: doc/classes/Spatial.xml -#, fuzzy msgid "World space (global) [Transform] of this node." -msgstr "Retourne la matrice de transformation globale de cet élément." +msgstr "La [Transform] globale de ce nœud." #: doc/classes/Spatial.xml msgid "" @@ -56190,7 +56745,7 @@ msgstr "" #: doc/classes/Spatial.xml msgid "Local translation of this node." -msgstr "" +msgstr "La translation locale de ce nœud." #: doc/classes/Spatial.xml msgid "" @@ -56267,6 +56822,8 @@ msgstr "" #: doc/classes/SpatialMaterial.xml msgid "Returns [code]true[/code], if the specified [enum Feature] is enabled." msgstr "" +"Retourne [code]true[/code] si la fonctionnalité [enum Feature] spécifiée est " +"active." #: doc/classes/SpatialMaterial.xml msgid "" @@ -56277,7 +56834,7 @@ msgstr "" #: doc/classes/SpatialMaterial.xml msgid "" "Returns the [Texture] associated with the specified [enum TextureParam]." -msgstr "" +msgstr "Retourne la [Texture] associée avec le [enum TextureParam] spécifié." #: doc/classes/SpatialMaterial.xml msgid "" @@ -56545,7 +57102,7 @@ msgstr "" #: doc/classes/SpatialMaterial.xml msgid "The emitted light's color. See [member emission_enabled]." -msgstr "" +msgstr "La couleur de la lumière émise. Voir [member emission_enabled]." #: doc/classes/SpatialMaterial.xml msgid "" @@ -56557,11 +57114,12 @@ msgstr "" #: doc/classes/SpatialMaterial.xml msgid "The emitted light's strength. See [member emission_enabled]." -msgstr "" +msgstr "L'intensité de la lumière émise. Voir [member emission_enabled]." #: doc/classes/SpatialMaterial.xml msgid "Use [code]UV2[/code] to read from the [member emission_texture]." msgstr "" +"Utiliser [code]UV2[/code] pour lire depuis la [member emission_texture]." #: doc/classes/SpatialMaterial.xml msgid "" @@ -56584,7 +57142,7 @@ msgstr "" #: doc/classes/SpatialMaterial.xml msgid "If [code]true[/code], the object receives no ambient light." -msgstr "" +msgstr "Si [code]trye[/code], l'objet ne reçoit aucune lumière ambiante." #: doc/classes/SpatialMaterial.xml msgid "" @@ -56620,9 +57178,8 @@ msgid "" msgstr "" #: doc/classes/SpatialMaterial.xml -#, fuzzy msgid "If [code]true[/code], the object is unaffected by lighting." -msgstr "Si [code]true[/code], le GraphNode est sélectionné." +msgstr "Si [code]true[/code], l'objet n'est pas affecté par les lumières." #: doc/classes/SpatialMaterial.xml msgid "" @@ -56642,7 +57199,21 @@ msgstr "" #: doc/classes/SpatialMaterial.xml msgid "" "If [code]true[/code], lighting is calculated per vertex rather than per " -"pixel. This may increase performance on low-end devices." +"pixel. This may increase performance on low-end devices, especially for " +"meshes with a lower polygon count. The downside is that shading becomes much " +"less accurate, with visible linear interpolation between vertices that are " +"joined together. This can be compensated by ensuring meshes have a " +"sufficient level of subdivision (but not too much, to avoid reducing " +"performance). Some material features are also not supported when vertex " +"shading is enabled.\n" +"See also [member ProjectSettings.rendering/quality/shading/" +"force_vertex_shading] which can globally enable vertex shading on all " +"materials.\n" +"[b]Note:[/b] By default, vertex shading is enforced on mobile platforms by " +"[member ProjectSettings.rendering/quality/shading/force_vertex_shading]'s " +"[code]mobile[/code] override.\n" +"[b]Note:[/b] [member flags_vertex_lighting] has no effect if [member " +"flags_unshaded] is [code]true[/code]." msgstr "" #: doc/classes/SpatialMaterial.xml @@ -56838,6 +57409,8 @@ msgid "" "Texture that controls the strength of the refraction per-pixel. Multiplied " "by [member refraction_scale]." msgstr "" +"La texture qui contrôle l'intensité de la réfraction par pixel. Elle est " +"multipliée par [member refraction_scale]." #: doc/classes/SpatialMaterial.xml msgid "" @@ -56885,6 +57458,8 @@ msgid "" "Texture used to control the roughness per-pixel. Multiplied by [member " "roughness]." msgstr "" +"La texture utilisée pour contrôler la rugosité par pixel. Multipliée par " +"[membre roughness]." #: doc/classes/SpatialMaterial.xml msgid "" @@ -56909,9 +57484,8 @@ msgid "" msgstr "" #: doc/classes/SpatialMaterial.xml -#, fuzzy msgid "If [code]true[/code], the transmission effect is enabled." -msgstr "Si [code]true[/code], le filtrage est activé." +msgstr "Si [code]true[/code], l'effet de transmission est actif." #: doc/classes/SpatialMaterial.xml msgid "" @@ -56995,6 +57569,8 @@ msgstr "" msgid "" "If [code]true[/code], the model's vertex colors are processed as sRGB mode." msgstr "" +"Si [code]true[/code], les couleurs de sommets du modèle seront gérées en " +"mode sRGB." #: doc/classes/SpatialMaterial.xml msgid "If [code]true[/code], the vertex color is used as albedo color." @@ -57149,6 +57725,8 @@ msgstr "" #: doc/classes/SpatialMaterial.xml msgid "Default depth draw mode. Depth is drawn only for opaque objects." msgstr "" +"Le mode par défaut pour la profondeur. La profondeur n'est dessinée que pour " +"les objets opaques." #: doc/classes/SpatialMaterial.xml msgid "Depth draw is calculated for both opaque and transparent objects." @@ -57167,15 +57745,16 @@ msgstr "" #: doc/classes/SpatialMaterial.xml msgid "Default cull mode. The back of the object is culled when not visible." msgstr "" +"Le mode de cull par défaut. Le cull définit quand l'arrière d'un objet n'est " +"pas visible." #: doc/classes/SpatialMaterial.xml msgid "The front of the object is culled when not visible." msgstr "" #: doc/classes/SpatialMaterial.xml -#, fuzzy msgid "No culling is performed." -msgstr "Aucun abattage n’est effectué." +msgstr "Aucun culling n’est effectué." #: doc/classes/SpatialMaterial.xml msgid "" @@ -57231,12 +57810,16 @@ msgid "" "Use triplanar texture lookup for all texture lookups that would normally use " "[code]UV[/code]." msgstr "" +"Utiliser la projection triplanaire pour les textures qui normalement " +"utilisent [code]UV[/code]." #: doc/classes/SpatialMaterial.xml msgid "" "Use triplanar texture lookup for all texture lookups that would normally use " "[code]UV2[/code]." msgstr "" +"Utiliser la projection triplanaire pour les textures qui normalement " +"utilisent [code]UV2[/code]." #: doc/classes/SpatialMaterial.xml msgid "" @@ -57299,6 +57882,8 @@ msgstr "" #: doc/classes/SpatialMaterial.xml msgid "Uses a hard cut for lighting, with smoothing affected by roughness." msgstr "" +"Utilise une transition abrupte pour les lumières, la rugosité permet " +"d'ajuster cette transition." #: doc/classes/SpatialMaterial.xml msgid "Default specular blob." @@ -57323,7 +57908,7 @@ msgstr "Le mode d'affichage est désactivé." #: doc/classes/SpatialMaterial.xml msgid "The object's Z axis will always face the camera." -msgstr "" +msgstr "L'axe Z de l'objet fera toujours face à la caméra." #: doc/classes/SpatialMaterial.xml msgid "The object's X axis will always face the camera." @@ -57355,11 +57940,11 @@ msgstr "" #: doc/classes/SpatialMaterial.xml msgid "Adds the emission color to the color from the emission texture." -msgstr "" +msgstr "Ajouter la couleur d'émission à la texture d'émission." #: doc/classes/SpatialMaterial.xml msgid "Multiplies the emission color by the color from the emission texture." -msgstr "" +msgstr "Multiplie la couleur d'émission par la texture d'émission." #: doc/classes/SpatialMaterial.xml msgid "Do not use distance fade." @@ -57423,15 +58008,15 @@ msgstr "" #: doc/classes/SphereMesh.xml msgid "Number of radial segments on the sphere." -msgstr "" +msgstr "Le nombre de latitudes de la sphère." #: doc/classes/SphereMesh.xml msgid "Radius of sphere." -msgstr "Rayon de la sphère." +msgstr "Le rayon de la sphère." #: doc/classes/SphereMesh.xml msgid "Number of segments along the height of the sphere." -msgstr "" +msgstr "Le nombre de longitudes de la sphère." #: doc/classes/SphereShape.xml msgid "Sphere shape for 3D collisions." @@ -57446,6 +58031,7 @@ msgstr "" #: doc/classes/SphereShape.xml msgid "The sphere's radius. The shape's diameter is double the radius." msgstr "" +"Le rayon de la sphère. Le diamètre de la sphère est le double du rayon." #: doc/classes/SpinBox.xml msgid "Numerical input text field." @@ -57467,12 +58053,15 @@ msgid "" "the text alignment to right.\n" "See [Range] class for more options over the [SpinBox].\n" "[b]Note:[/b] [SpinBox] relies on an underlying [LineEdit] node. To theme a " -"[SpinBox]'s background, add theme items for [LineEdit] and customize them." +"[SpinBox]'s background, add theme items for [LineEdit] and customize them.\n" +"[b]Note:[/b] If you want to implement drag and drop for the underlying " +"[LineEdit], you can use [method Control.set_drag_forwarding] on the node " +"returned by [method get_line_edit]." msgstr "" #: doc/classes/SpinBox.xml msgid "Applies the current value of this [SpinBox]." -msgstr "" +msgstr "Appliquer la valeur actuelle à cette [SpinBox]." #: doc/classes/SpinBox.xml msgid "" @@ -57485,7 +58074,7 @@ msgstr "" #: doc/classes/SpinBox.xml msgid "Sets the text alignment of the [SpinBox]." -msgstr "" +msgstr "Définit l'alignement du texte de cette [SpinBox]." #: doc/classes/SpinBox.xml msgid "" @@ -57557,7 +58146,7 @@ msgstr "Émis lorsque le dragueur est glissé par l'utilisateur." #: doc/classes/SplitContainer.xml msgid "The split dragger is visible when the cursor hovers it." -msgstr "" +msgstr "Le dragueur fractionné est visible quand le curseur le survole." #: doc/classes/SplitContainer.xml #, fuzzy @@ -57592,13 +58181,12 @@ msgid "The spotlight's angle in degrees." msgstr "L’angle du projecteur en degrés." #: doc/classes/SpotLight.xml -#, fuzzy msgid "The spotlight's angular attenuation curve." msgstr "La courbe d’atténuation angulaire du projecteur." #: doc/classes/SpotLight.xml msgid "The spotlight's light energy attenuation curve." -msgstr "" +msgstr "La courbe d’atténuation de l'énergie de la lumière du projecteur." #: doc/classes/SpotLight.xml msgid "" @@ -57770,11 +58358,11 @@ msgstr "Le nombre de lignes dans la feuille de sprites." #: doc/classes/Sprite.xml doc/classes/Sprite3D.xml msgid "Emitted when the [member frame] changes." -msgstr "" +msgstr "Émis quand une [member frame] changes." #: doc/classes/Sprite.xml msgid "Emitted when the [member texture] changes." -msgstr "" +msgstr "Émis quand une [member texture] change." #: doc/classes/Sprite3D.xml msgid "2D sprite node in a 3D world." @@ -57814,7 +58402,7 @@ msgstr "Retourne le rectangle représentant ce sprite." #: doc/classes/SpriteBase3D.xml msgid "If [code]true[/code], the specified flag will be enabled." -msgstr "" +msgstr "Si [code]true[/code], le drapeau spécifié sera actif." #: doc/classes/SpriteBase3D.xml msgid "The direction in which the front of the texture faces." @@ -57888,12 +58476,11 @@ msgstr "" #: doc/classes/SpriteBase3D.xml msgid "Represents the size of the [enum DrawFlags] enum." -msgstr "" +msgstr "Représente la taille de l'énumération [enum DrawFlags]." #: doc/classes/SpriteFrames.xml -#, fuzzy msgid "Sprite frame library for AnimatedSprite and AnimatedSprite3D." -msgstr "Bibliothèque de cadres Sprite pour AnimatedSprite2D." +msgstr "La bibliothèque de sprites pour AnimatedSprite et AnimatedSprite3D." #: doc/classes/SpriteFrames.xml msgid "" @@ -57907,19 +58494,19 @@ msgstr "" #: doc/classes/SpriteFrames.xml msgid "Adds a new animation to the library." -msgstr "" +msgstr "Ajoute une nouvelle animation à la bibliothèque." #: doc/classes/SpriteFrames.xml msgid "Adds a frame to the given animation." -msgstr "" +msgstr "Ajoute une trame à l'animation donnée." #: doc/classes/SpriteFrames.xml msgid "Removes all frames from the given animation." -msgstr "" +msgstr "Retire toutes les trames de l'animation donnée." #: doc/classes/SpriteFrames.xml msgid "Removes all animations. A \"default\" animation will be created." -msgstr "" +msgstr "Retire toutes les animations. Une animation \"défaut\" sera créée." #: doc/classes/SpriteFrames.xml #, fuzzy @@ -57938,7 +58525,7 @@ msgstr "" #: doc/classes/SpriteFrames.xml msgid "The animation's speed in frames per second." -msgstr "" +msgstr "Le vitesse de l'animation en trames par seconde." #: doc/classes/SpriteFrames.xml msgid "Returns the animation's selected frame." @@ -57946,11 +58533,11 @@ msgstr "Retourne l'image sélectionnée de l'animation." #: doc/classes/SpriteFrames.xml msgid "Returns the number of frames in the animation." -msgstr "" +msgstr "Retourne le nombre de trames de l'animation." #: doc/classes/SpriteFrames.xml msgid "If [code]true[/code], the named animation exists." -msgstr "" +msgstr "Si [code]true[/code], l'animation nommée existe." #: doc/classes/SpriteFrames.xml msgid "Removes the given animation." @@ -57962,19 +58549,21 @@ msgstr "Supprime l'image sélectionnée de l'animation." #: doc/classes/SpriteFrames.xml msgid "Changes the animation's name to [code]newname[/code]." -msgstr "" +msgstr "Change le nom de l'animation par [code]newname[/code]." #: doc/classes/SpriteFrames.xml msgid "If [code]true[/code], the animation will loop." -msgstr "" +msgstr "Si [code]true[/code], l'animation bouclera." #: doc/classes/SpriteFrames.xml msgid "Sets the texture of the given frame." -msgstr "" +msgstr "Définit la texture de la trame spécifiée." #: doc/classes/SpriteFrames.xml msgid "Compatibility property, always equals to an empty array." msgstr "" +"Une propriété pour maintenir la compatibilité, mais toujours égal à un " +"tableau vide." #: doc/classes/StaticBody.xml msgid "Static body for 3D physics." @@ -58056,23 +58645,23 @@ msgstr "" #: doc/classes/StreamPeer.xml msgid "Gets a signed 16-bit value from the stream." -msgstr "" +msgstr "Obtenir une valeur 16 bits signée depuis le flux." #: doc/classes/StreamPeer.xml msgid "Gets a signed 32-bit value from the stream." -msgstr "" +msgstr "Obtenir une valeur 32 bits signée depuis le flux." #: doc/classes/StreamPeer.xml msgid "Gets a signed 64-bit value from the stream." -msgstr "" +msgstr "Obtenir une valeur 64 bits signée depuis le flux." #: doc/classes/StreamPeer.xml msgid "Gets a signed byte from the stream." -msgstr "" +msgstr "Récupérer un octet signé depuis le flux." #: doc/classes/StreamPeer.xml msgid "Returns the amount of bytes this [StreamPeer] has available." -msgstr "" +msgstr "Retourne le nombre d'octets que ce [StreamPeer] a de disponible." #: doc/classes/StreamPeer.xml msgid "" @@ -58085,11 +58674,11 @@ msgstr "" #: doc/classes/StreamPeer.xml msgid "Gets a double-precision float from the stream." -msgstr "" +msgstr "Récupérer un flottant à double-précision depuis le flux." #: doc/classes/StreamPeer.xml msgid "Gets a single-precision float from the stream." -msgstr "" +msgstr "Récupérer un flottant à simple précision depuis le flux." #: doc/classes/StreamPeer.xml msgid "" @@ -58109,19 +58698,19 @@ msgstr "" #: doc/classes/StreamPeer.xml msgid "Gets an unsigned 16-bit value from the stream." -msgstr "" +msgstr "Obtenir une valeur 16 bits non signée depuis le flux." #: doc/classes/StreamPeer.xml msgid "Gets an unsigned 32-bit value from the stream." -msgstr "" +msgstr "Obtenir une valeur 32 bits non signée depuis le flux." #: doc/classes/StreamPeer.xml msgid "Gets an unsigned 64-bit value from the stream." -msgstr "" +msgstr "Obtenir une valeur 64 bits non signée depuis le flux." #: doc/classes/StreamPeer.xml msgid "Gets an unsigned byte from the stream." -msgstr "" +msgstr "Récupérer un octet non signé depuis le flux." #: doc/classes/StreamPeer.xml msgid "" @@ -58154,7 +58743,7 @@ msgstr "Ajoute une valeur de 64 bits dans le flux." #: doc/classes/StreamPeer.xml msgid "Puts a signed byte into the stream." -msgstr "" +msgstr "Ajoute un octet signé dans le flux." #: doc/classes/StreamPeer.xml msgid "" @@ -58165,11 +58754,11 @@ msgstr "" #: doc/classes/StreamPeer.xml msgid "Puts a double-precision float into the stream." -msgstr "" +msgstr "Ajouter un flottant double précision dans le flux." #: doc/classes/StreamPeer.xml msgid "Puts a single-precision float into the stream." -msgstr "" +msgstr "Ajouter un flottant single précision dans le flux." #: doc/classes/StreamPeer.xml msgid "" @@ -58204,7 +58793,7 @@ msgstr "Ajoute une valeur de 64 bits non signée dans le flux." #: doc/classes/StreamPeer.xml msgid "Puts an unsigned byte into the stream." -msgstr "" +msgstr "Ajouter un octet non signé dans le flux." #: doc/classes/StreamPeer.xml msgid "" @@ -58246,7 +58835,7 @@ msgstr "" #: doc/classes/StreamPeerBuffer.xml msgid "Clears the [member data_array] and resets the cursor." -msgstr "" +msgstr "Efface le [member data_array] et rétablit le curseur." #: doc/classes/StreamPeerBuffer.xml msgid "" @@ -58254,14 +58843,12 @@ msgid "" msgstr "" #: doc/classes/StreamPeerBuffer.xml -#, fuzzy msgid "Returns the current cursor position." -msgstr "Retourne la position de défilement actuelle." +msgstr "Retourne la position actuelle du curseur." #: doc/classes/StreamPeerBuffer.xml -#, fuzzy msgid "Returns the size of [member data_array]." -msgstr "Renvoie le sinus du paramètre." +msgstr "Retourne la taille de [member data_array]." #: doc/classes/StreamPeerBuffer.xml msgid "Resizes the [member data_array]. This [i]doesn't[/i] update the cursor." @@ -58317,11 +58904,11 @@ msgstr "" #: doc/classes/StreamPeerSSL.xml msgid "A status representing a [StreamPeerSSL] that is disconnected." -msgstr "" +msgstr "Le status représentant un [StreamPeerSSL] qui est déconnecté." #: doc/classes/StreamPeerSSL.xml msgid "A status representing a [StreamPeerSSL] during handshaking." -msgstr "" +msgstr "Le status représentant un [StreamPeerSSL] durant la poignée de main." #: doc/classes/StreamPeerSSL.xml msgid "A status representing a [StreamPeerSSL] that is connected to a host." @@ -58329,7 +58916,7 @@ msgstr "" #: doc/classes/StreamPeerSSL.xml msgid "A status representing a [StreamPeerSSL] in error state." -msgstr "" +msgstr "Un status représentant un état d'erreur du [StreamPeerSSL]." #: doc/classes/StreamPeerSSL.xml msgid "" @@ -58356,15 +58943,15 @@ msgstr "" #: doc/classes/StreamPeerTCP.xml msgid "Returns the IP of this peer." -msgstr "" +msgstr "Retourne l'adresse IP de ce pair." #: doc/classes/StreamPeerTCP.xml msgid "Returns the port of this peer." -msgstr "" +msgstr "Retourne le port de ce pair." #: doc/classes/StreamPeerTCP.xml msgid "Returns the status of the connection, see [enum Status]." -msgstr "" +msgstr "Retourne le status de la connexion, voir [enum Status]." #: doc/classes/StreamPeerTCP.xml #, fuzzy @@ -58391,18 +58978,20 @@ msgid "" "The initial status of the [StreamPeerTCP]. This is also the status after " "disconnecting." msgstr "" +"Le status initial du [StreamPeerTCP]. C'est aussi le status après la " +"déconnexion." #: doc/classes/StreamPeerTCP.xml msgid "A status representing a [StreamPeerTCP] that is connecting to a host." -msgstr "" +msgstr "Un status représentant un [StreamPeerTCP] qui se connecte un à hôte." #: doc/classes/StreamPeerTCP.xml msgid "A status representing a [StreamPeerTCP] that is connected to a host." -msgstr "" +msgstr "Un status représentant un [StreamPeerTCP] qui est connecté un à hôte." #: doc/classes/StreamPeerTCP.xml msgid "A status representing a [StreamPeerTCP] in error state." -msgstr "" +msgstr "Un status représentant un état d'erreur du [StreamPeerTCP]." #: doc/classes/StreamTexture.xml msgid "A [code].stex[/code] texture." @@ -58410,19 +58999,19 @@ msgstr "Une texture [code].stex [/code]." #: doc/classes/StreamTexture.xml msgid "A texture that is loaded from a [code].stex[/code] file." -msgstr "" +msgstr "Une texture qui est chargée depuis un fichier [code].stex[/code]." #: doc/classes/StreamTexture.xml msgid "Loads the texture from the given path." -msgstr "" +msgstr "Charge la texture à l'emplacement spécifié." #: doc/classes/StreamTexture.xml msgid "The StreamTexture's file path to a [code].stex[/code] file." -msgstr "" +msgstr "Le chemin du fichier StreamTexture en [code].stex[/code]." #: doc/classes/String.xml msgid "Built-in string class." -msgstr "Classe de chaîne de caractères intégrée." +msgstr "Classe intégrée de chaîne de caractères." #: doc/classes/String.xml msgid "" @@ -58517,48 +59106,44 @@ msgid "Constructs a new String from the given [Array]." msgstr "Construit une nouvelle chaîne de caractères à partir du [Array] donné." #: doc/classes/String.xml -#, fuzzy msgid "Constructs a new String from the given [PoolByteArray]." msgstr "" -"Construit une nouvelle chaîne de caractères à partir du [PackedByteArray] " +"Construit une nouvelle chaîne de caractères à partir du [PoolByteArray] " "donné." #: doc/classes/String.xml -#, fuzzy msgid "Constructs a new String from the given [PoolIntArray]." -msgstr "Construit une nouvelle chaîne de caractères à partir du [Array] donné." +msgstr "" +"Construit une nouvelle chaîne de caractères à partir du [PoolIntArray] donné." #: doc/classes/String.xml -#, fuzzy msgid "Constructs a new String from the given [PoolRealArray]." -msgstr "Construit une nouvelle chaîne de caractères à partir du [Array] donné." +msgstr "" +"Construit une nouvelle chaîne de caractères à partir du [PoolRealArray] " +"donné." #: doc/classes/String.xml -#, fuzzy msgid "Constructs a new String from the given [PoolStringArray]." msgstr "" -"Construit une nouvelle chaîne de caractères à partir du [PackedStringArray] " +"Construit une nouvelle chaîne de caractères à partir du [PoolStringArray] " "donné." #: doc/classes/String.xml -#, fuzzy msgid "Constructs a new String from the given [PoolVector2Array]." msgstr "" -"Construit une nouvelle chaîne de caractères à partir du [PackedVector2Array] " +"Construit une nouvelle chaîne de caractères à partir du [PoolVector2Array] " "donné." #: doc/classes/String.xml -#, fuzzy msgid "Constructs a new String from the given [PoolVector3Array]." msgstr "" -"Construit une nouvelle chaîne de caractères à partir du [PackedVector3Array] " +"Construit une nouvelle chaîne de caractères à partir du [PoolVector3Array] " "donné." #: doc/classes/String.xml -#, fuzzy msgid "Constructs a new String from the given [PoolColorArray]." msgstr "" -"Construit une nouvelle chaîne de caractères à partir du [PackedColorArray] " +"Construit une nouvelle chaîne de caractères à partir du [PoolColorArray] " "donné." #: doc/classes/String.xml @@ -58575,15 +59160,19 @@ msgid "" "print(\"Bigrams\".bigrams()) # Prints \"[Bi, ig, gr, ra, am, ms]\"\n" "[/codeblock]" msgstr "" +"Retourne un tableau contenant les « bigrams » (paires de lettres " +"consécutives) de cette chaîne de caractères.\n" +"[codeblock]\n" +"print(\"Bigrams\".bigrams()) # Affiche \"[Bi, ig, gr, ra, am, ms]\"\n" +"[/codeblock]" #: doc/classes/String.xml -#, fuzzy msgid "" "Returns a copy of the string with special characters escaped using the C " "language standard." msgstr "" -"Renvoie une copie de la chaîne de caractères avec des caractères spéciaux " -"échappés en utilisant le standard du langage C." +"Renvoie une copie de la chaîne de caractères avec les caractères spéciaux " +"échappés suivant le standard du langage C." #: doc/classes/String.xml msgid "" @@ -58727,6 +59316,8 @@ msgstr "" #: doc/classes/String.xml msgid "If the string is a valid file path, returns the base directory name." msgstr "" +"Si le chaine de caractères est un chemin valide, retourne le nom du dossier " +"à la base." #: doc/classes/String.xml msgid "" @@ -58843,6 +59434,8 @@ msgid "" "Returns a copy of the string with the substring [code]what[/code] inserted " "at the given position." msgstr "" +"Retourne une copie de la chaîne de caractères avec la sous-chaîne " +"[code]what[/code] inséré à la position spécifiée." #: doc/classes/String.xml msgid "" @@ -58867,6 +59460,8 @@ msgid "" "Returns [code]true[/code] if this string is a subsequence of the given " "string, without considering case." msgstr "" +"Retourne [code]true[/code] si une chaîne de caractères est une sous-séquence " +"de la chaîne donnée, en ignorant les différences de casse." #: doc/classes/String.xml msgid "" @@ -58883,7 +59478,6 @@ msgid "" "print(\"1.7\".is_valid_float()) # Prints \"True\"\n" "print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"7e3\".is_valid_float()) # Prints \"True\"\n" -"print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -58958,7 +59552,7 @@ msgstr "" #: doc/classes/String.xml msgid "Returns the string's amount of characters." -msgstr "" +msgstr "Retourne le nombre de caractères de cette chaine de caractères." #: doc/classes/String.xml msgid "" @@ -59041,23 +59635,29 @@ msgstr "" #: doc/classes/String.xml msgid "Returns the character code at position [code]at[/code]." -msgstr "" +msgstr "Retourne le code du caractère à la position [code]at[/code]." #: doc/classes/String.xml msgid "" "Formats a number to have an exact number of [code]digits[/code] after the " "decimal point." msgstr "" +"Formate un nombre pour avoir exactement le nombre [code]digits[/code] de " +"chiffres après la virgule." #: doc/classes/String.xml msgid "" "Formats a number to have an exact number of [code]digits[/code] before the " "decimal point." msgstr "" +"Formate un nombre pour avoir exactement le nombre [code]digits[/code] de " +"chiffres avant la virgule." #: doc/classes/String.xml msgid "Decode a percent-encoded string. See [method percent_encode]." msgstr "" +"Décode une chaine de caractères codée avec des pourcent. Voir [method " +"percent_encode]." #: doc/classes/String.xml msgid "" @@ -59077,34 +59677,48 @@ msgid "" "Returns original string repeated a number of times. The number of " "repetitions is given by the argument." msgstr "" +"Retourne la chaine d'origine répétée un certain nombre de fois. Ce nombre de " +"répétitions est donné en argument." #: doc/classes/String.xml +#, fuzzy msgid "" "Replaces occurrences of a case-sensitive substring with the given one inside " "the string." msgstr "" +"Remplacer les occurrences d'une sous-chaine sensible à la casse avec l'autre " +"donnée." #: doc/classes/String.xml +#, fuzzy msgid "" "Replaces occurrences of a case-insensitive substring with the given one " "inside the string." msgstr "" +"Remplacer les occurrences d'une sous-chaine insensible à la casse avec " +"l'autre donnée." #: doc/classes/String.xml msgid "" "Performs a case-sensitive search for a substring, but starts from the end of " "the string instead of the beginning." msgstr "" +"Lance la recherche d'une sous-chaine sensible à la casse, en commençant " +"depuis la fin de la chaine plutôt que le début." #: doc/classes/String.xml msgid "" "Performs a case-insensitive search for a substring, but starts from the end " "of the string instead of the beginning." msgstr "" +"Lance la recherche d'une sous-chaine insensible à la casse, en commençant " +"depuis la fin de la chaine plutôt que le début." #: doc/classes/String.xml msgid "Returns the right side of the string from a given position." msgstr "" +"Retourne toute la partie droite de la chaine de caractère après la position " +"donnée." #: doc/classes/String.xml msgid "" @@ -59120,8 +59734,8 @@ msgid "" "var some_string = \"One,Two,Three,Four\"\n" "var some_array = some_string.rsplit(\",\", true, 1)\n" "print(some_array.size()) # Prints 2\n" -"print(some_array[0]) # Prints \"Four\"\n" -"print(some_array[1]) # Prints \"Three,Two,One\"\n" +"print(some_array[0]) # Prints \"One,Two,Three\"\n" +"print(some_array[1]) # Prints \"Four\"\n" "[/codeblock]" msgstr "" @@ -59138,25 +59752,33 @@ msgstr "" #: doc/classes/String.xml msgid "Returns the SHA-1 hash of the string as an array of bytes." msgstr "" +"Retourne le hachage SHA-1 de la chaine de caractères sous forme de tableau " +"d'octets." #: doc/classes/String.xml msgid "Returns the SHA-1 hash of the string as a string." msgstr "" +"Retourne le hachage SHA-1 de la chaine de caractères sous forme de chaine de " +"caractères." #: doc/classes/String.xml msgid "Returns the SHA-256 hash of the string as an array of bytes." msgstr "" +"Retourne le hachage SHA-256 de la chaine de caractères sous forme de tableau " +"d'octets." #: doc/classes/String.xml msgid "Returns the SHA-256 hash of the string as a string." msgstr "" +"Retourne le hachage SHA-256 de la chaine de caractères sous forme de chaine " +"de caractères." #: doc/classes/String.xml msgid "" "Returns the similarity index ([url=https://en.wikipedia.org/wiki/" -"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) this " -"string compared to another. 1.0 means totally similar and 0.0 means totally " -"dissimilar.\n" +"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) of " +"this string compared to another. A result of 1.0 means totally similar, " +"while 0.0 means totally dissimilar.\n" "[codeblock]\n" "print(\"ABC123\".similarity(\"ABC123\")) # Prints \"1\"\n" "print(\"ABC123\".similarity(\"XYZ456\")) # Prints \"0\"\n" @@ -59352,7 +59974,7 @@ msgstr "" #: doc/classes/StyleBox.xml msgid "Returns the size of this [StyleBox] without the margins." -msgstr "" +msgstr "Retourne la taille de cette [StyleBox] sans les marges." #: doc/classes/StyleBox.xml msgid "" @@ -59362,7 +59984,7 @@ msgstr "" #: doc/classes/StyleBox.xml msgid "Returns the default value of the specified [enum Margin]." -msgstr "" +msgstr "Retourne la valeur de défaut de la [enum Margin] spécifiée." #: doc/classes/StyleBox.xml msgid "" @@ -59436,11 +60058,11 @@ msgstr "" #: doc/classes/StyleBoxEmpty.xml msgid "Empty stylebox (does not display anything)." -msgstr "" +msgstr "Stylebox vide (n'affiche rien)." #: doc/classes/StyleBoxEmpty.xml msgid "Empty stylebox (really does not display anything)." -msgstr "" +msgstr "Stylebox vide (n'affiche vraiment rien)." #: doc/classes/StyleBoxFlat.xml msgid "" @@ -59560,7 +60182,7 @@ msgstr "" #: doc/classes/StyleBoxFlat.xml msgid "The background color of the stylebox." -msgstr "" +msgstr "La couleur d'arrière-plan de la stylebox." #: doc/classes/StyleBoxFlat.xml msgid "If [code]true[/code], the border will fade into the background color." @@ -59568,23 +60190,23 @@ msgstr "" #: doc/classes/StyleBoxFlat.xml msgid "Sets the color of the border." -msgstr "" +msgstr "Définit la couleur de la bordure." #: doc/classes/StyleBoxFlat.xml msgid "Border width for the bottom border." -msgstr "" +msgstr "L'épaisseur de la bordure du bas." #: doc/classes/StyleBoxFlat.xml msgid "Border width for the left border." -msgstr "" +msgstr "L'épaisseur de la bordure de gauche." #: doc/classes/StyleBoxFlat.xml msgid "Border width for the right border." -msgstr "" +msgstr "L'épaisseur de la bordure de droite." #: doc/classes/StyleBoxFlat.xml msgid "Border width for the top border." -msgstr "" +msgstr "L'épaisseur de la bordure du haut." #: doc/classes/StyleBoxFlat.xml msgid "" @@ -59671,7 +60293,7 @@ msgstr "La taille de l'ombre en pixels." #: doc/classes/StyleBoxLine.xml msgid "[StyleBox] that displays a single line." -msgstr "" +msgstr "Une [StyleBox] qui n'affiche qu'une seule ligne." #: doc/classes/StyleBoxLine.xml msgid "" @@ -59836,7 +60458,7 @@ msgstr "" #: doc/classes/StyleBoxTexture.xml msgid "Emitted when the stylebox's texture is changed." -msgstr "" +msgstr "Émis quand la texture du stylebox a changé." #: doc/classes/StyleBoxTexture.xml msgid "" @@ -60008,7 +60630,7 @@ msgstr "" #: doc/classes/SurfaceTool.xml msgid "Creates a vertex array from an existing [Mesh]." -msgstr "" +msgstr "Crée un tableau de sommets depuis un [Mesh] existant." #: doc/classes/SurfaceTool.xml msgid "" @@ -60046,7 +60668,7 @@ msgstr "" #: doc/classes/SurfaceTool.xml msgid "Sets [Material] to be used by the [Mesh] you are constructing." -msgstr "" +msgstr "Définit le [Material] à utiliser pour le [Mesh] qui vous construisez." #: doc/classes/TabContainer.xml msgid "Tabbed container." @@ -60065,7 +60687,7 @@ msgstr "" #: doc/classes/TabContainer.xml msgid "Returns the child [Control] node located at the active tab index." -msgstr "" +msgstr "Retourne le nœud [Control] enfant dans l'onglet actif." #: doc/classes/TabContainer.xml msgid "" @@ -60078,7 +60700,7 @@ msgstr "" #: doc/classes/TabContainer.xml doc/classes/Tabs.xml msgid "Returns the previously active tab index." -msgstr "" +msgstr "Retourne l'index de l'onglet précédemment actif." #: doc/classes/TabContainer.xml msgid "Returns the [Control] node from the tab at index [code]tab_idx[/code]." @@ -60347,7 +60969,7 @@ msgstr "" #: doc/classes/Tabs.xml msgid "Returns tab [Rect2] with local position and size." -msgstr "" +msgstr "Retourne l'onglet [Rect2] avec la position et la taille locales." #: doc/classes/Tabs.xml #, fuzzy @@ -60364,12 +60986,14 @@ msgstr "Déplace un onglet de [code]from[/code] à [code]to[/code]." #: doc/classes/Tabs.xml msgid "Removes the tab at index [code]tab_idx[/code]." -msgstr "" +msgstr "Retire l'onglet à la position [code]tab_idx[/code]." #: doc/classes/Tabs.xml msgid "" "If [code]true[/code], enables selecting a tab with the right mouse button." msgstr "" +"Si [code]true[/code], active la possibilité de sélectionner les onglets avec " +"le clic droit." #: doc/classes/Tabs.xml msgid "Sets an [code]icon[/code] for the tab at index [code]tab_idx[/code]." @@ -60416,7 +61040,7 @@ msgstr "" #: doc/classes/Tabs.xml msgid "Emitted when a tab is right-clicked." -msgstr "" +msgstr "Émis quand un onglet a été cliqué-droit." #: doc/classes/Tabs.xml msgid "Emitted when a tab is clicked, even if it is the current tab." @@ -60424,7 +61048,7 @@ msgstr "" #: doc/classes/Tabs.xml msgid "Emitted when a tab is closed." -msgstr "" +msgstr "Émis quant un onglet est fermé." #: doc/classes/Tabs.xml msgid "Emitted when a tab is hovered by the mouse." @@ -60545,7 +61169,7 @@ msgstr "" #: doc/classes/TextEdit.xml msgid "Adds a [code]keyword[/code] and its [Color]." -msgstr "" +msgstr "Ajoute un mot clé [code]keyword[/code] avec sa [Color]." #: doc/classes/TextEdit.xml msgid "" @@ -60618,9 +61242,8 @@ msgid "Returns an array containing the line number of each breakpoint." msgstr "Retourne la liste du numéro de ligne de chaque point d'arrêt." #: doc/classes/TextEdit.xml -#, fuzzy msgid "Returns the [Color] of the specified [code]keyword[/code]." -msgstr "Retourne la position du point à l'index [code]point[/code]." +msgstr "Retourne la [Color] du mot-clé [code]keyword[/code] donné." #: doc/classes/TextEdit.xml msgid "Returns the text of a specific line." @@ -60690,10 +61313,6 @@ msgid "" msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection begin column." -msgstr "Retourne la colonne de début de sélection." - -#: doc/classes/TextEdit.xml msgid "Returns the selection begin line." msgstr "Retourne la ligne de début de sélection." @@ -60702,10 +61321,6 @@ msgid "Returns the text inside the selection." msgstr "Retourne le texte de la sélection." #: doc/classes/TextEdit.xml -msgid "Returns the selection end column." -msgstr "Retourne la colonne de fin de sélection." - -#: doc/classes/TextEdit.xml msgid "Returns the selection end line." msgstr "Retourne la ligne de fin de sélection." @@ -60757,11 +61372,11 @@ msgid "Returns whether the line at the specified index is hidden or not." msgstr "" #: doc/classes/TextEdit.xml -#, fuzzy msgid "" "Returns [code]true[/code] when the specified [code]line[/code] is bookmarked." msgstr "" -"Retourne [code]true[/code] si la piste à l'index [code]idx[/code] est active." +"Retourne [code]true[/code] si la piste à l'index [code]idx[/code] est en " +"marque-page." #: doc/classes/TextEdit.xml #, fuzzy @@ -60849,7 +61464,7 @@ msgstr "" #: doc/classes/TextEdit.xml msgid "Sets the text for a specific line." -msgstr "" +msgstr "Définit le texte pour la ligne spécifiée." #: doc/classes/TextEdit.xml msgid "" @@ -60857,6 +61472,10 @@ msgid "" "the bookmark if [code]bookmark[/code] is false.\n" "Bookmarks are shown in the [member breakpoint_gutter]." msgstr "" +"Ajoute un marque-page pour la ligne [code]line[/code] si [code]bookmark[/" +"code] est [code]true[/code]. Supprime le marque-page si [code]bookmark[/" +"code] est [code]false[/code].\n" +"Les marque-pages sont affichés dans [member breakpoint_gutter]." #: doc/classes/TextEdit.xml msgid "" @@ -60885,7 +61504,7 @@ msgstr "Effectuer une opération d'annulation." #: doc/classes/TextEdit.xml msgid "Unfolds the given line, if folded." -msgstr "" +msgstr "Développe la ligne spécifiée, si réduite." #: doc/classes/TextEdit.xml msgid "" @@ -60894,13 +61513,12 @@ msgid "" msgstr "" #: doc/classes/TextEdit.xml -#, fuzzy msgid "If [code]true[/code], the bookmark gutter is visible." -msgstr "Si [code]true[/code], les titres des colonnes sont visibles." +msgstr "Si [code]true[/code], le bandeau des marque-pages est visible." #: doc/classes/TextEdit.xml msgid "If [code]true[/code], the breakpoint gutter is visible." -msgstr "" +msgstr "Si [code]true[/code], le bandeau des points d'arrêt est visible." #: doc/classes/TextEdit.xml msgid "" @@ -60952,6 +61570,7 @@ msgstr "" #: doc/classes/TextEdit.xml msgid "If [code]true[/code], the line containing the cursor is highlighted." msgstr "" +"Si [code]true[/code], la ligne contenant le curseur de texte est surlignée." #: doc/classes/TextEdit.xml msgid "" @@ -60961,7 +61580,7 @@ msgstr "" #: doc/classes/TextEdit.xml msgid "The width, in pixels, of the minimap." -msgstr "" +msgstr "La largeur, en pixels, de la mini-carte." #: doc/classes/TextEdit.xml msgid "" @@ -61095,6 +61714,8 @@ msgid "" "Sets the [Color] of the bookmark marker. [member syntax_highlighting] has to " "be enabled." msgstr "" +"Définit la [Color] du marque-page. Pour cela, [member syntax_highlighting] " +"doit être actif." #: doc/classes/TextEdit.xml msgid "" @@ -61120,7 +61741,7 @@ msgstr "" #: doc/classes/TextEdit.xml msgid "Sets the [Color] of marked text." -msgstr "" +msgstr "Définit la [Color] du texte marqué." #: doc/classes/TextEdit.xml msgid "Sets the highlight [Color] of text selections." @@ -61152,6 +61773,7 @@ msgstr "Définit la [StyleBox] pour ce [TextEdit]." msgid "" "Sets the [StyleBox] of this [TextEdit] when [member readonly] is enabled." msgstr "" +"Définit le [StyleBox] de ce [TextEdit] quand [member readonly] est activé." #: doc/classes/Texture.xml msgid "Texture for 2D and 3D." @@ -61193,6 +61815,8 @@ msgid "" "Returns an [Image] that is a copy of data from this [Texture]. [Image]s can " "be accessed and manipulated directly." msgstr "" +"Retourne une [Image] qui est une copie des données de cette [Texture]. Les " +"[Image] peuvent être accédées et manipulées directement." #: doc/classes/Texture.xml msgid "Returns the texture height." @@ -61228,6 +61852,8 @@ msgid "" "Generates mipmaps, which are smaller versions of the same texture to use " "when zoomed out, keeping the aspect ratio." msgstr "" +"Génère les mipmaps, qui sont des versions plus petites de la même texture " +"utilisées lors de zoom arrière, gardant le même aspect." #: doc/classes/Texture.xml msgid "" @@ -61385,9 +62011,9 @@ msgstr "" "disabled]." #: doc/classes/TextureButton.xml -#, fuzzy msgid "Texture to display when the node has mouse or keyboard focus." -msgstr "Texture à afficher lorsque le nœud cible la souris ou le clavier." +msgstr "" +"Texture à afficher lorsque le nœud a le focus de la souris ou du clavier." #: doc/classes/TextureButton.xml msgid "Texture to display when the mouse hovers the node." @@ -61450,7 +62076,7 @@ msgstr "" #: doc/classes/TextureLayered.xml msgid "Base class for 3D texture types." -msgstr "" +msgstr "La classe de base pour toutes les textures 3D." #: doc/classes/TextureLayered.xml msgid "" @@ -61511,7 +62137,7 @@ msgstr "" #: doc/classes/TextureLayered.xml msgid "Specifies which [enum Flags] apply to this texture." -msgstr "" +msgstr "Définir quels [enum Flags] s'appliquent à cette texture." #: doc/classes/TextureLayered.xml msgid "" @@ -61522,6 +62148,7 @@ msgstr "" #: doc/classes/TextureLayered.xml msgid "Default flags for [Texture3D]. [constant FLAG_FILTER] is enabled." msgstr "" +"Les options par défaut des [Texture3D]. [constant FLAG_FILTER] est activé." #: doc/classes/TextureLayered.xml msgid "Texture will generate mipmaps on creation." @@ -61597,15 +62224,15 @@ msgstr "" #: doc/classes/TextureProgress.xml msgid "The width of the 9-patch's left column." -msgstr "" +msgstr "La largeur de la colonne gauche du 9-patch." #: doc/classes/TextureProgress.xml msgid "The width of the 9-patch's right column." -msgstr "" +msgstr "La largeur de la colonne droite du 9-patch." #: doc/classes/TextureProgress.xml msgid "The height of the 9-patch's top row." -msgstr "" +msgstr "La hauteur de la colonne du haut du 9-patch." #: doc/classes/TextureProgress.xml msgid "" @@ -61765,6 +62392,14 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Adds an empty theme type for every valid data type.\n" +"[b]Note:[/b] Empty types are not saved with the theme. This method only " +"exists to perform in-memory changes to the resource. Use available " +"[code]set_*[/code] methods to add theme items." +msgstr "" + +#: doc/classes/Theme.xml msgid "Clears all values on the theme." msgstr "Efface toutes les valeurs de ce thème." @@ -62060,6 +62695,13 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Removes the theme type, gracefully discarding defined theme items. If the " +"type is a variation, this information is also erased. If the type is a base " +"for type variations, those variations lose their base." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Renames the [Color] at [code]old_name[/code] to [code]name[/code] if the " "theme has [code]node_type[/code]. If [code]name[/code] is already taken, " "this method fails." @@ -62188,9 +62830,8 @@ msgid "Theme's [StyleBox] item type." msgstr "Le type [StyleBox] du thème." #: doc/classes/Theme.xml -#, fuzzy msgid "Maximum value for the DataType enum." -msgstr "Valeur maximale pour le mode énumeration." +msgstr "La valeur maximale pour l’énumération DateType." #: doc/classes/Thread.xml msgid "A unit of execution in a process." @@ -62290,7 +62931,7 @@ msgstr "" #: doc/classes/TileMap.xml doc/classes/TileSet.xml msgid "Using Tilemaps" -msgstr "" +msgstr "Utiliser les tilemaps" #: doc/classes/TileMap.xml doc/classes/TileSet.xml msgid "2D Hexagonal Demo" @@ -62583,7 +63224,7 @@ msgstr "Le [TileSet] assigné." #: doc/classes/TileMap.xml msgid "Emitted when a tilemap setting has changed." -msgstr "" +msgstr "Émis quand les préférences du catalogue de tuiles a changé." #: doc/classes/TileMap.xml msgid "Returned when a cell doesn't exist." @@ -62603,23 +63244,23 @@ msgstr "Mode d’orientation personnalisé." #: doc/classes/TileMap.xml msgid "Half offset on the X coordinate." -msgstr "Demi-décalage sur la coordonnée X." +msgstr "Le demi-décalage selon l'axe X." #: doc/classes/TileMap.xml msgid "Half offset on the Y coordinate." -msgstr "Demi-décalage sur la coordonnée Y." +msgstr "Le demi-décalage selon l'axe Y." #: doc/classes/TileMap.xml msgid "Half offset disabled." -msgstr "Demi-décalage désactivé." +msgstr "Le demi-décalage est désactivé." #: doc/classes/TileMap.xml msgid "Half offset on the X coordinate (negative)." -msgstr "" +msgstr "Le demi-décalage selon l'axe X (négatif)." #: doc/classes/TileMap.xml msgid "Half offset on the Y coordinate (negative)." -msgstr "" +msgstr "Le demi-décalage selon l'axe Y (négatif)." #: doc/classes/TileMap.xml msgid "Tile origin at its top-left corner." @@ -62781,11 +63422,11 @@ msgstr "Efface toutes les tuiles." #: doc/classes/TileSet.xml msgid "Creates a new tile with the given ID." -msgstr "" +msgstr "Crée une nouvelle tuile avec l'identifiant donné." #: doc/classes/TileSet.xml msgid "Returns the first tile matching the given name." -msgstr "" +msgstr "Retourne la première tuile qui correspond au nom donné." #: doc/classes/TileSet.xml msgid "" @@ -62796,6 +63437,8 @@ msgstr "" #: doc/classes/TileSet.xml msgid "Returns an array of all currently used tile IDs." msgstr "" +"Retourne la liste des identifiants de toutes les tuiles actuellement " +"utilisées." #: doc/classes/TileSet.xml msgid "Removes the given tile ID." @@ -62823,11 +63466,11 @@ msgstr "Retourne le nom de la tuile." #: doc/classes/TileSet.xml msgid "Returns the navigation polygon of the tile." -msgstr "" +msgstr "Retourne le polygone de navigation de la tuile." #: doc/classes/TileSet.xml msgid "Returns the offset of the tile's navigation polygon." -msgstr "" +msgstr "Retourne le décalage du polygone de navigation de la tuile." #: doc/classes/TileSet.xml msgid "Returns the tile's normal map texture." @@ -62847,7 +63490,7 @@ msgstr "" #: doc/classes/TileSet.xml msgid "Returns the number of shapes assigned to a tile." -msgstr "" +msgstr "Retourne le nombre de formes assignées à une tuile." #: doc/classes/TileSet.xml msgid "Returns the offset of a tile's shape." @@ -62882,11 +63525,11 @@ msgstr "Retourne la texture de la tuile." #: doc/classes/TileSet.xml msgid "Returns the texture offset of the tile." -msgstr "" +msgstr "Retourne le décalage de la texture de la tuile." #: doc/classes/TileSet.xml msgid "Returns the tile's [enum TileMode]." -msgstr "" +msgstr "Retourne le [enum TileMode] de la tuile." #: doc/classes/TileSet.xml msgid "Returns the tile's Z index (drawing layer)." @@ -62953,7 +63596,7 @@ msgstr "" #: doc/classes/TileSet.xml msgid "Sets a [Transform2D] on a tile's shape." -msgstr "" +msgstr "Définit la [Transform2D] de la forme de la tuile." #: doc/classes/TileSet.xml msgid "Sets an array of shapes for the tile, enabling collision." @@ -62969,7 +63612,7 @@ msgstr "Définit le décalage de texture de la tuile." #: doc/classes/TileSet.xml msgid "Sets the tile's [enum TileMode]." -msgstr "" +msgstr "Définit le [enum TileMode] de la tuile." #: doc/classes/TileSet.xml msgid "Sets the tile's drawing index." @@ -62977,7 +63620,7 @@ msgstr "" #: doc/classes/Time.xml msgid "Time singleton for working with time." -msgstr "" +msgstr "Une instance unique pour travailler avec les heures." #: doc/classes/Time.xml msgid "" @@ -63029,7 +63672,7 @@ msgstr "" #: doc/classes/Time.xml msgid "" "Converts the given Unix timestamp to an ISO 8601 date string (YYYY-MM-DD)." -msgstr "" +msgstr "Convertit l'horodatage Unix au format de date ISO 8601 (AAAA-MM-JJ)." #: doc/classes/Time.xml msgid "" @@ -63047,6 +63690,9 @@ msgid "" "[code]month[/code], [code]day[/code], [code]weekday[/code], [code]hour[/" "code], [code]minute[/code], and [code]second[/code]." msgstr "" +"Retourne la date actuelle sous forme de dictionnaire avec les clés : " +"[code]year[/code], [code]month[/code], [code]day[/code], [code]weekday[/" +"code], [code]hour[/code], [code]minute[/code] et [code]second[/code]." #: doc/classes/Time.xml msgid "" @@ -63139,7 +63785,7 @@ msgstr "" #: doc/classes/Time.xml msgid "" "Converts the given Unix timestamp to an ISO 8601 time string (HH:MM:SS)." -msgstr "" +msgstr "Convertit l'horodatage Unix au format d'heure ISO 8601 (HH:MM:SS)." #: doc/classes/Time.xml msgid "" @@ -63284,7 +63930,7 @@ msgstr "" #: doc/classes/Timer.xml msgid "Returns [code]true[/code] if the timer is stopped." -msgstr "" +msgstr "Retourne [code]true[/code] si le minuteur est arrêté." #: doc/classes/Timer.xml msgid "" @@ -63375,9 +64021,8 @@ msgid "Default text [Color] of the [ToolButton]." msgstr "Le [StyleBox] par défaut pour le [ToolButton]." #: doc/classes/ToolButton.xml -#, fuzzy msgid "Text [Color] used when the [ToolButton] is disabled." -msgstr "Icône à afficher lorsque le [CheckButton] est coché et désactivé." +msgstr "La [Color] du texte utilisée quand le [ToolButton] est désactivé." #: doc/classes/ToolButton.xml msgid "" @@ -63391,11 +64036,11 @@ msgstr "" #: doc/classes/ToolButton.xml msgid "Text [Color] used when the [ToolButton] is being hovered." -msgstr "La [Color] du texte utilisé quand un [ToolButton] est survolé." +msgstr "La [Color] du texte utilisée quand le [ToolButton] est survolé." #: doc/classes/ToolButton.xml msgid "Text [Color] used when the [ToolButton] is being pressed." -msgstr "La [Color] du texte utilisé quand un [ToolButton] est appuyé." +msgstr "La [Color] du texte utilisée quand le [ToolButton] est appuyé." #: doc/classes/ToolButton.xml msgid "The horizontal space between [ToolButton]'s icon and text." @@ -63406,11 +64051,8 @@ msgid "[Font] of the [ToolButton]'s text." msgstr "La [Font] du texte du [ToolButton]." #: doc/classes/ToolButton.xml -#, fuzzy msgid "[StyleBox] used when the [ToolButton] is disabled." -msgstr "" -"Le [StyleBox] qui s'affiche en arrière-plan lorsque l'on appuie sur le " -"[CheckButton]." +msgstr "La [StyleBox] utilisée quand le [ToolButton] est désactivé." #: doc/classes/ToolButton.xml msgid "" @@ -63421,15 +64063,15 @@ msgstr "" #: doc/classes/ToolButton.xml msgid "[StyleBox] used when the [ToolButton] is being hovered." -msgstr "Le [StyleBox] utilisé quand le [CheckButton] est survolé." +msgstr "La [StyleBox] utilisée quand le [CheckButton] est survolé." #: doc/classes/ToolButton.xml msgid "Default [StyleBox] for the [ToolButton]." -msgstr "Le [StyleBox] par défaut pour le [ToolButton]." +msgstr "La [StyleBox] par défaut pour le [ToolButton]." #: doc/classes/ToolButton.xml msgid "[StyleBox] used when the [ToolButton] is being pressed." -msgstr "Le [StyleBox] utilisé quand le [CheckButton] est appuyé." +msgstr "La [StyleBox] utilisée quand le [CheckButton] est appuyé." #: doc/classes/TouchScreenButton.xml msgid "Button for touch screen devices for gameplay use." @@ -63467,7 +64109,7 @@ msgstr "Le masque binaire du bouton." #: doc/classes/TouchScreenButton.xml msgid "The button's texture for the normal state." -msgstr "" +msgstr "La texture du bouton pour l'état normal." #: doc/classes/TouchScreenButton.xml msgid "" @@ -63479,7 +64121,7 @@ msgstr "" #: doc/classes/TouchScreenButton.xml msgid "The button's texture for the pressed state." -msgstr "" +msgstr "La texture du bouton pour l'état appuyé." #: doc/classes/TouchScreenButton.xml msgid "The button's shape." @@ -63493,7 +64135,7 @@ msgstr "" #: doc/classes/TouchScreenButton.xml msgid "If [code]true[/code], the button's shape is visible." -msgstr "" +msgstr "Si [code]true[/code], la forme du bouton est visible." #: doc/classes/TouchScreenButton.xml msgid "" @@ -63504,11 +64146,11 @@ msgstr "" #: doc/classes/TouchScreenButton.xml msgid "Emitted when the button is pressed (down)." -msgstr "" +msgstr "Émis quand le bouton est pressé." #: doc/classes/TouchScreenButton.xml msgid "Emitted when the button is released (up)." -msgstr "" +msgstr "Émis quand le bouton est relâché." #: doc/classes/TouchScreenButton.xml msgid "Always visible." @@ -63539,16 +64181,14 @@ msgid "" msgstr "" #: doc/classes/Transform.xml -#, fuzzy msgid "Constructs a Transform from a [Basis] and [Vector3]." msgstr "" -"Construit une nouvelle chaîne de caractères à partir du [Vector3] donné." +"Construit une Transform à partir de la [Basis] et du [Vector3] (la position) " +"donnés." #: doc/classes/Transform.xml -#, fuzzy msgid "Constructs a Transform from a [Transform2D]." -msgstr "" -"Construit une nouvelle chaîne de caractères à partir du [Transform2D] donné." +msgstr "Construit une Transform à partir de la [Transform2D] donnée." #: doc/classes/Transform.xml msgid "" @@ -63723,12 +64363,10 @@ msgstr "" "Cette méthode ne tient pas compte de la translation (le vecteur d'origine)." #: doc/classes/Transform2D.xml -#, fuzzy msgid "Returns the transform's origin (translation)." -msgstr "Retourne l’origine du transform (traduction)." +msgstr "Retourne l’origine de la transformation (position)." #: doc/classes/Transform2D.xml -#, fuzzy msgid "Returns the transform's rotation (in radians)." msgstr "Retourne la rotation du transform (en radians)." @@ -63803,7 +64441,7 @@ msgstr "" #: doc/classes/Translation.xml msgid "Virtual method to override [method get_message]." -msgstr "" +msgstr "La méthode virtuelle [method get_message] à surcharger." #: doc/classes/Translation.xml msgid "Adds a message if nonexistent, followed by its translation." @@ -63872,7 +64510,7 @@ msgstr "" #: doc/classes/TranslationServer.xml msgid "Removes the given translation from the server." -msgstr "" +msgstr "Retire la translation donnée du serveur." #: doc/classes/TranslationServer.xml msgid "" @@ -63889,7 +64527,7 @@ msgstr "Retourne la traduction du langage actuel pour le message (clé) donnée. #: doc/classes/Tree.xml msgid "Control to show a tree of items." -msgstr "" +msgstr "Un contrôle pour afficher l'arborescence d'éléments." #: doc/classes/Tree.xml msgid "" @@ -63918,7 +64556,7 @@ msgstr "" #: doc/classes/Tree.xml msgid "Clears the tree. This removes all items." -msgstr "" +msgstr "Efface l'arborescence. Cela retire tous les éléments." #: doc/classes/Tree.xml msgid "" @@ -63996,9 +64634,8 @@ msgid "" msgstr "" #: doc/classes/Tree.xml -#, fuzzy msgid "Returns the column for the currently edited item." -msgstr "Renvoyez le port IP de l’hôte actuellement connecté." +msgstr "Retourne la colonne de l'élément actuellement modifié." #: doc/classes/Tree.xml msgid "" @@ -64110,11 +64747,11 @@ msgstr "" #: doc/classes/Tree.xml msgid "If [code]true[/code], the folding arrow is hidden." -msgstr "" +msgstr "Si [code]true[/code], la flèche de réduction est masquée." #: doc/classes/Tree.xml msgid "If [code]true[/code], the tree's root is hidden." -msgstr "" +msgstr "Si [code]true[/code], la racine de l'arborescence est masquée." #: doc/classes/Tree.xml msgid "" @@ -64135,7 +64772,7 @@ msgstr "Émis lorsqu’une cellule est sélectionnée." #: doc/classes/Tree.xml msgid "Emitted when a column's title is pressed." -msgstr "" +msgstr "Émis quand le titre d'une colonne est appuyé." #: doc/classes/Tree.xml msgid "" @@ -64157,7 +64794,7 @@ msgstr "" #: doc/classes/Tree.xml msgid "Emitted when an item's label is double-clicked." -msgstr "" +msgstr "Émis quand la label d'un élément est double-cliqué." #: doc/classes/Tree.xml msgid "Emitted when an item is collapsed by a click on the folding arrow." @@ -64171,7 +64808,7 @@ msgstr "" #: doc/classes/Tree.xml msgid "Emitted when an item's icon is double-clicked." -msgstr "" +msgstr "Émis quand l'icône d'un élément est double-cliqué." #: doc/classes/Tree.xml msgid "Emitted when an item is edited." @@ -64179,11 +64816,12 @@ msgstr "Émis lors de la modification d’un élément." #: doc/classes/Tree.xml msgid "Emitted when an item is edited using the right mouse button." -msgstr "" +msgstr "Émis quand un élément est modifié avec le bouton droit de la souris." #: doc/classes/Tree.xml msgid "Emitted when an item is selected with the right mouse button." msgstr "" +"Émis quand un élément est sélectionné avec le bouton droit de la souris." #: doc/classes/Tree.xml msgid "Emitted when an item is selected." @@ -64194,6 +64832,8 @@ msgid "" "Emitted instead of [code]item_selected[/code] if [code]select_mode[/code] is " "[constant SELECT_MULTI]." msgstr "" +"Émis au lieu de [code]item_selected[/code] si [code]select_mode[/code] est " +"[constant SELECT_MULTI]." #: doc/classes/Tree.xml msgid "Emitted when a left mouse button click does not select any item." @@ -64258,6 +64898,8 @@ msgid "" "Text [Color] for a [constant TreeItem.CELL_MODE_CUSTOM] mode cell when it's " "hovered." msgstr "" +"La [Color] du texte pour le mode de cellule [constant TreeItem." +"CELL_MODE_CUSTOM] quand survolé." #: doc/classes/Tree.xml msgid "" @@ -64271,15 +64913,15 @@ msgstr "[Color] de la ligne directrice." #: doc/classes/Tree.xml msgid "[Color] of the relationship lines." -msgstr "" +msgstr "La [Color] des lignes de lien." #: doc/classes/Tree.xml msgid "Default text [Color] of the title button." -msgstr "" +msgstr "La [Color] par défaut du titre du bouton." #: doc/classes/Tree.xml msgid "The horizontal space between each button in a cell." -msgstr "" +msgstr "L'espacement horizontal entre chaque bouton dans la cellule." #: doc/classes/Tree.xml msgid "" @@ -64327,7 +64969,7 @@ msgstr "[Font] du texte du bouton de titre." #: doc/classes/Tree.xml msgid "The arrow icon used when a foldable item is not collapsed." -msgstr "" +msgstr "L'icône de la flèche utilisée quand un élément n'est pas réduit." #: doc/classes/Tree.xml msgid "The arrow icon used when a foldable item is collapsed." @@ -64350,12 +64992,16 @@ msgid "" "The check icon to display when the [constant TreeItem.CELL_MODE_CHECK] mode " "cell is unchecked." msgstr "" +"L'icône de la coche à afficher quand la cellule en mode [constant TreeItem." +"CELL_MODE_CHECK] n'est pas cochée." #: doc/classes/Tree.xml msgid "" "The updown arrow icon to display for the [constant TreeItem.CELL_MODE_RANGE] " "mode cell." msgstr "" +"L'icône de la flèche haut-bas à afficher quand la cellule en mode [constant " +"TreeItem.CELL_MODE_CHECK]." #: doc/classes/Tree.xml msgid "" @@ -64373,16 +65019,19 @@ msgstr "Le [StyleBox] utilisé quand un bouton dans l'arborescence est appuyé." #: doc/classes/Tree.xml msgid "[StyleBox] used for the cursor, when the [Tree] is being focused." -msgstr "" +msgstr "Le [StyleBox] utilisé pour le curseur, quand le [Tree] a le focus." #: doc/classes/Tree.xml msgid "[StyleBox] used for the cursor, when the [Tree] is not being focused." msgstr "" +"Le [StyleBox] utilisé pour le curseur, quand le [Tree] n'a pas le focus." #: doc/classes/Tree.xml msgid "" "Default [StyleBox] for a [constant TreeItem.CELL_MODE_CUSTOM] mode cell." msgstr "" +"La [StyleBox] par défaut pour la cellule en mode [constant TreeItem." +"CELL_MODE_CUSTOM]." #: doc/classes/Tree.xml msgid "" @@ -64404,27 +65053,30 @@ msgstr "" msgid "" "[StyleBox] for the selected items, used when the [Tree] is not being focused." msgstr "" +"La [StyleBox] pour les éléments sélectionnés, quand le [Tree] n'est pas en " +"focus." #: doc/classes/Tree.xml msgid "" "[StyleBox] for the selected items, used when the [Tree] is being focused." msgstr "" +"La [StyleBox] pour les éléments sélectionnés, quand le [Tree] est en focus." #: doc/classes/Tree.xml msgid "[StyleBox] used when the title button is being hovered." -msgstr "" +msgstr "La [StyleBox] utilisée quand le titre du bouton est survolé." #: doc/classes/Tree.xml msgid "Default [StyleBox] for the title button." -msgstr "" +msgstr "La [StyleBox] par défaut pour le titre du bouton." #: doc/classes/Tree.xml msgid "[StyleBox] used when the title button is being pressed." -msgstr "" +msgstr "La [StyleBox] utilisée quand le titre du bouton est appuyé." #: doc/classes/TreeItem.xml msgid "Control for a single item inside a [Tree]." -msgstr "" +msgstr "Le contrôle pour un seul élément à l'intérieur du [Tree]." #: doc/classes/TreeItem.xml msgid "" @@ -64485,9 +65137,8 @@ msgstr "" "est préssé. Voir [enum JoyButtonList]." #: doc/classes/TreeItem.xml -#, fuzzy msgid "Returns the number of buttons in column [code]column[/code]." -msgstr "Sélectionne la colonne [code]column[/code]." +msgstr "Retourne le nombre de boutons dans la colonne [code]column[/code]." #: doc/classes/TreeItem.xml #, fuzzy @@ -64503,6 +65154,8 @@ msgid "" "Returns the tooltip string for the button at index [code]button_idx[/code] " "in column [code]column[/code]." msgstr "" +"Retourne le texte de l'infobulle pour le bouton à la position " +"[code]button_idx[/code] dans la colonne [code]column[/code]." #: doc/classes/TreeItem.xml #, fuzzy @@ -64517,14 +65170,16 @@ msgstr "" #: doc/classes/TreeItem.xml msgid "Returns the custom background color of column [code]column[/code]." msgstr "" +"Retourne la couleur personnalisée de l'arrière-plan de la colonne " +"[code]column[/code]." #: doc/classes/TreeItem.xml msgid "Returns the custom color of column [code]column[/code]." -msgstr "" +msgstr "Retourne la couleur personnalisée de la colonne [code]column[/code]." #: doc/classes/TreeItem.xml msgid "Returns [code]true[/code] if [code]expand_right[/code] is set." -msgstr "" +msgstr "Retourne [code]true[/code] si [code]expand_right[/code] est défini." #: doc/classes/TreeItem.xml #, fuzzy @@ -64537,12 +65192,11 @@ msgstr "Retourne la largeur maximale de l'icône de la colonne." #: doc/classes/TreeItem.xml msgid "Returns the [Color] modulating the column's icon." -msgstr "" +msgstr "Retourne la [Color] modulant l'icône de la colonne." #: doc/classes/TreeItem.xml -#, fuzzy msgid "Returns the icon [Texture] region as [Rect2]." -msgstr "Retourne la zone du [Rect2]." +msgstr "Retourne la zone de la [Texture] de l'icône sous forme de [Rect2]." #: doc/classes/TreeItem.xml msgid "" @@ -64586,7 +65240,7 @@ msgstr "" #: doc/classes/TreeItem.xml msgid "Returns the value of a [constant CELL_MODE_RANGE] column." -msgstr "" +msgstr "Retourne la valeur d'une colonne [constant CELL_MODE_RANGE]." #: doc/classes/TreeItem.xml msgid "" @@ -64596,7 +65250,7 @@ msgstr "" #: doc/classes/TreeItem.xml msgid "Gets the suffix string shown after the column value." -msgstr "" +msgstr "Retourne le suffixe affiché après la valeur de la colonne." #: doc/classes/TreeItem.xml msgid "Returns the given column's text." @@ -64615,6 +65269,8 @@ msgid "" "Returns [code]true[/code] if the button at index [code]button_idx[/code] for " "the given column is disabled." msgstr "" +"Retourne [code]true[/code] si le bouton à la position [code]button_idx[/" +"code] pour la colonne donnée est désactivé." #: doc/classes/TreeItem.xml msgid "Returns [code]true[/code] if the given column is checked." @@ -64628,10 +65284,14 @@ msgstr "" #: doc/classes/TreeItem.xml msgid "Returns [code]true[/code] if column [code]column[/code] is selectable." msgstr "" +"Retourne [code]true[/code] si la colonne [code]column[/code] peut être " +"sélectionnée." #: doc/classes/TreeItem.xml msgid "Returns [code]true[/code] if column [code]column[/code] is selected." msgstr "" +"Retourne [code]true[/code] si la colonne [code]column[/code] est " +"sélectionnée." #: doc/classes/TreeItem.xml msgid "Moves this TreeItem to the bottom in the [Tree] hierarchy." @@ -64665,6 +65325,8 @@ msgid "" "If [code]true[/code], disables the button at index [code]button_idx[/code] " "in column [code]column[/code]." msgstr "" +"Si [code]true[/code], désactive le bouton à la position [code]button_idx[/" +"code] dans la colonne [code]column[/code]." #: doc/classes/TreeItem.xml msgid "" @@ -64674,7 +65336,7 @@ msgstr "" #: doc/classes/TreeItem.xml msgid "If [code]true[/code], the column [code]column[/code] is checked." -msgstr "" +msgstr "Si [code]true[/code], la colonne [code]column[/code] est cochée." #: doc/classes/TreeItem.xml msgid "" @@ -64702,6 +65364,8 @@ msgstr "Si [code]true[/code], la colonne [code]column[/code] est modifiable." msgid "" "If [code]true[/code], column [code]column[/code] is expanded to the right." msgstr "" +"Si [code]true[/code], la colonne [code]column[/code] s’élargit vers la " +"droite." #: doc/classes/TreeItem.xml msgid "Sets the given column's icon [Texture]." @@ -64709,11 +65373,12 @@ msgstr "Définit la [Texture] d'icône pour la colonne donnée." #: doc/classes/TreeItem.xml msgid "Sets the given column's icon's maximum width." -msgstr "" +msgstr "Définit la largeur maximale de l'icône de la colonne donnée." #: doc/classes/TreeItem.xml msgid "Modulates the given column's icon with [code]modulate[/code]." msgstr "" +"Module l'icône de la colonne donnée avec la couleur [code]modulate[/code]." #: doc/classes/TreeItem.xml msgid "Sets the given column's icon's texture region." @@ -64728,7 +65393,7 @@ msgstr "" #: doc/classes/TreeItem.xml msgid "Sets the value of a [constant CELL_MODE_RANGE] column." -msgstr "" +msgstr "Définit la valeur d'une colonne [constant CELL_MODE_RANGE]." #: doc/classes/TreeItem.xml msgid "" @@ -64772,7 +65437,7 @@ msgstr "La hauteur minimale personnalisée." #: doc/classes/TreeItem.xml msgid "If [code]true[/code], folding is disabled for this TreeItem." -msgstr "" +msgstr "Si [code]true[/code], la réduction est désactivée pour ce TreeItem." #: doc/classes/TreeItem.xml msgid "Cell contains a string." @@ -64961,13 +65626,12 @@ msgid "" msgstr "" #: doc/classes/Tween.xml -#, fuzzy msgid "Continues animating all stopped tweens." -msgstr "Continuer à animer tous les tweens arrêtés." +msgstr "Continuer d'animer tous les tweens arrêtés." #: doc/classes/Tween.xml msgid "Sets the interpolation to the given [code]time[/code] in seconds." -msgstr "" +msgstr "Définit l'interpolation au moment [code]time[/code] en secondes." #: doc/classes/Tween.xml msgid "" @@ -65015,7 +65679,7 @@ msgstr "" #: doc/classes/Tween.xml msgid "Returns the current time of the tween." -msgstr "" +msgstr "Retourne le temps actuel du tween." #: doc/classes/Tween.xml msgid "The tween's animation process thread. See [enum TweenProcessMode]." @@ -65030,35 +65694,33 @@ msgid "" msgstr "" #: doc/classes/Tween.xml -#, fuzzy msgid "If [code]true[/code], the tween loops." -msgstr "Si [code]true[/code], l'interpolation fait une boucle." +msgstr "Si [code]true[/code], le tween se répète." #: doc/classes/Tween.xml msgid "Emitted when all processes in a tween end." msgstr "" #: doc/classes/Tween.xml -#, fuzzy msgid "Emitted when a tween ends." -msgstr "Émis à la fin d'une interpolation." +msgstr "Émis à la fin d'un tween." #: doc/classes/Tween.xml -#, fuzzy msgid "Emitted when a tween starts." -msgstr "Émis quand une interpolation démarre." +msgstr "Émis quand un tween démarre." #: doc/classes/Tween.xml msgid "Emitted at each step of the animation." -msgstr "" +msgstr "Émis à chaque étape de l'animation." #: doc/classes/Tween.xml msgid "The tween updates with the [code]_physics_process[/code] callback." msgstr "" +"Le tween se met à jour lors de l'appel à [code]_physics_process[/code]." #: doc/classes/Tween.xml msgid "The tween updates with the [code]_process[/code] callback." -msgstr "" +msgstr "Le tween se met à jour lors de l'appel à [code]_process[/code]." #: doc/classes/Tween.xml msgid "The animation is interpolated linearly." @@ -65072,22 +65734,27 @@ msgstr "L'animation est interpolée à l'aide d'une fonction sinusoïdale." msgid "" "The animation is interpolated with a quintic (to the power of 5) function." msgstr "" +"L'animation est interpolée avec une fonction quintique (à la puissance 5)." #: doc/classes/Tween.xml msgid "" "The animation is interpolated with a quartic (to the power of 4) function." msgstr "" +"L'animation est interpolée avec une fonction quartique (à la puissance 4)." #: doc/classes/Tween.xml msgid "" "The animation is interpolated with a quadratic (to the power of 2) function." msgstr "" +"L'animation est interpolée avec une fonction quadratique (à la puissance 2)." #: doc/classes/Tween.xml msgid "" "The animation is interpolated with an exponential (to the power of x) " "function." msgstr "" +"L'animation est interpolée avec une fonction exponentielle (à la puissance " +"x)." #: doc/classes/Tween.xml msgid "" @@ -65098,14 +65765,15 @@ msgstr "" msgid "" "The animation is interpolated with a cubic (to the power of 3) function." msgstr "" +"L'animation est interpolée avec une fonction cubique (à la puissance 3)." #: doc/classes/Tween.xml msgid "The animation is interpolated with a function using square roots." -msgstr "" +msgstr "L'animation est interpolée avec la fonction de racine carrée." #: doc/classes/Tween.xml msgid "The animation is interpolated by bouncing at the end." -msgstr "" +msgstr "L'animation est interpolée en rebondissant à la fin." #: doc/classes/Tween.xml msgid "The animation is interpolated backing out at ends." @@ -65113,27 +65781,31 @@ msgstr "L’animation est interpolée en reculant aux extrémités." #: doc/classes/Tween.xml msgid "The interpolation starts slowly and speeds up towards the end." -msgstr "" +msgstr "L'interpolation démarre lentement puis s'accélère à la fin." #: doc/classes/Tween.xml msgid "The interpolation starts quickly and slows down towards the end." -msgstr "" +msgstr "L'interpolation démarre rapidement puis ralentit à la fin." #: doc/classes/Tween.xml msgid "" "A combination of [constant EASE_IN] and [constant EASE_OUT]. The " "interpolation is slowest at both ends." msgstr "" +"Une combinaison de [constant EASE_IN] et de [constant EASE_OUT]. " +"L'interpolation est plus lente au début et à la fin." #: doc/classes/Tween.xml msgid "" "A combination of [constant EASE_IN] and [constant EASE_OUT]. The " "interpolation is fastest at both ends." msgstr "" +"Une combinaison de [constant EASE_IN] et de [constant EASE_OUT]. " +"L'interpolation est plus rapide au début et à la fin." #: doc/classes/UDPServer.xml msgid "Helper class to implement a UDP server." -msgstr "" +msgstr "Une classe d'aide pour implémenter un serveur UDP." #: doc/classes/UDPServer.xml msgid "" @@ -65248,6 +65920,8 @@ msgstr "" #: doc/classes/UndoRedo.xml msgid "Helper to manage undo/redo operations in the editor or custom tools." msgstr "" +"Un aide pour gérer les opérations d'annulation/refaire dans l'éditeur ou les " +"outils personnalisés." #: doc/classes/UndoRedo.xml msgid "" @@ -65291,7 +65965,7 @@ msgstr "" #: doc/classes/UndoRedo.xml msgid "Register a property value change for \"do\"." -msgstr "" +msgstr "Enregistre un changement de valeur de propriété pour \"annuler\"." #: doc/classes/UndoRedo.xml msgid "" @@ -65306,7 +65980,7 @@ msgstr "" #: doc/classes/UndoRedo.xml msgid "Register a property value change for \"undo\"." -msgstr "" +msgstr "Enregistre un changement de valeur de propriété pour \"refaire\"." #: doc/classes/UndoRedo.xml msgid "" @@ -65340,7 +66014,7 @@ msgstr "" #: doc/classes/UndoRedo.xml msgid "Gets the name of the current action." -msgstr "" +msgstr "Récupère le nom de l'action actuelle." #: doc/classes/UndoRedo.xml msgid "" @@ -65366,11 +66040,14 @@ msgstr "Annule la dernière action." #: doc/classes/UndoRedo.xml msgid "Called when [method undo] or [method redo] was called." -msgstr "" +msgstr "Appelé quand [method undo] ou [method redo] sont appelés." #: doc/classes/UndoRedo.xml +#, fuzzy msgid "Makes \"do\"/\"undo\" operations stay in separate actions." msgstr "" +"Définit les opérations \"annuler\"/\"refaire\" utilisant des actions " +"séparées." #: doc/classes/UndoRedo.xml msgid "" @@ -65381,7 +66058,7 @@ msgstr "" #: doc/classes/UndoRedo.xml msgid "Makes subsequent actions with the same name be merged into one." -msgstr "" +msgstr "Fusionne les actions suivantes avec le même nom dans une seule." #: modules/upnp/doc_classes/UPNP.xml msgid "UPNP network functions." @@ -65496,10 +66173,11 @@ msgstr "" #: modules/upnp/doc_classes/UPNP.xml msgid "Returns the [UPNPDevice] at the given [code]index[/code]." msgstr "" +"Retourne l'appareil [UPNPDevice] à la position [code]index[/code] donnée." #: modules/upnp/doc_classes/UPNP.xml msgid "Returns the number of discovered [UPNPDevice]s." -msgstr "" +msgstr "Retourne le nombre de [UPNPDevice] découverts." #: modules/upnp/doc_classes/UPNP.xml msgid "" @@ -65517,6 +66195,7 @@ msgstr "" msgid "" "Removes the device at [code]index[/code] from the list of discovered devices." msgstr "" +"Retire l'appareil à [code]index[/code] de la liste des appareils découverts." #: modules/upnp/doc_classes/UPNP.xml msgid "" @@ -65527,6 +66206,8 @@ msgstr "" #: modules/upnp/doc_classes/UPNP.xml msgid "If [code]true[/code], IPv6 is used for [UPNPDevice] discovery." msgstr "" +"Si [code]true[/code], l'IPv6 est utilisée pour la découverte des " +"[UPNPDevice]." #: modules/upnp/doc_classes/UPNP.xml msgid "" @@ -65754,7 +66435,7 @@ msgstr "La réponse retournée ne contenait pas d’URL." #: modules/upnp/doc_classes/UPNPDevice.xml msgid "Not a valid IGD." -msgstr "" +msgstr "Ce n'est pas un IGD valide." #: modules/upnp/doc_classes/UPNPDevice.xml msgid "Disconnected." @@ -65774,7 +66455,7 @@ msgstr "Erreur d’allocation de mémoire." #: doc/classes/Variant.xml msgid "The most important data type in Godot." -msgstr "" +msgstr "Le plus important type de donnée dans Godot." #: doc/classes/Variant.xml msgid "" @@ -65890,7 +66571,7 @@ msgstr "" #: doc/classes/Vector2.xml doc/classes/Vector3.xml msgid "3Blue1Brown Essence of Linear Algebra" -msgstr "" +msgstr "3Blue1Brown Essence of Linear Algebra" #: doc/classes/Vector2.xml #, fuzzy @@ -65992,7 +66673,7 @@ msgstr "" #: doc/classes/Vector2.xml msgid "Returns the distance between this vector and [code]to[/code]." -msgstr "" +msgstr "Retourne la distance entre ce vecteur et [code]to[/code]." #: doc/classes/Vector2.xml msgid "" @@ -66023,11 +66704,12 @@ msgid "" msgstr "" #: doc/classes/Vector2.xml doc/classes/Vector3.xml -#, fuzzy msgid "" "Returns [code]true[/code] if the vector is normalized, [code]false[/code] " "otherwise." -msgstr "Retourne [code]true[/code] si le vecteur est normalisé, et faux sinon." +msgstr "" +"Retourne [code]true[/code] si le vecteur est normalisé, et [code]false[/" +"code] sinon." #: doc/classes/Vector2.xml doc/classes/Vector3.xml #, fuzzy @@ -66097,6 +66779,8 @@ msgid "" "Returns the vector rotated by [code]phi[/code] radians. See also [method " "@GDScript.deg2rad]." msgstr "" +"Retourne le vecteur pivoté par [code]phi[/code] en radians. Voir aussi " +"[method @GDScript.deg2rad]." #: doc/classes/Vector2.xml doc/classes/Vector3.xml #, fuzzy @@ -66177,19 +66861,23 @@ msgstr "" #: doc/classes/Vector2.xml msgid "Left unit vector. Represents the direction of left." -msgstr "" +msgstr "Le vecteur unitaire gauche. Représente la direction vers la gauche." #: doc/classes/Vector2.xml msgid "Right unit vector. Represents the direction of right." -msgstr "" +msgstr "Le vecteur unitaire droit. Représente la direction vers la droite." #: doc/classes/Vector2.xml msgid "Up unit vector. Y is down in 2D, so this vector points -Y." msgstr "" +"Le vecteur unitaire vers le haut. Y représente le bas en 2D, donc ce vecteur " +"pointe vers -Y." #: doc/classes/Vector2.xml msgid "Down unit vector. Y is down in 2D, so this vector points +Y." msgstr "" +"Le vecteur unitaire vers le bas. Y représente le bas en 2D, donc ce vecteur " +"pointe vers +Y." #: doc/classes/Vector3.xml msgid "Vector used for 3D math." @@ -66205,18 +66893,16 @@ msgid "" msgstr "" #: doc/classes/Vector3.xml -#, fuzzy msgid "Returns a Vector3 with the given components." -msgstr "Retourne un caractère avec la valeur ascii donnée." +msgstr "Retourne un Vector3 avec les coordonnées spécifiées." #: doc/classes/Vector3.xml -#, fuzzy msgid "Returns the unsigned minimum angle to the given vector, in radians." -msgstr "Renvoie le reste de deux vecteurs." +msgstr "Retourne l'angle non signé minimum avec le vecteur donné, en radians." #: doc/classes/Vector3.xml msgid "Returns the cross product of this vector and [code]b[/code]." -msgstr "Calcule le produit vectoriel de ce vecteur et[code]b[/code]." +msgstr "Calcule le produit vectoriel de ce vecteur et de [code]b[/code]." #: doc/classes/Vector3.xml msgid "" @@ -66228,7 +66914,7 @@ msgstr "" #: doc/classes/Vector3.xml msgid "Returns the distance between this vector and [code]b[/code]." -msgstr "" +msgstr "Retourne la distance entre ce vecteur et [code]b[/code]." #: doc/classes/Vector3.xml msgid "" @@ -66250,6 +66936,8 @@ msgid "" "Returns the inverse of the vector. This is the same as [code]Vector3( 1.0 / " "v.x, 1.0 / v.y, 1.0 / v.z )[/code]." msgstr "" +"Retourne l'inverse du vecteur. Ça correspond à [code]Vector3( 1.0 / v.x, " +"1.0 / v.y, 1.0 / v.z )[/code]." #: doc/classes/Vector3.xml msgid "" @@ -66455,6 +67143,7 @@ msgstr "" #: doc/classes/VehicleWheel.xml msgid "Returns [code]true[/code] if this wheel is in contact with a surface." msgstr "" +"Retourne [code]true[/code] si cette roue est en contact avec une surface." #: doc/classes/VehicleWheel.xml msgid "" @@ -66598,9 +67287,8 @@ msgid "" msgstr "" #: doc/classes/VideoPlayer.xml -#, fuzzy msgid "Returns the current frame as a [Texture]." -msgstr "Retourne la [Texture2D] de l'image donnée." +msgstr "Retourne la trame actuelle de la [Texture]." #: doc/classes/VideoPlayer.xml msgid "" @@ -66668,7 +67356,6 @@ msgid "Audio volume in dB." msgstr "Volume audio en dB." #: doc/classes/VideoPlayer.xml -#, fuzzy msgid "Emitted when playback is finished." msgstr "Émis lorsque la lecture est terminée." @@ -66698,6 +67385,7 @@ msgstr "" #: modules/gdnative/doc_classes/VideoStreamGDNative.xml msgid "Returns the video file handled by this [VideoStreamGDNative]." msgstr "" +"Retourne le fichier vidéo pris en charge pour ce [VideoStreamGDNative]." #: modules/gdnative/doc_classes/VideoStreamGDNative.xml msgid "" @@ -66795,7 +67483,7 @@ msgstr "Démo pour la 3D dans la 2D" #: doc/classes/Viewport.xml msgid "Screen Capture Demo" -msgstr "" +msgstr "Démo de capture d'écran" #: doc/classes/Viewport.xml msgid "Dynamic Split Screen Demo" @@ -66826,9 +67514,8 @@ msgid "Returns the total transform of the viewport." msgstr "Retourne la transformation totale de la fenêtre d'affichage." #: doc/classes/Viewport.xml -#, fuzzy msgid "Returns the topmost modal in the stack." -msgstr "Retourne le mode de mise à jour d'une piste de valeur." +msgstr "Retourne la vue exclusive la plus en avant dans la pile." #: doc/classes/Viewport.xml #, fuzzy @@ -66864,13 +67551,13 @@ msgid "" msgstr "" #: doc/classes/Viewport.xml -#, fuzzy msgid "Returns the viewport's RID from the [VisualServer]." -msgstr "Retourne le RID de la caméra depuis le [RenderingServer]." +msgstr "Retourne le RID de la caméra depuis le [VisualServer]." #: doc/classes/Viewport.xml msgid "Returns the visible rectangle in global screen coordinates." msgstr "" +"Retourne le rectangle de visibilité à l'écran dans les coordonnées globales." #: doc/classes/Viewport.xml msgid "" @@ -66884,9 +67571,8 @@ msgid "Returns [code]true[/code] if there are visible modals on-screen." msgstr "Retourne [code]true[/code] si la colonne donnée est cochée." #: doc/classes/Viewport.xml -#, fuzzy msgid "Returns [code]true[/code] if the drag operation is successful." -msgstr "Retourne [code]true[/code] si la sélection est active." +msgstr "Retourne [code]true[/code] si l'opération de déposer-glisser a réussi." #: doc/classes/Viewport.xml msgid "" @@ -66895,11 +67581,12 @@ msgid "" msgstr "" #: doc/classes/Viewport.xml -#, fuzzy msgid "" "Returns [code]true[/code] if the size override is enabled. See [method " "set_size_override]." -msgstr "Retourne [code]true[/code] si le vecteur est normalisé, et faux sinon." +msgstr "" +"Retourne [code]true[/code] si la taille a été surchargée. Voir [method " +"set_size_override]." #: doc/classes/Viewport.xml msgid "" @@ -66932,7 +67619,7 @@ msgstr "" #: doc/classes/Viewport.xml msgid "Forces update of the 2D and 3D worlds." -msgstr "" +msgstr "Force la mise à jour des mondes 2D et 3D." #: doc/classes/Viewport.xml msgid "" @@ -66998,9 +67685,10 @@ msgid "" msgstr "" #: doc/classes/Viewport.xml -#, fuzzy msgid "If [code]true[/code], the viewport will not receive input events." -msgstr "Si [code]true[/code], la texture sera centrée." +msgstr "" +"Si [code]true[/code], la fenêtre d'affichage ne recevra pas les événements " +"d'entrée." #: doc/classes/Viewport.xml msgid "" @@ -67041,13 +67729,12 @@ msgid "" msgstr "" #: doc/classes/Viewport.xml -#, fuzzy msgid "" "If [code]true[/code], the viewport will use [World] defined in [code]world[/" "code] property." msgstr "" -"Retourne [code]true[/code] si la chaîne de caractères est vide, ou " -"[code]false[/code] le cas échéant." +"Si [code]true[/code], la fenêtre d'affichage utilisera le [World] défini par " +"la propriété [code]world[/code]." #: doc/classes/Viewport.xml msgid "" @@ -67161,10 +67848,12 @@ msgstr "Une constante [Transform], qui peut être utilisée comme nœud d’entr #: doc/classes/Viewport.xml msgid "The custom [World2D] which can be used as 2D environment source." msgstr "" +"Le [World3D] personnalisé qui peut être utilisé comme source pour " +"l'environnement 2D." #: doc/classes/Viewport.xml msgid "Emitted when a Control node grabs keyboard focus." -msgstr "" +msgstr "Émis quand un nœud de Control obtient le focus du clavier." #: doc/classes/Viewport.xml msgid "" @@ -67187,9 +67876,8 @@ msgid "" msgstr "" #: doc/classes/Viewport.xml -#, fuzzy msgid "Always update the render target." -msgstr "Mettez toujours à jour la cible de rendu." +msgstr "Met toujours à jour la cible de rendu." #: doc/classes/Viewport.xml msgid "This quadrant will not be used." @@ -67228,6 +67916,7 @@ msgstr "" #: doc/classes/Viewport.xml msgid "Represents the size of the [enum ShadowAtlasQuadrantSubdiv] enum." msgstr "" +"Représente la taille de l'énumération [enum ShadowAtlasQuadrantSubdiv]." #: doc/classes/Viewport.xml msgid "Amount of objects in frame." @@ -67261,7 +67950,7 @@ msgstr "Quantité d’objets dans le cadre." #: doc/classes/Viewport.xml msgid "Represents the size of the [enum RenderInfo] enum." -msgstr "" +msgstr "Représente la taille de l'énumération [enum RenderInfo]." #: doc/classes/Viewport.xml msgid "Objects are displayed normally." @@ -67298,12 +67987,16 @@ msgid "" "Use 8x Multisample Antialiasing. Likely unsupported on low-end and older " "hardware." msgstr "" +"Utilisez l'anticrénelage multi-échantillons 8x. Sans doute pas supporté sur " +"les anciens appareils ou ceux peu puissants." #: doc/classes/Viewport.xml msgid "" "Use 16x Multisample Antialiasing. Likely unsupported on medium and low-end " "hardware." msgstr "" +"Utilisez l'anticrénelage multi-échantillons 8x. Sans doute pas supporté sur " +"les appareils peu et moyennement puissants." #: doc/classes/Viewport.xml msgid "" @@ -67335,7 +68028,7 @@ msgstr "" #: doc/classes/Viewport.xml msgid "Always clear the render target before drawing." -msgstr "" +msgstr "Toujours effacer la cible de rendu avant d'y dessiner." #: doc/classes/Viewport.xml msgid "Never clear the render target." @@ -67346,6 +68039,8 @@ msgid "" "Clear the render target next frame, then switch to [constant " "CLEAR_MODE_NEVER]." msgstr "" +"Nettoie la cible de rendu pour la trame suivante, puis passe en [constant " +"CLEAR_MODE_NEVER]." #: doc/classes/ViewportContainer.xml msgid "Control for holding [Viewport]s." @@ -67361,10 +68056,10 @@ msgid "" msgstr "" #: doc/classes/ViewportContainer.xml -#, fuzzy msgid "" "If [code]true[/code], the viewport will be scaled to the control's size." -msgstr "Si [code]true[/code], la frontière de la ligne sera anti-aliasée." +msgstr "" +"Si [code]true[/code], la fenêtre d'affichage utilisera la taille du contrôle." #: doc/classes/ViewportContainer.xml msgid "" @@ -67379,7 +68074,7 @@ msgstr "" #: doc/classes/ViewportTexture.xml msgid "Texture which displays the content of a [Viewport]." -msgstr "" +msgstr "La texture qui affiche le contenu du [Viewport]." #: doc/classes/ViewportTexture.xml msgid "" @@ -67398,6 +68093,7 @@ msgstr "" #: doc/classes/VisibilityEnabler.xml doc/classes/VisibilityEnabler2D.xml msgid "Enables certain nodes only when approximately visible." msgstr "" +"Active certains nœuds uniquement quand il est approximativement visible." #: doc/classes/VisibilityEnabler.xml msgid "" @@ -67428,9 +68124,8 @@ msgid "" msgstr "" #: doc/classes/VisibilityEnabler.xml -#, fuzzy msgid "If [code]true[/code], [RigidBody] nodes will be paused." -msgstr "Si [code]true[/code], les nœuds [RigidBody3D] seront mis en pause." +msgstr "Si [code]true[/code], les nœuds [RigidBody] seront mis en pause." #: doc/classes/VisibilityEnabler.xml doc/classes/VisibilityEnabler2D.xml msgid "If [code]true[/code], [AnimationPlayer] nodes will be paused." @@ -67468,14 +68163,12 @@ msgid "If [code]true[/code], [RigidBody2D] nodes will be paused." msgstr "Si [code]true[/code], les nœuds [RigidBody2D] seront mis en pause." #: doc/classes/VisibilityEnabler2D.xml -#, fuzzy msgid "If [code]true[/code], [AnimatedSprite] nodes will be paused." -msgstr "Si [code]true[/code], les nœuds [GPUParticles2D] seront mis en pause." +msgstr "Si [code]true[/code], les nœuds [AnimatedSprite] seront mis en pause." #: doc/classes/VisibilityEnabler2D.xml -#, fuzzy msgid "If [code]true[/code], [Particles2D] nodes will be paused." -msgstr "Si [code]true[/code], les nœuds [GPUParticles2D] seront mis en pause." +msgstr "Si [code]true[/code], les nœuds [Particles2D] seront mis en pause." #: doc/classes/VisibilityEnabler2D.xml msgid "" @@ -67508,9 +68201,8 @@ msgid "This enabler will stop the parent's _physics_process function." msgstr "Cet activateur arrêtera la fonction _physics_process du parent." #: doc/classes/VisibilityEnabler2D.xml -#, fuzzy msgid "This enabler will stop [AnimatedSprite] nodes animations." -msgstr "Cet activateur arrêtera les animations de nœuds [AnimatedSprite2D]." +msgstr "Cet activateur arrêtera les animations de nœuds [AnimatedSprite]." #: doc/classes/VisibilityNotifier.xml doc/classes/VisibilityNotifier2D.xml msgid "Detects approximately when the node is visible on screen." @@ -67562,14 +68254,12 @@ msgid "Emitted when the VisibilityNotifier exits a [Camera]'s view." msgstr "Émis lorsque le VisibilityNotifier3D quitte la vue d'un [Camera3D]." #: doc/classes/VisibilityNotifier.xml -#, fuzzy msgid "Emitted when the VisibilityNotifier enters the screen." -msgstr "Émis lorsque le VisibilityNotifier2D entre dans l'écran." +msgstr "Émis lorsque le VisibilityNotifier entre dans l'écran." #: doc/classes/VisibilityNotifier.xml -#, fuzzy msgid "Emitted when the VisibilityNotifier exits the screen." -msgstr "Émis lorsque le VisibilityNotifier2D quitte l’écran." +msgstr "Émis lorsque le VisibilityNotifier quitte l’écran." #: doc/classes/VisibilityNotifier2D.xml msgid "" @@ -67672,7 +68362,7 @@ msgstr "" #: doc/classes/VisualInstance.xml msgid "Enables a particular layer in [member layers]." -msgstr "" +msgstr "Active un claque spécifique dans [member layers]." #: doc/classes/VisualInstance.xml msgid "" @@ -67697,7 +68387,7 @@ msgstr "" #: modules/visual_script/doc_classes/VisualScript.xml msgid "Add a custom signal with the specified name to the VisualScript." -msgstr "" +msgstr "Ajoute un signal personnalisé avec le nom spécifié au VisualScript." #: modules/visual_script/doc_classes/VisualScript.xml msgid "Add a function with the specified name to the VisualScript." @@ -67720,19 +68410,19 @@ msgstr "" #: modules/visual_script/doc_classes/VisualScript.xml msgid "Get the count of a custom signal's arguments." -msgstr "" +msgstr "Récupère le nombre d'arguments du signal personnalisé." #: modules/visual_script/doc_classes/VisualScript.xml msgid "Get the name of a custom signal's argument." -msgstr "" +msgstr "Récupère le nom de l'argument du signal personnalisé." #: modules/visual_script/doc_classes/VisualScript.xml msgid "Get the type of a custom signal's argument." -msgstr "" +msgstr "Récupère le type de l'argument du signal personnalisé." #: modules/visual_script/doc_classes/VisualScript.xml msgid "Remove a specific custom signal's argument." -msgstr "" +msgstr "Supprime l'argument spécifié du signal personnalisé." #: modules/visual_script/doc_classes/VisualScript.xml msgid "Rename a custom signal's argument." @@ -67740,7 +68430,7 @@ msgstr "Renommer l'argument d'un signal personnalisé." #: modules/visual_script/doc_classes/VisualScript.xml msgid "Change the type of a custom signal's argument." -msgstr "" +msgstr "Change le type de l'argument du signal personnalisé." #: modules/visual_script/doc_classes/VisualScript.xml msgid "Swap two of the arguments of a custom signal." @@ -67776,7 +68466,7 @@ msgstr "Retourne la position du nœud en pixels." #: modules/visual_script/doc_classes/VisualScript.xml msgid "Returns the default (initial) value of a variable." -msgstr "" +msgstr "Retourne la valeur par défaut (initiale) de la variable." #: modules/visual_script/doc_classes/VisualScript.xml msgid "Returns whether a variable is exported." @@ -67814,7 +68504,7 @@ msgstr "" #: modules/visual_script/doc_classes/VisualScript.xml msgid "Remove a custom signal with the given name." -msgstr "" +msgstr "Supprime un signal personnalisé avec le nom donné." #: modules/visual_script/doc_classes/VisualScript.xml msgid "Remove a specific function and its nodes from the script." @@ -67826,11 +68516,11 @@ msgstr "Supprimez un nœud spécifique." #: modules/visual_script/doc_classes/VisualScript.xml msgid "Remove a variable with the given name." -msgstr "" +msgstr "Retirer une variable avec le nom donné." #: modules/visual_script/doc_classes/VisualScript.xml msgid "Change the name of a custom signal." -msgstr "" +msgstr "Change le nom d'un signal personnalisé." #: modules/visual_script/doc_classes/VisualScript.xml msgid "Change the name of a function." @@ -67860,19 +68550,19 @@ msgstr "" #: modules/visual_script/doc_classes/VisualScript.xml msgid "Set the base type of the script." -msgstr "" +msgstr "Définit le type de base du script." #: modules/visual_script/doc_classes/VisualScript.xml msgid "Position a node on the screen." -msgstr "" +msgstr "Positionne un nœud à l'écran." #: modules/visual_script/doc_classes/VisualScript.xml msgid "Change the default (initial) value of a variable." -msgstr "" +msgstr "Modifie la valeur par défaut (initiale) d'un variable." #: modules/visual_script/doc_classes/VisualScript.xml msgid "Change whether a variable is exported." -msgstr "" +msgstr "Modifie quand une variable est exportée." #: modules/visual_script/doc_classes/VisualScript.xml msgid "" @@ -67899,7 +68589,7 @@ msgstr "" #: modules/visual_script/doc_classes/VisualScriptBasicTypeConstant.xml msgid "The name of the constant to return." -msgstr "" +msgstr "Le nom de la constante à retourner." #: modules/visual_script/doc_classes/VisualScriptBuiltinFunc.xml msgid "A Visual Script node used to call built-in functions." @@ -67918,27 +68608,27 @@ msgstr "La fonction à exécuter." #: modules/visual_script/doc_classes/VisualScriptBuiltinFunc.xml msgid "Return the sine of the input." -msgstr "" +msgstr "Retourne le sinus de l'entrée." #: modules/visual_script/doc_classes/VisualScriptBuiltinFunc.xml msgid "Return the cosine of the input." -msgstr "" +msgstr "Retourne le cosinus de l'entrée." #: modules/visual_script/doc_classes/VisualScriptBuiltinFunc.xml msgid "Return the tangent of the input." -msgstr "" +msgstr "Retourne la tangent de l'entrée." #: modules/visual_script/doc_classes/VisualScriptBuiltinFunc.xml msgid "Return the hyperbolic sine of the input." -msgstr "" +msgstr "Retourne le sinus hyperbolique de l'entrée." #: modules/visual_script/doc_classes/VisualScriptBuiltinFunc.xml msgid "Return the hyperbolic cosine of the input." -msgstr "" +msgstr "Retourne le cosinus hyperbolique de l'entrée." #: modules/visual_script/doc_classes/VisualScriptBuiltinFunc.xml msgid "Return the hyperbolic tangent of the input." -msgstr "" +msgstr "Retourne la tangent hyperbolique de l'entrée." #: modules/visual_script/doc_classes/VisualScriptBuiltinFunc.xml msgid "Return the arc sine of the input." @@ -67960,7 +68650,7 @@ msgstr "" #: modules/visual_script/doc_classes/VisualScriptBuiltinFunc.xml msgid "Return the square root of the input." -msgstr "" +msgstr "Retourne la racine carrée de l'entrée." #: modules/visual_script/doc_classes/VisualScriptBuiltinFunc.xml msgid "" @@ -67984,11 +68674,11 @@ msgstr "Retourner la saisie arrondie au chiffre supérieur." #: modules/visual_script/doc_classes/VisualScriptBuiltinFunc.xml msgid "Return the input rounded to the nearest integer." -msgstr "" +msgstr "Retourne l'entrée arrondie à l'entier le plus proche." #: modules/visual_script/doc_classes/VisualScriptBuiltinFunc.xml msgid "Return the absolute value of the input." -msgstr "" +msgstr "Retourne la valeur absolue de l'entrée." #: modules/visual_script/doc_classes/VisualScriptBuiltinFunc.xml msgid "" @@ -67998,7 +68688,7 @@ msgstr "" #: modules/visual_script/doc_classes/VisualScriptBuiltinFunc.xml msgid "Return the input raised to a given power." -msgstr "" +msgstr "Retourne l'entrée à la puissance donnée." #: modules/visual_script/doc_classes/VisualScriptBuiltinFunc.xml msgid "" @@ -68136,7 +68826,7 @@ msgstr "Retourne la puissance de 2 la plus proche de l'entrée." #: modules/visual_script/doc_classes/VisualScriptBuiltinFunc.xml msgid "Create a [WeakRef] from the input." -msgstr "" +msgstr "Crée une référence faible [WeakRef] de l'entrée." #: modules/visual_script/doc_classes/VisualScriptBuiltinFunc.xml msgid "Create a [FuncRef] from the input." @@ -68301,7 +68991,7 @@ msgstr "" #: modules/visual_script/doc_classes/VisualScriptConstant.xml msgid "Gets a contant's value." -msgstr "" +msgstr "Obtenir la valeur de la constante." #: modules/visual_script/doc_classes/VisualScriptConstant.xml msgid "" @@ -68351,16 +69041,16 @@ msgid "Return the count of input value ports." msgstr "Renvoie le nombre de ports de valeur d’entrée." #: modules/visual_script/doc_classes/VisualScriptCustomNode.xml -#, fuzzy msgid "" "Return the specified input port's hint. See the [enum @GlobalScope." "PropertyHint] hints." -msgstr "Renvoie le nom du port d'entrée spécifié." +msgstr "" +"Retourne l'indice du port d'entrée spécifié. Voir les indices dans [enum " +"@GlobalScope.PropertyHint]." #: modules/visual_script/doc_classes/VisualScriptCustomNode.xml -#, fuzzy msgid "Return the specified input port's hint string." -msgstr "Renvoie le nom du port d'entrée spécifié." +msgstr "Renvoie le texte d'indice du port d'entrée spécifié." #: modules/visual_script/doc_classes/VisualScriptCustomNode.xml msgid "Return the specified input port's name." @@ -68390,9 +69080,8 @@ msgid "" msgstr "" #: modules/visual_script/doc_classes/VisualScriptCustomNode.xml -#, fuzzy msgid "Return the specified output port's hint string." -msgstr "Renvoie le nom du port d'entrée spécifié." +msgstr "Renvoie le texte d'indice du port de sortie spécifié." #: modules/visual_script/doc_classes/VisualScriptCustomNode.xml msgid "Return the specified output port's name." @@ -68544,9 +69233,8 @@ msgid "" msgstr "" #: modules/visual_script/doc_classes/VisualScriptFunction.xml -#, fuzzy msgid "A Visual Script node representing a function." -msgstr "Un nœud Visual Script utilisé pour annoter le script." +msgstr "Un nœud Visual Script représentant une fonction." #: modules/visual_script/doc_classes/VisualScriptFunction.xml msgid "" @@ -68593,9 +69281,8 @@ msgid "" msgstr "" #: modules/visual_script/doc_classes/VisualScriptFunctionCall.xml -#, fuzzy msgid "The name of the function to be called." -msgstr "La fonction à exécuter." +msgstr "Le nom de la fonction à appeler." #: modules/visual_script/doc_classes/VisualScriptFunctionCall.xml #: modules/visual_script/doc_classes/VisualScriptYieldSignal.xml @@ -68631,7 +69318,7 @@ msgstr "" #: modules/visual_script/doc_classes/VisualScriptFunctionCall.xml msgid "The method will be called on this [Object]." -msgstr "" +msgstr "La méthode sera appelée sur cet [Object]." #: modules/visual_script/doc_classes/VisualScriptFunctionCall.xml msgid "The method will be called on the given [Node] in the scene tree." @@ -68646,18 +69333,19 @@ msgstr "" #: modules/visual_script/doc_classes/VisualScriptFunctionCall.xml msgid "The method will be called on a GDScript basic type (e.g. [Vector2])." msgstr "" +"Cette méthode sera appelée sur un type de base GDScript (ex. [Vector2])." #: modules/visual_script/doc_classes/VisualScriptFunctionCall.xml msgid "The method will be called on a singleton." -msgstr "" +msgstr "La méthode sera appelée sur une instance unique." #: modules/visual_script/doc_classes/VisualScriptFunctionCall.xml msgid "The method will be called locally." -msgstr "" +msgstr "Cette méthode sera appelée localement." #: modules/visual_script/doc_classes/VisualScriptFunctionCall.xml msgid "The method will be called remotely." -msgstr "" +msgstr "Cette méthode sera appelée à distance." #: modules/visual_script/doc_classes/VisualScriptFunctionCall.xml msgid "The method will be called remotely using an unreliable protocol." @@ -68674,9 +69362,8 @@ msgid "" msgstr "" #: modules/visual_script/doc_classes/VisualScriptFunctionState.xml -#, fuzzy msgid "A Visual Script node representing a function state." -msgstr "Un nœud Visual Script utilisé pour annoter le script." +msgstr "Un nœud Visual Script représentant l'état d'une fonction." #: modules/visual_script/doc_classes/VisualScriptFunctionState.xml msgid "" @@ -68691,9 +69378,8 @@ msgid "" msgstr "" #: modules/visual_script/doc_classes/VisualScriptFunctionState.xml -#, fuzzy msgid "Returns whether the function state is valid." -msgstr "Indique si le quaternion est normalisé ou non." +msgstr "Retourne si l'état de la fonction est valide." #: modules/visual_script/doc_classes/VisualScriptFunctionState.xml msgid "Resumes the function to run from the point it was yielded." @@ -68759,23 +69445,20 @@ msgid "[code]True[/code] if action is pressed." msgstr "Si [code]true[/code], l'action est pressée." #: modules/visual_script/doc_classes/VisualScriptInputAction.xml -#, fuzzy msgid "[code]True[/code] if action is released (i.e. not pressed)." -msgstr "[code]true[/code] (vrai) si c'est l'interface principale." +msgstr "[code]True[/code] si l'action est relâchée (non appuyée)." #: modules/visual_script/doc_classes/VisualScriptInputAction.xml -#, fuzzy msgid "[code]True[/code] on the frame the action was pressed." -msgstr "Si [code]true[/code], le GraphNode est sélectionné." +msgstr "[code]True[/code] lors de la trame où l'action était appuyée." #: modules/visual_script/doc_classes/VisualScriptInputAction.xml -#, fuzzy msgid "[code]True[/code] on the frame the action was released." -msgstr "Si [code]true[/code], le GraphNode est sélectionné." +msgstr "[code]True[/code] lors de la trame où l'action était relâchée." #: modules/visual_script/doc_classes/VisualScriptIterator.xml msgid "Steps through items in a given input." -msgstr "" +msgstr "Fait défiler les éléments de l'entrée spécifiée." #: modules/visual_script/doc_classes/VisualScriptIterator.xml msgid "" @@ -68822,24 +69505,20 @@ msgid "Removes an output port from the Visual Script node." msgstr "Supprime un nœud de la sélection." #: modules/visual_script/doc_classes/VisualScriptLists.xml -#, fuzzy msgid "Sets the name of an input port." -msgstr "Obtient le nom d'un entrée par son index." +msgstr "Définit le nom d'un port d'entrée." #: modules/visual_script/doc_classes/VisualScriptLists.xml -#, fuzzy msgid "Sets the type of an input port." -msgstr "Obtient le type d’une piste." +msgstr "Définit le type d'un port d'entrée." #: modules/visual_script/doc_classes/VisualScriptLists.xml -#, fuzzy msgid "Sets the name of an output port." -msgstr "Obtient le nom d'un entrée par son index." +msgstr "Définit le nom d'un port de sortie." #: modules/visual_script/doc_classes/VisualScriptLists.xml -#, fuzzy msgid "Sets the type of an output port." -msgstr "Obtient le type d’une piste." +msgstr "Définit le type d'un port de sortie." #: modules/visual_script/doc_classes/VisualScriptLocalVar.xml msgid "Gets a local variable's value." @@ -68966,7 +69645,7 @@ msgstr "" #: modules/visual_script/doc_classes/VisualScriptNode.xml msgid "Change the default value of a given port." -msgstr "" +msgstr "Modifier la valeur par défaut du port spécifié." #: modules/visual_script/doc_classes/VisualScriptNode.xml msgid "Emitted when the available input/output ports are changed." @@ -69082,9 +69761,8 @@ msgid "" msgstr "" #: modules/visual_script/doc_classes/VisualScriptPropertyGet.xml -#, fuzzy msgid "The property will be retrieved from this [Object]." -msgstr "Émis lorsqu'une interface est supprimée." +msgstr "La propriété sera récupérée depuis cet [Object]." #: modules/visual_script/doc_classes/VisualScriptPropertyGet.xml #, fuzzy @@ -69102,6 +69780,8 @@ msgstr "" msgid "" "The property will be retrieved from a GDScript basic type (e.g. [Vector2])." msgstr "" +"Cette propriété sera récupérée depuis un type de base GDScript (ex. " +"[Vector2])." #: modules/visual_script/doc_classes/VisualScriptPropertySet.xml #, fuzzy @@ -69141,9 +69821,8 @@ msgid "" msgstr "" #: modules/visual_script/doc_classes/VisualScriptPropertySet.xml -#, fuzzy msgid "The property will be set on this [Object]." -msgstr "La propriété est coché dans l'inspecteur de l'éditeur." +msgstr "La propriété sera définie dans cet [Object]." #: modules/visual_script/doc_classes/VisualScriptPropertySet.xml #, fuzzy @@ -69159,33 +69838,41 @@ msgstr "" #: modules/visual_script/doc_classes/VisualScriptPropertySet.xml msgid "The property will be set on a GDScript basic type (e.g. [Vector2])." msgstr "" +"Cette propriété sera définie depuis un type de base GDScript (ex. [Vector2])." #: modules/visual_script/doc_classes/VisualScriptPropertySet.xml msgid "The property will be assigned regularly." -msgstr "" +msgstr "La propriété sera assignée régulièrement." #: modules/visual_script/doc_classes/VisualScriptPropertySet.xml msgid "" "The value will be added to the property. Equivalent of doing [code]+=[/code]." msgstr "" +"Cette valeur sera ajouté à la propriété. Ça revient à faire [code]+=[/code]." #: modules/visual_script/doc_classes/VisualScriptPropertySet.xml msgid "" "The value will be subtracted from the property. Equivalent of doing [code]-" "=[/code]." msgstr "" +"Cette valeur sera retirée de la propriété. Ça revient à faire [code]-=[/" +"code]." #: modules/visual_script/doc_classes/VisualScriptPropertySet.xml msgid "" "The property will be multiplied by the value. Equivalent of doing [code]*=[/" "code]." msgstr "" +"Cette propriété sera multipliée par la valeur. Ça revient à faire [code]*=[/" +"code]." #: modules/visual_script/doc_classes/VisualScriptPropertySet.xml msgid "" "The property will be divided by the value. Equivalent of doing [code]/=[/" "code]." msgstr "" +"Cette propriété sera divisée par la valeur. Ça revient à faire [code]/=[/" +"code]." #: modules/visual_script/doc_classes/VisualScriptPropertySet.xml msgid "" @@ -69225,7 +69912,7 @@ msgstr "" #: modules/visual_script/doc_classes/VisualScriptReturn.xml msgid "Exits a function and returns an optional value." -msgstr "" +msgstr "Quitte une fonction et peut retourner une valeur optionnelle." #: modules/visual_script/doc_classes/VisualScriptReturn.xml msgid "" @@ -69241,6 +69928,7 @@ msgstr "" #: modules/visual_script/doc_classes/VisualScriptReturn.xml msgid "If [code]true[/code], the [code]return[/code] input port is available." msgstr "" +"Si [code]true[/code], le port d'entrée du [code]return[/code] est disponible." #: modules/visual_script/doc_classes/VisualScriptReturn.xml msgid "The return value's data type." @@ -69261,12 +69949,11 @@ msgstr "" #: modules/visual_script/doc_classes/VisualScriptSceneNode.xml msgid "The node's path in the scene tree." -msgstr "" +msgstr "Le chemin du nœud dans l'arborescence de la scène." #: modules/visual_script/doc_classes/VisualScriptSceneTree.xml -#, fuzzy msgid "A Visual Script node for accessing [SceneTree] methods." -msgstr "Un nœud Visual Script utilisé pour annoter le script." +msgstr "Un nœud de Visual Script pour accéder aux méthodes du [SceneTree]." #: modules/visual_script/doc_classes/VisualScriptSelect.xml msgid "Chooses between two input values." @@ -69289,7 +69976,7 @@ msgstr "Le type des variables d'entrée." #: modules/visual_script/doc_classes/VisualScriptSelf.xml msgid "Outputs a reference to the current instance." -msgstr "" +msgstr "Produit une référence de l'actuelle instance." #: modules/visual_script/doc_classes/VisualScriptSelf.xml msgid "" @@ -69321,9 +70008,8 @@ msgid "The number of steps in the sequence." msgstr "Nombre d’étapes de la séquence." #: modules/visual_script/doc_classes/VisualScriptSubCall.xml -#, fuzzy msgid "Calls a method called [code]_subcall[/code] in this object." -msgstr "Appelle [method bake] avec [code]create_visual_debug[/code] activé." +msgstr "Appelle la méthode nommée [code]_subcall[/code] sur cet objet." #: modules/visual_script/doc_classes/VisualScriptSubCall.xml msgid "" @@ -69374,9 +70060,8 @@ msgid "" msgstr "" #: modules/visual_script/doc_classes/VisualScriptTypeCast.xml -#, fuzzy msgid "The target type to be converted to." -msgstr "Le type à déconstruire." +msgstr "Le type cible dans lequel convertir la valeur." #: modules/visual_script/doc_classes/VisualScriptVariableGet.xml msgid "Gets a variable's value." @@ -69447,7 +70132,7 @@ msgstr "" #: modules/visual_script/doc_classes/VisualScriptYield.xml msgid "The time to wait when [member mode] is set to [constant YIELD_WAIT]." -msgstr "" +msgstr "La durée à attendre quand [member mode] est à [constant YIELD_WAIT]." #: modules/visual_script/doc_classes/VisualScriptYield.xml msgid "Yields during an idle frame." @@ -69471,6 +70156,8 @@ msgid "" "[VisualScriptYieldSignal] will pause the function execution until the " "provided signal is emitted." msgstr "" +"[VisualScriptYieldSignal] mettra l'exécution de la fonction en pause jusqu'à " +"ce que le signal spécifié soit émis." #: modules/visual_script/doc_classes/VisualScriptYieldSignal.xml msgid "" @@ -69479,13 +70166,12 @@ msgid "" msgstr "" #: modules/visual_script/doc_classes/VisualScriptYieldSignal.xml -#, fuzzy msgid "The signal name to be waited for." -msgstr "Le signal à émettre." +msgstr "Le nom du signal à attendre." #: modules/visual_script/doc_classes/VisualScriptYieldSignal.xml msgid "A signal from this [Object] will be used." -msgstr "" +msgstr "Un signal depuis cet [Object] sera utilisé." #: modules/visual_script/doc_classes/VisualScriptYieldSignal.xml msgid "A signal from the given [Node] in the scene tree will be used." @@ -69581,16 +70267,20 @@ msgid "" "projection. Objects remain the same size on the screen no matter how far " "away they are." msgstr "" +"Utilise une projection orthogonale pour la caméra. Les objets affichés " +"apparaissent avec la même taille peu importe leur éloignement de la caméra." #: doc/classes/VisualServer.xml msgid "" "Sets camera to use perspective projection. Objects on the screen becomes " "smaller when they are far away." msgstr "" +"Utilise la perspective comme projection pour la caméra. Ainsi, les objets " +"affichés apparaissent plus petits quand ils sont plus éloignés." #: doc/classes/VisualServer.xml msgid "Sets [Transform] of camera." -msgstr "Défini [Transform] de la caméra." +msgstr "Définit la [Transform] de la caméra." #: doc/classes/VisualServer.xml msgid "" @@ -69655,7 +70345,7 @@ msgstr "" #: doc/classes/VisualServer.xml msgid "Adds a polygon to the [CanvasItem]'s draw commands." -msgstr "" +msgstr "Ajouter un polygone aux commandes de dessin du [CanvasItem]." #: doc/classes/VisualServer.xml msgid "" @@ -69665,11 +70355,11 @@ msgstr "" #: doc/classes/VisualServer.xml msgid "Adds a primitive to the [CanvasItem]'s draw commands." -msgstr "" +msgstr "Ajouter une primitive aux commandes de dessin du [CanvasItem]." #: doc/classes/VisualServer.xml msgid "Adds a rectangle to the [CanvasItem]'s draw commands." -msgstr "" +msgstr "Ajouter un rectangle aux commandes de dessin du [CanvasItem]." #: doc/classes/VisualServer.xml msgid "" @@ -69715,16 +70405,15 @@ msgstr "" #: doc/classes/VisualServer.xml #, fuzzy msgid "Sets clipping for the [CanvasItem]." -msgstr "Définit la coupure du [CanvasItem]." +msgstr "Définit la coupure pour le [CanvasItem]." #: doc/classes/VisualServer.xml msgid "Sets the [CanvasItem] to copy a rect to the backbuffer." msgstr "" #: doc/classes/VisualServer.xml -#, fuzzy msgid "Defines a custom drawing rectangle for the [CanvasItem]." -msgstr "Définit l’index du [CanvasItem]." +msgstr "Définit un rectangle personnalisé à dessiner sur le [CanvasItem]." #: doc/classes/VisualServer.xml msgid "" @@ -69734,7 +70423,7 @@ msgstr "" #: doc/classes/VisualServer.xml msgid "Sets [CanvasItem] to be drawn behind its parent." -msgstr "" +msgstr "Définit le [CanvasItem] comme étant dessiné derrière son parent." #: doc/classes/VisualServer.xml msgid "Sets the index for the [CanvasItem]." @@ -69744,10 +70433,12 @@ msgstr "Définit l’index du [CanvasItem]." msgid "" "The light mask. See [LightOccluder2D] for more information on light masks." msgstr "" +"Le masque de lumière. Voir [LightOccluder2D] pour plus d'informations sur " +"les masques de lumière." #: doc/classes/VisualServer.xml msgid "Sets a new material to the [CanvasItem]." -msgstr "" +msgstr "Définit un nouveau matériau pour le [CanvasItem]." #: doc/classes/VisualServer.xml msgid "Sets the color that modulates the [CanvasItem] and its children." @@ -69762,6 +70453,7 @@ msgstr "" #: doc/classes/VisualServer.xml msgid "Sets the color that modulates the [CanvasItem] without children." msgstr "" +"Définit la couleur qui module le [CanvasItem] sans affecter ses enfants." #: doc/classes/VisualServer.xml msgid "Sets if [CanvasItem]'s children should be sorted by y-position." @@ -69773,7 +70465,7 @@ msgstr "Définit la [Transform2D] du [CanvasItem]." #: doc/classes/VisualServer.xml msgid "Sets if the [CanvasItem] uses its parent's material." -msgstr "" +msgstr "Définit si le [CanvasItem] utilise le même matériau que son parent." #: doc/classes/VisualServer.xml #, fuzzy @@ -69893,7 +70585,7 @@ msgstr "" #: doc/classes/VisualServer.xml msgid "Sets the color of the canvas light's shadow." -msgstr "" +msgstr "Définit la couleur de l'ombre du canevas." #: doc/classes/VisualServer.xml msgid "Enables or disables the canvas light's shadow." @@ -69906,9 +70598,8 @@ msgid "" msgstr "" #: doc/classes/VisualServer.xml -#, fuzzy msgid "Sets the length of the shadow's gradient." -msgstr "Retourne la longueur du quaternion." +msgstr "Définit la longueur du dégradé de l'ombre." #: doc/classes/VisualServer.xml msgid "Smoothens the shadow. The lower, the smoother." @@ -69918,16 +70609,20 @@ msgstr "" msgid "" "Sets texture to be used by light. Equivalent to [member Light2D.texture]." msgstr "" +"Définit une texture à utiliser pour la lumière. Équivalent à [member Light2D." +"texture]." #: doc/classes/VisualServer.xml msgid "" "Sets the offset of the light's texture. Equivalent to [member Light2D." "offset]." msgstr "" +"Définit le décalage de la texture de lumière. Équivalent à [member Light2D." +"offset]." #: doc/classes/VisualServer.xml msgid "Sets the canvas light's [Transform2D]." -msgstr "" +msgstr "Définit la [Transform2D] de la lumière du canevas." #: doc/classes/VisualServer.xml msgid "" @@ -69936,7 +70631,6 @@ msgid "" msgstr "" #: doc/classes/VisualServer.xml -#, fuzzy msgid "" "Creates a new light occluder polygon and adds it to the VisualServer. It can " "be accessed with the RID that is returned. This RID will be used in all " @@ -69944,13 +70638,12 @@ msgid "" "Once finished with your RID, you will want to free the RID using the " "VisualServer's [method free_rid] static method." msgstr "" -"Crée une lumière spot et l’ajoute au RenderingServer. Il peut être consulté " -"avec le RID qui est retourné. Ce RID peut être utilisé dans la plupart des " -"fonctions [code]light_*[/code] RenderingServer.\n" -"Une fois terminé avec votre RID, vous voudrez libérer le RID à l’aide de la " -"méthode statique [method free_rid] du RenderingServer.\n" -"Pour placer dans une scène, attachez cette lumière spot à une instance en " -"utilisant la [method instance_set_base] utilisant le RID retourné." +"Crée un nouveau polygone de bloqueur de lumière et l’ajoute au VisualServer. " +"Il peut être consulté avec le RID qui est retourné. Ce RID peut être utilisé " +"dans la plupart des fonctions [code]canvas_occluder_polygon_*[/code] " +"VisualServer.\n" +"Une fois terminé avec ce RID, vous voudrez libérer le RID à l’aide de la " +"méthode statique [method free_rid] du VisualServer." #: doc/classes/VisualServer.xml msgid "" @@ -70000,6 +70693,8 @@ msgid "" "Draws a frame. [i]This method is deprecated[/i], please use [method " "force_draw] instead." msgstr "" +"Affiche une trame. [i]Cette méthode est obsolète[/i], veuillez plutôt " +"utiliser [method force_draw]." #: doc/classes/VisualServer.xml #, fuzzy @@ -70121,7 +70816,6 @@ msgid "" msgstr "" #: doc/classes/VisualServer.xml -#, fuzzy msgid "Removes buffers and clears testcubes." msgstr "Supprime les tampons et efface les testcubes." @@ -70130,6 +70824,9 @@ msgid "" "Forces a frame to be drawn when the function is called. Drawing a frame " "updates all [Viewport]s that are set to update. Use with extreme caution." msgstr "" +"Force l'affichage une trame à l'appel de cette fonction. Afficher une trame " +"met à jour tous les [Viewport] qui sont actifs. À utiliser avec beaucoup de " +"vigilance." #: doc/classes/VisualServer.xml msgid "Synchronizes threads." @@ -70137,7 +70834,7 @@ msgstr "Synchronise les fils." #: doc/classes/VisualServer.xml msgid "Tries to free an object in the VisualServer." -msgstr "" +msgstr "Essaye de supprimer un objet dans le VisualServer." #: doc/classes/VisualServer.xml msgid "Returns a certain information, see [enum RenderInfo] for options." @@ -70202,9 +70899,9 @@ msgid "" msgstr "" #: doc/classes/VisualServer.xml -#, fuzzy msgid "Returns the cell size set by [method gi_probe_set_cell_size]." -msgstr "Restaurer l’état enregistré par [method get_state]." +msgstr "" +"Retourne la taille de la cellule définit par [method gi_probe_set_cell_size]." #: doc/classes/VisualServer.xml #, fuzzy @@ -70236,9 +70933,8 @@ msgid "" msgstr "" #: doc/classes/VisualServer.xml -#, fuzzy msgid "Returns the Transform set by [method gi_probe_set_to_cell_xform]." -msgstr "Restaurer l’état enregistré par [method get_state]." +msgstr "Retourne la Transform définie par [method gi_probe_set_to_cell_xform]." #: doc/classes/VisualServer.xml msgid "" @@ -70351,6 +71047,8 @@ msgid "" "Sets up [ImmediateGeometry] internals to prepare for drawing. Equivalent to " "[method ImmediateGeometry.begin]." msgstr "" +"Prépare la [ImmediateGeometry] en interne pour commencer son affichage. " +"Équivalent à [method ImmediateGeometry.begin]." #: doc/classes/VisualServer.xml msgid "" @@ -70390,9 +71088,8 @@ msgid "" msgstr "" #: doc/classes/VisualServer.xml -#, fuzzy msgid "Returns the material assigned to the [ImmediateGeometry]." -msgstr "Retourne le matériel affecté à la [ImmediateGeometry3D]." +msgstr "Retourne le matériel affecté à la [ImmediateGeometry]." #: doc/classes/VisualServer.xml msgid "" @@ -70576,17 +71273,20 @@ msgid "" "Sets the world space transform of the instance. Equivalent to [member " "Spatial.transform]." msgstr "" +"Définit la transformation globale de l'instance. Équivalent à [member " +"Spatial.transform]." #: doc/classes/VisualServer.xml -#, fuzzy msgid "Sets the lightmap to use with this instance." -msgstr "Règle le mode de ce shader." +msgstr "Définit la texture de lumière à utiliser pour cette instance." #: doc/classes/VisualServer.xml msgid "" "Sets whether an instance is drawn or not. Equivalent to [member Spatial." "visible]." msgstr "" +"Définit quand l'instance est affichée ou pas. Équivalent à [member Spatial." +"visible]." #: doc/classes/VisualServer.xml msgid "" @@ -70770,9 +71470,8 @@ msgid "Returns the cell transform for this lightmap capture's octree." msgstr "Retourne la matrice de transformation de la toile de cet objet." #: doc/classes/VisualServer.xml -#, fuzzy msgid "Returns [code]true[/code] if capture is in \"interior\" mode." -msgstr "Retourne [code]true[/code] lors de la lecture d'une animation." +msgstr "Retourne [code]true[/code] si la capture est en mode \"intérieur\"." #: doc/classes/VisualServer.xml msgid "" @@ -70836,7 +71535,7 @@ msgstr "" #: doc/classes/VisualServer.xml msgid "Returns the value of a certain material's parameter." -msgstr "" +msgstr "Retourne la valeur du paramètre du matériau." #: doc/classes/VisualServer.xml msgid "" @@ -70916,7 +71615,7 @@ msgstr "Retourne l’aabb personnalisé d’un maillage." #: doc/classes/VisualServer.xml msgid "Returns a mesh's number of surfaces." -msgstr "" +msgstr "Retourne le nombre de surface du maillage." #: doc/classes/VisualServer.xml msgid "Removes a mesh's surface." @@ -70969,7 +71668,7 @@ msgstr "Retourne le nom de la méthode d'une piste de méthode." #: doc/classes/VisualServer.xml msgid "Function is unused in Godot 3.x." -msgstr "" +msgstr "Cette fonction n'est pas utilisée dans Godot 3.x." #: doc/classes/VisualServer.xml #, fuzzy @@ -71217,6 +71916,8 @@ msgid "" "Sets the number of draw passes to use. Equivalent to [member Particles." "draw_passes]." msgstr "" +"Définit le nombre de passes de dessin à utiliser. Équivalent à [member " +"Particles.draw_passes]." #: doc/classes/VisualServer.xml msgid "" @@ -71234,6 +71935,8 @@ msgstr "" msgid "" "Sets the explosiveness ratio. Equivalent to [member Particles.explosiveness]." msgstr "" +"Définit le facteur d'explosion. Équivalent à [member Particles." +"explosiveness]." #: doc/classes/VisualServer.xml msgid "" @@ -71290,6 +71993,8 @@ msgid "" "Sets the speed scale of the particle system. Equivalent to [member Particles." "speed_scale]." msgstr "" +"Définit le facteur de vitesse des particules. Équivalent à [member Particles." +"speed_scale]." #: doc/classes/VisualServer.xml msgid "" @@ -71538,7 +72243,7 @@ msgstr "" #: doc/classes/VisualServer.xml msgid "Allocates the GPU buffers for this skeleton." -msgstr "" +msgstr "Alloue la mémoire tampon dans le GPU pour ce squelette." #: doc/classes/VisualServer.xml msgid "Returns the [Transform] set for a specific bone of this skeleton." @@ -71661,14 +72366,12 @@ msgid "" msgstr "" #: doc/classes/VisualServer.xml -#, fuzzy msgid "Returns the depth of the texture." -msgstr "Retourne la hauteur du contenu." +msgstr "Retourne la profondeur de la texture." #: doc/classes/VisualServer.xml -#, fuzzy msgid "Returns the flags of a texture." -msgstr "Retourne la texture de la tuile." +msgstr "Retourne les drapeaux de la texture." #: doc/classes/VisualServer.xml #, fuzzy @@ -71684,9 +72387,8 @@ msgid "Returns the texture's path." msgstr "Retourne le chemin de la texture." #: doc/classes/VisualServer.xml -#, fuzzy msgid "Returns the opengl id of the texture's image." -msgstr "Retourne la longueur du quaternion." +msgstr "Retourne l'identifiant OpenGL de l'image de cette texture." #: doc/classes/VisualServer.xml #, fuzzy @@ -71781,9 +72483,8 @@ msgstr "" "utilisant la [method instance_set_base] utilisant le RID retourné." #: doc/classes/VisualServer.xml -#, fuzzy msgid "Detaches the viewport from the screen." -msgstr "Supprime tous les points de la courbe." +msgstr "Retire la fenêtre d'affichage de l'écran." #: doc/classes/VisualServer.xml msgid "" @@ -71802,6 +72503,8 @@ msgstr "" #: doc/classes/VisualServer.xml msgid "If [code]true[/code], sets the viewport active, else sets it inactive." msgstr "" +"Si [code]true[/code], définit cette fenêtre d'affichage comme active, sinon " +"comme inactive." #: doc/classes/VisualServer.xml msgid "" @@ -71826,9 +72529,10 @@ msgid "" msgstr "" #: doc/classes/VisualServer.xml -#, fuzzy msgid "If [code]true[/code], a viewport's 3D rendering is disabled." -msgstr "Si [code]true[/code], le filtrage est activé." +msgstr "" +"Si [code]true[/code], le rendu 3D de cette fenêtre d'affichage est " +"désactivée." #: doc/classes/VisualServer.xml msgid "" @@ -71935,6 +72639,8 @@ msgid "" "If [code]true[/code], the viewport uses augmented or virtual reality " "technologies. See [ARVRInterface]." msgstr "" +"Si [code]true[/code], la fenêtre d'affichage utilise la réalité augmentée ou " +"virtuelle. Voir [ARVRInterface]." #: doc/classes/VisualServer.xml msgid "" @@ -71958,9 +72664,10 @@ msgid "" msgstr "" #: doc/classes/VisualServer.xml -#, fuzzy msgid "If [code]true[/code], the viewport's rendering is flipped vertically." -msgstr "Si [code]vrai[/code], la texture est inversée verticalement." +msgstr "" +"Si [code]vrai[/code], le rendu de cette fenêtre d'affichage est inversée " +"verticalement." #: doc/classes/VisualServer.xml msgid "" @@ -72043,7 +72750,7 @@ msgstr "Définit le côté arrière d'un cubemap." #: doc/classes/VisualServer.xml msgid "Normal texture with 2 dimensions, width and height." -msgstr "" +msgstr "Une texture à 2 dimensions, largeur et hauteur." #: doc/classes/VisualServer.xml msgid "" @@ -72057,11 +72764,12 @@ msgstr "Un tableau de textures 2D." #: doc/classes/VisualServer.xml msgid "A 3-dimensional texture with width, height, and depth." -msgstr "" +msgstr "Une texture à 3 dimensions, largeur et hauteur, et profondeur." #: doc/classes/VisualServer.xml +#, fuzzy msgid "Repeats the texture (instead of clamp to edge)." -msgstr "" +msgstr "Répète la texture (plutôt que de s'arrêter aux bordures)." #: doc/classes/VisualServer.xml msgid "Repeats the texture with alternate sections mirrored." @@ -72074,23 +72782,20 @@ msgid "" msgstr "" #: doc/classes/VisualServer.xml -#, fuzzy msgid "Shader is a 3D shader." -msgstr "Shader est un shader 3D." +msgstr "Ce shader est utilisé en 3D." #: doc/classes/VisualServer.xml -#, fuzzy msgid "Shader is a 2D shader." -msgstr "Shader est un shader 2D." +msgstr "Ce shader est utilisé en 2D." #: doc/classes/VisualServer.xml -#, fuzzy msgid "Shader is a particle shader." -msgstr "Shader est un shader de particules." +msgstr "Ce shader est utilisé pour les particules." #: doc/classes/VisualServer.xml msgid "Represents the size of the [enum ShaderMode] enum." -msgstr "" +msgstr "Représente la taille de l'énumération [enum ShaderMode]." #: doc/classes/VisualServer.xml msgid "Array is a vertex array." @@ -72163,9 +72868,8 @@ msgid "Flag used to mark a weights array." msgstr "Drapeau utilisé pour marquer un tableau de poids." #: doc/classes/VisualServer.xml -#, fuzzy msgid "Flag used to mark an index array." -msgstr "Drapeau utilisé pour marquer un tableau d’index." +msgstr "Le drapeau utilisé pour marquer un tableau d’index." #: doc/classes/VisualServer.xml msgid "" @@ -72212,7 +72916,7 @@ msgstr "" #: doc/classes/VisualServer.xml msgid "Represents the size of the [enum PrimitiveType] enum." -msgstr "" +msgstr "Représente la taille de l'énumération [enum PrimitiveType]." #: doc/classes/VisualServer.xml msgid "Is a directional (sun) light." @@ -72299,7 +73003,7 @@ msgstr "" #: doc/classes/VisualServer.xml msgid "Represents the size of the [enum LightParam] enum." -msgstr "" +msgstr "Représente la taille de l'énumération [enum LightParam]." #: doc/classes/VisualServer.xml msgid "Use a dual paraboloid shadow map for omni lights." @@ -72350,7 +73054,7 @@ msgstr "Ne pas mettre à jour le viewport." #: doc/classes/VisualServer.xml msgid "Update the viewport once then set to disabled." -msgstr "" +msgstr "Met à jour le fenêtre d'affichage une fois puis arrête les mis à jour." #: doc/classes/VisualServer.xml msgid "Update the viewport whenever it is visible." @@ -72452,20 +73156,18 @@ msgid "Number of 2d items drawn this frame." msgstr "Nombre de changements de surface pendant cette image." #: doc/classes/VisualServer.xml -#, fuzzy msgid "Number of 2d draw calls during this frame." -msgstr "Nombre de changements de surface pendant cette image." +msgstr "Le nombre d'appels de dessin 2D pendant cette trame." #: doc/classes/VisualServer.xml msgid "Represents the size of the [enum ViewportRenderInfo] enum." -msgstr "" +msgstr "Représente la taille de l'énumération [enum ViewportRenderInfo]." #: doc/classes/VisualServer.xml msgid "Debug draw is disabled. Default setting." msgstr "L'affichage de débogage est désactivé. C'est la valeur par défaut." #: doc/classes/VisualServer.xml -#, fuzzy msgid "Debug draw sets objects to unshaded." msgstr "L'affichage de débogage est sans matériau." @@ -72536,7 +73238,7 @@ msgstr "" #: doc/classes/VisualServer.xml msgid "Represents the size of the [enum InstanceType] enum." -msgstr "" +msgstr "Représente la taille de l'énumération [enum InstanceType]." #: doc/classes/VisualServer.xml msgid "" @@ -72563,9 +73265,8 @@ msgid "Disable shadows from this instance." msgstr "Désactiver les ombres de cette instance." #: doc/classes/VisualServer.xml -#, fuzzy msgid "Cast shadows from this instance." -msgstr "Projette les ombres depuis cette instance." +msgstr "Cette instance affiche une ombre." #: doc/classes/VisualServer.xml msgid "" @@ -72650,36 +73351,35 @@ msgstr "" #: doc/classes/VisualServer.xml msgid "The amount of objects in the frame." -msgstr "Le quantité d'objet dans le trame." +msgstr "Le nombre d'objet dans cette trame." #: doc/classes/VisualServer.xml msgid "The amount of vertices in the frame." -msgstr "Le quantité de sommets dans le trame." +msgstr "Le nombre de sommets dans cette trame." #: doc/classes/VisualServer.xml msgid "The amount of modified materials in the frame." -msgstr "Le quantité de matériaux modifiés dans le trame." +msgstr "Le nombre de matériaux modifiés dans cette trame." #: doc/classes/VisualServer.xml -#, fuzzy msgid "The amount of shader rebinds in the frame." -msgstr "Le quantité de shaders reconnectés dans le trame." +msgstr "Le nombre de shaders reconnectés dans cette trame." #: doc/classes/VisualServer.xml msgid "The amount of surface changes in the frame." -msgstr "Le quantité de changements de surface dans le trame." +msgstr "Le nombre de changements de surface dans la trame." #: doc/classes/VisualServer.xml msgid "The amount of draw calls in frame." -msgstr "Le quantité d'appels de dessin dans le trame." +msgstr "Le nombre d'appels de dessin durant la trame." #: doc/classes/VisualServer.xml msgid "The amount of 2d items in the frame." -msgstr "La quantité d'éléments 2D dans la trame." +msgstr "Le nombre d'éléments 2D dans cette trame." #: doc/classes/VisualServer.xml msgid "The amount of 2d draw calls in frame." -msgstr "La quantité d'appels de dessin 2D dans la trame." +msgstr "Le nombre d'appels de dessin 2D dans cette trame." #: doc/classes/VisualServer.xml msgid "Hardware supports shaders. This enum is currently unused in Godot 3.x." @@ -72787,7 +73487,7 @@ msgstr "" #: doc/classes/VisualServer.xml msgid "Represents the size of the [enum EnvironmentBG] enum." -msgstr "" +msgstr "Représente la taille de l'énumération [enum EnvironmentBG]." #: doc/classes/VisualServer.xml msgid "Use lowest blur quality. Fastest, but may look bad." @@ -72856,15 +73556,17 @@ msgstr "Désactive le flou pour le SSAO. Cela affiche plus de bruits." #: doc/classes/VisualServer.xml msgid "Perform a 1x1 blur on the SSAO output." -msgstr "" +msgstr "Utilise un flou de 1x1 pour le rendu du SSAO." #: doc/classes/VisualServer.xml msgid "Performs a 2x2 blur on the SSAO output." -msgstr "" +msgstr "Utilise un flou de 2x2 pour le rendu du SSAO." #: doc/classes/VisualServer.xml msgid "Performs a 3x3 blur on the SSAO output. Use this for smoothest SSAO." msgstr "" +"Utilise un flou de 3x3 pour le rendu du SSAO. C'est le plus résultat le plus " +"lisse." #: doc/classes/VisualServer.xml msgid "" @@ -72902,6 +73604,8 @@ msgid "" "Returns [code]true[/code] if the specified nodes and ports can be connected " "together." msgstr "" +"Retourne [code]true[/code] si les nœuds spécifiés et les ports peuvent être " +"connectés ensemble." #: doc/classes/VisualShader.xml msgid "Connects the specified nodes and ports." @@ -72961,7 +73665,6 @@ msgid "A fragment shader, operating on fragments (pixels)." msgstr "Un shader de fragment, s'appliquant sur chacun des pixels (fragments)." #: doc/classes/VisualShader.xml -#, fuzzy msgid "A shader for light calculations." msgstr "Un shader pour les calculs de lumière." @@ -72989,7 +73692,7 @@ msgstr "" #: doc/classes/VisualShaderNode.xml msgid "Returns the default value of the input [code]port[/code]." -msgstr "" +msgstr "Retourne la valeur par défaut de l'entrée [code]port[/code]." #: doc/classes/VisualShaderNode.xml msgid "" @@ -73000,7 +73703,7 @@ msgstr "" #: doc/classes/VisualShaderNode.xml msgid "Sets the default value for the selected input [code]port[/code]." -msgstr "" +msgstr "Définit la valeur par défaut de l'entrée [code]port[/code]." #: doc/classes/VisualShaderNode.xml msgid "" @@ -73020,20 +73723,27 @@ msgstr "" msgid "" "Floating-point scalar. Translated to [code]float[/code] type in shader code." msgstr "" +"Un nombre flottant. Sera traduit en [code]float[/code] dans le code du " +"shader." #: doc/classes/VisualShaderNode.xml msgid "" "3D vector of floating-point values. Translated to [code]vec3[/code] type in " "shader code." msgstr "" +"Un vecteur 3D avec des composants flottants. Le type [code]vec3[/code] sera " +"utilisé dans le code du shader." #: doc/classes/VisualShaderNode.xml msgid "Boolean type. Translated to [code]bool[/code] type in shader code." msgstr "" +"Un booléen. Le type [code]bool[/code] sera utilisé dans le code du shader." #: doc/classes/VisualShaderNode.xml msgid "Transform type. Translated to [code]mat4[/code] type in shader code." msgstr "" +"Le type Transform. Le type [code]mat4[/code] sera utilisé dans le code du " +"shader." #: doc/classes/VisualShaderNode.xml msgid "" @@ -73043,7 +73753,7 @@ msgstr "" #: doc/classes/VisualShaderNode.xml msgid "Represents the size of the [enum PortType] enum." -msgstr "" +msgstr "Représente la taille de l'énumération [enum PortType]." #: doc/classes/VisualShaderNodeBooleanConstant.xml msgid "A boolean constant to be used within the visual shader graph." @@ -73054,6 +73764,8 @@ msgid "" "Has only one output port and no inputs.\n" "Translated to [code]bool[/code] in the shader language." msgstr "" +"N'a qu'une seule sortie et aucun entrée.\n" +"Sera traduit en [code]bool[/code] dans le code du shader." #: doc/classes/VisualShaderNodeBooleanConstant.xml msgid "A boolean constant which represents a state of this node." @@ -73065,7 +73777,7 @@ msgstr "" #: doc/classes/VisualShaderNodeBooleanUniform.xml msgid "Translated to [code]uniform bool[/code] in the shader language." -msgstr "" +msgstr "Sera traduit en [code]uniform bool[/code] dans le code du shader." #: doc/classes/VisualShaderNodeBooleanUniform.xml #: doc/classes/VisualShaderNodeColorUniform.xml @@ -73083,9 +73795,8 @@ msgstr "" #: doc/classes/VisualShaderNodeScalarUniform.xml #: doc/classes/VisualShaderNodeTransformUniform.xml #: doc/classes/VisualShaderNodeVec3Uniform.xml -#, fuzzy msgid "Enables usage of the [member default_value]." -msgstr "Activer l'usage de [member default_value]." +msgstr "Active l'usage de [member default_value]." #: doc/classes/VisualShaderNodeColorConstant.xml msgid "A [Color] constant to be used within the visual shader graph." @@ -73256,7 +73967,7 @@ msgstr "" #: doc/classes/VisualShaderNodeColorUniform.xml msgid "Translated to [code]uniform vec4[/code] in the shader language." -msgstr "" +msgstr "Sera traduit en [code]uniform vec4[/code] dans le code du shader." #: doc/classes/VisualShaderNodeCompare.xml msgid "A comparison function for common types within the visual shader graph." @@ -73277,7 +73988,7 @@ msgstr "" #: doc/classes/VisualShaderNodeCompare.xml msgid "A comparison function. See [enum Function] for options." -msgstr "" +msgstr "Un fonction de comparaison. Voir [enum Function] pour les options." #: doc/classes/VisualShaderNodeCompare.xml msgid "" @@ -73363,6 +74074,8 @@ msgid "" "Translated to [code]texture(cubemap, vec3)[/code] in the shader language. " "Returns a color vector and alpha channel as scalar." msgstr "" +"Sera traduit en [code]texture(cubemap, vec3)[/code] dans le code du shader. " +"Retourne une couleur dans un vecteur et le canal alpha comme scalaire." #: doc/classes/VisualShaderNodeCubeMap.xml msgid "" @@ -73400,7 +74113,7 @@ msgstr "" #: doc/classes/VisualShaderNodeTexture.xml #: doc/classes/VisualShaderNodeTextureUniform.xml msgid "No hints are added to the uniform declaration." -msgstr "" +msgstr "Aucun indice n'a été ajouté à la déclaration de l'uniform." #: doc/classes/VisualShaderNodeCubeMap.xml #: doc/classes/VisualShaderNodeTexture.xml @@ -73588,9 +74301,8 @@ msgstr "" "Calcule le déterminant d’un [Transform] dans le graphique du nuanceur visuel." #: doc/classes/VisualShaderNodeDeterminant.xml -#, fuzzy msgid "Translates to [code]determinant(x)[/code] in the shader language." -msgstr "Traduit vers [code]deteminant(x)[/code] dans le langage du shader." +msgstr "Sera traduit en [code]deteminant(x)[/code] dans le code du shader." #: doc/classes/VisualShaderNodeDotProduct.xml msgid "Calculates a dot product of two vectors within the visual shader graph." @@ -73600,7 +74312,7 @@ msgstr "" #: doc/classes/VisualShaderNodeDotProduct.xml msgid "Translates to [code]dot(a, b)[/code] in the shader language." -msgstr "" +msgstr "Sera traduit en [code]dot(a, b)[/code] dans le code du shader." #: doc/classes/VisualShaderNodeExpression.xml msgid "" @@ -73695,27 +74407,33 @@ msgstr "" #: doc/classes/VisualShaderNodeGroupBase.xml msgid "Removes all previously specified input ports." -msgstr "" +msgstr "Retire tous les ports d'entrées précédemment spécifiés." #: doc/classes/VisualShaderNodeGroupBase.xml msgid "Removes all previously specified output ports." -msgstr "" +msgstr "Retire tous les ports de sortie précédemment spécifiés." #: doc/classes/VisualShaderNodeGroupBase.xml msgid "" "Returns a free input port ID which can be used in [method add_input_port]." msgstr "" +"Retourne un identifiant d'un port d'entrée libre qui peut être utilisé pour " +"[method add_input_port]." #: doc/classes/VisualShaderNodeGroupBase.xml msgid "" "Returns a free output port ID which can be used in [method add_output_port]." msgstr "" +"Retourne un identifiant d'un port de sortie libre qui peut être utilisé pour " +"[method add_input_port]." #: doc/classes/VisualShaderNodeGroupBase.xml msgid "" "Returns the number of input ports in use. Alternative for [method " "get_free_input_port_id]." msgstr "" +"Retourne le nombre de ports d'entrée utilisés. C'est une alternative à " +"[method get_free_input_port_id]." #: doc/classes/VisualShaderNodeGroupBase.xml msgid "" @@ -73728,6 +74446,8 @@ msgid "" "Returns the number of output ports in use. Alternative for [method " "get_free_output_port_id]." msgstr "" +"Retourne le nombre de ports de sortie utilisés. C'est une alternative à " +"[method get_free_output_port_id]." #: doc/classes/VisualShaderNodeGroupBase.xml msgid "" @@ -73737,11 +74457,11 @@ msgstr "" #: doc/classes/VisualShaderNodeGroupBase.xml msgid "Returns [code]true[/code] if the specified input port exists." -msgstr "" +msgstr "Retourne [code]true[/code] si le port d'entrée spécifié existe." #: doc/classes/VisualShaderNodeGroupBase.xml msgid "Returns [code]true[/code] if the specified output port exists." -msgstr "" +msgstr "Retourne [code]true[/code] si le port de sortie spécifié existe." #: doc/classes/VisualShaderNodeGroupBase.xml msgid "" @@ -73887,12 +74607,12 @@ msgstr "" #: doc/classes/VisualShaderNodeScalarDerivativeFunc.xml #: doc/classes/VisualShaderNodeVectorDerivativeFunc.xml msgid "Derivative in [code]x[/code] using local differencing." -msgstr "" +msgstr "Dérive selon [code]x[/code] par différenciation locale." #: doc/classes/VisualShaderNodeScalarDerivativeFunc.xml #: doc/classes/VisualShaderNodeVectorDerivativeFunc.xml msgid "Derivative in [code]y[/code] using local differencing." -msgstr "" +msgstr "Dérive selon [code]y[/code] par différenciation locale." #: doc/classes/VisualShaderNodeScalarInterp.xml msgid "" @@ -73901,7 +74621,7 @@ msgstr "" #: doc/classes/VisualShaderNodeScalarInterp.xml msgid "Translates to [code]mix(a, b, weight)[/code] in the shader language." -msgstr "" +msgstr "Sera traduit en [code]mix(a, b, weight)[/code] dans le code du shader." #: doc/classes/VisualShaderNodeScalarSmoothStep.xml msgid "Calculates a scalar SmoothStep function within the visual shader graph." @@ -73970,9 +74690,8 @@ msgid "" msgstr "" #: doc/classes/VisualShaderNodeScalarUniform.xml -#, fuzzy msgid "Represents the size of the [enum Hint] enum." -msgstr "Représente la taille de l’enum [enum TabAlign]." +msgstr "Représente la taille de l'énumération [enum Hint]." #: doc/classes/VisualShaderNodeSwitch.xml msgid "A boolean/vector function for use within the visual shader graph." @@ -74193,9 +74912,8 @@ msgid "A [Transform] uniform for use within the visual shader graph." msgstr "" #: doc/classes/VisualShaderNodeTransformUniform.xml -#, fuzzy msgid "Translated to [code]uniform mat4[/code] in the shader language." -msgstr "Traduit en [code]uniform mat4[/code] dans la langue de shader." +msgstr "Sera traduit en [code]uniform mat4[/code] dans le code du shader." #: doc/classes/VisualShaderNodeTransformVecMult.xml #, fuzzy @@ -74219,10 +74937,12 @@ msgstr "" #: doc/classes/VisualShaderNodeTransformVecMult.xml msgid "Multiplies transform [code]a[/code] by the vector [code]b[/code]." msgstr "" +"Multiplie la transformation [code]a[/code] par le vecteur [code]b[/code]." #: doc/classes/VisualShaderNodeTransformVecMult.xml msgid "Multiplies vector [code]b[/code] by the transform [code]a[/code]." msgstr "" +"Multiplie le vecteur [code]b[/code] par la transformation [code]a[/code]." #: doc/classes/VisualShaderNodeTransformVecMult.xml msgid "" @@ -74256,7 +74976,7 @@ msgstr "" #: doc/classes/VisualShaderNodeUniformRef.xml msgid "A reference to an existing [VisualShaderNodeUniform]." -msgstr "" +msgstr "Une référence à un [VisualShaderNodeUniform] existant." #: doc/classes/VisualShaderNodeUniformRef.xml msgid "" @@ -74286,7 +75006,7 @@ msgstr "" #: doc/classes/VisualShaderNodeVec3Uniform.xml msgid "Translated to [code]uniform vec3[/code] in the shader language." -msgstr "" +msgstr "Sera traduit en [code]uniform vec3[/code] dans le code du shader." #: doc/classes/VisualShaderNodeVectorClamp.xml msgid "Clamps a vector value within the visual shader graph." @@ -74340,6 +75060,9 @@ msgid "" "vector [code]p1[/code].\n" "Translated to [code]distance(p0, p1)[/code] in the shader language." msgstr "" +"Calcule la distance entre le point représenté par le vecteur [code]p0[/code] " +"et le vecteur [code]p1[/code].\n" +"Sera traduit en [code]distance(p0, p1)[/code] dans le code du shader." #: doc/classes/VisualShaderNodeVectorFunc.xml msgid "A vector function to be used within the visual shader graph." @@ -74361,7 +75084,7 @@ msgstr "" #: doc/classes/VisualShaderNodeVectorFunc.xml msgid "Clamps the value between [code]0.0[/code] and [code]1.0[/code]." -msgstr "" +msgstr "Limite la valeur entre [code]0.0[/code] et [code]1.0[/code]." #: doc/classes/VisualShaderNodeVectorFunc.xml msgid "Returns the opposite value of the parameter." @@ -74514,6 +75237,8 @@ msgid "" "Translates to [code]mix(a, b, weight)[/code] in the shader language, where " "[code]weight[/code] is a [Vector3] with weights for each component." msgstr "" +"Sera traduit en [code]mix(a, b, weight)[/code] dans le code du shader, où " +"[code]weight[/code] est un [Vector3] avec le poids de chacun des composants." #: doc/classes/VisualShaderNodeVectorLen.xml msgid "Returns the length of a [Vector3] within the visual shader graph." @@ -74521,7 +75246,7 @@ msgstr "" #: doc/classes/VisualShaderNodeVectorLen.xml msgid "Translated to [code]length(p0)[/code] in the shader language." -msgstr "" +msgstr "Sera traduit en [code]length(p0)[/code] dans le code du shader." #: doc/classes/VisualShaderNodeVectorOp.xml msgid "A vector operator to be used within the visual shader graph." @@ -74542,10 +75267,8 @@ msgid "Adds two vectors." msgstr "Ajoute deux vecteurs." #: doc/classes/VisualShaderNodeVectorOp.xml -#, fuzzy msgid "Subtracts a vector from a vector." -msgstr "" -"Construit une nouvelle chaîne de caractères à partir du [Vector2] donné." +msgstr "Soustrait un vecteur d'un autre vecteur." #: doc/classes/VisualShaderNodeVectorOp.xml msgid "Multiplies two vectors." @@ -74647,6 +75370,9 @@ msgid "" "Returns [code]0.0[/code] if [code]x[/code] is smaller than [code]edge[/code] " "and [code]1.0[/code] otherwise." msgstr "" +"Sera traduit en [code]step(edge, x)[/code] dans le code du shader.\n" +"Retourne [code]0.0[/code] si [code]x[/code] est inférieur à [code]edge[/" +"code], et [code]1.0[/code] sinon." #: doc/classes/VisualShaderNodeVectorSmoothStep.xml msgid "Calculates a vector SmoothStep function within the visual shader graph." @@ -74723,7 +75449,7 @@ msgstr "" #: doc/classes/VSlider.xml msgid "The background of the area below the grabber." -msgstr "" +msgstr "L'arrière plan de l'aire sous le glisseur." #: doc/classes/VSlider.xml msgid "" @@ -74764,6 +75490,8 @@ msgstr "" #: doc/classes/WeakRef.xml msgid "Returns the [Object] this weakref is referring to." msgstr "" +"Retourne le [Object] que cette référence faible ([code]weakref[/code]) " +"contient." #: modules/webrtc/doc_classes/WebRTCDataChannel.xml msgid "Closes this data channel, notifying the other peer." @@ -75381,7 +76109,7 @@ msgstr "" #: modules/websocket/doc_classes/WebSocketPeer.xml msgid "Returns [code]true[/code] if this peer is currently connected." -msgstr "" +msgstr "Retourne [code]true[/code] si ce pair est actuellement connecté." #: modules/websocket/doc_classes/WebSocketPeer.xml msgid "" @@ -75459,10 +76187,15 @@ msgid "" msgstr "" #: modules/websocket/doc_classes/WebSocketServer.xml -msgid "Stops the server and clear its state." +msgid "" +"Sets additional headers to be sent to clients during the HTTP handshake." msgstr "" #: modules/websocket/doc_classes/WebSocketServer.xml +msgid "Stops the server and clear its state." +msgstr "Arrête le serveur et efface son état." + +#: modules/websocket/doc_classes/WebSocketServer.xml msgid "" "When not set to [code]*[/code] will restrict incoming connections to the " "specified IP address. Setting [code]bind_ip[/code] to [code]127.0.0.1[/code] " @@ -75554,6 +76287,9 @@ msgid "" "\n" " webxr_interface = ARVRServer.find_interface(\"WebXR\")\n" " if webxr_interface:\n" +" # Map to the standard button/axis ids when possible.\n" +" webxr_interface.xr_standard_mapping = true\n" +"\n" " # WebXR uses a lot of asynchronous callbacks, so we connect to " "various\n" " # signals in order to receive them.\n" @@ -75779,6 +76515,13 @@ msgstr "" #: modules/webxr/doc_classes/WebXRInterface.xml msgid "" +"If set to true, the button and axes ids will be converted to match the " +"standard ids used by other AR/VR interfaces, when possible.\n" +"Otherwise, the ids will be passed through unaltered from WebXR." +msgstr "" + +#: modules/webxr/doc_classes/WebXRInterface.xml +msgid "" "Emitted to indicate that the reference space has been reset or " "reconfigured.\n" "When (or whether) this is emitted depends on the user's browser or device, " @@ -75913,9 +76656,8 @@ msgid "The color of the title text." msgstr "La couleur du titre." #: doc/classes/WindowDialog.xml -#, fuzzy msgid "The horizontal offset of the close button." -msgstr "Le décalage horizontal de l'ombre du texte." +msgstr "Le décalage horizontal du bouton fermer." #: doc/classes/WindowDialog.xml msgid "" diff --git a/doc/translations/gl.po b/doc/translations/gl.po index 20605af75c..8320f0535e 100644 --- a/doc/translations/gl.po +++ b/doc/translations/gl.po @@ -3324,8 +3324,12 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" "Hints that an integer, float or string property is an enumerated value to " -"pick in a list specified via a hint string such as [code]\"Hello,Something," -"Else\"[/code]." +"pick in a list specified via a hint string.\n" +"The hint string is a comma separated list of names such as [code]\"Hello," +"Something,Else\"[/code]. For integer and float properties, the first name in " +"the list has value 0, the next 1, and so on. Explicit values can also be " +"specified by appending [code]:integer[/code] to the name, e.g. [code]\"Zero," +"One,Three:3,Four,Six:6\"[/code]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -3466,7 +3470,7 @@ msgid "The property is a translatable string." msgstr "" #: doc/classes/@GlobalScope.xml -msgid "Used to group properties together in the editor." +msgid "Used to group properties together in the editor. See [EditorInspector]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -5237,8 +5241,11 @@ msgstr "" #: doc/classes/AnimationNodeBlendTree.xml msgid "" -"This node may contain a sub-tree of any other blend type nodes, such as mix, " -"blend2, blend3, one shot, etc. This is one of the most commonly used roots." +"This node may contain a sub-tree of any other blend type nodes, such as " +"[AnimationNodeTransition], [AnimationNodeBlend2], [AnimationNodeBlend3], " +"[AnimationNodeOneShot], etc. This is one of the most commonly used roots.\n" +"An [AnimationNodeOutput] node named [code]output[/code] is created by " +"default." msgstr "" #: doc/classes/AnimationNodeBlendTree.xml @@ -6980,8 +6987,9 @@ msgstr "" #: doc/classes/Array.xml msgid "" -"Removes the first occurrence of a value from the array. To remove an element " -"by index, use [method remove] instead.\n" +"Removes the first occurrence of a value from the array. If the value does " +"not exist in the array, nothing happens. To remove an element by index, use " +"[method remove] instead.\n" "[b]Note:[/b] This method acts in-place and doesn't return a value.\n" "[b]Note:[/b] On large arrays, this method will be slower if the removed " "element is close to the beginning of the array (index 0). This is because " @@ -10357,8 +10365,15 @@ msgstr "" #: doc/classes/BakedLightmap.xml msgid "" -"When enabled, the lightmapper will merge the textures for all meshes into a " -"single large layered texture. Not supported in GLES2." +"If [code]true[/code], the lightmapper will merge the textures for all meshes " +"into one or several large layered textures. If [code]false[/code], every " +"mesh will get its own lightmap texture, which is less efficient.\n" +"[b]Note:[/b] Atlas lightmap rendering is only supported in GLES3, [i]not[/i] " +"GLES2. Non-atlas lightmap rendering is supported by both GLES3 and GLES2. If " +"[member ProjectSettings.rendering/quality/driver/fallback_to_gles2] is " +"[code]true[/code], consider baking lightmaps with [member atlas_generate] " +"set to [code]false[/code] so that the resulting lightmap is visible in both " +"GLES3 and GLES2." msgstr "" #: doc/classes/BakedLightmap.xml @@ -11701,8 +11716,8 @@ msgstr "" #: doc/classes/Camera.xml msgid "" "The camera's size measured as 1/2 the width or height. Only applicable in " -"orthogonal mode. Since [member keep_aspect] locks on axis, [code]size[/code] " -"sets the other axis' size length." +"orthogonal and frustum modes. Since [member keep_aspect] locks on axis, " +"[code]size[/code] sets the other axis' size length." msgstr "" #: doc/classes/Camera.xml @@ -12500,20 +12515,24 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], the node won't inherit its " -"transform from parent canvas items." +"If [code]enable[/code] is [code]true[/code], this [CanvasItem] will [i]not[/" +"i] inherit its transform from parent [CanvasItem]s. Its draw order will also " +"be changed to make it draw on top of other [CanvasItem]s that are not set as " +"top-level. The [CanvasItem] will effectively act as if it was placed as a " +"child of a bare [Node]. See also [method is_set_as_toplevel]." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"local transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_LOCAL_TRANSFORM_CHANGED] when its local transform " +"changes." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"global transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_TRANSFORM_CHANGED] when its global transform changes." msgstr "" #: doc/classes/CanvasItem.xml @@ -12627,9 +12646,14 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"The [CanvasItem]'s transform has changed. This notification is only received " -"if enabled by [method set_notify_transform] or [method " -"set_notify_local_transform]." +"The [CanvasItem]'s global transform has changed. This notification is only " +"received if enabled by [method set_notify_transform]." +msgstr "" + +#: doc/classes/CanvasItem.xml +msgid "" +"The [CanvasItem]'s local transform has changed. This notification is only " +"received if enabled by [method set_notify_local_transform]." msgstr "" #: doc/classes/CanvasItem.xml @@ -13584,7 +13608,10 @@ msgid "" "number of 2D collision [Shape2D]s. Each shape must be assigned to a [i]shape " "owner[/i]. The CollisionObject2D can have any number of shape owners. Shape " "owners are not nodes and do not appear in the editor, but are accessible " -"through code using the [code]shape_owner_*[/code] methods." +"through code using the [code]shape_owner_*[/code] methods.\n" +"[b]Note:[/b] Only collisions between objects within the same canvas " +"([Viewport] canvas or [CanvasLayer]) are supported. The behavior of " +"collisions between objects in different canvases is undefined." msgstr "" #: doc/classes/CollisionObject2D.xml @@ -19591,9 +19618,8 @@ msgid "" "main font.\n" "DynamicFont uses the [url=https://www.freetype.org/]FreeType[/url] library " "for rasterization. Supported formats are TrueType ([code].ttf[/code]), " -"OpenType ([code].otf[/code]) and Web Open Font Format 1 ([code].woff[/" -"code]). Web Open Font Format 2 ([code].woff2[/code]) is [i]not[/i] " -"supported.\n" +"OpenType ([code].otf[/code]), Web Open Font Format 1 ([code].woff[/code]), " +"and Web Open Font Format 2 ([code].woff2[/code]).\n" "[codeblock]\n" "var dynamic_font = DynamicFont.new()\n" "dynamic_font.font_data = load(\"res://BarlowCondensed-Bold.ttf\")\n" @@ -20460,18 +20486,34 @@ msgid "" msgstr "" #: doc/classes/EditorInspector.xml -msgid "A tab used to edit properties of the selected node." +msgid "A control used to edit properties of an object." msgstr "" #: doc/classes/EditorInspector.xml msgid "" -"The editor inspector is by default located on the right-hand side of the " -"editor. It's used to edit the properties of the selected node. For example, " -"you can select a node such as [Sprite] then edit its transform through the " -"inspector tool. The editor inspector is an essential tool in the game " -"development workflow.\n" -"[b]Note:[/b] This class shouldn't be instantiated directly. Instead, access " -"the singleton using [method EditorInterface.get_inspector]." +"This is the control that implements property editing in the editor's " +"Settings dialogs, the Inspector dock, etc. To get the [EditorInspector] used " +"in the editor's Inspector dock, use [method EditorInterface.get_inspector].\n" +"[EditorInspector] will show properties in the same order as the array " +"returned by [method Object.get_property_list].\n" +"If a property's name is path-like (i.e. if it contains forward slashes), " +"[EditorInspector] will create nested sections for \"directories\" along the " +"path. For example, if a property is named [code]highlighting/gdscript/" +"node_path_color[/code], it will be shown as \"Node Path Color\" inside the " +"\"GDScript\" section nested inside the \"Highlighting\" section.\n" +"If a property has [constant @GlobalScope.PROPERTY_USAGE_GROUP] usage, it " +"will group subsequent properties whose name starts with the property's hint " +"string. The group ends when a property does not start with that hint string " +"or when a new group starts. An empty group name effectively ends the current " +"group. [EditorInspector] will create a top-level section for each group. For " +"example, if a property with group usage is named [code]Collide With[/code] " +"and its hint string is [code]collide_with_[/code], a subsequent " +"[code]collide_with_area[/code] property will be shown as \"Area\" inside the " +"\"Collide With\" section.\n" +"[b]Note:[/b] Unlike sections created from path-like property names, " +"[EditorInspector] won't capitalize the name for sections created from " +"groups. So properties with group usage usually use capitalized names instead " +"of snake_cased names." msgstr "" #: doc/classes/EditorInspector.xml @@ -21646,6 +21688,14 @@ msgid "" "[/codeblock]" msgstr "" +#: modules/gltf/doc_classes/EditorSceneImporterGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [EditorSceneImporterGLTF] within a script will cause an error in an " +"exported project." +msgstr "" + #: doc/classes/EditorScenePostImport.xml msgid "Post-processes scenes after import." msgstr "" @@ -22383,12 +22433,13 @@ msgstr "" #: doc/classes/EditorVCSInterface.xml msgid "" "Helper function to create a commit [Dictionary] item. [code]msg[/code] is " -"the commit message of the commit. [code]author[/code] is a human-readable " -"string containing the author's details, e.g. the email and name configured " -"in the VCS. [code]id[/code] is the identifier of the commit, in whichever " -"format your VCS may provide an identifier to commits. [code]date[/code] is " -"directly added to the commit item and displayed in the editor, and hence, it " -"shall be a well-formatted, human-readable date string." +"the commit message of the commit. [code]author[/code] is a single human-" +"readable string containing all the author's details, e.g. the email and name " +"configured in the VCS. [code]id[/code] is the identifier of the commit, in " +"whichever format your VCS may provide an identifier to commits. " +"[code]unix_timestamp[/code] is the UTC Unix timestamp of when the commit was " +"created. [code]offset_minutes[/code] is the timezone offset in minutes, " +"recorded from the system timezone where the commit was created." msgstr "" #: doc/classes/EditorVCSInterface.xml @@ -25539,6 +25590,50 @@ msgstr "" msgid "Represents the size of the [enum Subdiv] enum." msgstr "" +#: modules/gltf/doc_classes/GLTFAccessor.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAccessor] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFAnimation.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAnimation] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFBufferView.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFBufferView] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFCamera.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFCamera] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFDocument.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFDocument] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFLight.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFLight] within a script will cause an error in an exported project." +msgstr "" + #: modules/gltf/doc_classes/GLTFLight.xml msgid "" "The [Color] of the light. Defaults to white. A black color causes the light " @@ -25588,6 +25683,49 @@ msgid "" "and [DirectionalLight] respectively." msgstr "" +#: modules/gltf/doc_classes/GLTFMesh.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFMesh] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFNode.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFNode] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSkeleton.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSkeleton] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSpecGloss.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSpecGloss] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFState.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFState] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFTexture.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFTexture] within a script will cause an error in an exported project." +msgstr "" + #: modules/mono/doc_classes/GodotSharp.xml msgid "Bridge between Godot and the Mono runtime (Mono-enabled builds only)." msgstr "" @@ -28972,9 +29110,9 @@ msgid "" "Returns a value between 0 and 1 representing the raw intensity of the given " "action, ignoring the action's deadzone. In most cases, you should use " "[method get_action_strength] instead.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -28984,9 +29122,9 @@ msgid "" "or L2, R2 triggers) is from the dead zone, the closer the value will be to " "1. If the action is mapped to a control that has no axis as the keyboard, " "the value returned will be 0 or 1.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29119,9 +29257,9 @@ msgid "" "the button.\n" "This is useful for code that needs to run only once when an action is " "pressed, instead of every frame while it's pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_just_pressed] may " "return [code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29133,9 +29271,9 @@ msgid "" "Returns [code]true[/code] when the user stops pressing the action event, " "meaning it's [code]true[/code] only on the frame that the user released the " "button.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29144,9 +29282,9 @@ msgid "" "an action has multiple buttons assigned and more than one of them is " "pressed, releasing one button will release the action, even if some other " "button assigned to this action is still pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29496,18 +29634,18 @@ msgstr "" msgid "" "Returns a value between 0.0 and 1.0 depending on the given actions' state. " "Useful for getting the value of events of type [InputEventJoypadMotion].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml msgid "" "Returns [code]true[/code] if this input event matches a pre-defined action " "of any type.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -29516,9 +29654,9 @@ msgid "" "an echo event for [InputEventKey] events, unless [code]allow_echo[/code] is " "[code]true[/code]). Not relevant for events of type [InputEventMouseMotion] " "or [InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events.\n" +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29530,9 +29668,9 @@ msgid "" "Returns [code]true[/code] if the given action is released (i.e. not " "pressed). Not relevant for events of type [InputEventMouseMotion] or " "[InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -29563,9 +29701,9 @@ msgid "" "event. Only valid for action events i.e key ([InputEventKey]), button " "([InputEventMouseButton] or [InputEventJoypadButton]), axis " "[InputEventJoypadMotion] or action ([InputEventAction]) events.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -30095,9 +30233,9 @@ msgid "" "This method ignores keyboard modifiers if the given [InputEvent] is not " "pressed (for proper release detection). See [method action_has_event] if you " "don't want this behavior.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputMap.xml @@ -32501,7 +32639,7 @@ msgid "" "be within the text's length." msgstr "" -#: doc/classes/LineEdit.xml +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml msgid "Clears the current selection." msgstr "" @@ -32520,6 +32658,18 @@ msgid "" "characters." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection begin column." +msgstr "" + +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection end column." +msgstr "" + +#: doc/classes/LineEdit.xml +msgid "Returns [code]true[/code] if the user has selected text." +msgstr "" + #: doc/classes/LineEdit.xml msgid "Executes a given action as defined in the [enum MenuItems] enum." msgstr "" @@ -33933,6 +34083,39 @@ msgid "Returns the number of surface materials." msgstr "" #: doc/classes/MeshInstance.xml +msgid "" +"Returns [code]true[/code] if this [MeshInstance] can be merged with the " +"specified [code]other_mesh_instance[/code], using the [method MeshInstance." +"merge_meshes] function.\n" +"In order to be mergeable, properties of the [MeshInstance] must match, and " +"each surface must match, in terms of material, attributes and vertex format." +msgstr "" + +#: doc/classes/MeshInstance.xml +msgid "" +"This function can merge together the data from several source " +"[MeshInstance]s into a single destination [MeshInstance] (the MeshInstance " +"the function is called from). This is primarily useful for improving " +"performance by reducing the number of drawcalls and [Node]s.\n" +"Merging should only be attempted for simple meshes that do not contain " +"animation.\n" +"The final vertices can either be returned in global space, or in local space " +"relative to the destination [MeshInstance] global transform (the destination " +"Node must be inside the [SceneTree] for local space to work).\n" +"The function will make a final check for compatibility between the " +"[MeshInstance]s by default, this should always be used unless you have " +"previously checked for compatibility using [method MeshInstance." +"is_mergeable_with]. If the compatibility check is omitted and the meshes are " +"merged, you may see rendering errors.\n" +"[b]Note:[/b] The requirements for similarity between meshes are quite " +"stringent. They can be checked using the [method MeshInstance." +"is_mergeable_with] function prior to calling [method MeshInstance." +"merge_meshes].\n" +"Also note that any initial data in the destination [MeshInstance] data will " +"be discarded." +msgstr "" + +#: doc/classes/MeshInstance.xml msgid "Sets the [Material] for a surface of the [Mesh] resource." msgstr "" @@ -36385,12 +36568,12 @@ msgid "" "[/codeblock]\n" "[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " "must set [member owner] in addition to calling [method add_child]. This is " -"typically relevant for [url=https://godot.readthedocs.io/en/3.2/tutorials/" -"misc/running_code_in_the_editor.html]tool scripts[/url] and [url=https://" -"godot.readthedocs.io/en/latest/tutorials/plugins/editor/index.html]editor " -"plugins[/url]. If [method add_child] is called without setting [member " -"owner], the newly added [Node] will not be visible in the scene tree, though " -"it will be visible in the 2D/3D view." +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37097,7 +37280,15 @@ msgid "" "valid parent, grandparent, etc. ascending in the tree). When saving a node " "(using [PackedScene]), all the nodes it owns will be saved with it. This " "allows for the creation of complex [SceneTree]s, with instancing and " -"subinstancing." +"subinstancing.\n" +"[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " +"must set [member owner] in addition to calling [method add_child]. This is " +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37693,7 +37884,13 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Called when the object is initialized." +msgid "" +"Called when the object is initialized in memory. Can be defined to take in " +"parameters, that are passed in when constructing.\n" +"[b]Note:[/b] If [method _init] is defined with required parameters, then " +"explicit construction is the only valid means of creating an Object of the " +"class. If any other means (such as [method PackedScene.instance]) is used, " +"then initialization will fail." msgstr "" #: doc/classes/Object.xml @@ -37889,7 +38086,10 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Returns the object's metadata entry for the given [code]name[/code]." +msgid "" +"Returns the object's metadata entry for the given [code]name[/code].\n" +"Throws error if the entry does not exist, unless [code]default[/code] is not " +"[code]null[/code] (in which case the default value will be returned)." msgstr "" #: doc/classes/Object.xml @@ -40097,6 +40297,14 @@ msgid "" "[b]Note:[/b] Only available in editor builds." msgstr "" +#: modules/gltf/doc_classes/PackedSceneGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [PackedSceneGLTF] within a script will cause an error in an exported " +"project." +msgstr "" + #: doc/classes/PacketPeer.xml msgid "Abstraction and base class for packet-based protocols." msgstr "" @@ -42937,7 +43145,10 @@ msgid "" msgstr "" #: doc/classes/PhysicsServer.xml -msgid "Returns an Info defined by the [enum ProcessInfo] input given." +msgid "" +"Returns information about the current state of the 3D physics engine. See " +"[enum ProcessInfo] for a list of available states. Only implemented for " +"Godot Physics." msgstr "" #: doc/classes/PhysicsServer.xml @@ -45797,7 +46008,7 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Allows the window to be resizable by default.\n" -"[b]Note:[/b] This setting is ignored on iOS and Android." +"[b]Note:[/b] This setting is ignored on iOS." msgstr "" #: doc/classes/ProjectSettings.xml @@ -46444,7 +46655,7 @@ msgid "Optional name for the 3D render layer 13." msgstr "" #: doc/classes/ProjectSettings.xml -msgid "Optional name for the 3D render layer 14" +msgid "Optional name for the 3D render layer 14." msgstr "" #: doc/classes/ProjectSettings.xml @@ -47714,16 +47925,24 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" -"If [code]true[/code], forces vertex shading for all rendering. This can " -"increase performance a lot, but also reduces quality immensely. Can be used " -"to optimize performance on low-end mobile devices." +"If [code]true[/code], forces vertex shading for all 3D [SpatialMaterial] and " +"[ShaderMaterial] rendering. This can be used to improve performance on low-" +"end mobile devices. The downside is that shading becomes much less accurate, " +"with visible linear interpolation between vertices that are joined together. " +"This can be compensated by ensuring meshes have a sufficient level of " +"subdivision (but not too much, to avoid reducing performance). Some material " +"features are also not supported when vertex shading is enabled.\n" +"See also [member SpatialMaterial.flags_vertex_lighting] which can be used to " +"enable vertex shading on specific materials only.\n" +"[b]Note:[/b] This setting does not affect unshaded materials." msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Lower-end override for [member rendering/quality/shading/" "force_vertex_shading] on mobile devices, due to performance concerns or " -"driver support." +"driver support. If lighting looks broken after exporting the project to a " +"mobile platform, try disabling this setting." msgstr "" #: doc/classes/ProjectSettings.xml @@ -49758,6 +49977,10 @@ msgid "" msgstr "" #: doc/classes/RichTextLabel.xml +msgid "Returns the current selection text. Does not include BBCodes." +msgstr "" + +#: doc/classes/RichTextLabel.xml msgid "" "Returns the total number of characters from text tags. Does not include " "BBCodes." @@ -52049,14 +52272,23 @@ msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Lowers the [Semaphore], allowing one more thread in. Returns [constant OK] " -"on success, [constant ERR_BUSY] otherwise." +"Lowers the [Semaphore], allowing one more thread in.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Tries to wait for the [Semaphore], if its value is zero, blocks until non-" -"zero. Returns [constant OK] on success, [constant ERR_BUSY] otherwise." +"Like [method wait], but won't block, so if the value is zero, fails " +"immediately and returns [constant ERR_BUSY]. If non-zero, it returns " +"[constant OK] to report success." +msgstr "" + +#: doc/classes/Semaphore.xml +msgid "" +"Waits for the [Semaphore], if its value is zero, blocks until non-zero.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Separator.xml @@ -53502,7 +53734,21 @@ msgstr "" #: doc/classes/SpatialMaterial.xml msgid "" "If [code]true[/code], lighting is calculated per vertex rather than per " -"pixel. This may increase performance on low-end devices." +"pixel. This may increase performance on low-end devices, especially for " +"meshes with a lower polygon count. The downside is that shading becomes much " +"less accurate, with visible linear interpolation between vertices that are " +"joined together. This can be compensated by ensuring meshes have a " +"sufficient level of subdivision (but not too much, to avoid reducing " +"performance). Some material features are also not supported when vertex " +"shading is enabled.\n" +"See also [member ProjectSettings.rendering/quality/shading/" +"force_vertex_shading] which can globally enable vertex shading on all " +"materials.\n" +"[b]Note:[/b] By default, vertex shading is enforced on mobile platforms by " +"[member ProjectSettings.rendering/quality/shading/force_vertex_shading]'s " +"[code]mobile[/code] override.\n" +"[b]Note:[/b] [member flags_vertex_lighting] has no effect if [member " +"flags_unshaded] is [code]true[/code]." msgstr "" #: doc/classes/SpatialMaterial.xml @@ -54306,7 +54552,10 @@ msgid "" "the text alignment to right.\n" "See [Range] class for more options over the [SpinBox].\n" "[b]Note:[/b] [SpinBox] relies on an underlying [LineEdit] node. To theme a " -"[SpinBox]'s background, add theme items for [LineEdit] and customize them." +"[SpinBox]'s background, add theme items for [LineEdit] and customize them.\n" +"[b]Note:[/b] If you want to implement drag and drop for the underlying " +"[LineEdit], you can use [method Control.set_drag_forwarding] on the node " +"returned by [method get_line_edit]." msgstr "" #: doc/classes/SpinBox.xml @@ -55624,7 +55873,6 @@ msgid "" "print(\"1.7\".is_valid_float()) # Prints \"True\"\n" "print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"7e3\".is_valid_float()) # Prints \"True\"\n" -"print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55861,8 +56109,8 @@ msgid "" "var some_string = \"One,Two,Three,Four\"\n" "var some_array = some_string.rsplit(\",\", true, 1)\n" "print(some_array.size()) # Prints 2\n" -"print(some_array[0]) # Prints \"Four\"\n" -"print(some_array[1]) # Prints \"Three,Two,One\"\n" +"print(some_array[0]) # Prints \"One,Two,Three\"\n" +"print(some_array[1]) # Prints \"Four\"\n" "[/codeblock]" msgstr "" @@ -55895,9 +56143,9 @@ msgstr "" #: doc/classes/String.xml msgid "" "Returns the similarity index ([url=https://en.wikipedia.org/wiki/" -"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) this " -"string compared to another. 1.0 means totally similar and 0.0 means totally " -"dissimilar.\n" +"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) of " +"this string compared to another. A result of 1.0 means totally similar, " +"while 0.0 means totally dissimilar.\n" "[codeblock]\n" "print(\"ABC123\".similarity(\"ABC123\")) # Prints \"1\"\n" "print(\"ABC123\".similarity(\"XYZ456\")) # Prints \"0\"\n" @@ -57368,10 +57616,6 @@ msgid "" msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection begin column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection begin line." msgstr "" @@ -57380,10 +57624,6 @@ msgid "Returns the text inside the selection." msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection end column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection end line." msgstr "" @@ -58404,6 +58644,14 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Adds an empty theme type for every valid data type.\n" +"[b]Note:[/b] Empty types are not saved with the theme. This method only " +"exists to perform in-memory changes to the resource. Use available " +"[code]set_*[/code] methods to add theme items." +msgstr "" + +#: doc/classes/Theme.xml msgid "Clears all values on the theme." msgstr "" @@ -58663,6 +58911,13 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Removes the theme type, gracefully discarding defined theme items. If the " +"type is a variation, this information is also erased. If the type is a base " +"for type variations, those variations lose their base." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Renames the [Color] at [code]old_name[/code] to [code]name[/code] if the " "theme has [code]node_type[/code]. If [code]name[/code] is already taken, " "this method fails." @@ -71356,6 +71611,11 @@ msgid "" msgstr "" #: modules/websocket/doc_classes/WebSocketServer.xml +msgid "" +"Sets additional headers to be sent to clients during the HTTP handshake." +msgstr "" + +#: modules/websocket/doc_classes/WebSocketServer.xml msgid "Stops the server and clear its state." msgstr "" @@ -71451,6 +71711,9 @@ msgid "" "\n" " webxr_interface = ARVRServer.find_interface(\"WebXR\")\n" " if webxr_interface:\n" +" # Map to the standard button/axis ids when possible.\n" +" webxr_interface.xr_standard_mapping = true\n" +"\n" " # WebXR uses a lot of asynchronous callbacks, so we connect to " "various\n" " # signals in order to receive them.\n" @@ -71676,6 +71939,13 @@ msgstr "" #: modules/webxr/doc_classes/WebXRInterface.xml msgid "" +"If set to true, the button and axes ids will be converted to match the " +"standard ids used by other AR/VR interfaces, when possible.\n" +"Otherwise, the ids will be passed through unaltered from WebXR." +msgstr "" + +#: modules/webxr/doc_classes/WebXRInterface.xml +msgid "" "Emitted to indicate that the reference space has been reset or " "reconfigured.\n" "When (or whether) this is emitted depends on the user's browser or device, " diff --git a/doc/translations/hi.po b/doc/translations/hi.po index 8e526e6594..f8003a91b0 100644 --- a/doc/translations/hi.po +++ b/doc/translations/hi.po @@ -3323,8 +3323,12 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" "Hints that an integer, float or string property is an enumerated value to " -"pick in a list specified via a hint string such as [code]\"Hello,Something," -"Else\"[/code]." +"pick in a list specified via a hint string.\n" +"The hint string is a comma separated list of names such as [code]\"Hello," +"Something,Else\"[/code]. For integer and float properties, the first name in " +"the list has value 0, the next 1, and so on. Explicit values can also be " +"specified by appending [code]:integer[/code] to the name, e.g. [code]\"Zero," +"One,Three:3,Four,Six:6\"[/code]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -3465,7 +3469,7 @@ msgid "The property is a translatable string." msgstr "" #: doc/classes/@GlobalScope.xml -msgid "Used to group properties together in the editor." +msgid "Used to group properties together in the editor. See [EditorInspector]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -5236,8 +5240,11 @@ msgstr "" #: doc/classes/AnimationNodeBlendTree.xml msgid "" -"This node may contain a sub-tree of any other blend type nodes, such as mix, " -"blend2, blend3, one shot, etc. This is one of the most commonly used roots." +"This node may contain a sub-tree of any other blend type nodes, such as " +"[AnimationNodeTransition], [AnimationNodeBlend2], [AnimationNodeBlend3], " +"[AnimationNodeOneShot], etc. This is one of the most commonly used roots.\n" +"An [AnimationNodeOutput] node named [code]output[/code] is created by " +"default." msgstr "" #: doc/classes/AnimationNodeBlendTree.xml @@ -6979,8 +6986,9 @@ msgstr "" #: doc/classes/Array.xml msgid "" -"Removes the first occurrence of a value from the array. To remove an element " -"by index, use [method remove] instead.\n" +"Removes the first occurrence of a value from the array. If the value does " +"not exist in the array, nothing happens. To remove an element by index, use " +"[method remove] instead.\n" "[b]Note:[/b] This method acts in-place and doesn't return a value.\n" "[b]Note:[/b] On large arrays, this method will be slower if the removed " "element is close to the beginning of the array (index 0). This is because " @@ -10356,8 +10364,15 @@ msgstr "" #: doc/classes/BakedLightmap.xml msgid "" -"When enabled, the lightmapper will merge the textures for all meshes into a " -"single large layered texture. Not supported in GLES2." +"If [code]true[/code], the lightmapper will merge the textures for all meshes " +"into one or several large layered textures. If [code]false[/code], every " +"mesh will get its own lightmap texture, which is less efficient.\n" +"[b]Note:[/b] Atlas lightmap rendering is only supported in GLES3, [i]not[/i] " +"GLES2. Non-atlas lightmap rendering is supported by both GLES3 and GLES2. If " +"[member ProjectSettings.rendering/quality/driver/fallback_to_gles2] is " +"[code]true[/code], consider baking lightmaps with [member atlas_generate] " +"set to [code]false[/code] so that the resulting lightmap is visible in both " +"GLES3 and GLES2." msgstr "" #: doc/classes/BakedLightmap.xml @@ -11700,8 +11715,8 @@ msgstr "" #: doc/classes/Camera.xml msgid "" "The camera's size measured as 1/2 the width or height. Only applicable in " -"orthogonal mode. Since [member keep_aspect] locks on axis, [code]size[/code] " -"sets the other axis' size length." +"orthogonal and frustum modes. Since [member keep_aspect] locks on axis, " +"[code]size[/code] sets the other axis' size length." msgstr "" #: doc/classes/Camera.xml @@ -12499,20 +12514,24 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], the node won't inherit its " -"transform from parent canvas items." +"If [code]enable[/code] is [code]true[/code], this [CanvasItem] will [i]not[/" +"i] inherit its transform from parent [CanvasItem]s. Its draw order will also " +"be changed to make it draw on top of other [CanvasItem]s that are not set as " +"top-level. The [CanvasItem] will effectively act as if it was placed as a " +"child of a bare [Node]. See also [method is_set_as_toplevel]." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"local transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_LOCAL_TRANSFORM_CHANGED] when its local transform " +"changes." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"global transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_TRANSFORM_CHANGED] when its global transform changes." msgstr "" #: doc/classes/CanvasItem.xml @@ -12626,9 +12645,14 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"The [CanvasItem]'s transform has changed. This notification is only received " -"if enabled by [method set_notify_transform] or [method " -"set_notify_local_transform]." +"The [CanvasItem]'s global transform has changed. This notification is only " +"received if enabled by [method set_notify_transform]." +msgstr "" + +#: doc/classes/CanvasItem.xml +msgid "" +"The [CanvasItem]'s local transform has changed. This notification is only " +"received if enabled by [method set_notify_local_transform]." msgstr "" #: doc/classes/CanvasItem.xml @@ -13583,7 +13607,10 @@ msgid "" "number of 2D collision [Shape2D]s. Each shape must be assigned to a [i]shape " "owner[/i]. The CollisionObject2D can have any number of shape owners. Shape " "owners are not nodes and do not appear in the editor, but are accessible " -"through code using the [code]shape_owner_*[/code] methods." +"through code using the [code]shape_owner_*[/code] methods.\n" +"[b]Note:[/b] Only collisions between objects within the same canvas " +"([Viewport] canvas or [CanvasLayer]) are supported. The behavior of " +"collisions between objects in different canvases is undefined." msgstr "" #: doc/classes/CollisionObject2D.xml @@ -19590,9 +19617,8 @@ msgid "" "main font.\n" "DynamicFont uses the [url=https://www.freetype.org/]FreeType[/url] library " "for rasterization. Supported formats are TrueType ([code].ttf[/code]), " -"OpenType ([code].otf[/code]) and Web Open Font Format 1 ([code].woff[/" -"code]). Web Open Font Format 2 ([code].woff2[/code]) is [i]not[/i] " -"supported.\n" +"OpenType ([code].otf[/code]), Web Open Font Format 1 ([code].woff[/code]), " +"and Web Open Font Format 2 ([code].woff2[/code]).\n" "[codeblock]\n" "var dynamic_font = DynamicFont.new()\n" "dynamic_font.font_data = load(\"res://BarlowCondensed-Bold.ttf\")\n" @@ -20459,18 +20485,34 @@ msgid "" msgstr "" #: doc/classes/EditorInspector.xml -msgid "A tab used to edit properties of the selected node." +msgid "A control used to edit properties of an object." msgstr "" #: doc/classes/EditorInspector.xml msgid "" -"The editor inspector is by default located on the right-hand side of the " -"editor. It's used to edit the properties of the selected node. For example, " -"you can select a node such as [Sprite] then edit its transform through the " -"inspector tool. The editor inspector is an essential tool in the game " -"development workflow.\n" -"[b]Note:[/b] This class shouldn't be instantiated directly. Instead, access " -"the singleton using [method EditorInterface.get_inspector]." +"This is the control that implements property editing in the editor's " +"Settings dialogs, the Inspector dock, etc. To get the [EditorInspector] used " +"in the editor's Inspector dock, use [method EditorInterface.get_inspector].\n" +"[EditorInspector] will show properties in the same order as the array " +"returned by [method Object.get_property_list].\n" +"If a property's name is path-like (i.e. if it contains forward slashes), " +"[EditorInspector] will create nested sections for \"directories\" along the " +"path. For example, if a property is named [code]highlighting/gdscript/" +"node_path_color[/code], it will be shown as \"Node Path Color\" inside the " +"\"GDScript\" section nested inside the \"Highlighting\" section.\n" +"If a property has [constant @GlobalScope.PROPERTY_USAGE_GROUP] usage, it " +"will group subsequent properties whose name starts with the property's hint " +"string. The group ends when a property does not start with that hint string " +"or when a new group starts. An empty group name effectively ends the current " +"group. [EditorInspector] will create a top-level section for each group. For " +"example, if a property with group usage is named [code]Collide With[/code] " +"and its hint string is [code]collide_with_[/code], a subsequent " +"[code]collide_with_area[/code] property will be shown as \"Area\" inside the " +"\"Collide With\" section.\n" +"[b]Note:[/b] Unlike sections created from path-like property names, " +"[EditorInspector] won't capitalize the name for sections created from " +"groups. So properties with group usage usually use capitalized names instead " +"of snake_cased names." msgstr "" #: doc/classes/EditorInspector.xml @@ -21645,6 +21687,14 @@ msgid "" "[/codeblock]" msgstr "" +#: modules/gltf/doc_classes/EditorSceneImporterGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [EditorSceneImporterGLTF] within a script will cause an error in an " +"exported project." +msgstr "" + #: doc/classes/EditorScenePostImport.xml msgid "Post-processes scenes after import." msgstr "" @@ -22382,12 +22432,13 @@ msgstr "" #: doc/classes/EditorVCSInterface.xml msgid "" "Helper function to create a commit [Dictionary] item. [code]msg[/code] is " -"the commit message of the commit. [code]author[/code] is a human-readable " -"string containing the author's details, e.g. the email and name configured " -"in the VCS. [code]id[/code] is the identifier of the commit, in whichever " -"format your VCS may provide an identifier to commits. [code]date[/code] is " -"directly added to the commit item and displayed in the editor, and hence, it " -"shall be a well-formatted, human-readable date string." +"the commit message of the commit. [code]author[/code] is a single human-" +"readable string containing all the author's details, e.g. the email and name " +"configured in the VCS. [code]id[/code] is the identifier of the commit, in " +"whichever format your VCS may provide an identifier to commits. " +"[code]unix_timestamp[/code] is the UTC Unix timestamp of when the commit was " +"created. [code]offset_minutes[/code] is the timezone offset in minutes, " +"recorded from the system timezone where the commit was created." msgstr "" #: doc/classes/EditorVCSInterface.xml @@ -25538,6 +25589,50 @@ msgstr "" msgid "Represents the size of the [enum Subdiv] enum." msgstr "" +#: modules/gltf/doc_classes/GLTFAccessor.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAccessor] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFAnimation.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAnimation] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFBufferView.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFBufferView] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFCamera.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFCamera] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFDocument.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFDocument] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFLight.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFLight] within a script will cause an error in an exported project." +msgstr "" + #: modules/gltf/doc_classes/GLTFLight.xml msgid "" "The [Color] of the light. Defaults to white. A black color causes the light " @@ -25587,6 +25682,49 @@ msgid "" "and [DirectionalLight] respectively." msgstr "" +#: modules/gltf/doc_classes/GLTFMesh.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFMesh] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFNode.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFNode] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSkeleton.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSkeleton] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSpecGloss.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSpecGloss] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFState.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFState] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFTexture.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFTexture] within a script will cause an error in an exported project." +msgstr "" + #: modules/mono/doc_classes/GodotSharp.xml msgid "Bridge between Godot and the Mono runtime (Mono-enabled builds only)." msgstr "" @@ -28971,9 +29109,9 @@ msgid "" "Returns a value between 0 and 1 representing the raw intensity of the given " "action, ignoring the action's deadzone. In most cases, you should use " "[method get_action_strength] instead.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -28983,9 +29121,9 @@ msgid "" "or L2, R2 triggers) is from the dead zone, the closer the value will be to " "1. If the action is mapped to a control that has no axis as the keyboard, " "the value returned will be 0 or 1.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29118,9 +29256,9 @@ msgid "" "the button.\n" "This is useful for code that needs to run only once when an action is " "pressed, instead of every frame while it's pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_just_pressed] may " "return [code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29132,9 +29270,9 @@ msgid "" "Returns [code]true[/code] when the user stops pressing the action event, " "meaning it's [code]true[/code] only on the frame that the user released the " "button.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29143,9 +29281,9 @@ msgid "" "an action has multiple buttons assigned and more than one of them is " "pressed, releasing one button will release the action, even if some other " "button assigned to this action is still pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29495,18 +29633,18 @@ msgstr "" msgid "" "Returns a value between 0.0 and 1.0 depending on the given actions' state. " "Useful for getting the value of events of type [InputEventJoypadMotion].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml msgid "" "Returns [code]true[/code] if this input event matches a pre-defined action " "of any type.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -29515,9 +29653,9 @@ msgid "" "an echo event for [InputEventKey] events, unless [code]allow_echo[/code] is " "[code]true[/code]). Not relevant for events of type [InputEventMouseMotion] " "or [InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events.\n" +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29529,9 +29667,9 @@ msgid "" "Returns [code]true[/code] if the given action is released (i.e. not " "pressed). Not relevant for events of type [InputEventMouseMotion] or " "[InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -29562,9 +29700,9 @@ msgid "" "event. Only valid for action events i.e key ([InputEventKey]), button " "([InputEventMouseButton] or [InputEventJoypadButton]), axis " "[InputEventJoypadMotion] or action ([InputEventAction]) events.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -30094,9 +30232,9 @@ msgid "" "This method ignores keyboard modifiers if the given [InputEvent] is not " "pressed (for proper release detection). See [method action_has_event] if you " "don't want this behavior.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputMap.xml @@ -32500,7 +32638,7 @@ msgid "" "be within the text's length." msgstr "" -#: doc/classes/LineEdit.xml +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml msgid "Clears the current selection." msgstr "" @@ -32519,6 +32657,18 @@ msgid "" "characters." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection begin column." +msgstr "" + +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection end column." +msgstr "" + +#: doc/classes/LineEdit.xml +msgid "Returns [code]true[/code] if the user has selected text." +msgstr "" + #: doc/classes/LineEdit.xml msgid "Executes a given action as defined in the [enum MenuItems] enum." msgstr "" @@ -33932,6 +34082,39 @@ msgid "Returns the number of surface materials." msgstr "" #: doc/classes/MeshInstance.xml +msgid "" +"Returns [code]true[/code] if this [MeshInstance] can be merged with the " +"specified [code]other_mesh_instance[/code], using the [method MeshInstance." +"merge_meshes] function.\n" +"In order to be mergeable, properties of the [MeshInstance] must match, and " +"each surface must match, in terms of material, attributes and vertex format." +msgstr "" + +#: doc/classes/MeshInstance.xml +msgid "" +"This function can merge together the data from several source " +"[MeshInstance]s into a single destination [MeshInstance] (the MeshInstance " +"the function is called from). This is primarily useful for improving " +"performance by reducing the number of drawcalls and [Node]s.\n" +"Merging should only be attempted for simple meshes that do not contain " +"animation.\n" +"The final vertices can either be returned in global space, or in local space " +"relative to the destination [MeshInstance] global transform (the destination " +"Node must be inside the [SceneTree] for local space to work).\n" +"The function will make a final check for compatibility between the " +"[MeshInstance]s by default, this should always be used unless you have " +"previously checked for compatibility using [method MeshInstance." +"is_mergeable_with]. If the compatibility check is omitted and the meshes are " +"merged, you may see rendering errors.\n" +"[b]Note:[/b] The requirements for similarity between meshes are quite " +"stringent. They can be checked using the [method MeshInstance." +"is_mergeable_with] function prior to calling [method MeshInstance." +"merge_meshes].\n" +"Also note that any initial data in the destination [MeshInstance] data will " +"be discarded." +msgstr "" + +#: doc/classes/MeshInstance.xml msgid "Sets the [Material] for a surface of the [Mesh] resource." msgstr "" @@ -36384,12 +36567,12 @@ msgid "" "[/codeblock]\n" "[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " "must set [member owner] in addition to calling [method add_child]. This is " -"typically relevant for [url=https://godot.readthedocs.io/en/3.2/tutorials/" -"misc/running_code_in_the_editor.html]tool scripts[/url] and [url=https://" -"godot.readthedocs.io/en/latest/tutorials/plugins/editor/index.html]editor " -"plugins[/url]. If [method add_child] is called without setting [member " -"owner], the newly added [Node] will not be visible in the scene tree, though " -"it will be visible in the 2D/3D view." +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37096,7 +37279,15 @@ msgid "" "valid parent, grandparent, etc. ascending in the tree). When saving a node " "(using [PackedScene]), all the nodes it owns will be saved with it. This " "allows for the creation of complex [SceneTree]s, with instancing and " -"subinstancing." +"subinstancing.\n" +"[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " +"must set [member owner] in addition to calling [method add_child]. This is " +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37692,7 +37883,13 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Called when the object is initialized." +msgid "" +"Called when the object is initialized in memory. Can be defined to take in " +"parameters, that are passed in when constructing.\n" +"[b]Note:[/b] If [method _init] is defined with required parameters, then " +"explicit construction is the only valid means of creating an Object of the " +"class. If any other means (such as [method PackedScene.instance]) is used, " +"then initialization will fail." msgstr "" #: doc/classes/Object.xml @@ -37888,7 +38085,10 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Returns the object's metadata entry for the given [code]name[/code]." +msgid "" +"Returns the object's metadata entry for the given [code]name[/code].\n" +"Throws error if the entry does not exist, unless [code]default[/code] is not " +"[code]null[/code] (in which case the default value will be returned)." msgstr "" #: doc/classes/Object.xml @@ -40096,6 +40296,14 @@ msgid "" "[b]Note:[/b] Only available in editor builds." msgstr "" +#: modules/gltf/doc_classes/PackedSceneGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [PackedSceneGLTF] within a script will cause an error in an exported " +"project." +msgstr "" + #: doc/classes/PacketPeer.xml msgid "Abstraction and base class for packet-based protocols." msgstr "" @@ -42936,7 +43144,10 @@ msgid "" msgstr "" #: doc/classes/PhysicsServer.xml -msgid "Returns an Info defined by the [enum ProcessInfo] input given." +msgid "" +"Returns information about the current state of the 3D physics engine. See " +"[enum ProcessInfo] for a list of available states. Only implemented for " +"Godot Physics." msgstr "" #: doc/classes/PhysicsServer.xml @@ -45796,7 +46007,7 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Allows the window to be resizable by default.\n" -"[b]Note:[/b] This setting is ignored on iOS and Android." +"[b]Note:[/b] This setting is ignored on iOS." msgstr "" #: doc/classes/ProjectSettings.xml @@ -46443,7 +46654,7 @@ msgid "Optional name for the 3D render layer 13." msgstr "" #: doc/classes/ProjectSettings.xml -msgid "Optional name for the 3D render layer 14" +msgid "Optional name for the 3D render layer 14." msgstr "" #: doc/classes/ProjectSettings.xml @@ -47713,16 +47924,24 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" -"If [code]true[/code], forces vertex shading for all rendering. This can " -"increase performance a lot, but also reduces quality immensely. Can be used " -"to optimize performance on low-end mobile devices." +"If [code]true[/code], forces vertex shading for all 3D [SpatialMaterial] and " +"[ShaderMaterial] rendering. This can be used to improve performance on low-" +"end mobile devices. The downside is that shading becomes much less accurate, " +"with visible linear interpolation between vertices that are joined together. " +"This can be compensated by ensuring meshes have a sufficient level of " +"subdivision (but not too much, to avoid reducing performance). Some material " +"features are also not supported when vertex shading is enabled.\n" +"See also [member SpatialMaterial.flags_vertex_lighting] which can be used to " +"enable vertex shading on specific materials only.\n" +"[b]Note:[/b] This setting does not affect unshaded materials." msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Lower-end override for [member rendering/quality/shading/" "force_vertex_shading] on mobile devices, due to performance concerns or " -"driver support." +"driver support. If lighting looks broken after exporting the project to a " +"mobile platform, try disabling this setting." msgstr "" #: doc/classes/ProjectSettings.xml @@ -49757,6 +49976,10 @@ msgid "" msgstr "" #: doc/classes/RichTextLabel.xml +msgid "Returns the current selection text. Does not include BBCodes." +msgstr "" + +#: doc/classes/RichTextLabel.xml msgid "" "Returns the total number of characters from text tags. Does not include " "BBCodes." @@ -52048,14 +52271,23 @@ msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Lowers the [Semaphore], allowing one more thread in. Returns [constant OK] " -"on success, [constant ERR_BUSY] otherwise." +"Lowers the [Semaphore], allowing one more thread in.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Tries to wait for the [Semaphore], if its value is zero, blocks until non-" -"zero. Returns [constant OK] on success, [constant ERR_BUSY] otherwise." +"Like [method wait], but won't block, so if the value is zero, fails " +"immediately and returns [constant ERR_BUSY]. If non-zero, it returns " +"[constant OK] to report success." +msgstr "" + +#: doc/classes/Semaphore.xml +msgid "" +"Waits for the [Semaphore], if its value is zero, blocks until non-zero.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Separator.xml @@ -53501,7 +53733,21 @@ msgstr "" #: doc/classes/SpatialMaterial.xml msgid "" "If [code]true[/code], lighting is calculated per vertex rather than per " -"pixel. This may increase performance on low-end devices." +"pixel. This may increase performance on low-end devices, especially for " +"meshes with a lower polygon count. The downside is that shading becomes much " +"less accurate, with visible linear interpolation between vertices that are " +"joined together. This can be compensated by ensuring meshes have a " +"sufficient level of subdivision (but not too much, to avoid reducing " +"performance). Some material features are also not supported when vertex " +"shading is enabled.\n" +"See also [member ProjectSettings.rendering/quality/shading/" +"force_vertex_shading] which can globally enable vertex shading on all " +"materials.\n" +"[b]Note:[/b] By default, vertex shading is enforced on mobile platforms by " +"[member ProjectSettings.rendering/quality/shading/force_vertex_shading]'s " +"[code]mobile[/code] override.\n" +"[b]Note:[/b] [member flags_vertex_lighting] has no effect if [member " +"flags_unshaded] is [code]true[/code]." msgstr "" #: doc/classes/SpatialMaterial.xml @@ -54305,7 +54551,10 @@ msgid "" "the text alignment to right.\n" "See [Range] class for more options over the [SpinBox].\n" "[b]Note:[/b] [SpinBox] relies on an underlying [LineEdit] node. To theme a " -"[SpinBox]'s background, add theme items for [LineEdit] and customize them." +"[SpinBox]'s background, add theme items for [LineEdit] and customize them.\n" +"[b]Note:[/b] If you want to implement drag and drop for the underlying " +"[LineEdit], you can use [method Control.set_drag_forwarding] on the node " +"returned by [method get_line_edit]." msgstr "" #: doc/classes/SpinBox.xml @@ -55623,7 +55872,6 @@ msgid "" "print(\"1.7\".is_valid_float()) # Prints \"True\"\n" "print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"7e3\".is_valid_float()) # Prints \"True\"\n" -"print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55860,8 +56108,8 @@ msgid "" "var some_string = \"One,Two,Three,Four\"\n" "var some_array = some_string.rsplit(\",\", true, 1)\n" "print(some_array.size()) # Prints 2\n" -"print(some_array[0]) # Prints \"Four\"\n" -"print(some_array[1]) # Prints \"Three,Two,One\"\n" +"print(some_array[0]) # Prints \"One,Two,Three\"\n" +"print(some_array[1]) # Prints \"Four\"\n" "[/codeblock]" msgstr "" @@ -55894,9 +56142,9 @@ msgstr "" #: doc/classes/String.xml msgid "" "Returns the similarity index ([url=https://en.wikipedia.org/wiki/" -"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) this " -"string compared to another. 1.0 means totally similar and 0.0 means totally " -"dissimilar.\n" +"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) of " +"this string compared to another. A result of 1.0 means totally similar, " +"while 0.0 means totally dissimilar.\n" "[codeblock]\n" "print(\"ABC123\".similarity(\"ABC123\")) # Prints \"1\"\n" "print(\"ABC123\".similarity(\"XYZ456\")) # Prints \"0\"\n" @@ -57367,10 +57615,6 @@ msgid "" msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection begin column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection begin line." msgstr "" @@ -57379,10 +57623,6 @@ msgid "Returns the text inside the selection." msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection end column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection end line." msgstr "" @@ -58403,6 +58643,14 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Adds an empty theme type for every valid data type.\n" +"[b]Note:[/b] Empty types are not saved with the theme. This method only " +"exists to perform in-memory changes to the resource. Use available " +"[code]set_*[/code] methods to add theme items." +msgstr "" + +#: doc/classes/Theme.xml msgid "Clears all values on the theme." msgstr "" @@ -58662,6 +58910,13 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Removes the theme type, gracefully discarding defined theme items. If the " +"type is a variation, this information is also erased. If the type is a base " +"for type variations, those variations lose their base." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Renames the [Color] at [code]old_name[/code] to [code]name[/code] if the " "theme has [code]node_type[/code]. If [code]name[/code] is already taken, " "this method fails." @@ -71355,6 +71610,11 @@ msgid "" msgstr "" #: modules/websocket/doc_classes/WebSocketServer.xml +msgid "" +"Sets additional headers to be sent to clients during the HTTP handshake." +msgstr "" + +#: modules/websocket/doc_classes/WebSocketServer.xml msgid "Stops the server and clear its state." msgstr "" @@ -71450,6 +71710,9 @@ msgid "" "\n" " webxr_interface = ARVRServer.find_interface(\"WebXR\")\n" " if webxr_interface:\n" +" # Map to the standard button/axis ids when possible.\n" +" webxr_interface.xr_standard_mapping = true\n" +"\n" " # WebXR uses a lot of asynchronous callbacks, so we connect to " "various\n" " # signals in order to receive them.\n" @@ -71675,6 +71938,13 @@ msgstr "" #: modules/webxr/doc_classes/WebXRInterface.xml msgid "" +"If set to true, the button and axes ids will be converted to match the " +"standard ids used by other AR/VR interfaces, when possible.\n" +"Otherwise, the ids will be passed through unaltered from WebXR." +msgstr "" + +#: modules/webxr/doc_classes/WebXRInterface.xml +msgid "" "Emitted to indicate that the reference space has been reset or " "reconfigured.\n" "When (or whether) this is emitted depends on the user's browser or device, " diff --git a/doc/translations/hu.po b/doc/translations/hu.po index 7c93fcd2ba..1470c3727c 100644 --- a/doc/translations/hu.po +++ b/doc/translations/hu.po @@ -3341,8 +3341,12 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" "Hints that an integer, float or string property is an enumerated value to " -"pick in a list specified via a hint string such as [code]\"Hello,Something," -"Else\"[/code]." +"pick in a list specified via a hint string.\n" +"The hint string is a comma separated list of names such as [code]\"Hello," +"Something,Else\"[/code]. For integer and float properties, the first name in " +"the list has value 0, the next 1, and so on. Explicit values can also be " +"specified by appending [code]:integer[/code] to the name, e.g. [code]\"Zero," +"One,Three:3,Four,Six:6\"[/code]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -3483,7 +3487,7 @@ msgid "The property is a translatable string." msgstr "" #: doc/classes/@GlobalScope.xml -msgid "Used to group properties together in the editor." +msgid "Used to group properties together in the editor. See [EditorInspector]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -5254,8 +5258,11 @@ msgstr "" #: doc/classes/AnimationNodeBlendTree.xml msgid "" -"This node may contain a sub-tree of any other blend type nodes, such as mix, " -"blend2, blend3, one shot, etc. This is one of the most commonly used roots." +"This node may contain a sub-tree of any other blend type nodes, such as " +"[AnimationNodeTransition], [AnimationNodeBlend2], [AnimationNodeBlend3], " +"[AnimationNodeOneShot], etc. This is one of the most commonly used roots.\n" +"An [AnimationNodeOutput] node named [code]output[/code] is created by " +"default." msgstr "" #: doc/classes/AnimationNodeBlendTree.xml @@ -6997,8 +7004,9 @@ msgstr "" #: doc/classes/Array.xml msgid "" -"Removes the first occurrence of a value from the array. To remove an element " -"by index, use [method remove] instead.\n" +"Removes the first occurrence of a value from the array. If the value does " +"not exist in the array, nothing happens. To remove an element by index, use " +"[method remove] instead.\n" "[b]Note:[/b] This method acts in-place and doesn't return a value.\n" "[b]Note:[/b] On large arrays, this method will be slower if the removed " "element is close to the beginning of the array (index 0). This is because " @@ -10374,8 +10382,15 @@ msgstr "" #: doc/classes/BakedLightmap.xml msgid "" -"When enabled, the lightmapper will merge the textures for all meshes into a " -"single large layered texture. Not supported in GLES2." +"If [code]true[/code], the lightmapper will merge the textures for all meshes " +"into one or several large layered textures. If [code]false[/code], every " +"mesh will get its own lightmap texture, which is less efficient.\n" +"[b]Note:[/b] Atlas lightmap rendering is only supported in GLES3, [i]not[/i] " +"GLES2. Non-atlas lightmap rendering is supported by both GLES3 and GLES2. If " +"[member ProjectSettings.rendering/quality/driver/fallback_to_gles2] is " +"[code]true[/code], consider baking lightmaps with [member atlas_generate] " +"set to [code]false[/code] so that the resulting lightmap is visible in both " +"GLES3 and GLES2." msgstr "" #: doc/classes/BakedLightmap.xml @@ -11718,8 +11733,8 @@ msgstr "" #: doc/classes/Camera.xml msgid "" "The camera's size measured as 1/2 the width or height. Only applicable in " -"orthogonal mode. Since [member keep_aspect] locks on axis, [code]size[/code] " -"sets the other axis' size length." +"orthogonal and frustum modes. Since [member keep_aspect] locks on axis, " +"[code]size[/code] sets the other axis' size length." msgstr "" #: doc/classes/Camera.xml @@ -12517,20 +12532,24 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], the node won't inherit its " -"transform from parent canvas items." +"If [code]enable[/code] is [code]true[/code], this [CanvasItem] will [i]not[/" +"i] inherit its transform from parent [CanvasItem]s. Its draw order will also " +"be changed to make it draw on top of other [CanvasItem]s that are not set as " +"top-level. The [CanvasItem] will effectively act as if it was placed as a " +"child of a bare [Node]. See also [method is_set_as_toplevel]." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"local transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_LOCAL_TRANSFORM_CHANGED] when its local transform " +"changes." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"global transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_TRANSFORM_CHANGED] when its global transform changes." msgstr "" #: doc/classes/CanvasItem.xml @@ -12644,9 +12663,14 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"The [CanvasItem]'s transform has changed. This notification is only received " -"if enabled by [method set_notify_transform] or [method " -"set_notify_local_transform]." +"The [CanvasItem]'s global transform has changed. This notification is only " +"received if enabled by [method set_notify_transform]." +msgstr "" + +#: doc/classes/CanvasItem.xml +msgid "" +"The [CanvasItem]'s local transform has changed. This notification is only " +"received if enabled by [method set_notify_local_transform]." msgstr "" #: doc/classes/CanvasItem.xml @@ -13601,7 +13625,10 @@ msgid "" "number of 2D collision [Shape2D]s. Each shape must be assigned to a [i]shape " "owner[/i]. The CollisionObject2D can have any number of shape owners. Shape " "owners are not nodes and do not appear in the editor, but are accessible " -"through code using the [code]shape_owner_*[/code] methods." +"through code using the [code]shape_owner_*[/code] methods.\n" +"[b]Note:[/b] Only collisions between objects within the same canvas " +"([Viewport] canvas or [CanvasLayer]) are supported. The behavior of " +"collisions between objects in different canvases is undefined." msgstr "" #: doc/classes/CollisionObject2D.xml @@ -19608,9 +19635,8 @@ msgid "" "main font.\n" "DynamicFont uses the [url=https://www.freetype.org/]FreeType[/url] library " "for rasterization. Supported formats are TrueType ([code].ttf[/code]), " -"OpenType ([code].otf[/code]) and Web Open Font Format 1 ([code].woff[/" -"code]). Web Open Font Format 2 ([code].woff2[/code]) is [i]not[/i] " -"supported.\n" +"OpenType ([code].otf[/code]), Web Open Font Format 1 ([code].woff[/code]), " +"and Web Open Font Format 2 ([code].woff2[/code]).\n" "[codeblock]\n" "var dynamic_font = DynamicFont.new()\n" "dynamic_font.font_data = load(\"res://BarlowCondensed-Bold.ttf\")\n" @@ -20477,18 +20503,34 @@ msgid "" msgstr "" #: doc/classes/EditorInspector.xml -msgid "A tab used to edit properties of the selected node." +msgid "A control used to edit properties of an object." msgstr "" #: doc/classes/EditorInspector.xml msgid "" -"The editor inspector is by default located on the right-hand side of the " -"editor. It's used to edit the properties of the selected node. For example, " -"you can select a node such as [Sprite] then edit its transform through the " -"inspector tool. The editor inspector is an essential tool in the game " -"development workflow.\n" -"[b]Note:[/b] This class shouldn't be instantiated directly. Instead, access " -"the singleton using [method EditorInterface.get_inspector]." +"This is the control that implements property editing in the editor's " +"Settings dialogs, the Inspector dock, etc. To get the [EditorInspector] used " +"in the editor's Inspector dock, use [method EditorInterface.get_inspector].\n" +"[EditorInspector] will show properties in the same order as the array " +"returned by [method Object.get_property_list].\n" +"If a property's name is path-like (i.e. if it contains forward slashes), " +"[EditorInspector] will create nested sections for \"directories\" along the " +"path. For example, if a property is named [code]highlighting/gdscript/" +"node_path_color[/code], it will be shown as \"Node Path Color\" inside the " +"\"GDScript\" section nested inside the \"Highlighting\" section.\n" +"If a property has [constant @GlobalScope.PROPERTY_USAGE_GROUP] usage, it " +"will group subsequent properties whose name starts with the property's hint " +"string. The group ends when a property does not start with that hint string " +"or when a new group starts. An empty group name effectively ends the current " +"group. [EditorInspector] will create a top-level section for each group. For " +"example, if a property with group usage is named [code]Collide With[/code] " +"and its hint string is [code]collide_with_[/code], a subsequent " +"[code]collide_with_area[/code] property will be shown as \"Area\" inside the " +"\"Collide With\" section.\n" +"[b]Note:[/b] Unlike sections created from path-like property names, " +"[EditorInspector] won't capitalize the name for sections created from " +"groups. So properties with group usage usually use capitalized names instead " +"of snake_cased names." msgstr "" #: doc/classes/EditorInspector.xml @@ -21663,6 +21705,14 @@ msgid "" "[/codeblock]" msgstr "" +#: modules/gltf/doc_classes/EditorSceneImporterGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [EditorSceneImporterGLTF] within a script will cause an error in an " +"exported project." +msgstr "" + #: doc/classes/EditorScenePostImport.xml msgid "Post-processes scenes after import." msgstr "" @@ -22400,12 +22450,13 @@ msgstr "" #: doc/classes/EditorVCSInterface.xml msgid "" "Helper function to create a commit [Dictionary] item. [code]msg[/code] is " -"the commit message of the commit. [code]author[/code] is a human-readable " -"string containing the author's details, e.g. the email and name configured " -"in the VCS. [code]id[/code] is the identifier of the commit, in whichever " -"format your VCS may provide an identifier to commits. [code]date[/code] is " -"directly added to the commit item and displayed in the editor, and hence, it " -"shall be a well-formatted, human-readable date string." +"the commit message of the commit. [code]author[/code] is a single human-" +"readable string containing all the author's details, e.g. the email and name " +"configured in the VCS. [code]id[/code] is the identifier of the commit, in " +"whichever format your VCS may provide an identifier to commits. " +"[code]unix_timestamp[/code] is the UTC Unix timestamp of when the commit was " +"created. [code]offset_minutes[/code] is the timezone offset in minutes, " +"recorded from the system timezone where the commit was created." msgstr "" #: doc/classes/EditorVCSInterface.xml @@ -25556,6 +25607,50 @@ msgstr "" msgid "Represents the size of the [enum Subdiv] enum." msgstr "" +#: modules/gltf/doc_classes/GLTFAccessor.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAccessor] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFAnimation.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAnimation] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFBufferView.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFBufferView] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFCamera.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFCamera] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFDocument.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFDocument] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFLight.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFLight] within a script will cause an error in an exported project." +msgstr "" + #: modules/gltf/doc_classes/GLTFLight.xml msgid "" "The [Color] of the light. Defaults to white. A black color causes the light " @@ -25605,6 +25700,49 @@ msgid "" "and [DirectionalLight] respectively." msgstr "" +#: modules/gltf/doc_classes/GLTFMesh.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFMesh] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFNode.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFNode] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSkeleton.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSkeleton] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSpecGloss.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSpecGloss] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFState.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFState] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFTexture.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFTexture] within a script will cause an error in an exported project." +msgstr "" + #: modules/mono/doc_classes/GodotSharp.xml msgid "Bridge between Godot and the Mono runtime (Mono-enabled builds only)." msgstr "" @@ -28989,9 +29127,9 @@ msgid "" "Returns a value between 0 and 1 representing the raw intensity of the given " "action, ignoring the action's deadzone. In most cases, you should use " "[method get_action_strength] instead.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29001,9 +29139,9 @@ msgid "" "or L2, R2 triggers) is from the dead zone, the closer the value will be to " "1. If the action is mapped to a control that has no axis as the keyboard, " "the value returned will be 0 or 1.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29136,9 +29274,9 @@ msgid "" "the button.\n" "This is useful for code that needs to run only once when an action is " "pressed, instead of every frame while it's pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_just_pressed] may " "return [code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29150,9 +29288,9 @@ msgid "" "Returns [code]true[/code] when the user stops pressing the action event, " "meaning it's [code]true[/code] only on the frame that the user released the " "button.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29161,9 +29299,9 @@ msgid "" "an action has multiple buttons assigned and more than one of them is " "pressed, releasing one button will release the action, even if some other " "button assigned to this action is still pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29513,18 +29651,18 @@ msgstr "" msgid "" "Returns a value between 0.0 and 1.0 depending on the given actions' state. " "Useful for getting the value of events of type [InputEventJoypadMotion].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml msgid "" "Returns [code]true[/code] if this input event matches a pre-defined action " "of any type.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -29533,9 +29671,9 @@ msgid "" "an echo event for [InputEventKey] events, unless [code]allow_echo[/code] is " "[code]true[/code]). Not relevant for events of type [InputEventMouseMotion] " "or [InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events.\n" +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29547,9 +29685,9 @@ msgid "" "Returns [code]true[/code] if the given action is released (i.e. not " "pressed). Not relevant for events of type [InputEventMouseMotion] or " "[InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -29580,9 +29718,9 @@ msgid "" "event. Only valid for action events i.e key ([InputEventKey]), button " "([InputEventMouseButton] or [InputEventJoypadButton]), axis " "[InputEventJoypadMotion] or action ([InputEventAction]) events.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -30112,9 +30250,9 @@ msgid "" "This method ignores keyboard modifiers if the given [InputEvent] is not " "pressed (for proper release detection). See [method action_has_event] if you " "don't want this behavior.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputMap.xml @@ -32518,7 +32656,7 @@ msgid "" "be within the text's length." msgstr "" -#: doc/classes/LineEdit.xml +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml msgid "Clears the current selection." msgstr "" @@ -32537,6 +32675,18 @@ msgid "" "characters." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection begin column." +msgstr "" + +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection end column." +msgstr "" + +#: doc/classes/LineEdit.xml +msgid "Returns [code]true[/code] if the user has selected text." +msgstr "" + #: doc/classes/LineEdit.xml msgid "Executes a given action as defined in the [enum MenuItems] enum." msgstr "" @@ -33950,6 +34100,39 @@ msgid "Returns the number of surface materials." msgstr "" #: doc/classes/MeshInstance.xml +msgid "" +"Returns [code]true[/code] if this [MeshInstance] can be merged with the " +"specified [code]other_mesh_instance[/code], using the [method MeshInstance." +"merge_meshes] function.\n" +"In order to be mergeable, properties of the [MeshInstance] must match, and " +"each surface must match, in terms of material, attributes and vertex format." +msgstr "" + +#: doc/classes/MeshInstance.xml +msgid "" +"This function can merge together the data from several source " +"[MeshInstance]s into a single destination [MeshInstance] (the MeshInstance " +"the function is called from). This is primarily useful for improving " +"performance by reducing the number of drawcalls and [Node]s.\n" +"Merging should only be attempted for simple meshes that do not contain " +"animation.\n" +"The final vertices can either be returned in global space, or in local space " +"relative to the destination [MeshInstance] global transform (the destination " +"Node must be inside the [SceneTree] for local space to work).\n" +"The function will make a final check for compatibility between the " +"[MeshInstance]s by default, this should always be used unless you have " +"previously checked for compatibility using [method MeshInstance." +"is_mergeable_with]. If the compatibility check is omitted and the meshes are " +"merged, you may see rendering errors.\n" +"[b]Note:[/b] The requirements for similarity between meshes are quite " +"stringent. They can be checked using the [method MeshInstance." +"is_mergeable_with] function prior to calling [method MeshInstance." +"merge_meshes].\n" +"Also note that any initial data in the destination [MeshInstance] data will " +"be discarded." +msgstr "" + +#: doc/classes/MeshInstance.xml msgid "Sets the [Material] for a surface of the [Mesh] resource." msgstr "" @@ -36402,12 +36585,12 @@ msgid "" "[/codeblock]\n" "[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " "must set [member owner] in addition to calling [method add_child]. This is " -"typically relevant for [url=https://godot.readthedocs.io/en/3.2/tutorials/" -"misc/running_code_in_the_editor.html]tool scripts[/url] and [url=https://" -"godot.readthedocs.io/en/latest/tutorials/plugins/editor/index.html]editor " -"plugins[/url]. If [method add_child] is called without setting [member " -"owner], the newly added [Node] will not be visible in the scene tree, though " -"it will be visible in the 2D/3D view." +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37114,7 +37297,15 @@ msgid "" "valid parent, grandparent, etc. ascending in the tree). When saving a node " "(using [PackedScene]), all the nodes it owns will be saved with it. This " "allows for the creation of complex [SceneTree]s, with instancing and " -"subinstancing." +"subinstancing.\n" +"[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " +"must set [member owner] in addition to calling [method add_child]. This is " +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37710,7 +37901,13 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Called when the object is initialized." +msgid "" +"Called when the object is initialized in memory. Can be defined to take in " +"parameters, that are passed in when constructing.\n" +"[b]Note:[/b] If [method _init] is defined with required parameters, then " +"explicit construction is the only valid means of creating an Object of the " +"class. If any other means (such as [method PackedScene.instance]) is used, " +"then initialization will fail." msgstr "" #: doc/classes/Object.xml @@ -37906,7 +38103,10 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Returns the object's metadata entry for the given [code]name[/code]." +msgid "" +"Returns the object's metadata entry for the given [code]name[/code].\n" +"Throws error if the entry does not exist, unless [code]default[/code] is not " +"[code]null[/code] (in which case the default value will be returned)." msgstr "" #: doc/classes/Object.xml @@ -40114,6 +40314,14 @@ msgid "" "[b]Note:[/b] Only available in editor builds." msgstr "" +#: modules/gltf/doc_classes/PackedSceneGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [PackedSceneGLTF] within a script will cause an error in an exported " +"project." +msgstr "" + #: doc/classes/PacketPeer.xml msgid "Abstraction and base class for packet-based protocols." msgstr "" @@ -42954,7 +43162,10 @@ msgid "" msgstr "" #: doc/classes/PhysicsServer.xml -msgid "Returns an Info defined by the [enum ProcessInfo] input given." +msgid "" +"Returns information about the current state of the 3D physics engine. See " +"[enum ProcessInfo] for a list of available states. Only implemented for " +"Godot Physics." msgstr "" #: doc/classes/PhysicsServer.xml @@ -45814,7 +46025,7 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Allows the window to be resizable by default.\n" -"[b]Note:[/b] This setting is ignored on iOS and Android." +"[b]Note:[/b] This setting is ignored on iOS." msgstr "" #: doc/classes/ProjectSettings.xml @@ -46461,7 +46672,7 @@ msgid "Optional name for the 3D render layer 13." msgstr "" #: doc/classes/ProjectSettings.xml -msgid "Optional name for the 3D render layer 14" +msgid "Optional name for the 3D render layer 14." msgstr "" #: doc/classes/ProjectSettings.xml @@ -47731,16 +47942,24 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" -"If [code]true[/code], forces vertex shading for all rendering. This can " -"increase performance a lot, but also reduces quality immensely. Can be used " -"to optimize performance on low-end mobile devices." +"If [code]true[/code], forces vertex shading for all 3D [SpatialMaterial] and " +"[ShaderMaterial] rendering. This can be used to improve performance on low-" +"end mobile devices. The downside is that shading becomes much less accurate, " +"with visible linear interpolation between vertices that are joined together. " +"This can be compensated by ensuring meshes have a sufficient level of " +"subdivision (but not too much, to avoid reducing performance). Some material " +"features are also not supported when vertex shading is enabled.\n" +"See also [member SpatialMaterial.flags_vertex_lighting] which can be used to " +"enable vertex shading on specific materials only.\n" +"[b]Note:[/b] This setting does not affect unshaded materials." msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Lower-end override for [member rendering/quality/shading/" "force_vertex_shading] on mobile devices, due to performance concerns or " -"driver support." +"driver support. If lighting looks broken after exporting the project to a " +"mobile platform, try disabling this setting." msgstr "" #: doc/classes/ProjectSettings.xml @@ -49775,6 +49994,10 @@ msgid "" msgstr "" #: doc/classes/RichTextLabel.xml +msgid "Returns the current selection text. Does not include BBCodes." +msgstr "" + +#: doc/classes/RichTextLabel.xml msgid "" "Returns the total number of characters from text tags. Does not include " "BBCodes." @@ -52066,14 +52289,23 @@ msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Lowers the [Semaphore], allowing one more thread in. Returns [constant OK] " -"on success, [constant ERR_BUSY] otherwise." +"Lowers the [Semaphore], allowing one more thread in.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Tries to wait for the [Semaphore], if its value is zero, blocks until non-" -"zero. Returns [constant OK] on success, [constant ERR_BUSY] otherwise." +"Like [method wait], but won't block, so if the value is zero, fails " +"immediately and returns [constant ERR_BUSY]. If non-zero, it returns " +"[constant OK] to report success." +msgstr "" + +#: doc/classes/Semaphore.xml +msgid "" +"Waits for the [Semaphore], if its value is zero, blocks until non-zero.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Separator.xml @@ -53519,7 +53751,21 @@ msgstr "" #: doc/classes/SpatialMaterial.xml msgid "" "If [code]true[/code], lighting is calculated per vertex rather than per " -"pixel. This may increase performance on low-end devices." +"pixel. This may increase performance on low-end devices, especially for " +"meshes with a lower polygon count. The downside is that shading becomes much " +"less accurate, with visible linear interpolation between vertices that are " +"joined together. This can be compensated by ensuring meshes have a " +"sufficient level of subdivision (but not too much, to avoid reducing " +"performance). Some material features are also not supported when vertex " +"shading is enabled.\n" +"See also [member ProjectSettings.rendering/quality/shading/" +"force_vertex_shading] which can globally enable vertex shading on all " +"materials.\n" +"[b]Note:[/b] By default, vertex shading is enforced on mobile platforms by " +"[member ProjectSettings.rendering/quality/shading/force_vertex_shading]'s " +"[code]mobile[/code] override.\n" +"[b]Note:[/b] [member flags_vertex_lighting] has no effect if [member " +"flags_unshaded] is [code]true[/code]." msgstr "" #: doc/classes/SpatialMaterial.xml @@ -54323,7 +54569,10 @@ msgid "" "the text alignment to right.\n" "See [Range] class for more options over the [SpinBox].\n" "[b]Note:[/b] [SpinBox] relies on an underlying [LineEdit] node. To theme a " -"[SpinBox]'s background, add theme items for [LineEdit] and customize them." +"[SpinBox]'s background, add theme items for [LineEdit] and customize them.\n" +"[b]Note:[/b] If you want to implement drag and drop for the underlying " +"[LineEdit], you can use [method Control.set_drag_forwarding] on the node " +"returned by [method get_line_edit]." msgstr "" #: doc/classes/SpinBox.xml @@ -55641,7 +55890,6 @@ msgid "" "print(\"1.7\".is_valid_float()) # Prints \"True\"\n" "print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"7e3\".is_valid_float()) # Prints \"True\"\n" -"print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55878,8 +56126,8 @@ msgid "" "var some_string = \"One,Two,Three,Four\"\n" "var some_array = some_string.rsplit(\",\", true, 1)\n" "print(some_array.size()) # Prints 2\n" -"print(some_array[0]) # Prints \"Four\"\n" -"print(some_array[1]) # Prints \"Three,Two,One\"\n" +"print(some_array[0]) # Prints \"One,Two,Three\"\n" +"print(some_array[1]) # Prints \"Four\"\n" "[/codeblock]" msgstr "" @@ -55912,9 +56160,9 @@ msgstr "" #: doc/classes/String.xml msgid "" "Returns the similarity index ([url=https://en.wikipedia.org/wiki/" -"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) this " -"string compared to another. 1.0 means totally similar and 0.0 means totally " -"dissimilar.\n" +"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) of " +"this string compared to another. A result of 1.0 means totally similar, " +"while 0.0 means totally dissimilar.\n" "[codeblock]\n" "print(\"ABC123\".similarity(\"ABC123\")) # Prints \"1\"\n" "print(\"ABC123\".similarity(\"XYZ456\")) # Prints \"0\"\n" @@ -57385,10 +57633,6 @@ msgid "" msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection begin column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection begin line." msgstr "" @@ -57397,10 +57641,6 @@ msgid "Returns the text inside the selection." msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection end column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection end line." msgstr "" @@ -58421,6 +58661,14 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Adds an empty theme type for every valid data type.\n" +"[b]Note:[/b] Empty types are not saved with the theme. This method only " +"exists to perform in-memory changes to the resource. Use available " +"[code]set_*[/code] methods to add theme items." +msgstr "" + +#: doc/classes/Theme.xml msgid "Clears all values on the theme." msgstr "" @@ -58680,6 +58928,13 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Removes the theme type, gracefully discarding defined theme items. If the " +"type is a variation, this information is also erased. If the type is a base " +"for type variations, those variations lose their base." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Renames the [Color] at [code]old_name[/code] to [code]name[/code] if the " "theme has [code]node_type[/code]. If [code]name[/code] is already taken, " "this method fails." @@ -71373,6 +71628,11 @@ msgid "" msgstr "" #: modules/websocket/doc_classes/WebSocketServer.xml +msgid "" +"Sets additional headers to be sent to clients during the HTTP handshake." +msgstr "" + +#: modules/websocket/doc_classes/WebSocketServer.xml msgid "Stops the server and clear its state." msgstr "" @@ -71468,6 +71728,9 @@ msgid "" "\n" " webxr_interface = ARVRServer.find_interface(\"WebXR\")\n" " if webxr_interface:\n" +" # Map to the standard button/axis ids when possible.\n" +" webxr_interface.xr_standard_mapping = true\n" +"\n" " # WebXR uses a lot of asynchronous callbacks, so we connect to " "various\n" " # signals in order to receive them.\n" @@ -71693,6 +71956,13 @@ msgstr "" #: modules/webxr/doc_classes/WebXRInterface.xml msgid "" +"If set to true, the button and axes ids will be converted to match the " +"standard ids used by other AR/VR interfaces, when possible.\n" +"Otherwise, the ids will be passed through unaltered from WebXR." +msgstr "" + +#: modules/webxr/doc_classes/WebXRInterface.xml +msgid "" "Emitted to indicate that the reference space has been reset or " "reconfigured.\n" "When (or whether) this is emitted depends on the user's browser or device, " diff --git a/doc/translations/id.po b/doc/translations/id.po index fc6b486005..f01667bef1 100644 --- a/doc/translations/id.po +++ b/doc/translations/id.po @@ -9,15 +9,17 @@ # Hanz <hanzhaxors@gmail.com>, 2021. # Naufal Adriansyah <naufaladrn90@gmail.com>, 2021. # Hilman Hazazi <hafizd.muhammad.kren.403@gmail.com>, 2021. -# Stephen Gunawan Susilo <gunawanstephen@yahoo.com>, 2021. +# Stephen Gunawan Susilo <gunawanstephen@yahoo.com>, 2021, 2022. # Azizkhasyi 11 <azizkhasyi11@gmail.com>, 2021. # zephyroths <ridho.hikaru@gmail.com>, 2022. +# ProgrammerIndonesia 44 <elo.jhy@gmail.com>, 2022. +# Reza Almanda <rezaalmanda27@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-02-22 15:52+0000\n" -"Last-Translator: zephyroths <ridho.hikaru@gmail.com>\n" +"PO-Revision-Date: 2022-04-08 07:11+0000\n" +"Last-Translator: Reza Almanda <rezaalmanda27@gmail.com>\n" "Language-Team: Indonesian <https://hosted.weblate.org/projects/godot-engine/" "godot-class-reference/id/>\n" "Language: id\n" @@ -25,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.11-dev\n" +"X-Generator: Weblate 4.12-dev\n" #: doc/tools/make_rst.py msgid "Description" @@ -68,21 +70,20 @@ msgid "Method Descriptions" msgstr "Deskripsi Method" #: doc/tools/make_rst.py -#, fuzzy msgid "Theme Property Descriptions" -msgstr "Deskripsi Properti" +msgstr "Deskripsi Properti Tema" #: doc/tools/make_rst.py msgid "Inherits:" -msgstr "" +msgstr "Mewarisi:" #: doc/tools/make_rst.py msgid "Inherited By:" -msgstr "" +msgstr "Diturunkan oleh:" #: doc/tools/make_rst.py msgid "(overrides %s)" -msgstr "" +msgstr "(menimpa %s)" #: doc/tools/make_rst.py msgid "Default" @@ -94,7 +95,7 @@ msgstr "" #: doc/tools/make_rst.py msgid "value" -msgstr "" +msgstr "nilai" #: doc/tools/make_rst.py msgid "Getter" @@ -103,18 +104,21 @@ msgstr "" #: doc/tools/make_rst.py msgid "" "This method should typically be overridden by the user to have any effect." -msgstr "" +msgstr "Metode ini biasanya harus diganti oleh pengguna agar memiliki efek." #: doc/tools/make_rst.py +#, fuzzy msgid "" "This method has no side effects. It doesn't modify any of the instance's " "member variables." msgstr "" +"Metode ini tidak memiliki efek samping. Itu tidak mengubah variabel anggota " +"instance." #: doc/tools/make_rst.py msgid "" "This method accepts any number of arguments after the ones described here." -msgstr "" +msgstr "Metode ini menerima sejumlah argumen setelah yang dijelaskan di sini." #: doc/tools/make_rst.py msgid "This method is used to construct a type." @@ -125,12 +129,17 @@ msgid "" "This method doesn't need an instance to be called, so it can be called " "directly using the class name." msgstr "" +"Metode ini tidak memerlukan instance untuk dipanggil, sehingga dapat " +"dipanggil langsung menggunakan nama class." #: doc/tools/make_rst.py +#, fuzzy msgid "" "This method describes a valid operator to use with this type as left-hand " "operand." msgstr "" +"Metode ini menjelaskan operator yang valid untuk digunakan dengan jenis ini " +"sebagai nilai pembilang." #: modules/gdscript/doc_classes/@GDScript.xml msgid "Built-in GDScript functions." @@ -211,10 +220,10 @@ msgid "" "c = acos(0.866025)\n" "[/codeblock]" msgstr "" -"Hasilkan arc kosinus dari [code]s[/code] dalam bentuk radian. Gunakanlah " -"untuk mendapatkan sudut kosinusnya [code]s[/code]. \n" -" [code]s[/code] harus antara [code]-1.0[/code] dan [code]1.0[/code] " -"(inclusive), jika tidak, [method acos] akan keluar [constant NAN].\n" +"Memberikan sudut kosinus dari [code]s[/code] dalam bentuk radian. Gunakanlah " +"untuk mendapatkan sudut kosinus [code]s[/code]. [code]s[/code] harus " +"bernilai antara [code]-1.0[/code] dan [code]1.0[/code] (inklusif), jika " +"tidak, [metode acos] akan memberikan [konstanta NAN].\n" "[codeblock]\n" "# c adalah 0.523599 atau 30 derajat jika dikonversi dengan rad2deg(s)\n" "c = acos(0.866025)\n" @@ -307,6 +316,7 @@ msgstr "" "[/codeblock]" #: modules/gdscript/doc_classes/@GDScript.xml +#, fuzzy msgid "" "Returns the arc tangent of [code]y/x[/code] in radians. Use to get the angle " "of tangent [code]y/x[/code]. To compute the value, the method takes into " @@ -316,6 +326,13 @@ msgid "" "a = atan2(0, -1) # a is 3.141593\n" "[/codeblock]" msgstr "" +"Mengembalikan tangen busur [code]y/x[/code] dalam radian. Gunakan untuk " +"mendapatkan sudut tangen [kode]y/x[/kode]. Untuk menghitung nilai, metode " +"memperhitungkan tanda dari kedua argumen untuk menentukan kuadran.\n" +"Catatan penting: Koordinat Y didahulukan, berdasarkan konvensi.\n" +"[blok kode]\n" +"a = atan2(0, -1) # a adalah 3.141593\n" +"[/blok kode]" #: modules/gdscript/doc_classes/@GDScript.xml msgid "" @@ -558,6 +575,14 @@ msgid "" "a = exp(2) # Approximately 7.39\n" "[/codeblock]" msgstr "" +"Fungsi eksponensial alami. Ini menaikkan konstanta matematika [b]e[/b] ke " +"pangkat [code]s[/code] dan mengembalikannya.\n" +"[b]e[/b] memiliki nilai perkiraan 2,71828, dan dapat diperoleh dengan " +"[code]exp(1)[/code].\n" +"Untuk eksponen ke basis lain gunakan metode [metode pow].\n" +"[codeblock]\n" +"a = exp(2) # Sekitar 7.39\n" +"[/codeblock]" #: modules/gdscript/doc_classes/@GDScript.xml #, fuzzy @@ -594,6 +619,16 @@ msgid "" "[/codeblock]\n" "For the integer remainder operation, use the % operator." msgstr "" +"Mengembalikan sisa titik-desimal [code]a/b[/code], dengan mempertahankan " +"tanda [code]a[/code].\n" +"[codeblock]\n" +"r = fmod(7, 5.5) # r adalah 1,5\n" +"Mengembalikan sisa titik-desimal [code]a/b[/code], dengan mempertahankan " +"tanda [code]a[/code].\n" +"[codeblock]\n" +"r = fmod(7, 5.5) # r adalah 1,5\n" +"[/codeblock]\n" +"Untuk operasi sisa bilangan bulat, gunakan operator %." #: modules/gdscript/doc_classes/@GDScript.xml msgid "" @@ -615,6 +650,23 @@ msgid "" " 1.5 0.0 0.0\n" "[/codeblock]" msgstr "" +"Mengembalikan modulus titik-desimal [code]a/b[/code] yang membungkus secara " +"merata dalam positif dan negatif.\n" +"[codeblock]\n" +"for i in 7:\n" +" var x = 0.5 * i - 1.5\n" +" print(\"%4.1f %4.1f %4.1f\" % [x, fmod(x, 1.5), fposmod(x, 1.5)])\n" +"[/codeblock]\n" +"Menghasilkan:\n" +"[codeblock]\n" +"-1.5 -0.0 0.0\n" +"-1.0 -1.0 0.5\n" +"-0.5 -0.5 1.0\n" +" 0.0 0.0 0.0\n" +" 0.5 0.5 0.5\n" +" 1.0 1.0 1.0\n" +" 1.5 0.0 0.0\n" +"[/codeblock]" #: modules/gdscript/doc_classes/@GDScript.xml msgid "" @@ -706,6 +758,7 @@ msgstr "" "[/codeblock]" #: modules/gdscript/doc_classes/@GDScript.xml +#, fuzzy msgid "" "Returns the Object that corresponds to [code]instance_id[/code]. All Objects " "have a unique instance ID.\n" @@ -717,6 +770,15 @@ msgid "" " print(inst.foo) # Prints bar\n" "[/codeblock]" msgstr "" +"Mengembalikan Objek yang sesuai dengan [code]instance_id[/code]. Semua Objek " +"memiliki ID instance unik.\n" +"[codeblock]\n" +"var foo = \"bar\"\n" +"func _ready():\n" +" var id = get_instance_id()\n" +" var inst = instance_from_id(id)\n" +" print(inst.foo) # Mencetak bar\n" +"[/codeblock]" #: modules/gdscript/doc_classes/@GDScript.xml msgid "" @@ -741,6 +803,7 @@ msgid "" msgstr "" #: modules/gdscript/doc_classes/@GDScript.xml +#, fuzzy msgid "" "Returns [code]true[/code] if [code]a[/code] and [code]b[/code] are " "approximately equal to each other.\n" @@ -749,23 +812,35 @@ msgid "" "magnitude of the numbers.\n" "Infinity values of the same sign are considered equal." msgstr "" +"Mengembalikan [code]true[/code] jika [code]a[/code] dan [code]b[/code] kira-" +"kira sama satu sama lain.\n" +"Di sini, kira-kira sama berarti [code]a[/code] dan [code]b[/code] berada " +"dalam epsilon internal kecil satu sama lain, yang berskala dengan besarnya " +"angka.\n" +"Nilai tak terhingga dari tanda yang sama dianggap sama." #: modules/gdscript/doc_classes/@GDScript.xml msgid "" "Returns whether [code]s[/code] is an infinity value (either positive " "infinity or negative infinity)." msgstr "" +"Mengembalikan apakah [code]s[/code] adalah nilai tak terhingga (tak " +"terhingga positif atau tak terhingga negatif)." #: modules/gdscript/doc_classes/@GDScript.xml msgid "" "Returns whether [code]instance[/code] is a valid object (e.g. has not been " "deleted from memory)." msgstr "" +"Mengembalikan apakah [code]instance[/code] adalah objek yang valid (mis. " +"belum dihapus dari memori)." #: modules/gdscript/doc_classes/@GDScript.xml msgid "" "Returns whether [code]s[/code] is a NaN (\"Not a Number\" or invalid) value." msgstr "" +"Mengembalikan apakah [code]s[/code] adalah nilai NaN (\"Not a Number\" atau " +"nilai tidak valid)." #: modules/gdscript/doc_classes/@GDScript.xml msgid "" @@ -773,8 +848,13 @@ msgid "" "This method is faster than using [method is_equal_approx] with one value as " "zero." msgstr "" +"Mengembalikan [code]true[/code] jika [code]s[/code] bernilai nol atau hampir " +"nol.\n" +"Metode ini lebih cepat daripada menggunakan [metode is_equal_approx] dengan " +"satu nilai sebagai nol." #: modules/gdscript/doc_classes/@GDScript.xml +#, fuzzy msgid "" "Returns length of Variant [code]var[/code]. Length is the character count of " "String, element count of Array, size of Dictionary, etc.\n" @@ -784,6 +864,14 @@ msgid "" "len(a) # Returns 4\n" "[/codeblock]" msgstr "" +"Mengembalikan panjang Varian [code]var[/code]. Panjang adalah jumlah " +"karakter String, jumlah elemen Array, ukuran Kamus, dll.\n" +"[b]Catatan:[/b] Menghasilkan kesalahan fatal jika Variant tidak dapat " +"memberikan nilai panjang.\n" +"[codeblock]\n" +"a = [1, 2, 3, 4]\n" +"len(a) # Mengembalikan 4\n" +"[/codeblock]" #: modules/gdscript/doc_classes/@GDScript.xml msgid "" @@ -825,6 +913,7 @@ msgid "" msgstr "" #: modules/gdscript/doc_classes/@GDScript.xml +#, fuzzy msgid "" "Converts from linear energy to decibels (audio). This can be used to " "implement volume sliders that behave as expected (since volume isn't " @@ -839,6 +928,18 @@ msgid "" "linear2db($Slider.value))\n" "[/codeblock]" msgstr "" +"Mengonversi dari energi linier ke desibel (audio). Ini dapat digunakan untuk " +"menerapkan penggeser volume yang berperilaku seperti yang diharapkan (karena " +"volume tidak linier). Contoh:\n" +"[codeblock]\n" +"# \"Penggeser\" mengacu pada node yang mewarisi Range seperti HSlider atau " +"VSlider.\n" +"# Rentangnya harus dikonfigurasi untuk beralih dari 0 ke 1.\n" +"# Ubah nama bus jika Anda ingin mengubah volume bus tertentu saja.Ubah nama " +"bus jika Anda ingin mengubah volume bus tertentu saja.\n" +"AudioServer.set_bus_volume_db(AudioServer.get_bus_index(\"Master\"), " +"linear2db($Slider.value))\n" +"[/codeblock]" #: modules/gdscript/doc_classes/@GDScript.xml msgid "" @@ -864,6 +965,7 @@ msgid "" msgstr "" #: modules/gdscript/doc_classes/@GDScript.xml +#, fuzzy msgid "" "Natural logarithm. The amount of time needed to reach a certain level of " "continuous growth.\n" @@ -875,6 +977,15 @@ msgid "" "[b]Note:[/b] The logarithm of [code]0[/code] returns [code]-inf[/code], " "while negative values return [code]-nan[/code]." msgstr "" +"Logaritma alami. Jumlah waktu yang dibutuhkan untuk mencapai tingkat " +"pertumbuhan berkelanjutan tertentu.\n" +"[b]Catatan:[/b] Ini tidak sama dengan fungsi \"log\" pada kebanyakan " +"kalkulator, yang menggunakan logaritma basis 10.\n" +"[codeblock]\n" +"log(10) # Mengembalikan 2.302585\n" +"[/codeblock]\n" +"[b]Catatan:[/b] Logaritma dari [code]0[/code] mengembalikan [code]-inf[/" +"code], sedangkan nilai negatif kembali [code]-nan[/code].p" #: modules/gdscript/doc_classes/@GDScript.xml msgid "" @@ -884,6 +995,11 @@ msgid "" "max(-3.99, -4) # Returns -3.99\n" "[/codeblock]" msgstr "" +"Mengembalikan maksimal dua nilai.\n" +"[codeblock]\n" +"maks(1, 2) # Mengembalikan 2\n" +"maks(-3,99, -4) # Mengembalikan -3,99\n" +"[/codeblock]" #: modules/gdscript/doc_classes/@GDScript.xml msgid "" @@ -893,6 +1009,11 @@ msgid "" "min(-3.99, -4) # Returns -4\n" "[/codeblock]" msgstr "" +"Mengembalikan minimal dua nilai.\n" +"[codeblock]\n" +"min(1, 2) # Mengembalikan 1\n" +"min(-3.99, -4) # Mengembalikan -4\n" +"[/codeblock]" #: modules/gdscript/doc_classes/@GDScript.xml msgid "" @@ -937,6 +1058,14 @@ msgid "" "[/codeblock]\n" "This is the inverse of [method char]." msgstr "" +"Mengembalikan bilangan bulat yang mewakili titik kode Unicode dari karakter " +"Unicode yang diberikan [code]char[/code].\n" +"[codeblock]\n" +"a = ord(\"A\") # a adalah 65\n" +"a = ord(\"a\") # a adalah 97\n" +"a = ord(\"€\") # a adalah 8364\n" +"[/codeblock]\n" +"Ini adalah kebalikan dari [method char]." #: modules/gdscript/doc_classes/@GDScript.xml msgid "" @@ -966,6 +1095,9 @@ msgid "" "from the origin [code]r[/code] and an angle [code]th[/code]) to the " "cartesian coordinate system (X and Y axis)." msgstr "" +"Mengonversi titik 2D yang dinyatakan dalam sistem koordinat kutub (jarak " +"dari [code]r[/code] asal dan sudut [code]th[/code]) ke sistem koordinat " +"kartesius (sumbu X dan Y)." #: modules/gdscript/doc_classes/@GDScript.xml msgid "" @@ -1004,6 +1136,7 @@ msgstr "" "[/codeblock]" #: modules/gdscript/doc_classes/@GDScript.xml +#, fuzzy msgid "" "Returns a [Resource] from the filesystem located at [code]path[/code]. The " "resource is loaded during script parsing, i.e. is loaded with the script and " @@ -1018,8 +1151,22 @@ msgid "" "var diamond = preload(\"res://diamond.tscn\").instance()\n" "[/codeblock]" msgstr "" +"Mengembalikan [Resource] dari sistem file yang terletak di [code]path[/" +"code]. Sumber daya dimuat selama penguraian skrip, yaitu dimuat dengan skrip " +"dan [metode preload] secara efektif bertindak sebagai referensi ke sumber " +"daya itu. Perhatikan bahwa metode ini membutuhkan jalur konstan. Jika Anda " +"ingin memuat sumber daya dari jalur dinamis/variabel, gunakan [metode " +"load].\n" +"[b]Catatan:[/b] Jalur sumber daya dapat diperoleh dengan mengklik kanan " +"sumber daya di Panel Aset dan memilih \"Salin Alamat\" atau dengan menyeret " +"file dari dok FileSystem ke dalam skrip.\n" +"[codeblock]\n" +"# Instance sebuah skena.\n" +"var diamond = preload(\"res://diamond.tscn\").instance()\n" +"[/codeblock]" #: modules/gdscript/doc_classes/@GDScript.xml +#, fuzzy msgid "" "Converts one or more arguments of any type to string in the best way " "possible and prints them to the console.\n" @@ -1032,12 +1179,26 @@ msgid "" "distinguishes them from print messages used for debugging purposes, while " "also displaying a stack trace when an error or warning is printed." msgstr "" +"Mengonversi satu atau beberapa argumen jenis apa pun menjadi string dengan " +"cara terbaik dan mencetaknya ke konsol.\n" +"[codeblock]\n" +"a = [1, 2, 3]\n" +"print(\"a\", \"=\", a) # Mencetak a=[1, 2, 3]\n" +"[/codeblock]\n" +"[b]Catatan:[/b] Pertimbangkan untuk menggunakan [metode push_error] dan " +"[metode push_warning] untuk mencetak pesan kesalahan dan peringatan alih-" +"alih [metode cetak]. Ini membedakannya dari pesan cetak yang digunakan untuk " +"tujuan debugging, sementara juga menampilkan jejak tumpukan ketika kesalahan " +"atau peringatan dicetak." #: modules/gdscript/doc_classes/@GDScript.xml msgid "Like [method print], but prints only when used in debug mode." msgstr "" +"Seperti [metode cetak], tetapi hanya mencetak saat digunakan dalam mode " +"debug." #: modules/gdscript/doc_classes/@GDScript.xml +#, fuzzy msgid "" "Prints a stack track at code location, only works when running with debugger " "turned on.\n" @@ -1046,8 +1207,15 @@ msgid "" "Frame 0 - res://test.gd:16 in function '_process'\n" "[/codeblock]" msgstr "" +"Mencetak trek tumpukan di lokasi kode, hanya berfungsi saat dijalankan " +"dengan debugger dihidupkan.\n" +"Output di konsol akan terlihat seperti ini:\n" +"[codeblock]\n" +"Frame 0 - res://test.gd:16 dalam fungsi '_process'\n" +"[/codeblock]" #: modules/gdscript/doc_classes/@GDScript.xml +#, fuzzy msgid "" "Prints one or more arguments to strings in the best way possible to standard " "error line.\n" @@ -1055,6 +1223,11 @@ msgid "" "printerr(\"prints to stderr\")\n" "[/codeblock]" msgstr "" +"Mencetak satu atau lebih argumen ke string dengan cara terbaik ke garis " +"kesalahan standar.\n" +"[codeblock]\n" +"printerr(\"mencetak ke stderr\")\n" +"[/codeblock]" #: modules/gdscript/doc_classes/@GDScript.xml msgid "" @@ -1069,6 +1242,16 @@ msgid "" "prints to the terminal. If you need to print in the editor, use another " "method, such as [method print]." msgstr "" +"Mencetak satu atau lebih argumen ke string dengan cara terbaik. Tidak ada " +"baris baru yang ditambahkan di akhir.\n" +"[codeblock]\n" +"printraw(\"A\")\n" +"printraw(\"B\")\n" +"# Mencetak AB\n" +"[/codeblock]\n" +"[b]Catatan:[/b] Karena keterbatasan dengan konsol bawaan Godot, ini hanya " +"mencetak ke terminal. Jika Anda perlu mencetak di editor, gunakan metode " +"lain, seperti [method print]." #: modules/gdscript/doc_classes/@GDScript.xml msgid "" @@ -1078,6 +1261,11 @@ msgid "" "prints(\"A\", \"B\", \"C\") # Prints A B C\n" "[/codeblock]" msgstr "" +"Mencetak satu atau beberapa argumen ke konsol dengan spasi di antara setiap " +"argumen.\n" +"[codeblock]\n" +"prints(\"A\", \"B\", \"C\") # Mencetak A B C\n" +"[/codeblock]" #: modules/gdscript/doc_classes/@GDScript.xml msgid "" @@ -1126,6 +1314,7 @@ msgstr "" "[/codeblock]" #: modules/gdscript/doc_classes/@GDScript.xml +#, fuzzy msgid "" "Random range, any floating point value between [code]from[/code] and " "[code]to[/code].\n" @@ -1133,6 +1322,12 @@ msgid "" "prints(rand_range(0, 1), rand_range(0, 1)) # Prints e.g. 0.135591 0.405263\n" "[/codeblock]" msgstr "" +"Rentang acak, setiap nilai floating point antara [code]from[/code] dan " +"[code]to[/code].\n" +"[codeblock]\n" +"prints(rand_range(0, 1), rand_range(0, 1)) # Mencetak mis. 0,135591 " +"0,405263\n" +"[/codeblock]" #: modules/gdscript/doc_classes/@GDScript.xml msgid "" @@ -1149,6 +1344,10 @@ msgid "" "randf() # Returns e.g. 0.375671\n" "[/codeblock]" msgstr "" +"Mengembalikan nilai floating point acak pada interval [code][0, 1][/code].\n" +"[codeblock]\n" +"randf() # Mengembalikan mis. 0,375671\n" +"[/codeblock]" #: modules/gdscript/doc_classes/@GDScript.xml msgid "" @@ -1216,6 +1415,7 @@ msgid "" msgstr "" #: modules/gdscript/doc_classes/@GDScript.xml +#, fuzzy msgid "" "Maps a [code]value[/code] from range [code][istart, istop][/code] to [code]" "[ostart, ostop][/code].\n" @@ -1223,6 +1423,11 @@ msgid "" "range_lerp(75, 0, 100, -1, 1) # Returns 0.5\n" "[/codeblock]" msgstr "" +"Memetakan sebuah [code] nilai[/code] dari jangkauan [code][istart, istop][/" +"code] ke [code][ostart, ostop][/code].\n" +"[codeblock]\n" +"range_lerp(75, 0, 100, -1, 1) # Mengembalikan 0.5\n" +"[/codeblock]" #: modules/gdscript/doc_classes/@GDScript.xml msgid "" @@ -3529,8 +3734,12 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" "Hints that an integer, float or string property is an enumerated value to " -"pick in a list specified via a hint string such as [code]\"Hello,Something," -"Else\"[/code]." +"pick in a list specified via a hint string.\n" +"The hint string is a comma separated list of names such as [code]\"Hello," +"Something,Else\"[/code]. For integer and float properties, the first name in " +"the list has value 0, the next 1, and so on. Explicit values can also be " +"specified by appending [code]:integer[/code] to the name, e.g. [code]\"Zero," +"One,Three:3,Four,Six:6\"[/code]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -3671,7 +3880,7 @@ msgid "The property is a translatable string." msgstr "" #: doc/classes/@GlobalScope.xml -msgid "Used to group properties together in the editor." +msgid "Used to group properties together in the editor. See [EditorInspector]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -5443,8 +5652,11 @@ msgstr "" #: doc/classes/AnimationNodeBlendTree.xml msgid "" -"This node may contain a sub-tree of any other blend type nodes, such as mix, " -"blend2, blend3, one shot, etc. This is one of the most commonly used roots." +"This node may contain a sub-tree of any other blend type nodes, such as " +"[AnimationNodeTransition], [AnimationNodeBlend2], [AnimationNodeBlend3], " +"[AnimationNodeOneShot], etc. This is one of the most commonly used roots.\n" +"An [AnimationNodeOutput] node named [code]output[/code] is created by " +"default." msgstr "" #: doc/classes/AnimationNodeBlendTree.xml @@ -7186,8 +7398,9 @@ msgstr "" #: doc/classes/Array.xml msgid "" -"Removes the first occurrence of a value from the array. To remove an element " -"by index, use [method remove] instead.\n" +"Removes the first occurrence of a value from the array. If the value does " +"not exist in the array, nothing happens. To remove an element by index, use " +"[method remove] instead.\n" "[b]Note:[/b] This method acts in-place and doesn't return a value.\n" "[b]Note:[/b] On large arrays, this method will be slower if the removed " "element is close to the beginning of the array (index 0). This is because " @@ -10563,8 +10776,15 @@ msgstr "" #: doc/classes/BakedLightmap.xml msgid "" -"When enabled, the lightmapper will merge the textures for all meshes into a " -"single large layered texture. Not supported in GLES2." +"If [code]true[/code], the lightmapper will merge the textures for all meshes " +"into one or several large layered textures. If [code]false[/code], every " +"mesh will get its own lightmap texture, which is less efficient.\n" +"[b]Note:[/b] Atlas lightmap rendering is only supported in GLES3, [i]not[/i] " +"GLES2. Non-atlas lightmap rendering is supported by both GLES3 and GLES2. If " +"[member ProjectSettings.rendering/quality/driver/fallback_to_gles2] is " +"[code]true[/code], consider baking lightmaps with [member atlas_generate] " +"set to [code]false[/code] so that the resulting lightmap is visible in both " +"GLES3 and GLES2." msgstr "" #: doc/classes/BakedLightmap.xml @@ -11907,8 +12127,8 @@ msgstr "" #: doc/classes/Camera.xml msgid "" "The camera's size measured as 1/2 the width or height. Only applicable in " -"orthogonal mode. Since [member keep_aspect] locks on axis, [code]size[/code] " -"sets the other axis' size length." +"orthogonal and frustum modes. Since [member keep_aspect] locks on axis, " +"[code]size[/code] sets the other axis' size length." msgstr "" #: doc/classes/Camera.xml @@ -12707,20 +12927,24 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], the node won't inherit its " -"transform from parent canvas items." +"If [code]enable[/code] is [code]true[/code], this [CanvasItem] will [i]not[/" +"i] inherit its transform from parent [CanvasItem]s. Its draw order will also " +"be changed to make it draw on top of other [CanvasItem]s that are not set as " +"top-level. The [CanvasItem] will effectively act as if it was placed as a " +"child of a bare [Node]. See also [method is_set_as_toplevel]." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"local transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_LOCAL_TRANSFORM_CHANGED] when its local transform " +"changes." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"global transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_TRANSFORM_CHANGED] when its global transform changes." msgstr "" #: doc/classes/CanvasItem.xml @@ -12834,9 +13058,14 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"The [CanvasItem]'s transform has changed. This notification is only received " -"if enabled by [method set_notify_transform] or [method " -"set_notify_local_transform]." +"The [CanvasItem]'s global transform has changed. This notification is only " +"received if enabled by [method set_notify_transform]." +msgstr "" + +#: doc/classes/CanvasItem.xml +msgid "" +"The [CanvasItem]'s local transform has changed. This notification is only " +"received if enabled by [method set_notify_local_transform]." msgstr "" #: doc/classes/CanvasItem.xml @@ -13791,7 +14020,10 @@ msgid "" "number of 2D collision [Shape2D]s. Each shape must be assigned to a [i]shape " "owner[/i]. The CollisionObject2D can have any number of shape owners. Shape " "owners are not nodes and do not appear in the editor, but are accessible " -"through code using the [code]shape_owner_*[/code] methods." +"through code using the [code]shape_owner_*[/code] methods.\n" +"[b]Note:[/b] Only collisions between objects within the same canvas " +"([Viewport] canvas or [CanvasLayer]) are supported. The behavior of " +"collisions between objects in different canvases is undefined." msgstr "" #: doc/classes/CollisionObject2D.xml @@ -19798,9 +20030,8 @@ msgid "" "main font.\n" "DynamicFont uses the [url=https://www.freetype.org/]FreeType[/url] library " "for rasterization. Supported formats are TrueType ([code].ttf[/code]), " -"OpenType ([code].otf[/code]) and Web Open Font Format 1 ([code].woff[/" -"code]). Web Open Font Format 2 ([code].woff2[/code]) is [i]not[/i] " -"supported.\n" +"OpenType ([code].otf[/code]), Web Open Font Format 1 ([code].woff[/code]), " +"and Web Open Font Format 2 ([code].woff2[/code]).\n" "[codeblock]\n" "var dynamic_font = DynamicFont.new()\n" "dynamic_font.font_data = load(\"res://BarlowCondensed-Bold.ttf\")\n" @@ -20667,18 +20898,34 @@ msgid "" msgstr "" #: doc/classes/EditorInspector.xml -msgid "A tab used to edit properties of the selected node." +msgid "A control used to edit properties of an object." msgstr "" #: doc/classes/EditorInspector.xml msgid "" -"The editor inspector is by default located on the right-hand side of the " -"editor. It's used to edit the properties of the selected node. For example, " -"you can select a node such as [Sprite] then edit its transform through the " -"inspector tool. The editor inspector is an essential tool in the game " -"development workflow.\n" -"[b]Note:[/b] This class shouldn't be instantiated directly. Instead, access " -"the singleton using [method EditorInterface.get_inspector]." +"This is the control that implements property editing in the editor's " +"Settings dialogs, the Inspector dock, etc. To get the [EditorInspector] used " +"in the editor's Inspector dock, use [method EditorInterface.get_inspector].\n" +"[EditorInspector] will show properties in the same order as the array " +"returned by [method Object.get_property_list].\n" +"If a property's name is path-like (i.e. if it contains forward slashes), " +"[EditorInspector] will create nested sections for \"directories\" along the " +"path. For example, if a property is named [code]highlighting/gdscript/" +"node_path_color[/code], it will be shown as \"Node Path Color\" inside the " +"\"GDScript\" section nested inside the \"Highlighting\" section.\n" +"If a property has [constant @GlobalScope.PROPERTY_USAGE_GROUP] usage, it " +"will group subsequent properties whose name starts with the property's hint " +"string. The group ends when a property does not start with that hint string " +"or when a new group starts. An empty group name effectively ends the current " +"group. [EditorInspector] will create a top-level section for each group. For " +"example, if a property with group usage is named [code]Collide With[/code] " +"and its hint string is [code]collide_with_[/code], a subsequent " +"[code]collide_with_area[/code] property will be shown as \"Area\" inside the " +"\"Collide With\" section.\n" +"[b]Note:[/b] Unlike sections created from path-like property names, " +"[EditorInspector] won't capitalize the name for sections created from " +"groups. So properties with group usage usually use capitalized names instead " +"of snake_cased names." msgstr "" #: doc/classes/EditorInspector.xml @@ -21853,6 +22100,14 @@ msgid "" "[/codeblock]" msgstr "" +#: modules/gltf/doc_classes/EditorSceneImporterGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [EditorSceneImporterGLTF] within a script will cause an error in an " +"exported project." +msgstr "" + #: doc/classes/EditorScenePostImport.xml msgid "Post-processes scenes after import." msgstr "" @@ -22591,12 +22846,13 @@ msgstr "" #: doc/classes/EditorVCSInterface.xml msgid "" "Helper function to create a commit [Dictionary] item. [code]msg[/code] is " -"the commit message of the commit. [code]author[/code] is a human-readable " -"string containing the author's details, e.g. the email and name configured " -"in the VCS. [code]id[/code] is the identifier of the commit, in whichever " -"format your VCS may provide an identifier to commits. [code]date[/code] is " -"directly added to the commit item and displayed in the editor, and hence, it " -"shall be a well-formatted, human-readable date string." +"the commit message of the commit. [code]author[/code] is a single human-" +"readable string containing all the author's details, e.g. the email and name " +"configured in the VCS. [code]id[/code] is the identifier of the commit, in " +"whichever format your VCS may provide an identifier to commits. " +"[code]unix_timestamp[/code] is the UTC Unix timestamp of when the commit was " +"created. [code]offset_minutes[/code] is the timezone offset in minutes, " +"recorded from the system timezone where the commit was created." msgstr "" #: doc/classes/EditorVCSInterface.xml @@ -25752,6 +26008,50 @@ msgstr "" msgid "Represents the size of the [enum Subdiv] enum." msgstr "" +#: modules/gltf/doc_classes/GLTFAccessor.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAccessor] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFAnimation.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAnimation] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFBufferView.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFBufferView] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFCamera.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFCamera] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFDocument.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFDocument] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFLight.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFLight] within a script will cause an error in an exported project." +msgstr "" + #: modules/gltf/doc_classes/GLTFLight.xml msgid "" "The [Color] of the light. Defaults to white. A black color causes the light " @@ -25801,6 +26101,49 @@ msgid "" "and [DirectionalLight] respectively." msgstr "" +#: modules/gltf/doc_classes/GLTFMesh.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFMesh] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFNode.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFNode] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSkeleton.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSkeleton] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSpecGloss.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSpecGloss] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFState.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFState] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFTexture.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFTexture] within a script will cause an error in an exported project." +msgstr "" + #: modules/mono/doc_classes/GodotSharp.xml msgid "Bridge between Godot and the Mono runtime (Mono-enabled builds only)." msgstr "" @@ -29186,9 +29529,9 @@ msgid "" "Returns a value between 0 and 1 representing the raw intensity of the given " "action, ignoring the action's deadzone. In most cases, you should use " "[method get_action_strength] instead.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29198,9 +29541,9 @@ msgid "" "or L2, R2 triggers) is from the dead zone, the closer the value will be to " "1. If the action is mapped to a control that has no axis as the keyboard, " "the value returned will be 0 or 1.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29333,9 +29676,9 @@ msgid "" "the button.\n" "This is useful for code that needs to run only once when an action is " "pressed, instead of every frame while it's pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_just_pressed] may " "return [code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29347,9 +29690,9 @@ msgid "" "Returns [code]true[/code] when the user stops pressing the action event, " "meaning it's [code]true[/code] only on the frame that the user released the " "button.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29358,9 +29701,9 @@ msgid "" "an action has multiple buttons assigned and more than one of them is " "pressed, releasing one button will release the action, even if some other " "button assigned to this action is still pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29710,18 +30053,18 @@ msgstr "" msgid "" "Returns a value between 0.0 and 1.0 depending on the given actions' state. " "Useful for getting the value of events of type [InputEventJoypadMotion].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml msgid "" "Returns [code]true[/code] if this input event matches a pre-defined action " "of any type.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -29730,9 +30073,9 @@ msgid "" "an echo event for [InputEventKey] events, unless [code]allow_echo[/code] is " "[code]true[/code]). Not relevant for events of type [InputEventMouseMotion] " "or [InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events.\n" +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29744,9 +30087,9 @@ msgid "" "Returns [code]true[/code] if the given action is released (i.e. not " "pressed). Not relevant for events of type [InputEventMouseMotion] or " "[InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -29777,9 +30120,9 @@ msgid "" "event. Only valid for action events i.e key ([InputEventKey]), button " "([InputEventMouseButton] or [InputEventJoypadButton]), axis " "[InputEventJoypadMotion] or action ([InputEventAction]) events.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -30309,9 +30652,9 @@ msgid "" "This method ignores keyboard modifiers if the given [InputEvent] is not " "pressed (for proper release detection). See [method action_has_event] if you " "don't want this behavior.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputMap.xml @@ -32715,7 +33058,7 @@ msgid "" "be within the text's length." msgstr "" -#: doc/classes/LineEdit.xml +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml msgid "Clears the current selection." msgstr "" @@ -32734,6 +33077,18 @@ msgid "" "characters." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection begin column." +msgstr "" + +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection end column." +msgstr "" + +#: doc/classes/LineEdit.xml +msgid "Returns [code]true[/code] if the user has selected text." +msgstr "" + #: doc/classes/LineEdit.xml msgid "Executes a given action as defined in the [enum MenuItems] enum." msgstr "" @@ -34147,6 +34502,39 @@ msgid "Returns the number of surface materials." msgstr "" #: doc/classes/MeshInstance.xml +msgid "" +"Returns [code]true[/code] if this [MeshInstance] can be merged with the " +"specified [code]other_mesh_instance[/code], using the [method MeshInstance." +"merge_meshes] function.\n" +"In order to be mergeable, properties of the [MeshInstance] must match, and " +"each surface must match, in terms of material, attributes and vertex format." +msgstr "" + +#: doc/classes/MeshInstance.xml +msgid "" +"This function can merge together the data from several source " +"[MeshInstance]s into a single destination [MeshInstance] (the MeshInstance " +"the function is called from). This is primarily useful for improving " +"performance by reducing the number of drawcalls and [Node]s.\n" +"Merging should only be attempted for simple meshes that do not contain " +"animation.\n" +"The final vertices can either be returned in global space, or in local space " +"relative to the destination [MeshInstance] global transform (the destination " +"Node must be inside the [SceneTree] for local space to work).\n" +"The function will make a final check for compatibility between the " +"[MeshInstance]s by default, this should always be used unless you have " +"previously checked for compatibility using [method MeshInstance." +"is_mergeable_with]. If the compatibility check is omitted and the meshes are " +"merged, you may see rendering errors.\n" +"[b]Note:[/b] The requirements for similarity between meshes are quite " +"stringent. They can be checked using the [method MeshInstance." +"is_mergeable_with] function prior to calling [method MeshInstance." +"merge_meshes].\n" +"Also note that any initial data in the destination [MeshInstance] data will " +"be discarded." +msgstr "" + +#: doc/classes/MeshInstance.xml msgid "Sets the [Material] for a surface of the [Mesh] resource." msgstr "" @@ -36613,12 +37001,12 @@ msgid "" "[/codeblock]\n" "[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " "must set [member owner] in addition to calling [method add_child]. This is " -"typically relevant for [url=https://godot.readthedocs.io/en/3.2/tutorials/" -"misc/running_code_in_the_editor.html]tool scripts[/url] and [url=https://" -"godot.readthedocs.io/en/latest/tutorials/plugins/editor/index.html]editor " -"plugins[/url]. If [method add_child] is called without setting [member " -"owner], the newly added [Node] will not be visible in the scene tree, though " -"it will be visible in the 2D/3D view." +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37325,7 +37713,15 @@ msgid "" "valid parent, grandparent, etc. ascending in the tree). When saving a node " "(using [PackedScene]), all the nodes it owns will be saved with it. This " "allows for the creation of complex [SceneTree]s, with instancing and " -"subinstancing." +"subinstancing.\n" +"[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " +"must set [member owner] in addition to calling [method add_child]. This is " +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37921,7 +38317,13 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Called when the object is initialized." +msgid "" +"Called when the object is initialized in memory. Can be defined to take in " +"parameters, that are passed in when constructing.\n" +"[b]Note:[/b] If [method _init] is defined with required parameters, then " +"explicit construction is the only valid means of creating an Object of the " +"class. If any other means (such as [method PackedScene.instance]) is used, " +"then initialization will fail." msgstr "" #: doc/classes/Object.xml @@ -38117,7 +38519,10 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Returns the object's metadata entry for the given [code]name[/code]." +msgid "" +"Returns the object's metadata entry for the given [code]name[/code].\n" +"Throws error if the entry does not exist, unless [code]default[/code] is not " +"[code]null[/code] (in which case the default value will be returned)." msgstr "" #: doc/classes/Object.xml @@ -40328,6 +40733,14 @@ msgid "" "[b]Note:[/b] Only available in editor builds." msgstr "" +#: modules/gltf/doc_classes/PackedSceneGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [PackedSceneGLTF] within a script will cause an error in an exported " +"project." +msgstr "" + #: doc/classes/PacketPeer.xml msgid "Abstraction and base class for packet-based protocols." msgstr "" @@ -43182,7 +43595,10 @@ msgid "" msgstr "" #: doc/classes/PhysicsServer.xml -msgid "Returns an Info defined by the [enum ProcessInfo] input given." +msgid "" +"Returns information about the current state of the 3D physics engine. See " +"[enum ProcessInfo] for a list of available states. Only implemented for " +"Godot Physics." msgstr "" #: doc/classes/PhysicsServer.xml @@ -46044,7 +46460,7 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Allows the window to be resizable by default.\n" -"[b]Note:[/b] This setting is ignored on iOS and Android." +"[b]Note:[/b] This setting is ignored on iOS." msgstr "" #: doc/classes/ProjectSettings.xml @@ -46691,7 +47107,7 @@ msgid "Optional name for the 3D render layer 13." msgstr "" #: doc/classes/ProjectSettings.xml -msgid "Optional name for the 3D render layer 14" +msgid "Optional name for the 3D render layer 14." msgstr "" #: doc/classes/ProjectSettings.xml @@ -47961,16 +48377,24 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" -"If [code]true[/code], forces vertex shading for all rendering. This can " -"increase performance a lot, but also reduces quality immensely. Can be used " -"to optimize performance on low-end mobile devices." +"If [code]true[/code], forces vertex shading for all 3D [SpatialMaterial] and " +"[ShaderMaterial] rendering. This can be used to improve performance on low-" +"end mobile devices. The downside is that shading becomes much less accurate, " +"with visible linear interpolation between vertices that are joined together. " +"This can be compensated by ensuring meshes have a sufficient level of " +"subdivision (but not too much, to avoid reducing performance). Some material " +"features are also not supported when vertex shading is enabled.\n" +"See also [member SpatialMaterial.flags_vertex_lighting] which can be used to " +"enable vertex shading on specific materials only.\n" +"[b]Note:[/b] This setting does not affect unshaded materials." msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Lower-end override for [member rendering/quality/shading/" "force_vertex_shading] on mobile devices, due to performance concerns or " -"driver support." +"driver support. If lighting looks broken after exporting the project to a " +"mobile platform, try disabling this setting." msgstr "" #: doc/classes/ProjectSettings.xml @@ -50005,6 +50429,11 @@ msgid "" msgstr "" #: doc/classes/RichTextLabel.xml +#, fuzzy +msgid "Returns the current selection text. Does not include BBCodes." +msgstr "Mengembalikan nilai hiperbolik tangen dari parameter." + +#: doc/classes/RichTextLabel.xml msgid "" "Returns the total number of characters from text tags. Does not include " "BBCodes." @@ -52296,14 +52725,23 @@ msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Lowers the [Semaphore], allowing one more thread in. Returns [constant OK] " -"on success, [constant ERR_BUSY] otherwise." +"Lowers the [Semaphore], allowing one more thread in.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." +msgstr "" + +#: doc/classes/Semaphore.xml +msgid "" +"Like [method wait], but won't block, so if the value is zero, fails " +"immediately and returns [constant ERR_BUSY]. If non-zero, it returns " +"[constant OK] to report success." msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Tries to wait for the [Semaphore], if its value is zero, blocks until non-" -"zero. Returns [constant OK] on success, [constant ERR_BUSY] otherwise." +"Waits for the [Semaphore], if its value is zero, blocks until non-zero.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Separator.xml @@ -53749,7 +54187,21 @@ msgstr "" #: doc/classes/SpatialMaterial.xml msgid "" "If [code]true[/code], lighting is calculated per vertex rather than per " -"pixel. This may increase performance on low-end devices." +"pixel. This may increase performance on low-end devices, especially for " +"meshes with a lower polygon count. The downside is that shading becomes much " +"less accurate, with visible linear interpolation between vertices that are " +"joined together. This can be compensated by ensuring meshes have a " +"sufficient level of subdivision (but not too much, to avoid reducing " +"performance). Some material features are also not supported when vertex " +"shading is enabled.\n" +"See also [member ProjectSettings.rendering/quality/shading/" +"force_vertex_shading] which can globally enable vertex shading on all " +"materials.\n" +"[b]Note:[/b] By default, vertex shading is enforced on mobile platforms by " +"[member ProjectSettings.rendering/quality/shading/force_vertex_shading]'s " +"[code]mobile[/code] override.\n" +"[b]Note:[/b] [member flags_vertex_lighting] has no effect if [member " +"flags_unshaded] is [code]true[/code]." msgstr "" #: doc/classes/SpatialMaterial.xml @@ -54553,7 +55005,10 @@ msgid "" "the text alignment to right.\n" "See [Range] class for more options over the [SpinBox].\n" "[b]Note:[/b] [SpinBox] relies on an underlying [LineEdit] node. To theme a " -"[SpinBox]'s background, add theme items for [LineEdit] and customize them." +"[SpinBox]'s background, add theme items for [LineEdit] and customize them.\n" +"[b]Note:[/b] If you want to implement drag and drop for the underlying " +"[LineEdit], you can use [method Control.set_drag_forwarding] on the node " +"returned by [method get_line_edit]." msgstr "" #: doc/classes/SpinBox.xml @@ -55873,7 +56328,6 @@ msgid "" "print(\"1.7\".is_valid_float()) # Prints \"True\"\n" "print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"7e3\".is_valid_float()) # Prints \"True\"\n" -"print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -56110,8 +56564,8 @@ msgid "" "var some_string = \"One,Two,Three,Four\"\n" "var some_array = some_string.rsplit(\",\", true, 1)\n" "print(some_array.size()) # Prints 2\n" -"print(some_array[0]) # Prints \"Four\"\n" -"print(some_array[1]) # Prints \"Three,Two,One\"\n" +"print(some_array[0]) # Prints \"One,Two,Three\"\n" +"print(some_array[1]) # Prints \"Four\"\n" "[/codeblock]" msgstr "" @@ -56144,9 +56598,9 @@ msgstr "" #: doc/classes/String.xml msgid "" "Returns the similarity index ([url=https://en.wikipedia.org/wiki/" -"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) this " -"string compared to another. 1.0 means totally similar and 0.0 means totally " -"dissimilar.\n" +"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) of " +"this string compared to another. A result of 1.0 means totally similar, " +"while 0.0 means totally dissimilar.\n" "[codeblock]\n" "print(\"ABC123\".similarity(\"ABC123\")) # Prints \"1\"\n" "print(\"ABC123\".similarity(\"XYZ456\")) # Prints \"0\"\n" @@ -57619,10 +58073,6 @@ msgid "" msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection begin column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection begin line." msgstr "" @@ -57631,10 +58081,6 @@ msgid "Returns the text inside the selection." msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection end column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection end line." msgstr "" @@ -58657,6 +59103,14 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Adds an empty theme type for every valid data type.\n" +"[b]Note:[/b] Empty types are not saved with the theme. This method only " +"exists to perform in-memory changes to the resource. Use available " +"[code]set_*[/code] methods to add theme items." +msgstr "" + +#: doc/classes/Theme.xml msgid "Clears all values on the theme." msgstr "" @@ -58916,6 +59370,13 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Removes the theme type, gracefully discarding defined theme items. If the " +"type is a variation, this information is also erased. If the type is a base " +"for type variations, those variations lose their base." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Renames the [Color] at [code]old_name[/code] to [code]name[/code] if the " "theme has [code]node_type[/code]. If [code]name[/code] is already taken, " "this method fails." @@ -71616,6 +72077,11 @@ msgid "" msgstr "" #: modules/websocket/doc_classes/WebSocketServer.xml +msgid "" +"Sets additional headers to be sent to clients during the HTTP handshake." +msgstr "" + +#: modules/websocket/doc_classes/WebSocketServer.xml msgid "Stops the server and clear its state." msgstr "" @@ -71711,6 +72177,9 @@ msgid "" "\n" " webxr_interface = ARVRServer.find_interface(\"WebXR\")\n" " if webxr_interface:\n" +" # Map to the standard button/axis ids when possible.\n" +" webxr_interface.xr_standard_mapping = true\n" +"\n" " # WebXR uses a lot of asynchronous callbacks, so we connect to " "various\n" " # signals in order to receive them.\n" @@ -71936,6 +72405,13 @@ msgstr "" #: modules/webxr/doc_classes/WebXRInterface.xml msgid "" +"If set to true, the button and axes ids will be converted to match the " +"standard ids used by other AR/VR interfaces, when possible.\n" +"Otherwise, the ids will be passed through unaltered from WebXR." +msgstr "" + +#: modules/webxr/doc_classes/WebXRInterface.xml +msgid "" "Emitted to indicate that the reference space has been reset or " "reconfigured.\n" "When (or whether) this is emitted depends on the user's browser or device, " diff --git a/doc/translations/is.po b/doc/translations/is.po index 704ccfa6bf..e6a56827fe 100644 --- a/doc/translations/is.po +++ b/doc/translations/is.po @@ -3323,8 +3323,12 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" "Hints that an integer, float or string property is an enumerated value to " -"pick in a list specified via a hint string such as [code]\"Hello,Something," -"Else\"[/code]." +"pick in a list specified via a hint string.\n" +"The hint string is a comma separated list of names such as [code]\"Hello," +"Something,Else\"[/code]. For integer and float properties, the first name in " +"the list has value 0, the next 1, and so on. Explicit values can also be " +"specified by appending [code]:integer[/code] to the name, e.g. [code]\"Zero," +"One,Three:3,Four,Six:6\"[/code]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -3465,7 +3469,7 @@ msgid "The property is a translatable string." msgstr "" #: doc/classes/@GlobalScope.xml -msgid "Used to group properties together in the editor." +msgid "Used to group properties together in the editor. See [EditorInspector]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -5236,8 +5240,11 @@ msgstr "" #: doc/classes/AnimationNodeBlendTree.xml msgid "" -"This node may contain a sub-tree of any other blend type nodes, such as mix, " -"blend2, blend3, one shot, etc. This is one of the most commonly used roots." +"This node may contain a sub-tree of any other blend type nodes, such as " +"[AnimationNodeTransition], [AnimationNodeBlend2], [AnimationNodeBlend3], " +"[AnimationNodeOneShot], etc. This is one of the most commonly used roots.\n" +"An [AnimationNodeOutput] node named [code]output[/code] is created by " +"default." msgstr "" #: doc/classes/AnimationNodeBlendTree.xml @@ -6979,8 +6986,9 @@ msgstr "" #: doc/classes/Array.xml msgid "" -"Removes the first occurrence of a value from the array. To remove an element " -"by index, use [method remove] instead.\n" +"Removes the first occurrence of a value from the array. If the value does " +"not exist in the array, nothing happens. To remove an element by index, use " +"[method remove] instead.\n" "[b]Note:[/b] This method acts in-place and doesn't return a value.\n" "[b]Note:[/b] On large arrays, this method will be slower if the removed " "element is close to the beginning of the array (index 0). This is because " @@ -10356,8 +10364,15 @@ msgstr "" #: doc/classes/BakedLightmap.xml msgid "" -"When enabled, the lightmapper will merge the textures for all meshes into a " -"single large layered texture. Not supported in GLES2." +"If [code]true[/code], the lightmapper will merge the textures for all meshes " +"into one or several large layered textures. If [code]false[/code], every " +"mesh will get its own lightmap texture, which is less efficient.\n" +"[b]Note:[/b] Atlas lightmap rendering is only supported in GLES3, [i]not[/i] " +"GLES2. Non-atlas lightmap rendering is supported by both GLES3 and GLES2. If " +"[member ProjectSettings.rendering/quality/driver/fallback_to_gles2] is " +"[code]true[/code], consider baking lightmaps with [member atlas_generate] " +"set to [code]false[/code] so that the resulting lightmap is visible in both " +"GLES3 and GLES2." msgstr "" #: doc/classes/BakedLightmap.xml @@ -11700,8 +11715,8 @@ msgstr "" #: doc/classes/Camera.xml msgid "" "The camera's size measured as 1/2 the width or height. Only applicable in " -"orthogonal mode. Since [member keep_aspect] locks on axis, [code]size[/code] " -"sets the other axis' size length." +"orthogonal and frustum modes. Since [member keep_aspect] locks on axis, " +"[code]size[/code] sets the other axis' size length." msgstr "" #: doc/classes/Camera.xml @@ -12499,20 +12514,24 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], the node won't inherit its " -"transform from parent canvas items." +"If [code]enable[/code] is [code]true[/code], this [CanvasItem] will [i]not[/" +"i] inherit its transform from parent [CanvasItem]s. Its draw order will also " +"be changed to make it draw on top of other [CanvasItem]s that are not set as " +"top-level. The [CanvasItem] will effectively act as if it was placed as a " +"child of a bare [Node]. See also [method is_set_as_toplevel]." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"local transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_LOCAL_TRANSFORM_CHANGED] when its local transform " +"changes." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"global transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_TRANSFORM_CHANGED] when its global transform changes." msgstr "" #: doc/classes/CanvasItem.xml @@ -12626,9 +12645,14 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"The [CanvasItem]'s transform has changed. This notification is only received " -"if enabled by [method set_notify_transform] or [method " -"set_notify_local_transform]." +"The [CanvasItem]'s global transform has changed. This notification is only " +"received if enabled by [method set_notify_transform]." +msgstr "" + +#: doc/classes/CanvasItem.xml +msgid "" +"The [CanvasItem]'s local transform has changed. This notification is only " +"received if enabled by [method set_notify_local_transform]." msgstr "" #: doc/classes/CanvasItem.xml @@ -13583,7 +13607,10 @@ msgid "" "number of 2D collision [Shape2D]s. Each shape must be assigned to a [i]shape " "owner[/i]. The CollisionObject2D can have any number of shape owners. Shape " "owners are not nodes and do not appear in the editor, but are accessible " -"through code using the [code]shape_owner_*[/code] methods." +"through code using the [code]shape_owner_*[/code] methods.\n" +"[b]Note:[/b] Only collisions between objects within the same canvas " +"([Viewport] canvas or [CanvasLayer]) are supported. The behavior of " +"collisions between objects in different canvases is undefined." msgstr "" #: doc/classes/CollisionObject2D.xml @@ -19590,9 +19617,8 @@ msgid "" "main font.\n" "DynamicFont uses the [url=https://www.freetype.org/]FreeType[/url] library " "for rasterization. Supported formats are TrueType ([code].ttf[/code]), " -"OpenType ([code].otf[/code]) and Web Open Font Format 1 ([code].woff[/" -"code]). Web Open Font Format 2 ([code].woff2[/code]) is [i]not[/i] " -"supported.\n" +"OpenType ([code].otf[/code]), Web Open Font Format 1 ([code].woff[/code]), " +"and Web Open Font Format 2 ([code].woff2[/code]).\n" "[codeblock]\n" "var dynamic_font = DynamicFont.new()\n" "dynamic_font.font_data = load(\"res://BarlowCondensed-Bold.ttf\")\n" @@ -20459,18 +20485,34 @@ msgid "" msgstr "" #: doc/classes/EditorInspector.xml -msgid "A tab used to edit properties of the selected node." +msgid "A control used to edit properties of an object." msgstr "" #: doc/classes/EditorInspector.xml msgid "" -"The editor inspector is by default located on the right-hand side of the " -"editor. It's used to edit the properties of the selected node. For example, " -"you can select a node such as [Sprite] then edit its transform through the " -"inspector tool. The editor inspector is an essential tool in the game " -"development workflow.\n" -"[b]Note:[/b] This class shouldn't be instantiated directly. Instead, access " -"the singleton using [method EditorInterface.get_inspector]." +"This is the control that implements property editing in the editor's " +"Settings dialogs, the Inspector dock, etc. To get the [EditorInspector] used " +"in the editor's Inspector dock, use [method EditorInterface.get_inspector].\n" +"[EditorInspector] will show properties in the same order as the array " +"returned by [method Object.get_property_list].\n" +"If a property's name is path-like (i.e. if it contains forward slashes), " +"[EditorInspector] will create nested sections for \"directories\" along the " +"path. For example, if a property is named [code]highlighting/gdscript/" +"node_path_color[/code], it will be shown as \"Node Path Color\" inside the " +"\"GDScript\" section nested inside the \"Highlighting\" section.\n" +"If a property has [constant @GlobalScope.PROPERTY_USAGE_GROUP] usage, it " +"will group subsequent properties whose name starts with the property's hint " +"string. The group ends when a property does not start with that hint string " +"or when a new group starts. An empty group name effectively ends the current " +"group. [EditorInspector] will create a top-level section for each group. For " +"example, if a property with group usage is named [code]Collide With[/code] " +"and its hint string is [code]collide_with_[/code], a subsequent " +"[code]collide_with_area[/code] property will be shown as \"Area\" inside the " +"\"Collide With\" section.\n" +"[b]Note:[/b] Unlike sections created from path-like property names, " +"[EditorInspector] won't capitalize the name for sections created from " +"groups. So properties with group usage usually use capitalized names instead " +"of snake_cased names." msgstr "" #: doc/classes/EditorInspector.xml @@ -21645,6 +21687,14 @@ msgid "" "[/codeblock]" msgstr "" +#: modules/gltf/doc_classes/EditorSceneImporterGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [EditorSceneImporterGLTF] within a script will cause an error in an " +"exported project." +msgstr "" + #: doc/classes/EditorScenePostImport.xml msgid "Post-processes scenes after import." msgstr "" @@ -22382,12 +22432,13 @@ msgstr "" #: doc/classes/EditorVCSInterface.xml msgid "" "Helper function to create a commit [Dictionary] item. [code]msg[/code] is " -"the commit message of the commit. [code]author[/code] is a human-readable " -"string containing the author's details, e.g. the email and name configured " -"in the VCS. [code]id[/code] is the identifier of the commit, in whichever " -"format your VCS may provide an identifier to commits. [code]date[/code] is " -"directly added to the commit item and displayed in the editor, and hence, it " -"shall be a well-formatted, human-readable date string." +"the commit message of the commit. [code]author[/code] is a single human-" +"readable string containing all the author's details, e.g. the email and name " +"configured in the VCS. [code]id[/code] is the identifier of the commit, in " +"whichever format your VCS may provide an identifier to commits. " +"[code]unix_timestamp[/code] is the UTC Unix timestamp of when the commit was " +"created. [code]offset_minutes[/code] is the timezone offset in minutes, " +"recorded from the system timezone where the commit was created." msgstr "" #: doc/classes/EditorVCSInterface.xml @@ -25538,6 +25589,50 @@ msgstr "" msgid "Represents the size of the [enum Subdiv] enum." msgstr "" +#: modules/gltf/doc_classes/GLTFAccessor.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAccessor] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFAnimation.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAnimation] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFBufferView.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFBufferView] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFCamera.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFCamera] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFDocument.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFDocument] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFLight.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFLight] within a script will cause an error in an exported project." +msgstr "" + #: modules/gltf/doc_classes/GLTFLight.xml msgid "" "The [Color] of the light. Defaults to white. A black color causes the light " @@ -25587,6 +25682,49 @@ msgid "" "and [DirectionalLight] respectively." msgstr "" +#: modules/gltf/doc_classes/GLTFMesh.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFMesh] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFNode.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFNode] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSkeleton.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSkeleton] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSpecGloss.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSpecGloss] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFState.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFState] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFTexture.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFTexture] within a script will cause an error in an exported project." +msgstr "" + #: modules/mono/doc_classes/GodotSharp.xml msgid "Bridge between Godot and the Mono runtime (Mono-enabled builds only)." msgstr "" @@ -28971,9 +29109,9 @@ msgid "" "Returns a value between 0 and 1 representing the raw intensity of the given " "action, ignoring the action's deadzone. In most cases, you should use " "[method get_action_strength] instead.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -28983,9 +29121,9 @@ msgid "" "or L2, R2 triggers) is from the dead zone, the closer the value will be to " "1. If the action is mapped to a control that has no axis as the keyboard, " "the value returned will be 0 or 1.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29118,9 +29256,9 @@ msgid "" "the button.\n" "This is useful for code that needs to run only once when an action is " "pressed, instead of every frame while it's pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_just_pressed] may " "return [code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29132,9 +29270,9 @@ msgid "" "Returns [code]true[/code] when the user stops pressing the action event, " "meaning it's [code]true[/code] only on the frame that the user released the " "button.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29143,9 +29281,9 @@ msgid "" "an action has multiple buttons assigned and more than one of them is " "pressed, releasing one button will release the action, even if some other " "button assigned to this action is still pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29495,18 +29633,18 @@ msgstr "" msgid "" "Returns a value between 0.0 and 1.0 depending on the given actions' state. " "Useful for getting the value of events of type [InputEventJoypadMotion].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml msgid "" "Returns [code]true[/code] if this input event matches a pre-defined action " "of any type.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -29515,9 +29653,9 @@ msgid "" "an echo event for [InputEventKey] events, unless [code]allow_echo[/code] is " "[code]true[/code]). Not relevant for events of type [InputEventMouseMotion] " "or [InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events.\n" +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29529,9 +29667,9 @@ msgid "" "Returns [code]true[/code] if the given action is released (i.e. not " "pressed). Not relevant for events of type [InputEventMouseMotion] or " "[InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -29562,9 +29700,9 @@ msgid "" "event. Only valid for action events i.e key ([InputEventKey]), button " "([InputEventMouseButton] or [InputEventJoypadButton]), axis " "[InputEventJoypadMotion] or action ([InputEventAction]) events.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -30094,9 +30232,9 @@ msgid "" "This method ignores keyboard modifiers if the given [InputEvent] is not " "pressed (for proper release detection). See [method action_has_event] if you " "don't want this behavior.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputMap.xml @@ -32500,7 +32638,7 @@ msgid "" "be within the text's length." msgstr "" -#: doc/classes/LineEdit.xml +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml msgid "Clears the current selection." msgstr "" @@ -32519,6 +32657,18 @@ msgid "" "characters." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection begin column." +msgstr "" + +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection end column." +msgstr "" + +#: doc/classes/LineEdit.xml +msgid "Returns [code]true[/code] if the user has selected text." +msgstr "" + #: doc/classes/LineEdit.xml msgid "Executes a given action as defined in the [enum MenuItems] enum." msgstr "" @@ -33932,6 +34082,39 @@ msgid "Returns the number of surface materials." msgstr "" #: doc/classes/MeshInstance.xml +msgid "" +"Returns [code]true[/code] if this [MeshInstance] can be merged with the " +"specified [code]other_mesh_instance[/code], using the [method MeshInstance." +"merge_meshes] function.\n" +"In order to be mergeable, properties of the [MeshInstance] must match, and " +"each surface must match, in terms of material, attributes and vertex format." +msgstr "" + +#: doc/classes/MeshInstance.xml +msgid "" +"This function can merge together the data from several source " +"[MeshInstance]s into a single destination [MeshInstance] (the MeshInstance " +"the function is called from). This is primarily useful for improving " +"performance by reducing the number of drawcalls and [Node]s.\n" +"Merging should only be attempted for simple meshes that do not contain " +"animation.\n" +"The final vertices can either be returned in global space, or in local space " +"relative to the destination [MeshInstance] global transform (the destination " +"Node must be inside the [SceneTree] for local space to work).\n" +"The function will make a final check for compatibility between the " +"[MeshInstance]s by default, this should always be used unless you have " +"previously checked for compatibility using [method MeshInstance." +"is_mergeable_with]. If the compatibility check is omitted and the meshes are " +"merged, you may see rendering errors.\n" +"[b]Note:[/b] The requirements for similarity between meshes are quite " +"stringent. They can be checked using the [method MeshInstance." +"is_mergeable_with] function prior to calling [method MeshInstance." +"merge_meshes].\n" +"Also note that any initial data in the destination [MeshInstance] data will " +"be discarded." +msgstr "" + +#: doc/classes/MeshInstance.xml msgid "Sets the [Material] for a surface of the [Mesh] resource." msgstr "" @@ -36384,12 +36567,12 @@ msgid "" "[/codeblock]\n" "[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " "must set [member owner] in addition to calling [method add_child]. This is " -"typically relevant for [url=https://godot.readthedocs.io/en/3.2/tutorials/" -"misc/running_code_in_the_editor.html]tool scripts[/url] and [url=https://" -"godot.readthedocs.io/en/latest/tutorials/plugins/editor/index.html]editor " -"plugins[/url]. If [method add_child] is called without setting [member " -"owner], the newly added [Node] will not be visible in the scene tree, though " -"it will be visible in the 2D/3D view." +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37096,7 +37279,15 @@ msgid "" "valid parent, grandparent, etc. ascending in the tree). When saving a node " "(using [PackedScene]), all the nodes it owns will be saved with it. This " "allows for the creation of complex [SceneTree]s, with instancing and " -"subinstancing." +"subinstancing.\n" +"[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " +"must set [member owner] in addition to calling [method add_child]. This is " +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37692,7 +37883,13 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Called when the object is initialized." +msgid "" +"Called when the object is initialized in memory. Can be defined to take in " +"parameters, that are passed in when constructing.\n" +"[b]Note:[/b] If [method _init] is defined with required parameters, then " +"explicit construction is the only valid means of creating an Object of the " +"class. If any other means (such as [method PackedScene.instance]) is used, " +"then initialization will fail." msgstr "" #: doc/classes/Object.xml @@ -37888,7 +38085,10 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Returns the object's metadata entry for the given [code]name[/code]." +msgid "" +"Returns the object's metadata entry for the given [code]name[/code].\n" +"Throws error if the entry does not exist, unless [code]default[/code] is not " +"[code]null[/code] (in which case the default value will be returned)." msgstr "" #: doc/classes/Object.xml @@ -40096,6 +40296,14 @@ msgid "" "[b]Note:[/b] Only available in editor builds." msgstr "" +#: modules/gltf/doc_classes/PackedSceneGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [PackedSceneGLTF] within a script will cause an error in an exported " +"project." +msgstr "" + #: doc/classes/PacketPeer.xml msgid "Abstraction and base class for packet-based protocols." msgstr "" @@ -42936,7 +43144,10 @@ msgid "" msgstr "" #: doc/classes/PhysicsServer.xml -msgid "Returns an Info defined by the [enum ProcessInfo] input given." +msgid "" +"Returns information about the current state of the 3D physics engine. See " +"[enum ProcessInfo] for a list of available states. Only implemented for " +"Godot Physics." msgstr "" #: doc/classes/PhysicsServer.xml @@ -45796,7 +46007,7 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Allows the window to be resizable by default.\n" -"[b]Note:[/b] This setting is ignored on iOS and Android." +"[b]Note:[/b] This setting is ignored on iOS." msgstr "" #: doc/classes/ProjectSettings.xml @@ -46443,7 +46654,7 @@ msgid "Optional name for the 3D render layer 13." msgstr "" #: doc/classes/ProjectSettings.xml -msgid "Optional name for the 3D render layer 14" +msgid "Optional name for the 3D render layer 14." msgstr "" #: doc/classes/ProjectSettings.xml @@ -47713,16 +47924,24 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" -"If [code]true[/code], forces vertex shading for all rendering. This can " -"increase performance a lot, but also reduces quality immensely. Can be used " -"to optimize performance on low-end mobile devices." +"If [code]true[/code], forces vertex shading for all 3D [SpatialMaterial] and " +"[ShaderMaterial] rendering. This can be used to improve performance on low-" +"end mobile devices. The downside is that shading becomes much less accurate, " +"with visible linear interpolation between vertices that are joined together. " +"This can be compensated by ensuring meshes have a sufficient level of " +"subdivision (but not too much, to avoid reducing performance). Some material " +"features are also not supported when vertex shading is enabled.\n" +"See also [member SpatialMaterial.flags_vertex_lighting] which can be used to " +"enable vertex shading on specific materials only.\n" +"[b]Note:[/b] This setting does not affect unshaded materials." msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Lower-end override for [member rendering/quality/shading/" "force_vertex_shading] on mobile devices, due to performance concerns or " -"driver support." +"driver support. If lighting looks broken after exporting the project to a " +"mobile platform, try disabling this setting." msgstr "" #: doc/classes/ProjectSettings.xml @@ -49757,6 +49976,10 @@ msgid "" msgstr "" #: doc/classes/RichTextLabel.xml +msgid "Returns the current selection text. Does not include BBCodes." +msgstr "" + +#: doc/classes/RichTextLabel.xml msgid "" "Returns the total number of characters from text tags. Does not include " "BBCodes." @@ -52048,14 +52271,23 @@ msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Lowers the [Semaphore], allowing one more thread in. Returns [constant OK] " -"on success, [constant ERR_BUSY] otherwise." +"Lowers the [Semaphore], allowing one more thread in.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Tries to wait for the [Semaphore], if its value is zero, blocks until non-" -"zero. Returns [constant OK] on success, [constant ERR_BUSY] otherwise." +"Like [method wait], but won't block, so if the value is zero, fails " +"immediately and returns [constant ERR_BUSY]. If non-zero, it returns " +"[constant OK] to report success." +msgstr "" + +#: doc/classes/Semaphore.xml +msgid "" +"Waits for the [Semaphore], if its value is zero, blocks until non-zero.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Separator.xml @@ -53501,7 +53733,21 @@ msgstr "" #: doc/classes/SpatialMaterial.xml msgid "" "If [code]true[/code], lighting is calculated per vertex rather than per " -"pixel. This may increase performance on low-end devices." +"pixel. This may increase performance on low-end devices, especially for " +"meshes with a lower polygon count. The downside is that shading becomes much " +"less accurate, with visible linear interpolation between vertices that are " +"joined together. This can be compensated by ensuring meshes have a " +"sufficient level of subdivision (but not too much, to avoid reducing " +"performance). Some material features are also not supported when vertex " +"shading is enabled.\n" +"See also [member ProjectSettings.rendering/quality/shading/" +"force_vertex_shading] which can globally enable vertex shading on all " +"materials.\n" +"[b]Note:[/b] By default, vertex shading is enforced on mobile platforms by " +"[member ProjectSettings.rendering/quality/shading/force_vertex_shading]'s " +"[code]mobile[/code] override.\n" +"[b]Note:[/b] [member flags_vertex_lighting] has no effect if [member " +"flags_unshaded] is [code]true[/code]." msgstr "" #: doc/classes/SpatialMaterial.xml @@ -54305,7 +54551,10 @@ msgid "" "the text alignment to right.\n" "See [Range] class for more options over the [SpinBox].\n" "[b]Note:[/b] [SpinBox] relies on an underlying [LineEdit] node. To theme a " -"[SpinBox]'s background, add theme items for [LineEdit] and customize them." +"[SpinBox]'s background, add theme items for [LineEdit] and customize them.\n" +"[b]Note:[/b] If you want to implement drag and drop for the underlying " +"[LineEdit], you can use [method Control.set_drag_forwarding] on the node " +"returned by [method get_line_edit]." msgstr "" #: doc/classes/SpinBox.xml @@ -55623,7 +55872,6 @@ msgid "" "print(\"1.7\".is_valid_float()) # Prints \"True\"\n" "print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"7e3\".is_valid_float()) # Prints \"True\"\n" -"print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55860,8 +56108,8 @@ msgid "" "var some_string = \"One,Two,Three,Four\"\n" "var some_array = some_string.rsplit(\",\", true, 1)\n" "print(some_array.size()) # Prints 2\n" -"print(some_array[0]) # Prints \"Four\"\n" -"print(some_array[1]) # Prints \"Three,Two,One\"\n" +"print(some_array[0]) # Prints \"One,Two,Three\"\n" +"print(some_array[1]) # Prints \"Four\"\n" "[/codeblock]" msgstr "" @@ -55894,9 +56142,9 @@ msgstr "" #: doc/classes/String.xml msgid "" "Returns the similarity index ([url=https://en.wikipedia.org/wiki/" -"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) this " -"string compared to another. 1.0 means totally similar and 0.0 means totally " -"dissimilar.\n" +"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) of " +"this string compared to another. A result of 1.0 means totally similar, " +"while 0.0 means totally dissimilar.\n" "[codeblock]\n" "print(\"ABC123\".similarity(\"ABC123\")) # Prints \"1\"\n" "print(\"ABC123\".similarity(\"XYZ456\")) # Prints \"0\"\n" @@ -57367,10 +57615,6 @@ msgid "" msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection begin column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection begin line." msgstr "" @@ -57379,10 +57623,6 @@ msgid "Returns the text inside the selection." msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection end column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection end line." msgstr "" @@ -58403,6 +58643,14 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Adds an empty theme type for every valid data type.\n" +"[b]Note:[/b] Empty types are not saved with the theme. This method only " +"exists to perform in-memory changes to the resource. Use available " +"[code]set_*[/code] methods to add theme items." +msgstr "" + +#: doc/classes/Theme.xml msgid "Clears all values on the theme." msgstr "" @@ -58662,6 +58910,13 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Removes the theme type, gracefully discarding defined theme items. If the " +"type is a variation, this information is also erased. If the type is a base " +"for type variations, those variations lose their base." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Renames the [Color] at [code]old_name[/code] to [code]name[/code] if the " "theme has [code]node_type[/code]. If [code]name[/code] is already taken, " "this method fails." @@ -71355,6 +71610,11 @@ msgid "" msgstr "" #: modules/websocket/doc_classes/WebSocketServer.xml +msgid "" +"Sets additional headers to be sent to clients during the HTTP handshake." +msgstr "" + +#: modules/websocket/doc_classes/WebSocketServer.xml msgid "Stops the server and clear its state." msgstr "" @@ -71450,6 +71710,9 @@ msgid "" "\n" " webxr_interface = ARVRServer.find_interface(\"WebXR\")\n" " if webxr_interface:\n" +" # Map to the standard button/axis ids when possible.\n" +" webxr_interface.xr_standard_mapping = true\n" +"\n" " # WebXR uses a lot of asynchronous callbacks, so we connect to " "various\n" " # signals in order to receive them.\n" @@ -71675,6 +71938,13 @@ msgstr "" #: modules/webxr/doc_classes/WebXRInterface.xml msgid "" +"If set to true, the button and axes ids will be converted to match the " +"standard ids used by other AR/VR interfaces, when possible.\n" +"Otherwise, the ids will be passed through unaltered from WebXR." +msgstr "" + +#: modules/webxr/doc_classes/WebXRInterface.xml +msgid "" "Emitted to indicate that the reference space has been reset or " "reconfigured.\n" "When (or whether) this is emitted depends on the user's browser or device, " diff --git a/doc/translations/it.po b/doc/translations/it.po index 5953035ec5..94d2f52b5e 100644 --- a/doc/translations/it.po +++ b/doc/translations/it.po @@ -3,7 +3,7 @@ # Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). # This file is distributed under the same license as the Godot source code. # -# Micila Micillotto <micillotto@gmail.com>, 2020, 2021. +# Micila Micillotto <micillotto@gmail.com>, 2020, 2021, 2022. # Bob <spiroski.boban@gmail.com>, 2020. # Riccardo Ferro <Riccardo3Ferro@gmail.com>, 2020. # Lorenzo Asolan <brixiumx@gmail.com>, 2020. @@ -24,12 +24,13 @@ # Andrea Montagna <fullmontis@gmail.com>, 2021. # Andrea Leganza <neogene@gmail.com>, 2021. # Federico Caprini <caprinifede@gmail.com>, 2022. +# Alessandro Casalino <alessandro.casalino93@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-02-22 15:52+0000\n" -"Last-Translator: Mirko <miknsop@gmail.com>\n" +"PO-Revision-Date: 2022-04-25 15:12+0000\n" +"Last-Translator: Micila Micillotto <micillotto@gmail.com>\n" "Language-Team: Italian <https://hosted.weblate.org/projects/godot-engine/" "godot-class-reference/it/>\n" "Language: it\n" @@ -37,7 +38,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8-bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.11-dev\n" +"X-Generator: Weblate 4.12.1-dev\n" #: doc/tools/make_rst.py msgid "Description" @@ -80,38 +81,38 @@ msgid "Method Descriptions" msgstr "Descrizioni del metodo" #: doc/tools/make_rst.py -#, fuzzy msgid "Theme Property Descriptions" -msgstr "Descrizioni delle proprietà" +msgstr "Descrizioni Proprietà dei Temi" #: doc/tools/make_rst.py msgid "Inherits:" msgstr "Eredita:" #: doc/tools/make_rst.py -#, fuzzy msgid "Inherited By:" -msgstr "Ereditato da:" +msgstr "Ereditato Da:" #: doc/tools/make_rst.py msgid "(overrides %s)" -msgstr "" +msgstr "(sovrascrive %s)" #: doc/tools/make_rst.py msgid "Default" -msgstr "" +msgstr "Predefinito" #: doc/tools/make_rst.py +#, fuzzy msgid "Setter" -msgstr "" +msgstr "Impostatore" #: doc/tools/make_rst.py msgid "value" msgstr "valore" #: doc/tools/make_rst.py +#, fuzzy msgid "Getter" -msgstr "" +msgstr "Acchiappatore" #: doc/tools/make_rst.py msgid "" @@ -125,15 +126,20 @@ msgid "" "This method has no side effects. It doesn't modify any of the instance's " "member variables." msgstr "" +"Questo metodo non ha effetti collaterali. Non modifica alcuna variabile " +"appartenente all'istanza." #: doc/tools/make_rst.py msgid "" "This method accepts any number of arguments after the ones described here." msgstr "" +"Questo metodo accetta qualsiasi numero di argomenti oltre a quelli descritti " +"qui." #: doc/tools/make_rst.py +#, fuzzy msgid "This method is used to construct a type." -msgstr "" +msgstr "Questo metodo viene utilizzato per creare un tipo di variabile." #: doc/tools/make_rst.py msgid "" @@ -148,6 +154,8 @@ msgid "" "This method describes a valid operator to use with this type as left-hand " "operand." msgstr "" +"Questo metodo descrive un operatore valido da usare con questo tipo come " +"operando di sinistra." #: modules/gdscript/doc_classes/@GDScript.xml msgid "Built-in GDScript functions." @@ -204,6 +212,7 @@ msgstr "" "I nomi dei colori supportati sono uguali alle costanti definite in [Color]." #: modules/gdscript/doc_classes/@GDScript.xml +#, fuzzy msgid "" "Returns the absolute value of parameter [code]s[/code] (i.e. positive " "value).\n" @@ -212,7 +221,7 @@ msgid "" "[/codeblock]" msgstr "" "Ritorna il valore assoluto del parametro [code]s[/code] (ovvero un numero " -"positivo, sia intero che decimale).\n" +"positivo).\n" "[codeblock]\n" "a = abs(-1) # a è 1\n" "[/codeblock]" @@ -228,16 +237,15 @@ msgid "" "c = acos(0.866025)\n" "[/codeblock]" msgstr "" -"Restituisce l'arcocoseno di [code]s[/code] in radianti. Usato per prendere " -"l'angolo del coseno di [code]s[/code].\n" -"[code]s[/code] deve essere compreso tra [code]1[/code] e [code] -1 [/code]\n" +"Restituisce l'arcocoseno di [code]s[/code] in radianti. Usato per trovare " +"l'angolo del coseno di [code]s[/code]. [code]s[/code] deve essere compreso " +"tra [code]1[/code] e [code] -1 [/code]\n" "[codeblock]\n" "# c è uguale a 0.523599 o 30 gradi se convertito con rad2deg(s)\n" "c = acos(0.866025)\n" "[/codeblock]" #: modules/gdscript/doc_classes/@GDScript.xml -#, fuzzy msgid "" "Returns the arc sine of [code]s[/code] in radians. Use to get the angle of " "sine [code]s[/code]. [code]s[/code] must be between [code]-1.0[/code] and " @@ -249,7 +257,9 @@ msgid "" "[/codeblock]" msgstr "" "Ritorna l'arcoseno di [code]s[/code] in radianti. Usato per prendere " -"l'angolo del seno [code]s[/code].\n" +"l'angolo del seno [code]s[/code]. [code]s[/code] deve essere compreso tra " +"[code]-1.0[/code] e [code]1.0[/code] (inclusi), altrimenti, [method asin] " +"ritornerà [constant NAN].\n" "[codeblock]\n" "# s è 0.523599 oppure 30 gradi se convertito con rad2deg(s)\n" "s = asin(0.5)\n" @@ -282,11 +292,16 @@ msgid "" "[/codeblock]" msgstr "" "Controlla che [code]condition[/code] sia [code]true[/code]. Se " -"[code]condition[/code] è [code]false[/code], un errore è generato ed il " -"programma viene fermato fin quando decidi di avviarlo di nuovo. Viene " -"eseguito soltanto nelle build di debug, o quando il gioco viene eseguito " -"nell'editor. È usato per il debug, oppure per essere sicuri che una " -"condizione ritorni [code]true[/code] durante lo sviluppo.\n" +"[code]condition[/code] è [code]false[/code], un errore è generato. Mentre si " +"sta eseguendo dall'editor, il progetto corrente verrà interrotto finché non " +"lo riprenderai. Questo può essere usato come una forma più forte di [method " +"push_error] per riportare gli errori allo sviluppatore del progetto o agli " +"utilizzatori di add-on.\n" +"[b]Note:[/b] Per ragioni di performance, il codice dentro [method assert] " +"viene eseguito sono nelle versione di debug o mentre si sta eseguendo il " +"progetto dall'editor. Non includere codice che ha effetti collaterali mentre " +"[method assert] viene chiamato. Altrimenti il progetto si comporterà " +"diversamente quando viene esportato nella modalità di rilascio.\n" "Il parametro [code]message[/code] opzionale, se passato, è mostrato insieme " "al messaggio generico \"Assertion failed\". Puoi usarlo per dare dettagli " "addizionali sul perché l'asserzione sia fallita.\n" @@ -519,6 +534,23 @@ msgid "" "want a true content-aware comparison, you have to use [code]deep_equal[/" "code]." msgstr "" +"Paragona due valori controllando il loro contenuto attuale, ricorrendo in " +"ogni `Array` o `Dictionary` fino al suo livello più profondo.\n" +"Questo è simile a [code]==[/code] su molti aspetti:\n" +"- Per [code]null[/code] , [code]int[/code], [code]float[/code], " +"[code]String[/code], [code]Object[/code] and [code]RID[/code] sia " +"[code]deep_equal[/code] e [code]==[/code] funzionano allo stesso modo.\n" +"- Per [code]Dictionary[/code], [code]==[/code] sono considerati uguali solo " +"e solo se entrambe le variabili puntano allo stesso [code]Dictionary[/code], " +"senza alcuna ricorsione o consapevolezza di qualunque contenuto.\n" +"- Per [code]Array[/code], [code]==[/code] sono considerati uguali solo e " +"solo se ogni oggetto nel primo [code]Array[/code] è uguale alla sua " +"controparte nel secondo [code]Array[/code], come già fatto da [code]==[/" +"code]. Questo implica che [code]==[/code] ricorre nell' [code]Array[/code], " +"ma non nel [code]Dictionary[/code].\n" +"In breve, quando un [code]Dictionary[/code] è potenzialmente involto, se " +"vuoi un vero paragone tra i valori contenuti, devi usare [code]deep_equal[/" +"code]." #: modules/gdscript/doc_classes/@GDScript.xml msgid "" @@ -808,6 +840,7 @@ msgstr "" "[/codeblock]" #: modules/gdscript/doc_classes/@GDScript.xml +#, fuzzy msgid "" "Returns an interpolation or extrapolation factor considering the range " "specified in [code]from[/code] and [code]to[/code], and the interpolated " @@ -828,6 +861,22 @@ msgid "" "[/codeblock]\n" "See also [method lerp] which performs the reverse of this operation." msgstr "" +"Ritorna un'interpolazione o un fattore estrapolato considerando il raggio " +"specificato nel [code]from[/code] e [code]to[/code], e i valori interpolati " +"specificati in [code]weight[/code]. Il valore di ritorno sarà in mezzo tra " +"[code]0.0[/code] e [code]1.0[/code] se [code]weight[/code] si trova tra " +"[code]from[/code] e [code]to[/code] (inclusi).\n" +"[codeblock]\n" +"# Il rapporto di interpolazione nella chiamata di `lerp()` è minore di " +"0.75.\n" +"var middle = lerp(20, 30, 0.75)\n" +"# `middle` ora vale 27.5.\n" +"# Ora fingiamo di aver dimenticato il rapporto originale e lo vogliamo " +"riottenere.\n" +"var ratio = inverse_lerp(20, 30, 27.5)\n" +"# `ratio` ora vale 0.75.\n" +"[/codeblock]\n" +"Vedi anche [method lerp] che esegue l'inverso di questa operazione." #: modules/gdscript/doc_classes/@GDScript.xml msgid "" @@ -916,8 +965,9 @@ msgid "" "To perform eased interpolation with [method lerp], combine it with [method " "ease] or [method smoothstep]." msgstr "" -"Interpola linearmente tra due valori mediante un valore normalizzato. Questo " -"metodo è l'opposto di [method inverse_lerp].\n" +"Interpola linearmente tra due valori mediante un valore definito in " +"[code]weight[/code]. Per interpolare, [code]weight[/code] dovrebbe rimanere " +"tra [code]0.0[/code] e [code]1.0[/code] (inclusi).\n" "Se gli argomenti [code]from[/code] e [code]to[/code] sono di tipo [int] o " "[float], il valore di ritorno è un [float].\n" "Se entrambi sono dello stesso tipo di vettore ([Vector2], [Vector3] o " @@ -927,7 +977,10 @@ msgstr "" "[codeblock].\n" "lerp(0, 4, 0.75) # Restituisce 3.0\n" "lerp(Vector2(1, 5), Vector2(3, 2), 0.5) # Restituisce Vector2(2, 3.5)\n" -"[/codeblock]" +"[/codeblock]\n" +"Guarda anche [method inverse_lerp] che esegue l'inverso di questa " +"operazione. Per eseguire un'interpolazione alleggerita con [method lerp], " +"combinalo con [method ease] o [method smoothstep]." #: modules/gdscript/doc_classes/@GDScript.xml #, fuzzy @@ -950,7 +1003,8 @@ msgstr "" "Interpola linearmente tra due angoli (in radianti) con un valore " "normalizzato.\n" "Simile a [metodo lerp], ma interpola correttamente quando gli angoli sono " -"attorno [costante @GDScript.TAU].\n" +"attorno [costante @GDScript.TAU]. Per eseguire un'interpolazione alleggerita " +"con [method lerp_angle], combinalo con [method ease] o [method smoothstep].\n" "[codeblock]\n" "extends Sprite\n" "var elapsed = 0.0\n" @@ -1230,28 +1284,21 @@ msgstr "" "Restituisce il modulo intero di [code]a/b[/code] che si estende in positivo " "e negativo egualmente.\n" "[codeblock]\n" -"var i = -6\n" -"while i < 5:\n" -" prints(i, posmod(i, 3))\n" -" i += 1\n" +"for i in range(-3, 4):\n" +" print(\"%2d %2d %2d\" % [i, i % 3, posmod(i, 3)])\n" "[/codeblock]\n" "Produces:\n" "[codeblock]\n" -"-6 0\n" -"-5 1\n" -"-4 2\n" -"-3 0\n" -"-2 1\n" -"-1 2\n" -"0 0\n" -"1 1\n" -"2 2\n" -"3 0\n" -"4 1\n" +"-3 0 0\n" +"-2 -2 1\n" +"-1 -1 2\n" +" 0 0 0\n" +" 1 1 1\n" +" 2 2 2\n" +" 3 0 0\n" "[/codeblock]" #: modules/gdscript/doc_classes/@GDScript.xml -#, fuzzy msgid "" "Returns the result of [code]base[/code] raised to the power of [code]exp[/" "code].\n" @@ -1259,10 +1306,10 @@ msgid "" "pow(2, 5) # Returns 32.0\n" "[/codeblock]" msgstr "" -"Ritorna il risultato di [code]x[/code] elevato alla potenza di [code]y[/" +"Ritorna il risultato di [code]base[/code] elevato alla potenza di [code]esp[/" "code].\n" "[codeblock]\n" -"pow(2, 5) # Ritorna 32\n" +"pow(2, 5) # Ritorna 32.0\n" "[/codeblock]" #: modules/gdscript/doc_classes/@GDScript.xml @@ -1443,7 +1490,6 @@ msgstr "" "[/codeblock]" #: modules/gdscript/doc_classes/@GDScript.xml -#, fuzzy msgid "" "Converts an angle expressed in radians to degrees.\n" "[codeblock]\n" @@ -1452,7 +1498,7 @@ msgid "" msgstr "" "Converte un angolo espresso in radianti in gradi.\n" "[codeblock]\n" -"rad2deg(0.523599) # Ritorna 30\n" +"rad2deg(0.523599) # Ritorna 30.0\n" "[/codeblock]" #: modules/gdscript/doc_classes/@GDScript.xml @@ -1734,6 +1780,7 @@ msgstr "" "[/codeblock]" #: modules/gdscript/doc_classes/@GDScript.xml +#, fuzzy msgid "" "Snaps float value [code]s[/code] to a given [code]step[/code]. This can also " "be used to round a floating point number to an arbitrary number of " @@ -1744,9 +1791,16 @@ msgid "" "[/codeblock]\n" "See also [method ceil], [method floor], [method round], and [int]." msgstr "" +"Arrotonda un valore float [code]s[/code] ad un valore [code]step[/code] su " +"una scala. Questo può essere anche utilizzato per arrotondare un valore " +"float ad un numero arbitrario di cifre decimali.\n" +"[codeblock]\n" +"stepify(100, 32) # Ritorna 96.0\n" +"stepify(3.14159, 0.01) # Ritorna3.14\n" +"[/codeblock]\n" +"Guarda anche [method ceil], [method floor], [method round] e [int]." #: modules/gdscript/doc_classes/@GDScript.xml -#, fuzzy msgid "" "Converts one or more arguments of any type to string in the best way " "possible.\n" @@ -1760,8 +1814,10 @@ msgstr "" "Converte uno o più argomenti in stringhe nel miglior modo possibile e li " "stampa sulla console.\n" "[codeblock]\n" -"a = [1, 2, 3]\n" -"print(\"a\", \"b\", a) # Stampa ab[1, 2, 3]\n" +"var a = [10, 20, 30]\n" +"var b = str(a);\n" +"len(a) # RItorna 3\n" +"len(b) # Ritorna 12\n" "[/codeblock]" #: modules/gdscript/doc_classes/@GDScript.xml @@ -1795,7 +1851,6 @@ msgstr "" "[/codeblock]" #: modules/gdscript/doc_classes/@GDScript.xml -#, fuzzy msgid "" "Returns the hyperbolic tangent of [code]s[/code].\n" "[codeblock]\n" @@ -1803,10 +1858,10 @@ msgid "" "b = tanh(a) # b is 0.6\n" "[/codeblock]" msgstr "" -"Ritorna il coseno iperbolico di [code]s[/code] in radianti.\n" +"Ritorna la tangente iperbolica di [code]s[/code].\n" "[codeblock]\n" -"# Stampa 1.543081\n" -"print(cosh(1))\n" +"a = log(2.0) # a is 0.693147\n" +"b = tanh(a) # b is 0.6\n" "[/codeblock]" #: modules/gdscript/doc_classes/@GDScript.xml @@ -4260,8 +4315,12 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" "Hints that an integer, float or string property is an enumerated value to " -"pick in a list specified via a hint string such as [code]\"Hello,Something," -"Else\"[/code]." +"pick in a list specified via a hint string.\n" +"The hint string is a comma separated list of names such as [code]\"Hello," +"Something,Else\"[/code]. For integer and float properties, the first name in " +"the list has value 0, the next 1, and so on. Explicit values can also be " +"specified by appending [code]:integer[/code] to the name, e.g. [code]\"Zero," +"One,Three:3,Four,Six:6\"[/code]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -4402,7 +4461,7 @@ msgid "The property is a translatable string." msgstr "" #: doc/classes/@GlobalScope.xml -msgid "Used to group properties together in the editor." +msgid "Used to group properties together in the editor. See [EditorInspector]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -6178,8 +6237,11 @@ msgstr "" #: doc/classes/AnimationNodeBlendTree.xml msgid "" -"This node may contain a sub-tree of any other blend type nodes, such as mix, " -"blend2, blend3, one shot, etc. This is one of the most commonly used roots." +"This node may contain a sub-tree of any other blend type nodes, such as " +"[AnimationNodeTransition], [AnimationNodeBlend2], [AnimationNodeBlend3], " +"[AnimationNodeOneShot], etc. This is one of the most commonly used roots.\n" +"An [AnimationNodeOutput] node named [code]output[/code] is created by " +"default." msgstr "" #: doc/classes/AnimationNodeBlendTree.xml @@ -7937,8 +7999,9 @@ msgstr "" #: doc/classes/Array.xml msgid "" -"Removes the first occurrence of a value from the array. To remove an element " -"by index, use [method remove] instead.\n" +"Removes the first occurrence of a value from the array. If the value does " +"not exist in the array, nothing happens. To remove an element by index, use " +"[method remove] instead.\n" "[b]Note:[/b] This method acts in-place and doesn't return a value.\n" "[b]Note:[/b] On large arrays, this method will be slower if the removed " "element is close to the beginning of the array (index 0). This is because " @@ -11324,8 +11387,15 @@ msgstr "" #: doc/classes/BakedLightmap.xml msgid "" -"When enabled, the lightmapper will merge the textures for all meshes into a " -"single large layered texture. Not supported in GLES2." +"If [code]true[/code], the lightmapper will merge the textures for all meshes " +"into one or several large layered textures. If [code]false[/code], every " +"mesh will get its own lightmap texture, which is less efficient.\n" +"[b]Note:[/b] Atlas lightmap rendering is only supported in GLES3, [i]not[/i] " +"GLES2. Non-atlas lightmap rendering is supported by both GLES3 and GLES2. If " +"[member ProjectSettings.rendering/quality/driver/fallback_to_gles2] is " +"[code]true[/code], consider baking lightmaps with [member atlas_generate] " +"set to [code]false[/code] so that the resulting lightmap is visible in both " +"GLES3 and GLES2." msgstr "" #: doc/classes/BakedLightmap.xml @@ -12672,8 +12742,8 @@ msgstr "" #: doc/classes/Camera.xml msgid "" "The camera's size measured as 1/2 the width or height. Only applicable in " -"orthogonal mode. Since [member keep_aspect] locks on axis, [code]size[/code] " -"sets the other axis' size length." +"orthogonal and frustum modes. Since [member keep_aspect] locks on axis, " +"[code]size[/code] sets the other axis' size length." msgstr "" #: doc/classes/Camera.xml @@ -13479,20 +13549,24 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], the node won't inherit its " -"transform from parent canvas items." +"If [code]enable[/code] is [code]true[/code], this [CanvasItem] will [i]not[/" +"i] inherit its transform from parent [CanvasItem]s. Its draw order will also " +"be changed to make it draw on top of other [CanvasItem]s that are not set as " +"top-level. The [CanvasItem] will effectively act as if it was placed as a " +"child of a bare [Node]. See also [method is_set_as_toplevel]." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"local transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_LOCAL_TRANSFORM_CHANGED] when its local transform " +"changes." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"global transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_TRANSFORM_CHANGED] when its global transform changes." msgstr "" #: doc/classes/CanvasItem.xml @@ -13606,9 +13680,14 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"The [CanvasItem]'s transform has changed. This notification is only received " -"if enabled by [method set_notify_transform] or [method " -"set_notify_local_transform]." +"The [CanvasItem]'s global transform has changed. This notification is only " +"received if enabled by [method set_notify_transform]." +msgstr "" + +#: doc/classes/CanvasItem.xml +msgid "" +"The [CanvasItem]'s local transform has changed. This notification is only " +"received if enabled by [method set_notify_local_transform]." msgstr "" #: doc/classes/CanvasItem.xml @@ -14566,7 +14645,10 @@ msgid "" "number of 2D collision [Shape2D]s. Each shape must be assigned to a [i]shape " "owner[/i]. The CollisionObject2D can have any number of shape owners. Shape " "owners are not nodes and do not appear in the editor, but are accessible " -"through code using the [code]shape_owner_*[/code] methods." +"through code using the [code]shape_owner_*[/code] methods.\n" +"[b]Note:[/b] Only collisions between objects within the same canvas " +"([Viewport] canvas or [CanvasLayer]) are supported. The behavior of " +"collisions between objects in different canvases is undefined." msgstr "" #: doc/classes/CollisionObject2D.xml @@ -20671,9 +20753,8 @@ msgid "" "main font.\n" "DynamicFont uses the [url=https://www.freetype.org/]FreeType[/url] library " "for rasterization. Supported formats are TrueType ([code].ttf[/code]), " -"OpenType ([code].otf[/code]) and Web Open Font Format 1 ([code].woff[/" -"code]). Web Open Font Format 2 ([code].woff2[/code]) is [i]not[/i] " -"supported.\n" +"OpenType ([code].otf[/code]), Web Open Font Format 1 ([code].woff[/code]), " +"and Web Open Font Format 2 ([code].woff2[/code]).\n" "[codeblock]\n" "var dynamic_font = DynamicFont.new()\n" "dynamic_font.font_data = load(\"res://BarlowCondensed-Bold.ttf\")\n" @@ -21540,18 +21621,34 @@ msgid "" msgstr "" #: doc/classes/EditorInspector.xml -msgid "A tab used to edit properties of the selected node." +msgid "A control used to edit properties of an object." msgstr "" #: doc/classes/EditorInspector.xml msgid "" -"The editor inspector is by default located on the right-hand side of the " -"editor. It's used to edit the properties of the selected node. For example, " -"you can select a node such as [Sprite] then edit its transform through the " -"inspector tool. The editor inspector is an essential tool in the game " -"development workflow.\n" -"[b]Note:[/b] This class shouldn't be instantiated directly. Instead, access " -"the singleton using [method EditorInterface.get_inspector]." +"This is the control that implements property editing in the editor's " +"Settings dialogs, the Inspector dock, etc. To get the [EditorInspector] used " +"in the editor's Inspector dock, use [method EditorInterface.get_inspector].\n" +"[EditorInspector] will show properties in the same order as the array " +"returned by [method Object.get_property_list].\n" +"If a property's name is path-like (i.e. if it contains forward slashes), " +"[EditorInspector] will create nested sections for \"directories\" along the " +"path. For example, if a property is named [code]highlighting/gdscript/" +"node_path_color[/code], it will be shown as \"Node Path Color\" inside the " +"\"GDScript\" section nested inside the \"Highlighting\" section.\n" +"If a property has [constant @GlobalScope.PROPERTY_USAGE_GROUP] usage, it " +"will group subsequent properties whose name starts with the property's hint " +"string. The group ends when a property does not start with that hint string " +"or when a new group starts. An empty group name effectively ends the current " +"group. [EditorInspector] will create a top-level section for each group. For " +"example, if a property with group usage is named [code]Collide With[/code] " +"and its hint string is [code]collide_with_[/code], a subsequent " +"[code]collide_with_area[/code] property will be shown as \"Area\" inside the " +"\"Collide With\" section.\n" +"[b]Note:[/b] Unlike sections created from path-like property names, " +"[EditorInspector] won't capitalize the name for sections created from " +"groups. So properties with group usage usually use capitalized names instead " +"of snake_cased names." msgstr "" #: doc/classes/EditorInspector.xml @@ -22731,6 +22828,14 @@ msgid "" "[/codeblock]" msgstr "" +#: modules/gltf/doc_classes/EditorSceneImporterGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [EditorSceneImporterGLTF] within a script will cause an error in an " +"exported project." +msgstr "" + #: doc/classes/EditorScenePostImport.xml msgid "Post-processes scenes after import." msgstr "" @@ -23472,12 +23577,13 @@ msgstr "" #: doc/classes/EditorVCSInterface.xml msgid "" "Helper function to create a commit [Dictionary] item. [code]msg[/code] is " -"the commit message of the commit. [code]author[/code] is a human-readable " -"string containing the author's details, e.g. the email and name configured " -"in the VCS. [code]id[/code] is the identifier of the commit, in whichever " -"format your VCS may provide an identifier to commits. [code]date[/code] is " -"directly added to the commit item and displayed in the editor, and hence, it " -"shall be a well-formatted, human-readable date string." +"the commit message of the commit. [code]author[/code] is a single human-" +"readable string containing all the author's details, e.g. the email and name " +"configured in the VCS. [code]id[/code] is the identifier of the commit, in " +"whichever format your VCS may provide an identifier to commits. " +"[code]unix_timestamp[/code] is the UTC Unix timestamp of when the commit was " +"created. [code]offset_minutes[/code] is the timezone offset in minutes, " +"recorded from the system timezone where the commit was created." msgstr "" #: doc/classes/EditorVCSInterface.xml @@ -26639,6 +26745,50 @@ msgstr "" msgid "Represents the size of the [enum Subdiv] enum." msgstr "" +#: modules/gltf/doc_classes/GLTFAccessor.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAccessor] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFAnimation.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAnimation] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFBufferView.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFBufferView] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFCamera.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFCamera] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFDocument.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFDocument] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFLight.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFLight] within a script will cause an error in an exported project." +msgstr "" + #: modules/gltf/doc_classes/GLTFLight.xml msgid "" "The [Color] of the light. Defaults to white. A black color causes the light " @@ -26688,6 +26838,49 @@ msgid "" "and [DirectionalLight] respectively." msgstr "" +#: modules/gltf/doc_classes/GLTFMesh.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFMesh] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFNode.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFNode] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSkeleton.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSkeleton] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSpecGloss.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSpecGloss] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFState.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFState] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFTexture.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFTexture] within a script will cause an error in an exported project." +msgstr "" + #: modules/mono/doc_classes/GodotSharp.xml msgid "Bridge between Godot and the Mono runtime (Mono-enabled builds only)." msgstr "" @@ -30095,9 +30288,9 @@ msgid "" "Returns a value between 0 and 1 representing the raw intensity of the given " "action, ignoring the action's deadzone. In most cases, you should use " "[method get_action_strength] instead.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -30107,9 +30300,9 @@ msgid "" "or L2, R2 triggers) is from the dead zone, the closer the value will be to " "1. If the action is mapped to a control that has no axis as the keyboard, " "the value returned will be 0 or 1.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -30242,9 +30435,9 @@ msgid "" "the button.\n" "This is useful for code that needs to run only once when an action is " "pressed, instead of every frame while it's pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_just_pressed] may " "return [code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -30256,9 +30449,9 @@ msgid "" "Returns [code]true[/code] when the user stops pressing the action event, " "meaning it's [code]true[/code] only on the frame that the user released the " "button.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -30267,9 +30460,9 @@ msgid "" "an action has multiple buttons assigned and more than one of them is " "pressed, releasing one button will release the action, even if some other " "button assigned to this action is still pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -30620,18 +30813,18 @@ msgstr "" msgid "" "Returns a value between 0.0 and 1.0 depending on the given actions' state. " "Useful for getting the value of events of type [InputEventJoypadMotion].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml msgid "" "Returns [code]true[/code] if this input event matches a pre-defined action " "of any type.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -30640,9 +30833,9 @@ msgid "" "an echo event for [InputEventKey] events, unless [code]allow_echo[/code] is " "[code]true[/code]). Not relevant for events of type [InputEventMouseMotion] " "or [InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events.\n" +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -30654,9 +30847,9 @@ msgid "" "Returns [code]true[/code] if the given action is released (i.e. not " "pressed). Not relevant for events of type [InputEventMouseMotion] or " "[InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -30687,9 +30880,9 @@ msgid "" "event. Only valid for action events i.e key ([InputEventKey]), button " "([InputEventMouseButton] or [InputEventJoypadButton]), axis " "[InputEventJoypadMotion] or action ([InputEventAction]) events.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -31221,9 +31414,9 @@ msgid "" "This method ignores keyboard modifiers if the given [InputEvent] is not " "pressed (for proper release detection). See [method action_has_event] if you " "don't want this behavior.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputMap.xml @@ -33633,7 +33826,7 @@ msgid "" "be within the text's length." msgstr "" -#: doc/classes/LineEdit.xml +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml msgid "Clears the current selection." msgstr "" @@ -33652,6 +33845,19 @@ msgid "" "characters." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection begin column." +msgstr "" + +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection end column." +msgstr "" + +#: doc/classes/LineEdit.xml +#, fuzzy +msgid "Returns [code]true[/code] if the user has selected text." +msgstr "Ritorna [code]true[/code] se [Rect2i] è piano o vuoto." + #: doc/classes/LineEdit.xml msgid "Executes a given action as defined in the [enum MenuItems] enum." msgstr "" @@ -35069,6 +35275,39 @@ msgid "Returns the number of surface materials." msgstr "" #: doc/classes/MeshInstance.xml +msgid "" +"Returns [code]true[/code] if this [MeshInstance] can be merged with the " +"specified [code]other_mesh_instance[/code], using the [method MeshInstance." +"merge_meshes] function.\n" +"In order to be mergeable, properties of the [MeshInstance] must match, and " +"each surface must match, in terms of material, attributes and vertex format." +msgstr "" + +#: doc/classes/MeshInstance.xml +msgid "" +"This function can merge together the data from several source " +"[MeshInstance]s into a single destination [MeshInstance] (the MeshInstance " +"the function is called from). This is primarily useful for improving " +"performance by reducing the number of drawcalls and [Node]s.\n" +"Merging should only be attempted for simple meshes that do not contain " +"animation.\n" +"The final vertices can either be returned in global space, or in local space " +"relative to the destination [MeshInstance] global transform (the destination " +"Node must be inside the [SceneTree] for local space to work).\n" +"The function will make a final check for compatibility between the " +"[MeshInstance]s by default, this should always be used unless you have " +"previously checked for compatibility using [method MeshInstance." +"is_mergeable_with]. If the compatibility check is omitted and the meshes are " +"merged, you may see rendering errors.\n" +"[b]Note:[/b] The requirements for similarity between meshes are quite " +"stringent. They can be checked using the [method MeshInstance." +"is_mergeable_with] function prior to calling [method MeshInstance." +"merge_meshes].\n" +"Also note that any initial data in the destination [MeshInstance] data will " +"be discarded." +msgstr "" + +#: doc/classes/MeshInstance.xml msgid "Sets the [Material] for a surface of the [Mesh] resource." msgstr "" @@ -37406,7 +37645,7 @@ msgstr "" #: doc/classes/Node.xml msgid "Nodes and Scenes" -msgstr "Nodi e scene" +msgstr "Nodi e Scene" #: doc/classes/Node.xml msgid "All Demos" @@ -37558,12 +37797,12 @@ msgid "" "[/codeblock]\n" "[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " "must set [member owner] in addition to calling [method add_child]. This is " -"typically relevant for [url=https://godot.readthedocs.io/en/3.2/tutorials/" -"misc/running_code_in_the_editor.html]tool scripts[/url] and [url=https://" -"godot.readthedocs.io/en/latest/tutorials/plugins/editor/index.html]editor " -"plugins[/url]. If [method add_child] is called without setting [member " -"owner], the newly added [Node] will not be visible in the scene tree, though " -"it will be visible in the 2D/3D view." +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -38270,7 +38509,15 @@ msgid "" "valid parent, grandparent, etc. ascending in the tree). When saving a node " "(using [PackedScene]), all the nodes it owns will be saved with it. This " "allows for the creation of complex [SceneTree]s, with instancing and " -"subinstancing." +"subinstancing.\n" +"[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " +"must set [member owner] in addition to calling [method add_child]. This is " +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -38870,7 +39117,13 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Called when the object is initialized." +msgid "" +"Called when the object is initialized in memory. Can be defined to take in " +"parameters, that are passed in when constructing.\n" +"[b]Note:[/b] If [method _init] is defined with required parameters, then " +"explicit construction is the only valid means of creating an Object of the " +"class. If any other means (such as [method PackedScene.instance]) is used, " +"then initialization will fail." msgstr "" #: doc/classes/Object.xml @@ -39066,7 +39319,10 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Returns the object's metadata entry for the given [code]name[/code]." +msgid "" +"Returns the object's metadata entry for the given [code]name[/code].\n" +"Throws error if the entry does not exist, unless [code]default[/code] is not " +"[code]null[/code] (in which case the default value will be returned)." msgstr "" #: doc/classes/Object.xml @@ -41301,6 +41557,14 @@ msgid "" "[b]Note:[/b] Only available in editor builds." msgstr "" +#: modules/gltf/doc_classes/PackedSceneGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [PackedSceneGLTF] within a script will cause an error in an exported " +"project." +msgstr "" + #: doc/classes/PacketPeer.xml msgid "Abstraction and base class for packet-based protocols." msgstr "" @@ -44159,7 +44423,10 @@ msgid "" msgstr "" #: doc/classes/PhysicsServer.xml -msgid "Returns an Info defined by the [enum ProcessInfo] input given." +msgid "" +"Returns information about the current state of the 3D physics engine. See " +"[enum ProcessInfo] for a list of available states. Only implemented for " +"Godot Physics." msgstr "" #: doc/classes/PhysicsServer.xml @@ -47026,7 +47293,7 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Allows the window to be resizable by default.\n" -"[b]Note:[/b] This setting is ignored on iOS and Android." +"[b]Note:[/b] This setting is ignored on iOS." msgstr "" #: doc/classes/ProjectSettings.xml @@ -47673,7 +47940,7 @@ msgid "Optional name for the 3D render layer 13." msgstr "" #: doc/classes/ProjectSettings.xml -msgid "Optional name for the 3D render layer 14" +msgid "Optional name for the 3D render layer 14." msgstr "" #: doc/classes/ProjectSettings.xml @@ -48943,16 +49210,24 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" -"If [code]true[/code], forces vertex shading for all rendering. This can " -"increase performance a lot, but also reduces quality immensely. Can be used " -"to optimize performance on low-end mobile devices." +"If [code]true[/code], forces vertex shading for all 3D [SpatialMaterial] and " +"[ShaderMaterial] rendering. This can be used to improve performance on low-" +"end mobile devices. The downside is that shading becomes much less accurate, " +"with visible linear interpolation between vertices that are joined together. " +"This can be compensated by ensuring meshes have a sufficient level of " +"subdivision (but not too much, to avoid reducing performance). Some material " +"features are also not supported when vertex shading is enabled.\n" +"See also [member SpatialMaterial.flags_vertex_lighting] which can be used to " +"enable vertex shading on specific materials only.\n" +"[b]Note:[/b] This setting does not affect unshaded materials." msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Lower-end override for [member rendering/quality/shading/" "force_vertex_shading] on mobile devices, due to performance concerns or " -"driver support." +"driver support. If lighting looks broken after exporting the project to a " +"mobile platform, try disabling this setting." msgstr "" #: doc/classes/ProjectSettings.xml @@ -50995,6 +51270,11 @@ msgid "" msgstr "" #: doc/classes/RichTextLabel.xml +#, fuzzy +msgid "Returns the current selection text. Does not include BBCodes." +msgstr "Restituisce il seno del parametro." + +#: doc/classes/RichTextLabel.xml msgid "" "Returns the total number of characters from text tags. Does not include " "BBCodes." @@ -53288,14 +53568,23 @@ msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Lowers the [Semaphore], allowing one more thread in. Returns [constant OK] " -"on success, [constant ERR_BUSY] otherwise." +"Lowers the [Semaphore], allowing one more thread in.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." +msgstr "" + +#: doc/classes/Semaphore.xml +msgid "" +"Like [method wait], but won't block, so if the value is zero, fails " +"immediately and returns [constant ERR_BUSY]. If non-zero, it returns " +"[constant OK] to report success." msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Tries to wait for the [Semaphore], if its value is zero, blocks until non-" -"zero. Returns [constant OK] on success, [constant ERR_BUSY] otherwise." +"Waits for the [Semaphore], if its value is zero, blocks until non-zero.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Separator.xml @@ -54744,7 +55033,21 @@ msgstr "" #: doc/classes/SpatialMaterial.xml msgid "" "If [code]true[/code], lighting is calculated per vertex rather than per " -"pixel. This may increase performance on low-end devices." +"pixel. This may increase performance on low-end devices, especially for " +"meshes with a lower polygon count. The downside is that shading becomes much " +"less accurate, with visible linear interpolation between vertices that are " +"joined together. This can be compensated by ensuring meshes have a " +"sufficient level of subdivision (but not too much, to avoid reducing " +"performance). Some material features are also not supported when vertex " +"shading is enabled.\n" +"See also [member ProjectSettings.rendering/quality/shading/" +"force_vertex_shading] which can globally enable vertex shading on all " +"materials.\n" +"[b]Note:[/b] By default, vertex shading is enforced on mobile platforms by " +"[member ProjectSettings.rendering/quality/shading/force_vertex_shading]'s " +"[code]mobile[/code] override.\n" +"[b]Note:[/b] [member flags_vertex_lighting] has no effect if [member " +"flags_unshaded] is [code]true[/code]." msgstr "" #: doc/classes/SpatialMaterial.xml @@ -55551,7 +55854,10 @@ msgid "" "the text alignment to right.\n" "See [Range] class for more options over the [SpinBox].\n" "[b]Note:[/b] [SpinBox] relies on an underlying [LineEdit] node. To theme a " -"[SpinBox]'s background, add theme items for [LineEdit] and customize them." +"[SpinBox]'s background, add theme items for [LineEdit] and customize them.\n" +"[b]Note:[/b] If you want to implement drag and drop for the underlying " +"[LineEdit], you can use [method Control.set_drag_forwarding] on the node " +"returned by [method get_line_edit]." msgstr "" #: doc/classes/SpinBox.xml @@ -56875,7 +57181,6 @@ msgid "" "print(\"1.7\".is_valid_float()) # Prints \"True\"\n" "print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"7e3\".is_valid_float()) # Prints \"True\"\n" -"print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -57112,8 +57417,8 @@ msgid "" "var some_string = \"One,Two,Three,Four\"\n" "var some_array = some_string.rsplit(\",\", true, 1)\n" "print(some_array.size()) # Prints 2\n" -"print(some_array[0]) # Prints \"Four\"\n" -"print(some_array[1]) # Prints \"Three,Two,One\"\n" +"print(some_array[0]) # Prints \"One,Two,Three\"\n" +"print(some_array[1]) # Prints \"Four\"\n" "[/codeblock]" msgstr "" @@ -57146,9 +57451,9 @@ msgstr "" #: doc/classes/String.xml msgid "" "Returns the similarity index ([url=https://en.wikipedia.org/wiki/" -"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) this " -"string compared to another. 1.0 means totally similar and 0.0 means totally " -"dissimilar.\n" +"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) of " +"this string compared to another. A result of 1.0 means totally similar, " +"while 0.0 means totally dissimilar.\n" "[codeblock]\n" "print(\"ABC123\".similarity(\"ABC123\")) # Prints \"1\"\n" "print(\"ABC123\".similarity(\"XYZ456\")) # Prints \"0\"\n" @@ -58627,10 +58932,6 @@ msgid "" msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection begin column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection begin line." msgstr "" @@ -58639,10 +58940,6 @@ msgid "Returns the text inside the selection." msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection end column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection end line." msgstr "" @@ -59679,6 +59976,14 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Adds an empty theme type for every valid data type.\n" +"[b]Note:[/b] Empty types are not saved with the theme. This method only " +"exists to perform in-memory changes to the resource. Use available " +"[code]set_*[/code] methods to add theme items." +msgstr "" + +#: doc/classes/Theme.xml msgid "Clears all values on the theme." msgstr "" @@ -59957,6 +60262,13 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Removes the theme type, gracefully discarding defined theme items. If the " +"type is a variation, this information is also erased. If the type is a base " +"for type variations, those variations lose their base." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Renames the [Color] at [code]old_name[/code] to [code]name[/code] if the " "theme has [code]node_type[/code]. If [code]name[/code] is already taken, " "this method fails." @@ -72743,6 +73055,11 @@ msgid "" msgstr "" #: modules/websocket/doc_classes/WebSocketServer.xml +msgid "" +"Sets additional headers to be sent to clients during the HTTP handshake." +msgstr "" + +#: modules/websocket/doc_classes/WebSocketServer.xml msgid "Stops the server and clear its state." msgstr "" @@ -72838,6 +73155,9 @@ msgid "" "\n" " webxr_interface = ARVRServer.find_interface(\"WebXR\")\n" " if webxr_interface:\n" +" # Map to the standard button/axis ids when possible.\n" +" webxr_interface.xr_standard_mapping = true\n" +"\n" " # WebXR uses a lot of asynchronous callbacks, so we connect to " "various\n" " # signals in order to receive them.\n" @@ -73063,6 +73383,13 @@ msgstr "" #: modules/webxr/doc_classes/WebXRInterface.xml msgid "" +"If set to true, the button and axes ids will be converted to match the " +"standard ids used by other AR/VR interfaces, when possible.\n" +"Otherwise, the ids will be passed through unaltered from WebXR." +msgstr "" + +#: modules/webxr/doc_classes/WebXRInterface.xml +msgid "" "Emitted to indicate that the reference space has been reset or " "reconfigured.\n" "When (or whether) this is emitted depends on the user's browser or device, " @@ -73371,16 +73698,21 @@ msgid "" "Gets the name of the attribute specified by the index in [code]idx[/code] " "argument." msgstr "" +"Prende il nome dell'attributo specificato dall'indice nell'argomento " +"[code]idx[/code]." #: doc/classes/XMLParser.xml msgid "" "Gets the value of the attribute specified by the index in [code]idx[/code] " "argument." msgstr "" +"Prende il nome dell'attributo specificato dall'indice nell'argomento " +"[code]idx[/code]." #: doc/classes/XMLParser.xml +#, fuzzy msgid "Gets the current line in the parsed file (currently not implemented)." -msgstr "" +msgstr "Prende la linea corrente nel file analizzato (non ancora implementato)" #: doc/classes/XMLParser.xml msgid "" @@ -73429,34 +73761,45 @@ msgid "Check whether the current element has a certain attribute." msgstr "Verifica che l'elemento attuale abbia un certo attributo." #: doc/classes/XMLParser.xml +#, fuzzy msgid "" "Check whether the current element is empty (this only works for completely " "empty tags, e.g. [code]<element \\>[/code])." msgstr "" +"Controlla se l'elemento corrente è vuoto (questo funziona solo per tags " +"completamente vuoi, es. [code]<element \\>[/code])." #: doc/classes/XMLParser.xml msgid "Opens an XML file for parsing. This returns an error code." msgstr "Apre un file XML per effettuarne il parsing. Può restituire un errore." #: doc/classes/XMLParser.xml +#, fuzzy msgid "Opens an XML raw buffer for parsing. This returns an error code." msgstr "" +"Apre un buffer greggio di XML per analizzarlo. Questo ritorna un codice di " +"errore." #: doc/classes/XMLParser.xml msgid "Reads the next node of the file. This returns an error code." -msgstr "" +msgstr "Legge il nodo seguente del file. Questo ritorna un codice di errore." #: doc/classes/XMLParser.xml msgid "" "Moves the buffer cursor to a certain offset (since the beginning) and read " "the next node there. This returns an error code." msgstr "" +"Muove il cursore del buffer di un certo margine (partendo dall'inizio) e lì " +"legge il nodo seguente. Questo ritorna un codice errore." #: doc/classes/XMLParser.xml +#, fuzzy msgid "" "Skips the current section. If the node contains other elements, they will be " "ignored and the cursor will go to the closing of the current element." msgstr "" +"Salta la sezione corrente. Se il nodo contiene altri elementi, questi " +"saranno ignorati e il cursore andrà alla chiusura dell'elemento corrente" #: doc/classes/XMLParser.xml #, fuzzy diff --git a/doc/translations/ja.po b/doc/translations/ja.po index 64c0815640..f48940359e 100644 --- a/doc/translations/ja.po +++ b/doc/translations/ja.po @@ -4296,12 +4296,13 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" "Hints that an integer, float or string property is an enumerated value to " -"pick in a list specified via a hint string such as [code]\"Hello,Something," -"Else\"[/code]." +"pick in a list specified via a hint string.\n" +"The hint string is a comma separated list of names such as [code]\"Hello," +"Something,Else\"[/code]. For integer and float properties, the first name in " +"the list has value 0, the next 1, and so on. Explicit values can also be " +"specified by appending [code]:integer[/code] to the name, e.g. [code]\"Zero," +"One,Three:3,Four,Six:6\"[/code]." msgstr "" -"整数、浮動小数点数、文字列のプロパティが、[code]\"Hello,Something,Else\"[/" -"code]のような、ヒント文字列で指定されたリストの中で選択するための列挙値である" -"というヒント。" #: doc/classes/@GlobalScope.xml msgid "" @@ -4482,7 +4483,8 @@ msgid "The property is a translatable string." msgstr "プロパティは翻訳可能な文字列です。" #: doc/classes/@GlobalScope.xml -msgid "Used to group properties together in the editor." +#, fuzzy +msgid "Used to group properties together in the editor. See [EditorInspector]." msgstr "エディタ内でプロパティをグループ化するために使用します。" #: doc/classes/@GlobalScope.xml @@ -6751,9 +6753,13 @@ msgid "[AnimationTree] node resource that contains many blend type nodes." msgstr "ブレンドタイプのノードを多数含む [AnimationTree] ノードリソース。" #: doc/classes/AnimationNodeBlendTree.xml +#, fuzzy msgid "" -"This node may contain a sub-tree of any other blend type nodes, such as mix, " -"blend2, blend3, one shot, etc. This is one of the most commonly used roots." +"This node may contain a sub-tree of any other blend type nodes, such as " +"[AnimationNodeTransition], [AnimationNodeBlend2], [AnimationNodeBlend3], " +"[AnimationNodeOneShot], etc. This is one of the most commonly used roots.\n" +"An [AnimationNodeOutput] node named [code]output[/code] is created by " +"default." msgstr "" "このノードは、mix、blend2、blend3、ワンショットなど、他の任意のブレンドタイプ" "のノードをサブツリーとして含むことができます。これは、一般的によく使用される" @@ -9073,8 +9079,9 @@ msgstr "配列が空の場合は[code]true[/code]を返します。" #: doc/classes/Array.xml msgid "" -"Removes the first occurrence of a value from the array. To remove an element " -"by index, use [method remove] instead.\n" +"Removes the first occurrence of a value from the array. If the value does " +"not exist in the array, nothing happens. To remove an element by index, use " +"[method remove] instead.\n" "[b]Note:[/b] This method acts in-place and doesn't return a value.\n" "[b]Note:[/b] On large arrays, this method will be slower if the removed " "element is close to the beginning of the array (index 0). This is because " @@ -13168,8 +13175,15 @@ msgstr "" #: doc/classes/BakedLightmap.xml msgid "" -"When enabled, the lightmapper will merge the textures for all meshes into a " -"single large layered texture. Not supported in GLES2." +"If [code]true[/code], the lightmapper will merge the textures for all meshes " +"into one or several large layered textures. If [code]false[/code], every " +"mesh will get its own lightmap texture, which is less efficient.\n" +"[b]Note:[/b] Atlas lightmap rendering is only supported in GLES3, [i]not[/i] " +"GLES2. Non-atlas lightmap rendering is supported by both GLES3 and GLES2. If " +"[member ProjectSettings.rendering/quality/driver/fallback_to_gles2] is " +"[code]true[/code], consider baking lightmaps with [member atlas_generate] " +"set to [code]false[/code] so that the resulting lightmap is visible in both " +"GLES3 and GLES2." msgstr "" #: doc/classes/BakedLightmap.xml @@ -14683,8 +14697,8 @@ msgstr "" #: doc/classes/Camera.xml msgid "" "The camera's size measured as 1/2 the width or height. Only applicable in " -"orthogonal mode. Since [member keep_aspect] locks on axis, [code]size[/code] " -"sets the other axis' size length." +"orthogonal and frustum modes. Since [member keep_aspect] locks on axis, " +"[code]size[/code] sets the other axis' size length." msgstr "" #: doc/classes/Camera.xml @@ -15498,20 +15512,24 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], the node won't inherit its " -"transform from parent canvas items." +"If [code]enable[/code] is [code]true[/code], this [CanvasItem] will [i]not[/" +"i] inherit its transform from parent [CanvasItem]s. Its draw order will also " +"be changed to make it draw on top of other [CanvasItem]s that are not set as " +"top-level. The [CanvasItem] will effectively act as if it was placed as a " +"child of a bare [Node]. See also [method is_set_as_toplevel]." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"local transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_LOCAL_TRANSFORM_CHANGED] when its local transform " +"changes." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"global transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_TRANSFORM_CHANGED] when its global transform changes." msgstr "" #: doc/classes/CanvasItem.xml @@ -15625,9 +15643,14 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"The [CanvasItem]'s transform has changed. This notification is only received " -"if enabled by [method set_notify_transform] or [method " -"set_notify_local_transform]." +"The [CanvasItem]'s global transform has changed. This notification is only " +"received if enabled by [method set_notify_transform]." +msgstr "" + +#: doc/classes/CanvasItem.xml +msgid "" +"The [CanvasItem]'s local transform has changed. This notification is only " +"received if enabled by [method set_notify_local_transform]." msgstr "" #: doc/classes/CanvasItem.xml @@ -16633,7 +16656,10 @@ msgid "" "number of 2D collision [Shape2D]s. Each shape must be assigned to a [i]shape " "owner[/i]. The CollisionObject2D can have any number of shape owners. Shape " "owners are not nodes and do not appear in the editor, but are accessible " -"through code using the [code]shape_owner_*[/code] methods." +"through code using the [code]shape_owner_*[/code] methods.\n" +"[b]Note:[/b] Only collisions between objects within the same canvas " +"([Viewport] canvas or [CanvasLayer]) are supported. The behavior of " +"collisions between objects in different canvases is undefined." msgstr "" #: doc/classes/CollisionObject2D.xml @@ -22745,9 +22771,8 @@ msgid "" "main font.\n" "DynamicFont uses the [url=https://www.freetype.org/]FreeType[/url] library " "for rasterization. Supported formats are TrueType ([code].ttf[/code]), " -"OpenType ([code].otf[/code]) and Web Open Font Format 1 ([code].woff[/" -"code]). Web Open Font Format 2 ([code].woff2[/code]) is [i]not[/i] " -"supported.\n" +"OpenType ([code].otf[/code]), Web Open Font Format 1 ([code].woff[/code]), " +"and Web Open Font Format 2 ([code].woff2[/code]).\n" "[codeblock]\n" "var dynamic_font = DynamicFont.new()\n" "dynamic_font.font_data = load(\"res://BarlowCondensed-Bold.ttf\")\n" @@ -23617,18 +23642,34 @@ msgid "" msgstr "" #: doc/classes/EditorInspector.xml -msgid "A tab used to edit properties of the selected node." +msgid "A control used to edit properties of an object." msgstr "" #: doc/classes/EditorInspector.xml msgid "" -"The editor inspector is by default located on the right-hand side of the " -"editor. It's used to edit the properties of the selected node. For example, " -"you can select a node such as [Sprite] then edit its transform through the " -"inspector tool. The editor inspector is an essential tool in the game " -"development workflow.\n" -"[b]Note:[/b] This class shouldn't be instantiated directly. Instead, access " -"the singleton using [method EditorInterface.get_inspector]." +"This is the control that implements property editing in the editor's " +"Settings dialogs, the Inspector dock, etc. To get the [EditorInspector] used " +"in the editor's Inspector dock, use [method EditorInterface.get_inspector].\n" +"[EditorInspector] will show properties in the same order as the array " +"returned by [method Object.get_property_list].\n" +"If a property's name is path-like (i.e. if it contains forward slashes), " +"[EditorInspector] will create nested sections for \"directories\" along the " +"path. For example, if a property is named [code]highlighting/gdscript/" +"node_path_color[/code], it will be shown as \"Node Path Color\" inside the " +"\"GDScript\" section nested inside the \"Highlighting\" section.\n" +"If a property has [constant @GlobalScope.PROPERTY_USAGE_GROUP] usage, it " +"will group subsequent properties whose name starts with the property's hint " +"string. The group ends when a property does not start with that hint string " +"or when a new group starts. An empty group name effectively ends the current " +"group. [EditorInspector] will create a top-level section for each group. For " +"example, if a property with group usage is named [code]Collide With[/code] " +"and its hint string is [code]collide_with_[/code], a subsequent " +"[code]collide_with_area[/code] property will be shown as \"Area\" inside the " +"\"Collide With\" section.\n" +"[b]Note:[/b] Unlike sections created from path-like property names, " +"[EditorInspector] won't capitalize the name for sections created from " +"groups. So properties with group usage usually use capitalized names instead " +"of snake_cased names." msgstr "" #: doc/classes/EditorInspector.xml @@ -24813,6 +24854,14 @@ msgid "" "[/codeblock]" msgstr "" +#: modules/gltf/doc_classes/EditorSceneImporterGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [EditorSceneImporterGLTF] within a script will cause an error in an " +"exported project." +msgstr "" + #: doc/classes/EditorScenePostImport.xml msgid "Post-processes scenes after import." msgstr "" @@ -25559,12 +25608,13 @@ msgstr "" #: doc/classes/EditorVCSInterface.xml msgid "" "Helper function to create a commit [Dictionary] item. [code]msg[/code] is " -"the commit message of the commit. [code]author[/code] is a human-readable " -"string containing the author's details, e.g. the email and name configured " -"in the VCS. [code]id[/code] is the identifier of the commit, in whichever " -"format your VCS may provide an identifier to commits. [code]date[/code] is " -"directly added to the commit item and displayed in the editor, and hence, it " -"shall be a well-formatted, human-readable date string." +"the commit message of the commit. [code]author[/code] is a single human-" +"readable string containing all the author's details, e.g. the email and name " +"configured in the VCS. [code]id[/code] is the identifier of the commit, in " +"whichever format your VCS may provide an identifier to commits. " +"[code]unix_timestamp[/code] is the UTC Unix timestamp of when the commit was " +"created. [code]offset_minutes[/code] is the timezone offset in minutes, " +"recorded from the system timezone where the commit was created." msgstr "" #: doc/classes/EditorVCSInterface.xml @@ -28746,6 +28796,50 @@ msgstr "" msgid "Represents the size of the [enum Subdiv] enum." msgstr "" +#: modules/gltf/doc_classes/GLTFAccessor.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAccessor] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFAnimation.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAnimation] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFBufferView.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFBufferView] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFCamera.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFCamera] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFDocument.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFDocument] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFLight.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFLight] within a script will cause an error in an exported project." +msgstr "" + #: modules/gltf/doc_classes/GLTFLight.xml msgid "" "The [Color] of the light. Defaults to white. A black color causes the light " @@ -28795,6 +28889,49 @@ msgid "" "and [DirectionalLight] respectively." msgstr "" +#: modules/gltf/doc_classes/GLTFMesh.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFMesh] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFNode.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFNode] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSkeleton.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSkeleton] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSpecGloss.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSpecGloss] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFState.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFState] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFTexture.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFTexture] within a script will cause an error in an exported project." +msgstr "" + #: modules/mono/doc_classes/GodotSharp.xml msgid "Bridge between Godot and the Mono runtime (Mono-enabled builds only)." msgstr "" @@ -32225,9 +32362,9 @@ msgid "" "Returns a value between 0 and 1 representing the raw intensity of the given " "action, ignoring the action's deadzone. In most cases, you should use " "[method get_action_strength] instead.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -32237,9 +32374,9 @@ msgid "" "or L2, R2 triggers) is from the dead zone, the closer the value will be to " "1. If the action is mapped to a control that has no axis as the keyboard, " "the value returned will be 0 or 1.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -32372,9 +32509,9 @@ msgid "" "the button.\n" "This is useful for code that needs to run only once when an action is " "pressed, instead of every frame while it's pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_just_pressed] may " "return [code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -32386,9 +32523,9 @@ msgid "" "Returns [code]true[/code] when the user stops pressing the action event, " "meaning it's [code]true[/code] only on the frame that the user released the " "button.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -32397,9 +32534,9 @@ msgid "" "an action has multiple buttons assigned and more than one of them is " "pressed, releasing one button will release the action, even if some other " "button assigned to this action is still pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -32752,18 +32889,18 @@ msgstr "" msgid "" "Returns a value between 0.0 and 1.0 depending on the given actions' state. " "Useful for getting the value of events of type [InputEventJoypadMotion].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml msgid "" "Returns [code]true[/code] if this input event matches a pre-defined action " "of any type.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -32772,9 +32909,9 @@ msgid "" "an echo event for [InputEventKey] events, unless [code]allow_echo[/code] is " "[code]true[/code]). Not relevant for events of type [InputEventMouseMotion] " "or [InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events.\n" +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -32786,9 +32923,9 @@ msgid "" "Returns [code]true[/code] if the given action is released (i.e. not " "pressed). Not relevant for events of type [InputEventMouseMotion] or " "[InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -32819,9 +32956,9 @@ msgid "" "event. Only valid for action events i.e key ([InputEventKey]), button " "([InputEventMouseButton] or [InputEventJoypadButton]), axis " "[InputEventJoypadMotion] or action ([InputEventAction]) events.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -33353,9 +33490,9 @@ msgid "" "This method ignores keyboard modifiers if the given [InputEvent] is not " "pressed (for proper release detection). See [method action_has_event] if you " "don't want this behavior.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputMap.xml @@ -35800,7 +35937,7 @@ msgid "" "be within the text's length." msgstr "" -#: doc/classes/LineEdit.xml +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml msgid "Clears the current selection." msgstr "" @@ -35819,6 +35956,19 @@ msgid "" "characters." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection begin column." +msgstr "" + +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection end column." +msgstr "" + +#: doc/classes/LineEdit.xml +#, fuzzy +msgid "Returns [code]true[/code] if the user has selected text." +msgstr "配列が空の場合は[code]true[/code]を返します。" + #: doc/classes/LineEdit.xml msgid "Executes a given action as defined in the [enum MenuItems] enum." msgstr "" @@ -37235,6 +37385,39 @@ msgid "Returns the number of surface materials." msgstr "" #: doc/classes/MeshInstance.xml +msgid "" +"Returns [code]true[/code] if this [MeshInstance] can be merged with the " +"specified [code]other_mesh_instance[/code], using the [method MeshInstance." +"merge_meshes] function.\n" +"In order to be mergeable, properties of the [MeshInstance] must match, and " +"each surface must match, in terms of material, attributes and vertex format." +msgstr "" + +#: doc/classes/MeshInstance.xml +msgid "" +"This function can merge together the data from several source " +"[MeshInstance]s into a single destination [MeshInstance] (the MeshInstance " +"the function is called from). This is primarily useful for improving " +"performance by reducing the number of drawcalls and [Node]s.\n" +"Merging should only be attempted for simple meshes that do not contain " +"animation.\n" +"The final vertices can either be returned in global space, or in local space " +"relative to the destination [MeshInstance] global transform (the destination " +"Node must be inside the [SceneTree] for local space to work).\n" +"The function will make a final check for compatibility between the " +"[MeshInstance]s by default, this should always be used unless you have " +"previously checked for compatibility using [method MeshInstance." +"is_mergeable_with]. If the compatibility check is omitted and the meshes are " +"merged, you may see rendering errors.\n" +"[b]Note:[/b] The requirements for similarity between meshes are quite " +"stringent. They can be checked using the [method MeshInstance." +"is_mergeable_with] function prior to calling [method MeshInstance." +"merge_meshes].\n" +"Also note that any initial data in the destination [MeshInstance] data will " +"be discarded." +msgstr "" + +#: doc/classes/MeshInstance.xml msgid "Sets the [Material] for a surface of the [Mesh] resource." msgstr "" @@ -39751,12 +39934,12 @@ msgid "" "[/codeblock]\n" "[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " "must set [member owner] in addition to calling [method add_child]. This is " -"typically relevant for [url=https://godot.readthedocs.io/en/3.2/tutorials/" -"misc/running_code_in_the_editor.html]tool scripts[/url] and [url=https://" -"godot.readthedocs.io/en/latest/tutorials/plugins/editor/index.html]editor " -"plugins[/url]. If [method add_child] is called without setting [member " -"owner], the newly added [Node] will not be visible in the scene tree, though " -"it will be visible in the 2D/3D view." +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -40466,7 +40649,15 @@ msgid "" "valid parent, grandparent, etc. ascending in the tree). When saving a node " "(using [PackedScene]), all the nodes it owns will be saved with it. This " "allows for the creation of complex [SceneTree]s, with instancing and " -"subinstancing." +"subinstancing.\n" +"[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " +"must set [member owner] in addition to calling [method add_child]. This is " +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -41063,7 +41254,13 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Called when the object is initialized." +msgid "" +"Called when the object is initialized in memory. Can be defined to take in " +"parameters, that are passed in when constructing.\n" +"[b]Note:[/b] If [method _init] is defined with required parameters, then " +"explicit construction is the only valid means of creating an Object of the " +"class. If any other means (such as [method PackedScene.instance]) is used, " +"then initialization will fail." msgstr "" #: doc/classes/Object.xml @@ -41259,7 +41456,10 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Returns the object's metadata entry for the given [code]name[/code]." +msgid "" +"Returns the object's metadata entry for the given [code]name[/code].\n" +"Throws error if the entry does not exist, unless [code]default[/code] is not " +"[code]null[/code] (in which case the default value will be returned)." msgstr "" #: doc/classes/Object.xml @@ -43507,6 +43707,14 @@ msgid "" "[b]Note:[/b] Only available in editor builds." msgstr "" +#: modules/gltf/doc_classes/PackedSceneGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [PackedSceneGLTF] within a script will cause an error in an exported " +"project." +msgstr "" + #: doc/classes/PacketPeer.xml msgid "Abstraction and base class for packet-based protocols." msgstr "" @@ -46369,7 +46577,10 @@ msgid "" msgstr "" #: doc/classes/PhysicsServer.xml -msgid "Returns an Info defined by the [enum ProcessInfo] input given." +msgid "" +"Returns information about the current state of the 3D physics engine. See " +"[enum ProcessInfo] for a list of available states. Only implemented for " +"Godot Physics." msgstr "" #: doc/classes/PhysicsServer.xml @@ -49275,7 +49486,7 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Allows the window to be resizable by default.\n" -"[b]Note:[/b] This setting is ignored on iOS and Android." +"[b]Note:[/b] This setting is ignored on iOS." msgstr "" #: doc/classes/ProjectSettings.xml @@ -49922,7 +50133,7 @@ msgid "Optional name for the 3D render layer 13." msgstr "" #: doc/classes/ProjectSettings.xml -msgid "Optional name for the 3D render layer 14" +msgid "Optional name for the 3D render layer 14." msgstr "" #: doc/classes/ProjectSettings.xml @@ -51192,16 +51403,24 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" -"If [code]true[/code], forces vertex shading for all rendering. This can " -"increase performance a lot, but also reduces quality immensely. Can be used " -"to optimize performance on low-end mobile devices." +"If [code]true[/code], forces vertex shading for all 3D [SpatialMaterial] and " +"[ShaderMaterial] rendering. This can be used to improve performance on low-" +"end mobile devices. The downside is that shading becomes much less accurate, " +"with visible linear interpolation between vertices that are joined together. " +"This can be compensated by ensuring meshes have a sufficient level of " +"subdivision (but not too much, to avoid reducing performance). Some material " +"features are also not supported when vertex shading is enabled.\n" +"See also [member SpatialMaterial.flags_vertex_lighting] which can be used to " +"enable vertex shading on specific materials only.\n" +"[b]Note:[/b] This setting does not affect unshaded materials." msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Lower-end override for [member rendering/quality/shading/" "force_vertex_shading] on mobile devices, due to performance concerns or " -"driver support." +"driver support. If lighting looks broken after exporting the project to a " +"mobile platform, try disabling this setting." msgstr "" #: doc/classes/ProjectSettings.xml @@ -53266,6 +53485,11 @@ msgid "" msgstr "" #: doc/classes/RichTextLabel.xml +#, fuzzy +msgid "Returns the current selection text. Does not include BBCodes." +msgstr "現在再生中のアニメーションステートを返します。" + +#: doc/classes/RichTextLabel.xml msgid "" "Returns the total number of characters from text tags. Does not include " "BBCodes." @@ -55565,14 +55789,23 @@ msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Lowers the [Semaphore], allowing one more thread in. Returns [constant OK] " -"on success, [constant ERR_BUSY] otherwise." +"Lowers the [Semaphore], allowing one more thread in.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." +msgstr "" + +#: doc/classes/Semaphore.xml +msgid "" +"Like [method wait], but won't block, so if the value is zero, fails " +"immediately and returns [constant ERR_BUSY]. If non-zero, it returns " +"[constant OK] to report success." msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Tries to wait for the [Semaphore], if its value is zero, blocks until non-" -"zero. Returns [constant OK] on success, [constant ERR_BUSY] otherwise." +"Waits for the [Semaphore], if its value is zero, blocks until non-zero.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Separator.xml @@ -57120,7 +57353,21 @@ msgstr "" #: doc/classes/SpatialMaterial.xml msgid "" "If [code]true[/code], lighting is calculated per vertex rather than per " -"pixel. This may increase performance on low-end devices." +"pixel. This may increase performance on low-end devices, especially for " +"meshes with a lower polygon count. The downside is that shading becomes much " +"less accurate, with visible linear interpolation between vertices that are " +"joined together. This can be compensated by ensuring meshes have a " +"sufficient level of subdivision (but not too much, to avoid reducing " +"performance). Some material features are also not supported when vertex " +"shading is enabled.\n" +"See also [member ProjectSettings.rendering/quality/shading/" +"force_vertex_shading] which can globally enable vertex shading on all " +"materials.\n" +"[b]Note:[/b] By default, vertex shading is enforced on mobile platforms by " +"[member ProjectSettings.rendering/quality/shading/force_vertex_shading]'s " +"[code]mobile[/code] override.\n" +"[b]Note:[/b] [member flags_vertex_lighting] has no effect if [member " +"flags_unshaded] is [code]true[/code]." msgstr "" #: doc/classes/SpatialMaterial.xml @@ -58105,7 +58352,10 @@ msgid "" "the text alignment to right.\n" "See [Range] class for more options over the [SpinBox].\n" "[b]Note:[/b] [SpinBox] relies on an underlying [LineEdit] node. To theme a " -"[SpinBox]'s background, add theme items for [LineEdit] and customize them." +"[SpinBox]'s background, add theme items for [LineEdit] and customize them.\n" +"[b]Note:[/b] If you want to implement drag and drop for the underlying " +"[LineEdit], you can use [method Control.set_drag_forwarding] on the node " +"returned by [method get_line_edit]." msgstr "" #: doc/classes/SpinBox.xml @@ -59453,7 +59703,6 @@ msgid "" "print(\"1.7\".is_valid_float()) # Prints \"True\"\n" "print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"7e3\".is_valid_float()) # Prints \"True\"\n" -"print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -59690,8 +59939,8 @@ msgid "" "var some_string = \"One,Two,Three,Four\"\n" "var some_array = some_string.rsplit(\",\", true, 1)\n" "print(some_array.size()) # Prints 2\n" -"print(some_array[0]) # Prints \"Four\"\n" -"print(some_array[1]) # Prints \"Three,Two,One\"\n" +"print(some_array[0]) # Prints \"One,Two,Three\"\n" +"print(some_array[1]) # Prints \"Four\"\n" "[/codeblock]" msgstr "" @@ -59724,9 +59973,9 @@ msgstr "" #: doc/classes/String.xml msgid "" "Returns the similarity index ([url=https://en.wikipedia.org/wiki/" -"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) this " -"string compared to another. 1.0 means totally similar and 0.0 means totally " -"dissimilar.\n" +"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) of " +"this string compared to another. A result of 1.0 means totally similar, " +"while 0.0 means totally dissimilar.\n" "[codeblock]\n" "print(\"ABC123\".similarity(\"ABC123\")) # Prints \"1\"\n" "print(\"ABC123\".similarity(\"XYZ456\")) # Prints \"0\"\n" @@ -61217,10 +61466,6 @@ msgid "" msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection begin column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection begin line." msgstr "" @@ -61229,10 +61474,6 @@ msgid "Returns the text inside the selection." msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection end column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection end line." msgstr "" @@ -62275,6 +62516,14 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Adds an empty theme type for every valid data type.\n" +"[b]Note:[/b] Empty types are not saved with the theme. This method only " +"exists to perform in-memory changes to the resource. Use available " +"[code]set_*[/code] methods to add theme items." +msgstr "" + +#: doc/classes/Theme.xml msgid "Clears all values on the theme." msgstr "" @@ -62564,6 +62813,13 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Removes the theme type, gracefully discarding defined theme items. If the " +"type is a variation, this information is also erased. If the type is a base " +"for type variations, those variations lose their base." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Renames the [Color] at [code]old_name[/code] to [code]name[/code] if the " "theme has [code]node_type[/code]. If [code]name[/code] is already taken, " "this method fails." @@ -75427,6 +75683,11 @@ msgid "" msgstr "" #: modules/websocket/doc_classes/WebSocketServer.xml +msgid "" +"Sets additional headers to be sent to clients during the HTTP handshake." +msgstr "" + +#: modules/websocket/doc_classes/WebSocketServer.xml msgid "Stops the server and clear its state." msgstr "" @@ -75522,6 +75783,9 @@ msgid "" "\n" " webxr_interface = ARVRServer.find_interface(\"WebXR\")\n" " if webxr_interface:\n" +" # Map to the standard button/axis ids when possible.\n" +" webxr_interface.xr_standard_mapping = true\n" +"\n" " # WebXR uses a lot of asynchronous callbacks, so we connect to " "various\n" " # signals in order to receive them.\n" @@ -75747,6 +76011,13 @@ msgstr "" #: modules/webxr/doc_classes/WebXRInterface.xml msgid "" +"If set to true, the button and axes ids will be converted to match the " +"standard ids used by other AR/VR interfaces, when possible.\n" +"Otherwise, the ids will be passed through unaltered from WebXR." +msgstr "" + +#: modules/webxr/doc_classes/WebXRInterface.xml +msgid "" "Emitted to indicate that the reference space has been reset or " "reconfigured.\n" "When (or whether) this is emitted depends on the user's browser or device, " diff --git a/doc/translations/ko.po b/doc/translations/ko.po index 7a5bfa260b..f3091e3a36 100644 --- a/doc/translations/ko.po +++ b/doc/translations/ko.po @@ -3450,8 +3450,12 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" "Hints that an integer, float or string property is an enumerated value to " -"pick in a list specified via a hint string such as [code]\"Hello,Something," -"Else\"[/code]." +"pick in a list specified via a hint string.\n" +"The hint string is a comma separated list of names such as [code]\"Hello," +"Something,Else\"[/code]. For integer and float properties, the first name in " +"the list has value 0, the next 1, and so on. Explicit values can also be " +"specified by appending [code]:integer[/code] to the name, e.g. [code]\"Zero," +"One,Three:3,Four,Six:6\"[/code]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -3592,7 +3596,7 @@ msgid "The property is a translatable string." msgstr "" #: doc/classes/@GlobalScope.xml -msgid "Used to group properties together in the editor." +msgid "Used to group properties together in the editor. See [EditorInspector]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -5365,8 +5369,11 @@ msgstr "" #: doc/classes/AnimationNodeBlendTree.xml msgid "" -"This node may contain a sub-tree of any other blend type nodes, such as mix, " -"blend2, blend3, one shot, etc. This is one of the most commonly used roots." +"This node may contain a sub-tree of any other blend type nodes, such as " +"[AnimationNodeTransition], [AnimationNodeBlend2], [AnimationNodeBlend3], " +"[AnimationNodeOneShot], etc. This is one of the most commonly used roots.\n" +"An [AnimationNodeOutput] node named [code]output[/code] is created by " +"default." msgstr "" #: doc/classes/AnimationNodeBlendTree.xml @@ -7109,8 +7116,9 @@ msgstr "" #: doc/classes/Array.xml msgid "" -"Removes the first occurrence of a value from the array. To remove an element " -"by index, use [method remove] instead.\n" +"Removes the first occurrence of a value from the array. If the value does " +"not exist in the array, nothing happens. To remove an element by index, use " +"[method remove] instead.\n" "[b]Note:[/b] This method acts in-place and doesn't return a value.\n" "[b]Note:[/b] On large arrays, this method will be slower if the removed " "element is close to the beginning of the array (index 0). This is because " @@ -10487,8 +10495,15 @@ msgstr "" #: doc/classes/BakedLightmap.xml msgid "" -"When enabled, the lightmapper will merge the textures for all meshes into a " -"single large layered texture. Not supported in GLES2." +"If [code]true[/code], the lightmapper will merge the textures for all meshes " +"into one or several large layered textures. If [code]false[/code], every " +"mesh will get its own lightmap texture, which is less efficient.\n" +"[b]Note:[/b] Atlas lightmap rendering is only supported in GLES3, [i]not[/i] " +"GLES2. Non-atlas lightmap rendering is supported by both GLES3 and GLES2. If " +"[member ProjectSettings.rendering/quality/driver/fallback_to_gles2] is " +"[code]true[/code], consider baking lightmaps with [member atlas_generate] " +"set to [code]false[/code] so that the resulting lightmap is visible in both " +"GLES3 and GLES2." msgstr "" #: doc/classes/BakedLightmap.xml @@ -11833,8 +11848,8 @@ msgstr "" #: doc/classes/Camera.xml msgid "" "The camera's size measured as 1/2 the width or height. Only applicable in " -"orthogonal mode. Since [member keep_aspect] locks on axis, [code]size[/code] " -"sets the other axis' size length." +"orthogonal and frustum modes. Since [member keep_aspect] locks on axis, " +"[code]size[/code] sets the other axis' size length." msgstr "" #: doc/classes/Camera.xml @@ -12636,20 +12651,24 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], the node won't inherit its " -"transform from parent canvas items." +"If [code]enable[/code] is [code]true[/code], this [CanvasItem] will [i]not[/" +"i] inherit its transform from parent [CanvasItem]s. Its draw order will also " +"be changed to make it draw on top of other [CanvasItem]s that are not set as " +"top-level. The [CanvasItem] will effectively act as if it was placed as a " +"child of a bare [Node]. See also [method is_set_as_toplevel]." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"local transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_LOCAL_TRANSFORM_CHANGED] when its local transform " +"changes." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"global transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_TRANSFORM_CHANGED] when its global transform changes." msgstr "" #: doc/classes/CanvasItem.xml @@ -12763,9 +12782,14 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"The [CanvasItem]'s transform has changed. This notification is only received " -"if enabled by [method set_notify_transform] or [method " -"set_notify_local_transform]." +"The [CanvasItem]'s global transform has changed. This notification is only " +"received if enabled by [method set_notify_transform]." +msgstr "" + +#: doc/classes/CanvasItem.xml +msgid "" +"The [CanvasItem]'s local transform has changed. This notification is only " +"received if enabled by [method set_notify_local_transform]." msgstr "" #: doc/classes/CanvasItem.xml @@ -13720,7 +13744,10 @@ msgid "" "number of 2D collision [Shape2D]s. Each shape must be assigned to a [i]shape " "owner[/i]. The CollisionObject2D can have any number of shape owners. Shape " "owners are not nodes and do not appear in the editor, but are accessible " -"through code using the [code]shape_owner_*[/code] methods." +"through code using the [code]shape_owner_*[/code] methods.\n" +"[b]Note:[/b] Only collisions between objects within the same canvas " +"([Viewport] canvas or [CanvasLayer]) are supported. The behavior of " +"collisions between objects in different canvases is undefined." msgstr "" #: doc/classes/CollisionObject2D.xml @@ -19828,9 +19855,8 @@ msgid "" "main font.\n" "DynamicFont uses the [url=https://www.freetype.org/]FreeType[/url] library " "for rasterization. Supported formats are TrueType ([code].ttf[/code]), " -"OpenType ([code].otf[/code]) and Web Open Font Format 1 ([code].woff[/" -"code]). Web Open Font Format 2 ([code].woff2[/code]) is [i]not[/i] " -"supported.\n" +"OpenType ([code].otf[/code]), Web Open Font Format 1 ([code].woff[/code]), " +"and Web Open Font Format 2 ([code].woff2[/code]).\n" "[codeblock]\n" "var dynamic_font = DynamicFont.new()\n" "dynamic_font.font_data = load(\"res://BarlowCondensed-Bold.ttf\")\n" @@ -20697,18 +20723,34 @@ msgid "" msgstr "" #: doc/classes/EditorInspector.xml -msgid "A tab used to edit properties of the selected node." +msgid "A control used to edit properties of an object." msgstr "" #: doc/classes/EditorInspector.xml msgid "" -"The editor inspector is by default located on the right-hand side of the " -"editor. It's used to edit the properties of the selected node. For example, " -"you can select a node such as [Sprite] then edit its transform through the " -"inspector tool. The editor inspector is an essential tool in the game " -"development workflow.\n" -"[b]Note:[/b] This class shouldn't be instantiated directly. Instead, access " -"the singleton using [method EditorInterface.get_inspector]." +"This is the control that implements property editing in the editor's " +"Settings dialogs, the Inspector dock, etc. To get the [EditorInspector] used " +"in the editor's Inspector dock, use [method EditorInterface.get_inspector].\n" +"[EditorInspector] will show properties in the same order as the array " +"returned by [method Object.get_property_list].\n" +"If a property's name is path-like (i.e. if it contains forward slashes), " +"[EditorInspector] will create nested sections for \"directories\" along the " +"path. For example, if a property is named [code]highlighting/gdscript/" +"node_path_color[/code], it will be shown as \"Node Path Color\" inside the " +"\"GDScript\" section nested inside the \"Highlighting\" section.\n" +"If a property has [constant @GlobalScope.PROPERTY_USAGE_GROUP] usage, it " +"will group subsequent properties whose name starts with the property's hint " +"string. The group ends when a property does not start with that hint string " +"or when a new group starts. An empty group name effectively ends the current " +"group. [EditorInspector] will create a top-level section for each group. For " +"example, if a property with group usage is named [code]Collide With[/code] " +"and its hint string is [code]collide_with_[/code], a subsequent " +"[code]collide_with_area[/code] property will be shown as \"Area\" inside the " +"\"Collide With\" section.\n" +"[b]Note:[/b] Unlike sections created from path-like property names, " +"[EditorInspector] won't capitalize the name for sections created from " +"groups. So properties with group usage usually use capitalized names instead " +"of snake_cased names." msgstr "" #: doc/classes/EditorInspector.xml @@ -21883,6 +21925,14 @@ msgid "" "[/codeblock]" msgstr "" +#: modules/gltf/doc_classes/EditorSceneImporterGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [EditorSceneImporterGLTF] within a script will cause an error in an " +"exported project." +msgstr "" + #: doc/classes/EditorScenePostImport.xml msgid "Post-processes scenes after import." msgstr "" @@ -22621,12 +22671,13 @@ msgstr "" #: doc/classes/EditorVCSInterface.xml msgid "" "Helper function to create a commit [Dictionary] item. [code]msg[/code] is " -"the commit message of the commit. [code]author[/code] is a human-readable " -"string containing the author's details, e.g. the email and name configured " -"in the VCS. [code]id[/code] is the identifier of the commit, in whichever " -"format your VCS may provide an identifier to commits. [code]date[/code] is " -"directly added to the commit item and displayed in the editor, and hence, it " -"shall be a well-formatted, human-readable date string." +"the commit message of the commit. [code]author[/code] is a single human-" +"readable string containing all the author's details, e.g. the email and name " +"configured in the VCS. [code]id[/code] is the identifier of the commit, in " +"whichever format your VCS may provide an identifier to commits. " +"[code]unix_timestamp[/code] is the UTC Unix timestamp of when the commit was " +"created. [code]offset_minutes[/code] is the timezone offset in minutes, " +"recorded from the system timezone where the commit was created." msgstr "" #: doc/classes/EditorVCSInterface.xml @@ -25783,6 +25834,50 @@ msgstr "" msgid "Represents the size of the [enum Subdiv] enum." msgstr "" +#: modules/gltf/doc_classes/GLTFAccessor.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAccessor] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFAnimation.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAnimation] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFBufferView.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFBufferView] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFCamera.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFCamera] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFDocument.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFDocument] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFLight.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFLight] within a script will cause an error in an exported project." +msgstr "" + #: modules/gltf/doc_classes/GLTFLight.xml msgid "" "The [Color] of the light. Defaults to white. A black color causes the light " @@ -25832,6 +25927,49 @@ msgid "" "and [DirectionalLight] respectively." msgstr "" +#: modules/gltf/doc_classes/GLTFMesh.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFMesh] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFNode.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFNode] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSkeleton.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSkeleton] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSpecGloss.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSpecGloss] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFState.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFState] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFTexture.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFTexture] within a script will cause an error in an exported project." +msgstr "" + #: modules/mono/doc_classes/GodotSharp.xml msgid "Bridge between Godot and the Mono runtime (Mono-enabled builds only)." msgstr "" @@ -29226,9 +29364,9 @@ msgid "" "Returns a value between 0 and 1 representing the raw intensity of the given " "action, ignoring the action's deadzone. In most cases, you should use " "[method get_action_strength] instead.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29238,9 +29376,9 @@ msgid "" "or L2, R2 triggers) is from the dead zone, the closer the value will be to " "1. If the action is mapped to a control that has no axis as the keyboard, " "the value returned will be 0 or 1.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29373,9 +29511,9 @@ msgid "" "the button.\n" "This is useful for code that needs to run only once when an action is " "pressed, instead of every frame while it's pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_just_pressed] may " "return [code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29387,9 +29525,9 @@ msgid "" "Returns [code]true[/code] when the user stops pressing the action event, " "meaning it's [code]true[/code] only on the frame that the user released the " "button.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29398,9 +29536,9 @@ msgid "" "an action has multiple buttons assigned and more than one of them is " "pressed, releasing one button will release the action, even if some other " "button assigned to this action is still pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29750,18 +29888,18 @@ msgstr "" msgid "" "Returns a value between 0.0 and 1.0 depending on the given actions' state. " "Useful for getting the value of events of type [InputEventJoypadMotion].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml msgid "" "Returns [code]true[/code] if this input event matches a pre-defined action " "of any type.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -29770,9 +29908,9 @@ msgid "" "an echo event for [InputEventKey] events, unless [code]allow_echo[/code] is " "[code]true[/code]). Not relevant for events of type [InputEventMouseMotion] " "or [InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events.\n" +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29784,9 +29922,9 @@ msgid "" "Returns [code]true[/code] if the given action is released (i.e. not " "pressed). Not relevant for events of type [InputEventMouseMotion] or " "[InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -29817,9 +29955,9 @@ msgid "" "event. Only valid for action events i.e key ([InputEventKey]), button " "([InputEventMouseButton] or [InputEventJoypadButton]), axis " "[InputEventJoypadMotion] or action ([InputEventAction]) events.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -30350,9 +30488,9 @@ msgid "" "This method ignores keyboard modifiers if the given [InputEvent] is not " "pressed (for proper release detection). See [method action_has_event] if you " "don't want this behavior.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputMap.xml @@ -32758,7 +32896,7 @@ msgid "" "be within the text's length." msgstr "" -#: doc/classes/LineEdit.xml +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml msgid "Clears the current selection." msgstr "" @@ -32777,6 +32915,19 @@ msgid "" "characters." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection begin column." +msgstr "" + +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection end column." +msgstr "" + +#: doc/classes/LineEdit.xml +#, fuzzy +msgid "Returns [code]true[/code] if the user has selected text." +msgstr "매개변수의 코사인 값을 반환합니다." + #: doc/classes/LineEdit.xml msgid "Executes a given action as defined in the [enum MenuItems] enum." msgstr "" @@ -34190,6 +34341,39 @@ msgid "Returns the number of surface materials." msgstr "" #: doc/classes/MeshInstance.xml +msgid "" +"Returns [code]true[/code] if this [MeshInstance] can be merged with the " +"specified [code]other_mesh_instance[/code], using the [method MeshInstance." +"merge_meshes] function.\n" +"In order to be mergeable, properties of the [MeshInstance] must match, and " +"each surface must match, in terms of material, attributes and vertex format." +msgstr "" + +#: doc/classes/MeshInstance.xml +msgid "" +"This function can merge together the data from several source " +"[MeshInstance]s into a single destination [MeshInstance] (the MeshInstance " +"the function is called from). This is primarily useful for improving " +"performance by reducing the number of drawcalls and [Node]s.\n" +"Merging should only be attempted for simple meshes that do not contain " +"animation.\n" +"The final vertices can either be returned in global space, or in local space " +"relative to the destination [MeshInstance] global transform (the destination " +"Node must be inside the [SceneTree] for local space to work).\n" +"The function will make a final check for compatibility between the " +"[MeshInstance]s by default, this should always be used unless you have " +"previously checked for compatibility using [method MeshInstance." +"is_mergeable_with]. If the compatibility check is omitted and the meshes are " +"merged, you may see rendering errors.\n" +"[b]Note:[/b] The requirements for similarity between meshes are quite " +"stringent. They can be checked using the [method MeshInstance." +"is_mergeable_with] function prior to calling [method MeshInstance." +"merge_meshes].\n" +"Also note that any initial data in the destination [MeshInstance] data will " +"be discarded." +msgstr "" + +#: doc/classes/MeshInstance.xml msgid "Sets the [Material] for a surface of the [Mesh] resource." msgstr "" @@ -36793,12 +36977,12 @@ msgid "" "[/codeblock]\n" "[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " "must set [member owner] in addition to calling [method add_child]. This is " -"typically relevant for [url=https://godot.readthedocs.io/en/3.2/tutorials/" -"misc/running_code_in_the_editor.html]tool scripts[/url] and [url=https://" -"godot.readthedocs.io/en/latest/tutorials/plugins/editor/index.html]editor " -"plugins[/url]. If [method add_child] is called without setting [member " -"owner], the newly added [Node] will not be visible in the scene tree, though " -"it will be visible in the 2D/3D view." +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37505,7 +37689,15 @@ msgid "" "valid parent, grandparent, etc. ascending in the tree). When saving a node " "(using [PackedScene]), all the nodes it owns will be saved with it. This " "allows for the creation of complex [SceneTree]s, with instancing and " -"subinstancing." +"subinstancing.\n" +"[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " +"must set [member owner] in addition to calling [method add_child]. This is " +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -38102,7 +38294,13 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Called when the object is initialized." +msgid "" +"Called when the object is initialized in memory. Can be defined to take in " +"parameters, that are passed in when constructing.\n" +"[b]Note:[/b] If [method _init] is defined with required parameters, then " +"explicit construction is the only valid means of creating an Object of the " +"class. If any other means (such as [method PackedScene.instance]) is used, " +"then initialization will fail." msgstr "" #: doc/classes/Object.xml @@ -38298,7 +38496,10 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Returns the object's metadata entry for the given [code]name[/code]." +msgid "" +"Returns the object's metadata entry for the given [code]name[/code].\n" +"Throws error if the entry does not exist, unless [code]default[/code] is not " +"[code]null[/code] (in which case the default value will be returned)." msgstr "" #: doc/classes/Object.xml @@ -40514,6 +40715,14 @@ msgid "" "[b]Note:[/b] Only available in editor builds." msgstr "" +#: modules/gltf/doc_classes/PackedSceneGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [PackedSceneGLTF] within a script will cause an error in an exported " +"project." +msgstr "" + #: doc/classes/PacketPeer.xml msgid "Abstraction and base class for packet-based protocols." msgstr "" @@ -43369,7 +43578,10 @@ msgid "" msgstr "" #: doc/classes/PhysicsServer.xml -msgid "Returns an Info defined by the [enum ProcessInfo] input given." +msgid "" +"Returns information about the current state of the 3D physics engine. See " +"[enum ProcessInfo] for a list of available states. Only implemented for " +"Godot Physics." msgstr "" #: doc/classes/PhysicsServer.xml @@ -46234,7 +46446,7 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Allows the window to be resizable by default.\n" -"[b]Note:[/b] This setting is ignored on iOS and Android." +"[b]Note:[/b] This setting is ignored on iOS." msgstr "" #: doc/classes/ProjectSettings.xml @@ -46881,7 +47093,7 @@ msgid "Optional name for the 3D render layer 13." msgstr "" #: doc/classes/ProjectSettings.xml -msgid "Optional name for the 3D render layer 14" +msgid "Optional name for the 3D render layer 14." msgstr "" #: doc/classes/ProjectSettings.xml @@ -48151,16 +48363,24 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" -"If [code]true[/code], forces vertex shading for all rendering. This can " -"increase performance a lot, but also reduces quality immensely. Can be used " -"to optimize performance on low-end mobile devices." +"If [code]true[/code], forces vertex shading for all 3D [SpatialMaterial] and " +"[ShaderMaterial] rendering. This can be used to improve performance on low-" +"end mobile devices. The downside is that shading becomes much less accurate, " +"with visible linear interpolation between vertices that are joined together. " +"This can be compensated by ensuring meshes have a sufficient level of " +"subdivision (but not too much, to avoid reducing performance). Some material " +"features are also not supported when vertex shading is enabled.\n" +"See also [member SpatialMaterial.flags_vertex_lighting] which can be used to " +"enable vertex shading on specific materials only.\n" +"[b]Note:[/b] This setting does not affect unshaded materials." msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Lower-end override for [member rendering/quality/shading/" "force_vertex_shading] on mobile devices, due to performance concerns or " -"driver support." +"driver support. If lighting looks broken after exporting the project to a " +"mobile platform, try disabling this setting." msgstr "" #: doc/classes/ProjectSettings.xml @@ -50196,6 +50416,11 @@ msgid "" msgstr "" #: doc/classes/RichTextLabel.xml +#, fuzzy +msgid "Returns the current selection text. Does not include BBCodes." +msgstr "매개변수의 탄젠트 값을 반환합니다." + +#: doc/classes/RichTextLabel.xml msgid "" "Returns the total number of characters from text tags. Does not include " "BBCodes." @@ -52487,14 +52712,23 @@ msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Lowers the [Semaphore], allowing one more thread in. Returns [constant OK] " -"on success, [constant ERR_BUSY] otherwise." +"Lowers the [Semaphore], allowing one more thread in.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Tries to wait for the [Semaphore], if its value is zero, blocks until non-" -"zero. Returns [constant OK] on success, [constant ERR_BUSY] otherwise." +"Like [method wait], but won't block, so if the value is zero, fails " +"immediately and returns [constant ERR_BUSY]. If non-zero, it returns " +"[constant OK] to report success." +msgstr "" + +#: doc/classes/Semaphore.xml +msgid "" +"Waits for the [Semaphore], if its value is zero, blocks until non-zero.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Separator.xml @@ -53940,7 +54174,21 @@ msgstr "" #: doc/classes/SpatialMaterial.xml msgid "" "If [code]true[/code], lighting is calculated per vertex rather than per " -"pixel. This may increase performance on low-end devices." +"pixel. This may increase performance on low-end devices, especially for " +"meshes with a lower polygon count. The downside is that shading becomes much " +"less accurate, with visible linear interpolation between vertices that are " +"joined together. This can be compensated by ensuring meshes have a " +"sufficient level of subdivision (but not too much, to avoid reducing " +"performance). Some material features are also not supported when vertex " +"shading is enabled.\n" +"See also [member ProjectSettings.rendering/quality/shading/" +"force_vertex_shading] which can globally enable vertex shading on all " +"materials.\n" +"[b]Note:[/b] By default, vertex shading is enforced on mobile platforms by " +"[member ProjectSettings.rendering/quality/shading/force_vertex_shading]'s " +"[code]mobile[/code] override.\n" +"[b]Note:[/b] [member flags_vertex_lighting] has no effect if [member " +"flags_unshaded] is [code]true[/code]." msgstr "" #: doc/classes/SpatialMaterial.xml @@ -54744,7 +54992,10 @@ msgid "" "the text alignment to right.\n" "See [Range] class for more options over the [SpinBox].\n" "[b]Note:[/b] [SpinBox] relies on an underlying [LineEdit] node. To theme a " -"[SpinBox]'s background, add theme items for [LineEdit] and customize them." +"[SpinBox]'s background, add theme items for [LineEdit] and customize them.\n" +"[b]Note:[/b] If you want to implement drag and drop for the underlying " +"[LineEdit], you can use [method Control.set_drag_forwarding] on the node " +"returned by [method get_line_edit]." msgstr "" #: doc/classes/SpinBox.xml @@ -56064,7 +56315,6 @@ msgid "" "print(\"1.7\".is_valid_float()) # Prints \"True\"\n" "print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"7e3\".is_valid_float()) # Prints \"True\"\n" -"print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -56301,8 +56551,8 @@ msgid "" "var some_string = \"One,Two,Three,Four\"\n" "var some_array = some_string.rsplit(\",\", true, 1)\n" "print(some_array.size()) # Prints 2\n" -"print(some_array[0]) # Prints \"Four\"\n" -"print(some_array[1]) # Prints \"Three,Two,One\"\n" +"print(some_array[0]) # Prints \"One,Two,Three\"\n" +"print(some_array[1]) # Prints \"Four\"\n" "[/codeblock]" msgstr "" @@ -56335,9 +56585,9 @@ msgstr "" #: doc/classes/String.xml msgid "" "Returns the similarity index ([url=https://en.wikipedia.org/wiki/" -"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) this " -"string compared to another. 1.0 means totally similar and 0.0 means totally " -"dissimilar.\n" +"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) of " +"this string compared to another. A result of 1.0 means totally similar, " +"while 0.0 means totally dissimilar.\n" "[codeblock]\n" "print(\"ABC123\".similarity(\"ABC123\")) # Prints \"1\"\n" "print(\"ABC123\".similarity(\"XYZ456\")) # Prints \"0\"\n" @@ -57812,10 +58062,6 @@ msgid "" msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection begin column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection begin line." msgstr "" @@ -57824,10 +58070,6 @@ msgid "Returns the text inside the selection." msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection end column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection end line." msgstr "" @@ -58852,6 +59094,14 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Adds an empty theme type for every valid data type.\n" +"[b]Note:[/b] Empty types are not saved with the theme. This method only " +"exists to perform in-memory changes to the resource. Use available " +"[code]set_*[/code] methods to add theme items." +msgstr "" + +#: doc/classes/Theme.xml msgid "Clears all values on the theme." msgstr "" @@ -59112,6 +59362,13 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Removes the theme type, gracefully discarding defined theme items. If the " +"type is a variation, this information is also erased. If the type is a base " +"for type variations, those variations lose their base." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Renames the [Color] at [code]old_name[/code] to [code]name[/code] if the " "theme has [code]node_type[/code]. If [code]name[/code] is already taken, " "this method fails." @@ -71849,6 +72106,11 @@ msgid "" msgstr "" #: modules/websocket/doc_classes/WebSocketServer.xml +msgid "" +"Sets additional headers to be sent to clients during the HTTP handshake." +msgstr "" + +#: modules/websocket/doc_classes/WebSocketServer.xml msgid "Stops the server and clear its state." msgstr "" @@ -71944,6 +72206,9 @@ msgid "" "\n" " webxr_interface = ARVRServer.find_interface(\"WebXR\")\n" " if webxr_interface:\n" +" # Map to the standard button/axis ids when possible.\n" +" webxr_interface.xr_standard_mapping = true\n" +"\n" " # WebXR uses a lot of asynchronous callbacks, so we connect to " "various\n" " # signals in order to receive them.\n" @@ -72169,6 +72434,13 @@ msgstr "" #: modules/webxr/doc_classes/WebXRInterface.xml msgid "" +"If set to true, the button and axes ids will be converted to match the " +"standard ids used by other AR/VR interfaces, when possible.\n" +"Otherwise, the ids will be passed through unaltered from WebXR." +msgstr "" + +#: modules/webxr/doc_classes/WebXRInterface.xml +msgid "" "Emitted to indicate that the reference space has been reset or " "reconfigured.\n" "When (or whether) this is emitted depends on the user's browser or device, " diff --git a/doc/translations/lv.po b/doc/translations/lv.po index 6b7ee2aeb8..8071e5caef 100644 --- a/doc/translations/lv.po +++ b/doc/translations/lv.po @@ -3338,8 +3338,12 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" "Hints that an integer, float or string property is an enumerated value to " -"pick in a list specified via a hint string such as [code]\"Hello,Something," -"Else\"[/code]." +"pick in a list specified via a hint string.\n" +"The hint string is a comma separated list of names such as [code]\"Hello," +"Something,Else\"[/code]. For integer and float properties, the first name in " +"the list has value 0, the next 1, and so on. Explicit values can also be " +"specified by appending [code]:integer[/code] to the name, e.g. [code]\"Zero," +"One,Three:3,Four,Six:6\"[/code]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -3480,7 +3484,7 @@ msgid "The property is a translatable string." msgstr "" #: doc/classes/@GlobalScope.xml -msgid "Used to group properties together in the editor." +msgid "Used to group properties together in the editor. See [EditorInspector]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -5251,8 +5255,11 @@ msgstr "" #: doc/classes/AnimationNodeBlendTree.xml msgid "" -"This node may contain a sub-tree of any other blend type nodes, such as mix, " -"blend2, blend3, one shot, etc. This is one of the most commonly used roots." +"This node may contain a sub-tree of any other blend type nodes, such as " +"[AnimationNodeTransition], [AnimationNodeBlend2], [AnimationNodeBlend3], " +"[AnimationNodeOneShot], etc. This is one of the most commonly used roots.\n" +"An [AnimationNodeOutput] node named [code]output[/code] is created by " +"default." msgstr "" #: doc/classes/AnimationNodeBlendTree.xml @@ -6994,8 +7001,9 @@ msgstr "" #: doc/classes/Array.xml msgid "" -"Removes the first occurrence of a value from the array. To remove an element " -"by index, use [method remove] instead.\n" +"Removes the first occurrence of a value from the array. If the value does " +"not exist in the array, nothing happens. To remove an element by index, use " +"[method remove] instead.\n" "[b]Note:[/b] This method acts in-place and doesn't return a value.\n" "[b]Note:[/b] On large arrays, this method will be slower if the removed " "element is close to the beginning of the array (index 0). This is because " @@ -10371,8 +10379,15 @@ msgstr "" #: doc/classes/BakedLightmap.xml msgid "" -"When enabled, the lightmapper will merge the textures for all meshes into a " -"single large layered texture. Not supported in GLES2." +"If [code]true[/code], the lightmapper will merge the textures for all meshes " +"into one or several large layered textures. If [code]false[/code], every " +"mesh will get its own lightmap texture, which is less efficient.\n" +"[b]Note:[/b] Atlas lightmap rendering is only supported in GLES3, [i]not[/i] " +"GLES2. Non-atlas lightmap rendering is supported by both GLES3 and GLES2. If " +"[member ProjectSettings.rendering/quality/driver/fallback_to_gles2] is " +"[code]true[/code], consider baking lightmaps with [member atlas_generate] " +"set to [code]false[/code] so that the resulting lightmap is visible in both " +"GLES3 and GLES2." msgstr "" #: doc/classes/BakedLightmap.xml @@ -11715,8 +11730,8 @@ msgstr "" #: doc/classes/Camera.xml msgid "" "The camera's size measured as 1/2 the width or height. Only applicable in " -"orthogonal mode. Since [member keep_aspect] locks on axis, [code]size[/code] " -"sets the other axis' size length." +"orthogonal and frustum modes. Since [member keep_aspect] locks on axis, " +"[code]size[/code] sets the other axis' size length." msgstr "" #: doc/classes/Camera.xml @@ -12514,20 +12529,24 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], the node won't inherit its " -"transform from parent canvas items." +"If [code]enable[/code] is [code]true[/code], this [CanvasItem] will [i]not[/" +"i] inherit its transform from parent [CanvasItem]s. Its draw order will also " +"be changed to make it draw on top of other [CanvasItem]s that are not set as " +"top-level. The [CanvasItem] will effectively act as if it was placed as a " +"child of a bare [Node]. See also [method is_set_as_toplevel]." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"local transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_LOCAL_TRANSFORM_CHANGED] when its local transform " +"changes." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"global transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_TRANSFORM_CHANGED] when its global transform changes." msgstr "" #: doc/classes/CanvasItem.xml @@ -12641,9 +12660,14 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"The [CanvasItem]'s transform has changed. This notification is only received " -"if enabled by [method set_notify_transform] or [method " -"set_notify_local_transform]." +"The [CanvasItem]'s global transform has changed. This notification is only " +"received if enabled by [method set_notify_transform]." +msgstr "" + +#: doc/classes/CanvasItem.xml +msgid "" +"The [CanvasItem]'s local transform has changed. This notification is only " +"received if enabled by [method set_notify_local_transform]." msgstr "" #: doc/classes/CanvasItem.xml @@ -13598,7 +13622,10 @@ msgid "" "number of 2D collision [Shape2D]s. Each shape must be assigned to a [i]shape " "owner[/i]. The CollisionObject2D can have any number of shape owners. Shape " "owners are not nodes and do not appear in the editor, but are accessible " -"through code using the [code]shape_owner_*[/code] methods." +"through code using the [code]shape_owner_*[/code] methods.\n" +"[b]Note:[/b] Only collisions between objects within the same canvas " +"([Viewport] canvas or [CanvasLayer]) are supported. The behavior of " +"collisions between objects in different canvases is undefined." msgstr "" #: doc/classes/CollisionObject2D.xml @@ -19605,9 +19632,8 @@ msgid "" "main font.\n" "DynamicFont uses the [url=https://www.freetype.org/]FreeType[/url] library " "for rasterization. Supported formats are TrueType ([code].ttf[/code]), " -"OpenType ([code].otf[/code]) and Web Open Font Format 1 ([code].woff[/" -"code]). Web Open Font Format 2 ([code].woff2[/code]) is [i]not[/i] " -"supported.\n" +"OpenType ([code].otf[/code]), Web Open Font Format 1 ([code].woff[/code]), " +"and Web Open Font Format 2 ([code].woff2[/code]).\n" "[codeblock]\n" "var dynamic_font = DynamicFont.new()\n" "dynamic_font.font_data = load(\"res://BarlowCondensed-Bold.ttf\")\n" @@ -20474,18 +20500,34 @@ msgid "" msgstr "" #: doc/classes/EditorInspector.xml -msgid "A tab used to edit properties of the selected node." +msgid "A control used to edit properties of an object." msgstr "" #: doc/classes/EditorInspector.xml msgid "" -"The editor inspector is by default located on the right-hand side of the " -"editor. It's used to edit the properties of the selected node. For example, " -"you can select a node such as [Sprite] then edit its transform through the " -"inspector tool. The editor inspector is an essential tool in the game " -"development workflow.\n" -"[b]Note:[/b] This class shouldn't be instantiated directly. Instead, access " -"the singleton using [method EditorInterface.get_inspector]." +"This is the control that implements property editing in the editor's " +"Settings dialogs, the Inspector dock, etc. To get the [EditorInspector] used " +"in the editor's Inspector dock, use [method EditorInterface.get_inspector].\n" +"[EditorInspector] will show properties in the same order as the array " +"returned by [method Object.get_property_list].\n" +"If a property's name is path-like (i.e. if it contains forward slashes), " +"[EditorInspector] will create nested sections for \"directories\" along the " +"path. For example, if a property is named [code]highlighting/gdscript/" +"node_path_color[/code], it will be shown as \"Node Path Color\" inside the " +"\"GDScript\" section nested inside the \"Highlighting\" section.\n" +"If a property has [constant @GlobalScope.PROPERTY_USAGE_GROUP] usage, it " +"will group subsequent properties whose name starts with the property's hint " +"string. The group ends when a property does not start with that hint string " +"or when a new group starts. An empty group name effectively ends the current " +"group. [EditorInspector] will create a top-level section for each group. For " +"example, if a property with group usage is named [code]Collide With[/code] " +"and its hint string is [code]collide_with_[/code], a subsequent " +"[code]collide_with_area[/code] property will be shown as \"Area\" inside the " +"\"Collide With\" section.\n" +"[b]Note:[/b] Unlike sections created from path-like property names, " +"[EditorInspector] won't capitalize the name for sections created from " +"groups. So properties with group usage usually use capitalized names instead " +"of snake_cased names." msgstr "" #: doc/classes/EditorInspector.xml @@ -21660,6 +21702,14 @@ msgid "" "[/codeblock]" msgstr "" +#: modules/gltf/doc_classes/EditorSceneImporterGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [EditorSceneImporterGLTF] within a script will cause an error in an " +"exported project." +msgstr "" + #: doc/classes/EditorScenePostImport.xml msgid "Post-processes scenes after import." msgstr "" @@ -22397,12 +22447,13 @@ msgstr "" #: doc/classes/EditorVCSInterface.xml msgid "" "Helper function to create a commit [Dictionary] item. [code]msg[/code] is " -"the commit message of the commit. [code]author[/code] is a human-readable " -"string containing the author's details, e.g. the email and name configured " -"in the VCS. [code]id[/code] is the identifier of the commit, in whichever " -"format your VCS may provide an identifier to commits. [code]date[/code] is " -"directly added to the commit item and displayed in the editor, and hence, it " -"shall be a well-formatted, human-readable date string." +"the commit message of the commit. [code]author[/code] is a single human-" +"readable string containing all the author's details, e.g. the email and name " +"configured in the VCS. [code]id[/code] is the identifier of the commit, in " +"whichever format your VCS may provide an identifier to commits. " +"[code]unix_timestamp[/code] is the UTC Unix timestamp of when the commit was " +"created. [code]offset_minutes[/code] is the timezone offset in minutes, " +"recorded from the system timezone where the commit was created." msgstr "" #: doc/classes/EditorVCSInterface.xml @@ -25556,6 +25607,50 @@ msgstr "" msgid "Represents the size of the [enum Subdiv] enum." msgstr "" +#: modules/gltf/doc_classes/GLTFAccessor.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAccessor] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFAnimation.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAnimation] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFBufferView.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFBufferView] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFCamera.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFCamera] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFDocument.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFDocument] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFLight.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFLight] within a script will cause an error in an exported project." +msgstr "" + #: modules/gltf/doc_classes/GLTFLight.xml msgid "" "The [Color] of the light. Defaults to white. A black color causes the light " @@ -25605,6 +25700,49 @@ msgid "" "and [DirectionalLight] respectively." msgstr "" +#: modules/gltf/doc_classes/GLTFMesh.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFMesh] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFNode.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFNode] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSkeleton.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSkeleton] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSpecGloss.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSpecGloss] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFState.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFState] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFTexture.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFTexture] within a script will cause an error in an exported project." +msgstr "" + #: modules/mono/doc_classes/GodotSharp.xml msgid "Bridge between Godot and the Mono runtime (Mono-enabled builds only)." msgstr "" @@ -28989,9 +29127,9 @@ msgid "" "Returns a value between 0 and 1 representing the raw intensity of the given " "action, ignoring the action's deadzone. In most cases, you should use " "[method get_action_strength] instead.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29001,9 +29139,9 @@ msgid "" "or L2, R2 triggers) is from the dead zone, the closer the value will be to " "1. If the action is mapped to a control that has no axis as the keyboard, " "the value returned will be 0 or 1.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29136,9 +29274,9 @@ msgid "" "the button.\n" "This is useful for code that needs to run only once when an action is " "pressed, instead of every frame while it's pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_just_pressed] may " "return [code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29150,9 +29288,9 @@ msgid "" "Returns [code]true[/code] when the user stops pressing the action event, " "meaning it's [code]true[/code] only on the frame that the user released the " "button.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29161,9 +29299,9 @@ msgid "" "an action has multiple buttons assigned and more than one of them is " "pressed, releasing one button will release the action, even if some other " "button assigned to this action is still pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29513,18 +29651,18 @@ msgstr "" msgid "" "Returns a value between 0.0 and 1.0 depending on the given actions' state. " "Useful for getting the value of events of type [InputEventJoypadMotion].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml msgid "" "Returns [code]true[/code] if this input event matches a pre-defined action " "of any type.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -29533,9 +29671,9 @@ msgid "" "an echo event for [InputEventKey] events, unless [code]allow_echo[/code] is " "[code]true[/code]). Not relevant for events of type [InputEventMouseMotion] " "or [InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events.\n" +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29547,9 +29685,9 @@ msgid "" "Returns [code]true[/code] if the given action is released (i.e. not " "pressed). Not relevant for events of type [InputEventMouseMotion] or " "[InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -29580,9 +29718,9 @@ msgid "" "event. Only valid for action events i.e key ([InputEventKey]), button " "([InputEventMouseButton] or [InputEventJoypadButton]), axis " "[InputEventJoypadMotion] or action ([InputEventAction]) events.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -30112,9 +30250,9 @@ msgid "" "This method ignores keyboard modifiers if the given [InputEvent] is not " "pressed (for proper release detection). See [method action_has_event] if you " "don't want this behavior.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputMap.xml @@ -32518,7 +32656,7 @@ msgid "" "be within the text's length." msgstr "" -#: doc/classes/LineEdit.xml +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml msgid "Clears the current selection." msgstr "" @@ -32537,6 +32675,18 @@ msgid "" "characters." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection begin column." +msgstr "" + +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection end column." +msgstr "" + +#: doc/classes/LineEdit.xml +msgid "Returns [code]true[/code] if the user has selected text." +msgstr "" + #: doc/classes/LineEdit.xml msgid "Executes a given action as defined in the [enum MenuItems] enum." msgstr "" @@ -33950,6 +34100,39 @@ msgid "Returns the number of surface materials." msgstr "" #: doc/classes/MeshInstance.xml +msgid "" +"Returns [code]true[/code] if this [MeshInstance] can be merged with the " +"specified [code]other_mesh_instance[/code], using the [method MeshInstance." +"merge_meshes] function.\n" +"In order to be mergeable, properties of the [MeshInstance] must match, and " +"each surface must match, in terms of material, attributes and vertex format." +msgstr "" + +#: doc/classes/MeshInstance.xml +msgid "" +"This function can merge together the data from several source " +"[MeshInstance]s into a single destination [MeshInstance] (the MeshInstance " +"the function is called from). This is primarily useful for improving " +"performance by reducing the number of drawcalls and [Node]s.\n" +"Merging should only be attempted for simple meshes that do not contain " +"animation.\n" +"The final vertices can either be returned in global space, or in local space " +"relative to the destination [MeshInstance] global transform (the destination " +"Node must be inside the [SceneTree] for local space to work).\n" +"The function will make a final check for compatibility between the " +"[MeshInstance]s by default, this should always be used unless you have " +"previously checked for compatibility using [method MeshInstance." +"is_mergeable_with]. If the compatibility check is omitted and the meshes are " +"merged, you may see rendering errors.\n" +"[b]Note:[/b] The requirements for similarity between meshes are quite " +"stringent. They can be checked using the [method MeshInstance." +"is_mergeable_with] function prior to calling [method MeshInstance." +"merge_meshes].\n" +"Also note that any initial data in the destination [MeshInstance] data will " +"be discarded." +msgstr "" + +#: doc/classes/MeshInstance.xml msgid "Sets the [Material] for a surface of the [Mesh] resource." msgstr "" @@ -36402,12 +36585,12 @@ msgid "" "[/codeblock]\n" "[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " "must set [member owner] in addition to calling [method add_child]. This is " -"typically relevant for [url=https://godot.readthedocs.io/en/3.2/tutorials/" -"misc/running_code_in_the_editor.html]tool scripts[/url] and [url=https://" -"godot.readthedocs.io/en/latest/tutorials/plugins/editor/index.html]editor " -"plugins[/url]. If [method add_child] is called without setting [member " -"owner], the newly added [Node] will not be visible in the scene tree, though " -"it will be visible in the 2D/3D view." +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37114,7 +37297,15 @@ msgid "" "valid parent, grandparent, etc. ascending in the tree). When saving a node " "(using [PackedScene]), all the nodes it owns will be saved with it. This " "allows for the creation of complex [SceneTree]s, with instancing and " -"subinstancing." +"subinstancing.\n" +"[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " +"must set [member owner] in addition to calling [method add_child]. This is " +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37710,7 +37901,13 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Called when the object is initialized." +msgid "" +"Called when the object is initialized in memory. Can be defined to take in " +"parameters, that are passed in when constructing.\n" +"[b]Note:[/b] If [method _init] is defined with required parameters, then " +"explicit construction is the only valid means of creating an Object of the " +"class. If any other means (such as [method PackedScene.instance]) is used, " +"then initialization will fail." msgstr "" #: doc/classes/Object.xml @@ -37906,7 +38103,10 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Returns the object's metadata entry for the given [code]name[/code]." +msgid "" +"Returns the object's metadata entry for the given [code]name[/code].\n" +"Throws error if the entry does not exist, unless [code]default[/code] is not " +"[code]null[/code] (in which case the default value will be returned)." msgstr "" #: doc/classes/Object.xml @@ -40114,6 +40314,14 @@ msgid "" "[b]Note:[/b] Only available in editor builds." msgstr "" +#: modules/gltf/doc_classes/PackedSceneGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [PackedSceneGLTF] within a script will cause an error in an exported " +"project." +msgstr "" + #: doc/classes/PacketPeer.xml msgid "Abstraction and base class for packet-based protocols." msgstr "" @@ -42954,7 +43162,10 @@ msgid "" msgstr "" #: doc/classes/PhysicsServer.xml -msgid "Returns an Info defined by the [enum ProcessInfo] input given." +msgid "" +"Returns information about the current state of the 3D physics engine. See " +"[enum ProcessInfo] for a list of available states. Only implemented for " +"Godot Physics." msgstr "" #: doc/classes/PhysicsServer.xml @@ -45814,7 +46025,7 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Allows the window to be resizable by default.\n" -"[b]Note:[/b] This setting is ignored on iOS and Android." +"[b]Note:[/b] This setting is ignored on iOS." msgstr "" #: doc/classes/ProjectSettings.xml @@ -46461,7 +46672,7 @@ msgid "Optional name for the 3D render layer 13." msgstr "" #: doc/classes/ProjectSettings.xml -msgid "Optional name for the 3D render layer 14" +msgid "Optional name for the 3D render layer 14." msgstr "" #: doc/classes/ProjectSettings.xml @@ -47731,16 +47942,24 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" -"If [code]true[/code], forces vertex shading for all rendering. This can " -"increase performance a lot, but also reduces quality immensely. Can be used " -"to optimize performance on low-end mobile devices." +"If [code]true[/code], forces vertex shading for all 3D [SpatialMaterial] and " +"[ShaderMaterial] rendering. This can be used to improve performance on low-" +"end mobile devices. The downside is that shading becomes much less accurate, " +"with visible linear interpolation between vertices that are joined together. " +"This can be compensated by ensuring meshes have a sufficient level of " +"subdivision (but not too much, to avoid reducing performance). Some material " +"features are also not supported when vertex shading is enabled.\n" +"See also [member SpatialMaterial.flags_vertex_lighting] which can be used to " +"enable vertex shading on specific materials only.\n" +"[b]Note:[/b] This setting does not affect unshaded materials." msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Lower-end override for [member rendering/quality/shading/" "force_vertex_shading] on mobile devices, due to performance concerns or " -"driver support." +"driver support. If lighting looks broken after exporting the project to a " +"mobile platform, try disabling this setting." msgstr "" #: doc/classes/ProjectSettings.xml @@ -49775,6 +49994,10 @@ msgid "" msgstr "" #: doc/classes/RichTextLabel.xml +msgid "Returns the current selection text. Does not include BBCodes." +msgstr "" + +#: doc/classes/RichTextLabel.xml msgid "" "Returns the total number of characters from text tags. Does not include " "BBCodes." @@ -52066,14 +52289,23 @@ msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Lowers the [Semaphore], allowing one more thread in. Returns [constant OK] " -"on success, [constant ERR_BUSY] otherwise." +"Lowers the [Semaphore], allowing one more thread in.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Tries to wait for the [Semaphore], if its value is zero, blocks until non-" -"zero. Returns [constant OK] on success, [constant ERR_BUSY] otherwise." +"Like [method wait], but won't block, so if the value is zero, fails " +"immediately and returns [constant ERR_BUSY]. If non-zero, it returns " +"[constant OK] to report success." +msgstr "" + +#: doc/classes/Semaphore.xml +msgid "" +"Waits for the [Semaphore], if its value is zero, blocks until non-zero.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Separator.xml @@ -53519,7 +53751,21 @@ msgstr "" #: doc/classes/SpatialMaterial.xml msgid "" "If [code]true[/code], lighting is calculated per vertex rather than per " -"pixel. This may increase performance on low-end devices." +"pixel. This may increase performance on low-end devices, especially for " +"meshes with a lower polygon count. The downside is that shading becomes much " +"less accurate, with visible linear interpolation between vertices that are " +"joined together. This can be compensated by ensuring meshes have a " +"sufficient level of subdivision (but not too much, to avoid reducing " +"performance). Some material features are also not supported when vertex " +"shading is enabled.\n" +"See also [member ProjectSettings.rendering/quality/shading/" +"force_vertex_shading] which can globally enable vertex shading on all " +"materials.\n" +"[b]Note:[/b] By default, vertex shading is enforced on mobile platforms by " +"[member ProjectSettings.rendering/quality/shading/force_vertex_shading]'s " +"[code]mobile[/code] override.\n" +"[b]Note:[/b] [member flags_vertex_lighting] has no effect if [member " +"flags_unshaded] is [code]true[/code]." msgstr "" #: doc/classes/SpatialMaterial.xml @@ -54323,7 +54569,10 @@ msgid "" "the text alignment to right.\n" "See [Range] class for more options over the [SpinBox].\n" "[b]Note:[/b] [SpinBox] relies on an underlying [LineEdit] node. To theme a " -"[SpinBox]'s background, add theme items for [LineEdit] and customize them." +"[SpinBox]'s background, add theme items for [LineEdit] and customize them.\n" +"[b]Note:[/b] If you want to implement drag and drop for the underlying " +"[LineEdit], you can use [method Control.set_drag_forwarding] on the node " +"returned by [method get_line_edit]." msgstr "" #: doc/classes/SpinBox.xml @@ -55641,7 +55890,6 @@ msgid "" "print(\"1.7\".is_valid_float()) # Prints \"True\"\n" "print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"7e3\".is_valid_float()) # Prints \"True\"\n" -"print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55878,8 +56126,8 @@ msgid "" "var some_string = \"One,Two,Three,Four\"\n" "var some_array = some_string.rsplit(\",\", true, 1)\n" "print(some_array.size()) # Prints 2\n" -"print(some_array[0]) # Prints \"Four\"\n" -"print(some_array[1]) # Prints \"Three,Two,One\"\n" +"print(some_array[0]) # Prints \"One,Two,Three\"\n" +"print(some_array[1]) # Prints \"Four\"\n" "[/codeblock]" msgstr "" @@ -55912,9 +56160,9 @@ msgstr "" #: doc/classes/String.xml msgid "" "Returns the similarity index ([url=https://en.wikipedia.org/wiki/" -"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) this " -"string compared to another. 1.0 means totally similar and 0.0 means totally " -"dissimilar.\n" +"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) of " +"this string compared to another. A result of 1.0 means totally similar, " +"while 0.0 means totally dissimilar.\n" "[codeblock]\n" "print(\"ABC123\".similarity(\"ABC123\")) # Prints \"1\"\n" "print(\"ABC123\".similarity(\"XYZ456\")) # Prints \"0\"\n" @@ -57385,10 +57633,6 @@ msgid "" msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection begin column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection begin line." msgstr "" @@ -57397,10 +57641,6 @@ msgid "Returns the text inside the selection." msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection end column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection end line." msgstr "" @@ -58421,6 +58661,14 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Adds an empty theme type for every valid data type.\n" +"[b]Note:[/b] Empty types are not saved with the theme. This method only " +"exists to perform in-memory changes to the resource. Use available " +"[code]set_*[/code] methods to add theme items." +msgstr "" + +#: doc/classes/Theme.xml msgid "Clears all values on the theme." msgstr "" @@ -58680,6 +58928,13 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Removes the theme type, gracefully discarding defined theme items. If the " +"type is a variation, this information is also erased. If the type is a base " +"for type variations, those variations lose their base." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Renames the [Color] at [code]old_name[/code] to [code]name[/code] if the " "theme has [code]node_type[/code]. If [code]name[/code] is already taken, " "this method fails." @@ -71373,6 +71628,11 @@ msgid "" msgstr "" #: modules/websocket/doc_classes/WebSocketServer.xml +msgid "" +"Sets additional headers to be sent to clients during the HTTP handshake." +msgstr "" + +#: modules/websocket/doc_classes/WebSocketServer.xml msgid "Stops the server and clear its state." msgstr "" @@ -71468,6 +71728,9 @@ msgid "" "\n" " webxr_interface = ARVRServer.find_interface(\"WebXR\")\n" " if webxr_interface:\n" +" # Map to the standard button/axis ids when possible.\n" +" webxr_interface.xr_standard_mapping = true\n" +"\n" " # WebXR uses a lot of asynchronous callbacks, so we connect to " "various\n" " # signals in order to receive them.\n" @@ -71693,6 +71956,13 @@ msgstr "" #: modules/webxr/doc_classes/WebXRInterface.xml msgid "" +"If set to true, the button and axes ids will be converted to match the " +"standard ids used by other AR/VR interfaces, when possible.\n" +"Otherwise, the ids will be passed through unaltered from WebXR." +msgstr "" + +#: modules/webxr/doc_classes/WebXRInterface.xml +msgid "" "Emitted to indicate that the reference space has been reset or " "reconfigured.\n" "When (or whether) this is emitted depends on the user's browser or device, " diff --git a/doc/translations/mr.po b/doc/translations/mr.po index e001339b39..e6c0630d9f 100644 --- a/doc/translations/mr.po +++ b/doc/translations/mr.po @@ -3321,8 +3321,12 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" "Hints that an integer, float or string property is an enumerated value to " -"pick in a list specified via a hint string such as [code]\"Hello,Something," -"Else\"[/code]." +"pick in a list specified via a hint string.\n" +"The hint string is a comma separated list of names such as [code]\"Hello," +"Something,Else\"[/code]. For integer and float properties, the first name in " +"the list has value 0, the next 1, and so on. Explicit values can also be " +"specified by appending [code]:integer[/code] to the name, e.g. [code]\"Zero," +"One,Three:3,Four,Six:6\"[/code]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -3463,7 +3467,7 @@ msgid "The property is a translatable string." msgstr "" #: doc/classes/@GlobalScope.xml -msgid "Used to group properties together in the editor." +msgid "Used to group properties together in the editor. See [EditorInspector]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -5234,8 +5238,11 @@ msgstr "" #: doc/classes/AnimationNodeBlendTree.xml msgid "" -"This node may contain a sub-tree of any other blend type nodes, such as mix, " -"blend2, blend3, one shot, etc. This is one of the most commonly used roots." +"This node may contain a sub-tree of any other blend type nodes, such as " +"[AnimationNodeTransition], [AnimationNodeBlend2], [AnimationNodeBlend3], " +"[AnimationNodeOneShot], etc. This is one of the most commonly used roots.\n" +"An [AnimationNodeOutput] node named [code]output[/code] is created by " +"default." msgstr "" #: doc/classes/AnimationNodeBlendTree.xml @@ -6977,8 +6984,9 @@ msgstr "" #: doc/classes/Array.xml msgid "" -"Removes the first occurrence of a value from the array. To remove an element " -"by index, use [method remove] instead.\n" +"Removes the first occurrence of a value from the array. If the value does " +"not exist in the array, nothing happens. To remove an element by index, use " +"[method remove] instead.\n" "[b]Note:[/b] This method acts in-place and doesn't return a value.\n" "[b]Note:[/b] On large arrays, this method will be slower if the removed " "element is close to the beginning of the array (index 0). This is because " @@ -10354,8 +10362,15 @@ msgstr "" #: doc/classes/BakedLightmap.xml msgid "" -"When enabled, the lightmapper will merge the textures for all meshes into a " -"single large layered texture. Not supported in GLES2." +"If [code]true[/code], the lightmapper will merge the textures for all meshes " +"into one or several large layered textures. If [code]false[/code], every " +"mesh will get its own lightmap texture, which is less efficient.\n" +"[b]Note:[/b] Atlas lightmap rendering is only supported in GLES3, [i]not[/i] " +"GLES2. Non-atlas lightmap rendering is supported by both GLES3 and GLES2. If " +"[member ProjectSettings.rendering/quality/driver/fallback_to_gles2] is " +"[code]true[/code], consider baking lightmaps with [member atlas_generate] " +"set to [code]false[/code] so that the resulting lightmap is visible in both " +"GLES3 and GLES2." msgstr "" #: doc/classes/BakedLightmap.xml @@ -11698,8 +11713,8 @@ msgstr "" #: doc/classes/Camera.xml msgid "" "The camera's size measured as 1/2 the width or height. Only applicable in " -"orthogonal mode. Since [member keep_aspect] locks on axis, [code]size[/code] " -"sets the other axis' size length." +"orthogonal and frustum modes. Since [member keep_aspect] locks on axis, " +"[code]size[/code] sets the other axis' size length." msgstr "" #: doc/classes/Camera.xml @@ -12497,20 +12512,24 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], the node won't inherit its " -"transform from parent canvas items." +"If [code]enable[/code] is [code]true[/code], this [CanvasItem] will [i]not[/" +"i] inherit its transform from parent [CanvasItem]s. Its draw order will also " +"be changed to make it draw on top of other [CanvasItem]s that are not set as " +"top-level. The [CanvasItem] will effectively act as if it was placed as a " +"child of a bare [Node]. See also [method is_set_as_toplevel]." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"local transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_LOCAL_TRANSFORM_CHANGED] when its local transform " +"changes." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"global transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_TRANSFORM_CHANGED] when its global transform changes." msgstr "" #: doc/classes/CanvasItem.xml @@ -12624,9 +12643,14 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"The [CanvasItem]'s transform has changed. This notification is only received " -"if enabled by [method set_notify_transform] or [method " -"set_notify_local_transform]." +"The [CanvasItem]'s global transform has changed. This notification is only " +"received if enabled by [method set_notify_transform]." +msgstr "" + +#: doc/classes/CanvasItem.xml +msgid "" +"The [CanvasItem]'s local transform has changed. This notification is only " +"received if enabled by [method set_notify_local_transform]." msgstr "" #: doc/classes/CanvasItem.xml @@ -13581,7 +13605,10 @@ msgid "" "number of 2D collision [Shape2D]s. Each shape must be assigned to a [i]shape " "owner[/i]. The CollisionObject2D can have any number of shape owners. Shape " "owners are not nodes and do not appear in the editor, but are accessible " -"through code using the [code]shape_owner_*[/code] methods." +"through code using the [code]shape_owner_*[/code] methods.\n" +"[b]Note:[/b] Only collisions between objects within the same canvas " +"([Viewport] canvas or [CanvasLayer]) are supported. The behavior of " +"collisions between objects in different canvases is undefined." msgstr "" #: doc/classes/CollisionObject2D.xml @@ -19588,9 +19615,8 @@ msgid "" "main font.\n" "DynamicFont uses the [url=https://www.freetype.org/]FreeType[/url] library " "for rasterization. Supported formats are TrueType ([code].ttf[/code]), " -"OpenType ([code].otf[/code]) and Web Open Font Format 1 ([code].woff[/" -"code]). Web Open Font Format 2 ([code].woff2[/code]) is [i]not[/i] " -"supported.\n" +"OpenType ([code].otf[/code]), Web Open Font Format 1 ([code].woff[/code]), " +"and Web Open Font Format 2 ([code].woff2[/code]).\n" "[codeblock]\n" "var dynamic_font = DynamicFont.new()\n" "dynamic_font.font_data = load(\"res://BarlowCondensed-Bold.ttf\")\n" @@ -20457,18 +20483,34 @@ msgid "" msgstr "" #: doc/classes/EditorInspector.xml -msgid "A tab used to edit properties of the selected node." +msgid "A control used to edit properties of an object." msgstr "" #: doc/classes/EditorInspector.xml msgid "" -"The editor inspector is by default located on the right-hand side of the " -"editor. It's used to edit the properties of the selected node. For example, " -"you can select a node such as [Sprite] then edit its transform through the " -"inspector tool. The editor inspector is an essential tool in the game " -"development workflow.\n" -"[b]Note:[/b] This class shouldn't be instantiated directly. Instead, access " -"the singleton using [method EditorInterface.get_inspector]." +"This is the control that implements property editing in the editor's " +"Settings dialogs, the Inspector dock, etc. To get the [EditorInspector] used " +"in the editor's Inspector dock, use [method EditorInterface.get_inspector].\n" +"[EditorInspector] will show properties in the same order as the array " +"returned by [method Object.get_property_list].\n" +"If a property's name is path-like (i.e. if it contains forward slashes), " +"[EditorInspector] will create nested sections for \"directories\" along the " +"path. For example, if a property is named [code]highlighting/gdscript/" +"node_path_color[/code], it will be shown as \"Node Path Color\" inside the " +"\"GDScript\" section nested inside the \"Highlighting\" section.\n" +"If a property has [constant @GlobalScope.PROPERTY_USAGE_GROUP] usage, it " +"will group subsequent properties whose name starts with the property's hint " +"string. The group ends when a property does not start with that hint string " +"or when a new group starts. An empty group name effectively ends the current " +"group. [EditorInspector] will create a top-level section for each group. For " +"example, if a property with group usage is named [code]Collide With[/code] " +"and its hint string is [code]collide_with_[/code], a subsequent " +"[code]collide_with_area[/code] property will be shown as \"Area\" inside the " +"\"Collide With\" section.\n" +"[b]Note:[/b] Unlike sections created from path-like property names, " +"[EditorInspector] won't capitalize the name for sections created from " +"groups. So properties with group usage usually use capitalized names instead " +"of snake_cased names." msgstr "" #: doc/classes/EditorInspector.xml @@ -21643,6 +21685,14 @@ msgid "" "[/codeblock]" msgstr "" +#: modules/gltf/doc_classes/EditorSceneImporterGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [EditorSceneImporterGLTF] within a script will cause an error in an " +"exported project." +msgstr "" + #: doc/classes/EditorScenePostImport.xml msgid "Post-processes scenes after import." msgstr "" @@ -22380,12 +22430,13 @@ msgstr "" #: doc/classes/EditorVCSInterface.xml msgid "" "Helper function to create a commit [Dictionary] item. [code]msg[/code] is " -"the commit message of the commit. [code]author[/code] is a human-readable " -"string containing the author's details, e.g. the email and name configured " -"in the VCS. [code]id[/code] is the identifier of the commit, in whichever " -"format your VCS may provide an identifier to commits. [code]date[/code] is " -"directly added to the commit item and displayed in the editor, and hence, it " -"shall be a well-formatted, human-readable date string." +"the commit message of the commit. [code]author[/code] is a single human-" +"readable string containing all the author's details, e.g. the email and name " +"configured in the VCS. [code]id[/code] is the identifier of the commit, in " +"whichever format your VCS may provide an identifier to commits. " +"[code]unix_timestamp[/code] is the UTC Unix timestamp of when the commit was " +"created. [code]offset_minutes[/code] is the timezone offset in minutes, " +"recorded from the system timezone where the commit was created." msgstr "" #: doc/classes/EditorVCSInterface.xml @@ -25536,6 +25587,50 @@ msgstr "" msgid "Represents the size of the [enum Subdiv] enum." msgstr "" +#: modules/gltf/doc_classes/GLTFAccessor.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAccessor] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFAnimation.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAnimation] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFBufferView.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFBufferView] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFCamera.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFCamera] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFDocument.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFDocument] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFLight.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFLight] within a script will cause an error in an exported project." +msgstr "" + #: modules/gltf/doc_classes/GLTFLight.xml msgid "" "The [Color] of the light. Defaults to white. A black color causes the light " @@ -25585,6 +25680,49 @@ msgid "" "and [DirectionalLight] respectively." msgstr "" +#: modules/gltf/doc_classes/GLTFMesh.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFMesh] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFNode.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFNode] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSkeleton.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSkeleton] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSpecGloss.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSpecGloss] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFState.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFState] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFTexture.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFTexture] within a script will cause an error in an exported project." +msgstr "" + #: modules/mono/doc_classes/GodotSharp.xml msgid "Bridge between Godot and the Mono runtime (Mono-enabled builds only)." msgstr "" @@ -28969,9 +29107,9 @@ msgid "" "Returns a value between 0 and 1 representing the raw intensity of the given " "action, ignoring the action's deadzone. In most cases, you should use " "[method get_action_strength] instead.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -28981,9 +29119,9 @@ msgid "" "or L2, R2 triggers) is from the dead zone, the closer the value will be to " "1. If the action is mapped to a control that has no axis as the keyboard, " "the value returned will be 0 or 1.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29116,9 +29254,9 @@ msgid "" "the button.\n" "This is useful for code that needs to run only once when an action is " "pressed, instead of every frame while it's pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_just_pressed] may " "return [code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29130,9 +29268,9 @@ msgid "" "Returns [code]true[/code] when the user stops pressing the action event, " "meaning it's [code]true[/code] only on the frame that the user released the " "button.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29141,9 +29279,9 @@ msgid "" "an action has multiple buttons assigned and more than one of them is " "pressed, releasing one button will release the action, even if some other " "button assigned to this action is still pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29493,18 +29631,18 @@ msgstr "" msgid "" "Returns a value between 0.0 and 1.0 depending on the given actions' state. " "Useful for getting the value of events of type [InputEventJoypadMotion].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml msgid "" "Returns [code]true[/code] if this input event matches a pre-defined action " "of any type.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -29513,9 +29651,9 @@ msgid "" "an echo event for [InputEventKey] events, unless [code]allow_echo[/code] is " "[code]true[/code]). Not relevant for events of type [InputEventMouseMotion] " "or [InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events.\n" +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29527,9 +29665,9 @@ msgid "" "Returns [code]true[/code] if the given action is released (i.e. not " "pressed). Not relevant for events of type [InputEventMouseMotion] or " "[InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -29560,9 +29698,9 @@ msgid "" "event. Only valid for action events i.e key ([InputEventKey]), button " "([InputEventMouseButton] or [InputEventJoypadButton]), axis " "[InputEventJoypadMotion] or action ([InputEventAction]) events.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -30092,9 +30230,9 @@ msgid "" "This method ignores keyboard modifiers if the given [InputEvent] is not " "pressed (for proper release detection). See [method action_has_event] if you " "don't want this behavior.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputMap.xml @@ -32498,7 +32636,7 @@ msgid "" "be within the text's length." msgstr "" -#: doc/classes/LineEdit.xml +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml msgid "Clears the current selection." msgstr "" @@ -32517,6 +32655,18 @@ msgid "" "characters." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection begin column." +msgstr "" + +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection end column." +msgstr "" + +#: doc/classes/LineEdit.xml +msgid "Returns [code]true[/code] if the user has selected text." +msgstr "" + #: doc/classes/LineEdit.xml msgid "Executes a given action as defined in the [enum MenuItems] enum." msgstr "" @@ -33930,6 +34080,39 @@ msgid "Returns the number of surface materials." msgstr "" #: doc/classes/MeshInstance.xml +msgid "" +"Returns [code]true[/code] if this [MeshInstance] can be merged with the " +"specified [code]other_mesh_instance[/code], using the [method MeshInstance." +"merge_meshes] function.\n" +"In order to be mergeable, properties of the [MeshInstance] must match, and " +"each surface must match, in terms of material, attributes and vertex format." +msgstr "" + +#: doc/classes/MeshInstance.xml +msgid "" +"This function can merge together the data from several source " +"[MeshInstance]s into a single destination [MeshInstance] (the MeshInstance " +"the function is called from). This is primarily useful for improving " +"performance by reducing the number of drawcalls and [Node]s.\n" +"Merging should only be attempted for simple meshes that do not contain " +"animation.\n" +"The final vertices can either be returned in global space, or in local space " +"relative to the destination [MeshInstance] global transform (the destination " +"Node must be inside the [SceneTree] for local space to work).\n" +"The function will make a final check for compatibility between the " +"[MeshInstance]s by default, this should always be used unless you have " +"previously checked for compatibility using [method MeshInstance." +"is_mergeable_with]. If the compatibility check is omitted and the meshes are " +"merged, you may see rendering errors.\n" +"[b]Note:[/b] The requirements for similarity between meshes are quite " +"stringent. They can be checked using the [method MeshInstance." +"is_mergeable_with] function prior to calling [method MeshInstance." +"merge_meshes].\n" +"Also note that any initial data in the destination [MeshInstance] data will " +"be discarded." +msgstr "" + +#: doc/classes/MeshInstance.xml msgid "Sets the [Material] for a surface of the [Mesh] resource." msgstr "" @@ -36382,12 +36565,12 @@ msgid "" "[/codeblock]\n" "[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " "must set [member owner] in addition to calling [method add_child]. This is " -"typically relevant for [url=https://godot.readthedocs.io/en/3.2/tutorials/" -"misc/running_code_in_the_editor.html]tool scripts[/url] and [url=https://" -"godot.readthedocs.io/en/latest/tutorials/plugins/editor/index.html]editor " -"plugins[/url]. If [method add_child] is called without setting [member " -"owner], the newly added [Node] will not be visible in the scene tree, though " -"it will be visible in the 2D/3D view." +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37094,7 +37277,15 @@ msgid "" "valid parent, grandparent, etc. ascending in the tree). When saving a node " "(using [PackedScene]), all the nodes it owns will be saved with it. This " "allows for the creation of complex [SceneTree]s, with instancing and " -"subinstancing." +"subinstancing.\n" +"[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " +"must set [member owner] in addition to calling [method add_child]. This is " +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37690,7 +37881,13 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Called when the object is initialized." +msgid "" +"Called when the object is initialized in memory. Can be defined to take in " +"parameters, that are passed in when constructing.\n" +"[b]Note:[/b] If [method _init] is defined with required parameters, then " +"explicit construction is the only valid means of creating an Object of the " +"class. If any other means (such as [method PackedScene.instance]) is used, " +"then initialization will fail." msgstr "" #: doc/classes/Object.xml @@ -37886,7 +38083,10 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Returns the object's metadata entry for the given [code]name[/code]." +msgid "" +"Returns the object's metadata entry for the given [code]name[/code].\n" +"Throws error if the entry does not exist, unless [code]default[/code] is not " +"[code]null[/code] (in which case the default value will be returned)." msgstr "" #: doc/classes/Object.xml @@ -40094,6 +40294,14 @@ msgid "" "[b]Note:[/b] Only available in editor builds." msgstr "" +#: modules/gltf/doc_classes/PackedSceneGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [PackedSceneGLTF] within a script will cause an error in an exported " +"project." +msgstr "" + #: doc/classes/PacketPeer.xml msgid "Abstraction and base class for packet-based protocols." msgstr "" @@ -42934,7 +43142,10 @@ msgid "" msgstr "" #: doc/classes/PhysicsServer.xml -msgid "Returns an Info defined by the [enum ProcessInfo] input given." +msgid "" +"Returns information about the current state of the 3D physics engine. See " +"[enum ProcessInfo] for a list of available states. Only implemented for " +"Godot Physics." msgstr "" #: doc/classes/PhysicsServer.xml @@ -45794,7 +46005,7 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Allows the window to be resizable by default.\n" -"[b]Note:[/b] This setting is ignored on iOS and Android." +"[b]Note:[/b] This setting is ignored on iOS." msgstr "" #: doc/classes/ProjectSettings.xml @@ -46441,7 +46652,7 @@ msgid "Optional name for the 3D render layer 13." msgstr "" #: doc/classes/ProjectSettings.xml -msgid "Optional name for the 3D render layer 14" +msgid "Optional name for the 3D render layer 14." msgstr "" #: doc/classes/ProjectSettings.xml @@ -47711,16 +47922,24 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" -"If [code]true[/code], forces vertex shading for all rendering. This can " -"increase performance a lot, but also reduces quality immensely. Can be used " -"to optimize performance on low-end mobile devices." +"If [code]true[/code], forces vertex shading for all 3D [SpatialMaterial] and " +"[ShaderMaterial] rendering. This can be used to improve performance on low-" +"end mobile devices. The downside is that shading becomes much less accurate, " +"with visible linear interpolation between vertices that are joined together. " +"This can be compensated by ensuring meshes have a sufficient level of " +"subdivision (but not too much, to avoid reducing performance). Some material " +"features are also not supported when vertex shading is enabled.\n" +"See also [member SpatialMaterial.flags_vertex_lighting] which can be used to " +"enable vertex shading on specific materials only.\n" +"[b]Note:[/b] This setting does not affect unshaded materials." msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Lower-end override for [member rendering/quality/shading/" "force_vertex_shading] on mobile devices, due to performance concerns or " -"driver support." +"driver support. If lighting looks broken after exporting the project to a " +"mobile platform, try disabling this setting." msgstr "" #: doc/classes/ProjectSettings.xml @@ -49755,6 +49974,10 @@ msgid "" msgstr "" #: doc/classes/RichTextLabel.xml +msgid "Returns the current selection text. Does not include BBCodes." +msgstr "" + +#: doc/classes/RichTextLabel.xml msgid "" "Returns the total number of characters from text tags. Does not include " "BBCodes." @@ -52046,14 +52269,23 @@ msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Lowers the [Semaphore], allowing one more thread in. Returns [constant OK] " -"on success, [constant ERR_BUSY] otherwise." +"Lowers the [Semaphore], allowing one more thread in.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Tries to wait for the [Semaphore], if its value is zero, blocks until non-" -"zero. Returns [constant OK] on success, [constant ERR_BUSY] otherwise." +"Like [method wait], but won't block, so if the value is zero, fails " +"immediately and returns [constant ERR_BUSY]. If non-zero, it returns " +"[constant OK] to report success." +msgstr "" + +#: doc/classes/Semaphore.xml +msgid "" +"Waits for the [Semaphore], if its value is zero, blocks until non-zero.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Separator.xml @@ -53499,7 +53731,21 @@ msgstr "" #: doc/classes/SpatialMaterial.xml msgid "" "If [code]true[/code], lighting is calculated per vertex rather than per " -"pixel. This may increase performance on low-end devices." +"pixel. This may increase performance on low-end devices, especially for " +"meshes with a lower polygon count. The downside is that shading becomes much " +"less accurate, with visible linear interpolation between vertices that are " +"joined together. This can be compensated by ensuring meshes have a " +"sufficient level of subdivision (but not too much, to avoid reducing " +"performance). Some material features are also not supported when vertex " +"shading is enabled.\n" +"See also [member ProjectSettings.rendering/quality/shading/" +"force_vertex_shading] which can globally enable vertex shading on all " +"materials.\n" +"[b]Note:[/b] By default, vertex shading is enforced on mobile platforms by " +"[member ProjectSettings.rendering/quality/shading/force_vertex_shading]'s " +"[code]mobile[/code] override.\n" +"[b]Note:[/b] [member flags_vertex_lighting] has no effect if [member " +"flags_unshaded] is [code]true[/code]." msgstr "" #: doc/classes/SpatialMaterial.xml @@ -54303,7 +54549,10 @@ msgid "" "the text alignment to right.\n" "See [Range] class for more options over the [SpinBox].\n" "[b]Note:[/b] [SpinBox] relies on an underlying [LineEdit] node. To theme a " -"[SpinBox]'s background, add theme items for [LineEdit] and customize them." +"[SpinBox]'s background, add theme items for [LineEdit] and customize them.\n" +"[b]Note:[/b] If you want to implement drag and drop for the underlying " +"[LineEdit], you can use [method Control.set_drag_forwarding] on the node " +"returned by [method get_line_edit]." msgstr "" #: doc/classes/SpinBox.xml @@ -55621,7 +55870,6 @@ msgid "" "print(\"1.7\".is_valid_float()) # Prints \"True\"\n" "print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"7e3\".is_valid_float()) # Prints \"True\"\n" -"print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55858,8 +56106,8 @@ msgid "" "var some_string = \"One,Two,Three,Four\"\n" "var some_array = some_string.rsplit(\",\", true, 1)\n" "print(some_array.size()) # Prints 2\n" -"print(some_array[0]) # Prints \"Four\"\n" -"print(some_array[1]) # Prints \"Three,Two,One\"\n" +"print(some_array[0]) # Prints \"One,Two,Three\"\n" +"print(some_array[1]) # Prints \"Four\"\n" "[/codeblock]" msgstr "" @@ -55892,9 +56140,9 @@ msgstr "" #: doc/classes/String.xml msgid "" "Returns the similarity index ([url=https://en.wikipedia.org/wiki/" -"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) this " -"string compared to another. 1.0 means totally similar and 0.0 means totally " -"dissimilar.\n" +"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) of " +"this string compared to another. A result of 1.0 means totally similar, " +"while 0.0 means totally dissimilar.\n" "[codeblock]\n" "print(\"ABC123\".similarity(\"ABC123\")) # Prints \"1\"\n" "print(\"ABC123\".similarity(\"XYZ456\")) # Prints \"0\"\n" @@ -57365,10 +57613,6 @@ msgid "" msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection begin column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection begin line." msgstr "" @@ -57377,10 +57621,6 @@ msgid "Returns the text inside the selection." msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection end column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection end line." msgstr "" @@ -58401,6 +58641,14 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Adds an empty theme type for every valid data type.\n" +"[b]Note:[/b] Empty types are not saved with the theme. This method only " +"exists to perform in-memory changes to the resource. Use available " +"[code]set_*[/code] methods to add theme items." +msgstr "" + +#: doc/classes/Theme.xml msgid "Clears all values on the theme." msgstr "" @@ -58660,6 +58908,13 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Removes the theme type, gracefully discarding defined theme items. If the " +"type is a variation, this information is also erased. If the type is a base " +"for type variations, those variations lose their base." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Renames the [Color] at [code]old_name[/code] to [code]name[/code] if the " "theme has [code]node_type[/code]. If [code]name[/code] is already taken, " "this method fails." @@ -71353,6 +71608,11 @@ msgid "" msgstr "" #: modules/websocket/doc_classes/WebSocketServer.xml +msgid "" +"Sets additional headers to be sent to clients during the HTTP handshake." +msgstr "" + +#: modules/websocket/doc_classes/WebSocketServer.xml msgid "Stops the server and clear its state." msgstr "" @@ -71448,6 +71708,9 @@ msgid "" "\n" " webxr_interface = ARVRServer.find_interface(\"WebXR\")\n" " if webxr_interface:\n" +" # Map to the standard button/axis ids when possible.\n" +" webxr_interface.xr_standard_mapping = true\n" +"\n" " # WebXR uses a lot of asynchronous callbacks, so we connect to " "various\n" " # signals in order to receive them.\n" @@ -71673,6 +71936,13 @@ msgstr "" #: modules/webxr/doc_classes/WebXRInterface.xml msgid "" +"If set to true, the button and axes ids will be converted to match the " +"standard ids used by other AR/VR interfaces, when possible.\n" +"Otherwise, the ids will be passed through unaltered from WebXR." +msgstr "" + +#: modules/webxr/doc_classes/WebXRInterface.xml +msgid "" "Emitted to indicate that the reference space has been reset or " "reconfigured.\n" "When (or whether) this is emitted depends on the user's browser or device, " diff --git a/doc/translations/nb.po b/doc/translations/nb.po index 4d54bdee6e..10c78e4fcc 100644 --- a/doc/translations/nb.po +++ b/doc/translations/nb.po @@ -3333,8 +3333,12 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" "Hints that an integer, float or string property is an enumerated value to " -"pick in a list specified via a hint string such as [code]\"Hello,Something," -"Else\"[/code]." +"pick in a list specified via a hint string.\n" +"The hint string is a comma separated list of names such as [code]\"Hello," +"Something,Else\"[/code]. For integer and float properties, the first name in " +"the list has value 0, the next 1, and so on. Explicit values can also be " +"specified by appending [code]:integer[/code] to the name, e.g. [code]\"Zero," +"One,Three:3,Four,Six:6\"[/code]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -3475,7 +3479,7 @@ msgid "The property is a translatable string." msgstr "" #: doc/classes/@GlobalScope.xml -msgid "Used to group properties together in the editor." +msgid "Used to group properties together in the editor. See [EditorInspector]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -5246,8 +5250,11 @@ msgstr "" #: doc/classes/AnimationNodeBlendTree.xml msgid "" -"This node may contain a sub-tree of any other blend type nodes, such as mix, " -"blend2, blend3, one shot, etc. This is one of the most commonly used roots." +"This node may contain a sub-tree of any other blend type nodes, such as " +"[AnimationNodeTransition], [AnimationNodeBlend2], [AnimationNodeBlend3], " +"[AnimationNodeOneShot], etc. This is one of the most commonly used roots.\n" +"An [AnimationNodeOutput] node named [code]output[/code] is created by " +"default." msgstr "" #: doc/classes/AnimationNodeBlendTree.xml @@ -6989,8 +6996,9 @@ msgstr "" #: doc/classes/Array.xml msgid "" -"Removes the first occurrence of a value from the array. To remove an element " -"by index, use [method remove] instead.\n" +"Removes the first occurrence of a value from the array. If the value does " +"not exist in the array, nothing happens. To remove an element by index, use " +"[method remove] instead.\n" "[b]Note:[/b] This method acts in-place and doesn't return a value.\n" "[b]Note:[/b] On large arrays, this method will be slower if the removed " "element is close to the beginning of the array (index 0). This is because " @@ -10366,8 +10374,15 @@ msgstr "" #: doc/classes/BakedLightmap.xml msgid "" -"When enabled, the lightmapper will merge the textures for all meshes into a " -"single large layered texture. Not supported in GLES2." +"If [code]true[/code], the lightmapper will merge the textures for all meshes " +"into one or several large layered textures. If [code]false[/code], every " +"mesh will get its own lightmap texture, which is less efficient.\n" +"[b]Note:[/b] Atlas lightmap rendering is only supported in GLES3, [i]not[/i] " +"GLES2. Non-atlas lightmap rendering is supported by both GLES3 and GLES2. If " +"[member ProjectSettings.rendering/quality/driver/fallback_to_gles2] is " +"[code]true[/code], consider baking lightmaps with [member atlas_generate] " +"set to [code]false[/code] so that the resulting lightmap is visible in both " +"GLES3 and GLES2." msgstr "" #: doc/classes/BakedLightmap.xml @@ -11710,8 +11725,8 @@ msgstr "" #: doc/classes/Camera.xml msgid "" "The camera's size measured as 1/2 the width or height. Only applicable in " -"orthogonal mode. Since [member keep_aspect] locks on axis, [code]size[/code] " -"sets the other axis' size length." +"orthogonal and frustum modes. Since [member keep_aspect] locks on axis, " +"[code]size[/code] sets the other axis' size length." msgstr "" #: doc/classes/Camera.xml @@ -12509,20 +12524,24 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], the node won't inherit its " -"transform from parent canvas items." +"If [code]enable[/code] is [code]true[/code], this [CanvasItem] will [i]not[/" +"i] inherit its transform from parent [CanvasItem]s. Its draw order will also " +"be changed to make it draw on top of other [CanvasItem]s that are not set as " +"top-level. The [CanvasItem] will effectively act as if it was placed as a " +"child of a bare [Node]. See also [method is_set_as_toplevel]." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"local transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_LOCAL_TRANSFORM_CHANGED] when its local transform " +"changes." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"global transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_TRANSFORM_CHANGED] when its global transform changes." msgstr "" #: doc/classes/CanvasItem.xml @@ -12636,9 +12655,14 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"The [CanvasItem]'s transform has changed. This notification is only received " -"if enabled by [method set_notify_transform] or [method " -"set_notify_local_transform]." +"The [CanvasItem]'s global transform has changed. This notification is only " +"received if enabled by [method set_notify_transform]." +msgstr "" + +#: doc/classes/CanvasItem.xml +msgid "" +"The [CanvasItem]'s local transform has changed. This notification is only " +"received if enabled by [method set_notify_local_transform]." msgstr "" #: doc/classes/CanvasItem.xml @@ -13593,7 +13617,10 @@ msgid "" "number of 2D collision [Shape2D]s. Each shape must be assigned to a [i]shape " "owner[/i]. The CollisionObject2D can have any number of shape owners. Shape " "owners are not nodes and do not appear in the editor, but are accessible " -"through code using the [code]shape_owner_*[/code] methods." +"through code using the [code]shape_owner_*[/code] methods.\n" +"[b]Note:[/b] Only collisions between objects within the same canvas " +"([Viewport] canvas or [CanvasLayer]) are supported. The behavior of " +"collisions between objects in different canvases is undefined." msgstr "" #: doc/classes/CollisionObject2D.xml @@ -19600,9 +19627,8 @@ msgid "" "main font.\n" "DynamicFont uses the [url=https://www.freetype.org/]FreeType[/url] library " "for rasterization. Supported formats are TrueType ([code].ttf[/code]), " -"OpenType ([code].otf[/code]) and Web Open Font Format 1 ([code].woff[/" -"code]). Web Open Font Format 2 ([code].woff2[/code]) is [i]not[/i] " -"supported.\n" +"OpenType ([code].otf[/code]), Web Open Font Format 1 ([code].woff[/code]), " +"and Web Open Font Format 2 ([code].woff2[/code]).\n" "[codeblock]\n" "var dynamic_font = DynamicFont.new()\n" "dynamic_font.font_data = load(\"res://BarlowCondensed-Bold.ttf\")\n" @@ -20469,18 +20495,34 @@ msgid "" msgstr "" #: doc/classes/EditorInspector.xml -msgid "A tab used to edit properties of the selected node." +msgid "A control used to edit properties of an object." msgstr "" #: doc/classes/EditorInspector.xml msgid "" -"The editor inspector is by default located on the right-hand side of the " -"editor. It's used to edit the properties of the selected node. For example, " -"you can select a node such as [Sprite] then edit its transform through the " -"inspector tool. The editor inspector is an essential tool in the game " -"development workflow.\n" -"[b]Note:[/b] This class shouldn't be instantiated directly. Instead, access " -"the singleton using [method EditorInterface.get_inspector]." +"This is the control that implements property editing in the editor's " +"Settings dialogs, the Inspector dock, etc. To get the [EditorInspector] used " +"in the editor's Inspector dock, use [method EditorInterface.get_inspector].\n" +"[EditorInspector] will show properties in the same order as the array " +"returned by [method Object.get_property_list].\n" +"If a property's name is path-like (i.e. if it contains forward slashes), " +"[EditorInspector] will create nested sections for \"directories\" along the " +"path. For example, if a property is named [code]highlighting/gdscript/" +"node_path_color[/code], it will be shown as \"Node Path Color\" inside the " +"\"GDScript\" section nested inside the \"Highlighting\" section.\n" +"If a property has [constant @GlobalScope.PROPERTY_USAGE_GROUP] usage, it " +"will group subsequent properties whose name starts with the property's hint " +"string. The group ends when a property does not start with that hint string " +"or when a new group starts. An empty group name effectively ends the current " +"group. [EditorInspector] will create a top-level section for each group. For " +"example, if a property with group usage is named [code]Collide With[/code] " +"and its hint string is [code]collide_with_[/code], a subsequent " +"[code]collide_with_area[/code] property will be shown as \"Area\" inside the " +"\"Collide With\" section.\n" +"[b]Note:[/b] Unlike sections created from path-like property names, " +"[EditorInspector] won't capitalize the name for sections created from " +"groups. So properties with group usage usually use capitalized names instead " +"of snake_cased names." msgstr "" #: doc/classes/EditorInspector.xml @@ -21655,6 +21697,14 @@ msgid "" "[/codeblock]" msgstr "" +#: modules/gltf/doc_classes/EditorSceneImporterGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [EditorSceneImporterGLTF] within a script will cause an error in an " +"exported project." +msgstr "" + #: doc/classes/EditorScenePostImport.xml msgid "Post-processes scenes after import." msgstr "" @@ -22392,12 +22442,13 @@ msgstr "" #: doc/classes/EditorVCSInterface.xml msgid "" "Helper function to create a commit [Dictionary] item. [code]msg[/code] is " -"the commit message of the commit. [code]author[/code] is a human-readable " -"string containing the author's details, e.g. the email and name configured " -"in the VCS. [code]id[/code] is the identifier of the commit, in whichever " -"format your VCS may provide an identifier to commits. [code]date[/code] is " -"directly added to the commit item and displayed in the editor, and hence, it " -"shall be a well-formatted, human-readable date string." +"the commit message of the commit. [code]author[/code] is a single human-" +"readable string containing all the author's details, e.g. the email and name " +"configured in the VCS. [code]id[/code] is the identifier of the commit, in " +"whichever format your VCS may provide an identifier to commits. " +"[code]unix_timestamp[/code] is the UTC Unix timestamp of when the commit was " +"created. [code]offset_minutes[/code] is the timezone offset in minutes, " +"recorded from the system timezone where the commit was created." msgstr "" #: doc/classes/EditorVCSInterface.xml @@ -25548,6 +25599,50 @@ msgstr "" msgid "Represents the size of the [enum Subdiv] enum." msgstr "" +#: modules/gltf/doc_classes/GLTFAccessor.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAccessor] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFAnimation.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAnimation] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFBufferView.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFBufferView] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFCamera.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFCamera] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFDocument.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFDocument] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFLight.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFLight] within a script will cause an error in an exported project." +msgstr "" + #: modules/gltf/doc_classes/GLTFLight.xml msgid "" "The [Color] of the light. Defaults to white. A black color causes the light " @@ -25597,6 +25692,49 @@ msgid "" "and [DirectionalLight] respectively." msgstr "" +#: modules/gltf/doc_classes/GLTFMesh.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFMesh] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFNode.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFNode] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSkeleton.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSkeleton] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSpecGloss.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSpecGloss] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFState.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFState] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFTexture.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFTexture] within a script will cause an error in an exported project." +msgstr "" + #: modules/mono/doc_classes/GodotSharp.xml msgid "Bridge between Godot and the Mono runtime (Mono-enabled builds only)." msgstr "" @@ -28981,9 +29119,9 @@ msgid "" "Returns a value between 0 and 1 representing the raw intensity of the given " "action, ignoring the action's deadzone. In most cases, you should use " "[method get_action_strength] instead.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -28993,9 +29131,9 @@ msgid "" "or L2, R2 triggers) is from the dead zone, the closer the value will be to " "1. If the action is mapped to a control that has no axis as the keyboard, " "the value returned will be 0 or 1.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29128,9 +29266,9 @@ msgid "" "the button.\n" "This is useful for code that needs to run only once when an action is " "pressed, instead of every frame while it's pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_just_pressed] may " "return [code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29142,9 +29280,9 @@ msgid "" "Returns [code]true[/code] when the user stops pressing the action event, " "meaning it's [code]true[/code] only on the frame that the user released the " "button.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29153,9 +29291,9 @@ msgid "" "an action has multiple buttons assigned and more than one of them is " "pressed, releasing one button will release the action, even if some other " "button assigned to this action is still pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29505,18 +29643,18 @@ msgstr "" msgid "" "Returns a value between 0.0 and 1.0 depending on the given actions' state. " "Useful for getting the value of events of type [InputEventJoypadMotion].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml msgid "" "Returns [code]true[/code] if this input event matches a pre-defined action " "of any type.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -29525,9 +29663,9 @@ msgid "" "an echo event for [InputEventKey] events, unless [code]allow_echo[/code] is " "[code]true[/code]). Not relevant for events of type [InputEventMouseMotion] " "or [InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events.\n" +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29539,9 +29677,9 @@ msgid "" "Returns [code]true[/code] if the given action is released (i.e. not " "pressed). Not relevant for events of type [InputEventMouseMotion] or " "[InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -29572,9 +29710,9 @@ msgid "" "event. Only valid for action events i.e key ([InputEventKey]), button " "([InputEventMouseButton] or [InputEventJoypadButton]), axis " "[InputEventJoypadMotion] or action ([InputEventAction]) events.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -30104,9 +30242,9 @@ msgid "" "This method ignores keyboard modifiers if the given [InputEvent] is not " "pressed (for proper release detection). See [method action_has_event] if you " "don't want this behavior.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputMap.xml @@ -32510,7 +32648,7 @@ msgid "" "be within the text's length." msgstr "" -#: doc/classes/LineEdit.xml +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml msgid "Clears the current selection." msgstr "" @@ -32529,6 +32667,18 @@ msgid "" "characters." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection begin column." +msgstr "" + +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection end column." +msgstr "" + +#: doc/classes/LineEdit.xml +msgid "Returns [code]true[/code] if the user has selected text." +msgstr "" + #: doc/classes/LineEdit.xml msgid "Executes a given action as defined in the [enum MenuItems] enum." msgstr "" @@ -33942,6 +34092,39 @@ msgid "Returns the number of surface materials." msgstr "" #: doc/classes/MeshInstance.xml +msgid "" +"Returns [code]true[/code] if this [MeshInstance] can be merged with the " +"specified [code]other_mesh_instance[/code], using the [method MeshInstance." +"merge_meshes] function.\n" +"In order to be mergeable, properties of the [MeshInstance] must match, and " +"each surface must match, in terms of material, attributes and vertex format." +msgstr "" + +#: doc/classes/MeshInstance.xml +msgid "" +"This function can merge together the data from several source " +"[MeshInstance]s into a single destination [MeshInstance] (the MeshInstance " +"the function is called from). This is primarily useful for improving " +"performance by reducing the number of drawcalls and [Node]s.\n" +"Merging should only be attempted for simple meshes that do not contain " +"animation.\n" +"The final vertices can either be returned in global space, or in local space " +"relative to the destination [MeshInstance] global transform (the destination " +"Node must be inside the [SceneTree] for local space to work).\n" +"The function will make a final check for compatibility between the " +"[MeshInstance]s by default, this should always be used unless you have " +"previously checked for compatibility using [method MeshInstance." +"is_mergeable_with]. If the compatibility check is omitted and the meshes are " +"merged, you may see rendering errors.\n" +"[b]Note:[/b] The requirements for similarity between meshes are quite " +"stringent. They can be checked using the [method MeshInstance." +"is_mergeable_with] function prior to calling [method MeshInstance." +"merge_meshes].\n" +"Also note that any initial data in the destination [MeshInstance] data will " +"be discarded." +msgstr "" + +#: doc/classes/MeshInstance.xml msgid "Sets the [Material] for a surface of the [Mesh] resource." msgstr "" @@ -36394,12 +36577,12 @@ msgid "" "[/codeblock]\n" "[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " "must set [member owner] in addition to calling [method add_child]. This is " -"typically relevant for [url=https://godot.readthedocs.io/en/3.2/tutorials/" -"misc/running_code_in_the_editor.html]tool scripts[/url] and [url=https://" -"godot.readthedocs.io/en/latest/tutorials/plugins/editor/index.html]editor " -"plugins[/url]. If [method add_child] is called without setting [member " -"owner], the newly added [Node] will not be visible in the scene tree, though " -"it will be visible in the 2D/3D view." +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37106,7 +37289,15 @@ msgid "" "valid parent, grandparent, etc. ascending in the tree). When saving a node " "(using [PackedScene]), all the nodes it owns will be saved with it. This " "allows for the creation of complex [SceneTree]s, with instancing and " -"subinstancing." +"subinstancing.\n" +"[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " +"must set [member owner] in addition to calling [method add_child]. This is " +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37702,7 +37893,13 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Called when the object is initialized." +msgid "" +"Called when the object is initialized in memory. Can be defined to take in " +"parameters, that are passed in when constructing.\n" +"[b]Note:[/b] If [method _init] is defined with required parameters, then " +"explicit construction is the only valid means of creating an Object of the " +"class. If any other means (such as [method PackedScene.instance]) is used, " +"then initialization will fail." msgstr "" #: doc/classes/Object.xml @@ -37898,7 +38095,10 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Returns the object's metadata entry for the given [code]name[/code]." +msgid "" +"Returns the object's metadata entry for the given [code]name[/code].\n" +"Throws error if the entry does not exist, unless [code]default[/code] is not " +"[code]null[/code] (in which case the default value will be returned)." msgstr "" #: doc/classes/Object.xml @@ -40106,6 +40306,14 @@ msgid "" "[b]Note:[/b] Only available in editor builds." msgstr "" +#: modules/gltf/doc_classes/PackedSceneGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [PackedSceneGLTF] within a script will cause an error in an exported " +"project." +msgstr "" + #: doc/classes/PacketPeer.xml msgid "Abstraction and base class for packet-based protocols." msgstr "" @@ -42946,7 +43154,10 @@ msgid "" msgstr "" #: doc/classes/PhysicsServer.xml -msgid "Returns an Info defined by the [enum ProcessInfo] input given." +msgid "" +"Returns information about the current state of the 3D physics engine. See " +"[enum ProcessInfo] for a list of available states. Only implemented for " +"Godot Physics." msgstr "" #: doc/classes/PhysicsServer.xml @@ -45806,7 +46017,7 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Allows the window to be resizable by default.\n" -"[b]Note:[/b] This setting is ignored on iOS and Android." +"[b]Note:[/b] This setting is ignored on iOS." msgstr "" #: doc/classes/ProjectSettings.xml @@ -46453,7 +46664,7 @@ msgid "Optional name for the 3D render layer 13." msgstr "" #: doc/classes/ProjectSettings.xml -msgid "Optional name for the 3D render layer 14" +msgid "Optional name for the 3D render layer 14." msgstr "" #: doc/classes/ProjectSettings.xml @@ -47723,16 +47934,24 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" -"If [code]true[/code], forces vertex shading for all rendering. This can " -"increase performance a lot, but also reduces quality immensely. Can be used " -"to optimize performance on low-end mobile devices." +"If [code]true[/code], forces vertex shading for all 3D [SpatialMaterial] and " +"[ShaderMaterial] rendering. This can be used to improve performance on low-" +"end mobile devices. The downside is that shading becomes much less accurate, " +"with visible linear interpolation between vertices that are joined together. " +"This can be compensated by ensuring meshes have a sufficient level of " +"subdivision (but not too much, to avoid reducing performance). Some material " +"features are also not supported when vertex shading is enabled.\n" +"See also [member SpatialMaterial.flags_vertex_lighting] which can be used to " +"enable vertex shading on specific materials only.\n" +"[b]Note:[/b] This setting does not affect unshaded materials." msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Lower-end override for [member rendering/quality/shading/" "force_vertex_shading] on mobile devices, due to performance concerns or " -"driver support." +"driver support. If lighting looks broken after exporting the project to a " +"mobile platform, try disabling this setting." msgstr "" #: doc/classes/ProjectSettings.xml @@ -49767,6 +49986,10 @@ msgid "" msgstr "" #: doc/classes/RichTextLabel.xml +msgid "Returns the current selection text. Does not include BBCodes." +msgstr "" + +#: doc/classes/RichTextLabel.xml msgid "" "Returns the total number of characters from text tags. Does not include " "BBCodes." @@ -52058,14 +52281,23 @@ msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Lowers the [Semaphore], allowing one more thread in. Returns [constant OK] " -"on success, [constant ERR_BUSY] otherwise." +"Lowers the [Semaphore], allowing one more thread in.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Tries to wait for the [Semaphore], if its value is zero, blocks until non-" -"zero. Returns [constant OK] on success, [constant ERR_BUSY] otherwise." +"Like [method wait], but won't block, so if the value is zero, fails " +"immediately and returns [constant ERR_BUSY]. If non-zero, it returns " +"[constant OK] to report success." +msgstr "" + +#: doc/classes/Semaphore.xml +msgid "" +"Waits for the [Semaphore], if its value is zero, blocks until non-zero.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Separator.xml @@ -53511,7 +53743,21 @@ msgstr "" #: doc/classes/SpatialMaterial.xml msgid "" "If [code]true[/code], lighting is calculated per vertex rather than per " -"pixel. This may increase performance on low-end devices." +"pixel. This may increase performance on low-end devices, especially for " +"meshes with a lower polygon count. The downside is that shading becomes much " +"less accurate, with visible linear interpolation between vertices that are " +"joined together. This can be compensated by ensuring meshes have a " +"sufficient level of subdivision (but not too much, to avoid reducing " +"performance). Some material features are also not supported when vertex " +"shading is enabled.\n" +"See also [member ProjectSettings.rendering/quality/shading/" +"force_vertex_shading] which can globally enable vertex shading on all " +"materials.\n" +"[b]Note:[/b] By default, vertex shading is enforced on mobile platforms by " +"[member ProjectSettings.rendering/quality/shading/force_vertex_shading]'s " +"[code]mobile[/code] override.\n" +"[b]Note:[/b] [member flags_vertex_lighting] has no effect if [member " +"flags_unshaded] is [code]true[/code]." msgstr "" #: doc/classes/SpatialMaterial.xml @@ -54315,7 +54561,10 @@ msgid "" "the text alignment to right.\n" "See [Range] class for more options over the [SpinBox].\n" "[b]Note:[/b] [SpinBox] relies on an underlying [LineEdit] node. To theme a " -"[SpinBox]'s background, add theme items for [LineEdit] and customize them." +"[SpinBox]'s background, add theme items for [LineEdit] and customize them.\n" +"[b]Note:[/b] If you want to implement drag and drop for the underlying " +"[LineEdit], you can use [method Control.set_drag_forwarding] on the node " +"returned by [method get_line_edit]." msgstr "" #: doc/classes/SpinBox.xml @@ -55633,7 +55882,6 @@ msgid "" "print(\"1.7\".is_valid_float()) # Prints \"True\"\n" "print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"7e3\".is_valid_float()) # Prints \"True\"\n" -"print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55870,8 +56118,8 @@ msgid "" "var some_string = \"One,Two,Three,Four\"\n" "var some_array = some_string.rsplit(\",\", true, 1)\n" "print(some_array.size()) # Prints 2\n" -"print(some_array[0]) # Prints \"Four\"\n" -"print(some_array[1]) # Prints \"Three,Two,One\"\n" +"print(some_array[0]) # Prints \"One,Two,Three\"\n" +"print(some_array[1]) # Prints \"Four\"\n" "[/codeblock]" msgstr "" @@ -55904,9 +56152,9 @@ msgstr "" #: doc/classes/String.xml msgid "" "Returns the similarity index ([url=https://en.wikipedia.org/wiki/" -"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) this " -"string compared to another. 1.0 means totally similar and 0.0 means totally " -"dissimilar.\n" +"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) of " +"this string compared to another. A result of 1.0 means totally similar, " +"while 0.0 means totally dissimilar.\n" "[codeblock]\n" "print(\"ABC123\".similarity(\"ABC123\")) # Prints \"1\"\n" "print(\"ABC123\".similarity(\"XYZ456\")) # Prints \"0\"\n" @@ -57377,10 +57625,6 @@ msgid "" msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection begin column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection begin line." msgstr "" @@ -57389,10 +57633,6 @@ msgid "Returns the text inside the selection." msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection end column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection end line." msgstr "" @@ -58413,6 +58653,14 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Adds an empty theme type for every valid data type.\n" +"[b]Note:[/b] Empty types are not saved with the theme. This method only " +"exists to perform in-memory changes to the resource. Use available " +"[code]set_*[/code] methods to add theme items." +msgstr "" + +#: doc/classes/Theme.xml msgid "Clears all values on the theme." msgstr "" @@ -58672,6 +58920,13 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Removes the theme type, gracefully discarding defined theme items. If the " +"type is a variation, this information is also erased. If the type is a base " +"for type variations, those variations lose their base." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Renames the [Color] at [code]old_name[/code] to [code]name[/code] if the " "theme has [code]node_type[/code]. If [code]name[/code] is already taken, " "this method fails." @@ -71365,6 +71620,11 @@ msgid "" msgstr "" #: modules/websocket/doc_classes/WebSocketServer.xml +msgid "" +"Sets additional headers to be sent to clients during the HTTP handshake." +msgstr "" + +#: modules/websocket/doc_classes/WebSocketServer.xml msgid "Stops the server and clear its state." msgstr "" @@ -71460,6 +71720,9 @@ msgid "" "\n" " webxr_interface = ARVRServer.find_interface(\"WebXR\")\n" " if webxr_interface:\n" +" # Map to the standard button/axis ids when possible.\n" +" webxr_interface.xr_standard_mapping = true\n" +"\n" " # WebXR uses a lot of asynchronous callbacks, so we connect to " "various\n" " # signals in order to receive them.\n" @@ -71685,6 +71948,13 @@ msgstr "" #: modules/webxr/doc_classes/WebXRInterface.xml msgid "" +"If set to true, the button and axes ids will be converted to match the " +"standard ids used by other AR/VR interfaces, when possible.\n" +"Otherwise, the ids will be passed through unaltered from WebXR." +msgstr "" + +#: modules/webxr/doc_classes/WebXRInterface.xml +msgid "" "Emitted to indicate that the reference space has been reset or " "reconfigured.\n" "When (or whether) this is emitted depends on the user's browser or device, " diff --git a/doc/translations/ne.po b/doc/translations/ne.po index b3231caf4d..201925ae35 100644 --- a/doc/translations/ne.po +++ b/doc/translations/ne.po @@ -3321,8 +3321,12 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" "Hints that an integer, float or string property is an enumerated value to " -"pick in a list specified via a hint string such as [code]\"Hello,Something," -"Else\"[/code]." +"pick in a list specified via a hint string.\n" +"The hint string is a comma separated list of names such as [code]\"Hello," +"Something,Else\"[/code]. For integer and float properties, the first name in " +"the list has value 0, the next 1, and so on. Explicit values can also be " +"specified by appending [code]:integer[/code] to the name, e.g. [code]\"Zero," +"One,Three:3,Four,Six:6\"[/code]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -3463,7 +3467,7 @@ msgid "The property is a translatable string." msgstr "" #: doc/classes/@GlobalScope.xml -msgid "Used to group properties together in the editor." +msgid "Used to group properties together in the editor. See [EditorInspector]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -5234,8 +5238,11 @@ msgstr "" #: doc/classes/AnimationNodeBlendTree.xml msgid "" -"This node may contain a sub-tree of any other blend type nodes, such as mix, " -"blend2, blend3, one shot, etc. This is one of the most commonly used roots." +"This node may contain a sub-tree of any other blend type nodes, such as " +"[AnimationNodeTransition], [AnimationNodeBlend2], [AnimationNodeBlend3], " +"[AnimationNodeOneShot], etc. This is one of the most commonly used roots.\n" +"An [AnimationNodeOutput] node named [code]output[/code] is created by " +"default." msgstr "" #: doc/classes/AnimationNodeBlendTree.xml @@ -6977,8 +6984,9 @@ msgstr "" #: doc/classes/Array.xml msgid "" -"Removes the first occurrence of a value from the array. To remove an element " -"by index, use [method remove] instead.\n" +"Removes the first occurrence of a value from the array. If the value does " +"not exist in the array, nothing happens. To remove an element by index, use " +"[method remove] instead.\n" "[b]Note:[/b] This method acts in-place and doesn't return a value.\n" "[b]Note:[/b] On large arrays, this method will be slower if the removed " "element is close to the beginning of the array (index 0). This is because " @@ -10354,8 +10362,15 @@ msgstr "" #: doc/classes/BakedLightmap.xml msgid "" -"When enabled, the lightmapper will merge the textures for all meshes into a " -"single large layered texture. Not supported in GLES2." +"If [code]true[/code], the lightmapper will merge the textures for all meshes " +"into one or several large layered textures. If [code]false[/code], every " +"mesh will get its own lightmap texture, which is less efficient.\n" +"[b]Note:[/b] Atlas lightmap rendering is only supported in GLES3, [i]not[/i] " +"GLES2. Non-atlas lightmap rendering is supported by both GLES3 and GLES2. If " +"[member ProjectSettings.rendering/quality/driver/fallback_to_gles2] is " +"[code]true[/code], consider baking lightmaps with [member atlas_generate] " +"set to [code]false[/code] so that the resulting lightmap is visible in both " +"GLES3 and GLES2." msgstr "" #: doc/classes/BakedLightmap.xml @@ -11698,8 +11713,8 @@ msgstr "" #: doc/classes/Camera.xml msgid "" "The camera's size measured as 1/2 the width or height. Only applicable in " -"orthogonal mode. Since [member keep_aspect] locks on axis, [code]size[/code] " -"sets the other axis' size length." +"orthogonal and frustum modes. Since [member keep_aspect] locks on axis, " +"[code]size[/code] sets the other axis' size length." msgstr "" #: doc/classes/Camera.xml @@ -12497,20 +12512,24 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], the node won't inherit its " -"transform from parent canvas items." +"If [code]enable[/code] is [code]true[/code], this [CanvasItem] will [i]not[/" +"i] inherit its transform from parent [CanvasItem]s. Its draw order will also " +"be changed to make it draw on top of other [CanvasItem]s that are not set as " +"top-level. The [CanvasItem] will effectively act as if it was placed as a " +"child of a bare [Node]. See also [method is_set_as_toplevel]." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"local transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_LOCAL_TRANSFORM_CHANGED] when its local transform " +"changes." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"global transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_TRANSFORM_CHANGED] when its global transform changes." msgstr "" #: doc/classes/CanvasItem.xml @@ -12624,9 +12643,14 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"The [CanvasItem]'s transform has changed. This notification is only received " -"if enabled by [method set_notify_transform] or [method " -"set_notify_local_transform]." +"The [CanvasItem]'s global transform has changed. This notification is only " +"received if enabled by [method set_notify_transform]." +msgstr "" + +#: doc/classes/CanvasItem.xml +msgid "" +"The [CanvasItem]'s local transform has changed. This notification is only " +"received if enabled by [method set_notify_local_transform]." msgstr "" #: doc/classes/CanvasItem.xml @@ -13581,7 +13605,10 @@ msgid "" "number of 2D collision [Shape2D]s. Each shape must be assigned to a [i]shape " "owner[/i]. The CollisionObject2D can have any number of shape owners. Shape " "owners are not nodes and do not appear in the editor, but are accessible " -"through code using the [code]shape_owner_*[/code] methods." +"through code using the [code]shape_owner_*[/code] methods.\n" +"[b]Note:[/b] Only collisions between objects within the same canvas " +"([Viewport] canvas or [CanvasLayer]) are supported. The behavior of " +"collisions between objects in different canvases is undefined." msgstr "" #: doc/classes/CollisionObject2D.xml @@ -19588,9 +19615,8 @@ msgid "" "main font.\n" "DynamicFont uses the [url=https://www.freetype.org/]FreeType[/url] library " "for rasterization. Supported formats are TrueType ([code].ttf[/code]), " -"OpenType ([code].otf[/code]) and Web Open Font Format 1 ([code].woff[/" -"code]). Web Open Font Format 2 ([code].woff2[/code]) is [i]not[/i] " -"supported.\n" +"OpenType ([code].otf[/code]), Web Open Font Format 1 ([code].woff[/code]), " +"and Web Open Font Format 2 ([code].woff2[/code]).\n" "[codeblock]\n" "var dynamic_font = DynamicFont.new()\n" "dynamic_font.font_data = load(\"res://BarlowCondensed-Bold.ttf\")\n" @@ -20457,18 +20483,34 @@ msgid "" msgstr "" #: doc/classes/EditorInspector.xml -msgid "A tab used to edit properties of the selected node." +msgid "A control used to edit properties of an object." msgstr "" #: doc/classes/EditorInspector.xml msgid "" -"The editor inspector is by default located on the right-hand side of the " -"editor. It's used to edit the properties of the selected node. For example, " -"you can select a node such as [Sprite] then edit its transform through the " -"inspector tool. The editor inspector is an essential tool in the game " -"development workflow.\n" -"[b]Note:[/b] This class shouldn't be instantiated directly. Instead, access " -"the singleton using [method EditorInterface.get_inspector]." +"This is the control that implements property editing in the editor's " +"Settings dialogs, the Inspector dock, etc. To get the [EditorInspector] used " +"in the editor's Inspector dock, use [method EditorInterface.get_inspector].\n" +"[EditorInspector] will show properties in the same order as the array " +"returned by [method Object.get_property_list].\n" +"If a property's name is path-like (i.e. if it contains forward slashes), " +"[EditorInspector] will create nested sections for \"directories\" along the " +"path. For example, if a property is named [code]highlighting/gdscript/" +"node_path_color[/code], it will be shown as \"Node Path Color\" inside the " +"\"GDScript\" section nested inside the \"Highlighting\" section.\n" +"If a property has [constant @GlobalScope.PROPERTY_USAGE_GROUP] usage, it " +"will group subsequent properties whose name starts with the property's hint " +"string. The group ends when a property does not start with that hint string " +"or when a new group starts. An empty group name effectively ends the current " +"group. [EditorInspector] will create a top-level section for each group. For " +"example, if a property with group usage is named [code]Collide With[/code] " +"and its hint string is [code]collide_with_[/code], a subsequent " +"[code]collide_with_area[/code] property will be shown as \"Area\" inside the " +"\"Collide With\" section.\n" +"[b]Note:[/b] Unlike sections created from path-like property names, " +"[EditorInspector] won't capitalize the name for sections created from " +"groups. So properties with group usage usually use capitalized names instead " +"of snake_cased names." msgstr "" #: doc/classes/EditorInspector.xml @@ -21643,6 +21685,14 @@ msgid "" "[/codeblock]" msgstr "" +#: modules/gltf/doc_classes/EditorSceneImporterGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [EditorSceneImporterGLTF] within a script will cause an error in an " +"exported project." +msgstr "" + #: doc/classes/EditorScenePostImport.xml msgid "Post-processes scenes after import." msgstr "" @@ -22380,12 +22430,13 @@ msgstr "" #: doc/classes/EditorVCSInterface.xml msgid "" "Helper function to create a commit [Dictionary] item. [code]msg[/code] is " -"the commit message of the commit. [code]author[/code] is a human-readable " -"string containing the author's details, e.g. the email and name configured " -"in the VCS. [code]id[/code] is the identifier of the commit, in whichever " -"format your VCS may provide an identifier to commits. [code]date[/code] is " -"directly added to the commit item and displayed in the editor, and hence, it " -"shall be a well-formatted, human-readable date string." +"the commit message of the commit. [code]author[/code] is a single human-" +"readable string containing all the author's details, e.g. the email and name " +"configured in the VCS. [code]id[/code] is the identifier of the commit, in " +"whichever format your VCS may provide an identifier to commits. " +"[code]unix_timestamp[/code] is the UTC Unix timestamp of when the commit was " +"created. [code]offset_minutes[/code] is the timezone offset in minutes, " +"recorded from the system timezone where the commit was created." msgstr "" #: doc/classes/EditorVCSInterface.xml @@ -25536,6 +25587,50 @@ msgstr "" msgid "Represents the size of the [enum Subdiv] enum." msgstr "" +#: modules/gltf/doc_classes/GLTFAccessor.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAccessor] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFAnimation.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAnimation] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFBufferView.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFBufferView] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFCamera.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFCamera] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFDocument.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFDocument] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFLight.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFLight] within a script will cause an error in an exported project." +msgstr "" + #: modules/gltf/doc_classes/GLTFLight.xml msgid "" "The [Color] of the light. Defaults to white. A black color causes the light " @@ -25585,6 +25680,49 @@ msgid "" "and [DirectionalLight] respectively." msgstr "" +#: modules/gltf/doc_classes/GLTFMesh.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFMesh] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFNode.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFNode] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSkeleton.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSkeleton] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSpecGloss.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSpecGloss] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFState.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFState] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFTexture.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFTexture] within a script will cause an error in an exported project." +msgstr "" + #: modules/mono/doc_classes/GodotSharp.xml msgid "Bridge between Godot and the Mono runtime (Mono-enabled builds only)." msgstr "" @@ -28969,9 +29107,9 @@ msgid "" "Returns a value between 0 and 1 representing the raw intensity of the given " "action, ignoring the action's deadzone. In most cases, you should use " "[method get_action_strength] instead.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -28981,9 +29119,9 @@ msgid "" "or L2, R2 triggers) is from the dead zone, the closer the value will be to " "1. If the action is mapped to a control that has no axis as the keyboard, " "the value returned will be 0 or 1.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29116,9 +29254,9 @@ msgid "" "the button.\n" "This is useful for code that needs to run only once when an action is " "pressed, instead of every frame while it's pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_just_pressed] may " "return [code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29130,9 +29268,9 @@ msgid "" "Returns [code]true[/code] when the user stops pressing the action event, " "meaning it's [code]true[/code] only on the frame that the user released the " "button.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29141,9 +29279,9 @@ msgid "" "an action has multiple buttons assigned and more than one of them is " "pressed, releasing one button will release the action, even if some other " "button assigned to this action is still pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29493,18 +29631,18 @@ msgstr "" msgid "" "Returns a value between 0.0 and 1.0 depending on the given actions' state. " "Useful for getting the value of events of type [InputEventJoypadMotion].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml msgid "" "Returns [code]true[/code] if this input event matches a pre-defined action " "of any type.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -29513,9 +29651,9 @@ msgid "" "an echo event for [InputEventKey] events, unless [code]allow_echo[/code] is " "[code]true[/code]). Not relevant for events of type [InputEventMouseMotion] " "or [InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events.\n" +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29527,9 +29665,9 @@ msgid "" "Returns [code]true[/code] if the given action is released (i.e. not " "pressed). Not relevant for events of type [InputEventMouseMotion] or " "[InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -29560,9 +29698,9 @@ msgid "" "event. Only valid for action events i.e key ([InputEventKey]), button " "([InputEventMouseButton] or [InputEventJoypadButton]), axis " "[InputEventJoypadMotion] or action ([InputEventAction]) events.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -30092,9 +30230,9 @@ msgid "" "This method ignores keyboard modifiers if the given [InputEvent] is not " "pressed (for proper release detection). See [method action_has_event] if you " "don't want this behavior.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputMap.xml @@ -32498,7 +32636,7 @@ msgid "" "be within the text's length." msgstr "" -#: doc/classes/LineEdit.xml +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml msgid "Clears the current selection." msgstr "" @@ -32517,6 +32655,18 @@ msgid "" "characters." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection begin column." +msgstr "" + +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection end column." +msgstr "" + +#: doc/classes/LineEdit.xml +msgid "Returns [code]true[/code] if the user has selected text." +msgstr "" + #: doc/classes/LineEdit.xml msgid "Executes a given action as defined in the [enum MenuItems] enum." msgstr "" @@ -33930,6 +34080,39 @@ msgid "Returns the number of surface materials." msgstr "" #: doc/classes/MeshInstance.xml +msgid "" +"Returns [code]true[/code] if this [MeshInstance] can be merged with the " +"specified [code]other_mesh_instance[/code], using the [method MeshInstance." +"merge_meshes] function.\n" +"In order to be mergeable, properties of the [MeshInstance] must match, and " +"each surface must match, in terms of material, attributes and vertex format." +msgstr "" + +#: doc/classes/MeshInstance.xml +msgid "" +"This function can merge together the data from several source " +"[MeshInstance]s into a single destination [MeshInstance] (the MeshInstance " +"the function is called from). This is primarily useful for improving " +"performance by reducing the number of drawcalls and [Node]s.\n" +"Merging should only be attempted for simple meshes that do not contain " +"animation.\n" +"The final vertices can either be returned in global space, or in local space " +"relative to the destination [MeshInstance] global transform (the destination " +"Node must be inside the [SceneTree] for local space to work).\n" +"The function will make a final check for compatibility between the " +"[MeshInstance]s by default, this should always be used unless you have " +"previously checked for compatibility using [method MeshInstance." +"is_mergeable_with]. If the compatibility check is omitted and the meshes are " +"merged, you may see rendering errors.\n" +"[b]Note:[/b] The requirements for similarity between meshes are quite " +"stringent. They can be checked using the [method MeshInstance." +"is_mergeable_with] function prior to calling [method MeshInstance." +"merge_meshes].\n" +"Also note that any initial data in the destination [MeshInstance] data will " +"be discarded." +msgstr "" + +#: doc/classes/MeshInstance.xml msgid "Sets the [Material] for a surface of the [Mesh] resource." msgstr "" @@ -36382,12 +36565,12 @@ msgid "" "[/codeblock]\n" "[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " "must set [member owner] in addition to calling [method add_child]. This is " -"typically relevant for [url=https://godot.readthedocs.io/en/3.2/tutorials/" -"misc/running_code_in_the_editor.html]tool scripts[/url] and [url=https://" -"godot.readthedocs.io/en/latest/tutorials/plugins/editor/index.html]editor " -"plugins[/url]. If [method add_child] is called without setting [member " -"owner], the newly added [Node] will not be visible in the scene tree, though " -"it will be visible in the 2D/3D view." +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37094,7 +37277,15 @@ msgid "" "valid parent, grandparent, etc. ascending in the tree). When saving a node " "(using [PackedScene]), all the nodes it owns will be saved with it. This " "allows for the creation of complex [SceneTree]s, with instancing and " -"subinstancing." +"subinstancing.\n" +"[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " +"must set [member owner] in addition to calling [method add_child]. This is " +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37690,7 +37881,13 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Called when the object is initialized." +msgid "" +"Called when the object is initialized in memory. Can be defined to take in " +"parameters, that are passed in when constructing.\n" +"[b]Note:[/b] If [method _init] is defined with required parameters, then " +"explicit construction is the only valid means of creating an Object of the " +"class. If any other means (such as [method PackedScene.instance]) is used, " +"then initialization will fail." msgstr "" #: doc/classes/Object.xml @@ -37886,7 +38083,10 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Returns the object's metadata entry for the given [code]name[/code]." +msgid "" +"Returns the object's metadata entry for the given [code]name[/code].\n" +"Throws error if the entry does not exist, unless [code]default[/code] is not " +"[code]null[/code] (in which case the default value will be returned)." msgstr "" #: doc/classes/Object.xml @@ -40094,6 +40294,14 @@ msgid "" "[b]Note:[/b] Only available in editor builds." msgstr "" +#: modules/gltf/doc_classes/PackedSceneGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [PackedSceneGLTF] within a script will cause an error in an exported " +"project." +msgstr "" + #: doc/classes/PacketPeer.xml msgid "Abstraction and base class for packet-based protocols." msgstr "" @@ -42934,7 +43142,10 @@ msgid "" msgstr "" #: doc/classes/PhysicsServer.xml -msgid "Returns an Info defined by the [enum ProcessInfo] input given." +msgid "" +"Returns information about the current state of the 3D physics engine. See " +"[enum ProcessInfo] for a list of available states. Only implemented for " +"Godot Physics." msgstr "" #: doc/classes/PhysicsServer.xml @@ -45794,7 +46005,7 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Allows the window to be resizable by default.\n" -"[b]Note:[/b] This setting is ignored on iOS and Android." +"[b]Note:[/b] This setting is ignored on iOS." msgstr "" #: doc/classes/ProjectSettings.xml @@ -46441,7 +46652,7 @@ msgid "Optional name for the 3D render layer 13." msgstr "" #: doc/classes/ProjectSettings.xml -msgid "Optional name for the 3D render layer 14" +msgid "Optional name for the 3D render layer 14." msgstr "" #: doc/classes/ProjectSettings.xml @@ -47711,16 +47922,24 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" -"If [code]true[/code], forces vertex shading for all rendering. This can " -"increase performance a lot, but also reduces quality immensely. Can be used " -"to optimize performance on low-end mobile devices." +"If [code]true[/code], forces vertex shading for all 3D [SpatialMaterial] and " +"[ShaderMaterial] rendering. This can be used to improve performance on low-" +"end mobile devices. The downside is that shading becomes much less accurate, " +"with visible linear interpolation between vertices that are joined together. " +"This can be compensated by ensuring meshes have a sufficient level of " +"subdivision (but not too much, to avoid reducing performance). Some material " +"features are also not supported when vertex shading is enabled.\n" +"See also [member SpatialMaterial.flags_vertex_lighting] which can be used to " +"enable vertex shading on specific materials only.\n" +"[b]Note:[/b] This setting does not affect unshaded materials." msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Lower-end override for [member rendering/quality/shading/" "force_vertex_shading] on mobile devices, due to performance concerns or " -"driver support." +"driver support. If lighting looks broken after exporting the project to a " +"mobile platform, try disabling this setting." msgstr "" #: doc/classes/ProjectSettings.xml @@ -49755,6 +49974,10 @@ msgid "" msgstr "" #: doc/classes/RichTextLabel.xml +msgid "Returns the current selection text. Does not include BBCodes." +msgstr "" + +#: doc/classes/RichTextLabel.xml msgid "" "Returns the total number of characters from text tags. Does not include " "BBCodes." @@ -52046,14 +52269,23 @@ msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Lowers the [Semaphore], allowing one more thread in. Returns [constant OK] " -"on success, [constant ERR_BUSY] otherwise." +"Lowers the [Semaphore], allowing one more thread in.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Tries to wait for the [Semaphore], if its value is zero, blocks until non-" -"zero. Returns [constant OK] on success, [constant ERR_BUSY] otherwise." +"Like [method wait], but won't block, so if the value is zero, fails " +"immediately and returns [constant ERR_BUSY]. If non-zero, it returns " +"[constant OK] to report success." +msgstr "" + +#: doc/classes/Semaphore.xml +msgid "" +"Waits for the [Semaphore], if its value is zero, blocks until non-zero.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Separator.xml @@ -53499,7 +53731,21 @@ msgstr "" #: doc/classes/SpatialMaterial.xml msgid "" "If [code]true[/code], lighting is calculated per vertex rather than per " -"pixel. This may increase performance on low-end devices." +"pixel. This may increase performance on low-end devices, especially for " +"meshes with a lower polygon count. The downside is that shading becomes much " +"less accurate, with visible linear interpolation between vertices that are " +"joined together. This can be compensated by ensuring meshes have a " +"sufficient level of subdivision (but not too much, to avoid reducing " +"performance). Some material features are also not supported when vertex " +"shading is enabled.\n" +"See also [member ProjectSettings.rendering/quality/shading/" +"force_vertex_shading] which can globally enable vertex shading on all " +"materials.\n" +"[b]Note:[/b] By default, vertex shading is enforced on mobile platforms by " +"[member ProjectSettings.rendering/quality/shading/force_vertex_shading]'s " +"[code]mobile[/code] override.\n" +"[b]Note:[/b] [member flags_vertex_lighting] has no effect if [member " +"flags_unshaded] is [code]true[/code]." msgstr "" #: doc/classes/SpatialMaterial.xml @@ -54303,7 +54549,10 @@ msgid "" "the text alignment to right.\n" "See [Range] class for more options over the [SpinBox].\n" "[b]Note:[/b] [SpinBox] relies on an underlying [LineEdit] node. To theme a " -"[SpinBox]'s background, add theme items for [LineEdit] and customize them." +"[SpinBox]'s background, add theme items for [LineEdit] and customize them.\n" +"[b]Note:[/b] If you want to implement drag and drop for the underlying " +"[LineEdit], you can use [method Control.set_drag_forwarding] on the node " +"returned by [method get_line_edit]." msgstr "" #: doc/classes/SpinBox.xml @@ -55621,7 +55870,6 @@ msgid "" "print(\"1.7\".is_valid_float()) # Prints \"True\"\n" "print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"7e3\".is_valid_float()) # Prints \"True\"\n" -"print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55858,8 +56106,8 @@ msgid "" "var some_string = \"One,Two,Three,Four\"\n" "var some_array = some_string.rsplit(\",\", true, 1)\n" "print(some_array.size()) # Prints 2\n" -"print(some_array[0]) # Prints \"Four\"\n" -"print(some_array[1]) # Prints \"Three,Two,One\"\n" +"print(some_array[0]) # Prints \"One,Two,Three\"\n" +"print(some_array[1]) # Prints \"Four\"\n" "[/codeblock]" msgstr "" @@ -55892,9 +56140,9 @@ msgstr "" #: doc/classes/String.xml msgid "" "Returns the similarity index ([url=https://en.wikipedia.org/wiki/" -"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) this " -"string compared to another. 1.0 means totally similar and 0.0 means totally " -"dissimilar.\n" +"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) of " +"this string compared to another. A result of 1.0 means totally similar, " +"while 0.0 means totally dissimilar.\n" "[codeblock]\n" "print(\"ABC123\".similarity(\"ABC123\")) # Prints \"1\"\n" "print(\"ABC123\".similarity(\"XYZ456\")) # Prints \"0\"\n" @@ -57365,10 +57613,6 @@ msgid "" msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection begin column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection begin line." msgstr "" @@ -57377,10 +57621,6 @@ msgid "Returns the text inside the selection." msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection end column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection end line." msgstr "" @@ -58401,6 +58641,14 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Adds an empty theme type for every valid data type.\n" +"[b]Note:[/b] Empty types are not saved with the theme. This method only " +"exists to perform in-memory changes to the resource. Use available " +"[code]set_*[/code] methods to add theme items." +msgstr "" + +#: doc/classes/Theme.xml msgid "Clears all values on the theme." msgstr "" @@ -58660,6 +58908,13 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Removes the theme type, gracefully discarding defined theme items. If the " +"type is a variation, this information is also erased. If the type is a base " +"for type variations, those variations lose their base." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Renames the [Color] at [code]old_name[/code] to [code]name[/code] if the " "theme has [code]node_type[/code]. If [code]name[/code] is already taken, " "this method fails." @@ -71353,6 +71608,11 @@ msgid "" msgstr "" #: modules/websocket/doc_classes/WebSocketServer.xml +msgid "" +"Sets additional headers to be sent to clients during the HTTP handshake." +msgstr "" + +#: modules/websocket/doc_classes/WebSocketServer.xml msgid "Stops the server and clear its state." msgstr "" @@ -71448,6 +71708,9 @@ msgid "" "\n" " webxr_interface = ARVRServer.find_interface(\"WebXR\")\n" " if webxr_interface:\n" +" # Map to the standard button/axis ids when possible.\n" +" webxr_interface.xr_standard_mapping = true\n" +"\n" " # WebXR uses a lot of asynchronous callbacks, so we connect to " "various\n" " # signals in order to receive them.\n" @@ -71673,6 +71936,13 @@ msgstr "" #: modules/webxr/doc_classes/WebXRInterface.xml msgid "" +"If set to true, the button and axes ids will be converted to match the " +"standard ids used by other AR/VR interfaces, when possible.\n" +"Otherwise, the ids will be passed through unaltered from WebXR." +msgstr "" + +#: modules/webxr/doc_classes/WebXRInterface.xml +msgid "" "Emitted to indicate that the reference space has been reset or " "reconfigured.\n" "When (or whether) this is emitted depends on the user's browser or device, " diff --git a/doc/translations/nl.po b/doc/translations/nl.po index 7af8cd1303..d207e3fb09 100644 --- a/doc/translations/nl.po +++ b/doc/translations/nl.po @@ -3390,8 +3390,12 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" "Hints that an integer, float or string property is an enumerated value to " -"pick in a list specified via a hint string such as [code]\"Hello,Something," -"Else\"[/code]." +"pick in a list specified via a hint string.\n" +"The hint string is a comma separated list of names such as [code]\"Hello," +"Something,Else\"[/code]. For integer and float properties, the first name in " +"the list has value 0, the next 1, and so on. Explicit values can also be " +"specified by appending [code]:integer[/code] to the name, e.g. [code]\"Zero," +"One,Three:3,Four,Six:6\"[/code]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -3532,7 +3536,7 @@ msgid "The property is a translatable string." msgstr "" #: doc/classes/@GlobalScope.xml -msgid "Used to group properties together in the editor." +msgid "Used to group properties together in the editor. See [EditorInspector]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -5303,8 +5307,11 @@ msgstr "" #: doc/classes/AnimationNodeBlendTree.xml msgid "" -"This node may contain a sub-tree of any other blend type nodes, such as mix, " -"blend2, blend3, one shot, etc. This is one of the most commonly used roots." +"This node may contain a sub-tree of any other blend type nodes, such as " +"[AnimationNodeTransition], [AnimationNodeBlend2], [AnimationNodeBlend3], " +"[AnimationNodeOneShot], etc. This is one of the most commonly used roots.\n" +"An [AnimationNodeOutput] node named [code]output[/code] is created by " +"default." msgstr "" #: doc/classes/AnimationNodeBlendTree.xml @@ -7046,8 +7053,9 @@ msgstr "" #: doc/classes/Array.xml msgid "" -"Removes the first occurrence of a value from the array. To remove an element " -"by index, use [method remove] instead.\n" +"Removes the first occurrence of a value from the array. If the value does " +"not exist in the array, nothing happens. To remove an element by index, use " +"[method remove] instead.\n" "[b]Note:[/b] This method acts in-place and doesn't return a value.\n" "[b]Note:[/b] On large arrays, this method will be slower if the removed " "element is close to the beginning of the array (index 0). This is because " @@ -10423,8 +10431,15 @@ msgstr "" #: doc/classes/BakedLightmap.xml msgid "" -"When enabled, the lightmapper will merge the textures for all meshes into a " -"single large layered texture. Not supported in GLES2." +"If [code]true[/code], the lightmapper will merge the textures for all meshes " +"into one or several large layered textures. If [code]false[/code], every " +"mesh will get its own lightmap texture, which is less efficient.\n" +"[b]Note:[/b] Atlas lightmap rendering is only supported in GLES3, [i]not[/i] " +"GLES2. Non-atlas lightmap rendering is supported by both GLES3 and GLES2. If " +"[member ProjectSettings.rendering/quality/driver/fallback_to_gles2] is " +"[code]true[/code], consider baking lightmaps with [member atlas_generate] " +"set to [code]false[/code] so that the resulting lightmap is visible in both " +"GLES3 and GLES2." msgstr "" #: doc/classes/BakedLightmap.xml @@ -11767,8 +11782,8 @@ msgstr "" #: doc/classes/Camera.xml msgid "" "The camera's size measured as 1/2 the width or height. Only applicable in " -"orthogonal mode. Since [member keep_aspect] locks on axis, [code]size[/code] " -"sets the other axis' size length." +"orthogonal and frustum modes. Since [member keep_aspect] locks on axis, " +"[code]size[/code] sets the other axis' size length." msgstr "" #: doc/classes/Camera.xml @@ -12566,20 +12581,24 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], the node won't inherit its " -"transform from parent canvas items." +"If [code]enable[/code] is [code]true[/code], this [CanvasItem] will [i]not[/" +"i] inherit its transform from parent [CanvasItem]s. Its draw order will also " +"be changed to make it draw on top of other [CanvasItem]s that are not set as " +"top-level. The [CanvasItem] will effectively act as if it was placed as a " +"child of a bare [Node]. See also [method is_set_as_toplevel]." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"local transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_LOCAL_TRANSFORM_CHANGED] when its local transform " +"changes." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"global transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_TRANSFORM_CHANGED] when its global transform changes." msgstr "" #: doc/classes/CanvasItem.xml @@ -12693,9 +12712,14 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"The [CanvasItem]'s transform has changed. This notification is only received " -"if enabled by [method set_notify_transform] or [method " -"set_notify_local_transform]." +"The [CanvasItem]'s global transform has changed. This notification is only " +"received if enabled by [method set_notify_transform]." +msgstr "" + +#: doc/classes/CanvasItem.xml +msgid "" +"The [CanvasItem]'s local transform has changed. This notification is only " +"received if enabled by [method set_notify_local_transform]." msgstr "" #: doc/classes/CanvasItem.xml @@ -13650,7 +13674,10 @@ msgid "" "number of 2D collision [Shape2D]s. Each shape must be assigned to a [i]shape " "owner[/i]. The CollisionObject2D can have any number of shape owners. Shape " "owners are not nodes and do not appear in the editor, but are accessible " -"through code using the [code]shape_owner_*[/code] methods." +"through code using the [code]shape_owner_*[/code] methods.\n" +"[b]Note:[/b] Only collisions between objects within the same canvas " +"([Viewport] canvas or [CanvasLayer]) are supported. The behavior of " +"collisions between objects in different canvases is undefined." msgstr "" #: doc/classes/CollisionObject2D.xml @@ -19657,9 +19684,8 @@ msgid "" "main font.\n" "DynamicFont uses the [url=https://www.freetype.org/]FreeType[/url] library " "for rasterization. Supported formats are TrueType ([code].ttf[/code]), " -"OpenType ([code].otf[/code]) and Web Open Font Format 1 ([code].woff[/" -"code]). Web Open Font Format 2 ([code].woff2[/code]) is [i]not[/i] " -"supported.\n" +"OpenType ([code].otf[/code]), Web Open Font Format 1 ([code].woff[/code]), " +"and Web Open Font Format 2 ([code].woff2[/code]).\n" "[codeblock]\n" "var dynamic_font = DynamicFont.new()\n" "dynamic_font.font_data = load(\"res://BarlowCondensed-Bold.ttf\")\n" @@ -20526,18 +20552,34 @@ msgid "" msgstr "" #: doc/classes/EditorInspector.xml -msgid "A tab used to edit properties of the selected node." +msgid "A control used to edit properties of an object." msgstr "" #: doc/classes/EditorInspector.xml msgid "" -"The editor inspector is by default located on the right-hand side of the " -"editor. It's used to edit the properties of the selected node. For example, " -"you can select a node such as [Sprite] then edit its transform through the " -"inspector tool. The editor inspector is an essential tool in the game " -"development workflow.\n" -"[b]Note:[/b] This class shouldn't be instantiated directly. Instead, access " -"the singleton using [method EditorInterface.get_inspector]." +"This is the control that implements property editing in the editor's " +"Settings dialogs, the Inspector dock, etc. To get the [EditorInspector] used " +"in the editor's Inspector dock, use [method EditorInterface.get_inspector].\n" +"[EditorInspector] will show properties in the same order as the array " +"returned by [method Object.get_property_list].\n" +"If a property's name is path-like (i.e. if it contains forward slashes), " +"[EditorInspector] will create nested sections for \"directories\" along the " +"path. For example, if a property is named [code]highlighting/gdscript/" +"node_path_color[/code], it will be shown as \"Node Path Color\" inside the " +"\"GDScript\" section nested inside the \"Highlighting\" section.\n" +"If a property has [constant @GlobalScope.PROPERTY_USAGE_GROUP] usage, it " +"will group subsequent properties whose name starts with the property's hint " +"string. The group ends when a property does not start with that hint string " +"or when a new group starts. An empty group name effectively ends the current " +"group. [EditorInspector] will create a top-level section for each group. For " +"example, if a property with group usage is named [code]Collide With[/code] " +"and its hint string is [code]collide_with_[/code], a subsequent " +"[code]collide_with_area[/code] property will be shown as \"Area\" inside the " +"\"Collide With\" section.\n" +"[b]Note:[/b] Unlike sections created from path-like property names, " +"[EditorInspector] won't capitalize the name for sections created from " +"groups. So properties with group usage usually use capitalized names instead " +"of snake_cased names." msgstr "" #: doc/classes/EditorInspector.xml @@ -21712,6 +21754,14 @@ msgid "" "[/codeblock]" msgstr "" +#: modules/gltf/doc_classes/EditorSceneImporterGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [EditorSceneImporterGLTF] within a script will cause an error in an " +"exported project." +msgstr "" + #: doc/classes/EditorScenePostImport.xml msgid "Post-processes scenes after import." msgstr "" @@ -22449,12 +22499,13 @@ msgstr "" #: doc/classes/EditorVCSInterface.xml msgid "" "Helper function to create a commit [Dictionary] item. [code]msg[/code] is " -"the commit message of the commit. [code]author[/code] is a human-readable " -"string containing the author's details, e.g. the email and name configured " -"in the VCS. [code]id[/code] is the identifier of the commit, in whichever " -"format your VCS may provide an identifier to commits. [code]date[/code] is " -"directly added to the commit item and displayed in the editor, and hence, it " -"shall be a well-formatted, human-readable date string." +"the commit message of the commit. [code]author[/code] is a single human-" +"readable string containing all the author's details, e.g. the email and name " +"configured in the VCS. [code]id[/code] is the identifier of the commit, in " +"whichever format your VCS may provide an identifier to commits. " +"[code]unix_timestamp[/code] is the UTC Unix timestamp of when the commit was " +"created. [code]offset_minutes[/code] is the timezone offset in minutes, " +"recorded from the system timezone where the commit was created." msgstr "" #: doc/classes/EditorVCSInterface.xml @@ -25608,6 +25659,50 @@ msgstr "" msgid "Represents the size of the [enum Subdiv] enum." msgstr "" +#: modules/gltf/doc_classes/GLTFAccessor.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAccessor] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFAnimation.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAnimation] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFBufferView.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFBufferView] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFCamera.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFCamera] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFDocument.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFDocument] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFLight.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFLight] within a script will cause an error in an exported project." +msgstr "" + #: modules/gltf/doc_classes/GLTFLight.xml msgid "" "The [Color] of the light. Defaults to white. A black color causes the light " @@ -25657,6 +25752,49 @@ msgid "" "and [DirectionalLight] respectively." msgstr "" +#: modules/gltf/doc_classes/GLTFMesh.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFMesh] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFNode.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFNode] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSkeleton.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSkeleton] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSpecGloss.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSpecGloss] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFState.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFState] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFTexture.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFTexture] within a script will cause an error in an exported project." +msgstr "" + #: modules/mono/doc_classes/GodotSharp.xml msgid "Bridge between Godot and the Mono runtime (Mono-enabled builds only)." msgstr "" @@ -29041,9 +29179,9 @@ msgid "" "Returns a value between 0 and 1 representing the raw intensity of the given " "action, ignoring the action's deadzone. In most cases, you should use " "[method get_action_strength] instead.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29053,9 +29191,9 @@ msgid "" "or L2, R2 triggers) is from the dead zone, the closer the value will be to " "1. If the action is mapped to a control that has no axis as the keyboard, " "the value returned will be 0 or 1.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29188,9 +29326,9 @@ msgid "" "the button.\n" "This is useful for code that needs to run only once when an action is " "pressed, instead of every frame while it's pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_just_pressed] may " "return [code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29202,9 +29340,9 @@ msgid "" "Returns [code]true[/code] when the user stops pressing the action event, " "meaning it's [code]true[/code] only on the frame that the user released the " "button.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29213,9 +29351,9 @@ msgid "" "an action has multiple buttons assigned and more than one of them is " "pressed, releasing one button will release the action, even if some other " "button assigned to this action is still pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29565,18 +29703,18 @@ msgstr "" msgid "" "Returns a value between 0.0 and 1.0 depending on the given actions' state. " "Useful for getting the value of events of type [InputEventJoypadMotion].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml msgid "" "Returns [code]true[/code] if this input event matches a pre-defined action " "of any type.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -29585,9 +29723,9 @@ msgid "" "an echo event for [InputEventKey] events, unless [code]allow_echo[/code] is " "[code]true[/code]). Not relevant for events of type [InputEventMouseMotion] " "or [InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events.\n" +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29599,9 +29737,9 @@ msgid "" "Returns [code]true[/code] if the given action is released (i.e. not " "pressed). Not relevant for events of type [InputEventMouseMotion] or " "[InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -29632,9 +29770,9 @@ msgid "" "event. Only valid for action events i.e key ([InputEventKey]), button " "([InputEventMouseButton] or [InputEventJoypadButton]), axis " "[InputEventJoypadMotion] or action ([InputEventAction]) events.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -30164,9 +30302,9 @@ msgid "" "This method ignores keyboard modifiers if the given [InputEvent] is not " "pressed (for proper release detection). See [method action_has_event] if you " "don't want this behavior.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputMap.xml @@ -32570,7 +32708,7 @@ msgid "" "be within the text's length." msgstr "" -#: doc/classes/LineEdit.xml +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml msgid "Clears the current selection." msgstr "" @@ -32589,6 +32727,18 @@ msgid "" "characters." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection begin column." +msgstr "" + +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection end column." +msgstr "" + +#: doc/classes/LineEdit.xml +msgid "Returns [code]true[/code] if the user has selected text." +msgstr "" + #: doc/classes/LineEdit.xml msgid "Executes a given action as defined in the [enum MenuItems] enum." msgstr "" @@ -34002,6 +34152,39 @@ msgid "Returns the number of surface materials." msgstr "" #: doc/classes/MeshInstance.xml +msgid "" +"Returns [code]true[/code] if this [MeshInstance] can be merged with the " +"specified [code]other_mesh_instance[/code], using the [method MeshInstance." +"merge_meshes] function.\n" +"In order to be mergeable, properties of the [MeshInstance] must match, and " +"each surface must match, in terms of material, attributes and vertex format." +msgstr "" + +#: doc/classes/MeshInstance.xml +msgid "" +"This function can merge together the data from several source " +"[MeshInstance]s into a single destination [MeshInstance] (the MeshInstance " +"the function is called from). This is primarily useful for improving " +"performance by reducing the number of drawcalls and [Node]s.\n" +"Merging should only be attempted for simple meshes that do not contain " +"animation.\n" +"The final vertices can either be returned in global space, or in local space " +"relative to the destination [MeshInstance] global transform (the destination " +"Node must be inside the [SceneTree] for local space to work).\n" +"The function will make a final check for compatibility between the " +"[MeshInstance]s by default, this should always be used unless you have " +"previously checked for compatibility using [method MeshInstance." +"is_mergeable_with]. If the compatibility check is omitted and the meshes are " +"merged, you may see rendering errors.\n" +"[b]Note:[/b] The requirements for similarity between meshes are quite " +"stringent. They can be checked using the [method MeshInstance." +"is_mergeable_with] function prior to calling [method MeshInstance." +"merge_meshes].\n" +"Also note that any initial data in the destination [MeshInstance] data will " +"be discarded." +msgstr "" + +#: doc/classes/MeshInstance.xml msgid "Sets the [Material] for a surface of the [Mesh] resource." msgstr "" @@ -36454,12 +36637,12 @@ msgid "" "[/codeblock]\n" "[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " "must set [member owner] in addition to calling [method add_child]. This is " -"typically relevant for [url=https://godot.readthedocs.io/en/3.2/tutorials/" -"misc/running_code_in_the_editor.html]tool scripts[/url] and [url=https://" -"godot.readthedocs.io/en/latest/tutorials/plugins/editor/index.html]editor " -"plugins[/url]. If [method add_child] is called without setting [member " -"owner], the newly added [Node] will not be visible in the scene tree, though " -"it will be visible in the 2D/3D view." +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37166,7 +37349,15 @@ msgid "" "valid parent, grandparent, etc. ascending in the tree). When saving a node " "(using [PackedScene]), all the nodes it owns will be saved with it. This " "allows for the creation of complex [SceneTree]s, with instancing and " -"subinstancing." +"subinstancing.\n" +"[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " +"must set [member owner] in addition to calling [method add_child]. This is " +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37762,7 +37953,13 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Called when the object is initialized." +msgid "" +"Called when the object is initialized in memory. Can be defined to take in " +"parameters, that are passed in when constructing.\n" +"[b]Note:[/b] If [method _init] is defined with required parameters, then " +"explicit construction is the only valid means of creating an Object of the " +"class. If any other means (such as [method PackedScene.instance]) is used, " +"then initialization will fail." msgstr "" #: doc/classes/Object.xml @@ -37958,7 +38155,10 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Returns the object's metadata entry for the given [code]name[/code]." +msgid "" +"Returns the object's metadata entry for the given [code]name[/code].\n" +"Throws error if the entry does not exist, unless [code]default[/code] is not " +"[code]null[/code] (in which case the default value will be returned)." msgstr "" #: doc/classes/Object.xml @@ -40166,6 +40366,14 @@ msgid "" "[b]Note:[/b] Only available in editor builds." msgstr "" +#: modules/gltf/doc_classes/PackedSceneGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [PackedSceneGLTF] within a script will cause an error in an exported " +"project." +msgstr "" + #: doc/classes/PacketPeer.xml msgid "Abstraction and base class for packet-based protocols." msgstr "" @@ -43006,7 +43214,10 @@ msgid "" msgstr "" #: doc/classes/PhysicsServer.xml -msgid "Returns an Info defined by the [enum ProcessInfo] input given." +msgid "" +"Returns information about the current state of the 3D physics engine. See " +"[enum ProcessInfo] for a list of available states. Only implemented for " +"Godot Physics." msgstr "" #: doc/classes/PhysicsServer.xml @@ -45866,7 +46077,7 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Allows the window to be resizable by default.\n" -"[b]Note:[/b] This setting is ignored on iOS and Android." +"[b]Note:[/b] This setting is ignored on iOS." msgstr "" #: doc/classes/ProjectSettings.xml @@ -46513,7 +46724,7 @@ msgid "Optional name for the 3D render layer 13." msgstr "" #: doc/classes/ProjectSettings.xml -msgid "Optional name for the 3D render layer 14" +msgid "Optional name for the 3D render layer 14." msgstr "" #: doc/classes/ProjectSettings.xml @@ -47783,16 +47994,24 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" -"If [code]true[/code], forces vertex shading for all rendering. This can " -"increase performance a lot, but also reduces quality immensely. Can be used " -"to optimize performance on low-end mobile devices." +"If [code]true[/code], forces vertex shading for all 3D [SpatialMaterial] and " +"[ShaderMaterial] rendering. This can be used to improve performance on low-" +"end mobile devices. The downside is that shading becomes much less accurate, " +"with visible linear interpolation between vertices that are joined together. " +"This can be compensated by ensuring meshes have a sufficient level of " +"subdivision (but not too much, to avoid reducing performance). Some material " +"features are also not supported when vertex shading is enabled.\n" +"See also [member SpatialMaterial.flags_vertex_lighting] which can be used to " +"enable vertex shading on specific materials only.\n" +"[b]Note:[/b] This setting does not affect unshaded materials." msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Lower-end override for [member rendering/quality/shading/" "force_vertex_shading] on mobile devices, due to performance concerns or " -"driver support." +"driver support. If lighting looks broken after exporting the project to a " +"mobile platform, try disabling this setting." msgstr "" #: doc/classes/ProjectSettings.xml @@ -49828,6 +50047,10 @@ msgid "" msgstr "" #: doc/classes/RichTextLabel.xml +msgid "Returns the current selection text. Does not include BBCodes." +msgstr "" + +#: doc/classes/RichTextLabel.xml msgid "" "Returns the total number of characters from text tags. Does not include " "BBCodes." @@ -52119,14 +52342,23 @@ msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Lowers the [Semaphore], allowing one more thread in. Returns [constant OK] " -"on success, [constant ERR_BUSY] otherwise." +"Lowers the [Semaphore], allowing one more thread in.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Tries to wait for the [Semaphore], if its value is zero, blocks until non-" -"zero. Returns [constant OK] on success, [constant ERR_BUSY] otherwise." +"Like [method wait], but won't block, so if the value is zero, fails " +"immediately and returns [constant ERR_BUSY]. If non-zero, it returns " +"[constant OK] to report success." +msgstr "" + +#: doc/classes/Semaphore.xml +msgid "" +"Waits for the [Semaphore], if its value is zero, blocks until non-zero.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Separator.xml @@ -53572,7 +53804,21 @@ msgstr "" #: doc/classes/SpatialMaterial.xml msgid "" "If [code]true[/code], lighting is calculated per vertex rather than per " -"pixel. This may increase performance on low-end devices." +"pixel. This may increase performance on low-end devices, especially for " +"meshes with a lower polygon count. The downside is that shading becomes much " +"less accurate, with visible linear interpolation between vertices that are " +"joined together. This can be compensated by ensuring meshes have a " +"sufficient level of subdivision (but not too much, to avoid reducing " +"performance). Some material features are also not supported when vertex " +"shading is enabled.\n" +"See also [member ProjectSettings.rendering/quality/shading/" +"force_vertex_shading] which can globally enable vertex shading on all " +"materials.\n" +"[b]Note:[/b] By default, vertex shading is enforced on mobile platforms by " +"[member ProjectSettings.rendering/quality/shading/force_vertex_shading]'s " +"[code]mobile[/code] override.\n" +"[b]Note:[/b] [member flags_vertex_lighting] has no effect if [member " +"flags_unshaded] is [code]true[/code]." msgstr "" #: doc/classes/SpatialMaterial.xml @@ -54376,7 +54622,10 @@ msgid "" "the text alignment to right.\n" "See [Range] class for more options over the [SpinBox].\n" "[b]Note:[/b] [SpinBox] relies on an underlying [LineEdit] node. To theme a " -"[SpinBox]'s background, add theme items for [LineEdit] and customize them." +"[SpinBox]'s background, add theme items for [LineEdit] and customize them.\n" +"[b]Note:[/b] If you want to implement drag and drop for the underlying " +"[LineEdit], you can use [method Control.set_drag_forwarding] on the node " +"returned by [method get_line_edit]." msgstr "" #: doc/classes/SpinBox.xml @@ -55694,7 +55943,6 @@ msgid "" "print(\"1.7\".is_valid_float()) # Prints \"True\"\n" "print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"7e3\".is_valid_float()) # Prints \"True\"\n" -"print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55931,8 +56179,8 @@ msgid "" "var some_string = \"One,Two,Three,Four\"\n" "var some_array = some_string.rsplit(\",\", true, 1)\n" "print(some_array.size()) # Prints 2\n" -"print(some_array[0]) # Prints \"Four\"\n" -"print(some_array[1]) # Prints \"Three,Two,One\"\n" +"print(some_array[0]) # Prints \"One,Two,Three\"\n" +"print(some_array[1]) # Prints \"Four\"\n" "[/codeblock]" msgstr "" @@ -55965,9 +56213,9 @@ msgstr "" #: doc/classes/String.xml msgid "" "Returns the similarity index ([url=https://en.wikipedia.org/wiki/" -"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) this " -"string compared to another. 1.0 means totally similar and 0.0 means totally " -"dissimilar.\n" +"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) of " +"this string compared to another. A result of 1.0 means totally similar, " +"while 0.0 means totally dissimilar.\n" "[codeblock]\n" "print(\"ABC123\".similarity(\"ABC123\")) # Prints \"1\"\n" "print(\"ABC123\".similarity(\"XYZ456\")) # Prints \"0\"\n" @@ -57438,10 +57686,6 @@ msgid "" msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection begin column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection begin line." msgstr "" @@ -57450,10 +57694,6 @@ msgid "Returns the text inside the selection." msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection end column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection end line." msgstr "" @@ -58474,6 +58714,14 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Adds an empty theme type for every valid data type.\n" +"[b]Note:[/b] Empty types are not saved with the theme. This method only " +"exists to perform in-memory changes to the resource. Use available " +"[code]set_*[/code] methods to add theme items." +msgstr "" + +#: doc/classes/Theme.xml msgid "Clears all values on the theme." msgstr "" @@ -58733,6 +58981,13 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Removes the theme type, gracefully discarding defined theme items. If the " +"type is a variation, this information is also erased. If the type is a base " +"for type variations, those variations lose their base." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Renames the [Color] at [code]old_name[/code] to [code]name[/code] if the " "theme has [code]node_type[/code]. If [code]name[/code] is already taken, " "this method fails." @@ -71426,6 +71681,11 @@ msgid "" msgstr "" #: modules/websocket/doc_classes/WebSocketServer.xml +msgid "" +"Sets additional headers to be sent to clients during the HTTP handshake." +msgstr "" + +#: modules/websocket/doc_classes/WebSocketServer.xml msgid "Stops the server and clear its state." msgstr "" @@ -71521,6 +71781,9 @@ msgid "" "\n" " webxr_interface = ARVRServer.find_interface(\"WebXR\")\n" " if webxr_interface:\n" +" # Map to the standard button/axis ids when possible.\n" +" webxr_interface.xr_standard_mapping = true\n" +"\n" " # WebXR uses a lot of asynchronous callbacks, so we connect to " "various\n" " # signals in order to receive them.\n" @@ -71746,6 +72009,13 @@ msgstr "" #: modules/webxr/doc_classes/WebXRInterface.xml msgid "" +"If set to true, the button and axes ids will be converted to match the " +"standard ids used by other AR/VR interfaces, when possible.\n" +"Otherwise, the ids will be passed through unaltered from WebXR." +msgstr "" + +#: modules/webxr/doc_classes/WebXRInterface.xml +msgid "" "Emitted to indicate that the reference space has been reset or " "reconfigured.\n" "When (or whether) this is emitted depends on the user's browser or device, " diff --git a/doc/translations/pl.po b/doc/translations/pl.po index 45e9c8d39c..f061c11aff 100644 --- a/doc/translations/pl.po +++ b/doc/translations/pl.po @@ -21,12 +21,13 @@ # Piotr <promantix@gmail.com>, 2022. # lewando54 <lewando54@gmail.com>, 2022. # Katarzyna Twardowska <katarina.twardowska@gmail.com>, 2022. +# Mateusz Zdrzałek <matjozohd@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-03-08 06:54+0000\n" -"Last-Translator: Katarzyna Twardowska <katarina.twardowska@gmail.com>\n" +"PO-Revision-Date: 2022-03-21 22:22+0000\n" +"Last-Translator: Mateusz Zdrzałek <matjozohd@gmail.com>\n" "Language-Team: Polish <https://hosted.weblate.org/projects/godot-engine/" "godot-class-reference/pl/>\n" "Language: pl\n" @@ -78,9 +79,8 @@ msgid "Method Descriptions" msgstr "Opisy metod" #: doc/tools/make_rst.py -#, fuzzy msgid "Theme Property Descriptions" -msgstr "Opisy właściwości" +msgstr "Opisy właściwości motywu" #: doc/tools/make_rst.py msgid "Inherits:" @@ -92,11 +92,11 @@ msgstr "Dziedziczone przez:" #: doc/tools/make_rst.py msgid "(overrides %s)" -msgstr "" +msgstr "(nadpisuje %s)" #: doc/tools/make_rst.py msgid "Default" -msgstr "" +msgstr "Domyślny" #: doc/tools/make_rst.py msgid "Setter" @@ -108,7 +108,7 @@ msgstr "wartość" #: doc/tools/make_rst.py msgid "Getter" -msgstr "" +msgstr "Getter" #: doc/tools/make_rst.py msgid "" @@ -127,10 +127,11 @@ msgstr "" msgid "" "This method accepts any number of arguments after the ones described here." msgstr "" +"Ta funkcja przyjmują dowolną liczbę argumentów po tych opisanych tutaj." #: doc/tools/make_rst.py msgid "This method is used to construct a type." -msgstr "" +msgstr "Ta metoda jest używana do konstruowania typu." #: doc/tools/make_rst.py msgid "" @@ -145,6 +146,8 @@ msgid "" "This method describes a valid operator to use with this type as left-hand " "operand." msgstr "" +"Ta metoda opisuje prawidłowy operator do użycia z tym typem jako operand po " +"lewej stronie." #: modules/gdscript/doc_classes/@GDScript.xml msgid "Built-in GDScript functions." @@ -3796,8 +3799,12 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" "Hints that an integer, float or string property is an enumerated value to " -"pick in a list specified via a hint string such as [code]\"Hello,Something," -"Else\"[/code]." +"pick in a list specified via a hint string.\n" +"The hint string is a comma separated list of names such as [code]\"Hello," +"Something,Else\"[/code]. For integer and float properties, the first name in " +"the list has value 0, the next 1, and so on. Explicit values can also be " +"specified by appending [code]:integer[/code] to the name, e.g. [code]\"Zero," +"One,Three:3,Four,Six:6\"[/code]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -3938,7 +3945,7 @@ msgid "The property is a translatable string." msgstr "" #: doc/classes/@GlobalScope.xml -msgid "Used to group properties together in the editor." +msgid "Used to group properties together in the editor. See [EditorInspector]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -5711,8 +5718,11 @@ msgstr "" #: doc/classes/AnimationNodeBlendTree.xml msgid "" -"This node may contain a sub-tree of any other blend type nodes, such as mix, " -"blend2, blend3, one shot, etc. This is one of the most commonly used roots." +"This node may contain a sub-tree of any other blend type nodes, such as " +"[AnimationNodeTransition], [AnimationNodeBlend2], [AnimationNodeBlend3], " +"[AnimationNodeOneShot], etc. This is one of the most commonly used roots.\n" +"An [AnimationNodeOutput] node named [code]output[/code] is created by " +"default." msgstr "" #: doc/classes/AnimationNodeBlendTree.xml @@ -7462,8 +7472,9 @@ msgstr "" #: doc/classes/Array.xml msgid "" -"Removes the first occurrence of a value from the array. To remove an element " -"by index, use [method remove] instead.\n" +"Removes the first occurrence of a value from the array. If the value does " +"not exist in the array, nothing happens. To remove an element by index, use " +"[method remove] instead.\n" "[b]Note:[/b] This method acts in-place and doesn't return a value.\n" "[b]Note:[/b] On large arrays, this method will be slower if the removed " "element is close to the beginning of the array (index 0). This is because " @@ -10840,8 +10851,15 @@ msgstr "" #: doc/classes/BakedLightmap.xml msgid "" -"When enabled, the lightmapper will merge the textures for all meshes into a " -"single large layered texture. Not supported in GLES2." +"If [code]true[/code], the lightmapper will merge the textures for all meshes " +"into one or several large layered textures. If [code]false[/code], every " +"mesh will get its own lightmap texture, which is less efficient.\n" +"[b]Note:[/b] Atlas lightmap rendering is only supported in GLES3, [i]not[/i] " +"GLES2. Non-atlas lightmap rendering is supported by both GLES3 and GLES2. If " +"[member ProjectSettings.rendering/quality/driver/fallback_to_gles2] is " +"[code]true[/code], consider baking lightmaps with [member atlas_generate] " +"set to [code]false[/code] so that the resulting lightmap is visible in both " +"GLES3 and GLES2." msgstr "" #: doc/classes/BakedLightmap.xml @@ -12187,8 +12205,8 @@ msgstr "" #: doc/classes/Camera.xml msgid "" "The camera's size measured as 1/2 the width or height. Only applicable in " -"orthogonal mode. Since [member keep_aspect] locks on axis, [code]size[/code] " -"sets the other axis' size length." +"orthogonal and frustum modes. Since [member keep_aspect] locks on axis, " +"[code]size[/code] sets the other axis' size length." msgstr "" #: doc/classes/Camera.xml @@ -12997,20 +13015,24 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], the node won't inherit its " -"transform from parent canvas items." +"If [code]enable[/code] is [code]true[/code], this [CanvasItem] will [i]not[/" +"i] inherit its transform from parent [CanvasItem]s. Its draw order will also " +"be changed to make it draw on top of other [CanvasItem]s that are not set as " +"top-level. The [CanvasItem] will effectively act as if it was placed as a " +"child of a bare [Node]. See also [method is_set_as_toplevel]." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"local transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_LOCAL_TRANSFORM_CHANGED] when its local transform " +"changes." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"global transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_TRANSFORM_CHANGED] when its global transform changes." msgstr "" #: doc/classes/CanvasItem.xml @@ -13124,9 +13146,14 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"The [CanvasItem]'s transform has changed. This notification is only received " -"if enabled by [method set_notify_transform] or [method " -"set_notify_local_transform]." +"The [CanvasItem]'s global transform has changed. This notification is only " +"received if enabled by [method set_notify_transform]." +msgstr "" + +#: doc/classes/CanvasItem.xml +msgid "" +"The [CanvasItem]'s local transform has changed. This notification is only " +"received if enabled by [method set_notify_local_transform]." msgstr "" #: doc/classes/CanvasItem.xml @@ -14082,7 +14109,10 @@ msgid "" "number of 2D collision [Shape2D]s. Each shape must be assigned to a [i]shape " "owner[/i]. The CollisionObject2D can have any number of shape owners. Shape " "owners are not nodes and do not appear in the editor, but are accessible " -"through code using the [code]shape_owner_*[/code] methods." +"through code using the [code]shape_owner_*[/code] methods.\n" +"[b]Note:[/b] Only collisions between objects within the same canvas " +"([Viewport] canvas or [CanvasLayer]) are supported. The behavior of " +"collisions between objects in different canvases is undefined." msgstr "" #: doc/classes/CollisionObject2D.xml @@ -20109,9 +20139,8 @@ msgid "" "main font.\n" "DynamicFont uses the [url=https://www.freetype.org/]FreeType[/url] library " "for rasterization. Supported formats are TrueType ([code].ttf[/code]), " -"OpenType ([code].otf[/code]) and Web Open Font Format 1 ([code].woff[/" -"code]). Web Open Font Format 2 ([code].woff2[/code]) is [i]not[/i] " -"supported.\n" +"OpenType ([code].otf[/code]), Web Open Font Format 1 ([code].woff[/code]), " +"and Web Open Font Format 2 ([code].woff2[/code]).\n" "[codeblock]\n" "var dynamic_font = DynamicFont.new()\n" "dynamic_font.font_data = load(\"res://BarlowCondensed-Bold.ttf\")\n" @@ -20978,18 +21007,34 @@ msgid "" msgstr "" #: doc/classes/EditorInspector.xml -msgid "A tab used to edit properties of the selected node." +msgid "A control used to edit properties of an object." msgstr "" #: doc/classes/EditorInspector.xml msgid "" -"The editor inspector is by default located on the right-hand side of the " -"editor. It's used to edit the properties of the selected node. For example, " -"you can select a node such as [Sprite] then edit its transform through the " -"inspector tool. The editor inspector is an essential tool in the game " -"development workflow.\n" -"[b]Note:[/b] This class shouldn't be instantiated directly. Instead, access " -"the singleton using [method EditorInterface.get_inspector]." +"This is the control that implements property editing in the editor's " +"Settings dialogs, the Inspector dock, etc. To get the [EditorInspector] used " +"in the editor's Inspector dock, use [method EditorInterface.get_inspector].\n" +"[EditorInspector] will show properties in the same order as the array " +"returned by [method Object.get_property_list].\n" +"If a property's name is path-like (i.e. if it contains forward slashes), " +"[EditorInspector] will create nested sections for \"directories\" along the " +"path. For example, if a property is named [code]highlighting/gdscript/" +"node_path_color[/code], it will be shown as \"Node Path Color\" inside the " +"\"GDScript\" section nested inside the \"Highlighting\" section.\n" +"If a property has [constant @GlobalScope.PROPERTY_USAGE_GROUP] usage, it " +"will group subsequent properties whose name starts with the property's hint " +"string. The group ends when a property does not start with that hint string " +"or when a new group starts. An empty group name effectively ends the current " +"group. [EditorInspector] will create a top-level section for each group. For " +"example, if a property with group usage is named [code]Collide With[/code] " +"and its hint string is [code]collide_with_[/code], a subsequent " +"[code]collide_with_area[/code] property will be shown as \"Area\" inside the " +"\"Collide With\" section.\n" +"[b]Note:[/b] Unlike sections created from path-like property names, " +"[EditorInspector] won't capitalize the name for sections created from " +"groups. So properties with group usage usually use capitalized names instead " +"of snake_cased names." msgstr "" #: doc/classes/EditorInspector.xml @@ -22167,6 +22212,14 @@ msgid "" "[/codeblock]" msgstr "" +#: modules/gltf/doc_classes/EditorSceneImporterGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [EditorSceneImporterGLTF] within a script will cause an error in an " +"exported project." +msgstr "" + #: doc/classes/EditorScenePostImport.xml msgid "Post-processes scenes after import." msgstr "" @@ -22905,12 +22958,13 @@ msgstr "" #: doc/classes/EditorVCSInterface.xml msgid "" "Helper function to create a commit [Dictionary] item. [code]msg[/code] is " -"the commit message of the commit. [code]author[/code] is a human-readable " -"string containing the author's details, e.g. the email and name configured " -"in the VCS. [code]id[/code] is the identifier of the commit, in whichever " -"format your VCS may provide an identifier to commits. [code]date[/code] is " -"directly added to the commit item and displayed in the editor, and hence, it " -"shall be a well-formatted, human-readable date string." +"the commit message of the commit. [code]author[/code] is a single human-" +"readable string containing all the author's details, e.g. the email and name " +"configured in the VCS. [code]id[/code] is the identifier of the commit, in " +"whichever format your VCS may provide an identifier to commits. " +"[code]unix_timestamp[/code] is the UTC Unix timestamp of when the commit was " +"created. [code]offset_minutes[/code] is the timezone offset in minutes, " +"recorded from the system timezone where the commit was created." msgstr "" #: doc/classes/EditorVCSInterface.xml @@ -26069,6 +26123,50 @@ msgstr "" msgid "Represents the size of the [enum Subdiv] enum." msgstr "" +#: modules/gltf/doc_classes/GLTFAccessor.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAccessor] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFAnimation.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAnimation] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFBufferView.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFBufferView] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFCamera.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFCamera] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFDocument.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFDocument] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFLight.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFLight] within a script will cause an error in an exported project." +msgstr "" + #: modules/gltf/doc_classes/GLTFLight.xml msgid "" "The [Color] of the light. Defaults to white. A black color causes the light " @@ -26118,6 +26216,49 @@ msgid "" "and [DirectionalLight] respectively." msgstr "" +#: modules/gltf/doc_classes/GLTFMesh.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFMesh] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFNode.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFNode] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSkeleton.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSkeleton] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSpecGloss.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSpecGloss] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFState.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFState] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFTexture.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFTexture] within a script will cause an error in an exported project." +msgstr "" + #: modules/mono/doc_classes/GodotSharp.xml msgid "Bridge between Godot and the Mono runtime (Mono-enabled builds only)." msgstr "" @@ -29517,9 +29658,9 @@ msgid "" "Returns a value between 0 and 1 representing the raw intensity of the given " "action, ignoring the action's deadzone. In most cases, you should use " "[method get_action_strength] instead.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29529,9 +29670,9 @@ msgid "" "or L2, R2 triggers) is from the dead zone, the closer the value will be to " "1. If the action is mapped to a control that has no axis as the keyboard, " "the value returned will be 0 or 1.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29664,9 +29805,9 @@ msgid "" "the button.\n" "This is useful for code that needs to run only once when an action is " "pressed, instead of every frame while it's pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_just_pressed] may " "return [code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29678,9 +29819,9 @@ msgid "" "Returns [code]true[/code] when the user stops pressing the action event, " "meaning it's [code]true[/code] only on the frame that the user released the " "button.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29689,9 +29830,9 @@ msgid "" "an action has multiple buttons assigned and more than one of them is " "pressed, releasing one button will release the action, even if some other " "button assigned to this action is still pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -30041,18 +30182,18 @@ msgstr "" msgid "" "Returns a value between 0.0 and 1.0 depending on the given actions' state. " "Useful for getting the value of events of type [InputEventJoypadMotion].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml msgid "" "Returns [code]true[/code] if this input event matches a pre-defined action " "of any type.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -30061,9 +30202,9 @@ msgid "" "an echo event for [InputEventKey] events, unless [code]allow_echo[/code] is " "[code]true[/code]). Not relevant for events of type [InputEventMouseMotion] " "or [InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events.\n" +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -30075,9 +30216,9 @@ msgid "" "Returns [code]true[/code] if the given action is released (i.e. not " "pressed). Not relevant for events of type [InputEventMouseMotion] or " "[InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -30108,9 +30249,9 @@ msgid "" "event. Only valid for action events i.e key ([InputEventKey]), button " "([InputEventMouseButton] or [InputEventJoypadButton]), axis " "[InputEventJoypadMotion] or action ([InputEventAction]) events.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -30641,9 +30782,9 @@ msgid "" "This method ignores keyboard modifiers if the given [InputEvent] is not " "pressed (for proper release detection). See [method action_has_event] if you " "don't want this behavior.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputMap.xml @@ -33059,7 +33200,7 @@ msgid "" "be within the text's length." msgstr "" -#: doc/classes/LineEdit.xml +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml msgid "Clears the current selection." msgstr "" @@ -33078,6 +33219,21 @@ msgid "" "characters." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection begin column." +msgstr "" + +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection end column." +msgstr "" + +#: doc/classes/LineEdit.xml +#, fuzzy +msgid "Returns [code]true[/code] if the user has selected text." +msgstr "" +"Jeśli [code]true[/code], potomne węzły są sortowane. W innym przypadku jest " +"wyłączone." + #: doc/classes/LineEdit.xml msgid "Executes a given action as defined in the [enum MenuItems] enum." msgstr "" @@ -34494,6 +34650,39 @@ msgid "Returns the number of surface materials." msgstr "" #: doc/classes/MeshInstance.xml +msgid "" +"Returns [code]true[/code] if this [MeshInstance] can be merged with the " +"specified [code]other_mesh_instance[/code], using the [method MeshInstance." +"merge_meshes] function.\n" +"In order to be mergeable, properties of the [MeshInstance] must match, and " +"each surface must match, in terms of material, attributes and vertex format." +msgstr "" + +#: doc/classes/MeshInstance.xml +msgid "" +"This function can merge together the data from several source " +"[MeshInstance]s into a single destination [MeshInstance] (the MeshInstance " +"the function is called from). This is primarily useful for improving " +"performance by reducing the number of drawcalls and [Node]s.\n" +"Merging should only be attempted for simple meshes that do not contain " +"animation.\n" +"The final vertices can either be returned in global space, or in local space " +"relative to the destination [MeshInstance] global transform (the destination " +"Node must be inside the [SceneTree] for local space to work).\n" +"The function will make a final check for compatibility between the " +"[MeshInstance]s by default, this should always be used unless you have " +"previously checked for compatibility using [method MeshInstance." +"is_mergeable_with]. If the compatibility check is omitted and the meshes are " +"merged, you may see rendering errors.\n" +"[b]Note:[/b] The requirements for similarity between meshes are quite " +"stringent. They can be checked using the [method MeshInstance." +"is_mergeable_with] function prior to calling [method MeshInstance." +"merge_meshes].\n" +"Also note that any initial data in the destination [MeshInstance] data will " +"be discarded." +msgstr "" + +#: doc/classes/MeshInstance.xml msgid "Sets the [Material] for a surface of the [Mesh] resource." msgstr "" @@ -36837,7 +37026,7 @@ msgstr "" #: doc/classes/Node.xml msgid "Nodes and Scenes" -msgstr "Węzły i Sceny" +msgstr "Węzły i sceny" #: doc/classes/Node.xml msgid "All Demos" @@ -36989,12 +37178,12 @@ msgid "" "[/codeblock]\n" "[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " "must set [member owner] in addition to calling [method add_child]. This is " -"typically relevant for [url=https://godot.readthedocs.io/en/3.2/tutorials/" -"misc/running_code_in_the_editor.html]tool scripts[/url] and [url=https://" -"godot.readthedocs.io/en/latest/tutorials/plugins/editor/index.html]editor " -"plugins[/url]. If [method add_child] is called without setting [member " -"owner], the newly added [Node] will not be visible in the scene tree, though " -"it will be visible in the 2D/3D view." +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37701,7 +37890,15 @@ msgid "" "valid parent, grandparent, etc. ascending in the tree). When saving a node " "(using [PackedScene]), all the nodes it owns will be saved with it. This " "allows for the creation of complex [SceneTree]s, with instancing and " -"subinstancing." +"subinstancing.\n" +"[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " +"must set [member owner] in addition to calling [method add_child]. This is " +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -38297,7 +38494,13 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Called when the object is initialized." +msgid "" +"Called when the object is initialized in memory. Can be defined to take in " +"parameters, that are passed in when constructing.\n" +"[b]Note:[/b] If [method _init] is defined with required parameters, then " +"explicit construction is the only valid means of creating an Object of the " +"class. If any other means (such as [method PackedScene.instance]) is used, " +"then initialization will fail." msgstr "" #: doc/classes/Object.xml @@ -38493,7 +38696,10 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Returns the object's metadata entry for the given [code]name[/code]." +msgid "" +"Returns the object's metadata entry for the given [code]name[/code].\n" +"Throws error if the entry does not exist, unless [code]default[/code] is not " +"[code]null[/code] (in which case the default value will be returned)." msgstr "" #: doc/classes/Object.xml @@ -40727,6 +40933,14 @@ msgid "" "[b]Note:[/b] Only available in editor builds." msgstr "" +#: modules/gltf/doc_classes/PackedSceneGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [PackedSceneGLTF] within a script will cause an error in an exported " +"project." +msgstr "" + #: doc/classes/PacketPeer.xml msgid "Abstraction and base class for packet-based protocols." msgstr "" @@ -43584,7 +43798,10 @@ msgid "" msgstr "" #: doc/classes/PhysicsServer.xml -msgid "Returns an Info defined by the [enum ProcessInfo] input given." +msgid "" +"Returns information about the current state of the 3D physics engine. See " +"[enum ProcessInfo] for a list of available states. Only implemented for " +"Godot Physics." msgstr "" #: doc/classes/PhysicsServer.xml @@ -46451,7 +46668,7 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Allows the window to be resizable by default.\n" -"[b]Note:[/b] This setting is ignored on iOS and Android." +"[b]Note:[/b] This setting is ignored on iOS." msgstr "" #: doc/classes/ProjectSettings.xml @@ -47098,7 +47315,7 @@ msgid "Optional name for the 3D render layer 13." msgstr "" #: doc/classes/ProjectSettings.xml -msgid "Optional name for the 3D render layer 14" +msgid "Optional name for the 3D render layer 14." msgstr "" #: doc/classes/ProjectSettings.xml @@ -48368,16 +48585,24 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" -"If [code]true[/code], forces vertex shading for all rendering. This can " -"increase performance a lot, but also reduces quality immensely. Can be used " -"to optimize performance on low-end mobile devices." +"If [code]true[/code], forces vertex shading for all 3D [SpatialMaterial] and " +"[ShaderMaterial] rendering. This can be used to improve performance on low-" +"end mobile devices. The downside is that shading becomes much less accurate, " +"with visible linear interpolation between vertices that are joined together. " +"This can be compensated by ensuring meshes have a sufficient level of " +"subdivision (but not too much, to avoid reducing performance). Some material " +"features are also not supported when vertex shading is enabled.\n" +"See also [member SpatialMaterial.flags_vertex_lighting] which can be used to " +"enable vertex shading on specific materials only.\n" +"[b]Note:[/b] This setting does not affect unshaded materials." msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Lower-end override for [member rendering/quality/shading/" "force_vertex_shading] on mobile devices, due to performance concerns or " -"driver support." +"driver support. If lighting looks broken after exporting the project to a " +"mobile platform, try disabling this setting." msgstr "" #: doc/classes/ProjectSettings.xml @@ -50421,6 +50646,11 @@ msgid "" msgstr "" #: doc/classes/RichTextLabel.xml +#, fuzzy +msgid "Returns the current selection text. Does not include BBCodes." +msgstr "Zwraca obecną długość spring arm." + +#: doc/classes/RichTextLabel.xml msgid "" "Returns the total number of characters from text tags. Does not include " "BBCodes." @@ -52715,14 +52945,23 @@ msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Lowers the [Semaphore], allowing one more thread in. Returns [constant OK] " -"on success, [constant ERR_BUSY] otherwise." +"Lowers the [Semaphore], allowing one more thread in.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." +msgstr "" + +#: doc/classes/Semaphore.xml +msgid "" +"Like [method wait], but won't block, so if the value is zero, fails " +"immediately and returns [constant ERR_BUSY]. If non-zero, it returns " +"[constant OK] to report success." msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Tries to wait for the [Semaphore], if its value is zero, blocks until non-" -"zero. Returns [constant OK] on success, [constant ERR_BUSY] otherwise." +"Waits for the [Semaphore], if its value is zero, blocks until non-zero.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Separator.xml @@ -54169,7 +54408,21 @@ msgstr "" #: doc/classes/SpatialMaterial.xml msgid "" "If [code]true[/code], lighting is calculated per vertex rather than per " -"pixel. This may increase performance on low-end devices." +"pixel. This may increase performance on low-end devices, especially for " +"meshes with a lower polygon count. The downside is that shading becomes much " +"less accurate, with visible linear interpolation between vertices that are " +"joined together. This can be compensated by ensuring meshes have a " +"sufficient level of subdivision (but not too much, to avoid reducing " +"performance). Some material features are also not supported when vertex " +"shading is enabled.\n" +"See also [member ProjectSettings.rendering/quality/shading/" +"force_vertex_shading] which can globally enable vertex shading on all " +"materials.\n" +"[b]Note:[/b] By default, vertex shading is enforced on mobile platforms by " +"[member ProjectSettings.rendering/quality/shading/force_vertex_shading]'s " +"[code]mobile[/code] override.\n" +"[b]Note:[/b] [member flags_vertex_lighting] has no effect if [member " +"flags_unshaded] is [code]true[/code]." msgstr "" #: doc/classes/SpatialMaterial.xml @@ -54976,7 +55229,10 @@ msgid "" "the text alignment to right.\n" "See [Range] class for more options over the [SpinBox].\n" "[b]Note:[/b] [SpinBox] relies on an underlying [LineEdit] node. To theme a " -"[SpinBox]'s background, add theme items for [LineEdit] and customize them." +"[SpinBox]'s background, add theme items for [LineEdit] and customize them.\n" +"[b]Note:[/b] If you want to implement drag and drop for the underlying " +"[LineEdit], you can use [method Control.set_drag_forwarding] on the node " +"returned by [method get_line_edit]." msgstr "" #: doc/classes/SpinBox.xml @@ -56296,7 +56552,6 @@ msgid "" "print(\"1.7\".is_valid_float()) # Prints \"True\"\n" "print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"7e3\".is_valid_float()) # Prints \"True\"\n" -"print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -56533,8 +56788,8 @@ msgid "" "var some_string = \"One,Two,Three,Four\"\n" "var some_array = some_string.rsplit(\",\", true, 1)\n" "print(some_array.size()) # Prints 2\n" -"print(some_array[0]) # Prints \"Four\"\n" -"print(some_array[1]) # Prints \"Three,Two,One\"\n" +"print(some_array[0]) # Prints \"One,Two,Three\"\n" +"print(some_array[1]) # Prints \"Four\"\n" "[/codeblock]" msgstr "" @@ -56567,9 +56822,9 @@ msgstr "" #: doc/classes/String.xml msgid "" "Returns the similarity index ([url=https://en.wikipedia.org/wiki/" -"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) this " -"string compared to another. 1.0 means totally similar and 0.0 means totally " -"dissimilar.\n" +"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) of " +"this string compared to another. A result of 1.0 means totally similar, " +"while 0.0 means totally dissimilar.\n" "[codeblock]\n" "print(\"ABC123\".similarity(\"ABC123\")) # Prints \"1\"\n" "print(\"ABC123\".similarity(\"XYZ456\")) # Prints \"0\"\n" @@ -58045,10 +58300,6 @@ msgid "" msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection begin column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection begin line." msgstr "" @@ -58057,10 +58308,6 @@ msgid "Returns the text inside the selection." msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection end column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection end line." msgstr "" @@ -59090,6 +59337,14 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Adds an empty theme type for every valid data type.\n" +"[b]Note:[/b] Empty types are not saved with the theme. This method only " +"exists to perform in-memory changes to the resource. Use available " +"[code]set_*[/code] methods to add theme items." +msgstr "" + +#: doc/classes/Theme.xml msgid "Clears all values on the theme." msgstr "" @@ -59355,6 +59610,13 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Removes the theme type, gracefully discarding defined theme items. If the " +"type is a variation, this information is also erased. If the type is a base " +"for type variations, those variations lose their base." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Renames the [Color] at [code]old_name[/code] to [code]name[/code] if the " "theme has [code]node_type[/code]. If [code]name[/code] is already taken, " "this method fails." @@ -72101,6 +72363,11 @@ msgid "" msgstr "" #: modules/websocket/doc_classes/WebSocketServer.xml +msgid "" +"Sets additional headers to be sent to clients during the HTTP handshake." +msgstr "" + +#: modules/websocket/doc_classes/WebSocketServer.xml msgid "Stops the server and clear its state." msgstr "" @@ -72196,6 +72463,9 @@ msgid "" "\n" " webxr_interface = ARVRServer.find_interface(\"WebXR\")\n" " if webxr_interface:\n" +" # Map to the standard button/axis ids when possible.\n" +" webxr_interface.xr_standard_mapping = true\n" +"\n" " # WebXR uses a lot of asynchronous callbacks, so we connect to " "various\n" " # signals in order to receive them.\n" @@ -72421,6 +72691,13 @@ msgstr "" #: modules/webxr/doc_classes/WebXRInterface.xml msgid "" +"If set to true, the button and axes ids will be converted to match the " +"standard ids used by other AR/VR interfaces, when possible.\n" +"Otherwise, the ids will be passed through unaltered from WebXR." +msgstr "" + +#: modules/webxr/doc_classes/WebXRInterface.xml +msgid "" "Emitted to indicate that the reference space has been reset or " "reconfigured.\n" "When (or whether) this is emitted depends on the user's browser or device, " diff --git a/doc/translations/pt.po b/doc/translations/pt.po index 42b3a739f1..80deea8cce 100644 --- a/doc/translations/pt.po +++ b/doc/translations/pt.po @@ -6,12 +6,13 @@ # Reubens Sanders <reubensst@protonmail.com>, 2021. # ssantos <ssantos@web.de>, 2022. # Felipe SiFa <felipe@logus.digital>, 2022. +# Renu <ifpilucas@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-01-07 12:18+0000\n" -"Last-Translator: Felipe SiFa <felipe@logus.digital>\n" +"PO-Revision-Date: 2022-04-25 15:12+0000\n" +"Last-Translator: Renu <ifpilucas@gmail.com>\n" "Language-Team: Portuguese <https://hosted.weblate.org/projects/godot-engine/" "godot-class-reference/pt/>\n" "Language: pt\n" @@ -19,11 +20,11 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8-bit\n" "Plural-Forms: nplurals=2; plural=n > 1;\n" -"X-Generator: Weblate 4.10.1\n" +"X-Generator: Weblate 4.12.1-dev\n" #: doc/tools/make_rst.py msgid "Description" -msgstr "Descrição" +msgstr "“Descrição" #: doc/tools/make_rst.py msgid "Tutorials" @@ -112,13 +113,15 @@ msgstr "" #: doc/tools/make_rst.py msgid "This method is used to construct a type." -msgstr "" +msgstr "Este método é usado para construir um tipo." #: doc/tools/make_rst.py msgid "" "This method doesn't need an instance to be called, so it can be called " "directly using the class name." msgstr "" +"Este método não precisa de uma instância para ser chamando, de maneira que " +"pode ser chamado diretamente usando o nome da classe." #: doc/tools/make_rst.py msgid "" @@ -3931,7 +3934,7 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "File: Missing dependencies error." -msgstr "" +msgstr "Ficheiro: Erro faltam dependências." #: doc/classes/@GlobalScope.xml msgid "File: End of file (EOF) error." @@ -3987,7 +3990,7 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "Invalid parameter error." -msgstr "" +msgstr "Erro, parâmetro inválido." #: doc/classes/@GlobalScope.xml msgid "Already exists error." @@ -3995,15 +3998,15 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "Does not exist error." -msgstr "" +msgstr "Não há erro." #: doc/classes/@GlobalScope.xml msgid "Database: Read error." -msgstr "" +msgstr "Banco de dados: Erro de leitura." #: doc/classes/@GlobalScope.xml msgid "Database: Write error." -msgstr "" +msgstr "Banco de dados: Erro de escrita." #: doc/classes/@GlobalScope.xml msgid "Compilation failed error." @@ -4031,7 +4034,7 @@ msgstr "Erro de declaração inválida." #: doc/classes/@GlobalScope.xml msgid "Duplicate symbol error." -msgstr "" +msgstr "Erro de símbolo duplicado." #: doc/classes/@GlobalScope.xml msgid "Parse error." @@ -4043,7 +4046,7 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "Skip error." -msgstr "" +msgstr "Pular erro." #: doc/classes/@GlobalScope.xml msgid "Help error." @@ -4061,7 +4064,7 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "No hint for the edited property." -msgstr "" +msgstr "Não há sugestão para a propriedade editada." #: doc/classes/@GlobalScope.xml msgid "" @@ -4086,8 +4089,12 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" "Hints that an integer, float or string property is an enumerated value to " -"pick in a list specified via a hint string such as [code]\"Hello,Something," -"Else\"[/code]." +"pick in a list specified via a hint string.\n" +"The hint string is a comma separated list of names such as [code]\"Hello," +"Something,Else\"[/code]. For integer and float properties, the first name in " +"the list has value 0, the next 1, and so on. Explicit values can also be " +"specified by appending [code]:integer[/code] to the name, e.g. [code]\"Zero," +"One,Three:3,Four,Six:6\"[/code]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -4109,7 +4116,7 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "Deprecated hint, unused." -msgstr "" +msgstr "Dica defasada, não utilizada." #: doc/classes/@GlobalScope.xml msgid "" @@ -4228,8 +4235,9 @@ msgid "The property is a translatable string." msgstr "" #: doc/classes/@GlobalScope.xml -msgid "Used to group properties together in the editor." -msgstr "" +#, fuzzy +msgid "Used to group properties together in the editor. See [EditorInspector]." +msgstr "A propriedade pode ser checada no inspetor do editor." #: doc/classes/@GlobalScope.xml msgid "Used to categorize properties together in the editor." @@ -6009,9 +6017,13 @@ msgid "[AnimationTree] node resource that contains many blend type nodes." msgstr "" #: doc/classes/AnimationNodeBlendTree.xml +#, fuzzy msgid "" -"This node may contain a sub-tree of any other blend type nodes, such as mix, " -"blend2, blend3, one shot, etc. This is one of the most commonly used roots." +"This node may contain a sub-tree of any other blend type nodes, such as " +"[AnimationNodeTransition], [AnimationNodeBlend2], [AnimationNodeBlend3], " +"[AnimationNodeOneShot], etc. This is one of the most commonly used roots.\n" +"An [AnimationNodeOutput] node named [code]output[/code] is created by " +"default." msgstr "" "Este nó pode conter uma \"subárvore\" de qualquer outro tipo de nó de " "mistura, como mix, blend2, blend3, one shot, etc. Esta é uma das raízes mais " @@ -7760,8 +7772,9 @@ msgstr "" #: doc/classes/Array.xml msgid "" -"Removes the first occurrence of a value from the array. To remove an element " -"by index, use [method remove] instead.\n" +"Removes the first occurrence of a value from the array. If the value does " +"not exist in the array, nothing happens. To remove an element by index, use " +"[method remove] instead.\n" "[b]Note:[/b] This method acts in-place and doesn't return a value.\n" "[b]Note:[/b] On large arrays, this method will be slower if the removed " "element is close to the beginning of the array (index 0). This is because " @@ -11137,8 +11150,15 @@ msgstr "" #: doc/classes/BakedLightmap.xml msgid "" -"When enabled, the lightmapper will merge the textures for all meshes into a " -"single large layered texture. Not supported in GLES2." +"If [code]true[/code], the lightmapper will merge the textures for all meshes " +"into one or several large layered textures. If [code]false[/code], every " +"mesh will get its own lightmap texture, which is less efficient.\n" +"[b]Note:[/b] Atlas lightmap rendering is only supported in GLES3, [i]not[/i] " +"GLES2. Non-atlas lightmap rendering is supported by both GLES3 and GLES2. If " +"[member ProjectSettings.rendering/quality/driver/fallback_to_gles2] is " +"[code]true[/code], consider baking lightmaps with [member atlas_generate] " +"set to [code]false[/code] so that the resulting lightmap is visible in both " +"GLES3 and GLES2." msgstr "" #: doc/classes/BakedLightmap.xml @@ -12486,8 +12506,8 @@ msgstr "" #: doc/classes/Camera.xml msgid "" "The camera's size measured as 1/2 the width or height. Only applicable in " -"orthogonal mode. Since [member keep_aspect] locks on axis, [code]size[/code] " -"sets the other axis' size length." +"orthogonal and frustum modes. Since [member keep_aspect] locks on axis, " +"[code]size[/code] sets the other axis' size length." msgstr "" #: doc/classes/Camera.xml @@ -13288,20 +13308,24 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], the node won't inherit its " -"transform from parent canvas items." +"If [code]enable[/code] is [code]true[/code], this [CanvasItem] will [i]not[/" +"i] inherit its transform from parent [CanvasItem]s. Its draw order will also " +"be changed to make it draw on top of other [CanvasItem]s that are not set as " +"top-level. The [CanvasItem] will effectively act as if it was placed as a " +"child of a bare [Node]. See also [method is_set_as_toplevel]." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"local transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_LOCAL_TRANSFORM_CHANGED] when its local transform " +"changes." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"global transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_TRANSFORM_CHANGED] when its global transform changes." msgstr "" #: doc/classes/CanvasItem.xml @@ -13419,9 +13443,14 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"The [CanvasItem]'s transform has changed. This notification is only received " -"if enabled by [method set_notify_transform] or [method " -"set_notify_local_transform]." +"The [CanvasItem]'s global transform has changed. This notification is only " +"received if enabled by [method set_notify_transform]." +msgstr "" + +#: doc/classes/CanvasItem.xml +msgid "" +"The [CanvasItem]'s local transform has changed. This notification is only " +"received if enabled by [method set_notify_local_transform]." msgstr "" #: doc/classes/CanvasItem.xml @@ -14395,7 +14424,10 @@ msgid "" "number of 2D collision [Shape2D]s. Each shape must be assigned to a [i]shape " "owner[/i]. The CollisionObject2D can have any number of shape owners. Shape " "owners are not nodes and do not appear in the editor, but are accessible " -"through code using the [code]shape_owner_*[/code] methods." +"through code using the [code]shape_owner_*[/code] methods.\n" +"[b]Note:[/b] Only collisions between objects within the same canvas " +"([Viewport] canvas or [CanvasLayer]) are supported. The behavior of " +"collisions between objects in different canvases is undefined." msgstr "" #: doc/classes/CollisionObject2D.xml @@ -20426,9 +20458,8 @@ msgid "" "main font.\n" "DynamicFont uses the [url=https://www.freetype.org/]FreeType[/url] library " "for rasterization. Supported formats are TrueType ([code].ttf[/code]), " -"OpenType ([code].otf[/code]) and Web Open Font Format 1 ([code].woff[/" -"code]). Web Open Font Format 2 ([code].woff2[/code]) is [i]not[/i] " -"supported.\n" +"OpenType ([code].otf[/code]), Web Open Font Format 1 ([code].woff[/code]), " +"and Web Open Font Format 2 ([code].woff2[/code]).\n" "[codeblock]\n" "var dynamic_font = DynamicFont.new()\n" "dynamic_font.font_data = load(\"res://BarlowCondensed-Bold.ttf\")\n" @@ -21295,18 +21326,34 @@ msgid "" msgstr "" #: doc/classes/EditorInspector.xml -msgid "A tab used to edit properties of the selected node." +msgid "A control used to edit properties of an object." msgstr "" #: doc/classes/EditorInspector.xml msgid "" -"The editor inspector is by default located on the right-hand side of the " -"editor. It's used to edit the properties of the selected node. For example, " -"you can select a node such as [Sprite] then edit its transform through the " -"inspector tool. The editor inspector is an essential tool in the game " -"development workflow.\n" -"[b]Note:[/b] This class shouldn't be instantiated directly. Instead, access " -"the singleton using [method EditorInterface.get_inspector]." +"This is the control that implements property editing in the editor's " +"Settings dialogs, the Inspector dock, etc. To get the [EditorInspector] used " +"in the editor's Inspector dock, use [method EditorInterface.get_inspector].\n" +"[EditorInspector] will show properties in the same order as the array " +"returned by [method Object.get_property_list].\n" +"If a property's name is path-like (i.e. if it contains forward slashes), " +"[EditorInspector] will create nested sections for \"directories\" along the " +"path. For example, if a property is named [code]highlighting/gdscript/" +"node_path_color[/code], it will be shown as \"Node Path Color\" inside the " +"\"GDScript\" section nested inside the \"Highlighting\" section.\n" +"If a property has [constant @GlobalScope.PROPERTY_USAGE_GROUP] usage, it " +"will group subsequent properties whose name starts with the property's hint " +"string. The group ends when a property does not start with that hint string " +"or when a new group starts. An empty group name effectively ends the current " +"group. [EditorInspector] will create a top-level section for each group. For " +"example, if a property with group usage is named [code]Collide With[/code] " +"and its hint string is [code]collide_with_[/code], a subsequent " +"[code]collide_with_area[/code] property will be shown as \"Area\" inside the " +"\"Collide With\" section.\n" +"[b]Note:[/b] Unlike sections created from path-like property names, " +"[EditorInspector] won't capitalize the name for sections created from " +"groups. So properties with group usage usually use capitalized names instead " +"of snake_cased names." msgstr "" #: doc/classes/EditorInspector.xml @@ -22483,6 +22530,14 @@ msgid "" "[/codeblock]" msgstr "" +#: modules/gltf/doc_classes/EditorSceneImporterGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [EditorSceneImporterGLTF] within a script will cause an error in an " +"exported project." +msgstr "" + #: doc/classes/EditorScenePostImport.xml msgid "Post-processes scenes after import." msgstr "" @@ -23225,12 +23280,13 @@ msgstr "" #: doc/classes/EditorVCSInterface.xml msgid "" "Helper function to create a commit [Dictionary] item. [code]msg[/code] is " -"the commit message of the commit. [code]author[/code] is a human-readable " -"string containing the author's details, e.g. the email and name configured " -"in the VCS. [code]id[/code] is the identifier of the commit, in whichever " -"format your VCS may provide an identifier to commits. [code]date[/code] is " -"directly added to the commit item and displayed in the editor, and hence, it " -"shall be a well-formatted, human-readable date string." +"the commit message of the commit. [code]author[/code] is a single human-" +"readable string containing all the author's details, e.g. the email and name " +"configured in the VCS. [code]id[/code] is the identifier of the commit, in " +"whichever format your VCS may provide an identifier to commits. " +"[code]unix_timestamp[/code] is the UTC Unix timestamp of when the commit was " +"created. [code]offset_minutes[/code] is the timezone offset in minutes, " +"recorded from the system timezone where the commit was created." msgstr "" #: doc/classes/EditorVCSInterface.xml @@ -26384,6 +26440,50 @@ msgstr "" msgid "Represents the size of the [enum Subdiv] enum." msgstr "" +#: modules/gltf/doc_classes/GLTFAccessor.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAccessor] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFAnimation.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAnimation] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFBufferView.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFBufferView] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFCamera.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFCamera] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFDocument.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFDocument] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFLight.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFLight] within a script will cause an error in an exported project." +msgstr "" + #: modules/gltf/doc_classes/GLTFLight.xml msgid "" "The [Color] of the light. Defaults to white. A black color causes the light " @@ -26433,6 +26533,49 @@ msgid "" "and [DirectionalLight] respectively." msgstr "" +#: modules/gltf/doc_classes/GLTFMesh.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFMesh] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFNode.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFNode] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSkeleton.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSkeleton] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSpecGloss.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSpecGloss] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFState.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFState] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFTexture.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFTexture] within a script will cause an error in an exported project." +msgstr "" + #: modules/mono/doc_classes/GodotSharp.xml msgid "Bridge between Godot and the Mono runtime (Mono-enabled builds only)." msgstr "" @@ -29818,9 +29961,9 @@ msgid "" "Returns a value between 0 and 1 representing the raw intensity of the given " "action, ignoring the action's deadzone. In most cases, you should use " "[method get_action_strength] instead.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29830,9 +29973,9 @@ msgid "" "or L2, R2 triggers) is from the dead zone, the closer the value will be to " "1. If the action is mapped to a control that has no axis as the keyboard, " "the value returned will be 0 or 1.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29965,9 +30108,9 @@ msgid "" "the button.\n" "This is useful for code that needs to run only once when an action is " "pressed, instead of every frame while it's pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_just_pressed] may " "return [code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29979,9 +30122,9 @@ msgid "" "Returns [code]true[/code] when the user stops pressing the action event, " "meaning it's [code]true[/code] only on the frame that the user released the " "button.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29990,9 +30133,9 @@ msgid "" "an action has multiple buttons assigned and more than one of them is " "pressed, releasing one button will release the action, even if some other " "button assigned to this action is still pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -30342,18 +30485,18 @@ msgstr "" msgid "" "Returns a value between 0.0 and 1.0 depending on the given actions' state. " "Useful for getting the value of events of type [InputEventJoypadMotion].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml msgid "" "Returns [code]true[/code] if this input event matches a pre-defined action " "of any type.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -30362,9 +30505,9 @@ msgid "" "an echo event for [InputEventKey] events, unless [code]allow_echo[/code] is " "[code]true[/code]). Not relevant for events of type [InputEventMouseMotion] " "or [InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events.\n" +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -30376,9 +30519,9 @@ msgid "" "Returns [code]true[/code] if the given action is released (i.e. not " "pressed). Not relevant for events of type [InputEventMouseMotion] or " "[InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -30409,9 +30552,9 @@ msgid "" "event. Only valid for action events i.e key ([InputEventKey]), button " "([InputEventMouseButton] or [InputEventJoypadButton]), axis " "[InputEventJoypadMotion] or action ([InputEventAction]) events.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -30945,9 +31088,9 @@ msgid "" "This method ignores keyboard modifiers if the given [InputEvent] is not " "pressed (for proper release detection). See [method action_has_event] if you " "don't want this behavior.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputMap.xml @@ -33351,7 +33494,7 @@ msgid "" "be within the text's length." msgstr "" -#: doc/classes/LineEdit.xml +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml msgid "Clears the current selection." msgstr "" @@ -33370,6 +33513,19 @@ msgid "" "characters." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection begin column." +msgstr "" + +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection end column." +msgstr "" + +#: doc/classes/LineEdit.xml +#, fuzzy +msgid "Returns [code]true[/code] if the user has selected text." +msgstr "Retorna [code]true[/code] se o script pode ser instanciado." + #: doc/classes/LineEdit.xml msgid "Executes a given action as defined in the [enum MenuItems] enum." msgstr "" @@ -34784,6 +34940,39 @@ msgid "Returns the number of surface materials." msgstr "" #: doc/classes/MeshInstance.xml +msgid "" +"Returns [code]true[/code] if this [MeshInstance] can be merged with the " +"specified [code]other_mesh_instance[/code], using the [method MeshInstance." +"merge_meshes] function.\n" +"In order to be mergeable, properties of the [MeshInstance] must match, and " +"each surface must match, in terms of material, attributes and vertex format." +msgstr "" + +#: doc/classes/MeshInstance.xml +msgid "" +"This function can merge together the data from several source " +"[MeshInstance]s into a single destination [MeshInstance] (the MeshInstance " +"the function is called from). This is primarily useful for improving " +"performance by reducing the number of drawcalls and [Node]s.\n" +"Merging should only be attempted for simple meshes that do not contain " +"animation.\n" +"The final vertices can either be returned in global space, or in local space " +"relative to the destination [MeshInstance] global transform (the destination " +"Node must be inside the [SceneTree] for local space to work).\n" +"The function will make a final check for compatibility between the " +"[MeshInstance]s by default, this should always be used unless you have " +"previously checked for compatibility using [method MeshInstance." +"is_mergeable_with]. If the compatibility check is omitted and the meshes are " +"merged, you may see rendering errors.\n" +"[b]Note:[/b] The requirements for similarity between meshes are quite " +"stringent. They can be checked using the [method MeshInstance." +"is_mergeable_with] function prior to calling [method MeshInstance." +"merge_meshes].\n" +"Also note that any initial data in the destination [MeshInstance] data will " +"be discarded." +msgstr "" + +#: doc/classes/MeshInstance.xml msgid "Sets the [Material] for a surface of the [Mesh] resource." msgstr "" @@ -37259,12 +37448,12 @@ msgid "" "[/codeblock]\n" "[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " "must set [member owner] in addition to calling [method add_child]. This is " -"typically relevant for [url=https://godot.readthedocs.io/en/3.2/tutorials/" -"misc/running_code_in_the_editor.html]tool scripts[/url] and [url=https://" -"godot.readthedocs.io/en/latest/tutorials/plugins/editor/index.html]editor " -"plugins[/url]. If [method add_child] is called without setting [member " -"owner], the newly added [Node] will not be visible in the scene tree, though " -"it will be visible in the 2D/3D view." +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37971,7 +38160,15 @@ msgid "" "valid parent, grandparent, etc. ascending in the tree). When saving a node " "(using [PackedScene]), all the nodes it owns will be saved with it. This " "allows for the creation of complex [SceneTree]s, with instancing and " -"subinstancing." +"subinstancing.\n" +"[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " +"must set [member owner] in addition to calling [method add_child]. This is " +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -38567,7 +38764,13 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Called when the object is initialized." +msgid "" +"Called when the object is initialized in memory. Can be defined to take in " +"parameters, that are passed in when constructing.\n" +"[b]Note:[/b] If [method _init] is defined with required parameters, then " +"explicit construction is the only valid means of creating an Object of the " +"class. If any other means (such as [method PackedScene.instance]) is used, " +"then initialization will fail." msgstr "" #: doc/classes/Object.xml @@ -38763,7 +38966,10 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Returns the object's metadata entry for the given [code]name[/code]." +msgid "" +"Returns the object's metadata entry for the given [code]name[/code].\n" +"Throws error if the entry does not exist, unless [code]default[/code] is not " +"[code]null[/code] (in which case the default value will be returned)." msgstr "" #: doc/classes/Object.xml @@ -40976,6 +41182,14 @@ msgid "" "[b]Note:[/b] Only available in editor builds." msgstr "" +#: modules/gltf/doc_classes/PackedSceneGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [PackedSceneGLTF] within a script will cause an error in an exported " +"project." +msgstr "" + #: doc/classes/PacketPeer.xml msgid "Abstraction and base class for packet-based protocols." msgstr "" @@ -43816,7 +44030,10 @@ msgid "" msgstr "" #: doc/classes/PhysicsServer.xml -msgid "Returns an Info defined by the [enum ProcessInfo] input given." +msgid "" +"Returns information about the current state of the 3D physics engine. See " +"[enum ProcessInfo] for a list of available states. Only implemented for " +"Godot Physics." msgstr "" #: doc/classes/PhysicsServer.xml @@ -46677,7 +46894,7 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Allows the window to be resizable by default.\n" -"[b]Note:[/b] This setting is ignored on iOS and Android." +"[b]Note:[/b] This setting is ignored on iOS." msgstr "" #: doc/classes/ProjectSettings.xml @@ -47324,7 +47541,8 @@ msgid "Optional name for the 3D render layer 13." msgstr "Nome opcional para a camada 13 da renderização 3D." #: doc/classes/ProjectSettings.xml -msgid "Optional name for the 3D render layer 14" +#, fuzzy +msgid "Optional name for the 3D render layer 14." msgstr "Nome opcional para a camada 14 da renderização 3D" #: doc/classes/ProjectSettings.xml @@ -48594,16 +48812,24 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" -"If [code]true[/code], forces vertex shading for all rendering. This can " -"increase performance a lot, but also reduces quality immensely. Can be used " -"to optimize performance on low-end mobile devices." +"If [code]true[/code], forces vertex shading for all 3D [SpatialMaterial] and " +"[ShaderMaterial] rendering. This can be used to improve performance on low-" +"end mobile devices. The downside is that shading becomes much less accurate, " +"with visible linear interpolation between vertices that are joined together. " +"This can be compensated by ensuring meshes have a sufficient level of " +"subdivision (but not too much, to avoid reducing performance). Some material " +"features are also not supported when vertex shading is enabled.\n" +"See also [member SpatialMaterial.flags_vertex_lighting] which can be used to " +"enable vertex shading on specific materials only.\n" +"[b]Note:[/b] This setting does not affect unshaded materials." msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Lower-end override for [member rendering/quality/shading/" "force_vertex_shading] on mobile devices, due to performance concerns or " -"driver support." +"driver support. If lighting looks broken after exporting the project to a " +"mobile platform, try disabling this setting." msgstr "" #: doc/classes/ProjectSettings.xml @@ -50638,6 +50864,11 @@ msgid "" msgstr "" #: doc/classes/RichTextLabel.xml +#, fuzzy +msgid "Returns the current selection text. Does not include BBCodes." +msgstr "Retorna o comprimento atual do braço da mola." + +#: doc/classes/RichTextLabel.xml msgid "" "Returns the total number of characters from text tags. Does not include " "BBCodes." @@ -52931,14 +53162,23 @@ msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Lowers the [Semaphore], allowing one more thread in. Returns [constant OK] " -"on success, [constant ERR_BUSY] otherwise." +"Lowers the [Semaphore], allowing one more thread in.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Tries to wait for the [Semaphore], if its value is zero, blocks until non-" -"zero. Returns [constant OK] on success, [constant ERR_BUSY] otherwise." +"Like [method wait], but won't block, so if the value is zero, fails " +"immediately and returns [constant ERR_BUSY]. If non-zero, it returns " +"[constant OK] to report success." +msgstr "" + +#: doc/classes/Semaphore.xml +msgid "" +"Waits for the [Semaphore], if its value is zero, blocks until non-zero.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Separator.xml @@ -54390,7 +54630,21 @@ msgstr "" #: doc/classes/SpatialMaterial.xml msgid "" "If [code]true[/code], lighting is calculated per vertex rather than per " -"pixel. This may increase performance on low-end devices." +"pixel. This may increase performance on low-end devices, especially for " +"meshes with a lower polygon count. The downside is that shading becomes much " +"less accurate, with visible linear interpolation between vertices that are " +"joined together. This can be compensated by ensuring meshes have a " +"sufficient level of subdivision (but not too much, to avoid reducing " +"performance). Some material features are also not supported when vertex " +"shading is enabled.\n" +"See also [member ProjectSettings.rendering/quality/shading/" +"force_vertex_shading] which can globally enable vertex shading on all " +"materials.\n" +"[b]Note:[/b] By default, vertex shading is enforced on mobile platforms by " +"[member ProjectSettings.rendering/quality/shading/force_vertex_shading]'s " +"[code]mobile[/code] override.\n" +"[b]Note:[/b] [member flags_vertex_lighting] has no effect if [member " +"flags_unshaded] is [code]true[/code]." msgstr "" #: doc/classes/SpatialMaterial.xml @@ -55208,7 +55462,10 @@ msgid "" "the text alignment to right.\n" "See [Range] class for more options over the [SpinBox].\n" "[b]Note:[/b] [SpinBox] relies on an underlying [LineEdit] node. To theme a " -"[SpinBox]'s background, add theme items for [LineEdit] and customize them." +"[SpinBox]'s background, add theme items for [LineEdit] and customize them.\n" +"[b]Note:[/b] If you want to implement drag and drop for the underlying " +"[LineEdit], you can use [method Control.set_drag_forwarding] on the node " +"returned by [method get_line_edit]." msgstr "" #: doc/classes/SpinBox.xml @@ -56528,7 +56785,6 @@ msgid "" "print(\"1.7\".is_valid_float()) # Prints \"True\"\n" "print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"7e3\".is_valid_float()) # Prints \"True\"\n" -"print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -56765,8 +57021,8 @@ msgid "" "var some_string = \"One,Two,Three,Four\"\n" "var some_array = some_string.rsplit(\",\", true, 1)\n" "print(some_array.size()) # Prints 2\n" -"print(some_array[0]) # Prints \"Four\"\n" -"print(some_array[1]) # Prints \"Three,Two,One\"\n" +"print(some_array[0]) # Prints \"One,Two,Three\"\n" +"print(some_array[1]) # Prints \"Four\"\n" "[/codeblock]" msgstr "" @@ -56799,9 +57055,9 @@ msgstr "" #: doc/classes/String.xml msgid "" "Returns the similarity index ([url=https://en.wikipedia.org/wiki/" -"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) this " -"string compared to another. 1.0 means totally similar and 0.0 means totally " -"dissimilar.\n" +"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) of " +"this string compared to another. A result of 1.0 means totally similar, " +"while 0.0 means totally dissimilar.\n" "[codeblock]\n" "print(\"ABC123\".similarity(\"ABC123\")) # Prints \"1\"\n" "print(\"ABC123\".similarity(\"XYZ456\")) # Prints \"0\"\n" @@ -58274,10 +58530,6 @@ msgid "" msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection begin column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection begin line." msgstr "" @@ -58286,10 +58538,6 @@ msgid "Returns the text inside the selection." msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection end column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection end line." msgstr "" @@ -59312,6 +59560,14 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Adds an empty theme type for every valid data type.\n" +"[b]Note:[/b] Empty types are not saved with the theme. This method only " +"exists to perform in-memory changes to the resource. Use available " +"[code]set_*[/code] methods to add theme items." +msgstr "" + +#: doc/classes/Theme.xml msgid "Clears all values on the theme." msgstr "Limpa todos os valores no tema." @@ -59576,6 +59832,13 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Removes the theme type, gracefully discarding defined theme items. If the " +"type is a variation, this information is also erased. If the type is a base " +"for type variations, those variations lose their base." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Renames the [Color] at [code]old_name[/code] to [code]name[/code] if the " "theme has [code]node_type[/code]. If [code]name[/code] is already taken, " "this method fails." @@ -72286,6 +72549,11 @@ msgid "" msgstr "" #: modules/websocket/doc_classes/WebSocketServer.xml +msgid "" +"Sets additional headers to be sent to clients during the HTTP handshake." +msgstr "" + +#: modules/websocket/doc_classes/WebSocketServer.xml msgid "Stops the server and clear its state." msgstr "" @@ -72381,6 +72649,9 @@ msgid "" "\n" " webxr_interface = ARVRServer.find_interface(\"WebXR\")\n" " if webxr_interface:\n" +" # Map to the standard button/axis ids when possible.\n" +" webxr_interface.xr_standard_mapping = true\n" +"\n" " # WebXR uses a lot of asynchronous callbacks, so we connect to " "various\n" " # signals in order to receive them.\n" @@ -72606,6 +72877,13 @@ msgstr "" #: modules/webxr/doc_classes/WebXRInterface.xml msgid "" +"If set to true, the button and axes ids will be converted to match the " +"standard ids used by other AR/VR interfaces, when possible.\n" +"Otherwise, the ids will be passed through unaltered from WebXR." +msgstr "" + +#: modules/webxr/doc_classes/WebXRInterface.xml +msgid "" "Emitted to indicate that the reference space has been reset or " "reconfigured.\n" "When (or whether) this is emitted depends on the user's browser or device, " diff --git a/doc/translations/pt_BR.po b/doc/translations/pt_BR.po index b324ecff06..df7d7969d1 100644 --- a/doc/translations/pt_BR.po +++ b/doc/translations/pt_BR.po @@ -37,12 +37,14 @@ # Kawan Weege <therealdragonofwar@gmail.com>, 2022. # Schnippss <rian.uzum1901@gmail.com>, 2022. # Gonçalo Pascoal <goncalojpascoal@gmail.com>, 2022. +# Douglas S. Elias <douglassantoselias@gmail.com>, 2022. +# Fabio Moura de Oliveira <ccmaismais@yahoo.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-01-15 22:14+0000\n" -"Last-Translator: jak3z <jose_renato06@outlook.com>\n" +"PO-Revision-Date: 2022-04-20 18:20+0000\n" +"Last-Translator: Fabio Moura de Oliveira <ccmaismais@yahoo.com>\n" "Language-Team: Portuguese (Brazil) <https://hosted.weblate.org/projects/" "godot-engine/godot-class-reference/pt_BR/>\n" "Language: pt_BR\n" @@ -50,7 +52,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8-bit\n" "Plural-Forms: nplurals=2; plural=n > 1;\n" -"X-Generator: Weblate 4.10.1\n" +"X-Generator: Weblate 4.12-dev\n" #: doc/tools/make_rst.py msgid "Description" @@ -114,7 +116,7 @@ msgstr "Padrão" #: doc/tools/make_rst.py msgid "Setter" -msgstr "" +msgstr "setter" #: doc/tools/make_rst.py msgid "value" @@ -122,7 +124,7 @@ msgstr "Valor" #: doc/tools/make_rst.py msgid "Getter" -msgstr "" +msgstr "Getter" #: doc/tools/make_rst.py msgid "" @@ -162,6 +164,8 @@ msgid "" "This method describes a valid operator to use with this type as left-hand " "operand." msgstr "" +"Este método descreve um operador válido pra utilizar com este tipo como " +"operando do lado esquerdo." #: modules/gdscript/doc_classes/@GDScript.xml msgid "Built-in GDScript functions." @@ -4294,12 +4298,13 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" "Hints that an integer, float or string property is an enumerated value to " -"pick in a list specified via a hint string such as [code]\"Hello,Something," -"Else\"[/code]." +"pick in a list specified via a hint string.\n" +"The hint string is a comma separated list of names such as [code]\"Hello," +"Something,Else\"[/code]. For integer and float properties, the first name in " +"the list has value 0, the next 1, and so on. Explicit values can also be " +"specified by appending [code]:integer[/code] to the name, e.g. [code]\"Zero," +"One,Three:3,Four,Six:6\"[/code]." msgstr "" -"Indica que uma propriedade integer, float ou string é um valor enumerado " -"para ser selecionado em uma lista especificada por uma string de dica como " -"[code]\"Hello,Something,Else\"[/code]." #: doc/classes/@GlobalScope.xml msgid "" @@ -4478,7 +4483,8 @@ msgid "The property is a translatable string." msgstr "A propriedade é uma string traduzível." #: doc/classes/@GlobalScope.xml -msgid "Used to group properties together in the editor." +#, fuzzy +msgid "Used to group properties together in the editor. See [EditorInspector]." msgstr "Usado para agrupar propriedade no editor." #: doc/classes/@GlobalScope.xml @@ -6267,9 +6273,13 @@ msgid "[AnimationTree] node resource that contains many blend type nodes." msgstr "" #: doc/classes/AnimationNodeBlendTree.xml +#, fuzzy msgid "" -"This node may contain a sub-tree of any other blend type nodes, such as mix, " -"blend2, blend3, one shot, etc. This is one of the most commonly used roots." +"This node may contain a sub-tree of any other blend type nodes, such as " +"[AnimationNodeTransition], [AnimationNodeBlend2], [AnimationNodeBlend3], " +"[AnimationNodeOneShot], etc. This is one of the most commonly used roots.\n" +"An [AnimationNodeOutput] node named [code]output[/code] is created by " +"default." msgstr "" "Este nó pode conter uma \"subárvore\" de qualquer outro tipo de nó de " "mistura, como mix, blend2, blend3, one shot, etc. Esta é uma das raízes mais " @@ -8033,8 +8043,9 @@ msgstr "" #: doc/classes/Array.xml msgid "" -"Removes the first occurrence of a value from the array. To remove an element " -"by index, use [method remove] instead.\n" +"Removes the first occurrence of a value from the array. If the value does " +"not exist in the array, nothing happens. To remove an element by index, use " +"[method remove] instead.\n" "[b]Note:[/b] This method acts in-place and doesn't return a value.\n" "[b]Note:[/b] On large arrays, this method will be slower if the removed " "element is close to the beginning of the array (index 0). This is because " @@ -11412,8 +11423,15 @@ msgstr "" #: doc/classes/BakedLightmap.xml msgid "" -"When enabled, the lightmapper will merge the textures for all meshes into a " -"single large layered texture. Not supported in GLES2." +"If [code]true[/code], the lightmapper will merge the textures for all meshes " +"into one or several large layered textures. If [code]false[/code], every " +"mesh will get its own lightmap texture, which is less efficient.\n" +"[b]Note:[/b] Atlas lightmap rendering is only supported in GLES3, [i]not[/i] " +"GLES2. Non-atlas lightmap rendering is supported by both GLES3 and GLES2. If " +"[member ProjectSettings.rendering/quality/driver/fallback_to_gles2] is " +"[code]true[/code], consider baking lightmaps with [member atlas_generate] " +"set to [code]false[/code] so that the resulting lightmap is visible in both " +"GLES3 and GLES2." msgstr "" #: doc/classes/BakedLightmap.xml @@ -12763,8 +12781,8 @@ msgstr "" #: doc/classes/Camera.xml msgid "" "The camera's size measured as 1/2 the width or height. Only applicable in " -"orthogonal mode. Since [member keep_aspect] locks on axis, [code]size[/code] " -"sets the other axis' size length." +"orthogonal and frustum modes. Since [member keep_aspect] locks on axis, " +"[code]size[/code] sets the other axis' size length." msgstr "" #: doc/classes/Camera.xml @@ -13571,20 +13589,24 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], the node won't inherit its " -"transform from parent canvas items." +"If [code]enable[/code] is [code]true[/code], this [CanvasItem] will [i]not[/" +"i] inherit its transform from parent [CanvasItem]s. Its draw order will also " +"be changed to make it draw on top of other [CanvasItem]s that are not set as " +"top-level. The [CanvasItem] will effectively act as if it was placed as a " +"child of a bare [Node]. See also [method is_set_as_toplevel]." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"local transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_LOCAL_TRANSFORM_CHANGED] when its local transform " +"changes." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"global transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_TRANSFORM_CHANGED] when its global transform changes." msgstr "" #: doc/classes/CanvasItem.xml @@ -13702,9 +13724,14 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"The [CanvasItem]'s transform has changed. This notification is only received " -"if enabled by [method set_notify_transform] or [method " -"set_notify_local_transform]." +"The [CanvasItem]'s global transform has changed. This notification is only " +"received if enabled by [method set_notify_transform]." +msgstr "" + +#: doc/classes/CanvasItem.xml +msgid "" +"The [CanvasItem]'s local transform has changed. This notification is only " +"received if enabled by [method set_notify_local_transform]." msgstr "" #: doc/classes/CanvasItem.xml @@ -14679,7 +14706,10 @@ msgid "" "number of 2D collision [Shape2D]s. Each shape must be assigned to a [i]shape " "owner[/i]. The CollisionObject2D can have any number of shape owners. Shape " "owners are not nodes and do not appear in the editor, but are accessible " -"through code using the [code]shape_owner_*[/code] methods." +"through code using the [code]shape_owner_*[/code] methods.\n" +"[b]Note:[/b] Only collisions between objects within the same canvas " +"([Viewport] canvas or [CanvasLayer]) are supported. The behavior of " +"collisions between objects in different canvases is undefined." msgstr "" #: doc/classes/CollisionObject2D.xml @@ -20748,9 +20778,8 @@ msgid "" "main font.\n" "DynamicFont uses the [url=https://www.freetype.org/]FreeType[/url] library " "for rasterization. Supported formats are TrueType ([code].ttf[/code]), " -"OpenType ([code].otf[/code]) and Web Open Font Format 1 ([code].woff[/" -"code]). Web Open Font Format 2 ([code].woff2[/code]) is [i]not[/i] " -"supported.\n" +"OpenType ([code].otf[/code]), Web Open Font Format 1 ([code].woff[/code]), " +"and Web Open Font Format 2 ([code].woff2[/code]).\n" "[codeblock]\n" "var dynamic_font = DynamicFont.new()\n" "dynamic_font.font_data = load(\"res://BarlowCondensed-Bold.ttf\")\n" @@ -21617,18 +21646,34 @@ msgid "" msgstr "" #: doc/classes/EditorInspector.xml -msgid "A tab used to edit properties of the selected node." +msgid "A control used to edit properties of an object." msgstr "" #: doc/classes/EditorInspector.xml msgid "" -"The editor inspector is by default located on the right-hand side of the " -"editor. It's used to edit the properties of the selected node. For example, " -"you can select a node such as [Sprite] then edit its transform through the " -"inspector tool. The editor inspector is an essential tool in the game " -"development workflow.\n" -"[b]Note:[/b] This class shouldn't be instantiated directly. Instead, access " -"the singleton using [method EditorInterface.get_inspector]." +"This is the control that implements property editing in the editor's " +"Settings dialogs, the Inspector dock, etc. To get the [EditorInspector] used " +"in the editor's Inspector dock, use [method EditorInterface.get_inspector].\n" +"[EditorInspector] will show properties in the same order as the array " +"returned by [method Object.get_property_list].\n" +"If a property's name is path-like (i.e. if it contains forward slashes), " +"[EditorInspector] will create nested sections for \"directories\" along the " +"path. For example, if a property is named [code]highlighting/gdscript/" +"node_path_color[/code], it will be shown as \"Node Path Color\" inside the " +"\"GDScript\" section nested inside the \"Highlighting\" section.\n" +"If a property has [constant @GlobalScope.PROPERTY_USAGE_GROUP] usage, it " +"will group subsequent properties whose name starts with the property's hint " +"string. The group ends when a property does not start with that hint string " +"or when a new group starts. An empty group name effectively ends the current " +"group. [EditorInspector] will create a top-level section for each group. For " +"example, if a property with group usage is named [code]Collide With[/code] " +"and its hint string is [code]collide_with_[/code], a subsequent " +"[code]collide_with_area[/code] property will be shown as \"Area\" inside the " +"\"Collide With\" section.\n" +"[b]Note:[/b] Unlike sections created from path-like property names, " +"[EditorInspector] won't capitalize the name for sections created from " +"groups. So properties with group usage usually use capitalized names instead " +"of snake_cased names." msgstr "" #: doc/classes/EditorInspector.xml @@ -22806,6 +22851,14 @@ msgid "" "[/codeblock]" msgstr "" +#: modules/gltf/doc_classes/EditorSceneImporterGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [EditorSceneImporterGLTF] within a script will cause an error in an " +"exported project." +msgstr "" + #: doc/classes/EditorScenePostImport.xml msgid "Post-processes scenes after import." msgstr "" @@ -23549,12 +23602,13 @@ msgstr "" #: doc/classes/EditorVCSInterface.xml msgid "" "Helper function to create a commit [Dictionary] item. [code]msg[/code] is " -"the commit message of the commit. [code]author[/code] is a human-readable " -"string containing the author's details, e.g. the email and name configured " -"in the VCS. [code]id[/code] is the identifier of the commit, in whichever " -"format your VCS may provide an identifier to commits. [code]date[/code] is " -"directly added to the commit item and displayed in the editor, and hence, it " -"shall be a well-formatted, human-readable date string." +"the commit message of the commit. [code]author[/code] is a single human-" +"readable string containing all the author's details, e.g. the email and name " +"configured in the VCS. [code]id[/code] is the identifier of the commit, in " +"whichever format your VCS may provide an identifier to commits. " +"[code]unix_timestamp[/code] is the UTC Unix timestamp of when the commit was " +"created. [code]offset_minutes[/code] is the timezone offset in minutes, " +"recorded from the system timezone where the commit was created." msgstr "" #: doc/classes/EditorVCSInterface.xml @@ -26717,6 +26771,50 @@ msgstr "" msgid "Represents the size of the [enum Subdiv] enum." msgstr "" +#: modules/gltf/doc_classes/GLTFAccessor.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAccessor] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFAnimation.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAnimation] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFBufferView.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFBufferView] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFCamera.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFCamera] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFDocument.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFDocument] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFLight.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFLight] within a script will cause an error in an exported project." +msgstr "" + #: modules/gltf/doc_classes/GLTFLight.xml msgid "" "The [Color] of the light. Defaults to white. A black color causes the light " @@ -26766,6 +26864,49 @@ msgid "" "and [DirectionalLight] respectively." msgstr "" +#: modules/gltf/doc_classes/GLTFMesh.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFMesh] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFNode.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFNode] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSkeleton.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSkeleton] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSpecGloss.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSpecGloss] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFState.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFState] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFTexture.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFTexture] within a script will cause an error in an exported project." +msgstr "" + #: modules/mono/doc_classes/GodotSharp.xml msgid "Bridge between Godot and the Mono runtime (Mono-enabled builds only)." msgstr "" @@ -30176,9 +30317,9 @@ msgid "" "Returns a value between 0 and 1 representing the raw intensity of the given " "action, ignoring the action's deadzone. In most cases, you should use " "[method get_action_strength] instead.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -30188,9 +30329,9 @@ msgid "" "or L2, R2 triggers) is from the dead zone, the closer the value will be to " "1. If the action is mapped to a control that has no axis as the keyboard, " "the value returned will be 0 or 1.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -30323,9 +30464,9 @@ msgid "" "the button.\n" "This is useful for code that needs to run only once when an action is " "pressed, instead of every frame while it's pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_just_pressed] may " "return [code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -30337,9 +30478,9 @@ msgid "" "Returns [code]true[/code] when the user stops pressing the action event, " "meaning it's [code]true[/code] only on the frame that the user released the " "button.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -30348,9 +30489,9 @@ msgid "" "an action has multiple buttons assigned and more than one of them is " "pressed, releasing one button will release the action, even if some other " "button assigned to this action is still pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -30701,18 +30842,18 @@ msgstr "" msgid "" "Returns a value between 0.0 and 1.0 depending on the given actions' state. " "Useful for getting the value of events of type [InputEventJoypadMotion].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml msgid "" "Returns [code]true[/code] if this input event matches a pre-defined action " "of any type.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -30721,9 +30862,9 @@ msgid "" "an echo event for [InputEventKey] events, unless [code]allow_echo[/code] is " "[code]true[/code]). Not relevant for events of type [InputEventMouseMotion] " "or [InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events.\n" +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -30735,9 +30876,9 @@ msgid "" "Returns [code]true[/code] if the given action is released (i.e. not " "pressed). Not relevant for events of type [InputEventMouseMotion] or " "[InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -30768,9 +30909,9 @@ msgid "" "event. Only valid for action events i.e key ([InputEventKey]), button " "([InputEventMouseButton] or [InputEventJoypadButton]), axis " "[InputEventJoypadMotion] or action ([InputEventAction]) events.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -31305,9 +31446,9 @@ msgid "" "This method ignores keyboard modifiers if the given [InputEvent] is not " "pressed (for proper release detection). See [method action_has_event] if you " "don't want this behavior.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputMap.xml @@ -33720,7 +33861,7 @@ msgid "" "be within the text's length." msgstr "" -#: doc/classes/LineEdit.xml +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml msgid "Clears the current selection." msgstr "" @@ -33739,6 +33880,19 @@ msgid "" "characters." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection begin column." +msgstr "" + +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection end column." +msgstr "" + +#: doc/classes/LineEdit.xml +#, fuzzy +msgid "Returns [code]true[/code] if the user has selected text." +msgstr "Retorna [code]true[/code] se o script pode ser instanciado." + #: doc/classes/LineEdit.xml msgid "Executes a given action as defined in the [enum MenuItems] enum." msgstr "" @@ -35154,6 +35308,39 @@ msgid "Returns the number of surface materials." msgstr "" #: doc/classes/MeshInstance.xml +msgid "" +"Returns [code]true[/code] if this [MeshInstance] can be merged with the " +"specified [code]other_mesh_instance[/code], using the [method MeshInstance." +"merge_meshes] function.\n" +"In order to be mergeable, properties of the [MeshInstance] must match, and " +"each surface must match, in terms of material, attributes and vertex format." +msgstr "" + +#: doc/classes/MeshInstance.xml +msgid "" +"This function can merge together the data from several source " +"[MeshInstance]s into a single destination [MeshInstance] (the MeshInstance " +"the function is called from). This is primarily useful for improving " +"performance by reducing the number of drawcalls and [Node]s.\n" +"Merging should only be attempted for simple meshes that do not contain " +"animation.\n" +"The final vertices can either be returned in global space, or in local space " +"relative to the destination [MeshInstance] global transform (the destination " +"Node must be inside the [SceneTree] for local space to work).\n" +"The function will make a final check for compatibility between the " +"[MeshInstance]s by default, this should always be used unless you have " +"previously checked for compatibility using [method MeshInstance." +"is_mergeable_with]. If the compatibility check is omitted and the meshes are " +"merged, you may see rendering errors.\n" +"[b]Note:[/b] The requirements for similarity between meshes are quite " +"stringent. They can be checked using the [method MeshInstance." +"is_mergeable_with] function prior to calling [method MeshInstance." +"merge_meshes].\n" +"Also note that any initial data in the destination [MeshInstance] data will " +"be discarded." +msgstr "" + +#: doc/classes/MeshInstance.xml msgid "Sets the [Material] for a surface of the [Mesh] resource." msgstr "" @@ -37497,7 +37684,7 @@ msgstr "" #: doc/classes/Node.xml msgid "Nodes and Scenes" -msgstr "" +msgstr "Nós e cenas" #: doc/classes/Node.xml msgid "All Demos" @@ -37649,12 +37836,12 @@ msgid "" "[/codeblock]\n" "[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " "must set [member owner] in addition to calling [method add_child]. This is " -"typically relevant for [url=https://godot.readthedocs.io/en/3.2/tutorials/" -"misc/running_code_in_the_editor.html]tool scripts[/url] and [url=https://" -"godot.readthedocs.io/en/latest/tutorials/plugins/editor/index.html]editor " -"plugins[/url]. If [method add_child] is called without setting [member " -"owner], the newly added [Node] will not be visible in the scene tree, though " -"it will be visible in the 2D/3D view." +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -38361,7 +38548,15 @@ msgid "" "valid parent, grandparent, etc. ascending in the tree). When saving a node " "(using [PackedScene]), all the nodes it owns will be saved with it. This " "allows for the creation of complex [SceneTree]s, with instancing and " -"subinstancing." +"subinstancing.\n" +"[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " +"must set [member owner] in addition to calling [method add_child]. This is " +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -38957,7 +39152,13 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Called when the object is initialized." +msgid "" +"Called when the object is initialized in memory. Can be defined to take in " +"parameters, that are passed in when constructing.\n" +"[b]Note:[/b] If [method _init] is defined with required parameters, then " +"explicit construction is the only valid means of creating an Object of the " +"class. If any other means (such as [method PackedScene.instance]) is used, " +"then initialization will fail." msgstr "" #: doc/classes/Object.xml @@ -39153,7 +39354,10 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Returns the object's metadata entry for the given [code]name[/code]." +msgid "" +"Returns the object's metadata entry for the given [code]name[/code].\n" +"Throws error if the entry does not exist, unless [code]default[/code] is not " +"[code]null[/code] (in which case the default value will be returned)." msgstr "" #: doc/classes/Object.xml @@ -41384,6 +41588,14 @@ msgid "" "[b]Note:[/b] Only available in editor builds." msgstr "" +#: modules/gltf/doc_classes/PackedSceneGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [PackedSceneGLTF] within a script will cause an error in an exported " +"project." +msgstr "" + #: doc/classes/PacketPeer.xml msgid "Abstraction and base class for packet-based protocols." msgstr "" @@ -44245,7 +44457,10 @@ msgid "" msgstr "" #: doc/classes/PhysicsServer.xml -msgid "Returns an Info defined by the [enum ProcessInfo] input given." +msgid "" +"Returns information about the current state of the 3D physics engine. See " +"[enum ProcessInfo] for a list of available states. Only implemented for " +"Godot Physics." msgstr "" #: doc/classes/PhysicsServer.xml @@ -47115,7 +47330,7 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Allows the window to be resizable by default.\n" -"[b]Note:[/b] This setting is ignored on iOS and Android." +"[b]Note:[/b] This setting is ignored on iOS." msgstr "" #: doc/classes/ProjectSettings.xml @@ -47762,7 +47977,8 @@ msgid "Optional name for the 3D render layer 13." msgstr "Nome opcional para a camada 13 da renderização 3D." #: doc/classes/ProjectSettings.xml -msgid "Optional name for the 3D render layer 14" +#, fuzzy +msgid "Optional name for the 3D render layer 14." msgstr "Nome opcional para a camada 14 da renderização 3D" #: doc/classes/ProjectSettings.xml @@ -49032,16 +49248,24 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" -"If [code]true[/code], forces vertex shading for all rendering. This can " -"increase performance a lot, but also reduces quality immensely. Can be used " -"to optimize performance on low-end mobile devices." +"If [code]true[/code], forces vertex shading for all 3D [SpatialMaterial] and " +"[ShaderMaterial] rendering. This can be used to improve performance on low-" +"end mobile devices. The downside is that shading becomes much less accurate, " +"with visible linear interpolation between vertices that are joined together. " +"This can be compensated by ensuring meshes have a sufficient level of " +"subdivision (but not too much, to avoid reducing performance). Some material " +"features are also not supported when vertex shading is enabled.\n" +"See also [member SpatialMaterial.flags_vertex_lighting] which can be used to " +"enable vertex shading on specific materials only.\n" +"[b]Note:[/b] This setting does not affect unshaded materials." msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Lower-end override for [member rendering/quality/shading/" "force_vertex_shading] on mobile devices, due to performance concerns or " -"driver support." +"driver support. If lighting looks broken after exporting the project to a " +"mobile platform, try disabling this setting." msgstr "" #: doc/classes/ProjectSettings.xml @@ -51084,6 +51308,11 @@ msgid "" msgstr "" #: doc/classes/RichTextLabel.xml +#, fuzzy +msgid "Returns the current selection text. Does not include BBCodes." +msgstr "Retorna o comprimento atual do braço da mola." + +#: doc/classes/RichTextLabel.xml msgid "" "Returns the total number of characters from text tags. Does not include " "BBCodes." @@ -53378,16 +53607,24 @@ msgid "" msgstr "" #: doc/classes/Semaphore.xml -#, fuzzy msgid "" -"Lowers the [Semaphore], allowing one more thread in. Returns [constant OK] " -"on success, [constant ERR_BUSY] otherwise." -msgstr "Abaixa o [Semaphore], permitindo a entrada de mais um thread." +"Lowers the [Semaphore], allowing one more thread in.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." +msgstr "" + +#: doc/classes/Semaphore.xml +msgid "" +"Like [method wait], but won't block, so if the value is zero, fails " +"immediately and returns [constant ERR_BUSY]. If non-zero, it returns " +"[constant OK] to report success." +msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Tries to wait for the [Semaphore], if its value is zero, blocks until non-" -"zero. Returns [constant OK] on success, [constant ERR_BUSY] otherwise." +"Waits for the [Semaphore], if its value is zero, blocks until non-zero.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Separator.xml @@ -54841,7 +55078,21 @@ msgstr "" #: doc/classes/SpatialMaterial.xml msgid "" "If [code]true[/code], lighting is calculated per vertex rather than per " -"pixel. This may increase performance on low-end devices." +"pixel. This may increase performance on low-end devices, especially for " +"meshes with a lower polygon count. The downside is that shading becomes much " +"less accurate, with visible linear interpolation between vertices that are " +"joined together. This can be compensated by ensuring meshes have a " +"sufficient level of subdivision (but not too much, to avoid reducing " +"performance). Some material features are also not supported when vertex " +"shading is enabled.\n" +"See also [member ProjectSettings.rendering/quality/shading/" +"force_vertex_shading] which can globally enable vertex shading on all " +"materials.\n" +"[b]Note:[/b] By default, vertex shading is enforced on mobile platforms by " +"[member ProjectSettings.rendering/quality/shading/force_vertex_shading]'s " +"[code]mobile[/code] override.\n" +"[b]Note:[/b] [member flags_vertex_lighting] has no effect if [member " +"flags_unshaded] is [code]true[/code]." msgstr "" #: doc/classes/SpatialMaterial.xml @@ -55662,7 +55913,10 @@ msgid "" "the text alignment to right.\n" "See [Range] class for more options over the [SpinBox].\n" "[b]Note:[/b] [SpinBox] relies on an underlying [LineEdit] node. To theme a " -"[SpinBox]'s background, add theme items for [LineEdit] and customize them." +"[SpinBox]'s background, add theme items for [LineEdit] and customize them.\n" +"[b]Note:[/b] If you want to implement drag and drop for the underlying " +"[LineEdit], you can use [method Control.set_drag_forwarding] on the node " +"returned by [method get_line_edit]." msgstr "" #: doc/classes/SpinBox.xml @@ -56982,7 +57236,6 @@ msgid "" "print(\"1.7\".is_valid_float()) # Prints \"True\"\n" "print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"7e3\".is_valid_float()) # Prints \"True\"\n" -"print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -57219,8 +57472,8 @@ msgid "" "var some_string = \"One,Two,Three,Four\"\n" "var some_array = some_string.rsplit(\",\", true, 1)\n" "print(some_array.size()) # Prints 2\n" -"print(some_array[0]) # Prints \"Four\"\n" -"print(some_array[1]) # Prints \"Three,Two,One\"\n" +"print(some_array[0]) # Prints \"One,Two,Three\"\n" +"print(some_array[1]) # Prints \"Four\"\n" "[/codeblock]" msgstr "" @@ -57253,9 +57506,9 @@ msgstr "" #: doc/classes/String.xml msgid "" "Returns the similarity index ([url=https://en.wikipedia.org/wiki/" -"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) this " -"string compared to another. 1.0 means totally similar and 0.0 means totally " -"dissimilar.\n" +"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) of " +"this string compared to another. A result of 1.0 means totally similar, " +"while 0.0 means totally dissimilar.\n" "[codeblock]\n" "print(\"ABC123\".similarity(\"ABC123\")) # Prints \"1\"\n" "print(\"ABC123\".similarity(\"XYZ456\")) # Prints \"0\"\n" @@ -58734,10 +58987,6 @@ msgid "" msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection begin column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection begin line." msgstr "" @@ -58746,10 +58995,6 @@ msgid "Returns the text inside the selection." msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection end column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection end line." msgstr "" @@ -59786,6 +60031,14 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Adds an empty theme type for every valid data type.\n" +"[b]Note:[/b] Empty types are not saved with the theme. This method only " +"exists to perform in-memory changes to the resource. Use available " +"[code]set_*[/code] methods to add theme items." +msgstr "" + +#: doc/classes/Theme.xml msgid "Clears all values on the theme." msgstr "Limpa todos os valores no tema." @@ -60053,6 +60306,13 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Removes the theme type, gracefully discarding defined theme items. If the " +"type is a variation, this information is also erased. If the type is a base " +"for type variations, those variations lose their base." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Renames the [Color] at [code]old_name[/code] to [code]name[/code] if the " "theme has [code]node_type[/code]. If [code]name[/code] is already taken, " "this method fails." @@ -72811,6 +73071,11 @@ msgid "" msgstr "" #: modules/websocket/doc_classes/WebSocketServer.xml +msgid "" +"Sets additional headers to be sent to clients during the HTTP handshake." +msgstr "" + +#: modules/websocket/doc_classes/WebSocketServer.xml msgid "Stops the server and clear its state." msgstr "" @@ -72906,6 +73171,9 @@ msgid "" "\n" " webxr_interface = ARVRServer.find_interface(\"WebXR\")\n" " if webxr_interface:\n" +" # Map to the standard button/axis ids when possible.\n" +" webxr_interface.xr_standard_mapping = true\n" +"\n" " # WebXR uses a lot of asynchronous callbacks, so we connect to " "various\n" " # signals in order to receive them.\n" @@ -73131,6 +73399,13 @@ msgstr "" #: modules/webxr/doc_classes/WebXRInterface.xml msgid "" +"If set to true, the button and axes ids will be converted to match the " +"standard ids used by other AR/VR interfaces, when possible.\n" +"Otherwise, the ids will be passed through unaltered from WebXR." +msgstr "" + +#: modules/webxr/doc_classes/WebXRInterface.xml +msgid "" "Emitted to indicate that the reference space has been reset or " "reconfigured.\n" "When (or whether) this is emitted depends on the user's browser or device, " diff --git a/doc/translations/ro.po b/doc/translations/ro.po index 5d80a1018e..8ed6c32878 100644 --- a/doc/translations/ro.po +++ b/doc/translations/ro.po @@ -3341,8 +3341,12 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" "Hints that an integer, float or string property is an enumerated value to " -"pick in a list specified via a hint string such as [code]\"Hello,Something," -"Else\"[/code]." +"pick in a list specified via a hint string.\n" +"The hint string is a comma separated list of names such as [code]\"Hello," +"Something,Else\"[/code]. For integer and float properties, the first name in " +"the list has value 0, the next 1, and so on. Explicit values can also be " +"specified by appending [code]:integer[/code] to the name, e.g. [code]\"Zero," +"One,Three:3,Four,Six:6\"[/code]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -3483,7 +3487,7 @@ msgid "The property is a translatable string." msgstr "" #: doc/classes/@GlobalScope.xml -msgid "Used to group properties together in the editor." +msgid "Used to group properties together in the editor. See [EditorInspector]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -5254,8 +5258,11 @@ msgstr "" #: doc/classes/AnimationNodeBlendTree.xml msgid "" -"This node may contain a sub-tree of any other blend type nodes, such as mix, " -"blend2, blend3, one shot, etc. This is one of the most commonly used roots." +"This node may contain a sub-tree of any other blend type nodes, such as " +"[AnimationNodeTransition], [AnimationNodeBlend2], [AnimationNodeBlend3], " +"[AnimationNodeOneShot], etc. This is one of the most commonly used roots.\n" +"An [AnimationNodeOutput] node named [code]output[/code] is created by " +"default." msgstr "" #: doc/classes/AnimationNodeBlendTree.xml @@ -6997,8 +7004,9 @@ msgstr "" #: doc/classes/Array.xml msgid "" -"Removes the first occurrence of a value from the array. To remove an element " -"by index, use [method remove] instead.\n" +"Removes the first occurrence of a value from the array. If the value does " +"not exist in the array, nothing happens. To remove an element by index, use " +"[method remove] instead.\n" "[b]Note:[/b] This method acts in-place and doesn't return a value.\n" "[b]Note:[/b] On large arrays, this method will be slower if the removed " "element is close to the beginning of the array (index 0). This is because " @@ -10374,8 +10382,15 @@ msgstr "" #: doc/classes/BakedLightmap.xml msgid "" -"When enabled, the lightmapper will merge the textures for all meshes into a " -"single large layered texture. Not supported in GLES2." +"If [code]true[/code], the lightmapper will merge the textures for all meshes " +"into one or several large layered textures. If [code]false[/code], every " +"mesh will get its own lightmap texture, which is less efficient.\n" +"[b]Note:[/b] Atlas lightmap rendering is only supported in GLES3, [i]not[/i] " +"GLES2. Non-atlas lightmap rendering is supported by both GLES3 and GLES2. If " +"[member ProjectSettings.rendering/quality/driver/fallback_to_gles2] is " +"[code]true[/code], consider baking lightmaps with [member atlas_generate] " +"set to [code]false[/code] so that the resulting lightmap is visible in both " +"GLES3 and GLES2." msgstr "" #: doc/classes/BakedLightmap.xml @@ -11718,8 +11733,8 @@ msgstr "" #: doc/classes/Camera.xml msgid "" "The camera's size measured as 1/2 the width or height. Only applicable in " -"orthogonal mode. Since [member keep_aspect] locks on axis, [code]size[/code] " -"sets the other axis' size length." +"orthogonal and frustum modes. Since [member keep_aspect] locks on axis, " +"[code]size[/code] sets the other axis' size length." msgstr "" #: doc/classes/Camera.xml @@ -12517,20 +12532,24 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], the node won't inherit its " -"transform from parent canvas items." +"If [code]enable[/code] is [code]true[/code], this [CanvasItem] will [i]not[/" +"i] inherit its transform from parent [CanvasItem]s. Its draw order will also " +"be changed to make it draw on top of other [CanvasItem]s that are not set as " +"top-level. The [CanvasItem] will effectively act as if it was placed as a " +"child of a bare [Node]. See also [method is_set_as_toplevel]." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"local transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_LOCAL_TRANSFORM_CHANGED] when its local transform " +"changes." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"global transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_TRANSFORM_CHANGED] when its global transform changes." msgstr "" #: doc/classes/CanvasItem.xml @@ -12644,9 +12663,14 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"The [CanvasItem]'s transform has changed. This notification is only received " -"if enabled by [method set_notify_transform] or [method " -"set_notify_local_transform]." +"The [CanvasItem]'s global transform has changed. This notification is only " +"received if enabled by [method set_notify_transform]." +msgstr "" + +#: doc/classes/CanvasItem.xml +msgid "" +"The [CanvasItem]'s local transform has changed. This notification is only " +"received if enabled by [method set_notify_local_transform]." msgstr "" #: doc/classes/CanvasItem.xml @@ -13601,7 +13625,10 @@ msgid "" "number of 2D collision [Shape2D]s. Each shape must be assigned to a [i]shape " "owner[/i]. The CollisionObject2D can have any number of shape owners. Shape " "owners are not nodes and do not appear in the editor, but are accessible " -"through code using the [code]shape_owner_*[/code] methods." +"through code using the [code]shape_owner_*[/code] methods.\n" +"[b]Note:[/b] Only collisions between objects within the same canvas " +"([Viewport] canvas or [CanvasLayer]) are supported. The behavior of " +"collisions between objects in different canvases is undefined." msgstr "" #: doc/classes/CollisionObject2D.xml @@ -19608,9 +19635,8 @@ msgid "" "main font.\n" "DynamicFont uses the [url=https://www.freetype.org/]FreeType[/url] library " "for rasterization. Supported formats are TrueType ([code].ttf[/code]), " -"OpenType ([code].otf[/code]) and Web Open Font Format 1 ([code].woff[/" -"code]). Web Open Font Format 2 ([code].woff2[/code]) is [i]not[/i] " -"supported.\n" +"OpenType ([code].otf[/code]), Web Open Font Format 1 ([code].woff[/code]), " +"and Web Open Font Format 2 ([code].woff2[/code]).\n" "[codeblock]\n" "var dynamic_font = DynamicFont.new()\n" "dynamic_font.font_data = load(\"res://BarlowCondensed-Bold.ttf\")\n" @@ -20477,18 +20503,34 @@ msgid "" msgstr "" #: doc/classes/EditorInspector.xml -msgid "A tab used to edit properties of the selected node." +msgid "A control used to edit properties of an object." msgstr "" #: doc/classes/EditorInspector.xml msgid "" -"The editor inspector is by default located on the right-hand side of the " -"editor. It's used to edit the properties of the selected node. For example, " -"you can select a node such as [Sprite] then edit its transform through the " -"inspector tool. The editor inspector is an essential tool in the game " -"development workflow.\n" -"[b]Note:[/b] This class shouldn't be instantiated directly. Instead, access " -"the singleton using [method EditorInterface.get_inspector]." +"This is the control that implements property editing in the editor's " +"Settings dialogs, the Inspector dock, etc. To get the [EditorInspector] used " +"in the editor's Inspector dock, use [method EditorInterface.get_inspector].\n" +"[EditorInspector] will show properties in the same order as the array " +"returned by [method Object.get_property_list].\n" +"If a property's name is path-like (i.e. if it contains forward slashes), " +"[EditorInspector] will create nested sections for \"directories\" along the " +"path. For example, if a property is named [code]highlighting/gdscript/" +"node_path_color[/code], it will be shown as \"Node Path Color\" inside the " +"\"GDScript\" section nested inside the \"Highlighting\" section.\n" +"If a property has [constant @GlobalScope.PROPERTY_USAGE_GROUP] usage, it " +"will group subsequent properties whose name starts with the property's hint " +"string. The group ends when a property does not start with that hint string " +"or when a new group starts. An empty group name effectively ends the current " +"group. [EditorInspector] will create a top-level section for each group. For " +"example, if a property with group usage is named [code]Collide With[/code] " +"and its hint string is [code]collide_with_[/code], a subsequent " +"[code]collide_with_area[/code] property will be shown as \"Area\" inside the " +"\"Collide With\" section.\n" +"[b]Note:[/b] Unlike sections created from path-like property names, " +"[EditorInspector] won't capitalize the name for sections created from " +"groups. So properties with group usage usually use capitalized names instead " +"of snake_cased names." msgstr "" #: doc/classes/EditorInspector.xml @@ -21663,6 +21705,14 @@ msgid "" "[/codeblock]" msgstr "" +#: modules/gltf/doc_classes/EditorSceneImporterGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [EditorSceneImporterGLTF] within a script will cause an error in an " +"exported project." +msgstr "" + #: doc/classes/EditorScenePostImport.xml msgid "Post-processes scenes after import." msgstr "" @@ -22400,12 +22450,13 @@ msgstr "" #: doc/classes/EditorVCSInterface.xml msgid "" "Helper function to create a commit [Dictionary] item. [code]msg[/code] is " -"the commit message of the commit. [code]author[/code] is a human-readable " -"string containing the author's details, e.g. the email and name configured " -"in the VCS. [code]id[/code] is the identifier of the commit, in whichever " -"format your VCS may provide an identifier to commits. [code]date[/code] is " -"directly added to the commit item and displayed in the editor, and hence, it " -"shall be a well-formatted, human-readable date string." +"the commit message of the commit. [code]author[/code] is a single human-" +"readable string containing all the author's details, e.g. the email and name " +"configured in the VCS. [code]id[/code] is the identifier of the commit, in " +"whichever format your VCS may provide an identifier to commits. " +"[code]unix_timestamp[/code] is the UTC Unix timestamp of when the commit was " +"created. [code]offset_minutes[/code] is the timezone offset in minutes, " +"recorded from the system timezone where the commit was created." msgstr "" #: doc/classes/EditorVCSInterface.xml @@ -25559,6 +25610,50 @@ msgstr "" msgid "Represents the size of the [enum Subdiv] enum." msgstr "" +#: modules/gltf/doc_classes/GLTFAccessor.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAccessor] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFAnimation.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAnimation] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFBufferView.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFBufferView] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFCamera.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFCamera] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFDocument.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFDocument] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFLight.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFLight] within a script will cause an error in an exported project." +msgstr "" + #: modules/gltf/doc_classes/GLTFLight.xml msgid "" "The [Color] of the light. Defaults to white. A black color causes the light " @@ -25608,6 +25703,49 @@ msgid "" "and [DirectionalLight] respectively." msgstr "" +#: modules/gltf/doc_classes/GLTFMesh.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFMesh] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFNode.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFNode] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSkeleton.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSkeleton] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSpecGloss.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSpecGloss] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFState.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFState] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFTexture.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFTexture] within a script will cause an error in an exported project." +msgstr "" + #: modules/mono/doc_classes/GodotSharp.xml msgid "Bridge between Godot and the Mono runtime (Mono-enabled builds only)." msgstr "" @@ -28992,9 +29130,9 @@ msgid "" "Returns a value between 0 and 1 representing the raw intensity of the given " "action, ignoring the action's deadzone. In most cases, you should use " "[method get_action_strength] instead.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29004,9 +29142,9 @@ msgid "" "or L2, R2 triggers) is from the dead zone, the closer the value will be to " "1. If the action is mapped to a control that has no axis as the keyboard, " "the value returned will be 0 or 1.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29139,9 +29277,9 @@ msgid "" "the button.\n" "This is useful for code that needs to run only once when an action is " "pressed, instead of every frame while it's pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_just_pressed] may " "return [code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29153,9 +29291,9 @@ msgid "" "Returns [code]true[/code] when the user stops pressing the action event, " "meaning it's [code]true[/code] only on the frame that the user released the " "button.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29164,9 +29302,9 @@ msgid "" "an action has multiple buttons assigned and more than one of them is " "pressed, releasing one button will release the action, even if some other " "button assigned to this action is still pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29516,18 +29654,18 @@ msgstr "" msgid "" "Returns a value between 0.0 and 1.0 depending on the given actions' state. " "Useful for getting the value of events of type [InputEventJoypadMotion].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml msgid "" "Returns [code]true[/code] if this input event matches a pre-defined action " "of any type.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -29536,9 +29674,9 @@ msgid "" "an echo event for [InputEventKey] events, unless [code]allow_echo[/code] is " "[code]true[/code]). Not relevant for events of type [InputEventMouseMotion] " "or [InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events.\n" +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29550,9 +29688,9 @@ msgid "" "Returns [code]true[/code] if the given action is released (i.e. not " "pressed). Not relevant for events of type [InputEventMouseMotion] or " "[InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -29583,9 +29721,9 @@ msgid "" "event. Only valid for action events i.e key ([InputEventKey]), button " "([InputEventMouseButton] or [InputEventJoypadButton]), axis " "[InputEventJoypadMotion] or action ([InputEventAction]) events.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -30115,9 +30253,9 @@ msgid "" "This method ignores keyboard modifiers if the given [InputEvent] is not " "pressed (for proper release detection). See [method action_has_event] if you " "don't want this behavior.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputMap.xml @@ -32521,7 +32659,7 @@ msgid "" "be within the text's length." msgstr "" -#: doc/classes/LineEdit.xml +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml msgid "Clears the current selection." msgstr "" @@ -32540,6 +32678,18 @@ msgid "" "characters." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection begin column." +msgstr "" + +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection end column." +msgstr "" + +#: doc/classes/LineEdit.xml +msgid "Returns [code]true[/code] if the user has selected text." +msgstr "" + #: doc/classes/LineEdit.xml msgid "Executes a given action as defined in the [enum MenuItems] enum." msgstr "" @@ -33953,6 +34103,39 @@ msgid "Returns the number of surface materials." msgstr "" #: doc/classes/MeshInstance.xml +msgid "" +"Returns [code]true[/code] if this [MeshInstance] can be merged with the " +"specified [code]other_mesh_instance[/code], using the [method MeshInstance." +"merge_meshes] function.\n" +"In order to be mergeable, properties of the [MeshInstance] must match, and " +"each surface must match, in terms of material, attributes and vertex format." +msgstr "" + +#: doc/classes/MeshInstance.xml +msgid "" +"This function can merge together the data from several source " +"[MeshInstance]s into a single destination [MeshInstance] (the MeshInstance " +"the function is called from). This is primarily useful for improving " +"performance by reducing the number of drawcalls and [Node]s.\n" +"Merging should only be attempted for simple meshes that do not contain " +"animation.\n" +"The final vertices can either be returned in global space, or in local space " +"relative to the destination [MeshInstance] global transform (the destination " +"Node must be inside the [SceneTree] for local space to work).\n" +"The function will make a final check for compatibility between the " +"[MeshInstance]s by default, this should always be used unless you have " +"previously checked for compatibility using [method MeshInstance." +"is_mergeable_with]. If the compatibility check is omitted and the meshes are " +"merged, you may see rendering errors.\n" +"[b]Note:[/b] The requirements for similarity between meshes are quite " +"stringent. They can be checked using the [method MeshInstance." +"is_mergeable_with] function prior to calling [method MeshInstance." +"merge_meshes].\n" +"Also note that any initial data in the destination [MeshInstance] data will " +"be discarded." +msgstr "" + +#: doc/classes/MeshInstance.xml msgid "Sets the [Material] for a surface of the [Mesh] resource." msgstr "" @@ -36405,12 +36588,12 @@ msgid "" "[/codeblock]\n" "[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " "must set [member owner] in addition to calling [method add_child]. This is " -"typically relevant for [url=https://godot.readthedocs.io/en/3.2/tutorials/" -"misc/running_code_in_the_editor.html]tool scripts[/url] and [url=https://" -"godot.readthedocs.io/en/latest/tutorials/plugins/editor/index.html]editor " -"plugins[/url]. If [method add_child] is called without setting [member " -"owner], the newly added [Node] will not be visible in the scene tree, though " -"it will be visible in the 2D/3D view." +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37117,7 +37300,15 @@ msgid "" "valid parent, grandparent, etc. ascending in the tree). When saving a node " "(using [PackedScene]), all the nodes it owns will be saved with it. This " "allows for the creation of complex [SceneTree]s, with instancing and " -"subinstancing." +"subinstancing.\n" +"[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " +"must set [member owner] in addition to calling [method add_child]. This is " +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37713,7 +37904,13 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Called when the object is initialized." +msgid "" +"Called when the object is initialized in memory. Can be defined to take in " +"parameters, that are passed in when constructing.\n" +"[b]Note:[/b] If [method _init] is defined with required parameters, then " +"explicit construction is the only valid means of creating an Object of the " +"class. If any other means (such as [method PackedScene.instance]) is used, " +"then initialization will fail." msgstr "" #: doc/classes/Object.xml @@ -37909,7 +38106,10 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Returns the object's metadata entry for the given [code]name[/code]." +msgid "" +"Returns the object's metadata entry for the given [code]name[/code].\n" +"Throws error if the entry does not exist, unless [code]default[/code] is not " +"[code]null[/code] (in which case the default value will be returned)." msgstr "" #: doc/classes/Object.xml @@ -40117,6 +40317,14 @@ msgid "" "[b]Note:[/b] Only available in editor builds." msgstr "" +#: modules/gltf/doc_classes/PackedSceneGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [PackedSceneGLTF] within a script will cause an error in an exported " +"project." +msgstr "" + #: doc/classes/PacketPeer.xml msgid "Abstraction and base class for packet-based protocols." msgstr "" @@ -42957,7 +43165,10 @@ msgid "" msgstr "" #: doc/classes/PhysicsServer.xml -msgid "Returns an Info defined by the [enum ProcessInfo] input given." +msgid "" +"Returns information about the current state of the 3D physics engine. See " +"[enum ProcessInfo] for a list of available states. Only implemented for " +"Godot Physics." msgstr "" #: doc/classes/PhysicsServer.xml @@ -45817,7 +46028,7 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Allows the window to be resizable by default.\n" -"[b]Note:[/b] This setting is ignored on iOS and Android." +"[b]Note:[/b] This setting is ignored on iOS." msgstr "" #: doc/classes/ProjectSettings.xml @@ -46464,7 +46675,7 @@ msgid "Optional name for the 3D render layer 13." msgstr "" #: doc/classes/ProjectSettings.xml -msgid "Optional name for the 3D render layer 14" +msgid "Optional name for the 3D render layer 14." msgstr "" #: doc/classes/ProjectSettings.xml @@ -47734,16 +47945,24 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" -"If [code]true[/code], forces vertex shading for all rendering. This can " -"increase performance a lot, but also reduces quality immensely. Can be used " -"to optimize performance on low-end mobile devices." +"If [code]true[/code], forces vertex shading for all 3D [SpatialMaterial] and " +"[ShaderMaterial] rendering. This can be used to improve performance on low-" +"end mobile devices. The downside is that shading becomes much less accurate, " +"with visible linear interpolation between vertices that are joined together. " +"This can be compensated by ensuring meshes have a sufficient level of " +"subdivision (but not too much, to avoid reducing performance). Some material " +"features are also not supported when vertex shading is enabled.\n" +"See also [member SpatialMaterial.flags_vertex_lighting] which can be used to " +"enable vertex shading on specific materials only.\n" +"[b]Note:[/b] This setting does not affect unshaded materials." msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Lower-end override for [member rendering/quality/shading/" "force_vertex_shading] on mobile devices, due to performance concerns or " -"driver support." +"driver support. If lighting looks broken after exporting the project to a " +"mobile platform, try disabling this setting." msgstr "" #: doc/classes/ProjectSettings.xml @@ -49778,6 +49997,10 @@ msgid "" msgstr "" #: doc/classes/RichTextLabel.xml +msgid "Returns the current selection text. Does not include BBCodes." +msgstr "" + +#: doc/classes/RichTextLabel.xml msgid "" "Returns the total number of characters from text tags. Does not include " "BBCodes." @@ -52069,14 +52292,23 @@ msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Lowers the [Semaphore], allowing one more thread in. Returns [constant OK] " -"on success, [constant ERR_BUSY] otherwise." +"Lowers the [Semaphore], allowing one more thread in.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Tries to wait for the [Semaphore], if its value is zero, blocks until non-" -"zero. Returns [constant OK] on success, [constant ERR_BUSY] otherwise." +"Like [method wait], but won't block, so if the value is zero, fails " +"immediately and returns [constant ERR_BUSY]. If non-zero, it returns " +"[constant OK] to report success." +msgstr "" + +#: doc/classes/Semaphore.xml +msgid "" +"Waits for the [Semaphore], if its value is zero, blocks until non-zero.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Separator.xml @@ -53522,7 +53754,21 @@ msgstr "" #: doc/classes/SpatialMaterial.xml msgid "" "If [code]true[/code], lighting is calculated per vertex rather than per " -"pixel. This may increase performance on low-end devices." +"pixel. This may increase performance on low-end devices, especially for " +"meshes with a lower polygon count. The downside is that shading becomes much " +"less accurate, with visible linear interpolation between vertices that are " +"joined together. This can be compensated by ensuring meshes have a " +"sufficient level of subdivision (but not too much, to avoid reducing " +"performance). Some material features are also not supported when vertex " +"shading is enabled.\n" +"See also [member ProjectSettings.rendering/quality/shading/" +"force_vertex_shading] which can globally enable vertex shading on all " +"materials.\n" +"[b]Note:[/b] By default, vertex shading is enforced on mobile platforms by " +"[member ProjectSettings.rendering/quality/shading/force_vertex_shading]'s " +"[code]mobile[/code] override.\n" +"[b]Note:[/b] [member flags_vertex_lighting] has no effect if [member " +"flags_unshaded] is [code]true[/code]." msgstr "" #: doc/classes/SpatialMaterial.xml @@ -54326,7 +54572,10 @@ msgid "" "the text alignment to right.\n" "See [Range] class for more options over the [SpinBox].\n" "[b]Note:[/b] [SpinBox] relies on an underlying [LineEdit] node. To theme a " -"[SpinBox]'s background, add theme items for [LineEdit] and customize them." +"[SpinBox]'s background, add theme items for [LineEdit] and customize them.\n" +"[b]Note:[/b] If you want to implement drag and drop for the underlying " +"[LineEdit], you can use [method Control.set_drag_forwarding] on the node " +"returned by [method get_line_edit]." msgstr "" #: doc/classes/SpinBox.xml @@ -55644,7 +55893,6 @@ msgid "" "print(\"1.7\".is_valid_float()) # Prints \"True\"\n" "print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"7e3\".is_valid_float()) # Prints \"True\"\n" -"print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55881,8 +56129,8 @@ msgid "" "var some_string = \"One,Two,Three,Four\"\n" "var some_array = some_string.rsplit(\",\", true, 1)\n" "print(some_array.size()) # Prints 2\n" -"print(some_array[0]) # Prints \"Four\"\n" -"print(some_array[1]) # Prints \"Three,Two,One\"\n" +"print(some_array[0]) # Prints \"One,Two,Three\"\n" +"print(some_array[1]) # Prints \"Four\"\n" "[/codeblock]" msgstr "" @@ -55915,9 +56163,9 @@ msgstr "" #: doc/classes/String.xml msgid "" "Returns the similarity index ([url=https://en.wikipedia.org/wiki/" -"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) this " -"string compared to another. 1.0 means totally similar and 0.0 means totally " -"dissimilar.\n" +"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) of " +"this string compared to another. A result of 1.0 means totally similar, " +"while 0.0 means totally dissimilar.\n" "[codeblock]\n" "print(\"ABC123\".similarity(\"ABC123\")) # Prints \"1\"\n" "print(\"ABC123\".similarity(\"XYZ456\")) # Prints \"0\"\n" @@ -57388,10 +57636,6 @@ msgid "" msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection begin column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection begin line." msgstr "" @@ -57400,10 +57644,6 @@ msgid "Returns the text inside the selection." msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection end column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection end line." msgstr "" @@ -58424,6 +58664,14 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Adds an empty theme type for every valid data type.\n" +"[b]Note:[/b] Empty types are not saved with the theme. This method only " +"exists to perform in-memory changes to the resource. Use available " +"[code]set_*[/code] methods to add theme items." +msgstr "" + +#: doc/classes/Theme.xml msgid "Clears all values on the theme." msgstr "" @@ -58683,6 +58931,13 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Removes the theme type, gracefully discarding defined theme items. If the " +"type is a variation, this information is also erased. If the type is a base " +"for type variations, those variations lose their base." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Renames the [Color] at [code]old_name[/code] to [code]name[/code] if the " "theme has [code]node_type[/code]. If [code]name[/code] is already taken, " "this method fails." @@ -71376,6 +71631,11 @@ msgid "" msgstr "" #: modules/websocket/doc_classes/WebSocketServer.xml +msgid "" +"Sets additional headers to be sent to clients during the HTTP handshake." +msgstr "" + +#: modules/websocket/doc_classes/WebSocketServer.xml msgid "Stops the server and clear its state." msgstr "" @@ -71471,6 +71731,9 @@ msgid "" "\n" " webxr_interface = ARVRServer.find_interface(\"WebXR\")\n" " if webxr_interface:\n" +" # Map to the standard button/axis ids when possible.\n" +" webxr_interface.xr_standard_mapping = true\n" +"\n" " # WebXR uses a lot of asynchronous callbacks, so we connect to " "various\n" " # signals in order to receive them.\n" @@ -71696,6 +71959,13 @@ msgstr "" #: modules/webxr/doc_classes/WebXRInterface.xml msgid "" +"If set to true, the button and axes ids will be converted to match the " +"standard ids used by other AR/VR interfaces, when possible.\n" +"Otherwise, the ids will be passed through unaltered from WebXR." +msgstr "" + +#: modules/webxr/doc_classes/WebXRInterface.xml +msgid "" "Emitted to indicate that the reference space has been reset or " "reconfigured.\n" "When (or whether) this is emitted depends on the user's browser or device, " diff --git a/doc/translations/ru.po b/doc/translations/ru.po index 57001546f3..f5ef5d7395 100644 --- a/doc/translations/ru.po +++ b/doc/translations/ru.po @@ -41,12 +41,15 @@ # Иван Гай <yfrde615@gmail.com>, 2022. # Bebihindra <denisk.chebotarev@mail.ru>, 2022. # Alex_Faction <creeponedead@gmail.com>, 2022. +# Turok Chukchin <chukchinturok@gmail.com>, 2022. +# Rish Alternative <ii4526668@gmail.com>, 2022. +# Andrey <stre10k@mail.ru>, 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-03-13 22:11+0000\n" -"Last-Translator: Alex_Faction <creeponedead@gmail.com>\n" +"PO-Revision-Date: 2022-04-25 15:12+0000\n" +"Last-Translator: Andrey <stre10k@mail.ru>\n" "Language-Team: Russian <https://hosted.weblate.org/projects/godot-engine/" "godot-class-reference/ru/>\n" "Language: ru\n" @@ -55,7 +58,7 @@ msgstr "" "Content-Transfer-Encoding: 8-bit\n" "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && " "n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" -"X-Generator: Weblate 4.12-dev\n" +"X-Generator: Weblate 4.12.1-dev\n" #: doc/tools/make_rst.py msgid "Description" @@ -507,7 +510,6 @@ msgid "Deprecated alias for [method step_decimals]." msgstr "Устаревший псевдоним для [method step_decimals]." #: modules/gdscript/doc_classes/@GDScript.xml -#, fuzzy msgid "" "[b]Note:[/b] [code]dectime[/code] has been deprecated and will be removed in " "Godot 4.0, please use [method move_toward] instead.\n" @@ -517,11 +519,12 @@ msgid "" "a = dectime(60, 10, 0.1)) # a is 59.0\n" "[/codeblock]" msgstr "" -"Возвращает [code]value[/code], уменьшенное на [code]step[/code] * " +"[b]Примечание:[/b] [code]dectime[/code] был устаревшим и будет удален в " +"Godot 4.0, пожалуйста, используйте [метод move_toward] вместо него.\n" +"Возвращает результат [code]value[/code], уменьшенный на [code]step[/code] * " "[code]amount[/code].\n" "[codeblock]\n" -"# a = 59\n" -"a = dectime(60, 10, 0.1))\n" +"a = dectime(60, 10, 0.1)) # a равно 59.0\n" "[/codeblock]" #: modules/gdscript/doc_classes/@GDScript.xml @@ -643,7 +646,6 @@ msgstr "" "[/codeblock]" #: modules/gdscript/doc_classes/@GDScript.xml -#, fuzzy msgid "" "Rounds [code]s[/code] downward (towards negative infinity), returning the " "largest whole number that is not more than [code]s[/code].\n" @@ -658,16 +660,16 @@ msgid "" "directly." msgstr "" "Округляет [code]s[/code] вниз (в сторону отрицательной бесконечности), " -"возвращая наибольшее целое число, которое меньше или равно [code]s[/code].\n" +"возвращая наибольшее целое число, которое не больше [code]s[/code].\n" "[codeblock]\n" -"# a равно 2.0\n" -"a = floor(2.99)\n" -"# a равно -3.0\n" -"a = floor(-2.99)\n" -"[/codeblock]\n" -"[b]Примечание:[/b] Этот метод возвращает число с плавающей точкой (float). " -"Если вам нужно целое число (int), вы можете использовать [code]int(s)[/code] " -"напрямую." +"a = floor(2.45) # a равно 2.0\n" +"a = floor(2.99) # a равно 2.0\n" +"a = floor(-2.99) # a равно -3.0\n" +"[/codeblock].\n" +"См. также [method ceil], [method round], [method stepify] и [int].\n" +"[b]Примечание:[/b] Этот метод возвращает float. Если вам нужно целое число и " +"[code]s[/code] является неотрицательным числом, вы можете использовать " +"[code]int(s)[/code] напрямую." #: modules/gdscript/doc_classes/@GDScript.xml msgid "" @@ -686,7 +688,6 @@ msgstr "" "Для получения целочисленного остатка используйте оператор %." #: modules/gdscript/doc_classes/@GDScript.xml -#, fuzzy msgid "" "Returns the floating-point modulus of [code]a/b[/code] that wraps equally in " "positive and negative.\n" @@ -706,27 +707,22 @@ msgid "" " 1.5 0.0 0.0\n" "[/codeblock]" msgstr "" -"Возвращает вещественный остаток от деления [code]a/b[/code], который " -"зациклен одинаково для положительных и отрицательных чисел.\n" +"Возвращает модуль с плавающей точкой числа [code]a/b[/code], которое " +"одинаково обертывается в положительную и отрицательную части.\n" "[codeblock]\n" -"var i = -6\n" -"while i < 5:\n" -" prints(i, fposmod(i, 3))\n" -" i += 1\n" -"[/codeblock]\n" -"Выводит:\n" +"for i in 7:\n" +" var x = 0.5 * i - 1.5\n" +" print(\"%4.1f %4.1f %4.1f %4.1f\" % [x, fmod(x, 1.5), fposmod(x, 1.5)])\n" +"[/codeblock].\n" +"Производит:\n" "[codeblock]\n" -"-6 0\n" -"-5 1\n" -"-4 2\n" -"-3 0\n" -"-2 1\n" -"-1 2\n" -"0 0\n" -"1 1\n" -"2 2\n" -"3 0\n" -"4 1\n" +"-1.5 -0.0 0.0\n" +"-1.0 -1.0 0.5\n" +"-0.5 -0.5 1.0\n" +" 0.0 0.0 0.0\n" +" 0.5 0.5 0.5\n" +" 1.0 1.0 1.0\n" +" 1.5 0.0 0.0\n" "[/codeblock]" #: modules/gdscript/doc_classes/@GDScript.xml @@ -3748,6 +3744,11 @@ msgid "" "- Linux: Up to 80 buttons.\n" "- Windows and macOS: Up to 128 buttons." msgstr "" +"Максимальное количество кнопок поддерживаемое движком для игрового " +"контроллера. Фактический лимит может быть ниже на определенных платформах:\n" +"- Android: до 36 кнопок.\n" +"- Linux: до 80 кнопок.\n" +"- Windows и macOS: до 128 кнопок." #: doc/classes/@GlobalScope.xml msgid "DualShock circle button." @@ -4170,7 +4171,6 @@ msgid "Unconfigured error." msgstr "Ошибка \"Не настроено\"." #: doc/classes/@GlobalScope.xml -#, fuzzy msgid "Unauthorized error." msgstr "Ошибка \"Не авторизовано\"." @@ -4401,12 +4401,13 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" "Hints that an integer, float or string property is an enumerated value to " -"pick in a list specified via a hint string such as [code]\"Hello,Something," -"Else\"[/code]." +"pick in a list specified via a hint string.\n" +"The hint string is a comma separated list of names such as [code]\"Hello," +"Something,Else\"[/code]. For integer and float properties, the first name in " +"the list has value 0, the next 1, and so on. Explicit values can also be " +"specified by appending [code]:integer[/code] to the name, e.g. [code]\"Zero," +"One,Three:3,Four,Six:6\"[/code]." msgstr "" -"Указывает, что целое, вещественное или строковое свойство является " -"перечислимым значением для выбора из списка, заданного строкой подсказки, " -"такой как [code]\"Hello,Something,Else\"[/code]." #: doc/classes/@GlobalScope.xml msgid "" @@ -4586,7 +4587,8 @@ msgid "The property is a translatable string." msgstr "Свойство является переводимой строкой." #: doc/classes/@GlobalScope.xml -msgid "Used to group properties together in the editor." +#, fuzzy +msgid "Used to group properties together in the editor. See [EditorInspector]." msgstr "Используется для группировки свойств в редакторе." #: doc/classes/@GlobalScope.xml @@ -6661,8 +6663,11 @@ msgstr "" #: doc/classes/AnimationNodeBlendTree.xml msgid "" -"This node may contain a sub-tree of any other blend type nodes, such as mix, " -"blend2, blend3, one shot, etc. This is one of the most commonly used roots." +"This node may contain a sub-tree of any other blend type nodes, such as " +"[AnimationNodeTransition], [AnimationNodeBlend2], [AnimationNodeBlend3], " +"[AnimationNodeOneShot], etc. This is one of the most commonly used roots.\n" +"An [AnimationNodeOutput] node named [code]output[/code] is created by " +"default." msgstr "" #: doc/classes/AnimationNodeBlendTree.xml @@ -8530,8 +8535,9 @@ msgstr "Возвращает [code]true[/code] если массив пусто #: doc/classes/Array.xml msgid "" -"Removes the first occurrence of a value from the array. To remove an element " -"by index, use [method remove] instead.\n" +"Removes the first occurrence of a value from the array. If the value does " +"not exist in the array, nothing happens. To remove an element by index, use " +"[method remove] instead.\n" "[b]Note:[/b] This method acts in-place and doesn't return a value.\n" "[b]Note:[/b] On large arrays, this method will be slower if the removed " "element is close to the beginning of the array (index 0). This is because " @@ -11990,8 +11996,15 @@ msgstr "" #: doc/classes/BakedLightmap.xml msgid "" -"When enabled, the lightmapper will merge the textures for all meshes into a " -"single large layered texture. Not supported in GLES2." +"If [code]true[/code], the lightmapper will merge the textures for all meshes " +"into one or several large layered textures. If [code]false[/code], every " +"mesh will get its own lightmap texture, which is less efficient.\n" +"[b]Note:[/b] Atlas lightmap rendering is only supported in GLES3, [i]not[/i] " +"GLES2. Non-atlas lightmap rendering is supported by both GLES3 and GLES2. If " +"[member ProjectSettings.rendering/quality/driver/fallback_to_gles2] is " +"[code]true[/code], consider baking lightmaps with [member atlas_generate] " +"set to [code]false[/code] so that the resulting lightmap is visible in both " +"GLES3 and GLES2." msgstr "" #: doc/classes/BakedLightmap.xml @@ -13346,8 +13359,8 @@ msgstr "" #: doc/classes/Camera.xml msgid "" "The camera's size measured as 1/2 the width or height. Only applicable in " -"orthogonal mode. Since [member keep_aspect] locks on axis, [code]size[/code] " -"sets the other axis' size length." +"orthogonal and frustum modes. Since [member keep_aspect] locks on axis, " +"[code]size[/code] sets the other axis' size length." msgstr "" #: doc/classes/Camera.xml @@ -14158,20 +14171,24 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], the node won't inherit its " -"transform from parent canvas items." +"If [code]enable[/code] is [code]true[/code], this [CanvasItem] will [i]not[/" +"i] inherit its transform from parent [CanvasItem]s. Its draw order will also " +"be changed to make it draw on top of other [CanvasItem]s that are not set as " +"top-level. The [CanvasItem] will effectively act as if it was placed as a " +"child of a bare [Node]. See also [method is_set_as_toplevel]." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"local transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_LOCAL_TRANSFORM_CHANGED] when its local transform " +"changes." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"global transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_TRANSFORM_CHANGED] when its global transform changes." msgstr "" #: doc/classes/CanvasItem.xml @@ -14285,9 +14302,14 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"The [CanvasItem]'s transform has changed. This notification is only received " -"if enabled by [method set_notify_transform] or [method " -"set_notify_local_transform]." +"The [CanvasItem]'s global transform has changed. This notification is only " +"received if enabled by [method set_notify_transform]." +msgstr "" + +#: doc/classes/CanvasItem.xml +msgid "" +"The [CanvasItem]'s local transform has changed. This notification is only " +"received if enabled by [method set_notify_local_transform]." msgstr "" #: doc/classes/CanvasItem.xml @@ -15257,7 +15279,10 @@ msgid "" "number of 2D collision [Shape2D]s. Each shape must be assigned to a [i]shape " "owner[/i]. The CollisionObject2D can have any number of shape owners. Shape " "owners are not nodes and do not appear in the editor, but are accessible " -"through code using the [code]shape_owner_*[/code] methods." +"through code using the [code]shape_owner_*[/code] methods.\n" +"[b]Note:[/b] Only collisions between objects within the same canvas " +"([Viewport] canvas or [CanvasLayer]) are supported. The behavior of " +"collisions between objects in different canvases is undefined." msgstr "" #: doc/classes/CollisionObject2D.xml @@ -21386,9 +21411,8 @@ msgid "" "main font.\n" "DynamicFont uses the [url=https://www.freetype.org/]FreeType[/url] library " "for rasterization. Supported formats are TrueType ([code].ttf[/code]), " -"OpenType ([code].otf[/code]) and Web Open Font Format 1 ([code].woff[/" -"code]). Web Open Font Format 2 ([code].woff2[/code]) is [i]not[/i] " -"supported.\n" +"OpenType ([code].otf[/code]), Web Open Font Format 1 ([code].woff[/code]), " +"and Web Open Font Format 2 ([code].woff2[/code]).\n" "[codeblock]\n" "var dynamic_font = DynamicFont.new()\n" "dynamic_font.font_data = load(\"res://BarlowCondensed-Bold.ttf\")\n" @@ -22255,18 +22279,34 @@ msgid "" msgstr "" #: doc/classes/EditorInspector.xml -msgid "A tab used to edit properties of the selected node." +msgid "A control used to edit properties of an object." msgstr "" #: doc/classes/EditorInspector.xml msgid "" -"The editor inspector is by default located on the right-hand side of the " -"editor. It's used to edit the properties of the selected node. For example, " -"you can select a node such as [Sprite] then edit its transform through the " -"inspector tool. The editor inspector is an essential tool in the game " -"development workflow.\n" -"[b]Note:[/b] This class shouldn't be instantiated directly. Instead, access " -"the singleton using [method EditorInterface.get_inspector]." +"This is the control that implements property editing in the editor's " +"Settings dialogs, the Inspector dock, etc. To get the [EditorInspector] used " +"in the editor's Inspector dock, use [method EditorInterface.get_inspector].\n" +"[EditorInspector] will show properties in the same order as the array " +"returned by [method Object.get_property_list].\n" +"If a property's name is path-like (i.e. if it contains forward slashes), " +"[EditorInspector] will create nested sections for \"directories\" along the " +"path. For example, if a property is named [code]highlighting/gdscript/" +"node_path_color[/code], it will be shown as \"Node Path Color\" inside the " +"\"GDScript\" section nested inside the \"Highlighting\" section.\n" +"If a property has [constant @GlobalScope.PROPERTY_USAGE_GROUP] usage, it " +"will group subsequent properties whose name starts with the property's hint " +"string. The group ends when a property does not start with that hint string " +"or when a new group starts. An empty group name effectively ends the current " +"group. [EditorInspector] will create a top-level section for each group. For " +"example, if a property with group usage is named [code]Collide With[/code] " +"and its hint string is [code]collide_with_[/code], a subsequent " +"[code]collide_with_area[/code] property will be shown as \"Area\" inside the " +"\"Collide With\" section.\n" +"[b]Note:[/b] Unlike sections created from path-like property names, " +"[EditorInspector] won't capitalize the name for sections created from " +"groups. So properties with group usage usually use capitalized names instead " +"of snake_cased names." msgstr "" #: doc/classes/EditorInspector.xml @@ -23448,6 +23488,14 @@ msgid "" "[/codeblock]" msgstr "" +#: modules/gltf/doc_classes/EditorSceneImporterGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [EditorSceneImporterGLTF] within a script will cause an error in an " +"exported project." +msgstr "" + #: doc/classes/EditorScenePostImport.xml msgid "Post-processes scenes after import." msgstr "" @@ -24195,12 +24243,13 @@ msgstr "" #: doc/classes/EditorVCSInterface.xml msgid "" "Helper function to create a commit [Dictionary] item. [code]msg[/code] is " -"the commit message of the commit. [code]author[/code] is a human-readable " -"string containing the author's details, e.g. the email and name configured " -"in the VCS. [code]id[/code] is the identifier of the commit, in whichever " -"format your VCS may provide an identifier to commits. [code]date[/code] is " -"directly added to the commit item and displayed in the editor, and hence, it " -"shall be a well-formatted, human-readable date string." +"the commit message of the commit. [code]author[/code] is a single human-" +"readable string containing all the author's details, e.g. the email and name " +"configured in the VCS. [code]id[/code] is the identifier of the commit, in " +"whichever format your VCS may provide an identifier to commits. " +"[code]unix_timestamp[/code] is the UTC Unix timestamp of when the commit was " +"created. [code]offset_minutes[/code] is the timezone offset in minutes, " +"recorded from the system timezone where the commit was created." msgstr "" #: doc/classes/EditorVCSInterface.xml @@ -27365,6 +27414,50 @@ msgstr "" msgid "Represents the size of the [enum Subdiv] enum." msgstr "" +#: modules/gltf/doc_classes/GLTFAccessor.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAccessor] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFAnimation.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAnimation] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFBufferView.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFBufferView] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFCamera.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFCamera] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFDocument.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFDocument] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFLight.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFLight] within a script will cause an error in an exported project." +msgstr "" + #: modules/gltf/doc_classes/GLTFLight.xml msgid "" "The [Color] of the light. Defaults to white. A black color causes the light " @@ -27414,6 +27507,49 @@ msgid "" "and [DirectionalLight] respectively." msgstr "" +#: modules/gltf/doc_classes/GLTFMesh.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFMesh] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFNode.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFNode] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSkeleton.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSkeleton] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSpecGloss.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSpecGloss] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFState.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFState] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFTexture.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFTexture] within a script will cause an error in an exported project." +msgstr "" + #: modules/mono/doc_classes/GodotSharp.xml msgid "Bridge between Godot and the Mono runtime (Mono-enabled builds only)." msgstr "" @@ -30817,9 +30953,9 @@ msgid "" "Returns a value between 0 and 1 representing the raw intensity of the given " "action, ignoring the action's deadzone. In most cases, you should use " "[method get_action_strength] instead.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -30829,9 +30965,9 @@ msgid "" "or L2, R2 triggers) is from the dead zone, the closer the value will be to " "1. If the action is mapped to a control that has no axis as the keyboard, " "the value returned will be 0 or 1.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -30964,9 +31100,9 @@ msgid "" "the button.\n" "This is useful for code that needs to run only once when an action is " "pressed, instead of every frame while it's pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_just_pressed] may " "return [code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -30978,9 +31114,9 @@ msgid "" "Returns [code]true[/code] when the user stops pressing the action event, " "meaning it's [code]true[/code] only on the frame that the user released the " "button.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -30989,9 +31125,9 @@ msgid "" "an action has multiple buttons assigned and more than one of them is " "pressed, releasing one button will release the action, even if some other " "button assigned to this action is still pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -31341,18 +31477,18 @@ msgstr "" msgid "" "Returns a value between 0.0 and 1.0 depending on the given actions' state. " "Useful for getting the value of events of type [InputEventJoypadMotion].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml msgid "" "Returns [code]true[/code] if this input event matches a pre-defined action " "of any type.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -31361,9 +31497,9 @@ msgid "" "an echo event for [InputEventKey] events, unless [code]allow_echo[/code] is " "[code]true[/code]). Not relevant for events of type [InputEventMouseMotion] " "or [InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events.\n" +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -31375,9 +31511,9 @@ msgid "" "Returns [code]true[/code] if the given action is released (i.e. not " "pressed). Not relevant for events of type [InputEventMouseMotion] or " "[InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -31408,9 +31544,9 @@ msgid "" "event. Only valid for action events i.e key ([InputEventKey]), button " "([InputEventMouseButton] or [InputEventJoypadButton]), axis " "[InputEventJoypadMotion] or action ([InputEventAction]) events.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -31941,9 +32077,9 @@ msgid "" "This method ignores keyboard modifiers if the given [InputEvent] is not " "pressed (for proper release detection). See [method action_has_event] if you " "don't want this behavior.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputMap.xml @@ -34376,7 +34512,7 @@ msgid "" "be within the text's length." msgstr "" -#: doc/classes/LineEdit.xml +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml msgid "Clears the current selection." msgstr "" @@ -34395,6 +34531,19 @@ msgid "" "characters." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection begin column." +msgstr "" + +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection end column." +msgstr "" + +#: doc/classes/LineEdit.xml +#, fuzzy +msgid "Returns [code]true[/code] if the user has selected text." +msgstr "Возвращает [code]true[/code] если массив пустой." + #: doc/classes/LineEdit.xml msgid "Executes a given action as defined in the [enum MenuItems] enum." msgstr "" @@ -35812,6 +35961,39 @@ msgid "Returns the number of surface materials." msgstr "" #: doc/classes/MeshInstance.xml +msgid "" +"Returns [code]true[/code] if this [MeshInstance] can be merged with the " +"specified [code]other_mesh_instance[/code], using the [method MeshInstance." +"merge_meshes] function.\n" +"In order to be mergeable, properties of the [MeshInstance] must match, and " +"each surface must match, in terms of material, attributes and vertex format." +msgstr "" + +#: doc/classes/MeshInstance.xml +msgid "" +"This function can merge together the data from several source " +"[MeshInstance]s into a single destination [MeshInstance] (the MeshInstance " +"the function is called from). This is primarily useful for improving " +"performance by reducing the number of drawcalls and [Node]s.\n" +"Merging should only be attempted for simple meshes that do not contain " +"animation.\n" +"The final vertices can either be returned in global space, or in local space " +"relative to the destination [MeshInstance] global transform (the destination " +"Node must be inside the [SceneTree] for local space to work).\n" +"The function will make a final check for compatibility between the " +"[MeshInstance]s by default, this should always be used unless you have " +"previously checked for compatibility using [method MeshInstance." +"is_mergeable_with]. If the compatibility check is omitted and the meshes are " +"merged, you may see rendering errors.\n" +"[b]Note:[/b] The requirements for similarity between meshes are quite " +"stringent. They can be checked using the [method MeshInstance." +"is_mergeable_with] function prior to calling [method MeshInstance." +"merge_meshes].\n" +"Also note that any initial data in the destination [MeshInstance] data will " +"be discarded." +msgstr "" + +#: doc/classes/MeshInstance.xml msgid "Sets the [Material] for a surface of the [Mesh] resource." msgstr "" @@ -37554,21 +37736,26 @@ msgid "Returns the map cell height." msgstr "Возвращает значение задержки данного кадра." #: doc/classes/NavigationServer.xml -#, fuzzy msgid "" "Returns the normal for the point returned by [method map_get_closest_point]." -msgstr "Возвращает обратный квадратный корень из аргумента." +msgstr "" +"Возвращает нормаль для точки, возвращенной [методом map_get_closest_point]." #: doc/classes/NavigationServer.xml msgid "" "Returns the closest point between the navigation surface and the segment." msgstr "" +"Возвращает ближайшую точку между навигационной поверхностью и сегментом." #: doc/classes/NavigationServer.xml +#, fuzzy msgid "" "Returns the edge connection margin of the map. This distance is the minimum " "vertex distance needed to connect two edges from different regions." msgstr "" +"Возвращает расстояние соединения граней карты. Это расстояние - минимальное " +"расстояние между вершинами, необходимое для соединения двух ребер из разных " +"регионов." #: doc/classes/NavigationServer.xml #, fuzzy @@ -37582,31 +37769,42 @@ msgstr "" #: doc/classes/NavigationServer.xml #, fuzzy msgid "Sets the map up direction." -msgstr "Возвращает синус параметра." +msgstr "Устанавливает направление движения карты вверх." #: doc/classes/NavigationServer.xml +#, fuzzy msgid "" "Process the collision avoidance agents.\n" "The result of this process is needed by the physics server, so this must be " "called in the main thread.\n" "[b]Note:[/b] This function is not thread safe." msgstr "" +"Обработка агентов предотвращения столкновений.\n" +"Результат этого процесса необходим физическому серверу, поэтому эта функция " +"должна вызываться в главном потоке.\n" +"[b]Примечание:[/b] Эта функция не является потокобезопасной." #: doc/classes/NavigationServer.xml +#, fuzzy msgid "Bakes the navigation mesh." -msgstr "" +msgstr "Выпекает навигационную сетку." #: doc/classes/NavigationServer.xml +#, fuzzy msgid "Control activation of this server." -msgstr "" +msgstr "Управление активацией данного сервера." #: modules/enet/doc_classes/NetworkedMultiplayerENet.xml +#, fuzzy msgid "" "PacketPeer implementation using the [url=http://enet.bespin.org/index." "html]ENet[/url] library." msgstr "" +"Реализация PacketPeer с использованием библиотеки [url=http://enet.bespin." +"org/index.html]ENet[/url]." #: modules/enet/doc_classes/NetworkedMultiplayerENet.xml +#, fuzzy msgid "" "A PacketPeer implementation that should be passed to [member SceneTree." "network_peer] after being initialized as either a client or server. Events " @@ -37618,16 +37816,32 @@ msgid "" "the server port in UDP. You can use the [UPNP] class to try to forward the " "server port automatically when starting the server." msgstr "" +"Реализация PacketPeer, которая должна быть передана в [member SceneTree." +"network_peer] после инициализации в качестве клиента или сервера. Затем " +"события могут обрабатываться путем подключения к сигналам [SceneTree].\n" +"Цель ENet - обеспечить относительно тонкий, простой и надежный сетевой " +"коммуникационный уровень поверх UDP (User Datagram Protocol).\n" +"[b]Примечание:[/b] ENet использует только UDP, а не TCP. При переадресации " +"порта сервера, чтобы сделать ваш сервер доступным в публичном Интернете, вам " +"нужно переадресовать только порт сервера в UDP. Вы можете использовать класс " +"[UPNP], чтобы попытаться перенаправить порт сервера автоматически при " +"запуске сервера." #: modules/enet/doc_classes/NetworkedMultiplayerENet.xml +#, fuzzy msgid "" "Closes the connection. Ignored if no connection is currently established. If " "this is a server it tries to notify all clients before forcibly " "disconnecting them. If this is a client it simply closes the connection to " "the server." msgstr "" +"Закрывает соединение. Игнорируется, если в данный момент соединение не " +"установлено. Если это сервер, он пытается уведомить всех клиентов, прежде " +"чем принудительно отключить их. Если это клиент, он просто закрывает " +"соединение с сервером." #: modules/enet/doc_classes/NetworkedMultiplayerENet.xml +#, fuzzy msgid "" "Create client that connects to a server at [code]address[/code] using " "specified [code]port[/code]. The given address needs to be either a fully " @@ -37648,8 +37862,29 @@ msgid "" "code] is specified, the client will also listen to the given port; this is " "useful for some NAT traversal techniques." msgstr "" +"Создайте клиент, который подключается к серверу по адресу [code]address[/" +"code], используя указанный [code]port[/code]. Указанный адрес должен быть " +"либо полным доменным именем (например, [code]\"www.example.com\"[/code]), " +"либо IP-адресом в формате IPv4 или IPv6 (например, [code]\"192.168.1.1\"[/" +"code]). [code]port[/code] - это порт, который прослушивает сервер. Параметры " +"[code]in_bandwidth[/code] и [code]out_bandwidth[/code] могут быть " +"использованы для ограничения входящей и исходящей полосы пропускания до " +"заданного количества байт в секунду. Значение по умолчанию 0 означает " +"неограниченную пропускную способность. Обратите внимание, что ENet будет " +"стратегически отбрасывать пакеты на определенных сторонах соединения между " +"пирами, чтобы гарантировать, что пропускная способность пиров не будет " +"превышена. Параметры пропускной способности также определяют размер окна " +"соединения, которое ограничивает количество надежных пакетов, которые могут " +"находиться в пути в любой момент времени. Возвращает [константу OK], если " +"клиент был создан, [константу ERR_ALREADY_IN_USE], если данный экземпляр " +"NetworkedMultiplayerENet уже имеет открытое соединение (в этом случае " +"необходимо сначала вызвать [метод close_connection]) или [константу " +"ERR_CANT_CREATE], если клиент не может быть создан. Если указано " +"[code]client_port[/code], клиент также будет слушать указанный порт; это " +"полезно для некоторых методов обхода NAT." #: modules/enet/doc_classes/NetworkedMultiplayerENet.xml +#, fuzzy msgid "" "Create server that listens to connections via [code]port[/code]. The port " "needs to be an available, unused port between 0 and 65535. Note that ports " @@ -37666,29 +37901,55 @@ msgid "" "case you need to call [method close_connection] first) or [constant " "ERR_CANT_CREATE] if the server could not be created." msgstr "" +"Создайте сервер, который прослушивает соединения через [code]порт[/code]. " +"Порт должен быть доступным, неиспользуемым портом в диапазоне от 0 до 65535. " +"Обратите внимание, что порты ниже 1024 являются привилегированными и могут " +"требовать повышенных прав в зависимости от платформы. Чтобы изменить " +"интерфейс, на котором прослушивается сервер, используйте [method " +"set_bind_ip]. IP по умолчанию - это подстановочный знак [code]\"*\"[/code], " +"который прослушивает все доступные интерфейсы. [code]max_clients[/code] - " +"максимальное количество клиентов, разрешенных одновременно, можно " +"использовать любое число до 4095, хотя достижимое количество одновременных " +"клиентов может быть гораздо меньше и зависит от приложения. Дополнительные " +"сведения о параметрах пропускной способности см. в [метод create_client]. " +"Возвращает [константу OK], если сервер был создан, [константу " +"ERR_ALREADY_IN_USE], если данный экземпляр NetworkedMultiplayerENet уже " +"имеет открытое соединение (в этом случае необходимо сначала вызвать [метод " +"close_connection]) или [константу ERR_CANT_CREATE], если сервер не удалось " +"создать." #: modules/enet/doc_classes/NetworkedMultiplayerENet.xml +#, fuzzy msgid "" "Disconnect the given peer. If \"now\" is set to [code]true[/code], the " "connection will be closed immediately without flushing queued messages." msgstr "" +"Отключить указанный пир. Если \"now\" имеет значение [code]true[/code], " +"соединение будет закрыто немедленно без сброса очередей сообщений." #: modules/enet/doc_classes/NetworkedMultiplayerENet.xml +#, fuzzy msgid "" "Returns the channel of the last packet fetched via [method PacketPeer." "get_packet]." msgstr "" +"Возвращает канал последнего пакета, полученного через [метод PacketPeer." +"get_packet]." #: modules/enet/doc_classes/NetworkedMultiplayerENet.xml +#, fuzzy msgid "" "Returns the channel of the next packet that will be retrieved via [method " "PacketPeer.get_packet]." msgstr "" +"Возвращает канал следующего пакета, который будет получен через [метод " +"PacketPeer.get_packet]." #: modules/enet/doc_classes/NetworkedMultiplayerENet.xml #: modules/websocket/doc_classes/WebSocketServer.xml +#, fuzzy msgid "Returns the IP address of the given peer." -msgstr "" +msgstr "Возвращает IP-адрес заданного аналога." #: modules/enet/doc_classes/NetworkedMultiplayerENet.xml #: modules/websocket/doc_classes/WebSocketServer.xml @@ -38306,12 +38567,12 @@ msgid "" "[/codeblock]\n" "[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " "must set [member owner] in addition to calling [method add_child]. This is " -"typically relevant for [url=https://godot.readthedocs.io/en/3.2/tutorials/" -"misc/running_code_in_the_editor.html]tool scripts[/url] and [url=https://" -"godot.readthedocs.io/en/latest/tutorials/plugins/editor/index.html]editor " -"plugins[/url]. If [method add_child] is called without setting [member " -"owner], the newly added [Node] will not be visible in the scene tree, though " -"it will be visible in the 2D/3D view." +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -39021,7 +39282,15 @@ msgid "" "valid parent, grandparent, etc. ascending in the tree). When saving a node " "(using [PackedScene]), all the nodes it owns will be saved with it. This " "allows for the creation of complex [SceneTree]s, with instancing and " -"subinstancing." +"subinstancing.\n" +"[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " +"must set [member owner] in addition to calling [method add_child]. This is " +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -39619,7 +39888,13 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Called when the object is initialized." +msgid "" +"Called when the object is initialized in memory. Can be defined to take in " +"parameters, that are passed in when constructing.\n" +"[b]Note:[/b] If [method _init] is defined with required parameters, then " +"explicit construction is the only valid means of creating an Object of the " +"class. If any other means (such as [method PackedScene.instance]) is used, " +"then initialization will fail." msgstr "" #: doc/classes/Object.xml @@ -39815,7 +40090,10 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Returns the object's metadata entry for the given [code]name[/code]." +msgid "" +"Returns the object's metadata entry for the given [code]name[/code].\n" +"Throws error if the entry does not exist, unless [code]default[/code] is not " +"[code]null[/code] (in which case the default value will be returned)." msgstr "" #: doc/classes/Object.xml @@ -42053,6 +42331,14 @@ msgid "" "[b]Note:[/b] Only available in editor builds." msgstr "" +#: modules/gltf/doc_classes/PackedSceneGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [PackedSceneGLTF] within a script will cause an error in an exported " +"project." +msgstr "" + #: doc/classes/PacketPeer.xml msgid "Abstraction and base class for packet-based protocols." msgstr "" @@ -44914,7 +45200,10 @@ msgid "" msgstr "" #: doc/classes/PhysicsServer.xml -msgid "Returns an Info defined by the [enum ProcessInfo] input given." +msgid "" +"Returns information about the current state of the 3D physics engine. See " +"[enum ProcessInfo] for a list of available states. Only implemented for " +"Godot Physics." msgstr "" #: doc/classes/PhysicsServer.xml @@ -47815,7 +48104,7 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Allows the window to be resizable by default.\n" -"[b]Note:[/b] This setting is ignored on iOS and Android." +"[b]Note:[/b] This setting is ignored on iOS." msgstr "" #: doc/classes/ProjectSettings.xml @@ -48462,7 +48751,7 @@ msgid "Optional name for the 3D render layer 13." msgstr "" #: doc/classes/ProjectSettings.xml -msgid "Optional name for the 3D render layer 14" +msgid "Optional name for the 3D render layer 14." msgstr "" #: doc/classes/ProjectSettings.xml @@ -49732,16 +50021,24 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" -"If [code]true[/code], forces vertex shading for all rendering. This can " -"increase performance a lot, but also reduces quality immensely. Can be used " -"to optimize performance on low-end mobile devices." +"If [code]true[/code], forces vertex shading for all 3D [SpatialMaterial] and " +"[ShaderMaterial] rendering. This can be used to improve performance on low-" +"end mobile devices. The downside is that shading becomes much less accurate, " +"with visible linear interpolation between vertices that are joined together. " +"This can be compensated by ensuring meshes have a sufficient level of " +"subdivision (but not too much, to avoid reducing performance). Some material " +"features are also not supported when vertex shading is enabled.\n" +"See also [member SpatialMaterial.flags_vertex_lighting] which can be used to " +"enable vertex shading on specific materials only.\n" +"[b]Note:[/b] This setting does not affect unshaded materials." msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Lower-end override for [member rendering/quality/shading/" "force_vertex_shading] on mobile devices, due to performance concerns or " -"driver support." +"driver support. If lighting looks broken after exporting the project to a " +"mobile platform, try disabling this setting." msgstr "" #: doc/classes/ProjectSettings.xml @@ -51834,6 +52131,11 @@ msgid "" msgstr "" #: doc/classes/RichTextLabel.xml +#, fuzzy +msgid "Returns the current selection text. Does not include BBCodes." +msgstr "Возвращает длину вектора." + +#: doc/classes/RichTextLabel.xml msgid "" "Returns the total number of characters from text tags. Does not include " "BBCodes." @@ -54126,14 +54428,23 @@ msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Lowers the [Semaphore], allowing one more thread in. Returns [constant OK] " -"on success, [constant ERR_BUSY] otherwise." +"Lowers the [Semaphore], allowing one more thread in.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Tries to wait for the [Semaphore], if its value is zero, blocks until non-" -"zero. Returns [constant OK] on success, [constant ERR_BUSY] otherwise." +"Like [method wait], but won't block, so if the value is zero, fails " +"immediately and returns [constant ERR_BUSY]. If non-zero, it returns " +"[constant OK] to report success." +msgstr "" + +#: doc/classes/Semaphore.xml +msgid "" +"Waits for the [Semaphore], if its value is zero, blocks until non-zero.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Separator.xml @@ -55589,7 +55900,21 @@ msgstr "" #: doc/classes/SpatialMaterial.xml msgid "" "If [code]true[/code], lighting is calculated per vertex rather than per " -"pixel. This may increase performance on low-end devices." +"pixel. This may increase performance on low-end devices, especially for " +"meshes with a lower polygon count. The downside is that shading becomes much " +"less accurate, with visible linear interpolation between vertices that are " +"joined together. This can be compensated by ensuring meshes have a " +"sufficient level of subdivision (but not too much, to avoid reducing " +"performance). Some material features are also not supported when vertex " +"shading is enabled.\n" +"See also [member ProjectSettings.rendering/quality/shading/" +"force_vertex_shading] which can globally enable vertex shading on all " +"materials.\n" +"[b]Note:[/b] By default, vertex shading is enforced on mobile platforms by " +"[member ProjectSettings.rendering/quality/shading/force_vertex_shading]'s " +"[code]mobile[/code] override.\n" +"[b]Note:[/b] [member flags_vertex_lighting] has no effect if [member " +"flags_unshaded] is [code]true[/code]." msgstr "" #: doc/classes/SpatialMaterial.xml @@ -56394,7 +56719,10 @@ msgid "" "the text alignment to right.\n" "See [Range] class for more options over the [SpinBox].\n" "[b]Note:[/b] [SpinBox] relies on an underlying [LineEdit] node. To theme a " -"[SpinBox]'s background, add theme items for [LineEdit] and customize them." +"[SpinBox]'s background, add theme items for [LineEdit] and customize them.\n" +"[b]Note:[/b] If you want to implement drag and drop for the underlying " +"[LineEdit], you can use [method Control.set_drag_forwarding] on the node " +"returned by [method get_line_edit]." msgstr "" #: doc/classes/SpinBox.xml @@ -57741,7 +58069,6 @@ msgid "" "print(\"1.7\".is_valid_float()) # Prints \"True\"\n" "print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"7e3\".is_valid_float()) # Prints \"True\"\n" -"print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -57978,8 +58305,8 @@ msgid "" "var some_string = \"One,Two,Three,Four\"\n" "var some_array = some_string.rsplit(\",\", true, 1)\n" "print(some_array.size()) # Prints 2\n" -"print(some_array[0]) # Prints \"Four\"\n" -"print(some_array[1]) # Prints \"Three,Two,One\"\n" +"print(some_array[0]) # Prints \"One,Two,Three\"\n" +"print(some_array[1]) # Prints \"Four\"\n" "[/codeblock]" msgstr "" @@ -58012,9 +58339,9 @@ msgstr "" #: doc/classes/String.xml msgid "" "Returns the similarity index ([url=https://en.wikipedia.org/wiki/" -"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) this " -"string compared to another. 1.0 means totally similar and 0.0 means totally " -"dissimilar.\n" +"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) of " +"this string compared to another. A result of 1.0 means totally similar, " +"while 0.0 means totally dissimilar.\n" "[codeblock]\n" "print(\"ABC123\".similarity(\"ABC123\")) # Prints \"1\"\n" "print(\"ABC123\".similarity(\"XYZ456\")) # Prints \"0\"\n" @@ -59494,10 +59821,6 @@ msgid "" msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection begin column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection begin line." msgstr "" @@ -59506,10 +59829,6 @@ msgid "Returns the text inside the selection." msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection end column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection end line." msgstr "" @@ -60543,6 +60862,14 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Adds an empty theme type for every valid data type.\n" +"[b]Note:[/b] Empty types are not saved with the theme. This method only " +"exists to perform in-memory changes to the resource. Use available " +"[code]set_*[/code] methods to add theme items." +msgstr "" + +#: doc/classes/Theme.xml msgid "Clears all values on the theme." msgstr "" @@ -60829,6 +61156,13 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Removes the theme type, gracefully discarding defined theme items. If the " +"type is a variation, this information is also erased. If the type is a base " +"for type variations, those variations lose their base." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Renames the [Color] at [code]old_name[/code] to [code]name[/code] if the " "theme has [code]node_type[/code]. If [code]name[/code] is already taken, " "this method fails." @@ -73736,6 +74070,11 @@ msgid "" msgstr "" #: modules/websocket/doc_classes/WebSocketServer.xml +msgid "" +"Sets additional headers to be sent to clients during the HTTP handshake." +msgstr "" + +#: modules/websocket/doc_classes/WebSocketServer.xml msgid "Stops the server and clear its state." msgstr "" @@ -73831,6 +74170,9 @@ msgid "" "\n" " webxr_interface = ARVRServer.find_interface(\"WebXR\")\n" " if webxr_interface:\n" +" # Map to the standard button/axis ids when possible.\n" +" webxr_interface.xr_standard_mapping = true\n" +"\n" " # WebXR uses a lot of asynchronous callbacks, so we connect to " "various\n" " # signals in order to receive them.\n" @@ -74056,6 +74398,13 @@ msgstr "" #: modules/webxr/doc_classes/WebXRInterface.xml msgid "" +"If set to true, the button and axes ids will be converted to match the " +"standard ids used by other AR/VR interfaces, when possible.\n" +"Otherwise, the ids will be passed through unaltered from WebXR." +msgstr "" + +#: modules/webxr/doc_classes/WebXRInterface.xml +msgid "" "Emitted to indicate that the reference space has been reset or " "reconfigured.\n" "When (or whether) this is emitted depends on the user's browser or device, " diff --git a/doc/translations/sk.po b/doc/translations/sk.po index 607fa7197e..c16d337a6a 100644 --- a/doc/translations/sk.po +++ b/doc/translations/sk.po @@ -3324,8 +3324,12 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" "Hints that an integer, float or string property is an enumerated value to " -"pick in a list specified via a hint string such as [code]\"Hello,Something," -"Else\"[/code]." +"pick in a list specified via a hint string.\n" +"The hint string is a comma separated list of names such as [code]\"Hello," +"Something,Else\"[/code]. For integer and float properties, the first name in " +"the list has value 0, the next 1, and so on. Explicit values can also be " +"specified by appending [code]:integer[/code] to the name, e.g. [code]\"Zero," +"One,Three:3,Four,Six:6\"[/code]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -3466,7 +3470,7 @@ msgid "The property is a translatable string." msgstr "" #: doc/classes/@GlobalScope.xml -msgid "Used to group properties together in the editor." +msgid "Used to group properties together in the editor. See [EditorInspector]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -5237,8 +5241,11 @@ msgstr "" #: doc/classes/AnimationNodeBlendTree.xml msgid "" -"This node may contain a sub-tree of any other blend type nodes, such as mix, " -"blend2, blend3, one shot, etc. This is one of the most commonly used roots." +"This node may contain a sub-tree of any other blend type nodes, such as " +"[AnimationNodeTransition], [AnimationNodeBlend2], [AnimationNodeBlend3], " +"[AnimationNodeOneShot], etc. This is one of the most commonly used roots.\n" +"An [AnimationNodeOutput] node named [code]output[/code] is created by " +"default." msgstr "" #: doc/classes/AnimationNodeBlendTree.xml @@ -6980,8 +6987,9 @@ msgstr "" #: doc/classes/Array.xml msgid "" -"Removes the first occurrence of a value from the array. To remove an element " -"by index, use [method remove] instead.\n" +"Removes the first occurrence of a value from the array. If the value does " +"not exist in the array, nothing happens. To remove an element by index, use " +"[method remove] instead.\n" "[b]Note:[/b] This method acts in-place and doesn't return a value.\n" "[b]Note:[/b] On large arrays, this method will be slower if the removed " "element is close to the beginning of the array (index 0). This is because " @@ -10357,8 +10365,15 @@ msgstr "" #: doc/classes/BakedLightmap.xml msgid "" -"When enabled, the lightmapper will merge the textures for all meshes into a " -"single large layered texture. Not supported in GLES2." +"If [code]true[/code], the lightmapper will merge the textures for all meshes " +"into one or several large layered textures. If [code]false[/code], every " +"mesh will get its own lightmap texture, which is less efficient.\n" +"[b]Note:[/b] Atlas lightmap rendering is only supported in GLES3, [i]not[/i] " +"GLES2. Non-atlas lightmap rendering is supported by both GLES3 and GLES2. If " +"[member ProjectSettings.rendering/quality/driver/fallback_to_gles2] is " +"[code]true[/code], consider baking lightmaps with [member atlas_generate] " +"set to [code]false[/code] so that the resulting lightmap is visible in both " +"GLES3 and GLES2." msgstr "" #: doc/classes/BakedLightmap.xml @@ -11701,8 +11716,8 @@ msgstr "" #: doc/classes/Camera.xml msgid "" "The camera's size measured as 1/2 the width or height. Only applicable in " -"orthogonal mode. Since [member keep_aspect] locks on axis, [code]size[/code] " -"sets the other axis' size length." +"orthogonal and frustum modes. Since [member keep_aspect] locks on axis, " +"[code]size[/code] sets the other axis' size length." msgstr "" #: doc/classes/Camera.xml @@ -12500,20 +12515,24 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], the node won't inherit its " -"transform from parent canvas items." +"If [code]enable[/code] is [code]true[/code], this [CanvasItem] will [i]not[/" +"i] inherit its transform from parent [CanvasItem]s. Its draw order will also " +"be changed to make it draw on top of other [CanvasItem]s that are not set as " +"top-level. The [CanvasItem] will effectively act as if it was placed as a " +"child of a bare [Node]. See also [method is_set_as_toplevel]." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"local transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_LOCAL_TRANSFORM_CHANGED] when its local transform " +"changes." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"global transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_TRANSFORM_CHANGED] when its global transform changes." msgstr "" #: doc/classes/CanvasItem.xml @@ -12627,9 +12646,14 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"The [CanvasItem]'s transform has changed. This notification is only received " -"if enabled by [method set_notify_transform] or [method " -"set_notify_local_transform]." +"The [CanvasItem]'s global transform has changed. This notification is only " +"received if enabled by [method set_notify_transform]." +msgstr "" + +#: doc/classes/CanvasItem.xml +msgid "" +"The [CanvasItem]'s local transform has changed. This notification is only " +"received if enabled by [method set_notify_local_transform]." msgstr "" #: doc/classes/CanvasItem.xml @@ -13584,7 +13608,10 @@ msgid "" "number of 2D collision [Shape2D]s. Each shape must be assigned to a [i]shape " "owner[/i]. The CollisionObject2D can have any number of shape owners. Shape " "owners are not nodes and do not appear in the editor, but are accessible " -"through code using the [code]shape_owner_*[/code] methods." +"through code using the [code]shape_owner_*[/code] methods.\n" +"[b]Note:[/b] Only collisions between objects within the same canvas " +"([Viewport] canvas or [CanvasLayer]) are supported. The behavior of " +"collisions between objects in different canvases is undefined." msgstr "" #: doc/classes/CollisionObject2D.xml @@ -19591,9 +19618,8 @@ msgid "" "main font.\n" "DynamicFont uses the [url=https://www.freetype.org/]FreeType[/url] library " "for rasterization. Supported formats are TrueType ([code].ttf[/code]), " -"OpenType ([code].otf[/code]) and Web Open Font Format 1 ([code].woff[/" -"code]). Web Open Font Format 2 ([code].woff2[/code]) is [i]not[/i] " -"supported.\n" +"OpenType ([code].otf[/code]), Web Open Font Format 1 ([code].woff[/code]), " +"and Web Open Font Format 2 ([code].woff2[/code]).\n" "[codeblock]\n" "var dynamic_font = DynamicFont.new()\n" "dynamic_font.font_data = load(\"res://BarlowCondensed-Bold.ttf\")\n" @@ -20460,18 +20486,34 @@ msgid "" msgstr "" #: doc/classes/EditorInspector.xml -msgid "A tab used to edit properties of the selected node." +msgid "A control used to edit properties of an object." msgstr "" #: doc/classes/EditorInspector.xml msgid "" -"The editor inspector is by default located on the right-hand side of the " -"editor. It's used to edit the properties of the selected node. For example, " -"you can select a node such as [Sprite] then edit its transform through the " -"inspector tool. The editor inspector is an essential tool in the game " -"development workflow.\n" -"[b]Note:[/b] This class shouldn't be instantiated directly. Instead, access " -"the singleton using [method EditorInterface.get_inspector]." +"This is the control that implements property editing in the editor's " +"Settings dialogs, the Inspector dock, etc. To get the [EditorInspector] used " +"in the editor's Inspector dock, use [method EditorInterface.get_inspector].\n" +"[EditorInspector] will show properties in the same order as the array " +"returned by [method Object.get_property_list].\n" +"If a property's name is path-like (i.e. if it contains forward slashes), " +"[EditorInspector] will create nested sections for \"directories\" along the " +"path. For example, if a property is named [code]highlighting/gdscript/" +"node_path_color[/code], it will be shown as \"Node Path Color\" inside the " +"\"GDScript\" section nested inside the \"Highlighting\" section.\n" +"If a property has [constant @GlobalScope.PROPERTY_USAGE_GROUP] usage, it " +"will group subsequent properties whose name starts with the property's hint " +"string. The group ends when a property does not start with that hint string " +"or when a new group starts. An empty group name effectively ends the current " +"group. [EditorInspector] will create a top-level section for each group. For " +"example, if a property with group usage is named [code]Collide With[/code] " +"and its hint string is [code]collide_with_[/code], a subsequent " +"[code]collide_with_area[/code] property will be shown as \"Area\" inside the " +"\"Collide With\" section.\n" +"[b]Note:[/b] Unlike sections created from path-like property names, " +"[EditorInspector] won't capitalize the name for sections created from " +"groups. So properties with group usage usually use capitalized names instead " +"of snake_cased names." msgstr "" #: doc/classes/EditorInspector.xml @@ -21646,6 +21688,14 @@ msgid "" "[/codeblock]" msgstr "" +#: modules/gltf/doc_classes/EditorSceneImporterGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [EditorSceneImporterGLTF] within a script will cause an error in an " +"exported project." +msgstr "" + #: doc/classes/EditorScenePostImport.xml msgid "Post-processes scenes after import." msgstr "" @@ -22383,12 +22433,13 @@ msgstr "" #: doc/classes/EditorVCSInterface.xml msgid "" "Helper function to create a commit [Dictionary] item. [code]msg[/code] is " -"the commit message of the commit. [code]author[/code] is a human-readable " -"string containing the author's details, e.g. the email and name configured " -"in the VCS. [code]id[/code] is the identifier of the commit, in whichever " -"format your VCS may provide an identifier to commits. [code]date[/code] is " -"directly added to the commit item and displayed in the editor, and hence, it " -"shall be a well-formatted, human-readable date string." +"the commit message of the commit. [code]author[/code] is a single human-" +"readable string containing all the author's details, e.g. the email and name " +"configured in the VCS. [code]id[/code] is the identifier of the commit, in " +"whichever format your VCS may provide an identifier to commits. " +"[code]unix_timestamp[/code] is the UTC Unix timestamp of when the commit was " +"created. [code]offset_minutes[/code] is the timezone offset in minutes, " +"recorded from the system timezone where the commit was created." msgstr "" #: doc/classes/EditorVCSInterface.xml @@ -25542,6 +25593,50 @@ msgstr "" msgid "Represents the size of the [enum Subdiv] enum." msgstr "" +#: modules/gltf/doc_classes/GLTFAccessor.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAccessor] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFAnimation.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAnimation] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFBufferView.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFBufferView] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFCamera.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFCamera] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFDocument.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFDocument] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFLight.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFLight] within a script will cause an error in an exported project." +msgstr "" + #: modules/gltf/doc_classes/GLTFLight.xml msgid "" "The [Color] of the light. Defaults to white. A black color causes the light " @@ -25591,6 +25686,49 @@ msgid "" "and [DirectionalLight] respectively." msgstr "" +#: modules/gltf/doc_classes/GLTFMesh.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFMesh] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFNode.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFNode] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSkeleton.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSkeleton] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSpecGloss.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSpecGloss] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFState.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFState] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFTexture.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFTexture] within a script will cause an error in an exported project." +msgstr "" + #: modules/mono/doc_classes/GodotSharp.xml msgid "Bridge between Godot and the Mono runtime (Mono-enabled builds only)." msgstr "" @@ -28975,9 +29113,9 @@ msgid "" "Returns a value between 0 and 1 representing the raw intensity of the given " "action, ignoring the action's deadzone. In most cases, you should use " "[method get_action_strength] instead.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -28987,9 +29125,9 @@ msgid "" "or L2, R2 triggers) is from the dead zone, the closer the value will be to " "1. If the action is mapped to a control that has no axis as the keyboard, " "the value returned will be 0 or 1.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29122,9 +29260,9 @@ msgid "" "the button.\n" "This is useful for code that needs to run only once when an action is " "pressed, instead of every frame while it's pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_just_pressed] may " "return [code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29136,9 +29274,9 @@ msgid "" "Returns [code]true[/code] when the user stops pressing the action event, " "meaning it's [code]true[/code] only on the frame that the user released the " "button.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29147,9 +29285,9 @@ msgid "" "an action has multiple buttons assigned and more than one of them is " "pressed, releasing one button will release the action, even if some other " "button assigned to this action is still pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29499,18 +29637,18 @@ msgstr "" msgid "" "Returns a value between 0.0 and 1.0 depending on the given actions' state. " "Useful for getting the value of events of type [InputEventJoypadMotion].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml msgid "" "Returns [code]true[/code] if this input event matches a pre-defined action " "of any type.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -29519,9 +29657,9 @@ msgid "" "an echo event for [InputEventKey] events, unless [code]allow_echo[/code] is " "[code]true[/code]). Not relevant for events of type [InputEventMouseMotion] " "or [InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events.\n" +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29533,9 +29671,9 @@ msgid "" "Returns [code]true[/code] if the given action is released (i.e. not " "pressed). Not relevant for events of type [InputEventMouseMotion] or " "[InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -29566,9 +29704,9 @@ msgid "" "event. Only valid for action events i.e key ([InputEventKey]), button " "([InputEventMouseButton] or [InputEventJoypadButton]), axis " "[InputEventJoypadMotion] or action ([InputEventAction]) events.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -30098,9 +30236,9 @@ msgid "" "This method ignores keyboard modifiers if the given [InputEvent] is not " "pressed (for proper release detection). See [method action_has_event] if you " "don't want this behavior.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputMap.xml @@ -32504,7 +32642,7 @@ msgid "" "be within the text's length." msgstr "" -#: doc/classes/LineEdit.xml +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml msgid "Clears the current selection." msgstr "" @@ -32523,6 +32661,18 @@ msgid "" "characters." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection begin column." +msgstr "" + +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection end column." +msgstr "" + +#: doc/classes/LineEdit.xml +msgid "Returns [code]true[/code] if the user has selected text." +msgstr "" + #: doc/classes/LineEdit.xml msgid "Executes a given action as defined in the [enum MenuItems] enum." msgstr "" @@ -33936,6 +34086,39 @@ msgid "Returns the number of surface materials." msgstr "" #: doc/classes/MeshInstance.xml +msgid "" +"Returns [code]true[/code] if this [MeshInstance] can be merged with the " +"specified [code]other_mesh_instance[/code], using the [method MeshInstance." +"merge_meshes] function.\n" +"In order to be mergeable, properties of the [MeshInstance] must match, and " +"each surface must match, in terms of material, attributes and vertex format." +msgstr "" + +#: doc/classes/MeshInstance.xml +msgid "" +"This function can merge together the data from several source " +"[MeshInstance]s into a single destination [MeshInstance] (the MeshInstance " +"the function is called from). This is primarily useful for improving " +"performance by reducing the number of drawcalls and [Node]s.\n" +"Merging should only be attempted for simple meshes that do not contain " +"animation.\n" +"The final vertices can either be returned in global space, or in local space " +"relative to the destination [MeshInstance] global transform (the destination " +"Node must be inside the [SceneTree] for local space to work).\n" +"The function will make a final check for compatibility between the " +"[MeshInstance]s by default, this should always be used unless you have " +"previously checked for compatibility using [method MeshInstance." +"is_mergeable_with]. If the compatibility check is omitted and the meshes are " +"merged, you may see rendering errors.\n" +"[b]Note:[/b] The requirements for similarity between meshes are quite " +"stringent. They can be checked using the [method MeshInstance." +"is_mergeable_with] function prior to calling [method MeshInstance." +"merge_meshes].\n" +"Also note that any initial data in the destination [MeshInstance] data will " +"be discarded." +msgstr "" + +#: doc/classes/MeshInstance.xml msgid "Sets the [Material] for a surface of the [Mesh] resource." msgstr "" @@ -36388,12 +36571,12 @@ msgid "" "[/codeblock]\n" "[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " "must set [member owner] in addition to calling [method add_child]. This is " -"typically relevant for [url=https://godot.readthedocs.io/en/3.2/tutorials/" -"misc/running_code_in_the_editor.html]tool scripts[/url] and [url=https://" -"godot.readthedocs.io/en/latest/tutorials/plugins/editor/index.html]editor " -"plugins[/url]. If [method add_child] is called without setting [member " -"owner], the newly added [Node] will not be visible in the scene tree, though " -"it will be visible in the 2D/3D view." +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37100,7 +37283,15 @@ msgid "" "valid parent, grandparent, etc. ascending in the tree). When saving a node " "(using [PackedScene]), all the nodes it owns will be saved with it. This " "allows for the creation of complex [SceneTree]s, with instancing and " -"subinstancing." +"subinstancing.\n" +"[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " +"must set [member owner] in addition to calling [method add_child]. This is " +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37696,7 +37887,13 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Called when the object is initialized." +msgid "" +"Called when the object is initialized in memory. Can be defined to take in " +"parameters, that are passed in when constructing.\n" +"[b]Note:[/b] If [method _init] is defined with required parameters, then " +"explicit construction is the only valid means of creating an Object of the " +"class. If any other means (such as [method PackedScene.instance]) is used, " +"then initialization will fail." msgstr "" #: doc/classes/Object.xml @@ -37892,7 +38089,10 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Returns the object's metadata entry for the given [code]name[/code]." +msgid "" +"Returns the object's metadata entry for the given [code]name[/code].\n" +"Throws error if the entry does not exist, unless [code]default[/code] is not " +"[code]null[/code] (in which case the default value will be returned)." msgstr "" #: doc/classes/Object.xml @@ -40100,6 +40300,14 @@ msgid "" "[b]Note:[/b] Only available in editor builds." msgstr "" +#: modules/gltf/doc_classes/PackedSceneGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [PackedSceneGLTF] within a script will cause an error in an exported " +"project." +msgstr "" + #: doc/classes/PacketPeer.xml msgid "Abstraction and base class for packet-based protocols." msgstr "" @@ -42940,7 +43148,10 @@ msgid "" msgstr "" #: doc/classes/PhysicsServer.xml -msgid "Returns an Info defined by the [enum ProcessInfo] input given." +msgid "" +"Returns information about the current state of the 3D physics engine. See " +"[enum ProcessInfo] for a list of available states. Only implemented for " +"Godot Physics." msgstr "" #: doc/classes/PhysicsServer.xml @@ -45800,7 +46011,7 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Allows the window to be resizable by default.\n" -"[b]Note:[/b] This setting is ignored on iOS and Android." +"[b]Note:[/b] This setting is ignored on iOS." msgstr "" #: doc/classes/ProjectSettings.xml @@ -46447,7 +46658,7 @@ msgid "Optional name for the 3D render layer 13." msgstr "" #: doc/classes/ProjectSettings.xml -msgid "Optional name for the 3D render layer 14" +msgid "Optional name for the 3D render layer 14." msgstr "" #: doc/classes/ProjectSettings.xml @@ -47717,16 +47928,24 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" -"If [code]true[/code], forces vertex shading for all rendering. This can " -"increase performance a lot, but also reduces quality immensely. Can be used " -"to optimize performance on low-end mobile devices." +"If [code]true[/code], forces vertex shading for all 3D [SpatialMaterial] and " +"[ShaderMaterial] rendering. This can be used to improve performance on low-" +"end mobile devices. The downside is that shading becomes much less accurate, " +"with visible linear interpolation between vertices that are joined together. " +"This can be compensated by ensuring meshes have a sufficient level of " +"subdivision (but not too much, to avoid reducing performance). Some material " +"features are also not supported when vertex shading is enabled.\n" +"See also [member SpatialMaterial.flags_vertex_lighting] which can be used to " +"enable vertex shading on specific materials only.\n" +"[b]Note:[/b] This setting does not affect unshaded materials." msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Lower-end override for [member rendering/quality/shading/" "force_vertex_shading] on mobile devices, due to performance concerns or " -"driver support." +"driver support. If lighting looks broken after exporting the project to a " +"mobile platform, try disabling this setting." msgstr "" #: doc/classes/ProjectSettings.xml @@ -49761,6 +49980,10 @@ msgid "" msgstr "" #: doc/classes/RichTextLabel.xml +msgid "Returns the current selection text. Does not include BBCodes." +msgstr "" + +#: doc/classes/RichTextLabel.xml msgid "" "Returns the total number of characters from text tags. Does not include " "BBCodes." @@ -52052,14 +52275,23 @@ msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Lowers the [Semaphore], allowing one more thread in. Returns [constant OK] " -"on success, [constant ERR_BUSY] otherwise." +"Lowers the [Semaphore], allowing one more thread in.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Tries to wait for the [Semaphore], if its value is zero, blocks until non-" -"zero. Returns [constant OK] on success, [constant ERR_BUSY] otherwise." +"Like [method wait], but won't block, so if the value is zero, fails " +"immediately and returns [constant ERR_BUSY]. If non-zero, it returns " +"[constant OK] to report success." +msgstr "" + +#: doc/classes/Semaphore.xml +msgid "" +"Waits for the [Semaphore], if its value is zero, blocks until non-zero.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Separator.xml @@ -53505,7 +53737,21 @@ msgstr "" #: doc/classes/SpatialMaterial.xml msgid "" "If [code]true[/code], lighting is calculated per vertex rather than per " -"pixel. This may increase performance on low-end devices." +"pixel. This may increase performance on low-end devices, especially for " +"meshes with a lower polygon count. The downside is that shading becomes much " +"less accurate, with visible linear interpolation between vertices that are " +"joined together. This can be compensated by ensuring meshes have a " +"sufficient level of subdivision (but not too much, to avoid reducing " +"performance). Some material features are also not supported when vertex " +"shading is enabled.\n" +"See also [member ProjectSettings.rendering/quality/shading/" +"force_vertex_shading] which can globally enable vertex shading on all " +"materials.\n" +"[b]Note:[/b] By default, vertex shading is enforced on mobile platforms by " +"[member ProjectSettings.rendering/quality/shading/force_vertex_shading]'s " +"[code]mobile[/code] override.\n" +"[b]Note:[/b] [member flags_vertex_lighting] has no effect if [member " +"flags_unshaded] is [code]true[/code]." msgstr "" #: doc/classes/SpatialMaterial.xml @@ -54309,7 +54555,10 @@ msgid "" "the text alignment to right.\n" "See [Range] class for more options over the [SpinBox].\n" "[b]Note:[/b] [SpinBox] relies on an underlying [LineEdit] node. To theme a " -"[SpinBox]'s background, add theme items for [LineEdit] and customize them." +"[SpinBox]'s background, add theme items for [LineEdit] and customize them.\n" +"[b]Note:[/b] If you want to implement drag and drop for the underlying " +"[LineEdit], you can use [method Control.set_drag_forwarding] on the node " +"returned by [method get_line_edit]." msgstr "" #: doc/classes/SpinBox.xml @@ -55627,7 +55876,6 @@ msgid "" "print(\"1.7\".is_valid_float()) # Prints \"True\"\n" "print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"7e3\".is_valid_float()) # Prints \"True\"\n" -"print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55864,8 +56112,8 @@ msgid "" "var some_string = \"One,Two,Three,Four\"\n" "var some_array = some_string.rsplit(\",\", true, 1)\n" "print(some_array.size()) # Prints 2\n" -"print(some_array[0]) # Prints \"Four\"\n" -"print(some_array[1]) # Prints \"Three,Two,One\"\n" +"print(some_array[0]) # Prints \"One,Two,Three\"\n" +"print(some_array[1]) # Prints \"Four\"\n" "[/codeblock]" msgstr "" @@ -55898,9 +56146,9 @@ msgstr "" #: doc/classes/String.xml msgid "" "Returns the similarity index ([url=https://en.wikipedia.org/wiki/" -"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) this " -"string compared to another. 1.0 means totally similar and 0.0 means totally " -"dissimilar.\n" +"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) of " +"this string compared to another. A result of 1.0 means totally similar, " +"while 0.0 means totally dissimilar.\n" "[codeblock]\n" "print(\"ABC123\".similarity(\"ABC123\")) # Prints \"1\"\n" "print(\"ABC123\".similarity(\"XYZ456\")) # Prints \"0\"\n" @@ -57371,10 +57619,6 @@ msgid "" msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection begin column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection begin line." msgstr "" @@ -57383,10 +57627,6 @@ msgid "Returns the text inside the selection." msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection end column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection end line." msgstr "" @@ -58407,6 +58647,14 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Adds an empty theme type for every valid data type.\n" +"[b]Note:[/b] Empty types are not saved with the theme. This method only " +"exists to perform in-memory changes to the resource. Use available " +"[code]set_*[/code] methods to add theme items." +msgstr "" + +#: doc/classes/Theme.xml msgid "Clears all values on the theme." msgstr "" @@ -58666,6 +58914,13 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Removes the theme type, gracefully discarding defined theme items. If the " +"type is a variation, this information is also erased. If the type is a base " +"for type variations, those variations lose their base." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Renames the [Color] at [code]old_name[/code] to [code]name[/code] if the " "theme has [code]node_type[/code]. If [code]name[/code] is already taken, " "this method fails." @@ -71359,6 +71614,11 @@ msgid "" msgstr "" #: modules/websocket/doc_classes/WebSocketServer.xml +msgid "" +"Sets additional headers to be sent to clients during the HTTP handshake." +msgstr "" + +#: modules/websocket/doc_classes/WebSocketServer.xml msgid "Stops the server and clear its state." msgstr "" @@ -71454,6 +71714,9 @@ msgid "" "\n" " webxr_interface = ARVRServer.find_interface(\"WebXR\")\n" " if webxr_interface:\n" +" # Map to the standard button/axis ids when possible.\n" +" webxr_interface.xr_standard_mapping = true\n" +"\n" " # WebXR uses a lot of asynchronous callbacks, so we connect to " "various\n" " # signals in order to receive them.\n" @@ -71679,6 +71942,13 @@ msgstr "" #: modules/webxr/doc_classes/WebXRInterface.xml msgid "" +"If set to true, the button and axes ids will be converted to match the " +"standard ids used by other AR/VR interfaces, when possible.\n" +"Otherwise, the ids will be passed through unaltered from WebXR." +msgstr "" + +#: modules/webxr/doc_classes/WebXRInterface.xml +msgid "" "Emitted to indicate that the reference space has been reset or " "reconfigured.\n" "When (or whether) this is emitted depends on the user's browser or device, " diff --git a/doc/translations/sr_Cyrl.po b/doc/translations/sr_Cyrl.po index 620a2f5b47..5f8878e056 100644 --- a/doc/translations/sr_Cyrl.po +++ b/doc/translations/sr_Cyrl.po @@ -3335,8 +3335,12 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" "Hints that an integer, float or string property is an enumerated value to " -"pick in a list specified via a hint string such as [code]\"Hello,Something," -"Else\"[/code]." +"pick in a list specified via a hint string.\n" +"The hint string is a comma separated list of names such as [code]\"Hello," +"Something,Else\"[/code]. For integer and float properties, the first name in " +"the list has value 0, the next 1, and so on. Explicit values can also be " +"specified by appending [code]:integer[/code] to the name, e.g. [code]\"Zero," +"One,Three:3,Four,Six:6\"[/code]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -3477,7 +3481,7 @@ msgid "The property is a translatable string." msgstr "" #: doc/classes/@GlobalScope.xml -msgid "Used to group properties together in the editor." +msgid "Used to group properties together in the editor. See [EditorInspector]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -5248,8 +5252,11 @@ msgstr "" #: doc/classes/AnimationNodeBlendTree.xml msgid "" -"This node may contain a sub-tree of any other blend type nodes, such as mix, " -"blend2, blend3, one shot, etc. This is one of the most commonly used roots." +"This node may contain a sub-tree of any other blend type nodes, such as " +"[AnimationNodeTransition], [AnimationNodeBlend2], [AnimationNodeBlend3], " +"[AnimationNodeOneShot], etc. This is one of the most commonly used roots.\n" +"An [AnimationNodeOutput] node named [code]output[/code] is created by " +"default." msgstr "" #: doc/classes/AnimationNodeBlendTree.xml @@ -6991,8 +6998,9 @@ msgstr "" #: doc/classes/Array.xml msgid "" -"Removes the first occurrence of a value from the array. To remove an element " -"by index, use [method remove] instead.\n" +"Removes the first occurrence of a value from the array. If the value does " +"not exist in the array, nothing happens. To remove an element by index, use " +"[method remove] instead.\n" "[b]Note:[/b] This method acts in-place and doesn't return a value.\n" "[b]Note:[/b] On large arrays, this method will be slower if the removed " "element is close to the beginning of the array (index 0). This is because " @@ -10368,8 +10376,15 @@ msgstr "" #: doc/classes/BakedLightmap.xml msgid "" -"When enabled, the lightmapper will merge the textures for all meshes into a " -"single large layered texture. Not supported in GLES2." +"If [code]true[/code], the lightmapper will merge the textures for all meshes " +"into one or several large layered textures. If [code]false[/code], every " +"mesh will get its own lightmap texture, which is less efficient.\n" +"[b]Note:[/b] Atlas lightmap rendering is only supported in GLES3, [i]not[/i] " +"GLES2. Non-atlas lightmap rendering is supported by both GLES3 and GLES2. If " +"[member ProjectSettings.rendering/quality/driver/fallback_to_gles2] is " +"[code]true[/code], consider baking lightmaps with [member atlas_generate] " +"set to [code]false[/code] so that the resulting lightmap is visible in both " +"GLES3 and GLES2." msgstr "" #: doc/classes/BakedLightmap.xml @@ -11712,8 +11727,8 @@ msgstr "" #: doc/classes/Camera.xml msgid "" "The camera's size measured as 1/2 the width or height. Only applicable in " -"orthogonal mode. Since [member keep_aspect] locks on axis, [code]size[/code] " -"sets the other axis' size length." +"orthogonal and frustum modes. Since [member keep_aspect] locks on axis, " +"[code]size[/code] sets the other axis' size length." msgstr "" #: doc/classes/Camera.xml @@ -12511,20 +12526,24 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], the node won't inherit its " -"transform from parent canvas items." +"If [code]enable[/code] is [code]true[/code], this [CanvasItem] will [i]not[/" +"i] inherit its transform from parent [CanvasItem]s. Its draw order will also " +"be changed to make it draw on top of other [CanvasItem]s that are not set as " +"top-level. The [CanvasItem] will effectively act as if it was placed as a " +"child of a bare [Node]. See also [method is_set_as_toplevel]." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"local transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_LOCAL_TRANSFORM_CHANGED] when its local transform " +"changes." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"global transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_TRANSFORM_CHANGED] when its global transform changes." msgstr "" #: doc/classes/CanvasItem.xml @@ -12638,9 +12657,14 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"The [CanvasItem]'s transform has changed. This notification is only received " -"if enabled by [method set_notify_transform] or [method " -"set_notify_local_transform]." +"The [CanvasItem]'s global transform has changed. This notification is only " +"received if enabled by [method set_notify_transform]." +msgstr "" + +#: doc/classes/CanvasItem.xml +msgid "" +"The [CanvasItem]'s local transform has changed. This notification is only " +"received if enabled by [method set_notify_local_transform]." msgstr "" #: doc/classes/CanvasItem.xml @@ -13595,7 +13619,10 @@ msgid "" "number of 2D collision [Shape2D]s. Each shape must be assigned to a [i]shape " "owner[/i]. The CollisionObject2D can have any number of shape owners. Shape " "owners are not nodes and do not appear in the editor, but are accessible " -"through code using the [code]shape_owner_*[/code] methods." +"through code using the [code]shape_owner_*[/code] methods.\n" +"[b]Note:[/b] Only collisions between objects within the same canvas " +"([Viewport] canvas or [CanvasLayer]) are supported. The behavior of " +"collisions between objects in different canvases is undefined." msgstr "" #: doc/classes/CollisionObject2D.xml @@ -19602,9 +19629,8 @@ msgid "" "main font.\n" "DynamicFont uses the [url=https://www.freetype.org/]FreeType[/url] library " "for rasterization. Supported formats are TrueType ([code].ttf[/code]), " -"OpenType ([code].otf[/code]) and Web Open Font Format 1 ([code].woff[/" -"code]). Web Open Font Format 2 ([code].woff2[/code]) is [i]not[/i] " -"supported.\n" +"OpenType ([code].otf[/code]), Web Open Font Format 1 ([code].woff[/code]), " +"and Web Open Font Format 2 ([code].woff2[/code]).\n" "[codeblock]\n" "var dynamic_font = DynamicFont.new()\n" "dynamic_font.font_data = load(\"res://BarlowCondensed-Bold.ttf\")\n" @@ -20471,18 +20497,34 @@ msgid "" msgstr "" #: doc/classes/EditorInspector.xml -msgid "A tab used to edit properties of the selected node." +msgid "A control used to edit properties of an object." msgstr "" #: doc/classes/EditorInspector.xml msgid "" -"The editor inspector is by default located on the right-hand side of the " -"editor. It's used to edit the properties of the selected node. For example, " -"you can select a node such as [Sprite] then edit its transform through the " -"inspector tool. The editor inspector is an essential tool in the game " -"development workflow.\n" -"[b]Note:[/b] This class shouldn't be instantiated directly. Instead, access " -"the singleton using [method EditorInterface.get_inspector]." +"This is the control that implements property editing in the editor's " +"Settings dialogs, the Inspector dock, etc. To get the [EditorInspector] used " +"in the editor's Inspector dock, use [method EditorInterface.get_inspector].\n" +"[EditorInspector] will show properties in the same order as the array " +"returned by [method Object.get_property_list].\n" +"If a property's name is path-like (i.e. if it contains forward slashes), " +"[EditorInspector] will create nested sections for \"directories\" along the " +"path. For example, if a property is named [code]highlighting/gdscript/" +"node_path_color[/code], it will be shown as \"Node Path Color\" inside the " +"\"GDScript\" section nested inside the \"Highlighting\" section.\n" +"If a property has [constant @GlobalScope.PROPERTY_USAGE_GROUP] usage, it " +"will group subsequent properties whose name starts with the property's hint " +"string. The group ends when a property does not start with that hint string " +"or when a new group starts. An empty group name effectively ends the current " +"group. [EditorInspector] will create a top-level section for each group. For " +"example, if a property with group usage is named [code]Collide With[/code] " +"and its hint string is [code]collide_with_[/code], a subsequent " +"[code]collide_with_area[/code] property will be shown as \"Area\" inside the " +"\"Collide With\" section.\n" +"[b]Note:[/b] Unlike sections created from path-like property names, " +"[EditorInspector] won't capitalize the name for sections created from " +"groups. So properties with group usage usually use capitalized names instead " +"of snake_cased names." msgstr "" #: doc/classes/EditorInspector.xml @@ -21657,6 +21699,14 @@ msgid "" "[/codeblock]" msgstr "" +#: modules/gltf/doc_classes/EditorSceneImporterGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [EditorSceneImporterGLTF] within a script will cause an error in an " +"exported project." +msgstr "" + #: doc/classes/EditorScenePostImport.xml msgid "Post-processes scenes after import." msgstr "" @@ -22394,12 +22444,13 @@ msgstr "" #: doc/classes/EditorVCSInterface.xml msgid "" "Helper function to create a commit [Dictionary] item. [code]msg[/code] is " -"the commit message of the commit. [code]author[/code] is a human-readable " -"string containing the author's details, e.g. the email and name configured " -"in the VCS. [code]id[/code] is the identifier of the commit, in whichever " -"format your VCS may provide an identifier to commits. [code]date[/code] is " -"directly added to the commit item and displayed in the editor, and hence, it " -"shall be a well-formatted, human-readable date string." +"the commit message of the commit. [code]author[/code] is a single human-" +"readable string containing all the author's details, e.g. the email and name " +"configured in the VCS. [code]id[/code] is the identifier of the commit, in " +"whichever format your VCS may provide an identifier to commits. " +"[code]unix_timestamp[/code] is the UTC Unix timestamp of when the commit was " +"created. [code]offset_minutes[/code] is the timezone offset in minutes, " +"recorded from the system timezone where the commit was created." msgstr "" #: doc/classes/EditorVCSInterface.xml @@ -25553,6 +25604,50 @@ msgstr "" msgid "Represents the size of the [enum Subdiv] enum." msgstr "" +#: modules/gltf/doc_classes/GLTFAccessor.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAccessor] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFAnimation.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAnimation] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFBufferView.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFBufferView] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFCamera.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFCamera] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFDocument.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFDocument] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFLight.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFLight] within a script will cause an error in an exported project." +msgstr "" + #: modules/gltf/doc_classes/GLTFLight.xml msgid "" "The [Color] of the light. Defaults to white. A black color causes the light " @@ -25602,6 +25697,49 @@ msgid "" "and [DirectionalLight] respectively." msgstr "" +#: modules/gltf/doc_classes/GLTFMesh.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFMesh] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFNode.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFNode] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSkeleton.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSkeleton] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSpecGloss.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSpecGloss] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFState.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFState] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFTexture.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFTexture] within a script will cause an error in an exported project." +msgstr "" + #: modules/mono/doc_classes/GodotSharp.xml msgid "Bridge between Godot and the Mono runtime (Mono-enabled builds only)." msgstr "" @@ -28986,9 +29124,9 @@ msgid "" "Returns a value between 0 and 1 representing the raw intensity of the given " "action, ignoring the action's deadzone. In most cases, you should use " "[method get_action_strength] instead.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -28998,9 +29136,9 @@ msgid "" "or L2, R2 triggers) is from the dead zone, the closer the value will be to " "1. If the action is mapped to a control that has no axis as the keyboard, " "the value returned will be 0 or 1.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29133,9 +29271,9 @@ msgid "" "the button.\n" "This is useful for code that needs to run only once when an action is " "pressed, instead of every frame while it's pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_just_pressed] may " "return [code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29147,9 +29285,9 @@ msgid "" "Returns [code]true[/code] when the user stops pressing the action event, " "meaning it's [code]true[/code] only on the frame that the user released the " "button.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29158,9 +29296,9 @@ msgid "" "an action has multiple buttons assigned and more than one of them is " "pressed, releasing one button will release the action, even if some other " "button assigned to this action is still pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29510,18 +29648,18 @@ msgstr "" msgid "" "Returns a value between 0.0 and 1.0 depending on the given actions' state. " "Useful for getting the value of events of type [InputEventJoypadMotion].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml msgid "" "Returns [code]true[/code] if this input event matches a pre-defined action " "of any type.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -29530,9 +29668,9 @@ msgid "" "an echo event for [InputEventKey] events, unless [code]allow_echo[/code] is " "[code]true[/code]). Not relevant for events of type [InputEventMouseMotion] " "or [InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events.\n" +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29544,9 +29682,9 @@ msgid "" "Returns [code]true[/code] if the given action is released (i.e. not " "pressed). Not relevant for events of type [InputEventMouseMotion] or " "[InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -29577,9 +29715,9 @@ msgid "" "event. Only valid for action events i.e key ([InputEventKey]), button " "([InputEventMouseButton] or [InputEventJoypadButton]), axis " "[InputEventJoypadMotion] or action ([InputEventAction]) events.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -30109,9 +30247,9 @@ msgid "" "This method ignores keyboard modifiers if the given [InputEvent] is not " "pressed (for proper release detection). See [method action_has_event] if you " "don't want this behavior.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputMap.xml @@ -32515,7 +32653,7 @@ msgid "" "be within the text's length." msgstr "" -#: doc/classes/LineEdit.xml +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml msgid "Clears the current selection." msgstr "" @@ -32534,6 +32672,18 @@ msgid "" "characters." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection begin column." +msgstr "" + +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection end column." +msgstr "" + +#: doc/classes/LineEdit.xml +msgid "Returns [code]true[/code] if the user has selected text." +msgstr "" + #: doc/classes/LineEdit.xml msgid "Executes a given action as defined in the [enum MenuItems] enum." msgstr "" @@ -33947,6 +34097,39 @@ msgid "Returns the number of surface materials." msgstr "" #: doc/classes/MeshInstance.xml +msgid "" +"Returns [code]true[/code] if this [MeshInstance] can be merged with the " +"specified [code]other_mesh_instance[/code], using the [method MeshInstance." +"merge_meshes] function.\n" +"In order to be mergeable, properties of the [MeshInstance] must match, and " +"each surface must match, in terms of material, attributes and vertex format." +msgstr "" + +#: doc/classes/MeshInstance.xml +msgid "" +"This function can merge together the data from several source " +"[MeshInstance]s into a single destination [MeshInstance] (the MeshInstance " +"the function is called from). This is primarily useful for improving " +"performance by reducing the number of drawcalls and [Node]s.\n" +"Merging should only be attempted for simple meshes that do not contain " +"animation.\n" +"The final vertices can either be returned in global space, or in local space " +"relative to the destination [MeshInstance] global transform (the destination " +"Node must be inside the [SceneTree] for local space to work).\n" +"The function will make a final check for compatibility between the " +"[MeshInstance]s by default, this should always be used unless you have " +"previously checked for compatibility using [method MeshInstance." +"is_mergeable_with]. If the compatibility check is omitted and the meshes are " +"merged, you may see rendering errors.\n" +"[b]Note:[/b] The requirements for similarity between meshes are quite " +"stringent. They can be checked using the [method MeshInstance." +"is_mergeable_with] function prior to calling [method MeshInstance." +"merge_meshes].\n" +"Also note that any initial data in the destination [MeshInstance] data will " +"be discarded." +msgstr "" + +#: doc/classes/MeshInstance.xml msgid "Sets the [Material] for a surface of the [Mesh] resource." msgstr "" @@ -36399,12 +36582,12 @@ msgid "" "[/codeblock]\n" "[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " "must set [member owner] in addition to calling [method add_child]. This is " -"typically relevant for [url=https://godot.readthedocs.io/en/3.2/tutorials/" -"misc/running_code_in_the_editor.html]tool scripts[/url] and [url=https://" -"godot.readthedocs.io/en/latest/tutorials/plugins/editor/index.html]editor " -"plugins[/url]. If [method add_child] is called without setting [member " -"owner], the newly added [Node] will not be visible in the scene tree, though " -"it will be visible in the 2D/3D view." +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37111,7 +37294,15 @@ msgid "" "valid parent, grandparent, etc. ascending in the tree). When saving a node " "(using [PackedScene]), all the nodes it owns will be saved with it. This " "allows for the creation of complex [SceneTree]s, with instancing and " -"subinstancing." +"subinstancing.\n" +"[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " +"must set [member owner] in addition to calling [method add_child]. This is " +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37707,7 +37898,13 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Called when the object is initialized." +msgid "" +"Called when the object is initialized in memory. Can be defined to take in " +"parameters, that are passed in when constructing.\n" +"[b]Note:[/b] If [method _init] is defined with required parameters, then " +"explicit construction is the only valid means of creating an Object of the " +"class. If any other means (such as [method PackedScene.instance]) is used, " +"then initialization will fail." msgstr "" #: doc/classes/Object.xml @@ -37903,7 +38100,10 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Returns the object's metadata entry for the given [code]name[/code]." +msgid "" +"Returns the object's metadata entry for the given [code]name[/code].\n" +"Throws error if the entry does not exist, unless [code]default[/code] is not " +"[code]null[/code] (in which case the default value will be returned)." msgstr "" #: doc/classes/Object.xml @@ -40111,6 +40311,14 @@ msgid "" "[b]Note:[/b] Only available in editor builds." msgstr "" +#: modules/gltf/doc_classes/PackedSceneGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [PackedSceneGLTF] within a script will cause an error in an exported " +"project." +msgstr "" + #: doc/classes/PacketPeer.xml msgid "Abstraction and base class for packet-based protocols." msgstr "" @@ -42951,7 +43159,10 @@ msgid "" msgstr "" #: doc/classes/PhysicsServer.xml -msgid "Returns an Info defined by the [enum ProcessInfo] input given." +msgid "" +"Returns information about the current state of the 3D physics engine. See " +"[enum ProcessInfo] for a list of available states. Only implemented for " +"Godot Physics." msgstr "" #: doc/classes/PhysicsServer.xml @@ -45811,7 +46022,7 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Allows the window to be resizable by default.\n" -"[b]Note:[/b] This setting is ignored on iOS and Android." +"[b]Note:[/b] This setting is ignored on iOS." msgstr "" #: doc/classes/ProjectSettings.xml @@ -46458,7 +46669,7 @@ msgid "Optional name for the 3D render layer 13." msgstr "" #: doc/classes/ProjectSettings.xml -msgid "Optional name for the 3D render layer 14" +msgid "Optional name for the 3D render layer 14." msgstr "" #: doc/classes/ProjectSettings.xml @@ -47728,16 +47939,24 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" -"If [code]true[/code], forces vertex shading for all rendering. This can " -"increase performance a lot, but also reduces quality immensely. Can be used " -"to optimize performance on low-end mobile devices." +"If [code]true[/code], forces vertex shading for all 3D [SpatialMaterial] and " +"[ShaderMaterial] rendering. This can be used to improve performance on low-" +"end mobile devices. The downside is that shading becomes much less accurate, " +"with visible linear interpolation between vertices that are joined together. " +"This can be compensated by ensuring meshes have a sufficient level of " +"subdivision (but not too much, to avoid reducing performance). Some material " +"features are also not supported when vertex shading is enabled.\n" +"See also [member SpatialMaterial.flags_vertex_lighting] which can be used to " +"enable vertex shading on specific materials only.\n" +"[b]Note:[/b] This setting does not affect unshaded materials." msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Lower-end override for [member rendering/quality/shading/" "force_vertex_shading] on mobile devices, due to performance concerns or " -"driver support." +"driver support. If lighting looks broken after exporting the project to a " +"mobile platform, try disabling this setting." msgstr "" #: doc/classes/ProjectSettings.xml @@ -49772,6 +49991,10 @@ msgid "" msgstr "" #: doc/classes/RichTextLabel.xml +msgid "Returns the current selection text. Does not include BBCodes." +msgstr "" + +#: doc/classes/RichTextLabel.xml msgid "" "Returns the total number of characters from text tags. Does not include " "BBCodes." @@ -52063,14 +52286,23 @@ msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Lowers the [Semaphore], allowing one more thread in. Returns [constant OK] " -"on success, [constant ERR_BUSY] otherwise." +"Lowers the [Semaphore], allowing one more thread in.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Tries to wait for the [Semaphore], if its value is zero, blocks until non-" -"zero. Returns [constant OK] on success, [constant ERR_BUSY] otherwise." +"Like [method wait], but won't block, so if the value is zero, fails " +"immediately and returns [constant ERR_BUSY]. If non-zero, it returns " +"[constant OK] to report success." +msgstr "" + +#: doc/classes/Semaphore.xml +msgid "" +"Waits for the [Semaphore], if its value is zero, blocks until non-zero.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Separator.xml @@ -53516,7 +53748,21 @@ msgstr "" #: doc/classes/SpatialMaterial.xml msgid "" "If [code]true[/code], lighting is calculated per vertex rather than per " -"pixel. This may increase performance on low-end devices." +"pixel. This may increase performance on low-end devices, especially for " +"meshes with a lower polygon count. The downside is that shading becomes much " +"less accurate, with visible linear interpolation between vertices that are " +"joined together. This can be compensated by ensuring meshes have a " +"sufficient level of subdivision (but not too much, to avoid reducing " +"performance). Some material features are also not supported when vertex " +"shading is enabled.\n" +"See also [member ProjectSettings.rendering/quality/shading/" +"force_vertex_shading] which can globally enable vertex shading on all " +"materials.\n" +"[b]Note:[/b] By default, vertex shading is enforced on mobile platforms by " +"[member ProjectSettings.rendering/quality/shading/force_vertex_shading]'s " +"[code]mobile[/code] override.\n" +"[b]Note:[/b] [member flags_vertex_lighting] has no effect if [member " +"flags_unshaded] is [code]true[/code]." msgstr "" #: doc/classes/SpatialMaterial.xml @@ -54320,7 +54566,10 @@ msgid "" "the text alignment to right.\n" "See [Range] class for more options over the [SpinBox].\n" "[b]Note:[/b] [SpinBox] relies on an underlying [LineEdit] node. To theme a " -"[SpinBox]'s background, add theme items for [LineEdit] and customize them." +"[SpinBox]'s background, add theme items for [LineEdit] and customize them.\n" +"[b]Note:[/b] If you want to implement drag and drop for the underlying " +"[LineEdit], you can use [method Control.set_drag_forwarding] on the node " +"returned by [method get_line_edit]." msgstr "" #: doc/classes/SpinBox.xml @@ -55638,7 +55887,6 @@ msgid "" "print(\"1.7\".is_valid_float()) # Prints \"True\"\n" "print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"7e3\".is_valid_float()) # Prints \"True\"\n" -"print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55875,8 +56123,8 @@ msgid "" "var some_string = \"One,Two,Three,Four\"\n" "var some_array = some_string.rsplit(\",\", true, 1)\n" "print(some_array.size()) # Prints 2\n" -"print(some_array[0]) # Prints \"Four\"\n" -"print(some_array[1]) # Prints \"Three,Two,One\"\n" +"print(some_array[0]) # Prints \"One,Two,Three\"\n" +"print(some_array[1]) # Prints \"Four\"\n" "[/codeblock]" msgstr "" @@ -55909,9 +56157,9 @@ msgstr "" #: doc/classes/String.xml msgid "" "Returns the similarity index ([url=https://en.wikipedia.org/wiki/" -"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) this " -"string compared to another. 1.0 means totally similar and 0.0 means totally " -"dissimilar.\n" +"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) of " +"this string compared to another. A result of 1.0 means totally similar, " +"while 0.0 means totally dissimilar.\n" "[codeblock]\n" "print(\"ABC123\".similarity(\"ABC123\")) # Prints \"1\"\n" "print(\"ABC123\".similarity(\"XYZ456\")) # Prints \"0\"\n" @@ -57382,10 +57630,6 @@ msgid "" msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection begin column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection begin line." msgstr "" @@ -57394,10 +57638,6 @@ msgid "Returns the text inside the selection." msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection end column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection end line." msgstr "" @@ -58418,6 +58658,14 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Adds an empty theme type for every valid data type.\n" +"[b]Note:[/b] Empty types are not saved with the theme. This method only " +"exists to perform in-memory changes to the resource. Use available " +"[code]set_*[/code] methods to add theme items." +msgstr "" + +#: doc/classes/Theme.xml msgid "Clears all values on the theme." msgstr "" @@ -58677,6 +58925,13 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Removes the theme type, gracefully discarding defined theme items. If the " +"type is a variation, this information is also erased. If the type is a base " +"for type variations, those variations lose their base." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Renames the [Color] at [code]old_name[/code] to [code]name[/code] if the " "theme has [code]node_type[/code]. If [code]name[/code] is already taken, " "this method fails." @@ -71370,6 +71625,11 @@ msgid "" msgstr "" #: modules/websocket/doc_classes/WebSocketServer.xml +msgid "" +"Sets additional headers to be sent to clients during the HTTP handshake." +msgstr "" + +#: modules/websocket/doc_classes/WebSocketServer.xml msgid "Stops the server and clear its state." msgstr "" @@ -71465,6 +71725,9 @@ msgid "" "\n" " webxr_interface = ARVRServer.find_interface(\"WebXR\")\n" " if webxr_interface:\n" +" # Map to the standard button/axis ids when possible.\n" +" webxr_interface.xr_standard_mapping = true\n" +"\n" " # WebXR uses a lot of asynchronous callbacks, so we connect to " "various\n" " # signals in order to receive them.\n" @@ -71690,6 +71953,13 @@ msgstr "" #: modules/webxr/doc_classes/WebXRInterface.xml msgid "" +"If set to true, the button and axes ids will be converted to match the " +"standard ids used by other AR/VR interfaces, when possible.\n" +"Otherwise, the ids will be passed through unaltered from WebXR." +msgstr "" + +#: modules/webxr/doc_classes/WebXRInterface.xml +msgid "" "Emitted to indicate that the reference space has been reset or " "reconfigured.\n" "When (or whether) this is emitted depends on the user's browser or device, " diff --git a/doc/translations/sv.po b/doc/translations/sv.po index f6e68b0231..782a05a2e1 100644 --- a/doc/translations/sv.po +++ b/doc/translations/sv.po @@ -3324,8 +3324,12 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" "Hints that an integer, float or string property is an enumerated value to " -"pick in a list specified via a hint string such as [code]\"Hello,Something," -"Else\"[/code]." +"pick in a list specified via a hint string.\n" +"The hint string is a comma separated list of names such as [code]\"Hello," +"Something,Else\"[/code]. For integer and float properties, the first name in " +"the list has value 0, the next 1, and so on. Explicit values can also be " +"specified by appending [code]:integer[/code] to the name, e.g. [code]\"Zero," +"One,Three:3,Four,Six:6\"[/code]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -3466,7 +3470,7 @@ msgid "The property is a translatable string." msgstr "" #: doc/classes/@GlobalScope.xml -msgid "Used to group properties together in the editor." +msgid "Used to group properties together in the editor. See [EditorInspector]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -5237,8 +5241,11 @@ msgstr "" #: doc/classes/AnimationNodeBlendTree.xml msgid "" -"This node may contain a sub-tree of any other blend type nodes, such as mix, " -"blend2, blend3, one shot, etc. This is one of the most commonly used roots." +"This node may contain a sub-tree of any other blend type nodes, such as " +"[AnimationNodeTransition], [AnimationNodeBlend2], [AnimationNodeBlend3], " +"[AnimationNodeOneShot], etc. This is one of the most commonly used roots.\n" +"An [AnimationNodeOutput] node named [code]output[/code] is created by " +"default." msgstr "" #: doc/classes/AnimationNodeBlendTree.xml @@ -6980,8 +6987,9 @@ msgstr "" #: doc/classes/Array.xml msgid "" -"Removes the first occurrence of a value from the array. To remove an element " -"by index, use [method remove] instead.\n" +"Removes the first occurrence of a value from the array. If the value does " +"not exist in the array, nothing happens. To remove an element by index, use " +"[method remove] instead.\n" "[b]Note:[/b] This method acts in-place and doesn't return a value.\n" "[b]Note:[/b] On large arrays, this method will be slower if the removed " "element is close to the beginning of the array (index 0). This is because " @@ -10357,8 +10365,15 @@ msgstr "" #: doc/classes/BakedLightmap.xml msgid "" -"When enabled, the lightmapper will merge the textures for all meshes into a " -"single large layered texture. Not supported in GLES2." +"If [code]true[/code], the lightmapper will merge the textures for all meshes " +"into one or several large layered textures. If [code]false[/code], every " +"mesh will get its own lightmap texture, which is less efficient.\n" +"[b]Note:[/b] Atlas lightmap rendering is only supported in GLES3, [i]not[/i] " +"GLES2. Non-atlas lightmap rendering is supported by both GLES3 and GLES2. If " +"[member ProjectSettings.rendering/quality/driver/fallback_to_gles2] is " +"[code]true[/code], consider baking lightmaps with [member atlas_generate] " +"set to [code]false[/code] so that the resulting lightmap is visible in both " +"GLES3 and GLES2." msgstr "" #: doc/classes/BakedLightmap.xml @@ -11701,8 +11716,8 @@ msgstr "" #: doc/classes/Camera.xml msgid "" "The camera's size measured as 1/2 the width or height. Only applicable in " -"orthogonal mode. Since [member keep_aspect] locks on axis, [code]size[/code] " -"sets the other axis' size length." +"orthogonal and frustum modes. Since [member keep_aspect] locks on axis, " +"[code]size[/code] sets the other axis' size length." msgstr "" #: doc/classes/Camera.xml @@ -12500,20 +12515,24 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], the node won't inherit its " -"transform from parent canvas items." +"If [code]enable[/code] is [code]true[/code], this [CanvasItem] will [i]not[/" +"i] inherit its transform from parent [CanvasItem]s. Its draw order will also " +"be changed to make it draw on top of other [CanvasItem]s that are not set as " +"top-level. The [CanvasItem] will effectively act as if it was placed as a " +"child of a bare [Node]. See also [method is_set_as_toplevel]." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"local transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_LOCAL_TRANSFORM_CHANGED] when its local transform " +"changes." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"global transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_TRANSFORM_CHANGED] when its global transform changes." msgstr "" #: doc/classes/CanvasItem.xml @@ -12627,9 +12646,14 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"The [CanvasItem]'s transform has changed. This notification is only received " -"if enabled by [method set_notify_transform] or [method " -"set_notify_local_transform]." +"The [CanvasItem]'s global transform has changed. This notification is only " +"received if enabled by [method set_notify_transform]." +msgstr "" + +#: doc/classes/CanvasItem.xml +msgid "" +"The [CanvasItem]'s local transform has changed. This notification is only " +"received if enabled by [method set_notify_local_transform]." msgstr "" #: doc/classes/CanvasItem.xml @@ -13584,7 +13608,10 @@ msgid "" "number of 2D collision [Shape2D]s. Each shape must be assigned to a [i]shape " "owner[/i]. The CollisionObject2D can have any number of shape owners. Shape " "owners are not nodes and do not appear in the editor, but are accessible " -"through code using the [code]shape_owner_*[/code] methods." +"through code using the [code]shape_owner_*[/code] methods.\n" +"[b]Note:[/b] Only collisions between objects within the same canvas " +"([Viewport] canvas or [CanvasLayer]) are supported. The behavior of " +"collisions between objects in different canvases is undefined." msgstr "" #: doc/classes/CollisionObject2D.xml @@ -19591,9 +19618,8 @@ msgid "" "main font.\n" "DynamicFont uses the [url=https://www.freetype.org/]FreeType[/url] library " "for rasterization. Supported formats are TrueType ([code].ttf[/code]), " -"OpenType ([code].otf[/code]) and Web Open Font Format 1 ([code].woff[/" -"code]). Web Open Font Format 2 ([code].woff2[/code]) is [i]not[/i] " -"supported.\n" +"OpenType ([code].otf[/code]), Web Open Font Format 1 ([code].woff[/code]), " +"and Web Open Font Format 2 ([code].woff2[/code]).\n" "[codeblock]\n" "var dynamic_font = DynamicFont.new()\n" "dynamic_font.font_data = load(\"res://BarlowCondensed-Bold.ttf\")\n" @@ -20460,18 +20486,34 @@ msgid "" msgstr "" #: doc/classes/EditorInspector.xml -msgid "A tab used to edit properties of the selected node." +msgid "A control used to edit properties of an object." msgstr "" #: doc/classes/EditorInspector.xml msgid "" -"The editor inspector is by default located on the right-hand side of the " -"editor. It's used to edit the properties of the selected node. For example, " -"you can select a node such as [Sprite] then edit its transform through the " -"inspector tool. The editor inspector is an essential tool in the game " -"development workflow.\n" -"[b]Note:[/b] This class shouldn't be instantiated directly. Instead, access " -"the singleton using [method EditorInterface.get_inspector]." +"This is the control that implements property editing in the editor's " +"Settings dialogs, the Inspector dock, etc. To get the [EditorInspector] used " +"in the editor's Inspector dock, use [method EditorInterface.get_inspector].\n" +"[EditorInspector] will show properties in the same order as the array " +"returned by [method Object.get_property_list].\n" +"If a property's name is path-like (i.e. if it contains forward slashes), " +"[EditorInspector] will create nested sections for \"directories\" along the " +"path. For example, if a property is named [code]highlighting/gdscript/" +"node_path_color[/code], it will be shown as \"Node Path Color\" inside the " +"\"GDScript\" section nested inside the \"Highlighting\" section.\n" +"If a property has [constant @GlobalScope.PROPERTY_USAGE_GROUP] usage, it " +"will group subsequent properties whose name starts with the property's hint " +"string. The group ends when a property does not start with that hint string " +"or when a new group starts. An empty group name effectively ends the current " +"group. [EditorInspector] will create a top-level section for each group. For " +"example, if a property with group usage is named [code]Collide With[/code] " +"and its hint string is [code]collide_with_[/code], a subsequent " +"[code]collide_with_area[/code] property will be shown as \"Area\" inside the " +"\"Collide With\" section.\n" +"[b]Note:[/b] Unlike sections created from path-like property names, " +"[EditorInspector] won't capitalize the name for sections created from " +"groups. So properties with group usage usually use capitalized names instead " +"of snake_cased names." msgstr "" #: doc/classes/EditorInspector.xml @@ -21646,6 +21688,14 @@ msgid "" "[/codeblock]" msgstr "" +#: modules/gltf/doc_classes/EditorSceneImporterGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [EditorSceneImporterGLTF] within a script will cause an error in an " +"exported project." +msgstr "" + #: doc/classes/EditorScenePostImport.xml msgid "Post-processes scenes after import." msgstr "" @@ -22383,12 +22433,13 @@ msgstr "" #: doc/classes/EditorVCSInterface.xml msgid "" "Helper function to create a commit [Dictionary] item. [code]msg[/code] is " -"the commit message of the commit. [code]author[/code] is a human-readable " -"string containing the author's details, e.g. the email and name configured " -"in the VCS. [code]id[/code] is the identifier of the commit, in whichever " -"format your VCS may provide an identifier to commits. [code]date[/code] is " -"directly added to the commit item and displayed in the editor, and hence, it " -"shall be a well-formatted, human-readable date string." +"the commit message of the commit. [code]author[/code] is a single human-" +"readable string containing all the author's details, e.g. the email and name " +"configured in the VCS. [code]id[/code] is the identifier of the commit, in " +"whichever format your VCS may provide an identifier to commits. " +"[code]unix_timestamp[/code] is the UTC Unix timestamp of when the commit was " +"created. [code]offset_minutes[/code] is the timezone offset in minutes, " +"recorded from the system timezone where the commit was created." msgstr "" #: doc/classes/EditorVCSInterface.xml @@ -25539,6 +25590,50 @@ msgstr "" msgid "Represents the size of the [enum Subdiv] enum." msgstr "" +#: modules/gltf/doc_classes/GLTFAccessor.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAccessor] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFAnimation.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAnimation] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFBufferView.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFBufferView] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFCamera.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFCamera] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFDocument.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFDocument] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFLight.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFLight] within a script will cause an error in an exported project." +msgstr "" + #: modules/gltf/doc_classes/GLTFLight.xml msgid "" "The [Color] of the light. Defaults to white. A black color causes the light " @@ -25588,6 +25683,49 @@ msgid "" "and [DirectionalLight] respectively." msgstr "" +#: modules/gltf/doc_classes/GLTFMesh.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFMesh] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFNode.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFNode] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSkeleton.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSkeleton] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSpecGloss.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSpecGloss] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFState.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFState] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFTexture.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFTexture] within a script will cause an error in an exported project." +msgstr "" + #: modules/mono/doc_classes/GodotSharp.xml msgid "Bridge between Godot and the Mono runtime (Mono-enabled builds only)." msgstr "" @@ -28972,9 +29110,9 @@ msgid "" "Returns a value between 0 and 1 representing the raw intensity of the given " "action, ignoring the action's deadzone. In most cases, you should use " "[method get_action_strength] instead.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -28984,9 +29122,9 @@ msgid "" "or L2, R2 triggers) is from the dead zone, the closer the value will be to " "1. If the action is mapped to a control that has no axis as the keyboard, " "the value returned will be 0 or 1.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29119,9 +29257,9 @@ msgid "" "the button.\n" "This is useful for code that needs to run only once when an action is " "pressed, instead of every frame while it's pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_just_pressed] may " "return [code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29133,9 +29271,9 @@ msgid "" "Returns [code]true[/code] when the user stops pressing the action event, " "meaning it's [code]true[/code] only on the frame that the user released the " "button.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29144,9 +29282,9 @@ msgid "" "an action has multiple buttons assigned and more than one of them is " "pressed, releasing one button will release the action, even if some other " "button assigned to this action is still pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29496,18 +29634,18 @@ msgstr "" msgid "" "Returns a value between 0.0 and 1.0 depending on the given actions' state. " "Useful for getting the value of events of type [InputEventJoypadMotion].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml msgid "" "Returns [code]true[/code] if this input event matches a pre-defined action " "of any type.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -29516,9 +29654,9 @@ msgid "" "an echo event for [InputEventKey] events, unless [code]allow_echo[/code] is " "[code]true[/code]). Not relevant for events of type [InputEventMouseMotion] " "or [InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events.\n" +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29530,9 +29668,9 @@ msgid "" "Returns [code]true[/code] if the given action is released (i.e. not " "pressed). Not relevant for events of type [InputEventMouseMotion] or " "[InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -29563,9 +29701,9 @@ msgid "" "event. Only valid for action events i.e key ([InputEventKey]), button " "([InputEventMouseButton] or [InputEventJoypadButton]), axis " "[InputEventJoypadMotion] or action ([InputEventAction]) events.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -30095,9 +30233,9 @@ msgid "" "This method ignores keyboard modifiers if the given [InputEvent] is not " "pressed (for proper release detection). See [method action_has_event] if you " "don't want this behavior.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputMap.xml @@ -32501,7 +32639,7 @@ msgid "" "be within the text's length." msgstr "" -#: doc/classes/LineEdit.xml +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml msgid "Clears the current selection." msgstr "" @@ -32520,6 +32658,18 @@ msgid "" "characters." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection begin column." +msgstr "" + +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection end column." +msgstr "" + +#: doc/classes/LineEdit.xml +msgid "Returns [code]true[/code] if the user has selected text." +msgstr "" + #: doc/classes/LineEdit.xml msgid "Executes a given action as defined in the [enum MenuItems] enum." msgstr "" @@ -33933,6 +34083,39 @@ msgid "Returns the number of surface materials." msgstr "" #: doc/classes/MeshInstance.xml +msgid "" +"Returns [code]true[/code] if this [MeshInstance] can be merged with the " +"specified [code]other_mesh_instance[/code], using the [method MeshInstance." +"merge_meshes] function.\n" +"In order to be mergeable, properties of the [MeshInstance] must match, and " +"each surface must match, in terms of material, attributes and vertex format." +msgstr "" + +#: doc/classes/MeshInstance.xml +msgid "" +"This function can merge together the data from several source " +"[MeshInstance]s into a single destination [MeshInstance] (the MeshInstance " +"the function is called from). This is primarily useful for improving " +"performance by reducing the number of drawcalls and [Node]s.\n" +"Merging should only be attempted for simple meshes that do not contain " +"animation.\n" +"The final vertices can either be returned in global space, or in local space " +"relative to the destination [MeshInstance] global transform (the destination " +"Node must be inside the [SceneTree] for local space to work).\n" +"The function will make a final check for compatibility between the " +"[MeshInstance]s by default, this should always be used unless you have " +"previously checked for compatibility using [method MeshInstance." +"is_mergeable_with]. If the compatibility check is omitted and the meshes are " +"merged, you may see rendering errors.\n" +"[b]Note:[/b] The requirements for similarity between meshes are quite " +"stringent. They can be checked using the [method MeshInstance." +"is_mergeable_with] function prior to calling [method MeshInstance." +"merge_meshes].\n" +"Also note that any initial data in the destination [MeshInstance] data will " +"be discarded." +msgstr "" + +#: doc/classes/MeshInstance.xml msgid "Sets the [Material] for a surface of the [Mesh] resource." msgstr "" @@ -36385,12 +36568,12 @@ msgid "" "[/codeblock]\n" "[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " "must set [member owner] in addition to calling [method add_child]. This is " -"typically relevant for [url=https://godot.readthedocs.io/en/3.2/tutorials/" -"misc/running_code_in_the_editor.html]tool scripts[/url] and [url=https://" -"godot.readthedocs.io/en/latest/tutorials/plugins/editor/index.html]editor " -"plugins[/url]. If [method add_child] is called without setting [member " -"owner], the newly added [Node] will not be visible in the scene tree, though " -"it will be visible in the 2D/3D view." +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37097,7 +37280,15 @@ msgid "" "valid parent, grandparent, etc. ascending in the tree). When saving a node " "(using [PackedScene]), all the nodes it owns will be saved with it. This " "allows for the creation of complex [SceneTree]s, with instancing and " -"subinstancing." +"subinstancing.\n" +"[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " +"must set [member owner] in addition to calling [method add_child]. This is " +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37693,7 +37884,13 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Called when the object is initialized." +msgid "" +"Called when the object is initialized in memory. Can be defined to take in " +"parameters, that are passed in when constructing.\n" +"[b]Note:[/b] If [method _init] is defined with required parameters, then " +"explicit construction is the only valid means of creating an Object of the " +"class. If any other means (such as [method PackedScene.instance]) is used, " +"then initialization will fail." msgstr "" #: doc/classes/Object.xml @@ -37889,7 +38086,10 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Returns the object's metadata entry for the given [code]name[/code]." +msgid "" +"Returns the object's metadata entry for the given [code]name[/code].\n" +"Throws error if the entry does not exist, unless [code]default[/code] is not " +"[code]null[/code] (in which case the default value will be returned)." msgstr "" #: doc/classes/Object.xml @@ -40097,6 +40297,14 @@ msgid "" "[b]Note:[/b] Only available in editor builds." msgstr "" +#: modules/gltf/doc_classes/PackedSceneGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [PackedSceneGLTF] within a script will cause an error in an exported " +"project." +msgstr "" + #: doc/classes/PacketPeer.xml msgid "Abstraction and base class for packet-based protocols." msgstr "" @@ -42937,7 +43145,10 @@ msgid "" msgstr "" #: doc/classes/PhysicsServer.xml -msgid "Returns an Info defined by the [enum ProcessInfo] input given." +msgid "" +"Returns information about the current state of the 3D physics engine. See " +"[enum ProcessInfo] for a list of available states. Only implemented for " +"Godot Physics." msgstr "" #: doc/classes/PhysicsServer.xml @@ -45797,7 +46008,7 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Allows the window to be resizable by default.\n" -"[b]Note:[/b] This setting is ignored on iOS and Android." +"[b]Note:[/b] This setting is ignored on iOS." msgstr "" #: doc/classes/ProjectSettings.xml @@ -46444,7 +46655,7 @@ msgid "Optional name for the 3D render layer 13." msgstr "" #: doc/classes/ProjectSettings.xml -msgid "Optional name for the 3D render layer 14" +msgid "Optional name for the 3D render layer 14." msgstr "" #: doc/classes/ProjectSettings.xml @@ -47714,16 +47925,24 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" -"If [code]true[/code], forces vertex shading for all rendering. This can " -"increase performance a lot, but also reduces quality immensely. Can be used " -"to optimize performance on low-end mobile devices." +"If [code]true[/code], forces vertex shading for all 3D [SpatialMaterial] and " +"[ShaderMaterial] rendering. This can be used to improve performance on low-" +"end mobile devices. The downside is that shading becomes much less accurate, " +"with visible linear interpolation between vertices that are joined together. " +"This can be compensated by ensuring meshes have a sufficient level of " +"subdivision (but not too much, to avoid reducing performance). Some material " +"features are also not supported when vertex shading is enabled.\n" +"See also [member SpatialMaterial.flags_vertex_lighting] which can be used to " +"enable vertex shading on specific materials only.\n" +"[b]Note:[/b] This setting does not affect unshaded materials." msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Lower-end override for [member rendering/quality/shading/" "force_vertex_shading] on mobile devices, due to performance concerns or " -"driver support." +"driver support. If lighting looks broken after exporting the project to a " +"mobile platform, try disabling this setting." msgstr "" #: doc/classes/ProjectSettings.xml @@ -49758,6 +49977,10 @@ msgid "" msgstr "" #: doc/classes/RichTextLabel.xml +msgid "Returns the current selection text. Does not include BBCodes." +msgstr "" + +#: doc/classes/RichTextLabel.xml msgid "" "Returns the total number of characters from text tags. Does not include " "BBCodes." @@ -52049,14 +52272,23 @@ msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Lowers the [Semaphore], allowing one more thread in. Returns [constant OK] " -"on success, [constant ERR_BUSY] otherwise." +"Lowers the [Semaphore], allowing one more thread in.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Tries to wait for the [Semaphore], if its value is zero, blocks until non-" -"zero. Returns [constant OK] on success, [constant ERR_BUSY] otherwise." +"Like [method wait], but won't block, so if the value is zero, fails " +"immediately and returns [constant ERR_BUSY]. If non-zero, it returns " +"[constant OK] to report success." +msgstr "" + +#: doc/classes/Semaphore.xml +msgid "" +"Waits for the [Semaphore], if its value is zero, blocks until non-zero.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Separator.xml @@ -53502,7 +53734,21 @@ msgstr "" #: doc/classes/SpatialMaterial.xml msgid "" "If [code]true[/code], lighting is calculated per vertex rather than per " -"pixel. This may increase performance on low-end devices." +"pixel. This may increase performance on low-end devices, especially for " +"meshes with a lower polygon count. The downside is that shading becomes much " +"less accurate, with visible linear interpolation between vertices that are " +"joined together. This can be compensated by ensuring meshes have a " +"sufficient level of subdivision (but not too much, to avoid reducing " +"performance). Some material features are also not supported when vertex " +"shading is enabled.\n" +"See also [member ProjectSettings.rendering/quality/shading/" +"force_vertex_shading] which can globally enable vertex shading on all " +"materials.\n" +"[b]Note:[/b] By default, vertex shading is enforced on mobile platforms by " +"[member ProjectSettings.rendering/quality/shading/force_vertex_shading]'s " +"[code]mobile[/code] override.\n" +"[b]Note:[/b] [member flags_vertex_lighting] has no effect if [member " +"flags_unshaded] is [code]true[/code]." msgstr "" #: doc/classes/SpatialMaterial.xml @@ -54306,7 +54552,10 @@ msgid "" "the text alignment to right.\n" "See [Range] class for more options over the [SpinBox].\n" "[b]Note:[/b] [SpinBox] relies on an underlying [LineEdit] node. To theme a " -"[SpinBox]'s background, add theme items for [LineEdit] and customize them." +"[SpinBox]'s background, add theme items for [LineEdit] and customize them.\n" +"[b]Note:[/b] If you want to implement drag and drop for the underlying " +"[LineEdit], you can use [method Control.set_drag_forwarding] on the node " +"returned by [method get_line_edit]." msgstr "" #: doc/classes/SpinBox.xml @@ -55624,7 +55873,6 @@ msgid "" "print(\"1.7\".is_valid_float()) # Prints \"True\"\n" "print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"7e3\".is_valid_float()) # Prints \"True\"\n" -"print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55861,8 +56109,8 @@ msgid "" "var some_string = \"One,Two,Three,Four\"\n" "var some_array = some_string.rsplit(\",\", true, 1)\n" "print(some_array.size()) # Prints 2\n" -"print(some_array[0]) # Prints \"Four\"\n" -"print(some_array[1]) # Prints \"Three,Two,One\"\n" +"print(some_array[0]) # Prints \"One,Two,Three\"\n" +"print(some_array[1]) # Prints \"Four\"\n" "[/codeblock]" msgstr "" @@ -55895,9 +56143,9 @@ msgstr "" #: doc/classes/String.xml msgid "" "Returns the similarity index ([url=https://en.wikipedia.org/wiki/" -"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) this " -"string compared to another. 1.0 means totally similar and 0.0 means totally " -"dissimilar.\n" +"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) of " +"this string compared to another. A result of 1.0 means totally similar, " +"while 0.0 means totally dissimilar.\n" "[codeblock]\n" "print(\"ABC123\".similarity(\"ABC123\")) # Prints \"1\"\n" "print(\"ABC123\".similarity(\"XYZ456\")) # Prints \"0\"\n" @@ -57368,10 +57616,6 @@ msgid "" msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection begin column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection begin line." msgstr "" @@ -57380,10 +57624,6 @@ msgid "Returns the text inside the selection." msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection end column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection end line." msgstr "" @@ -58404,6 +58644,14 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Adds an empty theme type for every valid data type.\n" +"[b]Note:[/b] Empty types are not saved with the theme. This method only " +"exists to perform in-memory changes to the resource. Use available " +"[code]set_*[/code] methods to add theme items." +msgstr "" + +#: doc/classes/Theme.xml msgid "Clears all values on the theme." msgstr "" @@ -58663,6 +58911,13 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Removes the theme type, gracefully discarding defined theme items. If the " +"type is a variation, this information is also erased. If the type is a base " +"for type variations, those variations lose their base." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Renames the [Color] at [code]old_name[/code] to [code]name[/code] if the " "theme has [code]node_type[/code]. If [code]name[/code] is already taken, " "this method fails." @@ -71356,6 +71611,11 @@ msgid "" msgstr "" #: modules/websocket/doc_classes/WebSocketServer.xml +msgid "" +"Sets additional headers to be sent to clients during the HTTP handshake." +msgstr "" + +#: modules/websocket/doc_classes/WebSocketServer.xml msgid "Stops the server and clear its state." msgstr "" @@ -71451,6 +71711,9 @@ msgid "" "\n" " webxr_interface = ARVRServer.find_interface(\"WebXR\")\n" " if webxr_interface:\n" +" # Map to the standard button/axis ids when possible.\n" +" webxr_interface.xr_standard_mapping = true\n" +"\n" " # WebXR uses a lot of asynchronous callbacks, so we connect to " "various\n" " # signals in order to receive them.\n" @@ -71676,6 +71939,13 @@ msgstr "" #: modules/webxr/doc_classes/WebXRInterface.xml msgid "" +"If set to true, the button and axes ids will be converted to match the " +"standard ids used by other AR/VR interfaces, when possible.\n" +"Otherwise, the ids will be passed through unaltered from WebXR." +msgstr "" + +#: modules/webxr/doc_classes/WebXRInterface.xml +msgid "" "Emitted to indicate that the reference space has been reset or " "reconfigured.\n" "When (or whether) this is emitted depends on the user's browser or device, " diff --git a/doc/translations/th.po b/doc/translations/th.po index ca2ce020a6..712c89e797 100644 --- a/doc/translations/th.po +++ b/doc/translations/th.po @@ -9,12 +9,13 @@ # Kongfa Warorot <gongpha@hotmail.com>, 2020. # PT 07 <porton555@gmail.com>, 2021. # SysError_ <ictsanook@hotmail.com>, 2021. +# Kanda Ninthfish <akkhaporn@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: 2021-12-10 10:42+0000\n" -"Last-Translator: SysError_ <ictsanook@hotmail.com>\n" +"PO-Revision-Date: 2022-04-18 06:11+0000\n" +"Last-Translator: Kanda Ninthfish <akkhaporn@gmail.com>\n" "Language-Team: Thai <https://hosted.weblate.org/projects/godot-engine/godot-" "class-reference/th/>\n" "Language: th\n" @@ -22,7 +23,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.10-dev\n" +"X-Generator: Weblate 4.12-dev\n" #: doc/tools/make_rst.py msgid "Description" @@ -38,7 +39,7 @@ msgstr "คุณสมบัติ" #: doc/tools/make_rst.py msgid "Methods" -msgstr "เมธอด" +msgstr "วิธีการ" #: doc/tools/make_rst.py msgid "Theme Properties" @@ -71,23 +72,23 @@ msgstr "รายละเอียดของคุณสมบัติ" #: doc/tools/make_rst.py msgid "Inherits:" -msgstr "" +msgstr "สืบทอด:" #: doc/tools/make_rst.py msgid "Inherited By:" -msgstr "" +msgstr "สืบทอดโดย:" #: doc/tools/make_rst.py msgid "(overrides %s)" -msgstr "" +msgstr "(แทนที่ %s)" #: doc/tools/make_rst.py msgid "Default" -msgstr "" +msgstr "ค่าเริ่มต้น" #: doc/tools/make_rst.py msgid "Setter" -msgstr "" +msgstr "Setter" #: doc/tools/make_rst.py msgid "value" @@ -95,7 +96,7 @@ msgstr "" #: doc/tools/make_rst.py msgid "Getter" -msgstr "" +msgstr "Getter" #: doc/tools/make_rst.py msgid "" @@ -3417,8 +3418,12 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" "Hints that an integer, float or string property is an enumerated value to " -"pick in a list specified via a hint string such as [code]\"Hello,Something," -"Else\"[/code]." +"pick in a list specified via a hint string.\n" +"The hint string is a comma separated list of names such as [code]\"Hello," +"Something,Else\"[/code]. For integer and float properties, the first name in " +"the list has value 0, the next 1, and so on. Explicit values can also be " +"specified by appending [code]:integer[/code] to the name, e.g. [code]\"Zero," +"One,Three:3,Four,Six:6\"[/code]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -3559,7 +3564,7 @@ msgid "The property is a translatable string." msgstr "" #: doc/classes/@GlobalScope.xml -msgid "Used to group properties together in the editor." +msgid "Used to group properties together in the editor. See [EditorInspector]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -5339,8 +5344,11 @@ msgstr "" #: doc/classes/AnimationNodeBlendTree.xml msgid "" -"This node may contain a sub-tree of any other blend type nodes, such as mix, " -"blend2, blend3, one shot, etc. This is one of the most commonly used roots." +"This node may contain a sub-tree of any other blend type nodes, such as " +"[AnimationNodeTransition], [AnimationNodeBlend2], [AnimationNodeBlend3], " +"[AnimationNodeOneShot], etc. This is one of the most commonly used roots.\n" +"An [AnimationNodeOutput] node named [code]output[/code] is created by " +"default." msgstr "" #: doc/classes/AnimationNodeBlendTree.xml @@ -7084,8 +7092,9 @@ msgstr "" #: doc/classes/Array.xml msgid "" -"Removes the first occurrence of a value from the array. To remove an element " -"by index, use [method remove] instead.\n" +"Removes the first occurrence of a value from the array. If the value does " +"not exist in the array, nothing happens. To remove an element by index, use " +"[method remove] instead.\n" "[b]Note:[/b] This method acts in-place and doesn't return a value.\n" "[b]Note:[/b] On large arrays, this method will be slower if the removed " "element is close to the beginning of the array (index 0). This is because " @@ -10462,8 +10471,15 @@ msgstr "" #: doc/classes/BakedLightmap.xml msgid "" -"When enabled, the lightmapper will merge the textures for all meshes into a " -"single large layered texture. Not supported in GLES2." +"If [code]true[/code], the lightmapper will merge the textures for all meshes " +"into one or several large layered textures. If [code]false[/code], every " +"mesh will get its own lightmap texture, which is less efficient.\n" +"[b]Note:[/b] Atlas lightmap rendering is only supported in GLES3, [i]not[/i] " +"GLES2. Non-atlas lightmap rendering is supported by both GLES3 and GLES2. If " +"[member ProjectSettings.rendering/quality/driver/fallback_to_gles2] is " +"[code]true[/code], consider baking lightmaps with [member atlas_generate] " +"set to [code]false[/code] so that the resulting lightmap is visible in both " +"GLES3 and GLES2." msgstr "" #: doc/classes/BakedLightmap.xml @@ -11806,8 +11822,8 @@ msgstr "" #: doc/classes/Camera.xml msgid "" "The camera's size measured as 1/2 the width or height. Only applicable in " -"orthogonal mode. Since [member keep_aspect] locks on axis, [code]size[/code] " -"sets the other axis' size length." +"orthogonal and frustum modes. Since [member keep_aspect] locks on axis, " +"[code]size[/code] sets the other axis' size length." msgstr "" #: doc/classes/Camera.xml @@ -12607,20 +12623,24 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], the node won't inherit its " -"transform from parent canvas items." +"If [code]enable[/code] is [code]true[/code], this [CanvasItem] will [i]not[/" +"i] inherit its transform from parent [CanvasItem]s. Its draw order will also " +"be changed to make it draw on top of other [CanvasItem]s that are not set as " +"top-level. The [CanvasItem] will effectively act as if it was placed as a " +"child of a bare [Node]. See also [method is_set_as_toplevel]." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"local transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_LOCAL_TRANSFORM_CHANGED] when its local transform " +"changes." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"global transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_TRANSFORM_CHANGED] when its global transform changes." msgstr "" #: doc/classes/CanvasItem.xml @@ -12734,9 +12754,14 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"The [CanvasItem]'s transform has changed. This notification is only received " -"if enabled by [method set_notify_transform] or [method " -"set_notify_local_transform]." +"The [CanvasItem]'s global transform has changed. This notification is only " +"received if enabled by [method set_notify_transform]." +msgstr "" + +#: doc/classes/CanvasItem.xml +msgid "" +"The [CanvasItem]'s local transform has changed. This notification is only " +"received if enabled by [method set_notify_local_transform]." msgstr "" #: doc/classes/CanvasItem.xml @@ -13691,7 +13716,10 @@ msgid "" "number of 2D collision [Shape2D]s. Each shape must be assigned to a [i]shape " "owner[/i]. The CollisionObject2D can have any number of shape owners. Shape " "owners are not nodes and do not appear in the editor, but are accessible " -"through code using the [code]shape_owner_*[/code] methods." +"through code using the [code]shape_owner_*[/code] methods.\n" +"[b]Note:[/b] Only collisions between objects within the same canvas " +"([Viewport] canvas or [CanvasLayer]) are supported. The behavior of " +"collisions between objects in different canvases is undefined." msgstr "" #: doc/classes/CollisionObject2D.xml @@ -19699,9 +19727,8 @@ msgid "" "main font.\n" "DynamicFont uses the [url=https://www.freetype.org/]FreeType[/url] library " "for rasterization. Supported formats are TrueType ([code].ttf[/code]), " -"OpenType ([code].otf[/code]) and Web Open Font Format 1 ([code].woff[/" -"code]). Web Open Font Format 2 ([code].woff2[/code]) is [i]not[/i] " -"supported.\n" +"OpenType ([code].otf[/code]), Web Open Font Format 1 ([code].woff[/code]), " +"and Web Open Font Format 2 ([code].woff2[/code]).\n" "[codeblock]\n" "var dynamic_font = DynamicFont.new()\n" "dynamic_font.font_data = load(\"res://BarlowCondensed-Bold.ttf\")\n" @@ -20568,18 +20595,34 @@ msgid "" msgstr "" #: doc/classes/EditorInspector.xml -msgid "A tab used to edit properties of the selected node." +msgid "A control used to edit properties of an object." msgstr "" #: doc/classes/EditorInspector.xml msgid "" -"The editor inspector is by default located on the right-hand side of the " -"editor. It's used to edit the properties of the selected node. For example, " -"you can select a node such as [Sprite] then edit its transform through the " -"inspector tool. The editor inspector is an essential tool in the game " -"development workflow.\n" -"[b]Note:[/b] This class shouldn't be instantiated directly. Instead, access " -"the singleton using [method EditorInterface.get_inspector]." +"This is the control that implements property editing in the editor's " +"Settings dialogs, the Inspector dock, etc. To get the [EditorInspector] used " +"in the editor's Inspector dock, use [method EditorInterface.get_inspector].\n" +"[EditorInspector] will show properties in the same order as the array " +"returned by [method Object.get_property_list].\n" +"If a property's name is path-like (i.e. if it contains forward slashes), " +"[EditorInspector] will create nested sections for \"directories\" along the " +"path. For example, if a property is named [code]highlighting/gdscript/" +"node_path_color[/code], it will be shown as \"Node Path Color\" inside the " +"\"GDScript\" section nested inside the \"Highlighting\" section.\n" +"If a property has [constant @GlobalScope.PROPERTY_USAGE_GROUP] usage, it " +"will group subsequent properties whose name starts with the property's hint " +"string. The group ends when a property does not start with that hint string " +"or when a new group starts. An empty group name effectively ends the current " +"group. [EditorInspector] will create a top-level section for each group. For " +"example, if a property with group usage is named [code]Collide With[/code] " +"and its hint string is [code]collide_with_[/code], a subsequent " +"[code]collide_with_area[/code] property will be shown as \"Area\" inside the " +"\"Collide With\" section.\n" +"[b]Note:[/b] Unlike sections created from path-like property names, " +"[EditorInspector] won't capitalize the name for sections created from " +"groups. So properties with group usage usually use capitalized names instead " +"of snake_cased names." msgstr "" #: doc/classes/EditorInspector.xml @@ -21754,6 +21797,14 @@ msgid "" "[/codeblock]" msgstr "" +#: modules/gltf/doc_classes/EditorSceneImporterGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [EditorSceneImporterGLTF] within a script will cause an error in an " +"exported project." +msgstr "" + #: doc/classes/EditorScenePostImport.xml msgid "Post-processes scenes after import." msgstr "" @@ -22492,12 +22543,13 @@ msgstr "" #: doc/classes/EditorVCSInterface.xml msgid "" "Helper function to create a commit [Dictionary] item. [code]msg[/code] is " -"the commit message of the commit. [code]author[/code] is a human-readable " -"string containing the author's details, e.g. the email and name configured " -"in the VCS. [code]id[/code] is the identifier of the commit, in whichever " -"format your VCS may provide an identifier to commits. [code]date[/code] is " -"directly added to the commit item and displayed in the editor, and hence, it " -"shall be a well-formatted, human-readable date string." +"the commit message of the commit. [code]author[/code] is a single human-" +"readable string containing all the author's details, e.g. the email and name " +"configured in the VCS. [code]id[/code] is the identifier of the commit, in " +"whichever format your VCS may provide an identifier to commits. " +"[code]unix_timestamp[/code] is the UTC Unix timestamp of when the commit was " +"created. [code]offset_minutes[/code] is the timezone offset in minutes, " +"recorded from the system timezone where the commit was created." msgstr "" #: doc/classes/EditorVCSInterface.xml @@ -25652,6 +25704,50 @@ msgstr "" msgid "Represents the size of the [enum Subdiv] enum." msgstr "" +#: modules/gltf/doc_classes/GLTFAccessor.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAccessor] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFAnimation.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAnimation] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFBufferView.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFBufferView] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFCamera.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFCamera] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFDocument.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFDocument] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFLight.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFLight] within a script will cause an error in an exported project." +msgstr "" + #: modules/gltf/doc_classes/GLTFLight.xml msgid "" "The [Color] of the light. Defaults to white. A black color causes the light " @@ -25701,6 +25797,49 @@ msgid "" "and [DirectionalLight] respectively." msgstr "" +#: modules/gltf/doc_classes/GLTFMesh.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFMesh] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFNode.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFNode] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSkeleton.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSkeleton] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSpecGloss.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSpecGloss] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFState.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFState] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFTexture.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFTexture] within a script will cause an error in an exported project." +msgstr "" + #: modules/mono/doc_classes/GodotSharp.xml msgid "Bridge between Godot and the Mono runtime (Mono-enabled builds only)." msgstr "" @@ -29084,14 +29223,18 @@ msgid "" msgstr "" #: doc/classes/Input.xml +#, fuzzy msgid "" "Returns a value between 0 and 1 representing the raw intensity of the given " "action, ignoring the action's deadzone. In most cases, you should use " "[method get_action_strength] instead.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" +"ส่งคืนค่าระหว่าง 0 ถึง 1 แทน action ที่กำหนด ตัวอย่างเช่นในจอยสติ๊กในแกน " +"(อะนาล็อกหรือทริกเกอร์ L2, R2) อยู่ห่างจาก dead zone มากเท่าใดค่าก็จะยิ่งใกล้เคียงกับ 1 " +"มากขึ้นเท่านั้น ถ้าการ action ถูกจับคู่กับตัวควบคุมที่ไม่มีแกนเป็นแป้นพิมพ์ค่าที่ส่งคืนก็จะเป็น 0 หรือ 1" #: doc/classes/Input.xml #, fuzzy @@ -29101,9 +29244,9 @@ msgid "" "or L2, R2 triggers) is from the dead zone, the closer the value will be to " "1. If the action is mapped to a control that has no axis as the keyboard, " "the value returned will be 0 or 1.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" "ส่งคืนค่าระหว่าง 0 ถึง 1 แทน action ที่กำหนด ตัวอย่างเช่นในจอยสติ๊กในแกน " "(อะนาล็อกหรือทริกเกอร์ L2, R2) อยู่ห่างจาก dead zone มากเท่าใดค่าก็จะยิ่งใกล้เคียงกับ 1 " @@ -29233,30 +29376,38 @@ msgid "" msgstr "" #: doc/classes/Input.xml +#, fuzzy msgid "" "Returns [code]true[/code] when the user starts pressing the action event, " "meaning it's [code]true[/code] only on the frame that the user pressed down " "the button.\n" "This is useful for code that needs to run only once when an action is " "pressed, instead of every frame while it's pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_just_pressed] may " "return [code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " "examples[/url] in the documentation for more information." msgstr "" +"ส่งคืนค่า [code]true[/code] หากคุณกำลังใช้การกด action event โปรดทราบไว้ว่าหาก " +"action มีการกำหนดปุ่มไว้หลายปุ่มและมีการกดมากกว่าหนึ่งปุ่ม การปล่อยปุ่มครั้งเดียวจะเป็นการยกเลิก " +"action นี้แม้ว่าจะยังกดปุ่มอื่นที่กำหนด action นี้อยู่ก็ตาม" #: doc/classes/Input.xml +#, fuzzy msgid "" "Returns [code]true[/code] when the user stops pressing the action event, " "meaning it's [code]true[/code] only on the frame that the user released the " "button.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" +"ส่งคืนค่าระหว่าง 0 ถึง 1 แทน action ที่กำหนด ตัวอย่างเช่นในจอยสติ๊กในแกน " +"(อะนาล็อกหรือทริกเกอร์ L2, R2) อยู่ห่างจาก dead zone มากเท่าใดค่าก็จะยิ่งใกล้เคียงกับ 1 " +"มากขึ้นเท่านั้น ถ้าการ action ถูกจับคู่กับตัวควบคุมที่ไม่มีแกนเป็นแป้นพิมพ์ค่าที่ส่งคืนก็จะเป็น 0 หรือ 1" #: doc/classes/Input.xml #, fuzzy @@ -29265,9 +29416,9 @@ msgid "" "an action has multiple buttons assigned and more than one of them is " "pressed, releasing one button will release the action, even if some other " "button assigned to this action is still pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29617,47 +29768,63 @@ msgid "Returns a [String] representation of the event." msgstr "" #: doc/classes/InputEvent.xml +#, fuzzy msgid "" "Returns a value between 0.0 and 1.0 depending on the given actions' state. " "Useful for getting the value of events of type [InputEventJoypadMotion].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" +"ส่งคืนค่าระหว่าง 0 ถึง 1 แทน action ที่กำหนด ตัวอย่างเช่นในจอยสติ๊กในแกน " +"(อะนาล็อกหรือทริกเกอร์ L2, R2) อยู่ห่างจาก dead zone มากเท่าใดค่าก็จะยิ่งใกล้เคียงกับ 1 " +"มากขึ้นเท่านั้น ถ้าการ action ถูกจับคู่กับตัวควบคุมที่ไม่มีแกนเป็นแป้นพิมพ์ค่าที่ส่งคืนก็จะเป็น 0 หรือ 1" #: doc/classes/InputEvent.xml +#, fuzzy msgid "" "Returns [code]true[/code] if this input event matches a pre-defined action " "of any type.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" +"ส่งคืนค่าระหว่าง 0 ถึง 1 แทน action ที่กำหนด ตัวอย่างเช่นในจอยสติ๊กในแกน " +"(อะนาล็อกหรือทริกเกอร์ L2, R2) อยู่ห่างจาก dead zone มากเท่าใดค่าก็จะยิ่งใกล้เคียงกับ 1 " +"มากขึ้นเท่านั้น ถ้าการ action ถูกจับคู่กับตัวควบคุมที่ไม่มีแกนเป็นแป้นพิมพ์ค่าที่ส่งคืนก็จะเป็น 0 หรือ 1" #: doc/classes/InputEvent.xml +#, fuzzy msgid "" "Returns [code]true[/code] if the given action is being pressed (and is not " "an echo event for [InputEventKey] events, unless [code]allow_echo[/code] is " "[code]true[/code]). Not relevant for events of type [InputEventMouseMotion] " "or [InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events.\n" +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " "examples[/url] in the documentation for more information." msgstr "" +"ส่งคืนค่า [code]true[/code] หากคุณกำลังใช้การกด action event โปรดทราบไว้ว่าหาก " +"action มีการกำหนดปุ่มไว้หลายปุ่มและมีการกดมากกว่าหนึ่งปุ่ม การปล่อยปุ่มครั้งเดียวจะเป็นการยกเลิก " +"action นี้แม้ว่าจะยังกดปุ่มอื่นที่กำหนด action นี้อยู่ก็ตาม" #: doc/classes/InputEvent.xml +#, fuzzy msgid "" "Returns [code]true[/code] if the given action is released (i.e. not " "pressed). Not relevant for events of type [InputEventMouseMotion] or " "[InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" +"ส่งคืนค่าระหว่าง 0 ถึง 1 แทน action ที่กำหนด ตัวอย่างเช่นในจอยสติ๊กในแกน " +"(อะนาล็อกหรือทริกเกอร์ L2, R2) อยู่ห่างจาก dead zone มากเท่าใดค่าก็จะยิ่งใกล้เคียงกับ 1 " +"มากขึ้นเท่านั้น ถ้าการ action ถูกจับคู่กับตัวควบคุมที่ไม่มีแกนเป็นแป้นพิมพ์ค่าที่ส่งคืนก็จะเป็น 0 หรือ 1" #: doc/classes/InputEvent.xml msgid "" @@ -29687,9 +29854,9 @@ msgid "" "event. Only valid for action events i.e key ([InputEventKey]), button " "([InputEventMouseButton] or [InputEventJoypadButton]), axis " "[InputEventJoypadMotion] or action ([InputEventAction]) events.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -30214,15 +30381,19 @@ msgid "Removes an action from the [InputMap]." msgstr "" #: doc/classes/InputMap.xml +#, fuzzy msgid "" "Returns [code]true[/code] if the given event is part of an existing action. " "This method ignores keyboard modifiers if the given [InputEvent] is not " "pressed (for proper release detection). See [method action_has_event] if you " "don't want this behavior.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" +"ส่งคืนค่าระหว่าง 0 ถึง 1 แทน action ที่กำหนด ตัวอย่างเช่นในจอยสติ๊กในแกน " +"(อะนาล็อกหรือทริกเกอร์ L2, R2) อยู่ห่างจาก dead zone มากเท่าใดค่าก็จะยิ่งใกล้เคียงกับ 1 " +"มากขึ้นเท่านั้น ถ้าการ action ถูกจับคู่กับตัวควบคุมที่ไม่มีแกนเป็นแป้นพิมพ์ค่าที่ส่งคืนก็จะเป็น 0 หรือ 1" #: doc/classes/InputMap.xml msgid "Returns an array of [InputEvent]s associated with a given action." @@ -32637,7 +32808,7 @@ msgid "" "be within the text's length." msgstr "" -#: doc/classes/LineEdit.xml +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml msgid "Clears the current selection." msgstr "" @@ -32656,6 +32827,18 @@ msgid "" "characters." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection begin column." +msgstr "" + +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection end column." +msgstr "" + +#: doc/classes/LineEdit.xml +msgid "Returns [code]true[/code] if the user has selected text." +msgstr "" + #: doc/classes/LineEdit.xml msgid "Executes a given action as defined in the [enum MenuItems] enum." msgstr "" @@ -34069,6 +34252,39 @@ msgid "Returns the number of surface materials." msgstr "" #: doc/classes/MeshInstance.xml +msgid "" +"Returns [code]true[/code] if this [MeshInstance] can be merged with the " +"specified [code]other_mesh_instance[/code], using the [method MeshInstance." +"merge_meshes] function.\n" +"In order to be mergeable, properties of the [MeshInstance] must match, and " +"each surface must match, in terms of material, attributes and vertex format." +msgstr "" + +#: doc/classes/MeshInstance.xml +msgid "" +"This function can merge together the data from several source " +"[MeshInstance]s into a single destination [MeshInstance] (the MeshInstance " +"the function is called from). This is primarily useful for improving " +"performance by reducing the number of drawcalls and [Node]s.\n" +"Merging should only be attempted for simple meshes that do not contain " +"animation.\n" +"The final vertices can either be returned in global space, or in local space " +"relative to the destination [MeshInstance] global transform (the destination " +"Node must be inside the [SceneTree] for local space to work).\n" +"The function will make a final check for compatibility between the " +"[MeshInstance]s by default, this should always be used unless you have " +"previously checked for compatibility using [method MeshInstance." +"is_mergeable_with]. If the compatibility check is omitted and the meshes are " +"merged, you may see rendering errors.\n" +"[b]Note:[/b] The requirements for similarity between meshes are quite " +"stringent. They can be checked using the [method MeshInstance." +"is_mergeable_with] function prior to calling [method MeshInstance." +"merge_meshes].\n" +"Also note that any initial data in the destination [MeshInstance] data will " +"be discarded." +msgstr "" + +#: doc/classes/MeshInstance.xml msgid "Sets the [Material] for a surface of the [Mesh] resource." msgstr "" @@ -36379,7 +36595,7 @@ msgstr "" #: doc/classes/Node.xml msgid "Nodes and Scenes" -msgstr "" +msgstr "โหนดและฉาก" #: doc/classes/Node.xml msgid "All Demos" @@ -36581,12 +36797,12 @@ msgid "" "[/codeblock]\n" "[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " "must set [member owner] in addition to calling [method add_child]. This is " -"typically relevant for [url=https://godot.readthedocs.io/en/3.2/tutorials/" -"misc/running_code_in_the_editor.html]tool scripts[/url] and [url=https://" -"godot.readthedocs.io/en/latest/tutorials/plugins/editor/index.html]editor " -"plugins[/url]. If [method add_child] is called without setting [member " -"owner], the newly added [Node] will not be visible in the scene tree, though " -"it will be visible in the 2D/3D view." +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37293,7 +37509,15 @@ msgid "" "valid parent, grandparent, etc. ascending in the tree). When saving a node " "(using [PackedScene]), all the nodes it owns will be saved with it. This " "allows for the creation of complex [SceneTree]s, with instancing and " -"subinstancing." +"subinstancing.\n" +"[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " +"must set [member owner] in addition to calling [method add_child]. This is " +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37889,7 +38113,13 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Called when the object is initialized." +msgid "" +"Called when the object is initialized in memory. Can be defined to take in " +"parameters, that are passed in when constructing.\n" +"[b]Note:[/b] If [method _init] is defined with required parameters, then " +"explicit construction is the only valid means of creating an Object of the " +"class. If any other means (such as [method PackedScene.instance]) is used, " +"then initialization will fail." msgstr "" #: doc/classes/Object.xml @@ -38085,7 +38315,10 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Returns the object's metadata entry for the given [code]name[/code]." +msgid "" +"Returns the object's metadata entry for the given [code]name[/code].\n" +"Throws error if the entry does not exist, unless [code]default[/code] is not " +"[code]null[/code] (in which case the default value will be returned)." msgstr "" #: doc/classes/Object.xml @@ -40298,6 +40531,14 @@ msgid "" "[b]Note:[/b] Only available in editor builds." msgstr "" +#: modules/gltf/doc_classes/PackedSceneGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [PackedSceneGLTF] within a script will cause an error in an exported " +"project." +msgstr "" + #: doc/classes/PacketPeer.xml msgid "Abstraction and base class for packet-based protocols." msgstr "" @@ -43141,7 +43382,10 @@ msgid "" msgstr "" #: doc/classes/PhysicsServer.xml -msgid "Returns an Info defined by the [enum ProcessInfo] input given." +msgid "" +"Returns information about the current state of the 3D physics engine. See " +"[enum ProcessInfo] for a list of available states. Only implemented for " +"Godot Physics." msgstr "" #: doc/classes/PhysicsServer.xml @@ -46003,7 +46247,7 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Allows the window to be resizable by default.\n" -"[b]Note:[/b] This setting is ignored on iOS and Android." +"[b]Note:[/b] This setting is ignored on iOS." msgstr "" #: doc/classes/ProjectSettings.xml @@ -46655,7 +46899,7 @@ msgid "Optional name for the 3D render layer 13." msgstr "" #: doc/classes/ProjectSettings.xml -msgid "Optional name for the 3D render layer 14" +msgid "Optional name for the 3D render layer 14." msgstr "" #: doc/classes/ProjectSettings.xml @@ -47925,16 +48169,24 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" -"If [code]true[/code], forces vertex shading for all rendering. This can " -"increase performance a lot, but also reduces quality immensely. Can be used " -"to optimize performance on low-end mobile devices." +"If [code]true[/code], forces vertex shading for all 3D [SpatialMaterial] and " +"[ShaderMaterial] rendering. This can be used to improve performance on low-" +"end mobile devices. The downside is that shading becomes much less accurate, " +"with visible linear interpolation between vertices that are joined together. " +"This can be compensated by ensuring meshes have a sufficient level of " +"subdivision (but not too much, to avoid reducing performance). Some material " +"features are also not supported when vertex shading is enabled.\n" +"See also [member SpatialMaterial.flags_vertex_lighting] which can be used to " +"enable vertex shading on specific materials only.\n" +"[b]Note:[/b] This setting does not affect unshaded materials." msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Lower-end override for [member rendering/quality/shading/" "force_vertex_shading] on mobile devices, due to performance concerns or " -"driver support." +"driver support. If lighting looks broken after exporting the project to a " +"mobile platform, try disabling this setting." msgstr "" #: doc/classes/ProjectSettings.xml @@ -49970,6 +50222,11 @@ msgid "" msgstr "" #: doc/classes/RichTextLabel.xml +#, fuzzy +msgid "Returns the current selection text. Does not include BBCodes." +msgstr "คืนค่าการกำหนดค่าของลำโพง" + +#: doc/classes/RichTextLabel.xml msgid "" "Returns the total number of characters from text tags. Does not include " "BBCodes." @@ -52261,14 +52518,23 @@ msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Lowers the [Semaphore], allowing one more thread in. Returns [constant OK] " -"on success, [constant ERR_BUSY] otherwise." +"Lowers the [Semaphore], allowing one more thread in.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Tries to wait for the [Semaphore], if its value is zero, blocks until non-" -"zero. Returns [constant OK] on success, [constant ERR_BUSY] otherwise." +"Like [method wait], but won't block, so if the value is zero, fails " +"immediately and returns [constant ERR_BUSY]. If non-zero, it returns " +"[constant OK] to report success." +msgstr "" + +#: doc/classes/Semaphore.xml +msgid "" +"Waits for the [Semaphore], if its value is zero, blocks until non-zero.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Separator.xml @@ -53714,7 +53980,21 @@ msgstr "" #: doc/classes/SpatialMaterial.xml msgid "" "If [code]true[/code], lighting is calculated per vertex rather than per " -"pixel. This may increase performance on low-end devices." +"pixel. This may increase performance on low-end devices, especially for " +"meshes with a lower polygon count. The downside is that shading becomes much " +"less accurate, with visible linear interpolation between vertices that are " +"joined together. This can be compensated by ensuring meshes have a " +"sufficient level of subdivision (but not too much, to avoid reducing " +"performance). Some material features are also not supported when vertex " +"shading is enabled.\n" +"See also [member ProjectSettings.rendering/quality/shading/" +"force_vertex_shading] which can globally enable vertex shading on all " +"materials.\n" +"[b]Note:[/b] By default, vertex shading is enforced on mobile platforms by " +"[member ProjectSettings.rendering/quality/shading/force_vertex_shading]'s " +"[code]mobile[/code] override.\n" +"[b]Note:[/b] [member flags_vertex_lighting] has no effect if [member " +"flags_unshaded] is [code]true[/code]." msgstr "" #: doc/classes/SpatialMaterial.xml @@ -54518,7 +54798,10 @@ msgid "" "the text alignment to right.\n" "See [Range] class for more options over the [SpinBox].\n" "[b]Note:[/b] [SpinBox] relies on an underlying [LineEdit] node. To theme a " -"[SpinBox]'s background, add theme items for [LineEdit] and customize them." +"[SpinBox]'s background, add theme items for [LineEdit] and customize them.\n" +"[b]Note:[/b] If you want to implement drag and drop for the underlying " +"[LineEdit], you can use [method Control.set_drag_forwarding] on the node " +"returned by [method get_line_edit]." msgstr "" #: doc/classes/SpinBox.xml @@ -55839,7 +56122,6 @@ msgid "" "print(\"1.7\".is_valid_float()) # Prints \"True\"\n" "print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"7e3\".is_valid_float()) # Prints \"True\"\n" -"print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -56076,8 +56358,8 @@ msgid "" "var some_string = \"One,Two,Three,Four\"\n" "var some_array = some_string.rsplit(\",\", true, 1)\n" "print(some_array.size()) # Prints 2\n" -"print(some_array[0]) # Prints \"Four\"\n" -"print(some_array[1]) # Prints \"Three,Two,One\"\n" +"print(some_array[0]) # Prints \"One,Two,Three\"\n" +"print(some_array[1]) # Prints \"Four\"\n" "[/codeblock]" msgstr "" @@ -56110,9 +56392,9 @@ msgstr "" #: doc/classes/String.xml msgid "" "Returns the similarity index ([url=https://en.wikipedia.org/wiki/" -"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) this " -"string compared to another. 1.0 means totally similar and 0.0 means totally " -"dissimilar.\n" +"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) of " +"this string compared to another. A result of 1.0 means totally similar, " +"while 0.0 means totally dissimilar.\n" "[codeblock]\n" "print(\"ABC123\".similarity(\"ABC123\")) # Prints \"1\"\n" "print(\"ABC123\".similarity(\"XYZ456\")) # Prints \"0\"\n" @@ -57585,10 +57867,6 @@ msgid "" msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection begin column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection begin line." msgstr "" @@ -57597,10 +57875,6 @@ msgid "Returns the text inside the selection." msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection end column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection end line." msgstr "" @@ -58623,6 +58897,14 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Adds an empty theme type for every valid data type.\n" +"[b]Note:[/b] Empty types are not saved with the theme. This method only " +"exists to perform in-memory changes to the resource. Use available " +"[code]set_*[/code] methods to add theme items." +msgstr "" + +#: doc/classes/Theme.xml msgid "Clears all values on the theme." msgstr "" @@ -58882,6 +59164,13 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Removes the theme type, gracefully discarding defined theme items. If the " +"type is a variation, this information is also erased. If the type is a base " +"for type variations, those variations lose their base." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Renames the [Color] at [code]old_name[/code] to [code]name[/code] if the " "theme has [code]node_type[/code]. If [code]name[/code] is already taken, " "this method fails." @@ -71595,6 +71884,11 @@ msgid "" msgstr "" #: modules/websocket/doc_classes/WebSocketServer.xml +msgid "" +"Sets additional headers to be sent to clients during the HTTP handshake." +msgstr "" + +#: modules/websocket/doc_classes/WebSocketServer.xml msgid "Stops the server and clear its state." msgstr "" @@ -71690,6 +71984,9 @@ msgid "" "\n" " webxr_interface = ARVRServer.find_interface(\"WebXR\")\n" " if webxr_interface:\n" +" # Map to the standard button/axis ids when possible.\n" +" webxr_interface.xr_standard_mapping = true\n" +"\n" " # WebXR uses a lot of asynchronous callbacks, so we connect to " "various\n" " # signals in order to receive them.\n" @@ -71915,6 +72212,13 @@ msgstr "" #: modules/webxr/doc_classes/WebXRInterface.xml msgid "" +"If set to true, the button and axes ids will be converted to match the " +"standard ids used by other AR/VR interfaces, when possible.\n" +"Otherwise, the ids will be passed through unaltered from WebXR." +msgstr "" + +#: modules/webxr/doc_classes/WebXRInterface.xml +msgid "" "Emitted to indicate that the reference space has been reset or " "reconfigured.\n" "When (or whether) this is emitted depends on the user's browser or device, " diff --git a/doc/translations/tl.po b/doc/translations/tl.po index 385070cca2..a1e69a9a36 100644 --- a/doc/translations/tl.po +++ b/doc/translations/tl.po @@ -3400,8 +3400,12 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" "Hints that an integer, float or string property is an enumerated value to " -"pick in a list specified via a hint string such as [code]\"Hello,Something," -"Else\"[/code]." +"pick in a list specified via a hint string.\n" +"The hint string is a comma separated list of names such as [code]\"Hello," +"Something,Else\"[/code]. For integer and float properties, the first name in " +"the list has value 0, the next 1, and so on. Explicit values can also be " +"specified by appending [code]:integer[/code] to the name, e.g. [code]\"Zero," +"One,Three:3,Four,Six:6\"[/code]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -3542,7 +3546,7 @@ msgid "The property is a translatable string." msgstr "" #: doc/classes/@GlobalScope.xml -msgid "Used to group properties together in the editor." +msgid "Used to group properties together in the editor. See [EditorInspector]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -5313,8 +5317,11 @@ msgstr "" #: doc/classes/AnimationNodeBlendTree.xml msgid "" -"This node may contain a sub-tree of any other blend type nodes, such as mix, " -"blend2, blend3, one shot, etc. This is one of the most commonly used roots." +"This node may contain a sub-tree of any other blend type nodes, such as " +"[AnimationNodeTransition], [AnimationNodeBlend2], [AnimationNodeBlend3], " +"[AnimationNodeOneShot], etc. This is one of the most commonly used roots.\n" +"An [AnimationNodeOutput] node named [code]output[/code] is created by " +"default." msgstr "" #: doc/classes/AnimationNodeBlendTree.xml @@ -7056,8 +7063,9 @@ msgstr "" #: doc/classes/Array.xml msgid "" -"Removes the first occurrence of a value from the array. To remove an element " -"by index, use [method remove] instead.\n" +"Removes the first occurrence of a value from the array. If the value does " +"not exist in the array, nothing happens. To remove an element by index, use " +"[method remove] instead.\n" "[b]Note:[/b] This method acts in-place and doesn't return a value.\n" "[b]Note:[/b] On large arrays, this method will be slower if the removed " "element is close to the beginning of the array (index 0). This is because " @@ -10437,8 +10445,15 @@ msgstr "" #: doc/classes/BakedLightmap.xml msgid "" -"When enabled, the lightmapper will merge the textures for all meshes into a " -"single large layered texture. Not supported in GLES2." +"If [code]true[/code], the lightmapper will merge the textures for all meshes " +"into one or several large layered textures. If [code]false[/code], every " +"mesh will get its own lightmap texture, which is less efficient.\n" +"[b]Note:[/b] Atlas lightmap rendering is only supported in GLES3, [i]not[/i] " +"GLES2. Non-atlas lightmap rendering is supported by both GLES3 and GLES2. If " +"[member ProjectSettings.rendering/quality/driver/fallback_to_gles2] is " +"[code]true[/code], consider baking lightmaps with [member atlas_generate] " +"set to [code]false[/code] so that the resulting lightmap is visible in both " +"GLES3 and GLES2." msgstr "" #: doc/classes/BakedLightmap.xml @@ -11781,8 +11796,8 @@ msgstr "" #: doc/classes/Camera.xml msgid "" "The camera's size measured as 1/2 the width or height. Only applicable in " -"orthogonal mode. Since [member keep_aspect] locks on axis, [code]size[/code] " -"sets the other axis' size length." +"orthogonal and frustum modes. Since [member keep_aspect] locks on axis, " +"[code]size[/code] sets the other axis' size length." msgstr "" #: doc/classes/Camera.xml @@ -12583,20 +12598,24 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], the node won't inherit its " -"transform from parent canvas items." +"If [code]enable[/code] is [code]true[/code], this [CanvasItem] will [i]not[/" +"i] inherit its transform from parent [CanvasItem]s. Its draw order will also " +"be changed to make it draw on top of other [CanvasItem]s that are not set as " +"top-level. The [CanvasItem] will effectively act as if it was placed as a " +"child of a bare [Node]. See also [method is_set_as_toplevel]." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"local transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_LOCAL_TRANSFORM_CHANGED] when its local transform " +"changes." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"global transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_TRANSFORM_CHANGED] when its global transform changes." msgstr "" #: doc/classes/CanvasItem.xml @@ -12710,9 +12729,14 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"The [CanvasItem]'s transform has changed. This notification is only received " -"if enabled by [method set_notify_transform] or [method " -"set_notify_local_transform]." +"The [CanvasItem]'s global transform has changed. This notification is only " +"received if enabled by [method set_notify_transform]." +msgstr "" + +#: doc/classes/CanvasItem.xml +msgid "" +"The [CanvasItem]'s local transform has changed. This notification is only " +"received if enabled by [method set_notify_local_transform]." msgstr "" #: doc/classes/CanvasItem.xml @@ -13667,7 +13691,10 @@ msgid "" "number of 2D collision [Shape2D]s. Each shape must be assigned to a [i]shape " "owner[/i]. The CollisionObject2D can have any number of shape owners. Shape " "owners are not nodes and do not appear in the editor, but are accessible " -"through code using the [code]shape_owner_*[/code] methods." +"through code using the [code]shape_owner_*[/code] methods.\n" +"[b]Note:[/b] Only collisions between objects within the same canvas " +"([Viewport] canvas or [CanvasLayer]) are supported. The behavior of " +"collisions between objects in different canvases is undefined." msgstr "" #: doc/classes/CollisionObject2D.xml @@ -19677,9 +19704,8 @@ msgid "" "main font.\n" "DynamicFont uses the [url=https://www.freetype.org/]FreeType[/url] library " "for rasterization. Supported formats are TrueType ([code].ttf[/code]), " -"OpenType ([code].otf[/code]) and Web Open Font Format 1 ([code].woff[/" -"code]). Web Open Font Format 2 ([code].woff2[/code]) is [i]not[/i] " -"supported.\n" +"OpenType ([code].otf[/code]), Web Open Font Format 1 ([code].woff[/code]), " +"and Web Open Font Format 2 ([code].woff2[/code]).\n" "[codeblock]\n" "var dynamic_font = DynamicFont.new()\n" "dynamic_font.font_data = load(\"res://BarlowCondensed-Bold.ttf\")\n" @@ -20546,18 +20572,34 @@ msgid "" msgstr "" #: doc/classes/EditorInspector.xml -msgid "A tab used to edit properties of the selected node." +msgid "A control used to edit properties of an object." msgstr "" #: doc/classes/EditorInspector.xml msgid "" -"The editor inspector is by default located on the right-hand side of the " -"editor. It's used to edit the properties of the selected node. For example, " -"you can select a node such as [Sprite] then edit its transform through the " -"inspector tool. The editor inspector is an essential tool in the game " -"development workflow.\n" -"[b]Note:[/b] This class shouldn't be instantiated directly. Instead, access " -"the singleton using [method EditorInterface.get_inspector]." +"This is the control that implements property editing in the editor's " +"Settings dialogs, the Inspector dock, etc. To get the [EditorInspector] used " +"in the editor's Inspector dock, use [method EditorInterface.get_inspector].\n" +"[EditorInspector] will show properties in the same order as the array " +"returned by [method Object.get_property_list].\n" +"If a property's name is path-like (i.e. if it contains forward slashes), " +"[EditorInspector] will create nested sections for \"directories\" along the " +"path. For example, if a property is named [code]highlighting/gdscript/" +"node_path_color[/code], it will be shown as \"Node Path Color\" inside the " +"\"GDScript\" section nested inside the \"Highlighting\" section.\n" +"If a property has [constant @GlobalScope.PROPERTY_USAGE_GROUP] usage, it " +"will group subsequent properties whose name starts with the property's hint " +"string. The group ends when a property does not start with that hint string " +"or when a new group starts. An empty group name effectively ends the current " +"group. [EditorInspector] will create a top-level section for each group. For " +"example, if a property with group usage is named [code]Collide With[/code] " +"and its hint string is [code]collide_with_[/code], a subsequent " +"[code]collide_with_area[/code] property will be shown as \"Area\" inside the " +"\"Collide With\" section.\n" +"[b]Note:[/b] Unlike sections created from path-like property names, " +"[EditorInspector] won't capitalize the name for sections created from " +"groups. So properties with group usage usually use capitalized names instead " +"of snake_cased names." msgstr "" #: doc/classes/EditorInspector.xml @@ -21732,6 +21774,14 @@ msgid "" "[/codeblock]" msgstr "" +#: modules/gltf/doc_classes/EditorSceneImporterGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [EditorSceneImporterGLTF] within a script will cause an error in an " +"exported project." +msgstr "" + #: doc/classes/EditorScenePostImport.xml msgid "Post-processes scenes after import." msgstr "" @@ -22469,12 +22519,13 @@ msgstr "" #: doc/classes/EditorVCSInterface.xml msgid "" "Helper function to create a commit [Dictionary] item. [code]msg[/code] is " -"the commit message of the commit. [code]author[/code] is a human-readable " -"string containing the author's details, e.g. the email and name configured " -"in the VCS. [code]id[/code] is the identifier of the commit, in whichever " -"format your VCS may provide an identifier to commits. [code]date[/code] is " -"directly added to the commit item and displayed in the editor, and hence, it " -"shall be a well-formatted, human-readable date string." +"the commit message of the commit. [code]author[/code] is a single human-" +"readable string containing all the author's details, e.g. the email and name " +"configured in the VCS. [code]id[/code] is the identifier of the commit, in " +"whichever format your VCS may provide an identifier to commits. " +"[code]unix_timestamp[/code] is the UTC Unix timestamp of when the commit was " +"created. [code]offset_minutes[/code] is the timezone offset in minutes, " +"recorded from the system timezone where the commit was created." msgstr "" #: doc/classes/EditorVCSInterface.xml @@ -25625,6 +25676,50 @@ msgstr "" msgid "Represents the size of the [enum Subdiv] enum." msgstr "" +#: modules/gltf/doc_classes/GLTFAccessor.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAccessor] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFAnimation.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAnimation] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFBufferView.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFBufferView] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFCamera.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFCamera] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFDocument.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFDocument] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFLight.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFLight] within a script will cause an error in an exported project." +msgstr "" + #: modules/gltf/doc_classes/GLTFLight.xml msgid "" "The [Color] of the light. Defaults to white. A black color causes the light " @@ -25674,6 +25769,49 @@ msgid "" "and [DirectionalLight] respectively." msgstr "" +#: modules/gltf/doc_classes/GLTFMesh.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFMesh] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFNode.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFNode] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSkeleton.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSkeleton] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSpecGloss.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSpecGloss] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFState.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFState] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFTexture.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFTexture] within a script will cause an error in an exported project." +msgstr "" + #: modules/mono/doc_classes/GodotSharp.xml msgid "Bridge between Godot and the Mono runtime (Mono-enabled builds only)." msgstr "" @@ -29058,9 +29196,9 @@ msgid "" "Returns a value between 0 and 1 representing the raw intensity of the given " "action, ignoring the action's deadzone. In most cases, you should use " "[method get_action_strength] instead.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29070,9 +29208,9 @@ msgid "" "or L2, R2 triggers) is from the dead zone, the closer the value will be to " "1. If the action is mapped to a control that has no axis as the keyboard, " "the value returned will be 0 or 1.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29205,9 +29343,9 @@ msgid "" "the button.\n" "This is useful for code that needs to run only once when an action is " "pressed, instead of every frame while it's pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_just_pressed] may " "return [code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29219,9 +29357,9 @@ msgid "" "Returns [code]true[/code] when the user stops pressing the action event, " "meaning it's [code]true[/code] only on the frame that the user released the " "button.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29230,9 +29368,9 @@ msgid "" "an action has multiple buttons assigned and more than one of them is " "pressed, releasing one button will release the action, even if some other " "button assigned to this action is still pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29582,18 +29720,18 @@ msgstr "" msgid "" "Returns a value between 0.0 and 1.0 depending on the given actions' state. " "Useful for getting the value of events of type [InputEventJoypadMotion].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml msgid "" "Returns [code]true[/code] if this input event matches a pre-defined action " "of any type.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -29602,9 +29740,9 @@ msgid "" "an echo event for [InputEventKey] events, unless [code]allow_echo[/code] is " "[code]true[/code]). Not relevant for events of type [InputEventMouseMotion] " "or [InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events.\n" +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29616,9 +29754,9 @@ msgid "" "Returns [code]true[/code] if the given action is released (i.e. not " "pressed). Not relevant for events of type [InputEventMouseMotion] or " "[InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -29649,9 +29787,9 @@ msgid "" "event. Only valid for action events i.e key ([InputEventKey]), button " "([InputEventMouseButton] or [InputEventJoypadButton]), axis " "[InputEventJoypadMotion] or action ([InputEventAction]) events.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -30181,9 +30319,9 @@ msgid "" "This method ignores keyboard modifiers if the given [InputEvent] is not " "pressed (for proper release detection). See [method action_has_event] if you " "don't want this behavior.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputMap.xml @@ -32587,7 +32725,7 @@ msgid "" "be within the text's length." msgstr "" -#: doc/classes/LineEdit.xml +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml msgid "Clears the current selection." msgstr "" @@ -32606,6 +32744,21 @@ msgid "" "characters." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection begin column." +msgstr "" + +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection end column." +msgstr "" + +#: doc/classes/LineEdit.xml +#, fuzzy +msgid "Returns [code]true[/code] if the user has selected text." +msgstr "" +"Kung [code]true[/code], ang mga child nodes ay inaayos, kung hindi ang pag-" +"so-sort ay hindi pinapagana." + #: doc/classes/LineEdit.xml msgid "Executes a given action as defined in the [enum MenuItems] enum." msgstr "" @@ -34019,6 +34172,39 @@ msgid "Returns the number of surface materials." msgstr "" #: doc/classes/MeshInstance.xml +msgid "" +"Returns [code]true[/code] if this [MeshInstance] can be merged with the " +"specified [code]other_mesh_instance[/code], using the [method MeshInstance." +"merge_meshes] function.\n" +"In order to be mergeable, properties of the [MeshInstance] must match, and " +"each surface must match, in terms of material, attributes and vertex format." +msgstr "" + +#: doc/classes/MeshInstance.xml +msgid "" +"This function can merge together the data from several source " +"[MeshInstance]s into a single destination [MeshInstance] (the MeshInstance " +"the function is called from). This is primarily useful for improving " +"performance by reducing the number of drawcalls and [Node]s.\n" +"Merging should only be attempted for simple meshes that do not contain " +"animation.\n" +"The final vertices can either be returned in global space, or in local space " +"relative to the destination [MeshInstance] global transform (the destination " +"Node must be inside the [SceneTree] for local space to work).\n" +"The function will make a final check for compatibility between the " +"[MeshInstance]s by default, this should always be used unless you have " +"previously checked for compatibility using [method MeshInstance." +"is_mergeable_with]. If the compatibility check is omitted and the meshes are " +"merged, you may see rendering errors.\n" +"[b]Note:[/b] The requirements for similarity between meshes are quite " +"stringent. They can be checked using the [method MeshInstance." +"is_mergeable_with] function prior to calling [method MeshInstance." +"merge_meshes].\n" +"Also note that any initial data in the destination [MeshInstance] data will " +"be discarded." +msgstr "" + +#: doc/classes/MeshInstance.xml msgid "Sets the [Material] for a surface of the [Mesh] resource." msgstr "" @@ -36477,12 +36663,12 @@ msgid "" "[/codeblock]\n" "[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " "must set [member owner] in addition to calling [method add_child]. This is " -"typically relevant for [url=https://godot.readthedocs.io/en/3.2/tutorials/" -"misc/running_code_in_the_editor.html]tool scripts[/url] and [url=https://" -"godot.readthedocs.io/en/latest/tutorials/plugins/editor/index.html]editor " -"plugins[/url]. If [method add_child] is called without setting [member " -"owner], the newly added [Node] will not be visible in the scene tree, though " -"it will be visible in the 2D/3D view." +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37189,7 +37375,15 @@ msgid "" "valid parent, grandparent, etc. ascending in the tree). When saving a node " "(using [PackedScene]), all the nodes it owns will be saved with it. This " "allows for the creation of complex [SceneTree]s, with instancing and " -"subinstancing." +"subinstancing.\n" +"[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " +"must set [member owner] in addition to calling [method add_child]. This is " +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37785,7 +37979,13 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Called when the object is initialized." +msgid "" +"Called when the object is initialized in memory. Can be defined to take in " +"parameters, that are passed in when constructing.\n" +"[b]Note:[/b] If [method _init] is defined with required parameters, then " +"explicit construction is the only valid means of creating an Object of the " +"class. If any other means (such as [method PackedScene.instance]) is used, " +"then initialization will fail." msgstr "" #: doc/classes/Object.xml @@ -37981,7 +38181,10 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Returns the object's metadata entry for the given [code]name[/code]." +msgid "" +"Returns the object's metadata entry for the given [code]name[/code].\n" +"Throws error if the entry does not exist, unless [code]default[/code] is not " +"[code]null[/code] (in which case the default value will be returned)." msgstr "" #: doc/classes/Object.xml @@ -40192,6 +40395,14 @@ msgid "" "[b]Note:[/b] Only available in editor builds." msgstr "" +#: modules/gltf/doc_classes/PackedSceneGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [PackedSceneGLTF] within a script will cause an error in an exported " +"project." +msgstr "" + #: doc/classes/PacketPeer.xml msgid "Abstraction and base class for packet-based protocols." msgstr "" @@ -43032,7 +43243,10 @@ msgid "" msgstr "" #: doc/classes/PhysicsServer.xml -msgid "Returns an Info defined by the [enum ProcessInfo] input given." +msgid "" +"Returns information about the current state of the 3D physics engine. See " +"[enum ProcessInfo] for a list of available states. Only implemented for " +"Godot Physics." msgstr "" #: doc/classes/PhysicsServer.xml @@ -45892,7 +46106,7 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Allows the window to be resizable by default.\n" -"[b]Note:[/b] This setting is ignored on iOS and Android." +"[b]Note:[/b] This setting is ignored on iOS." msgstr "" #: doc/classes/ProjectSettings.xml @@ -46539,7 +46753,7 @@ msgid "Optional name for the 3D render layer 13." msgstr "" #: doc/classes/ProjectSettings.xml -msgid "Optional name for the 3D render layer 14" +msgid "Optional name for the 3D render layer 14." msgstr "" #: doc/classes/ProjectSettings.xml @@ -47809,16 +48023,24 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" -"If [code]true[/code], forces vertex shading for all rendering. This can " -"increase performance a lot, but also reduces quality immensely. Can be used " -"to optimize performance on low-end mobile devices." +"If [code]true[/code], forces vertex shading for all 3D [SpatialMaterial] and " +"[ShaderMaterial] rendering. This can be used to improve performance on low-" +"end mobile devices. The downside is that shading becomes much less accurate, " +"with visible linear interpolation between vertices that are joined together. " +"This can be compensated by ensuring meshes have a sufficient level of " +"subdivision (but not too much, to avoid reducing performance). Some material " +"features are also not supported when vertex shading is enabled.\n" +"See also [member SpatialMaterial.flags_vertex_lighting] which can be used to " +"enable vertex shading on specific materials only.\n" +"[b]Note:[/b] This setting does not affect unshaded materials." msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Lower-end override for [member rendering/quality/shading/" "force_vertex_shading] on mobile devices, due to performance concerns or " -"driver support." +"driver support. If lighting looks broken after exporting the project to a " +"mobile platform, try disabling this setting." msgstr "" #: doc/classes/ProjectSettings.xml @@ -49853,6 +50075,10 @@ msgid "" msgstr "" #: doc/classes/RichTextLabel.xml +msgid "Returns the current selection text. Does not include BBCodes." +msgstr "" + +#: doc/classes/RichTextLabel.xml msgid "" "Returns the total number of characters from text tags. Does not include " "BBCodes." @@ -52144,14 +52370,23 @@ msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Lowers the [Semaphore], allowing one more thread in. Returns [constant OK] " -"on success, [constant ERR_BUSY] otherwise." +"Lowers the [Semaphore], allowing one more thread in.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Tries to wait for the [Semaphore], if its value is zero, blocks until non-" -"zero. Returns [constant OK] on success, [constant ERR_BUSY] otherwise." +"Like [method wait], but won't block, so if the value is zero, fails " +"immediately and returns [constant ERR_BUSY]. If non-zero, it returns " +"[constant OK] to report success." +msgstr "" + +#: doc/classes/Semaphore.xml +msgid "" +"Waits for the [Semaphore], if its value is zero, blocks until non-zero.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Separator.xml @@ -53597,7 +53832,21 @@ msgstr "" #: doc/classes/SpatialMaterial.xml msgid "" "If [code]true[/code], lighting is calculated per vertex rather than per " -"pixel. This may increase performance on low-end devices." +"pixel. This may increase performance on low-end devices, especially for " +"meshes with a lower polygon count. The downside is that shading becomes much " +"less accurate, with visible linear interpolation between vertices that are " +"joined together. This can be compensated by ensuring meshes have a " +"sufficient level of subdivision (but not too much, to avoid reducing " +"performance). Some material features are also not supported when vertex " +"shading is enabled.\n" +"See also [member ProjectSettings.rendering/quality/shading/" +"force_vertex_shading] which can globally enable vertex shading on all " +"materials.\n" +"[b]Note:[/b] By default, vertex shading is enforced on mobile platforms by " +"[member ProjectSettings.rendering/quality/shading/force_vertex_shading]'s " +"[code]mobile[/code] override.\n" +"[b]Note:[/b] [member flags_vertex_lighting] has no effect if [member " +"flags_unshaded] is [code]true[/code]." msgstr "" #: doc/classes/SpatialMaterial.xml @@ -54401,7 +54650,10 @@ msgid "" "the text alignment to right.\n" "See [Range] class for more options over the [SpinBox].\n" "[b]Note:[/b] [SpinBox] relies on an underlying [LineEdit] node. To theme a " -"[SpinBox]'s background, add theme items for [LineEdit] and customize them." +"[SpinBox]'s background, add theme items for [LineEdit] and customize them.\n" +"[b]Note:[/b] If you want to implement drag and drop for the underlying " +"[LineEdit], you can use [method Control.set_drag_forwarding] on the node " +"returned by [method get_line_edit]." msgstr "" #: doc/classes/SpinBox.xml @@ -55719,7 +55971,6 @@ msgid "" "print(\"1.7\".is_valid_float()) # Prints \"True\"\n" "print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"7e3\".is_valid_float()) # Prints \"True\"\n" -"print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55956,8 +56207,8 @@ msgid "" "var some_string = \"One,Two,Three,Four\"\n" "var some_array = some_string.rsplit(\",\", true, 1)\n" "print(some_array.size()) # Prints 2\n" -"print(some_array[0]) # Prints \"Four\"\n" -"print(some_array[1]) # Prints \"Three,Two,One\"\n" +"print(some_array[0]) # Prints \"One,Two,Three\"\n" +"print(some_array[1]) # Prints \"Four\"\n" "[/codeblock]" msgstr "" @@ -55990,9 +56241,9 @@ msgstr "" #: doc/classes/String.xml msgid "" "Returns the similarity index ([url=https://en.wikipedia.org/wiki/" -"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) this " -"string compared to another. 1.0 means totally similar and 0.0 means totally " -"dissimilar.\n" +"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) of " +"this string compared to another. A result of 1.0 means totally similar, " +"while 0.0 means totally dissimilar.\n" "[codeblock]\n" "print(\"ABC123\".similarity(\"ABC123\")) # Prints \"1\"\n" "print(\"ABC123\".similarity(\"XYZ456\")) # Prints \"0\"\n" @@ -57463,10 +57714,6 @@ msgid "" msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection begin column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection begin line." msgstr "" @@ -57475,10 +57722,6 @@ msgid "Returns the text inside the selection." msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection end column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection end line." msgstr "" @@ -58502,6 +58745,14 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Adds an empty theme type for every valid data type.\n" +"[b]Note:[/b] Empty types are not saved with the theme. This method only " +"exists to perform in-memory changes to the resource. Use available " +"[code]set_*[/code] methods to add theme items." +msgstr "" + +#: doc/classes/Theme.xml msgid "Clears all values on the theme." msgstr "" @@ -58761,6 +59012,13 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Removes the theme type, gracefully discarding defined theme items. If the " +"type is a variation, this information is also erased. If the type is a base " +"for type variations, those variations lose their base." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Renames the [Color] at [code]old_name[/code] to [code]name[/code] if the " "theme has [code]node_type[/code]. If [code]name[/code] is already taken, " "this method fails." @@ -71457,6 +71715,11 @@ msgid "" msgstr "" #: modules/websocket/doc_classes/WebSocketServer.xml +msgid "" +"Sets additional headers to be sent to clients during the HTTP handshake." +msgstr "" + +#: modules/websocket/doc_classes/WebSocketServer.xml msgid "Stops the server and clear its state." msgstr "" @@ -71552,6 +71815,9 @@ msgid "" "\n" " webxr_interface = ARVRServer.find_interface(\"WebXR\")\n" " if webxr_interface:\n" +" # Map to the standard button/axis ids when possible.\n" +" webxr_interface.xr_standard_mapping = true\n" +"\n" " # WebXR uses a lot of asynchronous callbacks, so we connect to " "various\n" " # signals in order to receive them.\n" @@ -71777,6 +72043,13 @@ msgstr "" #: modules/webxr/doc_classes/WebXRInterface.xml msgid "" +"If set to true, the button and axes ids will be converted to match the " +"standard ids used by other AR/VR interfaces, when possible.\n" +"Otherwise, the ids will be passed through unaltered from WebXR." +msgstr "" + +#: modules/webxr/doc_classes/WebXRInterface.xml +msgid "" "Emitted to indicate that the reference space has been reset or " "reconfigured.\n" "When (or whether) this is emitted depends on the user's browser or device, " diff --git a/doc/translations/tr.po b/doc/translations/tr.po index f2eaa55c6c..2cc8ec84ec 100644 --- a/doc/translations/tr.po +++ b/doc/translations/tr.po @@ -16,12 +16,12 @@ # The Recon <reconmovyie@gmail.com>, 2021. # ali aydın <alimxaydin@gmail.com>, 2021. # yigithan <yigithanermet38@gmail.com>, 2021. -# Yusuf Yavuzyigit <yusufyavuzyigit25@gmail.com>, 2021. +# Yusuf Yavuzyigit <yusufyavuzyigit25@gmail.com>, 2021, 2022. msgid "" msgstr "" "Project-Id-Version: Godot Engine class reference\n" "Report-Msgid-Bugs-To: https://github.com/godotengine/godot\n" -"PO-Revision-Date: 2021-11-17 12:59+0000\n" +"PO-Revision-Date: 2022-04-03 08:10+0000\n" "Last-Translator: Yusuf Yavuzyigit <yusufyavuzyigit25@gmail.com>\n" "Language-Team: Turkish <https://hosted.weblate.org/projects/godot-engine/" "godot-class-reference/tr/>\n" @@ -30,7 +30,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8-bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.9.1-dev\n" +"X-Generator: Weblate 4.12-dev\n" #: doc/tools/make_rst.py msgid "Description" @@ -4095,8 +4095,12 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" "Hints that an integer, float or string property is an enumerated value to " -"pick in a list specified via a hint string such as [code]\"Hello,Something," -"Else\"[/code]." +"pick in a list specified via a hint string.\n" +"The hint string is a comma separated list of names such as [code]\"Hello," +"Something,Else\"[/code]. For integer and float properties, the first name in " +"the list has value 0, the next 1, and so on. Explicit values can also be " +"specified by appending [code]:integer[/code] to the name, e.g. [code]\"Zero," +"One,Three:3,Four,Six:6\"[/code]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -4237,7 +4241,7 @@ msgid "The property is a translatable string." msgstr "" #: doc/classes/@GlobalScope.xml -msgid "Used to group properties together in the editor." +msgid "Used to group properties together in the editor. See [EditorInspector]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -6010,8 +6014,11 @@ msgstr "" #: doc/classes/AnimationNodeBlendTree.xml msgid "" -"This node may contain a sub-tree of any other blend type nodes, such as mix, " -"blend2, blend3, one shot, etc. This is one of the most commonly used roots." +"This node may contain a sub-tree of any other blend type nodes, such as " +"[AnimationNodeTransition], [AnimationNodeBlend2], [AnimationNodeBlend3], " +"[AnimationNodeOneShot], etc. This is one of the most commonly used roots.\n" +"An [AnimationNodeOutput] node named [code]output[/code] is created by " +"default." msgstr "" #: doc/classes/AnimationNodeBlendTree.xml @@ -7753,8 +7760,9 @@ msgstr "" #: doc/classes/Array.xml msgid "" -"Removes the first occurrence of a value from the array. To remove an element " -"by index, use [method remove] instead.\n" +"Removes the first occurrence of a value from the array. If the value does " +"not exist in the array, nothing happens. To remove an element by index, use " +"[method remove] instead.\n" "[b]Note:[/b] This method acts in-place and doesn't return a value.\n" "[b]Note:[/b] On large arrays, this method will be slower if the removed " "element is close to the beginning of the array (index 0). This is because " @@ -11131,8 +11139,15 @@ msgstr "" #: doc/classes/BakedLightmap.xml msgid "" -"When enabled, the lightmapper will merge the textures for all meshes into a " -"single large layered texture. Not supported in GLES2." +"If [code]true[/code], the lightmapper will merge the textures for all meshes " +"into one or several large layered textures. If [code]false[/code], every " +"mesh will get its own lightmap texture, which is less efficient.\n" +"[b]Note:[/b] Atlas lightmap rendering is only supported in GLES3, [i]not[/i] " +"GLES2. Non-atlas lightmap rendering is supported by both GLES3 and GLES2. If " +"[member ProjectSettings.rendering/quality/driver/fallback_to_gles2] is " +"[code]true[/code], consider baking lightmaps with [member atlas_generate] " +"set to [code]false[/code] so that the resulting lightmap is visible in both " +"GLES3 and GLES2." msgstr "" #: doc/classes/BakedLightmap.xml @@ -12477,8 +12492,8 @@ msgstr "" #: doc/classes/Camera.xml msgid "" "The camera's size measured as 1/2 the width or height. Only applicable in " -"orthogonal mode. Since [member keep_aspect] locks on axis, [code]size[/code] " -"sets the other axis' size length." +"orthogonal and frustum modes. Since [member keep_aspect] locks on axis, " +"[code]size[/code] sets the other axis' size length." msgstr "" #: doc/classes/Camera.xml @@ -13287,20 +13302,24 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], the node won't inherit its " -"transform from parent canvas items." +"If [code]enable[/code] is [code]true[/code], this [CanvasItem] will [i]not[/" +"i] inherit its transform from parent [CanvasItem]s. Its draw order will also " +"be changed to make it draw on top of other [CanvasItem]s that are not set as " +"top-level. The [CanvasItem] will effectively act as if it was placed as a " +"child of a bare [Node]. See also [method is_set_as_toplevel]." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"local transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_LOCAL_TRANSFORM_CHANGED] when its local transform " +"changes." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"global transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_TRANSFORM_CHANGED] when its global transform changes." msgstr "" #: doc/classes/CanvasItem.xml @@ -13414,9 +13433,14 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"The [CanvasItem]'s transform has changed. This notification is only received " -"if enabled by [method set_notify_transform] or [method " -"set_notify_local_transform]." +"The [CanvasItem]'s global transform has changed. This notification is only " +"received if enabled by [method set_notify_transform]." +msgstr "" + +#: doc/classes/CanvasItem.xml +msgid "" +"The [CanvasItem]'s local transform has changed. This notification is only " +"received if enabled by [method set_notify_local_transform]." msgstr "" #: doc/classes/CanvasItem.xml @@ -14371,7 +14395,10 @@ msgid "" "number of 2D collision [Shape2D]s. Each shape must be assigned to a [i]shape " "owner[/i]. The CollisionObject2D can have any number of shape owners. Shape " "owners are not nodes and do not appear in the editor, but are accessible " -"through code using the [code]shape_owner_*[/code] methods." +"through code using the [code]shape_owner_*[/code] methods.\n" +"[b]Note:[/b] Only collisions between objects within the same canvas " +"([Viewport] canvas or [CanvasLayer]) are supported. The behavior of " +"collisions between objects in different canvases is undefined." msgstr "" #: doc/classes/CollisionObject2D.xml @@ -20392,9 +20419,8 @@ msgid "" "main font.\n" "DynamicFont uses the [url=https://www.freetype.org/]FreeType[/url] library " "for rasterization. Supported formats are TrueType ([code].ttf[/code]), " -"OpenType ([code].otf[/code]) and Web Open Font Format 1 ([code].woff[/" -"code]). Web Open Font Format 2 ([code].woff2[/code]) is [i]not[/i] " -"supported.\n" +"OpenType ([code].otf[/code]), Web Open Font Format 1 ([code].woff[/code]), " +"and Web Open Font Format 2 ([code].woff2[/code]).\n" "[codeblock]\n" "var dynamic_font = DynamicFont.new()\n" "dynamic_font.font_data = load(\"res://BarlowCondensed-Bold.ttf\")\n" @@ -21261,18 +21287,34 @@ msgid "" msgstr "" #: doc/classes/EditorInspector.xml -msgid "A tab used to edit properties of the selected node." +msgid "A control used to edit properties of an object." msgstr "" #: doc/classes/EditorInspector.xml msgid "" -"The editor inspector is by default located on the right-hand side of the " -"editor. It's used to edit the properties of the selected node. For example, " -"you can select a node such as [Sprite] then edit its transform through the " -"inspector tool. The editor inspector is an essential tool in the game " -"development workflow.\n" -"[b]Note:[/b] This class shouldn't be instantiated directly. Instead, access " -"the singleton using [method EditorInterface.get_inspector]." +"This is the control that implements property editing in the editor's " +"Settings dialogs, the Inspector dock, etc. To get the [EditorInspector] used " +"in the editor's Inspector dock, use [method EditorInterface.get_inspector].\n" +"[EditorInspector] will show properties in the same order as the array " +"returned by [method Object.get_property_list].\n" +"If a property's name is path-like (i.e. if it contains forward slashes), " +"[EditorInspector] will create nested sections for \"directories\" along the " +"path. For example, if a property is named [code]highlighting/gdscript/" +"node_path_color[/code], it will be shown as \"Node Path Color\" inside the " +"\"GDScript\" section nested inside the \"Highlighting\" section.\n" +"If a property has [constant @GlobalScope.PROPERTY_USAGE_GROUP] usage, it " +"will group subsequent properties whose name starts with the property's hint " +"string. The group ends when a property does not start with that hint string " +"or when a new group starts. An empty group name effectively ends the current " +"group. [EditorInspector] will create a top-level section for each group. For " +"example, if a property with group usage is named [code]Collide With[/code] " +"and its hint string is [code]collide_with_[/code], a subsequent " +"[code]collide_with_area[/code] property will be shown as \"Area\" inside the " +"\"Collide With\" section.\n" +"[b]Note:[/b] Unlike sections created from path-like property names, " +"[EditorInspector] won't capitalize the name for sections created from " +"groups. So properties with group usage usually use capitalized names instead " +"of snake_cased names." msgstr "" #: doc/classes/EditorInspector.xml @@ -22449,6 +22491,14 @@ msgid "" "[/codeblock]" msgstr "" +#: modules/gltf/doc_classes/EditorSceneImporterGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [EditorSceneImporterGLTF] within a script will cause an error in an " +"exported project." +msgstr "" + #: doc/classes/EditorScenePostImport.xml msgid "Post-processes scenes after import." msgstr "" @@ -23187,12 +23237,13 @@ msgstr "" #: doc/classes/EditorVCSInterface.xml msgid "" "Helper function to create a commit [Dictionary] item. [code]msg[/code] is " -"the commit message of the commit. [code]author[/code] is a human-readable " -"string containing the author's details, e.g. the email and name configured " -"in the VCS. [code]id[/code] is the identifier of the commit, in whichever " -"format your VCS may provide an identifier to commits. [code]date[/code] is " -"directly added to the commit item and displayed in the editor, and hence, it " -"shall be a well-formatted, human-readable date string." +"the commit message of the commit. [code]author[/code] is a single human-" +"readable string containing all the author's details, e.g. the email and name " +"configured in the VCS. [code]id[/code] is the identifier of the commit, in " +"whichever format your VCS may provide an identifier to commits. " +"[code]unix_timestamp[/code] is the UTC Unix timestamp of when the commit was " +"created. [code]offset_minutes[/code] is the timezone offset in minutes, " +"recorded from the system timezone where the commit was created." msgstr "" #: doc/classes/EditorVCSInterface.xml @@ -26354,6 +26405,50 @@ msgstr "" msgid "Represents the size of the [enum Subdiv] enum." msgstr "" +#: modules/gltf/doc_classes/GLTFAccessor.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAccessor] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFAnimation.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAnimation] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFBufferView.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFBufferView] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFCamera.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFCamera] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFDocument.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFDocument] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFLight.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFLight] within a script will cause an error in an exported project." +msgstr "" + #: modules/gltf/doc_classes/GLTFLight.xml msgid "" "The [Color] of the light. Defaults to white. A black color causes the light " @@ -26403,6 +26498,49 @@ msgid "" "and [DirectionalLight] respectively." msgstr "" +#: modules/gltf/doc_classes/GLTFMesh.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFMesh] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFNode.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFNode] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSkeleton.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSkeleton] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSpecGloss.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSpecGloss] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFState.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFState] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFTexture.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFTexture] within a script will cause an error in an exported project." +msgstr "" + #: modules/mono/doc_classes/GodotSharp.xml msgid "Bridge between Godot and the Mono runtime (Mono-enabled builds only)." msgstr "" @@ -29793,9 +29931,9 @@ msgid "" "Returns a value between 0 and 1 representing the raw intensity of the given " "action, ignoring the action's deadzone. In most cases, you should use " "[method get_action_strength] instead.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29805,9 +29943,9 @@ msgid "" "or L2, R2 triggers) is from the dead zone, the closer the value will be to " "1. If the action is mapped to a control that has no axis as the keyboard, " "the value returned will be 0 or 1.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29940,9 +30078,9 @@ msgid "" "the button.\n" "This is useful for code that needs to run only once when an action is " "pressed, instead of every frame while it's pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_just_pressed] may " "return [code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29954,9 +30092,9 @@ msgid "" "Returns [code]true[/code] when the user stops pressing the action event, " "meaning it's [code]true[/code] only on the frame that the user released the " "button.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29965,9 +30103,9 @@ msgid "" "an action has multiple buttons assigned and more than one of them is " "pressed, releasing one button will release the action, even if some other " "button assigned to this action is still pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -30317,18 +30455,18 @@ msgstr "" msgid "" "Returns a value between 0.0 and 1.0 depending on the given actions' state. " "Useful for getting the value of events of type [InputEventJoypadMotion].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml msgid "" "Returns [code]true[/code] if this input event matches a pre-defined action " "of any type.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -30337,9 +30475,9 @@ msgid "" "an echo event for [InputEventKey] events, unless [code]allow_echo[/code] is " "[code]true[/code]). Not relevant for events of type [InputEventMouseMotion] " "or [InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events.\n" +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -30351,9 +30489,9 @@ msgid "" "Returns [code]true[/code] if the given action is released (i.e. not " "pressed). Not relevant for events of type [InputEventMouseMotion] or " "[InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -30384,9 +30522,9 @@ msgid "" "event. Only valid for action events i.e key ([InputEventKey]), button " "([InputEventMouseButton] or [InputEventJoypadButton]), axis " "[InputEventJoypadMotion] or action ([InputEventAction]) events.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -30917,9 +31055,9 @@ msgid "" "This method ignores keyboard modifiers if the given [InputEvent] is not " "pressed (for proper release detection). See [method action_has_event] if you " "don't want this behavior.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputMap.xml @@ -33326,7 +33464,7 @@ msgid "" "be within the text's length." msgstr "" -#: doc/classes/LineEdit.xml +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml msgid "Clears the current selection." msgstr "" @@ -33345,6 +33483,20 @@ msgid "" "characters." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection begin column." +msgstr "" + +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection end column." +msgstr "" + +#: doc/classes/LineEdit.xml +#, fuzzy +msgid "Returns [code]true[/code] if the user has selected text." +msgstr "" +"Eğer [code]true[/code] ise düğümler sıraya sokulur, yoksa sıraya sokulmaz." + #: doc/classes/LineEdit.xml msgid "Executes a given action as defined in the [enum MenuItems] enum." msgstr "" @@ -34760,6 +34912,39 @@ msgid "Returns the number of surface materials." msgstr "" #: doc/classes/MeshInstance.xml +msgid "" +"Returns [code]true[/code] if this [MeshInstance] can be merged with the " +"specified [code]other_mesh_instance[/code], using the [method MeshInstance." +"merge_meshes] function.\n" +"In order to be mergeable, properties of the [MeshInstance] must match, and " +"each surface must match, in terms of material, attributes and vertex format." +msgstr "" + +#: doc/classes/MeshInstance.xml +msgid "" +"This function can merge together the data from several source " +"[MeshInstance]s into a single destination [MeshInstance] (the MeshInstance " +"the function is called from). This is primarily useful for improving " +"performance by reducing the number of drawcalls and [Node]s.\n" +"Merging should only be attempted for simple meshes that do not contain " +"animation.\n" +"The final vertices can either be returned in global space, or in local space " +"relative to the destination [MeshInstance] global transform (the destination " +"Node must be inside the [SceneTree] for local space to work).\n" +"The function will make a final check for compatibility between the " +"[MeshInstance]s by default, this should always be used unless you have " +"previously checked for compatibility using [method MeshInstance." +"is_mergeable_with]. If the compatibility check is omitted and the meshes are " +"merged, you may see rendering errors.\n" +"[b]Note:[/b] The requirements for similarity between meshes are quite " +"stringent. They can be checked using the [method MeshInstance." +"is_mergeable_with] function prior to calling [method MeshInstance." +"merge_meshes].\n" +"Also note that any initial data in the destination [MeshInstance] data will " +"be discarded." +msgstr "" + +#: doc/classes/MeshInstance.xml msgid "Sets the [Material] for a surface of the [Mesh] resource." msgstr "" @@ -37092,7 +37277,7 @@ msgstr "" #: doc/classes/Node.xml msgid "Nodes and Scenes" -msgstr "" +msgstr "Düğüm ve Sahneler" #: doc/classes/Node.xml msgid "All Demos" @@ -37244,12 +37429,12 @@ msgid "" "[/codeblock]\n" "[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " "must set [member owner] in addition to calling [method add_child]. This is " -"typically relevant for [url=https://godot.readthedocs.io/en/3.2/tutorials/" -"misc/running_code_in_the_editor.html]tool scripts[/url] and [url=https://" -"godot.readthedocs.io/en/latest/tutorials/plugins/editor/index.html]editor " -"plugins[/url]. If [method add_child] is called without setting [member " -"owner], the newly added [Node] will not be visible in the scene tree, though " -"it will be visible in the 2D/3D view." +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37956,7 +38141,15 @@ msgid "" "valid parent, grandparent, etc. ascending in the tree). When saving a node " "(using [PackedScene]), all the nodes it owns will be saved with it. This " "allows for the creation of complex [SceneTree]s, with instancing and " -"subinstancing." +"subinstancing.\n" +"[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " +"must set [member owner] in addition to calling [method add_child]. This is " +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -38552,7 +38745,13 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Called when the object is initialized." +msgid "" +"Called when the object is initialized in memory. Can be defined to take in " +"parameters, that are passed in when constructing.\n" +"[b]Note:[/b] If [method _init] is defined with required parameters, then " +"explicit construction is the only valid means of creating an Object of the " +"class. If any other means (such as [method PackedScene.instance]) is used, " +"then initialization will fail." msgstr "" #: doc/classes/Object.xml @@ -38748,7 +38947,10 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Returns the object's metadata entry for the given [code]name[/code]." +msgid "" +"Returns the object's metadata entry for the given [code]name[/code].\n" +"Throws error if the entry does not exist, unless [code]default[/code] is not " +"[code]null[/code] (in which case the default value will be returned)." msgstr "" #: doc/classes/Object.xml @@ -40969,6 +41171,14 @@ msgid "" "[b]Note:[/b] Only available in editor builds." msgstr "" +#: modules/gltf/doc_classes/PackedSceneGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [PackedSceneGLTF] within a script will cause an error in an exported " +"project." +msgstr "" + #: doc/classes/PacketPeer.xml msgid "Abstraction and base class for packet-based protocols." msgstr "" @@ -43828,7 +44038,10 @@ msgid "" msgstr "" #: doc/classes/PhysicsServer.xml -msgid "Returns an Info defined by the [enum ProcessInfo] input given." +msgid "" +"Returns information about the current state of the 3D physics engine. See " +"[enum ProcessInfo] for a list of available states. Only implemented for " +"Godot Physics." msgstr "" #: doc/classes/PhysicsServer.xml @@ -46695,7 +46908,7 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Allows the window to be resizable by default.\n" -"[b]Note:[/b] This setting is ignored on iOS and Android." +"[b]Note:[/b] This setting is ignored on iOS." msgstr "" #: doc/classes/ProjectSettings.xml @@ -47342,7 +47555,7 @@ msgid "Optional name for the 3D render layer 13." msgstr "" #: doc/classes/ProjectSettings.xml -msgid "Optional name for the 3D render layer 14" +msgid "Optional name for the 3D render layer 14." msgstr "" #: doc/classes/ProjectSettings.xml @@ -48612,16 +48825,24 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" -"If [code]true[/code], forces vertex shading for all rendering. This can " -"increase performance a lot, but also reduces quality immensely. Can be used " -"to optimize performance on low-end mobile devices." +"If [code]true[/code], forces vertex shading for all 3D [SpatialMaterial] and " +"[ShaderMaterial] rendering. This can be used to improve performance on low-" +"end mobile devices. The downside is that shading becomes much less accurate, " +"with visible linear interpolation between vertices that are joined together. " +"This can be compensated by ensuring meshes have a sufficient level of " +"subdivision (but not too much, to avoid reducing performance). Some material " +"features are also not supported when vertex shading is enabled.\n" +"See also [member SpatialMaterial.flags_vertex_lighting] which can be used to " +"enable vertex shading on specific materials only.\n" +"[b]Note:[/b] This setting does not affect unshaded materials." msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Lower-end override for [member rendering/quality/shading/" "force_vertex_shading] on mobile devices, due to performance concerns or " -"driver support." +"driver support. If lighting looks broken after exporting the project to a " +"mobile platform, try disabling this setting." msgstr "" #: doc/classes/ProjectSettings.xml @@ -50664,6 +50885,11 @@ msgid "" msgstr "" #: doc/classes/RichTextLabel.xml +#, fuzzy +msgid "Returns the current selection text. Does not include BBCodes." +msgstr "Verilen değerin tanjantını döndürür." + +#: doc/classes/RichTextLabel.xml msgid "" "Returns the total number of characters from text tags. Does not include " "BBCodes." @@ -52955,14 +53181,23 @@ msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Lowers the [Semaphore], allowing one more thread in. Returns [constant OK] " -"on success, [constant ERR_BUSY] otherwise." +"Lowers the [Semaphore], allowing one more thread in.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." +msgstr "" + +#: doc/classes/Semaphore.xml +msgid "" +"Like [method wait], but won't block, so if the value is zero, fails " +"immediately and returns [constant ERR_BUSY]. If non-zero, it returns " +"[constant OK] to report success." msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Tries to wait for the [Semaphore], if its value is zero, blocks until non-" -"zero. Returns [constant OK] on success, [constant ERR_BUSY] otherwise." +"Waits for the [Semaphore], if its value is zero, blocks until non-zero.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Separator.xml @@ -54408,7 +54643,21 @@ msgstr "" #: doc/classes/SpatialMaterial.xml msgid "" "If [code]true[/code], lighting is calculated per vertex rather than per " -"pixel. This may increase performance on low-end devices." +"pixel. This may increase performance on low-end devices, especially for " +"meshes with a lower polygon count. The downside is that shading becomes much " +"less accurate, with visible linear interpolation between vertices that are " +"joined together. This can be compensated by ensuring meshes have a " +"sufficient level of subdivision (but not too much, to avoid reducing " +"performance). Some material features are also not supported when vertex " +"shading is enabled.\n" +"See also [member ProjectSettings.rendering/quality/shading/" +"force_vertex_shading] which can globally enable vertex shading on all " +"materials.\n" +"[b]Note:[/b] By default, vertex shading is enforced on mobile platforms by " +"[member ProjectSettings.rendering/quality/shading/force_vertex_shading]'s " +"[code]mobile[/code] override.\n" +"[b]Note:[/b] [member flags_vertex_lighting] has no effect if [member " +"flags_unshaded] is [code]true[/code]." msgstr "" #: doc/classes/SpatialMaterial.xml @@ -55214,7 +55463,10 @@ msgid "" "the text alignment to right.\n" "See [Range] class for more options over the [SpinBox].\n" "[b]Note:[/b] [SpinBox] relies on an underlying [LineEdit] node. To theme a " -"[SpinBox]'s background, add theme items for [LineEdit] and customize them." +"[SpinBox]'s background, add theme items for [LineEdit] and customize them.\n" +"[b]Note:[/b] If you want to implement drag and drop for the underlying " +"[LineEdit], you can use [method Control.set_drag_forwarding] on the node " +"returned by [method get_line_edit]." msgstr "" #: doc/classes/SpinBox.xml @@ -56534,7 +56786,6 @@ msgid "" "print(\"1.7\".is_valid_float()) # Prints \"True\"\n" "print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"7e3\".is_valid_float()) # Prints \"True\"\n" -"print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -56771,8 +57022,8 @@ msgid "" "var some_string = \"One,Two,Three,Four\"\n" "var some_array = some_string.rsplit(\",\", true, 1)\n" "print(some_array.size()) # Prints 2\n" -"print(some_array[0]) # Prints \"Four\"\n" -"print(some_array[1]) # Prints \"Three,Two,One\"\n" +"print(some_array[0]) # Prints \"One,Two,Three\"\n" +"print(some_array[1]) # Prints \"Four\"\n" "[/codeblock]" msgstr "" @@ -56805,9 +57056,9 @@ msgstr "" #: doc/classes/String.xml msgid "" "Returns the similarity index ([url=https://en.wikipedia.org/wiki/" -"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) this " -"string compared to another. 1.0 means totally similar and 0.0 means totally " -"dissimilar.\n" +"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) of " +"this string compared to another. A result of 1.0 means totally similar, " +"while 0.0 means totally dissimilar.\n" "[codeblock]\n" "print(\"ABC123\".similarity(\"ABC123\")) # Prints \"1\"\n" "print(\"ABC123\".similarity(\"XYZ456\")) # Prints \"0\"\n" @@ -58282,10 +58533,6 @@ msgid "" msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection begin column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection begin line." msgstr "" @@ -58294,10 +58541,6 @@ msgid "Returns the text inside the selection." msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection end column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection end line." msgstr "" @@ -59324,6 +59567,14 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Adds an empty theme type for every valid data type.\n" +"[b]Note:[/b] Empty types are not saved with the theme. This method only " +"exists to perform in-memory changes to the resource. Use available " +"[code]set_*[/code] methods to add theme items." +msgstr "" + +#: doc/classes/Theme.xml msgid "Clears all values on the theme." msgstr "" @@ -59584,6 +59835,13 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Removes the theme type, gracefully discarding defined theme items. If the " +"type is a variation, this information is also erased. If the type is a base " +"for type variations, those variations lose their base." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Renames the [Color] at [code]old_name[/code] to [code]name[/code] if the " "theme has [code]node_type[/code]. If [code]name[/code] is already taken, " "this method fails." @@ -72318,6 +72576,11 @@ msgid "" msgstr "" #: modules/websocket/doc_classes/WebSocketServer.xml +msgid "" +"Sets additional headers to be sent to clients during the HTTP handshake." +msgstr "" + +#: modules/websocket/doc_classes/WebSocketServer.xml msgid "Stops the server and clear its state." msgstr "" @@ -72413,6 +72676,9 @@ msgid "" "\n" " webxr_interface = ARVRServer.find_interface(\"WebXR\")\n" " if webxr_interface:\n" +" # Map to the standard button/axis ids when possible.\n" +" webxr_interface.xr_standard_mapping = true\n" +"\n" " # WebXR uses a lot of asynchronous callbacks, so we connect to " "various\n" " # signals in order to receive them.\n" @@ -72638,6 +72904,13 @@ msgstr "" #: modules/webxr/doc_classes/WebXRInterface.xml msgid "" +"If set to true, the button and axes ids will be converted to match the " +"standard ids used by other AR/VR interfaces, when possible.\n" +"Otherwise, the ids will be passed through unaltered from WebXR." +msgstr "" + +#: modules/webxr/doc_classes/WebXRInterface.xml +msgid "" "Emitted to indicate that the reference space has been reset or " "reconfigured.\n" "When (or whether) this is emitted depends on the user's browser or device, " diff --git a/doc/translations/uk.po b/doc/translations/uk.po index dc2e7969b1..036708df66 100644 --- a/doc/translations/uk.po +++ b/doc/translations/uk.po @@ -11,12 +11,14 @@ # Valerii Bosiak <valerii540@protonmail.com>, 2021. # KazanskiyMaks <kazanskiy.maks@gmail.com>, 2022. # Vladyslav Anisimov <uniss@ua.fm>, 2022. +# Мирослав <hlopukmyroslav@gmail.com>, 2022. +# Гліб Соколов <ramithes@i.ua>, 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-02-16 16:37+0000\n" -"Last-Translator: Yuri Chornoivan <yurchor@ukr.net>\n" +"PO-Revision-Date: 2022-04-08 07:11+0000\n" +"Last-Translator: Гліб Соколов <ramithes@i.ua>\n" "Language-Team: Ukrainian <https://hosted.weblate.org/projects/godot-engine/" "godot-class-reference/uk/>\n" "Language: uk\n" @@ -25,7 +27,7 @@ msgstr "" "Content-Transfer-Encoding: 8-bit\n" "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && " "n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" -"X-Generator: Weblate 4.11-dev\n" +"X-Generator: Weblate 4.12-dev\n" #: doc/tools/make_rst.py msgid "Description" @@ -33,7 +35,7 @@ msgstr "Опис" #: doc/tools/make_rst.py msgid "Tutorials" -msgstr "Уроки" +msgstr "Посібники" #: doc/tools/make_rst.py msgid "Properties" @@ -3472,8 +3474,12 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" "Hints that an integer, float or string property is an enumerated value to " -"pick in a list specified via a hint string such as [code]\"Hello,Something," -"Else\"[/code]." +"pick in a list specified via a hint string.\n" +"The hint string is a comma separated list of names such as [code]\"Hello," +"Something,Else\"[/code]. For integer and float properties, the first name in " +"the list has value 0, the next 1, and so on. Explicit values can also be " +"specified by appending [code]:integer[/code] to the name, e.g. [code]\"Zero," +"One,Three:3,Four,Six:6\"[/code]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -3614,7 +3620,7 @@ msgid "The property is a translatable string." msgstr "" #: doc/classes/@GlobalScope.xml -msgid "Used to group properties together in the editor." +msgid "Used to group properties together in the editor. See [EditorInspector]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -4261,7 +4267,7 @@ msgstr "" #: doc/classes/AnimatedSprite.xml doc/classes/AnimationPlayer.xml msgid "2D Sprite animation" -msgstr "" +msgstr "Анімація 2D спрайтів" #: doc/classes/AnimatedSprite.xml doc/classes/Area2D.xml #: doc/classes/AudioStreamPlayer.xml doc/classes/Button.xml @@ -5387,8 +5393,11 @@ msgstr "" #: doc/classes/AnimationNodeBlendTree.xml msgid "" -"This node may contain a sub-tree of any other blend type nodes, such as mix, " -"blend2, blend3, one shot, etc. This is one of the most commonly used roots." +"This node may contain a sub-tree of any other blend type nodes, such as " +"[AnimationNodeTransition], [AnimationNodeBlend2], [AnimationNodeBlend3], " +"[AnimationNodeOneShot], etc. This is one of the most commonly used roots.\n" +"An [AnimationNodeOutput] node named [code]output[/code] is created by " +"default." msgstr "" #: doc/classes/AnimationNodeBlendTree.xml @@ -7136,8 +7145,9 @@ msgstr "" #: doc/classes/Array.xml msgid "" -"Removes the first occurrence of a value from the array. To remove an element " -"by index, use [method remove] instead.\n" +"Removes the first occurrence of a value from the array. If the value does " +"not exist in the array, nothing happens. To remove an element by index, use " +"[method remove] instead.\n" "[b]Note:[/b] This method acts in-place and doesn't return a value.\n" "[b]Note:[/b] On large arrays, this method will be slower if the removed " "element is close to the beginning of the array (index 0). This is because " @@ -10514,8 +10524,15 @@ msgstr "" #: doc/classes/BakedLightmap.xml msgid "" -"When enabled, the lightmapper will merge the textures for all meshes into a " -"single large layered texture. Not supported in GLES2." +"If [code]true[/code], the lightmapper will merge the textures for all meshes " +"into one or several large layered textures. If [code]false[/code], every " +"mesh will get its own lightmap texture, which is less efficient.\n" +"[b]Note:[/b] Atlas lightmap rendering is only supported in GLES3, [i]not[/i] " +"GLES2. Non-atlas lightmap rendering is supported by both GLES3 and GLES2. If " +"[member ProjectSettings.rendering/quality/driver/fallback_to_gles2] is " +"[code]true[/code], consider baking lightmaps with [member atlas_generate] " +"set to [code]false[/code] so that the resulting lightmap is visible in both " +"GLES3 and GLES2." msgstr "" #: doc/classes/BakedLightmap.xml @@ -11861,8 +11878,8 @@ msgstr "" #: doc/classes/Camera.xml msgid "" "The camera's size measured as 1/2 the width or height. Only applicable in " -"orthogonal mode. Since [member keep_aspect] locks on axis, [code]size[/code] " -"sets the other axis' size length." +"orthogonal and frustum modes. Since [member keep_aspect] locks on axis, " +"[code]size[/code] sets the other axis' size length." msgstr "" #: doc/classes/Camera.xml @@ -12390,7 +12407,7 @@ msgstr "" #: doc/classes/CanvasItem.xml doc/classes/Control.xml doc/classes/Node2D.xml msgid "Custom drawing in 2D" -msgstr "" +msgstr "Власне малювання в 2D" #: doc/classes/CanvasItem.xml msgid "" @@ -12665,20 +12682,24 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], the node won't inherit its " -"transform from parent canvas items." +"If [code]enable[/code] is [code]true[/code], this [CanvasItem] will [i]not[/" +"i] inherit its transform from parent [CanvasItem]s. Its draw order will also " +"be changed to make it draw on top of other [CanvasItem]s that are not set as " +"top-level. The [CanvasItem] will effectively act as if it was placed as a " +"child of a bare [Node]. See also [method is_set_as_toplevel]." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"local transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_LOCAL_TRANSFORM_CHANGED] when its local transform " +"changes." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"global transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_TRANSFORM_CHANGED] when its global transform changes." msgstr "" #: doc/classes/CanvasItem.xml @@ -12792,9 +12813,14 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"The [CanvasItem]'s transform has changed. This notification is only received " -"if enabled by [method set_notify_transform] or [method " -"set_notify_local_transform]." +"The [CanvasItem]'s global transform has changed. This notification is only " +"received if enabled by [method set_notify_transform]." +msgstr "" + +#: doc/classes/CanvasItem.xml +msgid "" +"The [CanvasItem]'s local transform has changed. This notification is only " +"received if enabled by [method set_notify_local_transform]." msgstr "" #: doc/classes/CanvasItem.xml @@ -13750,7 +13776,10 @@ msgid "" "number of 2D collision [Shape2D]s. Each shape must be assigned to a [i]shape " "owner[/i]. The CollisionObject2D can have any number of shape owners. Shape " "owners are not nodes and do not appear in the editor, but are accessible " -"through code using the [code]shape_owner_*[/code] methods." +"through code using the [code]shape_owner_*[/code] methods.\n" +"[b]Note:[/b] Only collisions between objects within the same canvas " +"([Viewport] canvas or [CanvasLayer]) are supported. The behavior of " +"collisions between objects in different canvases is undefined." msgstr "" #: doc/classes/CollisionObject2D.xml @@ -19768,9 +19797,8 @@ msgid "" "main font.\n" "DynamicFont uses the [url=https://www.freetype.org/]FreeType[/url] library " "for rasterization. Supported formats are TrueType ([code].ttf[/code]), " -"OpenType ([code].otf[/code]) and Web Open Font Format 1 ([code].woff[/" -"code]). Web Open Font Format 2 ([code].woff2[/code]) is [i]not[/i] " -"supported.\n" +"OpenType ([code].otf[/code]), Web Open Font Format 1 ([code].woff[/code]), " +"and Web Open Font Format 2 ([code].woff2[/code]).\n" "[codeblock]\n" "var dynamic_font = DynamicFont.new()\n" "dynamic_font.font_data = load(\"res://BarlowCondensed-Bold.ttf\")\n" @@ -20637,18 +20665,34 @@ msgid "" msgstr "" #: doc/classes/EditorInspector.xml -msgid "A tab used to edit properties of the selected node." +msgid "A control used to edit properties of an object." msgstr "" #: doc/classes/EditorInspector.xml msgid "" -"The editor inspector is by default located on the right-hand side of the " -"editor. It's used to edit the properties of the selected node. For example, " -"you can select a node such as [Sprite] then edit its transform through the " -"inspector tool. The editor inspector is an essential tool in the game " -"development workflow.\n" -"[b]Note:[/b] This class shouldn't be instantiated directly. Instead, access " -"the singleton using [method EditorInterface.get_inspector]." +"This is the control that implements property editing in the editor's " +"Settings dialogs, the Inspector dock, etc. To get the [EditorInspector] used " +"in the editor's Inspector dock, use [method EditorInterface.get_inspector].\n" +"[EditorInspector] will show properties in the same order as the array " +"returned by [method Object.get_property_list].\n" +"If a property's name is path-like (i.e. if it contains forward slashes), " +"[EditorInspector] will create nested sections for \"directories\" along the " +"path. For example, if a property is named [code]highlighting/gdscript/" +"node_path_color[/code], it will be shown as \"Node Path Color\" inside the " +"\"GDScript\" section nested inside the \"Highlighting\" section.\n" +"If a property has [constant @GlobalScope.PROPERTY_USAGE_GROUP] usage, it " +"will group subsequent properties whose name starts with the property's hint " +"string. The group ends when a property does not start with that hint string " +"or when a new group starts. An empty group name effectively ends the current " +"group. [EditorInspector] will create a top-level section for each group. For " +"example, if a property with group usage is named [code]Collide With[/code] " +"and its hint string is [code]collide_with_[/code], a subsequent " +"[code]collide_with_area[/code] property will be shown as \"Area\" inside the " +"\"Collide With\" section.\n" +"[b]Note:[/b] Unlike sections created from path-like property names, " +"[EditorInspector] won't capitalize the name for sections created from " +"groups. So properties with group usage usually use capitalized names instead " +"of snake_cased names." msgstr "" #: doc/classes/EditorInspector.xml @@ -21823,6 +21867,14 @@ msgid "" "[/codeblock]" msgstr "" +#: modules/gltf/doc_classes/EditorSceneImporterGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [EditorSceneImporterGLTF] within a script will cause an error in an " +"exported project." +msgstr "" + #: doc/classes/EditorScenePostImport.xml msgid "Post-processes scenes after import." msgstr "" @@ -22561,12 +22613,13 @@ msgstr "" #: doc/classes/EditorVCSInterface.xml msgid "" "Helper function to create a commit [Dictionary] item. [code]msg[/code] is " -"the commit message of the commit. [code]author[/code] is a human-readable " -"string containing the author's details, e.g. the email and name configured " -"in the VCS. [code]id[/code] is the identifier of the commit, in whichever " -"format your VCS may provide an identifier to commits. [code]date[/code] is " -"directly added to the commit item and displayed in the editor, and hence, it " -"shall be a well-formatted, human-readable date string." +"the commit message of the commit. [code]author[/code] is a single human-" +"readable string containing all the author's details, e.g. the email and name " +"configured in the VCS. [code]id[/code] is the identifier of the commit, in " +"whichever format your VCS may provide an identifier to commits. " +"[code]unix_timestamp[/code] is the UTC Unix timestamp of when the commit was " +"created. [code]offset_minutes[/code] is the timezone offset in minutes, " +"recorded from the system timezone where the commit was created." msgstr "" #: doc/classes/EditorVCSInterface.xml @@ -22925,11 +22978,8 @@ msgid "" msgstr "" #: doc/classes/Environment.xml doc/classes/WorldEnvironment.xml -#, fuzzy msgid "Environment and post-processing" -msgstr "" -"https://docs.godotengine.org/uk/latest/tutorials/3d/" -"environment_and_post_processing.html" +msgstr "Середовище та пост-обробка" #: doc/classes/Environment.xml msgid "Light transport in game engines" @@ -25722,6 +25772,50 @@ msgstr "" msgid "Represents the size of the [enum Subdiv] enum." msgstr "" +#: modules/gltf/doc_classes/GLTFAccessor.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAccessor] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFAnimation.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAnimation] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFBufferView.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFBufferView] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFCamera.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFCamera] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFDocument.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFDocument] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFLight.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFLight] within a script will cause an error in an exported project." +msgstr "" + #: modules/gltf/doc_classes/GLTFLight.xml msgid "" "The [Color] of the light. Defaults to white. A black color causes the light " @@ -25771,6 +25865,49 @@ msgid "" "and [DirectionalLight] respectively." msgstr "" +#: modules/gltf/doc_classes/GLTFMesh.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFMesh] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFNode.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFNode] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSkeleton.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSkeleton] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSpecGloss.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSpecGloss] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFState.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFState] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFTexture.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFTexture] within a script will cause an error in an exported project." +msgstr "" + #: modules/mono/doc_classes/GodotSharp.xml msgid "Bridge between Godot and the Mono runtime (Mono-enabled builds only)." msgstr "" @@ -29166,9 +29303,9 @@ msgid "" "Returns a value between 0 and 1 representing the raw intensity of the given " "action, ignoring the action's deadzone. In most cases, you should use " "[method get_action_strength] instead.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29178,9 +29315,9 @@ msgid "" "or L2, R2 triggers) is from the dead zone, the closer the value will be to " "1. If the action is mapped to a control that has no axis as the keyboard, " "the value returned will be 0 or 1.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29313,9 +29450,9 @@ msgid "" "the button.\n" "This is useful for code that needs to run only once when an action is " "pressed, instead of every frame while it's pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_just_pressed] may " "return [code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29327,9 +29464,9 @@ msgid "" "Returns [code]true[/code] when the user stops pressing the action event, " "meaning it's [code]true[/code] only on the frame that the user released the " "button.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29338,9 +29475,9 @@ msgid "" "an action has multiple buttons assigned and more than one of them is " "pressed, releasing one button will release the action, even if some other " "button assigned to this action is still pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29690,18 +29827,18 @@ msgstr "" msgid "" "Returns a value between 0.0 and 1.0 depending on the given actions' state. " "Useful for getting the value of events of type [InputEventJoypadMotion].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml msgid "" "Returns [code]true[/code] if this input event matches a pre-defined action " "of any type.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -29710,9 +29847,9 @@ msgid "" "an echo event for [InputEventKey] events, unless [code]allow_echo[/code] is " "[code]true[/code]). Not relevant for events of type [InputEventMouseMotion] " "or [InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events.\n" +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29724,9 +29861,9 @@ msgid "" "Returns [code]true[/code] if the given action is released (i.e. not " "pressed). Not relevant for events of type [InputEventMouseMotion] or " "[InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -29757,9 +29894,9 @@ msgid "" "event. Only valid for action events i.e key ([InputEventKey]), button " "([InputEventMouseButton] or [InputEventJoypadButton]), axis " "[InputEventJoypadMotion] or action ([InputEventAction]) events.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -30290,9 +30427,9 @@ msgid "" "This method ignores keyboard modifiers if the given [InputEvent] is not " "pressed (for proper release detection). See [method action_has_event] if you " "don't want this behavior.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputMap.xml @@ -32099,7 +32236,7 @@ msgstr "" #: doc/classes/Light.xml doc/classes/SpotLight.xml msgid "3D lights and shadows" -msgstr "" +msgstr "3D світло та тіні" #: doc/classes/Light.xml #, fuzzy @@ -32698,7 +32835,7 @@ msgid "" "be within the text's length." msgstr "" -#: doc/classes/LineEdit.xml +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml msgid "Clears the current selection." msgstr "" @@ -32717,6 +32854,19 @@ msgid "" "characters." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection begin column." +msgstr "" + +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection end column." +msgstr "" + +#: doc/classes/LineEdit.xml +#, fuzzy +msgid "Returns [code]true[/code] if the user has selected text." +msgstr "Повертає косинус параметра." + #: doc/classes/LineEdit.xml msgid "Executes a given action as defined in the [enum MenuItems] enum." msgstr "" @@ -34130,6 +34280,39 @@ msgid "Returns the number of surface materials." msgstr "" #: doc/classes/MeshInstance.xml +msgid "" +"Returns [code]true[/code] if this [MeshInstance] can be merged with the " +"specified [code]other_mesh_instance[/code], using the [method MeshInstance." +"merge_meshes] function.\n" +"In order to be mergeable, properties of the [MeshInstance] must match, and " +"each surface must match, in terms of material, attributes and vertex format." +msgstr "" + +#: doc/classes/MeshInstance.xml +msgid "" +"This function can merge together the data from several source " +"[MeshInstance]s into a single destination [MeshInstance] (the MeshInstance " +"the function is called from). This is primarily useful for improving " +"performance by reducing the number of drawcalls and [Node]s.\n" +"Merging should only be attempted for simple meshes that do not contain " +"animation.\n" +"The final vertices can either be returned in global space, or in local space " +"relative to the destination [MeshInstance] global transform (the destination " +"Node must be inside the [SceneTree] for local space to work).\n" +"The function will make a final check for compatibility between the " +"[MeshInstance]s by default, this should always be used unless you have " +"previously checked for compatibility using [method MeshInstance." +"is_mergeable_with]. If the compatibility check is omitted and the meshes are " +"merged, you may see rendering errors.\n" +"[b]Note:[/b] The requirements for similarity between meshes are quite " +"stringent. They can be checked using the [method MeshInstance." +"is_mergeable_with] function prior to calling [method MeshInstance." +"merge_meshes].\n" +"Also note that any initial data in the destination [MeshInstance] data will " +"be discarded." +msgstr "" + +#: doc/classes/MeshInstance.xml msgid "Sets the [Material] for a surface of the [Mesh] resource." msgstr "" @@ -36458,7 +36641,7 @@ msgstr "" #: doc/classes/Node.xml msgid "Nodes and Scenes" -msgstr "" +msgstr "Вузли та Сцени" #: doc/classes/Node.xml msgid "All Demos" @@ -36610,12 +36793,12 @@ msgid "" "[/codeblock]\n" "[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " "must set [member owner] in addition to calling [method add_child]. This is " -"typically relevant for [url=https://godot.readthedocs.io/en/3.2/tutorials/" -"misc/running_code_in_the_editor.html]tool scripts[/url] and [url=https://" -"godot.readthedocs.io/en/latest/tutorials/plugins/editor/index.html]editor " -"plugins[/url]. If [method add_child] is called without setting [member " -"owner], the newly added [Node] will not be visible in the scene tree, though " -"it will be visible in the 2D/3D view." +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37322,7 +37505,15 @@ msgid "" "valid parent, grandparent, etc. ascending in the tree). When saving a node " "(using [PackedScene]), all the nodes it owns will be saved with it. This " "allows for the creation of complex [SceneTree]s, with instancing and " -"subinstancing." +"subinstancing.\n" +"[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " +"must set [member owner] in addition to calling [method add_child]. This is " +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37918,7 +38109,13 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Called when the object is initialized." +msgid "" +"Called when the object is initialized in memory. Can be defined to take in " +"parameters, that are passed in when constructing.\n" +"[b]Note:[/b] If [method _init] is defined with required parameters, then " +"explicit construction is the only valid means of creating an Object of the " +"class. If any other means (such as [method PackedScene.instance]) is used, " +"then initialization will fail." msgstr "" #: doc/classes/Object.xml @@ -38114,7 +38311,10 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Returns the object's metadata entry for the given [code]name[/code]." +msgid "" +"Returns the object's metadata entry for the given [code]name[/code].\n" +"Throws error if the entry does not exist, unless [code]default[/code] is not " +"[code]null[/code] (in which case the default value will be returned)." msgstr "" #: doc/classes/Object.xml @@ -40330,6 +40530,14 @@ msgid "" "[b]Note:[/b] Only available in editor builds." msgstr "" +#: modules/gltf/doc_classes/PackedSceneGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [PackedSceneGLTF] within a script will cause an error in an exported " +"project." +msgstr "" + #: doc/classes/PacketPeer.xml msgid "Abstraction and base class for packet-based protocols." msgstr "" @@ -43187,7 +43395,10 @@ msgid "" msgstr "" #: doc/classes/PhysicsServer.xml -msgid "Returns an Info defined by the [enum ProcessInfo] input given." +msgid "" +"Returns information about the current state of the 3D physics engine. See " +"[enum ProcessInfo] for a list of available states. Only implemented for " +"Godot Physics." msgstr "" #: doc/classes/PhysicsServer.xml @@ -46052,7 +46263,7 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Allows the window to be resizable by default.\n" -"[b]Note:[/b] This setting is ignored on iOS and Android." +"[b]Note:[/b] This setting is ignored on iOS." msgstr "" #: doc/classes/ProjectSettings.xml @@ -46699,7 +46910,7 @@ msgid "Optional name for the 3D render layer 13." msgstr "" #: doc/classes/ProjectSettings.xml -msgid "Optional name for the 3D render layer 14" +msgid "Optional name for the 3D render layer 14." msgstr "" #: doc/classes/ProjectSettings.xml @@ -47969,16 +48180,24 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" -"If [code]true[/code], forces vertex shading for all rendering. This can " -"increase performance a lot, but also reduces quality immensely. Can be used " -"to optimize performance on low-end mobile devices." +"If [code]true[/code], forces vertex shading for all 3D [SpatialMaterial] and " +"[ShaderMaterial] rendering. This can be used to improve performance on low-" +"end mobile devices. The downside is that shading becomes much less accurate, " +"with visible linear interpolation between vertices that are joined together. " +"This can be compensated by ensuring meshes have a sufficient level of " +"subdivision (but not too much, to avoid reducing performance). Some material " +"features are also not supported when vertex shading is enabled.\n" +"See also [member SpatialMaterial.flags_vertex_lighting] which can be used to " +"enable vertex shading on specific materials only.\n" +"[b]Note:[/b] This setting does not affect unshaded materials." msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Lower-end override for [member rendering/quality/shading/" "force_vertex_shading] on mobile devices, due to performance concerns or " -"driver support." +"driver support. If lighting looks broken after exporting the project to a " +"mobile platform, try disabling this setting." msgstr "" #: doc/classes/ProjectSettings.xml @@ -50014,6 +50233,11 @@ msgid "" msgstr "" #: doc/classes/RichTextLabel.xml +#, fuzzy +msgid "Returns the current selection text. Does not include BBCodes." +msgstr "Повертає синус параметра." + +#: doc/classes/RichTextLabel.xml msgid "" "Returns the total number of characters from text tags. Does not include " "BBCodes." @@ -52305,14 +52529,23 @@ msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Lowers the [Semaphore], allowing one more thread in. Returns [constant OK] " -"on success, [constant ERR_BUSY] otherwise." +"Lowers the [Semaphore], allowing one more thread in.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." +msgstr "" + +#: doc/classes/Semaphore.xml +msgid "" +"Like [method wait], but won't block, so if the value is zero, fails " +"immediately and returns [constant ERR_BUSY]. If non-zero, it returns " +"[constant OK] to report success." msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Tries to wait for the [Semaphore], if its value is zero, blocks until non-" -"zero. Returns [constant OK] on success, [constant ERR_BUSY] otherwise." +"Waits for the [Semaphore], if its value is zero, blocks until non-zero.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Separator.xml @@ -53759,7 +53992,21 @@ msgstr "" #: doc/classes/SpatialMaterial.xml msgid "" "If [code]true[/code], lighting is calculated per vertex rather than per " -"pixel. This may increase performance on low-end devices." +"pixel. This may increase performance on low-end devices, especially for " +"meshes with a lower polygon count. The downside is that shading becomes much " +"less accurate, with visible linear interpolation between vertices that are " +"joined together. This can be compensated by ensuring meshes have a " +"sufficient level of subdivision (but not too much, to avoid reducing " +"performance). Some material features are also not supported when vertex " +"shading is enabled.\n" +"See also [member ProjectSettings.rendering/quality/shading/" +"force_vertex_shading] which can globally enable vertex shading on all " +"materials.\n" +"[b]Note:[/b] By default, vertex shading is enforced on mobile platforms by " +"[member ProjectSettings.rendering/quality/shading/force_vertex_shading]'s " +"[code]mobile[/code] override.\n" +"[b]Note:[/b] [member flags_vertex_lighting] has no effect if [member " +"flags_unshaded] is [code]true[/code]." msgstr "" #: doc/classes/SpatialMaterial.xml @@ -54563,7 +54810,10 @@ msgid "" "the text alignment to right.\n" "See [Range] class for more options over the [SpinBox].\n" "[b]Note:[/b] [SpinBox] relies on an underlying [LineEdit] node. To theme a " -"[SpinBox]'s background, add theme items for [LineEdit] and customize them." +"[SpinBox]'s background, add theme items for [LineEdit] and customize them.\n" +"[b]Note:[/b] If you want to implement drag and drop for the underlying " +"[LineEdit], you can use [method Control.set_drag_forwarding] on the node " +"returned by [method get_line_edit]." msgstr "" #: doc/classes/SpinBox.xml @@ -55884,7 +56134,6 @@ msgid "" "print(\"1.7\".is_valid_float()) # Prints \"True\"\n" "print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"7e3\".is_valid_float()) # Prints \"True\"\n" -"print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -56121,8 +56370,8 @@ msgid "" "var some_string = \"One,Two,Three,Four\"\n" "var some_array = some_string.rsplit(\",\", true, 1)\n" "print(some_array.size()) # Prints 2\n" -"print(some_array[0]) # Prints \"Four\"\n" -"print(some_array[1]) # Prints \"Three,Two,One\"\n" +"print(some_array[0]) # Prints \"One,Two,Three\"\n" +"print(some_array[1]) # Prints \"Four\"\n" "[/codeblock]" msgstr "" @@ -56155,9 +56404,9 @@ msgstr "" #: doc/classes/String.xml msgid "" "Returns the similarity index ([url=https://en.wikipedia.org/wiki/" -"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) this " -"string compared to another. 1.0 means totally similar and 0.0 means totally " -"dissimilar.\n" +"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) of " +"this string compared to another. A result of 1.0 means totally similar, " +"while 0.0 means totally dissimilar.\n" "[codeblock]\n" "print(\"ABC123\".similarity(\"ABC123\")) # Prints \"1\"\n" "print(\"ABC123\".similarity(\"XYZ456\")) # Prints \"0\"\n" @@ -57633,10 +57882,6 @@ msgid "" msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection begin column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection begin line." msgstr "" @@ -57645,10 +57890,6 @@ msgid "Returns the text inside the selection." msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection end column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection end line." msgstr "" @@ -58673,6 +58914,14 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Adds an empty theme type for every valid data type.\n" +"[b]Note:[/b] Empty types are not saved with the theme. This method only " +"exists to perform in-memory changes to the resource. Use available " +"[code]set_*[/code] methods to add theme items." +msgstr "" + +#: doc/classes/Theme.xml msgid "Clears all values on the theme." msgstr "" @@ -58935,6 +59184,13 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Removes the theme type, gracefully discarding defined theme items. If the " +"type is a variation, this information is also erased. If the type is a base " +"for type variations, those variations lose their base." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Renames the [Color] at [code]old_name[/code] to [code]name[/code] if the " "theme has [code]node_type[/code]. If [code]name[/code] is already taken, " "this method fails." @@ -71666,6 +71922,11 @@ msgid "" msgstr "" #: modules/websocket/doc_classes/WebSocketServer.xml +msgid "" +"Sets additional headers to be sent to clients during the HTTP handshake." +msgstr "" + +#: modules/websocket/doc_classes/WebSocketServer.xml msgid "Stops the server and clear its state." msgstr "" @@ -71761,6 +72022,9 @@ msgid "" "\n" " webxr_interface = ARVRServer.find_interface(\"WebXR\")\n" " if webxr_interface:\n" +" # Map to the standard button/axis ids when possible.\n" +" webxr_interface.xr_standard_mapping = true\n" +"\n" " # WebXR uses a lot of asynchronous callbacks, so we connect to " "various\n" " # signals in order to receive them.\n" @@ -71986,6 +72250,13 @@ msgstr "" #: modules/webxr/doc_classes/WebXRInterface.xml msgid "" +"If set to true, the button and axes ids will be converted to match the " +"standard ids used by other AR/VR interfaces, when possible.\n" +"Otherwise, the ids will be passed through unaltered from WebXR." +msgstr "" + +#: modules/webxr/doc_classes/WebXRInterface.xml +msgid "" "Emitted to indicate that the reference space has been reset or " "reconfigured.\n" "When (or whether) this is emitted depends on the user's browser or device, " diff --git a/doc/translations/vi.po b/doc/translations/vi.po index 1a98c49ac8..f3e1d290b9 100644 --- a/doc/translations/vi.po +++ b/doc/translations/vi.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Godot Engine class reference\n" "Report-Msgid-Bugs-To: https://github.com/godotengine/godot\n" -"PO-Revision-Date: 2022-02-26 10:27+0000\n" +"PO-Revision-Date: 2022-04-25 15:12+0000\n" "Last-Translator: IoeCmcomc <hopdaigia2004@gmail.com>\n" "Language-Team: Vietnamese <https://hosted.weblate.org/projects/godot-engine/" "godot-class-reference/vi/>\n" @@ -21,11 +21,11 @@ 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.11.1-dev\n" +"X-Generator: Weblate 4.12.1-dev\n" #: doc/tools/make_rst.py msgid "Description" -msgstr "Nội dung" +msgstr "Mô tả" #: doc/tools/make_rst.py msgid "Tutorials" @@ -57,7 +57,7 @@ msgstr "Hằng" #: doc/tools/make_rst.py msgid "Property Descriptions" -msgstr "Nội dung Thuộc tính" +msgstr "Mô tả huộc tính" #: doc/tools/make_rst.py msgid "Method Descriptions" @@ -3751,8 +3751,12 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" "Hints that an integer, float or string property is an enumerated value to " -"pick in a list specified via a hint string such as [code]\"Hello,Something," -"Else\"[/code]." +"pick in a list specified via a hint string.\n" +"The hint string is a comma separated list of names such as [code]\"Hello," +"Something,Else\"[/code]. For integer and float properties, the first name in " +"the list has value 0, the next 1, and so on. Explicit values can also be " +"specified by appending [code]:integer[/code] to the name, e.g. [code]\"Zero," +"One,Three:3,Four,Six:6\"[/code]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -3893,7 +3897,7 @@ msgid "The property is a translatable string." msgstr "" #: doc/classes/@GlobalScope.xml -msgid "Used to group properties together in the editor." +msgid "Used to group properties together in the editor. See [EditorInspector]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -5689,8 +5693,11 @@ msgstr "" #: doc/classes/AnimationNodeBlendTree.xml msgid "" -"This node may contain a sub-tree of any other blend type nodes, such as mix, " -"blend2, blend3, one shot, etc. This is one of the most commonly used roots." +"This node may contain a sub-tree of any other blend type nodes, such as " +"[AnimationNodeTransition], [AnimationNodeBlend2], [AnimationNodeBlend3], " +"[AnimationNodeOneShot], etc. This is one of the most commonly used roots.\n" +"An [AnimationNodeOutput] node named [code]output[/code] is created by " +"default." msgstr "" #: doc/classes/AnimationNodeBlendTree.xml @@ -7433,8 +7440,9 @@ msgstr "" #: doc/classes/Array.xml msgid "" -"Removes the first occurrence of a value from the array. To remove an element " -"by index, use [method remove] instead.\n" +"Removes the first occurrence of a value from the array. If the value does " +"not exist in the array, nothing happens. To remove an element by index, use " +"[method remove] instead.\n" "[b]Note:[/b] This method acts in-place and doesn't return a value.\n" "[b]Note:[/b] On large arrays, this method will be slower if the removed " "element is close to the beginning of the array (index 0). This is because " @@ -10811,8 +10819,15 @@ msgstr "" #: doc/classes/BakedLightmap.xml msgid "" -"When enabled, the lightmapper will merge the textures for all meshes into a " -"single large layered texture. Not supported in GLES2." +"If [code]true[/code], the lightmapper will merge the textures for all meshes " +"into one or several large layered textures. If [code]false[/code], every " +"mesh will get its own lightmap texture, which is less efficient.\n" +"[b]Note:[/b] Atlas lightmap rendering is only supported in GLES3, [i]not[/i] " +"GLES2. Non-atlas lightmap rendering is supported by both GLES3 and GLES2. If " +"[member ProjectSettings.rendering/quality/driver/fallback_to_gles2] is " +"[code]true[/code], consider baking lightmaps with [member atlas_generate] " +"set to [code]false[/code] so that the resulting lightmap is visible in both " +"GLES3 and GLES2." msgstr "" #: doc/classes/BakedLightmap.xml @@ -12158,8 +12173,8 @@ msgstr "" #: doc/classes/Camera.xml msgid "" "The camera's size measured as 1/2 the width or height. Only applicable in " -"orthogonal mode. Since [member keep_aspect] locks on axis, [code]size[/code] " -"sets the other axis' size length." +"orthogonal and frustum modes. Since [member keep_aspect] locks on axis, " +"[code]size[/code] sets the other axis' size length." msgstr "" #: doc/classes/Camera.xml @@ -12963,20 +12978,24 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], the node won't inherit its " -"transform from parent canvas items." +"If [code]enable[/code] is [code]true[/code], this [CanvasItem] will [i]not[/" +"i] inherit its transform from parent [CanvasItem]s. Its draw order will also " +"be changed to make it draw on top of other [CanvasItem]s that are not set as " +"top-level. The [CanvasItem] will effectively act as if it was placed as a " +"child of a bare [Node]. See also [method is_set_as_toplevel]." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"local transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_LOCAL_TRANSFORM_CHANGED] when its local transform " +"changes." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"global transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_TRANSFORM_CHANGED] when its global transform changes." msgstr "" #: doc/classes/CanvasItem.xml @@ -13090,9 +13109,14 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"The [CanvasItem]'s transform has changed. This notification is only received " -"if enabled by [method set_notify_transform] or [method " -"set_notify_local_transform]." +"The [CanvasItem]'s global transform has changed. This notification is only " +"received if enabled by [method set_notify_transform]." +msgstr "" + +#: doc/classes/CanvasItem.xml +msgid "" +"The [CanvasItem]'s local transform has changed. This notification is only " +"received if enabled by [method set_notify_local_transform]." msgstr "" #: doc/classes/CanvasItem.xml @@ -14048,7 +14072,10 @@ msgid "" "number of 2D collision [Shape2D]s. Each shape must be assigned to a [i]shape " "owner[/i]. The CollisionObject2D can have any number of shape owners. Shape " "owners are not nodes and do not appear in the editor, but are accessible " -"through code using the [code]shape_owner_*[/code] methods." +"through code using the [code]shape_owner_*[/code] methods.\n" +"[b]Note:[/b] Only collisions between objects within the same canvas " +"([Viewport] canvas or [CanvasLayer]) are supported. The behavior of " +"collisions between objects in different canvases is undefined." msgstr "" #: doc/classes/CollisionObject2D.xml @@ -20069,9 +20096,8 @@ msgid "" "main font.\n" "DynamicFont uses the [url=https://www.freetype.org/]FreeType[/url] library " "for rasterization. Supported formats are TrueType ([code].ttf[/code]), " -"OpenType ([code].otf[/code]) and Web Open Font Format 1 ([code].woff[/" -"code]). Web Open Font Format 2 ([code].woff2[/code]) is [i]not[/i] " -"supported.\n" +"OpenType ([code].otf[/code]), Web Open Font Format 1 ([code].woff[/code]), " +"and Web Open Font Format 2 ([code].woff2[/code]).\n" "[codeblock]\n" "var dynamic_font = DynamicFont.new()\n" "dynamic_font.font_data = load(\"res://BarlowCondensed-Bold.ttf\")\n" @@ -20938,18 +20964,34 @@ msgid "" msgstr "" #: doc/classes/EditorInspector.xml -msgid "A tab used to edit properties of the selected node." +msgid "A control used to edit properties of an object." msgstr "" #: doc/classes/EditorInspector.xml msgid "" -"The editor inspector is by default located on the right-hand side of the " -"editor. It's used to edit the properties of the selected node. For example, " -"you can select a node such as [Sprite] then edit its transform through the " -"inspector tool. The editor inspector is an essential tool in the game " -"development workflow.\n" -"[b]Note:[/b] This class shouldn't be instantiated directly. Instead, access " -"the singleton using [method EditorInterface.get_inspector]." +"This is the control that implements property editing in the editor's " +"Settings dialogs, the Inspector dock, etc. To get the [EditorInspector] used " +"in the editor's Inspector dock, use [method EditorInterface.get_inspector].\n" +"[EditorInspector] will show properties in the same order as the array " +"returned by [method Object.get_property_list].\n" +"If a property's name is path-like (i.e. if it contains forward slashes), " +"[EditorInspector] will create nested sections for \"directories\" along the " +"path. For example, if a property is named [code]highlighting/gdscript/" +"node_path_color[/code], it will be shown as \"Node Path Color\" inside the " +"\"GDScript\" section nested inside the \"Highlighting\" section.\n" +"If a property has [constant @GlobalScope.PROPERTY_USAGE_GROUP] usage, it " +"will group subsequent properties whose name starts with the property's hint " +"string. The group ends when a property does not start with that hint string " +"or when a new group starts. An empty group name effectively ends the current " +"group. [EditorInspector] will create a top-level section for each group. For " +"example, if a property with group usage is named [code]Collide With[/code] " +"and its hint string is [code]collide_with_[/code], a subsequent " +"[code]collide_with_area[/code] property will be shown as \"Area\" inside the " +"\"Collide With\" section.\n" +"[b]Note:[/b] Unlike sections created from path-like property names, " +"[EditorInspector] won't capitalize the name for sections created from " +"groups. So properties with group usage usually use capitalized names instead " +"of snake_cased names." msgstr "" #: doc/classes/EditorInspector.xml @@ -22125,6 +22167,14 @@ msgid "" "[/codeblock]" msgstr "" +#: modules/gltf/doc_classes/EditorSceneImporterGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [EditorSceneImporterGLTF] within a script will cause an error in an " +"exported project." +msgstr "" + #: doc/classes/EditorScenePostImport.xml msgid "Post-processes scenes after import." msgstr "" @@ -22863,12 +22913,13 @@ msgstr "" #: doc/classes/EditorVCSInterface.xml msgid "" "Helper function to create a commit [Dictionary] item. [code]msg[/code] is " -"the commit message of the commit. [code]author[/code] is a human-readable " -"string containing the author's details, e.g. the email and name configured " -"in the VCS. [code]id[/code] is the identifier of the commit, in whichever " -"format your VCS may provide an identifier to commits. [code]date[/code] is " -"directly added to the commit item and displayed in the editor, and hence, it " -"shall be a well-formatted, human-readable date string." +"the commit message of the commit. [code]author[/code] is a single human-" +"readable string containing all the author's details, e.g. the email and name " +"configured in the VCS. [code]id[/code] is the identifier of the commit, in " +"whichever format your VCS may provide an identifier to commits. " +"[code]unix_timestamp[/code] is the UTC Unix timestamp of when the commit was " +"created. [code]offset_minutes[/code] is the timezone offset in minutes, " +"recorded from the system timezone where the commit was created." msgstr "" #: doc/classes/EditorVCSInterface.xml @@ -26023,6 +26074,50 @@ msgstr "" msgid "Represents the size of the [enum Subdiv] enum." msgstr "" +#: modules/gltf/doc_classes/GLTFAccessor.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAccessor] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFAnimation.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAnimation] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFBufferView.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFBufferView] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFCamera.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFCamera] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFDocument.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFDocument] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFLight.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFLight] within a script will cause an error in an exported project." +msgstr "" + #: modules/gltf/doc_classes/GLTFLight.xml msgid "" "The [Color] of the light. Defaults to white. A black color causes the light " @@ -26072,6 +26167,49 @@ msgid "" "and [DirectionalLight] respectively." msgstr "" +#: modules/gltf/doc_classes/GLTFMesh.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFMesh] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFNode.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFNode] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSkeleton.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSkeleton] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSpecGloss.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSpecGloss] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFState.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFState] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFTexture.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFTexture] within a script will cause an error in an exported project." +msgstr "" + #: modules/mono/doc_classes/GodotSharp.xml msgid "Bridge between Godot and the Mono runtime (Mono-enabled builds only)." msgstr "" @@ -29462,9 +29600,9 @@ msgid "" "Returns a value between 0 and 1 representing the raw intensity of the given " "action, ignoring the action's deadzone. In most cases, you should use " "[method get_action_strength] instead.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29474,9 +29612,9 @@ msgid "" "or L2, R2 triggers) is from the dead zone, the closer the value will be to " "1. If the action is mapped to a control that has no axis as the keyboard, " "the value returned will be 0 or 1.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29609,9 +29747,9 @@ msgid "" "the button.\n" "This is useful for code that needs to run only once when an action is " "pressed, instead of every frame while it's pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_just_pressed] may " "return [code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29623,9 +29761,9 @@ msgid "" "Returns [code]true[/code] when the user stops pressing the action event, " "meaning it's [code]true[/code] only on the frame that the user released the " "button.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29634,9 +29772,9 @@ msgid "" "an action has multiple buttons assigned and more than one of them is " "pressed, releasing one button will release the action, even if some other " "button assigned to this action is still pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29986,18 +30124,18 @@ msgstr "" msgid "" "Returns a value between 0.0 and 1.0 depending on the given actions' state. " "Useful for getting the value of events of type [InputEventJoypadMotion].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml msgid "" "Returns [code]true[/code] if this input event matches a pre-defined action " "of any type.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -30006,9 +30144,9 @@ msgid "" "an echo event for [InputEventKey] events, unless [code]allow_echo[/code] is " "[code]true[/code]). Not relevant for events of type [InputEventMouseMotion] " "or [InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events.\n" +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -30020,9 +30158,9 @@ msgid "" "Returns [code]true[/code] if the given action is released (i.e. not " "pressed). Not relevant for events of type [InputEventMouseMotion] or " "[InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -30053,9 +30191,9 @@ msgid "" "event. Only valid for action events i.e key ([InputEventKey]), button " "([InputEventMouseButton] or [InputEventJoypadButton]), axis " "[InputEventJoypadMotion] or action ([InputEventAction]) events.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -30586,9 +30724,9 @@ msgid "" "This method ignores keyboard modifiers if the given [InputEvent] is not " "pressed (for proper release detection). See [method action_has_event] if you " "don't want this behavior.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputMap.xml @@ -32994,7 +33132,7 @@ msgid "" "be within the text's length." msgstr "" -#: doc/classes/LineEdit.xml +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml msgid "Clears the current selection." msgstr "" @@ -33013,6 +33151,19 @@ msgid "" "characters." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection begin column." +msgstr "" + +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection end column." +msgstr "" + +#: doc/classes/LineEdit.xml +#, fuzzy +msgid "Returns [code]true[/code] if the user has selected text." +msgstr "Nếu [code]true[/code], họa tiết sẽ được căn ở trung tâm." + #: doc/classes/LineEdit.xml msgid "Executes a given action as defined in the [enum MenuItems] enum." msgstr "" @@ -34427,6 +34578,39 @@ msgid "Returns the number of surface materials." msgstr "" #: doc/classes/MeshInstance.xml +msgid "" +"Returns [code]true[/code] if this [MeshInstance] can be merged with the " +"specified [code]other_mesh_instance[/code], using the [method MeshInstance." +"merge_meshes] function.\n" +"In order to be mergeable, properties of the [MeshInstance] must match, and " +"each surface must match, in terms of material, attributes and vertex format." +msgstr "" + +#: doc/classes/MeshInstance.xml +msgid "" +"This function can merge together the data from several source " +"[MeshInstance]s into a single destination [MeshInstance] (the MeshInstance " +"the function is called from). This is primarily useful for improving " +"performance by reducing the number of drawcalls and [Node]s.\n" +"Merging should only be attempted for simple meshes that do not contain " +"animation.\n" +"The final vertices can either be returned in global space, or in local space " +"relative to the destination [MeshInstance] global transform (the destination " +"Node must be inside the [SceneTree] for local space to work).\n" +"The function will make a final check for compatibility between the " +"[MeshInstance]s by default, this should always be used unless you have " +"previously checked for compatibility using [method MeshInstance." +"is_mergeable_with]. If the compatibility check is omitted and the meshes are " +"merged, you may see rendering errors.\n" +"[b]Note:[/b] The requirements for similarity between meshes are quite " +"stringent. They can be checked using the [method MeshInstance." +"is_mergeable_with] function prior to calling [method MeshInstance." +"merge_meshes].\n" +"Also note that any initial data in the destination [MeshInstance] data will " +"be discarded." +msgstr "" + +#: doc/classes/MeshInstance.xml msgid "Sets the [Material] for a surface of the [Mesh] resource." msgstr "" @@ -36909,12 +37093,12 @@ msgid "" "[/codeblock]\n" "[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " "must set [member owner] in addition to calling [method add_child]. This is " -"typically relevant for [url=https://godot.readthedocs.io/en/3.2/tutorials/" -"misc/running_code_in_the_editor.html]tool scripts[/url] and [url=https://" -"godot.readthedocs.io/en/latest/tutorials/plugins/editor/index.html]editor " -"plugins[/url]. If [method add_child] is called without setting [member " -"owner], the newly added [Node] will not be visible in the scene tree, though " -"it will be visible in the 2D/3D view." +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37621,7 +37805,15 @@ msgid "" "valid parent, grandparent, etc. ascending in the tree). When saving a node " "(using [PackedScene]), all the nodes it owns will be saved with it. This " "allows for the creation of complex [SceneTree]s, with instancing and " -"subinstancing." +"subinstancing.\n" +"[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " +"must set [member owner] in addition to calling [method add_child]. This is " +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -38217,7 +38409,13 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Called when the object is initialized." +msgid "" +"Called when the object is initialized in memory. Can be defined to take in " +"parameters, that are passed in when constructing.\n" +"[b]Note:[/b] If [method _init] is defined with required parameters, then " +"explicit construction is the only valid means of creating an Object of the " +"class. If any other means (such as [method PackedScene.instance]) is used, " +"then initialization will fail." msgstr "" #: doc/classes/Object.xml @@ -38413,7 +38611,10 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Returns the object's metadata entry for the given [code]name[/code]." +msgid "" +"Returns the object's metadata entry for the given [code]name[/code].\n" +"Throws error if the entry does not exist, unless [code]default[/code] is not " +"[code]null[/code] (in which case the default value will be returned)." msgstr "" #: doc/classes/Object.xml @@ -40635,6 +40836,14 @@ msgid "" "[b]Note:[/b] Only available in editor builds." msgstr "" +#: modules/gltf/doc_classes/PackedSceneGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [PackedSceneGLTF] within a script will cause an error in an exported " +"project." +msgstr "" + #: doc/classes/PacketPeer.xml msgid "Abstraction and base class for packet-based protocols." msgstr "" @@ -43490,7 +43699,10 @@ msgid "" msgstr "" #: doc/classes/PhysicsServer.xml -msgid "Returns an Info defined by the [enum ProcessInfo] input given." +msgid "" +"Returns information about the current state of the 3D physics engine. See " +"[enum ProcessInfo] for a list of available states. Only implemented for " +"Godot Physics." msgstr "" #: doc/classes/PhysicsServer.xml @@ -46363,7 +46575,7 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Allows the window to be resizable by default.\n" -"[b]Note:[/b] This setting is ignored on iOS and Android." +"[b]Note:[/b] This setting is ignored on iOS." msgstr "" #: doc/classes/ProjectSettings.xml @@ -47010,7 +47222,7 @@ msgid "Optional name for the 3D render layer 13." msgstr "" #: doc/classes/ProjectSettings.xml -msgid "Optional name for the 3D render layer 14" +msgid "Optional name for the 3D render layer 14." msgstr "" #: doc/classes/ProjectSettings.xml @@ -48280,16 +48492,24 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" -"If [code]true[/code], forces vertex shading for all rendering. This can " -"increase performance a lot, but also reduces quality immensely. Can be used " -"to optimize performance on low-end mobile devices." +"If [code]true[/code], forces vertex shading for all 3D [SpatialMaterial] and " +"[ShaderMaterial] rendering. This can be used to improve performance on low-" +"end mobile devices. The downside is that shading becomes much less accurate, " +"with visible linear interpolation between vertices that are joined together. " +"This can be compensated by ensuring meshes have a sufficient level of " +"subdivision (but not too much, to avoid reducing performance). Some material " +"features are also not supported when vertex shading is enabled.\n" +"See also [member SpatialMaterial.flags_vertex_lighting] which can be used to " +"enable vertex shading on specific materials only.\n" +"[b]Note:[/b] This setting does not affect unshaded materials." msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Lower-end override for [member rendering/quality/shading/" "force_vertex_shading] on mobile devices, due to performance concerns or " -"driver support." +"driver support. If lighting looks broken after exporting the project to a " +"mobile platform, try disabling this setting." msgstr "" #: doc/classes/ProjectSettings.xml @@ -50330,6 +50550,11 @@ msgid "" msgstr "" #: doc/classes/RichTextLabel.xml +#, fuzzy +msgid "Returns the current selection text. Does not include BBCodes." +msgstr "Trả về [Texture2D] của khung hình được cho." + +#: doc/classes/RichTextLabel.xml msgid "" "Returns the total number of characters from text tags. Does not include " "BBCodes." @@ -52621,14 +52846,23 @@ msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Lowers the [Semaphore], allowing one more thread in. Returns [constant OK] " -"on success, [constant ERR_BUSY] otherwise." +"Lowers the [Semaphore], allowing one more thread in.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Tries to wait for the [Semaphore], if its value is zero, blocks until non-" -"zero. Returns [constant OK] on success, [constant ERR_BUSY] otherwise." +"Like [method wait], but won't block, so if the value is zero, fails " +"immediately and returns [constant ERR_BUSY]. If non-zero, it returns " +"[constant OK] to report success." +msgstr "" + +#: doc/classes/Semaphore.xml +msgid "" +"Waits for the [Semaphore], if its value is zero, blocks until non-zero.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Separator.xml @@ -54077,7 +54311,21 @@ msgstr "" #: doc/classes/SpatialMaterial.xml msgid "" "If [code]true[/code], lighting is calculated per vertex rather than per " -"pixel. This may increase performance on low-end devices." +"pixel. This may increase performance on low-end devices, especially for " +"meshes with a lower polygon count. The downside is that shading becomes much " +"less accurate, with visible linear interpolation between vertices that are " +"joined together. This can be compensated by ensuring meshes have a " +"sufficient level of subdivision (but not too much, to avoid reducing " +"performance). Some material features are also not supported when vertex " +"shading is enabled.\n" +"See also [member ProjectSettings.rendering/quality/shading/" +"force_vertex_shading] which can globally enable vertex shading on all " +"materials.\n" +"[b]Note:[/b] By default, vertex shading is enforced on mobile platforms by " +"[member ProjectSettings.rendering/quality/shading/force_vertex_shading]'s " +"[code]mobile[/code] override.\n" +"[b]Note:[/b] [member flags_vertex_lighting] has no effect if [member " +"flags_unshaded] is [code]true[/code]." msgstr "" #: doc/classes/SpatialMaterial.xml @@ -54882,7 +55130,10 @@ msgid "" "the text alignment to right.\n" "See [Range] class for more options over the [SpinBox].\n" "[b]Note:[/b] [SpinBox] relies on an underlying [LineEdit] node. To theme a " -"[SpinBox]'s background, add theme items for [LineEdit] and customize them." +"[SpinBox]'s background, add theme items for [LineEdit] and customize them.\n" +"[b]Note:[/b] If you want to implement drag and drop for the underlying " +"[LineEdit], you can use [method Control.set_drag_forwarding] on the node " +"returned by [method get_line_edit]." msgstr "" #: doc/classes/SpinBox.xml @@ -56202,7 +56453,6 @@ msgid "" "print(\"1.7\".is_valid_float()) # Prints \"True\"\n" "print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"7e3\".is_valid_float()) # Prints \"True\"\n" -"print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -56439,8 +56689,8 @@ msgid "" "var some_string = \"One,Two,Three,Four\"\n" "var some_array = some_string.rsplit(\",\", true, 1)\n" "print(some_array.size()) # Prints 2\n" -"print(some_array[0]) # Prints \"Four\"\n" -"print(some_array[1]) # Prints \"Three,Two,One\"\n" +"print(some_array[0]) # Prints \"One,Two,Three\"\n" +"print(some_array[1]) # Prints \"Four\"\n" "[/codeblock]" msgstr "" @@ -56473,9 +56723,9 @@ msgstr "" #: doc/classes/String.xml msgid "" "Returns the similarity index ([url=https://en.wikipedia.org/wiki/" -"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) this " -"string compared to another. 1.0 means totally similar and 0.0 means totally " -"dissimilar.\n" +"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) of " +"this string compared to another. A result of 1.0 means totally similar, " +"while 0.0 means totally dissimilar.\n" "[codeblock]\n" "print(\"ABC123\".similarity(\"ABC123\")) # Prints \"1\"\n" "print(\"ABC123\".similarity(\"XYZ456\")) # Prints \"0\"\n" @@ -57950,10 +58200,6 @@ msgid "" msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection begin column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection begin line." msgstr "" @@ -57962,10 +58208,6 @@ msgid "Returns the text inside the selection." msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection end column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection end line." msgstr "" @@ -58992,6 +59234,14 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Adds an empty theme type for every valid data type.\n" +"[b]Note:[/b] Empty types are not saved with the theme. This method only " +"exists to perform in-memory changes to the resource. Use available " +"[code]set_*[/code] methods to add theme items." +msgstr "" + +#: doc/classes/Theme.xml msgid "Clears all values on the theme." msgstr "" @@ -59252,6 +59502,13 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Removes the theme type, gracefully discarding defined theme items. If the " +"type is a variation, this information is also erased. If the type is a base " +"for type variations, those variations lose their base." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Renames the [Color] at [code]old_name[/code] to [code]name[/code] if the " "theme has [code]node_type[/code]. If [code]name[/code] is already taken, " "this method fails." @@ -72001,6 +72258,11 @@ msgid "" msgstr "" #: modules/websocket/doc_classes/WebSocketServer.xml +msgid "" +"Sets additional headers to be sent to clients during the HTTP handshake." +msgstr "" + +#: modules/websocket/doc_classes/WebSocketServer.xml msgid "Stops the server and clear its state." msgstr "" @@ -72096,6 +72358,9 @@ msgid "" "\n" " webxr_interface = ARVRServer.find_interface(\"WebXR\")\n" " if webxr_interface:\n" +" # Map to the standard button/axis ids when possible.\n" +" webxr_interface.xr_standard_mapping = true\n" +"\n" " # WebXR uses a lot of asynchronous callbacks, so we connect to " "various\n" " # signals in order to receive them.\n" @@ -72321,6 +72586,13 @@ msgstr "" #: modules/webxr/doc_classes/WebXRInterface.xml msgid "" +"If set to true, the button and axes ids will be converted to match the " +"standard ids used by other AR/VR interfaces, when possible.\n" +"Otherwise, the ids will be passed through unaltered from WebXR." +msgstr "" + +#: modules/webxr/doc_classes/WebXRInterface.xml +msgid "" "Emitted to indicate that the reference space has been reset or " "reconfigured.\n" "When (or whether) this is emitted depends on the user's browser or device, " diff --git a/doc/translations/zh_CN.po b/doc/translations/zh_CN.po index b902af288f..ed6261ee35 100644 --- a/doc/translations/zh_CN.po +++ b/doc/translations/zh_CN.po @@ -62,7 +62,7 @@ msgid "" msgstr "" "Project-Id-Version: Godot Engine class reference\n" "Report-Msgid-Bugs-To: https://github.com/godotengine/godot\n" -"PO-Revision-Date: 2022-03-17 18:46+0000\n" +"PO-Revision-Date: 2022-04-25 15:12+0000\n" "Last-Translator: Haoyu Qiu <timothyqiu32@gmail.com>\n" "Language-Team: Chinese (Simplified) <https://hosted.weblate.org/projects/" "godot-engine/godot-class-reference/zh_Hans/>\n" @@ -71,7 +71,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8-bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Weblate 4.12-dev\n" +"X-Generator: Weblate 4.12.1-dev\n" #: doc/tools/make_rst.py msgid "Description" @@ -310,9 +310,9 @@ msgstr "" "[code]condition[/code] 为 [code]false[/code] ,则会生成一个错误。如果是从编辑" "器运行的,正在运行的项目还会被暂停,直到手动恢复。该函数可以作为 [method " "push_error] 的加强版,用于向项目开发者或插件用户报错。\n" -"[b]注意:[/b] 出于对性能的考虑,[method assert] 中的代码只会在调试版本或者从" -"编辑器运行项目时执行。所以不要在 [method assert] 调用中加入具有副作用的代码。" -"否则,项目在以发行模式导出后将有不一致的行为。\n" +"[b]注意:[/b]出于对性能的考虑,[method assert] 中的代码只会在调试版本或者从编" +"辑器运行项目时执行。所以不要在 [method assert] 调用中加入具有副作用的代码。否" +"则,项目在以发行模式导出后将有不一致的行为。\n" "如果给出了可选的 [code]message[/code] 参数,在通用的“Assertion failed”消息之" "外,还会显示该信息。你可以使用它来提供关于断言失败原因的其他详细信息。\n" "[codeblock]\n" @@ -1835,7 +1835,7 @@ msgid "" "b = tanh(a) # b is 0.6\n" "[/codeblock]" msgstr "" -"返回[code]s[/code]的双曲正切。\n" +"返回 [code]s[/code] 的双曲正切。\n" "[codeblock]\n" "a = log(2.0) # a = 0.693147\n" "b = tanh(a) # b = 0.6\n" @@ -4174,11 +4174,18 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" "Hints that an integer, float or string property is an enumerated value to " -"pick in a list specified via a hint string such as [code]\"Hello,Something," -"Else\"[/code]." +"pick in a list specified via a hint string.\n" +"The hint string is a comma separated list of names such as [code]\"Hello," +"Something,Else\"[/code]. For integer and float properties, the first name in " +"the list has value 0, the next 1, and so on. Explicit values can also be " +"specified by appending [code]:integer[/code] to the name, e.g. [code]\"Zero," +"One,Three:3,Four,Six:6\"[/code]." msgstr "" -"提示整数、浮点数或字符串属性为枚举值,可选值列表通过提示字符串指定,例如 " -"[code]\"Hello,Something,Else\"[/code]。" +"提示整型、浮点型或字符串类型的属性为枚举值,由提示字符串指定的可选值列表。\n" +"提示字符串为使用逗号分隔的名称列表,例如 [code]\"Hello,Something,Else\"[/" +"code]。对于整型和浮点型属性,列表中第一个名称的值为 0、接下来是 1、以此类推。" +"也可以通过在名称后接上 [code]:整数[/code] 显式指定取值,例如 [code]\"Zero," +"One,Three:3,Four,Six:6\"[/code]。" #: doc/classes/@GlobalScope.xml msgid "" @@ -4346,7 +4353,8 @@ msgid "The property is a translatable string." msgstr "该属性是一个可翻译的字符串。" #: doc/classes/@GlobalScope.xml -msgid "Used to group properties together in the editor." +#, fuzzy +msgid "Used to group properties together in the editor. See [EditorInspector]." msgstr "在编辑器中用于为属性分组。" #: doc/classes/@GlobalScope.xml @@ -4842,7 +4850,7 @@ msgstr "" "向对话框中添加一个带有标签[code]text[/code]和自定义[code]action[/code]的按" "钮,并返回该创建的按钮。按下时,[code]action[/code]会被传递给[signal " "custom_action]信号。\n" -"如果[code]right[/code]为[code]true[/code],按钮会被放置在所有同级按钮的右" +"如果[code]right[/code]为 [code]true[/code],按钮会被放置在所有同级按钮的右" "边。\n" "您可以使用 [method remove_button] 方法从对话框中删除使用此方法创建的按钮。" @@ -4916,11 +4924,11 @@ msgid "" "[FileDialog] to disable hiding the dialog when pressing OK." msgstr "" "如果为 [code]true[/code],按下OK按钮时对话框将隐藏。如果要在收到 [signal " -"confirmed] 信号时执行类似输入验证的操作,则可以将其设置为[code]false[/code]," -"然后在自己的逻辑中处理对话框的隐藏。\n" -"[b]注意:[/b] 从此类派生的某些节点可以具有不同的默认值,并且可能有自己的内置" -"逻辑会覆盖此设置。 例如,[FileDialog] 默认其为 [code]false[/code],并在按下OK" -"时实现了自己的输入验证代码,如果输入有效,最终将隐藏对话框。因此,不能在 " +"confirmed] 信号时执行类似输入验证的操作,则可以将其设置为 [code]false[/" +"code],然后在自己的逻辑中处理对话框的隐藏。\n" +"[b]注意:[/b]从此类派生的某些节点可以具有不同的默认值,并且可能有自己的内置逻" +"辑会覆盖此设置。 例如,[FileDialog] 默认其为 [code]false[/code],并在按下OK时" +"实现了自己的输入验证代码,如果输入有效,最终将隐藏对话框。因此,不能在 " "[FileDialog] 中使用此属性来禁止在按OK时隐藏对话框。" #: doc/classes/AcceptDialog.xml @@ -5234,7 +5242,7 @@ msgstr "" "第0帧重新开始。\n" "[AnimatedTexture]目前要求所有帧的纹理具有相同的尺寸,否则较大的纹理会被裁剪," "与最小的纹理相匹配。\n" -"[b]注意:[/b] AnimatedTexture不支持使用[AtlasTexture]。每一帧都需要是一个单独" +"[b]注意:[/b]AnimatedTexture不支持使用[AtlasTexture]。每一帧都需要是一个单独" "的[Texture]。" #: doc/classes/AnimatedTexture.xml @@ -5333,7 +5341,7 @@ msgid "" "paused when changing this property to [code]false[/code]." msgstr "" "如果[code]true[/code],则动画将暂停在当前位置(即[member current_frame])。将" -"此属性更改为[code]false[/code]时,动画将从暂停处继续播放。" +"此属性更改为 [code]false[/code] 时,动画将从暂停处继续播放。" #: doc/classes/AnimatedTexture.xml msgid "" @@ -5592,51 +5600,53 @@ msgstr "返回给定轨道中给定键的方法轨道上要调用的参数值。 #: doc/classes/Animation.xml msgid "Removes a track by specifying the track index." -msgstr "通过指定轨迹索引来删除一个轨迹。" +msgstr "通过指定轨道索引来删除一个轨道。" #: doc/classes/Animation.xml msgid "" "Finds the key index by time in a given track. Optionally, only find it if " "the exact time is given." -msgstr "按时间查找给定轨迹中的关键索引。也可选择只在给定准确时间的情况下查找。" +msgstr "" +"按时间查找给定轨道中的关键帧索引。也可选择只在给定准确时间的情况下查找。" #: doc/classes/Animation.xml msgid "" "Returns [code]true[/code] if the track at [code]idx[/code] wraps the " "interpolation loop. New tracks wrap the interpolation loop by default." msgstr "" -"如果 [code]idx[/code] 处的轨迹包住了内插循环,则返回 [code]true[/code]。新的" -"轨迹默认会包住内插循环。" +"如果 [code]idx[/code] 处的轨道环绕了插值循环,则返回 [code]true[/code]。新建" +"的轨道默认都会环绕插值循环。" #: doc/classes/Animation.xml msgid "Returns the interpolation type of a given track." -msgstr "返回给定轨迹的插值类型。" +msgstr "返回给定轨道的插值类型。" #: doc/classes/Animation.xml msgid "Returns the amount of keys in a given track." -msgstr "返回指定轨道中的键数。" +msgstr "返回给定轨道中的关键帧数量。" #: doc/classes/Animation.xml msgid "Returns the time at which the key is located." -msgstr "返回钥匙所在的时间。" +msgstr "返回关键帧所在的时间。" #: doc/classes/Animation.xml msgid "" "Returns the transition curve (easing) for a specific key (see the built-in " "math function [method @GDScript.ease])." msgstr "" -"返回特定键的过渡曲线(缓动)(参阅内置数学函数[method @GDScript.ease])。" +"返回指定关键帧的过渡曲线(缓动)(参阅内置数学函数 [method @GDScript." +"ease])。" #: doc/classes/Animation.xml msgid "Returns the value of a given key in a given track." -msgstr "返回给定轨道中给定键的值。" +msgstr "返回给定轨道中给定关键帧的值。" #: doc/classes/Animation.xml msgid "" "Gets the path of a track. For more information on the path format, see " "[method track_set_path]." msgstr "" -"获取轨迹的路径。有关路径格式的详细信息,请参阅[method track_set_path]。" +"获取轨道的路径。有关路径格式的详细信息,请参阅 [method track_set_path]。" #: doc/classes/Animation.xml msgid "Gets the type of a track." @@ -5649,14 +5659,15 @@ msgstr "在指定的轨道中插入一个通用键。" #: doc/classes/Animation.xml msgid "" "Returns [code]true[/code] if the track at index [code]idx[/code] is enabled." -msgstr "如果启用了索引[code]idx[/code]处的轨迹,则返回[code]true[/code]。" +msgstr "如果启用了索引 [code]idx[/code] 处的轨道,则返回 [code]true[/code]。" #: doc/classes/Animation.xml msgid "" "Returns [code]true[/code] if the given track is imported. Else, return " "[code]false[/code]." msgstr "" -"如果给定的轨迹被导入,返回[code]true[/code]。否则,返回[code]false[/code]。" +"如果给定的轨道是被导入的,返回 [code]true[/code]。否则返回 [code]false[/" +"code]。" #: doc/classes/Animation.xml msgid "Moves a track down." @@ -5683,7 +5694,7 @@ msgstr "按位置(秒)删除指定轨道中的键。" #: doc/classes/Animation.xml msgid "Enables/disables the given track. Tracks are enabled by default." -msgstr "启用/禁用指定的轨道。曲目默认为启用。" +msgstr "启用/禁用指定的轨道。轨道默认为启用。" #: doc/classes/Animation.xml msgid "Sets the given track as imported or not." @@ -5693,7 +5704,7 @@ msgstr "将指定的轨道设置为导入或不导入。" msgid "" "If [code]true[/code], the track at [code]idx[/code] wraps the interpolation " "loop." -msgstr "如果[code]true[/code],则[code]idx[/code]处的轨迹包住插值循环。" +msgstr "如果为 [code]true[/code],则 [code]idx[/code] 处的轨道环绕插值循环。" #: doc/classes/Animation.xml msgid "Sets the interpolation type of a given track." @@ -5701,18 +5712,19 @@ msgstr "设置指定轨道的内插类型。" #: doc/classes/Animation.xml msgid "Sets the time of an existing key." -msgstr "设置现有键的时间。" +msgstr "设置现有关键帧的时间。" #: doc/classes/Animation.xml msgid "" "Sets the transition curve (easing) for a specific key (see the built-in math " "function [method @GDScript.ease])." msgstr "" -"设置特定键的过渡曲线(缓动)(参阅内置数学函数 [method @GDScript.ease])。" +"设置指定关键帧的过渡曲线(缓动)(参阅内置数学函数 [method @GDScript." +"ease])。" #: doc/classes/Animation.xml msgid "Sets the value of an existing key." -msgstr "设置现有键的值。" +msgstr "设置现有关键帧的值。" #: doc/classes/Animation.xml msgid "" @@ -5747,30 +5759,30 @@ msgid "" "seconds). An array consisting of 3 elements: position ([Vector3]), rotation " "([Quat]) and scale ([Vector3])." msgstr "" -"返回给定时间内变换轨迹的插值(以秒为单位)。由3个元素组成的数组:position(位" -"置)([Vector3])、rotation(旋转)([Quat])、 scale(缩放)([Vector3])。" +"返回变换轨道在给定时间(以秒为单位)插值后的值。是由 3 个元素组成的数组:位置" +"([Vector3])、旋转([Quat])、缩放([Vector3])。" #: doc/classes/Animation.xml msgid "" "Returns all the key indices of a value track, given a position and delta " "time." -msgstr "返回给定位置和delta时间的价值轨迹的所有关键指数。" +msgstr "返回在给定的位置和时间增量范围内,值轨道中所有关键帧的索引号。" #: doc/classes/Animation.xml msgid "Returns the update mode of a value track." -msgstr "返回值跟踪的更新模式。" +msgstr "返回值轨道的更新模式。" #: doc/classes/Animation.xml msgid "" "Returns the interpolated value at the given time (in seconds). The " "[code]track_idx[/code] must be the index of a value track." msgstr "" -"返回给定时间处(以秒为单位)的插值。[code]track_idx[/code]必须是一个值轨道的" -"索引。" +"返回位于给定时间(以秒为单位)的插值后的值。[code]track_idx[/code] 必须是值轨" +"道的索引。" #: doc/classes/Animation.xml msgid "Sets the update mode (see [enum UpdateMode]) of a value track." -msgstr "设置值跟踪的更新模式(参阅[enum UpdateMode])。" +msgstr "设置值轨道的更新模式(请参阅 [enum UpdateMode])。" #: doc/classes/Animation.xml msgid "" @@ -5778,9 +5790,9 @@ msgid "" "[b]Note:[/b] Length is not delimited by the last key, as this one may be " "before or after the end to ensure correct interpolation and looping." msgstr "" -"动画的总长度(单位:秒)。\n" -"[b]注意:[/b]长度不以最后一个键为界,因为这个键可能在结束前或结束后,以确保正" -"确的插值和循环。" +"动画的总长度(单位为秒)。\n" +"[b]注意:[/b]长度不以最后一个关键帧为界,因为这个关键帧可能位于结束前或结束" +"后,以确保正确的插值和循环。" #: doc/classes/Animation.xml msgid "" @@ -5788,8 +5800,7 @@ msgid "" "interpolation of animation cycles, and for hinting the player that it must " "restart the animation." msgstr "" -"指示动画必须循环的标志。这用于动画循环正确插值,以及提示播放器须重新启动动" -"画。" +"表示该动画必须循环的标志。这用于动画循环正确插值,以及提示播放器须重启动画。" #: doc/classes/Animation.xml msgid "The animation step value." @@ -5805,17 +5816,17 @@ msgstr "当轨道列表发生变化时发出,例如轨道被添加、移动或 msgid "" "Value tracks set values in node properties, but only those which can be " "Interpolated." -msgstr "值跟踪节点属性中的设置值,但只跟踪那些可以插值的值。" +msgstr "值轨道会为节点的属性设值,只适用于能够进行插值的属性。" #: doc/classes/Animation.xml msgid "" "Transform tracks are used to change node local transforms or skeleton pose " "bones. Transitions are interpolated." -msgstr "变换轨迹用于改变节点局部变换或骨架姿势骨架。转变是插值的。" +msgstr "变换轨道用于改变节点局部变换或骨架的骨骼姿势。会进行插值过渡。" #: doc/classes/Animation.xml msgid "Method tracks call functions with given arguments per key." -msgstr "方法跟踪每个键给定参数的调用函数。" +msgstr "方法轨道会在各个关键帧上使用给定参数的调用函数。" #: doc/classes/Animation.xml msgid "" @@ -5837,11 +5848,11 @@ msgstr "" #: doc/classes/Animation.xml msgid "Animation tracks play animations in other [AnimationPlayer] nodes." -msgstr "动画曲目在其他 [AnimationPlayer] 节点中播放动画。" +msgstr "动画轨道会在其他 [AnimationPlayer] 节点中播放动画。" #: doc/classes/Animation.xml msgid "No interpolation (nearest value)." -msgstr "无插值(最近值)。" +msgstr "无插值(最邻近的值)。" #: doc/classes/Animation.xml msgid "Linear interpolation." @@ -5983,7 +5994,7 @@ msgstr "" msgid "" "Returns [code]true[/code] whether you want the blend tree editor to display " "filter editing on this node." -msgstr "返回[code]true[/code],是否希望混合树编辑器在此节点上显示过滤器编辑。" +msgstr "返回 [code]true[/code],是否希望混合树编辑器在此节点上显示过滤器编辑。" #: doc/classes/AnimationNode.xml msgid "Returns whether the given path is filtered." @@ -6437,11 +6448,16 @@ msgstr "[AnimationTree] 节点资源,其中包含许多混合类型节点。" #: doc/classes/AnimationNodeBlendTree.xml msgid "" -"This node may contain a sub-tree of any other blend type nodes, such as mix, " -"blend2, blend3, one shot, etc. This is one of the most commonly used roots." +"This node may contain a sub-tree of any other blend type nodes, such as " +"[AnimationNodeTransition], [AnimationNodeBlend2], [AnimationNodeBlend3], " +"[AnimationNodeOneShot], etc. This is one of the most commonly used roots.\n" +"An [AnimationNodeOutput] node named [code]output[/code] is created by " +"default." msgstr "" -"该节点可以包含任何其他混合类型节点的子树,例如 mix、blend2、blend3、one shot " -"等。这是最常用的根之一。" +"该节点可以包含任何其他混合类型节点的子树,例如 [AnimationNodeTransition]、" +"[AnimationNodeBlend2]、[AnimationNodeBlend3]、[AnimationNodeOneShot] 等。这是" +"最常用的根之一。\n" +"默认会创建一个名为 [code]output[/code] 的 [AnimationNodeOutput] 节点。" #: doc/classes/AnimationNodeBlendTree.xml msgid "" @@ -6547,7 +6563,7 @@ msgid "" "seconds) between 0 and this value will be added to [member " "autorestart_delay]." msgstr "" -"如果[member autorestart]为[code]true[/code],则介于0和此值之间的随机附加延迟" +"如果[member autorestart]为 [code]true[/code],则介于0和此值之间的随机附加延迟" "(以秒为单位)将添加到[member autorestart_delay]。" #: doc/classes/AnimationNodeOutput.xml @@ -6628,12 +6644,12 @@ msgstr "返回给定过渡的端节点。" #: doc/classes/AnimationNodeStateMachine.xml msgid "Returns [code]true[/code] if the graph contains the given node." -msgstr "如果图中包含给定的节点,返回[code]true[/code]。" +msgstr "如果图中包含给定的节点,返回 [code]true[/code]。" #: doc/classes/AnimationNodeStateMachine.xml msgid "" "Returns [code]true[/code] if there is a transition between the given nodes." -msgstr "如果在给定节点之间存在过渡,返回[code]true[/code]。" +msgstr "如果在给定节点之间存在过渡,返回 [code]true[/code]。" #: doc/classes/AnimationNodeStateMachine.xml msgid "Deletes the given node from the graph." @@ -6709,7 +6725,7 @@ msgstr "返回A*算法内部计算的当前行进路径。" #: doc/classes/AnimationNodeStateMachinePlayback.xml msgid "Returns [code]true[/code] if an animation is playing." -msgstr "如果正在播放动画,返回[code]true[/code]。" +msgstr "如果正在播放动画,返回 [code]true[/code]。" #: doc/classes/AnimationNodeStateMachinePlayback.xml msgid "Starts playing the given animation." @@ -7397,8 +7413,8 @@ msgid "" "[code]id[/code] turns off the track modifying the property at [code]path[/" "code]. The modified node's children continue to animate." msgstr "" -"如果[code]enable[/code]为[code]true[/code],则ID为[code]id[/code]的动画节点将" -"关闭修改[code]path[/code]属性的轨道。修改后的节点的子代继续进行动画处理。" +"如果[code]enable[/code]为 [code]true[/code],则ID为[code]id[/code]的动画节点" +"将关闭修改[code]path[/code]属性的轨道。修改后的节点的子代继续进行动画处理。" #: doc/classes/AnimationTreePlayer.xml msgid "" @@ -7677,7 +7693,7 @@ msgid "" "the next input upon completion." msgstr "" "如果过渡节点上名称为[code]id[/code]的[code]input_idx[/code]的输入被设置为在完" -"成后自动前进到下一个输入,则返回[code]true[/code]。" +"成后自动前进到下一个输入,则返回 [code]true[/code]。" #: doc/classes/AnimationTreePlayer.xml msgid "" @@ -7844,7 +7860,7 @@ msgid "" "instance (while GridMaps are not physics body themselves, they register " "their tiles with collision shapes as a virtual physics body)." msgstr "" -"如果为[code]true[/code],则给定的物理体与该区域重叠.\n" +"如果为 [code]true[/code],则给定的物理体与该区域重叠.\n" "[b]注意:[/b]在移动物体后,这个测试的结果不是即时的。为了提高性能,重叠列表在" "每一帧和物理步骤之前更新一次。可以考虑使用信号来代替。\n" "[code]body[/code]参数可以是一个[PhysicsBody]或一个[GridMap]实例(虽然GridMaps" @@ -7972,7 +7988,7 @@ msgid "" "be set to [code]true[/code].\n" "[code]area[/code] the other Area." msgstr "" -"当另一个区域退出这个区域时发出的。要求监控[member monitoring]被设置为" +"当另一个区域退出这个区域时发出的。要求监控[member monitoring]被设置为 " "[code]true[/code]。\n" "[code]area[/code]参数是另外一个Area。" @@ -7991,7 +8007,7 @@ msgid "" "shape_owner_get_owner(local_shape_index)[/code]." msgstr "" "当另一个区域的一个[Shape]进入这个区域的一个[Shape]时发出的。要求[member " -"monitoring] 被设置为[code]true[/code]。\n" +"monitoring] 被设置为 [code]true[/code]。\n" "[code]area_rid[/code] [PhysicsServer]使用的其他区域的[CollisionObject]的" "[RID]。\n" "[code]area[/code] 其他区域。\n" @@ -8011,7 +8027,7 @@ msgid "" "[PhysicsBody] or [GridMap]." msgstr "" "当[PhysicsBody]或[GridMap]进入这个区域时发出的。需要将监控[member monitoring]" -"设置为[code]true[/code]。如果[MeshLibrary]有碰撞形状[Shape],就会检测到" +"设置为 [code]true[/code]。如果[MeshLibrary]有碰撞形状[Shape],就会检测到" "[GridMap]。\n" "[code]body[/code], 如果它存在于场景树中, 是另一个[PhysicsBody]或[GridMap]节点" "[Node]。" @@ -8025,7 +8041,7 @@ msgid "" "[PhysicsBody] or [GridMap]." msgstr "" "当[PhysicsBody]或[GridMap]离开这个Area时发出的。需要将监控[member monitoring]" -"设置为[code]true[/code]。如果[MeshLibrary]有碰撞形状[Shape],就会检测到" +"设置为 [code]true[/code]。如果[MeshLibrary]有碰撞形状[Shape],就会检测到" "[GridMap]。\n" "[code]body[/code], 如果它存在于场景树中, 是其他[PhysicsBody]或[GridMap]的" "[Node]。" @@ -8047,7 +8063,7 @@ msgid "" "shape_owner_get_owner(local_shape_index)[/code]." msgstr "" "当[PhysicsBody]或[GridMap]的一个[Shape]进入这个区域的一个[Shape]时触发。需要" -"将[member monitoring]设置为[code]true[/code]。如果[MeshLibrary]有碰撞" +"将[member monitoring]设置为 [code]true[/code]。如果[MeshLibrary]有碰撞" "[Shape],就会检测到[GridMap]。\n" "[code]body_rid[/code] [PhysicsServer]使用的[PhysicsBody]或[MeshLibrary]的" "[CollisionObject]的[RID]。\n" @@ -8215,7 +8231,7 @@ msgid "" "to be set to [code]true[/code].\n" "[code]area[/code] the other Area2D." msgstr "" -"当另一个Area2D进入这个Area2D时发出的。需要将监控[member monitoring]设置为" +"当另一个Area2D进入这个Area2D时发出的。需要将监控[member monitoring]设置为 " "[code]true[/code]。\n" "[code]area[/code]参数是其他Area2D。" @@ -8225,7 +8241,7 @@ msgid "" "to be set to [code]true[/code].\n" "[code]area[/code] the other Area2D." msgstr "" -"当另一个Area2D离开这个Area2D时发出的。要求监控[member monitoring]被设置为" +"当另一个Area2D离开这个Area2D时发出的。要求监控[member monitoring]被设置为 " "[code]true[/code]。\n" "[code]area[/code]参数是其他Area2D。" @@ -8244,7 +8260,7 @@ msgid "" "[code]self.shape_owner_get_owner(local_shape_index)[/code]." msgstr "" "当另一个Area2D的[Shape2D]进入此Area2D的[Shape2D]时触发。需要将 [member " -"monitoring] 设置为[code]true[/code]。\n" +"monitoring] 设置为 [code]true[/code]。\n" "[code]area_rid[/code] 由[Physics2DServer]使用的其他Area2D的" "[CollisionObject2D]的[RID]。\n" "[code]area[/code] 其他Area2D。\n" @@ -8270,7 +8286,7 @@ msgid "" "[code]self.shape_owner_get_owner(local_shape_index)[/code]." msgstr "" "当另一个Area2D的[Shape2D]退出这个Area2D的[Shape2D]之一时触发。要求[member " -"monitoring] 被设置为[code]true[/code]。\n" +"monitoring] 被设置为 [code]true[/code]。\n" "[code]area_rid[/code] 由[Physics2DServer]使用的其他Area2D的" "[CollisionObject2D]的[RID]。\n" "[code]area[/code] 其他Area2D。\n" @@ -8290,7 +8306,7 @@ msgid "" "[PhysicsBody2D] or [TileMap]." msgstr "" "当一个[PhysicsBody2D]或[TileMap]进入这个Area2D时发出的。需要将监控[member " -"monitoring]设置为[code]true[/code]。如果[TileSet]有碰撞形状[Shape2D],则检测" +"monitoring]设置为 [code]true[/code]。如果[TileSet]有碰撞形状[Shape2D],则检测" "到[TileMap]。\n" "[code]body[/code]参数是其他[PhysicsBody2D]或[TileMap]的[Node],如果它存在于树" "中。" @@ -8304,8 +8320,8 @@ msgid "" "[PhysicsBody2D] or [TileMap]." msgstr "" "当 [PhysicsBody2D] 或 [TileMap] 离开此 Area2D 时发出。需要将监控[member " -"monitoring]设置为[code]true[/code]。如果 [TileSet] 具有碰撞形状 [Shape2D],则" -"会检测到 [TileMap]。\n" +"monitoring]设置为 [code]true[/code]。如果 [TileSet] 具有碰撞形状 [Shape2D]," +"则会检测到 [TileMap]。\n" "[code]body[/code] 参数是其他 [PhysicsBody2D] 或 [TileMap] 的 [Node],如果它存" "在于树中。" @@ -8328,7 +8344,7 @@ msgid "" "[code]self.shape_owner_get_owner(local_shape_index)[/code]." msgstr "" "当[PhysicsBody2D]或[TileMap]的[Shape2D]之一进入此Area2D的[Shape2D]之一时触" -"发。需要将[member monitoring]设置为[code]true[/code]。如果[TileSet]有" +"发。需要将[member monitoring]设置为 [code]true[/code]。如果[TileSet]有" "Collision[Shape2D],就会检测到[TileMap]。\n" "[code]body_rid[/code] [Physics2DServer]使用的[PhysicsBody2D]或[TileSet]的" "[CollisionObject2D]的[RID]。\n" @@ -8360,7 +8376,7 @@ msgid "" "[code]self.shape_owner_get_owner(local_shape_index)[/code]." msgstr "" "当[PhysicsBody2D]或[TileMap]的一个[Shape2D]退出这个Area2D的一个[Shape2D]时发" -"出的。需要将[member monitoring]设置为[code]true[/code]。如果[TileSet]有碰撞" +"出的。需要将[member monitoring]设置为 [code]true[/code]。如果[TileSet]有碰撞" "[Shape2D],就会检测到[TileMap]。\n" "[code]body_rid[/code] 是[Physics2DServer]使用的[PhysicsBody2D]或[TileSet]的" "[CollisionObject2D]的[RID]。\n" @@ -8497,7 +8513,7 @@ msgid "" "[/code]. If the array is empty, accessing by index will pause project " "execution when running from the editor." msgstr "" -"返回数组的最后一个元素。如果数组为空,则打印一个错误并返回[code]null[/" +"返回数组的最后一个元素。如果数组为空,则打印一个错误并返回 [code]null[/" "code]。\n" "[b]注意:[/b]调用这个函数与写入 [code]array[-1][/code] 不一样,如果数组是空" "的,当从编辑器运行时,按索引访问将暂停项目的执行。" @@ -8558,8 +8574,8 @@ msgstr "" "使用二分法查找以及在[code]obj[/code]中声明的自定义比较方法,已有值的索引(该" "值不存在时,为现有顺序下的插入索引)。[code]before[/code] 参数是可选的,为 " "[code]false[/code] 时返回的索引位于数组中所有同值元素之后。自定义方法接收两个" -"参数(数组中的值和要搜索的值),如果第一个参数小于第二个参数,必须返回" -"[code]true[/code],否则返回[code]false[/code]。\n" +"参数(数组中的值和要搜索的值),如果第一个参数小于第二个参数,必须返回 " +"[code]true[/code],否则返回 [code]false[/code]。\n" "[codeblock]\n" "func cardinal_to_algebraic(a):\n" " match a:\n" @@ -8619,18 +8635,20 @@ msgid "Returns [code]true[/code] if the array is empty." msgstr "该数组为空时,返回 [code]true[/code]。" #: doc/classes/Array.xml +#, fuzzy msgid "" -"Removes the first occurrence of a value from the array. To remove an element " -"by index, use [method remove] instead.\n" +"Removes the first occurrence of a value from the array. If the value does " +"not exist in the array, nothing happens. To remove an element by index, use " +"[method remove] instead.\n" "[b]Note:[/b] This method acts in-place and doesn't return a value.\n" "[b]Note:[/b] On large arrays, this method will be slower if the removed " "element is close to the beginning of the array (index 0). This is because " "all elements placed after the removed element have to be reindexed." msgstr "" "从数组中删除第一次出现的值。要按索引删除元素,请改用 [method remove]。\n" -"[b]注意:[/b] 该方法就地操作,不返回值。\n" -"[b]注意:[/b] 在大型数组上,如果移除的元素靠近数组的开头(索引 0),则此方法" -"会较慢。这是因为所有放置在删除元素之后的元素都必须重新索引。" +"[b]注意:[/b]该方法就地操作,不返回值。\n" +"[b]注意:[/b]在大型数组上,如果移除的元素靠近数组的开头(索引 0),则此方法会" +"较慢。这是因为所有放置在删除元素之后的元素都必须重新索引。" #: doc/classes/Array.xml msgid "" @@ -8758,9 +8776,9 @@ msgid "" msgstr "" "移除并返回索引[code]position[/code]处的数组元素。如果是负数,[code]position[/" "code]被认为是相对于数组的末端。如果数组是空的或者被越界访问,则保留数组不动," -"并返回[code]null[/code]。当数组被越界访问时,会打印出一条错误信息,但当数组为" -"空时,则不会。\n" -"[b]注意:[/b] 在大的数组上,这个方法可能比[method pop_back]慢,因为它将重新索" +"并返回 [code]null[/code]。当数组被越界访问时,会打印出一条错误信息,但当数组" +"为空时,则不会。\n" +"[b]注意:[/b]在大的数组上,这个方法可能比[method pop_back]慢,因为它将重新索" "引位于被移除元素之后的数组元素。数组越大,被移除元素的索引越低,[method " "pop_at]的速度就越慢。" @@ -8782,16 +8800,16 @@ msgid "" "pop_back] as it will reindex all the array's elements every time it's " "called. The larger the array, the slower [method pop_front] will be." msgstr "" -"移除并返回数组的第一个元素。如果数组是空的,将不会输出任何错误信息并返回" +"移除并返回数组的第一个元素。如果数组是空的,将不会输出任何错误信息并返回 " "[code]null[/code]。另请参阅 [method pop_back]。\n" -"[b]注意:[/b] 当数组元素很多时,由于 [method pop_front] 每次调用时都要重新寻" -"找数组所有元素的索引,所以会比 [method pop_back] 慢很多。数组 越大,[method " +"[b]注意:[/b]当数组元素很多时,由于 [method pop_front] 每次调用时都要重新寻找" +"数组所有元素的索引,所以会比 [method pop_back] 慢很多。数组越大,[method " "pop_front] 越慢。" #: doc/classes/Array.xml msgid "" "Appends an element at the end of the array. See also [method push_front]." -msgstr "在数组的末端添加一个元素。参阅[method push_front]。" +msgstr "在数组的末端追加一个元素。另请参阅 [method push_front]。" #: doc/classes/Array.xml msgid "" @@ -8800,7 +8818,7 @@ msgid "" "push_back] as it will reindex all the array's elements every time it's " "called. The larger the array, the slower [method push_front] will be." msgstr "" -"在数组的开头添加一个元素。请参阅 [method push_back]。\n" +"在数组的开头添加一个元素。另请参阅 [method push_back]。\n" "[b]注意:[/b]在大数组中,这个方法比 [method push_back] 慢得多,因为每次调用它" "都会重新索引所有数组的元素。数组越大,[method push_front] 的速度就越慢。" @@ -8863,7 +8881,7 @@ msgid "" "and upper index are inclusive, with the [code]step[/code] describing the " "change between indices while slicing." msgstr "" -"复制函数中描述的子集并以数组形式返回,如果[code]deep[/code]为[code]true[/" +"复制函数中描述的子集并以数组形式返回,如果[code]deep[/code]为 [code]true[/" "code],则深度复制数组。下索引和上索引是包含的,[code]step[/code]描述了分片时" "索引之间的变化。" @@ -8912,11 +8930,12 @@ msgid "" "print(my_items) # Prints [[4, Tomato], [5, Potato], [9, Rice]].\n" "[/codeblock]" msgstr "" -"使用一个自定义的方法对数组进行排序。参数是一个持有该方法的对象和该方法的名" -"称。自定义方法接收两个参数(一对来自数组的元素),并且必须返回 [code]true[/" -"code] 或者 [code]false[/code]。\n" +"使用自定义的方法对数组进行排序。参数是持有该方法的对象和该方法的名称。自定义" +"方法接受两个参数(数组中的一对元素),并且必须返回 [code]true[/code] 或者 " +"[code]false[/code]。\n" "对于两个元素 [code]a[/code] 和 [code]b[/code],如果给定的方法返回 " -"[code]true[/code],元素 [code]b[/code] 将在数组中元素 [code]a[/code] 之后。\n" +"[code]true[/code],数组中的元素 [code]b[/code] 将排在元素 [code]a[/code] 之" +"后。\n" "[b]注意:[/b]你不能随机化返回值,因为堆排序算法期望一个确定的结果。而这样做会" "导致意外的行为。\n" "[codeblock]\n" @@ -8926,9 +8945,9 @@ msgstr "" " return true\n" " return false\n" "\n" -"var my_items = [[5, \"Potato\"], [9, \"Rice\"], [4, \"Tomato\"]]\n" +"var my_items = [[5, \"土豆\"], [9, \"大米\"], [4, \"番茄\"]]\n" "my_items.sort_custom(MyCustomSorter, \"sort_ascending\")\n" -"print(my_items) # 输出 [[4, Tomato], [5, Potato], [9, Rice]]。\n" +"print(my_items) # 输出 [[4, 番茄], [5, 土豆], [9, 大米]]。\n" "[/codeblock]" #: doc/classes/ArrayMesh.xml @@ -8983,9 +9002,8 @@ msgstr "" "这个 [MeshInstance] 已经准备就绪,以添加到要显示的 [SceneTree] 中。\n" "程序式几何体生成,请参阅 [ImmediateGeometry]、[MeshDataTool]、" "[SurfaceTool]。\n" -"[b]注意:[/b]Godot 对三角形基本网格模式的正面使用顺时针[url=https://" -"learnopengl-cn.github.io/04%20Advanced%20OpenGL/04%20Face%20culling/]环绕顺序" -"[/url]。" +"[b]注意:[/b]Godot 对三角形图元模式的正面使用顺时针[url=https://learnopengl-" +"cn.github.io/04%20Advanced%20OpenGL/04%20Face%20culling/]环绕顺序[/url]。" #: doc/classes/ArrayMesh.xml msgid "" @@ -9086,7 +9104,7 @@ msgstr "获取分配给此表面的名称。" msgid "" "Returns the primitive type of the requested surface (see [method " "add_surface_from_arrays])." -msgstr "返回所请求曲面的基本类型(请参阅[method add_surface_from_arrays])。" +msgstr "返回所请求曲面的图元类型(请参阅 [method add_surface_from_arrays])。" #: doc/classes/ArrayMesh.xml msgid "" @@ -9339,8 +9357,9 @@ msgid "" "tracking data of the HMD and the location of the ARVRCamera can lag a few " "milliseconds behind what is used for rendering as a result." msgstr "" -"这是用于我们相机辅助的空间节点;请注意,如果适用立体渲染 (VR-HMD),大多数相机" -"属性将被忽略,因为 HMD 信息会覆盖它们。唯一可以信任的属性是近平面和远平面。\n" +"这是用于我们相机辅助的空间节点;请注意,如果适用立体渲染(VR-HMD),大多数相" +"机属性将被忽略,因为 HMD 信息会覆盖它们。唯一可以信任的属性是近平面和远平" +"面。\n" "该节点的位置和方向由 ARVR 服务自动更新,以反映 HMD 的位置(如果这类跟踪可用," "并可被游戏逻辑使用)。请注意,与 ARVR 控制器相比,渲染线程可以获取 HMD 的最新" "跟踪数据,从而 ARVRCamera 的位置可能会滞后于对于渲染的位置几毫秒。" @@ -9392,8 +9411,8 @@ msgid "" "Returns [code]true[/code] if the bound controller is active. ARVR systems " "attempt to track active controllers." msgstr "" -"如果绑定的控制器处于活动状态,返回[code]true[/code]。ARVR系统尝试跟踪活动的控" -"制器。" +"如果绑定的控制器处于活动状态,返回 [code]true[/code]。ARVR系统尝试跟踪活动的" +"控制器。" #: doc/classes/ARVRController.xml msgid "" @@ -9428,8 +9447,8 @@ msgid "" "pressed. See [enum JoystickList], in particular the [code]JOY_VR_*[/code] " "constants." msgstr "" -"如果索引[code]button[/code]处的按钮被按下,返回[code]true[/code]。参阅[enum " -"JoystickList],特别是[code]JOY_VR_*[/code]常数。" +"如果索引 [code]button[/code] 处的按钮被按下,则返回 [code]true[/code]。请参" +"阅 [enum JoystickList] 中的 [code]JOY_VR_*[/code] 常量。" #: doc/classes/ARVRController.xml msgid "" @@ -9555,21 +9574,21 @@ msgid "" "However, at this point in time only one interface can render to an HMD." msgstr "" "调用这个来初始化这个接口。第一个被初始化的接口确定为主接口,用于渲染输出。\n" -"在初始化了接口之后,需要启用视窗的AR/VR模式,将开始渲染。\n" -"[b]注意:[/b] 对于任何使用Godot主输出的设备,如移动VR,你必须在主视窗上启用" -"AR/VR模式。\n" -"如果你为一个处理自己输出的平台这样做,如OpenVR,Godot就会在屏幕上只显示一只眼" -"睛而不失真。另外,你可以在场景中添加一个单独的视窗节点,在该视窗上启用AR/VR。" -"它将被用来输出到HMD,让你在主窗口中做你喜欢的事情,比如用一个单独的相机作为旁" -"观者相机,或者渲染一些完全不同的东西。\n" +"在初始化了接口之后,需要启用视窗的 AR/VR 模式,将开始渲染。\n" +"[b]注意:[/b]对于任何使用Godot主输出的设备,如移动VR,你必须在主视窗上启用 " +"AR/VR 模式。\n" +"如果你为一个处理自己输出的平台这样做(如 OpenVR),Godot 就会在屏幕上只显示一" +"只眼睛而不失真。另外,你可以在场景中添加一个单独的视窗节点,在该视窗上启用 " +"AR/VR。它将被用来输出到 HMD,让你在主窗口中做你喜欢的事情,比如用一个单独的相" +"机作为旁观者相机,或者渲染一些完全不同的东西。\n" "虽然目前没有使用,但你可以激活其他接口。如果你想跟踪其他平台的控制器,可能希" -"望这样做。然而,此时,只有一个界面可以渲染到HMD。" +"望这样做。然而,此时,只有一个界面可以渲染到 HMD。" #: doc/classes/ARVRInterface.xml msgid "" "Returns [code]true[/code] if the current output of this interface is in " "stereo." -msgstr "如果这个接口的当前是立体声输出,返回[code]true[/code]。" +msgstr "如果这个接口的当前是立体声输出,返回 [code]true[/code]。" #: doc/classes/ARVRInterface.xml msgid "Turns the interface off." @@ -9612,9 +9631,9 @@ msgid "" "[method get_render_targetsize]). Using a separate viewport node frees up the " "main viewport for other purposes." msgstr "" -"这个接口输出到一个外部设备。如果使用主视窗,屏幕上的输出是一个未经修改的左眼" +"这个接口输出到一个外部设备。如果使用主视区,屏幕上的输出是一个未经修改的左眼" "或右眼的缓冲区,如果没有将视窗尺寸更改为 [method get_render_targetsize] 的相" -"同长宽比,则被拉伸。使用一个单独的视窗节点可以释放出主视窗,用于其他用途。" +"同长宽比,则被拉伸。使用一个单独的视窗节点可以释放出主视区,用于其他用途。" #: doc/classes/ARVRInterface.xml msgid "" @@ -9782,11 +9801,11 @@ msgstr "" #: doc/classes/ARVRPositionalTracker.xml msgid "Returns [code]true[/code] if this device tracks orientation." -msgstr "如果该设备跟踪方向,则返回[code]true[/code]。" +msgstr "如果该设备跟踪方向,则返回 [code]true[/code]。" #: doc/classes/ARVRPositionalTracker.xml msgid "Returns [code]true[/code] if this device tracks position." -msgstr "如果该设备跟踪位置,则返回[code]true[/code]。" +msgstr "如果该设备跟踪位置,则返回 [code]true[/code]。" #: doc/classes/ARVRPositionalTracker.xml msgid "Returns the transform combining this device's orientation and position." @@ -9824,17 +9843,17 @@ msgstr "AR 和 VR 功能的服务。" msgid "" "The AR/VR server is the heart of our Advanced and Virtual Reality solution " "and handles all the processing." -msgstr "AR/VR服务是我们高级的虚拟现实解决方案的核心,负责处理所有的过程。" +msgstr "AR/VR 服务器是我们“高级虚拟现实”解决方案的核心,负责进行所有处理。" #: doc/classes/ARVRServer.xml msgid "Registers an [ARVRInterface] object." -msgstr "注册一个[ARVRInterface]对象。" +msgstr "注册一个 [ARVRInterface] 对象。" #: doc/classes/ARVRServer.xml msgid "" "Registers a new [ARVRPositionalTracker] that tracks a spatial location in " "real space." -msgstr "注册一个新的[ARVRPositionalTracker],跟踪现实空间中的空间位置。" +msgstr "注册一个新的 [ARVRPositionalTracker],跟踪现实空间中的空间位置。" #: doc/classes/ARVRServer.xml msgid "" @@ -9882,8 +9901,8 @@ msgid "" "capabilities of an AR/VR platform, you can find the interface for that " "platform by name and initialize it." msgstr "" -"通过名字找到一个接口。例如,如果你的项目使用AR/VR平台的功能,你可以通过名称找" -"到该平台的接口并初始化它。" +"通过名字找到一个接口。例如,如果你的项目使用 AR/VR 平台的功能,你可以通过名称" +"找到该平台的接口并初始化它。" #: doc/classes/ARVRServer.xml msgid "Returns the primary interface's transformation." @@ -9904,7 +9923,7 @@ msgid "" msgstr "" "返回当前在AR/VR服务器上注册的接口数量。如果你的项目支持多个AR/VR平台,你可以" "查看可用的接口,并向用户展示一个选择,或者简单地尝试初始化每个接口,并使用第" -"一个返回[code]true[/code]的接口。" +"一个返回 [code]true[/code]的接口。" #: doc/classes/ARVRServer.xml msgid "" @@ -10112,8 +10131,8 @@ msgid "" msgstr "" "子控件的宽度和高度被自动调整,以使其边界矩形覆盖容器的整个区域,同时保持长宽" "比。\n" -"当子控件的边界矩形超过容器的大小,并且[member Control.rect_clip_content]被启" -"用时,这仅允许显示受其自身边界矩形限制的容器区域。" +"当子控件的边界矩形超过容器的大小,并且 [member Control.rect_clip_content] 被" +"启用时,这仅允许显示受其自身边界矩形限制的容器区域。" #: doc/classes/AspectRatioContainer.xml msgid "" @@ -10440,7 +10459,7 @@ msgid "" msgstr "" "返回一个数组,其中包含 AStar 在给定点之间找到的路径中的点。数组从路径的起点到" "终点进行排序。\n" -"[b]注意:[/b] 这个方法不是线程安全的。如果从 [Thread] 调用,它将返回一个空的 " +"[b]注意:[/b]这个方法不是线程安全的。如果从 [Thread] 调用,它将返回一个空的 " "[PoolVector3Array] 并打印一条错误消息。" #: doc/classes/AStar.xml doc/classes/AStar2D.xml @@ -10702,8 +10721,8 @@ msgid "" msgstr "" "返回一个数组,该数组包含了AStar2D在给定点之间找到的路径中的点。该数组从路径的" "起点到终点排序。\n" -"[b]注意:[/b] 这个方法不是线程安全的。如果从一个[Thread]线程中调用,它将返回" -"一个空的[PoolVector2Array],并打印一个错误信息。" +"[b]注意:[/b]这个方法不是线程安全的。如果从一个[Thread]线程中调用,它将返回一" +"个空的[PoolVector2Array],并打印一个错误信息。" #: doc/classes/AtlasTexture.xml msgid "" @@ -10736,18 +10755,19 @@ msgstr "" "铺,如果在其他[AtlasTexture]资源内部使用,将不能正常工作。多个[AtlasTexture]" "资源可以用来裁剪图集中的多个纹理。与使用多个小文件相比,使用一个纹理图集有助" "于优化视频内存消耗和渲染调用。\n" -"[b]注意:[/b] AtlasTextures不支持重复。当使用AtlasTexture时,[constant " +"[b]注意:[/b]AtlasTextures不支持重复。当使用AtlasTexture时,[constant " "Texture.FLAG_REPEAT]和[constant Texture.FLAG_MIRRORED_REPEAT]标志被忽略。" #: doc/classes/AtlasTexture.xml msgid "The texture that contains the atlas. Can be any [Texture] subtype." -msgstr "包含图集的纹理。可以是任何[Texture]子类型。" +msgstr "包含图集的纹理。可以是任何 [Texture] 子类型。" #: doc/classes/AtlasTexture.xml msgid "" "If [code]true[/code], clips the area outside of the region to avoid bleeding " "of the surrounding texture pixels." -msgstr "如果[code]true[/code],剪辑区域外的区域,以避免周围纹理像素的出血。" +msgstr "" +"如果为 [code]true[/code],则该区域外的区域将被裁去,避免周围纹理像素的出血。" #: doc/classes/AtlasTexture.xml msgid "" @@ -10760,7 +10780,7 @@ msgstr "" #: doc/classes/AtlasTexture.xml msgid "The AtlasTexture's used region." -msgstr "地图集的使用区域。" +msgstr "AtlasTexture 所使用的区域。" #: doc/classes/AudioBusLayout.xml msgid "Stores information about the audio buses." @@ -10856,8 +10876,8 @@ msgid "" "Returns [code]true[/code] if at least [code]frames[/code] audio frames are " "available to read in the internal ring buffer." msgstr "" -"如果内部环缓冲器中至少有[code]frames[/code]音频帧可供读取,则返回[code]true[/" -"code]。" +"如果内部环缓冲器中至少有[code]frames[/code]音频帧可供读取,则返回 " +"[code]true[/code]。" #: doc/classes/AudioEffectCapture.xml msgid "Clears the internal ring buffer." @@ -11059,7 +11079,7 @@ msgstr "反馈延迟时间,单位为毫秒。" #: doc/classes/AudioEffectDelay.xml msgid "Sound level for [code]tap1[/code]." -msgstr "[code]tap1[/code] 的声音级别。" +msgstr "[code]tap1[/code] 的声音电平。" #: doc/classes/AudioEffectDelay.xml msgid "" @@ -11092,7 +11112,7 @@ msgstr "[b]Tap2[/b] 延迟时间,单位为毫秒。" #: doc/classes/AudioEffectDelay.xml msgid "Sound level for [code]tap2[/code]." -msgstr "[code]tap2[/code] 的声音级别。" +msgstr "[code]tap2[/code] 的声音电平。" #: doc/classes/AudioEffectDelay.xml msgid "" @@ -11198,10 +11218,10 @@ msgid "" "when a game is run on a mobile device, to adjust the mix to that kind of " "speakers (it can be added but disabled when headphones are plugged)." msgstr "" -"AudioEffectEQ让你控制频率。用它来弥补音频中不足之处。AudioEffectEQ在Master总" -"线上很有用,可以完全掌控一个混音,并赋予它更多的特性。当游戏在移动设备上运行" -"时,它们也很有用,可以根据那种扬声器来调整混音(可以被添加,但在插入耳机时禁" -"用)。" +"AudioEffectEQ 可用于频率控制。用它来弥补音频中不足之处。AudioEffectEQ 在 " +"Master 总线上很有用,可以完全掌控一个混音,并赋予它更多的特性。当游戏在移动设" +"备上运行时,它们也很有用,可以根据那种扬声器来调整混音(可以被添加,但在插入" +"耳机时禁用)。" #: doc/classes/AudioEffectEQ.xml msgid "Returns the number of bands of the equalizer." @@ -11805,7 +11825,7 @@ msgstr "" #: doc/classes/AudioServer.xml msgid "Returns the number of effects on the bus at [code]bus_idx[/code]." -msgstr "返回[code]bus_idx[/code]处总线上的效果数。" +msgstr "返回 [code]bus_idx[/code] 处总线上的效果数。" #: doc/classes/AudioServer.xml msgid "" @@ -11889,13 +11909,13 @@ msgstr "" #: doc/classes/AudioServer.xml msgid "If [code]true[/code], the bus at index [code]bus_idx[/code] is muted." -msgstr "如果为[code]true[/code],则索引[code]bus_idx[/code]处的总线被静音。" +msgstr "如果为 [code]true[/code],则索引[code]bus_idx[/code]处的总线被静音。" #: doc/classes/AudioServer.xml msgid "" "If [code]true[/code], the bus at index [code]bus_idx[/code] is in solo mode." msgstr "" -"如果为[code]true[/code],则索引[code]bus_idx[/code]处的总线处于solo模式。" +"如果为 [code]true[/code],则索引[code]bus_idx[/code]处的总线处于solo模式。" #: doc/classes/AudioServer.xml msgid "" @@ -12060,8 +12080,8 @@ msgstr "" "此音频流不播放声音,需要脚本为其生成音频数据。参阅" "[AudioStreamGeneratorPlayback]。\n" "另请参阅 [AudioEffectSpectrumAnalyzer] 用于执行实时音频频谱分析。\n" -"[b]注意:[/b] 由于性能限制,最好从 C# 或通过 GDNative 编译的语言中使用此类。" -"如果你仍然想从GDScript中使用这个类,请考虑使用较低的 [member mix_rate],例如 " +"[b]注意:[/b]由于性能限制,最好从 C# 或通过 GDNative 编译的语言中使用此类。如" +"果你仍然想从GDScript中使用这个类,请考虑使用较低的 [member mix_rate],例如 " "11,025 Hz 或 22,050 Hz。" #: doc/classes/AudioStreamGenerator.xml @@ -12305,7 +12325,7 @@ msgid "" msgstr "" "播放音频,随着与屏幕中心的距离而减弱。\n" "参阅[AudioStreamPlayer]来播放非位置性的声音。\n" -"[b]注意:[/b] 隐藏一个[AudioStreamPlayer2D]节点并不能禁用其音频输出。要暂时禁" +"[b]注意:[/b]隐藏一个[AudioStreamPlayer2D]节点并不能禁用其音频输出。要暂时禁" "用[AudioStreamPlayer2D]的音频输出,请将[member volume_db]设置为一个非常低的" "值,如[code]-100[/code](人的听觉听不到)。" @@ -12375,7 +12395,7 @@ msgstr "" "默认情况下,音频是从相机的位置听到的,这可以通过在场景中添加一个[Listener]节" "点,并通过对其调用[method Listener.make_current]来启用它,以改变。\n" "参阅[AudioStreamPlayer]来播放非位置的声音。\n" -"[b]注意:[/b] 隐藏一个[AudioStreamPlayer3D]节点并不能禁用其音频输出。要暂时禁" +"[b]注意:[/b]隐藏一个[AudioStreamPlayer3D]节点并不能禁用其音频输出。要暂时禁" "用[AudioStreamPlayer3D]的音频输出,请将[member unit_db]设置为一个非常低的值," "如[code]-100[/code](人的听觉听不到)。" @@ -12487,7 +12507,7 @@ msgid "" "If [code]true[/code], the playback is paused. You can resume it by setting " "[member stream_paused] to [code]false[/code]." msgstr "" -"如果[code]true[/code],则播放会暂停。你可以通过设置[member stream_paused]为" +"如果[code]true[/code],则播放会暂停。你可以通过设置[member stream_paused]为 " "[code]false[/code]来恢复它。" #: doc/classes/AudioStreamPlayer3D.xml @@ -12789,8 +12809,8 @@ msgstr "" "[b]程序化生成:[/b] 烘焙光照贴图的功能只在编辑器中可用。也就是说," "[BakedLightmap] 不适合程序化生成、用户搭建的关卡。想要支持程序化生成或者用户" "搭建关卡,请使用 [GIProbe]。\n" -"[b]注意:[/b] 由于光照贴图的工作原理,大多数属性只有在光照贴图再次烘焙后才会" -"看到效果。" +"[b]注意:[/b]由于光照贴图的工作原理,大多数属性只有在光照贴图再次烘焙后才会看" +"到效果。" #: doc/classes/BakedLightmap.xml msgid "" @@ -12807,10 +12827,24 @@ msgstr "" #: doc/classes/BakedLightmap.xml msgid "" -"When enabled, the lightmapper will merge the textures for all meshes into a " -"single large layered texture. Not supported in GLES2." -msgstr "" -"启用后,光照贴图会将所有网格的纹理合并为一个大的分层纹理。 GLES2 不支持。" +"If [code]true[/code], the lightmapper will merge the textures for all meshes " +"into one or several large layered textures. If [code]false[/code], every " +"mesh will get its own lightmap texture, which is less efficient.\n" +"[b]Note:[/b] Atlas lightmap rendering is only supported in GLES3, [i]not[/i] " +"GLES2. Non-atlas lightmap rendering is supported by both GLES3 and GLES2. If " +"[member ProjectSettings.rendering/quality/driver/fallback_to_gles2] is " +"[code]true[/code], consider baking lightmaps with [member atlas_generate] " +"set to [code]false[/code] so that the resulting lightmap is visible in both " +"GLES3 and GLES2." +msgstr "" +"如果为 [code]true[/code],光照贴图器会将所有网格的纹理合并为单个纹理或若干大" +"型的分层纹理。如果为 [code]false[/code],各个网格有各自的光照贴图纹理,效率较" +"低。\n" +"[b]注意:[/b]只有 GLES3 支持光照贴图集的渲染,GLES2 [i]不支持[/i]。GLES3 和 " +"GLES2 均支持非图集的光照贴图渲染。如果 [member ProjectSettings.rendering/" +"quality/driver/fallback_to_gles2] 为 [code]true[/code],请考虑在烘焙光照贴图" +"时将 [member atlas_generate] 设为 [code]false[/code],这样生成的光照贴图在 " +"GLES3 和 GLES2 中均可用。" #: doc/classes/BakedLightmap.xml msgid "" @@ -12838,11 +12872,11 @@ msgid "" msgstr "" "每次反弹的能量乘数。较高的值将使间接照明更亮。 [code]1.0[/code] 的值表示与物" "理相一致的行为,但在使用少量反弹时,可以使用更高的值使间接照明传播更明显。这" -"可用于通过降低[member bounces]的数量然后增加 [member bounce_indirect_energy] " -"来加快烘焙时间。与 [member BakedLightmapData.energy] 不同,此属性不会影响灯光" -"节点、自发光材质和环境发出的直接光照。\n" -"[b]注意:[/b] [member bounce_indirect_energy] 仅在[member bounces] 设置为大于" -"或等于[code]1[/code]的值时有效。" +"可用于通过降低 [member bounces] 的数量然后增加 [member " +"bounce_indirect_energy] 来加快烘焙时间。与 [member BakedLightmapData.energy] " +"不同,此属性不会影响灯光节点、发光材质和环境发出的直接光照。\n" +"[b]注意:[/b][member bounce_indirect_energy] 仅在 [member bounces] 设置为大于" +"等于 [code]1[/code] 的值时有效。" #: doc/classes/BakedLightmap.xml msgid "" @@ -12916,8 +12950,8 @@ msgid "" "amount of light on all the lightmap texels. Can be used for artistic control " "on shadow color." msgstr "" -"所有光照贴图纹理元素的最小环境光。这不考虑场景几何体的任何遮挡,它只是确保所" -"有光照贴图纹理元素上的光量最小。可用于阴影颜色的艺术控制。" +"所有光照贴图纹素的最小环境光。这不考虑场景几何体的任何遮挡,它只是确保所有光" +"照贴图纹素上的光量最小。可用于阴影颜色的艺术控制。" #: doc/classes/BakedLightmap.xml msgid "Decides which environment to use during baking." @@ -12948,8 +12982,8 @@ msgid "" "The amount of samples for each quality level can be configured in the " "project settings." msgstr "" -"决定在不正确的光照烘焙中每一个纹理元素的采样量。可以在项目设置中配置每个质量" -"级别的采样量。" +"决定在不正确的光照烘焙中每一个纹素的采样量。可以在项目设置中配置每个质量级别" +"的采样量。" #: doc/classes/BakedLightmap.xml msgid "" @@ -13077,7 +13111,7 @@ msgid "" msgstr "" "烘焙和动态捕获对象的全局能量乘数。这可以在运行时更改,而无需再次烘焙光照贴" "图。\n" -"要仅调整间接照明的能量,即不影响直接照明或自发光材质,请调整 [member " +"要仅调整间接照明的能量(即不影响直接照明或发光材质),请调整 [member " "BakedLightmap.bounce_indirect_energy] 并再次烘焙光照贴图。" #: doc/classes/BakedLightmapData.xml @@ -13125,7 +13159,7 @@ msgstr "" msgid "" "Returns [code]true[/code] if the mouse has entered the button and has not " "left it yet." -msgstr "如果鼠标已进入按钮,且尚未离开,则返回[code]true[/code]。" +msgstr "如果鼠标已进入按钮,且尚未离开,则返回 [code]true[/code]。" #: doc/classes/BaseButton.xml msgid "" @@ -13138,8 +13172,8 @@ msgid "" msgstr "" "改变按钮的[member pressed]状态,不触发[signal toggled]。当你只想改变按钮的状" "态而不发送按下事件时使用(例如,在初始化场景时)。只有当[member toggle_mode]" -"是[code]true[/code]时才有效。\n" -"[b]注意:[/b] 这个方法不会释放其按钮[member group] 中的其他按钮。" +"是[code]true[/code] 时才有效。\n" +"[b]注意:[/b]这个方法不会释放其按钮[member group] 中的其他按钮。" #: doc/classes/BaseButton.xml msgid "" @@ -13301,7 +13335,7 @@ msgid "" "For more information, read the \"Matrices and transforms\" documentation " "article." msgstr "" -"用于三维旋转和缩放的 3×3 矩阵。几乎总是用作变换的正交基。\n" +"用于 3D 旋转和缩放的 3×3 矩阵。几乎总是用作变换的正交基。\n" "包含 3 个向量字段 X、Y 和 Z 作为其列,通常被解释为变换的局部基向量。对于这种" "用途,它由一个缩放矩阵和一个旋转矩阵组成,依次为 (M=R.S)。\n" "也可以作为三维向量的数组来访问。这些向量通常是相互正交的,但不一定是归一化的" @@ -13481,7 +13515,7 @@ msgstr "返回矩阵的转置版本。" #: doc/classes/Basis.xml msgid "Returns a vector transformed (multiplied) by the matrix." -msgstr "返回一个被矩阵转换(乘法)的向量。" +msgstr "返回一个被矩阵变换(乘法)的向量。" #: doc/classes/Basis.xml msgid "" @@ -13576,8 +13610,8 @@ msgid "" "code] in other case." msgstr "" "创建一个与给定图像尺寸相匹配的位图,如果图像在该位置的 Alpha 值等于 " -"[code]threshold[/code] 或更小,则位图的每个元素都设置为[code]false[/code],其" -"他情况下为[code]true[/code]。" +"[code]threshold[/code] 或更小,则位图的每个元素都设置为 [code]false[/code]," +"其他情况下为 [code]true[/code]。" #: doc/classes/BitMap.xml msgid "Returns bitmap's value at the specified position." @@ -13590,7 +13624,7 @@ msgstr "返回位图的尺寸。" #: doc/classes/BitMap.xml msgid "" "Returns the amount of bitmap elements that are set to [code]true[/code]." -msgstr "返回设置为[code]true[/code]的位图元素的数量。" +msgstr "返回设置为 [code]true[/code]的位图元素的数量。" #: doc/classes/BitMap.xml msgid "" @@ -13634,8 +13668,8 @@ msgid "" "Supports distance fields. For using vector font files like TTF directly, see " "[DynamicFont]." msgstr "" -"使用 [code]*.fnt[/code] 包含纹理图库的字体来渲染文本。支持距离字段。关于直接" -"使用 TTF 等矢量字体文件,请参阅 [DynamicFont]。" +"使用 [code]*.fnt[/code] 包含纹理图库的字体来渲染文本。支持距离场。关于直接使" +"用 TTF 等矢量字体文件,请参阅 [DynamicFont]。" #: doc/classes/BitmapFont.xml msgid "" @@ -13689,7 +13723,7 @@ msgstr "上升(基线以上的像素数)。" #: doc/classes/BitmapFont.xml msgid "If [code]true[/code], distance field hint is enabled." -msgstr "如果[code]true[/code],则启用距离字段提示。" +msgstr "如果[code]true[/code],则启用距离场提示。" #: doc/classes/BitmapFont.xml msgid "The fallback font." @@ -13731,7 +13765,7 @@ msgstr "将节点当前的变换存储在[member rest]中。" #: doc/classes/Bone2D.xml msgid "" "Returns the node's index as part of the entire skeleton. See [Skeleton2D]." -msgstr "返回节点的索引,作为整个骨架的一部分。参阅[Skeleton2D]。" +msgstr "返回节点的索引,作为整个骨架的一部分。请参阅 [Skeleton2D]。" #: doc/classes/Bone2D.xml msgid "" @@ -13840,7 +13874,7 @@ msgstr "" "下面的代码只有在两个条件都满足的情况下才会产生子弹:动作“shoot”被按下,并且如" "果[code]can_shoot[/code]是[code]true[/code]。\n" "[b]注意:[/b][code]Input.is_action_pressed(\"shoot\")[/code]也是一个布尔值," -"当“shoot”被按下时为[code]true[/code],当“shoot”没有被按下时为[code]false[/" +"当“shoot”被按下时为 [code]true[/code],当“shoot”没有被按下时为 [code]false[/" "code]。\n" "[codeblock]\n" "var can_shoot = true\n" @@ -13849,8 +13883,8 @@ msgstr "" " if can_shoot and Input.is_action_pressed(\"shoot\"):\n" " create_bullet()\n" "[/codeblock]\n" -"下面的代码将把[code]can_shoot[/code]设置为[code]false[/code]并启动一个定时" -"器。这将阻止玩家射击,直到定时器用完。然后[code]can_shoot[/code]设置为" +"下面的代码将把[code]can_shoot[/code]设置为 [code]false[/code]并启动一个定时" +"器。这将阻止玩家射击,直到定时器用完。然后[code]can_shoot[/code]设置为 " "[code]true[/code],再次允许玩家进行射击。\n" "[codeblock]\n" "var can_shoot = true\n" @@ -14008,8 +14042,8 @@ msgstr "" "按钮像所有控件节点一样,也可以在编辑器中创建,但在某些情况下可能需要从代码中" "创建。\n" "参阅 [BaseButton],其中包括与此节点相关的通用属性和方法。\n" -"[b]注意:[/b] 按钮不处理触摸输入,因此不支持多点触控,因为模拟鼠标在给定时间" -"只能按下一个按钮。将 [TouchScreenButton] 用于触发游戏移动或动作的按钮,因为 " +"[b]注意:[/b]按钮不处理触摸输入,因此不支持多点触控,因为模拟鼠标在给定时间只" +"能按下一个按钮。将 [TouchScreenButton] 用于触发游戏移动或动作的按钮,因为 " "[TouchScreenButton] 支持多点触控。" #: doc/classes/Button.xml doc/classes/Dictionary.xml @@ -14183,9 +14217,9 @@ msgid "" "[Viewport] (or higher viewports) can't be displayed." msgstr "" "相机是一个特殊节点,用于显示从其当前位置可见的内容。相机在最近的 [Viewport] " -"节点中注册自己(当树上行)。每个视窗只能激活一个相机。如果在树上没有可用的视" -"窗,相机将在全局视窗中注册。换句话说,相机只是为 [Viewport] 提供3D显示能力," -"如果没有,则无法显示在该 [Viewport] 或更高视窗中注册的场景。" +"节点中注册自己(当树上行)。每个视区只能激活一个相机。如果在树上没有可用的视" +"区,相机将在全局视区中注册。换句话说,相机只是为 [Viewport] 提供 3D 显示能" +"力,如果没有,则无法显示在该 [Viewport] 或更高视区中注册的场景。" #: doc/classes/Camera.xml msgid "" @@ -14216,8 +14250,8 @@ msgid "" "Returns [code]true[/code] if the given [code]layer[/code] in the [member " "cull_mask] is enabled, [code]false[/code] otherwise." msgstr "" -"如果[member cull_mask]中给定的[code]layer[/code]被启用,返回[code]true[/" -"code],否则返回[code]false[/code]。" +"如果[member cull_mask]中给定的[code]layer[/code]被启用,返回 [code]true[/" +"code],否则返回 [code]false[/code]。" #: doc/classes/Camera.xml msgid "" @@ -14234,8 +14268,8 @@ msgid "" "[b]Note:[/b] A position which returns [code]false[/code] may still be " "outside the camera's field of view." msgstr "" -"如果给定的位置在相机后面,返回[code]true[/code]。\n" -"[b]注意:[/b] 返回[code]false[/code]的位置可能仍然在相机的视野之外。" +"如果给定的位置在相机后面,返回 [code]true[/code]。\n" +"[b]注意:[/b]返回 [code]false[/code]的位置可能仍然在相机的视野之外。" #: doc/classes/Camera.xml msgid "" @@ -14340,12 +14374,12 @@ msgid "" "unproject_position(global_transform.origin)\n" "[/codeblock]" msgstr "" -"返回[Viewport]矩形中的2D坐标,该坐标映射到世界空间中给定的3D点。\n" -"[b]注意:[/b]当使用它来定位3D视窗上的GUI元素时,如果3D点在相机后面,请使用" -"[method is_position_behind]来防止它们显示。\n" +"返回 [Viewport] 矩形中的 2D 坐标,该坐标映射到世界空间中给定的 3D 点。\n" +"[b]注意:[/b]当使用它来定位 3D 视区上的 GUI 元素时,如果 3D 点在相机后面,请" +"使用 [method is_position_behind] 来防止它们显示。\n" "[codeblock]\n" -"# 这个代码块是继承自Spatial的脚本的一部分。\n" -"# `control`是对继承自Control的节点的引用。\n" +"# 这个代码块是继承自 Spatial 的脚本的一部分。\n" +"# `control`是对继承自 Control 的节点的引用。\n" "control.visible = not get_viewport().get_camera()." "is_position_behind(global_transform.origin)\n" "control.rect_position = get_viewport().get_camera()." @@ -14375,12 +14409,12 @@ msgid "" "Perspective menu in the top-left corner of the 3D viewport and toggle " "[b]Enable Doppler[/b]." msgstr "" -"如果不是[constant DOPPLER_TRACKING_DISABLED],此相机将模拟[url=https://en." -"wikipedia.org/wiki/Doppler_effect]多普勒效果[/url]的对象在特定" -"[code]_process[/code]方法中的变化。多普勒效果只对[member AudioStreamPlayer3D." -"doppler_tracking]设置为[constant AudioStreamPlayer3D." -"DOPPLER_TRACKING_DISABLED]以外的值的[AudioStreamPlayer3D]节点进行模拟。\n" -"[b]注意:[/b]要在编辑器中切换多普勒效果预览,使用三维视窗左上角的透视菜单,并" +"如果不是 [constant DOPPLER_TRACKING_DISABLED],此相机将模拟[url=https://en." +"wikipedia.org/wiki/Doppler_effect]多普勒效果[/url]的对象在特定 " +"[code]_process[/code] 方法中的变化。多普勒效果只对 [member " +"AudioStreamPlayer3D.doppler_tracking] 设置为 [constant AudioStreamPlayer3D." +"DOPPLER_TRACKING_DISABLED] 以外的值的 [AudioStreamPlayer3D] 节点进行模拟。\n" +"[b]注意:[/b]要在编辑器中切换多普勒效果预览,使用 3D 视区左上角的透视菜单,并" "切换为[b]启用多普勒[/b]。" #: doc/classes/Camera.xml @@ -14407,7 +14441,7 @@ msgid "" msgstr "" "相机的视野角度,以度为单位。仅适用于透视模式。由于 [member keep_aspect] 锁定" "一个轴,因此 [code]fov[/code] 设置另一个轴的视角。\n" -"作为参考,默认的垂直视野值 ([code]70.0[/code]) 等效于以下水平 FOV:\n" +"作为参考,默认的垂直视野值([code]70.0[/code])等效于以下水平 FOV:\n" "- 在 4:3 视窗中约86.07 度\n" "- 在 16:10 视窗中约 96.50 度\n" "- 在 16:9 视窗中约102.45 度\n" @@ -14450,10 +14484,11 @@ msgstr "" "的Z距离会影响其感知的大小。" #: doc/classes/Camera.xml +#, fuzzy msgid "" "The camera's size measured as 1/2 the width or height. Only applicable in " -"orthogonal mode. Since [member keep_aspect] locks on axis, [code]size[/code] " -"sets the other axis' size length." +"orthogonal and frustum modes. Since [member keep_aspect] locks on axis, " +"[code]size[/code] sets the other axis' size length." msgstr "" "相机的尺寸,以1/2的宽度或高度测量。仅适用于正交模式。由于[member keep_aspect]" "锁定在轴上,因此[code]size[/code]设置其他轴的尺寸长度。" @@ -14631,7 +14666,7 @@ msgstr "" msgid "" "Make this the current 2D camera for the scene (viewport and layer), in case " "there are many cameras in the scene." -msgstr "使之成为场景(视窗和图层)的当前2D相机,以防场景中有很多相机。" +msgstr "使之成为场景(视窗和图层)的当前 2D 相机,以防场景中有很多相机。" #: doc/classes/Camera2D.xml msgid "" @@ -14824,8 +14859,8 @@ msgid "" "Speed in pixels per second of the camera's smoothing effect when [member " "smoothing_enabled] is [code]true[/code]." msgstr "" -"当[member smoothing_enabled]为[code]true[/code]时,相机平滑效果的速度,以每秒" -"像素为单位。" +"当[member smoothing_enabled]为 [code]true[/code] 时,相机平滑效果的速度,以每" +"秒像素为单位。" #: doc/classes/Camera2D.xml msgid "" @@ -14931,7 +14966,7 @@ msgstr "相机安装在了设备后部。" #: doc/classes/CameraServer.xml msgid "Server keeping track of different cameras accessible in Godot." -msgstr "服务器跟踪 Godot 中可访问的不同摄像头。" +msgstr "跟踪 Godot 中可访问的不同摄像头的服务器。" #: doc/classes/CameraServer.xml msgid "" @@ -15245,19 +15280,19 @@ msgstr "" "[code]color[/code]和[code]width[/code]指定的笔画形式绘制。如果" "[code]antialiased[/code]是[code]true[/code],线条抗锯齿。\n" "[b]注意:[/b][code]width[/code]和[code]antialiased[/code]只有在[code]filled[/" -"code]是[code]false[/code]时才有效。" +"code]是[code]false[/code] 时才有效。" #: doc/classes/CanvasItem.xml msgid "" "Sets a custom transform for drawing via components. Anything drawn " "afterwards will be transformed by this." -msgstr "设置通过组件进行绘图的自定义变换。之后绘制的任何东西都将被转换。" +msgstr "设置通过组件进行绘图的自定义变换。此后绘制的任何东西都将被它变换。" #: doc/classes/CanvasItem.xml msgid "" "Sets a custom transform for drawing via matrix. Anything drawn afterwards " "will be transformed by this." -msgstr "设置通过矩阵绘制时的自定义变换。之后绘制的任何东西都将被转换。" +msgstr "设置通过矩阵绘制时的自定义变换。此后绘制的任何东西都将被它变换。" #: doc/classes/CanvasItem.xml msgid "" @@ -15365,11 +15400,11 @@ msgstr "返回此项目的变换矩阵。" #: doc/classes/CanvasItem.xml msgid "Returns the viewport's boundaries as a [Rect2]." -msgstr "以[Rect2]形式返回视窗的边界。" +msgstr "以 [Rect2] 形式返回视区的边界。" #: doc/classes/CanvasItem.xml msgid "Returns this item's transform in relation to the viewport." -msgstr "返回这个项目相对于视窗的变换。" +msgstr "返回这个项目相对于视区的变换。" #: doc/classes/CanvasItem.xml msgid "Returns the [World2D] where this item is in." @@ -15387,20 +15422,20 @@ msgstr "" msgid "" "Returns [code]true[/code] if local transform notifications are communicated " "to children." -msgstr "如果将本地转换通知传达给子级,则返回[code]true[/code]。" +msgstr "如果将本地变换通知传达给子级,则返回 [code]true[/code]。" #: doc/classes/CanvasItem.xml msgid "" "Returns [code]true[/code] if the node is set as top-level. See [method " "set_as_toplevel]." msgstr "" -"如果节点设置为顶层,则返回[code]true[/code]。参阅[method set_as_toplevel]。" +"如果节点设置为顶层,则返回 [code]true[/code]。参阅 [method set_as_toplevel]。" #: doc/classes/CanvasItem.xml msgid "" "Returns [code]true[/code] if global transform notifications are communicated " "to children." -msgstr "如果将全局转换通知传达给子级,则返回[code]true[/code]。" +msgstr "如果将全局变换通知传达给子级,则返回 [code]true[/code]。" #: doc/classes/CanvasItem.xml doc/classes/Spatial.xml msgid "" @@ -15415,35 +15450,39 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "Assigns [code]screen_point[/code] as this node's new local transform." -msgstr "分配[code]screen_point[/code]作为该节点的新本地转换。" +msgstr "分配 [code]screen_point[/code] 作为该节点的新本地变换。" #: doc/classes/CanvasItem.xml msgid "" "Transformations issued by [code]event[/code]'s inputs are applied in local " "space instead of global space." -msgstr "[code]event[/code]的输入发出的转换将在局部空间而不是全局空间中应用。" +msgstr "[code]event[/code] 的输入发出的变换将在局部空间而不是全局空间中应用。" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], the node won't inherit its " -"transform from parent canvas items." +"If [code]enable[/code] is [code]true[/code], this [CanvasItem] will [i]not[/" +"i] inherit its transform from parent [CanvasItem]s. Its draw order will also " +"be changed to make it draw on top of other [CanvasItem]s that are not set as " +"top-level. The [CanvasItem] will effectively act as if it was placed as a " +"child of a bare [Node]. See also [method is_set_as_toplevel]." msgstr "" -"如果[code]enable[/code]为[code]true[/code],则该节点将不会从父画布项目继承其" -"变换。" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"local transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_LOCAL_TRANSFORM_CHANGED] when its local transform " +"changes." msgstr "" -"如果[code]enable[/code]为[code]true[/code],则将使用局部变换数据更新子项。" +"如果 [code]enable[/code] 为 [code]true[/code],那么这个节点会在其局部变换发生" +"改变时接收到 [constant NOTIFICATION_LOCAL_TRANSFORM_CHANGED]。" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"global transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_TRANSFORM_CHANGED] when its global transform changes." msgstr "" -"如果[code]enable[/code]为[code]true[/code],则将使用全局变换数据更新子项。" +"如果 [code]enable[/code] 为 [code]true[/code],那么这个节点会在其全局变换发生" +"改变时接收到 [constant NOTIFICATION_TRANSFORM_CHANGED]。" #: doc/classes/CanvasItem.xml msgid "" @@ -15510,7 +15549,7 @@ msgid "" "instead." msgstr "" "如果[code]true[/code],这个[CanvasItem]被绘制。只有当它的所有父节点也可见时," -"该节点才是可见的(换句话说,[method is_visible_in_tree]必须返回[code]true[/" +"该节点才是可见的(换句话说,[method is_visible_in_tree]必须返回 [code]true[/" "code])。\n" "[b]注意:[/b]对于继承了[Popup]的控件,使其可见的正确方法是调用多个" "[code]popup*()[/code]函数之一。" @@ -15574,12 +15613,19 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"The [CanvasItem]'s transform has changed. This notification is only received " -"if enabled by [method set_notify_transform] or [method " -"set_notify_local_transform]." +"The [CanvasItem]'s global transform has changed. This notification is only " +"received if enabled by [method set_notify_transform]." msgstr "" -"[CanvasItem]的变换已更改。仅当[method set_notify_transform]或[method " -"set_notify_local_transform]启用时,才会收到此通知。" +"该 [CanvasItem] 的全局变换已更改。只有在通过 [method set_notify_transform] 启" +"用时,才会收到这个通知。" + +#: doc/classes/CanvasItem.xml +msgid "" +"The [CanvasItem]'s local transform has changed. This notification is only " +"received if enabled by [method set_notify_local_transform]." +msgstr "" +"该 [CanvasItem] 的局部变换已更改。只有在通过 [method " +"set_notify_local_transform] 启用时,才会收到这个通知。" #: doc/classes/CanvasItem.xml msgid "The [CanvasItem] is requested to draw." @@ -15662,7 +15708,7 @@ msgid "" "This property (and other [code]particles_anim_*[/code] properties that " "depend on it) has no effect on other types of nodes." msgstr "" -"如果为[code]true[/code],当分配给 [Particles2D] 和 [CPUParticles2D] 节点时," +"如果为 [code]true[/code],当分配给 [Particles2D] 和 [CPUParticles2D] 节点时," "启用基于spritesheet的动画功能。[member ParticlesMaterial.anim_speed]或" "[member CPUParticles2D.anim_speed]也应设置为正值,才能播放动画。\n" "这个属性(以及其他依赖于它的[code]particles_anim_*[/code]属性)对其他类型的节" @@ -15736,7 +15782,7 @@ msgstr "" msgid "" "Sets the layer to follow the viewport in order to simulate a pseudo 3D " "effect." -msgstr "将图层设置为跟随视窗,以模拟伪3D效果。" +msgstr "将图层设置为跟随视区,以模拟伪 3D 效果。" #: doc/classes/CanvasLayer.xml msgid "" @@ -15910,10 +15956,10 @@ msgid "" "pause_mode]). Resets when the text in the [RichTextLabel] is changed.\n" "[b]Note:[/b] Time still passes while the [RichTextLabel] is hidden." msgstr "" -"自[RichTextLabel]被添加到场景树后所经过的时间,单位秒。时间在[RichTextLabel]" -"暂停时停止,参阅[member Node.pause_mode]。当[RichTextLabel]中的文本改变时,会" -"重新设置。\n" -"[b]注意:[/b] 当[RichTextLabel]被隐藏时,时间仍会增加。" +"自 [RichTextLabel] 被添加到场景树后所经过的时间,单位秒。时间在 " +"[RichTextLabel] 暂停时停止,参阅 [member Node.pause_mode]。当 " +"[RichTextLabel] 中的文本发生改变时会重置。\n" +"[b]注意:[/b]当 [RichTextLabel] 被隐藏时,时间仍会增加。" #: doc/classes/CharFXTransform.xml msgid "" @@ -15930,12 +15976,13 @@ msgid "" "1)}\n" "[/codeblock]" msgstr "" -"包含在开头的BBCode标记中传递的参数。默认情况下,参数是字符串。如果它们的内容" -"与[bool],[int]或[float]之类的类型匹配,它们将被自动转换。格式为" -"[code]#rrggbb[/code]或[code]#rgb[/code]的颜色代码将转换为不透明的[Color]。字" -"符串参数即使使用引号也不能包含空格。如果存在,引号也将出现在最终字符串中。\n" -"例如,开头的BBCode标签[code][example foo = hello bar = true baz = 42 color =" -"#ffffff][/code]将映射到以下[Dictionary]:\n" +"包含在开头的 BBCode 标记中传递的参数。默认情况下,参数是字符串。如果它们的内" +"容与 [bool]、[int]、[float] 之类的类型匹配,它们将被自动转换。格式为 " +"[code]#rrggbb[/code] 或 [code]#rgb[/code] 的颜色代码将转换为不透明的 " +"[Color]。字符串参数即使使用引号也不能包含空格。如果存在,引号也将出现在最终字" +"符串中。\n" +"例如,开头的 BBCode 标签 [code][example foo = hello bar = true baz = 42 " +"color =#ffffff][/code] 将映射到以下 [Dictionary]:\n" "[codeblock]\n" "{\"foo\": \"hello\", \"bar\": true, \"baz\": 42, \"color\": Color(1, 1, 1, " "1)}\n" @@ -15966,7 +16013,7 @@ msgstr "" #: doc/classes/CheckBox.xml msgid "Binary choice user interface widget. See also [CheckButton]." -msgstr "二元选择(有或无)用户界面小部件。另请参阅[CheckButton]。" +msgstr "二项选择用户界面小部件。另请参阅 [CheckButton]。" #: doc/classes/CheckBox.xml msgid "" @@ -15979,19 +16026,19 @@ msgid "" "See also [BaseButton] which contains common properties and methods " "associated with this node." msgstr "" -"复选框让用户做出二元选择,即在两个可能的选项中只选择一个。它在功能上类似于" +"让用户做出二项选择的复选框(在两个可能的选项中只选择一个)。它在功能上类似于 " "[CheckButton],但外观不同。为了遵循用户体验,建议在切换它对某些东西[b]没有[/" -"b]直接影响时使用CheckBox。例如,当切换它只会在确认按钮被按下时做一些事情时," -"使用它。\n" -"参阅[BaseButton],它包含了与该节点相关的常规属性和方法。" +"b]直接影响时使用 CheckBox。例如,当切换它只会在确认按钮被按下时做一些事情时," +"选择 CheckBox。\n" +"另请参阅 [BaseButton],它包含了与该节点相关的常规属性和方法。" #: doc/classes/CheckBox.xml msgid "The [CheckBox] text's font color." -msgstr "[CheckBox]文本的字体颜色。" +msgstr "该 [CheckBox] 的文本字体颜色。" #: doc/classes/CheckBox.xml msgid "The [CheckBox] text's font color when it's disabled." -msgstr "[CheckBox]文本被禁用时的字体颜色。" +msgstr "该 [CheckBox] 被禁用时的文本字体颜色。" #: doc/classes/CheckBox.xml msgid "" @@ -15999,82 +16046,83 @@ msgid "" "text color of the checkbox. Disabled, hovered, and pressed states take " "precedence over this color." msgstr "" -"[CheckBox] 文本获得焦点时的字体颜色。只取代复选框的正常文本颜色。禁用、悬停和" -"按下状态优先于这个颜色。" +"该 [CheckBox] 被聚焦时的文本字体颜色。只取代复选框的正常文本颜色。禁用、悬停" +"和按下状态优先于这个颜色。" #: doc/classes/CheckBox.xml msgid "The [CheckBox] text's font color when it's hovered." -msgstr "[CheckBox]文本在悬停时的字体颜色。" +msgstr "该 [CheckBox] 被悬停时的文本字体颜色。" #: doc/classes/CheckBox.xml msgid "The [CheckBox] text's font color when it's hovered and pressed." -msgstr "当[CheckBox]文本被悬停和按下时的字体颜色。" +msgstr "该 [CheckBox] 被悬停且被按下时的文本字体颜色。" #: doc/classes/CheckBox.xml msgid "The [CheckBox] text's font color when it's pressed." -msgstr "文本被按下时的字体颜色。" +msgstr "该 [CheckBox] 被按下时的文本字体颜色。" #: doc/classes/CheckBox.xml msgid "The vertical offset used when rendering the check icons (in pixels)." -msgstr "呈现复选图标时使用的垂直偏移量(以像素为单位)。" +msgstr "渲染复选图标时使用的垂直偏移量(单位为像素)。" #: doc/classes/CheckBox.xml msgid "The separation between the check icon and the text (in pixels)." -msgstr "复选图标和文本之间的分隔(以像素为单位)。" +msgstr "复选图标与文本之间的间隔(单位为像素)。" #: doc/classes/CheckBox.xml msgid "The [Font] to use for the [CheckBox] text." -msgstr "用于[CheckBox]文本的[Font]。" +msgstr "该 [CheckBox] 的文本所使用的 [Font]。" #: doc/classes/CheckBox.xml msgid "The check icon to display when the [CheckBox] is checked." -msgstr "选中[CheckBox]时显示的复选图标。" +msgstr "该 [CheckBox] 被勾选时显示的复选图标。" #: doc/classes/CheckBox.xml msgid "The check icon to display when the [CheckBox] is checked and disabled." -msgstr "当[CheckBox]被选中和禁用时要显示的勾选图标。" +msgstr "该 [CheckBox] 被勾选且被禁用时显示的复选图标。" #: doc/classes/CheckBox.xml msgid "" "If the [CheckBox] is configured as a radio button, the icon to display when " "the [CheckBox] is checked." -msgstr "如果将[CheckBox]配置为单选按钮,则选中[CheckBox]时显示的图标。" +msgstr "如果该 [CheckBox] 被配置为单选按钮,该 [CheckBox] 被选中时显示的图标。" #: doc/classes/CheckBox.xml msgid "" "If the [CheckBox] is configured as a radio button, the icon to display when " "the [CheckBox] is unchecked." -msgstr "如果将[CheckBox]配置为单选按钮,则取消选中[CheckBox]时显示的图标。" +msgstr "" +"如果该 [CheckBox] 被配置为单选按钮,该 [CheckBox] 未被选中时显示的图标。" #: doc/classes/CheckBox.xml msgid "The check icon to display when the [CheckBox] is unchecked." -msgstr "未选中[CheckBox]时显示的复选图标。" +msgstr "该 [CheckBox] 未被勾选时显示的复选图标。" #: doc/classes/CheckBox.xml msgid "" "The check icon to display when the [CheckBox] is unchecked and disabled." -msgstr "当[CheckBox]未被选中并被禁用时要显示的勾选图标。" +msgstr "该 [CheckBox] 未被勾选且被禁用时显示的复选图标。" #: doc/classes/CheckBox.xml msgid "" "The [StyleBox] to display as a background when the [CheckBox] is disabled." -msgstr "当[CheckBox]被禁用时,作为背景显示的[StyleBox]。" +msgstr "该 [CheckBox] 被禁用时作为背景显示的 [StyleBox]。" #: doc/classes/CheckBox.xml msgid "" "The [StyleBox] to display as a background when the [CheckBox] is focused." -msgstr "当[CheckBox]被聚焦时,作为背景显示的[StyleBox]。" +msgstr "该 [CheckBox] 被聚焦时作为背景显示的 [StyleBox]。" #: doc/classes/CheckBox.xml msgid "" "The [StyleBox] to display as a background when the [CheckBox] is hovered." -msgstr "当[CheckBox]被悬停时作为背景显示的[StyleBox]。" +msgstr "该 [CheckBox] 被悬停时作为背景显示的 [StyleBox]。" #: doc/classes/CheckBox.xml msgid "" "The [StyleBox] to display as a background when the [CheckBox] is hovered and " "pressed." -msgstr "当[CheckBox]被悬停和按下时,作为背景显示的[StyleBox]。" +msgstr "该 [CheckBox] 被悬停且被按下时作为背景显示的 [StyleBox]。" #: doc/classes/CheckBox.xml doc/classes/CheckButton.xml msgid "The [StyleBox] to display as a background." @@ -16083,7 +16131,7 @@ msgstr "作为背景显示的 [StyleBox]。" #: doc/classes/CheckBox.xml msgid "" "The [StyleBox] to display as a background when the [CheckBox] is pressed." -msgstr "按下 [CheckBox] 时,作为背景显示的 [StyleBox]。" +msgstr "该 [CheckBox] 被按下时作为背景显示的 [StyleBox]。" #: doc/classes/CheckButton.xml msgid "Checkable button. See also [CheckBox]." @@ -16108,11 +16156,11 @@ msgstr "" #: doc/classes/CheckButton.xml msgid "The [CheckButton] text's font color." -msgstr "[CheckButton]文本的字体颜色。" +msgstr "该 [CheckButton] 的文本字体颜色。" #: doc/classes/CheckButton.xml msgid "The [CheckButton] text's font color when it's disabled." -msgstr "[CheckButton]文本在禁用时的字体颜色。" +msgstr "该 [CheckButton] 被禁用时的文本字体颜色。" #: doc/classes/CheckButton.xml msgid "" @@ -16120,74 +16168,74 @@ msgid "" "normal text color of the button. Disabled, hovered, and pressed states take " "precedence over this color." msgstr "" -"[CheckButton] 文本获得焦点时的字体颜色。仅替换按钮的正常文本颜色。禁用、悬停" +"该 [CheckButton] 被聚焦时的文本字体颜色。仅替换按钮的正常文本颜色。禁用、悬停" "和按下状态优先于此颜色。" #: doc/classes/CheckButton.xml msgid "The [CheckButton] text's font color when it's hovered." -msgstr "悬停时[CheckButton]文本的字体颜色。" +msgstr "该 [CheckButton] 被悬停时的文本字体颜色。" #: doc/classes/CheckButton.xml msgid "The [CheckButton] text's font color when it's hovered and pressed." -msgstr "当[CheckButton]被悬停和按下时,其文本的字体颜色。" +msgstr "该 [CheckButton] 被悬停且被按下时的文本字体颜色。" #: doc/classes/CheckButton.xml msgid "The [CheckButton] text's font color when it's pressed." -msgstr "按下[CheckButton]时文本的字体颜色。" +msgstr "该 [CheckButton] 被按下时的文本字体颜色。" #: doc/classes/CheckButton.xml msgid "The vertical offset used when rendering the toggle icons (in pixels)." -msgstr "渲染切换图标时使用的垂直偏移量(以像素为单位)。" +msgstr "渲染切换图标时使用的垂直偏移量(单位为像素)。" #: doc/classes/CheckButton.xml msgid "The separation between the toggle icon and the text (in pixels)." -msgstr "切换图标和文本之间的分隔(以像素为单位)。" +msgstr "切换图标与文本之间的间隔(单位为像素)。" #: doc/classes/CheckButton.xml msgid "The [Font] to use for the [CheckButton] text." -msgstr "用于[CheckButton]文本的[Font]。" +msgstr "该 [CheckButton] 的文本所使用的 [Font]。" #: doc/classes/CheckButton.xml msgid "The icon to display when the [CheckButton] is unchecked." -msgstr "当 [CheckButton] 未勾选时,显示的图标。" +msgstr "该 [CheckButton] 未被勾选时显示的图标。" #: doc/classes/CheckButton.xml msgid "The icon to display when the [CheckButton] is unchecked and disabled." -msgstr "当 [CheckButton] 未勾选且被禁用时,显示的图标。" +msgstr "该 [CheckButton] 未被勾选且被禁用时显示的图标。" #: doc/classes/CheckButton.xml msgid "The icon to display when the [CheckButton] is checked." -msgstr "当 [CheckButton] 已勾选时,显示的图标。" +msgstr "该 [CheckButton] 被勾选时显示的图标。" #: doc/classes/CheckButton.xml msgid "The icon to display when the [CheckButton] is checked and disabled." -msgstr "当 [CheckButton] 已勾选且被禁用时,显示的图标。" +msgstr "该 [CheckButton] 被勾选且被禁用时显示的图标。" #: doc/classes/CheckButton.xml msgid "" "The [StyleBox] to display as a background when the [CheckButton] is disabled." -msgstr "当 [CheckButton] 被禁用时,作为背景显示的 [StyleBox]。" +msgstr "该 [CheckButton] 被禁用时作为背景显示的 [StyleBox]。" #: doc/classes/CheckButton.xml msgid "" "The [StyleBox] to display as a background when the [CheckButton] is focused." -msgstr "当 [CheckButton] 被聚焦时,作为背景显示的 [StyleBox]。" +msgstr "该 [CheckButton] 被聚焦时作为背景显示的 [StyleBox]。" #: doc/classes/CheckButton.xml msgid "" "The [StyleBox] to display as a background when the [CheckButton] is hovered." -msgstr "当 [CheckButton] 被悬停时,作为背景显示的 [StyleBox]。" +msgstr "该 [CheckButton] 被悬停时作为背景显示的 [StyleBox]。" #: doc/classes/CheckButton.xml msgid "" "The [StyleBox] to display as a background when the [CheckButton] is hovered " "and pressed." -msgstr "当 [CheckButton] 被悬停且被按下时,作为背景显示的 [StyleBox]。" +msgstr "该 [CheckButton] 被悬停且被按下时作为背景显示的 [StyleBox]。" #: doc/classes/CheckButton.xml msgid "" "The [StyleBox] to display as a background when the [CheckButton] is pressed." -msgstr "当 [CheckButton] 被按下时,作为背景显示的 [StyleBox]。" +msgstr "该 [CheckButton] 被按下时作为背景显示的 [StyleBox]。" #: doc/classes/CircleShape2D.xml msgid "Circular shape for 2D collisions." @@ -16199,8 +16247,8 @@ msgid "" "small characters and its collision detection with everything else is very " "fast." msgstr "" -"用于 2D 碰撞的圆形形状。这种形状对塑造球或小角色很有用,它与其他东西的碰撞检" -"测非常快。" +"用于 2D 碰撞的圆形。这种形状可用于塑造球或较小的角色,它与其他东西的碰撞检测" +"非常快。" #: doc/classes/CircleShape2D.xml msgid "The circle's radius." @@ -16219,8 +16267,8 @@ msgid "" "Returns [code]true[/code] if you can instance objects from the specified " "[code]class[/code], [code]false[/code] in other case." msgstr "" -"如果可以实例化指定[code]class[/code]中的对象,则返回[code]true[/code],否则返" -"回[code]false[/code]。" +"如果可以将指定 [code]class[/code] 实例化为对象,则返回 [code]true[/code],否" +"则返回 [code]false[/code]。" #: doc/classes/ClassDB.xml msgid "Returns whether the specified [code]class[/code] is available or not." @@ -16250,8 +16298,8 @@ msgid "" "Returns the value of the integer constant [code]name[/code] of [code]class[/" "code] or its ancestry. Always returns 0 when the constant could not be found." msgstr "" -"返回[code]class[/code]的整数常量[code]name[/code]或其父级的值。找不到常量时," -"始终返回0。" +"返回 [code]class[/code]的整数常量[code]name[/code]或其父级的值。找不到常量" +"时,始终返回0。" #: doc/classes/ClassDB.xml msgid "" @@ -16289,14 +16337,14 @@ msgstr "" msgid "" "Returns the value of [code]property[/code] of [code]class[/code] or its " "ancestry." -msgstr "返回[code]class[/code]的[code]property[/code]的值或其父级。" +msgstr "返回 [code]class[/code]的[code]property[/code]的值或其父级。" #: doc/classes/ClassDB.xml msgid "" "Returns an array with all the properties of [code]class[/code] or its " "ancestry if [code]no_inheritance[/code] is [code]false[/code]." msgstr "" -"如果[code]no_inheritance[/code]为[code]false[/code],则返回具有[code]class[/" +"如果[code]no_inheritance[/code]为 [code]false[/code],则返回具有[code]class[/" "code]或其父级所有属性的数组。" #: doc/classes/ClassDB.xml @@ -16326,14 +16374,14 @@ msgstr "" msgid "" "Returns whether [code]class[/code] or its ancestry has an enum called " "[code]name[/code] or not." -msgstr "返回[code]class[/code]或其父级是否有一个称为[code]name[/code]的信号。" +msgstr "返回 [code]class[/code] 或其父级是否有称为 [code]name[/code] 的信号。" #: doc/classes/ClassDB.xml msgid "" "Returns whether [code]class[/code] or its ancestry has an integer constant " "called [code]name[/code] or not." msgstr "" -"返回[code]class[/code]或其父级是否具有称为[code]name[/code]的整数常量。" +"返回 [code]class[/code] 或其父级是否有称为 [code]name[/code] 的整数常量。" #: doc/classes/ClassDB.xml msgid "" @@ -16341,14 +16389,14 @@ msgid "" "code] is [code]false[/code]) has a method called [code]method[/code] or not." msgstr "" "返回 [code]class[/code] 是否有名为 [code]method[/code] 的方法。(如果" -"[code]no_inheritance[/code]为[code]false[/code],则返回其父级)。" +"[code]no_inheritance[/code]为 [code]false[/code],则返回其父级)。" #: doc/classes/ClassDB.xml msgid "" "Returns whether [code]class[/code] or its ancestry has a signal called " "[code]signal[/code] or not." msgstr "" -"返回[code]class[/code]或其父级是否有一个称为[code]signal[/code]的信号。" +"返回 [code]class[/code] 或其父级是否有称为 [code]signal[/code] 的信号。" #: doc/classes/ClassDB.xml msgid "" @@ -16368,7 +16416,7 @@ msgstr "返回直接或间接继承自[code]class[/code]的所有类的名称。 #: doc/classes/ClassDB.xml msgid "Returns the parent class of [code]class[/code]." -msgstr "返回[code]class[/code]的父类。" +msgstr "返回 [code]class[/code]的父类。" #: doc/classes/ClassDB.xml msgid "Creates an instance of [code]class[/code]." @@ -16382,7 +16430,7 @@ msgstr "返回是否启用此[code]class[/code]。" msgid "" "Returns whether [code]inherits[/code] is an ancestor of [code]class[/code] " "or not." -msgstr "返回[code]inherits[/code]是否是[code]class[/code]的祖先。" +msgstr "返回 [code]inherits[/code]是否是[code]class[/code]的祖先。" #: doc/classes/ClippedCamera.xml msgid "A [Camera] that includes collision." @@ -16421,7 +16469,7 @@ msgid "" "Returns [code]true[/code] if the specified bit index is on.\n" "[b]Note:[/b] Bit indices range from 0-19." msgstr "" -"如果指定的位索引打开,则返回[code]true[/code]。\n" +"如果指定的位索引打开,则返回 [code]true[/code]。\n" "[b]注意:[/b]位索引的范围是0-19。" #: doc/classes/ClippedCamera.xml @@ -16503,8 +16551,8 @@ msgid "" "Creates a new shape owner for the given object. Returns [code]owner_id[/" "code] of the new owner for future reference." msgstr "" -"为给定对象创建一个新的形状拥有者。返回[code]owner_id[/code]的新所有者,供将来" -"引用。" +"为给定对象创建一个新的形状所有者。返回 [code]owner_id[/code]的新所有者,供将" +"来引用。" #: doc/classes/CollisionObject.xml doc/classes/CollisionObject2D.xml msgid "" @@ -16549,9 +16597,9 @@ msgid "" "If [code]value[/code] is [code]false[/code], clears the specified [code]bit[/" "code] in the the [member collision_layer]." msgstr "" -"如果[code]value[/code]为[code]true[/code],则设置[member collision_layer]中指" -"定的[code]bit[/code]位。\n" -"如果[code]value[/code]为[code]false[/code],清除[member collision_layer]中指" +"如果[code]value[/code]为 [code]true[/code],则设置[member collision_layer]中" +"指定的[code]bit[/code]位。\n" +"如果[code]value[/code]为 [code]false[/code],清除[member collision_layer]中指" "定的 [code]bit[/code]位。" #: doc/classes/CollisionObject.xml doc/classes/CollisionObject2D.xml @@ -16561,10 +16609,10 @@ msgid "" "If [code]value[/code] is [code]false[/code], clears the specified [code]bit[/" "code] in the the [member collision_mask]." msgstr "" -"如果[code]value[/code]为[code]true[/code],则设置[member collision_mask]中指" +"如果[code]value[/code]为 [code]true[/code],则设置[member collision_mask]中指" "定的[code]bit[/code]位。\n" -"如果[code]value[/code]为[code]false[/code],清除[member collision_mask]中指定" -"的 [code]bit[/code]位。" +"如果[code]value[/code]为 [code]false[/code],清除[member collision_mask]中指" +"定的 [code]bit[/code]位。" #: doc/classes/CollisionObject.xml doc/classes/CollisionObject2D.xml msgid "Returns the [code]owner_id[/code] of the given shape." @@ -16686,12 +16734,16 @@ msgid "Base node for 2D collision objects." msgstr "二维碰撞对象的基础节点。" #: doc/classes/CollisionObject2D.xml +#, fuzzy msgid "" "CollisionObject2D is the base class for 2D physics objects. It can hold any " "number of 2D collision [Shape2D]s. Each shape must be assigned to a [i]shape " "owner[/i]. The CollisionObject2D can have any number of shape owners. Shape " "owners are not nodes and do not appear in the editor, but are accessible " -"through code using the [code]shape_owner_*[/code] methods." +"through code using the [code]shape_owner_*[/code] methods.\n" +"[b]Note:[/b] Only collisions between objects within the same canvas " +"([Viewport] canvas or [CanvasLayer]) are supported. The behavior of " +"collisions between objects in different canvases is undefined." msgstr "" "CollisionObject2D 是 2D 物理对象的基础类。它可以容纳任意数量的 2D 碰撞形状 " "[Shape2D]。每个形状必须分配给一个[i]形状所有者[/i]。CollisionObject2D 可以拥" @@ -16705,7 +16757,7 @@ msgid "" "[Shape2D]. Connect to the [code]input_event[/code] signal to easily pick up " "these events." msgstr "" -"接受未处理的[InputEvent]。要求[member input_pickable]为[code]true[/code]。 " +"接受未处理的[InputEvent]。要求[member input_pickable]为 [code]true[/code]。 " "[code]shape_idx[/code]被点击的[Shape2D]的子索引。连接到[code]input_event[/" "code]信号即可轻松接收这些事件。" @@ -16723,7 +16775,7 @@ msgid "" "this [CollisionObject2D] will not be reported to collided with " "[CollisionObject2D]s." msgstr "" -"返回[code]true[/code],如果源于这个[CollisionObject2D]的形状所有者的碰撞不会" +"返回 [code]true[/code],如果源于这个[CollisionObject2D]的形状所有者的碰撞不会" "被报告给[CollisionObject2D]s。" #: doc/classes/CollisionObject2D.xml @@ -16750,8 +16802,8 @@ msgid "" "originating from this [CollisionObject2D] will not be reported to collided " "with [CollisionObject2D]s." msgstr "" -"如果[code]enable[/code]为[code]true[/code],则源自这个[CollisionObject2D]的形" -"状所有者的碰撞将不会被报告给[CollisionObject2D]。" +"如果[code]enable[/code]为 [code]true[/code],则源自这个[CollisionObject2D]的" +"形状所有者的碰撞将不会被报告给[CollisionObject2D]。" #: doc/classes/CollisionObject2D.xml msgid "" @@ -16803,8 +16855,8 @@ msgid "" "[code]true[/code] and at least one [code]collision_layer[/code] bit to be " "set. See [method _input_event] for details." msgstr "" -"当输入事件发生时发出。要求 [member input_pickable]为[code]true[/code],并至少" -"要设置一个[code]collision_layer[/code]位。有关详细信息,请参阅[method " +"当输入事件发生时发出。要求 [member input_pickable]为 [code]true[/code],并至" +"少要设置一个[code]collision_layer[/code]位。有关详细信息,请参阅[method " "_input_event]。" #: doc/classes/CollisionObject2D.xml @@ -16813,7 +16865,7 @@ msgid "" "[member input_pickable] to be [code]true[/code] and at least one " "[code]collision_layer[/code] bit to be set." msgstr "" -"当鼠标指针进入此对象的任何形状时触发。要求[member input_pickable]为" +"当鼠标指针进入此对象的任何形状时触发。要求[member input_pickable]为 " "[code]true[/code],并且至少要设置一个[code]collision_layer[/code]位。" #: doc/classes/CollisionObject2D.xml @@ -16822,7 +16874,7 @@ msgid "" "[member input_pickable] to be [code]true[/code] and at least one " "[code]collision_layer[/code] bit to be set." msgstr "" -"当鼠标指针退出此对象的所有形状时发出。要求[member input_pickable]为" +"当鼠标指针退出此对象的所有形状时发出。要求[member input_pickable]为 " "[code]true[/code],并且至少要设置一个[code]collision_layer[/code]位。" #: doc/classes/CollisionPolygon.xml @@ -17047,7 +17099,7 @@ msgstr "" "wiki/X11_color_names]X11 颜色名称[/url]。\n" "如果想提供 0 到 255 范围内的值,你应该使用 [method @GDScript.Color8]。\n" "[b]注意:[/b]在布尔上下文中,等于 [code]Color(0, 0, 0, 1)[/code](不透明的黑" -"色)的 Color 将被评估为[code]false[/code]。否则,Color 将始终被评估为 " +"色)的 Color 将被评估为 [code]false[/code]。否则,Color 将始终被评估为 " "[code]true[/code]。\n" "[url=https://raw.githubusercontent.com/godotengine/godot-docs/master/img/" "color_constants.png]Color 常量速查表[/url]" @@ -17237,8 +17289,8 @@ msgid "" "approximately equal, by running [method @GDScript.is_equal_approx] on each " "component." msgstr "" -"如果这个颜色和 [code]color[/code] 近似相等,则返回[code]true[/code],方法是对" -"每个分量运行 [method @GDScript.is_equal_approx]。" +"如果这个颜色和 [code]color[/code] 近似相等,则返回 [code]true[/code],方法是" +"对每个分量运行 [method @GDScript.is_equal_approx]。" #: doc/classes/Color.xml msgid "" @@ -18179,8 +18231,8 @@ msgid "" "[member CanvasItem.visible] property." msgstr "" "返回此节点所切换的 [ColorPicker]。\n" -"[b]警告:[/b] 这是一个必需的内部节点,移除和释放它可能会导致崩溃。如果你希望" -"隐藏它或其所有子项,请使用其 [member CanvasItem.visible] 属性。" +"[b]警告:[/b]这是一个必需的内部节点,移除和释放它可能会导致崩溃。如果你希望隐" +"藏它或其所有子项,请使用其 [member CanvasItem.visible] 属性。" #: doc/classes/ColorPickerButton.xml msgid "" @@ -18193,8 +18245,8 @@ msgid "" msgstr "" "返回控件的 [PopupPanel],它允许你连接到弹出信号。这允许你在显示或隐藏 " "ColorPicker 时事件处理。\n" -"[b]警告:[/b] 这是一个必需的内部节点,删除和释放它可能会导致崩溃。如果你希望" -"隐藏它或其任何子项,请使用其 [member CanvasItem.visible] 属性。" +"[b]警告:[/b]这是一个必需的内部节点,删除和释放它可能会导致崩溃。如果你希望隐" +"藏它或其任何子项,请使用其 [member CanvasItem.visible] 属性。" #: doc/classes/ColorPickerButton.xml msgid "" @@ -18316,7 +18368,7 @@ msgid "" msgstr "" "凹多边形形状资源,可设置为[PhysicsBody]或区域。这个形状是通过提供一个三角形列" "表来创建的。\n" -"[b]注意:[/b] 用于碰撞时,[ConcavePolygonShape] 旨在与静态 [PhysicsBody] 节点" +"[b]注意:[/b]用于碰撞时,[ConcavePolygonShape] 旨在与静态 [PhysicsBody] 节点" "一起使用,如 [StaticBody],并且不适用于具有非静态模式的 [KinematicBody] 或 " "[RigidBody]。" @@ -18592,11 +18644,11 @@ msgstr "" #: doc/classes/ConfigFile.xml msgid "Returns [code]true[/code] if the specified section exists." -msgstr "如果指定的部分存在,则返回[code]true[/code]。" +msgstr "如果指定的部分存在,则返回 [code]true[/code]。" #: doc/classes/ConfigFile.xml msgid "Returns [code]true[/code] if the specified section-key pair exists." -msgstr "如果指定的段键对存在,则返回[code]true[/code]。" +msgstr "如果指定的段键对存在,则返回 [code]true[/code]。" #: doc/classes/ConfigFile.xml msgid "" @@ -18607,7 +18659,7 @@ msgid "" msgstr "" "加载指定为参数的配置文件。解析文件的内容并将其加载到调用该方法的[ConfigFile]" "对象中。\n" -"返回[enum Error]代码常量之一(成功时返回[code]OK[/code])。" +"返回[enum Error]代码常量之一(成功时返回 [code]OK[/code])。" #: doc/classes/ConfigFile.xml msgid "" @@ -18618,7 +18670,7 @@ msgid "" msgstr "" "加载指定为参数的加密配置文件,使用提供的[code]key[/code]对其解密。解析文件的" "内容并将其加载到调用该方法的[ConfigFile]对象中。\n" -"返回[enum Error]代码常量之一(成功时返回[code]OK[/code])。" +"返回[enum Error]代码常量之一(成功时返回 [code]OK[/code])。" #: doc/classes/ConfigFile.xml msgid "" @@ -18629,7 +18681,7 @@ msgid "" msgstr "" "加载作为参数的加密配置文件,使用提供的[code]password[/code]解密。该文件的内容" "被解析并加载到调用该方法的 [ConfigFile] 对象中。\n" -"返回[enum Error]代码常量之一(成功时返回[code]OK[/code])。" +"返回[enum Error]代码常量之一(成功时返回 [code]OK[/code])。" #: doc/classes/ConfigFile.xml msgid "" @@ -18649,7 +18701,7 @@ msgid "" msgstr "" "将[ConfigFile]对象的内容保存到指定为参数的文件中。输出文件使用INI样式的结" "构。\n" -"返回[enum Error]代码常量之一(成功时返回[code]OK[/code])。" +"返回[enum Error]代码常量之一(成功时返回 [code]OK[/code])。" #: doc/classes/ConfigFile.xml msgid "" @@ -18660,7 +18712,7 @@ msgid "" msgstr "" "使用提供的[code]key[/code]将[ConfigFile]对象的内容保存到作为参数指定的AES-256" "加密文件中。输出文件使用INI样式的结构。\n" -"返回[enum Error]代码常量之一(成功时返回[code]OK[/code])。" +"返回[enum Error]代码常量之一(成功时返回 [code]OK[/code])。" #: doc/classes/ConfigFile.xml msgid "" @@ -18713,8 +18765,8 @@ msgid "" "[member CanvasItem.visible] property." msgstr "" "返回取消按钮。\n" -"[b]警告:[/b] 这是一个必需的内部节点,删除和释放它可能会导致崩溃。如果你希望" -"隐藏它或其任何子项,请使用其 [member CanvasItem.visible] 属性。" +"[b]警告:[/b]这是一个必需的内部节点,删除和释放它可能会导致崩溃。如果你希望隐" +"藏它或其任何子项,请使用其 [member CanvasItem.visible] 属性。" #: doc/classes/Container.xml msgid "Base node for containers." @@ -18814,10 +18866,10 @@ msgstr "" "[Theme] 资源更改控件的外观。 如果您更改 [Control] 节点上的 [Theme],则会影响" "其所有子节点。 要覆盖某些主题的参数,请调用 [code]add_*_override[/code] 方法" "之一,例如 [method add_font_override]。 您可以使用检查器覆盖主题。\n" -"[b]注意:[/b] 主题项目[i]不是[/i] [Object] 的属性。这意味着你无法使用 " -"[method Object.get] 和 [method Object.set] 访问它们的值。请换用 [method " -"get_color]、[method get_constant]、[method get_font]、[method get_icon]、" -"[method get_stylebox],以及这个类提供的 [code]add_*_override[/code] 方法。" +"[b]注意:[/b]主题项目[i]不是[/i] [Object] 的属性。这意味着你无法使用 [method " +"Object.get] 和 [method Object.set] 访问它们的值。请换用 [method get_color]、" +"[method get_constant]、[method get_font]、[method get_icon]、[method " +"get_stylebox],以及这个类提供的 [code]add_*_override[/code] 方法。" #: doc/classes/Control.xml msgid "GUI tutorial index" @@ -19276,7 +19328,7 @@ msgid "" "[/codeblock]" msgstr "" "Godot调用此方法来获取可以拖放到期望放置数据的控件上的数据。如果没有要拖动的数" -"据,则返回[code]null[/code]。想要接收放置数据的控件应实现[method " +"据,则返回 [code]null[/code]。想要接收放置数据的控件应实现[method " "can_drop_data]和[method drop_data]。 [code]position[/code]在此控件中是本地" "的。可以使用[method force_drag]强制拖动。\n" "可以使用[method set_drag_preview]设置跟随鼠标的预览,该预览将代表数据。设置预" @@ -19306,7 +19358,7 @@ msgstr "" #: doc/classes/Control.xml msgid "" "Returns the control that has the keyboard focus or [code]null[/code] if none." -msgstr "返回有键盘焦点的控件,如果没有,则返回[code]null[/code]。" +msgstr "返回有键盘焦点的控件,如果没有,则返回 [code]null[/code]。" #: doc/classes/Control.xml msgid "" @@ -19472,7 +19524,7 @@ msgid "" "Returns [code]true[/code] if this is the current focused control. See " "[member focus_mode]." msgstr "" -"如果这是当前的焦点控件,则返回[code]true[/code]。参阅[member focus_mode]。" +"如果这是当前的焦点控件,则返回 [code]true[/code]。参阅[member focus_mode]。" #: doc/classes/Control.xml msgid "" @@ -19562,9 +19614,8 @@ msgstr "" "参阅 [method add_stylebox_override]。" #: doc/classes/Control.xml -#, fuzzy msgid "Returns [code]true[/code] if drag operation is successful." -msgstr "如果正在播放动画,返回[code]true[/code]。" +msgstr "如果拖拽操作成功,则返回 [code]true[/code]。" #: doc/classes/Control.xml msgid "" @@ -19627,11 +19678,11 @@ msgstr "" "将由[enum Margin]枚举的[code]margin[/code]常量标识的锚设置为值[code]anchor[/" "code]。用于[member anchor_bottom],[member anchor_left],[member " "anchor_right]和[member anchor_top]的setter方法。\n" -"如果[code]keep_margin[/code]为[code]true[/code],则在执行此操作后不会更新边" +"如果[code]keep_margin[/code]为 [code]true[/code],则在执行此操作后不会更新边" "距。\n" -"如果[code]push_opposite_anchor[/code]为[code]true[/code],并且相对的锚点与该" +"如果[code]push_opposite_anchor[/code]为 [code]true[/code],并且相对的锚点与该" "锚点重叠,则相对的锚点将覆盖其值。例如,当将左锚点设置为1且右锚点的值为0.5" -"时,右锚点的值也将为1。如果[code]push_opposite_anchor[/code]为[code]false[/" +"时,右锚点的值也将为1。如果[code]push_opposite_anchor[/code]为 [code]false[/" "code],则左锚点将得到值0.5。" #: doc/classes/Control.xml @@ -19782,7 +19833,7 @@ msgid "" "updated instead of margins." msgstr "" "将[member rect_global_position]设置为给定的[code]position[/code]。\n" -"如果[code]keep_margins[/code]为[code]true[/code],则控件的锚点将被更新,而不" +"如果[code]keep_margins[/code]为 [code]true[/code],则控件的锚点将被更新,而不" "是边距。" #: doc/classes/Control.xml @@ -19822,7 +19873,7 @@ msgid "" "updated instead of margins." msgstr "" "将[member rect_position]设置为给定的[code]position[/code]。\n" -"如果[code]keep_margins[/code]为[code]true[/code],则控件的锚点将被更新,而不" +"如果[code]keep_margins[/code]为 [code]true[/code],则控件的锚点将被更新,而不" "是边距。" #: doc/classes/Control.xml @@ -20051,8 +20102,8 @@ msgid "" "handled." msgstr "" "启用当你关闭控件模态时,输入是否传播。\n" -"如果[code]false[/code],在视窗输入事件处理时停止事件处理。视窗首先隐藏模态," -"之后将输入标记为已处理。" +"如果为 [code]false[/code],在视区输入事件处理时将停止事件处理。视区首先隐藏模" +"态,之后将输入标记为已处理。" #: doc/classes/Control.xml msgid "" @@ -20155,16 +20206,15 @@ msgstr "" "内容,无论是纹理还是子节点。" #: doc/classes/Control.xml -#, fuzzy msgid "" "By default, the node's pivot is its top-left corner. When you change its " "[member rect_rotation] or [member rect_scale], it will rotate or scale " "around this pivot. Set this property to [member rect_size] / 2 to pivot " "around the Control's center." msgstr "" -"默认情况下,该节点的轴心位于其左上角。当您更改其 [member rect_scale] 时,它将" -"围绕此轴心进行缩放。将此属性设置为 [member rect_size] / 2,以将轴心在节点的矩" -"形中居中。" +"默认情况下,该节点的轴心位于其左上角。当您更改其 [member rect_rotation] 或 " +"[member rect_scale] 时,它将围绕此轴心进行旋转或缩放。将此属性设置为 [member " +"rect_size] / 2,以将轴心在该 Control 内居中。" #: doc/classes/Control.xml msgid "" @@ -20315,8 +20365,8 @@ msgid "" msgstr "" "当鼠标进入控件的[code]Rect[/code]区域时触发,只要其[member mouse_filter]允许" "事件到达。\n" -"[b]注意:[/b] 如果鼠标在进入父控件的[code]Rect[/code]区域之前进入子[Control]" -"节点,在鼠标移动到父控件的[code]Rect[/code]区域之前,不会发出[signal " +"[b]注意:[/b]如果鼠标在进入父控件的[code]Rect[/code]区域之前进入子[Control]节" +"点,在鼠标移动到父控件的[code]Rect[/code]区域之前,不会发出[signal " "mouse_entered]。" #: doc/classes/Control.xml @@ -21295,7 +21345,7 @@ msgid "" msgstr "" "应用于每个粒子的轨道速度。使粒子在局部XY平面上绕原点旋转。用每秒绕原点旋转的" "次数来表示。\n" -"只有当[member flag_disable_z]为[code]true[/code]时,此属性才可用。" +"只有当[member flag_disable_z]为 [code]true[/code] 时,此属性才可用。" #: doc/classes/CPUParticles.xml doc/classes/CPUParticles2D.xml msgid "Each particle's orbital velocity will vary along this [Curve]." @@ -21880,7 +21930,7 @@ msgid "" "Return [code]true[/code] if this CryptoKey only has the public part, and not " "the private one." msgstr "" -"如果此CryptoKey仅具有公共部分,而没有私有部分,则返回[code]true[/code]。" +"如果此CryptoKey仅具有公共部分,而没有私有部分,则返回 [code]true[/code]。" #: doc/classes/CryptoKey.xml msgid "" @@ -21899,7 +21949,7 @@ msgid "" "Loads a key from the given [code]string[/code]. If [code]public_only[/code] " "is [code]true[/code], only the public key will be loaded." msgstr "" -"从给定的[code]string[/code]加载密钥。如果[code]public_only[/code]为" +"从给定的[code]string[/code]加载密钥。如果[code]public_only[/code]为 " "[code]true[/code],则仅会加载公共密钥。" #: doc/classes/CryptoKey.xml @@ -21919,7 +21969,7 @@ msgid "" "Returns a string containing the key in PEM format. If [code]public_only[/" "code] is [code]true[/code], only the public key will be included." msgstr "" -"返回包含PEM格式的密钥的字符串。如果[code]public_only[/code]为[code]true[/" +"返回包含PEM格式的密钥的字符串。如果[code]public_only[/code]为 [code]true[/" "code],则仅包含公共密钥。" #: modules/csg/doc_classes/CSGBox.xml @@ -22087,7 +22137,7 @@ msgid "" "parallel." msgstr "" "用来作为CSG形状的[Mesh]资源。\n" -"[b]注意:[/b] 当使用[ArrayMesh]时,除非需要一个平面着色器,否则要避免使用顶点" +"[b]注意:[/b]当使用[ArrayMesh]时,除非需要一个平面着色器,否则要避免使用顶点" "法线的网格。默认情况下,CSGMesh会忽略网格的顶点法线,并使用面的法线计算平整的" "着色器。如果需要使用平面着色器,请确保所有面的顶点法线是平行的。" @@ -22273,7 +22323,7 @@ msgid "" "ensure viable shapes." msgstr "" "[member polygon] 多边形的形状沿路径旋转,但不绕路径轴旋转。\n" -"[b]注意:[/b] 需要路径的 Z 坐标不断减小以确保可行的形状。" +"[b]注意:[/b]需要路径的 Z 坐标不断减小以确保可行的形状。" #: modules/csg/doc_classes/CSGPolygon.xml msgid "" @@ -22300,7 +22350,7 @@ msgstr "" #: modules/csg/doc_classes/CSGPrimitive.xml msgid "Base class for CSG primitives." -msgstr "CSG基元的基类。" +msgstr "CSG 图元的基类。" #: modules/csg/doc_classes/CSGPrimitive.xml msgid "" @@ -22362,7 +22412,7 @@ msgstr "" msgid "" "Returns [code]true[/code] if this is a root shape and is thus the object " "that is rendered." -msgstr "如果这是根形状,因此是渲染的对象,则返回[code]true[/code]。" +msgstr "如果这是根形状,因此是渲染的对象,则返回 [code]true[/code]。" #: modules/csg/doc_classes/CSGShape.xml doc/classes/SoftBody.xml msgid "" @@ -22446,7 +22496,7 @@ msgstr "" #: modules/csg/doc_classes/CSGShape.xml msgid "" "Geometry of both primitives is merged, intersecting geometry is removed." -msgstr "合并两个图元的几何,删除相交的几何。" +msgstr "合并两个图元的几何体,删除相交的几何体。" #: modules/csg/doc_classes/CSGShape.xml msgid "Only intersecting geometry remains, the rest is removed." @@ -22585,24 +22635,25 @@ msgstr "" #: doc/classes/CubeMap.xml msgid "Returns the [CubeMap]'s height." -msgstr "返回[CubeMap]的高度。" +msgstr "返回该 [CubeMap] 的高度。" #: doc/classes/CubeMap.xml msgid "" "Returns an [Image] for a side of the [CubeMap] using one of the [enum Side] " "constants." -msgstr "使用 [enum Side] 边常数之一返回 [CubeMap] 的一个侧面图像 [Image]。" +msgstr "" +"返回该 [CubeMap] 中某一面的图像 [Image],使用 [enum Side] 常量之一指定。" #: doc/classes/CubeMap.xml msgid "Returns the [CubeMap]'s width." -msgstr "返回[CubeMap]的宽度。" +msgstr "返回该 [CubeMap] 的宽度。" #: doc/classes/CubeMap.xml msgid "" "Sets an [Image] for a side of the [CubeMap] using one of the [enum Side] " "constants." msgstr "" -"为 [CubeMap] 的一个边设置图像 [Image],使用枚举边 [enum Side]常数之一。" +"设置该 [CubeMap] 中某一面的图像 [Image],使用 [enum Side] 常量之一指定。" #: doc/classes/CubeMap.xml msgid "" @@ -22799,7 +22850,7 @@ msgid "" "When using [Room]s and [Portal]s, this specifies how the [CullInstance] is " "processed in the system." msgstr "" -"当使用 [Room] 和 [Portal] 时,这规定了 [CullInstance] 在系统中的处理方式。" +"当使用 [Room] 和 [Portal] 时,这指定了 [CullInstance] 在系统中的处理方式。" #: doc/classes/CullInstance.xml msgid "" @@ -22834,20 +22885,21 @@ msgstr "" #: doc/classes/CullInstance.xml msgid "Use for instances that will move [b]between[/b] [Room]s - e.g. players." -msgstr "用于在 [Room] [b]之间[/b] 移动的实例 - 例如玩家。" +msgstr "用于在 [Room] [b]之间[/b]移动的实例——例如玩家。" #: doc/classes/CullInstance.xml msgid "" "Use for instances that will be frustum culled only - e.g. first person " "weapon, debug." -msgstr "用于只会被视锥剔除的实例 - 例如第一人称武器,调试。" +msgstr "用于只会被视锥剔除的实例——例如第一人称武器,调试。" #: doc/classes/CullInstance.xml msgid "" "Use for instances that will not be shown at all - e.g. [b]manual room " "bounds[/b] (specified by prefix [i]'Bound_'[/i])." msgstr "" -"用于根本不会显示的实例 - 例如[b]手动房间边界[/b],由前缀[i]'Bound_'[/i]指定。" +"用于根本不会显示的实例——例如[b]手动房间边界[/b](由 [i]'Bound_'[/i] 前缀指" +"定)。" #: doc/classes/Curve.xml msgid "A mathematic curve." @@ -22896,17 +22948,17 @@ msgstr "返回描述曲线的点数。" #: doc/classes/Curve.xml msgid "" "Returns the left [enum TangentMode] for the point at [code]index[/code]." -msgstr "返回[code]index[/code]处的点的左侧[enum TangentMode]。" +msgstr "返回 [code]index[/code]处的点的左侧[enum TangentMode]。" #: doc/classes/Curve.xml msgid "" "Returns the left tangent angle (in degrees) for the point at [code]index[/" "code]." -msgstr "返回[code]index[/code]处的点的左切线角(以度为单位)。" +msgstr "返回 [code]index[/code]处的点的左切线角(以度为单位)。" #: doc/classes/Curve.xml msgid "Returns the curve coordinates for the point at [code]index[/code]." -msgstr "返回[code]index[/code]处该点的曲线坐标。" +msgstr "返回 [code]index[/code]处该点的曲线坐标。" #: doc/classes/Curve.xml msgid "" @@ -22917,7 +22969,7 @@ msgstr "返回在[code]index[/code]处的点的右[enum TangentMode]。" msgid "" "Returns the right tangent angle (in degrees) for the point at [code]index[/" "code]." -msgstr "返回[code]index[/code]处的点的左切线角(以度为单位)。" +msgstr "返回 [code]index[/code]处的点的左切线角(以度为单位)。" #: doc/classes/Curve.xml msgid "" @@ -23006,7 +23058,7 @@ msgstr "可用切线模式的总数。" #: doc/classes/Curve2D.xml msgid "Describes a Bézier curve in 2D space." -msgstr "描述二维空间的贝兹尔曲线。" +msgstr "描述 2D 空间的贝塞尔曲线。" #: doc/classes/Curve2D.xml msgid "" @@ -23015,12 +23067,11 @@ msgid "" "It keeps a cache of precalculated points along the curve, to speed up " "further calculations." msgstr "" -"该类描述了二维空间中的贝兹尔曲线。它主要用于给[Path2D]一个形状,但也可以手动" -"采样用于其他目的。\n" +"该类描述了 2D 空间中的贝塞尔曲线。它主要用于给 [Path2D] 一个形状,但也可以手" +"动采样用于其他目的。\n" "它保留了沿曲线的预计算点的缓存,以加快进一步的计算。" #: doc/classes/Curve2D.xml -#, fuzzy msgid "" "Adds a point to a curve at [code]position[/code] relative to the [Curve2D]'s " "position, with control points [code]in[/code] and [code]out[/code].\n" @@ -23031,13 +23082,13 @@ msgid "" "get_point_count][/code]), the point will be appended at the end of the point " "list." msgstr "" -"在曲线的 [code]position[/code] 上添加一个点,控制点 [code]in[/code] 和 " -"[code]out[/code]。\n" +"在曲线的 [code]position[/code] 上添加一个点,相对于该 [Curve2D] 的位置,以及" +"控制点 [code]in[/code] 和 [code]out[/code]。\n" "如果给定了 [code]at_position[/code],这个点会被插入到点号 [code]at_position[/" -"code] 之前,并将这个点(以及之后的每一个点)移到被插入点之后。如果" -"[code]at_position[/code]没有给定,或者是一个非法值([code]at_position <0[/" -"code]或[code]at_position >= [method get_point_count][/code]),该点将被追加在" -"点列表的最后。" +"code] 之前,并将这个点(以及之后的每一个点)移到被插入点之后。如果 " +"[code]at_position[/code] 没有给定,或者是非法值([code]at_position <0[/code] " +"或 [code]at_position >= [method get_point_count][/code]),该点将被追加在点列" +"表的最后。" #: doc/classes/Curve2D.xml doc/classes/Curve3D.xml msgid "" @@ -23078,8 +23129,8 @@ msgid "" "returns [code](0, 0)[/code]." msgstr "" "返回指向顶点[code]idx[/code]的控制点位置。返回的位置是相对于顶点[code]idx[/" -"code]的。如果索引超出了范围,函数会向控制台发送一条错误,并返回[code](0, 0)[/" -"code]。" +"code]的。如果索引超出了范围,函数会向控制台发送一条错误,并返回 [code](0, 0)" +"[/code]。" #: doc/classes/Curve2D.xml msgid "" @@ -23234,7 +23285,6 @@ msgstr "" "它沿曲线保留了一个预先计算好的点缓存,以加快进一步的计算。" #: doc/classes/Curve3D.xml -#, fuzzy msgid "" "Adds a point to a curve at [code]position[/code] relative to the [Curve3D]'s " "position, with control points [code]in[/code] and [code]out[/code].\n" @@ -23245,13 +23295,13 @@ msgid "" "get_point_count][/code]), the point will be appended at the end of the point " "list." msgstr "" -"在曲线的 [code]position[/code] 上添加一个点,控制点 [code]in[/code] 和 " -"[code]out[/code]。\n" +"在曲线的 [code]position[/code] 上添加一个点,相对于该 [Curve2D] 的位置,以及" +"控制点 [code]in[/code] 和 [code]out[/code]。\n" "如果给定了 [code]at_position[/code],这个点会被插入到点号 [code]at_position[/" -"code] 之前,并将这个点(以及之后的每一个点)移到被插入点之后。如果" -"[code]at_position[/code]没有给定,或者是一个非法值([code]at_position <0[/" -"code]或[code]at_position >= [method get_point_count][/code]),该点将被追加在" -"点列表的最后。" +"code] 之前,并将这个点(以及之后的每一个点)移到被插入点之后。如果 " +"[code]at_position[/code] 没有给定,或者是非法值([code]at_position <0[/code] " +"或 [code]at_position >= [method get_point_count][/code]),该点将被追加在点列" +"表的最后。" #: doc/classes/Curve3D.xml msgid "Returns the cache of points as a [PoolVector3Array]." @@ -23353,8 +23403,8 @@ msgstr "" "返回曲线中 [code]offset[/code] 偏移位置的一个点,其中 [code]offset[/code] 以" "沿曲线的 3D 单位距离测量。\n" "为了做到这一点,它找到 [code]offset[/code] 所在的两个缓存点,然后进行内插值。" -"如果 [code]cubic[/code] 被设置为[code]true[/code],这个插值是立方的,如果设置" -"为 [code]false[/code],则是线性的。\n" +"如果 [code]cubic[/code] 被设置为 [code]true[/code],这个插值是立方的,如果设" +"置为 [code]false[/code],则是线性的。\n" "立体插值倾向于更好地遵循曲线,但线性插值更快(而且通常足够精确)。" #: doc/classes/Curve3D.xml @@ -23431,7 +23481,7 @@ msgstr "纹理的宽度。" #: doc/classes/CylinderMesh.xml msgid "Class representing a cylindrical [PrimitiveMesh]." -msgstr "表示圆柱形[PrimitiveMesh]的类。" +msgstr "表示圆柱形 [PrimitiveMesh] 的类。" #: doc/classes/CylinderMesh.xml msgid "" @@ -23439,8 +23489,8 @@ msgid "" "create cones by setting either the [member top_radius] or [member " "bottom_radius] properties to [code]0.0[/code]." msgstr "" -"表示圆柱形[PrimitiveMesh]的类。通过将[member top_radius]或[member " -"bottom_radius]属性设置为[code]0.0[/code],这个类可以用来创建圆锥体。" +"表示圆柱形 [PrimitiveMesh] 的类。通过将 [member top_radius] 或 [member " +"bottom_radius] 属性设置为 [code]0.0[/code],这个类可以用来创建圆锥体。" #: doc/classes/CylinderMesh.xml msgid "" @@ -23759,7 +23809,7 @@ msgstr "" #: doc/classes/Dictionary.xml msgid "Returns [code]true[/code] if the dictionary is empty." -msgstr "如果字典为空,返回[code]true[/code]。" +msgstr "如果字典为空,返回 [code]true[/code]。" #: doc/classes/Dictionary.xml msgid "" @@ -23779,7 +23829,7 @@ msgid "" "argument, or [code]null[/code] if it is omitted." msgstr "" "返回[Dictionary]中指定键的当前值。如果键不存在,则该方法返回可选默认参数的" -"值;如果省略,则返回[code]null[/code]。" +"值;如果省略,则返回 [code]null[/code]。" #: doc/classes/Dictionary.xml msgid "" @@ -23855,7 +23905,7 @@ msgstr "返回[Dictionary]中的值列表。" #: doc/classes/DirectionalLight.xml msgid "Directional light from a distance, as from the Sun." -msgstr "来自远处的平行光源,如太阳光。" +msgstr "来自远处的平行光,如太阳光。" #: doc/classes/DirectionalLight.xml msgid "" @@ -24057,7 +24107,7 @@ msgid "" msgstr "" "将 [code]from[/code] 文件复制到 [code]to[/code] 目标位置。两个参数都应该是相" "对或绝对文件的路径。如果目标文件存在且没有访问保护,则会被覆盖。\n" -"返回[enum Error]代码常量之一(成功时返回[code]OK[/code])。" +"返回[enum Error]代码常量之一(成功时返回 [code]OK[/code])。" #: doc/classes/Directory.xml msgid "" @@ -24199,7 +24249,7 @@ msgid "" msgstr "" "通过递归调用 [method make_dir]方法,创建一个目标目录和其路径中所有必要的中间" "目录。参数可以是相对于当前目录的,也可以是绝对路径。\n" -"返回[enum Error]代码常量之一(成功时返回[code]OK[/code])。" +"返回[enum Error]代码常量之一(成功时返回 [code]OK[/code])。" #: doc/classes/Directory.xml msgid "" @@ -24213,7 +24263,7 @@ msgstr "" "folder[/code]),用户目录([code]user:// folder[/code])或以下位置的绝对路径" "内:用户文件系统(例如[code]/ tmp / folder[/code]或[code]C:\\ tmp \\ " "folder[/code])。\n" -"返回[enum Error]代码常量之一(成功时返回[code]OK[/code])。" +"返回[enum Error]代码常量之一(成功时返回 [code]OK[/code])。" #: doc/classes/Directory.xml msgid "" @@ -24224,7 +24274,7 @@ msgid "" msgstr "" "删除目标文件或空目录。参数可以是相对于当前目录的,也可以是绝对路径。如果目标" "目录不是空的,操作将失败。\n" -"返回[enum Error]代码常量之一(成功时返回[code]OK[/code])。" +"返回[enum Error]代码常量之一(成功时返回 [code]OK[/code])。" #: doc/classes/Directory.xml msgid "" @@ -24307,10 +24357,10 @@ msgid "" " connected = true\n" "[/codeblock]" msgstr "" -"这个类用来存储DTLS服务器的状态。在[method setup]时,它将连接的[PacketPeerUDP]" -"转换为[PacketPeerDTLS],通过[method take_connection]接受它们作为DTLS客户端。" -"底下,这个类是用来存储服务器的DTLS状态和cookie的。为什么需要状态和cookie的原" -"因不在本文档的范围内。\n" +"这个类用来存储 DTLS 服务器的状态。在 [method setup] 时,它将连接的 " +"[PacketPeerUDP] 转换为 [PacketPeerDTLS],通过 [method take_connection] 接受它" +"们作为 DTLS 客户端。底下,这个类是用来存储服务器的 DTLS 状态和 cookie 的。为" +"什么需要状态和 cookie 的原因不在本文档的范围内。\n" "下面以一个小例子来说明如何使用它。\n" "[codeblock]\n" "# server.gd\n" @@ -24322,8 +24372,8 @@ msgstr "" "\n" "func _ready():\n" " server.listen(4242)\n" -" var key = load(\"key.key\") # Your private key.\n" -" var cert = load(\"cert.crt\") # Your X509 certificate.\n" +" var key = load(\"key.key\") # 你的私钥。\n" +" var cert = load(\"cert.crt\") # 你的 X509 证书。\n" " dtls.setup(key, cert)\n" "\n" "func _process(delta):\n" @@ -24331,17 +24381,16 @@ msgstr "" " var peer : PacketPeerUDP = server.take_connection()\n" " var dtls_peer : PacketPeerDTLS = dtls.take_connection(peer)\n" " if dtls_peer.get_status() != PacketPeerDTLS.STATUS_HANDSHAKING:\n" -" continue # It is normal that 50% of the connections fails due to " -"cookie exchange.\n" -" print(\"Peer connected!\")\n" +" continue # 由于 cookie 交换,50% 的连接会失败,这是正常现象。\n" +" print(\"对等体已连接!\")\n" " peers.append(dtls_peer)\n" " for p in peers:\n" " p.poll() # Must poll to update the state.\n" " if p.get_status() == PacketPeerDTLS.STATUS_CONNECTED:\n" " while p.get_available_packet_count() > 0:\n" -" print(\"Received message from client: %s\" % p.get_packet()." +" print(\"从客户的收到消息:%s\" % p.get_packet()." "get_string_from_utf8())\n" -" p.put_packet(\"Hello DTLS client\".to_utf8())\n" +" p.put_packet(\"Hello DTLS 客户端\".to_utf8())\n" "[/codeblock]\n" "[codeblock]\n" "# client.gd\n" @@ -24353,17 +24402,16 @@ msgstr "" "\n" "func _ready():\n" " udp.connect_to_host(\"127.0.0.1\", 4242)\n" -" dtls.connect_to_peer(udp, false) # Use true in production for " -"certificate validation!\n" +" dtls.connect_to_peer(udp, false) # 生产环境中请使用 true 进行证书校验!\n" "\n" "func _process(delta):\n" " dtls.poll()\n" " if dtls.get_status() == PacketPeerDTLS.STATUS_CONNECTED:\n" " if !connected:\n" -" # Try to contact server\n" -" dtls.put_packet(\"The answer is... 42!\".to_utf8())\n" +" # 尝试联系服务器\n" +" dtls.put_packet(\"答案是……42!\".to_utf8())\n" " while dtls.get_available_packet_count() > 0:\n" -" print(\"Connected: %s\" % dtls.get_packet()." +" print(\"已连接:%s\" % dtls.get_packet()." "get_string_from_utf8())\n" " connected = true\n" "[/codeblock]" @@ -24409,9 +24457,8 @@ msgid "" "main font.\n" "DynamicFont uses the [url=https://www.freetype.org/]FreeType[/url] library " "for rasterization. Supported formats are TrueType ([code].ttf[/code]), " -"OpenType ([code].otf[/code]) and Web Open Font Format 1 ([code].woff[/" -"code]). Web Open Font Format 2 ([code].woff2[/code]) is [i]not[/i] " -"supported.\n" +"OpenType ([code].otf[/code]), Web Open Font Format 1 ([code].woff[/code]), " +"and Web Open Font Format 2 ([code].woff2[/code]).\n" "[codeblock]\n" "var dynamic_font = DynamicFont.new()\n" "dynamic_font.font_data = load(\"res://BarlowCondensed-Bold.ttf\")\n" @@ -24430,9 +24477,9 @@ msgstr "" "和间距等参数的能力。使用 [DynamicFontData] 引用字体文件路径。DynamicFont 还支" "持定义若干备用字体,这些字体将在主字体不支持显示某个字符时使用。\n" "DynamicFont 使用 [url=https://www.freetype.org/]FreeType[/url] 库进行光栅化处" -"理。支持的格式有 TrueType([code].ttf[/code])、OpenType([code].otf[/code])" -"和 Web Open Font Format 1([code].woff[/code])。[i]不支持[/i] Web Open Font " -"Format 2([code].woff2[/code])。\n" +"理。支持的格式有 TrueType([code].ttf[/code])、OpenType([code].otf[/" +"code])、Web Open Font Format 1([code].woff[/code])、Web Open Font Format 2" +"([code].woff2[/code])。\n" "[codeblock]\n" "var dynamic_font = DynamicFont.new()\n" "dynamic_font.font_data = load(\"res://BarlowCondensed-Bold.ttf\")\n" @@ -24556,8 +24603,8 @@ msgid "" "appearance when downscaling it if font oversampling is disabled or " "ineffective." msgstr "" -"为 [code]true[/code] 时将使用多级渐远纹理。在字体过度采样被禁用或无效时,可改" -"善字体缩小时的表现。" +"为 [code]true[/code] 时将使用 mipmap 多级渐远纹理。在字体过度采样被禁用或无效" +"时,可改善字体缩小时的表现。" #: doc/classes/DynamicFont.xml msgid "Spacing at the top." @@ -24785,12 +24832,12 @@ msgid "" "To manage editor feature profiles visually, use [b]Editor > Manage Feature " "Profiles...[/b] at the top of the editor window." msgstr "" -"编辑器功能配置文件可以用来禁用Godot编辑器的特定功能。当禁用时,这些功能将不会" -"出现在编辑器中,从而使编辑器不那么混乱。这个设置使编辑器更简洁,在团队中工作" -"时。例如,游戏美术和关卡设计师可以使用禁用脚本编辑器的功能配置文件,以避免意" -"外地对他们不应该编辑的文件进行更改。\n" -"要可视化地管理编辑器功能配置文件,请使用编辑器窗口顶部的[b]编辑器 >打开\"编辑" -"器数据/设置\"文件夹..[/b]。" +"编辑器功能配置文件可以用来禁用 Godot 编辑器的特定功能。当禁用时,这些功能将不" +"会出现在编辑器中,从而使编辑器不那么混乱。这个设置使编辑器更简洁,在团队中工" +"作时。例如,游戏美术和关卡设计师可以使用禁用脚本编辑器的功能配置文件,以避免" +"意外地对他们不应该编辑的文件进行更改。\n" +"要可视化地管理编辑器功能配置文件,请使用编辑器窗口顶部的[b]编辑器 >管理功能配" +"置文件...[/b]。" #: doc/classes/EditorFeatureProfile.xml msgid "Returns the specified [code]feature[/code]'s human-readable name." @@ -24823,7 +24870,7 @@ msgid "" "appear in the inspector when selecting a node that extends the class " "specified by [code]class_name[/code]." msgstr "" -"如果[code]class_name[/code]指定的类中的[code]property[/code]被禁用,则返回" +"如果[code]class_name[/code]指定的类中的[code]property[/code]被禁用,则返回 " "[code]true[/code]。当属性被禁用时,当[code]class_name[/code]类被指定为类的(继" "承)父节点时,它将不会出现在检查器中。" @@ -24832,8 +24879,8 @@ msgid "" "Returns [code]true[/code] if the [code]feature[/code] is disabled. When a " "feature is disabled, it will disappear from the editor entirely." msgstr "" -"如果[code]feature[/code]被禁用,返回[code]true[/code]。当一个功能被禁用时,它" -"将从编辑器中完全消失。" +"如果[code]feature[/code]被禁用,返回 [code]true[/code]。当一个功能被禁用时," +"它将从编辑器中完全消失。" #: doc/classes/EditorFeatureProfile.xml msgid "" @@ -24970,9 +25017,9 @@ msgid "" "may cause a crash. If you wish to hide it or any of its children, use their " "[member CanvasItem.visible] property." msgstr "" -"返回用于显示文件系统的[code]VBoxContainer[/code]。\n" -"[b]警告:[/b] 这是一个必需的内部节点,移除和释放它可能会导致崩溃。如果你想隐" -"藏它或它的任何子节点,请使用 [member CanvasItem.visible] 属性。" +"返回用于显示文件系统的 [code]VBoxContainer[/code]。\n" +"[b]警告:[/b]这是一个必需的内部节点,移除和释放它可能会导致崩溃。如果你想隐藏" +"它或它的任何子节点,请使用 [member CanvasItem.visible] 属性。" #: doc/classes/EditorFileDialog.xml msgid "" @@ -25437,7 +25484,7 @@ msgstr "" "\n" " return true\n" "[/codeblock]\n" -"返回[code]true[/code],使所有选项始终可见。" +"返回 [code]true[/code],使所有选项始终可见。" #: doc/classes/EditorImportPlugin.xml msgid "" @@ -25508,24 +25555,36 @@ msgstr "" "法。" #: doc/classes/EditorInspector.xml -msgid "A tab used to edit properties of the selected node." +#, fuzzy +msgid "A control used to edit properties of an object." msgstr "用于编辑所选节点的属性的选项卡。" #: doc/classes/EditorInspector.xml msgid "" -"The editor inspector is by default located on the right-hand side of the " -"editor. It's used to edit the properties of the selected node. For example, " -"you can select a node such as [Sprite] then edit its transform through the " -"inspector tool. The editor inspector is an essential tool in the game " -"development workflow.\n" -"[b]Note:[/b] This class shouldn't be instantiated directly. Instead, access " -"the singleton using [method EditorInterface.get_inspector]." +"This is the control that implements property editing in the editor's " +"Settings dialogs, the Inspector dock, etc. To get the [EditorInspector] used " +"in the editor's Inspector dock, use [method EditorInterface.get_inspector].\n" +"[EditorInspector] will show properties in the same order as the array " +"returned by [method Object.get_property_list].\n" +"If a property's name is path-like (i.e. if it contains forward slashes), " +"[EditorInspector] will create nested sections for \"directories\" along the " +"path. For example, if a property is named [code]highlighting/gdscript/" +"node_path_color[/code], it will be shown as \"Node Path Color\" inside the " +"\"GDScript\" section nested inside the \"Highlighting\" section.\n" +"If a property has [constant @GlobalScope.PROPERTY_USAGE_GROUP] usage, it " +"will group subsequent properties whose name starts with the property's hint " +"string. The group ends when a property does not start with that hint string " +"or when a new group starts. An empty group name effectively ends the current " +"group. [EditorInspector] will create a top-level section for each group. For " +"example, if a property with group usage is named [code]Collide With[/code] " +"and its hint string is [code]collide_with_[/code], a subsequent " +"[code]collide_with_area[/code] property will be shown as \"Area\" inside the " +"\"Collide With\" section.\n" +"[b]Note:[/b] Unlike sections created from path-like property names, " +"[EditorInspector] won't capitalize the name for sections created from " +"groups. So properties with group usage usually use capitalized names instead " +"of snake_cased names." msgstr "" -"编辑器检查器默认位于编辑器的右侧,用来编辑所选节点的属性。例如,你可以选择一" -"个节点,如 [Sprite],然后通过检查器工具编辑其变换。编辑器检查器是游戏开发工作" -"流程中的一个重要工具。\n" -"[b]注意:[/b]这个类不应该被直接实例化。请使用 [method EditorInterface." -"get_inspector] 访问单例代替。" #: doc/classes/EditorInspector.xml msgid "" @@ -25643,7 +25702,7 @@ msgstr "" #: doc/classes/EditorInspectorPlugin.xml msgid "Returns [code]true[/code] if this object can be handled by this plugin." -msgstr "如果此插件可以处理此对象返回[code]true[/code]。" +msgstr "如果此插件可以处理此对象返回 [code]true[/code]。" #: doc/classes/EditorInspectorPlugin.xml msgid "Called to allow adding controls at the beginning of the list." @@ -25665,8 +25724,8 @@ msgid "" "editor before the built-in one." msgstr "" "允许被调用在检查器中添加特定属性的编辑器。通常这些编辑器继承" -"[EditorProperty]。返回[code]true[/code]删除该属性的内置编辑器,否则允许在内置" -"编辑器之前插入一个自定义编辑器。" +"[EditorProperty]。返回 [code]true[/code]删除该属性的内置编辑器,否则允许在内" +"置编辑器之前插入一个自定义编辑器。" #: doc/classes/EditorInterface.xml msgid "Godot editor's interface." @@ -25721,17 +25780,17 @@ msgid "" "[b]Warning:[/b] Removing and freeing this node will render the editor " "useless and may cause a crash." msgstr "" -"返回Godot编辑器窗口的主容器。例如,你可以用它来检索容器的大小并相应地放置你的" -"控件。\n" -"[b]警告:[/b] 删除和释放这个节点将使编辑器失效,并可能导致崩溃。" +"返回 Godot 编辑器窗口的主容器。例如,你可以用它来检索容器的大小并相应地放置你" +"的控件。\n" +"[b]警告:[/b]删除和释放这个节点将使编辑器失效,并可能导致崩溃。" #: doc/classes/EditorInterface.xml msgid "Returns the current path being viewed in the [FileSystemDock]." -msgstr "返回在[FileSystemDock]中查看的当前路径。" +msgstr "返回在 [FileSystemDock] 中查看的当前路径。" #: doc/classes/EditorInterface.xml msgid "Returns the edited (current) scene's root [Node]." -msgstr "返回已编辑的(当前)场景的根节点[Node]。" +msgstr "返回正在编辑的(当前)场景的根 [Node]。" #: doc/classes/EditorInterface.xml msgid "" @@ -25750,7 +25809,7 @@ msgstr "" #: doc/classes/EditorInterface.xml msgid "Returns the editor's [EditorSettings] instance." -msgstr "返回编辑器的[EditorSettings]实例。" +msgstr "返回编辑器的 [EditorSettings] 实例。" #: doc/classes/EditorInterface.xml msgid "" @@ -25772,7 +25831,7 @@ msgid "" "editor useless and may cause a crash." msgstr "" "返回编辑器的文件系统面板 [FileSystemDock] 实例。\n" -"[b]警告:[/b] 移除和释放此节点将使编辑器的一部分失去作用,并可能导致崩溃。" +"[b]警告:[/b]移除和释放此节点将使编辑器的一部分失去作用,并可能导致崩溃。" #: doc/classes/EditorInterface.xml msgid "" @@ -25781,7 +25840,7 @@ msgid "" "editor useless and may cause a crash." msgstr "" "返回编辑器的属性检查器 [EditorInspector]实例。\n" -"[b]警告:[/b] 删除和释放这个节点将使编辑器的一部分失去作用,并可能导致崩溃。" +"[b]警告:[/b]删除和释放这个节点将使编辑器的一部分失去作用,并可能导致崩溃。" #: doc/classes/EditorInterface.xml msgid "Returns an [Array] with the file paths of the currently opened scenes." @@ -25808,7 +25867,7 @@ msgid "" "editor useless and may cause a crash." msgstr "" "返回编辑器的脚本编辑器 [ScriptEditor] 实例。\n" -"[b]警告:[/b] 删除和释放这个节点将使编辑器的一部分失去作用,并可能导致崩溃。" +"[b]警告:[/b]删除和释放这个节点将使编辑器的一部分失去作用,并可能导致崩溃。" #: doc/classes/EditorInterface.xml msgid "" @@ -25839,8 +25898,8 @@ msgid "" "Returns [code]true[/code] if a scene is currently being played, [code]false[/" "code] otherwise. Paused scenes are considered as being played." msgstr "" -"如果场景正在播放,返回[code]true[/code],否则返回[code]false[/code]。暂停的场" -"景将被视为正在播放。" +"如果场景正在播放,返回 [code]true[/code],否则返回 [code]false[/code]。暂停的" +"场景将被视为正在播放。" #: doc/classes/EditorInterface.xml msgid "" @@ -26027,7 +26086,7 @@ msgid "" msgstr "" "注册一个新的编辑器导入插件 [EditorImportPlugin]。导入插件用于导入自定义和不支" "持的资产,作为一个自定义的 [Resource] 资源类型。\n" -"[b]注意:[/b] 如果你想导入自定义的 3D 资产格式,请使用 [method " +"[b]注意:[/b]如果你想导入自定义的 3D 资产格式,请使用 [method " "add_scene_import_plugin] 代替。\n" "参见 [method add_inspector_plugin] 以了解如何注册一个插件的例子。" @@ -26053,7 +26112,7 @@ msgid "" msgstr "" "注册一个新的编辑器属性检查器插件[EditorInspectorPlugin]。检查器插件用于扩展 " "[EditorInspector] 并为你的对象属性提供自定义配置工具。\n" -"[b]注意:[/b] 当你的 [EditorPlugin] 被禁用时,一定要使用 [method " +"[b]注意:[/b]当你的 [EditorPlugin] 被禁用时,一定要使用 [method " "remove_inspector_plugin] 来删除注册的 [EditorInspectorPlugin],以防止泄漏和出" "现意外行为。\n" "[codeblock]\n" @@ -26458,7 +26517,7 @@ msgid "" "the workspace selector together with [b]2D[/b], [b]3D[/b], [b]Script[/b] and " "[b]AssetLib[/b])." msgstr "" -"如果这是一个主屏幕编辑插件,返回[code]true[/code](它与[b]2D[/b]、[b]3D[/b]、" +"如果这是一个主屏幕编辑插件,返回 [code]true[/code](它与[b]2D[/b]、[b]3D[/b]、" "[b]Script[/b]和[b]AssetLib[/b]一起放在工作区选择器中)。" #: doc/classes/EditorPlugin.xml @@ -26690,8 +26749,8 @@ msgid "" "with the editor theme's warning color. This is used for editable children's " "properties." msgstr "" -"检查器会使用,当属性用编辑器主题的警告颜色着色时,请设置为[code]true[/code]。" -"这用于可编辑的子节点的属性。" +"检查器会使用,当属性用编辑器主题的警告颜色着色时,请设置为 [code]true[/" +"code]。这用于可编辑的子节点的属性。" #: doc/classes/EditorProperty.xml msgid "" @@ -26852,8 +26911,8 @@ msgid "" "[code]edit[/code] is [code]true[/code], the signal was caused by the context " "menu \"Edit\" option." msgstr "" -"当资源值被设置,并且用户点击它编辑时触发。当[code]edit[/code]为[code]true[/" -"code]时,该信号是由上下文菜单的 \"Edit\" 选项引起。" +"当资源值被设置,并且用户点击它编辑时触发。当[code]edit[/code]为 [code]true[/" +"code] 时,该信号是由上下文菜单的 \"Edit\" 选项引起。" #: doc/classes/EditorResourcePreview.xml msgid "Helper to generate previews of resources or files." @@ -26950,9 +27009,9 @@ msgid "" "generate] or [method generate_from_path] for small previews as well.\n" "By default, it returns [code]false[/code]." msgstr "" -"如果该函数返回[code]true[/code],生成器将调用[method generate]或[method " +"如果该函数返回 [code]true[/code],生成器将调用[method generate]或[method " "generate_from_path]来进行小型预览。\n" -"默认情况下,它会返回[code]false[/code]。" +"默认情况下,它会返回 [code]false[/code]。" #: doc/classes/EditorResourcePreviewGenerator.xml msgid "" @@ -26989,15 +27048,16 @@ msgid "" "methods [method generate] or [method generate_from_path].\n" "By default, it returns [code]false[/code]." msgstr "" -"如果此函数返回[code]true[/code],则生成器将根据由[method generate]或[method " +"如果此函数返回 [code]true[/code],则生成器将根据由[method generate]或[method " "generate_from_path]方法生成的常规预览纹理自动生成较小的预览。\n" -"默认情况下,它返回[code]false[/code]。" +"默认情况下,它返回 [code]false[/code]。" #: doc/classes/EditorResourcePreviewGenerator.xml msgid "" "Returns [code]true[/code] if your generator supports the resource of type " "[code]type[/code]." -msgstr "如果你的生成器支持类型[code]type[/code]的资源,返回[code]true[/code]。" +msgstr "" +"如果你的生成器支持类型[code]type[/code]的资源,返回 [code]true[/code]。" #: doc/classes/EditorSceneImporter.xml msgid "Imports scenes from third-parties' 3D files." @@ -27070,6 +27130,14 @@ msgstr "" "-Binary format in FBX 2017 二进制格式为2017 FBX\n" "[/codeblock]" +#: modules/gltf/doc_classes/EditorSceneImporterGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [EditorSceneImporterGLTF] within a script will cause an error in an " +"exported project." +msgstr "" + #: doc/classes/EditorScenePostImport.xml msgid "Post-processes scenes after import." msgstr "导入后对场景进行后处理。" @@ -27167,7 +27235,7 @@ msgstr "" "[b]File > Run[/b] 菜单选项(或按 [code]Ctrl+Shift+X[/code])执行。这对于向 " "Godot添加自定义的编辑内功能很有用。对于更复杂的添加,可以考虑使用 " "[EditorPlugin] 代替。\n" -"[b]注意:[/b] 扩展脚本需要启用 [code]tool[/code] 工具模式。\n" +"[b]注意:[/b]扩展脚本需要启用 [code]tool[/code] 工具模式。\n" "[b]示例脚本:[/b]\n" "[codeblock]\n" "tool\n" @@ -27176,8 +27244,8 @@ msgstr "" "func _run():\n" " print(\"Hello from the Godot Editor!\")\n" "[/codeblock]\n" -"[b]注意:[/b] 脚本在编辑器上下文中运行,这意味着输出在与编辑器一起启动的控制" -"台窗口(stdout),而不是通常的 Godot [b]输出[/b]面板 。" +"[b]注意:[/b]脚本在编辑器上下文中运行,这意味着输出在与编辑器一起启动的控制台" +"窗口(stdout),而不是通常的 Godot [b]输出[/b]面板 。" #: doc/classes/EditorScript.xml msgid "This method is executed by the Editor when [b]File > Run[/b] is used." @@ -27221,7 +27289,7 @@ msgstr "" "用,但只用于编辑 [Node] 的 [code]script[/code] 属性。创建包含所有可能子类型的" "新资源的默认选项 被替换为打开“附加节点脚本”对话框的专用按钮。可以与 " "[EditorInspectorPlugin] 一起使用以重新创建相同的行为。\n" -"[b]注意:[/b] 你必须设置 [member script_owner] 才能让自定义的上下文菜单项发挥" +"[b]注意:[/b]你必须设置 [member script_owner] 才能让自定义的上下文菜单项发挥" "作用。" #: doc/classes/EditorScriptPicker.xml @@ -27378,7 +27446,7 @@ msgid "" "code] will be returned instead. See also [method set_project_metadata]." msgstr "" "返回指定的[code]section[/code]和[code]key[/code]的特定项目元数据。如果元数据" -"不存在,将返回[code]default[/code]。另请参阅 [method set_project_metadata]。" +"不存在,将返回 [code]default[/code]。另请参阅 [method set_project_metadata]。" #: doc/classes/EditorSettings.xml msgid "" @@ -27429,9 +27497,9 @@ msgid "" "When this method returns [code]true[/code], a Revert button will display " "next to the setting in the Editor Settings." msgstr "" -"如果[code]name[/code]指定的设置可以将其值还原为默认值,则返回[code]true[/" -"code],否则返回[code]false[/code]。当此方法返回[code]true[/code]时,编辑器设" -"置中的设置旁边会显示一个还原按钮。" +"如果[code]name[/code]指定的设置可以将其值还原为默认值,则返回 [code]true[/" +"code],否则返回 [code]false[/code]。当此方法返回 [code]true[/code] 时,编辑器" +"设置中的设置旁边会显示一个还原按钮。" #: doc/classes/EditorSettings.xml msgid "" @@ -27614,7 +27682,7 @@ msgid "" "Returns [code]true[/code] if the handle at index [code]index[/code] is " "highlighted by being hovered with the mouse." msgstr "" -"如果鼠标悬停索引为 [code]index[/code] 的句柄高亮,则返回[code]true[/code]。" +"如果鼠标悬停索引为 [code]index[/code] 的句柄高亮,则返回 [code]true[/code]。" #: doc/classes/EditorSpatialGizmo.xml msgid "" @@ -27682,7 +27750,7 @@ msgid "" "Override this method to define whether the gizmo can be hidden or not. " "Returns [code]true[/code] if not overridden." msgstr "" -"重写此方法以定义是否可以隐藏Gizmo。如果未覆盖,则返回[code]true[/code]。" +"重写此方法以定义是否可以隐藏Gizmo。如果未覆盖,则返回 [code]true[/code]。" #: doc/classes/EditorSpatialGizmoPlugin.xml msgid "" @@ -27773,7 +27841,7 @@ msgid "" msgstr "" "重写此方法可以设置工具的优先级。值越高,优先级越高。如果具有较高优先级的工具" "与另一个工具发生冲突,则仅使用具有较高优先级的工具。\n" -"所有内置编辑器小控件均返回[code]-1[/code]优先级。如果未重写,则此方法将返回" +"所有内置编辑器小控件均返回 [code]-1[/code]优先级。如果未重写,则此方法将返回 " "[code]0[/code],这意味着自定义控件将自动覆盖内置控件。" #: doc/classes/EditorSpatialGizmoPlugin.xml @@ -28028,18 +28096,20 @@ msgstr "" #: doc/classes/EditorVCSInterface.xml msgid "" "Helper function to create a commit [Dictionary] item. [code]msg[/code] is " -"the commit message of the commit. [code]author[/code] is a human-readable " -"string containing the author's details, e.g. the email and name configured " -"in the VCS. [code]id[/code] is the identifier of the commit, in whichever " -"format your VCS may provide an identifier to commits. [code]date[/code] is " -"directly added to the commit item and displayed in the editor, and hence, it " -"shall be a well-formatted, human-readable date string." +"the commit message of the commit. [code]author[/code] is a single human-" +"readable string containing all the author's details, e.g. the email and name " +"configured in the VCS. [code]id[/code] is the identifier of the commit, in " +"whichever format your VCS may provide an identifier to commits. " +"[code]unix_timestamp[/code] is the UTC Unix timestamp of when the commit was " +"created. [code]offset_minutes[/code] is the timezone offset in minutes, " +"recorded from the system timezone where the commit was created." msgstr "" "创建提交 [Dictionary] 项目的辅助函数。[code]msg[/code] 为该提交的提交消息。" -"[code]author[/code] 为包含作者详情的人类可读的字符串,例如 VCS 中配置的邮箱和" -"名称。[code]id[/code] 为该提交的标识符,使用你的 VCS 为提交所提供的标识符的格" -"式。日期 [code]date[/code] 会被直接加入到该提交项目并被显示在编辑器中,因此," -"应当进行正确格式化,是人类可读的日期字符串。" +"[code]author[/code] 为包含所有作者详情的人类可读的字符串,例如 VCS 中配置的邮" +"箱和名称。[code]id[/code] 为该提交的标识符,使用你的 VCS 为提交所提供的标识符" +"的格式。[code]unix_timestamp[/code] 为该提交创建时的 UTC Unix 时间戳。" +"[code]offset_minutes[/code] 为该提交创建时,当前系统时区的偏移量,单位为分" +"钟。" #: doc/classes/EditorVCSInterface.xml msgid "" @@ -28353,7 +28423,7 @@ msgid "" "Returns [code]true[/code] if a singleton with given [code]name[/code] exists " "in global scope." msgstr "" -"如果全局范围内存在具有给定[code]name[/code]的单例,则返回[code]true[/code]。" +"如果全局范围内存在具有给定[code]name[/code]的单例,则返回 [code]true[/code]。" #: doc/classes/Engine.xml msgid "" @@ -28529,9 +28599,9 @@ msgstr "" "用。如果是 “3D Without Effect”,则以下选项不可用:\n" "- Ssao(屏幕空间环境光遮蔽)\n" "- Ss Reflections(屏幕空间反射)\n" -"根视窗的预期使用方法可以通过 [member ProjectSettings.rendering/quality/" -"intended_usage/framebuffer_allocation] 调整,其他视窗通过 [member Viewport." -"usage] 调整。\n" +"根 Viewport 的预期使用方法可以通过 [member ProjectSettings.rendering/quality/" +"intended_usage/framebuffer_allocation] 调整,其他 Viewport 通过 [member " +"Viewport.usage] 调整。\n" "请注意,[member ProjectSettings.rendering/quality/intended_usage/" "framebuffer_allocation] 的移动平台覆盖项默认使用“3D Without Effects”。这样可" "以提升移动设备上的性能,但同时会影响移动设备上的屏幕显示。" @@ -28554,7 +28624,7 @@ msgid "" "Returns [code]true[/code] if the glow level [code]idx[/code] is specified, " "[code]false[/code] otherwise." msgstr "" -"如果指定了发光等级 [code]idx[/code],返回 [code]true[/code],否则返回 " +"如果指定了辉光等级 [code]idx[/code],返回 [code]true[/code],否则返回 " "[code]false[/code]。" #: doc/classes/Environment.xml @@ -28564,8 +28634,8 @@ msgid "" "will slow down the glow effect rendering, even if previous levels aren't " "enabled." msgstr "" -"启用或禁用索引 [code]idx[/code] 处的发光级别。每个级别都依赖于前一个级别。这" -"意味着启用较高的发光等级会减慢辉光效果的渲染速度,即使之前的等级没有启用。" +"启用或禁用索引 [code]idx[/code] 处的辉光等级。每个级别都依赖于前一个级别。这" +"意味着启用较高的辉光等级会减慢辉光效果的渲染速度,即使之前的等级没有启用。" #: doc/classes/Environment.xml msgid "" @@ -28589,8 +28659,8 @@ msgid "" "The global contrast value of the rendered scene (default value is 1). " "Effective only if [code]adjustment_enabled[/code] is [code]true[/code]." msgstr "" -"渲染场景的全局对比度值(默认值为1)。只有当[code]adjust_enabled[/code]为" -"[code]true[/code]时才有效。" +"渲染场景的全局对比度值(默认值为1)。只有当[code]adjust_enabled[/code]为 " +"[code]true[/code] 时才有效。" #: doc/classes/Environment.xml msgid "" @@ -28609,7 +28679,7 @@ msgid "" "1). Effective only if [code]adjustment_enabled[/code] is [code]true[/code]." msgstr "" "渲染场景的全局色彩饱和度值,默认值为1。只有在[code]adjustment_enabled[/code]" -"为[code]true[/code]时才有效。" +"为 [code]true[/code] 时才有效。" #: doc/classes/Environment.xml msgid "The ambient light's [Color]." @@ -28783,7 +28853,7 @@ msgid "" "If [code]true[/code], the depth fog effect is enabled. When enabled, fog " "will appear in the distance (relative to the camera)." msgstr "" -"如果为[code]true[/code],则启用深度雾效果。启用后,雾将出现在远处(相对于相" +"如果为 [code]true[/code],则启用深度雾效果。启用后,雾将出现在远处(相对于相" "机)。" #: doc/classes/Environment.xml @@ -28801,7 +28871,7 @@ msgid "" "actually display fog." msgstr "" "如果[code]true[/code],则启用雾化效果。必须将[member fog_height_enabled]和/或" -"[member fog_depth_enabled]设置为[code]true[/code],才能实际显示雾气。" +"[member fog_depth_enabled]设置为 [code]true[/code],才能实际显示雾气。" #: doc/classes/Environment.xml msgid "" @@ -28816,9 +28886,9 @@ msgid "" "camera. This can be used to simulate \"deep water\" effects with a lower " "performance cost compared to a dedicated shader." msgstr "" -"如果为[code]true[/code],则启用高度雾化效果。启用后,无论与相机的距离有多远," -"雾气都会出现在规定的高度范围内。这可以用来模拟 \"深水 \"效果,与专用着色器相" -"比,性能成本更低。" +"如果为 [code]true[/code],则启用高度雾化效果。启用后,无论与相机的距离有多" +"远,雾气都会出现在规定的高度范围内。这可以用来模拟 \"深水 \"效果,与专用着色" +"器相比,性能成本更低。" #: doc/classes/Environment.xml msgid "" @@ -28873,22 +28943,20 @@ msgid "" "GPU supports the [code]GL_EXT_gpu_shader4[/code] extension." msgstr "" "以牺牲性能为代价,消除由更高级别采样产生的块状效应。\n" -"[b]注意:[/b] 使用 GLES2渲染器时,只有GPU支持 [code]GL_EXT_gpu_shader4[/" -"code] 扩展时才可用。" +"[b]注意:[/b]使用 GLES2渲染器时,只有GPU支持 [code]GL_EXT_gpu_shader4[/code] " +"扩展时才可用。" #: doc/classes/Environment.xml msgid "The glow blending mode." -msgstr "发光混合模式。" +msgstr "辉光混合模式。" #: doc/classes/Environment.xml msgid "" "The bloom's intensity. If set to a value higher than [code]0[/code], this " "will make glow visible in areas darker than the [member glow_hdr_threshold]." msgstr "" -"bloom的强度。如果设置为大于[code]0[/code]的值,则将在比[member " -"glow_hdr_threshold]成员更暗的区域中显示辉光。 bloom:有时被称为光晕或辉光,是" -"一种用于视频游戏、演示和高动态范围渲染(HDRR)的计算机图形效果,用于再现真实世" -"界相机的成像工件。" +"泛光的强度。如果设置为大于 [code]0[/code] 的值,则将在比 [member " +"glow_hdr_threshold] 成员更暗的区域中显示辉光。" #: doc/classes/Environment.xml msgid "" @@ -28908,16 +28976,16 @@ msgid "" "[member ProjectSettings.rendering/quality/depth/hdr]'s [code].mobile[/code] " "override." msgstr "" -"为 [code]true[/code] 时,启用发光效果。\n" +"为 [code]true[/code] 时,启用辉光效果。\n" "[b]注意:[/b]仅在 [member ProjectSettings.rendering/quality/intended_usage/" "framebuffer_allocation] 为 [b]3D[/b]([i]不是[/i] [b]3D Without Effects[/b])" "时有效。在移动平台,[member ProjectSettings.rendering/quality/intended_usage/" "framebuffer_allocation] 默认为 [b]3D Without Effects[/b],因此需要将 [code]." "mobile[/code] 覆盖项改为 [b]3D[/b]。\n" "[b]注意:[/b]在移动平台上使用 GLES3 时,因为性能原因默认禁用了 HDR 渲染。也就" -"是说发光效果只会在 [member glow_hdr_threshold] 低于 [code]1.0[/code] 或者 " +"是说辉光效果只会在 [member glow_hdr_threshold] 低于 [code]1.0[/code] 或者 " "[member glow_bloom] 大于 [code]0.0[/code] 时可见。也可以考虑将 [member " -"glow_intensity] 增加到 [code]1.5[/code]。如果想要让移动平台上的发光效果与桌面" +"glow_intensity] 增加到 [code]1.5[/code]。如果想要让移动平台上的辉光效果与桌面" "平台一致(以牺牲性能为代价),可以启用 [member ProjectSettings.rendering/" "quality/depth/hdr] 的 [code].mobile[/code] 覆盖项。" @@ -28926,11 +28994,11 @@ msgid "" "The higher threshold of the HDR glow. Areas brighter than this threshold " "will be clamped for the purposes of the glow effect." msgstr "" -"HDR glow的较高阈值。比这个阈值更亮的区域将被限制,以达到glow效果的目的。" +"HDR 辉光的较高阈值。比这个阈值更亮的区域将被限制,以达到辉光效果的目的。" #: doc/classes/Environment.xml msgid "The bleed scale of the HDR glow." -msgstr "HDR glow的裁切规模。" +msgstr "HDR 辉光的逸出缩放。" #: doc/classes/Environment.xml msgid "" @@ -28938,8 +29006,8 @@ msgid "" "doesn't support HDR), this needs to be below [code]1.0[/code] for glow to be " "visible. A value of [code]0.9[/code] works well in this case." msgstr "" -"HDR 发光的下限。当使用(不支持 HDR 的)GLES2 渲染器时,需要低于 [code]1.0[/" -"code] 才能看到发光。在这种情况下,值 [code]0.9[/code] 的效果很好。" +"HDR 辉光的下限。当使用(不支持 HDR 的)GLES2 渲染器时,需要低于 [code]1.0[/" +"code] 才能看到辉光。在这种情况下,值 [code]0.9[/code] 的效果很好。" #: doc/classes/Environment.xml msgid "" @@ -28957,41 +29025,41 @@ msgid "" "The glow intensity. When using the GLES2 renderer, this should be increased " "to 1.5 to compensate for the lack of HDR rendering." msgstr "" -"发光强度。使用 GLES2 渲染器时,应将其增加到 1.5 以弥补 HDR 渲染的不足。" +"辉光强度。使用 GLES2 渲染器时,应将其增加到 1.5 以弥补 HDR 渲染的不足。" #: doc/classes/Environment.xml msgid "" "If [code]true[/code], the 1st level of glow is enabled. This is the most " "\"local\" level (least blurry)." msgstr "" -"如果为 [code]true[/code],则启用第 1 级发光。这是最“局部”的级别(最不模糊)。" +"如果为 [code]true[/code],则启用第 1 级辉光。这是最“局部”的级别(最不模糊)。" #: doc/classes/Environment.xml msgid "If [code]true[/code], the 2th level of glow is enabled." -msgstr "如果为 [code]true[/code],则启用第 2 级发光。" +msgstr "如果为 [code]true[/code],则启用第 2 级辉光。" #: doc/classes/Environment.xml msgid "If [code]true[/code], the 3th level of glow is enabled." -msgstr "如果为 [code]true[/code],则启用第 3 级发光。" +msgstr "如果为 [code]true[/code],则启用第 3 级辉光。" #: doc/classes/Environment.xml msgid "If [code]true[/code], the 4th level of glow is enabled." -msgstr "如果为 [code]true[/code],则启用第 4 级发光。" +msgstr "如果为 [code]true[/code],则启用第 4 级辉光。" #: doc/classes/Environment.xml msgid "If [code]true[/code], the 5th level of glow is enabled." -msgstr "如果为 [code]true[/code],则启用第 5 级发光。" +msgstr "如果为 [code]true[/code],则启用第 5 级辉光。" #: doc/classes/Environment.xml msgid "If [code]true[/code], the 6th level of glow is enabled." -msgstr "如果为 [code]true[/code],则启用第 6 级发光。" +msgstr "如果为 [code]true[/code],则启用第 6 级辉光。" #: doc/classes/Environment.xml msgid "" "If [code]true[/code], the 7th level of glow is enabled. This is the most " "\"global\" level (blurriest)." msgstr "" -"如果为 [code]true[/code],则启用第 7 级发光。这是最“全局”的级别(最模糊)。" +"如果为 [code]true[/code],则启用第 7 级辉光。这是最“全局”的级别(最模糊)。" #: doc/classes/Environment.xml msgid "" @@ -29152,7 +29220,6 @@ msgstr "" "TONE_MAPPER_LINEAR] 时才有效。" #: doc/classes/Environment.xml -#, fuzzy msgid "" "Keeps on screen every pixel drawn in the background. Only select this mode " "if you really need to keep the old data. On modern GPUs it will generally " @@ -29162,9 +29229,11 @@ msgid "" "reflections). If enabled in a scene where the background is visible, \"ghost " "trail\" artifacts will be visible when moving the camera." msgstr "" -"在屏幕上保留背景中绘制的每个像素。这是最快的背景模式,但它只能在完全室内场景" -"(没有可见的天空或天空反射)中安全使用。如果在背景可见的场景中启用,当移动相" -"机时,\"鬼影踪迹 \"伪影将可见。" +"在屏幕上保留背景中绘制的每个像素。请只在你真的需要保留旧数据时选择这个模式。" +"在现代 GPU 上一般并不会比清除背景更快,反而可能造成显著减速,尤其在移动设备" +"上。\n" +"只能在完全室内场景中安全使用(没有可见的天空或天空反射)。如果在背景可见的场" +"景中启用,当移动相机时,“鬼影踪迹”伪影将可见。" #: doc/classes/Environment.xml msgid "" @@ -29209,18 +29278,18 @@ msgstr "表示[enum BGMode]枚举的大小。" msgid "" "Additive glow blending mode. Mostly used for particles, glows (bloom), lens " "flare, bright sources." -msgstr "添加发光混合模式。主要用于颗粒、辉光(光晕)、镜头眩光、亮源。" +msgstr "添加辉光混合模式。主要用于粒子、辉光(泛光)、镜头眩光、亮源。" #: doc/classes/Environment.xml msgid "" "Screen glow blending mode. Increases brightness, used frequently with bloom." -msgstr "滤色发光混合模式。增加亮度,经常与光晕一起使用。" +msgstr "滤色辉光混合模式。增加亮度,经常与泛光一起使用。" #: doc/classes/Environment.xml msgid "" "Soft light glow blending mode. Modifies contrast, exposes shadows and " "highlights (vivid bloom)." -msgstr "柔光发光混合模式。修改对比度,曝光阴影和高光(高质量光晕)。" +msgstr "柔光辉光混合模式。修改对比度,曝光阴影和高光(高质量泛光)。" #: doc/classes/Environment.xml msgid "" @@ -29228,7 +29297,7 @@ msgid "" "This can be used to simulate a full-screen blur effect by tweaking the glow " "parameters to match the original image's brightness." msgstr "" -"替换发光混合模式。用发光值替换所有像素的颜色。这可以通过调整glow参数来模拟全" +"替换辉光混合模式。用辉光值替换所有像素的颜色。这可以通过调整辉光参数来模拟全" "屏模糊效果,使其与原始图像的亮度相匹配。" #: doc/classes/Environment.xml @@ -29380,7 +29449,7 @@ msgstr "如果[method parse]失败了,返回错误文本。" #: doc/classes/Expression.xml msgid "Returns [code]true[/code] if [method execute] has failed." -msgstr "如果[method execute]失败,返回[code]true[/code]。" +msgstr "如果[method execute]失败,返回 [code]true[/code]。" #: doc/classes/Expression.xml msgid "" @@ -29407,7 +29476,7 @@ msgstr "" "启用对OpenGL ES外部纹理扩展的支持,如[url=https://www.khronos.org/registry/" "OpenGL/extensions/OES/OES_EGL_image_external.txt]OES_EGL_image_external[/url]" "所定义。\n" -"[b]注意:[/b] 这只支持Android平台。" +"[b]注意:[/b]这只支持Android平台。" #: doc/classes/ExternalTexture.xml msgid "Returns the external texture name." @@ -29716,7 +29785,7 @@ msgstr "" #: doc/classes/File.xml msgid "Returns [code]true[/code] if the file is currently opened." -msgstr "如果文件当前被打开,返回[code]true[/code]。" +msgstr "如果文件当前被打开,返回 [code]true[/code]。" #: doc/classes/File.xml msgid "Opens the file for writing or reading, depending on the flags." @@ -29730,8 +29799,8 @@ msgid "" "godotengine/godot/issues/28999]GitHub issue #28999[/url] for a workaround." msgstr "" "打开压缩文件进行读取或写入。\n" -"[b]注意:[/b] [method open_compressed] 只能读取Godot保存的文件,不能读取第三" -"方压缩格式。有关解决方法,请参阅 [url=https://github.com/godotengine/godot/" +"[b]注意:[/b][method open_compressed] 只能读取Godot保存的文件,不能读取第三方" +"压缩格式。有关解决方法,请参阅 [url=https://github.com/godotengine/godot/" "issues/28999] GitHub 问题 #28999[/url]。" #: doc/classes/File.xml @@ -29741,7 +29810,7 @@ msgid "" "[b]Note:[/b] The provided key must be 32 bytes long." msgstr "" "以写或读的模式打开一个加密文件。你需要传递一个二进制密钥来加密/解密它。\n" -"[b]注意:[/b] 提供的密钥必须是32字节长。" +"[b]注意:[/b]提供的密钥必须是32字节长。" #: doc/classes/File.xml msgid "" @@ -29935,7 +30004,7 @@ msgid "" msgstr "" "在文件中存储任何 Variant 变量值。如果 [code]full_objects[/code] 是 " "[code]true[/code],则允许编码对象(并且可能包含代码)。\n" -"[b]注意:[/b] 并非所有属性都包括在内。只有使用 [constant " +"[b]注意:[/b]并非所有属性都包括在内。只有使用 [constant " "PROPERTY_USAGE_STORAGE] 标志集配置的属性才会被序列化。您可以通过覆盖类中的 " "[method Object._get_property_list] 方法向属性添加新的使用标志。您还可以通过调" "用 [method Object._get_property_list] 来检查属性使用是如何配置的。有关可能的" @@ -30061,8 +30130,8 @@ msgid "" "[member CanvasItem.visible] property." msgstr "" "返回所选文件的 LineEdit。\n" -"[b]警告:[/b] 这是一个必需的内部节点,删除和释放它可能会导致崩溃。如果您希望" -"隐藏它或其任何子项,请使用它们的 [member CanvasItem.visible] 属性。" +"[b]警告:[/b]这是一个必需的内部节点,删除和释放它可能会导致崩溃。如果您希望隐" +"藏它或其任何子项,请使用它们的 [member CanvasItem.visible] 属性。" #: doc/classes/FileDialog.xml msgid "" @@ -30073,8 +30142,8 @@ msgid "" "[member CanvasItem.visible] property." msgstr "" "返回对话框的垂直框容器,可以向其中添加自定义控件。\n" -"[b]警告:[/b] 这是一个必需的内部节点,删除和释放它可能会导致崩溃。如果您希望" -"隐藏它或其任何子项,请使用它们的 [member CanvasItem.visible] 属性。" +"[b]警告:[/b]这是一个必需的内部节点,删除和释放它可能会导致崩溃。如果您希望隐" +"藏它或其任何子项,请使用它们的 [member CanvasItem.visible] 属性。" #: doc/classes/FileDialog.xml msgid "Invalidate and update the current dialog content list." @@ -30088,10 +30157,10 @@ msgid "" "[url=https://github.com/godotengine/godot-proposals/issues/1123]godot-" "proposals#1123[/url]." msgstr "" -"文件系统的访问范围。见枚举 [code]Access[/code] 常数。\n" -"[b]警告:[/b] 目前,在沙盒环境下,如HTML5构建或沙盒的macOS应用程序," +"文件系统的访问范围。见枚举 [code]Access[/code] 常量。\n" +"[b]警告:[/b]目前,在沙盒环境下,如 HTML5 构建或沙盒的 macOS 应用程序," "FileDialog 不能访问主机文件系统。参见 [url=https://github.com/godotengine/" -"godot-proposals/issues/1123]godot-proposals#1123 [/url]。" +"godot-proposals/issues/1123]godot-proposals#1123[/url]。" #: doc/classes/FileDialog.xml msgid "The current working directory of the file dialog." @@ -30538,7 +30607,7 @@ msgid "" msgstr "" "如果[code]true[/code],每当用户离开编辑器窗口时,编辑器会暂时卸载库,允许用户" "重新编译库,而不需要重新启动Godot。\n" -"[b]注意:[/b] 如果库定义了在编辑器内运行的工具脚本,[code]reloadable[/code]必" +"[b]注意:[/b]如果库定义了在编辑器内运行的工具脚本,[code]reloadable[/code]必" "须是[code]false[/code]。否则,编辑器会在工具脚本正在使用的时候尝试卸载它们时" "而崩溃。" @@ -30554,7 +30623,7 @@ msgstr "" "如果[code]true[/code],Godot会在启动时加载库,而不是在脚本第一次使用库时,在" "初始化库后调用[code]{prefix}gdnative_singleton[/code](其中[code]{prefix}[/" "code]是[member symbol_prefix]的值)。只要Godot在运行,该库就一直被加载。\n" -"[b]注意:[/b] 单例库不能是[member reloadable]。" +"[b]注意:[/b]单例库不能是[member reloadable]。" #: modules/gdnative/doc_classes/GDNativeLibrary.xml msgid "" @@ -31221,8 +31290,8 @@ msgid "" "inside the segment ([code]s1[/code], [code]s2[/code]) or outside of it, i.e. " "somewhere on the line extending from the segment." msgstr "" -"返回由([code]s1[/code], [code]s2[/code])定义的三维直线上最接近 " -"[code]point[/code]的三维点。返回的点可以在线段内([code]s1[/code], [code]s2[/" +"返回由([code]s1[/code], [code]s2[/code])定义的 3D 直线上最接近 " +"[code]point[/code]的 3D 点。返回的点可以在线段内([code]s1[/code], [code]s2[/" "code]),也可以在线段外,即在线段延伸的某处。" #: doc/classes/Geometry.xml @@ -31299,8 +31368,8 @@ msgid "" "it's located exactly [i]on[/i] the circle's boundary, otherwise returns " "[code]false[/code]." msgstr "" -"返回[code]true[/code]时,[code]point[/code]位于圆的内部或者[i]正好[/i]位于圆" -"的边界上,否则将返回[code]false[/code]。" +"返回 [code]true[/code] 时,[code]point[/code]位于圆的内部或者[i]正好[/i]位于" +"圆的边界上,否则将返回 [code]false[/code]。" #: doc/classes/Geometry.xml msgid "" @@ -31308,8 +31377,8 @@ msgid "" "code] or if it's located exactly [i]on[/i] polygon's boundary, otherwise " "returns [code]false[/code]." msgstr "" -"返回[code]true[/code]时,[code]point[/code]位于多边形[code]polygon[/code]的内" -"部或者[i]正好[/i]位于多边形的边界上,否则将返回[code]false[/code]。" +"返回 [code]true[/code] 时,[code]point[/code]位于多边形[code]polygon[/code]的" +"内部或者[i]正好[/i]位于多边形的边界上,否则将返回 [code]false[/code]。" #: doc/classes/Geometry.xml msgid "" @@ -31688,7 +31757,7 @@ msgid "" "[b]Note:[/b] This property currently has no effect." msgstr "" "GeometryInstance3D的最大LOD距离。\n" -"[b]注意:[/b] 这个属性目前没有任何作用。" +"[b]注意:[/b]这个属性目前没有任何作用。" #: doc/classes/GeometryInstance.xml msgid "" @@ -31696,7 +31765,7 @@ msgid "" "[b]Note:[/b] This property currently has no effect." msgstr "" "GeometryInstance3D的最大LOD 边距。\n" -"[b]注意:[/b] 这个属性目前没有任何作用。" +"[b]注意:[/b]这个属性目前没有任何作用。" #: doc/classes/GeometryInstance.xml msgid "" @@ -31704,7 +31773,7 @@ msgid "" "[b]Note:[/b] This property currently has no effect." msgstr "" "GeometryInstance3D的最小LOD距离。\n" -"[b]注意:[/b] 这个属性目前没有任何作用。" +"[b]注意:[/b]这个属性目前没有任何作用。" #: doc/classes/GeometryInstance.xml msgid "" @@ -31712,7 +31781,7 @@ msgid "" "[b]Note:[/b] This property currently has no effect." msgstr "" "GeometryInstance3D的最小LOD 边距。\n" -"[b]注意:[/b] 这个属性目前没有任何作用。" +"[b]注意:[/b]这个属性目前没有任何作用。" #: doc/classes/GeometryInstance.xml msgid "" @@ -31849,10 +31918,10 @@ msgstr "" "[b]性能:[/b][GIProbe] 相对更耗 GPU,不适合在集成显卡等低端硬件上使用,可考虑" "换用 [BakedLightmap]。要为低端硬件提供备选方案,可考虑在你项目的选项菜单中添" "加禁用 [GIProbe] 的选项。隐藏 [GIProbe] 节点即可将其禁用。\n" -"[b]注意:[/b]网格应该有足够厚的墙以避免漏光,注,避免单面墙。对于内部关卡,将" -"你的关卡几何体包围在一个足够大的盒子里,并将环路联接起来以关闭网格。\n" -"[b]注意:[/b]由于渲染器的限制,在[GIProbe]中使用发光的[ShaderMaterial]时不能" -"发光。只有发射型的[SpatialMaterial]可以在[GIProbe]中发射光线。" +"[b]注意:[/b]网格应该有足够厚的墙以避免漏光(避免单面墙)。对于内部关卡,将你" +"的关卡几何体包围在一个足够大的盒子里,并将环路联接起来以关闭网格。\n" +"[b]注意:[/b]由于渲染器的限制,在 [GIProbe] 中使用发光的 [ShaderMaterial] 时" +"不能发光。只有发光的 [SpatialMaterial] 可以在 [GIProbe] 中发射光线。" #: doc/classes/GIProbe.xml msgid "GI probes" @@ -31906,7 +31975,7 @@ msgid "" msgstr "" "从 [GIProbe] 偏移光贡献的查找。这可用于避免自阴影,但可能会在较高的值下引入漏" "光。这个和 [member normal_bias] 应该使用,以尽量减少自阴影和漏光。\n" -"[b]注意:[/b] [code]bias[/code] 通常应该在 1.0 以上,因为这是体素的大小。" +"[b]注意:[/b][code]bias[/code] 通常应该在 1.0 以上,因为这是体素的大小。" #: doc/classes/GIProbe.xml msgid "" @@ -31942,7 +32011,7 @@ msgstr "" #: doc/classes/GIProbe.xml msgid "" "If [code]true[/code], ignores the sky contribution when calculating lighting." -msgstr "如果为[code]true[/code],在计算照明时忽略天空的贡献。" +msgstr "如果为 [code]true[/code],在计算照明时忽略天空的贡献。" #: doc/classes/GIProbe.xml msgid "" @@ -31995,6 +32064,50 @@ msgstr "" msgid "Represents the size of the [enum Subdiv] enum." msgstr "代表 [enum Subdiv] 举的大小。" +#: modules/gltf/doc_classes/GLTFAccessor.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAccessor] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFAnimation.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAnimation] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFBufferView.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFBufferView] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFCamera.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFCamera] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFDocument.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFDocument] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFLight.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFLight] within a script will cause an error in an exported project." +msgstr "" + #: modules/gltf/doc_classes/GLTFLight.xml msgid "" "The [Color] of the light. Defaults to white. A black color causes the light " @@ -32021,8 +32134,8 @@ msgid "" "directional lights. When creating a Godot light, this value is converted to " "a unitless multiplier." msgstr "" -"光的强度。对于点光源和聚光灯,用烛光candelas(流明/立体光)表示;对于定向灯," -"用勒克斯lux(流明/平方米)表示。在创建Godot灯时,这个值被转换为无单位的乘数。" +"光的强度。对于点光和聚光,用烛光(流明/立体光)表示;对于平行光,用勒克斯(流" +"明/平方米)表示。在创建 Godot 灯光时,这个值会被转换为无单位的乘数。" #: modules/gltf/doc_classes/GLTFLight.xml msgid "" @@ -32057,6 +32170,49 @@ msgstr "" "灯光的类型。Godot接受的值是 \"point\"、\"spot\"和 \"directional\",分别对应于" "Godot的[OmniLight]、[SpotLight]和[DirectionalLight]。" +#: modules/gltf/doc_classes/GLTFMesh.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFMesh] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFNode.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFNode] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSkeleton.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSkeleton] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSpecGloss.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSpecGloss] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFState.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFState] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFTexture.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFTexture] within a script will cause an error in an exported project." +msgstr "" + #: modules/mono/doc_classes/GodotSharp.xml msgid "Bridge between Godot and the Mono runtime (Mono-enabled builds only)." msgstr "Godot和Mono运行时之间的桥梁(仅支持Mono的构建)。" @@ -32088,7 +32244,7 @@ msgid "" "initialized at the time this method is called, the engine will crash." msgstr "" "返回当前的MonoDomain ID。\n" -"[b]注意:[/b] Mono运行时必须被初始化,这个方法才能工作(使用 [method " +"[b]注意:[/b]Mono运行时必须被初始化,这个方法才能工作(使用 [method " "is_runtime_initialized] 来检查)。如果在调用这个方法的时候,Mono运行时没有被" "初始化,引擎将崩溃。" @@ -32102,7 +32258,7 @@ msgid "" msgstr "" "返回scripts MonoDomain的ID。这将是与 [method get_domain_id] 相同的MonoDomain " "ID,除非scripts domain没有被加载。\n" -"[b]注意:[/b] Mono运行时必须被初始化,这个方法才能工作(使用 [method " +"[b]注意:[/b]Mono运行时必须被初始化,这个方法才能工作(使用 [method " "is_runtime_initialized] 来检查)。如果在调用这个方法的时候,Mono运行时没有被" "初始化,引擎将会崩溃。" @@ -32140,7 +32296,7 @@ msgstr "" msgid "" "A color interpolator resource which can be used to generate colors between " "user-defined color points." -msgstr "一个颜色插值器资源,可用于在用户定义的颜色点之间生成颜色。" +msgstr "颜色插值器资源,可用于在用户定义的颜色点之间生成颜色。" #: doc/classes/Gradient.xml msgid "" @@ -32150,50 +32306,51 @@ msgid "" "will initially have 2 colors (black and white), one (black) at ramp lower " "offset 0 and the other (white) at the ramp higher offset 1." msgstr "" -"给定一组颜色,这个资源将按顺序插值。这意味着,如果你有颜色1、颜色2和颜色3,斜" -"坡将从颜色1插到颜色2,从颜色2插到颜色3。斜坡最初会有两种颜色(黑色和白色)," -"一种(黑色)在斜坡低偏移量0处,另一种(白色)在斜坡高偏移量1处。" +"给定一组颜色,这个资源将依次两两插值。这意味着,如果你有颜色 1、颜色 2和颜色 " +"3,渐变将从颜色 1 插值到颜色2、从颜色 2 插值到颜色 3。渐变最初有两种颜色(黑" +"色和白色),一种(黑色)位于渐变较低的偏移量 0 处,另一种(白色)位于渐变较高" +"的偏移量 1 处。" #: doc/classes/Gradient.xml msgid "" "Adds the specified color to the end of the ramp, with the specified offset." -msgstr "将指定的颜色添加到坡道的末端,并有指定的偏移量。" +msgstr "将指定的颜色添加到渐变的末端,并有指定的偏移量。" #: doc/classes/Gradient.xml msgid "Returns the color of the ramp color at index [code]point[/code]." -msgstr "返回索引[code]point[/code]处斜坡颜色的颜色。" +msgstr "返回索引 [code]point[/code] 处渐变色的颜色。" #: doc/classes/Gradient.xml msgid "Returns the offset of the ramp color at index [code]point[/code]." -msgstr "返回索引[code]point[/code]处的斜面颜色的偏移。" +msgstr "返回索引 [code]point[/code] 处渐变色的偏移。" #: doc/classes/Gradient.xml msgid "Returns the number of colors in the ramp." -msgstr "返回斜面中的颜色数量。" +msgstr "返回渐变中的颜色数量。" #: doc/classes/Gradient.xml msgid "Returns the interpolated color specified by [code]offset[/code]." -msgstr "返回由偏移[code]offset[/code]指定的插值颜色。" +msgstr "返回由偏移 [code]offset[/code] 指定的插值颜色。" #: doc/classes/Gradient.xml msgid "Removes the color at the index [code]point[/code]." -msgstr "移除索引[code]point[/code]处的颜色。" +msgstr "移除索引 [code]point[/code] 处的颜色。" #: doc/classes/Gradient.xml msgid "Sets the color of the ramp color at index [code]point[/code]." -msgstr "设置索引[code]point[/code]处的坡道色的颜色。" +msgstr "设置索引 [code]point[/code] 处渐变色的颜色。" #: doc/classes/Gradient.xml msgid "Sets the offset for the ramp color at index [code]point[/code]." -msgstr "为索引[code]point[/code]处的斜面颜色设置偏移。" +msgstr "设置索引 [code]point[/code] 处渐变色的偏移。" #: doc/classes/Gradient.xml msgid "Gradient's colors returned as a [PoolColorArray]." -msgstr "渐变颜色以 [PoolColorArray] 返回。" +msgstr "渐变的颜色,以 [PoolColorArray] 返回。" #: doc/classes/Gradient.xml msgid "Gradient's offsets returned as a [PoolRealArray]." -msgstr "渐变的偏移量以 [PoolRealArray] 返回。" +msgstr "渐变的偏移量,以 [PoolRealArray] 返回。" #: doc/classes/GradientTexture.xml msgid "Gradient-filled texture." @@ -32284,7 +32441,7 @@ msgid "" msgstr "" "如果为 [code]true[/code],则生成的纹理会支持高动态范围([constant Image." "FORMAT_RGBAF] 格式)。可以在 [member Environment.glow_enabled] 为 " -"[code]true[/code] 时实现发光效果。如果为 [code]false[/code],则生成的纹理会使" +"[code]true[/code] 时实现辉光效果。如果为 [code]false[/code],则生成的纹理会使" "用低动态范围;过亮的颜色会被钳制([constant Image.FORMAT_RGBA8] 格式)。" #: doc/classes/GradientTexture2D.xml @@ -32413,8 +32570,8 @@ msgid "" msgstr "" "获取包含图形左上角的缩放和网格捕捉控件的 [HBoxContainer]。你可以使用此方法重" "新定位工具栏或向其添加自定义控件。\n" -"[b]警告:[/b] 这是一个必需的内部节点,删除和释放它可能会导致崩溃。如果你希望" -"隐藏它或其任何子项,请使用它们的 [member CanvasItem.visible] 属性。" +"[b]警告:[/b]这是一个必需的内部节点,删除和释放它可能会导致崩溃。如果你希望隐" +"藏它或其任何子项,请使用它们的 [member CanvasItem.visible] 属性。" #: doc/classes/GraphEdit.xml msgid "" @@ -32501,7 +32658,7 @@ msgstr "吸附距离(以像素为单位)。" #: doc/classes/GraphEdit.xml msgid "If [code]true[/code], enables snapping." -msgstr "如果为[code]true[/code],启用自动吸附。" +msgstr "如果为 [code]true[/code],启用自动吸附。" #: doc/classes/GraphEdit.xml msgid "The current zoom value." @@ -32741,13 +32898,13 @@ msgstr "返回槽[code]idx[/code]的右边(输出)类型。" msgid "" "Returns [code]true[/code] if left (input) side of the slot [code]idx[/code] " "is enabled." -msgstr "如果插槽[code]idx[/code]的左侧(输入)被启用,返回[code]true[/code]。" +msgstr "如果插槽[code]idx[/code]的左侧(输入)被启用,返回 [code]true[/code]。" #: doc/classes/GraphNode.xml msgid "" "Returns [code]true[/code] if right (output) side of the slot [code]idx[/" "code] is enabled." -msgstr "如果插槽[code]idx[/code]的右侧(输出)被启用,返回[code]true[/code]。" +msgstr "如果插槽[code]idx[/code]的右侧(输出)被启用,返回 [code]true[/code]。" #: doc/classes/GraphNode.xml msgid "" @@ -32772,7 +32929,7 @@ msgstr "" "型值的端口才能被连接。\n" "[code]color_left[/code]/[code]right[/code]是端口在这一侧的图标的色调。\n" "[code]custom_left[/code]/[code]right[/code]是这一侧的端口的自定义纹理。\n" -"[b]注意:[/b] 这个方法只设置槽的属性。要创建槽,需要在GraphNode中添加一个" +"[b]注意:[/b]这个方法只设置槽的属性。要创建槽,需要在GraphNode中添加一个" "[Control]的派生类。\n" "可以使用[code]set_slot_*[/code]方法之一来设置单个属性。你必须至少启用插槽的一" "边才能这样做。" @@ -32799,7 +32956,7 @@ msgid "" "[code]enable_left[/code] is [code]true[/code], a port will appear on the " "left side and the slot will be able to be connected from this side." msgstr "" -"切换插槽的左侧(输入)[code]idx[/code]。\t如果[code]enable_left[/code]为" +"切换插槽的左侧(输入)[code]idx[/code]。\t如果[code]enable_left[/code]为 " "[code]true[/code],左边将出现一个端口,插槽将能够从这一边连接。" #: doc/classes/GraphNode.xml @@ -32808,7 +32965,7 @@ msgid "" "[code]enable_right[/code] is [code]true[/code], a port will appear on the " "right side and the slot will be able to be connected from this side." msgstr "" -"切换插槽的右侧(输出)[code]idx[/code]。如果[code]enable_right[/code]为" +"切换插槽的右侧(输出)[code]idx[/code]。如果[code]enable_right[/code]为 " "[code]true[/code],右侧将出现一个端口,插槽将能够从这一侧连接。" #: doc/classes/GraphNode.xml @@ -33391,18 +33548,16 @@ msgstr "" "高度图数据,池数组的大小必须是 [member map_width] * [member map_depth]。" #: doc/classes/HeightMapShape.xml -#, fuzzy msgid "" "Number of vertices in the depth of the height map. Changing this will resize " "the [member map_data]." -msgstr "高度图数据的深度。更改此设置将调整 [member map_data] 的大小。" +msgstr "高度图深度的顶点数。更改此设置将调整 [member map_data] 的大小。" #: doc/classes/HeightMapShape.xml -#, fuzzy msgid "" "Number of vertices in the width of the height map. Changing this will resize " "the [member map_data]." -msgstr "高度图数据的宽度。更改此设置将调整 [member map_data] 的大小。" +msgstr "高度图宽度的顶点数。更改此设置将调整 [member map_data] 的大小。" #: doc/classes/HFlowContainer.xml msgid "Horizontal flow container." @@ -33453,7 +33608,7 @@ msgid "" "If [code]true[/code], the hinges maximum and minimum rotation, defined by " "[member angular_limit/lower] and [member angular_limit/upper] has effects." msgstr "" -"如果为[code]true[/code],则会对由[member angular_limit/lower]和[member " +"如果为 [code]true[/code],则会对由[member angular_limit/lower]和[member " "angular_limit/upper]定义的铰链最大和最小旋转量产生影响。" #: doc/classes/HingeJoint.xml @@ -33461,7 +33616,7 @@ msgid "" "The minimum rotation. Only active if [member angular_limit/enable] is " "[code]true[/code]." msgstr "" -"最小的旋转量。只有在[member angular_limit/enable]为[code]true[/code]时才有" +"最小的旋转量。只有在[member angular_limit/enable]为 [code]true[/code] 时才有" "效。" #: doc/classes/HingeJoint.xml doc/classes/PhysicsServer.xml @@ -33473,7 +33628,7 @@ msgid "" "The maximum rotation. Only active if [member angular_limit/enable] is " "[code]true[/code]." msgstr "" -"最大的旋转量。只有在[member angular_limit/enable]为[code]true[/code]时才有" +"最大的旋转量。只有在[member angular_limit/enable]为 [code]true[/code] 时才有" "效。" #: doc/classes/HingeJoint.xml @@ -33997,7 +34152,7 @@ msgstr "" "var result = http_client.request(http_client.METHOD_POST, \"index.php\", " "headers, query_string)\n" "[/codeblock]\n" -"[b]注意:[/b] [code]method[/code] 为 [constant HTTPClient.METHOD_GET] 时会忽" +"[b]注意:[/b][code]method[/code] 为 [constant HTTPClient.METHOD_GET] 时会忽" "略 [code]request_data[/code] 参数。这是因为 GET 方法不能包含请求数据。作为变" "通,可以把请求数据通过 URL 的请求字符串传递。例子见 [method String." "http_escape]。" @@ -34914,7 +35069,7 @@ msgid "" "the body length will also be [code]-1[/code]." msgstr "" "返回响应体长度。\n" -"[b]注意:[/b] 部分 Web 服务器可能不发送响应体长度,此时返回值将为 [code]-1[/" +"[b]注意:[/b]部分 Web 服务器可能不发送响应体长度,此时返回值将为 [code]-1[/" "code]。如果使用分块传输编码,响应体的长度也将为 [code]-1[/code]。" #: doc/classes/HTTPRequest.xml @@ -35325,11 +35480,11 @@ msgstr "如果图像已经生成多级渐远纹理,则返回 [code]true[/code] #: doc/classes/Image.xml msgid "Returns [code]true[/code] if the image is compressed." -msgstr "如果图像被压缩,返回[code]true[/code]。" +msgstr "如果图像被压缩,返回 [code]true[/code]。" #: doc/classes/Image.xml msgid "Returns [code]true[/code] if the image has no data." -msgstr "如果图像没有数据,返回[code]true[/code]。" +msgstr "如果图像没有数据,返回 [code]true[/code]。" #: doc/classes/Image.xml msgid "" @@ -35414,8 +35569,9 @@ msgid "" "New pixels are calculated using the [code]interpolation[/code] mode defined " "via [enum Interpolation] constants." msgstr "" -"调整图像大小到给定的[code]width[/code]和[code]height[/code]。新像素通过[enum " -"Interpolation]常数定义的[code]interpolation[/code]插值模式计算。" +"将图像大小调整到给定的宽 [code]width[/code] 和高 [code]height[/code]。新像素" +"的计算通过 [enum Interpolation] 常量定义的 [code]interpolation[/code] 插值模" +"式进行。" #: doc/classes/Image.xml msgid "" @@ -35424,9 +35580,9 @@ msgid "" "same. New pixels are calculated using the [code]interpolation[/code] mode " "defined via [enum Interpolation] constants." msgstr "" -"将图像的宽度和高度调整到最接近的2次方。如果[code]square[/code]是[code]true[/" -"code],那么设置宽度和高度为相同。新像素通过[enum Interpolation]常数定义的" -"[code]interpolation[/code]插值模式计算。" +"将图像的宽度和高度调整到最接近的 2 的幂。如果 [code]square[/code] 为 " +"[code]true[/code],那么设置宽度和高度为相同。新像素的计算通过 [enum " +"Interpolation] 常量定义的 [code]interpolation[/code] 插值模式进行。" #: doc/classes/Image.xml msgid "" @@ -35448,8 +35604,8 @@ msgstr "" "[code]true[/code]并且图像只有一个通道,它将被明确地保存为单色而不是红色通道。" "如果Godot在编译时没有TinyEXR模块,这个函数将返回[constant " "ERR_UNAVAILABLE]。\n" -"[b]注意:[/b] TinyEXR模块在非编辑器构建中被禁用,这意味着[method save_exr]从" -"导出的项目中调用时将返回[constant ERR_UNAVAILABLE]。" +"[b]注意:[/b]TinyEXR模块在非编辑器构建中被禁用,这意味着[method save_exr]从导" +"出的项目中调用时将返回[constant ERR_UNAVAILABLE]。" #: doc/classes/Image.xml msgid "Saves the image as a PNG file to [code]path[/code]." @@ -35546,7 +35702,7 @@ msgid "" "instead of the red channel for storage." msgstr "" "OpenGL 纹理格式 [code]RED[/code],具有单个分量和 8 位深度。\n" -"[b]注意:[/b] 当使用 GLES2 后端时,它使用 Alpha 通道而不是红色通道进行存储。" +"[b]注意:[/b]当使用 GLES2 后端时,它使用 Alpha 通道而不是红色通道进行存储。" #: doc/classes/Image.xml msgid "" @@ -36065,7 +36221,7 @@ msgstr "" "$Sprite.texture = texture\n" "[/codeblock]\n" "通过这种方式,可以在运行时通过从编辑器内部和外部加载图像来创建纹理。\n" -"[b]警告:[/b] 最好用 [method @GDScript.load] 加载导入的纹理,而不是使用 " +"[b]警告:[/b]最好用 [method @GDScript.load] 加载导入的纹理,而不是使用 " "[method Image.load] 从文件系统中动态加载它们,因为它可能无法在导出的项目中工" "作:\n" "[codeblock]\n" @@ -36084,7 +36240,7 @@ msgstr "" "[ImageTexture] 不是直接在编辑器界面中操作的,主要用于通过代码在屏幕上动态渲染" "图像。如果您需要在编辑器中按程序生成图像,请考虑将图像保存和导入为自定义纹理" "资源,以实现新的 [EditorImportPlugin]。\n" -"[b]注意:[/b]由于图形硬件限制,最大纹理尺寸为16384×16384像素。" +"[b]注意:[/b]由于图形硬件限制,最大纹理尺寸为 16384×16384 像素。" #: doc/classes/ImageTexture.xml msgid "" @@ -36093,9 +36249,9 @@ msgid "" "[code]format[/code] is a value from [enum Image.Format], [code]flags[/code] " "is any combination of [enum Texture.Flags]." msgstr "" -"创建具有[code]width[/code]和[code]height[/code]的新[ImageTexture]。\n" -"[code]format[/code]是[enum Image.Format]中的一个值,[code]flags[/code]是" -"[enum Texture.Flags]的任意组合。" +"创建具有 [code]width[/code] 和 [code]height[/code] 的新 [ImageTexture]。\n" +"[code]format[/code] 是 [enum Image.Format] 中的一个值,[code]flags[/code] 是 " +"[enum Texture.Flags] 的任意组合。" #: doc/classes/ImageTexture.xml msgid "" @@ -36146,11 +36302,11 @@ msgstr "将纹理的大小调整为指定的尺寸。" #: doc/classes/ImageTexture.xml msgid "The storage quality for [constant STORAGE_COMPRESS_LOSSY]." -msgstr "[constant STORAGE_COMPRESS_LOSSY]的存储质量。" +msgstr "[constant STORAGE_COMPRESS_LOSSY] 的存储质量。" #: doc/classes/ImageTexture.xml msgid "The storage type (raw, lossy, or compressed)." -msgstr "存储类型,即原始、有损、或压缩。" +msgstr "存储类型(原始、有损、压缩)。" #: doc/classes/ImageTexture.xml msgid "[Image] data is stored raw and unaltered." @@ -36161,15 +36317,16 @@ msgid "" "[Image] data is compressed with a lossy algorithm. You can set the storage " "quality with [member lossy_quality]." msgstr "" -"[Image]数据是用有损算法压缩的。 你可以用[member lossy_quality]设置存储质量。" +"[Image] 数据是用有损算法压缩的。 你可以用 [member lossy_quality] 设置存储质" +"量。" #: doc/classes/ImageTexture.xml msgid "[Image] data is compressed with a lossless algorithm." -msgstr "[Image]数据是用无损算法压缩的。" +msgstr "[Image] 数据是用无损算法压缩的。" #: doc/classes/ImmediateGeometry.xml msgid "Draws simple geometry from code." -msgstr "通过代码绘制简单的几何形状。" +msgstr "通过代码绘制简单的几何图形。" #: doc/classes/ImmediateGeometry.xml msgid "" @@ -36190,11 +36347,11 @@ msgstr "" "从代码中绘制简单的几何图形。使用类似于 OpenGL 1.x 的绘制模式。\n" "请参阅 [ArrayMesh]、[MeshDataTool] 和 [SurfaceTool],了解程序式几何体的生" "成。\n" -"[b]注意:[/b]ImmediateGeometry3D最适合处理每一帧变化的少量网格数据。当处理大" +"[b]注意:[/b]ImmediateGeometry3D 最适合处理每一帧变化的少量网格数据。当处理大" "量的网格数据时,它将会很慢。如果网格数据不经常变化,请使用 [ArrayMesh]、" "[MeshDataTool] 或 [SurfaceTool] 代替。\n" -"[b]注意:[/b]Godot对三角形基本单元模式的正面使用顺时针[url=https://" -"learnopengl.com/Advanced-OpenGL/Face-culling]缠绕顺序[/url]。\n" +"[b]注意:[/b]Godot 对三角形图元模式的正面使用顺时针[url=https://learnopengl." +"com/Advanced-OpenGL/Face-culling]缠绕顺序[/url]。\n" "[b]注意:[/b]在处理大量网格数据时,如果出现漏点,可以尝试在 [member " "ProjectSettings.rendering/limits/buffers/immediate_buffer_size_kb] 增加其缓冲" "区大小限制。" @@ -36216,9 +36373,9 @@ msgid "" "[code]glBegin()[/code] and [code]glEnd()[/code] references.\n" "For the type of primitive, see the [enum Mesh.PrimitiveType] enum." msgstr "" -"开始绘制(可选纹理重写)。当调用结束[method end]。对此如何实现的更多信息,搜" -"索[code]glBegin()[/code]和[code]glEnd()[/code]引用。\n" -"对于基本类型,参阅[enum Mesh.PrimitiveType]枚举。" +"开始绘制(可选纹理重写)。当调用结束[method end]。对此如何实现的更多信息,请" +"搜索 [code]glBegin()[/code] 和 [code]glEnd()[/code] 参考资料。\n" +"图元的类型请参阅 [enum Mesh.PrimitiveType] 枚举。" #: doc/classes/ImmediateGeometry.xml msgid "Clears everything that was drawn using begin/end." @@ -36279,7 +36436,7 @@ msgid "" msgstr "" "这将模拟按下指定的按键动作。\n" "强度可以用于非布尔运算的动作,它的范围在0到1之间,代表给定动作的力度。\n" -"[b]注意:[/b] 这个方法不会引起任何[method Node._input]调用。它旨在与[method " +"[b]注意:[/b]这个方法不会引起任何[method Node._input]调用。它旨在与[method " "is_action_pressed]和[method is_action_just_pressed]一起使用。如果你想模拟" "[code]_input[/code],请使用[method parse_input_event]代替。" @@ -36326,7 +36483,7 @@ msgstr "" "Vector3.ZERO]。\n" "请注意,即使你的设备有一个加速度计,当从编辑器运行时,该方法也会返回一个空的" "[Vector3]。你必须将项目导出到一个支持的设备上,以便从加速度计上读取数值。\n" -"[b]注意:[/b] 这个方法只在iOS、Android和UWP上工作。在其他平台上,它总是返回" +"[b]注意:[/b]这个方法只在iOS、Android和UWP上工作。在其他平台上,它总是返回" "[constant Vector3.ZERO]。在Android上,每个轴的测量单位是m/s²,而在iOS和UWP" "上,它是地球重力加速度的倍数[code]g[/code](~9.81 m/s²)。" @@ -36335,15 +36492,15 @@ msgid "" "Returns a value between 0 and 1 representing the raw intensity of the given " "action, ignoring the action's deadzone. In most cases, you should use " "[method get_action_strength] instead.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" "返回介于 0 和 1 之间的值,代表给定动作的原始强度,忽略动作的死区。在大多数情" "况下,你应该使用 [method get_action_strength] 来代替。\n" "如果 [code]exact[/code] 是 [code]false[/code],它将忽略 [InputEventKey] 和 " -"[InputEventMouseButton] 事件的输入修饰符,以及 [InputEventJoypadMotion] 事件" -"的方向。" +"[InputEventMouseButton] 事件的额外输入修饰符,以及 [InputEventJoypadMotion] " +"事件的方向。" #: doc/classes/Input.xml msgid "" @@ -36352,16 +36509,16 @@ msgid "" "or L2, R2 triggers) is from the dead zone, the closer the value will be to " "1. If the action is mapped to a control that has no axis as the keyboard, " "the value returned will be 0 or 1.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." -msgstr "" -"返回介于0和1之间的值,代表给定动作的强度。例如,在一个操纵板上,轴(模拟杆或" -"L2、R2触发器)离死区越远,数值就越接近1。如果动作被映射到一个没有轴作为键盘的" -"控件上,返回的数值将是0或1。\n" -"如果[code]exact[/code]是[code]false[/code],它将忽略[InputEventKey]和" -"[InputEventMouseButton]事件的输入修饰符,以及[InputEventJoypadMotion]事件的方" -"向。" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." +msgstr "" +"返回介于 0 和 1 之间的值,代表给定动作的强度。例如,在一个操纵板上,轴(模拟" +"杆或 L2、R2 触发器)离死区越远,数值就越接近 1。如果动作被映射到一个没有轴作" +"为键盘的控件上,返回的数值将是 0 或 1。\n" +"如果 [code]exact[/code] 是 [code]false[/code],它将忽略 [InputEventKey] 和 " +"[InputEventMouseButton] 事件的额外输入修饰符,以及 [InputEventJoypadMotion] " +"事件的方向。" #: doc/classes/Input.xml msgid "" @@ -36395,7 +36552,7 @@ msgid "" msgstr "" "如果设备有加速度传感器,则返回设备的重力。否则,该方法返回[constant Vector3." "ZERO]。\n" -"[b]注意:[/b] 这个方法只在Android和iOS上工作。在其他平台上,它总是返回" +"[b]注意:[/b]这个方法只在Android和iOS上工作。在其他平台上,它总是返回" "[constant Vector3.ZERO]。在Android上,每个轴的测量单位是m/s²,而在iOS上,它是" "地球重力加速度的倍数[code]g[/code](~9.81 m/s²)。" @@ -36409,8 +36566,8 @@ msgid "" msgstr "" "如果设备有陀螺仪传感器,则返回围绕设备X、Y、Z轴的旋转速率,单位为rad/s。否" "则,该方法返回[constant Vector3.ZERO]。\n" -"[b]注意:[/b] 这个方法只在Android和iOS上工作。在其他平台上,总是返回" -"[constant Vector3.ZERO]。" +"[b]注意:[/b]这个方法只在Android和iOS上工作。在其他平台上,总是返回[constant " +"Vector3.ZERO]。" #: doc/classes/Input.xml msgid "" @@ -36444,7 +36601,7 @@ msgid "" "Returns a SDL2-compatible device GUID on platforms that use gamepad " "remapping. Returns [code]\"Default Gamepad\"[/code] otherwise." msgstr "" -"在使用游戏手柄重映射的平台上返回一个SDL2兼容的设备GUID。否则返回" +"在使用游戏手柄重映射的平台上返回一个SDL2兼容的设备GUID。否则返回 " "[code]\"Default Gamepad\"[/code]默认游戏手柄。" #: doc/classes/Input.xml @@ -36481,7 +36638,7 @@ msgid "" msgstr "" "如果设备有磁力传感器,则返回设备所有轴的磁场强度,微特斯拉。否则,该方法返回" "[constant Vector3.ZERO]。\n" -"[b]注意:[/b] 这个方法只在Android、iOS和UWP上有效。在其他平台上,总是返回" +"[b]注意:[/b]这个方法只在Android、iOS和UWP上有效。在其他平台上,总是返回" "[constant Vector3.ZERO]。" #: doc/classes/Input.xml @@ -36521,9 +36678,9 @@ msgid "" "the button.\n" "This is useful for code that needs to run only once when an action is " "pressed, instead of every frame while it's pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_just_pressed] may " "return [code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -36534,8 +36691,8 @@ msgstr "" "这对那些只需要在动作被按下时运行一次的代码中很有用,而不是在按下时每一帧都要" "运行。\n" "如果 [code]exact[/code] 是 [code]false[/code],它将忽略 [InputEventKey] 和 " -"[InputEventMouseButton] 事件的输入修饰符,以及 [InputEventJoypadMotion] 事件" -"的方向。\n" +"[InputEventMouseButton] 事件的额外输入修饰符,以及 [InputEventJoypadMotion] " +"事件的方向。\n" "[b]注意:[/b]由于键盘冲突,[method is_action_just_pressed] 可能会在动作的某个" "键按下时也返回 [code]false[/code]。详情请参阅文档[url=$DOCS_URL/tutorials/" "inputs/input_examples.html#keyboard-events]《输入示例》[/url]。" @@ -36545,15 +36702,15 @@ msgid "" "Returns [code]true[/code] when the user stops pressing the action event, " "meaning it's [code]true[/code] only on the frame that the user released the " "button.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." -msgstr "" -"当用户停止按下动作事件时,返回[code]true[/code],也就是说,只有在用户释放按钮" -"的那一帧才是[code]true[/code]。\n" -"如果[code]exact[/code]是[code]false[/code],它将忽略[InputEventKey]和" -"[InputEventMouseButton]事件的输入修饰符,以及[InputEventJoypadMotion]事件的方" -"向。" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." +msgstr "" +"当用户停止按下动作事件时,返回 [code]true[/code],也就是说,只有在用户释放按" +"钮的那一帧才是 [code]true[/code]。\n" +"如果 [code]exact[/code] 是 [code]false[/code],它将忽略 [InputEventKey] 和 " +"[InputEventMouseButton] 事件的额外输入修饰符,以及 [InputEventJoypadMotion] " +"事件的方向。" #: doc/classes/Input.xml msgid "" @@ -36561,9 +36718,9 @@ msgid "" "an action has multiple buttons assigned and more than one of them is " "pressed, releasing one button will release the action, even if some other " "button assigned to this action is still pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -36573,8 +36730,8 @@ msgstr "" "配的按钮,并且不止一个被按下,释放一个按钮将释放这个动作,即使其他分配给这个" "动作的按钮仍然被按下。\n" "如果 [code]exact[/code] 是 [code]false[/code],它将忽略 [InputEventKey] 和 " -"[InputEventMouseButton] 事件的输入修饰符,以及 [InputEventJoypadMotion] 事件" -"的方向。\n" +"[InputEventMouseButton] 事件的额外输入修饰符,以及 [InputEventJoypadMotion] " +"事件的方向。\n" "[b]注意:[/b]由于键盘冲突,[method is_action_pressed] 可能会在动作的某个键按" "下时也返回 [code]false[/code]。详情请参阅文档[url=$DOCS_URL/tutorials/inputs/" "input_examples.html#keyboard-events]《输入示例》[/url]。" @@ -36584,7 +36741,7 @@ msgid "" "Returns [code]true[/code] if you are pressing the joypad button (see [enum " "JoystickList])." msgstr "" -"如果你正在按下手柄按钮,则返回[code]true[/code],参阅[enum JoystickList]。" +"如果你正在按下手柄按钮,则返回 [code]true[/code],参阅[enum JoystickList]。" #: doc/classes/Input.xml msgid "" @@ -36593,9 +36750,9 @@ msgid "" "JoystickList]. Unknown joypads are not expected to match these constants, " "but you can still retrieve events from them." msgstr "" -"如果系统知道指定的设备,则返回[code]true[/code]。这意味着它将完全按照[enum " -"JoystickList]中的定义设置所有按钮和轴的索引。未知的操纵杆可能不会与这些常数相" -"匹配,但你仍然可以从中检索事件。" +"如果系统知道指定的设备,则返回 [code]true[/code]。这意味着它将完全按照 [enum " +"JoystickList] 中的定义设置所有按钮和轴的索引。未知的操纵杆可能不会与这些常量" +"相匹配,但你仍然可以从中检索事件。" #: doc/classes/Input.xml msgid "" @@ -36702,7 +36859,7 @@ msgid "" msgstr "" "设置加速度传感器的加速度值。可以用于在没有硬件传感器的设备上进行调试,例如在" "PC上的编辑器中。\n" -"[b]注意:[/b] 这个值在Android和iOS上可立即被硬件传感器的值所覆盖。" +"[b]注意:[/b]这个值在Android和iOS上可立即被硬件传感器的值所覆盖。" #: doc/classes/Input.xml msgid "" @@ -36819,8 +36976,8 @@ msgstr "" "[code]strong_magnitude[/code] 强震级是强电机的强度(0 到 1 之间)。 " "[code]duration[/code] 是效果的持续时间(以秒为单位)(持续时间为 0 将尝试无限" "期地播放振动)。\n" -"[b]注意:[/b] 并非所有硬件都兼容长效果持续时间;如果必须播放超过几秒钟的效" -"果,建议重新启动效果。" +"[b]注意:[/b]并非所有硬件都兼容长效果持续时间;如果必须播放超过几秒钟的效果," +"建议重新启动效果。" #: doc/classes/Input.xml msgid "Stops the vibration of the joypad." @@ -37023,28 +37180,28 @@ msgstr "返回事件的 [String] 字符串表示。" msgid "" "Returns a value between 0.0 and 1.0 depending on the given actions' state. " "Useful for getting the value of events of type [InputEventJoypadMotion].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" -"根据给定的动作的状态,返回0.0到1.0之间的值。对于获取[InputEventJoypadMotion]" -"类型的事件值时,很有用。\n" -"如果[code]exact_match[/code]是[code]false[/code],它将忽略[InputEventKey]和" -"[InputEventMouseButton]事件的输入修饰符,以及[InputEventJoypadMotion]事件的方" -"向。" +"根据给定的动作的状态,返回 0.0 到 1.0 之间的值。对于获取 " +"[InputEventJoypadMotion] 类型的事件值时,很有用。\n" +"如果 [code]exact_match[/code] 是 [code]false[/code],它将忽略 " +"[InputEventKey] 和 [InputEventMouseButton] 事件的额外输入修饰符,以及 " +"[InputEventJoypadMotion] 事件的方向。" #: doc/classes/InputEvent.xml msgid "" "Returns [code]true[/code] if this input event matches a pre-defined action " "of any type.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" -"如果这个输入事件与任何类型的预定义动作匹配,则返回[code]true[/code]。\n" -"如果[code]exact_match[/code]是[code]false[/code],它将忽略[InputEventKey]和" -"[InputEventMouseButton]事件的输入修饰符,以及[InputEventJoypadMotion]事件的方" -"向。" +"如果这个输入事件与任何类型的预定义动作匹配,则返回 [code]true[/code]。\n" +"如果 [code]exact_match[/code] 是 [code]false[/code],它将忽略 " +"[InputEventKey] 和 [InputEventMouseButton] 事件的额外输入修饰符,以及 " +"[InputEventJoypadMotion] 事件的方向。" #: doc/classes/InputEvent.xml msgid "" @@ -37052,9 +37209,9 @@ msgid "" "an echo event for [InputEventKey] events, unless [code]allow_echo[/code] is " "[code]true[/code]). Not relevant for events of type [InputEventMouseMotion] " "or [InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events.\n" +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -37064,7 +37221,7 @@ msgstr "" "的回显事件,除非 [code]allow_echo[/code] 是 [code]true[/code]。与 " "[InputEventMouseMotion] 或 [InputEventScreenDrag] 类型的事件无关。\n" "如果 [code]exact_match[/code] 是 [code]false[/code],它将忽略 " -"[InputEventKey] 和 [InputEventMouseButton] 事件的输入修饰符,以及 " +"[InputEventKey] 和 [InputEventMouseButton] 事件的额外输入修饰符,以及 " "[InputEventJoypadMotion] 事件的方向。\n" "[b]注意:[/b]由于键盘冲突,[method is_action_pressed] 可能会在动作的某个键按" "下时也返回 [code]false[/code]。详情请参阅文档[url=$DOCS_URL/tutorials/inputs/" @@ -37075,15 +37232,15 @@ msgid "" "Returns [code]true[/code] if the given action is released (i.e. not " "pressed). Not relevant for events of type [InputEventMouseMotion] or " "[InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" -"如果给定的动作被释放,即未被按下,则返回[code]true[/code]。与" -"[InputEventMouseMotion]或[InputEventScreenDrag]类型的事件无关。\n" -"如果[code]exact_match[/code]是[code]false[/code],它将忽略[InputEventKey]和" -"[InputEventMouseButton]事件的输入修饰符,以及[InputEventJoypadMotion]事件的方" -"向。" +"如果给定的动作被释放,即未被按下,则返回 [code]true[/code]。与 " +"[InputEventMouseMotion] 或 [InputEventScreenDrag] 类型的事件无关。\n" +"如果 [code]exact_match[/code] 是 [code]false[/code],它将忽略 " +"[InputEventKey] 和 [InputEventMouseButton] 事件的额外入修饰符,以及 " +"[InputEventJoypadMotion] 事件的方向。" #: doc/classes/InputEvent.xml msgid "" @@ -37121,16 +37278,16 @@ msgid "" "event. Only valid for action events i.e key ([InputEventKey]), button " "([InputEventMouseButton] or [InputEventJoypadButton]), axis " "[InputEventJoypadMotion] or action ([InputEventAction]) events.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" "如果指定的 [code]event[/code] 与此事件匹配,则返回 [code]true[/code]。仅对动" "作事件有效,即键 ([InputEventKey])、按钮 ([InputEventMouseButton] 或 " "[InputEventJoypadButton])、轴 [InputEventJoypadMotion] 或动作 " "([InputEventAction]) 事件。\n" "如果 [code]exact_match[/code] 是 [code]false[/code],它会忽略 " -"[InputEventKey] 和 [InputEventMouseButton] 事件的输入修饰符,以及 " +"[InputEventKey] 和 [InputEventMouseButton] 事件的额外输入修饰符,以及 " "[InputEventJoypadMotion] 事件的方向。" #: doc/classes/InputEvent.xml @@ -37142,7 +37299,7 @@ msgid "" "and [InputEventPanGesture]." msgstr "" "返回给定输入事件的副本,该事件已由 [code]local_ofs[/code] 偏移并由 " -"[code]xform[/code] 转换。与 [InputEventMouseButton]、" +"[code]xform[/code] 变换。与 [InputEventMouseButton]、" "[InputEventMouseMotion]、[InputEventScreenTouch]、[InputEventScreenDrag]、" "[InputEventMagnifyGesture] 和 [InputEventPanGesture] 类型的事件相关。" @@ -37610,7 +37767,7 @@ msgid "" "code] when the user stops moving the mouse." msgstr "" "鼠标相对于前一个位置的位置(上一帧的位置)。\n" -"[b]注意:[/b] 因为[InputEventMouseMotion]只在鼠标移动时发出,当用户停止移动鼠" +"[b]注意:[/b]因为[InputEventMouseMotion]只在鼠标移动时发出,当用户停止移动鼠" "标时,最后一个事件的相对位置不会是[code]Vector2(0, 0)[/code]。" #: doc/classes/InputEventMouseMotion.xml @@ -37755,7 +37912,7 @@ msgstr "返回该操作的死区值。" msgid "" "Returns [code]true[/code] if the action has the given [InputEvent] " "associated with it." -msgstr "如果该动作有给定的[InputEvent]与之相关,则返回[code]true[/code]。" +msgstr "如果该动作有给定的[InputEvent]与之相关,则返回 [code]true[/code]。" #: doc/classes/InputMap.xml msgid "Sets a deadzone value for the action." @@ -37781,16 +37938,16 @@ msgid "" "This method ignores keyboard modifiers if the given [InputEvent] is not " "pressed (for proper release detection). See [method action_has_event] if you " "don't want this behavior.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" -"如果给定的事件是现有动作的一部分,返回[code]true[/code]。如果给定的" -"[InputEvent]没有被按下,这个方法会忽略键盘(为了正确地检测释放)。如果你不想" -"要这种行为,请参阅[method action_has_event]。\n" -"如果[code]exact_match[/code]是[code]false[/code],它会忽略[InputEventKey]和" -"[InputEventMouseButton]事件的输入修饰符,以及[InputEventJoypadMotion]事件的方" -"向。" +"如果给定的事件是现有动作的一部分,返回 [code]true[/code]。如果给定的 " +"[InputEvent] 没有被按下,这个方法会忽略键盘(为了正确地检测释放)。如果你不想" +"要这种行为,请参阅 [method action_has_event]。\n" +"如果 [code]exact_match[/code] 是 [code]false[/code],它会忽略 " +"[InputEventKey] 和 [InputEventMouseButton] 事件的额外输入修饰符,以及 " +"[InputEventJoypadMotion] 事件的方向。" #: doc/classes/InputMap.xml msgid "Returns an array of [InputEvent]s associated with a given action." @@ -37804,7 +37961,7 @@ msgstr "返回[InputMap]中所有动作的数组。" msgid "" "Returns [code]true[/code] if the [InputMap] has a registered action with the " "given name." -msgstr "如果[InputMap]有一个给定名称的注册动作,返回[code]true[/code]。" +msgstr "如果[InputMap]有一个给定名称的注册动作,返回 [code]true[/code]。" #: doc/classes/InputMap.xml msgid "" @@ -38087,8 +38244,9 @@ msgid "" "depending on the [enum Type] constant given as [code]ip_type[/code]. Returns " "the queue ID if successful, or [constant RESOLVER_INVALID_ID] on error." msgstr "" -"创建一个队列项目,根据[enum Type]常数[code]ip_type[/code],将主机名解析为IPv4" -"或IPv6地址。如果成功,返回队列ID,否则返回[constant RESOLVER_INVALID_ID]。" +"创建一个队列项目,根据 [enum Type] 常量 [code]ip_type[/code],将主机名解析为 " +"IPv4 或 IPv6 地址。如果成功,则返回队列 ID,否则返回 [constant " +"RESOLVER_INVALID_ID]。" #: doc/classes/IP.xml msgid "DNS hostname resolver status: No status." @@ -38117,7 +38275,7 @@ msgstr "" #: doc/classes/IP.xml msgid "" "Invalid ID constant. Returned if [constant RESOLVER_MAX_QUERIES] is exceeded." -msgstr "无效的ID常数。如果超过了[constant RESOLVER_MAX_QUERIES],则返回。" +msgstr "无效的 ID 常量。在超过 [constant RESOLVER_MAX_QUERIES] 时返回。" #: doc/classes/IP.xml msgid "Address type: None." @@ -38139,8 +38297,7 @@ msgstr "地址类型:任意。" msgid "" "Control that provides a list of selectable items (and/or icons) in a single " "column, or optionally in multiple columns." -msgstr "" -"该控件提供了一个单列的可选择项目(和/或图标)的列表,也可以选择多列的。" +msgstr "提供可选中项目(和/或图标)列表的控件,既可以是单列,也可以是多列。" #: doc/classes/ItemList.xml msgid "" @@ -38258,8 +38415,8 @@ msgid "" "[member CanvasItem.visible] property." msgstr "" "返回垂直滚动条。\n" -"[b]警告:[/b] 这是一个必需的内部节点,删除和释放它可能会导致崩溃。如果您希望" -"隐藏它或其任何子项,请使用它们的 [member CanvasItem.visible] 属性。" +"[b]警告:[/b]这是一个必需的内部节点,删除和释放它可能会导致崩溃。如果您希望隐" +"藏它或其任何子项,请使用它们的 [member CanvasItem.visible] 属性。" #: doc/classes/ItemList.xml msgid "Returns [code]true[/code] if one or more items are selected." @@ -38388,11 +38545,11 @@ msgstr "确保没有选择任何项目。" #: doc/classes/ItemList.xml msgid "" "If [code]true[/code], the currently selected item can be selected again." -msgstr "如果为[code]true[/code],则可以再次选择当前选中的项目。" +msgstr "如果为 [code]true[/code],则可以再次选择当前选中的项目。" #: doc/classes/ItemList.xml msgid "If [code]true[/code], right mouse button click can select items." -msgstr "如果为[code]true[/code],点击鼠标右键可以选中项目。" +msgstr "如果为 [code]true[/code],点击鼠标右键可以选中项目。" #: doc/classes/ItemList.xml msgid "" @@ -38451,8 +38608,8 @@ msgid "" "should be greater than zero." msgstr "" "每个子项中允许的最大文本行数。即使没有足够的文本行数来显示,也会保留空间。\n" -"[b]注意:[/b] 这个属性只有在 [member icon_mode] 是 [constant ICON_MODE_TOP] " -"时才会生效。要使文本自动换行,[member fixed_column_width]应大于零。" +"[b]注意:[/b]这个属性只有在 [member icon_mode] 是 [constant ICON_MODE_TOP] 时" +"才会生效。要使文本自动换行,[member fixed_column_width]应大于零。" #: doc/classes/ItemList.xml msgid "" @@ -38653,11 +38810,11 @@ msgid "" msgstr "" "提示用户下载一个包含指定[code]buffer[/code]缓冲区的文件。该文件将具有给定的" "[code]name[/code]和[code]mime[/code]类型。\n" -"[b]注意:[/b] 浏览器可能会根据文件[code]name[/code]的扩展名,覆盖所提供的" +"[b]注意:[/b]浏览器可能会根据文件[code]name[/code]的扩展名,覆盖所提供的" "[url=https://en.wikipedia.org/wiki/Media_type]MIME类型[/url]。\n" -"[b]注意:[/b] 如果[method download_buffer]不是由用户交互调用,如点击按钮,浏" -"览器可能会阻止下载。\n" -"[b]注意:[/b] 如果快速连续提出多个下载请求,浏览器可能会要求用户同意或阻止下" +"[b]注意:[/b]如果[method download_buffer]不是由用户交互调用,如点击按钮,浏览" +"器可能会阻止下载。\n" +"[b]注意:[/b]如果快速连续提出多个下载请求,浏览器可能会要求用户同意或阻止下" "载。" #: doc/classes/JavaScript.xml @@ -38794,7 +38951,7 @@ msgstr "" " # [0, 9, [JavaScriptObject:1180]]\n" " print(args)\n" "[/codeblock]\n" -"[b]注意:[/b] 只在HTML5平台上可用。" +"[b]注意:[/b]只在HTML5平台上可用。" #: doc/classes/JNISingleton.xml msgid "" @@ -38884,7 +39041,7 @@ msgstr "" #: doc/classes/Joint2D.xml msgid "" "If [code]true[/code], [member node_a] and [member node_b] can not collide." -msgstr "如果为[code]true[/code],[member node_a]和[member node_b]不能碰撞。" +msgstr "如果为 [code]true[/code],[member node_a]和[member node_b]不能碰撞。" #: doc/classes/Joint2D.xml msgid "The first body attached to the joint. Must derive from [PhysicsBody2D]." @@ -38893,7 +39050,7 @@ msgstr "连接到关节的第一个实体。必须继承自 [PhysicsBody2D] 。" #: doc/classes/Joint2D.xml msgid "" "The second body attached to the joint. Must derive from [PhysicsBody2D]." -msgstr "连接到关节的第二实体。必须继承自[PhysicsBody2D]。" +msgstr "连接到关节的第二实体。必须继承自 [PhysicsBody2D]。" #: doc/classes/JSON.xml msgid "Helper class for parsing JSON data." @@ -38911,7 +39068,7 @@ msgstr "" msgid "" "Parses a JSON-encoded string and returns a [JSONParseResult] containing the " "result." -msgstr "解析一个JSON编码的字符串并返回一个包含结果的[JSONParseResult]。" +msgstr "解析 JSON 编码的字符串并返回包含结果的 [JSONParseResult]。" #: doc/classes/JSON.xml msgid "" @@ -38972,7 +39129,7 @@ msgstr "" "参数 [code]indent[/code] 控制是否以及如何缩进,输出时需要进行一级缩进时会使用" "该字符串参数,甚至可以使用空格 [code]\" \"[/code]。也可以使用 [code]\\t[/" "code] 和 [code]\\n[/code] 来进行制表符缩进,或者将每次缩进转换为换行。\n" -"[b]Example output:[/b]\n" +"[b]示例输出:[/b]\n" "[codeblock]\n" "## JSON.print(my_dictionary)\n" "{\"name\":\"my_dictionary\",\"version\":\"1.0.0\",\"entities\":[{\"name\":" @@ -39014,7 +39171,7 @@ msgstr "" #: doc/classes/JSONParseResult.xml msgid "Data class wrapper for decoded JSON." -msgstr "解码 JSON 的数据类包装器。" +msgstr "解码 JSON 得到的数据类封装。" #: doc/classes/JSONParseResult.xml msgid "" @@ -39037,7 +39194,7 @@ msgstr "未成功解析 JSON 源时的错误类型。请参阅 [enum Error] 常 msgid "" "The line number where the error occurred if the JSON source was not " "successfully parsed." -msgstr "如果JSON源没有被成功解析,返回发生错误的行号。" +msgstr "如果 JSON 源没有被成功解析,返回发生错误的行号。" #: doc/classes/JSONParseResult.xml msgid "" @@ -39244,8 +39401,8 @@ msgid "" "code]." msgstr "" "返回最后一个碰撞点的地板的表面法线。只有在调用[method move_and_slide]或" -"[method move_and_slide_with_snap]后,以及[method is_on_floor]返回[code]true[/" -"code]时才有效。" +"[method move_and_slide_with_snap]后,以及[method is_on_floor]返回 " +"[code]true[/code] 时才有效。" #: doc/classes/KinematicBody.xml doc/classes/KinematicBody2D.xml msgid "" @@ -39473,7 +39630,7 @@ msgid "" "for example on moving platforms. Do [b]not[/b] use together with [method " "move_and_slide] or [method move_and_collide] functions." msgstr "" -"如果为[code]true[/code],则物体的运动将与物理帧同步。当通过[AnimationPlayer]" +"如果为 [code]true[/code],则物体的运动将与物理帧同步。当通过[AnimationPlayer]" "为运动设置动画时,例如在移动平台上,这个功能很有用。请[b]不要[/b]与 [method " "move_and_slide] 或 [method move_and_collide] 函数一起使用。" @@ -39846,14 +40003,14 @@ msgid "" "characters instead. This will be resolved in Godot 4.0." msgstr "" "标签在屏幕上显示纯文本。可以控制水平和垂直的对齐方式,并且可以将文本包裹在节" -"点的边界矩形内。它不支持粗体、斜体或其他格式。若使用,请改用 " +"点的边界矩形内。它不支持粗体、斜体等格式。如果需要使用,请改用 " "[RichTextLabel]。\n" -"[b]注意:[/b] 与大多数其他 [Control] 不同,Label 的 [member Control." -"mouse_filter] 默认为 [constant Control.MOUSE_FILTER_IGNORE],即它不响应鼠标输" -"入事件。这意味着标签不会显示任何已配置的 [member Control.hint_tooltip],除非" +"[b]注意:[/b]与大多数其他 [Control] 不同,Label 的 [member Control." +"mouse_filter] 默认为 [constant Control.MOUSE_FILTER_IGNORE](即不响应鼠标输入" +"事件)。这意味着标签不会显示任何已配置的 [member Control.hint_tooltip],除非" "更改其鼠标过滤器。\n" "[b]注意:[/b]Windows 上[i]不支持[/i] [code]0xffff[/code] 之后的 Unicode 字" -"符,例如大多数表情符号,它们将显示为未知字符。这将在 Godot 4.0 中解决。" +"符,例如大多数表情符号,它们将显示为未知字符。将在 Godot 4.0 中解决。" #: doc/classes/Label.xml msgid "Returns the amount of lines of text the Label has." @@ -39889,15 +40046,16 @@ msgid "" "If you resize the node, it will change its height automatically to show all " "the text." msgstr "" -"如果[code]true[/code],则将文本包裹在节点的边界矩形内。如果你调整节点的大小," -"它将自动改变其高度以显示所有的文本。" +"如果为 [code]true[/code],文本将在节点的边界矩形内自动换行。如果你调整节点的" +"大小,它将自动改变其高度以显示所有的文本。" #: doc/classes/Label.xml msgid "" "If [code]true[/code], the Label only shows the text that fits inside its " "bounding rectangle and will clip text horizontally." msgstr "" -"如果 [code]true[/code],则标签仅显示适合其边界矩形的文本,并将水平剪切文本。" +"如果为 [code]true[/code],Label 将仅显示位于其边界矩形内部的文本,并将水平裁" +"剪文本。" #: doc/classes/Label.xml msgid "" @@ -39924,14 +40082,14 @@ msgstr "要在屏幕上显示的文本。" #: doc/classes/Label.xml msgid "If [code]true[/code], all the text displays as UPPERCASE." -msgstr "如果 [code]true[/code],则所有文本都显示为大写。" +msgstr "如果为 [code]true[/code],所有文本都将显示为大写。" #: doc/classes/Label.xml msgid "" "Controls the text's vertical align. Supports top, center, bottom, and fill. " "Set it to one of the [enum VAlign] constants." msgstr "" -"控制文本的垂直对齐。支持顶部、中心、底部和填充。参阅[enum VAlign]常数。" +"控制文本的垂直对齐。支持顶部、中心、底部和填充。参阅 [enum VAlign] 常量。" #: doc/classes/Label.xml msgid "Restricts the number of characters to display. Set to -1 to disable." @@ -40155,8 +40313,8 @@ msgid "" "emission, this can be used to avoid unrealistic reflections when placing " "lights above an emissive surface." msgstr "" -"受灯光影响的对象中镜面反射斑点的强度。在[code]0[/code]处,灯光变成纯漫反射灯" -"光。当不烘焙发射时,这可用于在发射表面上方放置灯光时避免不真实的反射。" +"受灯光影响的对象中镜面反射斑点的强度。在 [code]0[/code] 处,灯光变成纯漫反射" +"灯光。当不烘焙发射时,这可用于在发光表面上方放置灯光时避免不真实的反射。" #: doc/classes/Light.xml msgid "" @@ -40186,7 +40344,7 @@ msgstr "" #: doc/classes/Light.xml msgid "If [code]true[/code], the light will cast shadows." -msgstr "如果为[code]true[/code],光线会投下阴影。" +msgstr "如果为 [code]true[/code],光线会投下阴影。" #: doc/classes/Light.xml msgid "" @@ -40202,19 +40360,19 @@ msgstr "" #: doc/classes/Light.xml msgid "Constant for accessing [member light_energy]." -msgstr "访问[member light_energy]的常数。" +msgstr "用于访问 [member light_energy] 的常量。" #: doc/classes/Light.xml msgid "Constant for accessing [member light_indirect_energy]." -msgstr "访问[member light_indirect_energy]的常数。" +msgstr "用于访问 [member light_indirect_energy] 的常量。" #: doc/classes/Light.xml msgid "Constant for accessing [member light_size]." -msgstr "访问[member light_size]的常数。" +msgstr "用于访问 [member light_size] 的常量。" #: doc/classes/Light.xml msgid "Constant for accessing [member light_specular]." -msgstr "访问[member light_specular]的常数。" +msgstr "用于访问 [member light_specular] 的常量。" #: doc/classes/Light.xml msgid "" @@ -40291,7 +40449,7 @@ msgid "" "[b]Note:[/b] Hiding a light does [i]not[/i] affect baking." msgstr "" "烘焙时忽略灯光。\n" -"[b]注意:[/b]隐藏灯光[i]不[/i]会影响烘焙。" +"[b]注意:[/b]隐藏灯光[i]不会[/i]影响烘焙。" #: doc/classes/Light.xml msgid "Only indirect lighting will be baked (default)." @@ -40304,7 +40462,7 @@ msgid "" "(dynamic and baked)." msgstr "" "直接光和间接光都将被烘焙。\n" -"[b]注意:[/b] 如果不想让灯光出现两次(动态和烘焙),则应隐藏灯光。" +"[b]注意:[/b]如果不想让灯光出现两次(动态和烘焙),则应隐藏灯光。" #: doc/classes/Light2D.xml msgid "Casts light in a 2D environment." @@ -40317,9 +40475,9 @@ msgid "" "parameters (range and shadows-related).\n" "[b]Note:[/b] Light2D can also be used as a mask." msgstr "" -"在2D环境中投射光线。光线由一张纹理(通常是灰度)、一种颜色、一个能量值、一种" -"模式(参阅常数)以及其他各种参数(与范围和阴影有关)来定义。\n" -"[b]注意:[/b] Light2D也可以作为一个遮罩使用。" +"在 2D 环境中投射光线。光线由一张纹理(通常是灰度)、一种颜色、一个能量值、一" +"种模式(参阅常量)以及其他各种参数(与范围和阴影有关)来定义。\n" +"[b]注意:[/b]Light2D 也可以作为遮罩使用。" #: doc/classes/Light2D.xml msgid "The Light2D's [Color]." @@ -40340,7 +40498,7 @@ msgstr "Light2D的能量值。该值越大,光线就越强。" #: doc/classes/Light2D.xml msgid "The Light2D's mode. See [enum Mode] constants for values." -msgstr "Light2D的模式。参阅[enum Mode]常数的值。" +msgstr "Light2D 的模式。取值参阅 [enum Mode] 常量。" #: doc/classes/Light2D.xml msgid "The offset of the Light2D's [code]texture[/code]." @@ -40502,7 +40660,7 @@ msgstr "用于计算阴影的[OccluderPolygon2D]。" #: doc/classes/Line2D.xml msgid "A 2D line." -msgstr "一条2D线。" +msgstr "一条 2D 线。" #: doc/classes/Line2D.xml msgid "" @@ -40530,11 +40688,12 @@ msgid "" "get_point_count][/code]), the point will be appended at the end of the point " "list." msgstr "" -"在[code]position[/code]添加点。将点追加到直线的末尾。\n" -"如果给定了位置[code]at_position[/code],则在位置[code]at_position[/code]之前" -"插入该点,并将该点(以及之后的每个点)移动到插入点之后。如果未给出位置处的" -"[code]at_position[/code],或者是非法值([code]at_position <0[/code]或位置处的" -"[code]>=[method get_point_count][/code]),则该点将追加到点列表的末尾。" +"在 [code]position[/code] 添加点。将点追加到直线的末尾。\n" +"如果给定了位置 [code]at_position[/code],则在位置 [code]at_position[/code] 之" +"前插入该点,并将该点(以及之后的每个点)移动到插入点之后。如果未给出位置处的 " +"[code]at_position[/code],或者是非法值([code]at_position < 0[/code] 或 " +"[code]at_position >= [method get_point_count][/code]),则该点将追加到点列表" +"的末尾。" #: doc/classes/Line2D.xml msgid "Removes all points from the line." @@ -40542,7 +40701,7 @@ msgstr "移除直线上的所有点。" #: doc/classes/Line2D.xml msgid "Returns the Line2D's amount of points." -msgstr "返回在Line2D上点的数量。" +msgstr "返回该 Line2D 上点的数量。" #: doc/classes/Line2D.xml msgid "Returns point [code]i[/code]'s position." @@ -40564,13 +40723,13 @@ msgid "" "[b]Note:[/b] Line2D is not accelerated by batching when being anti-aliased." msgstr "" "如果[code]true[/code],线条的边界将抗锯齿。\n" -"[b]注意:[/b] Line2D在抗锯齿时不会被批量加速。" +"[b]注意:[/b]Line2D在抗锯齿时不会被批量加速。" #: doc/classes/Line2D.xml msgid "" "Controls the style of the line's first point. Use [enum LineCapMode] " "constants." -msgstr "控制直线的第一个点的样式。使用[enum LineCapMode]线帽模式常数。" +msgstr "控制直线的第一个点的样式。使用 [enum LineCapMode] 常量。" #: doc/classes/Line2D.xml msgid "The line's color. Will not be used if a gradient is set." @@ -40580,7 +40739,7 @@ msgstr "线条的颜色。如果设置了渐变,则不会生效。" msgid "" "Controls the style of the line's last point. Use [enum LineCapMode] " "constants." -msgstr "控制线条最后一点的样式。使用[enum LineCapMode]常数。" +msgstr "控制线条最后一点的样式。使用 [enum LineCapMode] 常量。" #: doc/classes/Line2D.xml msgid "" @@ -40631,45 +40790,45 @@ msgid "" "The style to render the [code]texture[/code] on the line. Use [enum " "LineTextureMode] constants." msgstr "" -"在线条上渲染[code]texture[/code]的样式。使用[enum LineTextureMode]常量。" +"在线条上渲染 [code]texture[/code] 的样式。使用 [enum LineTextureMode] 常量。" #: doc/classes/Line2D.xml msgid "The line's width." -msgstr "线的宽度。" +msgstr "该线条的宽度。" #: doc/classes/Line2D.xml msgid "" "The line's width varies with the curve. The original width is simply " "multiply by the value of the Curve." -msgstr "线条的宽度随曲线的变化而变化。原始宽度只需乘以曲线的值即可。" +msgstr "该线条的宽度随曲线变化。原始宽度只需乘以曲线的值即可。" #: doc/classes/Line2D.xml msgid "" "The line's joints will be pointy. If [code]sharp_limit[/code] is greater " "than the rotation of a joint, it becomes a bevel joint instead." msgstr "" -"这条线的接头将是尖的。如果[code]sharp_limit[/code]大于关节的旋转,则它将变为" -"斜角关节。" +"该线条的交点将是尖头。如果 [code]sharp_limit[/code] 大于交点的旋转,它将变为" +"倒角交点。" #: doc/classes/Line2D.xml msgid "The line's joints will be bevelled/chamfered." -msgstr "线的接头将斜切/倒角。" +msgstr "该线条的交点将为倒角/切角。" #: doc/classes/Line2D.xml msgid "The line's joints will be rounded." -msgstr "该线的接头将为圆形。" +msgstr "该线条的交点将为圆角。" #: doc/classes/Line2D.xml msgid "Don't draw a line cap." -msgstr "不能在线帽上绘制。" +msgstr "不绘制线条的端点。" #: doc/classes/Line2D.xml msgid "Draws the line cap as a box." -msgstr "将线帽绘制为长方体。" +msgstr "将线条端点绘制为矩形。" #: doc/classes/Line2D.xml msgid "Draws the line cap as a circle." -msgstr "将线帽绘制为圆。" +msgstr "将线条端点绘制为圆形。" #: doc/classes/Line2D.xml msgid "" @@ -40680,17 +40839,17 @@ msgstr "获取纹理的左侧像素并在整个线条上渲染它。" msgid "" "Tiles the texture over the line. The texture must be imported with " "[b]Repeat[/b] enabled for it to work properly." -msgstr "在线条上平铺纹理。导入纹理时必须启用[b]Repeat[/b]才能正常工作。" +msgstr "在线条上平铺纹理。导入纹理时必须启用 [b]Repeat[/b] 才能正常工作。" #: doc/classes/Line2D.xml msgid "" "Stretches the texture across the line. Import the texture with [b]Repeat[/b] " "disabled for best results." -msgstr "沿直线拉伸纹理。导入禁用[b]重复[/b]的纹理以获得最佳效果。" +msgstr "沿线条拉伸纹理。导入禁用 [b]Repeat[/b] 的纹理以获得最佳效果。" #: doc/classes/LineEdit.xml msgid "Control that provides single-line string editing." -msgstr "该控件提供单行字符串编辑。" +msgstr "提供单行字符串编辑功能的控件。" #: doc/classes/LineEdit.xml msgid "" @@ -40748,18 +40907,18 @@ msgid "" "Adds [code]text[/code] after the cursor. If the resulting value is longer " "than [member max_length], nothing happens." msgstr "" -"在光标后添加[code]text[/code]文本。如果产生的值长于[member max_length],则不" -"会发生任何事情。" +"在光标后添加 [code]text[/code] 文本。如果最终值比 [member max_length] 长,则" +"不会发生任何事情。" #: doc/classes/LineEdit.xml msgid "Erases the [LineEdit]'s [member text]." -msgstr "擦除 [LineEdit] 的 [member text]文本 。" +msgstr "擦除 [LineEdit] 的 [member text]。" #: doc/classes/LineEdit.xml msgid "" "Deletes one character at the cursor's current position (equivalent to " "pressing the [code]Delete[/code] key)." -msgstr "在光标的当前位置删除一个字符(相当于按[code]Delete[/code]键)。" +msgstr "在光标的当前位置删除一个字符(相当于按 [code]Delete[/code] 键)。" #: doc/classes/LineEdit.xml msgid "" @@ -40767,10 +40926,10 @@ msgid "" "[code]from_column[/code] to [code]to_column[/code]. Both parameters should " "be within the text's length." msgstr "" -"删除从[code]from_column[/code]到[code]to_column[/code]位置的文本[member text]" -"的一部分。两个参数都应该在文本的长度之内。" +"删除 [member text] 中从起始列 [code]from_column[/code] 到结束列 " +"[code]to_column[/code] 的部分。两个参数都应该在文本的长度之内。" -#: doc/classes/LineEdit.xml +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml msgid "Clears the current selection." msgstr "清除当前选择。" @@ -40782,20 +40941,33 @@ msgid "" "may cause a crash. If you wish to hide it or any of its children, use their " "[member CanvasItem.visible] property." msgstr "" -"返回这个[LineEdit]的[PopupMenu]。默认情况下,这个菜单在右键点击[LineEdit]时显" -"示。\n" -"[b]警告:[/b] 这是一个必要的内部节点,移除和释放它可能会导致崩溃。如果你想隐" -"藏它或它的任何子节点,请使用其的 [member CanvasItem.visible] 属性。" +"返回这个 [LineEdit] 的 [PopupMenu]。默认情况下,这个菜单会在右键点击 " +"[LineEdit] 时显示。\n" +"[b]警告:[/b]这是一个必要的内部节点,移除和释放它可能会导致崩溃。如果你想隐藏" +"它或它的任何子节点,请使用其的 [member CanvasItem.visible] 属性。" #: doc/classes/LineEdit.xml msgid "" "Returns the scroll offset due to [member caret_position], as a number of " "characters." -msgstr "返回由[member caret_position]引起的滚动偏移,作为数字字符串。" +msgstr "返回由 [member caret_position] 引起的滚动偏移,单位为字符数。" + +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection begin column." +msgstr "返回选择的开始列。" + +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection end column." +msgstr "返回选择结束列。" + +#: doc/classes/LineEdit.xml +#, fuzzy +msgid "Returns [code]true[/code] if the user has selected text." +msgstr "如果定时器被停止,返回 [code]true[/code]。" #: doc/classes/LineEdit.xml msgid "Executes a given action as defined in the [enum MenuItems] enum." -msgstr "执行[enum MenuItems]枚举中定义的给定操作。" +msgstr "执行 [enum MenuItems] 枚举中定义的给定操作。" #: doc/classes/LineEdit.xml msgid "" @@ -40809,26 +40981,26 @@ msgid "" "select(2, 5) # Will select \"lco\".\n" "[/codeblock]" msgstr "" -"在[code]from[/code]和[code]to[/code]之间的[LineEdit]内选择字符。默认情况下," -"[code]from[/code]位于开头,[code]to[/code]位于结尾。\n" +"选中 [LineEdit] 内位于 [code]from[/code] 和 [code]to[/code] 之间的字符。默认" +"情况下,[code]from[/code] 位于开头,[code]to[/code] 位于结尾。\n" "[codeblock]\n" "text = \"Welcome\"\n" -"select() # 将选择 \"Welcome\".\n" -"select(4) # 将选择 \"ome\".\n" -"select(2, 5) #将选择 \"lco\".\n" +"select() # 将选中“Welcome”。\n" +"select(4) # 将选中“ome”。\n" +"select(2, 5) #将选中“lco”。\n" "[/codeblock]" #: doc/classes/LineEdit.xml msgid "Selects the whole [String]." -msgstr "选择整个 [String]。" +msgstr "选中整个 [String]。" #: doc/classes/LineEdit.xml msgid "Text alignment as defined in the [enum Align] enum." -msgstr "在[enum Align]枚举中定义文本对齐方式。" +msgstr "文本对齐方式,由 [enum Align] 枚举定义。" #: doc/classes/LineEdit.xml doc/classes/TextEdit.xml msgid "If [code]true[/code], the caret (visual cursor) blinks." -msgstr "如果为[code]true[/code],插入符号(可视光标)将闪烁。" +msgstr "如果为 [code]true[/code],插入符号(可视光标)将闪烁。" #: doc/classes/LineEdit.xml doc/classes/TextEdit.xml msgid "Duration (in seconds) of a caret's blinking cycle." @@ -40838,7 +41010,7 @@ msgstr "插入符号闪烁周期的持续时间(秒)。" msgid "" "The cursor's position inside the [LineEdit]. When set, the text may scroll " "to accommodate it." -msgstr "光标在[LineEdit]中的位置。设置后,文本可以滚动以适应它。" +msgstr "光标在 [LineEdit] 中的位置。设置后,文本可以滚动以适应它。" #: doc/classes/LineEdit.xml msgid "" @@ -40850,21 +41022,20 @@ msgstr "" #: doc/classes/LineEdit.xml msgid "If [code]true[/code], the context menu will appear when right-clicked." -msgstr "如果为[code]true[/code],右键单击将出现上下文菜单。" +msgstr "如果为 [code]true[/code],右键单击将出现上下文菜单。" #: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml #: doc/classes/TextEdit.xml -#, fuzzy msgid "" "If [code]true[/code], the selected text will be deselected when focus is " "lost." -msgstr "如果为[code]true[/code],则可以再次选择当前选中的项目。" +msgstr "如果为 [code]true[/code],则在丢失焦点时会取消选中文本。" #: doc/classes/LineEdit.xml msgid "" "If [code]false[/code], existing text cannot be modified and new text cannot " "be added." -msgstr "如果为[code]false[/code],则不能修改现在的文本,也不能添加新文本。" +msgstr "如果为 [code]false[/code],则不能修改现在的文本,也不能添加新文本。" #: doc/classes/LineEdit.xml msgid "" @@ -40872,8 +41043,8 @@ msgid "" "the [member text]. It will [b]not[/b] compress if the [member text] is " "shortened." msgstr "" -"如果[code]true[/code],则[LineEdit]宽度将增加到比[member text]长。如果" -"[member text]被缩短,它将[b]不[/b]压缩。" +"如果为 [code]true[/code],则 [LineEdit] 宽度将增加到比 [member text] 长。如" +"果 [member text] 被缩短,它将[b]不[/b]压缩。" #: doc/classes/LineEdit.xml msgid "" @@ -40896,46 +41067,45 @@ msgid "" "# `text_change_rejected` is emitted with \"bye\" as parameter.\n" "[/codeblock]" msgstr "" -"在[LineEdit]内可输入的最大字符量。如果[code]0[/code],则没有限制。\n" -"当定义了限制时,超过[member max_length]的字符会被截断。这在设置最大长度时现有" -"的 [member text] 内容,或在[LineEdit]中插入的新文本,包括粘贴时发生。如果任何" -"输入的文本被截断,[signal text_change_rejected]信号将以被截断的子串为参数发送" -"出来。\n" -"[b]例如:[/b]\n" +"[LineEdit] 内可输入的最大字符数。如果为 [code]0[/code],则没有限制。\n" +"定义了限制时,超过 [member max_length] 的字符会被截断。适用于设置最大长度时的" +"现有 [member text] 内容,以及在 [LineEdit] 中插入的新文本,包括粘贴进来的文" +"本。如果任何输入的文本被截断,将触发 [signal text_change_rejected] 信号,参数" +"为被截断的子串。\n" +"[b]示例:[/b]\n" "[codeblock]\n" "text = \"Hello world\"\n" "max_length = 5\n" -"# `text` becomes \"Hello\".\n" +"# `text` 变成 \"Hello\"。\n" "max_length = 10\n" "text += \" goodbye\"\n" -"# `text` becomes \"Hello good\".\n" -"# `text_change_rejected` is emitted with \"bye\" as parameter.\n" +"# `text` 变成 \"Hello good\"。\n" +"# 触发 `text_change_rejected`,参数为 \"bye\"。\n" "[/codeblock]" #: doc/classes/LineEdit.xml doc/classes/TextEdit.xml -#, fuzzy msgid "" "If [code]false[/code], using middle mouse button to paste clipboard will be " "disabled.\n" "[b]Note:[/b] This method is only implemented on Linux." msgstr "" -"如果本地视频正在播放,返回[code]true[/code]。\n" -"[b]注意:[/b] 这个方法只在iOS上实现。" +"如果为 [code]false[/code],将禁用鼠标中键粘贴剪贴板。\n" +"[b]注意:[/b]这个方法只在 Linux 上实现。" #: doc/classes/LineEdit.xml msgid "" "Opacity of the [member placeholder_text]. From [code]0[/code] to [code]1[/" "code]." msgstr "" -"[member placeholder_text]的不透明度。值从[code]0[/code]到[code]1[/code]。" +"[member placeholder_text] 的不透明度。值从 [code]0[/code] 到 [code]1[/code]。" #: doc/classes/LineEdit.xml msgid "" "Text shown when the [LineEdit] is empty. It is [b]not[/b] the [LineEdit]'s " "default value (see [member text])." msgstr "" -"当[LineEdit]为空时显示的文本。它[b]不是[/b][LineEdit]的默认值(见 [member " -"text])。" +"当 [LineEdit] 为空时显示的文本。它[b]不是[/b] [LineEdit] 的默认值(见 " +"[member text])。" #: doc/classes/LineEdit.xml msgid "" @@ -40943,15 +41113,15 @@ msgid "" "no [member text], or always, if [member clear_button_enabled] is set to " "[code]false[/code]." msgstr "" -"如果没有[member text],或如果[member clear_button_enabled]设置为[code]false[/" -"code],则设置将出现在[LineEdit]右端的图标。" +"设置 [LineEdit] 右端的图标,这个图标会在没有 [member text] 时出现,如果 " +"[member clear_button_enabled] 为 [code]false[/code] 则始终可见。" #: doc/classes/LineEdit.xml msgid "" "If [code]true[/code], every character is replaced with the secret character " "(see [member secret_character])." msgstr "" -"如果为[code]true[/code],每个字符都会被替换成密码字符(参考[member " +"如果为 [code]true[/code],则每个字符都会被替换成密码字符(见 [member " "secret_character])。" #: doc/classes/LineEdit.xml @@ -40964,11 +41134,11 @@ msgstr "用来作为密码输入的字符(默认为 \"*\")。只能用一个 msgid "" "If [code]false[/code], it's impossible to select the text using mouse nor " "keyboard." -msgstr "如果为[code]false[/code],则无法用鼠标或键盘选择文本。" +msgstr "如果为 [code]false[/code],则无法用鼠标或键盘选择文本。" #: doc/classes/LineEdit.xml msgid "If [code]false[/code], using shortcuts will be disabled." -msgstr "如果为[code]false[/code],快捷键将被禁用。" +msgstr "如果为 [code]false[/code],快捷键将被禁用。" #: doc/classes/LineEdit.xml msgid "" @@ -40976,14 +41146,15 @@ msgid "" "[b]Note:[/b] Changing text using this property won't emit the [signal " "text_changed] signal." msgstr "" -"[LineEdit]的字符串值。\n" -"[b]注意:[/b]使用这个属性更改文本不会触发[signal text_changed]信号。" +"[LineEdit] 的字符串值。\n" +"[b]注意:[/b]使用这个属性更改文本不会触发 [signal text_changed] 信号。" #: doc/classes/LineEdit.xml doc/classes/TextEdit.xml msgid "" "If [code]true[/code], the native virtual keyboard is shown when focused on " "platforms that support it." -msgstr "如果[code]true[/code],则本机虚拟键盘将显示在支持它的平台上。" +msgstr "" +"如果为 [code]true[/code],则在获得焦点时会在支持的平台上显示原生虚拟键盘。" #: doc/classes/LineEdit.xml msgid "" @@ -40991,8 +41162,9 @@ msgid "" "appended text is truncated to fit [member max_length], and the part that " "couldn't fit is passed as the [code]rejected_substring[/code] argument." msgstr "" -"当附加的文本超过了[member max_length]时触发。附加的文本被截断以适应[member " -"max_length],不能适应的部分被作为[code]rejected_substring[/code]参数传递。" +"当追加的文本超过了 [member max_length] 时触发。追加后的文本会被截断以适应 " +"[member max_length],超出的部分会被作为 [code]rejected_substring[/code] 参数" +"传递。" #: doc/classes/LineEdit.xml doc/classes/TextEdit.xml msgid "Emitted when the text changes." @@ -41000,31 +41172,31 @@ msgstr "当文本更改时触发。" #: doc/classes/LineEdit.xml msgid "Emitted when the user presses [constant KEY_ENTER] on the [LineEdit]." -msgstr "当用户按[LineEdit]上的[constant KEY_ENTER]时触发。" +msgstr "当用户在 [LineEdit] 上按 [constant KEY_ENTER] 时触发。" #: doc/classes/LineEdit.xml msgid "Aligns the text on the left-hand side of the [LineEdit]." -msgstr "[LineEdit]文本左对齐。" +msgstr "将 [LineEdit] 的文本左对齐。" #: doc/classes/LineEdit.xml msgid "Centers the text in the middle of the [LineEdit]." -msgstr "[LineEdit]文本居中。" +msgstr "将 [LineEdit] 的文本居中。" #: doc/classes/LineEdit.xml msgid "Aligns the text on the right-hand side of the [LineEdit]." -msgstr "[LineEdit]文本右对齐。" +msgstr "将 [LineEdit] 的文本右对齐。" #: doc/classes/LineEdit.xml msgid "Stretches whitespaces to fit the [LineEdit]'s width." -msgstr "拉伸空白以适应[LineEdit]的宽度。" +msgstr "拉伸空白以适应 [LineEdit] 的宽度。" #: doc/classes/LineEdit.xml doc/classes/TextEdit.xml msgid "Cuts (copies and clears) the selected text." -msgstr "剪切(复制并删除)选定的文本。" +msgstr "剪切(复制并删除)选中的文本。" #: doc/classes/LineEdit.xml doc/classes/TextEdit.xml msgid "Copies the selected text." -msgstr "复制选定的文本。" +msgstr "复制选中的文本。" #: doc/classes/LineEdit.xml msgid "" @@ -41033,17 +41205,17 @@ msgid "" "Non-printable escape characters are automatically stripped from the OS " "clipboard via [method String.strip_escapes]." msgstr "" -"将剪贴板文本粘贴到所选文本上(或光标所在位置)。\n" -"不可打印的转义字符将通过[method String.strip_escapes]从操作系统剪贴板中自动剥" -"离。" +"将剪贴板文本粘贴到所选文本上(或光标所在位置)。\n" +"不可打印的转义字符将通过 [method String.strip_escapes] 从操作系统剪贴板中自动" +"剥离。" #: doc/classes/LineEdit.xml msgid "Erases the whole [LineEdit] text." -msgstr "删除整个[LineEdit]文本。" +msgstr "删除 [LineEdit] 中的全部文本。" #: doc/classes/LineEdit.xml msgid "Selects the whole [LineEdit] text." -msgstr "选择[LineEdit]中所有文本。" +msgstr "选中 [LineEdit] 中的全部文本。" #: doc/classes/LineEdit.xml doc/classes/TextEdit.xml msgid "Undoes the previous action." @@ -41055,7 +41227,7 @@ msgstr "反转最后一个撤销动作。" #: doc/classes/LineEdit.xml doc/classes/TextEdit.xml msgid "Represents the size of the [enum MenuItems] enum." -msgstr "表示[enum MenuItems]枚举的大小。" +msgstr "表示 [enum MenuItems] 枚举的大小。" #: doc/classes/LineEdit.xml msgid "Color used as default tint for the clear button." @@ -41100,27 +41272,27 @@ msgstr "文本使用的字体。" #: doc/classes/LineEdit.xml msgid "Texture for the clear button. See [member clear_button_enabled]." -msgstr "“清除”按钮的纹理。请参阅[member clear_button_enabled]。" +msgstr "“清除”按钮的纹理。请参阅 [member clear_button_enabled]。" #: doc/classes/LineEdit.xml msgid "Background used when [LineEdit] has GUI focus." -msgstr "当[LineEdit]具有图形用户界面焦点时使用的背景。" +msgstr "当 [LineEdit] 具有 GUI 焦点时使用的背景。" #: doc/classes/LineEdit.xml msgid "Default background for the [LineEdit]." -msgstr "[LineEdit]的默认背景。" +msgstr "[LineEdit] 的默认背景。" #: doc/classes/LineEdit.xml msgid "" "Background used when [LineEdit] is in read-only mode ([member editable] is " "set to [code]false[/code])." msgstr "" -"[LineEdit]处于只读模式时使用的背景([member editable]设置为[code]false[/" -"code])。" +"[LineEdit] 处于只读模式时使用的背景([member editable] 设置为 [code]false[/" +"code])。" #: doc/classes/LineShape2D.xml msgid "Line shape for 2D collisions." -msgstr "2D碰撞的线形形状。" +msgstr "2D 碰撞的线形形状。" #: doc/classes/LineShape2D.xml msgid "" @@ -41129,16 +41301,16 @@ msgid "" "bodies, and usually not recommended for static bodies either because it " "forces checks against it on every frame." msgstr "" -"2D碰撞的线形。它像2D平面一样工作,不允许任何物理体向负面运动。不建议刚性体使" -"用,通常也不建议静态体使用,因为它会在每个框架上强制对其进行检查。" +"2D 碰撞的线形形状。它像 2D 平面一样工作,不允许任何物理体向负面运动。不建议刚" +"性体使用,通常也不建议静态体使用,因为它会在每个框架上强制对其进行检查。" #: doc/classes/LineShape2D.xml msgid "The line's distance from the origin." -msgstr "直线与原点的距离。" +msgstr "该直线与原点的距离。" #: doc/classes/LineShape2D.xml msgid "The line's normal." -msgstr "线性法线。" +msgstr "该直线的法线。" #: doc/classes/LinkButton.xml msgid "Simple button used to represent a link to some resource." @@ -41151,31 +41323,31 @@ msgid "" "See also [BaseButton] which contains common properties and methods " "associated with this node." msgstr "" -"这种按钮主要用于与按钮的交互引起上下文变化时,如链接到网页。\n" -"参阅[BaseButton],它包含了该节点相关的常用属性和方法。" +"这种按钮主要用于与按钮的交互引起上下文变化时(如链接到网页)。\n" +"参阅 [BaseButton],它包含了该节点相关的常用属性和方法。" #: doc/classes/LinkButton.xml msgid "" "Determines when to show the underline. See [enum UnderlineMode] for options." -msgstr "决定何时显示下划线。参阅[enum UnderlineMode]的选项。" +msgstr "决定何时显示下划线。参阅 [enum UnderlineMode] 的选项。" #: doc/classes/LinkButton.xml msgid "The LinkButton will always show an underline at the bottom of its text." -msgstr "LinkButton 链接按钮将始终在其文本底部显示下划线。" +msgstr "LinkButton 将始终在其文本底部显示下划线。" #: doc/classes/LinkButton.xml msgid "" "The LinkButton will show an underline at the bottom of its text when the " "mouse cursor is over it." -msgstr "当鼠标光标悬停在 LinkButton 链接按钮的文本底部时,它会显示一个下划线。" +msgstr "LinkButton 将在鼠标光标悬停时,在文本底部显示下划线。" #: doc/classes/LinkButton.xml msgid "The LinkButton will never show an underline at the bottom of its text." -msgstr "LinkButton链接按钮永远不会在其文本的底部显示下划线。" +msgstr "LinkButton 永远不会在其文本底部显示下划线。" #: doc/classes/LinkButton.xml msgid "Default text [Color] of the [LinkButton]." -msgstr "[LinkButton]默认的字体颜色[Color]。" +msgstr "[LinkButton] 默认的字体颜色 [Color]。" #: doc/classes/LinkButton.xml msgid "" @@ -41183,16 +41355,16 @@ msgid "" "text color of the button. Disabled, hovered, and pressed states take " "precedence over this color." msgstr "" -"当[LinkButton]获得焦点时使用的文本[Color]。只替换按钮的正常文本颜色。禁用、悬" -"停和按下状态优先于这个颜色。" +"当 [LinkButton] 获得焦点时使用的文本 [Color]。只替换按钮的正常文本颜色。禁" +"用、悬停和按下状态优先于这个颜色。" #: doc/classes/LinkButton.xml msgid "Text [Color] used when the [LinkButton] is being hovered." -msgstr "当[LinkButton]被悬停时使用的文本颜色[Color]。" +msgstr "当 [LinkButton] 被悬停时使用的文本颜色 [Color]。" #: doc/classes/LinkButton.xml msgid "Text [Color] used when the [LinkButton] is being pressed." -msgstr "当[LinkButton]被按下时使用的文本颜色[Color]。" +msgstr "当 [LinkButton] 被按下时使用的文本颜色 [Color]。" #: doc/classes/LinkButton.xml msgid "The vertical space between the baseline of text and the underline." @@ -41200,7 +41372,7 @@ msgstr "文本基线和下划线之间的垂直空间。" #: doc/classes/LinkButton.xml msgid "[Font] of the [LinkButton]'s text." -msgstr "[LinkButton]文本的字体[Font]。" +msgstr "[LinkButton] 文本的字体 [Font]。" #: doc/classes/LinkButton.xml msgid "" @@ -41208,8 +41380,8 @@ msgid "" "current [StyleBox], so using [StyleBoxEmpty] will just disable the focus " "visual effect." msgstr "" -"当 [LinkButton] 被聚焦时使用的样式盒 [StyleBox]。它显示在当前的[StyleBox]上," -"所以使用[StyleBoxEmpty]将只是禁用焦点的视觉效果。" +"当 [LinkButton] 被聚焦时使用的 [StyleBox]。它显示在当前的 [StyleBox]上,所以" +"使用 [StyleBoxEmpty] 将只是禁用焦点的视觉效果。" #: doc/classes/Listener.xml doc/classes/Listener2D.xml msgid "Overrides the location sounds are heard from." @@ -41221,16 +41393,16 @@ msgid "" "node will override the location sounds are heard from. This can be used to " "listen from a location different from the [Camera]." msgstr "" -"一旦被添加到场景树并使用[method make_current]启用,这个节点将覆盖听到声音的位" -"置。这可以用来从[Camera]不同的位置聆听。" +"添加到场景树并通过 [method make_current] 启用后,这个节点将覆盖听到声音的位" +"置。可以用来从与 [Camera] 不同的位置聆听。" #: doc/classes/Listener.xml msgid "Disables the listener to use the current camera's listener instead." -msgstr "禁用监听器,用当前相机的监听器代替。" +msgstr "禁用该监听器,用当前相机的监听器代替。" #: doc/classes/Listener.xml msgid "Returns the listener's global orthonormalized [Transform]." -msgstr "返回监听器的全局正则化[Transform]。" +msgstr "返回该监听器的全局正交归一化 [Transform]。" #: doc/classes/Listener.xml msgid "" @@ -41239,14 +41411,14 @@ msgid "" "[b]Note:[/b] There may be more than one Listener marked as \"current\" in " "the scene tree, but only the one that was made current last will be used." msgstr "" -"如果使用[method make_current]方法,使监听器成为当前状态,则返回[code]true[/" -"code],否则返回[code]false[/code]。\n" -"[b]注意:[/b] 在场景树中可能有一个以上的监听器被标记为 \"当前\",但只有最后变" -"成当前的那个才会被使用。" +"如果使用 [method make_current] 方法将该监听器标记为了当前状态,则返回 " +"[code]true[/code],否则返回 [code]false[/code]。\n" +"[b]注意:[/b]场景树中可能有多个被标记为“当前”的 Listener,但只会使用最后变成" +"当前的那个。" #: doc/classes/Listener.xml msgid "Enables the listener. This will override the current camera's listener." -msgstr "启用监听器。这将覆盖当前相机的监听器。" +msgstr "启用该监听器。将覆盖当前相机的监听器。" #: doc/classes/Listener2D.xml msgid "" @@ -41258,21 +41430,21 @@ msgid "" "screen will be used as a hearing point for the audio. [Listener2D] needs to " "be inside [SceneTree] to function." msgstr "" -"一旦被添加到场景树,并使用[method make_current]启用,这个节点将覆盖听到声音的" -"位置。只有一个[Listener2D]可以是当前的。使用[method make_current]将禁用以前的" -"[Listener2D]。\n" -"如果在当前的[Viewport]中没有激活的[Listener2D],屏幕中心将被用作音频的聆听" -"点。[Listener2D]需要在[SceneTree]内才能发挥作用。" +"添加到场景树并通过 [method make_current] 启用后,这个节点将覆盖听到声音的位" +"置。只有一个 [Listener2D] 可以是当前的。使用 [method make_current] 将禁用之前" +"的 [Listener2D]。\n" +"如果在当前的 [Viewport] 中没有已激活的 [Listener2D],屏幕中心将被用作音频的聆" +"听点。[Listener2D] 需要在 [SceneTree] 内才能发挥作用。" #: doc/classes/Listener2D.xml msgid "" "Disables the [Listener2D]. If it's not set as current, this method will have " "no effect." -msgstr "禁用[Listener2D]。如果未将其设置为当前,此方法将无效。" +msgstr "禁用该 [Listener2D]。如果未将其设置为当前,这个方法不会产生任何效果。" #: doc/classes/Listener2D.xml msgid "Returns [code]true[/code] if this [Listener2D] is currently active." -msgstr "如果此[Listener2D]当前处于激活状态,则返回[code]true[/code]。" +msgstr "如果这个 [Listener2D] 当前处于激活状态,则返回 [code]true[/code]。" #: doc/classes/Listener2D.xml msgid "" @@ -41282,9 +41454,9 @@ msgid "" "This method will have no effect if the [Listener2D] is not added to " "[SceneTree]." msgstr "" -"使[Listener2D]处于激活状态,将其设置为声音的聆听点。如果已经有另一个激活的" +"激活该 [Listener2D],将其设置为声音的聆听点。如果已经有另一个激活的 " "[Listener2D],它将被禁用。\n" -"如果[Listener2D]未添加到[SceneTree]中,此方法将无效。" +"如果 [Listener2D] 未添加到 [SceneTree]中,这个方法不会产生任何效果。" #: doc/classes/MainLoop.xml msgid "Abstract base class for the game's main loop." @@ -41335,14 +41507,14 @@ msgid "" " print(\" Keys typed: %s\" % var2str(keys_typed))\n" "[/codeblock]" msgstr "" -"[MainLoop]是Godot项目中游戏循环的抽象基类。它被[SceneTree]继承,后者是Godot项" -"目中使用的游戏循环的默认实现,不过也可以编写和使用自己的[MainLoop]子类,而不" -"是场景树。\n" -"在应用程序启动时,必须向操作系统提供一个[MainLoop]实现;否则,应用程序将退" -"出。除非从命令行提供一个主[Script](例如:[code]godot -s my_loop.gd[/" -"code]),这将自动发生(并且创建一个[SceneTree]),并应该是一个[MainLoop]实" -"现。\n" -"下面是实现简单[MainLoop]的脚本例子:\n" +"[MainLoop] 是 Godot 项目中游戏循环的抽象基类。它被 [SceneTree] 继承,后者是 " +"Godot 项目中使用的游戏循环的默认实现,不过也可以不使用场景树,自行编写并使用 " +"[MainLoop] 的子类。\n" +"在应用程序启动时,必须向操作系统提供一个 [MainLoop] 实现;否则,应用程序将退" +"出。这个过程会自动发生(并会创建一个 [SceneTree]),除非从命令行提供了一个主 " +"[Script](例如:[code]godot -s my_loop.gd[/code]),这个脚本应该实现 " +"[MainLoop]。\n" +"下面是实现简单 [MainLoop] 的脚本例子:\n" "[codeblock]\n" "extends MainLoop\n" "\n" @@ -41351,29 +41523,29 @@ msgstr "" "var quit = false\n" "\n" "func _initialize():\n" -" print(\"Initialized:\")\n" -" print(\" Starting time: %s\" % str(time_elapsed))\n" +" print(\"初始化:\")\n" +" print(\" 启动时间:%s\" % str(time_elapsed))\n" "\n" "func _idle(delta):\n" " time_elapsed += delta\n" -" # Return true to end the main loop.\n" +" # 返回 true 会结束主循环。\n" " return quit\n" "\n" "func _input_event(event):\n" -" # Record keys.\n" +" # 记录按键。\n" " if event is InputEventKey and event.pressed and !event.echo:\n" " keys_typed.append(OS.get_scancode_string(event.scancode))\n" -" # Quit on Escape press.\n" +" # 按 ESC 退出。\n" " if event.scancode == KEY_ESCAPE:\n" " quit = true\n" -" # Quit on any mouse click.\n" +" # 按任意鼠标按键退出。\n" " if event is InputEventMouseButton:\n" " quit = true\n" "\n" "func _finalize():\n" -" print(\"Finalized:\")\n" -" print(\" End time: %s\" % str(time_elapsed))\n" -" print(\" Keys typed: %s\" % var2str(keys_typed))\n" +" print(\"完成:\")\n" +" print(\" 结束时间:%s\" % str(time_elapsed))\n" +" print(\" 按下按键:%s\" % var2str(keys_typed))\n" "[/codeblock]" #: doc/classes/MainLoop.xml @@ -41393,7 +41565,7 @@ msgstr "在程序退出前调用。" msgid "" "Called when the user performs an action in the system global menu (e.g. the " "Mac OS menu bar)." -msgstr "当用户在系统全局菜单(如Mac OS的菜单栏)中执行动作时被调用。" +msgstr "当用户在系统全局菜单(如 Mac OS的菜单栏)中执行动作时被调用。" #: doc/classes/MainLoop.xml msgid "" @@ -41403,10 +41575,10 @@ msgid "" "ends the main loop, while [code]false[/code] lets it proceed to the next " "frame." msgstr "" -"在每个空闲帧中调用,参数为自上一个空闲帧以来的时间(以秒为单位)。相当于" +"在每个空闲帧中调用,参数为自上一个空闲帧以来的时间(以秒为单位)。相当于 " "[method Node._process]。\n" -"如果实施,该方法必须返回一个布尔值。[code]true[/code] 结束主循环,而" -"[code]false[/code] 让它进入下一帧。" +"如果实施,该方法必须返回一个布尔值。[code]true[/code] 会结束主循环,而 " +"[code]false[/code] 会让它进入下一帧。" #: doc/classes/MainLoop.xml msgid "Called once during initialization." @@ -41414,15 +41586,15 @@ msgstr "在初始化时调用一次。" #: doc/classes/MainLoop.xml msgid "Called whenever an [InputEvent] is received by the main loop." -msgstr "每当主循环接收到[InputEvent]时,就会调用。" +msgstr "每当主循环接收到 [InputEvent] 时,就会调用。" #: doc/classes/MainLoop.xml msgid "" "Deprecated callback, does not do anything. Use [method _input_event] to " "parse text input. Will be removed in Godot 4.0." msgstr "" -"废弃的回调,不做任何事情。使用[method _input_event]来解析文本输入。在Godot " -"4.0中会被删除。" +"已废弃的回调,不做任何事情。请使用 [method _input_event] 来解析文本输入。在 " +"Godot 4.0 中会被删除。" #: doc/classes/MainLoop.xml msgid "" @@ -41433,46 +41605,46 @@ msgid "" "ends the main loop, while [code]false[/code] lets it proceed to the next " "frame." msgstr "" -"在每个物理帧中调用,并将自上一个物理帧以来的时间作为参数,[code]delta[/" -"code],单位为秒。相当于[method Node._physics_process]。\n" -"如果实现,该方法必须返回一个布尔值。[code]true[/code]结束主循环,而" -"[code]false[/code]让它进入下一帧。" +"在每个物理帧中调用,并将自上一个物理帧以来的时间作为参数([code]delta[/" +"code],单位为秒)。相当于 [method Node._physics_process]。\n" +"如果实现,该方法必须返回一个布尔值。[code]true[/code] 会结束主循环,而 " +"[code]false[/code] 会让它进入下一帧。" #: doc/classes/MainLoop.xml msgid "" "Should not be called manually, override [method _finalize] instead. Will be " "removed in Godot 4.0." -msgstr "不应手动调用,而应覆盖[method _finalize]。在Godot 4.0中会被删除。" +msgstr "不应手动调用,请覆盖 [method _finalize]。在 Godot 4.0 中会被删除。" #: doc/classes/MainLoop.xml msgid "" "Should not be called manually, override [method _idle] instead. Will be " "removed in Godot 4.0." -msgstr "不应手动调用,而应覆盖[method _idle]。在Godot 4.0中会被删除。" +msgstr "不应手动调用,请覆盖 [method _idle]。在 Godot 4.0 中会被删除。" #: doc/classes/MainLoop.xml msgid "" "Should not be called manually, override [method _initialize] instead. Will " "be removed in Godot 4.0." -msgstr "不应手动调用,而应覆盖[method _initialize]。在Godot 4.0中会被删除。" +msgstr "不应手动调用,请覆盖 [method _initialize]。在 Godot 4.0 中会被删除。" #: doc/classes/MainLoop.xml msgid "" "Should not be called manually, override [method _input_event] instead. Will " "be removed in Godot 4.0." -msgstr "不应手动调用,而应重写[method _input_event]。在Godot 4.0中会被删除。" +msgstr "不应手动调用,请覆盖 [method _input_event]。在 Godot 4.0 中会被删除。" #: doc/classes/MainLoop.xml msgid "" "Should not be called manually, override [method _input_text] instead. Will " "be removed in Godot 4.0." -msgstr "不应手动调用,而应重写[method _input_text]。在Godot 4.0中会被删除。" +msgstr "不应手动调用,请覆盖 [method _input_text]。在 Godot 4.0 中会被删除。" #: doc/classes/MainLoop.xml msgid "" "Should not be called manually, override [method _iteration] instead. Will be " "removed in Godot 4.0." -msgstr "不应手动调用,而应覆盖[method _iteration]。在Godot 4.0中会被删除。" +msgstr "不应手动调用,请覆盖 [method _iteration]。在 Godot 4.0 中会被删除。" #: doc/classes/MainLoop.xml msgid "Emitted when a user responds to a permission request." @@ -41483,16 +41655,16 @@ msgid "" "Notification received from the OS when the mouse enters the game window.\n" "Implemented on desktop and web platforms." msgstr "" -"当鼠标进入游戏窗口时从操作系统收到的通知。\n" -"在桌面和网络平台上实现。" +"当鼠标进入游戏窗口时,从操作系统收到的通知。\n" +"在桌面和 Web 平台上实现。" #: doc/classes/MainLoop.xml doc/classes/Node.xml msgid "" "Notification received from the OS when the mouse leaves the game window.\n" "Implemented on desktop and web platforms." msgstr "" -"当鼠标离开游戏窗口时从操作系统收到的通知。\n" -"在桌面和网络平台上实现。" +"当鼠标离开游戏窗口时,从操作系统收到的通知。\n" +"在桌面和 Web 平台上实现。" #: doc/classes/MainLoop.xml doc/classes/Node.xml msgid "" @@ -41507,7 +41679,7 @@ msgid "" "Notification received from the OS when the game window is unfocused.\n" "Implemented on all platforms." msgstr "" -"当游戏窗口未获得焦点时,从操作系统收到的通知。\n" +"当游戏窗口失去焦点时,从操作系统收到的通知。\n" "在所有平台上实现。" #: doc/classes/MainLoop.xml doc/classes/Node.xml @@ -41516,7 +41688,7 @@ msgid "" "the window with a \"Close\" button or Alt+F4).\n" "Implemented on desktop platforms." msgstr "" -"发出退出请求时,从操作系统收到的通知(例如用“关闭”按钮或 Alt+F4 关闭窗" +"当发出退出请求时,从操作系统收到的通知(例如用“关闭”按钮或 Alt+F4 关闭窗" "口)。\n" "在桌面平台上实现。" @@ -41528,7 +41700,7 @@ msgid "" msgstr "" "当发出返回请求时,从操作系统收到的通知(例如在 Android 系统上按下“返回”按" "钮)。\n" -"Android 平台特供。" +"仅限 Android 平台。" #: doc/classes/MainLoop.xml doc/classes/Node.xml msgid "" @@ -41536,9 +41708,9 @@ msgid "" "another OS window wants to take the focus).\n" "No supported platforms currently send this notification." msgstr "" -"当取消焦点的请求被发送时,从操作系统收到的通知(例如,另一个操作系统窗口想要" -"得到焦点)。\n" -"目前没有支持的平台发送这个通知。" +"当发出取消焦点请求时,从操作系统收到的通知(例如另一个操作系统窗口想要获得焦" +"点)。\n" +"支持的平台目前都不会发送这个通知。" #: doc/classes/MainLoop.xml doc/classes/Node.xml msgid "" @@ -41547,7 +41719,7 @@ msgid "" "Specific to the iOS platform." msgstr "" "当应用程序超过其分配的内存时,从操作系统收到的通知。\n" -"专用于 iOS 平台。" +"仅限 iOS 平台。" #: doc/classes/MainLoop.xml doc/classes/Node.xml msgid "" @@ -41556,9 +41728,9 @@ msgid "" "for example to change the UI strings on the fly. Useful when working with " "the built-in translation support, like [method Object.tr]." msgstr "" -"当翻译可能发生变化时收到的通知。可以由用户改变区域设置来触发。可以用来响应语" -"言的变化,例如,实时改变 UI 字符串。在使用内置的翻译支持时很有用,比如 " -"[method Object.tr]。" +"当翻译可能发生变化时收到的通知。会在用户改变区域设置时触发。可以用来响应语言" +"的变化,例如实时改变 UI 字符串。可配合内置的翻译支持使用,比如 [method " +"Object.tr]。" #: doc/classes/MainLoop.xml doc/classes/Node.xml msgid "" @@ -41566,8 +41738,8 @@ msgid "" "is sent.\n" "Specific to the macOS platform." msgstr "" -"当发送“关于”信息的请求时,从操作系统收到的通知。\n" -"特定于 macOS 平台。" +"当发出“关于”信息请求时,从操作系统收到的通知。\n" +"仅限 macOS 平台。" #: doc/classes/MainLoop.xml doc/classes/Node.xml msgid "" @@ -41584,29 +41756,29 @@ msgid "" "occurs (e.g. change of IME cursor position or composition string).\n" "Specific to the macOS platform." msgstr "" -"当输入法引擎发生更新时,从操作系统收到的通知(例如,IME光标位置或组成字符串的" -"变化)。\n" -"特定于macOS平台。" +"当输入法引擎发生更新时,从操作系统收到的通知(例如,IME 光标位置或组成字符串" +"的变化)。\n" +"仅限 macOS 平台。" #: doc/classes/MainLoop.xml doc/classes/Node.xml msgid "" "Notification received from the OS when the app is resumed.\n" "Specific to the Android platform." msgstr "" -"恢复应用时从操作系统收到的通知。\n" -"特定于 Android 平台。" +"当应用恢复时,从操作系统收到的通知。\n" +"仅限 Android 平台。" #: doc/classes/MainLoop.xml doc/classes/Node.xml msgid "" "Notification received from the OS when the app is paused.\n" "Specific to the Android platform." msgstr "" -"暂停应用时从操作系统收到的通知。\n" -"特定于 Android 平台。" +"当应用暂停时,从操作系统收到的通知。\n" +"仅限 Android 平台。" #: doc/classes/MarginContainer.xml msgid "Simple margin container." -msgstr "简单边距容器。" +msgstr "简单的边距容器。" #: doc/classes/MarginContainer.xml msgid "" @@ -41625,13 +41797,13 @@ msgid "" "add_constant_override(\"margin_right\", margin_value)\n" "[/codeblock]" msgstr "" -"为所有作为容器的直接子节点的[Control]节点添加顶部、左侧、底部和右侧的边距。要" -"控制[MarginContainer]的边距,请使用下面列出的[code]margin_*[/code] 主题属" -"性。\n" -"[b]注意:[/b]要小心,[Control]的margin值与常量margin值不同。如果你想通过代码" -"改变[MarginContainer]的自定义边距值,应该使用下面的例子:\n" +"为所有作为容器的直接子节点的 [Control] 节点添加顶部、左侧、底部和右侧的边距。" +"要控制 [MarginContainer] 的边距,请使用下面列出的 [code]margin_*[/code] 主题" +"属性。\n" +"[b]注意:[/b]要小心,[Control] 的 margin 值与常量 margin 值不同。如果你想通过" +"代码改变 [MarginContainer] 的自定义边距值,应该使用下面的例子:\n" "[codeblock]\n" -"# 这个代码示例假定当前脚本扩展自MarginContainer。\n" +"# 这个代码示例假定当前脚本扩展自 MarginContainer。\n" "var margin_value = 100\n" "add_constant_override(\"margin_top\", margin_value)\n" "add_constant_override(\"margin_left\", margin_value)\n" @@ -41644,28 +41816,32 @@ msgid "" "All direct children of [MarginContainer] will have a bottom margin of " "[code]margin_bottom[/code] pixels." msgstr "" -"所有[MarginContainer]的直接子代将有[code]margin_bottom[/code]像素的底边距。" +"所有 [MarginContainer] 的直接子节点将有 [code]margin_bottom[/code] 像素的底边" +"距。" #: doc/classes/MarginContainer.xml msgid "" "All direct children of [MarginContainer] will have a left margin of " "[code]margin_left[/code] pixels." msgstr "" -"所有[MarginContainer]的直接子代将有[code]margin_left[/code]像素的左边距。" +"所有 [MarginContainer] 的直接子节点将有 [code]margin_left[/code] 像素的左边" +"距。" #: doc/classes/MarginContainer.xml msgid "" "All direct children of [MarginContainer] will have a right margin of " "[code]margin_right[/code] pixels." msgstr "" -"所有[MarginContainer]的直接子代将有[code]margin_right[/code]像素的右边距。" +"所有 [MarginContainer] 的直接子节点将有 [code]margin_right[/code] 像素的右边" +"距。" #: doc/classes/MarginContainer.xml msgid "" "All direct children of [MarginContainer] will have a top margin of " "[code]margin_top[/code] pixels." msgstr "" -"所有[MarginContainer]的直接子代将有[code]margin_right[/code]像素的顶边距。" +"所有 [MarginContainer] 的直接子节点将有 [code]margin_top[/code] 像素的顶边" +"距。" #: doc/classes/Marshalls.xml msgid "Data transformation (marshalling) and encoding helpers." @@ -41680,7 +41856,8 @@ msgid "" "Returns a decoded [PoolByteArray] corresponding to the Base64-encoded string " "[code]base64_str[/code]." msgstr "" -"返回对应于Base64编码字符串[code]base64_str[/code]的解码的[PoolByteArray]。" +"返回对应于 Base64 编码字符串 [code]base64_str[/code] 的解码的 " +"[PoolByteArray]。" #: doc/classes/Marshalls.xml msgid "" @@ -41700,17 +41877,17 @@ msgid "" msgstr "" "返回一个对应于Base64编码的字符串[code]base64_str[/code]的解码[Variant]。如果" "[code]allow_objects[/code]是[code]true[/code],则允许对对象进行解码。\n" -"[b]警告:[/b] 反序列化的对象可能包含会被执行的代码。如果序列化的对象来自不受" -"信任的来源,请不要使用这个选项,以避免潜在的安全威胁,如远程代码执行。" +"[b]警告:[/b]反序列化的对象可能包含会被执行的代码。如果序列化的对象来自不受信" +"任的来源,请不要使用这个选项,以避免潜在的安全威胁,如远程代码执行。" #: doc/classes/Marshalls.xml msgid "Returns a Base64-encoded string of a given [PoolByteArray]." -msgstr "返回给定[PoolByteArray]的Base64编码的字符串。" +msgstr "返回给定 [PoolByteArray] 的 Base64 编码的字符串。" #: doc/classes/Marshalls.xml msgid "" "Returns a Base64-encoded string of the UTF-8 string [code]utf8_str[/code]." -msgstr "返回UTF-8字符串[code]utf8_str[/code]的一个Base64编码的字符串。" +msgstr "返回 UTF-8 字符串 [code]utf8_str[/code] 的一个 Base64 编码的字符串。" #: doc/classes/Marshalls.xml msgid "" @@ -41744,9 +41921,8 @@ msgid "" "[b]Note:[/b] This only applies to [SpatialMaterial]s and [ShaderMaterial]s " "with type \"Spatial\"." msgstr "" -"设置下一次使用的 [Material]。这将使用不同的材质再次渲染对象。\n" -"[b]注意:[/b]这只适用于“Spatial”类型的 [SpatialMaterial] 和 " -"[ShaderMaterial]。" +"设置下一阶段使用的 [Material]。这将使用不同的材质再次渲染对象。\n" +"[b]注意:[/b]仅适用于 [SpatialMaterial] 和“Spatial”类型的 [ShaderMaterial]。" #: doc/classes/Material.xml msgid "" @@ -41757,11 +41933,10 @@ msgid "" "This is because opaque objects are not sorted, while transparent objects are " "sorted from back to front (subject to priority)." msgstr "" -"设置3D场景中透明物体的渲染优先级。优先级高的物体将被排序在优先级低的物体前" +"设置 3D 场景中透明物体的渲染优先级。优先级高的物体将被排序在优先级低的物体前" "面。\n" -"[b]注意:[/b] 这只适用于透明物体的排序。这不会影响透明物体相对于不透明物体的" -"排序方式。这是因为不透明对象不被排序,而透明对象则从后往前排序(取决于优先" -"级)。" +"[b]注意:[/b]仅适用于透明物体的排序。这不会影响透明物体相对于不透明物体的排序" +"方式。这是因为不透明对象不被排序,而透明对象则从后往前排序(取决于优先级)。" #: doc/classes/Material.xml msgid "Maximum value for the [member render_priority] parameter." @@ -41808,7 +41983,7 @@ msgstr "" msgid "" "If [code]true[/code], shortcuts are disabled and cannot be used to trigger " "the button." -msgstr "如果[code]true[/code],快捷方式将被禁用,无法用于触发按钮。" +msgstr "如果为 [code]true[/code],快捷方式将被禁用,无法用于触发按钮。" #: doc/classes/MenuButton.xml msgid "" @@ -41816,20 +41991,21 @@ msgid "" "within the same parent which also has [code]switch_on_hover[/code] enabled, " "it will close the current [MenuButton] and open the other one." msgstr "" -"如果[code]true[/code],当光标悬停在同一父级中也启用了[code]switch_on_hover[/" -"code]的另一个[MenuButton]上方时,它将关闭当前的[MenuButton]并打开另一个。" +"如果为 [code]true[/code],当光标悬停在同一父级中也启用了 " +"[code]switch_on_hover[/code] 的另一个 [MenuButton] 上方时,它将关闭当前的 " +"[MenuButton] 并打开另一个。" #: doc/classes/MenuButton.xml msgid "Emitted when [PopupMenu] of this MenuButton is about to show." -msgstr "当此MenuButton的[PopupMenu]即将显示时触发。" +msgstr "当此 MenuButton 的 [PopupMenu] 即将显示时触发。" #: doc/classes/MenuButton.xml msgid "Default text [Color] of the [MenuButton]." -msgstr "[MenuButton]默认的字体[Color]颜色。" +msgstr "[MenuButton] 默认的字体 [Color] 颜色。" #: doc/classes/MenuButton.xml msgid "Text [Color] used when the [MenuButton] is disabled." -msgstr "[MenuButton]被禁用时的字体[Color]颜色。" +msgstr "[MenuButton] 被禁用时的字体 [Color] 颜色。" #: doc/classes/MenuButton.xml msgid "" @@ -41837,8 +42013,8 @@ msgid "" "text color of the button. Disabled, hovered, and pressed states take " "precedence over this color." msgstr "" -"当[MenuButton]获得焦点时使用的文本[Color]。只替换按钮的正常文本颜色。禁用、悬" -"停和按下状态优先于这个颜色。" +"当 [MenuButton] 获得焦点时使用的文本 [Color]。只替换按钮的正常文本颜色。禁" +"用、悬停和按下状态优先于这个颜色。" #: doc/classes/MenuButton.xml msgid "Text [Color] used when the [MenuButton] is being hovered." @@ -41846,19 +42022,19 @@ msgstr "当鼠标在 [MenuButton] 上悬停时使用的字体 [Color] 颜色。" #: doc/classes/MenuButton.xml msgid "Text [Color] used when the [MenuButton] is being pressed." -msgstr "当[MenuButton]被按下时使用的字体[Color]颜色。" +msgstr "当 [MenuButton] 被按下时使用的字体 [Color] 颜色。" #: doc/classes/MenuButton.xml msgid "The horizontal space between [MenuButton]'s icon and text." -msgstr "[MenuButton]的文字和图标之间的水平间隙。" +msgstr "[MenuButton] 的文字和图标之间的水平间隙。" #: doc/classes/MenuButton.xml msgid "[Font] of the [MenuButton]'s text." -msgstr "[MenuButton]文本的[Font]。" +msgstr "[MenuButton] 文本的 [Font]。" #: doc/classes/MenuButton.xml msgid "[StyleBox] used when the [MenuButton] is disabled." -msgstr "当[MenuButton]被禁用时使用的[StyleBox]。" +msgstr "当 [MenuButton] 被禁用时使用的 [StyleBox]。" #: doc/classes/MenuButton.xml msgid "" @@ -41866,8 +42042,8 @@ msgid "" "current [StyleBox], so using [StyleBoxEmpty] will just disable the focus " "visual effect." msgstr "" -"当[MenuButton]被聚焦时使用的[StyleBox]。它显示在当前的[StyleBox]上,所以使用" -"[StyleBoxEmpty]将只是禁用焦点的视觉效果。" +"当 [MenuButton] 被聚焦时使用的 [StyleBox]。它显示在当前的 [StyleBox] 上,所以" +"使用 [StyleBoxEmpty] 将只是禁用焦点的视觉效果。" #: doc/classes/MenuButton.xml msgid "[StyleBox] used when the [MenuButton] is being hovered." @@ -41938,9 +42114,9 @@ msgid "" "get_transformed_aabb].\n" "[b]Note:[/b] This is only implemented for [ArrayMesh] and [PrimitiveMesh]." msgstr "" -"返回局部空间中包围这个网格的最小的[AABB]。不受[code]custom_aabb[/code]的影" +"返回局部空间中包围这个网格的最小的 [AABB]。不受 [code]custom_aabb[/code] 的影" "响。参阅 [method VisualInstance.get_transformed_aabb]。\n" -"[b]注意:[/b]这只对[ArrayMesh]和[PrimitiveMesh]实现。" +"[b]注意:[/b]这只对 [ArrayMesh] 和 [PrimitiveMesh] 实现。" #: doc/classes/Mesh.xml msgid "" @@ -42205,11 +42381,11 @@ msgid "" "OpenGL/Face-culling]winding order[/url] for front faces of triangle " "primitive modes." msgstr "" -"MeshDataTool提供对[Mesh]中单个顶点的访问。它允许用户读取和编辑网格的顶点数" +"MeshDataTool 提供对 [Mesh] 中单个顶点的访问。它允许用户读取和编辑网格的顶点数" "据。还可以创建面和边的数组。\n" -"要使用MeshDataTool,请使用[method create_from_surface]加载网格。当完成编辑数" -"据后,用[method commit_to_surface]将数据提交给Mesh。\n" -"下面是如何使用MeshDataTool的例子。\n" +"要使用 MeshDataTool,请使用 [method create_from_surface] 加载网格。当完成编辑" +"数据后,用 [method commit_to_surface] 将数据提交给 Mesh。\n" +"下面是如何使用 MeshDataTool 的例子。\n" "[codeblock]\n" "var mesh = ArrayMesh.new()\n" "mesh.add_surface_from_arrays(Mesh.PRIMITIVE_TRIANGLES, CubeMesh.new()." @@ -42229,8 +42405,8 @@ msgstr "" "mi.mesh = mesh\n" "add_child(mi)\n" "[/codeblock]\n" -"参阅[ArrayMesh]、[ImmediateGeometry]和[SurfaceTool]的程序性几何体生成。\n" -"[b]注意:[/b] Godot对三角形原始模式的前端面使用顺时针[url=https://" +"参阅 [ArrayMesh]、[ImmediateGeometry] 和 [SurfaceTool] 的程序性几何体生成。\n" +"[b]注意:[/b]Godot 对三角形图元模式的前端面使用顺时针[url=https://" "learnopengl.com/Advanced-OpenGL/Face-culling]缠绕顺序[/url]。" #: doc/classes/MeshDataTool.xml @@ -42246,8 +42422,8 @@ msgid "" "Uses specified surface of given [Mesh] to populate data for MeshDataTool.\n" "Requires [Mesh] with primitive type [constant Mesh.PRIMITIVE_TRIANGLES]." msgstr "" -"使用给定[Mesh]的指定表面来填充MeshDataTool的数据。\n" -"要求[Mesh]具有基本类型[constant Mesh.PRIMITIVE_TRIANGLES]。" +"使用给定 [Mesh] 的指定表面来填充 MeshDataTool 的数据。\n" +"要求 [Mesh] 具有基本类型 [constant Mesh.PRIMITIVE_TRIANGLES]。" #: doc/classes/MeshDataTool.xml msgid "Returns the number of edges in this [Mesh]." @@ -42309,7 +42485,7 @@ msgid "" "See [enum ArrayMesh.ArrayFormat] for a list of format flags." msgstr "" "返回 [Mesh] 的格式,该格式是由 [Mesh] 格式标识组合而成的整数。例如,一个同时" -"包含顶点和法线的网格将返回[code]3[/code]格式,因为 [constant ArrayMesh." +"包含顶点和法线的网格将返回 [code]3[/code]格式,因为 [constant ArrayMesh." "ARRAY_FORMAT_VERTEX] = [code]1[/code],[constant ArrayMesh." "ARRAY_FORMAT_NORMAL] = [code]2[/code]。\n" "参阅 [enum ArrayMesh.ArrayFormat] 的格式标识列表。" @@ -42446,7 +42622,7 @@ msgstr "" "这个助手创建[StaticBody]子节点,该节点具有从网格几何形状计算的" "[ConvexPolygonShape]碰撞形状。其主要用于测试。\n" "如果[code]clean[/code]是[code]true[/code](默认),重复的顶点和内部顶点会被自" -"动移除。可以把它设置为[code]false[/code],以便在不需要的情况下使这个过程更" +"动移除。可以把它设置为 [code]false[/code],以便在不需要的情况下使这个过程更" "快。\n" "如果[code]simplify[/code]是[code]true[/code],可以进一步简化几何体以减少顶点" "的数量。默认情况下是禁用的。" @@ -42499,6 +42675,53 @@ msgid "Returns the number of surface materials." msgstr "返回表面材质的数量。" #: doc/classes/MeshInstance.xml +msgid "" +"Returns [code]true[/code] if this [MeshInstance] can be merged with the " +"specified [code]other_mesh_instance[/code], using the [method MeshInstance." +"merge_meshes] function.\n" +"In order to be mergeable, properties of the [MeshInstance] must match, and " +"each surface must match, in terms of material, attributes and vertex format." +msgstr "" +"如果这个 [MeshInstance] 可以与指定的 [code]other_mesh_instance[/code] 通过 " +"[method MeshInstance.merge_meshes] 函数合并,则返回 [code]true[/code]。\n" +"只有属性匹配且各表面的材质、属性、顶点格式均匹配的 [MeshInstance] 才能相互合" +"并。" + +#: doc/classes/MeshInstance.xml +msgid "" +"This function can merge together the data from several source " +"[MeshInstance]s into a single destination [MeshInstance] (the MeshInstance " +"the function is called from). This is primarily useful for improving " +"performance by reducing the number of drawcalls and [Node]s.\n" +"Merging should only be attempted for simple meshes that do not contain " +"animation.\n" +"The final vertices can either be returned in global space, or in local space " +"relative to the destination [MeshInstance] global transform (the destination " +"Node must be inside the [SceneTree] for local space to work).\n" +"The function will make a final check for compatibility between the " +"[MeshInstance]s by default, this should always be used unless you have " +"previously checked for compatibility using [method MeshInstance." +"is_mergeable_with]. If the compatibility check is omitted and the meshes are " +"merged, you may see rendering errors.\n" +"[b]Note:[/b] The requirements for similarity between meshes are quite " +"stringent. They can be checked using the [method MeshInstance." +"is_mergeable_with] function prior to calling [method MeshInstance." +"merge_meshes].\n" +"Also note that any initial data in the destination [MeshInstance] data will " +"be discarded." +msgstr "" +"这个函数可以将若干 [MeshInstance] 的数据合并入单个目标 [MeshInstance](调用该" +"函数的 MeshInstance)。主要用于减少绘制调用数和 [Node] 数量,从而提升性能。\n" +"只应对不包含动画的简单网格尝试合并操作。\n" +"最终返回的顶点,既可以使用全局坐标,也可以使用相对于目标 [MeshInstance] 全局" +"变换的局部坐标(目标节点必须在 [SceneTree] 内才能正常使用局部坐标)。\n" +"该函数默认会检查 [MeshInstance] 之间的兼容性,除非你之前已经使用 [method " +"MeshInstance.is_mergeable_with] 检查过兼容性,否则应打开该检查。\n" +"[b]注意:[/b]网格之间相似性的要求相当严格。可以在调用 [method MeshInstance." +"merge_meshes] 前使用 [method MeshInstance.is_mergeable_with] 函数进行检查。\n" +"另外请注意,目标 [MeshInstance] 中的任何初始数据都会被丢弃。" + +#: doc/classes/MeshInstance.xml msgid "Sets the [Material] for a surface of the [Mesh] resource." msgstr "为[Mesh]资源的表面设置[Material]。" @@ -42508,7 +42731,7 @@ msgstr "该实例的[Mesh]资源。" #: doc/classes/MeshInstance.xml msgid "[NodePath] to the [Skeleton] associated with the instance." -msgstr "与实例相关联[NodePath]的[Skeleton]。" +msgstr "与实例相关联 [NodePath] 的 [Skeleton]。" #: doc/classes/MeshInstance.xml msgid "Sets the skin to be used by this instance." @@ -42523,9 +42746,9 @@ msgid "" "software_skinning_fallback] for details about how software skinning is " "enabled." msgstr "" -"如果[code]true[/code],当使用软件蒙皮时,法线会被转换。当不需要法线时,设置为" -"[code]false[/code]以获得更好的性能。\n" -"关于如何启用软件蒙皮的细节,参阅[member ProjectSettings.rendering/quality/" +"如果为 [code]true[/code],当使用软件蒙皮时,法线会被变换。当不需要法线时,设" +"置为 [code]false[/code] 以获得更好的性能。\n" +"关于如何启用软件蒙皮的细节,参阅 [member ProjectSettings.rendering/quality/" "skinning/software_skinning_fallback]。" #: doc/classes/MeshInstance2D.xml @@ -42623,7 +42846,7 @@ msgstr "返回该项的导航网格。" #: doc/classes/MeshLibrary.xml msgid "Returns the transform applied to the item's navigation mesh." -msgstr "返回应用于该项导航网格的转换。" +msgstr "返回应用于该项导航网格的变换。" #: doc/classes/MeshLibrary.xml msgid "" @@ -42676,7 +42899,7 @@ msgstr "设置此项的导航网格。" #: doc/classes/MeshLibrary.xml msgid "Sets the transform to apply to the item's navigation mesh." -msgstr "设置转换应用于该项的导航网格。" +msgstr "设置应用于该项的导航网格的变换。" #: doc/classes/MeshLibrary.xml msgid "Sets a texture to use as the item's preview icon in the editor." @@ -43090,7 +43313,7 @@ msgstr "" "RPC/RSET)。\n" "通过设置[member Node.custom_multiplayer]属性,可以重写特定节点使用的多人游戏" "API实例,从而有效地允许在同一场景中同时运行客户端和服务器。\n" -"[b]注意:[/b] 高阶的多人游戏API协议实现细节,并不意味着可以被非Godot服务器使" +"[b]注意:[/b]高阶的多人游戏API协议实现细节,并不意味着可以被非Godot服务器使" "用。它可能会改变,不做另行通知。" #: doc/classes/MultiplayerAPI.xml @@ -43118,19 +43341,19 @@ msgid "" "[b]Note:[/b] If not inside an RPC this method will return 0." msgstr "" "返回当前正在执行的RPC的发送方的对等体ID。\n" -"[b]注意:[/b] 如果不在RPC内,这个方法将返回0。" +"[b]注意:[/b]如果不在RPC内,这个方法将返回0。" #: doc/classes/MultiplayerAPI.xml doc/classes/SceneTree.xml msgid "Returns [code]true[/code] if there is a [member network_peer] set." -msgstr "如果有一个[member network_peer]设置,返回[code]true[/code]。" +msgstr "如果有一个[member network_peer]设置,返回 [code]true[/code]。" #: doc/classes/MultiplayerAPI.xml msgid "" "Returns [code]true[/code] if this MultiplayerAPI's [member network_peer] is " "in server mode (listening for connections)." msgstr "" -"如果这个MultiplayerAPI的[member network_peer]处于服务器模式(监听连接),返回" -"[code]true[/code]。" +"如果这个MultiplayerAPI的[member network_peer]处于服务器模式(监听连接),返" +"回 [code]true[/code]。" #: doc/classes/MultiplayerAPI.xml msgid "" @@ -43142,11 +43365,11 @@ msgid "" "will be executed in the same context of this function (e.g. [code]_process[/" "code], [code]physics[/code], [Thread])." msgstr "" -"用于轮询多人游戏API的方法。只有当你使用[member Node.custom_multiplayer]覆盖或" -"者你将[member SceneTree.multiplayer_poll]设置为[code]false[/code]时,你才需要" -"担心这个问题。默认情况下,[SceneTree]将为你轮询其多人游戏API。\n" -"[b]注意:[/b]这个方法导致RPC和RSET被调用,所以它们将在这个函数的同一上下文中" -"执行(例如,[code]_process[/code], [code]physics[/code], [Thread])。" +"用于轮询多人游戏 API 的方法。只有当你使用 [member Node.custom_multiplayer] 覆" +"盖或者你将 [member SceneTree.multiplayer_poll] 设置为 [code]false[/code] 时," +"你才需要担心这个问题。默认情况下,[SceneTree] 将为你轮询其多人游戏 API。\n" +"[b]注意:[/b]这个方法导致 RPC 和 RSET 被调用,所以它们将在这个函数的同一上下" +"文中执行(例如 [code]_process[/code]、[code]physics[/code]、[Thread])。" #: doc/classes/MultiplayerAPI.xml msgid "" @@ -43154,9 +43377,9 @@ msgid "" "[code]id[/code] (see [method NetworkedMultiplayerPeer.set_target_peer]). " "Default ID is [code]0[/code], i.e. broadcast to all peers." msgstr "" -"将给定的原始[code]字节[/code]发送到由[code]id[/code]确定的特定对等体(见" -"[method NetworkedMultiplayerPeer.set_target_peer])。默认ID是[code]0[/code]," -"即向所有对等体广播。" +"将给定的原始字节 [code]bytes[/code]发送到由 [code]id[/code] 确定的特定对等体" +"(见 [method NetworkedMultiplayerPeer.set_target_peer])。默认 ID 是 " +"[code]0[/code],即向所有对等体广播。" #: doc/classes/MultiplayerAPI.xml msgid "" @@ -43167,11 +43390,11 @@ msgid "" "Do not use this option if the serialized object comes from untrusted sources " "to avoid potential security threats such as remote code execution." msgstr "" -"如果[code]true[/code],或者如果[member network_peer]的[member PacketPeer." -"allow_object_decoding]设置为[code]true[/code],多人游戏API将允许在RPC/RSETs期" -"间的对象进行编码和解码。\n" -"[b]警告:[/b] 反序列化的对象可能包含会被执行的代码。如果序列化的对象来自不受" -"信任的来源,请不要使用这个选项,以避免潜在的安全威胁,如远程代码执行。" +"如果为 [code]true[/code](或者如果 [member network_peer] 的 [member " +"PacketPeer.allow_object_decoding] 被设置为 [code]true[/code]),多人游戏 API " +"将允许在 RPC/RSET 期间的对象进行编码和解码。\n" +"[b]警告:[/b]反序列化的对象可能包含会被执行的代码。如果序列化的对象来自不受信" +"任的来源,请不要使用这个选项,以避免潜在的安全威胁,如远程代码执行。" #: doc/classes/MultiplayerAPI.xml msgid "" @@ -43370,7 +43593,7 @@ msgid "" "has ownership of the mutex." msgstr "" "锁定此 [Mutex],直到被当前所有者解锁为止。\n" -"[b]注意:[/b] 如果线程已经拥有互斥锁的所有权,该函数将无阻塞地返回。" +"[b]注意:[/b]如果线程已经拥有互斥锁的所有权,该函数将无阻塞地返回。" #: doc/classes/Mutex.xml msgid "" @@ -43381,7 +43604,7 @@ msgid "" msgstr "" "试图锁定此[Mutex],但并不阻塞。成功时返回[constant OK],否则返回[constant " "ERR_BUSY]。\n" -"[b]注意:[/b] 如果线程已经拥有了该Mutex的所有权,该函数返回[constant OK]。" +"[b]注意:[/b]如果线程已经拥有了该Mutex的所有权,该函数返回[constant OK]。" #: doc/classes/Mutex.xml msgid "" @@ -43435,8 +43658,8 @@ msgid "" "API extension." msgstr "" "构建基础类型的新对象,并附加此类型的脚本。\n" -"[b]注意:[/b] 传递给这个函数的任何参数将被忽略,不会传递给局部构造函数。这将" -"在未来的API扩展中改变。" +"[b]注意:[/b]传递给这个函数的任何参数将被忽略,不会传递给局部构造函数。这将在" +"未来的API扩展中改变。" #: doc/classes/Navigation.xml msgid "Mesh-based navigation and pathfinding node." @@ -44636,7 +44859,7 @@ msgstr "" "network_peer]。然后可以通过连接到 [SceneTree] 信号来处理事件。\n" "ENet 的目的是在 UDP(用户数据报协议)之上提供一个相对简单而健全的网络通信" "层。\n" -"[b]注意:[/b] ENet 只使用UDP,不使用TCP。转发服务器端口使您的服务器可以在公网" +"[b]注意:[/b]ENet 只使用UDP,不使用TCP。转发服务器端口使您的服务器可以在公网" "上访问时,只需要将服务器端口转发为UDP即可。您可以使用 [UPNP] 类尝试在启动服务" "器时自动转发服务器端口。" @@ -44718,7 +44941,7 @@ msgid "" "Disconnect the given peer. If \"now\" is set to [code]true[/code], the " "connection will be closed immediately without flushing queued messages." msgstr "" -"断开给定对等体的连接。如果 \"now \"被设置为[code]true[/code],连接将被立即关" +"断开给定对等体的连接。如果 \"now \"被设置为 [code]true[/code],连接将被立即关" "闭而不冲刷队列中的消息。" #: modules/enet/doc_classes/NetworkedMultiplayerENet.xml @@ -44759,8 +44982,8 @@ msgid "" "code]. For servers, you must also setup the [CryptoKey] via [method " "set_dtls_key]." msgstr "" -"当[member use_dtls]为[code]true[/code]时,配置[X509Certificate]使用。对于服务" -"器,您还必须通过[method set_dtls_key]设置[CryptoKey]。" +"当[member use_dtls]为 [code]true[/code] 时,配置[X509Certificate]使用。对于服" +"务器,您还必须通过[method set_dtls_key]设置[CryptoKey]。" #: modules/enet/doc_classes/NetworkedMultiplayerENet.xml msgid "" @@ -44768,8 +44991,8 @@ msgid "" "code]. Remember to also call [method set_dtls_certificate] to setup your " "[X509Certificate]." msgstr "" -"当[member use_dtls]为[code]true[/code]时,配置[CryptoKey]来使用。记住也要调用" -"[method set_dtls_certificate]来设置[X509Certificate]。" +"当[member use_dtls]为 [code]true[/code] 时,配置[CryptoKey]来使用。记住也要调" +"用[method set_dtls_certificate]来设置[X509Certificate]。" #: modules/enet/doc_classes/NetworkedMultiplayerENet.xml msgid "" @@ -44835,9 +45058,9 @@ msgstr "" "用压缩,您可能需要测试哪一种最适合您的用例。\n" "[b]注:[/b]大多数游戏的网络设计都涉及频繁发送许多小数据包(每个小于4 KB)。如" "果有疑问,建议保留默认压缩算法,因为它对这些小数据包效果最好。\n" -"[b]注意:[/b] [member compression_mode] 必须在服务器及其所有客户端上设置为相" -"同的值。如果客户端上设置的 [member compression_mode] 与服务器上设置的不同,则" -"客户端将无法连接。在 Godot 3.4 之前,默认的 [member compression_mode] 是 " +"[b]注意:[/b][member compression_mode] 必须在服务器及其所有客户端上设置为相同" +"的值。如果客户端上设置的 [member compression_mode] 与服务器上设置的不同,则客" +"户端将无法连接。在 Godot 3.4 之前,默认的 [member compression_mode] 是 " "[constant COMPRESS_NONE]。尽管如此,不建议在客户端和服务器之间混合引擎版本," "也不受官方支持。" @@ -44856,7 +45079,7 @@ msgstr "" msgid "" "Enable or disable certificate verification when [member use_dtls] " "[code]true[/code]." -msgstr "当[member use_dtls] [code]true[/code]时启用或禁用证书验证。" +msgstr "当[member use_dtls] [code]true[/code] 时启用或禁用证书验证。" #: modules/enet/doc_classes/NetworkedMultiplayerENet.xml msgid "" @@ -44866,8 +45089,8 @@ msgid "" "peers and won't be able to send them packets through the server." msgstr "" "启用或禁用服务器特性,该特性通知客户端其他对等体的连接/断开,并在它们之间转发" -"消息。当此选项为[code]false[/code]时,客户端将不会自动收到其他对等体的通知," -"也无法通过服务器向他们发送数据包。" +"消息。当此选项为 [code]false[/code] 时,客户端将不会自动收到其他对等体的通" +"知,也无法通过服务器向他们发送数据包。" #: modules/enet/doc_classes/NetworkedMultiplayerENet.xml msgid "" @@ -44900,7 +45123,7 @@ msgstr "" "启用后,由该对等体创建的客户端或服务器将使用[PacketPeerDTLS],而不是原始UDP套" "接字与远程对等体进行通信。通信使用DTLS加密,代价是更高的资源占用和可能更大的" "数据包。\n" -"[b]注意:[/b] 当创建DTLS服务器时,确保用[method set_dtls_key]和[method " +"[b]注意:[/b]当创建DTLS服务器时,确保用[method set_dtls_key]和[method " "set_dtls_certificate]设置密钥/证书对。对于DTLS客户端,查看[member " "dtls_verify]选项,用[method set_dtls_certificate]配置相应的证书。" @@ -45567,31 +45790,31 @@ msgid "" "[/codeblock]\n" "[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " "must set [member owner] in addition to calling [method add_child]. This is " -"typically relevant for [url=https://godot.readthedocs.io/en/3.2/tutorials/" -"misc/running_code_in_the_editor.html]tool scripts[/url] and [url=https://" -"godot.readthedocs.io/en/latest/tutorials/plugins/editor/index.html]editor " -"plugins[/url]. If [method add_child] is called without setting [member " -"owner], the newly added [Node] will not be visible in the scene tree, though " -"it will be visible in the 2D/3D view." +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" "添加子节点。节点可以有任意数量的子节点,但是每个子节点必须有唯一的名字。当父" "节点被删除时,子节点会被自动删除,所以整个场景可以通过删除其最上面的节点而被" "删除。\n" -"如果[code]legible_unique_name[/code]是[code]true[/code],子节点将有一个基于被" -"实例化的节点的名称,而不是其类型可读的名称。\n" -"[b]注意:[/b] 如果子节点已经有父节点,该函数将失败。首先使用[method " -"remove_child]将节点从其当前的父节点中移除。如:\n" +"如果 [code]legible_unique_name[/code] 是 [code]true[/code],子节点将有一个基" +"于被实例化的节点的名称,而不是其类型可读的名称。\n" +"[b]注意:[/b]如果子节点已经有父节点,该函数将失败。首先使用 [method " +"remove_child] 将节点从其当前的父节点中移除。如:\n" "[codeblock]\n" "if child_node.get_parent():\n" " child_node.get_parent().remove_child(child_node)\n" "add_child(child_node)\n" "[/codeblock]\n" -"[b]注意:[/b] 如果你想让一个子节点被持久化到[PackedScene]中,除了调用[method " -"add_child]外,还必须设置[member owner]。这通常与[url=https://godot." -"readthedocs.io/en/3.2/tutorials/misc/running_code_in_the_editor.html]工具脚本" -"[/url]和[url=https://godot.readthedocs.io/en/latest/tutorials/plugins/editor/" -"index.html]编辑器插件[/url]有关。如果调用[method add_child]而不设置[member " -"owner],新添加的[Node]在场景树中是不可见的,尽管它在2D/3D视图中可见。" +"[b]注意:[/b]如果想要将子节点持久化进 [PackedScene],除了调用 [method " +"add_child] 之外你还必须设置 [member owner]。通常在[url=$DOCS_URL/tutorials/" +"misc/running_code_in_the_editor.html]工具脚本[/url]和[url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]编辑器插件[/url]中会用到。如果调用了 " +"[method add_child] 但没有设置 [member owner],那么新建的这个 [Node] 在场景树" +"中不可见,但在 2D/3D 视图中可见。" #: doc/classes/Node.xml msgid "" @@ -45635,9 +45858,9 @@ msgid "" "scene tree is not paused, and [code]false[/code] if the node is not in the " "tree." msgstr "" -"如果节点可以在场景树暂停时进行处理,返回[code]true[/code](见[member " -"pause_mode])。如果场景树没有暂停,总是返回[code]true[/code],如果节点不在树" -"中,则返回[code]false[/code]。" +"如果节点可以在场景树暂停时进行处理,返回 [code]true[/code](见[member " +"pause_mode])。如果场景树没有暂停,总是返回 [code]true[/code],如果节点不在树" +"中,则返回 [code]false[/code]。" #: doc/classes/Node.xml msgid "" @@ -45650,7 +45873,7 @@ msgid "" msgstr "" "复制节点,返回一个新的节点。\n" "你可以使用[code]flags[/code]来微调这个行为(见[enum DuplicateFlags])。\n" -"[b]注意:[/b] 如果节点包含一个带有构造参数的脚本(即需要向[method Object." +"[b]注意:[/b]如果节点包含一个带有构造参数的脚本(即需要向[method Object." "_init]方法提供参数),它将不能正常工作。在这种情况下,节点将被复制而没有脚" "本。" @@ -45891,9 +46114,9 @@ msgid "" "processing unless the frames per second is changed via [member Engine." "iterations_per_second]." msgstr "" -"返回自上次物理绑定帧以来所经过的时间(单位为秒),参阅 [method " -"_physics_process]。在物理处理中,这始终是一个常数,除非通过 [member Engine." -"iterations_per_second] 改变每秒的帧数。" +"返回自上次物理绑定帧以来所经过的秒数(请参阅 [method _physics_process])。在" +"物理处理中,除非通过 [member Engine.iterations_per_second] 来改变每秒的帧数," +"否则始终为常量。" #: doc/classes/Node.xml msgid "" @@ -45914,7 +46137,7 @@ msgid "" "Returns [code]true[/code] if this is an instance load placeholder. See " "[InstancePlaceholder]." msgstr "" -"如果这是一个实例加载占位符,则返回[code]true[/code]。看到" +"如果这是一个实例加载占位符,则返回 [code]true[/code]。看到" "[InstancePlaceholder]。" #: doc/classes/Node.xml @@ -45928,7 +46151,7 @@ msgstr "返回节点的[Viewport]。" #: doc/classes/Node.xml msgid "" "Returns [code]true[/code] if the node that the [NodePath] points to exists." -msgstr "如果[NodePath]指向的节点存在,则返回[code]true[/code]。" +msgstr "如果[NodePath]指向的节点存在,则返回 [code]true[/code]。" #: doc/classes/Node.xml msgid "" @@ -45937,47 +46160,48 @@ msgid "" "shape[/code]. Properties with a non-[Resource] type (e.g. nodes or primitive " "math types) are not considered resources." msgstr "" -"如果[NodePath]指向一个有效的节点,并且它的子名称指向一个有效的资源,例如" -"[code]Area2D/CollisionShape2D:shape[/code],则返回[code]true[/code]。具有非" -"[Resource]类型的属性(例如节点或基本数学类型)不被认为是资源。" +"如果 [NodePath] 指向一个有效的节点,并且它的子名称指向一个有效的资源,例如 " +"[code]Area2D/CollisionShape2D:shape[/code],则返回 [code]true[/code]。具有非 " +"[Resource] 类型的属性(例如节点或基本数学类型)不被认为是资源。" #: doc/classes/Node.xml msgid "" "Returns [code]true[/code] if the given node is a direct or indirect child of " "the current node." -msgstr "如果给定节点是当前节点的直接或间接子节点,则返回[code]true[/code]。" +msgstr "如果给定节点是当前节点的直接或间接子节点,则返回 [code]true[/code]。" #: doc/classes/Node.xml msgid "" "Returns [code]true[/code] if the node is folded (collapsed) in the Scene " "dock." -msgstr "如果节点在场景dock中折叠(collapsed),则返回[code]true[/code]。" +msgstr "如果节点在场景dock中折叠(collapsed),则返回 [code]true[/code]。" #: doc/classes/Node.xml msgid "" "Returns [code]true[/code] if the given node occurs later in the scene " "hierarchy than the current node." msgstr "" -"如果给定节点在场景层次结构中出现的时间晚于当前节点,则返回[code]true[/code]。" +"如果给定节点在场景层次结构中出现的时间晚于当前节点,则返回 [code]true[/" +"code]。" #: doc/classes/Node.xml msgid "" "Returns [code]true[/code] if this node is in the specified group. See notes " "in the description, and the group methods in [SceneTree]." msgstr "" -"如果该节点在指定的组中,则返回[code]true[/code]。参阅描述中的注释和" +"如果该节点在指定的组中,则返回 [code]true[/code]。参阅描述中的注释和" "[SceneTree]中的组方法。" #: doc/classes/Node.xml msgid "" "Returns [code]true[/code] if this node is currently inside a [SceneTree]." -msgstr "如果该节点当前在[SceneTree]中,返回[code]true[/code]。" +msgstr "如果该节点当前在[SceneTree]中,返回 [code]true[/code]。" #: doc/classes/Node.xml msgid "" "Returns [code]true[/code] if the local system is the master of this node." msgstr "" -"如果本地系统是此节点的主系统(用于多人游戏),则返回[code]true[/code]。" +"如果本地系统是此节点的主系统(用于多人游戏),则返回 [code]true[/code]。" #: doc/classes/Node.xml msgid "" @@ -46013,36 +46237,37 @@ msgid "" "Returns [code]true[/code] if physics processing is enabled (see [method " "set_physics_process])." msgstr "" -"如果启用了物理处理,返回[code]true[/code](参阅[method set_physics_process])。" +"如果启用了物理处理,返回 [code]true[/code](参阅[method " +"set_physics_process])。" #: doc/classes/Node.xml msgid "" "Returns [code]true[/code] if internal physics processing is enabled (see " "[method set_physics_process_internal])." msgstr "" -"如果内部物理处理被启用,返回[code]true[/code](见[method " +"如果内部物理处理被启用,返回 [code]true[/code](见[method " "set_physics_process_internal])。" #: doc/classes/Node.xml msgid "" "Returns [code]true[/code] if processing is enabled (see [method " "set_process])." -msgstr "如果开启了处理,返回[code]true[/code](参阅[method set_process])。" +msgstr "如果开启了处理,返回 [code]true[/code](参阅[method set_process])。" #: doc/classes/Node.xml msgid "" "Returns [code]true[/code] if the node is processing input (see [method " "set_process_input])." msgstr "" -"如果节点正在处理输入(请参阅 [method set_process_input]),则返回[code]true[/" -"code]。" +"如果节点正在处理输入(请参阅 [method set_process_input]),则返回 " +"[code]true[/code]。" #: doc/classes/Node.xml msgid "" "Returns [code]true[/code] if internal processing is enabled (see [method " "set_process_internal])." msgstr "" -"如果启用了内部处理,返回[code]true[/code](参阅[method " +"如果启用了内部处理,返回 [code]true[/code](参阅[method " "set_process_internal])。" #: doc/classes/Node.xml @@ -46051,7 +46276,7 @@ msgid "" "[method set_process_unhandled_input])." msgstr "" "如果节点正在处理未被处理的输入(参阅[method set_process_unhandled_input]),则" -"返回[code]true[/code]。" +"返回 [code]true[/code]。" #: doc/classes/Node.xml msgid "" @@ -46059,7 +46284,7 @@ msgid "" "[method set_process_unhandled_key_input])." msgstr "" "如果节点正在处理未被处理的键输入(参阅[method " -"set_process_unhandled_key_input]),则返回[code]true[/code]。" +"set_process_unhandled_key_input]),则返回 [code]true[/code]。" #: doc/classes/Node.xml msgid "" @@ -46075,7 +46300,7 @@ msgid "" "Prints all stray nodes (nodes outside the [SceneTree]). Used for debugging. " "Works only in debug builds." msgstr "" -"打印所有散在节点([SceneTree]之外的节点)。用于调试。只能在调试版本中工作。" +"打印所有离群节点([SceneTree] 之外的节点)。用于调试。只能在调试版本中工作。" #: doc/classes/Node.xml msgid "" @@ -46093,8 +46318,8 @@ msgid "" "[/codeblock]" msgstr "" "将树打印到标准输出。主要用于调试。这个版本显示相对于当前节点的路径,适合复制/" -"粘贴到[method get_node]函数中。\n" -"[b]示例输出:[/b]\n" +"粘贴到 [method get_node] 函数中。\n" +"[b]示例输出:[/b]\n" "[codeblock]\n" "TheGame\n" "TheGame/Menu\n" @@ -46119,8 +46344,8 @@ msgid "" " ┖╴Camera2D\n" "[/codeblock]" msgstr "" -"类似于[method print_tree],它将树打印到标准输出。这个版本显示更多的图形,类似" -"于在场景检查器中显示的内容。它对于检查较大的树很有用。\n" +"类似于 [method print_tree],它将树打印到标准输出。这个版本显示更多的图形,类" +"似于在场景检查器中显示的内容。它对于检查较大的树很有用。\n" "[b]输出示例:[/b]\n" "[codeblock]\n" " ┖╴TheGame\n" @@ -46141,16 +46366,16 @@ msgid "" "first." msgstr "" "在这个节点上使用[code]args[/code]中给出的参数调用给定的方法(如果存在),并递归" -"地在其所有子节点身上调用。如果[code]parent_first[/code]参数为[code]true[/" +"地在其所有子节点身上调用。如果[code]parent_first[/code]参数为 [code]true[/" "code],该方法将首先在当前节点上调用,然后在其所有子节点上调用。如果" -"[code]parent_first[/code]为[code]false[/code],子节点的方法将首先被调用。" +"[code]parent_first[/code]为 [code]false[/code],子节点的方法将首先被调用。" #: doc/classes/Node.xml msgid "" "Notifies the current node and all its children recursively by calling " "[method Object.notification] on all of them." msgstr "" -"通过对所有节点调用[method Object.notification],递归地通知当前节点和它的所有" +"通过对所有节点调用 [method Object.notification],递归地通知当前节点和它的所有" "子节点。" #: doc/classes/Node.xml @@ -46166,12 +46391,13 @@ msgid "" "[method @GDScript.is_instance_valid] before attempting to call its methods " "or access its properties." msgstr "" -"在当前帧结束时排队删除一个节点。当删除时,其所有的子节点也将被删除。这个方法" -"确保删除节点是安全的,与[method Object.free]相反。使用[method Object." -"is_queued_for_deletion]来检查一个节点是否会在帧末被删除。\n" -"[b]重要:[/b] 如果你有变量指向节点,一旦节点被释放,它将[i]不会[/i] 被分配到" -"[code]null[/code]。相反,它将指向一个[i]先前被释放的实例[/i],你应该在尝试调" -"用其方法或访问其属性之前用[method @GDScript.is_instance_valid]来验证它。" +"在当前帧结束时排队删除一个节点。被删除时,其所有的子节点也将被删除。这个方法" +"能够确保删除节点是安全的,与 [method Object.free] 相反。可以使用 [method " +"Object.is_queued_for_deletion] 来检查节点是否会在帧末被删除。\n" +"[b]重要:[/b]如果你有一个指向节点的变量,该节点被释放后,这个变量[i]不会[/i]" +"被赋值为 [code]null[/code]。相反,它将指向一个[i]先前被释放的实例[/i],你应该" +"在尝试调用其方法或访问其属性之前用 [method @GDScript.is_instance_valid] 来检" +"验其有效性。" #: doc/classes/Node.xml msgid "" @@ -46282,14 +46508,14 @@ msgid "" "like [code]server_disconnected[/code] or by checking [code]SceneTree." "network_peer.get_connection_status() == CONNECTION_CONNECTED[/code]." msgstr "" -"为给定的[code]method[/code]向网络(和本地)上的对等体发送远程过程调用请求,可" -"选择将所有附加参数作为参数发送给RPC调用的方法。调用请求将只被具有相同" -"[NodePath]的节点接收,包括完全相同的节点名称。行为取决于给定方法的RPC配置,见" -"[method rpc_config]。方法在默认情况下不会暴露给RPC。参阅[method rset]和" -"[method rset_config]的属性。返回一个空的[Variant]。\n" -"[b]注意:[/b]只有在你从[SceneTree]收到[code]connected_to_server[/code]信号之" -"后,你才能安全地在客户端使用RPC。你还需要跟踪连接状态,可以通过" -"[code]server_disconnected[/code]等[SceneTree]信号或者检查[code]SceneTree." +"为给定的 [code]method[/code] 向网络(和本地)上的对等体发送远程过程调用请求," +"可选择将所有附加参数作为参数发送给 RPC 调用的方法。调用请求将只被具有相同 " +"[NodePath] 的节点接收,包括完全相同的节点名称。行为取决于给定方法的 RPC 配" +"置,见 [method rpc_config]。方法在默认情况下不会暴露给 RPC。参阅 [method " +"rset] 和[ method rset_config] 的属性。返回一个空的 [Variant]。\n" +"[b]注意:[/b]只有在你从 [SceneTree] 收到 [code]connected_to_server[/code] 信" +"号之后,你才能安全地在客户端使用 RPC。你还需要跟踪连接状态,可以通过 " +"[code]server_disconnected[/code] 等 [SceneTree] 信号或者检查 [code]SceneTree." "network_peer.get_connection_status() == CONNECTION_CONNECTED[/code]。" #: doc/classes/Node.xml @@ -46443,11 +46669,11 @@ msgid "" "behavior. Script access to this internal logic is provided for specific " "advanced uses, but is unsafe and not supported." msgstr "" -"启用或禁用该节点的内部物理。内部物理处理与正常的[method _physics_process]调用" -"隔离进行,并且由某些节点内部使用,以确保正常工作,即使节点暂停或物理处理因脚" -"本而禁用([method set_physics_process])。仅适用于用于操纵内置节点行为的高级" -"用途。\n" -"[b]警告:[/b] 内置节点依靠内部处理来实现自己的逻辑,所以从你的代码中改变这个值" +"启用或禁用该节点的内部物理。内部物理处理与正常的 [method _physics_process] 调" +"用隔离进行,并且由某些节点内部使用,以确保正常工作,即使节点暂停或物理处理因" +"脚本而禁用([method set_physics_process])。仅适用于用于操纵内置节点行为的高" +"级用途。\n" +"[b]警告:[/b]内置节点依靠内部处理来实现自己的逻辑,所以从你的代码中改变这个值" "可能会导致意外的行为。为特定的高级用途提供了对此内部逻辑的脚本访问,但不安全" "且不支持。" @@ -46488,9 +46714,9 @@ msgstr "" "启用或禁用此节点的内部处理。内部处理与正常的 [method _process] 调用隔离进行," "并且由某些节点内部使用,以确保正常工作,即使节点已暂停或处理因脚本而禁用" "([method set_process])。仅适用于操纵内置节点行为的高级用途。\n" -"[b]警告:[/b] 内置节点依赖于内部处理来实现自己的逻辑,因此更改代码中的这个值" -"可能会导致意外行为。为特定的高级用途提供了对此内部逻辑的脚本访问,但不安全且" -"不支持。" +"[b]警告:[/b]内置节点依赖于内部处理来实现自己的逻辑,因此更改代码中的这个值可" +"能会导致意外行为。为特定的高级用途提供了对此内部逻辑的脚本访问,但不安全且不" +"支持。" #: doc/classes/Node.xml msgid "" @@ -46564,7 +46790,7 @@ msgid "" msgstr "" "节点的名称。此名称在兄弟节点(来自同一父节点的其他子节点)中是唯一的。当设置" "为现有名称时,节点将自动重命名。\n" -"[b]注意:[/b] 自动生成的名称可能包含 [code]@[/code] 字符,在使用 [method " +"[b]注意:[/b]自动生成的名称可能包含 [code]@[/code] 字符,在使用 [method " "add_child] 时保留该字符用于唯一名称。手动设置名称时,将删除任何 [code]@[/" "code]。" @@ -46574,11 +46800,25 @@ msgid "" "valid parent, grandparent, etc. ascending in the tree). When saving a node " "(using [PackedScene]), all the nodes it owns will be saved with it. This " "allows for the creation of complex [SceneTree]s, with instancing and " -"subinstancing." -msgstr "" -"节点的所有者。节点可以使用任何其他节点作为其所有者(只要是能够沿着场景树向上" -"追溯到的有效父节点、祖父节点等)。(使用 [PackedScene])保存节点时,所有它拥" -"有的节点也会随之保存。由此即可通过实例化和子实例化来创建复杂的 [SceneTree]。" +"subinstancing.\n" +"[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " +"must set [member owner] in addition to calling [method add_child]. This is " +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." +msgstr "" +"节点的所有者。节点的所有者可以是任何其他节点(需要是父节点或祖父节点等,即场" +"景树上的祖先)。(通过 [PackedScene])保存一个节点时,它拥有的所有节点也会随" +"之保存。这样就可以创建复杂的 [SceneTree],能够进行实例化与次实例化。\n" +"[b]注意:[/b]如果想要将子节点持久化进 [PackedScene],除了调用 [method " +"add_child] 之外你还必须设置 [member owner]。通常在[url=$DOCS_URL/tutorials/" +"misc/running_code_in_the_editor.html]工具脚本[/url]和[url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]编辑器插件[/url]中会用到。如果调用了 " +"[method add_child] 但没有设置 [member owner],那么新建的这个 [Node] 在场景树" +"中不可见,但在 2D/3D 视图中可见。" #: doc/classes/Node.xml msgid "Pause mode. How the node will behave if the [SceneTree] is paused." @@ -46638,41 +46878,42 @@ msgstr "" #: doc/classes/Node.xml msgid "Notification received when the node enters a [SceneTree]." -msgstr "当节点进入 [SceneTree] 时收到该通知。" +msgstr "当该节点进入 [SceneTree] 时收到的通知。" #: doc/classes/Node.xml msgid "Notification received when the node is about to exit a [SceneTree]." -msgstr "当节点即将退出 [SceneTree] 时收到该通知。" +msgstr "当该节点即将退出 [SceneTree] 时收到的通知。" #: doc/classes/Node.xml msgid "Notification received when the node is moved in the parent." -msgstr "在父节点中移动节点时收到该通知。" +msgstr "当该节点在其父节点中移动时收到的通知。" #: doc/classes/Node.xml msgid "Notification received when the node is ready. See [method _ready]." -msgstr "当节点就绪时接收到通知。请参阅 [method _ready]。" +msgstr "当该节点就绪时接收到通知。请参阅 [method _ready]。" #: doc/classes/Node.xml msgid "Notification received when the node is paused." -msgstr "暂停节点时接收到的通知。" +msgstr "当该节点被暂停时接收到的通知。" #: doc/classes/Node.xml msgid "Notification received when the node is unpaused." -msgstr "节点暂停时收到该通知。" +msgstr "当该节点被取消暂停时收到的通知。" #: doc/classes/Node.xml msgid "" "Notification received every frame when the physics process flag is set (see " "[method set_physics_process])." msgstr "" -"当 physics process flag 被设置时,每一帧都会收到该通知(见[method " +"当设置了 physics process 标志时,每一帧都会收到的通知(见 [method " "set_physics_process])。" #: doc/classes/Node.xml msgid "" "Notification received every frame when the process flag is set (see [method " "set_process])." -msgstr "当 process flag 被设置时,每一帧都收到通知(见[method set_process])。" +msgstr "" +"当设置了 process 标志时,每一帧都会收到的通知(见 [method set_process])。" #: doc/classes/Node.xml msgid "" @@ -46680,7 +46921,7 @@ msgid "" "[b]Note:[/b] This doesn't mean that a node entered the [SceneTree]." msgstr "" "当一个节点被设置为另一个节点的子节点时收到该通知。\n" -"[b]注意:[/b]这并不意味着一个节点进入了[SceneTree]。" +"[b]注意:[/b]这并不意味着一个节点进入了[SceneTree]。" #: doc/classes/Node.xml msgid "" @@ -46690,7 +46931,7 @@ msgstr "当节点失去父节点时收到的通知(父节点将其从子节点 #: doc/classes/Node.xml msgid "Notification received when the node is instanced." -msgstr "节点被实例化时收到的通知。" +msgstr "当该节点被实例化时收到的通知。" #: doc/classes/Node.xml msgid "Notification received when a drag begins." @@ -46702,14 +46943,14 @@ msgstr "拖动结束时收到的通知。" #: doc/classes/Node.xml msgid "Notification received when the node's [NodePath] changed." -msgstr "当节点的 [NodePath] 改变时收到的通知。" +msgstr "当该节点的 [NodePath] 改变时收到的通知。" #: doc/classes/Node.xml msgid "" "Notification received every frame when the internal process flag is set (see " "[method set_process_internal])." msgstr "" -"当 internal process flag 被设置时,每一帧都收到通知(见[method " +"当设置了 internal process 标志时,每一帧都会收到的通知(见 [method " "set_process_internal])。" #: doc/classes/Node.xml @@ -46717,8 +46958,8 @@ msgid "" "Notification received every frame when the internal physics process flag is " "set (see [method set_physics_process_internal])." msgstr "" -"当 internal physics process flag 被设置时,每一帧都会收到通知(见[method " -"set_physics_process_internal])。" +"当设置了 internal physics process flag 标志时,每一帧都会收到的通知(见 " +"[method set_physics_process_internal])。" #: doc/classes/Node.xml msgid "" @@ -46726,8 +46967,8 @@ msgid "" "NOTIFICATION_READY] is received. Unlike the latter, it's sent every time the " "node enters tree, instead of only once." msgstr "" -"在节点准备好时收到通知,就在收到[constant NOTIFICATION_READY]之前。与后者不" -"同,它每次节点进入树时都会发送,而不是只发送一次。" +"当该节点就绪,在收到 [constant NOTIFICATION_READY] 之前收到的通知。与后者不" +"同,该节点每次进入树时都会发送,而不是只发送一次。" #: doc/classes/Node.xml msgid "" @@ -46998,7 +47239,7 @@ msgstr "" "@\"/root/Main\" # 如果你的主场景的根节点被命名为“Main”。\n" "@\"/root/MyAutoload\" # 如果你有一个自动加载的节点或场景。\n" "[/codeblock]\n" -"[b]注意:[/b] 在编辑器中,[NodePath] 属性在场景树中移动、重命名或删除节点时会" +"[b]注意:[/b]在编辑器中,[NodePath] 属性在场景树中移动、重命名或删除节点时会" "自动更新,但它们不会在运行时更新。" #: doc/classes/NodePath.xml doc/classes/PackedScene.xml doc/classes/Panel.xml @@ -47165,9 +47406,9 @@ msgid "" "autoload was registered)." msgstr "" "如果节点路径是绝对的(而不是相对的),即以斜线字符([code]/[/code])开始,返" -"回[code]true[/code]。绝对节点路径可以用来访问根节点([code]\"/root\"[/code])" -"或自动加载(例如[code]\"/global\"[/code] 如果注册了一个叫“global”的自动加载" -"项)。" +"回 [code]true[/code]。绝对节点路径可以用来访问根节点([code]\"/root\"[/" +"code])或自动加载(例如[code]\"/global\"[/code] 如果注册了一个叫“global”的自" +"动加载项)。" #: doc/classes/NodePath.xml msgid "Returns [code]true[/code] if the node path is empty." @@ -47360,8 +47601,19 @@ msgstr "" "code],以及 [code]usage: int[/code](见 [enum PropertyUsageFlags])。" #: doc/classes/Object.xml -msgid "Called when the object is initialized." -msgstr "当对象被初始化时被调用。" +msgid "" +"Called when the object is initialized in memory. Can be defined to take in " +"parameters, that are passed in when constructing.\n" +"[b]Note:[/b] If [method _init] is defined with required parameters, then " +"explicit construction is the only valid means of creating an Object of the " +"class. If any other means (such as [method PackedScene.instance]) is used, " +"then initialization will fail." +msgstr "" +"会在该对象在内存中初始化时调用。可以被定义为接受参数的形式,参数需要在构造时" +"传入。\n" +"[b]注意:[/b]如果 [method _init] 被定义要求参数的形式,那么就只能通过显式构造" +"来创建该类的 Object。使用其他方法(如 [method PackedScene.instance])会导致初" +"始化失败。" #: doc/classes/Object.xml msgid "" @@ -47371,10 +47623,10 @@ msgid "" "NOTIFICATION_PREDELETE], but subclasses such as [Node] define a lot more " "notifications which are also received by this method." msgstr "" -"每当对象收到一个通知时就会被调用,这个通知在[code]what[/code]中由一个常量来标" -"识。基类 [Object] 有两个常量 [constant NOTIFICATION_POSTINITIALIZE] 和 " -"[constant NOTIFICATION_PREDELETE],但是诸如 [Node] 等子类定义了更多的通知,这" -"些通知也是由这个方法接收。" +"该对象每收到一条通知时,就会调用这个方法。该通知是个常量,在 [code]what[/" +"code] 中标识。基类 [Object] 有两个常量 [constant " +"NOTIFICATION_POSTINITIALIZE] 和 [constant NOTIFICATION_PREDELETE],但是 " +"[Node] 等子类定义了更多的通知,也会由这个方法接收。" #: doc/classes/Object.xml msgid "" @@ -47427,7 +47679,7 @@ msgstr "" "[codeblock]\n" "call(\"set\", \"position\", Vector2(42.0, 0.0))\n" "[/codeblock]\n" -"[b]注意:[/b] 在C#中,如果方法是由内置的Godot节点定义的,那么方法名必须被指定" +"[b]注意:[/b]在C#中,如果方法是由内置的Godot节点定义的,那么方法名必须被指定" "为snake_case。这不适用于用户定义的方法,在那里你应该使用与C#源代码中相同的约" "定(通常是PascalCase)。" @@ -47449,7 +47701,7 @@ msgstr "" "[codeblock]\n" "call_deferred(\"set\", \"position\", Vector2(42.0, 0.0))\n" "[/codeblock]\n" -"[b]注意:[/b] 在C#中,如果方法名称是由内置的Godot节点定义的,必须指定为" +"[b]注意:[/b]在C#中,如果方法名称是由内置的Godot节点定义的,必须指定为" "snake_case。这不适用于用户定义的方法,在那里你应该使用与C#源代码中相同的约定" "(通常是PascalCase)。" @@ -47473,7 +47725,7 @@ msgid "" "Returns [code]true[/code] if the object can translate strings. See [method " "set_message_translation] and [method tr]." msgstr "" -"如果该对象可以翻译字符串,则返回[code]true[/code]。参阅[method " +"如果该对象可以翻译字符串,则返回 [code]true[/code]。参阅[method " "set_message_translation]和[method tr]。" #: doc/classes/Object.xml @@ -47597,8 +47849,8 @@ msgid "" "(typically PascalCase)." msgstr "" "返回给定[code]property[/code]的[Variant]值。如果该[code]property[/code]不存" -"在,这将返回[code]null[/code]。\n" -"[b]注意:[/b] 在C#中,如果属性是由内置的Godot节点定义的,那么属性名必须被指定" +"在,这将返回 [code]null[/code]。\n" +"[b]注意:[/b]在C#中,如果属性是由内置的Godot节点定义的,那么属性名必须被指定" "为snake_case。这不适用于用户定义的属性,在那里你应该使用与C#源代码中相同的约" "定(通常是PascalCase)。" @@ -47610,8 +47862,8 @@ msgid "" "defined, the base class name will be returned instead." msgstr "" "返回对象的类型为一个[String]。参见[method is_class]。\n" -"[b]注意:[/b] [method get_class] 不考虑[code]class_name[/code]的声明。如果对" -"象有一个[code]class_name[/code]的定义,基类名称将被返回。" +"[b]注意:[/b][method get_class] 不考虑[code]class_name[/code]的声明。如果对象" +"有一个[code]class_name[/code]的定义,基类名称将被返回。" #: doc/classes/Object.xml msgid "" @@ -47658,8 +47910,15 @@ msgstr "" "instance_from_id] 来检索对象实例。" #: doc/classes/Object.xml -msgid "Returns the object's metadata entry for the given [code]name[/code]." -msgstr "返回给定[code]name[/code]的对象的元数据条目。" +#, fuzzy +msgid "" +"Returns the object's metadata entry for the given [code]name[/code].\n" +"Throws error if the entry does not exist, unless [code]default[/code] is not " +"[code]null[/code] (in which case the default value will be returned)." +msgstr "" +"在给定的位置 [code]position[/code] 返回项目索引。\n" +"当此时没有项目时,如果精确 [code]exact[/code] 是真 [code]true[/code],则将返" +"回 -1,否则将返回最近的项目索引。" #: doc/classes/Object.xml msgid "Returns the object's metadata as a [PoolStringArray]." @@ -47769,12 +48028,12 @@ msgid "" "_notification] is called first on the highest ancestor ([Object] itself), " "and then down to its successive inheriting classes." msgstr "" -"向对象发送给定的通知,这也将触发对该对象继承的所有类的 [method " -"_notification] 方法的调用。\n" -"如果 [code]reversed[/code] 是 [code]true[/code],[method _notification] 首先" -"在对象自己的类上被调用,然后再到其连续的父类上。如果 [code]reversed[/code] " -"是 [code]false[/code],[method _notification] 首先在最高的祖先([Object] 本" -"身)上被调用,然后向下到其后续的继承类。" +"向对象发送给定的通知,也会触发对该对象继承的所有类的 [method _notification] " +"方法的调用。\n" +"如果 [code]reversed[/code] 为 [code]true[/code],[method _notification] 会首" +"先在对象自己的类上被调用,然后再向上依次在父类上调用。如果 [code]reversed[/" +"code] 为 [code]false[/code],[method _notification] 会首先在最高的祖先" +"([Object] 本身)上被调用,然后向下依次在继承类上调用。" #: doc/classes/Object.xml msgid "" @@ -47806,7 +48065,7 @@ msgstr "" #: doc/classes/Object.xml msgid "If set to [code]true[/code], signal emission is blocked." -msgstr "如果设置为[code]true[/code],信号发射被阻止。" +msgstr "如果设置为 [code]true[/code],信号发射被阻止。" #: doc/classes/Object.xml msgid "" @@ -48007,7 +48266,7 @@ msgid "" "than a reference." msgstr "" "带有多边形顶点位置索引的[Vector2]数组。\n" -"[b]注意:[/b]返回值是基础数组的副本,而不是引用。" +"[b]注意:[/b]返回值是基础数组的副本,而不是引用。" #: doc/classes/OccluderPolygon2D.xml msgid "Culling is disabled. See [member cull_mode]." @@ -48120,7 +48379,7 @@ msgstr "" #: doc/classes/OmniLight.xml msgid "Omnidirectional light, such as a light bulb or a candle." -msgstr "全方位的光,如灯泡或蜡烛。" +msgstr "全向光,如灯泡或蜡烛。" #: doc/classes/OmniLight.xml msgid "" @@ -48279,8 +48538,8 @@ msgid "" msgstr "" "根据当前的噪声参数,以 [constant Image.FORMAT_L8] 格式生成可平铺噪声图像。生" "成的无缝图像始终是方形的([code]size[/code]× [code]size[/code])。\n" -"[b]注意:[/b] 与非无缝噪声相比,无缝噪声的对比度较低。。这是由于噪声使用更高" -"维度来生成无缝噪声的方式。" +"[b]注意:[/b]与非无缝噪声相比,无缝噪声的对比度较低。。这是由于噪声使用更高维" +"度来生成无缝噪声的方式。" #: modules/opensimplex/doc_classes/OpenSimplexNoise.xml msgid "Difference in period between [member octaves]." @@ -48392,18 +48651,17 @@ msgstr "" #: doc/classes/OptionButton.xml doc/classes/PopupMenu.xml msgid "Returns the text of the item at index [code]idx[/code]." -msgstr "返回索引[code]idx[/code]处项目的文本。" +msgstr "返回索引 [code]idx[/code] 处项目的文本。" #: doc/classes/OptionButton.xml -#, fuzzy msgid "Returns the tooltip of the item at index [code]idx[/code]." -msgstr "返回索引[code]idx[/code]处项目的文本。" +msgstr "返回索引 [code]idx[/code] 处项目的工具提示。" #: doc/classes/OptionButton.xml msgid "" "Returns the ID of the selected item, or [code]0[/code] if no item is " "selected." -msgstr "返回所选项目的ID,如果没有选择项目,则返回[code]0[/code]。" +msgstr "返回所选项目的ID,如果没有选择项目,则返回 [code]0[/code]。" #: doc/classes/OptionButton.xml msgid "" @@ -48414,7 +48672,7 @@ msgstr "获取选定项的元数据。可以使用[method set_item_metadata]设 #: doc/classes/OptionButton.xml msgid "" "Returns [code]true[/code] if the item at index [code]idx[/code] is disabled." -msgstr "如果索引[code]idx[/code]项被禁用,返回[code]true[/code]。" +msgstr "如果索引[code]idx[/code]项被禁用,返回 [code]true[/code]。" #: doc/classes/OptionButton.xml msgid "Removes the item at index [code]idx[/code]." @@ -48455,12 +48713,11 @@ msgstr "" #: doc/classes/OptionButton.xml doc/classes/PopupMenu.xml msgid "Sets the text of the item at index [code]idx[/code]." -msgstr "在索引[code]idx[/code]处设置项的文本。" +msgstr "设置在索引 [code]idx[/code] 处的项目的文本。" #: doc/classes/OptionButton.xml -#, fuzzy msgid "Sets the tooltip of the item at index [code]idx[/code]." -msgstr "在索引[code]idx[/code]处设置项的文本。" +msgstr "设置在索引 [code]idx[/code] 处的项目的工具提示。" #: doc/classes/OptionButton.xml msgid "" @@ -48579,7 +48836,7 @@ msgstr "如果主机操作系统允许绘制,则返回 [code]true[/code]。" msgid "" "Returns [code]true[/code] if the current host platform is using multiple " "threads." -msgstr "如果当前主机平台使用多个线程,则返回[code]true[/code]。" +msgstr "如果当前主机平台使用多个线程,则返回 [code]true[/code]。" #: doc/classes/OS.xml msgid "Centers the window on the screen if in windowed mode." @@ -48591,7 +48848,7 @@ msgid "" "[b]Note:[/b] This method is implemented on Linux, macOS and Windows." msgstr "" "关闭系统MIDI驱动程序。\n" -"[b]注意:[/b]该方法只在Linux, macOS和Windows上实现。" +"[b]注意:[/b]该方法只在Linux, macOS和Windows上实现。" #: doc/classes/OS.xml msgid "" @@ -48881,7 +49138,7 @@ msgstr "" "返回MIDI设备名称数组。\n" "如果系统MIDI驱动程序之前没有使用[method open_midi_inputs]初始化,返回的数组将" "是空的。\n" -"[b]注意:[/b]该方法仅在Linux, macOS和Windows上实现。" +"[b]注意:[/b]该方法仅在Linux, macOS和Windows上实现。" #: doc/classes/OS.xml msgid "" @@ -48956,7 +49213,7 @@ msgid "" "variable names are case-sensitive on all platforms except Windows." msgstr "" "返回环境变量的值。如果环境变量不存在,则返回一个空字符串。\n" -"[b]注意:[/b] 仔细检查 [code]variable[/code] 的大小写。环境变量名称在除 " +"[b]注意:[/b]仔细检查 [code]variable[/code] 的大小写。环境变量名称在除 " "Windows 之外的所有平台上都区分大小写。" #: doc/classes/OS.xml @@ -48970,7 +49227,7 @@ msgid "" "[b]Note:[/b] This method is implemented on Android." msgstr "" "通过这个函数,你可以获得已经授予Android应用程序的危险权限列表。\n" -"[b]注意:[/b] 这个方法在Android上实现。" +"[b]注意:[/b]这个方法在Android上实现。" #: doc/classes/OS.xml msgid "" @@ -49010,8 +49267,8 @@ msgstr "" "可能的返回值是: [code]\"QWERTY\"[/code], [code]\"AZERTY\"[/code], " "[code]\"QZERTY\"[/code],[code]\"DVORAK\"[/code],[code]\"NEO\"[/code]," "[code]\"COLEMAK\"[/code]或[code]\"错误ERROR\"[/code]。\n" -"[b]注意:[/b] 此方法在 Linux、macOS 和 Windows 上实现。在不受支持的平台上返" -"回 [code]\"QWERTY\"[/code] 。" +"[b]注意:[/b]此方法在 Linux、macOS 和 Windows 上实现。在不受支持的平台上返回 " +"[code]\"QWERTY\"[/code] 。" #: doc/classes/OS.xml msgid "" @@ -49079,7 +49336,7 @@ msgid "" "[code]\"GenericDevice\"[/code] on unsupported platforms." msgstr "" "返回当前设备的模型名称。\n" -"[b]注意:[/b]此方法仅在Android和iOS上实现。在不支持的平台上返回" +"[b]注意:[/b]此方法仅在Android和iOS上实现。在不支持的平台上返回 " "[code]\"GenericDevice\"[/code]。" #: doc/classes/OS.xml @@ -49121,7 +49378,7 @@ msgid "" msgstr "" "返回设备耗尽电池前几秒钟内剩余时间的估计值。如果电源状态未知,则返回 " "[code]-1[/code]。\n" -"[b]注意:[/b] 此方法在 Linux、macOS 和 Windows 上实现。" +"[b]注意:[/b]此方法在 Linux、macOS 和 Windows 上实现。" #: doc/classes/OS.xml msgid "" @@ -49255,6 +49512,17 @@ msgid "" " refresh_rate = 60.0\n" "[/codeblock]" msgstr "" +"返回指定屏幕的当前刷新率。如果 [code]screen[/code] 为 [code]-1[/code](默认" +"值),则会使用当前屏幕。\n" +"[b]注意:[/b]如果 Godot 无法获取给定屏幕的刷新率,则会返回 [code]-1.0[/" +"code]。在 HTML5 上,[method get_screen_refresh_rate] 总是返回 [code]-1.0[/" +"code],因为在该平台上无法获取刷新率。\n" +"要在该方法失败时回退至默认刷新率,请尝试:\n" +"[codeblock]\n" +"var refresh_rate = OS.get_screen_refresh_rate()\n" +"if refresh_rate < 0:\n" +" refresh_rate = 60.0\n" +"[/codeblock]" #: doc/classes/OS.xml msgid "" @@ -49387,12 +49655,11 @@ msgid "" "implemented on those platforms yet." msgstr "" "返回设备所特有的字符串。\n" -"[b]注意:[/b] 如果用户重新安装/升级其操作系统或更改其硬件,此字符串可能会在不" +"[b]注意:[/b]如果用户重新安装/升级其操作系统或更改其硬件,此字符串可能会在不" "通知的情况下更改。这意味着它通常不应用于加密持续数据,因为在意外的 ID 更改变" "得无法访问之前保存的数据。返回的字符串也可能使用外部程序伪造,因此出于安全目" "的,不要依赖 [method get_unique_id] 返回的字符串。\n" -"[b]注意:[/b] 返回 HTML5 和 UWP 上的空字符串,因为此方法尚未在这些平台上实" -"施。" +"[b]注意:[/b]返回 HTML5 和 UWP 上的空字符串,因为此方法尚未在这些平台上实施。" #: doc/classes/OS.xml msgid "" @@ -49509,7 +49776,7 @@ msgid "" "[b]Note:[/b] This method is implemented on macOS." msgstr "" "在项目之间添加一个分隔符。分隔符也占用一个索引。\n" -"[b]注意:[/b] 这个方法在macOS上实现。" +"[b]注意:[/b]这个方法在macOS上实现。" #: doc/classes/OS.xml msgid "" @@ -49527,7 +49794,7 @@ msgid "" msgstr "" "将索引为 \"idx\" 的项目从全局菜单中移除。注意,在被删除的项目之后的项目的索引" "将被移动1位。\n" -"[b]注意:[/b] 这个方法在macOS上实现。" +"[b]注意:[/b]这个方法在macOS上实现。" #: doc/classes/OS.xml msgid "Returns [code]true[/code] if there is content on the clipboard." @@ -49541,7 +49808,7 @@ msgid "" "variable names are case-sensitive on all platforms except Windows." msgstr "" "如果名称为 [code]variable[/code] 的环境变量存在,则返回 [code]true[/code]。\n" -"[b]注意:[/b] 仔细检查 [code]variable[/code] 的大小写。环境变量名称在除 " +"[b]注意:[/b]仔细检查 [code]variable[/code] 的大小写。环境变量名称在除 " "Windows 之外的所有平台上都区分大小写。" #: doc/classes/OS.xml @@ -49586,9 +49853,9 @@ msgid "" "template (debug or release), use [code]OS.has_feature(\"standalone\")[/code] " "instead." msgstr "" -"如果用于运行项目的Godot二进制文件是[i]debug[/i]导出,或在编辑器中运行时,返回" -"[code]true[/code]。\n" -"如果用于运行项目的Godot二进制文件是[i]release[/i]导出,则返回[code]false[/" +"如果用于运行项目的Godot二进制文件是[i]debug[/i]导出,或在编辑器中运行时,返" +"回 [code]true[/code]。\n" +"如果用于运行项目的Godot二进制文件是[i]release[/i]导出,则返回 [code]false[/" "code]。\n" "要检查用于运行项目的Godot二进制文件是否是被导出版本(调试或发布),请使用" "[code]OS.has_feature(\"standalone\")[/code]代替。" @@ -49629,7 +49896,7 @@ msgstr "" msgid "" "Returns [code]true[/code] if the window should always be on top of other " "windows." -msgstr "如果该窗口应总是在其他窗口之上,则返回[code]true[/code]。" +msgstr "如果该窗口应总是在其他窗口之上,则返回 [code]true[/code]。" #: doc/classes/OS.xml msgid "" @@ -49637,8 +49904,8 @@ msgid "" "[b]Note:[/b] Only implemented on desktop platforms. On other platforms, it " "will always return [code]true[/code]." msgstr "" -"如果窗口当前获得焦点,则返回[code]true[/code]。\n" -"[b]注意:[/b] 只在桌面平台上实现。在其他平台上,它将总是返回[code]true[/" +"如果窗口当前获得焦点,则返回 [code]true[/code]。\n" +"[b]注意:[/b]只在桌面平台上实现。在其他平台上,它将总是返回 [code]true[/" "code]。" #: doc/classes/OS.xml @@ -49647,7 +49914,7 @@ msgid "" "[b]Note:[/b] This method is implemented on Linux, macOS and Windows." msgstr "" "返回活动键盘布局索引。\n" -"[b]注意:[/b]本方法在Linux、macOS和Windows上实现。" +"[b]注意:[/b]本方法在Linux、macOS和Windows上实现。" #: doc/classes/OS.xml msgid "" @@ -49673,7 +49940,7 @@ msgid "" "[b]Note:[/b] This method is implemented on Linux, macOS and Windows." msgstr "" "返回位于[code]index[/code]位置的键盘布局的本地名称。\n" -"[b]注意:[/b] 本方法可在Linux、macOS和Windows上实现。" +"[b]注意:[/b]本方法可在Linux、macOS和Windows上实现。" #: doc/classes/OS.xml msgid "" @@ -49721,8 +49988,8 @@ msgid "" "Returns [code]true[/code] if native video is playing.\n" "[b]Note:[/b] This method is only implemented on iOS." msgstr "" -"如果本地视频正在播放,返回[code]true[/code]。\n" -"[b]注意:[/b] 这个方法只在iOS上实现。" +"如果本地视频正在播放,返回 [code]true[/code]。\n" +"[b]注意:[/b]这个方法只在iOS上实现。" #: doc/classes/OS.xml msgid "" @@ -49730,7 +49997,7 @@ msgid "" "[b]Note:[/b] This method is only implemented on iOS." msgstr "" "暂停本地视频播放。\n" -"[b]注意:[/b] 这个方法只在iOS上实现。" +"[b]注意:[/b]这个方法只在iOS上实现。" #: doc/classes/OS.xml msgid "" @@ -49739,7 +50006,7 @@ msgid "" "[b]Note:[/b] This method is only implemented on iOS." msgstr "" "以给定的音量、音频和字幕轨道播放来自指定路径的本地视频。\n" -"[b]注意:[/b] 这个方法只在iOS上实现。" +"[b]注意:[/b]这个方法只在iOS上实现。" #: doc/classes/OS.xml msgid "" @@ -49747,7 +50014,7 @@ msgid "" "[b]Note:[/b] This method is implemented on iOS." msgstr "" "停止本地视频播放。\n" -"[b]注意:[/b] 这个方法在iOS上实现。" +"[b]注意:[/b]这个方法在iOS上实现。" #: doc/classes/OS.xml msgid "" @@ -49755,7 +50022,7 @@ msgid "" "[b]Note:[/b] This method is implemented on iOS." msgstr "" "恢复本地视频播放。\n" -"[b]注意:[/b] 这个方法在iOS上实现。" +"[b]注意:[/b]这个方法在iOS上实现。" #: doc/classes/OS.xml msgid "" @@ -49792,7 +50059,7 @@ msgid "" "[b]Note:[/b] This method is implemented on Linux, macOS and Windows." msgstr "" "要求用户注意该窗口。它会在Windows上闪烁任务栏按钮,或在OSX上弹出Dock图标。\n" -"[b]注意:[/b] 这个方法在Linux、macOS和Windows上实现。" +"[b]注意:[/b]这个方法在Linux、macOS和Windows上实现。" #: doc/classes/OS.xml msgid "" @@ -49811,7 +50078,7 @@ msgid "" msgstr "" "通过这个功能,你可以申请危险的权限,因为在Android应用程序中,正常的权限会在安" "装时自动授予。\n" -"[b]注意:[/b] 此方法在Android上实现。" +"[b]注意:[/b]此方法在Android上实现。" #: doc/classes/OS.xml msgid "" @@ -49826,8 +50093,8 @@ msgstr "" "将环境变量[code]variable[/code]的值设置为[code]value[/code]。在运行[method " "set_environment]后,环境变量将被设置为Godot进程和任何用[method execute]执行的" "进程。环境变量将[i]不[/i]持续存在于Godot进程终止后运行的进程中。\n" -"[b]注意:[/b] 仔细检查[code]variable[/code]的大小写。除Windows外,环境变量名" -"称在所有平台上都是区分大小写的。" +"[b]注意:[/b]仔细检查[code]variable[/code]的大小写。除Windows外,环境变量名称" +"在所有平台上都是区分大小写的。" #: doc/classes/OS.xml msgid "" @@ -49865,7 +50132,7 @@ msgid "" "[b]Note:[/b] This method is implemented on Linux, macOS and Windows." msgstr "" "设置 IME 建议列表弹出窗口的位置(在窗口坐标中)。\n" -"[b]注意:[/b] 此方法在 Linux、macOS 和 Windows 上实现。" +"[b]注意:[/b]此方法在 Linux、macOS 和 Windows 上实现。" #: doc/classes/OS.xml msgid "" @@ -49886,7 +50153,7 @@ msgstr "设置当前线程的名称。" #: doc/classes/OS.xml msgid "Enables backup saves if [code]enabled[/code] is [code]true[/code]." -msgstr "如果[code]enabled[/code]为[code]true[/code],则启用备份保存。" +msgstr "如果[code]enabled[/code]为 [code]true[/code],则启用备份保存。" #: doc/classes/OS.xml msgid "" @@ -49928,9 +50195,9 @@ msgstr "" "# 重置区域为默认值。\n" "OS.set_window_mouse_passthrough([] )\n" "[/codeblock]\n" -"[b]注意:[/b]在Windows上,位于区域外的窗口部分不会被绘制,而在Linux和macOS上则" -"会。\n" -"[b]注意:[/b] 这个方法在Linux、macOS和Windows上实现。" +"[b]注意:[/b]在Windows上,位于区域外的窗口部分不会被绘制,而在Linux和macOS上" +"则会。\n" +"[b]注意:[/b]这个方法在Linux、macOS和Windows上实现。" #: doc/classes/OS.xml msgid "" @@ -50533,7 +50800,7 @@ msgid "" "[b]Note:[/b] Only available in editor builds." msgstr "" "如果传递给[method instance],则向本地场景提供本地场景资源。\n" -"[b]注意:[/b] 只在编辑器构建中可用。" +"[b]注意:[/b]只在编辑器构建中可用。" #: doc/classes/PackedScene.xml msgid "" @@ -50543,7 +50810,7 @@ msgid "" msgstr "" "如果传递给[method instance],向本地场景提供本地场景资源。只有主场景应该接收主" "编辑状态。\n" -"[b]注意:[/b] 只在编辑器构建中可用。" +"[b]注意:[/b]只在编辑器构建中可用。" #: doc/classes/PackedScene.xml msgid "" @@ -50555,6 +50822,14 @@ msgstr "" "化的情况。\n" "[b]注意:[/b]仅在编辑器构建中可用。" +#: modules/gltf/doc_classes/PackedSceneGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [PackedSceneGLTF] within a script will cause an error in an exported " +"project." +msgstr "" + #: doc/classes/PacketPeer.xml msgid "Abstraction and base class for packet-based protocols." msgstr "基于包的协议的抽象和基类。" @@ -50595,7 +50870,7 @@ msgid "" "to avoid potential security threats such as remote code execution." msgstr "" "获取一个变量。如果[code]allow_objects[/code] 或 [member " -"allow_object_decoding]为[code]true[/code],则允许对对象进行解码。\n" +"allow_object_decoding]为 [code]true[/code],则允许对对象进行解码。\n" "[b]警告:[/b]反序列化对象可能包含执行的代码。如果序列化对象来自不受信任的源," "请不要使用此选项,以避免潜在的安全威胁,如远程代码执行。" @@ -50610,8 +50885,8 @@ msgid "" "(and can potentially include code)." msgstr "" "将[Variant]作为数据包发送。如果[code]full_objects[/code] 或 [member " -"allow_object_decoding]为[code]true[/code],则允许对对象进行编码(并且可能包含" -"代码)。" +"allow_object_decoding]为 [code]true[/code],则允许对对象进行编码(并且可能包" +"含代码)。" #: doc/classes/PacketPeer.xml msgid "" @@ -50627,8 +50902,8 @@ msgstr "" "来代替它。\n" "如果[code]true[/code],多人游戏API将允许在RPC/RSETs期间对对象进行编码和解" "码。\n" -"[b]警告:[/b] 反序列化的对象可能包含会被执行的代码。如果序列化的对象来自不受" -"信任的来源,请不要使用这个选项,以避免潜在的安全威胁,如远程代码执行。" +"[b]警告:[/b]反序列化的对象可能包含会被执行的代码。如果序列化的对象来自不受信" +"任的来源,请不要使用这个选项,以避免潜在的安全威胁,如远程代码执行。" #: doc/classes/PacketPeer.xml msgid "" @@ -50658,11 +50933,11 @@ msgid "" "are otherwise valid. If this is a concern, you may want to use automatically " "managed certificates with a short validity period." msgstr "" -"这个类表示DTLS对等连接。它可以用来连接到DTLS服务器,由[method DTLSServer." -"take_connection]返回。\n" -"[b]警告:[/b]当前不支持SSL/TLS证书撤销和证书固定。只要撤销的证书在其他情况下是" -"有效的,都将被接受。如果这是一个问题,您可能希望使用具有短有效期的自动管理证" -"书。" +"这个类表示 DTLS 对等连接。它可以用来连接到 DTLS 服务器,由 [method " +"DTLSServer.take_connection] 返回。\n" +"[b]警告:[/b]当前不支持 SSL/TLS 证书撤销和证书固定。只要撤销的证书在其他情况" +"下是有效的,都将被接受。如果这是一个问题,您可能希望使用具有短有效期的自动管" +"理证书。" #: doc/classes/PacketPeerDTLS.xml msgid "" @@ -50772,7 +51047,7 @@ msgstr "" "被发送到连接的地址(不允许将来调用[method set_dest_address])。该方法不向远程对" "等体发送任何数据,要发送数据,请使用[method PacketPeer.put_var]或[method " "PacketPeer.put_packet]。参见[UDPServer]。\n" -"[b]注意:[/b]连接到远程对等体并不能防止IP欺骗等恶意攻击。如果您觉得您的应用程" +"[b]注意:[/b]连接到远程对等体并不能防止IP欺骗等恶意攻击。如果您觉得您的应用程" "序正在传输敏感信息,可以考虑使用SSL或DTLS等加密技术。" #: doc/classes/PacketPeerUDP.xml @@ -50796,7 +51071,7 @@ msgid "" "Returns [code]true[/code] if the UDP socket is open and has been connected " "to a remote address. See [method connect_to_host]." msgstr "" -"如果UDP套接字已打开并已连接到远程地址,则返回[code]true[/code]。请参阅" +"如果UDP套接字已打开并已连接到远程地址,则返回 [code]true[/code]。请参阅" "[method connect_to_host]。" #: doc/classes/PacketPeerUDP.xml @@ -51052,7 +51327,7 @@ msgstr "" "ParallaxLayer 必须是 [ParallaxBackground] 节点的子节点。每个 ParallaxLayer 都" "可以设置为相对于相机移动或 [member ParallaxBackground.scroll_offset] 值。\n" "该节点的子节点将受其滚动偏移量的影响。\n" -"[b]注意:[/b] 当该节点进入场景后,对其位置和比例的任何改变都将被忽略。" +"[b]注意:[/b]当该节点进入场景后,对其位置和比例的任何改变都将被忽略。" #: doc/classes/ParallaxLayer.xml msgid "" @@ -51143,36 +51418,36 @@ msgstr "设置在索引 [code]pass[/code] 处绘制的 [Mesh] 。" #: doc/classes/Particles.xml msgid "[Mesh] that is drawn for the first draw pass." -msgstr "第一次抽取的[Mesh]。" +msgstr "第一绘制阶段所绘制的 [Mesh]。" #: doc/classes/Particles.xml msgid "[Mesh] that is drawn for the second draw pass." -msgstr "[Mesh]在第二次抽取时被抽出的。" +msgstr "第二绘制阶段所绘制的 [Mesh]。" #: doc/classes/Particles.xml msgid "[Mesh] that is drawn for the third draw pass." -msgstr "[Mesh]这是为第三次抽取所抽出的。" +msgstr "第三绘制阶段所绘制的 [Mesh]。" #: doc/classes/Particles.xml msgid "[Mesh] that is drawn for the fourth draw pass." -msgstr "[Mesh]这是为第四次抽取所抽出的。" +msgstr "第四绘制阶段所绘制的 [Mesh]。" #: doc/classes/Particles.xml msgid "The number of draw passes when rendering particles." -msgstr "渲染粒子时的绘制次数。" +msgstr "渲染粒子时的绘制阶段数。" #: doc/classes/Particles.xml msgid "" "Time ratio between each emission. If [code]0[/code], particles are emitted " "continuously. If [code]1[/code], all particles are emitted simultaneously." msgstr "" -"每次发射之间的时间比。如果[code]0[/code],粒子是连续发射的。如果[code]1[/" -"code],所有的粒子都同时发射。" +"每次发射之间的时间比。如果为 [code]0[/code],则粒子是连续发射的。如果为 " +"[code]1[/code],则所有的粒子都同时发射。" #: doc/classes/Particles.xml msgid "" "If [code]true[/code], only [code]amount[/code] particles will be emitted." -msgstr "如果[code]true[/code],将只发出[code]amount[/code]粒子。" +msgstr "如果为 [code]true[/code],将只发出 [code]amount[/code] 数量的粒子。" #: doc/classes/Particles.xml msgid "" @@ -51197,7 +51472,7 @@ msgstr "发出随机率。" msgid "" "Speed scaling ratio. A value of [code]0[/code] can be used to pause the " "particles." -msgstr "速度缩放比。一个[code]0[/code]的值可以用来暂停粒子。" +msgstr "速度缩放比。值为 [code]0[/code] 时可暂停粒子。" #: doc/classes/Particles.xml msgid "" @@ -51213,16 +51488,16 @@ msgstr "" "[AABB] 确定节点的区域,该区域需要在屏幕上可见才能使粒子系统处于活动状态。\n" "如果在节点进入/退出屏幕时粒子突然出现/消失,则增大框。 [AABB] 可以通过代码或" "使用 [b]Particles → Generate AABB[/b] 编辑器工具生成。\n" -"[b]注意:[/b] 如果使用中的 [ParticlesMaterial] 配置为投射阴影,您可能需要放大" +"[b]注意:[/b]如果使用中的 [ParticlesMaterial] 配置为投射阴影,您可能需要放大" "此 AABB 以确保在粒子离屏时更新阴影。" #: doc/classes/Particles.xml msgid "Maximum number of draw passes supported." -msgstr "支持的最大抽取次数。" +msgstr "支持的最大绘制阶段数。" #: doc/classes/Particles2D.xml msgid "GPU-based 2D particle emitter." -msgstr "基于GPU的2D粒子发射器。" +msgstr "基于 GPU 的 2D 粒子发射器。" #: doc/classes/Particles2D.xml msgid "" @@ -51320,7 +51595,7 @@ msgstr "" #: doc/classes/ParticlesMaterial.xml msgid "Returns [code]true[/code] if the specified flag is enabled." -msgstr "如果指定的Flag被启用,返回[code]true[/code]。" +msgstr "如果指定的Flag被启用,返回 [code]true[/code]。" #: doc/classes/ParticlesMaterial.xml msgid "Returns the randomness ratio associated with the specified parameter." @@ -51338,11 +51613,11 @@ msgstr "如果[code]true[/code],启用指定的Flag。选项请参阅[enum Fla #: doc/classes/ParticlesMaterial.xml msgid "Sets the specified [enum Parameter]." -msgstr "设置指定的[enum Parameter]。" +msgstr "设置指定的 [enum Parameter]。" #: doc/classes/ParticlesMaterial.xml msgid "Sets the randomness ratio for the specified [enum Parameter]." -msgstr "为指定的[enum Parameter]设置随机比率。" +msgstr "为指定的 [enum Parameter] 设置随机比率。" #: doc/classes/ParticlesMaterial.xml msgid "Sets the [Texture] for the specified [enum Parameter]." @@ -51362,7 +51637,7 @@ msgstr "" #: doc/classes/ParticlesMaterial.xml msgid "Each particle's rotation will be animated along this [CurveTexture]." -msgstr "每个粒子的旋转将沿着这个[CurveTexture]动画。" +msgstr "每个粒子的旋转将沿着这个 [CurveTexture] 动画。" #: doc/classes/ParticlesMaterial.xml msgid "" @@ -51402,22 +51677,23 @@ msgstr "" #: doc/classes/ParticlesMaterial.xml msgid "Damping will vary along this [CurveTexture]." -msgstr "阻尼将沿着这个[CurveTexture]变化。" +msgstr "阻尼将沿着这个 [CurveTexture] 变化。" #: doc/classes/ParticlesMaterial.xml msgid "" "The box's extents if [code]emission_shape[/code] is set to [constant " "EMISSION_SHAPE_BOX]." msgstr "" -"[code]emission_shape[/code]设置为[constant EMISSION_SHAPE_BOX]时,Box的范围。" +"[code]emission_shape[/code] 设置为 [constant EMISSION_SHAPE_BOX] 时,该 Box " +"的范围。" #: doc/classes/ParticlesMaterial.xml msgid "" "Particle color will be modulated by color determined by sampling this " "texture at the same point as the [member emission_point_texture]." msgstr "" -"粒子颜色将由颜色调制,颜色由采样纹理在与[member emission_point_texture]相同的" -"点决定。" +"粒子颜色将由颜色调制,颜色由采样纹理在与 [member emission_point_texture] 相同" +"的点决定。" #: doc/classes/ParticlesMaterial.xml msgid "" @@ -51438,8 +51714,8 @@ msgid "" "[constant EMISSION_SHAPE_POINTS] or [constant " "EMISSION_SHAPE_DIRECTED_POINTS]." msgstr "" -"[code]emission_shape[/code]设置为[constant EMISSION_SHAPE_POINTS]或[constant " -"EMISSION_SHAPE_DIRECTED_POINTS],时的释放粒子数。" +"[code]emission_shape[/code] 设置为 [constant EMISSION_SHAPE_POINTS] 或 " +"[constant EMISSION_SHAPE_DIRECTED_POINTS] 时,发射点的数量。" #: doc/classes/ParticlesMaterial.xml msgid "" @@ -51933,8 +52209,8 @@ msgid "" "will be printed to the console for easier debugging." msgstr "" "自上次刷新以来,使用所有[method add_file]调用写入指定的文件。如果" -"[code]verbose[/code]为[code]true[/code],添加的文件列表将被打印到控制台,以便" -"于调试。" +"[code]verbose[/code]为 [code]true[/code],添加的文件列表将被打印到控制台,以" +"便于调试。" #: doc/classes/PCKPacker.xml msgid "" @@ -51964,9 +52240,9 @@ msgstr "" "这个类提供了对一些与性能有关的不同监控的访问,比如内存使用量、绘制调用和FPS。" "这些与编辑器的[b]Monitor[/b]标签中的[b]Debugger[/b]面板所显示的数值相同。通过" "使用这个类的[method get_monitor]方法,可以从你的代码中访问这些数据。\n" -"[b]注意:[/b] 这些监视器中有几个只在调试模式下可用,当在发布版构建中使用时,将" +"[b]注意:[/b]这些监视器中有几个只在调试模式下可用,当在发布版构建中使用时,将" "总是返回0。\n" -"[b]注意:[/b] 这些监控器中的许多不是实时更新的,所以在变化之间可能会有短暂的延" +"[b]注意:[/b]这些监控器中的许多不是实时更新的,所以在变化之间可能会有短暂的延" "迟。" #: doc/classes/Performance.xml @@ -52364,7 +52640,7 @@ msgstr "" "返回一个包含运动的安全和不安全比例(0 到 1 之间)的数组。安全比例是在没有碰撞" "的情况下可以进行的运动的最大比例。不安全比例是碰撞必须移动的距离的最小部分。" "如果没有检测到碰撞,将返回 [code][1.0, 1.0][/code] 的结果。\n" -"[b]注意:[/b] 任何已经碰撞的[Shape2D](比如内部的)会被忽略。使用 [method " +"[b]注意:[/b]任何已经碰撞的[Shape2D](比如内部的)会被忽略。使用 [method " "collide_shape] 确定形状已经碰撞的 [Shape2D]。" #: doc/classes/Physics2DDirectSpaceState.xml @@ -52402,7 +52678,7 @@ msgstr "" "通过[Physics2DShapeQueryParameters]对象给出的形状与空间的检查交点。如果它与一" "个以上的形状发生碰撞,则选择最近的一个。如果该形状没有与任何对象相交,那么将" "返回一个空字典。\n" -"[b]注意:[/b] 这个方法不考虑对象的[code]motion[/code]属性。返回的对象是包含以" +"[b]注意:[/b]这个方法不考虑对象的[code]motion[/code]属性。返回的对象是包含以" "下字段的字典。\n" "[code]collider_id[/code]:碰撞对象的ID。\n" "[code]linear_velocity[/code]:碰撞物体的速度[Vector2]。如果对象是一个" @@ -52562,8 +52838,8 @@ msgid "" "Physics2DServer is the server responsible for all 2D physics. It can create " "many kinds of physics objects, but does not insert them on the node tree." msgstr "" -"Physics2DServer 是负责所有 2D 物理的服务。它可以创建多种物理对象,但不会将它" -"们插入到节点树中。" +"Physics2DServer 是负责所有 2D 物理的服务器。它可以创建多种物理对象,但不会将" +"它们插入到节点树中。" #: doc/classes/Physics2DServer.xml doc/classes/PhysicsServer.xml msgid "" @@ -52872,14 +53148,14 @@ msgid "" "Sets whether a body uses a callback function to calculate its own physics " "(see [method body_set_force_integration_callback])." msgstr "" -"设置一个物体是否使用回调函数来计算它自己的物理(参阅 [method " -"body_set_force_integration_callback])。" +"设置一个物体是否使用回调函数来计算它自己的物理(参阅 [method " +"body_set_force_integration_callback])。" #: doc/classes/Physics2DServer.xml msgid "" "Sets a body parameter. See [enum BodyParameter] for a list of available " "parameters." -msgstr "设置主体参数。请参阅[enum BodyParameter]获取可用参数列表。" +msgstr "设置主体参数。请参阅 [enum BodyParameter] 获取可用参数列表。" #: doc/classes/Physics2DServer.xml doc/classes/PhysicsServer.xml msgid "" @@ -52893,11 +53169,11 @@ msgstr "" msgid "" "Enables one way collision on body if [code]enable[/code] is [code]true[/" "code]." -msgstr "如果[code]enable[/code]为[code]true[/code],则在body上启用单向碰撞。" +msgstr "如果[code]enable[/code]为 [code]true[/code],则在body上启用单向碰撞。" #: doc/classes/Physics2DServer.xml msgid "Disables shape in body if [code]disable[/code] is [code]true[/code]." -msgstr "如果[code]disable[/code]为[code]true[/code],则在body中禁用形状。" +msgstr "如果[code]disable[/code]为 [code]true[/code],则在body中禁用形状。" #: doc/classes/Physics2DServer.xml msgid "" @@ -52913,7 +53189,7 @@ msgstr "设置物体形状的变换矩阵。" #: doc/classes/Physics2DServer.xml doc/classes/PhysicsServer.xml msgid "Assigns a space to the body (see [method space_create])." -msgstr "给物体分配一个空间(参阅[method space_create])。" +msgstr "给物体分配一个空间(参阅 [method space_create])。" #: doc/classes/Physics2DServer.xml msgid "" @@ -53068,19 +53344,19 @@ msgstr "设置空间参数的值。参阅[enum SpaceParameter]获取可用参数 msgid "" "Constant to set/get the maximum distance a pair of bodies has to move before " "their collision status has to be recalculated." -msgstr "常数,用于设置/获取一对物体在其碰撞状态被重新计算之前的最大移动距离。" +msgstr "常量,用于设置/获取一对物体在其碰撞状态被重新计算之前的最大移动距离。" #: doc/classes/Physics2DServer.xml doc/classes/PhysicsServer.xml msgid "" "Constant to set/get the maximum distance a shape can be from another before " "they are considered separated." -msgstr "常数,用于设置/获取形状在被视为分离之前与另一形状之间的最大距离。" +msgstr "常量,用于设置/获取形状在被视为分离之前与另一形状之间的最大距离。" #: doc/classes/Physics2DServer.xml doc/classes/PhysicsServer.xml msgid "" "Constant to set/get the maximum distance a shape can penetrate another shape " "before it is considered a collision." -msgstr "常数,用来设置/得到一个形状在被认为碰撞之前穿透另一个形状的最大距离。" +msgstr "常量,用来设置/得到一个形状在被认为碰撞之前穿透另一个形状的最大距离。" #: doc/classes/Physics2DServer.xml doc/classes/PhysicsServer.xml msgid "" @@ -53088,7 +53364,7 @@ msgid "" "as potentially inactive for both linear and angular velocity will be put to " "sleep after the time given." msgstr "" -"常数,用于设置/获取活跃的阈值线速度。一个被标记为线性速度和角速度都可能不活跃" +"常量,用于设置/获取活跃的阈值线速度。一个被标记为线性速度和角速度都可能不活跃" "的物体将在给定的时间后进入睡眠状态。" #: doc/classes/Physics2DServer.xml doc/classes/PhysicsServer.xml @@ -53097,7 +53373,7 @@ msgid "" "marked as potentially inactive for both linear and angular velocity will be " "put to sleep after the time given." msgstr "" -"常数,用于设置/获取活动的阈值角速度。一个被标记为线性和角速度都可能不活跃的物" +"常量,用于设置/获取活动的阈值角速度。一个被标记为线性和角速度都可能不活跃的物" "体,在给定的时间后将会进入睡眠状态。" #: doc/classes/Physics2DServer.xml doc/classes/PhysicsServer.xml @@ -53106,8 +53382,8 @@ msgid "" "potentially inactive for both linear and angular velocity will be put to " "sleep after this time." msgstr "" -"常数来设置/获得最大的活动时间。一个被标记为线速度和角速度都可能不活动的物体," -"在这个时间之后将被置入睡眠状态。" +"常量,用于设置/获得最大的活动时间。一个被标记为线速度和角速度都可能不活动的物" +"体,在这个时间之后将被置入睡眠状态。" #: doc/classes/Physics2DServer.xml doc/classes/PhysicsServer.xml msgid "" @@ -53116,7 +53392,7 @@ msgid "" "violating a constraint, to avoid leaving them in that state because of " "numerical imprecision." msgstr "" -"常数,用于设置/获取所有物理约束的默认求解器偏置。解算器偏差是一个控制两个物体" +"常量,用于设置/获取所有物理约束的默认求解器偏置。解算器偏差是一个控制两个物体" "在违反约束后 \"反弹 \"程度的因素,以避免由于数值不精确而使它们处于这种状态。" #: doc/classes/Physics2DServer.xml @@ -53185,21 +53461,21 @@ msgstr "" msgid "" "This constant is used internally by the engine. Any attempt to create this " "kind of shape results in an error." -msgstr "这个常数是由引擎内部使用的。任何试图创建这种形状的行为都会导致错误。" +msgstr "引擎内部会使用这个常量。任何试图创建这种形状的行为都会导致错误。" #: doc/classes/Physics2DServer.xml doc/classes/PhysicsServer.xml msgid "Constant to set/get gravity strength in an area." -msgstr "在一个地区设置/获得重力强度的常数。" +msgstr "常量,用于设置/获取区域中的重力强度。" #: doc/classes/Physics2DServer.xml doc/classes/PhysicsServer.xml msgid "Constant to set/get gravity vector/center in an area." -msgstr "在一个区域内设置/获取重力向量/中心的常数。" +msgstr "常量,用于设置/获取区域中的重力向量/中心。" #: doc/classes/Physics2DServer.xml doc/classes/PhysicsServer.xml msgid "" "Constant to set/get whether the gravity vector of an area is a direction, or " "a center point." -msgstr "常数用于设置/获取一个区域的重力向量是一个方向,还是一个中心点。" +msgstr "常量,用于设置/获取区域中的重力向量是方向,还是中心点。" #: doc/classes/Physics2DServer.xml doc/classes/PhysicsServer.xml msgid "" @@ -53207,28 +53483,28 @@ msgid "" "greater this value is, the faster the strength of gravity decreases with the " "square of distance." msgstr "" -"常数,用于设置/获取一个区域的点重力的衰减系数。这个值越大,重力的强度随着距离" -"的平方下降得越快。" +"常量,用于设置/获取区域中的点重力的衰减系数。这个值越大,重力的强度随着距离的" +"平方下降得越快。" #: doc/classes/Physics2DServer.xml doc/classes/PhysicsServer.xml msgid "" "This constant was used to set/get the falloff factor for point gravity. It " "has been superseded by [constant AREA_PARAM_GRAVITY_DISTANCE_SCALE]." msgstr "" -"这个常数用于设置/获取点重力的衰减因子。它已经被[constant " -"AREA_PARAM_GRAVITY_DISTANCE_SCALE]所取代了。" +"这个常量用于设置/获取点重力的衰减因子。它已经被 [constant " +"AREA_PARAM_GRAVITY_DISTANCE_SCALE] 所取代了。" #: doc/classes/Physics2DServer.xml doc/classes/PhysicsServer.xml msgid "Constant to set/get the linear dampening factor of an area." -msgstr "常数,用于设置/获取一个区域的线性阻尼系数。" +msgstr "常量,用于设置/获取区域的线性阻尼系数。" #: doc/classes/Physics2DServer.xml doc/classes/PhysicsServer.xml msgid "Constant to set/get the angular dampening factor of an area." -msgstr "常数,用于设置/获取一个区域的角度阻尼系数。" +msgstr "常量,用于设置/获取区域的角度阻尼系数。" #: doc/classes/Physics2DServer.xml doc/classes/PhysicsServer.xml msgid "Constant to set/get the priority (order of processing) of an area." -msgstr "常数,用于设置/获取一个区域的优先级(处理顺序)。" +msgstr "常量,用于设置/获取区域的优先级(处理顺序)。" #: doc/classes/Physics2DServer.xml doc/classes/PhysicsServer.xml msgid "" @@ -53276,47 +53552,47 @@ msgstr "StaticBody 的常量。" #: doc/classes/Physics2DServer.xml doc/classes/PhysicsServer.xml msgid "Constant for kinematic bodies." -msgstr "KinematicBody 的常数。" +msgstr "KinematicBody 的常量。" #: doc/classes/Physics2DServer.xml doc/classes/PhysicsServer.xml msgid "Constant for rigid bodies." -msgstr "RigidBody 的常数。" +msgstr "RigidBody 的常量。" #: doc/classes/Physics2DServer.xml doc/classes/PhysicsServer.xml msgid "" "Constant for rigid bodies in character mode. In this mode, a body can not " "rotate, and only its linear velocity is affected by physics." msgstr "" -"角色模式下刚体的常数。在这种模式下,物体不能旋转,只有它的线速度受物理运算影" +"角色模式下刚体的常量。在这种模式下,物体不能旋转,只有它的线速度受物理运算影" "响。" #: doc/classes/Physics2DServer.xml doc/classes/PhysicsServer.xml msgid "Constant to set/get a body's bounce factor." -msgstr "常数,用于设置/获取物体的反弹系数。" +msgstr "常量,用于设置/获取物体的反弹系数。" #: doc/classes/Physics2DServer.xml doc/classes/PhysicsServer.xml msgid "Constant to set/get a body's friction." -msgstr "常数,用于设置/获取一个物体的摩擦力。" +msgstr "常量,用于设置/获取物体的摩擦力。" #: doc/classes/Physics2DServer.xml doc/classes/PhysicsServer.xml msgid "Constant to set/get a body's mass." -msgstr "设置/获取一个物体的质量的常数。" +msgstr "常量,用于设置/获取物体的质量。" #: doc/classes/Physics2DServer.xml msgid "Constant to set/get a body's inertia." -msgstr "常数,用于设置/获取一个物体的惯性。" +msgstr "常量,用于设置/获取物体的惯性。" #: doc/classes/Physics2DServer.xml doc/classes/PhysicsServer.xml msgid "Constant to set/get a body's gravity multiplier." -msgstr "常数,用于设置/获取一个物体的重力倍数。" +msgstr "常量,用于设置/获取物体的重力倍数。" #: doc/classes/Physics2DServer.xml doc/classes/PhysicsServer.xml msgid "Constant to set/get a body's linear dampening factor." -msgstr "常数,用于设置/获取一个物体的线性阻尼系数。" +msgstr "常量,用于设置/获取物体的线性阻尼系数。" #: doc/classes/Physics2DServer.xml doc/classes/PhysicsServer.xml msgid "Constant to set/get a body's angular dampening factor." -msgstr "常数,用于设置/获取一个物体的角度阻尼系数。" +msgstr "常量,用于设置/获取物体的角度阻尼系数。" #: doc/classes/Physics2DServer.xml doc/classes/PhysicsServer.xml msgid "Represents the size of the [enum BodyParameter] enum." @@ -53324,19 +53600,19 @@ msgstr "表示[enum BodyParameter]枚举的大小。" #: doc/classes/Physics2DServer.xml doc/classes/PhysicsServer.xml msgid "Constant to set/get the current transform matrix of the body." -msgstr "常数,用于设置/获取物体的当前变换矩阵。" +msgstr "常量,用于设置/获取物体的当前变换矩阵。" #: doc/classes/Physics2DServer.xml doc/classes/PhysicsServer.xml msgid "Constant to set/get the current linear velocity of the body." -msgstr "常数,用于设置/获取物体的当前线速度。" +msgstr "常量,用于设置/获取物体的当前线速度。" #: doc/classes/Physics2DServer.xml doc/classes/PhysicsServer.xml msgid "Constant to set/get the current angular velocity of the body." -msgstr "常数,用于设置/获取物体的当前角速度。" +msgstr "常量,用于设置/获取物体的当前角速度。" #: doc/classes/Physics2DServer.xml doc/classes/PhysicsServer.xml msgid "Constant to sleep/wake up a body, or to get whether it is sleeping." -msgstr "常数,用于使物体沉睡/唤醒,或得到它是否在沉睡。" +msgstr "常量,用于使物体沉睡/唤醒,或得到它是否在沉睡。" #: doc/classes/Physics2DServer.xml doc/classes/PhysicsServer.xml msgid "Constant to set/get whether the body can sleep." @@ -53344,15 +53620,15 @@ msgstr "常量,用于设置/获取物体是否可以休眠。" #: doc/classes/Physics2DServer.xml msgid "Constant to create pin joints." -msgstr "常数,用于创造针状关节。" +msgstr "常量,用于创造钉关节。" #: doc/classes/Physics2DServer.xml msgid "Constant to create groove joints." -msgstr "常数,用于创造槽型关节。" +msgstr "常量,用于创造槽关节。" #: doc/classes/Physics2DServer.xml msgid "Constant to create damped spring joints." -msgstr "常数,用于创造有阻尼的弹簧关节。" +msgstr "常量,用于创造有阻尼的弹簧关节。" #: doc/classes/Physics2DServer.xml msgid "" @@ -53642,7 +53918,7 @@ msgstr "" "返回一个包含运动的安全和不安全比例(0 到 1 之间)的数组。安全比例是在没有碰撞" "的情况下可以进行的运动的最大比例。不安全比例是碰撞必须移动的距离的最小部分。" "如果未检测到碰撞,将返回 [code][1.0, 1.0][/code] 的结果。\n" -"[b]注意:[/b] 任何已经碰撞的[Shape2D](比如内部的)会被忽略。使用 [method " +"[b]注意:[/b]任何已经碰撞的[Shape2D](比如内部的)会被忽略。使用 [method " "collide_shape] 确定形状已经碰撞的 [Shape]。" #: doc/classes/PhysicsDirectSpaceState.xml @@ -53813,8 +54089,8 @@ msgid "" "PhysicsServer is the server responsible for all 3D physics. It can create " "many kinds of physics objects, but does not insert them on the node tree." msgstr "" -"PhysicsServer是负责所有3D物理的服务。它可以创建许多种类的物理对象,但不会在节" -"点树上插入这些对象。" +"PhysicsServer 是负责所有 3D 物理的服务器。它可以创建许多种类的物理对象,但不" +"会在节点树上插入这些对象。" #: doc/classes/PhysicsServer.xml msgid "Creates an [Area]." @@ -53851,7 +54127,7 @@ msgstr "" msgid "" "Gives the body a push at a [code]position[/code] in the direction of the " "[code]impulse[/code]." -msgstr "在[code]position[/code]impulse[code]冲量方向推动物体[/code]。" +msgstr "在 [code]position[/code] 处将物体朝 [code]impluse[/code] 方向推。" #: doc/classes/PhysicsServer.xml msgid "Gives the body a push to rotate it." @@ -53883,11 +54159,11 @@ msgstr "返回物体参数的值。可用参数列表位于[enum BodyParameter] #: doc/classes/PhysicsServer.xml msgid "" "If [code]true[/code], the continuous collision detection mode is enabled." -msgstr "如果[code]true[/code],则启用连续碰撞检测模式。" +msgstr "如果为 [code]true[/code],则启用连续碰撞检测模式。" #: doc/classes/PhysicsServer.xml msgid "If [code]true[/code], the body can be detected by rays." -msgstr "如果[code]true[/code],物体可以被光线探测到。" +msgstr "如果为 [code]true[/code],则物体可以被光线探测到。" #: doc/classes/PhysicsServer.xml msgid "" @@ -53931,8 +54207,8 @@ msgid "" "given direction from a given point in space. [PhysicsTestMotionResult] can " "be passed to return additional information in." msgstr "" -"如果从空间的给定点向给定方向移动会导致碰撞,则返回[code]true[/code]。可以通过" -"[PhysicsTestMotionResult]来返回额外的信息。" +"如果从空间的给定点向给定方向移动会导致碰撞,则返回 [code]true[/code]。可以通" +"过[PhysicsTestMotionResult]来返回额外的信息。" #: doc/classes/PhysicsServer.xml msgid "" @@ -53977,8 +54253,13 @@ msgid "" msgstr "设置 generic_6_DOF_joint参数(请参阅[enum G6DOFJointAxisParam]常量)。" #: doc/classes/PhysicsServer.xml -msgid "Returns an Info defined by the [enum ProcessInfo] input given." -msgstr "返回由给定的[enum ProcessInfo]输入定义的信息。" +msgid "" +"Returns information about the current state of the 3D physics engine. See " +"[enum ProcessInfo] for a list of available states. Only implemented for " +"Godot Physics." +msgstr "" +"返回关于 3D 物理引擎当前状态的信息。有关可用状态列表,请参阅 [enum " +"ProcessInfo]。仅在 Godot Physics 实现。" #: doc/classes/PhysicsServer.xml msgid "Gets a hinge_joint flag (see [enum HingeJointFlag] constants)." @@ -54070,8 +54351,7 @@ msgid "" msgstr "" "设置计算碰撞体速度的迭代次数。迭代次数越多,碰撞就越准确。但是,更大量的迭代" "需要更多的 CPU 能力,这会降低性能。默认值为 [code]8[/code]。\n" -"[b]注意:[/b] 仅在使用 GodotPhysics 引擎时有效,而不是默认的 Bullet 物理引" -"擎。" +"[b]注意:[/b]仅在使用 GodotPhysics 引擎时有效,而不是默认的 Bullet 物理引擎。" #: doc/classes/PhysicsServer.xml msgid "" @@ -54490,8 +54770,8 @@ msgid "" "Returns [code]true[/code] if [code]point[/code] is inside the plane. " "Comparison uses a custom minimum [code]epsilon[/code] threshold." msgstr "" -"如果[code]point[/code]在平面内,则返回[code]true[/code]。比较使用自定义的最小" -"[code]epsilon』[/code] ε 阈值。" +"如果[code]point[/code]在平面内,则返回 [code]true[/code]。比较使用自定义的最" +"小[code]epsilon』[/code] ε 阈值。" #: doc/classes/Plane.xml msgid "" @@ -54500,7 +54780,7 @@ msgid "" "returned." msgstr "" "返回三个平面[code]b[/code],[code]c[/code]与该平面的交点。如果没有找到交集," -"则返回[code]null[/code]。" +"则返回 [code]null[/code]。" #: doc/classes/Plane.xml msgid "" @@ -54509,7 +54789,7 @@ msgid "" "If no intersection is found, [code]null[/code] is returned." msgstr "" "返回由位置[code]from[/code]和方向法线[code]dir[/code]组成的射线与该平面的交" -"点。如果没有找到交点,则返回[code]null[/code]。" +"点。如果没有找到交点,则返回 [code]null[/code]。" #: doc/classes/Plane.xml msgid "" @@ -54518,7 +54798,7 @@ msgid "" "[code]null[/code] is returned." msgstr "" "返回从位置[code]begin[/code]到位置[code]end[/code]的线段与这个平面的交点。如" -"果没有找到交点,则返回[code]null[/code]。" +"果没有找到交点,则返回 [code]null[/code]。" #: doc/classes/Plane.xml msgid "" @@ -54526,13 +54806,13 @@ msgid "" "approximately equal, by running [method @GDScript.is_equal_approx] on each " "component." msgstr "" -"如果此平面和 [code]plane[/code] 近似相等,则返回[code]true[/code],方法是对每" -"个分量运行 [method @GDScript.is_equal_approx]。" +"如果此平面和 [code]plane[/code] 近似相等,则返回 [code]true[/code],方法是对" +"每个分量运行 [method @GDScript.is_equal_approx]。" #: doc/classes/Plane.xml msgid "" "Returns [code]true[/code] if [code]point[/code] is located above the plane." -msgstr "如果[code]point[/code]位于平面上方,则返回[code]true[/code]。" +msgstr "如果[code]point[/code]位于平面上方,则返回 [code]true[/code]。" #: doc/classes/Plane.xml msgid "Returns a copy of the plane, normalized." @@ -54542,7 +54822,7 @@ msgstr "返回平面的一个标准化副本。" msgid "" "Returns the orthogonal projection of [code]point[/code] into a point in the " "plane." -msgstr "返回[code]点[/code]在平面上的正交投影。" +msgstr "返回 [code]点[/code]在平面上的正交投影。" #: doc/classes/Plane.xml msgid "" @@ -54609,9 +54889,9 @@ msgstr "" "表示平面 [PrimitiveMesh] 的类。这个平面网格没有厚度。默认情况下,此网格在 X " "轴和 Z 轴上对齐;此默认旋转不适合与广告牌材质一起使用。对于广告牌材质,请改" "用 [QuadMesh]。\n" -"[b]注意:[/b] 当使用大纹理 [PlaneMesh](例如作为地板)时,你可能会偶然发现 " -"UV 抖动问题,具体取决于相机角度。要解决此问题,请增加 [member " -"subdivide_depth] 和 [member subdivide_width],直到你不再注意到 UV 抖动。" +"[b]注意:[/b]当使用大纹理 [PlaneMesh](例如作为地板)时,你可能会偶然发现 UV " +"抖动问题,具体取决于相机角度。要解决此问题,请增加 [member subdivide_depth] " +"和 [member subdivide_width],直到你不再注意到 UV 抖动。" #: doc/classes/PlaneMesh.xml msgid "Offset from the origin of the generated plane. Useful for particles." @@ -54650,7 +54930,7 @@ msgstr "[PlaneShape] 用于碰撞的 [Plane]。" #: doc/classes/PointMesh.xml msgid "Mesh with a single Point primitive." -msgstr "单点原始网格。" +msgstr "使用单个点图元的网格。" #: doc/classes/PointMesh.xml msgid "" @@ -54666,19 +54946,19 @@ msgid "" "When using PointMeshes, properties that normally alter vertices will be " "ignored, including billboard mode, grow, and cull face." msgstr "" -"PointMesh是由单个的点构成。与其依赖三角形与点在屏幕上渲染形成具有恒定尺寸的单" -"独矩形。其旨在与粒子系统一起使用,但也可以作为一种消耗小的方式来渲染恒定尺寸" -"的广告牌精灵,例如,在点云中。\n" -"PointMeshes,必须与具有点大小的材质一起使用。点大小可以通过[code]POINT_SIZE[/" -"code]在着色器中访问,或者通过设置[member SpatialMaterial." -"flags_use_point_size]和变量[member SpatialMaterial.params_point_size]在" -"[SpatialMaterial]中访问。\n" -"当使用PointMeshes时,通常改变顶点的属性将被忽略,包括广告牌模式、增长和剔除" +"PointMesh 是由单个点构成的。与其依赖三角形与点在屏幕上渲染形成具有恒定尺寸的" +"单独矩形。其旨在与粒子系统一起使用,但也可以作为一种消耗小的方式来渲染恒定尺" +"寸的广告牌精灵,例如,在点云中。\n" +"PointMesh 必须与具有点大小的材质一起使用。点大小可以通过 [code]POINT_SIZE[/" +"code] 在着色器中访问,或者通过设置 [member SpatialMaterial." +"flags_use_point_size] 和变量 [member SpatialMaterial.params_point_size] 在 " +"[SpatialMaterial] 中访问。\n" +"当使用 PointMesh 时,通常改变顶点的属性将被忽略,包括广告牌模式、增长和剔除" "面。" #: doc/classes/Polygon2D.xml msgid "A 2D polygon." -msgstr "一个2D多边形。" +msgstr "2D 多边形。" #: doc/classes/Polygon2D.xml msgid "" @@ -54735,7 +55015,7 @@ msgstr "设置指定骨骼的权重值." #: doc/classes/Polygon2D.xml msgid "If [code]true[/code], polygon edges will be anti-aliased." -msgstr "如果为[code]true[/code],则多边形边缘将抗锯齿." +msgstr "如果为 [code]true[/code],则多边形边缘将抗锯齿." #: doc/classes/Polygon2D.xml msgid "" @@ -54759,7 +55039,7 @@ msgid "" "If [code]true[/code], polygon will be inverted, containing the area outside " "the defined points and extending to the [code]invert_border[/code]." msgstr "" -"如果为[code]true[/code],则多边形将反转,包含定义点之外的区域,并扩展到" +"如果为 [code]true[/code],则多边形将反转,包含定义点之外的区域,并扩展到" "[code]invert_border[/code](反转边界)." #: doc/classes/Polygon2D.xml @@ -54774,7 +55054,7 @@ msgid "" "reference." msgstr "" "多边形的顶点列表。最后一点将连接到第一个。\n" -"[b]注意:[/b] 这将返回 [PoolVector2Array] 的副本而不是引用。" +"[b]注意:[/b]这将返回 [PoolVector2Array] 的副本而不是引用。" #: doc/classes/Polygon2D.xml msgid "" @@ -54852,8 +55132,8 @@ msgid "" "Returns a new [PoolByteArray] with the data compressed. Set the compression " "mode using one of [enum File.CompressionMode]'s constants." msgstr "" -"返回新的[PoolByteArray],其中的数据被压缩。使用[enum File.CompressionMode]中" -"的一个常数来设置压缩模式。" +"返回新的 [PoolByteArray],其中的数据被压缩。使用 [enum File.CompressionMode] " +"中的常量来设置压缩模式。" #: doc/classes/PoolByteArray.xml msgid "" @@ -54961,7 +55241,7 @@ msgid "" msgstr "" "设置数组的大小。如果数组增长,则保留数组末尾的元素。如果数组缩小,则将数组截" "断为新大小。\n" -"[b]注意:[/b] 添加的元素不会自动初始化为 0,并且会包含垃圾,即不确定值。" +"[b]注意:[/b]添加的元素不会自动初始化为 0,并且会包含垃圾,即不确定值。" #: doc/classes/PoolByteArray.xml msgid "Changes the byte at the given index." @@ -55082,10 +55362,10 @@ msgid "" msgstr "" "专门设计用于保存浮点值的 [Array] 。针对内存使用进行了优化,不会造成内存碎" "片。\n" -"[b]注意:[/b] 这种类型是按值传递而不是按引用传递。\n" -"[b]注意:[/b] 与 64 位原始 [float] 不同,存储在 [PoolRealArray] 中的数字是 " -"32 位浮点数。这意味着与原始 [float] 相比,存储在 [PoolRealArray] 中的值具有较" -"低的精度。如果您需要在数组中存储 64 位浮点数,请使用具有 [float] 元素的通用 " +"[b]注意:[/b]这种类型是按值传递而不是按引用传递。\n" +"[b]注意:[/b]与 64 位原始 [float] 不同,存储在 [PoolRealArray] 中的数字是 32 " +"位浮点数。这意味着与原始 [float] 相比,存储在 [PoolRealArray] 中的值具有较低" +"的精度。如果您需要在数组中存储 64 位浮点数,请使用具有 [float] 元素的通用 " "[Array],因为这些元素仍为 64 位。但是,与 [PoolRealArray] 相比,使用通用 " "[Array] 存储 [float] 将使用大约 6 倍的内存。" @@ -55115,7 +55395,7 @@ msgid "" msgstr "" "[Array] 专门设计用于保存 [String]。针对内存使用进行了优化,不会造成内存碎" "片。\n" -"[b]注意:[/b] 这种类型是按值传递,而不是引用传递。" +"[b]注意:[/b]这种类型是按值传递,而不是引用传递。" #: doc/classes/PoolStringArray.xml msgid "" @@ -55154,7 +55434,7 @@ msgid "" "[b]Note:[/b] This type is passed by value and not by reference." msgstr "" "专门用来保存[Vector2]的[Array]。对内存的使用进行了优化,不会使内存碎片化。\n" -"[b]注意:[/b] 这种类型是通过值传递的,而不是引用。" +"[b]注意:[/b]这种类型是通过值传递的,而不是引用。" #: doc/classes/PoolVector2Array.xml doc/classes/TileMap.xml #: doc/classes/TileSet.xml @@ -55192,7 +55472,7 @@ msgid "" msgstr "" "专门设计来容纳[Vector3]的[Array]。对内存的使用进行了优化,不会使内存碎片" "化。\n" -"[b]注意:[/b] 这种类型是通过值传递的,而不是引用。" +"[b]注意:[/b]这种类型是通过值传递的,而不是引用。" #: doc/classes/PoolVector3Array.xml msgid "" @@ -55284,8 +55564,8 @@ msgid "" msgstr "" "如果[code]true[/code],当点击事件发生在它之外,或者当它收到[code]ui_cancel[/" "code]动作事件时,弹出窗口不会被隐藏。\n" -"[b]注意:[/b] 启用此属性不会影响从此类继承的对话框中关闭或取消按钮的行为。作" -"为解决方法,您可以使用 [method WindowDialog.get_close_button] 或 [method " +"[b]注意:[/b]启用此属性不会影响从此类继承的对话框中关闭或取消按钮的行为。作为" +"解决方法,您可以使用 [method WindowDialog.get_close_button] 或 [method " "ConfirmationDialog.get_cancel] 并通过将其 [member CanvasItem.visible] 属性设" "置为 [code]false[/code] 来隐藏有问题的按钮。" @@ -55351,7 +55631,7 @@ msgstr "" "有提供[code]id[/code],将从索引中创建一个.如果没有提供[code]accel[/code],那么" "将为其分配默认的[code]0[/code].参阅 [method get_item_accelerator]了解更多关于" "快捷键的信息.\n" -"[b]注意:[/b]可检查项目只是显示一个检查标记,但没有任何内置的检查行为,必须手动" +"[b]注意:[/b]可检查项目只是显示一个检查标记,但没有任何内置的检查行为,必须手动" "检查或取消检查.参阅[method set_item_checked]了解更多关于如何控制它的信息." #: doc/classes/PopupMenu.xml @@ -55368,7 +55648,7 @@ msgstr "" "ShortCut的名称.\n" "可以选择提供一个[code]id[/code].如果没有提供[code]id[/code],将从索引中创建一" "个.\n" -"[b]注意:[/b]可检查项目只是显示一个检查标记,但没有任何内置的检查行为,必须手动" +"[b]注意:[/b]可检查项目只是显示一个检查标记,但没有任何内置的检查行为,必须手动" "检查或取消检查. 参阅 [method set_item_checked]了解更多关于如何控制它的信息." #: doc/classes/PopupMenu.xml @@ -55390,8 +55670,8 @@ msgstr "" "有提供[code]id[/code],将从索引中创建一个。如果没有提供[code]accel[/code],那" "么默认的[code]0[/code]将被分配给它。参阅[method get_item_accelerator]获取更多" "关于加速器的信息。\n" -"[b]注意:[/b] 可选项目只是显示一个复选标记,但没有任何内置的检查行为,必须手" -"动检查/取消检查。参阅[method set_item_checked]获取更多关于如何控制它的信息。" +"[b]注意:[/b]可选项目只是显示一个复选标记,但没有任何内置的检查行为,必须手动" +"检查/取消检查。参阅[method set_item_checked]获取更多关于如何控制它的信息。" #: doc/classes/PopupMenu.xml msgid "" @@ -55408,8 +55688,8 @@ msgstr "" "将复选框的标签设置为[ShortCut]的名称。\n" "可以选择提供一个[code]id[/code]。如果没有提供[code]id[/code],将从索引中创建" "一个。\n" -"[b]注意:[/b] 可选项目只是显示一个复选标记,但没有任何内置的检查行为,必须手" -"动检查/取消检查。参阅[method set_item_checked]获取更多关于如何控制它的信息。" +"[b]注意:[/b]可选项目只是显示一个复选标记,但没有任何内置的检查行为,必须手动" +"检查/取消检查。参阅[method set_item_checked]获取更多关于如何控制它的信息。" #: doc/classes/PopupMenu.xml msgid "" @@ -55638,14 +55918,14 @@ msgid "" "manually." msgstr "" "如果索引[code]idx[/code]的项目以某种方式是可检查的,例如,如果它有一个复选框" -"或单选按钮,则返回[code]true[/code]。\n" +"或单选按钮,则返回 [code]true[/code]。\n" "[b]注:[/b]可检查项目只是显示一个复选标记或单选按钮,但没有任何内置的检查行" "为,必须手动检查/取消。" #: doc/classes/PopupMenu.xml msgid "" "Returns [code]true[/code] if the item at index [code]idx[/code] is checked." -msgstr "如果索引[code]idx[/code]项被选中,则返回[code]true[/code]。" +msgstr "如果索引[code]idx[/code]项被选中,则返回 [code]true[/code]。" #: doc/classes/PopupMenu.xml msgid "" @@ -55653,8 +55933,8 @@ msgid "" "When it is disabled it can't be selected, or its action invoked.\n" "See [method set_item_disabled] for more info on how to disable an item." msgstr "" -"如果索引[code]idx[/code]项被禁用,返回[code]true[/code]。当它被禁用时,就无法" -"选择它,或者调用它的操作。\n" +"如果索引[code]idx[/code]项被禁用,返回 [code]true[/code]。当它被禁用时,就无" +"法选择它,或者调用它的操作。\n" "有关如何禁用一个项目的更多信息,请参阅[method set_item_disabled]。" #: doc/classes/PopupMenu.xml @@ -55664,7 +55944,7 @@ msgid "" "[b]Note:[/b] This is purely cosmetic; you must add the logic for checking/" "unchecking items in radio groups." msgstr "" -"如果index [code]idx[/code]具有单选按钮样式的可检查性,则返回[code]true[/" +"如果index [code]idx[/code]具有单选按钮样式的可检查性,则返回 [code]true[/" "code]。\n" "[b]注:[/b]这纯粹是装饰性的;您必须添加用于在单选组中检查/取消检查项目的逻辑。" @@ -55674,12 +55954,12 @@ msgid "" "displayed as a line. See [method add_separator] for more info on how to add " "a separator." msgstr "" -"如果项目是分隔符,则返回[code]true[/code]。如果是,它将显示为一行。有关如何添" -"加分隔符的更多信息,请参阅[method add_separator]。" +"如果项目是分隔符,则返回 [code]true[/code]。如果是,它将显示为一行。有关如何" +"添加分隔符的更多信息,请参阅[method add_separator]。" #: doc/classes/PopupMenu.xml msgid "Returns [code]true[/code] if the specified item's shortcut is disabled." -msgstr "如果指定项的快捷方式被禁用,则返回[code]true[/code]。" +msgstr "如果指定项的快捷方式被禁用,则返回 [code]true[/code]。" #: doc/classes/PopupMenu.xml msgid "" @@ -55807,7 +56087,7 @@ msgstr "循环到一个多态项目的下一个状态。详见[method add_multis #: doc/classes/PopupMenu.xml msgid "If [code]true[/code], allows navigating [PopupMenu] with letter keys." -msgstr "如果为[code]true[/code],允许用字母键导航[PopupMenu]。" +msgstr "如果为 [code]true[/code],允许用字母键导航[PopupMenu]。" #: doc/classes/PopupMenu.xml msgid "" @@ -55868,15 +56148,15 @@ msgstr "" #: doc/classes/PopupMenu.xml msgid "[Color] used for disabled menu items' text." -msgstr "用于禁用菜单项的文本[Color]。" +msgstr "用于禁用菜单项的文本 [Color]。" #: doc/classes/PopupMenu.xml msgid "[Color] used for the hovered text." -msgstr "用于悬停文本的[Color]。" +msgstr "用于悬停文本的 [Color]。" #: doc/classes/PopupMenu.xml msgid "[Color] used for labeled separators' text. See [method add_separator]." -msgstr "用于标注分隔符文本的颜色[Color]。见[method add_separator]。" +msgstr "用于标注分隔符文本的颜色 [Color]。见 [method add_separator]。" #: doc/classes/PopupMenu.xml msgid "" @@ -55890,55 +56170,55 @@ msgstr "每个菜单项之间的垂直间距。" #: doc/classes/PopupMenu.xml msgid "[Font] used for the menu items." -msgstr "用于菜单项的[Font]字体。" +msgstr "用于菜单项的 [Font] 字体。" #: doc/classes/PopupMenu.xml msgid "[Texture] icon for the checked checkbox items." -msgstr "选中的复选框项目的 [Texture] 图标。" +msgstr "复选菜单项被勾选时使用的 [Texture] 图标。" #: doc/classes/PopupMenu.xml msgid "[Texture] icon for the checked radio button items." -msgstr "选中的单选按钮项目的纹理[Texture]图标。" +msgstr "单选菜单项被选中时使用的 [Texture] 图标。" #: doc/classes/PopupMenu.xml msgid "[Texture] icon for the unchecked radio button items." -msgstr "未选中的单选按钮项目的 [Texture] 图标。" +msgstr "单选菜单项未被选中时使用的 [Texture] 图标。" #: doc/classes/PopupMenu.xml msgid "[Texture] icon for the submenu arrow." -msgstr "子菜单箭头的纹理[Texture]图标。" +msgstr "子菜单箭头使用的 [Texture] 图标。" #: doc/classes/PopupMenu.xml msgid "[Texture] icon for the unchecked checkbox items." -msgstr "未选中的复选框项目的纹理[Texture]图标。" +msgstr "复选菜单项未被勾选时使用的 [Texture] 图标。" #: doc/classes/PopupMenu.xml msgid "[StyleBox] displayed when the [PopupMenu] item is hovered." -msgstr "当[PopupMenu]项目被鼠标悬停时显示的[StyleBox]。" +msgstr "当 [PopupMenu] 菜单项被悬停时显示的 [StyleBox]。" #: doc/classes/PopupMenu.xml msgid "" "[StyleBox] for the left side of labeled separator. See [method " "add_separator]." -msgstr "用于标签分隔器的左侧[StyleBox](样式盒子).参阅 [method add_separator]." +msgstr "用于标签分隔器的左侧 [StyleBox]。请参阅 [method add_separator]。" #: doc/classes/PopupMenu.xml msgid "" "[StyleBox] for the right side of labeled separator. See [method " "add_separator]." -msgstr "用于标签分隔器的右侧[StyleBox](样式盒子).参阅 [method add_separator]." +msgstr "用于标签分隔器的右侧 [StyleBox]。请参阅 [method add_separator]。" #: doc/classes/PopupMenu.xml msgid "Default [StyleBox] of the [PopupMenu] items." -msgstr "[PopupMenu](弹出菜单)项的默认[StyleBox](样式盒子)." +msgstr "[PopupMenu] 菜单项的默认 [StyleBox]。" #: doc/classes/PopupMenu.xml msgid "[StyleBox] used when the [PopupMenu] item is disabled." -msgstr "禁用[PopupMenu](弹出菜单)项时使用的[StyleBox](样式盒子)." +msgstr "[PopupMenu] 菜单项被禁用时使用的 [StyleBox]。" #: doc/classes/PopupMenu.xml msgid "[StyleBox] used for the separators. See [method add_separator]." -msgstr "用于分隔符的[StyleBox]。请参阅[method add_separator]。" +msgstr "用于分隔符的 [StyleBox]。请参阅 [method add_separator]。" #: doc/classes/PopupPanel.xml msgid "Class for displaying popups with a panel background." @@ -55950,12 +56230,13 @@ msgid "" "be simpler to use than [Popup], since it provides a configurable background. " "If you are making windows, better check [WindowDialog]." msgstr "" -"用于显示具有面板背景的弹出窗口的类。在某些情况下,它可能比[Popup]更容易使用," -"因为它提供了一个可配置的背景。如果你正在制作窗口,最好是查看[WindowDialog]。" +"用于显示具有面板背景的弹出窗口的类。在某些情况下,它可能比 [Popup] 更容易使" +"用,因为它提供了一个可配置的背景。如果你正在制作窗口,最好是查看 " +"[WindowDialog]。" #: doc/classes/PopupPanel.xml msgid "The background panel style of this [PopupPanel]." -msgstr "这个[PopupPanel]的背景面板样式。" +msgstr "这个 [PopupPanel] 的背景面板样式。" #: doc/classes/Portal.xml msgid "Portal nodes are used to enable visibility between [Room]s." @@ -56008,7 +56289,7 @@ msgstr "" "定义 [Portal] 多边形形状的点(应该是凸面)。\n" "这些是在 2D 中定义的,[code]0,0[/code] 是 [Portal] 节点的 [member Spatial." "global_transform] 的原点。\n" -"[b]注意:[/b] 这些原始点会被整理以便在内部缠绕顺序。" +"[b]注意:[/b]这些原始点会被整理以便在内部缠绕顺序。" #: doc/classes/Portal.xml msgid "" @@ -56045,7 +56326,7 @@ msgid "" msgstr "" "在大多数情况下,您会希望在Portal中使用默认的 [Portal] 边距(这是在 " "[RoomManager] 中设置的)。\n" -"如果要覆盖这个默认值,把这个值设置为[code]false[/code],本地的[member " +"如果要覆盖这个默认值,把这个值设置为 [code]false[/code],本地的[member " "portal_margin]就会生效。" #: doc/classes/Position2D.xml @@ -56077,7 +56358,7 @@ msgstr "" msgid "" "Base class for all primitive meshes. Handles applying a [Material] to a " "primitive mesh." -msgstr "所有原始网格的基类。处理将材质[Material]应用到原始网格的问题。" +msgstr "所有图元网格的基类。处理将 [Material] 应用到图元网格的问题。" #: doc/classes/PrimitiveMesh.xml msgid "" @@ -56085,7 +56366,7 @@ msgid "" "primitive mesh. Examples include [CapsuleMesh], [CubeMesh], [CylinderMesh], " "[PlaneMesh], [PrismMesh], [QuadMesh], and [SphereMesh]." msgstr "" -"所有基本网格的基类。处理将[Material]材质应用于基本网格。示例包括 " +"所有图元网格的基类。处理将 [Material] 应用到图元网格的问题。示例包括 " "[CapsuleMesh]、[CubeMesh]、[CylinderMesh]、[PlaneMesh]、[PrismMesh]、" "[QuadMesh]、[SphereMesh] 等。" @@ -56123,11 +56404,11 @@ msgstr "" #: doc/classes/PrimitiveMesh.xml msgid "The current [Material] of the primitive mesh." -msgstr "原始网格的当前[Material]。" +msgstr "该图元网格的当前 [Material]。" #: doc/classes/PrismMesh.xml msgid "Class representing a prism-shaped [PrimitiveMesh]." -msgstr "表示棱柱形[PrimitiveMesh]的类。" +msgstr "表示棱柱形 [PrimitiveMesh] 的类。" #: doc/classes/PrismMesh.xml msgid "" @@ -56745,8 +57026,8 @@ msgstr "" "项目特定的数据(元数据、着色器缓存等)。\n" "如果 [code]false[/code],将使用非隐藏目录 ([code]import[/code])。\n" "[b]注意:[/b]更改此设置后重新启动应用程序。\n" -"[b]注意:[/b] 更改此值有助于在平台上或使用不允许隐藏目录模式的第三方工具。仅" -"当您知道您的环境需要时才修改此设置,因为更改默认设置会影响与某些需要默认 " +"[b]注意:[/b]更改此值有助于在平台上或使用不允许隐藏目录模式的第三方工具。仅当" +"您知道您的环境需要时才修改此设置,因为更改默认设置会影响与某些需要默认 " "[code].import[/code] 文件夹的外部工具或插件的兼容性。" #: doc/classes/ProjectSettings.xml @@ -56773,7 +57054,7 @@ msgstr "" "帧增量的时间样本会受到平台引入的随机变化的影响,即使由于 V-Sync 以固定间隔显" "示帧也是如此。这会导致抖动。通过过滤输入增量以校正刷新率的微小波动,增量平滑" "通常可以提供更好的结果。\n" -"[b]注意:[/b] Delta 平滑仅在 [member display/window/vsync/use_vsync] 开启时尝" +"[b]注意:[/b]Delta 平滑仅在 [member display/window/vsync/use_vsync] 开启时尝" "试,因为它在没有 V-Sync 的情况下无法正常工作。\n" "在最初激活平滑之前,以稳定的帧速率可能需要几秒钟的时间。它只会在性能足以以刷" "新率渲染帧的机器上激活。" @@ -56833,7 +57114,7 @@ msgstr "" "设置。默认情况下,在发布版本中禁用此设置,因为如果快速连续打印大量行,则在每" "个打印行上刷新都会对性能产生负面影响。此外,如果启用此设置,如果应用程序崩溃" "或以其他方式被用户杀死(不会“正常”关闭),则仍会成功写入日志文件。\n" -"[b]注意:[/b] 无论此设置如何,标准错误流 ([code]stderr[/code]) 在打印一行时总" +"[b]注意:[/b]无论此设置如何,标准错误流 ([code]stderr[/code]) 在打印一行时总" "是被刷新。\n" "对此设置的更改只会在重新启动应用程序时应用。" @@ -56882,8 +57163,8 @@ msgid "" "threshold for a given time. This saves CPU as effects assigned to that bus " "will no longer do any processing." msgstr "" -"当声音在给定的时间内低于给定的dB阈值时,音频总线将自动关闭。这可以节省CPU,因" -"为分配给该总线的效果将不再做任何处理。" +"当声音在给定的时间内低于给定的 dB 阈值时,音频总线将自动关闭。这可以节省 " +"CPU,因为分配给该总线的效果将不再做任何处理。" #: doc/classes/ProjectSettings.xml msgid "" @@ -56905,8 +57186,8 @@ msgid "" "If [code]true[/code], microphone input will be allowed. This requires " "appropriate permissions to be set when exporting to Android or iOS." msgstr "" -"如果[code]true[/code],将允许麦克风输入。这需要在导出到Android或iOS时设置适当" -"的权限。" +"如果为 [code]true[/code],将允许麦克风输入。导出到 Android 或 iOS 时须设置适" +"当的权限。" #: doc/classes/ProjectSettings.xml msgid "" @@ -56923,7 +57204,7 @@ msgid "" "like forcing the mix rate)." msgstr "" "更安全地覆盖 Web 平台中的 [member audio/mix_rate]。这里 [code]0[/code] 的意思" -"是“让浏览器选择”(因为有些浏览器不喜欢强制混合速率)。" +"是“让浏览器选择”(因为有些浏览器不喜欢强制混音率)。" #: doc/classes/ProjectSettings.xml msgid "" @@ -56968,9 +57249,10 @@ msgid "" "to [code]6[/code] but could change in the future due to underlying zlib " "updates." msgstr "" -"gzip的默认压缩级别。影响压缩的场景和资源。较高的级别会以压缩速度为代价导致文" -"件变小。解压缩速度大多不受压缩级别的影响。[code]-1[/code]使用默认的gzip压缩级" -"别,该级别与[code]6[/code]相同,但由于底层zlib更新,未来可能会发生变化。" +"gzip 的默认压缩级别。影响压缩的场景和资源。较高的级别会以压缩速度为代价导致文" +"件变小。解压缩速度大多不受压缩级别的影响。[code]-1[/code] 使用默认的 gzip 压" +"缩级别,该级别与 [code]6[/code] 相同,但由于底层 zlib 更新,未来可能会发生变" +"化。" #: doc/classes/ProjectSettings.xml msgid "" @@ -56981,9 +57263,10 @@ msgid "" "to [code]6[/code] but could change in the future due to underlying zlib " "updates." msgstr "" -"Zlib的默认压缩级别。影响压缩的场景和资源。较高的级别会以压缩速度为代价导致文" -"件变小。解压缩速度大多不受压缩级别的影响。[code]-1[/code]使用默认的gzip压缩级" -"别,该级别与[code]6[/code]相同,但由于底层zlib更新,未来可能会发生变化。" +"Zlib 的默认压缩级别。影响压缩的场景和资源。较高的级别会以压缩速度为代价导致文" +"件变小。解压缩速度大多不受压缩级别的影响。[code]-1[/code] 使用默认的 gzip 压" +"缩级别,该级别与 [code]6[/code] 相同,但由于底层 zlib 更新,未来可能会发生变" +"化。" #: doc/classes/ProjectSettings.xml msgid "" @@ -56991,16 +57274,16 @@ msgid "" "resources. Higher levels result in smaller files at the cost of compression " "speed. Decompression speed is mostly unaffected by the compression level." msgstr "" -"Zstandard的默认压缩级别。影响压缩的场景和资源。较高的级别会以压缩速度为代价导" -"致文件变小。解压缩速度大多不受压缩级别的影响。" +"Zstandard 的默认压缩级别。影响压缩的场景和资源。较高的级别会以压缩速度为代价" +"导致文件变小。解压缩速度大多不受压缩级别的影响。" #: doc/classes/ProjectSettings.xml msgid "" "Enables [url=https://github.com/facebook/zstd/releases/tag/v1.3.2]long-" "distance matching[/url] in Zstandard." msgstr "" -"在Zstandard中启用 [url=https://github.com/facebook/zstd/releases/tag/" -"v1.3.2]long-distance matching[/url] 。" +"在 Zstandard 中启用[url=https://github.com/facebook/zstd/releases/tag/v1.3.2]" +"长距离匹配[/url] 。" #: doc/classes/ProjectSettings.xml msgid "" @@ -57008,8 +57291,8 @@ msgid "" "distance matching with Zstandard. Higher values can result in better " "compression, but will require more memory when compressing and decompressing." msgstr "" -"使用与Zstandard的长距离匹配进行压缩时,允许的最大大小限制(2的幂)。更高的值可" -"以产生更好的压缩,但是在压缩和解压缩时需要更多的内存。" +"使用 Zstandard 的长距离匹配进行压缩时,允许的最大大小限制(2 的幂)。更高的值" +"可以产生更好的压缩,但是在压缩和解压缩时需要更多的内存。" #: doc/classes/ProjectSettings.xml msgid "" @@ -57054,18 +57337,18 @@ msgstr "" "警告。" #: doc/classes/ProjectSettings.xml -#, fuzzy msgid "" "If [code]true[/code], enables warnings when the type of the default value " "set to an exported variable is different than the specified export type." msgstr "" -"如果[code]true[/code],则当三元运算符可能发出类型不兼容的值时,将启用警告。" +"如果为 [code]true[/code],则启用导出变量的默认值类型与其导出类型不一致时的警" +"告。" #: doc/classes/ProjectSettings.xml msgid "" "If [code]true[/code], enables warnings when a function is declared with the " "same name as a constant." -msgstr "如果为[code]true[/code],当函数被声明为与常量同名时,启用警告。" +msgstr "如果为 [code]true[/code],当函数被声明为与常量同名时,启用警告。" #: doc/classes/ProjectSettings.xml msgid "" @@ -57073,8 +57356,8 @@ msgid "" "same name as a variable. This will turn into an error in a future version " "when first-class functions become supported in GDScript." msgstr "" -"如果为[code]true[/code], 当一个函数与一个变量同名声明时,启用警告。在未来的版" -"本中,当GDScript支持第一类函数时,这将变成一个错误。" +"如果为 [code]true[/code], 当一个函数与一个变量同名声明时,启用警告。在未来的" +"版本中,当GDScript支持第一类函数时,这将变成一个错误。" #: doc/classes/ProjectSettings.xml msgid "" @@ -57244,7 +57527,7 @@ msgid "" "If [code]true[/code], enables warnings when assigning the result of a " "function that returns [code]void[/code] to a variable." msgstr "" -"如果[code]true[/code],则在将返回[code]void[/code]的函数的结果赋值给变量时启" +"如果[code]true[/code],则在将返回 [code]void[/code]的函数的结果赋值给变量时启" "用警告。" #: doc/classes/ProjectSettings.xml @@ -57354,16 +57637,16 @@ msgid "" "platform. This setting has no effect on desktop Linux, as DPI-awareness " "fallbacks are not supported there." msgstr "" -"如果[code]true[/code],允许在Windows、macOS和HTML5平台上显示HiDPI。这个设置对" -"桌面Linux没有影响,因为它不支持DPI感知回退。" +"如果为 [code]true[/code],则允许在 Windows、macOS 和 HTML5 平台上显示 HiDPI。" +"这个设置对桌面 Linux 没有影响,因为它不支持 DPI 感知回退。" #: doc/classes/ProjectSettings.xml msgid "" "If [code]true[/code], keeps the screen on (even in case of inactivity), so " "the screensaver does not take over. Works on desktop and mobile platforms." msgstr "" -"如果[code]true[/code],则保持屏幕打开(即使在不活动的情况下),因此屏幕保护程序" -"不会接管。适用于桌面和移动平台。" +"如果为 [code]true[/code],则保持屏幕打开(即使在不活动的情况下),因此屏幕保" +"护程序不会接管。适用于桌面和移动平台。" #: doc/classes/ProjectSettings.xml msgid "" @@ -57373,18 +57656,18 @@ msgid "" "you have to set [member display/window/size/width] and [member display/" "window/size/height] accordingly." msgstr "" -"在移动设备上使用的默认屏幕方向。\n" -"[b]注意:[/b]设置为纵向时,此项目设置不会自动翻转项目分辨率的宽度和高度。相" -"反,您必须相应地设置 [member display/window/size/width] 和 [member display/" -"window/size/height]。" +"在移动设备上使用的默认屏幕朝向。\n" +"[b]注意:[/b]设置为竖屏(Portrait)时,此项目设置不会自动翻转项目分辨率的宽度" +"和高度。相反,您必须相应地设置 [member display/window/size/width] 和 [member " +"display/window/size/height]。" #: doc/classes/ProjectSettings.xml msgid "" "If [code]true[/code], the home indicator is hidden automatically. This only " "affects iOS devices without a physical home button." msgstr "" -"如果[code]true[/code],主指示器将自动隐藏。这只会影响没有物理home键的iOS设" -"备。" +"如果为 [code]true[/code],主指示器将自动隐藏。这只会影响没有物理 home 键的 " +"iOS 设备。" #: doc/classes/ProjectSettings.xml msgid "" @@ -57395,11 +57678,11 @@ msgid "" "[b]Note:[/b] This feature is implemented on HTML5, Linux, macOS, Windows, " "and Android." msgstr "" -"如果 [code]true[/code],则允许窗口背景的逐像素透明度。这会影响性能,因此除非" -"需要,否则将其保留为 [code]false[/code]。\n" +"如果为 [code]true[/code],则允许窗口背景的逐像素透明度。这会影响性能,因此除" +"非需要,否则将其保留为 [code]false[/code]。\n" "有关更多详细信息,请参阅 [member OS." "window_per_pixel_transparency_enabled]。\n" -"[b]注意:[/b] 此功能在 HTML5、Linux、macOS、Windows 和 Android 上实现。" +"[b]注意:[/b]此功能在 HTML5、Linux、macOS、Windows 和 Android 上实现。" #: doc/classes/ProjectSettings.xml msgid "" @@ -57411,7 +57694,7 @@ msgstr "" "启动时将窗口背景设置为透明。\n" "有关更多详细信息,请参阅 [member OS." "window_per_pixel_transparency_enabled]。\n" -"[b]注意:[/b] 此功能在 HTML5、Linux、macOS、Windows 和 Android 上实现。" +"[b]注意:[/b]此功能在 HTML5、Linux、macOS、Windows 和 Android 上实现。" #: doc/classes/ProjectSettings.xml msgid "" @@ -57419,7 +57702,7 @@ msgid "" "[b]Note:[/b] This setting is ignored on iOS, Android, and HTML5." msgstr "" "强制主窗口始终在顶部。\n" -"[b]注意:[/b] 此设置在 iOS、Android 和 HTML5 上被忽略。" +"[b]注意:[/b]此设置在 iOS、Android 和 HTML5 上被忽略。" #: doc/classes/ProjectSettings.xml msgid "" @@ -57427,7 +57710,7 @@ msgid "" "[b]Note:[/b] This setting is ignored on iOS, Android, and HTML5." msgstr "" "强制主窗口无边框。\n" -"[b]注意:[/b] 此设置在 iOS、Android 和 HTML5 上被忽略。" +"[b]注意:[/b]此设置在 iOS、Android 和 HTML5 上被忽略。" #: doc/classes/ProjectSettings.xml msgid "" @@ -57441,13 +57724,13 @@ msgid "" "resolutions[/url] when enabling fullscreen mode.\n" "[b]Note:[/b] This setting is ignored on iOS, Android, and HTML5." msgstr "" -"项目启动时将主窗口设置为全屏。请注意,这不是 [i] 独立 的[/i] 全屏显示。在 " +"项目启动时将主窗口设置为全屏。请注意,这不是[i]独占的[/i]全屏显示。在 " "Windows 和 Linux 上,无边框窗口用于模拟全屏。在 macOS 上,会创建一个新的桌面" "用于显示正在运行的项目。\n" "无论平台如何,启用全屏都会更改窗口大小以匹配显示器的大小。因此,请确保您的项" -"目在启用全屏模式时支持 [url=$DOCS_URL/tutorials/rendering/" -"multiple_resolutions.html]multiple resolutions]多种分辨率[/url]。\n" -"[b]注意:[/b] 在 iOS、Android 和 HTML5 上忽略此设置。" +"目在启用全屏模式时支持[url=$DOCS_URL/tutorials/rendering/" +"multiple_resolutions.html]多种分辨率[/url]。\n" +"[b]注意:[/b]此设置在 iOS、Android 和 HTML5 上被忽略。" #: doc/classes/ProjectSettings.xml msgid "" @@ -57459,12 +57742,13 @@ msgstr "" "时,也使用此参数作为参考。" #: doc/classes/ProjectSettings.xml +#, fuzzy msgid "" "Allows the window to be resizable by default.\n" -"[b]Note:[/b] This setting is ignored on iOS and Android." +"[b]Note:[/b] This setting is ignored on iOS." msgstr "" "允许窗口默认可调整大小。\n" -"[b]注意:[/b] 这个设置在iOS和Android上将忽略。" +"[b]注意:[/b]这个设置在 iOS 和 Android 上将忽略。" #: doc/classes/ProjectSettings.xml msgid "" @@ -57515,7 +57799,7 @@ msgid "" "experienced by some users. However, some users have experienced a Vsync " "framerate halving (e.g. from 60 FPS to 30 FPS) when using it." msgstr "" -"如果 [code]Use Vsync[/code] 已启用,且这个设置为 [code]true[/code],则在窗口" +"如果[code]使用垂直同步[/code]已启用,且这个设置为 [code]true[/code],则在窗口" "模式下且启用了合成器时,会通过操作系统的窗口合成器启用垂直同步。这将防止在某" "些情况下卡顿。(仅限 Windows)。\n" "[b]注意:[/b]这个选项是实验性的,旨在缓解一些用户的卡顿体验。然而,有些用户在" @@ -57562,7 +57846,7 @@ msgid "" "parse your scene files, especially if you use built-in scripts which are " "serialized in the scene files." msgstr "" -"脚本编辑器的“在文件中查找”特性中包含的基于文本的文件扩展名。你可以添加例如" +"脚本编辑器的“在文件中查找”特性中包含的基于文本的文件扩展名。你可以添加例如 " "[code]tscn[/code],如果你也想解析你的场景文件,特别是如果你使用的是在场景文件" "中序列化的内置脚本。" @@ -57600,6 +57884,12 @@ msgid "" "[b]Note:[/b] This is set to [code]true[/code] by default for new projects " "and is the recommended setting." msgstr "" +"如果已启用,则会在将 [member Viewport.gui_disable_input] 设为 [code]false[/" +"code] 禁用视区的 GUI 输入时,将当前的鼠标悬停及聚焦丢弃。\n" +"这样的行为能够帮助保持 GUI 状态的健壮,输入恢复时,无论当时发生了什么都不会产" +"生意外的结果。\n" +"如果已禁用,会使用旧有行为,除了禁用 GUI 输入本身不会进行额外操作。\n" +"[b]注意:[/b]新项目会默认将其设为 [code]true[/code],这也是推荐的设置。" #: doc/classes/ProjectSettings.xml msgid "" @@ -57639,7 +57929,7 @@ msgstr "检测[TextEdit]空闲的计时器(单位为秒)。" #: doc/classes/ProjectSettings.xml msgid "Default delay for tooltips (in seconds)." -msgstr "工具提示的默认延迟(以秒为单位)。" +msgstr "工具提示的默认延迟(单位为秒)。" #: doc/classes/ProjectSettings.xml msgid "" @@ -57650,7 +57940,7 @@ msgid "" "to the action can however be modified." msgstr "" "默认用于确认焦点按钮、菜单或列表项,或验证输入的[InputEventAction]。\n" -"[b]注意:[/b]默认的[code]ui_*[/code]动作不能被删除,因为它们是几个[Control]的" +"[b]注意:[/b]默认的[code]ui_*[/code]动作不能被删除,因为它们是几个[Control]的" "内部逻辑所必需的。但是,可以修改分配给该操作的事件。" #: doc/classes/ProjectSettings.xml @@ -57661,7 +57951,7 @@ msgid "" "to the action can however be modified." msgstr "" "默认放弃一个模态或挂起的输入的[InputEventAction]。\n" -"[b]注意:[/b]默认的[code]ui_*[/code]动作不能被删除,因为它们是几个[Control]的" +"[b]注意:[/b]默认的[code]ui_*[/code]动作不能被删除,因为它们是几个[Control]的" "内部逻辑所必需的。但是,可以修改分配给该操作的事件。" #: doc/classes/ProjectSettings.xml @@ -57672,7 +57962,7 @@ msgid "" "to the action can however be modified." msgstr "" "默认在UI中向下移动的[InputEventAction]。\n" -"[b]注意:[/b]默认的[code]ui_*[/code]动作不能被删除,因为它们是几个[Control]的" +"[b]注意:[/b]默认的[code]ui_*[/code]动作不能被删除,因为它们是几个[Control]的" "内部逻辑所必需的。但是,可以修改分配给该操作的事件。" #: doc/classes/ProjectSettings.xml @@ -57686,7 +57976,7 @@ msgid "" msgstr "" "默认[InputEventAction]去[Control]的结束位置(例如[ItemList]或[Tree]中的最后一" "项),匹配典型桌面UI系统中[constant KEY_END]的行为。\n" -"[b]注意:[/b]默认的[code]ui_*[/code]动作不能被删除,因为它们是几个[Control]的" +"[b]注意:[/b]默认的[code]ui_*[/code]动作不能被删除,因为它们是几个[Control]的" "内部逻辑所必需的。但是,可以修改分配给该操作的事件。" #: doc/classes/ProjectSettings.xml @@ -57699,7 +57989,7 @@ msgid "" msgstr "" "默认聚焦场景中的下一个[Control]的[InputEventAction]。焦点行为可以通过[member " "Control.focus_next]配置。\n" -"[b]注意:[/b]默认的[code]ui_*[/code]动作不能被删除,因为它们是几个[Control]的" +"[b]注意:[/b]默认的[code]ui_*[/code]动作不能被删除,因为它们是几个[Control]的" "内部逻辑所必需的。但是,可以修改分配给该操作的事件。" #: doc/classes/ProjectSettings.xml @@ -57712,7 +58002,7 @@ msgid "" msgstr "" "默认聚焦场景中的前一个[Control]的[InputEventAction]。焦点行为可以通过[member " "Control.focus_previous]配置。\n" -"[b]注意:[/b]默认的[code]ui_*[/code]动作不能被删除,因为它们是几个[Control]的" +"[b]注意:[/b]默认的[code]ui_*[/code]动作不能被删除,因为它们是几个[Control]的" "内部逻辑所必需的。但是,可以修改分配给该操作的事件。" #: doc/classes/ProjectSettings.xml @@ -57726,8 +58016,8 @@ msgid "" msgstr "" "默认的将进入[Control]的起始位置(例如[ItemList]或[Tree]中的第一个项目)时的" "[InputEventAction],与典型的桌面UI系统中[constant KEY_HOME]的行为相匹配。\n" -"[b]注意:[/b] 默认的[code]ui_*[/code]动作不能被删除,因为它们对于几个" -"[Control]的内部逻辑是必要的。然而,分配给动作的事件可以被修改。" +"[b]注意:[/b]默认的[code]ui_*[/code]动作不能被删除,因为它们对于几个[Control]" +"的内部逻辑是必要的。然而,分配给动作的事件可以被修改。" #: doc/classes/ProjectSettings.xml msgid "" @@ -57737,7 +58027,7 @@ msgid "" "to the action can however be modified." msgstr "" "默认在UI中向左移动的[InputEventAction]。\n" -"[b]注意:[/b]默认的[code]ui_*[/code]动作不能被删除,因为它们是几个[Control]的" +"[b]注意:[/b]默认的[code]ui_*[/code]动作不能被删除,因为它们是几个[Control]的" "内部逻辑所必需的。但是,可以修改分配给该操作的事件。" #: doc/classes/ProjectSettings.xml @@ -57751,7 +58041,7 @@ msgid "" msgstr "" "默认的在[Control](例如[ItemList]或[Tree])中下拉页面的[InputEventAction],与典" "型桌面UI系统中[constant KEY_PAGEDOWN]的行为相匹配。\n" -"[b]注意:[/b]默认的[code]ui_*[/code]动作不能被删除,因为它们是几个[Control]的" +"[b]注意:[/b]默认的[code]ui_*[/code]动作不能被删除,因为它们是几个[Control]的" "内部逻辑所必需的。但是,可以修改分配给该操作的事件。" #: doc/classes/ProjectSettings.xml @@ -57765,7 +58055,7 @@ msgid "" msgstr "" "默认在[Control](例如[ItemList]或[Tree])中上移页面的[InputEventAction],与典型" "桌面UI系统中[constant KEY_PAGEUP]的行为相匹配。\n" -"[b]注意:[/b]默认的[code]ui_*[/code]动作不能被删除,因为它们是几个[Control]的" +"[b]注意:[/b]默认的[code]ui_*[/code]动作不能被删除,因为它们是几个[Control]的" "内部逻辑所必需的。但是,可以修改分配给该操作的事件。" #: doc/classes/ProjectSettings.xml @@ -57776,7 +58066,7 @@ msgid "" "to the action can however be modified." msgstr "" "默认在UI中右移的[InputEventAction]。\n" -"[b]注意:[/b]默认的[code]ui_*[/code]动作不能被删除,因为它们是几个[Control]的" +"[b]注意:[/b]默认的[code]ui_*[/code]动作不能被删除,因为它们是几个[Control]的" "内部逻辑所必需的。但是,可以修改分配给该操作的事件。" #: doc/classes/ProjectSettings.xml @@ -57788,7 +58078,7 @@ msgid "" "to the action can however be modified." msgstr "" "默认选择[Control](例如[ItemList]或[Tree])中的一个项目[InputEventAction]。\n" -"[b]注意:[/b]默认的[code]ui_*[/code]动作不能被删除,因为它们是几个[Control]的" +"[b]注意:[/b]默认的[code]ui_*[/code]动作不能被删除,因为它们是几个[Control]的" "内部逻辑所必需的。但是,可以修改分配给该操作的事件。" #: doc/classes/ProjectSettings.xml @@ -57799,7 +58089,7 @@ msgid "" "to the action can however be modified." msgstr "" "默认在UI中向上移动[InputEventAction]。\n" -"[b]注意:[/b]默认的[code]ui_*[/code]动作不能被删除,因为它们是几个[Control]的" +"[b]注意:[/b]默认的[code]ui_*[/code]动作不能被删除,因为它们是几个[Control]的" "内部逻辑所必需的。但是,可以修改分配给该操作的事件。" #: doc/classes/ProjectSettings.xml @@ -57824,189 +58114,189 @@ msgstr "" msgid "" "If [code]true[/code], sends mouse input events when tapping or swiping on " "the touchscreen." -msgstr "如果[code]true[/code],则在点击或滑动触摸屏时发送鼠标输入事件。" +msgstr "如果为 [code]true[/code],则在点击或滑动触摸屏时发送鼠标输入事件。" #: doc/classes/ProjectSettings.xml msgid "" "If [code]true[/code], sends touch input events when clicking or dragging the " "mouse." -msgstr "如果[code]true[/code],则在点击或拖动鼠标时发送触摸输入事件。" +msgstr "如果为 [code]true[/code],则在点击或拖动鼠标时发送触摸输入事件。" #: doc/classes/ProjectSettings.xml msgid "Default delay for touch events. This only affects iOS devices." -msgstr "工具提示的默认延迟(以秒为单位)。" +msgstr "触摸事件的默认延迟(单位为秒)。仅影响 iOS 设备。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D physics layer 1." -msgstr "2D物理层1的可选名称。" +msgstr "2D 物理层 1 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D physics layer 10." -msgstr "2D物理层10的可选名称。" +msgstr "2D 物理层 10 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D physics layer 11." -msgstr "2D物理层11的可选名称。" +msgstr "2D 物理层 11 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D physics layer 12." -msgstr "2D物理层12的可选名称。" +msgstr "2D 物理层 12 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D physics layer 13." -msgstr "2D物理层13的可选名称。" +msgstr "2D 物理层 13 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D physics layer 14." -msgstr "2D物理层14的可选名称。" +msgstr "2D 物理层 14 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D physics layer 15." -msgstr "2D物理层15的可选名称。" +msgstr "2D 物理层 15 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D physics layer 16." -msgstr "2D物理层16的可选名称。" +msgstr "2D 物理层 16 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D physics layer 17." -msgstr "2D物理层17的可选名称。" +msgstr "2D 物理层 17 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D physics layer 18." -msgstr "2D物理层18的可选名称。" +msgstr "2D 物理层 18 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D physics layer 19." -msgstr "2D物理层19的可选名称。" +msgstr "2D 物理层 19 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D physics layer 2." -msgstr "2D物理层2的可选名称。" +msgstr "2D 物理层 2 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D physics layer 20." -msgstr "2D物理层20的可选名称。" +msgstr "2D 物理层 20 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D physics layer 21." -msgstr "2D 物理层 21 的可选名称 ." +msgstr "2D 物理层 21 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D physics layer 22." -msgstr "2D物理层22 的可选名称。" +msgstr "2D 物理层 22 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D physics layer 23." -msgstr "2D物理层23的可选名称。" +msgstr "2D 物理层 23 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D physics layer 24." -msgstr "2D物理层24的可选名称。" +msgstr "2D 物理层 24 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D physics layer 25." -msgstr "2D物理层25的可选名称。" +msgstr "2D 物理层 25 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D physics layer 26." -msgstr "2D物理层26的可选名称。" +msgstr "2D 物理层 26 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D physics layer 27." -msgstr "2D物理层27的可选名称。" +msgstr "2D 物理层 27 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D physics layer 28." -msgstr "2D物理层28的可选名称。" +msgstr "2D 物理层 28 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D physics layer 29." -msgstr "2D物理层29的可选名称。" +msgstr "2D 物理层 29 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D physics layer 3." -msgstr "2D物理层3的可选名称。" +msgstr "2D 物理层 3 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D physics layer 30." -msgstr "2D物理层30的可选名称。" +msgstr "2D 物理层 30 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D physics layer 31." -msgstr "2D物理层31的可选名称。" +msgstr "2D 物理层 31 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D physics layer 32." -msgstr "2D物理层32的可选名称。" +msgstr "2D 物理层 32 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D physics layer 4." -msgstr "2D物理层4的可选名称。" +msgstr "2D 物理层 4 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D physics layer 5." -msgstr "2D物理层5的可选名称。" +msgstr "2D 物理层 5 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D physics layer 6." -msgstr "2D物理层6的可选名称。" +msgstr "2D 物理层 6 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D physics layer 7." -msgstr "2D物理层7的可选名称。" +msgstr "2D 物理层 7 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D physics layer 8." -msgstr "2D物理层8的可选名称。" +msgstr "2D 物理层 8 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D physics layer 9." -msgstr "2D物理层9的可选名称。" +msgstr "2D 物理层 9 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D render layer 1." -msgstr "2D物理层1的可选名称。" +msgstr "2D 渲染层 1 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D render layer 10." -msgstr "2D渲染层10的可选名称。" +msgstr "2D 渲染层 10 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D render layer 11." -msgstr "2D渲染层11的可选名称。" +msgstr "2D 渲染层 11 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D render layer 12." -msgstr "2D渲染层12的可选名称。" +msgstr "2D 渲染层 12 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D render layer 13." -msgstr "2D渲染层13的可选名称。" +msgstr "2D 渲染层 13 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D render layer 14." -msgstr "2D渲染层14的可选名称。" +msgstr "2D 渲染层 14 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D render layer 15." -msgstr "2D渲染层15的可选名称。" +msgstr "2D 渲染层 15 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D render layer 16." -msgstr "2D渲染层16的可选名称。" +msgstr "2D 渲染层 16 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D render layer 17." -msgstr "2D渲染层17的可选名称。" +msgstr "2D 渲染层 17 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D render layer 18." -msgstr "2D渲染层18的可选名称。" +msgstr "2D 渲染层 18 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D render layer 19." -msgstr "2D渲染层19的可选名称。" +msgstr "2D 渲染层 19 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 2D render layer 2." @@ -58046,211 +58336,212 @@ msgstr "2D 渲染层 9 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D physics layer 1." -msgstr "3D物理层1 的可选名称。" +msgstr "3D 物理层 1 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D physics layer 10." -msgstr "3D物理层10 的可选名称。" +msgstr "3D 物理层 10 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D physics layer 11." -msgstr "3D物理层11 的可选名称。" +msgstr "3D 物理层 11 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D physics layer 12." -msgstr "3D物理层12 的可选名称。" +msgstr "3D 物理层 12 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D physics layer 13." -msgstr "3D物理层13 的可选名称。" +msgstr "3D 物理层 13 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D physics layer 14." -msgstr "3D物理层14 的可选名称。" +msgstr "3D 物理层 14 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D physics layer 15." -msgstr "3D物理层15 的可选名称。" +msgstr "3D 物理层 15 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D physics layer 16." -msgstr "3D物理层16 的可选名称。" +msgstr "3D 物理层 16 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D physics layer 17." -msgstr "3D物理层17 的可选名称。" +msgstr "3D 物理层 17 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D physics layer 18." -msgstr "3D物理层18 的可选名称。" +msgstr "3D 物理层 18 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D physics layer 19." -msgstr "3D物理层19 的可选名称。" +msgstr "3D 物理层 19 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D physics layer 2." -msgstr "3D物理层2 的可选名称。" +msgstr "3D 物理层 2 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D physics layer 20." -msgstr "3D物理层20 的可选名称。" +msgstr "3D 物理层 20 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D physics layer 21." -msgstr "3D物理层 21 的可选名称。" +msgstr "3D 物理层 21 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D physics layer 22." -msgstr "3D物理层22 的可选名称。" +msgstr "3D 物理层 22 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D physics layer 23." -msgstr "3D物理层23 的可选名称。" +msgstr "3D 物理层 23 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D physics layer 24." -msgstr "3D物理层24 的可选名称。" +msgstr "3D 物理层 24 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D physics layer 25." -msgstr "3D物理层 25 的可选名称。" +msgstr "3D 物理层 25 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D physics layer 26." -msgstr "3D物理层26 的可选名称。" +msgstr "3D 物理层 26 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D physics layer 27." -msgstr "3D物理层27 的可选名称。" +msgstr "3D 物理层 27 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D physics layer 28." -msgstr "3D物理层28 的可选名称。" +msgstr "3D 物理层 28 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D physics layer 29." -msgstr "3D物理层29 的可选名称。" +msgstr "3D 物理层 29 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D physics layer 3." -msgstr "3D物理层3 的可选名称。" +msgstr "3D 物理层 3 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D physics layer 30." -msgstr "3D物理层30 的可选名称。" +msgstr "3D 物理层 30 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D physics layer 31." -msgstr "3D物理层31 的可选名称。" +msgstr "3D 物理层 31 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D physics layer 32." -msgstr "3D物理层32 的可选名称。" +msgstr "3D 物理层 32 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D physics layer 4." -msgstr "3D物理层4 的可选名称。" +msgstr "3D 物理层 4 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D physics layer 5." -msgstr "3D物理层5 的可选名称。" +msgstr "3D 物理层 5 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D physics layer 6." -msgstr "3D物理层6 的可选名称。" +msgstr "3D 物理层 6 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D physics layer 7." -msgstr "3D物理层7 的可选名称。" +msgstr "3D 物理层 7 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D physics layer 8." -msgstr "3D物理层8 的可选名称。" +msgstr "3D 物理层 8 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D physics layer 9." -msgstr "3D物理层9 的可选名称。" +msgstr "3D 物理层 9 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D render layer 1." -msgstr "3D渲染层1 的可选名称。" +msgstr "3D 渲染层 1 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D render layer 10." -msgstr "3D渲染层10 的可选名称。" +msgstr "3D 渲染层 10 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D render layer 11." -msgstr "3D渲染层11 的可选名称。" +msgstr "3D 渲染层 11 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D render layer 12." -msgstr "3D渲染层12 的可选名称。" +msgstr "3D 渲染层 12 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D render layer 13." -msgstr "3D渲染层13 的可选名称。" +msgstr "3D 渲染层 13 的可选名称。" #: doc/classes/ProjectSettings.xml -msgid "Optional name for the 3D render layer 14" -msgstr "3D渲染层14 的可选名称" +#, fuzzy +msgid "Optional name for the 3D render layer 14." +msgstr "3D 渲染层 14 的可选名称" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D render layer 15." -msgstr "3D渲染层15 的可选名称。" +msgstr "3D 渲染层 15 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D render layer 16." -msgstr "3D渲染层16 的可选名称。" +msgstr "3D 渲染层 16 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D render layer 17." -msgstr "3D渲染层17 的可选名称。" +msgstr "3D 渲染层 17 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D render layer 18." -msgstr "3D渲染层18 的可选名称。" +msgstr "3D 渲染层 18 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D render layer 19." -msgstr "3D渲染层19 的可选名称。" +msgstr "3D 渲染层 19 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D render layer 2." -msgstr "3D渲染层2 的可选名称。" +msgstr "3D 渲染层 2 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D render layer 20." -msgstr "3D渲染层20 的可选名称。" +msgstr "3D 渲染层 20 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D render layer 3." -msgstr "3D渲染层3 的可选名称。" +msgstr "3D 渲染层 3 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D render layer 4." -msgstr "3D渲染层4 的可选名称。" +msgstr "3D 渲染层 4 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D render layer 5." -msgstr "3D渲染层5 的可选名称。" +msgstr "3D 渲染层 5 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D render layer 6." -msgstr "3D渲染层6 的可选名称。" +msgstr "3D 渲染层 6 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D render layer 7." -msgstr "3D渲染层7 的可选名称。" +msgstr "3D 渲染层 7 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D render layer 8." -msgstr "3D渲染层8 的可选名称。" +msgstr "3D 渲染层 8 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "Optional name for the 3D render layer 9." -msgstr "3D渲染层9 的可选名称。" +msgstr "3D 渲染层 9 的可选名称。" #: doc/classes/ProjectSettings.xml msgid "" @@ -58268,7 +58559,7 @@ msgstr "如果不为空,那么当从编辑器中运行项目时,将使用该 #: doc/classes/ProjectSettings.xml msgid "If [code]true[/code], logs all output to files." -msgstr "如果[code]true[/code],将所有输出记录到文件中。" +msgstr "如果为 [code]true[/code],将所有输出记录到文件中。" #: doc/classes/ProjectSettings.xml msgid "" @@ -58293,7 +58584,7 @@ msgid "" "Godot uses a message queue to defer some function calls. If you run out of " "space on it (you will see an error), you can increase the size here." msgstr "" -"Godot使用一个消息队列来延迟一些函数调用。如果你的空间用完了(你会看到一个错" +"Godot 使用一个消息队列来延迟一些函数调用。如果你的空间用完了(你会看到一个错" "误),你可以在这里增加大小。" #: doc/classes/ProjectSettings.xml @@ -58376,7 +58667,7 @@ msgstr "使用TCP的连接尝试的超时(以秒为单位)。" #: doc/classes/ProjectSettings.xml msgid "Maximum size (in kiB) for the [WebRTCDataChannel] input buffer." -msgstr "[WebRTCDataChannel]输入缓冲区的最大尺寸(单位:千字节)。" +msgstr "[WebRTCDataChannel] 输入缓冲区的最大尺寸(单位:千字节)。" #: doc/classes/ProjectSettings.xml msgid "Maximum size (in kiB) for the [WebSocketClient] input buffer." @@ -58456,7 +58747,7 @@ msgid "" "enabled." msgstr "" "用于宽相 2D 哈希网格算法的哈希表的大小。\n" -"[b]注意:[/b] 如果启用了 [member ProjectSettings.physics/2d/use_bvh],则不使" +"[b]注意:[/b]如果启用了 [member ProjectSettings.physics/2d/use_bvh],则不使" "用。" #: doc/classes/ProjectSettings.xml @@ -58499,11 +58790,11 @@ msgid "" "stop in one iteration." msgstr "" "2D 中的默认角阻尼。\n" -"[b]注意:[/b] 良好的值在 [code]0[/code] 到 [code]1[/code] 的范围内。在值为 " +"[b]注意:[/b]在 [code]0[/code] 到 [code]1[/code] 的范围内取值比较好。在值为 " "[code]0[/code] 时,对象将继续以相同的速度移动。大于 [code]1[/code] 的值将旨在" -"不到一秒的时间内将速度降低到 [code]0[/code],例如[code]2[/code] 的值将旨在在" -"半秒内将速度降低到 [code]0[/code]。等于或大于物理帧速率的值将使对象在一次迭代" -"中停止,[member ProjectSettings.physics/common/physics_fps]默认情况下为 " +"不到一秒的时间内将速度降低到 [code]0[/code],例如取 [code]2[/code] 将旨在在半" +"秒内将速度降低到 [code]0[/code]。等于或大于物理帧速率的值将使对象在一次迭代中" +"停止,[member ProjectSettings.physics/common/physics_fps] 默认情况下为 " "[code]60[/code]。" #: doc/classes/ProjectSettings.xml @@ -58517,11 +58808,11 @@ msgid "" "Physics2DServer.AREA_PARAM_GRAVITY, 98)\n" "[/codeblock]" msgstr "" -"2D中默认的重力强度,单位:每秒平方像素。\n" +"2D 中默认的重力强度(单位:每秒平方像素)。\n" "[b]注意:[/b]这个属性只在项目启动时被读取。要在运行时改变默认的重力,请使用以" "下代码示例:\n" "[codeblock]\n" -"# 设置默认的重力强度为98。\n" +"# 设置默认的重力强度为 98。\n" "Physics2DServer.area_set_param(get_viewport().find_world_2d().get_space(), " "Physics2DServer.AREA_PARAM_GRAVITY, 98)\n" "[/codeblock]" @@ -58538,10 +58829,10 @@ msgid "" "[/codeblock]" msgstr "" "2D 中的默认重力方向。\n" -"[b]注:[/b] 该属性仅在项目启动时读取。要在运行时更改默认重力向量,请使用以下" +"[b]注意:[/b]该属性仅在项目启动时读取。要在运行时更改默认重力向量,请使用以下" "代码示例:\n" "[codeblock]\n" -"# 设置默认重力方向为`Vector2(0, 1)`。\n" +"# 设置默认重力方向为 `Vector2(0, 1)`。\n" "Physics2DServer.area_set_param(get_viewport().find_world_2d().get_space(), " "Physics2DServer.AREA_PARAM_GRAVITY_VECTOR, Vector2(0, 1))\n" "[/codeblock]" @@ -58559,12 +58850,12 @@ msgid "" "stop in one iteration." msgstr "" "2D 中的默认线性阻尼。\n" -"[b]注:[/b]良好的值在[code]0[/code]到[code]1[/code]的范围内。在值为 [code]0[/" -"code] 时,对象将继续以相同的速度移动。大于 [code]1[/code] 的值将旨在不到一秒" -"的时间内将速度降低到 [code]0[/code],例如[code]2[/code] 的值将旨在半秒内将速" -"度降低到 [code]0[/code]。等于或大于物理帧速率的值将使对象在一次迭代中停止," -"[member ProjectSettings.physics/common/physics_fps],默认情况下为 [code]60[/" -"code]。" +"[b]注意:[/b]在 [code]0[/code] 到 [code]1[/code] 的范围内取值比较好。在值为 " +"[code]0[/code] 时,对象将继续以相同的速度移动。大于 [code]1[/code] 的值将旨在" +"不到一秒的时间内将速度降低到 [code]0[/code],例如取 [code]2[/code] 将旨在半秒" +"内将速度降低到 [code]0[/code]。等于或大于物理帧速率的值将使对象在一次迭代中停" +"止([member ProjectSettings.physics/common/physics_fps],默认情况下为 " +"[code]60[/code])。" #: doc/classes/ProjectSettings.xml msgid "" @@ -58574,7 +58865,7 @@ msgid "" "enabled." msgstr "" "定义构成大对象的表面尺寸的阈值,与宽相 2D 散列网格算法中的单元有关。\n" -"[b]注意:[/b]如果启用了[member ProjectSettings.physics/2d/use_bvh],则不使" +"[b]注意:[/b]如果启用了 [member ProjectSettings.physics/2d/use_bvh],则不使" "用。" #: doc/classes/ProjectSettings.xml @@ -58584,8 +58875,7 @@ msgid "" "alternative 2D physics server implemented." msgstr "" "设置用于 2D 物理的物理引擎。\n" -"\"DEFAULT\" 和 \"GodotPhysics\" 是一样的,因为目前没有实现可替代的 2D 物理服" -"务。" +"“DEFAULT”和“GodotPhysics”是一样的,因为目前没有实现可替代的 2D 物理服务器。" #: doc/classes/ProjectSettings.xml msgid "" @@ -58593,7 +58883,7 @@ msgid "" "inactive. See [constant Physics2DServer." "SPACE_PARAM_BODY_ANGULAR_VELOCITY_SLEEP_THRESHOLD]." msgstr "" -"阈值角速度,在该阈值下 2D 物理体将被视为非活动。参阅 [constant " +"角速度阈值,低于该阈值的 2D 物理体将被视为非活动。参阅 [constant " "Physics2DServer.SPACE_PARAM_BODY_ANGULAR_VELOCITY_SLEEP_THRESHOLD]。" #: doc/classes/ProjectSettings.xml @@ -58602,7 +58892,7 @@ msgid "" "inactive. See [constant Physics2DServer." "SPACE_PARAM_BODY_LINEAR_VELOCITY_SLEEP_THRESHOLD]." msgstr "" -"线性速度的阈值。在此阈值下2D物理体被认为是非活动的。参阅[constant " +"线速度阈值,低于该阈值的 2D 物理体被认为是非活动。参阅 [constant " "Physics2DServer.SPACE_PARAM_BODY_LINEAR_VELOCITY_SLEEP_THRESHOLD]。" #: doc/classes/ProjectSettings.xml @@ -58615,17 +58905,17 @@ msgid "" "give you extra performance and no regressions when using it." msgstr "" "设置物理运算是在主线程上运行还是单独的线程上运行。在一个线程上运行服务器可以" -"提高性能,但限制了对物理过程的API访问。\n" -"[b]警告:[/b] 从Godot 3.2开始,关于物理运算使用多线程的反馈不一。请务必评估它" -"是否确实给你带来了额外的性能,并且在使用它时没有过时。" +"提高性能,但限制了对物理过程的 API 访问。\n" +"[b]警告:[/b]从 Godot 3.2 开始,关于物理运算使用多线程的反馈不一。请务必评估" +"它是否确实给你带来了额外的性能,并且在使用它时没有过时。" #: doc/classes/ProjectSettings.xml msgid "" "Time (in seconds) of inactivity before which a 2D physics body will put to " "sleep. See [constant Physics2DServer.SPACE_PARAM_BODY_TIME_TO_SLEEP]." msgstr "" -"2D物理物体非活动的时间,以秒为单位。在此之前,2D物理物体将进入休眠状态。参阅" -"[constant Physics2DServer.SPACE_PARAM_BODY_TIME_TO_SLEEP]。" +"2D 物理物体非活动的时间,以秒为单位。在此时间之后,2D 物理物体将进入休眠状" +"态。参阅 [constant Physics2DServer.SPACE_PARAM_BODY_TIME_TO_SLEEP]。" #: doc/classes/ProjectSettings.xml msgid "" @@ -58656,11 +58946,11 @@ msgid "" "stop in one iteration." msgstr "" "3D 中的默认角阻尼。\n" -"[b]注意:[/b] 良好的值在 [code]0[/code] 到 [code]1[/code] 的范围内。在值为 " +"[b]注意:[/b]在 [code]0[/code] 到 [code]1[/code] 的范围内取值比较好。在值为 " "[code]0[/code] 时,对象将继续以相同的速度移动。大于 [code]1[/code] 的值将旨在" -"不到一秒的时间内将速度降低到 [code]0[/code],例如[code]2[/code] 的值将旨在半" -"秒内将速度降低到 [code]0[/code]。等于或大于物理帧速率的值将使对象在一次迭代中" -"停止,[member ProjectSettings.physics/common/physics_fps]默认情况下为 " +"不到一秒的时间内将速度降低到 [code]0[/code],例如取 [code]2[/code] 将旨在半秒" +"内将速度降低到 [code]0[/code]。等于或大于物理帧速率的值将使对象在一次迭代中停" +"止,[member ProjectSettings.physics/common/physics_fps] 默认情况下为 " "[code]60[/code]。" #: doc/classes/ProjectSettings.xml @@ -58675,10 +58965,10 @@ msgid "" "[/codeblock]" msgstr "" "3D 中的默认重力强度,单位:米/秒平方。\n" -"[b]注:[/b] 该属性仅在项目启动时读取。要在运行时更改默认重力,请使用以下代码" +"[b]注意:[/b]该属性仅在项目启动时读取。要在运行时更改默认重力,请使用以下代码" "示例:\n" "[codeblock]\n" -"# 设置默认重力强度为9.8。\n" +"# 设置默认重力强度为 9.8。\n" "PhysicsServer.area_set_param(get_viewport().find_world().get_space(), " "PhysicsServer.AREA_PARAM_GRAVITY, 9.8)\n" "[/codeblock]" @@ -58695,10 +58985,10 @@ msgid "" "[/codeblock]" msgstr "" "3D 中的默认重力方向。\n" -"[b]注:[/b] 该属性仅在项目启动时读取。要在运行时更改默认重力向量,请使用以下" +"[b]注意:[/b]该属性仅在项目启动时读取。要在运行时更改默认重力向量,请使用以下" "代码示例:\n" "[codeblock]\n" -"# 设置默认重力方向为`Vector3(0, -1, 0)`。\n" +"# 设置默认重力方向为 `Vector3(0, -1, 0)`。\n" "PhysicsServer.area_set_param(get_viewport().find_world().get_space(), " "PhysicsServer.AREA_PARAM_GRAVITY_VECTOR, Vector3(0, -1, 0))\n" "[/codeblock]" @@ -58716,12 +59006,12 @@ msgid "" "stop in one iteration." msgstr "" "3D 中的默认线性阻尼。\n" -"[b]注:[/b]好的值在[code]0[/code]到[code]1[/code]的范围内。在值为 [code]0[/" -"code] 时,对象将继续以相同的速度移动。大于 [code]1[/code] 的值将旨在不到一秒" -"的时间内将速度降低到 [code]0[/code],例如[code]2[/code] 的值将旨在半秒内将速" -"度降低到 [code]0[/code]。等于或大于物理帧速率的值将使对象在一次迭代中停止," -"[member ProjectSettings.physics/common/physics_fps]默认情况下为 [code]60[/" -"code]。" +"[b]注意:[/b]在 [code]0[/code] 到 [code]1[/code] 的范围内取值比较好。在值为 " +"[code]0[/code] 时,对象将继续以相同的速度移动。大于 [code]1[/code] 的值将旨在" +"不到一秒的时间内将速度降低到 [code]0[/code],例如取 [code]2[/code] 将旨在半秒" +"内将速度降低到 [code]0[/code]。等于或大于物理帧速率的值将使对象在一次迭代中停" +"止,[member ProjectSettings.physics/common/physics_fps] 默认情况下为 " +"[code]60[/code]。" #: doc/classes/ProjectSettings.xml msgid "" @@ -58757,8 +59047,8 @@ msgid "" "alternative." msgstr "" "设置用于 3D 物理的物理引擎。\n" -"\"DEFAULT\"目前是 [url=https://bulletphysics.org]Bullet[/url] 物理引擎。仍然" -"支持\"GodotPhysics\"引擎作为替代。" +"“DEFAULT”目前是 [url=https://bulletphysics.org]Bullet[/url] 物理引擎。仍然支" +"持“GodotPhysics”引擎作为替代。" #: doc/classes/ProjectSettings.xml msgid "" @@ -58769,6 +59059,11 @@ msgid "" "[code]DEFAULT[/code] or [code]Bullet[/code], [i]not[/i] [code]GodotPhysics[/" "code]." msgstr "" +"如果为 [code]true[/code],会让 Bullet 物理引擎为每一个三角网格形状生成内部边" +"缘信息,让与三角网格形状([ConcavePolygonShape])的碰撞变平滑。\n" +"[b]注意:[/b]仅在 [member physics/3d/physics_engine] 被设为 [code]DEFAULT[/" +"code] 或 [code]Bullet[/code] 时有效,为 [code]GodotPhysics[/code] 时[i]无效[/" +"i]。" #: doc/classes/ProjectSettings.xml msgid "Enables [member Viewport.physics_object_picking] on the root viewport." @@ -58787,13 +59082,13 @@ msgid "" "picking input events during pause (so nodes won't get them) and flushing " "that queue on resume, against the state of the 2D/3D world at that point." msgstr "" -"如果启用,2D 和 3D 物理pick在暂停时会这样表现:\n" +"如果启用,2D 和 3D 物理拾取在暂停时会这样表现:\n" "- 暂停开始时,悬停或捕获的每个碰撞对象(仅限 3D)都会从该状态中释放出来,获得" "相关的鼠标退出回调,除非其暂停模式使其免于暂停。\n" -"- 在暂停期间,pick只考虑不受暂停的碰撞对象,发送输入事件和输入/退出回调到他们" -"预期。\n" -"如果禁用,则使用过去的行为,包括在暂停期间排队等待pick输入事件(因此节点不会" -"获取它们),并在恢复时根据2D/3D世界的状态刷新该队列。" +"- 在暂停期间,拾取只会考虑不受暂停影响的碰撞对象,正常发送输入事件和进入/退出" +"回调。\n" +"如果禁用,则使用旧有行为,包括在暂停期间排队等待拾取输入事件(因此节点不会获" +"取它们),并在恢复时根据 2D/3D 世界的状态刷新该队列。" #: doc/classes/ProjectSettings.xml msgid "" @@ -58931,8 +59226,9 @@ msgid "" "Not available in GLES3 when [member rendering/batching/options/use_batching] " "is off." msgstr "" -"在固定模式和缩放模式之间进行选择,前者保留了与图稿(artwork)相匹配的角缩放。\n" -"当[member rendering/batching/options/use_batching]关闭时,在GLES3中不可用。" +"在固定模式和缩放模式之间进行选择,前者保留了与图稿相匹配的角缩放。\n" +"当 [member rendering/batching/options/use_batching] 关闭时,在 GLES3 中不可" +"用。" #: doc/classes/ProjectSettings.xml msgid "" @@ -58968,10 +59264,10 @@ msgstr "" "的更大兼容性,并且在某些情况下也可能更快。\n" "当前仅在 [member rendering/batching/options/use_batching] 处于活动状态时可" "用。\n" -"[b]注意:[/b] 不支持抗锯齿软件蒙皮多边形,将在没有抗锯齿的情况下渲染。\n" -"[b]注意:[/b] 使用内置 [code]VERTEX[/code] 的自定义着色器在应用蒙皮[i]之后[/" -"i]以 [code]VERTEX[/code] 位置运行,而使用硬件蒙皮,[code]VERTEX[/code] 是被应" -"用蒙皮[i]之前[/i]的位置。" +"[b]注意:[/b]不支持抗锯齿软件蒙皮多边形,将在没有抗锯齿的情况下渲染。\n" +"[b]注意:[/b]使用内置 [code]VERTEX[/code] 的自定义着色器在应用蒙皮[i]之后[/i]" +"以 [code]VERTEX[/code] 位置运行,而使用硬件蒙皮,[code]VERTEX[/code] 是被应用" +"蒙皮[i]之前[/i]的位置。" #: doc/classes/ProjectSettings.xml msgid "" @@ -59111,11 +59407,10 @@ msgid "" "coordinates used. Note that this can result in a slight squashing of border " "texels." msgstr "" -"在某些平台(尤其是移动平台)上,着色器中的精度问题可能会导致读取 1 texel 超出" -"边界,尤其是在缩放 rect 的情况下。这尤其会导致瓷砖地图中瓷砖周围的边界伪" -"影。\n" +"在某些平台(尤其是移动平台)上,着色器中的精度问题可能会导致读取 1 纹素超出边" +"界,尤其是在缩放矩形的情况下。这尤其会导致图块地图中图块周围的边界伪影。\n" "此调整通过对使用的 UV 坐标进行小幅收缩来对此进行校正。请注意,这可能会导致边" -"界纹理的轻微挤压。" +"界纹素的轻微挤压。" #: doc/classes/ProjectSettings.xml msgid "" @@ -59124,8 +59419,8 @@ msgid "" "both ranged from 0.0 to 1.0.\n" "Use the default unless correcting for a problem on particular hardware." msgstr "" -"UV收缩量。这个数字除以1000000,是总纹理尺寸的一个比例,宽度和高度都在0.0到1.0" -"之间。\n" +"UV 收缩量。这个数字除以 1000000,是总纹理尺寸的一个比例,宽度和高度都在 0.0 " +"到 1.0 之间。\n" "除非为了纠正特定硬件上的问题,否则请使用默认值。" #: doc/classes/ProjectSettings.xml @@ -59204,7 +59499,7 @@ msgid "" msgstr "" "如果 [code]true[/code] 并且在目标 Android 设备上可用,则为 GLES2 中的所有着色" "器计算启用高浮点精度。\n" -"[b]警告:[/b] 高浮点精度在旧设备上可能非常慢,而且通常根本不可用。谨慎使用。" +"[b]警告:[/b]高浮点精度在旧设备上可能非常慢,而且通常根本不可用。谨慎使用。" #: doc/classes/ProjectSettings.xml msgid "" @@ -59343,7 +59638,7 @@ msgstr "" "如果想要在项目运行至少一次后减少加载时间,你可以使用 [code]Asynchronous + " "Cache[/code]。这样会让超级着色器也被缓存到存储之中,这样下一次使用时准备起来" "就会更快(前提是平台支持这么做)。\n" -"[b]注意:[/b] 异步编译目前只支持空间(3D)和粒子材质/着色器。即使该设置为 " +"[b]注意:[/b]异步编译目前只支持空间(3D)和粒子材质/着色器。即使该设置为 " "[code]Asynchronous[/code] 或 [code]Asynchronous + Cache[/code],画布项(2D)" "着色器也不会使用异步编译。" @@ -59354,6 +59649,9 @@ msgid "" "You may want to do that since mobile GPUs generally won't support " "ubershaders due to their complexity." msgstr "" +"[code]rendering/gles3/shaders/shader_compilation_mode[/code] 的覆盖项,用于为" +"移动设备禁用异步编译。\n" +"移动 GPU 通常不会支持超级着色器,因为其复杂度较高。" #: doc/classes/ProjectSettings.xml msgid "" @@ -59444,8 +59742,8 @@ msgid "" "If [code]true[/code], the texture importer will import lossless textures " "using the PNG format. Otherwise, it will default to using WebP." msgstr "" -"如果[code]true[/code],纹理导入器将使用PNG格式导入无损纹理。否则,将默认使用" -"WebP。" +"如果为 [code]true[/code],纹理导入器将使用 PNG 格式导入无损纹理。否则默认使" +"用 WebP。" #: doc/classes/ProjectSettings.xml msgid "" @@ -59455,9 +59753,9 @@ msgid "" "Note that compression levels above 6 are very slow and offer very little " "savings." msgstr "" -"无损WebP的默认压缩级别。更高的级别会产生更小的文件,但会牺牲压缩速度。解压速" -"度大多不受压缩级别的影响。支持的值是0到9。请注意,高于6的压缩级别是非常慢的," -"而且节省的占用非常少。" +"无损 WebP 的默认压缩级别。更高的级别会产生更小的文件,但会牺牲压缩速度。解压" +"速度大多不受压缩级别的影响。支持的值是 0 到 9。请注意,高于 6 的压缩级别非常" +"慢,而且节省的占用非常少。" #: doc/classes/ProjectSettings.xml msgid "" @@ -59517,7 +59815,7 @@ msgid "" "[b]Note:[/b] This will automatically be disabled in exports." msgstr "" "显示转换日志。\n" -"[b]注意:[/b] 这将在导出时自动禁用。" +"[b]注意:[/b]这将在导出时自动禁用。" #: doc/classes/ProjectSettings.xml msgid "" @@ -59525,7 +59823,7 @@ msgid "" "code]. If [code]false[/code], they will be sent as [code]notifications[/" "code]." msgstr "" -"如果 [code]true[/code],游戏回调将作为 [code]信号[/code] 发送。如果" +"如果为 [code]true[/code],游戏回调将作为 [code]signal[/code] 发送。如果为 " "[code]false[/code],它们将作为[code]通知[/code]发送。" #: doc/classes/ProjectSettings.xml @@ -59546,7 +59844,7 @@ msgid "" "[b]Note:[/b] This will automatically be disabled in exports." msgstr "" "在 PVS 生成期间显示日志。\n" -"[b]注意:[/b] 这将在导出时自动禁用。" +"[b]注意:[/b]这将在导出时自动禁用。" #: doc/classes/ProjectSettings.xml msgid "" @@ -59557,9 +59855,9 @@ msgid "" "when it is set to [code]false[/code], i.e. there are problems with the " "default method." msgstr "" -"使用生成 PVS(潜在可见集)数据的简化方法。当多个portal连接相邻空间时,结果可" -"能不准确。\n" -"[b]注意:[/b]一般只有在设置为[code]false[/code]时遇到bug,即默认方法有问题" +"使用生成 PVS(潜在可见集)数据的简化方法。当多个入口连接相邻空间时,结果可能" +"不准确。\n" +"[b]注意:[/b]一般只有在设置为 [code]false[/code] 遇到问题,即默认方法有问题" "时,才应该使用该选项。" #: doc/classes/ProjectSettings.xml @@ -59574,7 +59872,7 @@ msgstr "" "如果为 [code]true[/code],分配根 [Viewport] 的帧缓冲时将使用高动态范围。高动" "态范围允许使用大于 1 的 [Color] 值。如果 [member Environment." "glow_hdr_threshold] 大于等于 [code]1.0[/code],那么就必须将其设为 " -"[code]true[/code],发光渲染才能正常工作。\n" +"[code]true[/code],辉光渲染才能正常工作。\n" "[b]注意:[/b]仅在 GLES3 后端中可用。" #: doc/classes/ProjectSettings.xml @@ -59587,7 +59885,7 @@ msgid "" msgstr "" "[member rendering/quality/depth/hdr] 在移动设备上的低端的覆盖项,为的是性能考" "量或驱动支持。如果 [member Environment.glow_hdr_threshold] 大于等于 " -"[code]1.0[/code],那么就必须将其设为 [code]true[/code],发光渲染才能正常工" +"[code]1.0[/code],那么就必须将其设为 [code]true[/code],辉光渲染才能正常工" "作。\n" "[b]注意:[/b]仅在 GLES3 后端中可用。" @@ -59616,7 +59914,8 @@ msgid "" "Disables depth pre-pass for some GPU vendors (usually mobile), as their " "architecture already does this." msgstr "" -"对一些GPU供应商(通常是移动设备)禁用深度预处理,因为他们的架构已经做了这个。" +"对一些 GPU 供应商(通常是移动设备)禁用深度预处理,因为他们的架构已经做了这" +"个。" #: doc/classes/ProjectSettings.xml msgid "" @@ -59624,8 +59923,8 @@ msgid "" "materials. This increases performance in scenes with high overdraw, when " "complex materials and lighting are used." msgstr "" -"如果 [code]true[/code],则在渲染材质之前执行先前的深度传递。当使用复杂的材质" -"和照明时,这会提高高透支场景的性能。" +"如果为 [code]true[/code],则在渲染材质之前执行更早的深度阶段。当使用复杂的材" +"质和照明时,会提高高度重绘场景的性能。" #: doc/classes/ProjectSettings.xml msgid "" @@ -59635,8 +59934,8 @@ msgid "" "will be applied immediately." msgstr "" "方向性阴影的大小,以像素为单位。更高的值会导致更清晰的阴影,但会以性能为代" -"价。该值将被四舍五入到最接近的 2 次方。该设置可以在运行时修改;修改会立即生" -"效。" +"价。该值将被四舍五入到最接近的 2 的指数倍。该设置可以在运行时修改;修改会立即" +"生效。" #: doc/classes/ProjectSettings.xml msgid "" @@ -59674,7 +59973,7 @@ msgid "" msgstr "" "如果 [code]true[/code],且不支持 GLES3 驱动程序,则允许回退到 GLES2 驱动程" "序。\n" -"[b]注意:[/b] 两个显卡驱动不是互相替代的,所以为 GLES3 设计的游戏在回退到 " +"[b]注意:[/b]两个显卡驱动不是互相替代的,所以为 GLES3 设计的游戏在回退到 " "GLES2 时可能无法正常运行。特别是,GLES3 后端的某些功能在 GLES2 中不可用。启用" "此设置还意味着 ETC 和 ETC2 VRAM 压缩纹理将在 Android 和 iOS 上导出,从而增加" "数据包的大小。" @@ -59687,7 +59986,7 @@ msgid "" "4, 8, 16)." msgstr "" "用于启用各向异性的纹理的最大各向异性过滤器级别。从倾斜角度查看时,较高的值将" -"导致更清晰的纹理,但会牺牲性能。只有二的指数倍的值(如2、4、8、16)是有效。" +"导致更清晰的纹理,但会牺牲性能。只有二的指数倍的值是有效(如 2、4、8、16)。" #: doc/classes/ProjectSettings.xml msgid "" @@ -59696,9 +59995,9 @@ msgid "" "but can be significantly slower on some hardware.\n" "[b]Note:[/b] MSAA is not available on HTML5 export using the GLES2 backend." msgstr "" -"设置要使用的MSAA样本数。MSAA用来减少多边形边缘的混叠。较高的MSAA值可以使边缘" -"更平滑,但在某些硬件上会明显变慢。\n" -"[b]注意:[/b] MSAA在使用GLES2后端的HTML5导出中不可用。" +"设置要使用的 MSAA 样本数。MSAA 可用于减少多边形边缘的混叠。较高的 MSAA 值可以" +"使边缘更平滑,但在某些硬件上会明显变慢。\n" +"[b]注意:[/b]MSAA 在使用 GLES2 后端的 HTML5 导出中不可用。" #: doc/classes/ProjectSettings.xml msgid "" @@ -59710,7 +60009,8 @@ msgid "" msgstr "" "如果设置为大于 [code]0.0[/code] 的值,对比度自适应锐化将应用于 3D 视口。这具" "有较低的性能成本,可用于恢复使用 FXAA 时损失的一些锐度。 [code]0.5[/code] 附" -"近的值通常会给出最好的结果。另见[member rendering/quality/filters/use_fxaa]。" +"近的值通常会给出最好的结果。另见 [member rendering/quality/filters/" +"use_fxaa]。" #: doc/classes/ProjectSettings.xml msgid "" @@ -59725,13 +60025,13 @@ msgid "" "mobile platforms. Due to this, it is recommended to leave this option " "disabled when targeting mobile platforms." msgstr "" -"如果 [code]true[/code],则使用快速后处理过滤器使条带明显不那么明显。在某些情" -"况下,去带可能会引入稍微明显的抖动模式。建议仅在实际需要时启用 debanding,因" -"为抖动模式会使无损压缩的屏幕截图更大。\n" -"[b]注意:[/b] 仅在 GLES3 后端可用。 [member rendering/quality/depth/hdr] 也必" +"如果为 [code]true[/code],则使用快速后处理过滤器使条带明显不那么明显。在某些" +"情况下,去带可能会引入稍微明显的抖动模式。建议仅在实际需要时启用去条带,因为" +"抖动模式会使无损压缩的屏幕截图更大。\n" +"[b]注意:[/b]仅在 GLES3 后端可用。 [member rendering/quality/depth/hdr] 也必" "须为 [code]true[/code] 才能使去色带有效。\n" -"[b]注意:[/b] 已知在移动平台上的去色带存在破坏渲染的问题。因此,建议在用于移" -"动平台时禁用此选项。" +"[b]注意:[/b]已知在移动平台上的去色带存在破坏渲染的问题。因此,建议在用于移动" +"平台时禁用此选项。" #: doc/classes/ProjectSettings.xml msgid "" @@ -59742,10 +60042,10 @@ msgid "" "recovered by enabling contrast-adaptive sharpening (see [member rendering/" "quality/filters/sharpen_intensity])." msgstr "" -"在根视窗中启用FXAA。FXAA是一种流行的屏幕空间抗锯齿方法,它速度快,但会使图像" -"看起来很模糊,特别是在低分辨率下。在1440p和4K这样的大分辨率下,可以工作得比较" -"好。一些损失的锐度可以通过启用对比度适应性锐化来恢复,参阅[member rendering/" -"quality/filters/sharpen_intensity]。" +"在根 Viewport 中启用 FXAA。FXAA 是一种流行的屏幕空间抗锯齿方法,它速度快,但" +"会使图像看起来很模糊,特别是在低分辨率下。在 1440p 和 4K 这样的大分辨率下,可" +"以工作得比较好。一些损失的锐度可以通过启用对比度适应性锐化来恢复,参阅 " +"[member rendering/quality/filters/sharpen_intensity]。" #: doc/classes/ProjectSettings.xml msgid "" @@ -59772,7 +60072,7 @@ msgstr "" "用于帧缓冲区的分配策略。它越简单,使用的资源就越少(但支持的功能也越少)。如" "果设置为“2D Without Sampling”(2D 无采样)或“3D Without Effects”(3D 无特" "效),将不分配采样缓冲区。这意味着 [code]SCREEN_TEXTURE[/code] 和 " -"[code]DEPTH_TEXTURE[/code] 将不能在着色器中使用,发光等后期处理特效将不能在 " +"[code]DEPTH_TEXTURE[/code] 将不能在着色器中使用,辉光等后处理特效将不能在 " "[Environment] 中使用。" #: doc/classes/ProjectSettings.xml @@ -59848,7 +60148,7 @@ msgstr "" "限制辐照度贴图的大小,通常由 [member Sky.radiance_size] 确定。与[member " "rendering/quality/reflections/high_quality_ggx] 类似,更大的尺寸会产生更高质" "量的辐照度贴图。使用高频 HDRI 贴图时使用较高的值,否则请尽可能降低该值。\n" -"[b]注意:[/b] 中低档硬件不能很好地支持复杂的辐照度贴图,如果设置太高可能会崩" +"[b]注意:[/b]中低档硬件不能很好地支持复杂的辐照度贴图,如果设置太高可能会崩" "溃。" #: doc/classes/ProjectSettings.xml @@ -59866,16 +60166,16 @@ msgid "" "texture_array_reflections] on mobile devices, due to performance concerns or " "driver support." msgstr "" -"由于性能问题或驱动支持,在移动设备上将对[member rendering/quality/" -"reflections/texture_array_reflections]以低性能数值覆盖。" +"由于性能问题或驱动支持,在移动设备上将对 [member rendering/quality/" +"reflections/texture_array_reflections] 以低性能数值覆盖。" #: doc/classes/ProjectSettings.xml msgid "" "If [code]true[/code], uses faster but lower-quality Blinn model to generate " "blurred reflections instead of the GGX model." msgstr "" -"如果 [code]true[/code],则使用速度更快但质量较低的 Blinn 模型而不是 GGX 模型" -"来生成模糊反射。" +"如果为 [code]true[/code],则使用速度更快但质量较低的 Blinn 模型来生成模糊反" +"射,不使用 GGX 模型。" #: doc/classes/ProjectSettings.xml msgid "" @@ -59883,16 +60183,16 @@ msgid "" "force_blinn_over_ggx] on mobile devices, due to performance concerns or " "driver support." msgstr "" -"由于性能或驱动支持问题,在移动设备上将对[member rendering/quality/shading/" -"force_blinn_over_ggx]以低值覆盖。" +"由于性能或驱动支持问题,在移动设备上将对 [member rendering/quality/shading/" +"force_blinn_over_ggx] 以低值覆盖。" #: doc/classes/ProjectSettings.xml msgid "" "If [code]true[/code], uses faster but lower-quality Lambert material " "lighting model instead of Burley." msgstr "" -"如果 [code]true[/code],则使用速度更快但质量较低的 Lambert 材质照明模型而不" -"是 Burley。" +"如果为 [code]true[/code],则使用速度更快但质量较低的 Lambert 材质照明模型,不" +"使用 Burley 模型。" #: doc/classes/ProjectSettings.xml msgid "" @@ -59900,26 +60200,33 @@ msgid "" "force_lambert_over_burley] on mobile devices, due to performance concerns or " "driver support." msgstr "" -"由于性能问题或驱动支持,在移动设备上将对[member rendering/quality/shading/" -"force_lambert_over_burley]以低配数值覆盖。" +"由于性能问题或驱动支持,在移动设备上将对 [member rendering/quality/shading/" +"force_lambert_over_burley] 以低配数值覆盖。" #: doc/classes/ProjectSettings.xml msgid "" -"If [code]true[/code], forces vertex shading for all rendering. This can " -"increase performance a lot, but also reduces quality immensely. Can be used " -"to optimize performance on low-end mobile devices." +"If [code]true[/code], forces vertex shading for all 3D [SpatialMaterial] and " +"[ShaderMaterial] rendering. This can be used to improve performance on low-" +"end mobile devices. The downside is that shading becomes much less accurate, " +"with visible linear interpolation between vertices that are joined together. " +"This can be compensated by ensuring meshes have a sufficient level of " +"subdivision (but not too much, to avoid reducing performance). Some material " +"features are also not supported when vertex shading is enabled.\n" +"See also [member SpatialMaterial.flags_vertex_lighting] which can be used to " +"enable vertex shading on specific materials only.\n" +"[b]Note:[/b] This setting does not affect unshaded materials." msgstr "" -"如果 [code]true[/code],则为所有渲染强制顶点着色。这可以大大提高性能,但也会" -"极大地降低质量。可用于优化低端移动设备的性能。" #: doc/classes/ProjectSettings.xml +#, fuzzy msgid "" "Lower-end override for [member rendering/quality/shading/" "force_vertex_shading] on mobile devices, due to performance concerns or " -"driver support." +"driver support. If lighting looks broken after exporting the project to a " +"mobile platform, try disabling this setting." msgstr "" -"由于性能问题或驱动支持,在移动设备上将对[member rendering/quality/shading/" -"force_vertex_shading]以低配数值覆盖。" +"由于性能问题或驱动支持,在移动设备上将对 [member rendering/quality/shading/" +"force_vertex_shading] 以低配数值覆盖。" #: doc/classes/ProjectSettings.xml msgid "" @@ -59931,9 +60238,9 @@ msgid "" "energy or attenuation values.\n" "Changes to this setting will only be applied upon restarting the application." msgstr "" -"如果 [code]true[/code],则为 [OmniLight] 和 [SpotLight] 启用新的物理光衰减。" -"这会以非常小的性能成本获得更逼真的照明外观。启用物理光衰减后,由于新的衰减公" -"式,灯光会显得更暗。这可以通过调整灯光的能量或衰减值来补偿。\n" +"如果为 [code]true[/code],则为 [OmniLight] 和 [SpotLight] 启用新的物理光衰" +"减。这会以非常小的性能成本获得更逼真的照明外观。启用物理光衰减后,由于新的衰" +"减公式,灯光会显得更暗。这可以通过调整灯光的能量或衰减值来补偿。\n" "对此设置的更改只会在重新启动应用程序时应用。" #: doc/classes/ProjectSettings.xml @@ -59959,7 +60266,7 @@ msgstr "阴影贴图的细分象限大小。请参阅阴影映射文档。" msgid "" "Size for shadow atlas (used for OmniLights and SpotLights). See " "documentation." -msgstr "阴影图集的尺寸(用于OmniLights和SpotLights)。见文档。" +msgstr "阴影图集的尺寸(用于 OmniLight 和 SpotLight)。见文档。" #: doc/classes/ProjectSettings.xml msgid "" @@ -59967,7 +60274,7 @@ msgid "" "mobile devices, due to performance concerns or driver support." msgstr "" "由于性能或驱动支持问题,在移动设备上将对 [member rendering/quality/" -"shadow_atlas/size]以低配数值覆盖。" +"shadow_atlas/size] 以低配数值覆盖。" #: doc/classes/ProjectSettings.xml msgid "" @@ -59979,11 +60286,11 @@ msgid "" "uses 16 samples to emulate linear filtering in the shader. This results in a " "shadow appearance similar to the one produced by the GLES3 backend." msgstr "" -"阴影过滤模式。较高的质量设置会产生更平滑的阴影,在移动时闪烁更少。\"禁用 \"是" -"最快的选项,但也有最低的质量。\"PCF5 \"更平滑,但也更慢。\"PCF13 \"是最平滑的" -"选项,但也是最慢的。\n" -"[b]注意:[/b] 当使用GLES2后端时,\"PCF13 \"选项实际上使用16个样本来模拟着色器" -"中的线性滤波。这导致了与GLES3后端产生的阴影外观相似。" +"阴影过滤模式。较高的质量设置会产生更平滑的阴影,在移动时闪烁更" +"少。“Disabled”是最快的选项,但也有最低的质量。“PCF5”更平滑,但也更" +"慢。“PCF13”是最平滑的选项,但也是最慢的。\n" +"[b]注意:[/b]当使用 GLES2 后端时,“PCF13”选项实际上使用 16 个样本来模拟着色器" +"中的线性滤波。这导致了与 GLES3 后端产生的阴影外观相似。" #: doc/classes/ProjectSettings.xml msgid "" @@ -60000,7 +60307,7 @@ msgid "" "See also [member rendering/quality/skinning/software_skinning_fallback]." msgstr "" "强制 [MeshInstance] 始终在 CPU 上执行蒙皮(适用于 GLES2 和 GLES3)。\n" -"另见[member rendering/quality/skinning/software_skinning_fallback]。" +"另见 [member rendering/quality/skinning/software_skinning_fallback]。" #: doc/classes/ProjectSettings.xml msgid "" @@ -60018,8 +60325,8 @@ msgstr "" "如果 [code]false[/code],则在这种情况下使用 GPU 上的替代蒙皮过程(在大多数情" "况下较慢)。\n" "另见[member rendering/quality/skinning/force_software_skinning]。\n" -"[b]注意:[/b] 当触发软件蒙皮回退时,自定义顶点着色器将以不同的方式运行,因为" -"骨骼变换已经应用于模型视图矩阵。" +"[b]注意:[/b]当触发软件蒙皮回退时,自定义顶点着色器将以不同的方式运行,因为骨" +"骼变换已经应用于模型视图矩阵。" #: doc/classes/ProjectSettings.xml msgid "" @@ -60117,8 +60424,8 @@ msgid "" "located inside the project folder then restart the editor (see [member " "application/config/use_hidden_project_data_directory])." msgstr "" -"如果 [code]true[/code],纹理导入器将使用 BPTC 算法导入 VRAM 压缩的纹理。此纹" -"理压缩算法仅在桌面平台得到支持,并且仅在使用 GLES3 渲染器时才受支持。\n" +"如果为 [code]true[/code],纹理导入器将使用 BPTC 算法导入 VRAM 压缩的纹理。此" +"纹理压缩算法仅在桌面平台得到支持,并且仅在使用 GLES3 渲染器时才受支持。\n" "[b]注意:[/b]更改此设置不会[i]不[/i]影响之前已经导入的纹理。要将此设置应用于" "已导入的纹理,请退出编辑器,删除位于项目文件夹内的 [code].import/[/code] 文件" "夹,然后重新启动编辑器(参阅 [member application/config/" @@ -60135,8 +60442,8 @@ msgid "" "located inside the project folder then restart the editor (see [member " "application/config/use_hidden_project_data_directory])." msgstr "" -"如果 [code]true[/code],纹理导入器将使用爱立信纹理压缩算法导入 VRAM 压缩的纹" -"理。此算法不支持纹理中的 Alpha 通道。\n" +"如果为 [code]true[/code],纹理导入器将使用爱立信纹理压缩算法导入 VRAM 压缩的" +"纹理。此算法不支持纹理中的 Alpha 通道。\n" "[b]注意:[/b]更改此设置[i]不会[/i]影响之前已经导入的纹理。要将此设置应用于已" "导入的纹理,请退出编辑器,删除位于项目中的 [code].import/[/code] 文件夹,然后" "重新启动编辑器,参阅 [member application/config/" @@ -60153,8 +60460,8 @@ msgid "" "located inside the project folder then restart the editor (see [member " "application/config/use_hidden_project_data_directory])." msgstr "" -"如果 [code]true[/code],纹理导入器将使用爱立信纹理压缩 2 算法导入 VRAM 压缩的" -"纹理。仅在使用 GLES3 渲染器时,才支持此纹理压缩算法。\n" +"如果为 [code]true[/code],纹理导入器将使用爱立信纹理压缩 2 算法导入 VRAM 压缩" +"的纹理。仅在使用 GLES3 渲染器时,才支持此纹理压缩算法。\n" "[b]注意:[/b]更改此设置[i]不会[/i]影响之前已经导入的纹理。要将此设置应用于已" "导入的纹理,请退出编辑器,删除位于项目中的 [code].import/[/code] 文件夹,然后" "重新启动编辑器,参阅 [member application/config/" @@ -60171,8 +60478,8 @@ msgid "" "located inside the project folder then restart the editor (see [member " "application/config/use_hidden_project_data_directory])." msgstr "" -"如果 [code]true[/code],纹理导入器将使用 PowerVR 纹理压缩算法导入 VRAM 压缩的" -"纹理。此纹理压缩算法仅在 iOS 上受支持。\n" +"如果为 [code]true[/code],纹理导入器将使用 PowerVR 纹理压缩算法导入 VRAM 压缩" +"的纹理。此纹理压缩算法仅在 iOS 上受支持。\n" "[b]注意:[/b]更改此设置[i]不会[/i]影响之前已经导入的纹理。要将此设置应用于已" "导入的纹理,请退出编辑器,删除位于项目中的 [code].import/[/code] 文件夹,然后" "重新启动编辑器,参阅 [member application/config/" @@ -60189,7 +60496,7 @@ msgid "" "located inside the project folder then restart the editor (see [member " "application/config/use_hidden_project_data_directory])." msgstr "" -"如果 [code]true[/code],纹理导入器将使用 S3 纹理压缩算法导入 VRAM 压缩的纹" +"如果为 [code]true[/code],纹理导入器将使用 S3 纹理压缩算法导入 VRAM 压缩的纹" "理。此算法仅在桌面平台和控制台中受支持。\n" "[b]注意:[/b]更改此设置[i]不会[/i]影响之前已经导入的纹理。要将此设置应用于已" "导入的纹理,请退出编辑器,删除位于项目中的 [code].import/[/code] 文件夹,然后" @@ -60224,9 +60531,9 @@ msgid "" "default rotation is more suited for use with billboarded materials. Unlike " "[PlaneMesh], this mesh doesn't provide subdivision options." msgstr "" -"代表一个正方形的类[PrimitiveMesh]。这个平面网格没有厚度。默认情况下,这个网格" -"在X轴和Y轴上是对齐的;这个默认的旋转方式更适合于使用广告牌的材质。与" -"[PlaneMesh]不同,这个网格不提供细分选项。" +"代表正方形 [PrimitiveMesh] 的类。这个平面网格没有厚度。默认情况下,这个网格" +"在 X 轴和 Y 轴上是对齐的;这个默认的旋转方式更适合于使用广告牌的材质。与 " +"[PlaneMesh] 不同,这个网格不提供细分选项。" #: doc/classes/QuadMesh.xml doc/classes/Viewport.xml #: doc/classes/ViewportTexture.xml @@ -60375,7 +60682,7 @@ msgid "" "[b]Note:[/b] Both quaternions must be normalized." msgstr "" "返回四元数 [code]to[/code]和 [code]weight[/code]值的球面线性插值的结果。\n" -"[b]注意:[/b] 四元数必须被归一化。" +"[b]注意:[/b]四元数必须被归一化。" #: doc/classes/Quat.xml msgid "" @@ -60579,9 +60886,9 @@ msgstr "" "rng.state = saved_state # Restore the state.\n" "print(rng.randf()) # Prints the same value as in previous.\n" "[/codeblock]\n" -"[b]注意:[/b] 不要将状态设置为任意值,因为随机数生成器要求状态具有某些特性才" -"能正常运行。它应该只设置为来自状态属性本身的值。要使用任意输入初始化随机数生" -"成器,请改用 [member seed]。" +"[b]注意:[/b]不要将状态设置为任意值,因为随机数生成器要求状态具有某些特性才能" +"正常运行。它应该只设置为来自状态属性本身的值。要使用任意输入初始化随机数生成" +"器,请改用 [member seed]。" #: doc/classes/Range.xml msgid "Abstract base class for range-based controls." @@ -60597,19 +60904,18 @@ msgstr "" "一个浮点[i]值[/i],用于[i]步进[/i]和[i]页面[/i],例如[ScrollBar]。" #: doc/classes/Range.xml -#, fuzzy msgid "" "Binds two [Range]s together along with any ranges previously grouped with " "either of them. When any of range's member variables change, it will share " "the new value with all other ranges in its group." msgstr "" -"将两个范围和之前与它们中任何一个分组的任何范围绑定在一起。当任何一个范围的成" -"员变量改变时,它将与它的组中的所有其他范围共享新的值。" +"将两个 [Range] 绑定,之前已与两者之中的任何一个组合的 Range 也会被绑定在一" +"起。其中任何一个 Range 的成员变量改变时,它将与它的组中的所有其他 Range 共享" +"新值。" #: doc/classes/Range.xml -#, fuzzy msgid "Stops the [Range] from sharing its member variables with any other." -msgstr "停止与任何其他成员变量共享其成员变量的范围。" +msgstr "使该 [Range] 停止与任何其他 Range 共享其成员变量。" #: doc/classes/Range.xml msgid "" @@ -60696,6 +61002,11 @@ msgid "" "value_changed] is also emitted when [code]value[/code] is set directly via " "code." msgstr "" +"[member value] 变化时触发。用于 [Slider] 时,拖拽时会连续调用(可能每帧都会调" +"用)。如果你在与 [signal value_changed] 相连的函数中执行较昂贵的操作,请考虑" +"使用 [Timer] [i]去除抖动[/i],降低该函数的调用频率。\n" +"[b]注意:[/b]与 [signal LineEdit.text_changed] 等信号不同,[signal " +"value_changed] 还会在 [code]value[/code] 由代码直接修改时触发。" #: doc/classes/RayCast.xml doc/classes/RayCast2D.xml msgid "Query the closest object intersecting a ray." @@ -60755,7 +61066,7 @@ msgid "" msgstr "" "更新射线的碰撞信息。使用此方法立即更新碰撞信息,而不是等待下一次 " "[code]_physics_process[/code] 调用,例如,如果光线或其父级已更改状态。\n" -"[b]注意:[/b] [code]enabled[/code]不需要此功能。" +"[b]注意:[/b][code]enabled[/code]不需要此功能。" #: doc/classes/RayCast.xml doc/classes/RayCast2D.xml msgid "" @@ -60780,8 +61091,8 @@ msgid "" "Returns [code]true[/code] if the bit index passed is turned on.\n" "[b]Note:[/b] Bit indices range from 0-19." msgstr "" -"如果通过的位索引被打开,则返回[code]true[/code]。\n" -"[b]注意:[/b] 位指数范围为0-19。" +"如果通过的位索引被打开,则返回 [code]true[/code]。\n" +"[b]注意:[/b]位指数范围为0-19。" #: doc/classes/RayCast.xml doc/classes/RayCast2D.xml msgid "" @@ -60820,7 +61131,7 @@ msgid "" "[b]Note:[/b] Bit indexes range from 0-19." msgstr "" "将传递的位索引设置为传递的[code]值[/code]。\n" -"[b]注意:[/b] 位索引的范围是0-19。" +"[b]注意:[/b]位索引的范围是0-19。" #: doc/classes/RayCast.xml doc/classes/RayCast2D.xml msgid "" @@ -60829,11 +61140,11 @@ msgstr "光线的目标点,相对于该 RayCast 的 [code]position[/code]。" #: doc/classes/RayCast.xml msgid "If [code]true[/code], collision with [Area]s will be reported." -msgstr "如果 [code]true[/code],将反馈与 [Area] 的碰撞。" +msgstr "如果为 [code]true[/code],将报告与 [Area] 的碰撞。" #: doc/classes/RayCast.xml msgid "If [code]true[/code], collision with [PhysicsBody]s will be reported." -msgstr "如果 [code]true[/code],将反馈与 [PhysicsBody] 的碰撞。" +msgstr "如果为 [code]true[/code],将报告与 [PhysicsBody] 的碰撞。" #: doc/classes/RayCast.xml doc/classes/RayCast2D.xml msgid "" @@ -60874,13 +61185,13 @@ msgstr "" #: doc/classes/RayCast.xml doc/classes/RayCast2D.xml msgid "If [code]true[/code], collisions will be reported." -msgstr "如果 [code]true[/code],将报告碰撞。" +msgstr "如果为 [code]true[/code],将报告碰撞。" #: doc/classes/RayCast.xml msgid "" "If [code]true[/code], collisions will be ignored for this RayCast's " "immediate parent." -msgstr "如果 [code]true[/code],则此 RayCast 的直接父级的碰撞将被忽略。" +msgstr "如果为 [code]true[/code],将忽略与这个 RayCast 的直接父级的碰撞。" #: doc/classes/RayCast2D.xml msgid "" @@ -60919,17 +61230,17 @@ msgstr "设置或清除碰撞掩码上的单个位。这使得选择扫描区域 #: doc/classes/RayCast2D.xml msgid "If [code]true[/code], collision with [Area2D]s will be reported." -msgstr "如果[code]true[/code],将报告与[Area2D]的碰撞。" +msgstr "如果为 [code]true[/code],将报告与 [Area2D] 的碰撞。" #: doc/classes/RayCast2D.xml msgid "If [code]true[/code], collision with [PhysicsBody2D]s will be reported." -msgstr "如果[code]true[/code],会报告与[PhysicsBody2D]的碰撞。" +msgstr "如果为 [code]true[/code],将报告与 [PhysicsBody2D] 的碰撞。" #: doc/classes/RayCast2D.xml msgid "" "If [code]true[/code], the parent node will be excluded from collision " "detection." -msgstr "如果[code]true[/code],父节点将被排除在碰撞检测之外。" +msgstr "如果为 [code]true[/code],父节点将被排除在碰撞检测之外。" #: doc/classes/RayShape.xml msgid "Ray shape for 3D collisions." @@ -61079,7 +61390,7 @@ msgid "" msgstr "" "返回 [code]true[/code] 时,该 [Rect2] 包含此点。依照惯例,[Rect2] 的右边缘和" "下边缘是被排除在外的,因此[b]不[/b]包含位于这两条边上的点。\n" -"[b]注意:[/b] 对于[i]大小为负[/i]的 [Rect2],该方法并不可靠。请使用 [method " +"[b]注意:[/b]对于[i]大小为负[/i]的 [Rect2],该方法并不可靠。请使用 [method " "abs] 获取等价的正数大小矩形再检查是否包含某个点。" #: doc/classes/Rect2.xml @@ -61168,7 +61479,7 @@ msgid "" "code] otherwise." msgstr "" "内部引用增量计数器。只有在你真的知道你在做什么的时候才使用这个。\n" -"如果增量成功,返回[code]true[/code],否则返回[code]false[/code]。" +"如果增量成功,返回 [code]true[/code],否则返回 [code]false[/code]。" #: doc/classes/Reference.xml msgid "" @@ -61178,7 +61489,7 @@ msgid "" "code] otherwise." msgstr "" "内部引用减量计数器。只有在你真的知道你在做什么的时候才使用这个。\n" -"如果减量成功,返回[code]true[/code],否则返回[code]false[/code]。" +"如果减量成功,返回 [code]true[/code],否则返回 [code]false[/code]。" #: doc/classes/ReferenceRect.xml msgid "Reference frame for GUI." @@ -61209,7 +61520,7 @@ msgid "" "If set to [code]true[/code], the [ReferenceRect] will only be visible while " "in editor. Otherwise, [ReferenceRect] will be visible in game." msgstr "" -"如果设置为[code]true[/code],[ReferenceRect]将只在编辑器中可见。否则," +"如果设置为 [code]true[/code],[ReferenceRect]将只在编辑器中可见。否则," "[ReferenceRect]将在游戏中可见。" #: doc/classes/ReflectionProbe.xml @@ -61528,7 +61839,7 @@ msgstr "" " results.push_back(result.get_string())\n" "# The `results` array now contains \"One\", \"Two\", \"Three\".\n" "[/codeblock]\n" -"[b]注意:[/b] Godot的regex实现是基于[url=https://www.pcre.org/]PCRE2[/url] " +"[b]注意:[/b]Godot的regex实现是基于[url=https://www.pcre.org/]PCRE2[/url] " "库。你可以查看完整的模式参考[url=https://www.pcre.org/current/doc/html/" "pcre2pattern.html]这里[/url]。\n" "[b]提示:[/b] 你可以使用[url=https://regexr.com/]Regexr[/url]来在线测试正则表" @@ -61578,8 +61889,8 @@ msgid "" "and end anchor would be." msgstr "" "在文本中搜索编译后的模式。如果找到,返回第一个匹配结果的[RegExMatch]容器,否" -"则返回[code]null[/code]。可以指定要搜索的区域,而不需要修改开始和结束锚点的位" -"置。" +"则返回 [code]null[/code]。可以指定要搜索的区域,而不需要修改开始和结束锚点的" +"位置。" #: modules/regex/doc_classes/RegEx.xml msgid "" @@ -61792,7 +62103,7 @@ msgstr "" "缓存,因此任何从给定路径加载资源的尝试都会返回相同的引用(这与[Node]相反," "[Node]没有引用计数,可以根据需要从磁盘实例化多次)。资源可以从外部保存在磁盘" "上,也可以捆绑在另一个对象中,如[Node]或另一个资源。\n" -"[b]注意:[/b] 在C#中,资源不再被使用后不会立即被释放。相反,垃圾回收将定期运" +"[b]注意:[/b]在C#中,资源不再被使用后不会立即被释放。相反,垃圾回收将定期运" "行,并释放不再使用的资源。这意味着未使用的资源在被删除之前会停留一段时间。" #: doc/classes/Resource.xml @@ -61825,8 +62136,8 @@ msgstr "" "函数被调用,没有参数。当构造函数没有默认值时,这个方法会出错。\n" "默认情况下,为了提高效率,子资源在资源副本之间被共享。这可以通过向" "[code]subresources[/code]参数传递[code]true[/code]来改变,它将复制子资源。\n" -"[b]注意:[/b] 如果[code]subresources[/code]是[code]true[/code],这个方法将只" -"执行一个浅层拷贝。子资源中的嵌套资源不会被复制,仍然会被共享。\n" +"[b]注意:[/b]如果[code]subresources[/code]是[code]true[/code],这个方法将只执" +"行一个浅层拷贝。子资源中的嵌套资源不会被复制,仍然会被共享。\n" "[b]注意:[/b]当复制一个资源时,只有导出[code]export[/code]的属性被复制。其他" "属性将被设置为新资源中的默认值。" @@ -61849,7 +62160,7 @@ msgstr "" "[codeblock]\n" "emit_signal(\"change\")\n" "[/codeblock]\n" -"[b]注意:[/b] 这个方法对于内置资源来说是自动调用的。" +"[b]注意:[/b]这个方法对于内置资源来说是自动调用的。" #: doc/classes/Resource.xml msgid "" @@ -61879,11 +62190,11 @@ msgid "" "performs custom logic to properly set the proxy texture and flags in the " "local viewport." msgstr "" -"当启用了[member resource_local_to_scene]的资源从[PackedScene]实例化中加载时," -"这个方法会被调用。它的行为可以通过覆盖脚本中的[method _setup_local_to_scene]" -"进行定制。\n" -"对于大多数资源,该方法不执行任何基本逻辑。[ViewportTexture]执行自定义逻辑以正" -"确设置本地视窗中的代理纹理和标志。" +"当启用了 [member resource_local_to_scene] 的资源从 [PackedScene] 实例化中加载" +"时,这个方法会被调用。它的行为可以通过覆盖脚本中的 [method " +"_setup_local_to_scene] 进行定制。\n" +"对于大多数资源,该方法不执行任何基本逻辑。[ViewportTexture] 执行自定义逻辑以" +"正确设置本地视窗中的代理纹理和标志。" #: doc/classes/Resource.xml msgid "" @@ -61966,7 +62277,7 @@ msgstr "" "它一个带有[code]class_name[/code]的全局类名,这样它才能被注册。像内置的" "ResourceFormatLoaders一样,它将在加载其处理的类型的资源时被自动调用。你也可以" "实现一个[ResourceFormatSaver]。\n" -"[b]注意:[/b] 如果你需要的资源类型存在,但Godot无法加载其格式,你也可以扩展" +"[b]注意:[/b]如果你需要的资源类型存在,但Godot无法加载其格式,你也可以扩展" "[EditorImportPlugin]。选择一种方式而不是另一种方式,取决于该格式是否适合于最" "终导出的游戏。例如,最好先把[code].png[/code]纹理导入为[code].stex[/code]" "([StreamTexture]),这样它们在显卡上的加载效率会更好。" @@ -61983,7 +62294,7 @@ msgstr "" "如果实现,则获取给定资源的依赖项。如果 [code]add_types[/code] 是 [code]true[/" "code],路径应该附加 [code]::TypeName[/code],其中 [code]TypeName[/code] 是依" "赖的类名。\n" -"[b]注意:[/b] [ClassDB] 不知道脚本定义的自定义资源类型,因此您可能只为它们返" +"[b]注意:[/b][ClassDB] 不知道脚本定义的自定义资源类型,因此您可能只为它们返" "回 [code]\"Resource\"[/code]。" #: doc/classes/ResourceFormatLoader.xml @@ -61997,9 +62308,9 @@ msgid "" "[b]Note:[/b] Custom resource types defined by scripts aren't known by the " "[ClassDB], so you might just return [code]\"Resource\"[/code] for them." msgstr "" -"获取与给定路径相关的资源的类名。如果加载器不能处理它,它应该返回[code]\"\"[/" +"获取与给定路径相关的资源的类名。如果加载器不能处理它,它应该返回 [code]\"\"[/" "code]。\n" -"[b]注意:[/b] [ClassDB] 不知道脚本定义的自定义资源类型,因此您可能只为它们返" +"[b]注意:[/b][ClassDB] 不知道脚本定义的自定义资源类型,因此您可能只为它们返" "回 [code]\"Resource\"[/code]。" #: doc/classes/ResourceFormatLoader.xml @@ -62009,7 +62320,7 @@ msgid "" "[ClassDB], so you might just handle [code]\"Resource\"[/code] for them." msgstr "" "说明这个加载器可以加载哪个资源类。\n" -"[b]注意:[/b] [ClassDB] 不知道脚本定义的自定义资源类型,因此您可以只为它们处" +"[b]注意:[/b][ClassDB] 不知道脚本定义的自定义资源类型,因此您可以只为它们处" "理 [code]\"Resource\"[/code]。" #: doc/classes/ResourceFormatLoader.xml @@ -62334,7 +62645,7 @@ msgid "" "Returns [code]true[/code] if the preloader contains a resource associated to " "[code]name[/code]." msgstr "" -"如果预加载器包含一个与[code]name[/code]相关的资源,则返回[code]true[/code]。" +"如果预加载器包含一个与[code]name[/code]相关的资源,则返回 [code]true[/code]。" #: doc/classes/ResourcePreloader.xml msgid "" @@ -62439,7 +62750,7 @@ msgid "" "is paused. This may impact battery life negatively." msgstr "" "用于 [RichTextLabel] 的自定义效果。\n" -"[b]注意:[/b] 为了使 [RichTextEffect] 能够使用,必须在脚本中定义一个名为 " +"[b]注意:[/b]为了使 [RichTextEffect] 能够使用,必须在脚本中定义一个名为 " "[code]bbcode[/code] 的 BBCode 标签作为成员变量。\n" "[codeblock]\n" "# 这个 RichTextEffect 的用法就会是:`[example]一些文本[/example]`.\n" @@ -62456,8 +62767,8 @@ msgid "" "transformation to avoid displaying broken text." msgstr "" "覆盖这个方法来修改[code]char_fx[/code]中的属性。如果字符可以被成功转换,该方" -"法必须返回[code]true[/code]。如果该方法返回[code]false[/code],它将跳过转换," -"以避免显示破碎的文本。" +"法必须返回 [code]true[/code]。如果该方法返回 [code]false[/code],它将跳过转" +"换,以避免显示破碎的文本。" #: doc/classes/RichTextLabel.xml msgid "Label that displays rich text." @@ -62542,10 +62853,10 @@ msgid "" msgstr "" "解析 [code]bbcode[/code] 并根据需要将标签添加到标签堆栈中。返回解析结果,成功" "则返回 [constant OK]。\n" -"[b]注意:[/b] 使用此方法,您无法关闭在之前的 [method append_bbcode] 调用中打" -"开的标签。这样做是为了提高性能,特别是在更新大型 RichTextLabel 时,因为每次重" -"建整个 BBCode 会更慢。如果您绝对需要在将来的方法调用中关闭标签,请附加 " -"[member bbcode_text] 而不是使用 [method append_bbcode]。" +"[b]注意:[/b]使用此方法,您无法关闭在之前的 [method append_bbcode] 调用中打开" +"的标签。这样做是为了提高性能,特别是在更新大型 RichTextLabel 时,因为每次重建" +"整个 BBCode 会更慢。如果您绝对需要在将来的方法调用中关闭标签,请附加 [member " +"bbcode_text] 而不是使用 [method append_bbcode]。" #: doc/classes/RichTextLabel.xml msgid "Clears the tag stack and sets [member bbcode_text] to an empty string." @@ -62562,6 +62873,11 @@ msgid "" msgstr "返回标签栈中文本标签的换行总数。将被包裹的文本视为一行。" #: doc/classes/RichTextLabel.xml +#, fuzzy +msgid "Returns the current selection text. Does not include BBCodes." +msgstr "返回文本标签的总字符数。不包括 BBCode。" + +#: doc/classes/RichTextLabel.xml msgid "" "Returns the total number of characters from text tags. Does not include " "BBCodes." @@ -62736,8 +63052,8 @@ msgid "" "append_bbcode] to preserve BBCode formatting." msgstr "" "如果 [code]true[/code],标签使用 BBCode 格式。\n" -"[b]注意:[/b] 尝试使用 [method add_text] 更改 [RichTextLabel] 的文本会将其重" -"置为 [code]false[/code]。改用 [method append_bbcode] 来保留 BBCode 格式。" +"[b]注意:[/b]尝试使用 [method add_text] 更改 [RichTextLabel] 的文本会将其重置" +"为 [code]false[/code]。改用 [method append_bbcode] 来保留 BBCode 格式。" #: doc/classes/RichTextLabel.xml msgid "" @@ -62777,8 +63093,8 @@ msgid "" "be removed in future versions." msgstr "" "如果 [code]true[/code],标签的高度将自动更新以适应其内容。\n" -"[b]注意:[/b] 此属性用作解决 [Container] 中 [RichTextLabel] 问题的解决方法," -"但在某些情况下不可靠,将在未来版本中删除。" +"[b]注意:[/b]此属性用作解决 [Container] 中 [RichTextLabel] 问题的解决方法,但" +"在某些情况下不可靠,将在未来版本中删除。" #: doc/classes/RichTextLabel.xml msgid "" @@ -62801,7 +63117,7 @@ msgid "" msgstr "" "要显示的字符范围,数值为0.0和1.0之间的[float]。当分配一个超出范围的值时,它和" "分配1.0是一样的。\n" -"[b]注意:[/b] 设置这个属性会根据当前的[method get_total_character_count]更新" +"[b]注意:[/b]设置这个属性会根据当前的[method get_total_character_count]更新" "[member visible_characters]。" #: doc/classes/RichTextLabel.xml @@ -62848,7 +63164,7 @@ msgid "" "current [method get_total_character_count]." msgstr "" "在标签中显示的字符数限制。如果[code]-1[/code],将显示所有字符。\n" -"[b]注意:[/b] 设置此属性会根据当前的[method get_total_character_count]更新" +"[b]注意:[/b]设置此属性会根据当前的[method get_total_character_count]更新" "[member percent_visible]。" #: doc/classes/RichTextLabel.xml @@ -62908,7 +63224,7 @@ msgid "" "The color of selected text, used when [member selection_enabled] is " "[code]true[/code]." msgstr "" -"选定文本的颜色(当[member selection_enabled]为[code]true[/code]时使用)。" +"选定文本的颜色(当[member selection_enabled]为 [code]true[/code] 时使用)。" #: doc/classes/RichTextLabel.xml msgid "The color of the font's shadow." @@ -63115,10 +63431,10 @@ msgid "" "For performance, list of collisions is updated once per frame and before the " "physics step. Consider using signals instead." msgstr "" -"返回一个与此碰撞的物体的列表。要求[member contact_monitor]设置为[code]true[/" +"返回一个与此碰撞的物体的列表。要求[member contact_monitor]设置为 [code]true[/" "code],[member contacts_reported]设置得足够高,以检测所有碰撞。\n" -"[b]注意:[/b] 在移动物体后,这个测试的结果不是立即的。为了性能,碰撞列表每帧" -"在物理运算之前更新一次。可以考虑使用信号来代替。" +"[b]注意:[/b]在移动物体后,这个测试的结果不是立即的。为了性能,碰撞列表每帧在" +"物理运算之前更新一次。可以考虑使用信号来代替。" #: doc/classes/RigidBody.xml msgid "" @@ -63187,9 +63503,9 @@ msgid "" msgstr "" "如果[code]true[/code],实体可以在没有运动的情况下进入睡眠模式。见[member " "sleeping]。\n" -"[b]注意:[/b] RigidBody3D 的模式[member mode] 为常量[constant " -"MODE_CHARACTER] 时不会自动进入休眠模式。仍然可以通过将其 [member sleeping] 属" -"性设置为 [code]true[/code] 来手动使其进入休眠状态。" +"[b]注意:[/b]RigidBody3D 的模式[member mode] 为常量[constant MODE_CHARACTER] " +"时不会自动进入休眠模式。仍然可以通过将其 [member sleeping] 属性设置为 " +"[code]true[/code] 来手动使其进入休眠状态。" #: doc/classes/RigidBody.xml msgid "" @@ -63329,9 +63645,9 @@ msgid "" "[PhysicsBody] or [GridMap]." msgstr "" "当与另一个[PhysicsBody]或[GridMap]发生碰撞时触发。需要将[member " -"contact_monitor]设置为[code]true[/code],并且将[member contacts_reported]设置" -"得足够高以检测所有的碰撞。如果[MeshLibrary]有碰撞[Shape],[GridMap]就会被检测" -"到。\n" +"contact_monitor]设置为 [code]true[/code],并且将[member contacts_reported]设" +"置得足够高以检测所有的碰撞。如果[MeshLibrary]有碰撞[Shape],[GridMap]就会被检" +"测到。\n" "[code]body[/code]的[Node],如果它存在于树中,则是其他[PhysicsBody]或[GridMap]" "的节点。" @@ -63345,9 +63661,9 @@ msgid "" "[PhysicsBody] or [GridMap]." msgstr "" "当与另一个[PhysicsBody]或[GridMap]的碰撞结束时触发。需要将[member " -"contact_monitor]设置为[code]true[/code],并且将[member contacts_reported]设置" -"得足够高以检测到所有的碰撞。如果[MeshLibrary]有碰撞[Shape],[GridMap]就会被检" -"测到。\n" +"contact_monitor]设置为 [code]true[/code],并且将[member contacts_reported]设" +"置得足够高以检测到所有的碰撞。如果[MeshLibrary]有碰撞[Shape],[GridMap]就会被" +"检测到。\n" "[code]body[/code]的[Node],如果它存在于树中,则是其他[PhysicsBody]或[GridMap]" "的节点。" @@ -63374,7 +63690,7 @@ msgid "" "[ConcavePolygonShape] with Bullet physics if you need shape indices." msgstr "" "当[PhysicsBody]或[GridMap]的一个形状[Shape]进入这个区域的一个形状[Shape]时发" -"出的。需要将监控[member contact_monitor]设置为[code]true[/code],且[member " +"出的。需要将监控[member contact_monitor]设置为 [code]true[/code],且[member " "contacts_reported]设置的足够高以检测所有碰撞。如果[MeshLibrary]有碰撞形状" "[Shape],就会检测到[GridMap]。\n" "[code]body_id[/code]由[PhysicsServer]使用的其他[PhysicsBody]或[MeshLibrary]的" @@ -63501,7 +63817,7 @@ msgstr "" "(重力、冲力等),物理模拟会根据它的质量、摩擦力和其他物理属性来计算出运动结" "果。\n" "RigidBody2D有4种行为[member mode]。刚性、静态、角色和运动。\n" -"[b]注意:[/b] 你不应该每一帧或经常改变RigidBody2D的[code]position[/code]或" +"[b]注意:[/b]你不应该每一帧或经常改变RigidBody2D的[code]position[/code]或" "[code]linear_velocity[/code]。如果需要直接影响物体的状态,请使用[method " "_integrate_forces],它允许你直接访问物理状态。\n" "要记住,物理物体在自己管理变换,它会覆盖你的变换设置。所以任何直接或间接的变" @@ -63574,9 +63890,8 @@ msgid "" "See [member ProjectSettings.physics/2d/default_angular_damp] for more " "details about damping." msgstr "" -"对物体的 [member angular_velocity]进行阻尼运算。如果 [code]-1[/code],物体将" -"使用[b]项目 > 项目设置 > Physics > 2d[/b] 中定义的 [b]Default Angular Damp[/" -"b](默认角度阻尼)。\n" +"对物体的 [member angular_velocity] 进行阻尼运算。如果为 [code]-1[/code],物体" +"将使用[b]项目 > 项目设置 > 物理 > 2D[/b] 中定义的[b]默认角度阻尼[/b]。\n" "有关阻尼的更多详细信息,请参阅 [member ProjectSettings.physics/2d/" "default_angular_damp]。" @@ -63598,8 +63913,8 @@ msgid "" msgstr "" "如果[code]true[/code],身体可以在没有运动的情况下进入睡眠模式。见[member " "sleeping]。\n" -"[b]注意:[/b] RigidBody2D 的[member mode] 为[constant MODE_CHARACTER] 时不会" -"自动进入休眠模式。仍然可以通过将其 [member sleeping] 属性设置为 [code]true[/" +"[b]注意:[/b]RigidBody2D 的[member mode] 为[constant MODE_CHARACTER] 时不会自" +"动进入休眠模式。仍然可以通过将其 [member sleeping] 属性设置为 [code]true[/" "code] 来手动使其休眠。" #: doc/classes/RigidBody2D.xml @@ -63620,8 +63935,8 @@ msgid "" msgstr "" "将被记录的最大接触次数。需要将 [member contact_monitor] 设置为 [code]true[/" "code]。\n" -"[b]注:[/b]接触次数与碰撞次数不同。平行边之间的碰撞将意味着两个接触(每端一" -"个),平行面之间的碰撞将意味着四个接触(每个角一个)。" +"[b]注意:[/b]接触次数与碰撞次数不同。平行边之间的碰撞将意味着两次接触(两端各" +"一次)。" #: doc/classes/RigidBody2D.xml msgid "" @@ -63653,9 +63968,10 @@ msgid "" "Deprecated, use [member PhysicsMaterial.friction] instead via [member " "physics_material_override]." msgstr "" -"物体的摩擦。取值范围从[code]0[/code](无摩擦)到[code]1[/code](最大摩擦)。\n" -"已弃用,通过 [member physics_material_override] 使用 [member PhysicsMaterial." -"friction]。" +"物体的摩擦。取值范围从 [code]0[/code](无摩擦)到 [code]1[/code](最大摩" +"擦)。\n" +"已弃用,请通过 [member physics_material_override] 使用 [member " +"PhysicsMaterial.friction]。" #: doc/classes/RigidBody2D.xml msgid "" @@ -63663,9 +63979,8 @@ msgid "" "from the [b]Default Gravity[/b] value in [b]Project > Project Settings > " "Physics > 2d[/b] and/or any additional gravity vector applied by [Area2D]s." msgstr "" -"乘以施加在物体上的重力。物体的重力是由[b]项目 > 项目设置 > Physics > 2d[/b]中" -"的 [b]Default Gravity[/b](默认重力)值和/或任何由 [Area2D] 应用的额外重力矢" -"量计算出来的。" +"乘以施加在物体上的重力。物体的重力是由[b]项目 > 项目设置 > 物理 > 2D[/b]中的" +"[b]默认重力[/b]值和/或任何由 [Area2D] 应用的额外重力向量计算出来的。" #: doc/classes/RigidBody2D.xml msgid "" @@ -63726,8 +64041,8 @@ msgid "" "[PhysicsBody2D] or [TileMap]." msgstr "" "当与另一个[PhysicsBody2D]或[TileMap]发生碰撞时触发。需要将[member " -"contact_monitor]设置为[code]true[/code],并且将[member contacts_reported]设置" -"得足够高以检测所有的碰撞。如果[TileSet]有碰撞[Shape2D],就会检测到[TileMap]" +"contact_monitor]设置为 [code]true[/code],并且将[member contacts_reported]设" +"置得足够高以检测所有的碰撞。如果[TileSet]有碰撞[Shape2D],就会检测到[TileMap]" "的。\n" "[code]body[/code]是其他[PhysicsBody2D]或[TileMap]的[Node],如果它存在于树中。" @@ -63800,7 +64115,7 @@ msgid "" "with [code]self.shape_owner_get_owner(local_shape_index)[/code]." msgstr "" "当这个RigidBody2D的一个[Shape2D]和另一个[PhysicsBody2D]或[TileMap]的[Shape2D]" -"之间的碰撞结束时触发。要求[member contact_monitor]设置为[code]true[/code]," +"之间的碰撞结束时触发。要求[member contact_monitor]设置为 [code]true[/code]," "[member contacts_reported]设置得足够高以检测所有的碰撞。如果[TileSet]有碰撞" "[Shape2D],就会检测到[TileMap]的。\n" "[code]body_rid[/code] [Physics2DServer]使用的其他[PhysicsBody2D]或[TileSet]的" @@ -63957,7 +64272,7 @@ msgstr "" "[RoomGroup] 应作为[b]空间列表[/b](您的 [Room] 的父 [Node])的子项,而 " "[Room] 应作为 [RoomGroup] 的子项依次放置以便将它们分配给 RoomGroup。\n" "例如,[RoomGroup] 可用于指定[b]处于外部[/b]的 [Room],并在玩家进入/退出该区域" -"时打开或关闭定向光、天空或雨效果。\n" +"时打开或关闭平行光、天空或雨效果。\n" "当 [code]gameplay_monitor[/code] 开启时,[RoomGroup] 可以收到[b]游戏回调[/" "b],在他们进入和退出[b]游戏区域[/b]时,以[code]信号[/code]或[code]通知[/code]" "的形式(详见 [RoomManager])。" @@ -64356,9 +64671,9 @@ msgid "" "[code]tool[/code] script." msgstr "" "[i]根运动[/i](Root Motion)指的是一种动画技术,其中使用网格的骨架为角色提供" -"动力。在处理 3D 动画时,一种流行的技术是动画师使用根骨架骨骼来为骨架的其余部" -"分提供运动。这允许以步骤实际匹配下方地板的方式为角色设置动画。它还允许在过场" -"动画期间与对象进行精确交互。另见 [AnimationTree]。\n" +"动力。在处理 3D 动画时,一种流行的技术是动画师使用骨架的根骨骼来为骨架的其余" +"部分提供运动。这允许以步骤实际匹配下方地板的方式为角色设置动画。它还允许在过" +"场动画期间与对象进行精确交互。另见 [AnimationTree]。\n" "[b]注意:[/b][RootMotionView] 仅在编辑器中可见。在运行的项目中会自动隐藏,在" "运行的项目中也会转换为普通的 [Node]。这意味着附加到 [RootMotionView] 节点的脚" "本[i]必须[/i]具写 [code]extends Node[/code] 而不是 [code]extends " @@ -64491,8 +64806,8 @@ msgid "" "branch starting at this node, with its child nodes and resources), or " "[code]null[/code] if the node is not an instance." msgstr "" -"返回[code]idx[/code]处的节点的[PackedScene](即从该节点开始的整个分支,包括其" -"子节点和资源),如果该节点不是一个实例,则返回[code]null[/code]。" +"返回 [code]idx[/code]处的节点的[PackedScene](即从该节点开始的整个分支,包括" +"其子节点和资源),如果该节点不是一个实例,则返回 [code]null[/code]。" #: doc/classes/SceneState.xml msgid "" @@ -64504,7 +64819,7 @@ msgstr "" #: doc/classes/SceneState.xml msgid "Returns the name of the node at [code]idx[/code]." -msgstr "返回[code]idx[/code]处的节点名称。" +msgstr "返回 [code]idx[/code]处的节点名称。" #: doc/classes/SceneState.xml msgid "" @@ -64518,8 +64833,8 @@ msgid "" "If [code]for_parent[/code] is [code]true[/code], returns the path of the " "[code]idx[/code] node's parent instead." msgstr "" -"返回[code]idx[/code]处的节点的路径。\n" -"如果[code]for_parent[/code]是[code]true[/code],则返回[code]idx[/code]节点的" +"返回 [code]idx[/code]处的节点的路径。\n" +"如果[code]for_parent[/code]是[code]true[/code],则返回 [code]idx[/code]节点的" "父节点的路径。" #: doc/classes/SceneState.xml @@ -64538,7 +64853,7 @@ msgstr "" msgid "" "Returns the name of the property at [code]prop_idx[/code] for the node at " "[code]idx[/code]." -msgstr "返回[code]prop_idx[/code]处的属性名称,用于[code]idx[/code]处的节点。" +msgstr "返回 [code]prop_idx[/code]处的属性名称,用于[code]idx[/code]处的节点。" #: doc/classes/SceneState.xml msgid "" @@ -64548,14 +64863,14 @@ msgstr "返回 [code]idx[/code] 节点的 [code]prop_idx[/code] 属性值。" #: doc/classes/SceneState.xml msgid "Returns the type of the node at [code]idx[/code]." -msgstr "返回[code]idx[/code]处节点的类型。" +msgstr "返回 [code]idx[/code]处节点的类型。" #: doc/classes/SceneState.xml msgid "" "Returns [code]true[/code] if the node at [code]idx[/code] is an " "[InstancePlaceholder]." msgstr "" -"如果[code]idx[/code]处的节点是一个[InstancePlaceholder],返回[code]true[/" +"如果[code]idx[/code]处的节点是一个[InstancePlaceholder],返回 [code]true[/" "code]。" #: doc/classes/SceneState.xml @@ -64638,9 +64953,9 @@ msgstr "" "GROUP_CALL_DEFAULT] 标志调用 [method call_group_flags]。\n" "[b]注:[/b] [code]method[/code]最多只能有5个参数(总共7个参数传递给这个方" "法)。\n" -"[b]注意:[/b] 由于设计限制,如果参数之一为 [code]null[/code],[method " +"[b]注意:[/b]由于设计限制,如果参数之一为 [code]null[/code],[method " "call_group] 将静默失败。\n" -"[b]注意:[/b] [method call_group] 将始终调用具有一帧延迟的方法,其方式类似于 " +"[b]注意:[/b][method call_group] 将始终调用具有一帧延迟的方法,其方式类似于 " "[method Object.call_deferred]。要立即调用方法,请将 [method " "call_group_flags] 与 [constant GROUP_CALL_REALTIME] 标志一起使用。" @@ -64664,7 +64979,7 @@ msgstr "" "[code]method[/code]。\n" "[b]注:[/b] [code]method[/code]最多只能有5个参数(总共8个参数传递给这个方" "法)。\n" -"[b]注意:[/b] 由于设计限制,如果参数之一为 [code]null[/code],[method " +"[b]注意:[/b]由于设计限制,如果参数之一为 [code]null[/code],[method " "call_group_flags] 将静默失败。\n" "[codeblock]\n" "# 立即以相反的顺序调用该方法。\n" @@ -64764,7 +65079,7 @@ msgstr "返回最近收到的RPC调用的发送者的对等ID。" #: doc/classes/SceneTree.xml msgid "Returns [code]true[/code] if the given group exists." -msgstr "如果给定的组存在,返回[code]true[/code]。" +msgstr "如果给定的组存在,返回 [code]true[/code]。" #: doc/classes/SceneTree.xml msgid "" @@ -65325,7 +65640,7 @@ msgid "" "[b]Note:[/b] This class shouldn't be instantiated directly. Instead, access " "the singleton using [method EditorInterface.get_script_editor]." msgstr "" -"[b]注意:[/b] 这个类不应该被直接实例化。相反,使用[method EditorInterface." +"[b]注意:[/b]这个类不应该被直接实例化。相反,使用[method EditorInterface." "get_script_editor]来访问这个单例。" #: doc/classes/ScriptEditor.xml @@ -65450,10 +65765,10 @@ msgid "" "[member scroll_horizontal_enabled]. If you want to only hide it instead, use " "its [member CanvasItem.visible] property." msgstr "" -"返回此[ScrollContainer]的水平滚动条[HScrollBar]。\n" -"[b]警告:[/b] 这是一个必须的内部节点,移除和释放它可能会导致崩溃。如果你想禁" -"用水平滚动条,请使用[member scroll_horizontal_enabled]。如果你只想隐藏它,则" -"使用其[member CanvasItem.visible]属性。" +"返回此 [ScrollContainer] 的水平滚动条 [HScrollBar]。\n" +"[b]警告:[/b]这是一个必须的内部节点,移除和释放它可能会导致崩溃。如果你想禁用" +"水平滚动条,请使用 [member scroll_horizontal_enabled]。如果你只想隐藏它,则使" +"用其 [member CanvasItem.visible] 属性。" #: doc/classes/ScrollContainer.xml msgid "" @@ -65463,10 +65778,10 @@ msgid "" "[member scroll_vertical_enabled]. If you want to only hide it instead, use " "its [member CanvasItem.visible] property." msgstr "" -"返回此[ScrollContainer]的垂直滚动条[VScrollBar]。\n" -"[b]警告:[/b] 这是一个必需的内部节点,移除和释放它可能会导致崩溃。如果你想禁" -"用垂直滚动条,请使用[member scroll_vertical_enabled]。如果你只想隐藏它,则使" -"用其[member CanvasItem.visible]属性。" +"返回此 [ScrollContainer] 的垂直滚动条 [VScrollBar]。\n" +"[b]警告:[/b]这是一个必需的内部节点,移除和释放它可能会导致崩溃。如果你想禁用" +"垂直滚动条,请使用 [member scroll_vertical_enabled]。如果你只想隐藏它,则使用" +"其 [member CanvasItem.visible] 属性。" #: doc/classes/ScrollContainer.xml msgid "" @@ -65538,19 +65853,24 @@ msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Lowers the [Semaphore], allowing one more thread in. Returns [constant OK] " -"on success, [constant ERR_BUSY] otherwise." +"Lowers the [Semaphore], allowing one more thread in.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." +msgstr "" + +#: doc/classes/Semaphore.xml +msgid "" +"Like [method wait], but won't block, so if the value is zero, fails " +"immediately and returns [constant ERR_BUSY]. If non-zero, it returns " +"[constant OK] to report success." msgstr "" -"试图锁定这个[Mutex],但并不阻塞。成功时返回[constant OK],否则返回[constant " -"ERR_BUSY]。" #: doc/classes/Semaphore.xml msgid "" -"Tries to wait for the [Semaphore], if its value is zero, blocks until non-" -"zero. Returns [constant OK] on success, [constant ERR_BUSY] otherwise." +"Waits for the [Semaphore], if its value is zero, blocks until non-zero.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" -"试图锁定这个[Mutex],但并不阻塞。成功时返回[constant OK],否则返回[constant " -"ERR_BUSY]。" #: doc/classes/Separator.xml msgid "Base class for separators." @@ -65587,7 +65907,7 @@ msgid "" "code exactly." msgstr "" "返回被设置为指定参数的默认纹理。\n" -"[b]注意:[/b] [code]param[/code]必须与代码中的uniform名称完全匹配。" +"[b]注意:[/b][code]param[/code]必须与代码中的uniform名称完全匹配。" #: doc/classes/Shader.xml msgid "" @@ -65604,8 +65924,8 @@ msgid "" "[b]Note:[/b] [code]param[/code] must match the name of the uniform in the " "code exactly." msgstr "" -"如果着色器在其代码中把这个参数定义为uniform,则返回[code]true[/code]。\n" -"[b]注意:[/b] [code]param[/code] 必须与代码中的uniform名称完全匹配。" +"如果着色器在其代码中把这个参数定义为uniform,则返回 [code]true[/code]。\n" +"[b]注意:[/b][code]param[/code] 必须与代码中的uniform名称完全匹配。" #: doc/classes/Shader.xml msgid "" @@ -65634,7 +65954,7 @@ msgid "" msgstr "" "返回该着色器的自定义。自定义可以在Godot中用于添加着色器逻辑所需的GLSL预处理指" "令(例如:扩展)。\n" -"[b]注意:[/b] 自定义没有经过Godot着色器解析器的验证,所以使用时要注意。" +"[b]注意:[/b]自定义没有经过Godot着色器解析器的验证,所以使用时要注意。" #: doc/classes/Shader.xml msgid "Mode used to draw all 3D objects." @@ -65665,9 +65985,9 @@ msgid "" "emit light in a [GIProbe]." msgstr "" "使用自定义 [Shader] 程序渲染项目以筛选或处理粒子的材质。您可以为同一个着色器" -"创建多种材质,但可以为着色器中定义的uniforms配置不同的值。\n" -"[b]注意:[/b] 由于渲染器限制,在 [GIProbe] 中使用时,自发光 [ShaderMaterial] " -"无法发光。只有自发光的 [SpatialMaterial] 可以在 [GIProbe] 中发光。" +"创建多种材质,但可以为着色器中定义的 uniform 配置不同的值。\n" +"[b]注意:[/b]由于渲染器限制,在 [GIProbe] 中使用时,发光的 [ShaderMaterial] " +"无法发光。只有发光的 [SpatialMaterial] 可以在 [GIProbe] 中发光。" #: doc/classes/ShaderMaterial.xml msgid "" @@ -65679,7 +65999,7 @@ msgid "" "Returns [code]true[/code] if the property identified by [code]name[/code] " "can be reverted to a default value." msgstr "" -"如果由[code]name[/code]标识的属性可以恢复到默认值,则返回[code]true[/code]。" +"如果由[code]name[/code]标识的属性可以恢复到默认值,则返回 [code]true[/code]。" #: doc/classes/ShaderMaterial.xml msgid "" @@ -65694,7 +66014,7 @@ msgid "" "code exactly." msgstr "" "改变着色器中材质的uniform值。\n" -"[b]注意:[/b] [code]param[/code]必须与代码中的uniform名称完全匹配。" +"[b]注意:[/b][code]param[/code]必须与代码中的uniform名称完全匹配。" #: doc/classes/ShaderMaterial.xml msgid "The [Shader] program used to render this material." @@ -65746,7 +66066,7 @@ msgid "" "([code]with_shape[/code]), and the transformation matrix of that shape " "([code]shape_xform[/code])." msgstr "" -"如果这个形状与另一个形状发生碰撞,返回[code]true[/code]。\n" +"如果这个形状与另一个形状发生碰撞,返回 [code]true[/code]。\n" "这个方法需要这个形状的变换矩阵([code]local_xform[/code]),要检查碰撞的形状" "([code]with_shape[/code]),以及那个形状的变换矩阵([code]shape_xform[/" "code])。" @@ -65891,7 +66211,7 @@ msgstr "清除这个骨架上的所有骨骼。" #: doc/classes/Skeleton.xml msgid "Returns the bone index that matches [code]name[/code] as its name." -msgstr "返回[code]name[/code]与其名称匹配的的骨骼索引。" +msgstr "返回 [code]name[/code]与其名称匹配的的骨骼索引。" #: doc/classes/Skeleton.xml msgid "Returns the amount of bones in the skeleton." @@ -65909,8 +66229,8 @@ msgid "" "skeleton. Being relative to the skeleton frame, this is not the actual " "\"global\" transform of the bone." msgstr "" -"返回相对于骨架的指定骨骼的整体变换。由于是相对于骨架的,这不是该骨骼的实际 " -"\"全局 \"变换。" +"返回指定骨骼的整体变换,相对于骨架。由于是相对于骨架的,这不是该骨骼的实际“全" +"局”变换。" #: doc/classes/Skeleton.xml msgid "" @@ -65918,8 +66238,8 @@ msgid "" "skeleton, but without any global pose overrides. Being relative to the " "skeleton frame, this is not the actual \"global\" transform of the bone." msgstr "" -"返回指定骨骼的整体变换,相对于骨架,但没有任何全局姿势覆盖。相对于骨架帧,这" -"不是骨骼的实际“全局”变换。" +"返回指定骨骼的整体变换,相对于骨架,不包含任何全局姿势覆盖。由于是相对于骨架" +"的,这不是该骨骼的实际“全局”变换。" #: doc/classes/Skeleton.xml msgid "Returns the name of the bone at index [code]index[/code]." @@ -65956,7 +66276,7 @@ msgid "" msgstr "" "将骨骼索引 [code]parent_idx[/code] 设置为 [code]bone_idx[/code] 处骨骼的父" "级。如果 -1,则骨骼没有父级。\n" -"[b]注意:[/b] [code]parent_idx[/code] 必须小于 [code]bone_idx[/code]。" +"[b]注意:[/b][code]parent_idx[/code] 必须小于 [code]bone_idx[/code]。" #: doc/classes/Skeleton.xml msgid "Sets the pose transform for bone [code]bone_idx[/code]." @@ -66005,8 +66325,8 @@ msgid "" "SkeletonIK is used to place the end bone of a [Skeleton] bone chain at a " "certain point in 3D by rotating all bones in the chain accordingly." msgstr "" -"SkeletonIK 可用于将 [Skeleton] 骨链的末端骨骼置于 3D 中的某一点,并相应地旋转" -"骨链中的所有骨骼。" +"SkeletonIK 可用于将 [Skeleton] 的骨骼链的末端骨骼置于 3D 中的某一点,并相应地" +"旋转骨骼链中的所有骨骼。" #: doc/classes/SkeletonIK.xml msgid "" @@ -66041,29 +66361,30 @@ msgid "" "skeleton_ik_node.set_interpolation(0.0)\n" "[/codeblock]" msgstr "" -"SkeletonIK用于将[Skeleton]骨链的末端骨骼放置在3D某一点上,并相应地旋转骨链中" -"的所有骨骼。游戏中IK的典型场景是将角色的脚放在地面上,或者将角色的手放在当前" -"持有的物体上。SkeletonIK在内部使用FabrikInverseKinematic来解决骨骼链,并将结" -"果应用于[Skeleton] [code]bones_global_pose_override[/code]属性中所有受影响的" -"骨骼链。如果完全应用,这将覆盖任何来自[Animation]的骨骼变换或用户设置的骨骼自" -"定义姿势。应用量可以用[code]interpolation[/code]属性来控制。\n" +"SkeletonIK 用于将 [Skeleton] 骨骼链的末端骨骼放置在 3D 某一点上,并相应地旋转" +"骨骼链中的所有骨骼。游戏中 IK 的典型场景是将角色的脚放在地面上,或者将角色的" +"手放在当前持有的物体上。SkeletonIK 在内部使用 FabrikInverseKinematic 来解决骨" +"骼链,并将结果应用于 [Skeleton] [code]bones_global_pose_override[/code] 属性" +"中所有受影响的骨骼链。如果完全应用,这将覆盖任何来自 [Animation] 的骨骼变换或" +"用户设置的骨骼自定义姿势。应用量可以用 [code]interpolation[/code] 属性来控" +"制。\n" "[codeblock]\n" -"# 在每一个新的帧上自动应用IK效果(不是当前的)。\n" +"# 在每一个新的帧上自动应用 IK 效果(不是当前的)。\n" "skeleton_ik_node.start()\n" "\n" -"# 只在当前帧上应用IK效果\n" +"# 只在当前帧上应用 IK 效果\n" "skeleton_ik_node.start(true)\n" "\n" -"# 停止IK效果并重置骨骼上的bones_global_pose_override\n" +"# 停止 IK 效果并重置骨骼上的 bones_global_pose_override\n" "skeleton_ik_node.stop()\n" "\n" -"# 应用完整的IK效果\n" +"# 应用完整的 IK 效果\n" "skeleton_ik_node.set_interpolation(1.0)\n" "\n" -"# 应用一半的IK效果\n" +"# 应用一半的 IK 效果\n" "skeleton_ik_node.set_interpolation(0.5)\n" "\n" -"# 应用零IK效果(数值为0.01或低于0.01也会移除骨骼上的" +"# 应用零 IK 效果(数值为 0.01 或低于 0.01 也会移除骨骼上的 " "bones_global_pose_override)。\n" "skeleton_ik_node.set_interpolation(0.0)\n" "[/codeblock]" @@ -66213,7 +66534,7 @@ msgid "" msgstr "" "[Sky]的辐射贴图大小。辐射贴图尺寸越大,[Sky]的照明就越详细。\n" "有关值,参阅 [enum RadianceSize] 常量。\n" -"[b]注意:[/b] 如果您的项目中有非常清晰的反射表面,并且不使用 " +"[b]注意:[/b]如果您的项目中有非常清晰的反射表面,并且不使用 " "[ReflectionProbe] 或 [GIProbe],您才会受益于高辐射尺寸。对于大多数项目,将 " "[member radiance_size] 保持为默认值是视觉效果和性能之间的最佳折衷。使用高辐射" "大小值时要小心,因为这可能会导致低端 GPU 崩溃。" @@ -66245,7 +66566,7 @@ msgid "" "as it is known to cause GPU hangs on certain systems." msgstr "" "辐射纹理尺寸为1024×1024像素。\n" -"[b]注意:[/b] [constant RADIANCE_SIZE_1024]在检查器中没有公开,因为它在某些系" +"[b]注意:[/b][constant RADIANCE_SIZE_1024]在检查器中没有公开,因为它在某些系" "统上会导致GPU挂起。" #: doc/classes/Sky.xml @@ -66255,7 +66576,7 @@ msgid "" "as it is known to cause GPU hangs on certain systems." msgstr "" "辐射纹理尺寸为2048×2048像素。\n" -"[b]注意:[/b] [constant RADIANCE_SIZE_2048]没有在检查器中公开,因为它在某些系" +"[b]注意:[/b][constant RADIANCE_SIZE_2048]没有在检查器中公开,因为它在某些系" "统上会导致GPU挂起。" #: doc/classes/Sky.xml @@ -66621,8 +66942,8 @@ msgid "" "its rotation and translation by performing Gram-Schmidt orthonormalization " "on this node's [Transform]." msgstr "" -"通过对该节点的[Transform]进行Gram-Schmidt正则化,重新设置该节点的变换(如比" -"例、倾斜和锥度),保留其旋转和平移。" +"通过对该节点的 [Transform] 进行 Gram-Schmidt 正则化,重新设置该节点的变换(如" +"比例、倾斜和锥度),保留其旋转和平移。" #: doc/classes/Spatial.xml msgid "" @@ -66703,7 +67024,7 @@ msgstr "" msgid "" "Enables rendering of this node. Changes [member visible] to [code]true[/" "code]." -msgstr "启用此节点的呈现。将[member visible]更改为[code]true[/code]。" +msgstr "启用此节点的呈现。将[member visible]更改为 [code]true[/code]。" #: doc/classes/Spatial.xml msgid "" @@ -66794,7 +67115,7 @@ msgid "" "is_visible_in_tree] must return [code]true[/code])." msgstr "" "如果[code]true[/code],这个节点就会被画出来。只有当它的所有前项也是可见的时" -"候,这个节点才是可见的(换句话说,[method is_visible_in_tree]必须返回" +"候,这个节点才是可见的(换句话说,[method is_visible_in_tree]必须返回 " "[code]true[/code])。" #: doc/classes/Spatial.xml @@ -66950,13 +67271,13 @@ msgid "" "a texture in the FileSystem dock, going to the Import dock, checking the " "[b]Anisotropic[/b] checkbox then clicking [b]Reimport[/b]." msgstr "" -"如果为 [code]true[/code],则启用各向异性。各向异性会改变高光点的形状并将其与" -"切线空间对其。可用于拉丝铝材和毛发反射。\n" +"如果为 [code]true[/code],则启用各向异性。各向异性会改变镜面反射斑点的形状并" +"将其与切线空间对其。可用于拉丝铝材和毛发反射。\n" "[b]注意:[/b]各向异性需要网格切线才能正常工作。如果网格中不包含切线,各向异性" "效果就会看上去有问题。\n" "[b]注意:[/b]材质的各向异性不应与纹理的各向异性过滤相混淆。纹理各向异性过滤的" -"启用方法是,在“文件系统”面板中选中纹理,然后在“导入”面板中勾选 " -"[b]Anisotropic[/b] 复选框,然后点击[b]重新导入[/b]。" +"启用方法是,在“文件系统”面板中选中纹理,然后在“导入”面板中勾选[b]各向异性[/b]" +"复选框,然后点击[b]重新导入[/b]。" #: doc/classes/SpatialMaterial.xml msgid "" @@ -67324,7 +67645,7 @@ msgid "" "based rather than triangle-based. See also [member params_point_size]." msgstr "" "如果[code]true[/code],可以改变渲染点的大小。\n" -"[b]注意:[/b]这只对几何体是基于点而不是基于三角形的对象有效。参阅[member " +"[b]注意:[/b]这只对几何体是基于点而不是基于三角形的对象有效。参阅[member " "params_point_size]。" #: doc/classes/SpatialMaterial.xml @@ -67341,10 +67662,22 @@ msgstr "" #: doc/classes/SpatialMaterial.xml msgid "" "If [code]true[/code], lighting is calculated per vertex rather than per " -"pixel. This may increase performance on low-end devices." +"pixel. This may increase performance on low-end devices, especially for " +"meshes with a lower polygon count. The downside is that shading becomes much " +"less accurate, with visible linear interpolation between vertices that are " +"joined together. This can be compensated by ensuring meshes have a " +"sufficient level of subdivision (but not too much, to avoid reducing " +"performance). Some material features are also not supported when vertex " +"shading is enabled.\n" +"See also [member ProjectSettings.rendering/quality/shading/" +"force_vertex_shading] which can globally enable vertex shading on all " +"materials.\n" +"[b]Note:[/b] By default, vertex shading is enforced on mobile platforms by " +"[member ProjectSettings.rendering/quality/shading/force_vertex_shading]'s " +"[code]mobile[/code] override.\n" +"[b]Note:[/b] [member flags_vertex_lighting] has no effect if [member " +"flags_unshaded] is [code]true[/code]." msgstr "" -"如果 [code]true[/code],则按顶点而不是按像素计算光照。这可能会提高低端设备的" -"性能。" #: doc/classes/SpatialMaterial.xml msgid "" @@ -67380,9 +67713,9 @@ msgid "" "should be left at [code]0.5[/code] in most cases. See also [member " "roughness]." msgstr "" -"设置镜面光叶的大小。镜面叶是光源反射的亮点。\n" -"[b]注意:[/b]与[member metallic]不同,这不是能量守恒,所以在大多数情况下,应该" -"将其保留在[code]0.5[/code]。参阅[member roughness]。" +"设置镜面反射光叶的大小。镜面反射光叶是光源反射的亮点。\n" +"[b]注意:[/b]这与 [member metallic] 不同,能量不守恒,所以在大多数情况下,应" +"该将其保留在 [code]0.5[/code]。请参阅 [member roughness]。" #: doc/classes/SpatialMaterial.xml msgid "" @@ -67462,8 +67795,8 @@ msgid "" "issues/41567]GitHub issue #41567[/url] for details." msgstr "" "控制对象如何面向摄像机。参阅[enum BillboardMode]。\n" -"[b]注意:[/b] 广告牌模式不适合VR,因为当屏幕贴在你的头部而不是在桌子上时,摄" -"像机的左右向量不是水平的。参阅[url=https://github.com/godotengine/godot/" +"[b]注意:[/b]广告牌模式不适合VR,因为当屏幕贴在你的头部而不是在桌子上时,摄像" +"机的左右向量不是水平的。参阅[url=https://github.com/godotengine/godot/" "issues/41567]GitHub issue #41567[/url]。" #: doc/classes/SpatialMaterial.xml @@ -67473,7 +67806,7 @@ msgid "" "transparent pipeline. See [enum BlendMode]." msgstr "" "材质的混合模式。\n" -"[b]注意:[/b]除 [code]Mix[/code] 以外的值会强制对象进入透明管道。参阅 [enum " +"[b]注意:[/b]除 [code]Mix[/code] 以外的值会强制对象进入透明管道。参阅 [enum " "BlendMode]。" #: doc/classes/SpatialMaterial.xml @@ -67516,7 +67849,7 @@ msgstr "点的大小,以像素为单位。参见[member flags_use_point_size] #: doc/classes/SpatialMaterial.xml msgid "The method for rendering the specular blob. See [enum SpecularMode]." -msgstr "镜面小球的渲染方法。参阅[enum SpecularMode]。" +msgstr "镜面反射斑点的渲染方法。请参阅 [enum SpecularMode]。" #: doc/classes/SpatialMaterial.xml msgid "" @@ -67614,7 +67947,7 @@ msgid "" msgstr "" "如果 [code]true[/code],则启用边缘效果。边缘照明增加了物体上掠过角度的亮" "度。\n" -"[b]注意:[/b] 如果材质将 [member flags_unshaded] 设置为 [code]true[/code],则" +"[b]注意:[/b]如果材质将 [member flags_unshaded] 设置为 [code]true[/code],则" "边缘光照不可见。" #: doc/classes/SpatialMaterial.xml @@ -67982,7 +68315,7 @@ msgid "" "albedo texture lookup to use [code]POINT_COORD[/code] instead of [code]UV[/" "code]." msgstr "" -"使用点大小来改变原始点的大小。同时改变反射率纹理查找,使用 " +"使用点大小来改变图元点的大小。同时改变反射率纹理查找,使用 " "[code]POINT_COORD[/code] 而不是 [code]UV[/code]。" #: doc/classes/SpatialMaterial.xml @@ -68074,11 +68407,11 @@ msgstr "使用硬切口进行照明,平滑度受粗糙度影响。" #: doc/classes/SpatialMaterial.xml msgid "Default specular blob." -msgstr "默认镜面反射Blob。" +msgstr "默认镜面反射斑点。" #: doc/classes/SpatialMaterial.xml msgid "Older specular algorithm, included for compatibility." -msgstr "旧的镜面算法,为了兼容而加入。" +msgstr "旧的镜面反射算法,为了兼容而加入。" #: doc/classes/SpatialMaterial.xml msgid "Toon blob which changes size based on roughness." @@ -68086,7 +68419,7 @@ msgstr "基于粗糙度更改大小的 Toon 斑点。" #: doc/classes/SpatialMaterial.xml msgid "No specular blob." -msgstr "无镜面斑点。" +msgstr "无镜面反射斑点。" #: doc/classes/SpatialMaterial.xml msgid "Billboard mode is disabled." @@ -68243,6 +68576,7 @@ msgid "Numerical input text field." msgstr "数值输入文本字段。" #: doc/classes/SpinBox.xml +#, fuzzy msgid "" "SpinBox is a numerical input text field. It allows entering integers and " "floats.\n" @@ -68258,9 +68592,12 @@ msgid "" "the text alignment to right.\n" "See [Range] class for more options over the [SpinBox].\n" "[b]Note:[/b] [SpinBox] relies on an underlying [LineEdit] node. To theme a " -"[SpinBox]'s background, add theme items for [LineEdit] and customize them." +"[SpinBox]'s background, add theme items for [LineEdit] and customize them.\n" +"[b]Note:[/b] If you want to implement drag and drop for the underlying " +"[LineEdit], you can use [method Control.set_drag_forwarding] on the node " +"returned by [method get_line_edit]." msgstr "" -"SpinBox是一个数字输入文本字段。它允许输入整数和浮点数。\n" +"SpinBox 是输入数字的文本字段。允许输入整数和浮点数。\n" "[b]例子:[/b]\n" "[codeblock]\n" "var spin_box = SpinBox.new()\n" @@ -68269,11 +68606,10 @@ msgstr "" "line_edit.context_menu_enabled = false\n" "spin_box.align = LineEdit.ALIGN_RIGHT\n" "[/codeblock]\n" -"上面的代码将创建一个[SpinBox],禁用其上的上下文菜单,并将文本对齐方式设置为右" -"对齐。\n" -"参阅[Range]类,以获得更多关于[SpinBox]的选项。\n" -"[b]注意:[/b] [SpinBox] 依赖于底层的[LineEdit]节点。要为[SpinBox]的背景设置主" -"题,请为[LineEdit]添加主题项,并对其进行定制。" +"上面的代码将创建一个 [SpinBox]、禁用其上下文菜单,并将文本设置为右对齐。\n" +"更多关于 [SpinBox] 的选项请参阅 [Range] 类。\n" +"[b]注意:[/b][SpinBox] 依赖于底层的 [LineEdit] 节点。要为 [SpinBox] 的背景设" +"置主题,请为 [LineEdit] 添加主题项,并对其进行定制。" #: doc/classes/SpinBox.xml msgid "Applies the current value of this [SpinBox]." @@ -68287,10 +68623,10 @@ msgid "" "may cause a crash. If you wish to hide it or any of its children, use their " "[member CanvasItem.visible] property." msgstr "" -"返回这个[SpinBox]中的[LineEdit]实例。你可以用它来访问[LineEdit]的属性和方" -"法。\n" -"[b]警告:[/b] 这是一个必要的内部节点,移除和释放它可能会导致崩溃。如果你想隐" -"藏它或它的任何子节点,请使用其 [member CanvasItem.visible] 属性。" +"返回这个 [SpinBox] 中的 [LineEdit] 实例。你可以用它来访问 [LineEdit] 的属性和" +"方法。\n" +"[b]警告:[/b]这是一个必要的内部节点,移除和释放它可能会导致崩溃。如果你想隐藏" +"它或它的任何子节点,请使用其 [member CanvasItem.visible] 属性。" #: doc/classes/SpinBox.xml msgid "Sets the text alignment of the [SpinBox]." @@ -68559,7 +68895,7 @@ msgid "" msgstr "" "如果给定位置的像素不透明,则返回 [code]true[/code],其他情况下返回 " "[code]false[/code]。\n" -"[b]注意:[/b]如果精灵的纹理为[code]null[/code]或者给定的位置无效,它也会返回" +"[b]注意:[/b]如果精灵的纹理为[code]null[/code]或者给定的位置无效,它也会返回 " "[code]false[/code]。" #: doc/classes/Sprite.xml @@ -69061,8 +69397,8 @@ msgid "" msgstr "" "从流中获取一个 Variant。如果 [code]allow_object[/code] 为 [code]true[/code]," "则会允许解码出对象。\n" -"[b]警告:[/b] 反序列化的对象可能包含会被执行的代码。如果序列化的对象来自不可" -"信的来源,请勿使用该选项,以免造成远程代码执行等安全威胁。" +"[b]警告:[/b]反序列化的对象可能包含会被执行的代码。如果序列化的对象来自不可信" +"的来源,请勿使用该选项,以免造成远程代码执行等安全威胁。" #: doc/classes/StreamPeer.xml msgid "Puts a signed 16-bit value into the stream." @@ -69119,7 +69455,7 @@ msgid "" msgstr "" "向流中放入一个以零结尾的 ASCII 字符串,前缀一个表示其长度的 32 位无符号整" "数。\n" -"[b]注意:[/b] 如果想发送不包含长度前缀的 ASCII 字符串,可以使用 [method " +"[b]注意:[/b]如果想发送不包含长度前缀的 ASCII 字符串,可以使用 [method " "put_data]:\n" "[codeblock]\n" "put_data(\"Hello world\".to_ascii())\n" @@ -69153,7 +69489,7 @@ msgid "" msgstr "" "向流中放入一个以零结尾的 UTF-8 字符串,前缀一个表示其长度的 32 位无符号整" "数。\n" -"[b]注意:[/b] 如果想发送不包含长度前缀的 UTF-8 字符串,可以使用 [method " +"[b]注意:[/b]如果想发送不包含长度前缀的 UTF-8 字符串,可以使用 [method " "put_data]:\n" "[codeblock]\n" "put_data(\"Hello world\".to_utf8())\n" @@ -69257,7 +69593,7 @@ msgstr "" "使用底层 [StreamPeer] [code]stream[/code] 连接到对等点。如果 " "[code]validate_certs[/code] 是 [code]true[/code],[StreamPeerSSL] 将验证对等" "方提供的证书是否与 [code]for_hostname[/code] 匹配。\n" -"[b]注意:[/b] 由于浏览器限制,HTML5 导出不支持指定自定义 " +"[b]注意:[/b]由于浏览器限制,HTML5 导出不支持指定自定义 " "[code]valid_certificate[/code]。" #: doc/classes/StreamPeerSSL.xml doc/classes/StreamPeerTCP.xml @@ -69347,8 +69683,8 @@ msgstr "" "[code]enabled[/code] 为 [code]false[/code] 时(默认如此),数据包会延迟发送," "使用 [url=https://zh.wikipedia.org/wiki/%E7%B4%8D%E6%A0%BC%E7%AE%97%E6%B3%95]" "纳格算法[/url]合并。\n" -"[b]注意:[/b] 如果你的应用所传输的数据包很大,或者需要传输大量数据,建议将本" -"属性保持禁用,因为启用后可能降低总体可用带宽。" +"[b]注意:[/b]如果你的应用所传输的数据包很大,或者需要传输大量数据,建议将本属" +"性保持禁用,因为启用后可能降低总体可用带宽。" #: doc/classes/StreamPeerTCP.xml msgid "" @@ -69642,7 +69978,7 @@ msgid "" msgstr "" "查找首次出现的子字符串。返回该子字符串的起始位置,未找到时则返回 [code]-1[/" "code]。还可以传入查找的起始位置。\n" -"[b]注意:[/b] 如果只想知道字符串是否包含子字符串,请使用 [code]in[/code] 运算" +"[b]注意:[/b]如果只想知道字符串是否包含子字符串,请使用 [code]in[/code] 运算" "符,如下所示:\n" "[codeblock]\n" "# 判断结果将为 `false`。\n" @@ -69884,18 +70220,17 @@ msgid "" "print(\"1.7\".is_valid_float()) # Prints \"True\"\n" "print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"7e3\".is_valid_float()) # Prints \"True\"\n" -"print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" "如果该字符串包含有效的浮点数,则返回 [code]true[/code]。包含整数,也支持指数" "幂:\n" "[codeblock]\n" -"print(\"1.7\".is_valid_float()) # 输出“true”\n" -"print(\"24\".is_valid_float()) # 输出“true”\n" -"print(\"7e3\".is_valid_float()) # 输出“true”\n" -"print(\"24\".is_valid_float()) # 输出“true”\n" -"print(\"Hello\".is_valid_float()) # 输出“false”\n" +"print(\"1.7\".is_valid_float()) # 输出“True”\n" +"print(\"24\".is_valid_float()) # 输出“True”\n" +"print(\"7e3\".is_valid_float()) # 输出“True”\n" +"print(\"24\".is_valid_float()) # 输出“True”\n" +"print(\"Hello\".is_valid_float()) # 输出“False”\n" "[/codeblock]" #: doc/classes/String.xml @@ -69921,7 +70256,6 @@ msgstr "" "[code]false[/code]。" #: doc/classes/String.xml -#, fuzzy msgid "" "Returns [code]true[/code] if this string is a valid identifier. A valid " "identifier may contain only letters, digits and underscores ([code]_[/code]) " @@ -69935,13 +70269,12 @@ msgstr "" "该字符串为有效标识符时,返回 [code]true[/code]。有效标识符仅能够包含字母、数" "字、下划线([code]_[/code]),并且不能以数字开头。\n" "[codeblock]\n" -"print(\"good_ident_1\".is_valid_identifier()) # 输出“true”\n" -"print(\"1st_bad_ident\".is_valid_identifier()) # 输出“false”\n" -"print(\"bad_ident_#2\".is_valid_identifier()) # 输出“false”\n" +"print(\"good_ident_1\".is_valid_identifier()) # 输出“True”\n" +"print(\"1st_bad_ident\".is_valid_identifier()) # 输出“False”\n" +"print(\"bad_ident_#2\".is_valid_identifier()) # 输出“False”\n" "[/codeblock]" #: doc/classes/String.xml -#, fuzzy msgid "" "Returns [code]true[/code] if this string contains a valid integer.\n" "[codeblock]\n" @@ -69954,11 +70287,11 @@ msgid "" msgstr "" "如果该字符串包含有效的整数,则返回 [code]true[/code]\n" "[codeblock]\n" -"print(\"7\".is_valid_int()) # 输出“true”\n" -"print(\"14.6\".is_valid_int()) # 输出“false”\n" -"print(\"L\".is_valid_int()) # 输出“false”\n" -"print(\"+3\".is_valid_int()) # 输出“true”\n" -"print(\"-12\".is_valid_int()) # 输出“true”\n" +"print(\"7\".is_valid_int()) # 输出“True”\n" +"print(\"14.6\".is_valid_int()) # 输出“False”\n" +"print(\"L\".is_valid_int()) # 输出“False”\n" +"print(\"+3\".is_valid_int()) # 输出“True”\n" +"print(\"-12\".is_valid_int()) # 输出“True”\n" "[/codeblock]" #: doc/classes/String.xml @@ -70013,7 +70346,7 @@ msgid "" msgstr "" "返回该字符串从左侧删除若干字符后的副本。参数 [code]chars[/code] 为包含所需删" "除字符的字符串。\n" -"[b]注意:[/b] [code]chars[/code] 不是前缀。如果不想删除一组字符,而是想删除单" +"[b]注意:[/b][code]chars[/code] 不是前缀。如果不想删除一组字符,而是想删除单" "一的前缀字符串,请参阅 [method trim_prefix]。" #: doc/classes/String.xml @@ -70206,8 +70539,8 @@ msgid "" "var some_string = \"One,Two,Three,Four\"\n" "var some_array = some_string.rsplit(\",\", true, 1)\n" "print(some_array.size()) # Prints 2\n" -"print(some_array[0]) # Prints \"Four\"\n" -"print(some_array[1]) # Prints \"Three,Two,One\"\n" +"print(some_array[0]) # Prints \"One,Two,Three\"\n" +"print(some_array[1]) # Prints \"Four\"\n" "[/codeblock]" msgstr "" "从右侧开始,通过 [code]delimiter[/code] 字符串拆分字符串并返回子字符串数" @@ -70220,8 +70553,8 @@ msgstr "" "var some_string = \"One,Two,Three,Four\"\n" "var some_array = some_string.rsplit(\",\", true, 1)\n" "print(some_array.size()) # 打印 2\n" -"print(some_array[0]) # 打印 \"Four\"\n" -"print(some_array[1]) # 打印 \"Three,Two,One\"\n" +"print(some_array[0]) # 打印 \"One,Two,Three\"\n" +"print(some_array[1]) # 打印 \"Four\"\n" "[/codeblock]" #: doc/classes/String.xml @@ -70235,7 +70568,7 @@ msgid "" msgstr "" "返回该字符串从右侧删除若干字符后的副本。参数 [code]chars[/code] 为包含所需删" "除字符的字符串。\n" -"[b]注意:[/b] [code]chars[/code] 不是后缀。如果不想删除一组字符,而是想删除单" +"[b]注意:[/b][code]chars[/code] 不是后缀。如果不想删除一组字符,而是想删除单" "一的前缀字符串,请参阅 [method trim_suffix]。" #: doc/classes/String.xml @@ -70255,11 +70588,12 @@ msgid "Returns the SHA-256 hash of the string as a string." msgstr "以字符串形式返回字符串的 SHA-256 哈希值。" #: doc/classes/String.xml +#, fuzzy msgid "" "Returns the similarity index ([url=https://en.wikipedia.org/wiki/" -"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) this " -"string compared to another. 1.0 means totally similar and 0.0 means totally " -"dissimilar.\n" +"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) of " +"this string compared to another. A result of 1.0 means totally similar, " +"while 0.0 means totally dissimilar.\n" "[codeblock]\n" "print(\"ABC123\".similarity(\"ABC123\")) # Prints \"1\"\n" "print(\"ABC123\".similarity(\"XYZ456\")) # Prints \"0\"\n" @@ -70487,7 +70821,7 @@ msgstr "" "的框。 StyleBox 被用于绘制按钮的样式、行编辑框的背景、树的背景等,也被用作测" "试指针信号的透明掩码。将 StyleBox 指定为控件的掩码时,如果在掩码测试失败,点" "击和运动信号将透过它传递至下层控件。\n" -"[b]注意:[/b] 对于有 [i]主题属性[/i] 的 [Control] 控件,名为 [code]focus[/" +"[b]注意:[/b]对于有 [i]主题属性[/i] 的 [Control] 控件,名为 [code]focus[/" "code] 的 [StyleBox] 会显示在名为 [code]normal[/code]、[code]hover[/code]、" "[code]pressed[/code] 的 [StyleBox]之上。这样的行为有助于 [code]focus[/code] " "[StyleBox] 在不同节点上复用。" @@ -70747,7 +71081,7 @@ msgid "" msgstr "" "抗锯齿会在边缘周围绘制一个渐变到透明的小环。因此边缘看起来会更加平滑。这仅在" "使用圆角时才明显。\n" -"[b]注意:[/b] 使用 45 度倒角([member corner_detail] = 1)时,建议将 [member " +"[b]注意:[/b]使用 45 度倒角([member corner_detail] = 1)时,建议将 [member " "anti_aliasing] 设为 [code]false[/code],这样可以保证画面锐利、避免一些显示问" "题。" @@ -71157,7 +71491,7 @@ msgstr "" "顶点添加 UV,你就不能为任何后续的顶点添加颜色。\n" "参阅 [ArrayMesh]、[ImmediateGeometry] 和 [MeshDataTool] 以了解程序式几何体的" "生成。\n" -"[b]注意:[/b]Godot 对三角形基本模式的正面使用顺时针[url=https://learnopengl." +"[b]注意:[/b]Godot 对三角形图元模式的正面使用顺时针[url=https://learnopengl." "com/Advanced-OpenGL/Face-culling]缠绕顺序[/url]。" #: doc/classes/SurfaceTool.xml @@ -71220,7 +71554,7 @@ msgid "" "Requires the primitive type be set to [constant Mesh.PRIMITIVE_TRIANGLES]." msgstr "" "将一个由数组数据组成的三角扇插入正在构建的 [Mesh] 中。\n" -"需要将基本类型设置为 [constant Mesh.PRIMITIVE_TRIANGLES]。" +"需要将图元类型设置为 [constant Mesh.PRIMITIVE_TRIANGLES]。" #: doc/classes/SurfaceTool.xml msgid "" @@ -71268,7 +71602,7 @@ msgid "" "instead." msgstr "" "将指定 [Mesh] 表面的顶点应用 [Transform] 后,追加到当前的顶点数组中。\n" -"[b]注意:[/b] 在 [Thread] 中使用 [method append_from] 会更慢,因为 GPU 必须将" +"[b]注意:[/b]在 [Thread] 中使用 [method append_from] 会更慢,因为 GPU 必须将" "数据送回 CPU,会把主线程暂停(因为 OpenGL 是线程不安全的)。请考虑先把该网格" "复制一份,转成 [ArrayMesh] 后再手动添加顶点。" @@ -71277,8 +71611,8 @@ msgid "" "Called before adding any vertices. Takes the primitive type as an argument " "(e.g. [constant Mesh.PRIMITIVE_TRIANGLES])." msgstr "" -"在添加任何顶点之前被调用。接收原始类型作为参数(例如:原始三角形[constant " -"Mesh.PRIMITIVE_TRIANGLES])。" +"在添加任何顶点之前被调用。接收图元类型作为参数(例如:[constant Mesh." +"PRIMITIVE_TRIANGLES])。" #: doc/classes/SurfaceTool.xml msgid "Clear all information passed into the surface tool so far." @@ -71342,7 +71676,7 @@ msgstr "" "[/i] 调用,在[i]之前[/i]使用 [method commit] 或 [method commit_to_arrays] 提" "交网格。为了正确显示法线贴图表面,您还必须使用 [method generate_tangents] 生" "成切线。\n" -"[b]注意:[/b] [method generate_normals] 仅当基本类型设置为 [constant Mesh." +"[b]注意:[/b][method generate_normals] 仅当图元类型设置为 [constant Mesh." "PRIMITIVE_TRIANGLES] 时才有效。" #: doc/classes/SurfaceTool.xml @@ -71397,8 +71731,8 @@ msgid "" "[member CanvasItem.visible] property." msgstr "" "如果已通过 [method set_popup] 设置 [Popup] 节点实例,则返回该实例。\n" -"[b]警告:[/b] 该节点为必要的内部节点,将其移除或释放可能造成崩溃。如果你希望" -"将其或其子节点隐藏,请使用对应节点的 [member CanvasItem.visible] 属性。" +"[b]警告:[/b]该节点为必要的内部节点,将其移除或释放可能造成崩溃。如果你希望将" +"其或其子节点隐藏,请使用对应节点的 [member CanvasItem.visible] 属性。" #: doc/classes/TabContainer.xml doc/classes/Tabs.xml msgid "Returns the previously active tab index." @@ -71838,7 +72172,7 @@ msgstr "" #: doc/classes/TCP_Server.xml msgid "Returns [code]true[/code] if a connection is available for taking." -msgstr "如果有一个连接可用,返回[code]true[/code]。" +msgstr "如果有一个连接可用,返回 [code]true[/code]。" #: doc/classes/TCP_Server.xml msgid "" @@ -72031,10 +72365,10 @@ msgid "" "may cause a crash. If you wish to hide it or any of its children, use their " "[member CanvasItem.visible] property." msgstr "" -"返回此[TextEdit]的[PopupMenu]。默认情况下,这个菜单在右键点击[TextEdit]的时候" -"显示。\n" -"[b]警告:[/b] 这是一个必要的内部节点,删除和释放它可能会导致崩溃。如果你想隐" -"藏它或它的任何子节点,请使用其的 [member CanvasItem.visible] 属性。" +"返回此 [TextEdit] 的 [PopupMenu]。默认情况下,这个菜单在右键点击 [TextEdit] " +"的时候显示。\n" +"[b]警告:[/b]这是一个必要的内部节点,删除和释放它可能会导致崩溃。如果你想隐藏" +"它或它的任何子节点,请使用其的 [member CanvasItem.visible] 属性。" #: doc/classes/TextEdit.xml msgid "" @@ -72068,10 +72402,6 @@ msgstr "" "则是底部位置。" #: doc/classes/TextEdit.xml -msgid "Returns the selection begin column." -msgstr "返回选择的开始列。" - -#: doc/classes/TextEdit.xml msgid "Returns the selection begin line." msgstr "返回选择开始行。" @@ -72080,10 +72410,6 @@ msgid "Returns the text inside the selection." msgstr "返回选择内的文本。" #: doc/classes/TextEdit.xml -msgid "Returns the selection end column." -msgstr "返回选择结束列。" - -#: doc/classes/TextEdit.xml msgid "Returns the selection end line." msgstr "返回选择结束行。" @@ -72152,11 +72478,12 @@ msgid "Returns if the given line is wrapped." msgstr "返回给定的行是否换行。" #: doc/classes/TextEdit.xml -#, fuzzy msgid "" "Returns whether the mouse is over selection. If [code]edges[/code] is " "[code]true[/code], the edges are considered part of the selection." -msgstr "返回节点[code]id[/code]和[code]dst_id[/code]是否在指定的插槽上连接。" +msgstr "" +"返回鼠标是否位于选区之上。如果 [code]edges[/code] 为 [code]true[/code],则边" +"界会被认为是选区的一部分。" #: doc/classes/TextEdit.xml msgid "Returns [code]true[/code] if the selection is active." @@ -72762,8 +73089,8 @@ msgid "" "backend. In GLES2, their data can be accessed via scripting, but there is no " "way to render them in a hardware-accelerated manner." msgstr "" -"[TextureArray] 在单个 [Texture] 基本单元中存储一个 [Image] 数组。纹理数组的每" -"一层都有自己的多级渐远纹理链。这使得它成为纹理图集很好的替代品。另请参阅 " +"[TextureArray] 在单个 [Texture] 基元中存储 [Image] 数组。纹理数组的每一层都有" +"自己的多级渐远纹理链。这使得它成为纹理图集很好的替代品。另请参阅 " "[Texture3D]。\n" "[TextureArray] 必须使用着色器来显示。在把你的文件导入为 [TextureArray] 并设置" "适当的水平和垂直切片后,通过把它设置为着色器 uniform 来显示它,例如(2D):\n" @@ -72851,14 +73178,14 @@ msgid "" "white pixels represent the button's clickable area. Use it to create buttons " "with curved shapes." msgstr "" -"用于点击检测的纯黑白[BitMap]图像。在遮罩上,白色像素代表按钮的可点击区域。可" -"用它来创建具有弯曲形状的按钮。" +"用于点击检测的纯黑白 [BitMap] 图像。在遮罩上,白色像素代表按钮的可点击区域。" +"可用它来创建具有弯曲形状的按钮。" #: doc/classes/TextureButton.xml msgid "" "Texture to display when the node is disabled. See [member BaseButton." "disabled]." -msgstr "节点被禁用时显示的纹理。参阅[member BaseButton.disabled]。" +msgstr "节点被禁用时显示的纹理。参阅 [member BaseButton.disabled]。" #: doc/classes/TextureButton.xml msgid "Texture to display when the node has mouse or keyboard focus." @@ -73239,7 +73566,7 @@ msgstr "" "用于在用户界面上绘制图标和精灵。纹理的位置可以通过 [member stretch_mode] 属性" "来控制。它可以缩放、平铺,或者在其边界矩形内保持居中。\n" "[b]注意:[/b]当使用 TextureRect 来显示 [ViewportTexture] 时,你应该启用 " -"[member flip_v]。或者,你也可以在视窗上启用 [member Viewport." +"[member flip_v]。或者,你也可以在 Viewport 上启用 [member Viewport." "render_target_v_flip]。否则,图像会出现上下颠倒的情况。" #: doc/classes/TextureRect.xml @@ -73263,9 +73590,9 @@ msgid "" "compatibility. Until you set [code]expand[/code] to [code]true[/code], the " "texture will behave like [constant STRETCH_KEEP]." msgstr "" -"缩放以适应节点的边界矩形,只有当[code]expand[/code]为[code]true[/code]时生" +"缩放以适应节点的边界矩形,只有当[code]expand[/code]为 [code]true[/code] 时生" "效。默认为[code]stretch_mode[/code],用于向后兼容。在你将[code]expand[/code]" -"设置为[code]true[/code]之前,纹理会表现得像[constant STRETCH_KEEP]。" +"设置为 [code]true[/code]之前,纹理会表现得像[constant STRETCH_KEEP]。" #: doc/classes/TextureRect.xml msgid "" @@ -73292,6 +73619,14 @@ msgstr "" "还可以通过编写 [code].theme[/code] 文件加载主题资源,更多信息见文档。" #: doc/classes/Theme.xml +msgid "" +"Adds an empty theme type for every valid data type.\n" +"[b]Note:[/b] Empty types are not saved with the theme. This method only " +"exists to perform in-memory changes to the resource. Use available " +"[code]set_*[/code] methods to add theme items." +msgstr "" + +#: doc/classes/Theme.xml msgid "Clears all values on the theme." msgstr "清除主题上的所有值。" @@ -73360,7 +73695,7 @@ msgstr "将主题的取值设置为指定主题的副本。" msgid "" "Returns the [Color] at [code]name[/code] if the theme has [code]node_type[/" "code]." -msgstr "如果主题有[code]node_type[/code],返回[code]name[/code]处的[Color]。" +msgstr "如果主题有[code]node_type[/code],返回 [code]name[/code]处的[Color]。" #: doc/classes/Theme.xml msgid "" @@ -73382,7 +73717,7 @@ msgstr "" msgid "" "Returns the constant at [code]name[/code] if the theme has [code]node_type[/" "code]." -msgstr "如果主题有[code]node_type[/code],返回[code]name[/code]处的常量。" +msgstr "如果主题有[code]node_type[/code],返回 [code]name[/code]处的常量。" #: doc/classes/Theme.xml msgid "" @@ -73433,7 +73768,7 @@ msgid "" "Returns the icon [Texture] at [code]name[/code] if the theme has " "[code]node_type[/code]." msgstr "" -"如果主题有[code]node_type[/code],返回[code]name[/code]处的图标[Texture]。" +"如果主题有[code]node_type[/code],返回 [code]name[/code]处的图标[Texture]。" #: doc/classes/Theme.xml msgid "" @@ -73458,7 +73793,7 @@ msgid "" "Valid [code]name[/code]s may be found using [method get_stylebox_list]. " "Valid [code]node_type[/code]s may be found using [method get_stylebox_types]." msgstr "" -"如果主题有[code]node_type[/code],返回[code]name[/code]处的[StyleBox]。\n" +"如果主题有[code]node_type[/code],返回 [code]name[/code]处的[StyleBox]。\n" "可以使用[method get_stylebox_list]找到有效的[code]name[/code]。可以通过" "[method get_stylebox_types]来找到有效的[code]node_type[/code]。" @@ -73550,9 +73885,9 @@ msgid "" "[code]node_type[/code].\n" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." msgstr "" -"如果带有[code]name[/code]的[Color]在[code]node_type[/code]中,则返回" +"如果带有[code]name[/code]的[Color]在[code]node_type[/code]中,则返回 " "[code]true[/code]。\n" -"如果主题没有[code]node_type[/code],则返回[code]false[/code]。" +"如果主题没有[code]node_type[/code],则返回 [code]false[/code]。" #: doc/classes/Theme.xml msgid "" @@ -73560,16 +73895,16 @@ msgid "" "[code]node_type[/code].\n" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." msgstr "" -"如果带有[code]name[/code]的常量在[code]node_type[/code]中,则返回[code]true[/" -"code]。\n" -"如果主题没有[code]node_type[/code],则返回[code]false[/code]。" +"如果带有[code]name[/code]的常量在[code]node_type[/code]中,则返回 " +"[code]true[/code]。\n" +"如果主题没有[code]node_type[/code],则返回 [code]false[/code]。" #: doc/classes/Theme.xml msgid "" "Returns [code]true[/code] if this theme has a valid [member default_font] " "value." msgstr "" -"如果这个主题有一个有效的[member default_font]值,返回[code]true[/code]。" +"如果这个主题有一个有效的[member default_font]值,返回 [code]true[/code]。" #: doc/classes/Theme.xml msgid "" @@ -73577,9 +73912,9 @@ msgid "" "[code]node_type[/code].\n" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." msgstr "" -"如果带有[code]name[/code]的[Font]在[code]node_type[/code]中,则返回" +"如果带有[code]name[/code]的[Font]在[code]node_type[/code]中,则返回 " "[code]true[/code]。\n" -"如果主题没有[code]node_type[/code],则返回[code]false[/code]。" +"如果主题没有[code]node_type[/code],则返回 [code]false[/code]。" #: doc/classes/Theme.xml msgid "" @@ -73587,9 +73922,9 @@ msgid "" "[code]node_type[/code].\n" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." msgstr "" -"如果带有[code]name[/code]的图标[Texture]在[code]node_type[/code]中,则返回" +"如果带有[code]name[/code]的图标[Texture]在[code]node_type[/code]中,则返回 " "[code]true[/code]。\n" -"如果主题没有[code]node_type[/code],则返回[code]false[/code]。" +"如果主题没有[code]node_type[/code],则返回 [code]false[/code]。" #: doc/classes/Theme.xml msgid "" @@ -73597,9 +73932,9 @@ msgid "" "[code]node_type[/code].\n" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." msgstr "" -"如果带有[code]name[/code]的[StyleBox]在[code]node_type[/code]中,返回" +"如果带有[code]name[/code]的[StyleBox]在[code]node_type[/code]中,返回 " "[code]true[/code]。\n" -"如果主题没有[code]node_type[/code],则返回[code]false[/code]。" +"如果主题没有[code]node_type[/code],则返回 [code]false[/code]。" #: doc/classes/Theme.xml msgid "" @@ -73608,8 +73943,8 @@ msgid "" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." msgstr "" "如果一个[code]data_type[/code]的主题项目与[code]name[/code]在" -"[code]node_type[/code]中,则返回[code]true[/code]。\n" -"如果该主题没有[code]node_type[/code],则返回[code]false[/code]。" +"[code]node_type[/code]中,则返回 [code]true[/code]。\n" +"如果该主题没有[code]node_type[/code],则返回 [code]false[/code]。" #: doc/classes/Theme.xml msgid "" @@ -73628,8 +73963,15 @@ msgid "" "merge the other two into it one after another." msgstr "" "用[code]other[/code][Theme]的值添加缺失的,和覆盖现有的定义。\n" -"[b]注意:[/b] 这将修改当前的主题。如果你想在不修改任何一个主题的情况下将两个" -"主题合并在一起,请创建一个新的空主题,然后将另外两个主题逐个合并到其中。" +"[b]注意:[/b]这将修改当前的主题。如果你想在不修改任何一个主题的情况下将两个主" +"题合并在一起,请创建一个新的空主题,然后将另外两个主题逐个合并到其中。" + +#: doc/classes/Theme.xml +msgid "" +"Removes the theme type, gracefully discarding defined theme items. If the " +"type is a variation, this information is also erased. If the type is a base " +"for type variations, those variations lose their base." +msgstr "" #: doc/classes/Theme.xml msgid "" @@ -73821,8 +74163,8 @@ msgid "" msgstr "" "进程中的执行单元。可以同时在 [Object] 上运行方法。如果使用共享对象,建议通过 " "[Mutex] 或 [Semaphore] 使用同步。\n" -"[b]注意:[/b] 如果代码在线程中运行,断点不会中断。这是 GDScript 调试器的当前" -"限制。" +"[b]注意:[/b]如果代码在线程中运行,断点不会中断。这是 GDScript 调试器的当前限" +"制。" #: doc/classes/Thread.xml msgid "Using multiple threads" @@ -73894,7 +74236,7 @@ msgstr "" "[Thread] 的实例之前。\n" "如果想确定调用本方法是否会阻塞调用线程,请检查 [method is_alive] 是否为 " "[code]false[/code]。\n" -"[b]注意:[/b] [Thread] 在完成合并后将被销毁。如果要再次使用它,则必须创建它的" +"[b]注意:[/b][Thread] 在完成合并后将被销毁。如果要再次使用它,则必须创建它的" "新实例。" #: doc/classes/Thread.xml @@ -74000,15 +74342,15 @@ msgstr "返回一个包围着地图中已使用非空图块的矩形。" msgid "" "Returns [code]true[/code] if the given cell is transposed, i.e. the X and Y " "axes are swapped." -msgstr "如果指定单元格被转置,即X轴和Y轴互换,则返回[code]true[/code]。" +msgstr "如果指定单元格被转置,即X轴和Y轴互换,则返回 [code]true[/code]。" #: doc/classes/TileMap.xml msgid "Returns [code]true[/code] if the given cell is flipped in the X axis." -msgstr "如果指定单元格在X轴上被翻转,则返回[code]true[/code]。" +msgstr "如果指定单元格在X轴上被翻转,则返回 [code]true[/code]。" #: doc/classes/TileMap.xml msgid "Returns [code]true[/code] if the given cell is flipped in the Y axis." -msgstr "如果指定单元格在Y轴上被翻转,则返回[code]true[/code]。" +msgstr "如果指定单元格在Y轴上被翻转,则返回 [code]true[/code]。" #: doc/classes/TileMap.xml msgid "" @@ -74885,6 +75227,8 @@ msgid "" "For example, -480 returns \"-08:00\", 345 returns \"+05:45\", and 0 returns " "\"+00:00\"." msgstr "" +"将给定的时区偏移分钟数转换为时区偏移字符串。例如,-480 返回 \"-08:00\"、345 " +"返回 \"+05:45\"、0 返回 \"+00:00\"。" #: doc/classes/Time.xml msgid "" @@ -75092,7 +75436,7 @@ msgstr "" #: doc/classes/Timer.xml msgid "Returns [code]true[/code] if the timer is stopped." -msgstr "如果定时器被停止,返回[code]true[/code]。" +msgstr "如果定时器被停止,返回 [code]true[/code]。" #: doc/classes/Timer.xml msgid "" @@ -75103,7 +75447,7 @@ msgid "" msgstr "" "启动定时器。如果[code]time_sec>0[/code],将[code]wait_time[/code]设置为" "[code]time_sec[/code]。这也会将剩余时间重置为[code]wait_time[/code]。\n" -"[b]注意:[/b] 这个方法不会恢复一个暂停的定时器。参阅 [member paused]。" +"[b]注意:[/b]这个方法不会恢复一个暂停的定时器。参阅 [member paused]。" #: doc/classes/Timer.xml msgid "Stops the timer." @@ -75117,7 +75461,7 @@ msgid "" "the timer enters the scene tree and starts." msgstr "" "如果[code]true[/code],定时器将在进入场景树时自动启动。\n" -"[b]注意:[/b]在定时器进入场景树并启动后,该属性会自动设置为[code]false[/" +"[b]注意:[/b]在定时器进入场景树并启动后,该属性会自动设置为 [code]false[/" "code]。" #: doc/classes/Timer.xml @@ -75147,8 +75491,7 @@ msgid "" "time, use [method start]." msgstr "" "定时器的剩余时间,单位是秒。如果定时器处于非激活状态,则返回0。\n" -"[b]注意:[/b] 你不能设置这个值。要改变定时器的剩余时间,请使用[method " -"start]。" +"[b]注意:[/b]你不能设置这个值。要改变定时器的剩余时间,请使用[method start]。" #: doc/classes/Timer.xml msgid "" @@ -75161,7 +75504,7 @@ msgid "" "process loop in a script instead of using a Timer node." msgstr "" "等待的秒数。\n" -"[b]注意:[/b] 计时器在一个渲染帧中最多只能触发一次(如果 [member " +"[b]注意:[/b]计时器在一个渲染帧中最多只能触发一次(如果 [member " "process_mode] 为 [constant TIMER_PROCESS_PHYSICS],则是在一个物理帧中最多一" "次)。也就是说,非常低的等待时间(小于 0.05 秒)会根据渲染帧率的不同而产生不" "同的行为。如果等待时间非常小,建议在脚本中使用 process 循环,不要用 Timer 节" @@ -75284,7 +75627,7 @@ msgstr "" #: doc/classes/TouchScreenButton.xml msgid "Returns [code]true[/code] if this button is currently pressed." -msgstr "如果这个按钮当前被按下,则返回[code]true[/code]。" +msgstr "如果这个按钮当前被按下,则返回 [code]true[/code]。" #: doc/classes/TouchScreenButton.xml msgid "The button's action. Actions can be handled with [InputEventAction]." @@ -75426,7 +75769,7 @@ msgid "" "component." msgstr "" "如果这个变换和[code]transform[/code]近似相等,通过对每个分量调用" -"[code]is_equal_approx[/code],而返回[code]true[/code]。" +"[code]is_equal_approx[/code],而返回 [code]true[/code]。" #: doc/classes/Transform.xml msgid "" @@ -75684,17 +76027,17 @@ msgstr "翻译的区域设置。" #: doc/classes/TranslationServer.xml msgid "Server that manages all translations." -msgstr "管理所有翻译的服务。" +msgstr "管理所有翻译的服务器。" #: doc/classes/TranslationServer.xml msgid "" "Server that manages all translations. Translations can be set to it and " "removed from it." -msgstr "管理所有翻译的服务。翻译可被设置,也可从中删除。" +msgstr "管理所有翻译的服务器。可以将翻译设给它,也可从中删除翻译。" #: doc/classes/TranslationServer.xml msgid "Adds a [Translation] resource." -msgstr "添加一个[Translation]翻译资源。" +msgstr "添加一个 [Translation] 资源。" #: doc/classes/TranslationServer.xml msgid "Clears the server from all translations." @@ -75724,7 +76067,7 @@ msgstr "" #: doc/classes/TranslationServer.xml msgid "Removes the given translation from the server." -msgstr "从服务中删除给定的翻译。" +msgstr "从服务器中删除给定的翻译。" #: doc/classes/TranslationServer.xml msgid "" @@ -75735,16 +76078,16 @@ msgid "" "applied." msgstr "" "设置项目的区域设置。[code]locale[/code] 字符串将被标准化,以匹配已知的区域。" -"例如,[code]en-US[/code]将被匹配到[code]en_US[/code]。\n" +"例如,[code]en-US[/code] 将被匹配到 [code]en_US[/code]。\n" "如果事先已经加载了新区域的翻译,其将被应用。" #: doc/classes/TranslationServer.xml msgid "Returns the current locale's translation for the given message (key)." -msgstr "返回当前区域设置对指定信息(key)的翻译。" +msgstr "返回当前区域设置对指定消息(key)的翻译。" #: doc/classes/Tree.xml msgid "Control to show a tree of items." -msgstr "控件显示项目树。" +msgstr "以树状形式显示项目的控件。" #: doc/classes/Tree.xml msgid "" @@ -75815,7 +76158,8 @@ msgid "" "the item could be edited. Fails if no item is selected." msgstr "" "编辑选中的树项,就像它被点击一样。该项必须通过[method TreeItem.set_editable]" -"设置为可编辑。其可被编辑,则返回[code]true[/code]。如果没有项被选中,则失败。" +"设置为可编辑。其可被编辑,则返回 [code]true[/code]。如果没有项被选中,则失" +"败。" #: doc/classes/Tree.xml msgid "" @@ -75931,7 +76275,7 @@ msgstr "返回最后按下的按钮的索引。" #: doc/classes/Tree.xml msgid "" "Returns the tree's root item, or [code]null[/code] if the tree is empty." -msgstr "返回树的根项,如果树是空的,则返回[code]null[/code]。" +msgstr "返回树的根项,如果树是空的,则返回 [code]null[/code]。" #: doc/classes/Tree.xml msgid "Returns the current scrolling position." @@ -75946,7 +76290,7 @@ msgid "" "focused item is the item under the focus cursor, not necessarily selected.\n" "To get the currently selected item(s), use [method get_next_selected]." msgstr "" -"返回当前的焦点项,如果没有焦点项,则返回[code]null[/code]。\n" +"返回当前的焦点项,如果没有焦点项,则返回 [code]null[/code]。\n" "在[constant SELECT_ROW]和[constant SELECT_SINGLE]模式下,焦点项与选择项相同。" "在[constant SELECT_MULTI]模式下,焦点项是焦点光标下的项目,不一定被选中。\n" "要获得当前选中项,请使用[method get_next_selected]。" @@ -76476,7 +76820,7 @@ msgstr "返回列[code]column[/code]的自定义颜色。" #: doc/classes/TreeItem.xml msgid "Returns [code]true[/code] if [code]expand_right[/code] is set." -msgstr "如果设置了[code]expand_right[/code],返回[code]true[/code]。" +msgstr "如果设置了[code]expand_right[/code],返回 [code]true[/code]。" #: doc/classes/TreeItem.xml msgid "Returns the given column's icon [Texture]. Error if no icon is set." @@ -76515,7 +76859,7 @@ msgid "" msgstr "" "返回树中下一个可见的TreeItem树项,如果没有,则返回空对象。\n" "如果[code]wrap[/code]被启用,当在最后一个可见元素上调用时,该方法将环绕到树中" -"的第一个可见元素,否则它将返回[code]null[/code]。" +"的第一个可见元素,否则它将返回 [code]null[/code]。" #: doc/classes/TreeItem.xml msgid "Returns the parent TreeItem or a null object if there is none." @@ -76536,7 +76880,7 @@ msgid "" msgstr "" "返回树中前一个可见的TreeItem树项,如果没有,则返回null对象。\n" "如果[code]wrap[/code]被启用,当在第一个可见元素上调用时,该方法将环绕到树中最" -"后一个可见元素,否则它将返回[code]null[/code]。" +"后一个可见元素,否则它将返回 [code]null[/code]。" #: doc/classes/TreeItem.xml msgid "Returns the value of a [constant CELL_MODE_RANGE] column." @@ -76570,24 +76914,24 @@ msgid "" "Returns [code]true[/code] if the button at index [code]button_idx[/code] for " "the given column is disabled." msgstr "" -"如果给定列的索引[code]button_idx[/code]处的按钮被禁用,返回[code]true[/" +"如果给定列的索引[code]button_idx[/code]处的按钮被禁用,返回 [code]true[/" "code]。" #: doc/classes/TreeItem.xml msgid "Returns [code]true[/code] if the given column is checked." -msgstr "如果给定的列被选中,返回[code]true[/code]。" +msgstr "如果给定的列被选中,返回 [code]true[/code]。" #: doc/classes/TreeItem.xml msgid "Returns [code]true[/code] if column [code]column[/code] is editable." -msgstr "如果列[code]column[/code]是可编辑的,则返回[code]true[/code]。" +msgstr "如果列[code]column[/code]是可编辑的,则返回 [code]true[/code]。" #: doc/classes/TreeItem.xml msgid "Returns [code]true[/code] if column [code]column[/code] is selectable." -msgstr "如果列[code]column[/code]是可选择的,则返回[code]true[/code]。" +msgstr "如果列[code]column[/code]是可选择的,则返回 [code]true[/code]。" #: doc/classes/TreeItem.xml msgid "Returns [code]true[/code] if column [code]column[/code] is selected." -msgstr "如果列[code]column[/code]被选中,返回[code]true[/code]。" +msgstr "如果列[code]column[/code]被选中,返回 [code]true[/code]。" #: doc/classes/TreeItem.xml msgid "Moves this TreeItem to the bottom in the [Tree] hierarchy." @@ -76845,7 +77189,7 @@ msgstr "" "[url=https://easings.net/]easings.net[/url] 的一些例子)。后者接受 [enum " "EaseType] 常量,控制 [code]trans_type[/code] 应用于插值的位置(开头、结尾、或" "两处都是)。如果你不知道该选哪个过渡和缓动,你可以用 [constant EASE_IN_OUT] " -"尝试不同的 [enum TransitionType] 常数,然后使用看起来最好的那个。\n" +"尝试不同的 [enum TransitionType] 常量,然后使用看起来最好的那个。\n" "[url=https://raw.githubusercontent.com/godotengine/godot-docs/master/img/" "tween_cheatsheet.png]Tween 缓动与过渡类型速查表[/url]\n" "[b]注意:[/b]如果无法完成所请求的操作,Tween 的方法会返回 [code]false[/" @@ -77190,7 +77534,7 @@ msgstr "[constant EASE_IN] and [constant EASE_OUT]的组合。两端的插值最 #: doc/classes/UDPServer.xml msgid "Helper class to implement a UDP server." -msgstr "用于实现UDP服务的辅助类。" +msgstr "用于实现 UDP 服务器的辅助类。" #: doc/classes/UDPServer.xml msgid "" @@ -77305,12 +77649,13 @@ msgid "" "Returns [code]true[/code] if a packet with a new address/port combination " "was received on the socket." msgstr "" -"如果在套接字中收到一个具有新地址及端口组合的数据包,则返回[code]true[/code]。" +"如果在套接字中收到一个具有新地址及端口组合的数据包,则返回 [code]true[/" +"code]。" #: doc/classes/UDPServer.xml msgid "" "Returns [code]true[/code] if the socket is open and listening on a port." -msgstr "如果套接字是打开的,并且在监听端口,则返回[code]true[/code]。" +msgstr "如果套接字是打开的,并且在监听端口,则返回 [code]true[/code]。" #: doc/classes/UDPServer.xml msgid "" @@ -77318,8 +77663,8 @@ msgid "" "can optionally specify a [code]bind_address[/code] to only listen for " "packets sent to that address. See also [method PacketPeerUDP.listen]." msgstr "" -"通过在给定的端口上打开一个UDP套接字来启动服务。你可以选择指定一个" -"[code]bind_address[/code],只监听发送到该地址的数据包。参阅[method " +"通过在给定的端口上打开一个 UDP 套接字来启动服务器。你可以选择指定一个 " +"[code]bind_address[/code],只监听发送到该地址的数据包。参阅 [method " "PacketPeerUDP.listen]。" #: doc/classes/UDPServer.xml @@ -77343,8 +77688,8 @@ msgid "" "[PacketPeerUDP] accepted via [method take_connection] (remote peers will not " "be notified)." msgstr "" -"停止服务,如果UDP套接字是打开的,就关闭它。将关闭所有通过[method " -"take_connection]接受连接的[PacketPeerUDP],注,不会通知远程对等体。" +"停止服务器,如果 UDP 套接字处于打开状态,就关闭它。将关闭所有通过 [method " +"take_connection] 接受连接的 [PacketPeerUDP](不会通知远程对等体)。" #: doc/classes/UDPServer.xml msgid "" @@ -77354,7 +77699,7 @@ msgid "" "connect_to_host]." msgstr "" "返回第一个挂起的连接,注,连接到适当的地址及端口。如果没有新的连接可用,将返" -"回[code]null[/code]。参阅[method is_connection_available], [method " +"回 [code]null[/code]。参阅[method is_connection_available], [method " "PacketPeerUDP.connect_to_host]。" #: doc/classes/UDPServer.xml @@ -77521,7 +77866,7 @@ msgid "" "action, i.e. running its \"do\" method or property change (see [method " "commit_action])." msgstr "" -"如果 [UndoRedo] 当前正在提交动作,即运行其“do”的方法或属性变化,则返回" +"如果 [UndoRedo] 当前正在提交动作,即运行其“do”的方法或属性变化,则返回 " "[code]true[/code](请参阅 [method commit_action])。" #: doc/classes/UndoRedo.xml @@ -77971,7 +78316,7 @@ msgid "" "Returns [code]true[/code] if this is a valid IGD (InternetGatewayDevice) " "which potentially supports port forwarding." msgstr "" -"如果这是一个有效的IGD(InternetGatewayDevice),可能支持端口转发,则返回" +"如果这是一个有效的IGD(InternetGatewayDevice),可能支持端口转发,则返回 " "[code]true[/code]。" #: modules/upnp/doc_classes/UPNPDevice.xml @@ -78248,8 +78593,8 @@ msgid "" msgstr "" "返回这个向量相对于正X轴的角度,或[code](1, 0)[/code]向量,单位为弧度。\n" "例如,[code]Vector2.RIGHT.angle()[/code]将返回0,[code]Vector2.DOWN.angle()[/" -"code]将返回[code]PI / 2[/code](四分之一转,或90度),[code]Vector2(1, -1)." -"angle()[/code]将返回[code]-PI / 4[/code] (负八分之一转,或-45度)。\n" +"code]将返回 [code]PI / 2[/code](四分之一转,或90度),[code]Vector2(1, -1)." +"angle()[/code]将返回 [code]-PI / 4[/code] (负八分之一转,或-45度)。\n" "[url=https://raw.githubusercontent.com/godotengine/godot-docs/master/img/" "vector2_angle.png]返回角度的说明。[/url]\n" "相当于以向量的[member y] 和 [member x]为参数调用[method @GDScript.atan2]时的" @@ -78388,13 +78733,14 @@ msgid "" "component." msgstr "" "通过对每个分量运行[method @GDScript.is_equal_approx],如果这个向量和[code]v[/" -"code]近似相等,返回[code]true[/code]。" +"code]近似相等,返回 [code]true[/code]。" #: doc/classes/Vector2.xml doc/classes/Vector3.xml msgid "" "Returns [code]true[/code] if the vector is normalized, [code]false[/code] " "otherwise." -msgstr "如果向量被归一化,返回[code]true[/code],否则返回[code]false[/code]。" +msgstr "" +"如果向量被归一化,返回 [code]true[/code],否则返回 [code]false[/code]。" #: doc/classes/Vector2.xml doc/classes/Vector3.xml msgid "Returns the length (magnitude) of this vector." @@ -78783,10 +79129,11 @@ msgid "" "[PhysicsBody] class." msgstr "" "此节点实现了模拟汽车所需的所有物理逻辑。它是基于物理引擎中常见的射线投射的车" -"辆系统。你需要为车的主体添加一个[CollisionShape],并为车轮添加[VehicleWheel]" -"节点。还应该为汽车的三维模型添加一个[MeshInstance]节点,但这个模型不应该包括" -"车轮的网格。你应该通过使用[member brake]、[member engine_force]和 [member " -"steering] 属性来控制车辆,而不是直接改变这个节点的位置或方向。\n" +"辆系统。你需要为车的主体添加一个 [CollisionShape],并为车轮添加 " +"[VehicleWheel] 节点。还应该为汽车的 3D 模型添加一个 [MeshInstance] 节点,但这" +"个模型不应该包括车轮的网格。你应该通过使用 [member brake]、[member " +"engine_force] 和 [member steering] 属性来控制车辆,而不是直接改变这个节点的位" +"置或方向。\n" "[b]注意:[/b]你的 VehicleBody 的原点将决定你的车辆的重心,所以最好保持低位," "并将 [CollisionShape] 和 [MeshInstance] 往上移。\n" "[b]注意:[/b]这个类有已知的问题,并不是为了提供真实的 3D 车辆物理而设计。如果" @@ -78832,7 +79179,7 @@ msgid "" "rotated." msgstr "" "车辆的转向角。将此设置为非零值将导致车辆在移动时转向。将[member VehicleWheel." -"use_as_steering]设置为[code]true[/code]的车轮会自动旋转。" +"use_as_steering]设置为 [code]true[/code]的车轮会自动旋转。" #: doc/classes/VehicleWheel.xml msgid "Physics object that simulates the behavior of a wheel." @@ -78848,10 +79195,10 @@ msgid "" "probably have to write your own physics integration using another " "[PhysicsBody] class." msgstr "" -"此节点需要作为[VehicleBody]的子节点使用,并模拟其车轮的行为。其节点也作为碰撞" -"器来检测车轮是否接触到表面。\n" -"[b]注意:[/b] 这个类有已知的问题,并不是为了提供真实的三维车辆物理而设计的。" -"如果你想要先进的车辆物理,须使用另一个[PhysicsBody]类来编写你自己的物理集成。" +"此节点需要作为 [VehicleBody] 的子节点使用,并模拟其车轮的行为。其节点也作为碰" +"撞器来检测车轮是否接触到表面。\n" +"[b]注意:[/b]这个类有已知的问题,并不是为了提供真实的 3D 车辆物理而设计的。如" +"果你想要先进的车辆物理,须使用另一个 [PhysicsBody] 类来编写你自己的物理集成。" #: doc/classes/VehicleWheel.xml msgid "" @@ -79057,8 +79404,8 @@ msgstr "" "code], [VideoStreamWebm]), [url=https://www.theora.org/]Ogg Theora[/url] " "([code].ogv[/code], [VideoStreamTheora] ) 以及任何通过GDNative插件使用" "[VideoStreamGDNative]公开的格式。\n" -"[b]注意:[/b] 由于一个错误,VideoPlayer还不支持本地化重映射。\n" -"[b]警告:[/b] 在HTML5上,视频播放[i]将[/i]表现不佳,因为缺少特定架构的汇编优" +"[b]注意:[/b]由于一个错误,VideoPlayer还不支持本地化重映射。\n" +"[b]警告:[/b]在HTML5上,视频播放[i]将[/i]表现不佳,因为缺少特定架构的汇编优" "化,特别是对于VP8/VP9。" #: doc/classes/VideoPlayer.xml @@ -79066,7 +79413,7 @@ msgid "" "Returns the video stream's name, or [code]\"<No Stream>\"[/code] if no video " "stream is assigned." msgstr "" -"返回视频流的名称,如果没有指定视频流,则返回[code]\"<No Stream>\"[/code]。" +"返回视频流的名称,如果没有指定视频流,则返回 [code]\"<No Stream>\"[/code]。" #: doc/classes/VideoPlayer.xml msgid "Returns the current frame as a [Texture]." @@ -79077,8 +79424,8 @@ msgid "" "Returns [code]true[/code] if the video is playing.\n" "[b]Note:[/b] The video is still considered playing if paused during playback." msgstr "" -"如果视频正在播放,返回[code]true[/code] 。\n" -"[b]注意:[/b] 如果在播放过程中暂停,视频仍被认为在播放。" +"如果视频正在播放,返回 [code]true[/code] 。\n" +"[b]注意:[/b]如果在播放过程中暂停,视频仍被认为在播放。" #: doc/classes/VideoPlayer.xml msgid "" @@ -79093,7 +79440,7 @@ msgid "" "of the video stream won't become the current frame." msgstr "" "停止视频播放并将视频流位置设置为0。\n" -"[b]注意:[/b] 虽然视频流位置将被设置为0,但视频流的第一帧不会成为当前帧。" +"[b]注意:[/b]虽然视频流位置将被设置为0,但视频流的第一帧不会成为当前帧。" #: doc/classes/VideoPlayer.xml msgid "The embedded audio track to play." @@ -79135,8 +79482,8 @@ msgid "" "implemented yet, except in video formats implemented by a GDNative add-on." msgstr "" "流的当前位置,以秒为单位。\n" -"[b]注意:[/b] 更改此值不会产生任何影响,因为搜索尚未实现,除了由 GDNative 附" -"加组件实现的视频格式。" +"[b]注意:[/b]更改此值不会产生任何影响,因为搜索尚未实现,除了由 GDNative 附加" +"组件实现的视频格式。" #: doc/classes/VideoPlayer.xml msgid "Audio volume as a linear value." @@ -79208,7 +79555,7 @@ msgstr "" "[VideoStream]资源处理[url=https://www.theora.org/]Ogg Theora[/url]视频格式," "扩展名为[code].ogv[/code]。Theora编解码器比[VideoStreamWebm]的VP8和VP9效率" "低,但它以较少的CPU资源来解码。Theora编解码器是在CPU上解码。\n" -"[b]注意:[/b] 虽然Ogg Theora视频也可以有[code].ogg[/code]扩展名,但必须将扩展" +"[b]注意:[/b]虽然Ogg Theora视频也可以有[code].ogg[/code]扩展名,但必须将扩展" "名改为[code].ogv[/code],以便在Godot内使用。" #: modules/theora/doc_classes/VideoStreamTheora.xml @@ -79286,8 +79633,8 @@ msgid "" "to be upside down. Enabling [member render_target_v_flip] will display the " "Viewport with the correct orientation." msgstr "" -"视窗在屏幕上创建不同的视图,或者是另一个视窗中的子视图。子代 2D 节点会在其上" -"显示,子代 3D 摄像机节点也会在其上渲染。\n" +"Viewport 会在屏幕上创建不同的视图,或者是另一个视窗中的子视图。子代 2D 节点会" +"在其上显示,子代 3D 摄像机节点也会在其上渲染。\n" "另外,视窗可以有自己的 2D 或 3D 世界,所以它们不会与其他视窗共享其所绘制的内" "容。\n" "如果视窗是 [ViewportContainer] 的子节点,它将自动占用其大小,否则必须手动设" @@ -79302,7 +79649,7 @@ msgstr "" #: doc/classes/Viewport.xml msgid "Viewports tutorial index" -msgstr "视窗教程索引" +msgstr "Viewport 教程索引" #: doc/classes/Viewport.xml doc/classes/ViewportTexture.xml msgid "3D in 2D Demo" @@ -79338,7 +79685,7 @@ msgstr "" #: doc/classes/Viewport.xml msgid "Returns the active 3D camera." -msgstr "返回激活的3D相机。" +msgstr "返回激活的 3D 相机。" #: doc/classes/Viewport.xml msgid "Returns the total transform of the viewport." @@ -79360,11 +79707,11 @@ msgstr "返回渲染管道中关于视窗的信息。" #: doc/classes/Viewport.xml msgid "Returns the [enum ShadowAtlasQuadrantSubdiv] of the specified quadrant." -msgstr "返回指定象限的[enum ShadowAtlasQuadrantSubdiv]。" +msgstr "返回指定象限的 [enum ShadowAtlasQuadrantSubdiv]。" #: doc/classes/Viewport.xml msgid "Returns the size override set with [method set_size_override]." -msgstr "返回用[method set_size_override]设置的尺寸重写。" +msgstr "返回用 [method set_size_override] 设置的尺寸覆盖。" #: doc/classes/Viewport.xml msgid "" @@ -79377,10 +79724,10 @@ msgid "" "img.flip_y()\n" "[/codeblock]" msgstr "" -"返回视窗的纹理。\n" -"[b]注意:[/b] 由于OpenGL的工作方式,产生的[ViewportTexture]是垂直翻转的。你可" -"以在[method Texture.get_data]的结果上使用[method Image.flip_y]来将其翻转回" -"去,例如。\n" +"返回该视窗的纹理。\n" +"[b]注意:[/b]由于 OpenGL 的工作方式,产生的 [ViewportTexture] 是垂直翻转的。" +"你可以在 [method Texture.get_data] 的结果上使用 [method Image.flip_y] 来将其" +"翻转回去,例如:\n" "[codeblock]\n" "var img = get_viewport().get_texture().get_data()\n" "img.flip_y()\n" @@ -79388,7 +79735,7 @@ msgstr "" #: doc/classes/Viewport.xml msgid "Returns the viewport's RID from the [VisualServer]." -msgstr "从[VisualServer]返回视窗的RID。" +msgstr "从 [VisualServer] 返回该视窗的 RID。" #: doc/classes/Viewport.xml msgid "Returns the visible rectangle in global screen coordinates." @@ -79399,29 +79746,29 @@ msgid "" "Returns the drag data from the GUI, that was previously returned by [method " "Control.get_drag_data]." msgstr "" -"返回GUI中的拖动数据,该数据之前由 [method Control.get_drag_data] 返回。" +"返回 GUI 中的拖动数据,该数据之前由 [method Control.get_drag_data] 返回。" #: doc/classes/Viewport.xml msgid "Returns [code]true[/code] if there are visible modals on-screen." -msgstr "如果屏幕上有可见的模型,返回[code]true[/code]。" +msgstr "如果屏幕上有可见的模型,返回 [code]true[/code]。" #: doc/classes/Viewport.xml -#, fuzzy msgid "Returns [code]true[/code] if the drag operation is successful." -msgstr "如果选择处于活动状态,则返回 [code]true[/code]。" +msgstr "如果拖拽操作成功,则返回 [code]true[/code]。" #: doc/classes/Viewport.xml msgid "" "Returns [code]true[/code] if the viewport is currently performing a drag " "operation." -msgstr "如果当前视窗正在执行拖动操作,则返回[code]true[/code]。" +msgstr "如果当前视窗正在执行拖动操作,则返回 [code]true[/code]。" #: doc/classes/Viewport.xml msgid "" "Returns [code]true[/code] if the size override is enabled. See [method " "set_size_override]." msgstr "" -"如果启用了尺寸重写,返回[code]true[/code]。参阅[method set_size_override]。" +"如果启用了尺寸覆盖,则返回 [code]true[/code]。请参阅 [method " +"set_size_override]。" #: doc/classes/Viewport.xml msgid "" @@ -79430,12 +79777,12 @@ msgid "" "[Viewport] but makes you responsible for updating the position of this " "[Viewport] manually." msgstr "" -"用指定的矩形将这个[Viewport]附加到根[Viewport]视窗上。这就绕过了另一个节点来" -"显示这个[Viewport]的需要,但让你负责手动更新这个[Viewport]的坐标。" +"用指定的矩形将这个 [Viewport] 附加到根 [Viewport] 上。这就绕过了另一个节点来" +"显示这个 [Viewport] 的需要,但让你负责手动更新这个 [Viewport] 的坐标。" #: doc/classes/Viewport.xml msgid "Stops the input from propagating further down the [SceneTree]." -msgstr "阻止输入继续向下传播[SceneTree]。" +msgstr "阻止输入沿着 [SceneTree] 继续向下传播。" #: doc/classes/Viewport.xml msgid "" @@ -79456,9 +79803,9 @@ msgid "" "size. If the size parameter is [code](-1, -1)[/code], it won't update the " "size." msgstr "" -"设置视窗的尺寸重写。如果[code]enable[/code]参数是[code]true[/code],就会使用" -"重写,否则就使用默认尺寸。如果尺寸参数是[code](-1, -1)[/code],它将不会更新尺" -"寸。" +"设置该视窗的尺寸覆盖。如果 [code]enable[/code] 参数是 [code]true[/code],就会" +"使用覆盖,否则就使用默认尺寸。如果尺寸参数是 [code](-1, -1)[/code],它将不会" +"更新尺寸。" #: doc/classes/Viewport.xml msgid "Forces update of the 2D and 3D worlds." @@ -79473,15 +79820,15 @@ msgstr "" #: doc/classes/Viewport.xml msgid "If [code]true[/code], the viewport will be used in AR/VR process." -msgstr "如果[code]true[/code],视窗将用于AR/VR进程。" +msgstr "如果为 [code]true[/code],该视窗将用于AR/VR进程。" #: doc/classes/Viewport.xml msgid "If [code]true[/code], the viewport will process 2D audio streams." -msgstr "如果[code]true[/code],视窗将处理2D音频流。" +msgstr "如果为 [code]true[/code],该视窗将处理 2D 音频流。" #: doc/classes/Viewport.xml msgid "If [code]true[/code], the viewport will process 3D audio streams." -msgstr "如果[code]true[/code],视窗将处理3D音频流。" +msgstr "如果为 [code]true[/code],该视窗将处理 3D 音频流。" #: doc/classes/Viewport.xml msgid "" @@ -79489,8 +79836,8 @@ msgid "" "positions of all child [CanvasItem]s. This is relative to the global canvas " "transform of the viewport." msgstr "" -"视窗的画布变换,对改变所有子[CanvasItem]的屏幕位置很有用。这与视窗的全局画布" -"变换有关。" +"该视窗的画布变换,对改变所有子 [CanvasItem] 的屏幕位置很有用。相对于该视窗的" +"全局画布变换。" #: doc/classes/Viewport.xml msgid "" @@ -79502,11 +79849,11 @@ msgid "" "[b]Note:[/b] Only available on the GLES3 backend. [member hdr] must also be " "[code]true[/code] for debanding to be effective." msgstr "" -"如果[code]true[/code],则使用一个快速的后期处理滤波器,使带状现象明显减少。在" -"某些情况下,去带可能会引入稍微明显的抖动模式。建议只有在实际需要时才启用去" -"带,因为抖动模式会使无损压缩的屏幕截图变大。\n" -"[b]注意:[/b] 仅在GLES3后端可用。[member hdr]也必须是[code]true[/code]才能使" -"debanding去带生效。" +"如果为 [code]true[/code],则使用一个快速的后期处理滤波器,使带状现象明显减" +"少。在某些情况下,去带可能会引入稍微明显的抖动模式。建议只有在实际需要时才启" +"用去带,因为抖动模式会使无损压缩的屏幕截图变大。\n" +"[b]注意:[/b]仅在 GLES3 后端可用。[member hdr] 也必须是 [code]true[/code] 才" +"能使去色带生效。" #: doc/classes/Viewport.xml msgid "The overlay mode for test rendered geometry in debug purposes." @@ -79517,8 +79864,8 @@ msgid "" "If [code]true[/code], the viewport will disable 3D rendering. For actual " "disabling use [code]usage[/code]." msgstr "" -"如果[code]true[/code],视窗将禁用3D渲染。对于实际禁用,使用[code]usage[/" -"code]。" +"如果为 [code]true[/code],该视窗将禁用 3D 渲染。对于实际禁用,使用 " +"[code]usage[/code]。" #: doc/classes/Viewport.xml msgid "" @@ -79529,26 +79876,26 @@ msgid "" "recovered by enabling contrast-adaptive sharpening (see [member " "sharpen_intensity])." msgstr "" -"启用快速近似抗锯齿。FXAA是一种流行的屏幕空间抗锯齿方法,它的速度很快,但会使" -"图像看起来很模糊,特别是在较低的分辨率。在1440p和4K这样的大分辨率下,它仍然可" -"以较好工作。一些损失的锐度可以通过启用对比度适应性锐化来恢复,参阅[member " -"sharpen_intensity]。" +"启用快速近似抗锯齿。FXAA 是一种流行的屏幕空间抗锯齿方法,它的速度很快,但会使" +"图像看起来很模糊,特别是在较低的分辨率。在 1440p 和 4K 这样的大分辨率下,它仍" +"然可以较好工作。一些损失的锐度可以通过启用对比度适应性锐化来恢复,参阅 " +"[member sharpen_intensity]。" #: doc/classes/Viewport.xml msgid "" "The global canvas transform of the viewport. The canvas transform is " "relative to this." -msgstr "视窗的全局画布变换。画布变换是相对于这个的。" +msgstr "该视窗的全局画布变换。画布变换是相对于这个的。" #: doc/classes/Viewport.xml msgid "If [code]true[/code], the viewport will not receive input events." -msgstr "如果[code]true[/code],视窗将不接收输入事件。" +msgstr "如果为 [code]true[/code],该视窗将不接收输入事件。" #: doc/classes/Viewport.xml msgid "" "If [code]true[/code], the GUI controls on the viewport will lay pixel " "perfectly." -msgstr "如果[code]true[/code],视窗上的GUI控件将完美地放置像素。" +msgstr "如果为 [code]true[/code],该视窗上的 GUI 控件将完美地放置像素。" #: doc/classes/Viewport.xml msgid "" @@ -79580,12 +79927,12 @@ msgid "" "the sRGB output to linear, this should only be used for VR plugins that " "require input in linear color space!" msgstr "" -"如果[code]true[/code],3D渲染后的结果将不会应用线性到sRGB的颜色转换。当视窗被" -"用作渲染目标时,这点很重要,因为渲染结果会被用作另一个视窗中渲染的三维物体的" -"纹理。如果视窗被用来创建不基于颜色的数据,噪声、高度图、采图等,这也很重要。" -"当视窗被用作2D对象的纹理时,或者视窗是你的最终输出时,请不要启用这个功能。对" -"于GLES2驱动来说,这将把sRGB输出转换为线性输出,这应该只用于需要线性色彩空间输" -"入的VR插件!" +"如果为 [code]true[/code],3D 渲染后的结果将不会应用线性到 sRGB 的颜色转换。当" +"视窗被用作渲染目标时,这点很重要,因为渲染结果会被用作另一个视窗中渲染的 3D " +"物体的纹理。如果视窗被用来创建不基于颜色的数据,噪声、高度图、采图等,这也很" +"重要。当视窗被用作 2D 对象的纹理时,或者视窗是你的最终输出时,请不要启用这个" +"功能。对于 GLES2 驱动来说,这将把 sRGB 输出转换为线性输出,这应该只用于需要线" +"性色彩空间输入的VR插件!" #: doc/classes/Viewport.xml msgid "" @@ -79601,13 +79948,14 @@ msgid "" "If [code]true[/code], the viewport will use [World] defined in [code]world[/" "code] property." msgstr "" -"如果[code]true[/code],视窗将使用[code]world[/code]属性中定义的[World]。" +"如果为 [code]true[/code],该视窗将使用 [code]world[/code] 属性中定义的 " +"[World]。" #: doc/classes/Viewport.xml msgid "" "If [code]true[/code], the objects rendered by viewport become subjects of " "mouse picking process." -msgstr "如果[code]true[/code],则视窗渲染的对象将成为鼠标拾取过程的对象。" +msgstr "如果为 [code]true[/code],该视窗渲染的对象将成为鼠标拾取过程的对象。" #: doc/classes/Viewport.xml msgid "" @@ -79617,10 +79965,10 @@ msgid "" "Viewport or from [code]SCREEN_TEXTURE[/code] becomes unavailable. For more " "information see [method VisualServer.viewport_set_render_direct_to_screen]." msgstr "" -"如果[code]true[/code],直接将视窗渲染到屏幕上,而不是渲染到根视窗上。只在" -"GLES2中可用。这是一个低级别的优化,在大多数情况下不应该使用。如果使用,从视窗" -"或从[code]SCREEN_TEXTURE[/code]读取将变得不可用。更多信息参阅[method " -"VisualServer.viewport_set_render_direct_to_screen]。" +"如果为 [code]true[/code],会直接将 Viewport 渲染到屏幕上,而不是渲染到根视窗" +"上。只在 GLES2 中可用。这是一个低级别的优化,在大多数情况下不应该使用。如果使" +"用,从 Viewport 或从 [code]SCREEN_TEXTURE[/code] 读取将变得不可用。更多信息参" +"阅 [method VisualServer.viewport_set_render_direct_to_screen]。" #: doc/classes/Viewport.xml msgid "" @@ -79628,7 +79976,7 @@ msgid "" "[b]Note:[/b] This property is intended for 2D usage." msgstr "" "视窗用作渲染目标时的清除模式。\n" -"[b]注意:[/b] 此属性适用于 2D 使用。" +"[b]注意:[/b]此属性适用于 2D 使用。" #: doc/classes/Viewport.xml msgid "The update mode when viewport used as a render target." @@ -79667,8 +80015,8 @@ msgid "" "created viewports default to a value of 0, this value must be set above 0 " "manually." msgstr "" -"阴影图集的分辨率,注,用于泛光灯和聚光灯。该值将四舍五入到最接近的 2 的幂。\n" -"[b]注意:[/b]如果设置为0,阴影将不可见。由于用户创建的视窗默认值为 0,因此必" +"阴影图集的分辨率(用于全向光和聚光)。该值将四舍五入到最接近的 2 的幂。\n" +"[b]注意:[/b]如果设置为 0,阴影将不可见。由于用户创建的视区默认值为 0,因此必" "须手动将此值设置为大于 0。" #: doc/classes/Viewport.xml @@ -79884,7 +80232,7 @@ msgid "" "are not available when using this mode." msgstr "" "分配绘制 2D 场景所需的所有缓冲区。这比 3D 使用模式占用更少的 VRAM。请注意,使" -"用这种模式时,诸如辉光和 HDR 等 3D 渲染效果是不可用的。" +"用这种模式时,辉光和 HDR 等 3D 渲染效果是不可用的。" #: doc/classes/Viewport.xml msgid "" @@ -79894,8 +80242,8 @@ msgid "" "such as glow and HDR are not available when using this mode." msgstr "" "分配 2D 场景所需的缓冲区,而不分配屏幕拷贝的缓冲区。相应地,你不能从屏幕上读" -"取。在 [enum Usage] 类型中,这需要最少的 VRAM。注意,使用这种模式时,诸如辉光" -"和 HDR 等 3D 渲染效果是不可用的。" +"取。在 [enum Usage] 类型中,这需要最少的 VRAM。注意,使用这种模式时,辉光和 " +"HDR 等 3D 渲染效果是不可用的。" #: doc/classes/Viewport.xml msgid "" @@ -80067,11 +80415,11 @@ msgstr "" "VisibilityEnabler2D会在[RigidBody2D]、[AnimationPlayer]和其他节点不可见时禁用" "它们。它只会影响与VisibilityEnabler2D的根节点相同的节点,以及根节点本身。\n" "如果你只想接收通知,请使用[VisibilityNotifier2D]代替。\n" -"[b]注意:[/b] 由于性能原因,VisibilityEnabler2D使用一个近似的启发式方法,其精" +"[b]注意:[/b]由于性能原因,VisibilityEnabler2D使用一个近似的启发式方法,其精" "度由 [member ProjectSettings.world/2d/cell_size] 决定。如果你需要精确的可见性" "检查,请使用另一种方法,例如添加一个[Area2D]节点作为[Camera2D]节点的子节" "点。\n" -"[b]注意:[/b] VisibilityEnabler2D不会影响场景初始化后添加的节点。" +"[b]注意:[/b]VisibilityEnabler2D不会影响场景初始化后添加的节点。" #: doc/classes/VisibilityEnabler2D.xml msgid "If [code]true[/code], [RigidBody2D] nodes will be paused." @@ -80152,7 +80500,7 @@ msgid "" msgstr "" "如果[code]true[/code],则边界框在屏幕上。\n" "[b]注意:[/b]一旦添加到场景树中,需要一帧来计算节点的可见性,所以这个方法将在" -"它被实例化后立即返回[code]false[/code],即使屏幕在绘制过程中。" +"它被实例化后立即返回 [code]false[/code],即使屏幕在绘制过程中。" #: doc/classes/VisibilityNotifier.xml msgid "The VisibilityNotifier's bounding box." @@ -80189,9 +80537,9 @@ msgstr "" "VisibilityNotifier2D检测它在屏幕上是否可见。当它的边界矩形进入或退出屏幕或视" "窗时,它也会发出通知。\n" "如果你想让节点在退出屏幕时自动禁用,请使用[VisibilityEnabler2D]代替。\n" -"[b]注意:[/b] 由于性能原因,VisibilityNotifier2D使用一个近似的启发式方法,其" -"精度由 [member ProjectSettings.world/2d/cell_size] 决定。如果你需要精确的可见" -"性检查,请使用另一种方法,如添加一个[Area2D]节点作为[Camera2D]节点的子节点。" +"[b]注意:[/b]由于性能原因,VisibilityNotifier2D使用一个近似的启发式方法,其精" +"度由 [member ProjectSettings.world/2d/cell_size] 决定。如果你需要精确的可见性" +"检查,请使用另一种方法,如添加一个[Area2D]节点作为[Camera2D]节点的子节点。" #: doc/classes/VisibilityNotifier2D.xml msgid "" @@ -80203,7 +80551,7 @@ msgid "" msgstr "" "如果[code]true[/code],则边界矩形在屏幕上。\n" "[b]注意:[/b]一旦添加到场景树中,需要一帧来计算节点的可见性,所以这个方法将在" -"它被实例化后立即返回[code]false[/code],即使屏幕在绘制过程中。" +"它被实例化后立即返回 [code]false[/code],即使屏幕在绘制过程中。" #: doc/classes/VisibilityNotifier2D.xml msgid "The VisibilityNotifier2D's bounding rectangle." @@ -80275,7 +80623,7 @@ msgid "" "Returns [code]true[/code] when the specified layer is enabled in [member " "layers] and [code]false[/code] otherwise." msgstr "" -"当指定的层在 [member layers] 中被启用时,返回[code]true[/code],否则返回" +"当指定的层在 [member layers] 中被启用时,返回 [code]true[/code],否则返回 " "[code]false[/code]。" #: doc/classes/VisualInstance.xml @@ -80710,7 +81058,7 @@ msgid "" "Return the result of [code]value[/code] decreased by [code]step[/code] * " "[code]amount[/code]." msgstr "" -"返回[code]value[/code]减少[code]step[/code]*[code]amount[/code]的结果。" +"返回 [code]value[/code]减少[code]step[/code]*[code]amount[/code]的结果。" #: modules/visual_script/doc_classes/VisualScriptBuiltinFunc.xml msgid "" @@ -82203,8 +82551,8 @@ msgid "" "- Sequence: [code]repeat[/code]\n" "- Sequence: [code]exit[/code]" msgstr "" -"当一个条件为[code]true[/code]时进行循环。当循环结束时,执行继续从[code]exit[/" -"code]序列端口出来。\n" +"当一个条件为 [code]true[/code] 时进行循环。当循环结束时,执行继续从" +"[code]exit[/code]序列端口出来。\n" "[b]输入端口:[/b]\n" "- 序列:[code]while(cond)[/code]\n" "- Data (bool): [code]cond[/code]\n" @@ -82312,25 +82660,26 @@ msgid "" "viewport, or it needs to be the child of another canvas item that is " "eventually attached to the canvas." msgstr "" -"任何可见对象的服务。VisualServer是所有可见对象的API后端。整个场景系统安装在它" -"上面来显示。\n" -"VisualServer是完全不透明的,它的内部结构的完全的具体实现不能被访问。\n" -"VisualServer可以用来完全绕过场景系统。\n" -"可使用[code]*_create[/code]函数创建资源。\n" -"所有的对象都被绘制到视窗中。你可以使用附在[SceneTree]上的[Viewport],或者用" -"[method viewport_create]自己创建一个。当使用自定义场景或画布时,需要使用" -"[method viewport_set_scenario]或[method viewport_attach_canvas]将场景或画布附" -"加到视窗上。\n" -"在3D中,所有的视觉对象都必须与一个场景相关联。场景是世界的一个视觉表现。如果" -"从一个正在运行的游戏中访问视觉服务,场景可以通过[method Spatial.get_world]从" -"场景树中的任何[Spatial]节点访问。另外,可以用[method scenario_create]创建一个" -"场景。\n" +"任何可见对象的服务器。VisualServer 是所有可见对象的 API 后端。整个场景系统安" +"装在它上面来显示。\n" +"VisualServer 是完全不透明的,它的内部结构的完全的具体实现不能被访问。\n" +"VisualServer 可以用来完全绕过场景系统。\n" +"可使用 [code]*_create[/code] 函数创建资源。\n" +"所有的对象都被绘制到视窗中。你可以使用附在 [SceneTree] 上的 [Viewport],或者" +"用 [method viewport_create] 自己创建一个。当使用自定义场景或画布时,需要使用 " +"[method viewport_set_scenario] 或 [method viewport_attach_canvas] 将场景或画" +"布附加到视窗上。\n" +"在 3D 中,所有的视觉对象都必须与一个场景相关联。场景是世界的一个视觉表现。如" +"果从一个正在运行的游戏中访问视觉服务,场景可以通过 [method Spatial." +"get_world] 从场景树中的任何 [Spatial] 节点访问。另外,可以用 [method " +"scenario_create] 创建一个场景。\n" "相类似地,在2D中,需要一个画布来绘制所有的画布项目。\n" -"在3D中,所有可见的对象都是由资源和实例组成。资源可以是网格、粒子系统、光或任" -"何其他3D对象。为了使资源可见,必须使用[method instance_set_base]连接到一个实" -"例。实例也必须使用[method instance_set_scenario]附加到场景中,以便可见。\n" -"在2D中,所有可见对象都是某种形式的画布项目。为了可见,一个画布项需要是连接到" -"视窗的画布的子项,或者它需要是最终连接到画布的另一个画布项的子项。" +"在 3D 中,所有可见的对象都是由资源和实例组成。资源可以是网格、粒子系统、光或" +"任何其他 3D 对象。为了使资源可见,必须使用 [method instance_set_base] 连接到" +"一个实例。实例也必须使用 [method instance_set_scenario] 附加到场景中,以便可" +"见。\n" +"在 2D 中,所有可见对象都是某种形式的画布项目。为了可见,一个画布项需要是连接" +"到视窗的画布的子项,或者它需要是最终连接到画布的另一个画布项的子项。" #: doc/classes/VisualServer.xml msgid "Sets images to be rendered in the window margin." @@ -82470,7 +82819,7 @@ msgstr "" #: doc/classes/VisualServer.xml msgid "Adds a primitive to the [CanvasItem]'s draw commands." -msgstr "向 [CanvasItem] 的绘图指令添加一个基本网格。" +msgstr "向 [CanvasItem] 的绘图指令中添加一个图元。" #: doc/classes/VisualServer.xml msgid "Adds a rectangle to the [CanvasItem]'s draw commands." @@ -82530,7 +82879,7 @@ msgstr "为 [CanvasItem] 定义一个自定义的绘图矩形。" msgid "" "Enables the use of distance fields for GUI elements that are rendering " "distance field based fonts." -msgstr "为正在渲染基于距离字段的字体的GUI元素,启用距离字段。" +msgstr "为正在渲染基于距离字段的字体的 GUI 元素,启用距离场。" #: doc/classes/VisualServer.xml msgid "Sets [CanvasItem] to be drawn behind its parent." @@ -82775,12 +83124,12 @@ msgid "" "To place in a scene, attach this directional light to an instance using " "[method instance_set_base] using the returned RID." msgstr "" -"创建定向灯并将其添加到VisualServer中。可以用返回的RID来访问它。这个RID可用于" -"大多数[code]light_*[/code] VisualServer函数。\n" -"一旦完成了对RID的处理,可使用VisualServer的[method free_rid]静态方法释放" -"RID。\n" -"要在场景中放置,使用返回的RID,用[method instance_set_base]将这个定向灯附加到" -"一个实例上。" +"创建平行光并将其添加到 VisualServer 中。可以用返回的 RID 来访问。这个 RID 可" +"用于大多数 [code]light_*[/code] VisualServer 函数。\n" +"一旦完成了对 RID 的处理,可使用 VisualServer 的静态方法 [method free_rid] 释" +"放 RID。\n" +"要在场景中放置,使用返回的 RID,用 [method instance_set_base] 将这个平行光附" +"加到一个实例上。" #: doc/classes/VisualServer.xml msgid "" @@ -82864,14 +83213,14 @@ msgstr "设置用于雾化高度效果的变量。参阅[Environment]以了解 msgid "" "Sets the variables to be used with the \"glow\" post-process effect. See " "[Environment] for more details." -msgstr "设置用于 \"glow\" 后处理效果的变量。参阅[Environment]。" +msgstr "设置用于“辉光”后处理效果的变量。详情请参阅 [Environment]。" #: doc/classes/VisualServer.xml msgid "" "Sets the [Sky] to be used as the environment's background when using " "[i]BGMode[/i] sky. Equivalent to [member Environment.background_sky]." msgstr "" -"当使用[i]BGMode[/i]天空时,设置[Sky]作为环境的背景。相当于[member " +"当使用 [i]BGMode[/i] 天空时,设置 [Sky] 作为环境的背景。相当于 [member " "Environment.background_sky]。" #: doc/classes/VisualServer.xml @@ -82895,20 +83244,20 @@ msgid "" "Sets the variables to be used with the \"Screen Space Ambient Occlusion " "(SSAO)\" post-process effect. See [Environment] for more details." msgstr "" -"设置用于 \"屏幕空间环境遮蔽(SSAO)\"后处理效果的变量。参阅[Environment]。" +"设置用于“屏幕空间环境遮蔽(SSAO)”后处理效果的变量。详情请参阅 " +"[Environment]。" #: doc/classes/VisualServer.xml msgid "" "Sets the variables to be used with the \"screen space reflections\" post-" "process effect. See [Environment] for more details." -msgstr "设置用于 \"屏幕空间反射 \"后处理效果的变量。更多细节见[Environment]。" +msgstr "设置用于“屏幕空间反射”后处理效果的变量。详情请参阅 [Environment]。" #: doc/classes/VisualServer.xml msgid "" "Sets the variables to be used with the \"tonemap\" post-process effect. See " "[Environment] for more details." -msgstr "" -"设置用于 \"tonemap \"后处理效果的变量。参阅[Environment]以了解更多细节。" +msgstr "设置用于“色调映射”后处理效果的变量。详情请参阅 [Environment]。" #: doc/classes/VisualServer.xml msgid "Removes buffers and clears testcubes." @@ -82959,7 +83308,7 @@ msgid "" "an empty string." msgstr "" "返回视频适配器的供应商(例如,\"NVIDIA Corporation\")。\n" -"[b]注意:[/b] 当运行精简或服务器可执行文件时,该函数返回一个空字符串。" +"[b]注意:[/b]当运行精简或服务器可执行文件时,该函数返回一个空字符串。" #: doc/classes/VisualServer.xml msgid "Returns the id of a white texture. Creates one if none exists." @@ -83037,8 +83386,8 @@ msgid "" "Returns [code]true[/code] if the GI probe data associated with this GI probe " "is compressed. Equivalent to [member GIProbe.compress]." msgstr "" -"如果与此GI探针相关的数据被压缩,返回[code]true[/code]。相当于[member GIProbe." -"compress]。" +"如果与此GI探针相关的数据被压缩,返回 [code]true[/code]。相当于[member " +"GIProbe.compress]。" #: doc/classes/VisualServer.xml msgid "" @@ -83142,7 +83491,7 @@ msgstr "" #: doc/classes/VisualServer.xml msgid "Not yet implemented. Always returns [code]false[/code]." -msgstr "还没有实现。总是返回[code]false[/code]。" +msgstr "还没有实现。总是返回 [code]false[/code]。" #: doc/classes/VisualServer.xml msgid "" @@ -83153,10 +83502,10 @@ msgid "" "[code]skinning_fallback[/code] in case the hardware doesn't support the " "default GPU skinning process." msgstr "" -"如果操作系统支持某项功能,则返回[code]true[/code]。特性可能是[code]s3tc[/" +"如果操作系统支持某项功能,则返回 [code]true[/code]。特性可能是[code]s3tc[/" "code], [code]etc[/code], [code]etc2[/code], [code]pvrtc[/code] 和 " "[code]skinning_fallback[/code]。\n" -"当使用GLES2渲染时,在硬件不支持默认的GPU蒙皮过程的情况下,返回[code]true[/" +"当使用GLES2渲染时,在硬件不支持默认的GPU蒙皮过程的情况下,返回 [code]true[/" "code]与[code]skinning_fallback[/code]。" #: doc/classes/VisualServer.xml @@ -83262,8 +83611,8 @@ msgid "" "platform-dependent code during engine initialization. If called from a " "running game, it will not do anything." msgstr "" -"初始化visual server.。这个函数是在引擎初始化过程中由依赖平台的代码内部调用。" -"如果从一个正在运行的游戏中调用,它将不会做任何事情。" +"初始化 VisualServer。这个函数是在引擎初始化过程中由依赖平台的代码内部调用。如" +"果从一个正在运行的游戏中调用,它将不会做任何事情。" #: doc/classes/VisualServer.xml msgid "" @@ -83434,7 +83783,7 @@ msgstr "" "[MeshInstance]或[DirectionalLight]。使用[method @GDScript.instance_from_id]来" "获取实际节点。这必须提供一个场景的RID,该RID在你想查询的[World]中是可用的。这" "将强制更新所有排队等待更新的资源。\n" -"[b]警告:[/b] 这个函数主要用于编辑器使用。对于游戏中的使用情况,最好是物理碰" +"[b]警告:[/b]这个函数主要用于编辑器使用。对于游戏中的使用情况,最好是物理碰" "撞。" #: doc/classes/VisualServer.xml @@ -83448,11 +83797,11 @@ msgid "" "[b]Warning:[/b] This function is primarily intended for editor usage. For in-" "game use cases, prefer physics collision." msgstr "" -"返回一个与所提供的凸形相交的物体ID数组。只考虑可视化的3D节点,如" -"[MeshInstance]或[DirectionalLight]。使用[method @GDScript.instance_from_id]来" -"获取实际节点。必须提供一个场景的RID,这个RID在你想查询的[World]中是可用的。这" -"将强制更新所有排队等待更新的资源。\n" -"[b]警告:[/b] 这个函数主要用于编辑器使用。对于游戏中的使用情况,最好是物理碰" +"返回一个与所提供的凸形相交的物体 ID 数组。只考虑可视化的 3D 节点,如 " +"[MeshInstance] 或 [DirectionalLight]。使用 [method @GDScript." +"instance_from_id] 来获取实际节点。必须提供一个场景的 RID,这个 RID 在你想查询" +"的 [World] 中是可用的。这将强制更新所有排队等待更新的资源。\n" +"[b]警告:[/b]这个函数主要用于编辑器使用。对于游戏中的使用情况,最好是物理碰" "撞。" #: doc/classes/VisualServer.xml @@ -83466,12 +83815,12 @@ msgid "" "[b]Warning:[/b] This function is primarily intended for editor usage. For in-" "game use cases, prefer physics collision." msgstr "" -"返回一个与所提供的3D射线相交的物体ID数组。只考虑可视化的3D节点,例如" -"[MeshInstance]或[DirectionalLight]。使用[method @GDScript.instance_from_id]来" -"获取实际节点。必须提供一个场景的RID,这个RID在你想查询的[World]中是可用的。这" -"将强制更新所有排队等待更新的资源。\n" -"[b]警告:[/b] 这个函数主要用于编辑器的使用。对于游戏中的使用情况,最好是物理" -"碰撞。" +"返回一个与所提供的 3D 射线相交的物体 ID 数组。只考虑可视化的 3D 节点,例如 " +"[MeshInstance] 或 [DirectionalLight]。使用 [method @GDScript." +"instance_from_id] 来获取实际节点。必须提供一个场景的 RID,这个 RID 在你想查询" +"的 [World] 中是可用的。这将强制更新所有排队等待更新的资源。\n" +"[b]警告:[/b]这个函数主要用于编辑器的使用。对于游戏中的使用情况,最好是物理碰" +"撞。" #: doc/classes/VisualServer.xml msgid "" @@ -83479,8 +83828,9 @@ msgid "" "splits resulting in a smoother transition between them. Equivalent to " "[member DirectionalLight.directional_shadow_blend_splits]." msgstr "" -"如果[code]true[/code],这个平行光会在阴影贴图分割之间混合,以使它们之间的过渡" -"更加平滑。相当于[member DirectionalLight.directional_shadow_blend_splits]。" +"如果为 [code]true[/code],这个平行光会在阴影贴图分割之间混合,以使它们之间的" +"过渡更加平滑。相当于 [member DirectionalLight." +"directional_shadow_blend_splits]。" #: doc/classes/VisualServer.xml msgid "" @@ -83488,9 +83838,9 @@ msgid "" "[member DirectionalLight.directional_shadow_depth_range]. See [enum " "LightDirectionalShadowDepthRangeMode] for options." msgstr "" -"设置这个平行光源的阴影深度范围模式。相当于[member DirectionalLight." -"directional_shadow_depth_range]。参阅[enum " -"LightDirectionalShadowDepthRangeMode]的选项。" +"设置这个平行光的阴影深度范围模式。相当于 [member DirectionalLight." +"directional_shadow_depth_range]。参阅 [enum " +"LightDirectionalShadowDepthRangeMode] 的选项。" #: doc/classes/VisualServer.xml msgid "" @@ -83498,8 +83848,8 @@ msgid "" "DirectionalLight.directional_shadow_mode]. See [enum " "LightDirectionalShadowMode] for options." msgstr "" -"设置此平行光源的阴影模式。相当于[member DirectionalLight." -"directional_shadow_mode]。参阅[enum LightDirectionalShadowMode]的选项。" +"设置此平行光的阴影模式。相当于 [member DirectionalLight." +"directional_shadow_mode]。参阅 [enum LightDirectionalShadowMode] 的选项。" #: doc/classes/VisualServer.xml msgid "" @@ -83507,7 +83857,7 @@ msgid "" "can be used to alleviate artifacts in the shadow map. Equivalent to [member " "OmniLight.omni_shadow_detail]." msgstr "" -"设置是否为此泛光灯使用垂直或水平细节。这可用于减轻阴影贴图中的伪影。相当于 " +"设置是否为此全向光使用垂直或水平细节。这可用于减轻阴影贴图中的伪影。相当于 " "[member OmniLight.omni_shadow_detail]。" #: doc/classes/VisualServer.xml @@ -83742,9 +84092,7 @@ msgstr "设置着色器材质的着色器。" msgid "" "Adds a surface generated from the Arrays to a mesh. See [enum PrimitiveType] " "constants for types." -msgstr "" -"将从Arrays数组生成的表面添加到网格。有关类型,请参阅 [enum PrimitiveType] 常" -"量。" +msgstr "将从数组生成的表面添加到网格。类型请参阅 [enum PrimitiveType] 常量。" #: doc/classes/VisualServer.xml msgid "Removes all surfaces from a mesh." @@ -83841,7 +84189,7 @@ msgstr "返回网格表面的材质。" #: doc/classes/VisualServer.xml msgid "Returns the primitive type of a mesh's surface." -msgstr "返回网格表面的基本网格类型。" +msgstr "返回网格表面的图元类型。" #: doc/classes/VisualServer.xml msgid "Returns the aabb of a mesh's surface's skeleton." @@ -84007,11 +84355,11 @@ msgid "" "To place in a scene, attach this omni light to an instance using [method " "instance_set_base] using the returned RID." msgstr "" -"创建一个新的泛光灯并将其添加到 VisualServer。可以使用返回的 RID 访问它。此 " -"RID 可用于大多数 [code]light_*[/code] VisualServer 函数。\n" -"完成 RID 处理后,可使用 VisualServer 的 [method free_rid] 静态方法释放 " +"新建全向光并将其添加到 VisualServer。可以使用返回的 RID 访问它。此 RID 可用于" +"大多数 [code]light_*[/code] VisualServer 函数。\n" +"完成 RID 处理后,可使用 VisualServer 的静态方法 [method free_rid] 释放 " "RID。\n" -"要放置在场景中,请使用返回的 RID 使用 [method instance_set_base] 将此泛光灯附" +"要放置在场景中,请使用返回的 RID 使用 [method instance_set_base] 将此全向光附" "加到实例。" #: doc/classes/VisualServer.xml @@ -84039,7 +84387,7 @@ msgstr "" #: doc/classes/VisualServer.xml msgid "Returns [code]true[/code] if particles are currently set to emitting." -msgstr "如果当前粒子被设置发射,则返回[code]true[/code]。" +msgstr "如果当前粒子被设置发射,则返回 [code]true[/code]。" #: doc/classes/VisualServer.xml msgid "" @@ -84166,7 +84514,7 @@ msgid "" "to [member Particles.process_material]." msgstr "" "设置用于处理粒子的材质。\n" -"[b]注意:[/b] 这不是用于绘制材质的材质。相当于[member Particles." +"[b]注意:[/b]这不是用于绘制材质的材质。相当于[member Particles." "process_material]。" #: doc/classes/VisualServer.xml @@ -84454,19 +84802,19 @@ msgstr "为这个骨架分配 GPU 缓冲区。" #: doc/classes/VisualServer.xml msgid "Returns the [Transform] set for a specific bone of this skeleton." -msgstr "返回这个骨架的特定骨骼的[Transform]集合。" +msgstr "返回这个骨架的特定骨骼的 [Transform]。" #: doc/classes/VisualServer.xml msgid "Returns the [Transform2D] set for a specific bone of this skeleton." -msgstr "返回此骨架的特定骨骼的[Transform2D]集合。" +msgstr "返回这个骨架的特定骨骼的 [Transform2D]。" #: doc/classes/VisualServer.xml msgid "Sets the [Transform] for a specific bone of this skeleton." -msgstr "设置此骨架特定骨骼的 [Transform]集合。" +msgstr "设置这个骨架的特定骨骼的 [Transform]。" #: doc/classes/VisualServer.xml msgid "Sets the [Transform2D] for a specific bone of this skeleton." -msgstr "设置此骨架特定骨骼的 [Transform2D]集合。" +msgstr "设置这个骨架的特定骨骼的 [Transform2D]。" #: doc/classes/VisualServer.xml msgid "" @@ -84476,9 +84824,10 @@ msgid "" "Once finished with your RID, you will want to free the RID using the " "VisualServer's [method free_rid] static method." msgstr "" -"创建一个骨架并将其添加到VisualServer中。它可以通过返回的RID进行访问。这个RID" -"可用于所有[code]skeleton_*[/code] VisualServer函数。\n" -"一旦完成了对RID的处理,可使用VisualServer的[method free_rid]静态方法释放RID。" +"创建一个骨架并将其添加到 VisualServer 中。它可以通过返回的 RID 进行访问。这" +"个 RID 可用于所有 [code]skeleton_*[/code] VisualServer 函数。\n" +"一旦完成了对 RID 的处理,可使用 VisualServer 的静态方法 [method free_rid] 释" +"放 RID。" #: doc/classes/VisualServer.xml msgid "Returns the number of bones allocated for this skeleton." @@ -84510,12 +84859,12 @@ msgid "" "To place in a scene, attach this spot light to an instance using [method " "instance_set_base] using the returned RID." msgstr "" -"创建一个聚光灯并将其添加到VisualServer中。可以用返回的RID来访问它。这个RID可" -"用于大多数[code]light_*[/code] VisualServer函数。\n" -"一旦完成了对RID的处理,可使用VisualServer的[method free_rid]静态方法释放" -"RID。\n" -"要在场景中放置,请使用返回的RID,用[method instance_set_base]将该聚光灯附加到" -"一个实例上。" +"创建一个聚光并将其添加到 VisualServer 中。可以用返回的 RID 来访问它。这个 " +"RID 可用于大多数 [code]light_*[/code] VisualServer 函数。\n" +"一旦完成了对 RID 的处理,可使用 VisualServer 的静态方法 [method free_rid] 释" +"放 RID。\n" +"要在场景中放置,请使用返回的 RID,用 [method instance_set_base] 将该聚光附加" +"到一个实例上。" #: doc/classes/VisualServer.xml msgid "Allocates the GPU memory for the texture." @@ -84613,13 +84962,13 @@ msgstr "设置纹理的路径。" msgid "" "If [code]true[/code], sets internal processes to shrink all image data to " "half the size." -msgstr "如果为[code]true[/code],设置内部进程,将所有图像数据缩小到一半大小。" +msgstr "如果为 [code]true[/code],设置内部进程,将所有图像数据缩小到一半大小。" #: doc/classes/VisualServer.xml msgid "" "If [code]true[/code], the image will be stored in the texture's images array " "if overwritten." -msgstr "如果为[code]true[/code],如果被覆盖,图像将存储在纹理的图像数组中。" +msgstr "如果为 [code]true[/code],如果被覆盖,图像将存储在纹理的图像数组中。" #: doc/classes/VisualServer.xml msgid "Sets a viewport's camera." @@ -84798,8 +85147,8 @@ msgid "" "Sets the size of the shadow atlas's images (used for omni and spot lights). " "The value will be rounded up to the nearest power of 2." msgstr "" -"设置阴影图集的图像大小(用于泛光灯和聚光灯)。该值将被四舍五入到最接近的2的n" -"次方。" +"设置阴影图集的图像大小(用于全向光和聚光)。该值将被四舍五入到最接近的 2 的" +"幂。" #: doc/classes/VisualServer.xml msgid "" @@ -84890,13 +85239,13 @@ msgstr "" msgid "" "Emitted at the end of the frame, after the VisualServer has finished " "updating all the Viewports." -msgstr "在VisualServer完成更新所有视窗后,在帧的最后发出。" +msgstr "在 VisualServer 完成更新所有 Viewport 后,在帧的最后发出。" #: doc/classes/VisualServer.xml msgid "" "Emitted at the beginning of the frame, before the VisualServer updates all " "the Viewports." -msgstr "在VisualServer更新所有视窗之前,在帧的开始发出。" +msgstr "在 VisualServer 更新所有 Viewport 之前,在帧的开始发出。" #: doc/classes/VisualServer.xml msgid "Marks an error that shows that the index array is empty." @@ -84917,11 +85266,11 @@ msgstr "帆布项目的最大 Z 层。" #: doc/classes/VisualServer.xml msgid "" "Max number of glow levels that can be used with glow post-process effect." -msgstr "可用于发光后期处理效果的最大发光级别数。" +msgstr "可用于辉光后处理效果的最大辉光级别数。" #: doc/classes/VisualServer.xml msgid "Unused enum in Godot 3.x." -msgstr "在Godot 3.x中未使用的枚举。" +msgstr "在 Godot 3.x 中未使用的枚举。" #: doc/classes/VisualServer.xml msgid "The minimum renderpriority of all materials." @@ -84937,15 +85286,15 @@ msgstr "标记立方体贴图的左侧。" #: doc/classes/VisualServer.xml msgid "Marks the right side of a cubemap." -msgstr "标记立方体贴图cubemap的右侧。" +msgstr "标记立方体贴图的右侧。" #: doc/classes/VisualServer.xml msgid "Marks the bottom side of a cubemap." -msgstr "标记立方体图cubemap的底部。" +msgstr "标记立方体贴图的底部。" #: doc/classes/VisualServer.xml msgid "Marks the top side of a cubemap." -msgstr "标记cubemap的顶面。" +msgstr "标记立方体贴图的顶部。" #: doc/classes/VisualServer.xml msgid "Marks the front side of a cubemap." @@ -85093,37 +85442,39 @@ msgstr "" #: doc/classes/VisualServer.xml msgid "Primitive to draw consists of points." -msgstr "基本网格绘制由点组成。" +msgstr "绘制的图元由点组成。" #: doc/classes/VisualServer.xml msgid "Primitive to draw consists of lines." -msgstr "基本网格绘制由线条组成。" +msgstr "绘制的图元由线组成。" #: doc/classes/VisualServer.xml msgid "Primitive to draw consists of a line strip from start to end." -msgstr "基本网格的绘制由一条首尾闭合的线条组成。" +msgstr "绘制的图元由单条线带组成。" #: doc/classes/VisualServer.xml msgid "" "Primitive to draw consists of a line loop (a line strip with a line between " "the last and the first vertex)." -msgstr "绘制的图元包括一个线环,即在最后一个和第一个顶点之间有一条线的线条。" +msgstr "" +"绘制的图元由单个线环组成(第一个顶点与最后一个顶点之间有线相连的线带)。" #: doc/classes/VisualServer.xml msgid "Primitive to draw consists of triangles." -msgstr "基本网格的绘制由三角形组成。" +msgstr "绘制的图元由三角形组成。" #: doc/classes/VisualServer.xml msgid "" "Primitive to draw consists of a triangle strip (the last 3 vertices are " "always combined to make a triangle)." -msgstr "基本网格绘制由一个三角形条组成(最后3个顶点总是组合成一个三角形)。" +msgstr "绘制的图元由单条三角形带组成(最后 3 个顶点总是会构成三角形)。" #: doc/classes/VisualServer.xml msgid "" "Primitive to draw consists of a triangle strip (the last 2 vertices are " "always combined with the first to make a triangle)." -msgstr "图元绘制由三角形条组成,最后3个顶点总是组合成一个三角形。" +msgstr "" +"绘制的图元由单条三角形带组成(最后 2 个顶点总是会与第一个顶点构成三角形)。" #: doc/classes/VisualServer.xml msgid "Represents the size of the [enum PrimitiveType] enum." @@ -85131,15 +85482,15 @@ msgstr "表示 [enum PrimitiveType] 枚举的大小。" #: doc/classes/VisualServer.xml msgid "Is a directional (sun) light." -msgstr "是定向(日光)灯。" +msgstr "是平行光(日光)。" #: doc/classes/VisualServer.xml msgid "Is an omni light." -msgstr "是泛光灯。" +msgstr "是全向光。" #: doc/classes/VisualServer.xml msgid "Is a spot light." -msgstr "是聚光灯。" +msgstr "是聚光。" #: doc/classes/VisualServer.xml msgid "The light's energy." @@ -85218,13 +85569,13 @@ msgstr "代表[enum LightParam]枚举的大小。" #: doc/classes/VisualServer.xml msgid "Use a dual paraboloid shadow map for omni lights." -msgstr "对泛光灯使用双抛物面阴影贴图。" +msgstr "对全向光使用双抛物面阴影贴图。" #: doc/classes/VisualServer.xml msgid "" "Use a cubemap shadow map for omni lights. Slower but better quality than " "dual paraboloid." -msgstr "对泛光灯使用立方体贴图阴影贴图。比双抛物面更慢但质量更好。" +msgstr "对全向光使用立方体贴图阴影贴图。比双抛物面更慢但质量更好。" #: doc/classes/VisualServer.xml msgid "Use more detail vertically when computing shadow map." @@ -85325,19 +85676,19 @@ msgstr "" #: doc/classes/VisualServer.xml msgid "The Viewport does not render 3D but samples." -msgstr "视窗并不渲染3D,而是渲染采样。" +msgstr "Viewport 不渲染 3D 内容,但进行采样。" #: doc/classes/VisualServer.xml msgid "The Viewport does not render 3D and does not sample." -msgstr "视窗并不渲染3D,也不进行采样。" +msgstr "Viewport 不渲染 3D 内容,不进行采样。" #: doc/classes/VisualServer.xml msgid "The Viewport renders 3D with effects." -msgstr "视窗渲染 3D 效果。" +msgstr "Viewport 渲染 3D 内容,带特效。" #: doc/classes/VisualServer.xml msgid "The Viewport renders 3D but without effects." -msgstr "视窗渲染的是3D,但没有效果。" +msgstr "Viewport 渲染 3D 内容,不带特效。" #: doc/classes/VisualServer.xml msgid "Number of objects drawn in a single frame." @@ -85810,7 +86161,7 @@ msgstr "将指定节点添加到着色器中。" msgid "" "Returns [code]true[/code] if the specified nodes and ports can be connected " "together." -msgstr "如果指定节点和端口可以连接在一起,则返回[code]true[/code]。" +msgstr "如果指定节点和端口可以连接在一起,则返回 [code]true[/code]。" #: doc/classes/VisualShader.xml msgid "Connects the specified nodes and ports." @@ -85844,7 +86195,7 @@ msgstr "返回指定节点在着色器图中的位置。" #: doc/classes/VisualShader.xml msgid "" "Returns [code]true[/code] if the specified node and port connection exist." -msgstr "如果指定的节点和端口连接存在,返回[code]true[/code]。" +msgstr "如果指定的节点和端口连接存在,返回 [code]true[/code]。" #: doc/classes/VisualShader.xml msgid "Removes the specified node from the shader." @@ -86033,7 +86384,7 @@ msgstr "一个[Color]函数,在可视化着色器图中使用。" msgid "" "Accept a [Color] to the input port and transform it according to [member " "function]." -msgstr "接受一个[Color]到输入端口,并根据 [member function] 对其进行转换。" +msgstr "接受一个 [Color] 到输入端口,并根据 [member function] 对其进行转换。" #: doc/classes/VisualShaderNodeColorFunc.xml msgid "" @@ -86723,7 +87074,7 @@ msgstr "" "在着色器语言中翻译为[code]faceforward(N, I, Nref)[/code]。该函数有三个向量参" "数。[code]N[/code],定向矢量,[code]I[/code],入射矢量,以及[code]Nref[/" "code],参考矢量。如果[code]I[/code]和[code]Nref[/code]的点积小于零,返回值为" -"[code]N[/code]。否则,将返回[code]-N[/code]。" +"[code]N[/code]。否则,将返回 [code]-N[/code]。" #: doc/classes/VisualShaderNodeFresnel.xml msgid "A Fresnel effect to be used within the visual shader graph." @@ -86827,18 +87178,18 @@ msgstr "" #: doc/classes/VisualShaderNodeGroupBase.xml msgid "Returns [code]true[/code] if the specified input port exists." -msgstr "如果指定的输入端口存在,返回[code]true[/code]。" +msgstr "如果指定的输入端口存在,返回 [code]true[/code]。" #: doc/classes/VisualShaderNodeGroupBase.xml msgid "Returns [code]true[/code] if the specified output port exists." -msgstr "如果指定的输出端口存在,返回[code]true[/code]。" +msgstr "如果指定的输出端口存在,返回 [code]true[/code]。" #: doc/classes/VisualShaderNodeGroupBase.xml msgid "" "Returns [code]true[/code] if the specified port name does not override an " "existed port name and is valid within the shader." msgstr "" -"如果指定的端口名称没有重写现有的端口名称,并且在着色器中有效,则返回" +"如果指定的端口名称没有重写现有的端口名称,并且在着色器中有效,则返回 " "[code]true[/code]。" #: doc/classes/VisualShaderNodeGroupBase.xml @@ -86913,7 +87264,8 @@ msgstr "布尔比较运算符,在可视化着色器图中使用。" msgid "" "Returns the boolean result of the comparison between [code]INF[/code] or " "[code]NaN[/code] and a scalar parameter." -msgstr "返回[code]INF[/code]或[code]NaN[/code]与标量参数之间比较的布尔值结果。" +msgstr "" +"返回 [code]INF[/code]或[code]NaN[/code]与标量参数之间比较的布尔值结果。" #: doc/classes/VisualShaderNodeIs.xml msgid "The comparison function. See [enum Function] for options." @@ -87025,9 +87377,9 @@ msgid "" "and [code]1.0[/code] using Hermite polynomials." msgstr "" "在着色器语言中转换成[code]smoothstep(edge0, edge1, x)[/code]。\n" -"如果[code]x[/code]小于[code]edge0[/code],返回[code]0.0[/code];如果[code]x[/" -"code]大于[code]edge1[/code],返回[code]1.0[/code]。否则返回值在[code]0.0[/" -"code]和[code]1.0[/code]之间使用Hermite多项式进行插值。" +"如果[code]x[/code]小于[code]edge0[/code],返回 [code]0.0[/code];如果" +"[code]x[/code]大于[code]edge1[/code],返回 [code]1.0[/code]。否则返回值在" +"[code]0.0[/code]和[code]1.0[/code]之间使用Hermite多项式进行插值。" #: doc/classes/VisualShaderNodeScalarSwitch.xml msgid "A boolean/scalar function for use within the visual shader graph." @@ -87480,7 +87832,7 @@ msgstr "返回参数的相反值。" #: doc/classes/VisualShaderNodeVectorFunc.xml msgid "Returns [code]1/vector[/code]." -msgstr "返回[code]1/vector[/code]。" +msgstr "返回 [code]1/vector[/code]。" #: doc/classes/VisualShaderNodeVectorFunc.xml msgid "Converts RGB vector to HSV equivalent." @@ -87581,8 +87933,8 @@ msgid "" "parameter is negative, [code]1[/code] if it's positive and [code]0[/code] " "otherwise." msgstr "" -"提取参数的符号,即如果参数是负的,返回[code]-1[/code],如果是正的,返回" -"[code]1[/code],否则返回[code]0[/code]。" +"提取参数的符号,即如果参数是负的,返回 [code]-1[/code],如果是正的,返回 " +"[code]1[/code],否则返回 [code]0[/code]。" #: doc/classes/VisualShaderNodeVectorFunc.xml msgid "Returns the sine of the parameter." @@ -87612,7 +87964,7 @@ msgstr "返回一个等于与参数最接近的整数的值,该值的绝对值 #: doc/classes/VisualShaderNodeVectorFunc.xml msgid "Returns [code]1.0 - vector[/code]." -msgstr "返回[code]1.0 - vector[/code]。" +msgstr "返回 [code]1.0 - vector[/code]。" #: doc/classes/VisualShaderNodeVectorInterp.xml msgid "" @@ -87705,8 +88057,8 @@ msgid "" "Vector step operator. Returns [code]0.0[/code] if [code]a[/code] is smaller " "than [code]b[/code] and [code]1.0[/code] otherwise." msgstr "" -"向量步长运算符。如果[code]a[/code]小于[code]b[/code],返回[code]0.0[/code]," -"否则返回[code]1.0[/code]。" +"向量步长运算符。如果[code]a[/code]小于[code]b[/code],返回 [code]0.0[/code]," +"否则返回 [code]1.0[/code]。" #: doc/classes/VisualShaderNodeVectorRefract.xml msgid "" @@ -87755,9 +88107,9 @@ msgid "" msgstr "" "在着色器语言中转换成[code]smoothstep(edge0, edge1, x)[/code],其中[code]x[/" "code]是一个标量。\n" -"如果[code]x[/code]小于[code]edge0[/code],返回[code]0.0[/code],如果[code]x[/" -"code]大于[code]edge1[/code],返回[code]1.0[/code]。否则返回值在[code]0.0[/" -"code]和[code]1.0[/code]之间使用Hermite多项式进行插值。" +"如果[code]x[/code]小于[code]edge0[/code],返回 [code]0.0[/code],如果" +"[code]x[/code]大于[code]edge1[/code],返回 [code]1.0[/code]。否则返回值在" +"[code]0.0[/code]和[code]1.0[/code]之间使用Hermite多项式进行插值。" #: doc/classes/VisualShaderNodeVectorScalarStep.xml msgid "Calculates a vector Step function within the visual shader graph." @@ -87770,7 +88122,7 @@ msgid "" "and [code]1.0[/code] otherwise." msgstr "" "在着色器语言中转换成[code]step(edge, x)[/code]。\n" -"如果[code]x[/code]小于[code]edge[/code],返回[code]0.0[/code],否则返回" +"如果[code]x[/code]小于[code]edge[/code],返回 [code]0.0[/code],否则返回 " "[code]1.0[/code]。" #: doc/classes/VisualShaderNodeVectorSmoothStep.xml @@ -87788,9 +88140,9 @@ msgid "" msgstr "" "在着色器语言中转换成[code]smoothstep(edge0, edge1, x)[/code],其中[code]x[/" "code]是一个向量。\n" -"如果[code]x[/code]小于[code]edge0[/code],返回[code]0.0[/code],如果[code]x[/" -"code]大于[code]edge1[/code],返回[code]1.0[/code]。否则返回值在[code]0.0[/" -"code]和[code]1.0[/code]之间使用Hermite多项式进行插值。" +"如果[code]x[/code]小于[code]edge0[/code],返回 [code]0.0[/code],如果" +"[code]x[/code]大于[code]edge1[/code],返回 [code]1.0[/code]。否则返回值在" +"[code]0.0[/code]和[code]1.0[/code]之间使用Hermite多项式进行插值。" #: doc/classes/VScrollBar.xml msgid "Vertical scroll bar." @@ -87922,7 +88274,7 @@ msgid "" "then)." msgstr "" "返回创建时分配给该通道的ID,或在协商时自动分配。\n" -"如果该通道没有进行带外协商,那么该ID将只在连接建立后可用,在此之前将返回" +"如果该通道没有进行带外协商,那么该ID将只在连接建立后可用,在此之前将返回 " "[code]65535[/code]。" #: modules/webrtc/doc_classes/WebRTCDataChannel.xml @@ -87961,13 +88313,13 @@ msgstr "返回该通道的当前状态,参阅[enum ChannelState]。" msgid "" "Returns [code]true[/code] if this channel was created with out-of-band " "configuration." -msgstr "如果这个通道是用带外配置创建的,返回[code]true[/code]。" +msgstr "如果这个通道是用带外配置创建的,返回 [code]true[/code]。" #: modules/webrtc/doc_classes/WebRTCDataChannel.xml msgid "" "Returns [code]true[/code] if this channel was created with ordering enabled " "(default)." -msgstr "如果这个通道在创建时启用了排序功能,则默认返回[code]true[/code]。" +msgstr "如果这个通道在创建时启用了排序功能,则默认返回 [code]true[/code]。" #: modules/webrtc/doc_classes/WebRTCDataChannel.xml msgid "Reserved, but not used for now." @@ -87978,7 +88330,7 @@ msgid "" "Returns [code]true[/code] if the last received packet was transferred as " "text. See [member write_mode]." msgstr "" -"如果最后收到的数据包是以文本形式传输,则返回[code]true[/code]。参阅[member " +"如果最后收到的数据包是以文本形式传输,则返回 [code]true[/code]。参阅[member " "write_mode]。" #: modules/webrtc/doc_classes/WebRTCDataChannel.xml @@ -88043,16 +88395,17 @@ msgid "" "initialize]. Beside that data transfer works like in a " "[NetworkedMultiplayerPeer]." msgstr "" -"这个类构建了一个完整的[WebRTCPeerConnection]网状结构(每个对等体有一个连" -"接),可以作为[member MultiplayerAPI.network_peer]使用。\n" -"你可以通过[method add_peer]添加每个[WebRTCPeerConnection],或者通过[method " -"remove_peer]删除它们。对等体必须在[constant WebRTCPeerConnection.STATE_NEW]状" -"态下添加,以允许它创建适当的通道。这个类不会创建提交也不会设置描述,它只会轮" -"询,并通知连接和断开。\n" -"除非在[method initialize]中[code]server_compatibility[/code]为[code]true[/" -"code],否则[signal NetworkedMultiplayerPeer.connection_succeeded]和[signal " -"NetworkedMultiplayerPeer.server_disconnected]将不会被触发。除此之外,数据传输" -"的工作方式类似于 [NetworkedMultiplayerPeer]。" +"这个类构建了一个完整的 [WebRTCPeerConnection] 网状结构(每个对等体有一个连" +"接),可以作为 [member MultiplayerAPI.network_peer] 使用。\n" +"你可以通过 [method add_peer] 添加每个 [WebRTCPeerConnection],或者通过 " +"[method remove_peer] 删除它们。对等体必须在 [constant WebRTCPeerConnection." +"STATE_NEW] 状态下添加,以允许它创建适当的通道。这个类不会创建提交也不会设置描" +"述,它只会轮询,并通知连接和断开。\n" +"除非在 [method initialize] 中 [code]server_compatibility[/code] 为 " +"[code]true[/code],否则不会触发 [signal NetworkedMultiplayerPeer." +"connection_succeeded] 和 [signal NetworkedMultiplayerPeer." +"server_disconnected]。除此之外,数据传输的工作方式类似于 " +"[NetworkedMultiplayerPeer]。" #: modules/webrtc/doc_classes/WebRTCMultiplayer.xml msgid "" @@ -88100,8 +88453,8 @@ msgid "" "Returns [code]true[/code] if the given [code]peer_id[/code] is in the peers " "map (it might not be connected though)." msgstr "" -"如果给定的[code]peer_id[/code]在对等体映射中,则返回[code]true[/code],尽管它" -"可能没有连接。" +"如果给定的[code]peer_id[/code]在对等体映射中,则返回 [code]true[/code],尽管" +"它可能没有连接。" #: modules/webrtc/doc_classes/WebRTCMultiplayer.xml msgid "" @@ -88127,7 +88480,7 @@ msgstr "" "如果[code]server_compatibilty[/code]是[code]false[/code](默认),多人对等体" "将立即处于[constant NetworkedMultiplayerPeer.CONNECTION_CONNECTED]状态," "[signal NetworkedMultiplayerPeer.connection_succeeded]将不会被发射出来。\n" -"如果[code]server_compatibilty[/code]为[code]true[/code],对等体将抑制所有" +"如果[code]server_compatibilty[/code]为 [code]true[/code],对等体将抑制所有" "[signal NetworkedMultiplayerPeer.peer_connected]信号,直到一个id为[constant " "NetworkedMultiplayerPeer.TARGET_PEER_SERVER]的对等体连接,然后发出[signal " "NetworkedMultiplayerPeer.connection_succeeded]。之后将对每个已经连接的对等体" @@ -88305,21 +88658,21 @@ msgid "" "}\n" "[/codeblock]" msgstr "" -"重新初始化这个对等体连接,关闭任何先前活动的连接,并回到状态[constant " -"STATE_NEW]。可以通过[code]options[/code]的字典来配置对等连接。\n" -"有效的[code]options[/code]是:\n" +"重新初始化这个对等体连接,关闭任何先前活动的连接,并回到状态 [constant " +"STATE_NEW]。可以通过 [code]options[/code] 的字典来配置对等连接。\n" +"有效的 [code]options[/code] 是:\n" "[codeblock]\n" "{\n" " \"iceServers\": [\n" " {\n" -" \"urls\":[\"stun:stun.example.com:3478\"], # 一个或多个STUN服" -"务。\n" +" \"urls\":[\"stun:stun.example.com:3478\"], # 一个或多个 STUN 服务" +"器。\n" " },\n" " {\n" -" \"urls\":[\"turn:turn.example.com:3478\"], # 一个或多个TURN服" -"务。\n" -" \"username\":\"a_username\", # TURN服务的可选用户名。\n" -" \"credential\":\"a_password\", # TURN服务的可选密码。\n" +" \"urls\":[\"turn:turn.example.com:3478\"], # 一个或多个 TURN 服务" +"器。\n" +" \"username\":\"a_username\", # TURN 服务器的可选用户名。\n" +" \"credential\":\"a_password\", # TURN 服务器的可选密码。\n" " }\n" " ]\n" "}\n" @@ -88480,10 +88833,10 @@ msgstr "" "put_packet(data)[/code]。\n" "你可以选择传递一个[code]custom_headers[/code]的列表,以添加到握手的HTTP请求" "中。\n" -"[b]注意:[/b] 为了避免HTML5中的混合内容警告或错误,须使用以[code]wss://[/" -"code](安全)开头的[code]url[/code],而不是[code]ws://[/code]。这样做时,确保" -"使用与服务器的SSL证书中定义的完全合格的域名。不要直接通过IP地址进行" -"[code]wss://[/code]连接,因为它不会与SSL证书相匹配。\n" +"[b]注意:[/b]为了避免HTML5中的混合内容警告或错误,须使用以[code]wss://[/code]" +"(安全)开头的[code]url[/code],而不是[code]ws://[/code]。这样做时,确保使用" +"与服务器的SSL证书中定义的完全合格的域名。不要直接通过IP地址进行[code]wss://[/" +"code]连接,因为它不会与SSL证书相匹配。\n" "[b]注意:[/b]由于浏览器的限制,指定[code]custom_headers[/code]在HTML5导出中不" "被支持。" @@ -88522,7 +88875,7 @@ msgid "" "Settings for it to work when exported." msgstr "" "如果 [code]true[/code],则启用 SSL 证书验证。\n" -"[b]注意:[/b] 你必须在项目设置中指定要使用的证书,以便在导出时发挥作用。" +"[b]注意:[/b]你必须在项目设置中指定要使用的证书,以便在导出时发挥作用。" #: modules/websocket/doc_classes/WebSocketClient.xml msgid "" @@ -88598,7 +88951,7 @@ msgstr "" "区。\n" "缓冲区的大小以KiB为单位,所以[code]4=2^12=4096字节[/code]。所有的参数都将被四" "舍五入到最接近的2的幂。\n" -"[b]注意:[/b] HTML5输出只使用输入缓冲区,因为输出缓冲区是由浏览器管理的。" +"[b]注意:[/b]HTML5输出只使用输入缓冲区,因为输出缓冲区是由浏览器管理的。" #: modules/websocket/doc_classes/WebSocketMultiplayerPeer.xml msgid "" @@ -88607,8 +88960,8 @@ msgid "" "configured to use Godot multiplayer API." msgstr "" "当收到来自对等体的数据包时触发的信号。\n" -"[b]注意:[/b] 这个信号只有在客户端或服务器被配置为使用Godot多人游戏API时才会" -"发出。" +"[b]注意:[/b]这个信号只有在客户端或服务器被配置为使用Godot多人游戏API时才会发" +"出。" #: modules/websocket/doc_classes/WebSocketPeer.xml msgid "A class representing a specific WebSocket connection." @@ -88642,7 +88995,7 @@ msgstr "" "[b]注意:[/b]为了实现彻底的关闭,你需要继续轮询,直到收到[signal " "WebSocketClient.connection_closed]或[signal WebSocketServer." "client_disconnected]。\n" -"[b]注意:[/b] HTML5导出可能不支持所有状态代码。请参考特定浏览器的文档以了解更" +"[b]注意:[/b]HTML5导出可能不支持所有状态代码。请参考特定浏览器的文档以了解更" "多细节。" #: modules/websocket/doc_classes/WebSocketPeer.xml @@ -88667,8 +89020,8 @@ msgid "" "[/b] HTML5 exports use WebSocket.bufferedAmount, while other platforms use " "an internal buffer." msgstr "" -"返回输出的websocket缓冲区中的当前数据量。[b]注意:[/b] HTML5导出使用" -"WebSocket.bufferedAmount,而其他平台使用内部缓冲区。" +"返回输出的websocket缓冲区中的当前数据量。[b]注意:[/b]HTML5导出使用WebSocket." +"bufferedAmount,而其他平台使用内部缓冲区。" #: modules/websocket/doc_classes/WebSocketPeer.xml msgid "Gets the current selected write mode. See [enum WriteMode]." @@ -88676,7 +89029,7 @@ msgstr "获取当前选择的写入模式。参阅[enum WriteMode]。" #: modules/websocket/doc_classes/WebSocketPeer.xml msgid "Returns [code]true[/code] if this peer is currently connected." -msgstr "如果该对等体当前已连接,则返回[code]true[/code]。" +msgstr "如果该对等体当前已连接,则返回 [code]true[/code]。" #: modules/websocket/doc_classes/WebSocketPeer.xml msgid "" @@ -88686,7 +89039,7 @@ msgid "" msgstr "" "在底层的TCP套接字上禁用Nagle算法(默认)。参阅[method StreamPeerTCP." "set_no_delay]以了解更多信息。\n" -"[b]注意:[/b] 在HTML5导出中不可用。" +"[b]注意:[/b]在HTML5导出中不可用。" #: modules/websocket/doc_classes/WebSocketPeer.xml msgid "Sets the socket to use the given [enum WriteMode]." @@ -88697,7 +89050,7 @@ msgid "" "Returns [code]true[/code] if the last received packet was sent as a text " "payload. See [enum WriteMode]." msgstr "" -"如果最后收到的数据包是作为文本有效载荷发送的,返回[code]true[/code]。参阅" +"如果最后收到的数据包是作为文本有效载荷发送的,返回 [code]true[/code]。参阅" "[enum WriteMode]。" #: modules/websocket/doc_classes/WebSocketPeer.xml @@ -88730,7 +89083,7 @@ msgstr "" "在启动服务器后,[method listen],你需要[method NetworkedMultiplayerPeer.poll]" "它以固定的时间间隔,例如在[method Node._process]内。当客户端连接、断开或发送" "数据时,你会收到相应的信号。\n" -"[b]注意:[/b] 在HTML5导出中不可用。" +"[b]注意:[/b]在HTML5导出中不可用。" #: modules/websocket/doc_classes/WebSocketServer.xml msgid "" @@ -88742,12 +89095,12 @@ msgstr "" #: modules/websocket/doc_classes/WebSocketServer.xml msgid "Returns [code]true[/code] if a peer with the given ID is connected." -msgstr "如果一个具有给定ID的对等体被连接,则返回[code]true[/code]。" +msgstr "如果一个具有给定ID的对等体被连接,则返回 [code]true[/code]。" #: modules/websocket/doc_classes/WebSocketServer.xml msgid "" "Returns [code]true[/code] if the server is actively listening on a port." -msgstr "如果服务器正在监听某个端口,返回[code]true[/code]。" +msgstr "如果服务器正在监听某个端口,返回 [code]true[/code]。" #: modules/websocket/doc_classes/WebSocketServer.xml msgid "" @@ -88776,6 +89129,11 @@ msgstr "" "对等体进行通信,例如,[code]get_peer(id).get_available_packet_count[/code]。" #: modules/websocket/doc_classes/WebSocketServer.xml +msgid "" +"Sets additional headers to be sent to clients during the HTTP handshake." +msgstr "" + +#: modules/websocket/doc_classes/WebSocketServer.xml msgid "Stops the server and clear its state." msgstr "停止服务器并清除其状态。" @@ -88862,6 +89220,7 @@ msgid "AR/VR interface using WebXR." msgstr "使用 WebXR 的 AR/VR 接口。" #: modules/webxr/doc_classes/WebXRInterface.xml +#, fuzzy msgid "" "WebXR is an open standard that allows creating VR and AR applications that " "run in the web browser.\n" @@ -88888,6 +89247,9 @@ msgid "" "\n" " webxr_interface = ARVRServer.find_interface(\"WebXR\")\n" " if webxr_interface:\n" +" # Map to the standard button/axis ids when possible.\n" +" webxr_interface.xr_standard_mapping = true\n" +"\n" " # WebXR uses a lot of asynchronous callbacks, so we connect to " "various\n" " # signals in order to receive them.\n" @@ -89289,6 +89651,13 @@ msgstr "" #: modules/webxr/doc_classes/WebXRInterface.xml msgid "" +"If set to true, the button and axes ids will be converted to match the " +"standard ids used by other AR/VR interfaces, when possible.\n" +"Otherwise, the ids will be passed through unaltered from WebXR." +msgstr "" + +#: modules/webxr/doc_classes/WebXRInterface.xml +msgid "" "Emitted to indicate that the reference space has been reset or " "reconfigured.\n" "When (or whether) this is emitted depends on the user's browser or device, " @@ -89444,8 +89813,8 @@ msgid "" "[member CanvasItem.visible] property." msgstr "" "返回关闭的 [TextureButton]。\n" -"[b]警告:[/b] 这是一个必需的内部节点,删除和释放它可能会导致崩溃。如果您希望" -"隐藏它或其任何子项,请使用它们的 [member CanvasItem.visible] 属性。" +"[b]警告:[/b]这是一个必需的内部节点,删除和释放它可能会导致崩溃。如果您希望隐" +"藏它或其任何子项,请使用它们的 [member CanvasItem.visible] 属性。" #: doc/classes/WindowDialog.xml msgid "If [code]true[/code], the user can resize the window." diff --git a/doc/translations/zh_TW.po b/doc/translations/zh_TW.po index 633dc45410..c2418daa16 100644 --- a/doc/translations/zh_TW.po +++ b/doc/translations/zh_TW.po @@ -10,12 +10,14 @@ # Lihan Zhu <lihan@proctorio.com>, 2021. # jixun <jingshinglai@gmail.com>, 2021. # Nick Chu <nickchu35@gmail.com>, 2021. +# Number18 <secretemail7730@gmail.com>, 2022. +# 曹恩逢 <nelson22768384@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: 2021-10-10 14:03+0000\n" -"Last-Translator: Nick Chu <nickchu35@gmail.com>\n" +"PO-Revision-Date: 2022-04-10 17:08+0000\n" +"Last-Translator: 曹恩逢 <nelson22768384@gmail.com>\n" "Language-Team: Chinese (Traditional) <https://hosted.weblate.org/projects/" "godot-engine/godot-class-reference/zh_Hant/>\n" "Language: zh_TW\n" @@ -23,7 +25,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.9-dev\n" +"X-Generator: Weblate 4.12-dev\n" #: doc/tools/make_rst.py msgid "Description" @@ -51,7 +53,7 @@ msgstr "訊號" #: doc/tools/make_rst.py msgid "Enumerations" -msgstr "列舉類型" +msgstr "列舉" #: doc/tools/make_rst.py msgid "Constants" @@ -88,7 +90,7 @@ msgstr "" #: doc/tools/make_rst.py msgid "Setter" -msgstr "" +msgstr "Setter" #: doc/tools/make_rst.py msgid "value" @@ -3429,8 +3431,12 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" "Hints that an integer, float or string property is an enumerated value to " -"pick in a list specified via a hint string such as [code]\"Hello,Something," -"Else\"[/code]." +"pick in a list specified via a hint string.\n" +"The hint string is a comma separated list of names such as [code]\"Hello," +"Something,Else\"[/code]. For integer and float properties, the first name in " +"the list has value 0, the next 1, and so on. Explicit values can also be " +"specified by appending [code]:integer[/code] to the name, e.g. [code]\"Zero," +"One,Three:3,Four,Six:6\"[/code]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -3571,7 +3577,7 @@ msgid "The property is a translatable string." msgstr "" #: doc/classes/@GlobalScope.xml -msgid "Used to group properties together in the editor." +msgid "Used to group properties together in the editor. See [EditorInspector]." msgstr "" #: doc/classes/@GlobalScope.xml @@ -5344,8 +5350,11 @@ msgstr "" #: doc/classes/AnimationNodeBlendTree.xml msgid "" -"This node may contain a sub-tree of any other blend type nodes, such as mix, " -"blend2, blend3, one shot, etc. This is one of the most commonly used roots." +"This node may contain a sub-tree of any other blend type nodes, such as " +"[AnimationNodeTransition], [AnimationNodeBlend2], [AnimationNodeBlend3], " +"[AnimationNodeOneShot], etc. This is one of the most commonly used roots.\n" +"An [AnimationNodeOutput] node named [code]output[/code] is created by " +"default." msgstr "" #: doc/classes/AnimationNodeBlendTree.xml @@ -7090,8 +7099,9 @@ msgstr "" #: doc/classes/Array.xml msgid "" -"Removes the first occurrence of a value from the array. To remove an element " -"by index, use [method remove] instead.\n" +"Removes the first occurrence of a value from the array. If the value does " +"not exist in the array, nothing happens. To remove an element by index, use " +"[method remove] instead.\n" "[b]Note:[/b] This method acts in-place and doesn't return a value.\n" "[b]Note:[/b] On large arrays, this method will be slower if the removed " "element is close to the beginning of the array (index 0). This is because " @@ -10468,8 +10478,15 @@ msgstr "" #: doc/classes/BakedLightmap.xml msgid "" -"When enabled, the lightmapper will merge the textures for all meshes into a " -"single large layered texture. Not supported in GLES2." +"If [code]true[/code], the lightmapper will merge the textures for all meshes " +"into one or several large layered textures. If [code]false[/code], every " +"mesh will get its own lightmap texture, which is less efficient.\n" +"[b]Note:[/b] Atlas lightmap rendering is only supported in GLES3, [i]not[/i] " +"GLES2. Non-atlas lightmap rendering is supported by both GLES3 and GLES2. If " +"[member ProjectSettings.rendering/quality/driver/fallback_to_gles2] is " +"[code]true[/code], consider baking lightmaps with [member atlas_generate] " +"set to [code]false[/code] so that the resulting lightmap is visible in both " +"GLES3 and GLES2." msgstr "" #: doc/classes/BakedLightmap.xml @@ -11815,8 +11832,8 @@ msgstr "" #: doc/classes/Camera.xml msgid "" "The camera's size measured as 1/2 the width or height. Only applicable in " -"orthogonal mode. Since [member keep_aspect] locks on axis, [code]size[/code] " -"sets the other axis' size length." +"orthogonal and frustum modes. Since [member keep_aspect] locks on axis, " +"[code]size[/code] sets the other axis' size length." msgstr "" #: doc/classes/Camera.xml @@ -12619,20 +12636,24 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], the node won't inherit its " -"transform from parent canvas items." +"If [code]enable[/code] is [code]true[/code], this [CanvasItem] will [i]not[/" +"i] inherit its transform from parent [CanvasItem]s. Its draw order will also " +"be changed to make it draw on top of other [CanvasItem]s that are not set as " +"top-level. The [CanvasItem] will effectively act as if it was placed as a " +"child of a bare [Node]. See also [method is_set_as_toplevel]." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"local transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_LOCAL_TRANSFORM_CHANGED] when its local transform " +"changes." msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"If [code]enable[/code] is [code]true[/code], children will be updated with " -"global transform data." +"If [code]enable[/code] is [code]true[/code], this node will receive " +"[constant NOTIFICATION_TRANSFORM_CHANGED] when its global transform changes." msgstr "" #: doc/classes/CanvasItem.xml @@ -12746,9 +12767,14 @@ msgstr "" #: doc/classes/CanvasItem.xml msgid "" -"The [CanvasItem]'s transform has changed. This notification is only received " -"if enabled by [method set_notify_transform] or [method " -"set_notify_local_transform]." +"The [CanvasItem]'s global transform has changed. This notification is only " +"received if enabled by [method set_notify_transform]." +msgstr "" + +#: doc/classes/CanvasItem.xml +msgid "" +"The [CanvasItem]'s local transform has changed. This notification is only " +"received if enabled by [method set_notify_local_transform]." msgstr "" #: doc/classes/CanvasItem.xml @@ -13704,7 +13730,10 @@ msgid "" "number of 2D collision [Shape2D]s. Each shape must be assigned to a [i]shape " "owner[/i]. The CollisionObject2D can have any number of shape owners. Shape " "owners are not nodes and do not appear in the editor, but are accessible " -"through code using the [code]shape_owner_*[/code] methods." +"through code using the [code]shape_owner_*[/code] methods.\n" +"[b]Note:[/b] Only collisions between objects within the same canvas " +"([Viewport] canvas or [CanvasLayer]) are supported. The behavior of " +"collisions between objects in different canvases is undefined." msgstr "" #: doc/classes/CollisionObject2D.xml @@ -19722,9 +19751,8 @@ msgid "" "main font.\n" "DynamicFont uses the [url=https://www.freetype.org/]FreeType[/url] library " "for rasterization. Supported formats are TrueType ([code].ttf[/code]), " -"OpenType ([code].otf[/code]) and Web Open Font Format 1 ([code].woff[/" -"code]). Web Open Font Format 2 ([code].woff2[/code]) is [i]not[/i] " -"supported.\n" +"OpenType ([code].otf[/code]), Web Open Font Format 1 ([code].woff[/code]), " +"and Web Open Font Format 2 ([code].woff2[/code]).\n" "[codeblock]\n" "var dynamic_font = DynamicFont.new()\n" "dynamic_font.font_data = load(\"res://BarlowCondensed-Bold.ttf\")\n" @@ -20591,18 +20619,34 @@ msgid "" msgstr "" #: doc/classes/EditorInspector.xml -msgid "A tab used to edit properties of the selected node." +msgid "A control used to edit properties of an object." msgstr "" #: doc/classes/EditorInspector.xml msgid "" -"The editor inspector is by default located on the right-hand side of the " -"editor. It's used to edit the properties of the selected node. For example, " -"you can select a node such as [Sprite] then edit its transform through the " -"inspector tool. The editor inspector is an essential tool in the game " -"development workflow.\n" -"[b]Note:[/b] This class shouldn't be instantiated directly. Instead, access " -"the singleton using [method EditorInterface.get_inspector]." +"This is the control that implements property editing in the editor's " +"Settings dialogs, the Inspector dock, etc. To get the [EditorInspector] used " +"in the editor's Inspector dock, use [method EditorInterface.get_inspector].\n" +"[EditorInspector] will show properties in the same order as the array " +"returned by [method Object.get_property_list].\n" +"If a property's name is path-like (i.e. if it contains forward slashes), " +"[EditorInspector] will create nested sections for \"directories\" along the " +"path. For example, if a property is named [code]highlighting/gdscript/" +"node_path_color[/code], it will be shown as \"Node Path Color\" inside the " +"\"GDScript\" section nested inside the \"Highlighting\" section.\n" +"If a property has [constant @GlobalScope.PROPERTY_USAGE_GROUP] usage, it " +"will group subsequent properties whose name starts with the property's hint " +"string. The group ends when a property does not start with that hint string " +"or when a new group starts. An empty group name effectively ends the current " +"group. [EditorInspector] will create a top-level section for each group. For " +"example, if a property with group usage is named [code]Collide With[/code] " +"and its hint string is [code]collide_with_[/code], a subsequent " +"[code]collide_with_area[/code] property will be shown as \"Area\" inside the " +"\"Collide With\" section.\n" +"[b]Note:[/b] Unlike sections created from path-like property names, " +"[EditorInspector] won't capitalize the name for sections created from " +"groups. So properties with group usage usually use capitalized names instead " +"of snake_cased names." msgstr "" #: doc/classes/EditorInspector.xml @@ -21777,6 +21821,14 @@ msgid "" "[/codeblock]" msgstr "" +#: modules/gltf/doc_classes/EditorSceneImporterGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [EditorSceneImporterGLTF] within a script will cause an error in an " +"exported project." +msgstr "" + #: doc/classes/EditorScenePostImport.xml msgid "Post-processes scenes after import." msgstr "" @@ -22515,12 +22567,13 @@ msgstr "" #: doc/classes/EditorVCSInterface.xml msgid "" "Helper function to create a commit [Dictionary] item. [code]msg[/code] is " -"the commit message of the commit. [code]author[/code] is a human-readable " -"string containing the author's details, e.g. the email and name configured " -"in the VCS. [code]id[/code] is the identifier of the commit, in whichever " -"format your VCS may provide an identifier to commits. [code]date[/code] is " -"directly added to the commit item and displayed in the editor, and hence, it " -"shall be a well-formatted, human-readable date string." +"the commit message of the commit. [code]author[/code] is a single human-" +"readable string containing all the author's details, e.g. the email and name " +"configured in the VCS. [code]id[/code] is the identifier of the commit, in " +"whichever format your VCS may provide an identifier to commits. " +"[code]unix_timestamp[/code] is the UTC Unix timestamp of when the commit was " +"created. [code]offset_minutes[/code] is the timezone offset in minutes, " +"recorded from the system timezone where the commit was created." msgstr "" #: doc/classes/EditorVCSInterface.xml @@ -25676,6 +25729,50 @@ msgstr "" msgid "Represents the size of the [enum Subdiv] enum." msgstr "" +#: modules/gltf/doc_classes/GLTFAccessor.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAccessor] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFAnimation.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFAnimation] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFBufferView.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFBufferView] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFCamera.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFCamera] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFDocument.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFDocument] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFLight.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFLight] within a script will cause an error in an exported project." +msgstr "" + #: modules/gltf/doc_classes/GLTFLight.xml msgid "" "The [Color] of the light. Defaults to white. A black color causes the light " @@ -25725,6 +25822,49 @@ msgid "" "and [DirectionalLight] respectively." msgstr "" +#: modules/gltf/doc_classes/GLTFMesh.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFMesh] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFNode.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFNode] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSkeleton.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSkeleton] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFSpecGloss.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFSpecGloss] within a script will cause an error in an exported " +"project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFState.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFState] within a script will cause an error in an exported project." +msgstr "" + +#: modules/gltf/doc_classes/GLTFTexture.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [GLTFTexture] within a script will cause an error in an exported project." +msgstr "" + #: modules/mono/doc_classes/GodotSharp.xml msgid "Bridge between Godot and the Mono runtime (Mono-enabled builds only)." msgstr "" @@ -29120,9 +29260,9 @@ msgid "" "Returns a value between 0 and 1 representing the raw intensity of the given " "action, ignoring the action's deadzone. In most cases, you should use " "[method get_action_strength] instead.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29132,9 +29272,9 @@ msgid "" "or L2, R2 triggers) is from the dead zone, the closer the value will be to " "1. If the action is mapped to a control that has no axis as the keyboard, " "the value returned will be 0 or 1.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29267,9 +29407,9 @@ msgid "" "the button.\n" "This is useful for code that needs to run only once when an action is " "pressed, instead of every frame while it's pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_just_pressed] may " "return [code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29281,9 +29421,9 @@ msgid "" "Returns [code]true[/code] when the user stops pressing the action event, " "meaning it's [code]true[/code] only on the frame that the user released the " "button.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events." +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/Input.xml @@ -29292,9 +29432,9 @@ msgid "" "an action has multiple buttons assigned and more than one of them is " "pressed, releasing one button will release the action, even if some other " "button assigned to this action is still pressed.\n" -"If [code]exact[/code] is [code]false[/code], it ignores the input modifiers " -"for [InputEventKey] and [InputEventMouseButton] events, and the direction " -"for [InputEventJoypadMotion] events.\n" +"If [code]exact[/code] is [code]false[/code], it ignores additional input " +"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " +"direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29644,18 +29784,18 @@ msgstr "" msgid "" "Returns a value between 0.0 and 1.0 depending on the given actions' state. " "Useful for getting the value of events of type [InputEventJoypadMotion].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml msgid "" "Returns [code]true[/code] if this input event matches a pre-defined action " "of any type.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -29664,9 +29804,9 @@ msgid "" "an echo event for [InputEventKey] events, unless [code]allow_echo[/code] is " "[code]true[/code]). Not relevant for events of type [InputEventMouseMotion] " "or [InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events.\n" +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events.\n" "[b]Note:[/b] Due to keyboard ghosting, [method is_action_pressed] may return " "[code]false[/code] even if one of the action's keys is pressed. See " "[url=$DOCS_URL/tutorials/inputs/input_examples.html#keyboard-events]Input " @@ -29678,9 +29818,9 @@ msgid "" "Returns [code]true[/code] if the given action is released (i.e. not " "pressed). Not relevant for events of type [InputEventMouseMotion] or " "[InputEventScreenDrag].\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -29711,9 +29851,9 @@ msgid "" "event. Only valid for action events i.e key ([InputEventKey]), button " "([InputEventMouseButton] or [InputEventJoypadButton]), axis " "[InputEventJoypadMotion] or action ([InputEventAction]) events.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputEvent.xml @@ -30244,9 +30384,9 @@ msgid "" "This method ignores keyboard modifiers if the given [InputEvent] is not " "pressed (for proper release detection). See [method action_has_event] if you " "don't want this behavior.\n" -"If [code]exact_match[/code] is [code]false[/code], it ignores the input " -"modifiers for [InputEventKey] and [InputEventMouseButton] events, and the " -"direction for [InputEventJoypadMotion] events." +"If [code]exact_match[/code] is [code]false[/code], it ignores additional " +"input modifiers for [InputEventKey] and [InputEventMouseButton] events, and " +"the direction for [InputEventJoypadMotion] events." msgstr "" #: doc/classes/InputMap.xml @@ -32652,7 +32792,7 @@ msgid "" "be within the text's length." msgstr "" -#: doc/classes/LineEdit.xml +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml msgid "Clears the current selection." msgstr "" @@ -32671,6 +32811,19 @@ msgid "" "characters." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection begin column." +msgstr "" + +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +msgid "Returns the selection end column." +msgstr "" + +#: doc/classes/LineEdit.xml +#, fuzzy +msgid "Returns [code]true[/code] if the user has selected text." +msgstr "回傳參數的餘弦值。" + #: doc/classes/LineEdit.xml msgid "Executes a given action as defined in the [enum MenuItems] enum." msgstr "" @@ -34084,6 +34237,39 @@ msgid "Returns the number of surface materials." msgstr "" #: doc/classes/MeshInstance.xml +msgid "" +"Returns [code]true[/code] if this [MeshInstance] can be merged with the " +"specified [code]other_mesh_instance[/code], using the [method MeshInstance." +"merge_meshes] function.\n" +"In order to be mergeable, properties of the [MeshInstance] must match, and " +"each surface must match, in terms of material, attributes and vertex format." +msgstr "" + +#: doc/classes/MeshInstance.xml +msgid "" +"This function can merge together the data from several source " +"[MeshInstance]s into a single destination [MeshInstance] (the MeshInstance " +"the function is called from). This is primarily useful for improving " +"performance by reducing the number of drawcalls and [Node]s.\n" +"Merging should only be attempted for simple meshes that do not contain " +"animation.\n" +"The final vertices can either be returned in global space, or in local space " +"relative to the destination [MeshInstance] global transform (the destination " +"Node must be inside the [SceneTree] for local space to work).\n" +"The function will make a final check for compatibility between the " +"[MeshInstance]s by default, this should always be used unless you have " +"previously checked for compatibility using [method MeshInstance." +"is_mergeable_with]. If the compatibility check is omitted and the meshes are " +"merged, you may see rendering errors.\n" +"[b]Note:[/b] The requirements for similarity between meshes are quite " +"stringent. They can be checked using the [method MeshInstance." +"is_mergeable_with] function prior to calling [method MeshInstance." +"merge_meshes].\n" +"Also note that any initial data in the destination [MeshInstance] data will " +"be discarded." +msgstr "" + +#: doc/classes/MeshInstance.xml msgid "Sets the [Material] for a surface of the [Mesh] resource." msgstr "" @@ -36411,7 +36597,7 @@ msgstr "" #: doc/classes/Node.xml msgid "Nodes and Scenes" -msgstr "" +msgstr "節點與場景" #: doc/classes/Node.xml msgid "All Demos" @@ -36563,12 +36749,12 @@ msgid "" "[/codeblock]\n" "[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " "must set [member owner] in addition to calling [method add_child]. This is " -"typically relevant for [url=https://godot.readthedocs.io/en/3.2/tutorials/" -"misc/running_code_in_the_editor.html]tool scripts[/url] and [url=https://" -"godot.readthedocs.io/en/latest/tutorials/plugins/editor/index.html]editor " -"plugins[/url]. If [method add_child] is called without setting [member " -"owner], the newly added [Node] will not be visible in the scene tree, though " -"it will be visible in the 2D/3D view." +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37275,7 +37461,15 @@ msgid "" "valid parent, grandparent, etc. ascending in the tree). When saving a node " "(using [PackedScene]), all the nodes it owns will be saved with it. This " "allows for the creation of complex [SceneTree]s, with instancing and " -"subinstancing." +"subinstancing.\n" +"[b]Note:[/b] If you want a child to be persisted to a [PackedScene], you " +"must set [member owner] in addition to calling [method add_child]. This is " +"typically relevant for [url=$DOCS_URL/tutorials/misc/" +"running_code_in_the_editor.html]tool scripts[/url] and [url=$DOCS_URL/" +"tutorials/plugins/editor/index.html]editor plugins[/url]. If [method " +"add_child] is called without setting [member owner], the newly added [Node] " +"will not be visible in the scene tree, though it will be visible in the " +"2D/3D view." msgstr "" #: doc/classes/Node.xml @@ -37871,7 +38065,13 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Called when the object is initialized." +msgid "" +"Called when the object is initialized in memory. Can be defined to take in " +"parameters, that are passed in when constructing.\n" +"[b]Note:[/b] If [method _init] is defined with required parameters, then " +"explicit construction is the only valid means of creating an Object of the " +"class. If any other means (such as [method PackedScene.instance]) is used, " +"then initialization will fail." msgstr "" #: doc/classes/Object.xml @@ -38067,7 +38267,10 @@ msgid "" msgstr "" #: doc/classes/Object.xml -msgid "Returns the object's metadata entry for the given [code]name[/code]." +msgid "" +"Returns the object's metadata entry for the given [code]name[/code].\n" +"Throws error if the entry does not exist, unless [code]default[/code] is not " +"[code]null[/code] (in which case the default value will be returned)." msgstr "" #: doc/classes/Object.xml @@ -39979,79 +40182,79 @@ msgstr "" #: doc/classes/OS.xml msgid "Sunday." -msgstr "" +msgstr "星期日。" #: doc/classes/OS.xml msgid "Monday." -msgstr "" +msgstr "星期一。" #: doc/classes/OS.xml msgid "Tuesday." -msgstr "" +msgstr "星期二。" #: doc/classes/OS.xml msgid "Wednesday." -msgstr "" +msgstr "星期三。" #: doc/classes/OS.xml msgid "Thursday." -msgstr "" +msgstr "星期四。" #: doc/classes/OS.xml msgid "Friday." -msgstr "" +msgstr "星期五。" #: doc/classes/OS.xml msgid "Saturday." -msgstr "" +msgstr "星期六。" #: doc/classes/OS.xml msgid "January." -msgstr "" +msgstr "一月。" #: doc/classes/OS.xml msgid "February." -msgstr "" +msgstr "二月。" #: doc/classes/OS.xml msgid "March." -msgstr "" +msgstr "三月。" #: doc/classes/OS.xml msgid "April." -msgstr "" +msgstr "四月。" #: doc/classes/OS.xml msgid "May." -msgstr "" +msgstr "五月。" #: doc/classes/OS.xml msgid "June." -msgstr "" +msgstr "六月。" #: doc/classes/OS.xml msgid "July." -msgstr "" +msgstr "七月。" #: doc/classes/OS.xml msgid "August." -msgstr "" +msgstr "八月。" #: doc/classes/OS.xml msgid "September." -msgstr "" +msgstr "九月。" #: doc/classes/OS.xml msgid "October." -msgstr "" +msgstr "十月。" #: doc/classes/OS.xml msgid "November." -msgstr "" +msgstr "十一月。" #: doc/classes/OS.xml msgid "December." -msgstr "" +msgstr "十二月。" #: doc/classes/OS.xml msgid "" @@ -40283,6 +40486,14 @@ msgid "" "[b]Note:[/b] Only available in editor builds." msgstr "" +#: modules/gltf/doc_classes/PackedSceneGLTF.xml +msgid "" +"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF " +"loading and saving is [i]not[/i] available in exported projects. References " +"to [PackedSceneGLTF] within a script will cause an error in an exported " +"project." +msgstr "" + #: doc/classes/PacketPeer.xml msgid "Abstraction and base class for packet-based protocols." msgstr "" @@ -43138,7 +43349,10 @@ msgid "" msgstr "" #: doc/classes/PhysicsServer.xml -msgid "Returns an Info defined by the [enum ProcessInfo] input given." +msgid "" +"Returns information about the current state of the 3D physics engine. See " +"[enum ProcessInfo] for a list of available states. Only implemented for " +"Godot Physics." msgstr "" #: doc/classes/PhysicsServer.xml @@ -46003,7 +46217,7 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Allows the window to be resizable by default.\n" -"[b]Note:[/b] This setting is ignored on iOS and Android." +"[b]Note:[/b] This setting is ignored on iOS." msgstr "" #: doc/classes/ProjectSettings.xml @@ -46650,7 +46864,7 @@ msgid "Optional name for the 3D render layer 13." msgstr "" #: doc/classes/ProjectSettings.xml -msgid "Optional name for the 3D render layer 14" +msgid "Optional name for the 3D render layer 14." msgstr "" #: doc/classes/ProjectSettings.xml @@ -47920,16 +48134,24 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" -"If [code]true[/code], forces vertex shading for all rendering. This can " -"increase performance a lot, but also reduces quality immensely. Can be used " -"to optimize performance on low-end mobile devices." +"If [code]true[/code], forces vertex shading for all 3D [SpatialMaterial] and " +"[ShaderMaterial] rendering. This can be used to improve performance on low-" +"end mobile devices. The downside is that shading becomes much less accurate, " +"with visible linear interpolation between vertices that are joined together. " +"This can be compensated by ensuring meshes have a sufficient level of " +"subdivision (but not too much, to avoid reducing performance). Some material " +"features are also not supported when vertex shading is enabled.\n" +"See also [member SpatialMaterial.flags_vertex_lighting] which can be used to " +"enable vertex shading on specific materials only.\n" +"[b]Note:[/b] This setting does not affect unshaded materials." msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Lower-end override for [member rendering/quality/shading/" "force_vertex_shading] on mobile devices, due to performance concerns or " -"driver support." +"driver support. If lighting looks broken after exporting the project to a " +"mobile platform, try disabling this setting." msgstr "" #: doc/classes/ProjectSettings.xml @@ -49965,6 +50187,11 @@ msgid "" msgstr "" #: doc/classes/RichTextLabel.xml +#, fuzzy +msgid "Returns the current selection text. Does not include BBCodes." +msgstr "回傳參數的正弦值。" + +#: doc/classes/RichTextLabel.xml msgid "" "Returns the total number of characters from text tags. Does not include " "BBCodes." @@ -52256,14 +52483,23 @@ msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Lowers the [Semaphore], allowing one more thread in. Returns [constant OK] " -"on success, [constant ERR_BUSY] otherwise." +"Lowers the [Semaphore], allowing one more thread in.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." +msgstr "" + +#: doc/classes/Semaphore.xml +msgid "" +"Like [method wait], but won't block, so if the value is zero, fails " +"immediately and returns [constant ERR_BUSY]. If non-zero, it returns " +"[constant OK] to report success." msgstr "" #: doc/classes/Semaphore.xml msgid "" -"Tries to wait for the [Semaphore], if its value is zero, blocks until non-" -"zero. Returns [constant OK] on success, [constant ERR_BUSY] otherwise." +"Waits for the [Semaphore], if its value is zero, blocks until non-zero.\n" +"[b]Note:[/b] This method internals' can't possibly fail, but an error code " +"is returned for backwards compatibility, which will always be [constant OK]." msgstr "" #: doc/classes/Separator.xml @@ -53710,7 +53946,21 @@ msgstr "" #: doc/classes/SpatialMaterial.xml msgid "" "If [code]true[/code], lighting is calculated per vertex rather than per " -"pixel. This may increase performance on low-end devices." +"pixel. This may increase performance on low-end devices, especially for " +"meshes with a lower polygon count. The downside is that shading becomes much " +"less accurate, with visible linear interpolation between vertices that are " +"joined together. This can be compensated by ensuring meshes have a " +"sufficient level of subdivision (but not too much, to avoid reducing " +"performance). Some material features are also not supported when vertex " +"shading is enabled.\n" +"See also [member ProjectSettings.rendering/quality/shading/" +"force_vertex_shading] which can globally enable vertex shading on all " +"materials.\n" +"[b]Note:[/b] By default, vertex shading is enforced on mobile platforms by " +"[member ProjectSettings.rendering/quality/shading/force_vertex_shading]'s " +"[code]mobile[/code] override.\n" +"[b]Note:[/b] [member flags_vertex_lighting] has no effect if [member " +"flags_unshaded] is [code]true[/code]." msgstr "" #: doc/classes/SpatialMaterial.xml @@ -54514,7 +54764,10 @@ msgid "" "the text alignment to right.\n" "See [Range] class for more options over the [SpinBox].\n" "[b]Note:[/b] [SpinBox] relies on an underlying [LineEdit] node. To theme a " -"[SpinBox]'s background, add theme items for [LineEdit] and customize them." +"[SpinBox]'s background, add theme items for [LineEdit] and customize them.\n" +"[b]Note:[/b] If you want to implement drag and drop for the underlying " +"[LineEdit], you can use [method Control.set_drag_forwarding] on the node " +"returned by [method get_line_edit]." msgstr "" #: doc/classes/SpinBox.xml @@ -55835,7 +56088,6 @@ msgid "" "print(\"1.7\".is_valid_float()) # Prints \"True\"\n" "print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"7e3\".is_valid_float()) # Prints \"True\"\n" -"print(\"24\".is_valid_float()) # Prints \"True\"\n" "print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -56072,8 +56324,8 @@ msgid "" "var some_string = \"One,Two,Three,Four\"\n" "var some_array = some_string.rsplit(\",\", true, 1)\n" "print(some_array.size()) # Prints 2\n" -"print(some_array[0]) # Prints \"Four\"\n" -"print(some_array[1]) # Prints \"Three,Two,One\"\n" +"print(some_array[0]) # Prints \"One,Two,Three\"\n" +"print(some_array[1]) # Prints \"Four\"\n" "[/codeblock]" msgstr "" @@ -56106,9 +56358,9 @@ msgstr "" #: doc/classes/String.xml msgid "" "Returns the similarity index ([url=https://en.wikipedia.org/wiki/" -"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) this " -"string compared to another. 1.0 means totally similar and 0.0 means totally " -"dissimilar.\n" +"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) of " +"this string compared to another. A result of 1.0 means totally similar, " +"while 0.0 means totally dissimilar.\n" "[codeblock]\n" "print(\"ABC123\".similarity(\"ABC123\")) # Prints \"1\"\n" "print(\"ABC123\".similarity(\"XYZ456\")) # Prints \"0\"\n" @@ -57584,10 +57836,6 @@ msgid "" msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection begin column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection begin line." msgstr "" @@ -57596,10 +57844,6 @@ msgid "Returns the text inside the selection." msgstr "" #: doc/classes/TextEdit.xml -msgid "Returns the selection end column." -msgstr "" - -#: doc/classes/TextEdit.xml msgid "Returns the selection end line." msgstr "" @@ -58624,6 +58868,14 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Adds an empty theme type for every valid data type.\n" +"[b]Note:[/b] Empty types are not saved with the theme. This method only " +"exists to perform in-memory changes to the resource. Use available " +"[code]set_*[/code] methods to add theme items." +msgstr "" + +#: doc/classes/Theme.xml msgid "Clears all values on the theme." msgstr "" @@ -58886,6 +59138,13 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Removes the theme type, gracefully discarding defined theme items. If the " +"type is a variation, this information is also erased. If the type is a base " +"for type variations, those variations lose their base." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Renames the [Color] at [code]old_name[/code] to [code]name[/code] if the " "theme has [code]node_type[/code]. If [code]name[/code] is already taken, " "this method fails." @@ -62451,7 +62710,7 @@ msgstr "" #: modules/upnp/doc_classes/UPNPDevice.xml msgid "OK." -msgstr "" +msgstr "OK。" #: modules/upnp/doc_classes/UPNPDevice.xml msgid "Empty HTTP response." @@ -71613,6 +71872,11 @@ msgid "" msgstr "" #: modules/websocket/doc_classes/WebSocketServer.xml +msgid "" +"Sets additional headers to be sent to clients during the HTTP handshake." +msgstr "" + +#: modules/websocket/doc_classes/WebSocketServer.xml msgid "Stops the server and clear its state." msgstr "" @@ -71708,6 +71972,9 @@ msgid "" "\n" " webxr_interface = ARVRServer.find_interface(\"WebXR\")\n" " if webxr_interface:\n" +" # Map to the standard button/axis ids when possible.\n" +" webxr_interface.xr_standard_mapping = true\n" +"\n" " # WebXR uses a lot of asynchronous callbacks, so we connect to " "various\n" " # signals in order to receive them.\n" @@ -71933,6 +72200,13 @@ msgstr "" #: modules/webxr/doc_classes/WebXRInterface.xml msgid "" +"If set to true, the button and axes ids will be converted to match the " +"standard ids used by other AR/VR interfaces, when possible.\n" +"Otherwise, the ids will be passed through unaltered from WebXR." +msgstr "" + +#: modules/webxr/doc_classes/WebXRInterface.xml +msgid "" "Emitted to indicate that the reference space has been reset or " "reconfigured.\n" "When (or whether) this is emitted depends on the user's browser or device, " |