diff options
Diffstat (limited to 'doc')
84 files changed, 7572 insertions, 3336 deletions
diff --git a/doc/classes/@GlobalScope.xml b/doc/classes/@GlobalScope.xml index f692a49ba1..a2b310ca82 100644 --- a/doc/classes/@GlobalScope.xml +++ b/doc/classes/@GlobalScope.xml @@ -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]. 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/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/CanvasItem.xml b/doc/classes/CanvasItem.xml index 1fe2f5a756..baaf33956f 100644 --- a/doc/classes/CanvasItem.xml +++ b/doc/classes/CanvasItem.xml @@ -480,9 +480,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 +487,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/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/Color.xml b/doc/classes/Color.xml index e30d448a27..5b48804d9d 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 to_linear] to convert it to the linear color space first. </description> </method> <method name="get_named_color" qualifiers="static"> @@ -404,6 +405,12 @@ [/codeblocks] </description> </method> + <method name="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 to_srgb] which performs the opposite operation. + </description> + </method> <method name="to_rgba32" qualifiers="const"> <return type="int" /> <description> @@ -436,6 +443,12 @@ [/codeblocks] </description> </method> + <method name="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 to_linear] which performs the opposite operation. + </description> + </method> </methods> <members> <member name="a" type="float" setter="" getter="" default="1.0"> diff --git a/doc/classes/Control.xml b/doc/classes/Control.xml index 3163ac5610..78150af9dd 100644 --- a/doc/classes/Control.xml +++ b/doc/classes/Control.xml @@ -943,9 +943,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> diff --git a/doc/classes/DisplayServer.xml b/doc/classes/DisplayServer.xml index 5a67170086..0d99c600d5 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_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"> + <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_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_submenu"> + <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> @@ -531,6 +845,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" /> @@ -966,7 +1287,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> 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/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/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 90d774058b..e5e7efd315 100644 --- a/doc/classes/Environment.xml +++ b/doc/classes/Environment.xml @@ -207,21 +207,6 @@ </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. - </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. </member> @@ -264,6 +249,21 @@ <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. </member> 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..313e3e31fc 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> 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..140015babf 100644 --- a/doc/classes/Image.xml +++ b/doc/classes/Image.xml @@ -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..c3552c9f62 100644 --- a/doc/classes/Input.xml +++ b/doc/classes/Input.xml @@ -379,11 +379,11 @@ [b]Note:[/b] It needs [code]VIBRATE[/code] permission for Android at export settings. iOS does not support duration. </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/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/Node.xml b/doc/classes/Node.xml index 28b104e276..7079036879 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> @@ -462,6 +474,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 +501,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 +605,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 +624,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 +691,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" /> @@ -706,7 +732,7 @@ 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). diff --git a/doc/classes/Object.xml b/doc/classes/Object.xml index a57101b62d..f7a3be48cf 100644 --- a/doc/classes/Object.xml +++ b/doc/classes/Object.xml @@ -53,7 +53,8 @@ <method name="_init" qualifiers="virtual"> <return type="void" /> <description> - Called when the object is initialized. + Called when the object is initialized in memory. Can be defined to take in parameters, that are passed in when constructing. + [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.instantiate]) is used, then initialization will fail. </description> </method> <method name="_notification" qualifiers="virtual"> @@ -106,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: @@ -300,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: @@ -365,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/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/ProjectSettings.xml b/doc/classes/ProjectSettings.xml index a8b4129061..ee32677b3a 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> @@ -1915,7 +1923,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 +1936,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/RichTextLabel.xml b/doc/classes/RichTextLabel.xml index e805d3469c..a882a6c66f 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" /> diff --git a/doc/classes/SceneTree.xml b/doc/classes/SceneTree.xml index f3dfc727b0..77023d2126 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" /> 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/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/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/TabBar.xml b/doc/classes/TabBar.xml index 420ab2adeb..aca5e2d7f3 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> @@ -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..011b716dfc 100644 --- a/doc/classes/TabContainer.xml +++ b/doc/classes/TabContainer.xml @@ -30,6 +30,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 +99,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 +173,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 +193,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 +230,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/TextServerExtension.xml b/doc/classes/TextServerExtension.xml index 25647e2668..e7c5edd266 100644 --- a/doc/classes/TextServerExtension.xml +++ b/doc/classes/TextServerExtension.xml @@ -373,7 +373,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"> diff --git a/doc/classes/TreeItem.xml b/doc/classes/TreeItem.xml index c909a35ab5..396be2d9f8 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. diff --git a/doc/classes/Tween.xml b/doc/classes/Tween.xml index 2c152410ce..72f32f39c2 100644 --- a/doc/classes/Tween.xml +++ b/doc/classes/Tween.xml @@ -72,6 +72,13 @@ [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="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:[/code] 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"> <return type="Variant" /> <argument index="0" name="initial_value" type="Variant" /> diff --git a/doc/classes/Viewport.xml b/doc/classes/Viewport.xml index a72e7f1eb0..b5916f8c17 100644 --- a/doc/classes/Viewport.xml +++ b/doc/classes/Viewport.xml @@ -172,7 +172,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> diff --git a/doc/translations/ar.po b/doc/translations/ar.po index d8fac5a193..c611cb845c 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 @@ -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 @@ -10449,8 +10456,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 @@ -12603,14 +12617,15 @@ 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 +12739,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 @@ -19699,9 +19719,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" @@ -22492,12 +22511,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 @@ -29090,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 @@ -29102,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 @@ -29237,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 " @@ -29251,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 @@ -29262,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 " @@ -29614,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 @@ -29634,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 " @@ -29648,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 @@ -29681,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 @@ -30214,9 +30234,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 @@ -34053,6 +34073,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 +36584,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 +37296,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 +37900,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 @@ -43107,7 +43174,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 @@ -56039,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 "" diff --git a/doc/translations/ca.po b/doc/translations/ca.po index c024a6fd7b..97b36c3f91 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 @@ -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 @@ -10469,8 +10476,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 @@ -12618,14 +12632,15 @@ 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 +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 @@ -19703,9 +19723,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" @@ -22495,12 +22514,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 @@ -29087,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 @@ -29099,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 @@ -29234,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 " @@ -29248,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 @@ -29259,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 " @@ -29611,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 @@ -29631,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 " @@ -29645,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 @@ -29678,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 @@ -30210,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 @@ -34048,6 +34068,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 +36553,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 +37265,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 +37869,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 @@ -43052,7 +43119,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 @@ -55976,8 +56046,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 "" diff --git a/doc/translations/classes.pot b/doc/translations/classes.pot index f7706efa7d..3aa9292ac3 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 @@ -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 @@ -10349,8 +10356,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 @@ -12498,14 +12512,15 @@ 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 +12634,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 @@ -19583,9 +19603,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" @@ -22375,12 +22394,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 @@ -28964,9 +28984,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 +28996,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 +29131,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 +29145,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 +29156,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 +29508,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 +29528,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 +29542,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 +29575,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 +30107,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 @@ -33925,6 +33945,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 +36430,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 +37142,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 +37746,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 @@ -42929,7 +42996,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 @@ -55853,8 +55923,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 "" diff --git a/doc/translations/cs.po b/doc/translations/cs.po index 75cc6ed7e8..9999a29a0b 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 @@ -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 @@ -10865,8 +10872,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 @@ -13023,14 +13037,15 @@ 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 +13159,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 @@ -20150,9 +20170,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" @@ -22949,12 +22968,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 @@ -29552,9 +29572,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 +29584,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 +29719,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 +29733,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 +29744,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 +30096,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 +30116,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 +30130,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 +30163,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 +30696,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 @@ -34518,6 +34538,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 +37053,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 +37765,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 +38369,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 @@ -43587,7 +43654,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 @@ -56537,8 +56607,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 "" diff --git a/doc/translations/de.po b/doc/translations/de.po index c658b5ea67..585bbabec6 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 "" @@ -6470,9 +6471,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 +6853,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 " @@ -12407,8 +12411,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 @@ -14578,14 +14589,15 @@ 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 +14713,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 @@ -21852,9 +21869,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" @@ -24661,12 +24677,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 @@ -31322,9 +31339,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 +31351,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 +31486,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 +31500,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 +31511,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 +31866,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 +31886,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 +31900,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 +31933,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 +32466,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 @@ -36302,6 +36319,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 +38864,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 +39579,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 +40183,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 @@ -45428,7 +45492,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 @@ -58571,8 +58638,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 "" diff --git a/doc/translations/el.po b/doc/translations/el.po index 07ba0eeae0..3e3686d93d 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 @@ -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 @@ -10366,8 +10373,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 @@ -12521,14 +12535,15 @@ 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 +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 @@ -19617,9 +19637,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" @@ -22410,12 +22429,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 @@ -29008,9 +29028,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 +29040,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 +29175,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 +29189,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 +29200,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 +29552,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 +29572,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 +29586,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 +29619,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 +30152,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 @@ -33971,6 +33991,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 +36496,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 +37208,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 +37812,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 @@ -43006,7 +43073,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 @@ -55938,8 +56008,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 "" diff --git a/doc/translations/es.po b/doc/translations/es.po index e80ab772c3..cdf58c19fa 100644 --- a/doc/translations/es.po +++ b/doc/translations/es.po @@ -32,12 +32,13 @@ # 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. 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-03-26 23:26+0000\n" +"Last-Translator: Javier Ocampos <xavier.ocampos@gmail.com>\n" "Language-Team: Spanish <https://hosted.weblate.org/projects/godot-engine/" "godot-class-reference/es/>\n" "Language: es\n" @@ -108,9 +109,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" @@ -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 "" -"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 "" @@ -6533,9 +6534,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 +6906,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 " @@ -13630,8 +13634,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 @@ -16454,17 +16465,20 @@ msgstr "" "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 +16618,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 " @@ -25949,9 +25973,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" @@ -29721,12 +29744,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 @@ -38558,14 +38582,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 +38603,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 +38768,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 +38788,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 +38805,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 +39276,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 +39305,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 +39324,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 +39365,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 +40059,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 " @@ -45077,6 +45115,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 "" @@ -48316,12 +48387,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 +49446,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 +50328,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 "" @@ -57277,9 +57384,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)." @@ -73940,6 +74052,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 +74066,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 " diff --git a/doc/translations/fa.po b/doc/translations/fa.po index 162470f04c..c4eebb3371 100644 --- a/doc/translations/fa.po +++ b/doc/translations/fa.po @@ -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 @@ -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 @@ -10788,8 +10795,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 @@ -12937,14 +12951,15 @@ 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 +13073,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 @@ -20022,9 +20042,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" @@ -22814,12 +22833,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 @@ -29406,9 +29426,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 +29438,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 +29573,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 +29587,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 +29598,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 +29950,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 +29970,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 +29984,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 +30017,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 +30549,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 @@ -34367,6 +34387,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 +36878,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 +37590,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 +38194,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 @@ -43389,7 +43456,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 @@ -56317,8 +56387,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 "" diff --git a/doc/translations/fi.po b/doc/translations/fi.po index 300e1dda53..ca7fad636f 100644 --- a/doc/translations/fi.po +++ b/doc/translations/fi.po @@ -3397,8 +3397,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 @@ -5312,8 +5316,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 @@ -10439,8 +10446,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 @@ -12596,14 +12610,15 @@ 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 +12732,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 @@ -19693,9 +19713,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" @@ -22486,12 +22505,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 @@ -29091,9 +29111,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 +29123,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 +29258,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 +29272,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 +29283,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 +29635,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 +29655,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 +29669,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 +29702,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 +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 @@ -34055,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 "" @@ -36528,12 +36581,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 +37293,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 +37897,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 @@ -43091,7 +43158,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 @@ -56025,8 +56095,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 "" diff --git a/doc/translations/fil.po b/doc/translations/fil.po index f91ed1b6b8..6df4b2d811 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 @@ -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 @@ -10356,8 +10363,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 @@ -12505,14 +12519,15 @@ 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 +12641,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 @@ -19590,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" @@ -22382,12 +22401,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 @@ -28974,9 +28994,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 +29006,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 +29141,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 +29155,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 +29166,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 +29518,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 +29538,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 +29552,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 +29585,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 +30117,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 @@ -33935,6 +33955,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 +36440,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 +37152,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 +37756,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 @@ -42939,7 +43006,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 @@ -55863,8 +55933,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 "" diff --git a/doc/translations/fr.po b/doc/translations/fr.po index 2fb51cc467..a638ed182b 100644 --- a/doc/translations/fr.po +++ b/doc/translations/fr.po @@ -55,13 +55,14 @@ # 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" -"Last-Translator: Maxime Leroy <lisacintosh@gmail.com>\n" +"PO-Revision-Date: 2022-03-28 23:20+0000\n" +"Last-Translator: Maxim Lopez <maxim.lopez.02@gmail.com>\n" "Language-Team: French <https://hosted.weblate.org/projects/godot-engine/" "godot-class-reference/fr/>\n" "Language: fr\n" @@ -132,16 +133,18 @@ msgid "Default" msgstr "Défaut" #: doc/tools/make_rst.py +#, fuzzy msgid "Setter" -msgstr "" +msgstr "Régleur" #: doc/tools/make_rst.py msgid "value" msgstr "valeur" #: doc/tools/make_rst.py +#, fuzzy msgid "Getter" -msgstr "" +msgstr "Récupérateur" #: doc/tools/make_rst.py msgid "" @@ -3859,37 +3862,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 +3894,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 +3910,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 +3918,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 +3930,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." @@ -4380,13 +4371,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 "" @@ -4713,46 +4704,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 +4744,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 +4824,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 +4836,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])." @@ -5515,9 +5499,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 "" @@ -6867,8 +6850,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 @@ -7034,7 +7020,6 @@ msgid "Returns the animation node with the given name." msgstr "" #: doc/classes/AnimationNodeStateMachine.xml -#, fuzzy msgid "Returns the given animation node's name." msgstr "Retourne le nom du nœud d'animation donné." @@ -7274,7 +7259,6 @@ msgid "" msgstr "" #: doc/classes/AnimationPlayer.xml -#, fuzzy msgid "Container and player of [Animation] resources." msgstr "Conteneur et lecteur de ressources [Animation]." @@ -7838,9 +7822,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 @@ -8562,51 +8545,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 @@ -9117,9 +9081,8 @@ msgid "[PoolVector2Array] for UV coordinates." msgstr "[PackedVector2Array] 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 "" @@ -11570,7 +11533,7 @@ msgstr "" #: 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 +11574,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 "" @@ -11804,7 +11767,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]." @@ -11963,9 +11925,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 "" @@ -12230,11 +12191,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 +12251,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 "" @@ -12382,25 +12348,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,6 +12389,8 @@ 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 @@ -12445,7 +12411,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." @@ -14467,14 +14433,15 @@ 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 @@ -14588,9 +14555,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 @@ -18671,9 +18643,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." @@ -19229,7 +19200,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]." @@ -21469,7 +21439,7 @@ 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 @@ -21478,7 +21448,7 @@ msgstr "Renvoie le nombre de textures dans l’atlas BitmapFont." #: 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 +21482,6 @@ msgid "" msgstr "" #: doc/classes/DirectionalLight.xml -#, fuzzy msgid "The maximum distance for shadow splits." msgstr "Distance maximale pour les fractionnements d’ombre." @@ -21879,9 +21848,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" @@ -21913,7 +21881,6 @@ msgid "Returns the fallback font at index [code]idx[/code]." msgstr "" #: doc/classes/DynamicFont.xml -#, fuzzy msgid "Returns the number of fallback fonts." msgstr "Retourne le nombre de polices de rechange." @@ -23462,11 +23429,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 +23457,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]." @@ -23730,6 +23703,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 +23760,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 "" @@ -24259,6 +24232,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 "" @@ -24407,7 +24382,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 "" @@ -24721,12 +24696,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 @@ -24766,9 +24742,8 @@ msgid "Pops up an error message in the edior." msgstr "Utilisé pour rassembler des propriétés ensemble 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." @@ -25244,9 +25219,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 +25246,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 "" @@ -30821,7 +30794,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 @@ -31213,7 +31186,7 @@ msgstr "" #: 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 +31277,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)." @@ -31459,9 +31432,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 +31444,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 @@ -31609,9 +31582,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 +31596,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 +31607,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 " @@ -32031,18 +32004,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 +32024,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 +32038,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 @@ -32098,9 +32071,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 @@ -32647,9 +32620,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 @@ -34057,7 +34030,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." @@ -34233,7 +34206,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." @@ -34631,13 +34604,12 @@ msgid "Constant for accessing [member light_indirect_energy]." msgstr "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 "Constante pour accéder à [member light_size]." #: doc/classes/Light.xml msgid "Constant for accessing [member light_specular]." -msgstr "" +msgstr "Constante pour accéder à [member light_specular]." #: doc/classes/Light.xml #, fuzzy @@ -34711,7 +34683,7 @@ msgstr "" #: doc/classes/Light.xml msgid "Constant for accessing [member shadow_bias]." -msgstr "" +msgstr "Constante pour accéder à [member shadow_bias]." #: doc/classes/Light.xml msgid "" @@ -34839,7 +34811,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." @@ -36115,9 +36087,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." @@ -36640,6 +36611,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 "" @@ -37553,9 +37557,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 +37585,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." @@ -38115,6 +38117,8 @@ 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,6 +38131,8 @@ 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 @@ -38201,9 +38207,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." @@ -39208,12 +39213,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 @@ -39922,7 +39927,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 @@ -40449,9 +40462,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 "" @@ -40520,7 +40532,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 @@ -40828,6 +40846,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 "" @@ -40910,29 +40930,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 +40999,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 "" @@ -41287,7 +41315,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 +41323,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 +41434,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 +41455,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 +41467,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 +41482,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 +41490,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." @@ -41491,6 +41520,8 @@ 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 @@ -41738,6 +41769,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 +41782,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 +42052,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 +42070,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 +42286,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 +42377,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 +42413,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 +42492,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,6 +42571,8 @@ 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)." @@ -42607,19 +42664,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 "" @@ -42930,12 +42984,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 "" @@ -43441,7 +43497,7 @@ msgstr "" #: doc/classes/Particles.xml msgid "Controlling thousands of fish with Particles" -msgstr "" +msgstr "Contrôler des milliers de poissons avec Particles" #: doc/classes/Particles.xml msgid "" @@ -43731,6 +43787,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 "" @@ -44014,9 +44072,8 @@ 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 @@ -45424,6 +45481,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 "" @@ -45889,7 +45948,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 +45996,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 @@ -46050,13 +46111,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 +46292,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 +46350,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." @@ -46799,7 +46861,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 +46906,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 +46946,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 +46976,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 +47013,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 +47048,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 +47078,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 +47179,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 +47340,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 +47366,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 +47401,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 "" @@ -47562,7 +47627,7 @@ msgstr "[Color] utilisée pour le texte des éléments de menu désactivés." #: 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 +47645,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 +47661,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." @@ -47903,6 +47968,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 +48517,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." @@ -49550,6 +49616,8 @@ 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 @@ -51190,7 +51258,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 "" @@ -51243,16 +51311,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 +51392,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 +51413,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 "" @@ -51360,6 +51440,8 @@ 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 "" @@ -51473,18 +51555,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 "" @@ -51582,6 +51670,8 @@ 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 +51692,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." @@ -51676,6 +51768,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 +51788,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 +51827,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." @@ -51893,6 +51991,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 +52170,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 "" @@ -58254,9 +58355,8 @@ 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 @@ -59120,8 +59220,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 "" @@ -60545,7 +60645,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 "" @@ -62188,9 +62288,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." @@ -62977,7 +63076,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 "" @@ -63047,6 +63146,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 "" @@ -63723,9 +63825,8 @@ 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 @@ -63803,7 +63904,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." @@ -64275,7 +64376,7 @@ msgstr "" #: 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." @@ -64517,14 +64618,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 +64640,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 "" @@ -64961,9 +65063,8 @@ 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." @@ -65030,23 +65131,20 @@ 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." @@ -65890,7 +65988,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 @@ -66205,9 +66303,8 @@ 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 @@ -66598,9 +66695,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 +66764,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." @@ -66826,9 +66921,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,9 +66958,8 @@ 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." @@ -67428,9 +67521,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 +67560,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 +67598,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 +67651,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 "" @@ -68358,9 +68445,8 @@ msgid "" msgstr "Renvoie le nom du port d'entrée spécifié." #: 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 +68476,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 +68629,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 "" @@ -68653,11 +68737,11 @@ msgstr "" #: 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." @@ -68691,9 +68775,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." @@ -68822,24 +68905,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." @@ -69162,7 +69241,7 @@ msgstr "" #: 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 "" @@ -69374,9 +69453,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." @@ -69479,9 +69557,8 @@ 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." @@ -69581,16 +69658,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 "" @@ -69744,6 +69825,8 @@ 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]." @@ -69906,9 +69989,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,12 +70000,16 @@ 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]." @@ -69936,7 +70022,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 +70029,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 "" @@ -70130,6 +70214,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." @@ -70236,9 +70323,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 "" @@ -70390,9 +70476,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 "" @@ -70916,7 +71001,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 +71054,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 @@ -71538,7 +71623,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 +71746,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 @@ -71781,9 +71864,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 +71884,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 "" @@ -72961,7 +73045,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." @@ -73083,9 +73166,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." @@ -73695,27 +73777,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 +73816,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 +73827,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 "" @@ -74256,7 +74346,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 "" @@ -74723,7 +74813,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 +74854,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." diff --git a/doc/translations/gl.po b/doc/translations/gl.po index 20605af75c..e7142860b2 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 @@ -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 @@ -10357,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 @@ -12506,14 +12520,15 @@ 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 +12642,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 @@ -19591,9 +19611,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" @@ -22383,12 +22402,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 @@ -28972,9 +28992,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 +29004,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 +29139,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 +29153,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 +29164,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 +29516,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 +29536,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 +29550,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 +29583,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 +30115,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 @@ -33933,6 +33953,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 +36438,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 +37150,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 +37754,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 @@ -42937,7 +43004,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 @@ -55861,8 +55931,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 "" diff --git a/doc/translations/hi.po b/doc/translations/hi.po index 8e526e6594..4815357b4d 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 @@ -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 @@ -10356,8 +10363,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 @@ -12505,14 +12519,15 @@ 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 +12641,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 @@ -19590,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" @@ -22382,12 +22401,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 @@ -28971,9 +28991,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 +29003,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 +29138,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 +29152,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 +29163,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 +29515,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 +29535,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 +29549,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 +29582,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 +30114,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 @@ -33932,6 +33952,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 +36437,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 +37149,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 +37753,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 @@ -42936,7 +43003,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 @@ -55860,8 +55930,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 "" diff --git a/doc/translations/hu.po b/doc/translations/hu.po index 7c93fcd2ba..66955be52e 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 @@ -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 @@ -10374,8 +10381,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 @@ -12523,14 +12537,15 @@ 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 +12659,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 @@ -19608,9 +19628,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" @@ -22400,12 +22419,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 @@ -28989,9 +29009,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 +29021,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 +29156,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 +29170,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 +29181,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 +29533,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 +29553,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 +29567,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 +29600,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 +30132,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 @@ -33950,6 +33970,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 +36455,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 +37167,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 +37771,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 @@ -42954,7 +43021,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 @@ -55878,8 +55948,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 "" diff --git a/doc/translations/id.po b/doc/translations/id.po index fc6b486005..8be5906ebd 100644 --- a/doc/translations/id.po +++ b/doc/translations/id.po @@ -9,15 +9,16 @@ # 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. 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-03-25 01:54+0000\n" +"Last-Translator: Stephen Gunawan Susilo <gunawanstephen@yahoo.com>\n" "Language-Team: Indonesian <https://hosted.weblate.org/projects/godot-engine/" "godot-class-reference/id/>\n" "Language: id\n" @@ -25,7 +26,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,17 +69,17 @@ 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 +#, fuzzy msgid "Inherited By:" -msgstr "" +msgstr "Diwariskan oleh:" #: doc/tools/make_rst.py msgid "(overrides %s)" @@ -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 @@ -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 @@ -10563,8 +10775,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 @@ -12713,14 +12932,15 @@ 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 +13054,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 @@ -19798,9 +20023,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" @@ -22591,12 +22815,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 @@ -29186,9 +29411,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 +29423,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 +29558,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 +29572,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 +29583,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 +29935,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 +29955,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 +29969,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 +30002,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 +30534,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 @@ -34147,6 +34372,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 +36871,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 +37583,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 +38187,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 @@ -43182,7 +43454,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 @@ -56110,8 +56385,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 "" diff --git a/doc/translations/is.po b/doc/translations/is.po index 704ccfa6bf..a0c23c688b 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 @@ -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 @@ -10356,8 +10363,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 @@ -12505,14 +12519,15 @@ 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 +12641,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 @@ -19590,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" @@ -22382,12 +22401,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 @@ -28971,9 +28991,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 +29003,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 +29138,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 +29152,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 +29163,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 +29515,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 +29535,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 +29549,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 +29582,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 +30114,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 @@ -33932,6 +33952,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 +36437,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 +37149,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 +37753,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 @@ -42936,7 +43003,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 @@ -55860,8 +55930,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 "" diff --git a/doc/translations/it.po b/doc/translations/it.po index 5953035ec5..1239b8515c 100644 --- a/doc/translations/it.po +++ b/doc/translations/it.po @@ -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-03-26 23:26+0000\n" +"Last-Translator: Alessandro Casalino <alessandro.casalino93@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-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 "Acquisitore" #: 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 "" @@ -228,16 +234,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 +254,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" @@ -500,6 +507,7 @@ msgstr "" "[/codeblock]" #: modules/gdscript/doc_classes/@GDScript.xml +#, fuzzy msgid "" "Compares two values by checking their actual contents, recursing into any " "`Array` or `Dictionary` up to its deepest level.\n" @@ -519,6 +527,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 "" @@ -916,8 +941,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 +953,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 +979,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 +1260,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 +1282,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 +1466,6 @@ msgstr "" "[/codeblock]" #: modules/gdscript/doc_classes/@GDScript.xml -#, fuzzy msgid "" "Converts an angle expressed in radians to degrees.\n" "[codeblock]\n" @@ -1452,7 +1474,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 +1756,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 +1767,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 +1790,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 +1827,6 @@ msgstr "" "[/codeblock]" #: modules/gdscript/doc_classes/@GDScript.xml -#, fuzzy msgid "" "Returns the hyperbolic tangent of [code]s[/code].\n" "[codeblock]\n" @@ -1803,10 +1834,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 +4291,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 @@ -6178,8 +6213,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 @@ -11324,8 +11362,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 @@ -13485,14 +13530,15 @@ 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 +13652,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 @@ -20671,9 +20722,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" @@ -23472,12 +23522,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 @@ -30095,9 +30146,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 +30158,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 +30293,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 +30307,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 +30318,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 +30671,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 +30691,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 +30705,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 +30738,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 +31272,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 @@ -35069,6 +35120,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 "" @@ -37558,12 +37642,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 +38354,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 +38962,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 @@ -44159,7 +44257,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 @@ -57112,8 +57213,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 "" @@ -73453,10 +73554,13 @@ msgid "" msgstr "" #: 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..d6e4730c4c 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 "" @@ -6751,9 +6752,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、ワンショットなど、他の任意のブレンドタイプ" "のノードをサブツリーとして含むことができます。これは、一般的によく使用される" @@ -13168,8 +13173,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 @@ -15504,14 +15516,15 @@ 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 +15638,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 @@ -22745,9 +22763,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" @@ -25559,12 +25576,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 @@ -32225,9 +32243,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 +32255,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 +32390,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 +32404,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 +32415,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 +32770,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 +32790,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 +32804,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 +32837,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 +33371,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 @@ -37235,6 +37253,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 +39802,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 +40517,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 +41122,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 @@ -46369,7 +46434,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 @@ -59690,8 +59758,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 "" diff --git a/doc/translations/ko.po b/doc/translations/ko.po index 7a5bfa260b..b65860867d 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 @@ -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 @@ -10487,8 +10494,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 @@ -12642,14 +12656,15 @@ 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 +12778,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 @@ -19828,9 +19848,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" @@ -22621,12 +22640,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 @@ -29226,9 +29246,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 +29258,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 +29393,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 +29407,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 +29418,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 +29770,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 +29790,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 +29804,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 +29837,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 +30370,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 @@ -34190,6 +34210,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 +36846,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 +37558,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 +38163,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 @@ -43369,7 +43436,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 @@ -56301,8 +56371,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 "" diff --git a/doc/translations/lv.po b/doc/translations/lv.po index 6b7ee2aeb8..6270b90115 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 @@ -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 @@ -10371,8 +10378,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 @@ -12520,14 +12534,15 @@ 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 +12656,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 @@ -19605,9 +19625,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" @@ -22397,12 +22416,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 @@ -28989,9 +29009,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 +29021,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 +29156,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 +29170,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 +29181,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 +29533,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 +29553,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 +29567,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 +29600,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 +30132,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 @@ -33950,6 +33970,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 +36455,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 +37167,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 +37771,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 @@ -42954,7 +43021,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 @@ -55878,8 +55948,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 "" diff --git a/doc/translations/mr.po b/doc/translations/mr.po index e001339b39..34def67ab1 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 @@ -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 @@ -10354,8 +10361,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 @@ -12503,14 +12517,15 @@ 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 +12639,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 @@ -19588,9 +19608,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" @@ -22380,12 +22399,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 @@ -28969,9 +28989,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 +29001,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 +29136,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 +29150,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 +29161,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 +29513,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 +29533,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 +29547,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 +29580,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 +30112,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 @@ -33930,6 +33950,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 +36435,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 +37147,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 +37751,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 @@ -42934,7 +43001,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 @@ -55858,8 +55928,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 "" diff --git a/doc/translations/nb.po b/doc/translations/nb.po index 4d54bdee6e..6951cf4b7d 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 @@ -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 @@ -10366,8 +10373,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 @@ -12515,14 +12529,15 @@ 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 +12651,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 @@ -19600,9 +19620,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" @@ -22392,12 +22411,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 @@ -28981,9 +29001,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 +29013,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 +29148,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 +29162,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 +29173,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 +29525,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 +29545,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 +29559,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 +29592,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 +30124,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 @@ -33942,6 +33962,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 +36447,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 +37159,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 +37763,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 @@ -42946,7 +43013,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 @@ -55870,8 +55940,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 "" diff --git a/doc/translations/ne.po b/doc/translations/ne.po index b3231caf4d..3f5895e44a 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 @@ -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 @@ -10354,8 +10361,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 @@ -12503,14 +12517,15 @@ 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 +12639,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 @@ -19588,9 +19608,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" @@ -22380,12 +22399,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 @@ -28969,9 +28989,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 +29001,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 +29136,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 +29150,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 +29161,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 +29513,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 +29533,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 +29547,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 +29580,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 +30112,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 @@ -33930,6 +33950,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 +36435,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 +37147,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 +37751,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 @@ -42934,7 +43001,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 @@ -55858,8 +55928,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 "" diff --git a/doc/translations/nl.po b/doc/translations/nl.po index 7af8cd1303..6066f9dcfd 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 @@ -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 @@ -10423,8 +10430,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 @@ -12572,14 +12586,15 @@ 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 +12708,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 @@ -19657,9 +19677,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" @@ -22449,12 +22468,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 @@ -29041,9 +29061,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 +29073,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 +29208,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 +29222,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 +29233,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 +29585,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 +29605,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 +29619,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 +29652,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 +30184,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 @@ -34002,6 +34022,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 +36507,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 +37219,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 +37823,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 @@ -43006,7 +43073,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 @@ -55931,8 +56001,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 "" diff --git a/doc/translations/pl.po b/doc/translations/pl.po index 45e9c8d39c..637579dfe4 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 @@ -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 @@ -10840,8 +10850,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 @@ -13003,14 +13020,15 @@ 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 +13142,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 @@ -20109,9 +20132,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" @@ -22905,12 +22927,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 @@ -29517,9 +29540,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 +29552,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 +29687,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 +29701,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 +29712,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 +30064,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 +30084,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 +30098,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 +30131,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 +30664,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 @@ -34494,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 "" @@ -36837,7 +36893,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 +37045,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 +37757,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 +38361,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 @@ -43584,7 +43654,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 @@ -56533,8 +56606,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 "" diff --git a/doc/translations/pt.po b/doc/translations/pt.po index 42b3a739f1..3c820efa23 100644 --- a/doc/translations/pt.po +++ b/doc/translations/pt.po @@ -4086,8 +4086,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 @@ -6009,9 +6013,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 " @@ -11137,8 +11145,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 @@ -13294,14 +13309,15 @@ 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 +13435,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 @@ -20426,9 +20447,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" @@ -23225,12 +23245,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 @@ -29818,9 +29839,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 +29851,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 +29986,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 +30000,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 +30011,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 +30363,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 +30383,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 +30397,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 +30430,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 +30966,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 @@ -34784,6 +34805,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 +37313,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 +38025,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 +38629,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 @@ -43816,7 +43884,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 @@ -56765,8 +56836,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 "" diff --git a/doc/translations/pt_BR.po b/doc/translations/pt_BR.po index b324ecff06..ef73551d07 100644 --- a/doc/translations/pt_BR.po +++ b/doc/translations/pt_BR.po @@ -4294,12 +4294,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 "" @@ -6267,9 +6268,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 " @@ -11412,8 +11417,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 @@ -13577,14 +13589,15 @@ 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 +13715,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 @@ -20748,9 +20766,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" @@ -23549,12 +23566,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 @@ -30176,9 +30194,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 +30206,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 +30341,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 +30355,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 +30366,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 +30719,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 +30739,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 +30753,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 +30786,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 +31323,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 @@ -35154,6 +35172,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 "" @@ -37649,12 +37700,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 +38412,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 +39016,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 @@ -44245,7 +44310,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 @@ -57219,8 +57287,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 "" diff --git a/doc/translations/ro.po b/doc/translations/ro.po index 5d80a1018e..fe5de66cec 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 @@ -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 @@ -10374,8 +10381,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 @@ -12523,14 +12537,15 @@ 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 +12659,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 @@ -19608,9 +19628,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" @@ -22400,12 +22419,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 @@ -28992,9 +29012,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 +29024,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 +29159,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 +29173,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 +29184,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 +29536,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 +29556,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 +29570,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 +29603,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 +30135,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 @@ -33953,6 +33973,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 +36458,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 +37170,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 +37774,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 @@ -42957,7 +43024,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 @@ -55881,8 +55951,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 "" diff --git a/doc/translations/ru.po b/doc/translations/ru.po index 57001546f3..3205ad2cd3 100644 --- a/doc/translations/ru.po +++ b/doc/translations/ru.po @@ -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 "" @@ -6661,8 +6662,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 @@ -11990,8 +11994,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 @@ -14164,14 +14175,15 @@ 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 +14297,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 @@ -21386,9 +21403,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" @@ -24195,12 +24211,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 @@ -30817,9 +30834,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 +30846,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 +30981,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 +30995,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 +31006,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 +31358,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 +31378,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 +31392,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 +31425,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 +31958,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 @@ -35812,6 +35829,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 "" @@ -38306,12 +38356,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 +39071,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 +39677,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 @@ -44914,7 +44978,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 @@ -57978,8 +58045,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 "" diff --git a/doc/translations/sk.po b/doc/translations/sk.po index 607fa7197e..92f360ecd2 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 @@ -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 @@ -10357,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 @@ -12506,14 +12520,15 @@ 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 +12642,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 @@ -19591,9 +19611,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" @@ -22383,12 +22402,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 @@ -28975,9 +28995,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 +29007,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 +29142,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 +29156,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 +29167,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 +29519,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 +29539,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 +29553,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 +29586,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 +30118,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 @@ -33936,6 +33956,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 +36441,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 +37153,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 +37757,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 @@ -42940,7 +43007,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 @@ -55864,8 +55934,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 "" diff --git a/doc/translations/sr_Cyrl.po b/doc/translations/sr_Cyrl.po index 620a2f5b47..731e2c7bef 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 @@ -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 @@ -10368,8 +10375,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 @@ -12517,14 +12531,15 @@ 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 +12653,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 @@ -19602,9 +19622,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" @@ -22394,12 +22413,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 @@ -28986,9 +29006,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 +29018,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 +29153,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 +29167,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 +29178,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 +29530,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 +29550,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 +29564,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 +29597,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 +30129,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 @@ -33947,6 +33967,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 +36452,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 +37164,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 +37768,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 @@ -42951,7 +43018,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 @@ -55875,8 +55945,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 "" diff --git a/doc/translations/sv.po b/doc/translations/sv.po index f6e68b0231..fb7be00495 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 @@ -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 @@ -10357,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 @@ -12506,14 +12520,15 @@ 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 +12642,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 @@ -19591,9 +19611,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" @@ -22383,12 +22402,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 @@ -28972,9 +28992,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 +29004,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 +29139,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 +29153,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 +29164,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 +29516,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 +29536,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 +29550,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 +29583,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 +30115,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 @@ -33933,6 +33953,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 +36438,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 +37150,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 +37754,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 @@ -42937,7 +43004,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 @@ -55861,8 +55931,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 "" diff --git a/doc/translations/th.po b/doc/translations/th.po index ca2ce020a6..924f45c368 100644 --- a/doc/translations/th.po +++ b/doc/translations/th.po @@ -3417,8 +3417,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 @@ -5339,8 +5343,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 @@ -10462,8 +10469,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 @@ -12613,14 +12627,15 @@ 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 +12749,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 @@ -19699,9 +19719,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" @@ -22492,12 +22511,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 @@ -29084,14 +29104,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 +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 "" "ส่งคืนค่าระหว่าง 0 ถึง 1 แทน action ที่กำหนด ตัวอย่างเช่นในจอยสติ๊กในแกน " "(อะนาล็อกหรือทริกเกอร์ L2, R2) อยู่ห่างจาก dead zone มากเท่าใดค่าก็จะยิ่งใกล้เคียงกับ 1 " @@ -29233,30 +29257,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 +29297,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 +29649,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 +29735,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 +30262,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." @@ -34069,6 +34121,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 "" @@ -36581,12 +36666,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 +37378,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 +37982,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 @@ -43141,7 +43240,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 @@ -56076,8 +56178,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 "" diff --git a/doc/translations/tl.po b/doc/translations/tl.po index 385070cca2..961e99a30d 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 @@ -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 @@ -10437,8 +10444,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 @@ -12589,14 +12603,15 @@ 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 +12725,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 @@ -19677,9 +19697,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" @@ -22469,12 +22488,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 @@ -29058,9 +29078,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 +29090,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 +29225,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 +29239,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 +29250,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 +29602,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 +29622,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 +29636,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 +29669,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 +30201,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 @@ -34019,6 +34039,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 +36530,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 +37242,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 +37846,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 @@ -43032,7 +43099,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 @@ -55956,8 +56026,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 "" diff --git a/doc/translations/tr.po b/doc/translations/tr.po index f2eaa55c6c..f4d2314886 100644 --- a/doc/translations/tr.po +++ b/doc/translations/tr.po @@ -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 @@ -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 @@ -11131,8 +11138,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 @@ -13293,14 +13307,15 @@ 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 +13429,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 @@ -20392,9 +20412,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" @@ -23187,12 +23206,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 @@ -29793,9 +29813,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 +29825,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 +29960,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 +29974,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 +29985,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 +30337,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 +30357,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 +30371,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 +30404,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 +30937,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 @@ -34760,6 +34780,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 "" @@ -37244,12 +37297,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 +38009,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 +38613,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 @@ -43828,7 +43895,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 @@ -56771,8 +56841,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 "" diff --git a/doc/translations/uk.po b/doc/translations/uk.po index dc2e7969b1..e18b49c849 100644 --- a/doc/translations/uk.po +++ b/doc/translations/uk.po @@ -11,11 +11,12 @@ # Valerii Bosiak <valerii540@protonmail.com>, 2021. # KazanskiyMaks <kazanskiy.maks@gmail.com>, 2022. # Vladyslav Anisimov <uniss@ua.fm>, 2022. +# Мирослав <hlopukmyroslav@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-16 16:37+0000\n" +"PO-Revision-Date: 2022-03-23 04:18+0000\n" "Last-Translator: Yuri Chornoivan <yurchor@ukr.net>\n" "Language-Team: Ukrainian <https://hosted.weblate.org/projects/godot-engine/" "godot-class-reference/uk/>\n" @@ -25,7 +26,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 +34,7 @@ msgstr "Опис" #: doc/tools/make_rst.py msgid "Tutorials" -msgstr "Уроки" +msgstr "Посібники" #: doc/tools/make_rst.py msgid "Properties" @@ -3472,8 +3473,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 @@ -5387,8 +5392,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 @@ -10514,8 +10522,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 @@ -12671,14 +12686,15 @@ 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 +12808,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 @@ -19768,9 +19789,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" @@ -22561,12 +22581,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 @@ -29166,9 +29187,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 +29199,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 +29334,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 +29348,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 +29359,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 +29711,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 +29731,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 +29745,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 +29778,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 +30311,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 @@ -34130,6 +34151,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 +36512,7 @@ msgstr "" #: doc/classes/Node.xml msgid "Nodes and Scenes" -msgstr "" +msgstr "Вузли та Сцени" #: doc/classes/Node.xml msgid "All Demos" @@ -36610,12 +36664,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 +37376,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 +37980,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 @@ -43187,7 +43255,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 @@ -56121,8 +56192,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 "" diff --git a/doc/translations/vi.po b/doc/translations/vi.po index 1a98c49ac8..0064bd5593 100644 --- a/doc/translations/vi.po +++ b/doc/translations/vi.po @@ -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 @@ -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 @@ -10811,8 +10818,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 @@ -12969,14 +12983,15 @@ 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 +13105,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 @@ -20069,9 +20089,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" @@ -22863,12 +22882,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 @@ -29462,9 +29482,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 +29494,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 +29629,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 +29643,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 +29654,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 +30006,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 +30026,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 +30040,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 +30073,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 +30606,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 @@ -34427,6 +34447,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 +36962,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 +37674,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 +38278,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 @@ -43490,7 +43557,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 @@ -56439,8 +56509,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 "" diff --git a/doc/translations/zh_CN.po b/doc/translations/zh_CN.po index b902af288f..d3554843d1 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-03-28 09:56+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" @@ -4174,11 +4174,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 "" @@ -6436,9 +6438,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、one shot " "等。这是最常用的根之一。" @@ -9555,15 +9561,15 @@ 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 "" @@ -9612,9 +9618,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 "" @@ -11059,7 +11065,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 +11098,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 "" @@ -12807,10 +12813,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 "" -"启用后,光照贴图会将所有网格的纹理合并为一个大的分层纹理。 GLES2 不支持。" #: doc/classes/BakedLightmap.xml msgid "" @@ -13301,7 +13313,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" "也可以作为三维向量的数组来访问。这些向量通常是相互正交的,但不一定是归一化的" @@ -13634,8 +13646,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 +13701,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." @@ -14183,9 +14195,9 @@ msgid "" "[Viewport] (or higher viewports) can't be displayed." msgstr "" "相机是一个特殊节点,用于显示从其当前位置可见的内容。相机在最近的 [Viewport] " -"节点中注册自己(当树上行)。每个视窗只能激活一个相机。如果在树上没有可用的视" -"窗,相机将在全局视窗中注册。换句话说,相机只是为 [Viewport] 提供3D显示能力," -"如果没有,则无法显示在该 [Viewport] 或更高视窗中注册的场景。" +"节点中注册自己(当树上行)。每个视区只能激活一个相机。如果在树上没有可用的视" +"区,相机将在全局视区中注册。换句话说,相机只是为 [Viewport] 提供 3D 显示能" +"力,如果没有,则无法显示在该 [Viewport] 或更高视区中注册的场景。" #: doc/classes/Camera.xml msgid "" @@ -14340,12 +14352,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 +14387,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 +14419,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" @@ -14631,7 +14643,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 "" @@ -15365,11 +15377,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." @@ -15432,16 +15444,19 @@ msgstr "" "变换。" #: 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 "" "如果[code]enable[/code]为[code]true[/code],则将使用局部变换数据更新子项。" #: 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 "" "如果[code]enable[/code]为[code]true[/code],则将使用全局变换数据更新子项。" @@ -15573,10 +15588,19 @@ 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 " -"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]启用时,才会收到此通知。" + +#: 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 "" "[CanvasItem]的变换已更改。仅当[method set_notify_transform]或[method " "set_notify_local_transform]启用时,才会收到此通知。" @@ -15736,7 +15760,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 "" @@ -19562,9 +19586,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 "" @@ -20051,8 +20074,8 @@ msgid "" "handled." msgstr "" "启用当你关闭控件模态时,输入是否传播。\n" -"如果[code]false[/code],在视窗输入事件处理时停止事件处理。视窗首先隐藏模态," -"之后将输入标记为已处理。" +"如果为 [code]false[/code],在视区输入事件处理时将停止事件处理。视区首先隐藏模" +"态,之后将输入标记为已处理。" #: doc/classes/Control.xml msgid "" @@ -20155,16 +20178,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 "" @@ -22799,7 +22821,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 +22856,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." @@ -23006,7 +23029,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 +23038,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 +23053,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 "" @@ -23234,7 +23256,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 +23266,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]." @@ -24399,6 +24420,7 @@ msgid "DynamicFont renders vector font files at runtime." msgstr "DynamicFont 在运行时渲染矢量字体文件。" #: doc/classes/DynamicFont.xml +#, fuzzy msgid "" "DynamicFont renders vector font files dynamically at runtime instead of " "using a prerendered texture atlas like [BitmapFont]. This trades the faster " @@ -24409,9 +24431,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" @@ -28026,14 +28047,16 @@ msgstr "" "函数。" #: doc/classes/EditorVCSInterface.xml +#, fuzzy 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 中配置的邮箱和" @@ -28529,9 +28552,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”。这样可" "以提升移动设备上的性能,但同时会影响移动设备上的屏幕显示。" @@ -29152,7 +29175,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 +29184,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 "" @@ -31221,8 +31245,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 @@ -33391,18 +33415,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." @@ -36331,13 +36353,14 @@ msgstr "" "上,它是地球重力加速度的倍数[code]g[/code](~9.81 m/s²)。" #: 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 之间的值,代表给定动作的原始强度,忽略动作的死区。在大多数情" "况下,你应该使用 [method get_action_strength] 来代替。\n" @@ -36346,15 +36369,16 @@ msgstr "" "的方向。" #: doc/classes/Input.xml +#, fuzzy msgid "" "Returns a value between 0 and 1 representing the intensity of the given " "action. In a joypad, for example, the further away the axis (analog sticks " "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之间的值,代表给定动作的强度。例如,在一个操纵板上,轴(模拟杆或" "L2、R2触发器)离死区越远,数值就越接近1。如果动作被映射到一个没有轴作为键盘的" @@ -36515,15 +36539,16 @@ msgstr "" "想要的值(在 0 到 1 的范围内)。" #: 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 " @@ -36541,13 +36566,14 @@ msgstr "" "inputs/input_examples.html#keyboard-events]《输入示例》[/url]。" #: 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 "" "当用户停止按下动作事件时,返回[code]true[/code],也就是说,只有在用户释放按钮" "的那一帧才是[code]true[/code]。\n" @@ -36556,14 +36582,15 @@ msgstr "" "向。" #: doc/classes/Input.xml +#, fuzzy msgid "" "Returns [code]true[/code] if you are pressing the action event. Note that if " "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 " @@ -37020,12 +37047,13 @@ msgid "Returns a [String] representation of the event." msgstr "返回事件的 [String] 字符串表示。" #: 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.0到1.0之间的值。对于获取[InputEventJoypadMotion]" "类型的事件值时,很有用。\n" @@ -37034,12 +37062,13 @@ msgstr "" "向。" #: 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 "" "如果这个输入事件与任何类型的预定义动作匹配,则返回[code]true[/code]。\n" "如果[code]exact_match[/code]是[code]false[/code],它将忽略[InputEventKey]和" @@ -37047,14 +37076,15 @@ msgstr "" "向。" #: 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 " @@ -37071,13 +37101,14 @@ msgstr "" "input_examples.html#keyboard-events]《输入示例》[/url]。" #: 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 "" "如果给定的动作被释放,即未被按下,则返回[code]true[/code]。与" "[InputEventMouseMotion]或[InputEventScreenDrag]类型的事件无关。\n" @@ -37116,14 +37147,15 @@ msgstr "" "input_examples.html#keyboard-events]《输入示例》[/url]。" #: 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 "" "如果指定的 [code]event[/code] 与此事件匹配,则返回 [code]true[/code]。仅对动" "作事件有效,即键 ([InputEventKey])、按钮 ([InputEventMouseButton] 或 " @@ -37776,14 +37808,15 @@ msgid "Removes an action from the [InputMap]." msgstr "从[InputMap]中删除一个动作。" #: 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 "" "如果给定的事件是现有动作的一部分,返回[code]true[/code]。如果给定的" "[InputEvent]没有被按下,这个方法会忽略键盘(为了正确地检测释放)。如果你不想" @@ -39846,14 +39879,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 +39922,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,7 +39958,7 @@ 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 "" @@ -40631,45 +40665,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 +40714,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 "" @@ -40850,21 +40884,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 +40905,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 "" @@ -40913,14 +40946,13 @@ msgstr "" "[/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 "" @@ -42499,6 +42531,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 "为[Mesh]资源的表面设置[Material]。" @@ -45549,6 +45614,7 @@ msgstr "" "是“孤儿”)。" #: doc/classes/Node.xml +#, fuzzy msgid "" "Adds a child node. Nodes can have any number of children, but every child " "must have a unique name. Child nodes are automatically deleted when the " @@ -45567,12 +45633,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 "" "添加子节点。节点可以有任意数量的子节点,但是每个子节点必须有唯一的名字。当父" "节点被删除时,子节点会被自动删除,所以整个场景可以通过删除其最上面的节点而被" @@ -46075,7 +46141,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 +46159,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 +46185,8 @@ msgid "" " ┖╴Camera2D\n" "[/codeblock]" msgstr "" -"类似于[method print_tree],它将树打印到标准输出。这个版本显示更多的图形,类似" -"于在场景检查器中显示的内容。它对于检查较大的树很有用。\n" +"类似于 [method print_tree],它将树打印到标准输出。这个版本显示更多的图形,类" +"似于在场景检查器中显示的内容。它对于检查较大的树很有用。\n" "[b]输出示例:[/b]\n" "[codeblock]\n" " ┖╴TheGame\n" @@ -46150,7 +46216,7 @@ 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 +46232,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 "" @@ -46569,16 +46636,40 @@ msgstr "" "code]。" #: 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 "" -"节点的所有者。节点可以使用任何其他节点作为其所有者(只要是能够沿着场景树向上" -"追溯到的有效父节点、祖父节点等)。(使用 [PackedScene])保存节点时,所有它拥" -"有的节点也会随之保存。由此即可通过实例化和子实例化来创建复杂的 [SceneTree]。" +"添加子节点。节点可以有任意数量的子节点,但是每个子节点必须有唯一的名字。当父" +"节点被删除时,子节点会被自动删除,所以整个场景可以通过删除其最上面的节点而被" +"删除。\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视图中可见。" #: doc/classes/Node.xml msgid "Pause mode. How the node will behave if the [SceneTree] is paused." @@ -47360,8 +47451,14 @@ 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 "" #: doc/classes/Object.xml msgid "" @@ -48392,12 +48489,11 @@ 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 "" @@ -48455,12 +48551,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 "" @@ -49255,6 +49350,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 "" @@ -53977,8 +54083,14 @@ 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]输入定义的信息。" +#, 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 "" +"返回关于2D物理引擎当前状态的信息。有关可用状态列表,请参阅[enum " +"ProcessInfo]。" #: doc/classes/PhysicsServer.xml msgid "Gets a hinge_joint flag (see [enum HingeJointFlag] constants)." @@ -57054,12 +57166,12 @@ 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 "" @@ -57600,6 +57712,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 "" @@ -57824,7 +57942,7 @@ 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 "" @@ -58769,6 +58887,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." @@ -59354,6 +59477,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 "" @@ -59742,10 +59868,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 "" @@ -60597,19 +60723,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 +60821,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." @@ -61879,11 +62009,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 "" @@ -66621,8 +66751,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 "" @@ -69876,7 +70006,6 @@ msgstr "" "[code]: / \\ ? * \" | % < >[/code]" #: doc/classes/String.xml -#, fuzzy msgid "" "Returns [code]true[/code] if this string contains a valid float. This is " "inclusive of integers, and also supports exponents:\n" @@ -69891,11 +70020,11 @@ 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 +70050,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 +70063,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 +70081,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 @@ -70193,6 +70320,7 @@ msgid "Returns the right side of the string from a given position." msgstr "返回该字符串指定位置右侧的内容。" #: 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" @@ -70206,8 +70334,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] 字符串拆分字符串并返回子字符串数" @@ -72152,11 +72280,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." @@ -73239,7 +73368,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 @@ -74885,6 +75014,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 "" @@ -78783,10 +78914,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 车辆物理而设计。如果" @@ -78848,10 +78980,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 "" @@ -79378,9 +79510,9 @@ msgid "" "[/codeblock]" msgstr "" "返回视窗的纹理。\n" -"[b]注意:[/b] 由于OpenGL的工作方式,产生的[ViewportTexture]是垂直翻转的。你可" -"以在[method Texture.get_data]的结果上使用[method Image.flip_y]来将其翻转回" -"去,例如。\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" @@ -79406,9 +79538,8 @@ msgid "Returns [code]true[/code] if there are visible modals on-screen." 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 "" @@ -79430,8 +79561,8 @@ 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]." @@ -79617,10 +79748,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 "" @@ -82312,25 +82443,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." @@ -82530,7 +82662,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." @@ -84890,13 +85022,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." @@ -84921,7 +85053,7 @@ 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 +85069,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." @@ -85325,19 +85457,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." diff --git a/doc/translations/zh_TW.po b/doc/translations/zh_TW.po index 633dc45410..a702f66017 100644 --- a/doc/translations/zh_TW.po +++ b/doc/translations/zh_TW.po @@ -3429,8 +3429,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 @@ -5344,8 +5348,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 @@ -10468,8 +10475,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 @@ -12625,14 +12639,15 @@ 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 +12761,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 @@ -19722,9 +19742,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" @@ -22515,12 +22534,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 @@ -29120,9 +29140,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 +29152,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 +29287,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 +29301,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 +29312,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 +29664,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 +29684,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 +29698,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 +29731,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 +30264,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 @@ -34084,6 +34104,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 "" @@ -36563,12 +36616,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 +37328,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 +37932,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 @@ -43138,7 +43205,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 @@ -56072,8 +56142,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 "" |