diff options
Diffstat (limited to 'doc')
116 files changed, 16337 insertions, 5558 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/AnimationNodeBlendTree.xml b/doc/classes/AnimationNodeBlendTree.xml index 20eb349363..fcdd09f144 100644 --- a/doc/classes/AnimationNodeBlendTree.xml +++ b/doc/classes/AnimationNodeBlendTree.xml @@ -4,7 +4,8 @@ [AnimationTree] node resource that contains many blend type nodes. </brief_description> <description> - 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. + An [AnimationNodeOutput] node named [code]output[/code] is created by default. </description> <tutorials> <link title="AnimationTree">$DOCS_URL/tutorials/animation/animation_tree.html</link> 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/BaseButton.xml b/doc/classes/BaseButton.xml index 8e73a0dd91..13fe75a3e3 100644 --- a/doc/classes/BaseButton.xml +++ b/doc/classes/BaseButton.xml @@ -44,25 +44,24 @@ </method> </methods> <members> - <member name="action_mode" type="int" setter="set_action_mode" getter="get_action_mode" enum="BaseButton.ActionMode" default="1"> + <member name="action_mode" type="int" setter="set_action_mode" getter="get_action_mode" enum="BaseButton.ActionMode"> Determines when the button is considered clicked, one of the [enum ActionMode] constants. </member> <member name="button_group" type="ButtonGroup" setter="set_button_group" getter="get_button_group"> The [ButtonGroup] associated with the button. Not to be confused with node groups. </member> - <member name="button_mask" type="int" setter="set_button_mask" getter="get_button_mask" enum="MouseButton" default="1"> + <member name="button_mask" type="int" setter="set_button_mask" getter="get_button_mask" enum="MouseButton"> Binary mask to choose which mouse buttons this button will respond to. To allow both left-click and right-click, use [code]MOUSE_BUTTON_MASK_LEFT | MOUSE_BUTTON_MASK_RIGHT[/code]. </member> - <member name="button_pressed" type="bool" setter="set_pressed" getter="is_pressed" default="false"> + <member name="button_pressed" type="bool" setter="set_pressed" getter="is_pressed"> If [code]true[/code], the button's state is pressed. Means the button is pressed down or toggled (if [member toggle_mode] is active). Only works if [member toggle_mode] is [code]true[/code]. [b]Note:[/b] Setting [member button_pressed] will result in [signal toggled] to be emitted. If you want to change the pressed state without emitting that signal, use [method set_pressed_no_signal]. </member> - <member name="disabled" type="bool" setter="set_disabled" getter="is_disabled" default="false"> + <member name="disabled" type="bool" setter="set_disabled" getter="is_disabled"> If [code]true[/code], the button is in disabled state and can't be clicked or toggled. </member> - <member name="focus_mode" type="int" setter="set_focus_mode" getter="get_focus_mode" overrides="Control" enum="Control.FocusMode" default="2" /> - <member name="keep_pressed_outside" type="bool" setter="set_keep_pressed_outside" getter="is_keep_pressed_outside" default="false"> + <member name="keep_pressed_outside" type="bool" setter="set_keep_pressed_outside" getter="is_keep_pressed_outside"> If [code]true[/code], the button stays pressed when moving the cursor outside the button while pressing it. [b]Note:[/b] This property only affects the button's visual appearance. Signals will be emitted at the same moment regardless of this property's value. </member> @@ -72,10 +71,10 @@ <member name="shortcut_context" type="Node" setter="set_shortcut_context" getter="get_shortcut_context"> The [Node] which must be a parent of the focused GUI [Control] for the shortcut to be activated. If [code]null[/code], the shortcut can be activated when any control is focused (a global shortcut). This allows shortcuts to be accepted only when the user has a certain area of the GUI focused. </member> - <member name="shortcut_in_tooltip" type="bool" setter="set_shortcut_in_tooltip" getter="is_shortcut_in_tooltip_enabled" default="true"> + <member name="shortcut_in_tooltip" type="bool" setter="set_shortcut_in_tooltip" getter="is_shortcut_in_tooltip_enabled"> If [code]true[/code], the button will add information about its shortcut in the tooltip. </member> - <member name="toggle_mode" type="bool" setter="set_toggle_mode" getter="is_toggle_mode" default="false"> + <member name="toggle_mode" type="bool" setter="set_toggle_mode" getter="is_toggle_mode"> If [code]true[/code], the button is in toggle mode. Makes the button flip state between pressed and unpressed each time its area is clicked. </member> </members> diff --git a/doc/classes/CPUParticles2D.xml b/doc/classes/CPUParticles2D.xml index 4a7ffe1536..dacdca1cee 100644 --- a/doc/classes/CPUParticles2D.xml +++ b/doc/classes/CPUParticles2D.xml @@ -313,18 +313,21 @@ All particles will be emitted from a single point. </constant> <constant name="EMISSION_SHAPE_SPHERE" value="1" enum="EmissionShape"> + Particles will be emitted in the volume of a sphere flattened to two dimensions. + </constant> + <constant name="EMISSION_SHAPE_SPHERE_SURFACE" value="2" enum="EmissionShape"> Particles will be emitted on the surface of a sphere flattened to two dimensions. </constant> - <constant name="EMISSION_SHAPE_RECTANGLE" value="2" enum="EmissionShape"> + <constant name="EMISSION_SHAPE_RECTANGLE" value="3" enum="EmissionShape"> Particles will be emitted in the area of a rectangle. </constant> - <constant name="EMISSION_SHAPE_POINTS" value="3" enum="EmissionShape"> + <constant name="EMISSION_SHAPE_POINTS" value="4" enum="EmissionShape"> Particles will be emitted at a position chosen randomly among [member emission_points]. Particle color will be modulated by [member emission_colors]. </constant> - <constant name="EMISSION_SHAPE_DIRECTED_POINTS" value="4" enum="EmissionShape"> + <constant name="EMISSION_SHAPE_DIRECTED_POINTS" value="5" enum="EmissionShape"> Particles will be emitted at a position chosen randomly among [member emission_points]. Particle velocity and rotation will be set based on [member emission_normals]. Particle color will be modulated by [member emission_colors]. </constant> - <constant name="EMISSION_SHAPE_MAX" value="5" enum="EmissionShape"> + <constant name="EMISSION_SHAPE_MAX" value="6" enum="EmissionShape"> Represents the size of the [enum EmissionShape] enum. </constant> </constants> diff --git a/doc/classes/CPUParticles3D.xml b/doc/classes/CPUParticles3D.xml index 7152f67f48..f2a0040ed4 100644 --- a/doc/classes/CPUParticles3D.xml +++ b/doc/classes/CPUParticles3D.xml @@ -370,19 +370,22 @@ <constant name="EMISSION_SHAPE_SPHERE" value="1" enum="EmissionShape"> Particles will be emitted in the volume of a sphere. </constant> - <constant name="EMISSION_SHAPE_BOX" value="2" enum="EmissionShape"> + <constant name="EMISSION_SHAPE_SPHERE_SURFACE" value="2" enum="EmissionShape"> + Particles will be emitted on the surface of a sphere. + </constant> + <constant name="EMISSION_SHAPE_BOX" value="3" enum="EmissionShape"> Particles will be emitted in the volume of a box. </constant> - <constant name="EMISSION_SHAPE_POINTS" value="3" enum="EmissionShape"> + <constant name="EMISSION_SHAPE_POINTS" value="4" enum="EmissionShape"> Particles will be emitted at a position chosen randomly among [member emission_points]. Particle color will be modulated by [member emission_colors]. </constant> - <constant name="EMISSION_SHAPE_DIRECTED_POINTS" value="4" enum="EmissionShape"> + <constant name="EMISSION_SHAPE_DIRECTED_POINTS" value="5" enum="EmissionShape"> Particles will be emitted at a position chosen randomly among [member emission_points]. Particle velocity and rotation will be set based on [member emission_normals]. Particle color will be modulated by [member emission_colors]. </constant> - <constant name="EMISSION_SHAPE_RING" value="5" enum="EmissionShape"> + <constant name="EMISSION_SHAPE_RING" value="6" enum="EmissionShape"> Particles will be emitted in a ring or cylinder. </constant> - <constant name="EMISSION_SHAPE_MAX" value="6" enum="EmissionShape"> + <constant name="EMISSION_SHAPE_MAX" value="7" enum="EmissionShape"> Represents the size of the [enum EmissionShape] enum. </constant> </constants> diff --git a/doc/classes/CanvasItem.xml b/doc/classes/CanvasItem.xml index c7451509f3..baaf33956f 100644 --- a/doc/classes/CanvasItem.xml +++ b/doc/classes/CanvasItem.xml @@ -80,6 +80,17 @@ Draws a colored polygon of any amount of points, convex or concave. Unlike [method draw_polygon], a single color must be specified for the whole polygon. </description> </method> + <method name="draw_dashed_line"> + <return type="void" /> + <argument index="0" name="from" type="Vector2" /> + <argument index="1" name="to" type="Vector2" /> + <argument index="2" name="color" type="Color" /> + <argument index="3" name="width" type="float" default="1.0" /> + <argument index="4" name="dash" type="float" default="2.0" /> + <description> + Draws a dashed line from a 2D point to another, with a given color and width. See also [method draw_multiline] and [method draw_polyline]. + </description> + </method> <method name="draw_end_animation"> <return type="void" /> <description> @@ -428,14 +439,14 @@ <return type="void" /> <argument index="0" name="enable" type="bool" /> <description> - 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. </description> </method> <method name="set_notify_transform"> <return type="void" /> <argument index="0" name="enable" type="bool" /> <description> - 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. </description> </method> <method name="show"> @@ -469,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> @@ -479,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. @@ -513,7 +521,10 @@ </signals> <constants> <constant name="NOTIFICATION_TRANSFORM_CHANGED" value="2000"> - 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]. + </constant> + <constant name="NOTIFICATION_LOCAL_TRANSFORM_CHANGED" value="35"> + The [CanvasItem]'s local transform has changed. This notification is only received if enabled by [method set_notify_local_transform]. </constant> <constant name="NOTIFICATION_DRAW" value="30"> The [CanvasItem] is requested to draw. 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 7083157081..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"> @@ -473,343 +486,343 @@ </member> </members> <constants> - <constant name="ALICE_BLUE" value="Color(0.94, 0.97, 1, 1)"> + <constant name="ALICE_BLUE" value="Color(0.941176, 0.972549, 1, 1)"> Alice blue color. </constant> - <constant name="ANTIQUE_WHITE" value="Color(0.98, 0.92, 0.84, 1)"> + <constant name="ANTIQUE_WHITE" value="Color(0.980392, 0.921569, 0.843137, 1)"> Antique white color. </constant> <constant name="AQUA" value="Color(0, 1, 1, 1)"> Aqua color. </constant> - <constant name="AQUAMARINE" value="Color(0.5, 1, 0.83, 1)"> + <constant name="AQUAMARINE" value="Color(0.498039, 1, 0.831373, 1)"> Aquamarine color. </constant> - <constant name="AZURE" value="Color(0.94, 1, 1, 1)"> + <constant name="AZURE" value="Color(0.941176, 1, 1, 1)"> Azure color. </constant> - <constant name="BEIGE" value="Color(0.96, 0.96, 0.86, 1)"> + <constant name="BEIGE" value="Color(0.960784, 0.960784, 0.862745, 1)"> Beige color. </constant> - <constant name="BISQUE" value="Color(1, 0.89, 0.77, 1)"> + <constant name="BISQUE" value="Color(1, 0.894118, 0.768627, 1)"> Bisque color. </constant> <constant name="BLACK" value="Color(0, 0, 0, 1)"> Black color. </constant> - <constant name="BLANCHED_ALMOND" value="Color(1, 0.92, 0.8, 1)"> + <constant name="BLANCHED_ALMOND" value="Color(1, 0.921569, 0.803922, 1)"> Blanched almond color. </constant> <constant name="BLUE" value="Color(0, 0, 1, 1)"> Blue color. </constant> - <constant name="BLUE_VIOLET" value="Color(0.54, 0.17, 0.89, 1)"> + <constant name="BLUE_VIOLET" value="Color(0.541176, 0.168627, 0.886275, 1)"> Blue violet color. </constant> - <constant name="BROWN" value="Color(0.65, 0.16, 0.16, 1)"> + <constant name="BROWN" value="Color(0.647059, 0.164706, 0.164706, 1)"> Brown color. </constant> - <constant name="BURLYWOOD" value="Color(0.87, 0.72, 0.53, 1)"> + <constant name="BURLYWOOD" value="Color(0.870588, 0.721569, 0.529412, 1)"> Burlywood color. </constant> - <constant name="CADET_BLUE" value="Color(0.37, 0.62, 0.63, 1)"> + <constant name="CADET_BLUE" value="Color(0.372549, 0.619608, 0.627451, 1)"> Cadet blue color. </constant> - <constant name="CHARTREUSE" value="Color(0.5, 1, 0, 1)"> + <constant name="CHARTREUSE" value="Color(0.498039, 1, 0, 1)"> Chartreuse color. </constant> - <constant name="CHOCOLATE" value="Color(0.82, 0.41, 0.12, 1)"> + <constant name="CHOCOLATE" value="Color(0.823529, 0.411765, 0.117647, 1)"> Chocolate color. </constant> - <constant name="CORAL" value="Color(1, 0.5, 0.31, 1)"> + <constant name="CORAL" value="Color(1, 0.498039, 0.313726, 1)"> Coral color. </constant> - <constant name="CORNFLOWER_BLUE" value="Color(0.39, 0.58, 0.93, 1)"> + <constant name="CORNFLOWER_BLUE" value="Color(0.392157, 0.584314, 0.929412, 1)"> Cornflower blue color. </constant> - <constant name="CORNSILK" value="Color(1, 0.97, 0.86, 1)"> + <constant name="CORNSILK" value="Color(1, 0.972549, 0.862745, 1)"> Cornsilk color. </constant> - <constant name="CRIMSON" value="Color(0.86, 0.08, 0.24, 1)"> + <constant name="CRIMSON" value="Color(0.862745, 0.0784314, 0.235294, 1)"> Crimson color. </constant> <constant name="CYAN" value="Color(0, 1, 1, 1)"> Cyan color. </constant> - <constant name="DARK_BLUE" value="Color(0, 0, 0.55, 1)"> + <constant name="DARK_BLUE" value="Color(0, 0, 0.545098, 1)"> Dark blue color. </constant> - <constant name="DARK_CYAN" value="Color(0, 0.55, 0.55, 1)"> + <constant name="DARK_CYAN" value="Color(0, 0.545098, 0.545098, 1)"> Dark cyan color. </constant> - <constant name="DARK_GOLDENROD" value="Color(0.72, 0.53, 0.04, 1)"> + <constant name="DARK_GOLDENROD" value="Color(0.721569, 0.52549, 0.0431373, 1)"> Dark goldenrod color. </constant> - <constant name="DARK_GRAY" value="Color(0.66, 0.66, 0.66, 1)"> + <constant name="DARK_GRAY" value="Color(0.662745, 0.662745, 0.662745, 1)"> Dark gray color. </constant> - <constant name="DARK_GREEN" value="Color(0, 0.39, 0, 1)"> + <constant name="DARK_GREEN" value="Color(0, 0.392157, 0, 1)"> Dark green color. </constant> - <constant name="DARK_KHAKI" value="Color(0.74, 0.72, 0.42, 1)"> + <constant name="DARK_KHAKI" value="Color(0.741176, 0.717647, 0.419608, 1)"> Dark khaki color. </constant> - <constant name="DARK_MAGENTA" value="Color(0.55, 0, 0.55, 1)"> + <constant name="DARK_MAGENTA" value="Color(0.545098, 0, 0.545098, 1)"> Dark magenta color. </constant> - <constant name="DARK_OLIVE_GREEN" value="Color(0.33, 0.42, 0.18, 1)"> + <constant name="DARK_OLIVE_GREEN" value="Color(0.333333, 0.419608, 0.184314, 1)"> Dark olive green color. </constant> - <constant name="DARK_ORANGE" value="Color(1, 0.55, 0, 1)"> + <constant name="DARK_ORANGE" value="Color(1, 0.54902, 0, 1)"> Dark orange color. </constant> - <constant name="DARK_ORCHID" value="Color(0.6, 0.2, 0.8, 1)"> + <constant name="DARK_ORCHID" value="Color(0.6, 0.196078, 0.8, 1)"> Dark orchid color. </constant> - <constant name="DARK_RED" value="Color(0.55, 0, 0, 1)"> + <constant name="DARK_RED" value="Color(0.545098, 0, 0, 1)"> Dark red color. </constant> - <constant name="DARK_SALMON" value="Color(0.91, 0.59, 0.48, 1)"> + <constant name="DARK_SALMON" value="Color(0.913725, 0.588235, 0.478431, 1)"> Dark salmon color. </constant> - <constant name="DARK_SEA_GREEN" value="Color(0.56, 0.74, 0.56, 1)"> + <constant name="DARK_SEA_GREEN" value="Color(0.560784, 0.737255, 0.560784, 1)"> Dark sea green color. </constant> - <constant name="DARK_SLATE_BLUE" value="Color(0.28, 0.24, 0.55, 1)"> + <constant name="DARK_SLATE_BLUE" value="Color(0.282353, 0.239216, 0.545098, 1)"> Dark slate blue color. </constant> - <constant name="DARK_SLATE_GRAY" value="Color(0.18, 0.31, 0.31, 1)"> + <constant name="DARK_SLATE_GRAY" value="Color(0.184314, 0.309804, 0.309804, 1)"> Dark slate gray color. </constant> - <constant name="DARK_TURQUOISE" value="Color(0, 0.81, 0.82, 1)"> + <constant name="DARK_TURQUOISE" value="Color(0, 0.807843, 0.819608, 1)"> Dark turquoise color. </constant> - <constant name="DARK_VIOLET" value="Color(0.58, 0, 0.83, 1)"> + <constant name="DARK_VIOLET" value="Color(0.580392, 0, 0.827451, 1)"> Dark violet color. </constant> - <constant name="DEEP_PINK" value="Color(1, 0.08, 0.58, 1)"> + <constant name="DEEP_PINK" value="Color(1, 0.0784314, 0.576471, 1)"> Deep pink color. </constant> - <constant name="DEEP_SKY_BLUE" value="Color(0, 0.75, 1, 1)"> + <constant name="DEEP_SKY_BLUE" value="Color(0, 0.74902, 1, 1)"> Deep sky blue color. </constant> - <constant name="DIM_GRAY" value="Color(0.41, 0.41, 0.41, 1)"> + <constant name="DIM_GRAY" value="Color(0.411765, 0.411765, 0.411765, 1)"> Dim gray color. </constant> - <constant name="DODGER_BLUE" value="Color(0.12, 0.56, 1, 1)"> + <constant name="DODGER_BLUE" value="Color(0.117647, 0.564706, 1, 1)"> Dodger blue color. </constant> - <constant name="FIREBRICK" value="Color(0.7, 0.13, 0.13, 1)"> + <constant name="FIREBRICK" value="Color(0.698039, 0.133333, 0.133333, 1)"> Firebrick color. </constant> - <constant name="FLORAL_WHITE" value="Color(1, 0.98, 0.94, 1)"> + <constant name="FLORAL_WHITE" value="Color(1, 0.980392, 0.941176, 1)"> Floral white color. </constant> - <constant name="FOREST_GREEN" value="Color(0.13, 0.55, 0.13, 1)"> + <constant name="FOREST_GREEN" value="Color(0.133333, 0.545098, 0.133333, 1)"> Forest green color. </constant> <constant name="FUCHSIA" value="Color(1, 0, 1, 1)"> Fuchsia color. </constant> - <constant name="GAINSBORO" value="Color(0.86, 0.86, 0.86, 1)"> + <constant name="GAINSBORO" value="Color(0.862745, 0.862745, 0.862745, 1)"> Gainsboro color. </constant> - <constant name="GHOST_WHITE" value="Color(0.97, 0.97, 1, 1)"> + <constant name="GHOST_WHITE" value="Color(0.972549, 0.972549, 1, 1)"> Ghost white color. </constant> - <constant name="GOLD" value="Color(1, 0.84, 0, 1)"> + <constant name="GOLD" value="Color(1, 0.843137, 0, 1)"> Gold color. </constant> - <constant name="GOLDENROD" value="Color(0.85, 0.65, 0.13, 1)"> + <constant name="GOLDENROD" value="Color(0.854902, 0.647059, 0.12549, 1)"> Goldenrod color. </constant> - <constant name="GRAY" value="Color(0.75, 0.75, 0.75, 1)"> + <constant name="GRAY" value="Color(0.745098, 0.745098, 0.745098, 1)"> Gray color. </constant> <constant name="GREEN" value="Color(0, 1, 0, 1)"> Green color. </constant> - <constant name="GREEN_YELLOW" value="Color(0.68, 1, 0.18, 1)"> + <constant name="GREEN_YELLOW" value="Color(0.678431, 1, 0.184314, 1)"> Green yellow color. </constant> - <constant name="HONEYDEW" value="Color(0.94, 1, 0.94, 1)"> + <constant name="HONEYDEW" value="Color(0.941176, 1, 0.941176, 1)"> Honeydew color. </constant> - <constant name="HOT_PINK" value="Color(1, 0.41, 0.71, 1)"> + <constant name="HOT_PINK" value="Color(1, 0.411765, 0.705882, 1)"> Hot pink color. </constant> - <constant name="INDIAN_RED" value="Color(0.8, 0.36, 0.36, 1)"> + <constant name="INDIAN_RED" value="Color(0.803922, 0.360784, 0.360784, 1)"> Indian red color. </constant> - <constant name="INDIGO" value="Color(0.29, 0, 0.51, 1)"> + <constant name="INDIGO" value="Color(0.294118, 0, 0.509804, 1)"> Indigo color. </constant> - <constant name="IVORY" value="Color(1, 1, 0.94, 1)"> + <constant name="IVORY" value="Color(1, 1, 0.941176, 1)"> Ivory color. </constant> - <constant name="KHAKI" value="Color(0.94, 0.9, 0.55, 1)"> + <constant name="KHAKI" value="Color(0.941176, 0.901961, 0.54902, 1)"> Khaki color. </constant> - <constant name="LAVENDER" value="Color(0.9, 0.9, 0.98, 1)"> + <constant name="LAVENDER" value="Color(0.901961, 0.901961, 0.980392, 1)"> Lavender color. </constant> - <constant name="LAVENDER_BLUSH" value="Color(1, 0.94, 0.96, 1)"> + <constant name="LAVENDER_BLUSH" value="Color(1, 0.941176, 0.960784, 1)"> Lavender blush color. </constant> - <constant name="LAWN_GREEN" value="Color(0.49, 0.99, 0, 1)"> + <constant name="LAWN_GREEN" value="Color(0.486275, 0.988235, 0, 1)"> Lawn green color. </constant> - <constant name="LEMON_CHIFFON" value="Color(1, 0.98, 0.8, 1)"> + <constant name="LEMON_CHIFFON" value="Color(1, 0.980392, 0.803922, 1)"> Lemon chiffon color. </constant> - <constant name="LIGHT_BLUE" value="Color(0.68, 0.85, 0.9, 1)"> + <constant name="LIGHT_BLUE" value="Color(0.678431, 0.847059, 0.901961, 1)"> Light blue color. </constant> - <constant name="LIGHT_CORAL" value="Color(0.94, 0.5, 0.5, 1)"> + <constant name="LIGHT_CORAL" value="Color(0.941176, 0.501961, 0.501961, 1)"> Light coral color. </constant> - <constant name="LIGHT_CYAN" value="Color(0.88, 1, 1, 1)"> + <constant name="LIGHT_CYAN" value="Color(0.878431, 1, 1, 1)"> Light cyan color. </constant> - <constant name="LIGHT_GOLDENROD" value="Color(0.98, 0.98, 0.82, 1)"> + <constant name="LIGHT_GOLDENROD" value="Color(0.980392, 0.980392, 0.823529, 1)"> Light goldenrod color. </constant> - <constant name="LIGHT_GRAY" value="Color(0.83, 0.83, 0.83, 1)"> + <constant name="LIGHT_GRAY" value="Color(0.827451, 0.827451, 0.827451, 1)"> Light gray color. </constant> - <constant name="LIGHT_GREEN" value="Color(0.56, 0.93, 0.56, 1)"> + <constant name="LIGHT_GREEN" value="Color(0.564706, 0.933333, 0.564706, 1)"> Light green color. </constant> - <constant name="LIGHT_PINK" value="Color(1, 0.71, 0.76, 1)"> + <constant name="LIGHT_PINK" value="Color(1, 0.713726, 0.756863, 1)"> Light pink color. </constant> - <constant name="LIGHT_SALMON" value="Color(1, 0.63, 0.48, 1)"> + <constant name="LIGHT_SALMON" value="Color(1, 0.627451, 0.478431, 1)"> Light salmon color. </constant> - <constant name="LIGHT_SEA_GREEN" value="Color(0.13, 0.7, 0.67, 1)"> + <constant name="LIGHT_SEA_GREEN" value="Color(0.12549, 0.698039, 0.666667, 1)"> Light sea green color. </constant> - <constant name="LIGHT_SKY_BLUE" value="Color(0.53, 0.81, 0.98, 1)"> + <constant name="LIGHT_SKY_BLUE" value="Color(0.529412, 0.807843, 0.980392, 1)"> Light sky blue color. </constant> - <constant name="LIGHT_SLATE_GRAY" value="Color(0.47, 0.53, 0.6, 1)"> + <constant name="LIGHT_SLATE_GRAY" value="Color(0.466667, 0.533333, 0.6, 1)"> Light slate gray color. </constant> - <constant name="LIGHT_STEEL_BLUE" value="Color(0.69, 0.77, 0.87, 1)"> + <constant name="LIGHT_STEEL_BLUE" value="Color(0.690196, 0.768627, 0.870588, 1)"> Light steel blue color. </constant> - <constant name="LIGHT_YELLOW" value="Color(1, 1, 0.88, 1)"> + <constant name="LIGHT_YELLOW" value="Color(1, 1, 0.878431, 1)"> Light yellow color. </constant> <constant name="LIME" value="Color(0, 1, 0, 1)"> Lime color. </constant> - <constant name="LIME_GREEN" value="Color(0.2, 0.8, 0.2, 1)"> + <constant name="LIME_GREEN" value="Color(0.196078, 0.803922, 0.196078, 1)"> Lime green color. </constant> - <constant name="LINEN" value="Color(0.98, 0.94, 0.9, 1)"> + <constant name="LINEN" value="Color(0.980392, 0.941176, 0.901961, 1)"> Linen color. </constant> <constant name="MAGENTA" value="Color(1, 0, 1, 1)"> Magenta color. </constant> - <constant name="MAROON" value="Color(0.69, 0.19, 0.38, 1)"> + <constant name="MAROON" value="Color(0.690196, 0.188235, 0.376471, 1)"> Maroon color. </constant> - <constant name="MEDIUM_AQUAMARINE" value="Color(0.4, 0.8, 0.67, 1)"> + <constant name="MEDIUM_AQUAMARINE" value="Color(0.4, 0.803922, 0.666667, 1)"> Medium aquamarine color. </constant> - <constant name="MEDIUM_BLUE" value="Color(0, 0, 0.8, 1)"> + <constant name="MEDIUM_BLUE" value="Color(0, 0, 0.803922, 1)"> Medium blue color. </constant> - <constant name="MEDIUM_ORCHID" value="Color(0.73, 0.33, 0.83, 1)"> + <constant name="MEDIUM_ORCHID" value="Color(0.729412, 0.333333, 0.827451, 1)"> Medium orchid color. </constant> - <constant name="MEDIUM_PURPLE" value="Color(0.58, 0.44, 0.86, 1)"> + <constant name="MEDIUM_PURPLE" value="Color(0.576471, 0.439216, 0.858824, 1)"> Medium purple color. </constant> - <constant name="MEDIUM_SEA_GREEN" value="Color(0.24, 0.7, 0.44, 1)"> + <constant name="MEDIUM_SEA_GREEN" value="Color(0.235294, 0.701961, 0.443137, 1)"> Medium sea green color. </constant> - <constant name="MEDIUM_SLATE_BLUE" value="Color(0.48, 0.41, 0.93, 1)"> + <constant name="MEDIUM_SLATE_BLUE" value="Color(0.482353, 0.407843, 0.933333, 1)"> Medium slate blue color. </constant> - <constant name="MEDIUM_SPRING_GREEN" value="Color(0, 0.98, 0.6, 1)"> + <constant name="MEDIUM_SPRING_GREEN" value="Color(0, 0.980392, 0.603922, 1)"> Medium spring green color. </constant> - <constant name="MEDIUM_TURQUOISE" value="Color(0.28, 0.82, 0.8, 1)"> + <constant name="MEDIUM_TURQUOISE" value="Color(0.282353, 0.819608, 0.8, 1)"> Medium turquoise color. </constant> - <constant name="MEDIUM_VIOLET_RED" value="Color(0.78, 0.08, 0.52, 1)"> + <constant name="MEDIUM_VIOLET_RED" value="Color(0.780392, 0.0823529, 0.521569, 1)"> Medium violet red color. </constant> - <constant name="MIDNIGHT_BLUE" value="Color(0.1, 0.1, 0.44, 1)"> + <constant name="MIDNIGHT_BLUE" value="Color(0.0980392, 0.0980392, 0.439216, 1)"> Midnight blue color. </constant> - <constant name="MINT_CREAM" value="Color(0.96, 1, 0.98, 1)"> + <constant name="MINT_CREAM" value="Color(0.960784, 1, 0.980392, 1)"> Mint cream color. </constant> - <constant name="MISTY_ROSE" value="Color(1, 0.89, 0.88, 1)"> + <constant name="MISTY_ROSE" value="Color(1, 0.894118, 0.882353, 1)"> Misty rose color. </constant> - <constant name="MOCCASIN" value="Color(1, 0.89, 0.71, 1)"> + <constant name="MOCCASIN" value="Color(1, 0.894118, 0.709804, 1)"> Moccasin color. </constant> - <constant name="NAVAJO_WHITE" value="Color(1, 0.87, 0.68, 1)"> + <constant name="NAVAJO_WHITE" value="Color(1, 0.870588, 0.678431, 1)"> Navajo white color. </constant> - <constant name="NAVY_BLUE" value="Color(0, 0, 0.5, 1)"> + <constant name="NAVY_BLUE" value="Color(0, 0, 0.501961, 1)"> Navy blue color. </constant> - <constant name="OLD_LACE" value="Color(0.99, 0.96, 0.9, 1)"> + <constant name="OLD_LACE" value="Color(0.992157, 0.960784, 0.901961, 1)"> Old lace color. </constant> - <constant name="OLIVE" value="Color(0.5, 0.5, 0, 1)"> + <constant name="OLIVE" value="Color(0.501961, 0.501961, 0, 1)"> Olive color. </constant> - <constant name="OLIVE_DRAB" value="Color(0.42, 0.56, 0.14, 1)"> + <constant name="OLIVE_DRAB" value="Color(0.419608, 0.556863, 0.137255, 1)"> Olive drab color. </constant> - <constant name="ORANGE" value="Color(1, 0.65, 0, 1)"> + <constant name="ORANGE" value="Color(1, 0.647059, 0, 1)"> Orange color. </constant> - <constant name="ORANGE_RED" value="Color(1, 0.27, 0, 1)"> + <constant name="ORANGE_RED" value="Color(1, 0.270588, 0, 1)"> Orange red color. </constant> - <constant name="ORCHID" value="Color(0.85, 0.44, 0.84, 1)"> + <constant name="ORCHID" value="Color(0.854902, 0.439216, 0.839216, 1)"> Orchid color. </constant> - <constant name="PALE_GOLDENROD" value="Color(0.93, 0.91, 0.67, 1)"> + <constant name="PALE_GOLDENROD" value="Color(0.933333, 0.909804, 0.666667, 1)"> Pale goldenrod color. </constant> - <constant name="PALE_GREEN" value="Color(0.6, 0.98, 0.6, 1)"> + <constant name="PALE_GREEN" value="Color(0.596078, 0.984314, 0.596078, 1)"> Pale green color. </constant> - <constant name="PALE_TURQUOISE" value="Color(0.69, 0.93, 0.93, 1)"> + <constant name="PALE_TURQUOISE" value="Color(0.686275, 0.933333, 0.933333, 1)"> Pale turquoise color. </constant> - <constant name="PALE_VIOLET_RED" value="Color(0.86, 0.44, 0.58, 1)"> + <constant name="PALE_VIOLET_RED" value="Color(0.858824, 0.439216, 0.576471, 1)"> Pale violet red color. </constant> - <constant name="PAPAYA_WHIP" value="Color(1, 0.94, 0.84, 1)"> + <constant name="PAPAYA_WHIP" value="Color(1, 0.937255, 0.835294, 1)"> Papaya whip color. </constant> - <constant name="PEACH_PUFF" value="Color(1, 0.85, 0.73, 1)"> + <constant name="PEACH_PUFF" value="Color(1, 0.854902, 0.72549, 1)"> Peach puff color. </constant> - <constant name="PERU" value="Color(0.8, 0.52, 0.25, 1)"> + <constant name="PERU" value="Color(0.803922, 0.521569, 0.247059, 1)"> Peru color. </constant> - <constant name="PINK" value="Color(1, 0.75, 0.8, 1)"> + <constant name="PINK" value="Color(1, 0.752941, 0.796078, 1)"> Pink color. </constant> - <constant name="PLUM" value="Color(0.87, 0.63, 0.87, 1)"> + <constant name="PLUM" value="Color(0.866667, 0.627451, 0.866667, 1)"> Plum color. </constant> - <constant name="POWDER_BLUE" value="Color(0.69, 0.88, 0.9, 1)"> + <constant name="POWDER_BLUE" value="Color(0.690196, 0.878431, 0.901961, 1)"> Powder blue color. </constant> - <constant name="PURPLE" value="Color(0.63, 0.13, 0.94, 1)"> + <constant name="PURPLE" value="Color(0.627451, 0.12549, 0.941176, 1)"> Purple color. </constant> <constant name="REBECCA_PURPLE" value="Color(0.4, 0.2, 0.6, 1)"> @@ -818,97 +831,97 @@ <constant name="RED" value="Color(1, 0, 0, 1)"> Red color. </constant> - <constant name="ROSY_BROWN" value="Color(0.74, 0.56, 0.56, 1)"> + <constant name="ROSY_BROWN" value="Color(0.737255, 0.560784, 0.560784, 1)"> Rosy brown color. </constant> - <constant name="ROYAL_BLUE" value="Color(0.25, 0.41, 0.88, 1)"> + <constant name="ROYAL_BLUE" value="Color(0.254902, 0.411765, 0.882353, 1)"> Royal blue color. </constant> - <constant name="SADDLE_BROWN" value="Color(0.55, 0.27, 0.07, 1)"> + <constant name="SADDLE_BROWN" value="Color(0.545098, 0.270588, 0.0745098, 1)"> Saddle brown color. </constant> - <constant name="SALMON" value="Color(0.98, 0.5, 0.45, 1)"> + <constant name="SALMON" value="Color(0.980392, 0.501961, 0.447059, 1)"> Salmon color. </constant> - <constant name="SANDY_BROWN" value="Color(0.96, 0.64, 0.38, 1)"> + <constant name="SANDY_BROWN" value="Color(0.956863, 0.643137, 0.376471, 1)"> Sandy brown color. </constant> - <constant name="SEA_GREEN" value="Color(0.18, 0.55, 0.34, 1)"> + <constant name="SEA_GREEN" value="Color(0.180392, 0.545098, 0.341176, 1)"> Sea green color. </constant> - <constant name="SEASHELL" value="Color(1, 0.96, 0.93, 1)"> + <constant name="SEASHELL" value="Color(1, 0.960784, 0.933333, 1)"> Seashell color. </constant> - <constant name="SIENNA" value="Color(0.63, 0.32, 0.18, 1)"> + <constant name="SIENNA" value="Color(0.627451, 0.321569, 0.176471, 1)"> Sienna color. </constant> - <constant name="SILVER" value="Color(0.75, 0.75, 0.75, 1)"> + <constant name="SILVER" value="Color(0.752941, 0.752941, 0.752941, 1)"> Silver color. </constant> - <constant name="SKY_BLUE" value="Color(0.53, 0.81, 0.92, 1)"> + <constant name="SKY_BLUE" value="Color(0.529412, 0.807843, 0.921569, 1)"> Sky blue color. </constant> - <constant name="SLATE_BLUE" value="Color(0.42, 0.35, 0.8, 1)"> + <constant name="SLATE_BLUE" value="Color(0.415686, 0.352941, 0.803922, 1)"> Slate blue color. </constant> - <constant name="SLATE_GRAY" value="Color(0.44, 0.5, 0.56, 1)"> + <constant name="SLATE_GRAY" value="Color(0.439216, 0.501961, 0.564706, 1)"> Slate gray color. </constant> - <constant name="SNOW" value="Color(1, 0.98, 0.98, 1)"> + <constant name="SNOW" value="Color(1, 0.980392, 0.980392, 1)"> Snow color. </constant> - <constant name="SPRING_GREEN" value="Color(0, 1, 0.5, 1)"> + <constant name="SPRING_GREEN" value="Color(0, 1, 0.498039, 1)"> Spring green color. </constant> - <constant name="STEEL_BLUE" value="Color(0.27, 0.51, 0.71, 1)"> + <constant name="STEEL_BLUE" value="Color(0.27451, 0.509804, 0.705882, 1)"> Steel blue color. </constant> - <constant name="TAN" value="Color(0.82, 0.71, 0.55, 1)"> + <constant name="TAN" value="Color(0.823529, 0.705882, 0.54902, 1)"> Tan color. </constant> - <constant name="TEAL" value="Color(0, 0.5, 0.5, 1)"> + <constant name="TEAL" value="Color(0, 0.501961, 0.501961, 1)"> Teal color. </constant> - <constant name="THISTLE" value="Color(0.85, 0.75, 0.85, 1)"> + <constant name="THISTLE" value="Color(0.847059, 0.74902, 0.847059, 1)"> Thistle color. </constant> - <constant name="TOMATO" value="Color(1, 0.39, 0.28, 1)"> + <constant name="TOMATO" value="Color(1, 0.388235, 0.278431, 1)"> Tomato color. </constant> <constant name="TRANSPARENT" value="Color(1, 1, 1, 0)"> Transparent color (white with zero alpha). </constant> - <constant name="TURQUOISE" value="Color(0.25, 0.88, 0.82, 1)"> + <constant name="TURQUOISE" value="Color(0.25098, 0.878431, 0.815686, 1)"> Turquoise color. </constant> - <constant name="VIOLET" value="Color(0.93, 0.51, 0.93, 1)"> + <constant name="VIOLET" value="Color(0.933333, 0.509804, 0.933333, 1)"> Violet color. </constant> - <constant name="WEB_GRAY" value="Color(0.5, 0.5, 0.5, 1)"> + <constant name="WEB_GRAY" value="Color(0.501961, 0.501961, 0.501961, 1)"> Web gray color. </constant> - <constant name="WEB_GREEN" value="Color(0, 0.5, 0, 1)"> + <constant name="WEB_GREEN" value="Color(0, 0.501961, 0, 1)"> Web green color. </constant> - <constant name="WEB_MAROON" value="Color(0.5, 0, 0, 1)"> + <constant name="WEB_MAROON" value="Color(0.501961, 0, 0, 1)"> Web maroon color. </constant> - <constant name="WEB_PURPLE" value="Color(0.5, 0, 0.5, 1)"> + <constant name="WEB_PURPLE" value="Color(0.501961, 0, 0.501961, 1)"> Web purple color. </constant> - <constant name="WHEAT" value="Color(0.96, 0.87, 0.7, 1)"> + <constant name="WHEAT" value="Color(0.960784, 0.870588, 0.701961, 1)"> Wheat color. </constant> <constant name="WHITE" value="Color(1, 1, 1, 1)"> White color. </constant> - <constant name="WHITE_SMOKE" value="Color(0.96, 0.96, 0.96, 1)"> + <constant name="WHITE_SMOKE" value="Color(0.960784, 0.960784, 0.960784, 1)"> White smoke color. </constant> <constant name="YELLOW" value="Color(1, 1, 0, 1)"> Yellow color. </constant> - <constant name="YELLOW_GREEN" value="Color(0.6, 0.8, 0.2, 1)"> + <constant name="YELLOW_GREEN" value="Color(0.603922, 0.803922, 0.196078, 1)"> Yellow green color. </constant> </constants> 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/DirectionalLight3D.xml b/doc/classes/DirectionalLight3D.xml index ad2663a61b..754518239c 100644 --- a/doc/classes/DirectionalLight3D.xml +++ b/doc/classes/DirectionalLight3D.xml @@ -35,8 +35,8 @@ The distance from shadow split 2 to split 3. Relative to [member directional_shadow_max_distance]. Only used when [member directional_shadow_mode] is [constant SHADOW_PARALLEL_4_SPLITS]. </member> <member name="shadow_bias" type="float" setter="set_param" getter="get_param" overrides="Light3D" default="0.1" /> - <member name="use_in_sky_only" type="bool" setter="set_sky_only" getter="is_sky_only" default="false"> - If [code]true[/code], this [DirectionalLight3D] will not be used for anything except sky shaders. Use this for lights that impact your sky shader that you may want to hide from affecting the rest of the scene. For example, you may want to enable this when the sun in your sky shader falls below the horizon. + <member name="sky_mode" type="int" setter="set_sky_mode" getter="get_sky_mode" enum="DirectionalLight3D.SkyMode" default="0"> + Set whether this [DirectionalLight3D] is visible in the sky, in the scene, or both in the sky and in the scene. See [enum SkyMode] for options. </member> </members> <constants> @@ -49,5 +49,14 @@ <constant name="SHADOW_PARALLEL_4_SPLITS" value="2" enum="ShadowMode"> Splits the view frustum in 4 areas, each with its own shadow map. This is the slowest directional shadow mode. </constant> + <constant name="SKY_MODE_LIGHT_AND_SKY" value="0" enum="SkyMode"> + Makes the light visible in both scene lighting and sky rendering. + </constant> + <constant name="SKY_MODE_LIGHT_ONLY" value="1" enum="SkyMode"> + Makes the light visible in scene lighting only (including direct lighting and global illumination). When using this mode, the light will not be visible from sky shaders. + </constant> + <constant name="SKY_MODE_SKY_ONLY" value="2" enum="SkyMode"> + Makes the light visible to sky shaders only. When using this mode the light will not cast light into the scene (either through direct lighting or through global illumination), but can be accessed through sky shaders. This can be useful, for example, when you want to control sky effects without illuminating the scene (during a night cycle, for example). + </constant> </constants> </class> 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/EditorExportPlugin.xml b/doc/classes/EditorExportPlugin.xml index 698d3bfcce..8aa2db2cf8 100644 --- a/doc/classes/EditorExportPlugin.xml +++ b/doc/classes/EditorExportPlugin.xml @@ -108,6 +108,7 @@ <return type="void" /> <argument index="0" name="path" type="String" /> <argument index="1" name="tags" type="PackedStringArray" /> + <argument index="2" name="target" type="String" /> <description> Adds a shared object or a directory containing only shared objects with the given [code]tags[/code] and destination [code]path[/code]. [b]Note:[/b] In case of macOS exports, those shared objects will be added to [code]Frameworks[/code] directory of app bundle. 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/EditorSpinSlider.xml b/doc/classes/EditorSpinSlider.xml index a45882b063..96dea1edce 100644 --- a/doc/classes/EditorSpinSlider.xml +++ b/doc/classes/EditorSpinSlider.xml @@ -11,7 +11,6 @@ <members> <member name="flat" type="bool" setter="set_flat" getter="is_flat" default="false"> </member> - <member name="focus_mode" type="int" setter="set_focus_mode" getter="get_focus_mode" overrides="Control" enum="Control.FocusMode" default="2" /> <member name="label" type="String" setter="set_label" getter="get_label" default=""""> </member> <member name="read_only" type="bool" setter="set_read_only" getter="is_read_only" default="false"> 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 4ba15d7afc..dae42ddf34 100644 --- a/doc/classes/Font.xml +++ b/doc/classes/Font.xml @@ -191,6 +191,12 @@ See also [method draw_multiline_string]. </description> </method> + <method name="get_rids" qualifiers="const"> + <return type="Array" /> + <description> + Returns [Array] of valid [FontData] [RID]s, which can be passed to the [TextServer] methods. + </description> + </method> <method name="get_spacing" qualifiers="const"> <return type="int" /> <argument index="0" name="spacing" type="int" enum="TextServer.SpacingType" /> 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/GeometryInstance3D.xml b/doc/classes/GeometryInstance3D.xml index 77afb98225..c803f43fb0 100644 --- a/doc/classes/GeometryInstance3D.xml +++ b/doc/classes/GeometryInstance3D.xml @@ -31,22 +31,22 @@ </method> </methods> <members> - <member name="cast_shadow" type="int" setter="set_cast_shadows_setting" getter="get_cast_shadows_setting" enum="GeometryInstance3D.ShadowCastingSetting" default="1"> + <member name="cast_shadow" type="int" setter="set_cast_shadows_setting" getter="get_cast_shadows_setting" enum="GeometryInstance3D.ShadowCastingSetting"> The selected shadow casting flag. See [enum ShadowCastingSetting] for possible values. </member> - <member name="extra_cull_margin" type="float" setter="set_extra_cull_margin" getter="get_extra_cull_margin" default="0.0"> + <member name="extra_cull_margin" type="float" setter="set_extra_cull_margin" getter="get_extra_cull_margin"> The extra distance added to the GeometryInstance3D's bounding box ([AABB]) to increase its cull box. </member> - <member name="gi_lightmap_scale" type="int" setter="set_lightmap_scale" getter="get_lightmap_scale" enum="GeometryInstance3D.LightmapScale" default="0"> + <member name="gi_lightmap_scale" type="int" setter="set_lightmap_scale" getter="get_lightmap_scale" enum="GeometryInstance3D.LightmapScale"> The texel density to use for lightmapping in [LightmapGI]. Greater scale values provide higher resolution in the lightmap, which can result in sharper shadows for lights that have both direct and indirect light baked. However, greater scale values will also increase the space taken by the mesh in the lightmap texture, which increases the memory, storage, and bake time requirements. When using a single mesh at different scales, consider adjusting this value to keep the lightmap texel density consistent across meshes. </member> - <member name="gi_mode" type="int" setter="set_gi_mode" getter="get_gi_mode" enum="GeometryInstance3D.GIMode" default="0"> + <member name="gi_mode" type="int" setter="set_gi_mode" getter="get_gi_mode" enum="GeometryInstance3D.GIMode"> The global illumination mode to use for the whole geometry. To avoid inconsistent results, use a mode that matches the purpose of the mesh during gameplay (static/dynamic). [b]Note:[/b] Lights' bake mode will also affect the global illumination rendering. See [member Light3D.light_bake_mode]. </member> - <member name="ignore_occlusion_culling" type="bool" setter="set_ignore_occlusion_culling" getter="is_ignoring_occlusion_culling" default="false"> + <member name="ignore_occlusion_culling" type="bool" setter="set_ignore_occlusion_culling" getter="is_ignoring_occlusion_culling"> </member> - <member name="lod_bias" type="float" setter="set_lod_bias" getter="get_lod_bias" default="1.0"> + <member name="lod_bias" type="float" setter="set_lod_bias" getter="get_lod_bias"> </member> <member name="material_overlay" type="Material" setter="set_material_overlay" getter="get_material_overlay"> The material overlay for the whole geometry. @@ -56,26 +56,26 @@ The material override for the whole geometry. If a material is assigned to this property, it will be used instead of any material set in any material slot of the mesh. </member> - <member name="transparency" type="float" setter="set_transparency" getter="get_transparency" default="0.0"> + <member name="transparency" type="float" setter="set_transparency" getter="get_transparency"> The transparency applied to the whole geometry (as a multiplier of the materials' existing transparency). [code]0.0[/code] is fully opaque, while [code]1.0[/code] is fully transparent. Values greater than [code]0.0[/code] (exclusive) will force the geometry's materials to go through the transparent pipeline, which is slower to render and can exhibit rendering issues due to incorrect transparency sorting. However, unlike using a transparent material, setting [member transparency] to a value greater than [code]0.0[/code] (exclusive) will [i]not[/i] disable shadow rendering. In spatial shaders, [code]1.0 - transparency[/code] is set as the default value of the [code]ALPHA[/code] built-in. [b]Note:[/b] [member transparency] is clamped between [code]0.0[/code] and [code]1.0[/code], so this property cannot be used to make transparent materials more opaque than they originally are. </member> - <member name="visibility_range_begin" type="float" setter="set_visibility_range_begin" getter="get_visibility_range_begin" default="0.0"> + <member name="visibility_range_begin" type="float" setter="set_visibility_range_begin" getter="get_visibility_range_begin"> Starting distance from which the GeometryInstance3D will be visible, taking [member visibility_range_begin_margin] into account as well. The default value of 0 is used to disable the range check. </member> - <member name="visibility_range_begin_margin" type="float" setter="set_visibility_range_begin_margin" getter="get_visibility_range_begin_margin" default="0.0"> + <member name="visibility_range_begin_margin" type="float" setter="set_visibility_range_begin_margin" getter="get_visibility_range_begin_margin"> Margin for the [member visibility_range_begin] threshold. The GeometryInstance3D will only change its visibility state when it goes over or under the [member visibility_range_begin] threshold by this amount. If [member visibility_range_fade_mode] is [constant VISIBILITY_RANGE_FADE_DISABLED], this acts as an hysteresis distance. If [member visibility_range_fade_mode] is [constant VISIBILITY_RANGE_FADE_SELF] or [constant VISIBILITY_RANGE_FADE_DEPENDENCIES], this acts as a fade transition distance and must be set to a value greater than [code]0.0[/code] for the effect to be noticeable. </member> - <member name="visibility_range_end" type="float" setter="set_visibility_range_end" getter="get_visibility_range_end" default="0.0"> + <member name="visibility_range_end" type="float" setter="set_visibility_range_end" getter="get_visibility_range_end"> Distance from which the GeometryInstance3D will be hidden, taking [member visibility_range_end_margin] into account as well. The default value of 0 is used to disable the range check. </member> - <member name="visibility_range_end_margin" type="float" setter="set_visibility_range_end_margin" getter="get_visibility_range_end_margin" default="0.0"> + <member name="visibility_range_end_margin" type="float" setter="set_visibility_range_end_margin" getter="get_visibility_range_end_margin"> Margin for the [member visibility_range_end] threshold. The GeometryInstance3D will only change its visibility state when it goes over or under the [member visibility_range_end] threshold by this amount. If [member visibility_range_fade_mode] is [constant VISIBILITY_RANGE_FADE_DISABLED], this acts as an hysteresis distance. If [member visibility_range_fade_mode] is [constant VISIBILITY_RANGE_FADE_SELF] or [constant VISIBILITY_RANGE_FADE_DEPENDENCIES], this acts as a fade transition distance and must be set to a value greater than [code]0.0[/code] for the effect to be noticeable. </member> - <member name="visibility_range_fade_mode" type="int" setter="set_visibility_range_fade_mode" getter="get_visibility_range_fade_mode" enum="GeometryInstance3D.VisibilityRangeFadeMode" default="0"> + <member name="visibility_range_fade_mode" type="int" setter="set_visibility_range_fade_mode" getter="get_visibility_range_fade_mode" enum="GeometryInstance3D.VisibilityRangeFadeMode"> Controls which instances will be faded when approaching the limits of the visibility range. See [enum VisibilityRangeFadeMode] for possible values. </member> </members> 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 2cbcfb8d9b..c3552c9f62 100644 --- a/doc/classes/Input.xml +++ b/doc/classes/Input.xml @@ -58,7 +58,7 @@ <argument index="1" name="exact_match" type="bool" default="false" /> <description> 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. - If [code]exact_match[/code] is [code]false[/code], it ignores the input modifiers for [InputEventKey] and [InputEventMouseButton] events, and the direction for [InputEventJoypadMotion] events. + If [code]exact_match[/code] is [code]false[/code], it ignores additional input modifiers for [InputEventKey] and [InputEventMouseButton] events, and the direction for [InputEventJoypadMotion] events. </description> </method> <method name="get_action_strength" qualifiers="const"> @@ -67,7 +67,7 @@ <argument index="1" name="exact_match" type="bool" default="false" /> <description> 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. - If [code]exact_match[/code] is [code]false[/code], it ignores the input modifiers for [InputEventKey] and [InputEventMouseButton] events, and the direction for [InputEventJoypadMotion] events. + If [code]exact_match[/code] is [code]false[/code], it ignores additional input modifiers for [InputEventKey] and [InputEventMouseButton] events, and the direction for [InputEventJoypadMotion] events. </description> </method> <method name="get_axis" qualifiers="const"> @@ -186,7 +186,7 @@ <description> 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. This is useful for code that needs to run only once when an action is pressed, instead of every frame while it's pressed. - If [code]exact_match[/code] is [code]false[/code], it ignores the input modifiers for [InputEventKey] and [InputEventMouseButton] events, and the direction for [InputEventJoypadMotion] events. + If [code]exact_match[/code] is [code]false[/code], it ignores additional input modifiers for [InputEventKey] and [InputEventMouseButton] events, and the direction for [InputEventJoypadMotion] events. [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. </description> </method> @@ -196,7 +196,7 @@ <argument index="1" name="exact_match" type="bool" default="false" /> <description> 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. - If [code]exact_match[/code] is [code]false[/code], it ignores the input modifiers for [InputEventKey] and [InputEventMouseButton] events, and the direction for [InputEventJoypadMotion] events. + If [code]exact_match[/code] is [code]false[/code], it ignores additional input modifiers for [InputEventKey] and [InputEventMouseButton] events, and the direction for [InputEventJoypadMotion] events. </description> </method> <method name="is_action_pressed" qualifiers="const"> @@ -205,7 +205,7 @@ <argument index="1" name="exact_match" type="bool" default="false" /> <description> 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. - If [code]exact_match[/code] is [code]false[/code], it ignores the input modifiers for [InputEventKey] and [InputEventMouseButton] events, and the direction for [InputEventJoypadMotion] events. + If [code]exact_match[/code] is [code]false[/code], it ignores additional input modifiers for [InputEventKey] and [InputEventMouseButton] events, and the direction for [InputEventJoypadMotion] events. [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. </description> </method> @@ -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/InputEvent.xml b/doc/classes/InputEvent.xml index cbed163f18..230ad04b33 100644 --- a/doc/classes/InputEvent.xml +++ b/doc/classes/InputEvent.xml @@ -33,7 +33,7 @@ <argument index="1" name="exact_match" type="bool" default="false" /> <description> 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]. - If [code]exact_match[/code] is [code]false[/code], it ignores the input modifiers for [InputEventKey] and [InputEventMouseButton] events, and the direction for [InputEventJoypadMotion] events. + If [code]exact_match[/code] is [code]false[/code], it ignores additional input modifiers for [InputEventKey] and [InputEventMouseButton] events, and the direction for [InputEventJoypadMotion] events. </description> </method> <method name="is_action" qualifiers="const"> @@ -42,7 +42,7 @@ <argument index="1" name="exact_match" type="bool" default="false" /> <description> Returns [code]true[/code] if this input event matches a pre-defined action of any type. - If [code]exact_match[/code] is [code]false[/code], it ignores the input modifiers for [InputEventKey] and [InputEventMouseButton] events, and the direction for [InputEventJoypadMotion] events. + If [code]exact_match[/code] is [code]false[/code], it ignores additional input modifiers for [InputEventKey] and [InputEventMouseButton] events, and the direction for [InputEventJoypadMotion] events. </description> </method> <method name="is_action_pressed" qualifiers="const"> @@ -52,7 +52,7 @@ <argument index="2" name="exact_match" type="bool" default="false" /> <description> 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]. - If [code]exact_match[/code] is [code]false[/code], it ignores the input modifiers for [InputEventKey] and [InputEventMouseButton] events, and the direction for [InputEventJoypadMotion] events. + If [code]exact_match[/code] is [code]false[/code], it ignores additional input modifiers for [InputEventKey] and [InputEventMouseButton] events, and the direction for [InputEventJoypadMotion] events. [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. </description> </method> @@ -62,7 +62,7 @@ <argument index="1" name="exact_match" type="bool" default="false" /> <description> Returns [code]true[/code] if the given action is released (i.e. not pressed). Not relevant for events of type [InputEventMouseMotion] or [InputEventScreenDrag]. - If [code]exact_match[/code] is [code]false[/code], it ignores the input modifiers for [InputEventKey] and [InputEventMouseButton] events, and the direction for [InputEventJoypadMotion] events. + If [code]exact_match[/code] is [code]false[/code], it ignores additional input modifiers for [InputEventKey] and [InputEventMouseButton] events, and the direction for [InputEventJoypadMotion] events. </description> </method> <method name="is_action_type" qualifiers="const"> @@ -83,7 +83,7 @@ <argument index="1" name="exact_match" type="bool" default="true" /> <description> 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. - If [code]exact_match[/code] is [code]false[/code], it ignores the input modifiers for [InputEventKey] and [InputEventMouseButton] events, and the direction for [InputEventJoypadMotion] events. + If [code]exact_match[/code] is [code]false[/code], it ignores additional input modifiers for [InputEventKey] and [InputEventMouseButton] events, and the direction for [InputEventJoypadMotion] events. </description> </method> <method name="is_pressed" qualifiers="const"> 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/InputMap.xml b/doc/classes/InputMap.xml index ac5921404c..61d54e85f8 100644 --- a/doc/classes/InputMap.xml +++ b/doc/classes/InputMap.xml @@ -86,7 +86,7 @@ <argument index="2" name="exact_match" type="bool" default="false" /> <description> 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. - If [code]exact_match[/code] is [code]false[/code], it ignores the input modifiers for [InputEventKey] and [InputEventMouseButton] events, and the direction for [InputEventJoypadMotion] events. + If [code]exact_match[/code] is [code]false[/code], it ignores additional input modifiers for [InputEventKey] and [InputEventMouseButton] events, and the direction for [InputEventJoypadMotion] events. </description> </method> <method name="get_actions"> diff --git a/doc/classes/LinkButton.xml b/doc/classes/LinkButton.xml index ad5a5a5518..3b03d86644 100644 --- a/doc/classes/LinkButton.xml +++ b/doc/classes/LinkButton.xml @@ -33,11 +33,9 @@ </method> </methods> <members> - <member name="focus_mode" type="int" setter="set_focus_mode" getter="get_focus_mode" overrides="Control" enum="Control.FocusMode" default="0" /> <member name="language" type="String" setter="set_language" getter="get_language" default=""""> Language code used for line-breaking and text shaping algorithms, if left empty current locale is used instead. </member> - <member name="mouse_default_cursor_shape" type="int" setter="set_default_cursor_shape" getter="get_default_cursor_shape" overrides="Control" enum="Control.CursorShape" default="2" /> <member name="structured_text_bidi_override" type="int" setter="set_structured_text_bidi_override" getter="get_structured_text_bidi_override" enum="Control.StructuredTextParser" default="0"> Set BiDi algorithm override for the structured text. </member> diff --git a/doc/classes/Mesh.xml b/doc/classes/Mesh.xml index e4116cddfe..2b24901fe2 100644 --- a/doc/classes/Mesh.xml +++ b/doc/classes/Mesh.xml @@ -176,7 +176,7 @@ </method> </methods> <members> - <member name="lightmap_size_hint" type="Vector2i" setter="set_lightmap_size_hint" getter="get_lightmap_size_hint" default="Vector2i(0, 0)"> + <member name="lightmap_size_hint" type="Vector2i" setter="set_lightmap_size_hint" getter="get_lightmap_size_hint"> Sets a hint to be used for lightmap resolution. </member> </members> diff --git a/doc/classes/MultiplayerPeerExtension.xml b/doc/classes/MultiplayerPeerExtension.xml index c5fe04cb32..bd11c76039 100644 --- a/doc/classes/MultiplayerPeerExtension.xml +++ b/doc/classes/MultiplayerPeerExtension.xml @@ -1,8 +1,10 @@ <?xml version="1.0" encoding="UTF-8" ?> <class name="MultiplayerPeerExtension" inherits="MultiplayerPeer" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> <brief_description> + Class that can be inherited to implement custom multiplayer API networking layers via GDExtension. </brief_description> <description> + This class is designed to be inherited from a GDExtension plugin to implement custom networking layers for the multiplayer API (such as WebRTC). All the methods below [b]must[/b] be implemented to have a working custom multiplayer implementation. See also [MultiplayerAPI]. </description> <tutorials> </tutorials> @@ -10,16 +12,19 @@ <method name="_get_available_packet_count" qualifiers="virtual const"> <return type="int" /> <description> + Called when the available packet count is internally requested by the [MultiplayerAPI]. </description> </method> <method name="_get_connection_status" qualifiers="virtual const"> <return type="int" /> <description> + Called when the connection status is requested on the [MultiplayerPeer] (see [method MultiplayerPeer.get_connection_status]). </description> </method> <method name="_get_max_packet_size" qualifiers="virtual const"> <return type="int" /> <description> + Called when the maximum allowed packet size (in bytes) is requested by the [MultiplayerAPI]. </description> </method> <method name="_get_packet" qualifiers="virtual"> @@ -27,41 +32,49 @@ <argument index="0" name="r_buffer" type="const uint8_t **" /> <argument index="1" name="r_buffer_size" type="int32_t*" /> <description> + Called when a packet needs to be received by the [MultiplayerAPI], with [code]p_buffer_size[/code] being the size of the binary [code]p_buffer[/code] in bytes. </description> </method> <method name="_get_packet_peer" qualifiers="virtual const"> <return type="int" /> <description> + Called when the ID of the [MultiplayerPeer] who sent the most recent packet is requested (see [method MultiplayerPeer.get_packet_peer]). </description> </method> <method name="_get_transfer_channel" qualifiers="virtual const"> <return type="int" /> <description> + Called when the transfer channel to use is read on this [MultiplayerPeer] (see [member MultiplayerPeer.transfer_channel]). </description> </method> <method name="_get_transfer_mode" qualifiers="virtual const"> <return type="int" /> <description> + Called when the transfer mode to use is read on this [MultiplayerPeer] (see [member MultiplayerPeer.transfer_mode]). </description> </method> <method name="_get_unique_id" qualifiers="virtual const"> <return type="int" /> <description> + Called when the unique ID of this [MultiplayerPeer] is requested (see [method MultiplayerPeer.get_unique_id]). </description> </method> <method name="_is_refusing_new_connections" qualifiers="virtual const"> <return type="bool" /> <description> + Called when the "refuse new connections" status is requested on this [MultiplayerPeer] (see [member MultiplayerPeer.refuse_new_connections]). </description> </method> <method name="_is_server" qualifiers="virtual const"> <return type="bool" /> <description> + Called when the "is server" status is requested on the [MultiplayerAPI]. See [method MultiplayerAPI.is_server]. </description> </method> <method name="_poll" qualifiers="virtual"> <return type="int" /> <description> + Called when the [MultiplayerAPI] is polled. See [method MultiplayerAPI.poll]. </description> </method> <method name="_put_packet" qualifiers="virtual"> @@ -69,30 +82,35 @@ <argument index="0" name="p_buffer" type="const uint8_t*" /> <argument index="1" name="p_buffer_size" type="int" /> <description> + Called when a packet needs to be sent by the [MultiplayerAPI], with [code]p_buffer_size[/code] being the size of the binary [code]p_buffer[/code] in bytes. </description> </method> <method name="_set_refuse_new_connections" qualifiers="virtual"> <return type="void" /> <argument index="0" name="p_enable" type="bool" /> <description> + Called when the "refuse new connections" status is set on this [MultiplayerPeer] (see [member MultiplayerPeer.refuse_new_connections]). </description> </method> <method name="_set_target_peer" qualifiers="virtual"> <return type="void" /> <argument index="0" name="p_peer" type="int" /> <description> + Called when the target peer to use is set for this [MultiplayerPeer] (see [method MultiplayerPeer.set_target_peer]). </description> </method> <method name="_set_transfer_channel" qualifiers="virtual"> <return type="void" /> <argument index="0" name="p_channel" type="int" /> <description> + Called when the channel to use is set for this [MultiplayerPeer] (see [member MultiplayerPeer.transfer_channel]). </description> </method> <method name="_set_transfer_mode" qualifiers="virtual"> <return type="void" /> <argument index="0" name="p_mode" type="int" /> <description> + Called when the transfer mode is set on this [MultiplayerPeer] (see [member MultiplayerPeer.transfer_mode]). </description> </method> </methods> 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 5291ecab08..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> @@ -133,7 +145,7 @@ [/csharp] [/codeblocks] If you need the child node to be added below a specific node in the list of children, use [method add_sibling] instead of this method. - [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/latest/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. + [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. </description> </method> <method name="add_sibling"> @@ -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). @@ -717,6 +743,7 @@ </member> <member name="owner" type="Node" setter="set_owner" getter="get_owner"> 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. + [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. </member> <member name="process_mode" type="int" setter="set_process_mode" getter="get_process_mode" enum="Node.ProcessMode" default="0"> Can be used to pause or unpause the node, or make the node paused based on the [SceneTree], or make it inherit the process mode from its parent (default). 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/OptionButton.xml b/doc/classes/OptionButton.xml index f65925f0f6..25e41116a2 100644 --- a/doc/classes/OptionButton.xml +++ b/doc/classes/OptionButton.xml @@ -6,6 +6,7 @@ <description> OptionButton is a type button that provides a selectable list of items when pressed. The item selected becomes the "current" item and is displayed as the button text. See also [BaseButton] which contains common properties and methods associated with this node. + [b]Note:[/b] Properties [member Button.text] and [member Button.icon] are automatically set based on the selected item. They shouldn't be changed manually. </description> <tutorials> </tutorials> @@ -74,6 +75,13 @@ Returns the text of the item at index [code]idx[/code]. </description> </method> + <method name="get_item_tooltip" qualifiers="const"> + <return type="String" /> + <argument index="0" name="idx" type="int" /> + <description> + Returns the tooltip of the item at index [code]idx[/code]. + </description> + </method> <method name="get_popup" qualifiers="const"> <return type="PopupMenu" /> <description> @@ -156,6 +164,14 @@ Sets the text of the item at index [code]idx[/code]. </description> </method> + <method name="set_item_tooltip"> + <return type="void" /> + <argument index="0" name="idx" type="int" /> + <argument index="1" name="tooltip" type="String" /> + <description> + Sets the tooltip of the item at index [code]idx[/code]. + </description> + </method> </methods> <members> <member name="action_mode" type="int" setter="set_action_mode" getter="get_action_mode" overrides="BaseButton" enum="BaseButton.ActionMode" default="0" /> diff --git a/doc/classes/ParticlesMaterial.xml b/doc/classes/ParticlesMaterial.xml index e05853e816..885bedbc04 100644 --- a/doc/classes/ParticlesMaterial.xml +++ b/doc/classes/ParticlesMaterial.xml @@ -325,19 +325,22 @@ <constant name="EMISSION_SHAPE_SPHERE" value="1" enum="EmissionShape"> Particles will be emitted in the volume of a sphere. </constant> - <constant name="EMISSION_SHAPE_BOX" value="2" enum="EmissionShape"> + <constant name="EMISSION_SHAPE_SPHERE_SURFACE" value="2" enum="EmissionShape"> + Particles will be emitted on the surface of a sphere. + </constant> + <constant name="EMISSION_SHAPE_BOX" value="3" enum="EmissionShape"> Particles will be emitted in the volume of a box. </constant> - <constant name="EMISSION_SHAPE_POINTS" value="3" enum="EmissionShape"> + <constant name="EMISSION_SHAPE_POINTS" value="4" enum="EmissionShape"> Particles will be emitted at a position determined by sampling a random point on the [member emission_point_texture]. Particle color will be modulated by [member emission_color_texture]. </constant> - <constant name="EMISSION_SHAPE_DIRECTED_POINTS" value="4" enum="EmissionShape"> + <constant name="EMISSION_SHAPE_DIRECTED_POINTS" value="5" enum="EmissionShape"> Particles will be emitted at a position determined by sampling a random point on the [member emission_point_texture]. Particle velocity and rotation will be set based on [member emission_normal_texture]. Particle color will be modulated by [member emission_color_texture]. </constant> - <constant name="EMISSION_SHAPE_RING" value="5" enum="EmissionShape"> + <constant name="EMISSION_SHAPE_RING" value="6" enum="EmissionShape"> Particles will be emitted in a ring or cylinder. </constant> - <constant name="EMISSION_SHAPE_MAX" value="6" enum="EmissionShape"> + <constant name="EMISSION_SHAPE_MAX" value="7" enum="EmissionShape"> Represents the size of the [enum EmissionShape] enum. </constant> <constant name="SUB_EMITTER_DISABLED" value="0" enum="SubEmitterMode"> diff --git a/doc/classes/PhysicsDirectBodyState3DExtension.xml b/doc/classes/PhysicsDirectBodyState3DExtension.xml new file mode 100644 index 0000000000..f0659f8f1b --- /dev/null +++ b/doc/classes/PhysicsDirectBodyState3DExtension.xml @@ -0,0 +1,260 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<class name="PhysicsDirectBodyState3DExtension" inherits="PhysicsDirectBodyState3D" 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_constant_central_force" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="force" type="Vector3" /> + <description> + </description> + </method> + <method name="_add_constant_force" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="force" type="Vector3" /> + <argument index="1" name="position" type="Vector3" /> + <description> + </description> + </method> + <method name="_add_constant_torque" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="torque" type="Vector3" /> + <description> + </description> + </method> + <method name="_apply_central_force" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="force" type="Vector3" /> + <description> + </description> + </method> + <method name="_apply_central_impulse" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="impulse" type="Vector3" /> + <description> + </description> + </method> + <method name="_apply_force" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="force" type="Vector3" /> + <argument index="1" name="position" type="Vector3" /> + <description> + </description> + </method> + <method name="_apply_impulse" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="impulse" type="Vector3" /> + <argument index="1" name="position" type="Vector3" /> + <description> + </description> + </method> + <method name="_apply_torque" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="torque" type="Vector3" /> + <description> + </description> + </method> + <method name="_apply_torque_impulse" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="impulse" type="Vector3" /> + <description> + </description> + </method> + <method name="_get_angular_velocity" qualifiers="virtual const"> + <return type="Vector3" /> + <description> + </description> + </method> + <method name="_get_center_of_mass" qualifiers="virtual const"> + <return type="Vector3" /> + <description> + </description> + </method> + <method name="_get_center_of_mass_local" qualifiers="virtual const"> + <return type="Vector3" /> + <description> + </description> + </method> + <method name="_get_constant_force" qualifiers="virtual const"> + <return type="Vector3" /> + <description> + </description> + </method> + <method name="_get_constant_torque" qualifiers="virtual const"> + <return type="Vector3" /> + <description> + </description> + </method> + <method name="_get_contact_collider" qualifiers="virtual const"> + <return type="RID" /> + <argument index="0" name="contact_idx" type="int" /> + <description> + </description> + </method> + <method name="_get_contact_collider_id" qualifiers="virtual const"> + <return type="int" /> + <argument index="0" name="contact_idx" type="int" /> + <description> + </description> + </method> + <method name="_get_contact_collider_object" qualifiers="virtual const"> + <return type="Object" /> + <argument index="0" name="contact_idx" type="int" /> + <description> + </description> + </method> + <method name="_get_contact_collider_position" qualifiers="virtual const"> + <return type="Vector3" /> + <argument index="0" name="contact_idx" type="int" /> + <description> + </description> + </method> + <method name="_get_contact_collider_shape" qualifiers="virtual const"> + <return type="int" /> + <argument index="0" name="contact_idx" type="int" /> + <description> + </description> + </method> + <method name="_get_contact_collider_velocity_at_position" qualifiers="virtual const"> + <return type="Vector3" /> + <argument index="0" name="contact_idx" type="int" /> + <description> + </description> + </method> + <method name="_get_contact_count" qualifiers="virtual const"> + <return type="int" /> + <description> + </description> + </method> + <method name="_get_contact_impulse" qualifiers="virtual const"> + <return type="float" /> + <argument index="0" name="contact_idx" type="int" /> + <description> + </description> + </method> + <method name="_get_contact_local_normal" qualifiers="virtual const"> + <return type="Vector3" /> + <argument index="0" name="contact_idx" type="int" /> + <description> + </description> + </method> + <method name="_get_contact_local_position" qualifiers="virtual const"> + <return type="Vector3" /> + <argument index="0" name="contact_idx" type="int" /> + <description> + </description> + </method> + <method name="_get_contact_local_shape" qualifiers="virtual const"> + <return type="int" /> + <argument index="0" name="contact_idx" type="int" /> + <description> + </description> + </method> + <method name="_get_inverse_inertia" qualifiers="virtual const"> + <return type="Vector3" /> + <description> + </description> + </method> + <method name="_get_inverse_mass" qualifiers="virtual const"> + <return type="float" /> + <description> + </description> + </method> + <method name="_get_linear_velocity" qualifiers="virtual const"> + <return type="Vector3" /> + <description> + </description> + </method> + <method name="_get_principal_inertia_axes" qualifiers="virtual const"> + <return type="Basis" /> + <description> + </description> + </method> + <method name="_get_space_state" qualifiers="virtual"> + <return type="PhysicsDirectSpaceState3D" /> + <description> + </description> + </method> + <method name="_get_step" qualifiers="virtual const"> + <return type="float" /> + <description> + </description> + </method> + <method name="_get_total_angular_damp" qualifiers="virtual const"> + <return type="float" /> + <description> + </description> + </method> + <method name="_get_total_gravity" qualifiers="virtual const"> + <return type="Vector3" /> + <description> + </description> + </method> + <method name="_get_total_linear_damp" qualifiers="virtual const"> + <return type="float" /> + <description> + </description> + </method> + <method name="_get_transform" qualifiers="virtual const"> + <return type="Transform3D" /> + <description> + </description> + </method> + <method name="_get_velocity_at_local_position" qualifiers="virtual const"> + <return type="Vector3" /> + <argument index="0" name="local_position" type="Vector3" /> + <description> + </description> + </method> + <method name="_integrate_forces" qualifiers="virtual"> + <return type="void" /> + <description> + </description> + </method> + <method name="_is_sleeping" qualifiers="virtual const"> + <return type="bool" /> + <description> + </description> + </method> + <method name="_set_angular_velocity" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="velocity" type="Vector3" /> + <description> + </description> + </method> + <method name="_set_constant_force" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="force" type="Vector3" /> + <description> + </description> + </method> + <method name="_set_constant_torque" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="torque" type="Vector3" /> + <description> + </description> + </method> + <method name="_set_linear_velocity" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="velocity" type="Vector3" /> + <description> + </description> + </method> + <method name="_set_sleep_state" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="enabled" type="bool" /> + <description> + </description> + </method> + <method name="_set_transform" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="transform" type="Transform3D" /> + <description> + </description> + </method> + </methods> +</class> diff --git a/doc/classes/PhysicsDirectSpaceState3DExtension.xml b/doc/classes/PhysicsDirectSpaceState3DExtension.xml new file mode 100644 index 0000000000..f150907963 --- /dev/null +++ b/doc/classes/PhysicsDirectSpaceState3DExtension.xml @@ -0,0 +1,99 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<class name="PhysicsDirectSpaceState3DExtension" inherits="PhysicsDirectSpaceState3D" 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="_cast_motion" qualifiers="virtual"> + <return type="bool" /> + <argument index="0" name="shape_rid" type="RID" /> + <argument index="1" name="transform" type="Transform3D" /> + <argument index="2" name="motion" type="Vector3" /> + <argument index="3" name="margin" type="float" /> + <argument index="4" name="collision_mask" type="int" /> + <argument index="5" name="collide_with_bodies" type="bool" /> + <argument index="6" name="collide_with_areas" type="bool" /> + <argument index="7" name="closest_safe" type="float*" /> + <argument index="8" name="closest_unsafe" type="float*" /> + <argument index="9" name="info" type="PhysicsServer3DExtensionShapeRestInfo*" /> + <description> + </description> + </method> + <method name="_collide_shape" qualifiers="virtual"> + <return type="bool" /> + <argument index="0" name="shape_rid" type="RID" /> + <argument index="1" name="transform" type="Transform3D" /> + <argument index="2" name="motion" type="Vector3" /> + <argument index="3" name="margin" type="float" /> + <argument index="4" name="collision_mask" type="int" /> + <argument index="5" name="collide_with_bodies" type="bool" /> + <argument index="6" name="collide_with_areas" type="bool" /> + <argument index="7" name="results" type="void*" /> + <argument index="8" name="max_results" type="int" /> + <argument index="9" name="result_count" type="int32_t*" /> + <description> + </description> + </method> + <method name="_get_closest_point_to_object_volume" qualifiers="virtual const"> + <return type="Vector3" /> + <argument index="0" name="object" type="RID" /> + <argument index="1" name="point" type="Vector3" /> + <description> + </description> + </method> + <method name="_intersect_point" qualifiers="virtual"> + <return type="int" /> + <argument index="0" name="position" type="Vector3" /> + <argument index="1" name="collision_mask" type="int" /> + <argument index="2" name="collide_with_bodies" type="bool" /> + <argument index="3" name="collide_with_areas" type="bool" /> + <argument index="4" name="results" type="PhysicsServer3DExtensionShapeResult*" /> + <argument index="5" name="max_results" type="int" /> + <description> + </description> + </method> + <method name="_intersect_ray" qualifiers="virtual"> + <return type="bool" /> + <argument index="0" name="from" type="Vector3" /> + <argument index="1" name="to" type="Vector3" /> + <argument index="2" name="collision_mask" type="int" /> + <argument index="3" name="collide_with_bodies" type="bool" /> + <argument index="4" name="collide_with_areas" type="bool" /> + <argument index="5" name="hit_from_inside" type="bool" /> + <argument index="6" name="hit_back_faces" type="bool" /> + <argument index="7" name="result" type="PhysicsServer3DExtensionRayResult*" /> + <description> + </description> + </method> + <method name="_intersect_shape" qualifiers="virtual"> + <return type="int" /> + <argument index="0" name="shape_rid" type="RID" /> + <argument index="1" name="transform" type="Transform3D" /> + <argument index="2" name="motion" type="Vector3" /> + <argument index="3" name="margin" type="float" /> + <argument index="4" name="collision_mask" type="int" /> + <argument index="5" name="collide_with_bodies" type="bool" /> + <argument index="6" name="collide_with_areas" type="bool" /> + <argument index="7" name="result_count" type="PhysicsServer3DExtensionShapeResult*" /> + <argument index="8" name="max_results" type="int" /> + <description> + </description> + </method> + <method name="_rest_info" qualifiers="virtual"> + <return type="bool" /> + <argument index="0" name="shape_rid" type="RID" /> + <argument index="1" name="transform" type="Transform3D" /> + <argument index="2" name="motion" type="Vector3" /> + <argument index="3" name="margin" type="float" /> + <argument index="4" name="collision_mask" type="int" /> + <argument index="5" name="collide_with_bodies" type="bool" /> + <argument index="6" name="collide_with_areas" type="bool" /> + <argument index="7" name="rest_info" type="PhysicsServer3DExtensionShapeRestInfo*" /> + <description> + </description> + </method> + </methods> +</class> diff --git a/doc/classes/PhysicsServer3D.xml b/doc/classes/PhysicsServer3D.xml index 7a9a0ac7c5..2e84287227 100644 --- a/doc/classes/PhysicsServer3D.xml +++ b/doc/classes/PhysicsServer3D.xml @@ -733,7 +733,7 @@ <return type="int" /> <argument index="0" name="process_info" type="int" enum="PhysicsServer3D.ProcessInfo" /> <description> - Returns an Info defined by the [enum ProcessInfo] input given. + Returns information about the current state of the 3D physics engine. See [enum ProcessInfo] for a list of available states. </description> </method> <method name="heightmap_shape_create"> diff --git a/doc/classes/PhysicsServer3DExtension.xml b/doc/classes/PhysicsServer3DExtension.xml new file mode 100644 index 0000000000..795f5b86dd --- /dev/null +++ b/doc/classes/PhysicsServer3DExtension.xml @@ -0,0 +1,897 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<class name="PhysicsServer3DExtension" inherits="PhysicsServer3D" 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="_area_add_shape" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="area" type="RID" /> + <argument index="1" name="shape" type="RID" /> + <argument index="2" name="transform" type="Transform3D" /> + <argument index="3" name="disabled" type="bool" /> + <description> + </description> + </method> + <method name="_area_attach_object_instance_id" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="area" type="RID" /> + <argument index="1" name="id" type="int" /> + <description> + </description> + </method> + <method name="_area_clear_shapes" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="area" type="RID" /> + <description> + </description> + </method> + <method name="_area_create" qualifiers="virtual"> + <return type="RID" /> + <description> + </description> + </method> + <method name="_area_get_object_instance_id" qualifiers="virtual const"> + <return type="int" /> + <argument index="0" name="area" type="RID" /> + <description> + </description> + </method> + <method name="_area_get_param" qualifiers="virtual const"> + <return type="Variant" /> + <argument index="0" name="area" type="RID" /> + <argument index="1" name="param" type="int" enum="PhysicsServer3D.AreaParameter" /> + <description> + </description> + </method> + <method name="_area_get_shape" qualifiers="virtual const"> + <return type="RID" /> + <argument index="0" name="area" type="RID" /> + <argument index="1" name="shape_idx" type="int" /> + <description> + </description> + </method> + <method name="_area_get_shape_count" qualifiers="virtual const"> + <return type="int" /> + <argument index="0" name="area" type="RID" /> + <description> + </description> + </method> + <method name="_area_get_shape_transform" qualifiers="virtual const"> + <return type="Transform3D" /> + <argument index="0" name="area" type="RID" /> + <argument index="1" name="shape_idx" type="int" /> + <description> + </description> + </method> + <method name="_area_get_space" qualifiers="virtual const"> + <return type="RID" /> + <argument index="0" name="area" type="RID" /> + <description> + </description> + </method> + <method name="_area_get_transform" qualifiers="virtual const"> + <return type="Transform3D" /> + <argument index="0" name="area" type="RID" /> + <description> + </description> + </method> + <method name="_area_remove_shape" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="area" type="RID" /> + <argument index="1" name="shape_idx" type="int" /> + <description> + </description> + </method> + <method name="_area_set_area_monitor_callback" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="area" type="RID" /> + <argument index="1" name="callback" type="Callable" /> + <description> + </description> + </method> + <method name="_area_set_collision_layer" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="area" type="RID" /> + <argument index="1" name="layer" type="int" /> + <description> + </description> + </method> + <method name="_area_set_collision_mask" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="area" type="RID" /> + <argument index="1" name="mask" type="int" /> + <description> + </description> + </method> + <method name="_area_set_monitor_callback" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="area" type="RID" /> + <argument index="1" name="callback" type="Callable" /> + <description> + </description> + </method> + <method name="_area_set_monitorable" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="area" type="RID" /> + <argument index="1" name="monitorable" type="bool" /> + <description> + </description> + </method> + <method name="_area_set_param" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="area" type="RID" /> + <argument index="1" name="param" type="int" enum="PhysicsServer3D.AreaParameter" /> + <argument index="2" name="value" type="Variant" /> + <description> + </description> + </method> + <method name="_area_set_ray_pickable" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="area" type="RID" /> + <argument index="1" name="enable" type="bool" /> + <description> + </description> + </method> + <method name="_area_set_shape" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="area" type="RID" /> + <argument index="1" name="shape_idx" type="int" /> + <argument index="2" name="shape" type="RID" /> + <description> + </description> + </method> + <method name="_area_set_shape_disabled" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="area" type="RID" /> + <argument index="1" name="shape_idx" type="int" /> + <argument index="2" name="disabled" type="bool" /> + <description> + </description> + </method> + <method name="_area_set_shape_transform" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="area" type="RID" /> + <argument index="1" name="shape_idx" type="int" /> + <argument index="2" name="transform" type="Transform3D" /> + <description> + </description> + </method> + <method name="_area_set_space" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="area" type="RID" /> + <argument index="1" name="space" type="RID" /> + <description> + </description> + </method> + <method name="_area_set_transform" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="area" type="RID" /> + <argument index="1" name="transform" type="Transform3D" /> + <description> + </description> + </method> + <method name="_body_add_collision_exception" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="body" type="RID" /> + <argument index="1" name="excepted_body" type="RID" /> + <description> + </description> + </method> + <method name="_body_add_constant_central_force" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="body" type="RID" /> + <argument index="1" name="force" type="Vector3" /> + <description> + </description> + </method> + <method name="_body_add_constant_force" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="body" type="RID" /> + <argument index="1" name="force" type="Vector3" /> + <argument index="2" name="position" type="Vector3" /> + <description> + </description> + </method> + <method name="_body_add_constant_torque" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="body" type="RID" /> + <argument index="1" name="torque" type="Vector3" /> + <description> + </description> + </method> + <method name="_body_add_shape" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="body" type="RID" /> + <argument index="1" name="shape" type="RID" /> + <argument index="2" name="transform" type="Transform3D" /> + <argument index="3" name="disabled" type="bool" /> + <description> + </description> + </method> + <method name="_body_apply_central_force" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="body" type="RID" /> + <argument index="1" name="force" type="Vector3" /> + <description> + </description> + </method> + <method name="_body_apply_central_impulse" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="body" type="RID" /> + <argument index="1" name="impulse" type="Vector3" /> + <description> + </description> + </method> + <method name="_body_apply_force" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="body" type="RID" /> + <argument index="1" name="force" type="Vector3" /> + <argument index="2" name="position" type="Vector3" /> + <description> + </description> + </method> + <method name="_body_apply_impulse" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="body" type="RID" /> + <argument index="1" name="impulse" type="Vector3" /> + <argument index="2" name="position" type="Vector3" /> + <description> + </description> + </method> + <method name="_body_apply_torque" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="body" type="RID" /> + <argument index="1" name="torque" type="Vector3" /> + <description> + </description> + </method> + <method name="_body_apply_torque_impulse" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="body" type="RID" /> + <argument index="1" name="impulse" type="Vector3" /> + <description> + </description> + </method> + <method name="_body_attach_object_instance_id" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="body" type="RID" /> + <argument index="1" name="id" type="int" /> + <description> + </description> + </method> + <method name="_body_clear_shapes" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="body" type="RID" /> + <description> + </description> + </method> + <method name="_body_create" qualifiers="virtual"> + <return type="RID" /> + <description> + </description> + </method> + <method name="_body_get_collision_layer" qualifiers="virtual const"> + <return type="int" /> + <argument index="0" name="body" type="RID" /> + <description> + </description> + </method> + <method name="_body_get_collision_mask" qualifiers="virtual const"> + <return type="int" /> + <argument index="0" name="body" type="RID" /> + <description> + </description> + </method> + <method name="_body_get_constant_force" qualifiers="virtual const"> + <return type="Vector3" /> + <argument index="0" name="body" type="RID" /> + <description> + </description> + </method> + <method name="_body_get_constant_torque" qualifiers="virtual const"> + <return type="Vector3" /> + <argument index="0" name="body" type="RID" /> + <description> + </description> + </method> + <method name="_body_get_direct_state" qualifiers="virtual"> + <return type="PhysicsDirectBodyState3D" /> + <argument index="0" name="body" type="RID" /> + <description> + </description> + </method> + <method name="_body_get_max_contacts_reported" qualifiers="virtual const"> + <return type="int" /> + <argument index="0" name="body" type="RID" /> + <description> + </description> + </method> + <method name="_body_get_mode" qualifiers="virtual const"> + <return type="int" enum="PhysicsServer3D.BodyMode" /> + <argument index="0" name="body" type="RID" /> + <description> + </description> + </method> + <method name="_body_get_object_instance_id" qualifiers="virtual const"> + <return type="int" /> + <argument index="0" name="body" type="RID" /> + <description> + </description> + </method> + <method name="_body_get_param" qualifiers="virtual const"> + <return type="Variant" /> + <argument index="0" name="body" type="RID" /> + <argument index="1" name="param" type="int" enum="PhysicsServer3D.BodyParameter" /> + <description> + </description> + </method> + <method name="_body_get_shape" qualifiers="virtual const"> + <return type="RID" /> + <argument index="0" name="body" type="RID" /> + <argument index="1" name="shape_idx" type="int" /> + <description> + </description> + </method> + <method name="_body_get_shape_count" qualifiers="virtual const"> + <return type="int" /> + <argument index="0" name="body" type="RID" /> + <description> + </description> + </method> + <method name="_body_get_shape_transform" qualifiers="virtual const"> + <return type="Transform3D" /> + <argument index="0" name="body" type="RID" /> + <argument index="1" name="shape_idx" type="int" /> + <description> + </description> + </method> + <method name="_body_get_space" qualifiers="virtual const"> + <return type="RID" /> + <argument index="0" name="body" type="RID" /> + <description> + </description> + </method> + <method name="_body_get_state" qualifiers="virtual const"> + <return type="Variant" /> + <argument index="0" name="body" type="RID" /> + <argument index="1" name="state" type="int" enum="PhysicsServer3D.BodyState" /> + <description> + </description> + </method> + <method name="_body_is_axis_locked" qualifiers="virtual const"> + <return type="bool" /> + <argument index="0" name="body" type="RID" /> + <argument index="1" name="axis" type="int" enum="PhysicsServer3D.BodyAxis" /> + <description> + </description> + </method> + <method name="_body_is_continuous_collision_detection_enabled" qualifiers="virtual const"> + <return type="bool" /> + <argument index="0" name="body" type="RID" /> + <description> + </description> + </method> + <method name="_body_is_omitting_force_integration" qualifiers="virtual const"> + <return type="bool" /> + <argument index="0" name="body" type="RID" /> + <description> + </description> + </method> + <method name="_body_remove_collision_exception" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="body" type="RID" /> + <argument index="1" name="excepted_body" type="RID" /> + <description> + </description> + </method> + <method name="_body_remove_shape" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="body" type="RID" /> + <argument index="1" name="shape_idx" type="int" /> + <description> + </description> + </method> + <method name="_body_reset_mass_properties" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="body" type="RID" /> + <description> + </description> + </method> + <method name="_body_set_axis_lock" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="body" type="RID" /> + <argument index="1" name="axis" type="int" enum="PhysicsServer3D.BodyAxis" /> + <argument index="2" name="lock" type="bool" /> + <description> + </description> + </method> + <method name="_body_set_axis_velocity" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="body" type="RID" /> + <argument index="1" name="axis_velocity" type="Vector3" /> + <description> + </description> + </method> + <method name="_body_set_collision_layer" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="body" type="RID" /> + <argument index="1" name="layer" type="int" /> + <description> + </description> + </method> + <method name="_body_set_collision_mask" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="body" type="RID" /> + <argument index="1" name="mask" type="int" /> + <description> + </description> + </method> + <method name="_body_set_constant_force" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="body" type="RID" /> + <argument index="1" name="force" type="Vector3" /> + <description> + </description> + </method> + <method name="_body_set_constant_torque" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="body" type="RID" /> + <argument index="1" name="torque" type="Vector3" /> + <description> + </description> + </method> + <method name="_body_set_enable_continuous_collision_detection" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="body" type="RID" /> + <argument index="1" name="enable" type="bool" /> + <description> + </description> + </method> + <method name="_body_set_force_integration_callback" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="body" type="RID" /> + <argument index="1" name="callable" type="Callable" /> + <argument index="2" name="userdata" type="Variant" /> + <description> + </description> + </method> + <method name="_body_set_max_contacts_reported" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="body" type="RID" /> + <argument index="1" name="amount" type="int" /> + <description> + </description> + </method> + <method name="_body_set_mode" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="body" type="RID" /> + <argument index="1" name="mode" type="int" enum="PhysicsServer3D.BodyMode" /> + <description> + </description> + </method> + <method name="_body_set_omit_force_integration" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="body" type="RID" /> + <argument index="1" name="enable" type="bool" /> + <description> + </description> + </method> + <method name="_body_set_param" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="body" type="RID" /> + <argument index="1" name="param" type="int" enum="PhysicsServer3D.BodyParameter" /> + <argument index="2" name="value" type="Variant" /> + <description> + </description> + </method> + <method name="_body_set_ray_pickable" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="body" type="RID" /> + <argument index="1" name="enable" type="bool" /> + <description> + </description> + </method> + <method name="_body_set_shape" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="body" type="RID" /> + <argument index="1" name="shape_idx" type="int" /> + <argument index="2" name="shape" type="RID" /> + <description> + </description> + </method> + <method name="_body_set_shape_disabled" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="body" type="RID" /> + <argument index="1" name="shape_idx" type="int" /> + <argument index="2" name="disabled" type="bool" /> + <description> + </description> + </method> + <method name="_body_set_shape_transform" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="body" type="RID" /> + <argument index="1" name="shape_idx" type="int" /> + <argument index="2" name="transform" type="Transform3D" /> + <description> + </description> + </method> + <method name="_body_set_space" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="body" type="RID" /> + <argument index="1" name="space" type="RID" /> + <description> + </description> + </method> + <method name="_body_set_state" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="body" type="RID" /> + <argument index="1" name="state" type="int" enum="PhysicsServer3D.BodyState" /> + <argument index="2" name="value" type="Variant" /> + <description> + </description> + </method> + <method name="_body_test_motion" qualifiers="virtual const"> + <return type="bool" /> + <argument index="0" name="body" type="RID" /> + <argument index="1" name="from" type="Transform3D" /> + <argument index="2" name="motion" type="Vector3" /> + <argument index="3" name="margin" type="float" /> + <argument index="4" name="max_collisions" type="int" /> + <argument index="5" name="collide_separation_ray" type="bool" /> + <argument index="6" name="result" type="PhysicsServer3DExtensionMotionResult*" /> + <description> + </description> + </method> + <method name="_box_shape_create" qualifiers="virtual"> + <return type="RID" /> + <description> + </description> + </method> + <method name="_capsule_shape_create" qualifiers="virtual"> + <return type="RID" /> + <description> + </description> + </method> + <method name="_concave_polygon_shape_create" qualifiers="virtual"> + <return type="RID" /> + <description> + </description> + </method> + <method name="_cone_twist_joint_get_param" qualifiers="virtual const"> + <return type="float" /> + <argument index="0" name="joint" type="RID" /> + <argument index="1" name="param" type="int" enum="PhysicsServer3D.ConeTwistJointParam" /> + <description> + </description> + </method> + <method name="_cone_twist_joint_set_param" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="joint" type="RID" /> + <argument index="1" name="param" type="int" enum="PhysicsServer3D.ConeTwistJointParam" /> + <argument index="2" name="value" type="float" /> + <description> + </description> + </method> + <method name="_convex_polygon_shape_create" qualifiers="virtual"> + <return type="RID" /> + <description> + </description> + </method> + <method name="_custom_shape_create" qualifiers="virtual"> + <return type="RID" /> + <description> + </description> + </method> + <method name="_cylinder_shape_create" qualifiers="virtual"> + <return type="RID" /> + <description> + </description> + </method> + <method name="_free_rid" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="rid" type="RID" /> + <description> + </description> + </method> + <method name="_generic_6dof_joint_get_flag" qualifiers="virtual const"> + <return type="bool" /> + <argument index="0" name="joint" type="RID" /> + <argument index="1" name="axis" type="int" enum="Vector3.Axis" /> + <argument index="2" name="flag" type="int" enum="PhysicsServer3D.G6DOFJointAxisFlag" /> + <description> + </description> + </method> + <method name="_generic_6dof_joint_get_param" qualifiers="virtual const"> + <return type="float" /> + <argument index="0" name="joint" type="RID" /> + <argument index="1" name="axis" type="int" enum="Vector3.Axis" /> + <argument index="2" name="param" type="int" enum="PhysicsServer3D.G6DOFJointAxisParam" /> + <description> + </description> + </method> + <method name="_generic_6dof_joint_set_flag" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="joint" type="RID" /> + <argument index="1" name="axis" type="int" enum="Vector3.Axis" /> + <argument index="2" name="flag" type="int" enum="PhysicsServer3D.G6DOFJointAxisFlag" /> + <argument index="3" name="enable" type="bool" /> + <description> + </description> + </method> + <method name="_generic_6dof_joint_set_param" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="joint" type="RID" /> + <argument index="1" name="axis" type="int" enum="Vector3.Axis" /> + <argument index="2" name="param" type="int" enum="PhysicsServer3D.G6DOFJointAxisParam" /> + <argument index="3" name="value" type="float" /> + <description> + </description> + </method> + <method name="_get_process_info" qualifiers="virtual"> + <return type="int" /> + <argument index="0" name="process_info" type="int" enum="PhysicsServer3D.ProcessInfo" /> + <description> + </description> + </method> + <method name="_heightmap_shape_create" qualifiers="virtual"> + <return type="RID" /> + <description> + </description> + </method> + <method name="_hinge_joint_get_flag" qualifiers="virtual const"> + <return type="bool" /> + <argument index="0" name="joint" type="RID" /> + <argument index="1" name="flag" type="int" enum="PhysicsServer3D.HingeJointFlag" /> + <description> + </description> + </method> + <method name="_hinge_joint_get_param" qualifiers="virtual const"> + <return type="float" /> + <argument index="0" name="joint" type="RID" /> + <argument index="1" name="param" type="int" enum="PhysicsServer3D.HingeJointParam" /> + <description> + </description> + </method> + <method name="_hinge_joint_set_flag" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="joint" type="RID" /> + <argument index="1" name="flag" type="int" enum="PhysicsServer3D.HingeJointFlag" /> + <argument index="2" name="enabled" type="bool" /> + <description> + </description> + </method> + <method name="_hinge_joint_set_param" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="joint" type="RID" /> + <argument index="1" name="param" type="int" enum="PhysicsServer3D.HingeJointParam" /> + <argument index="2" name="value" type="float" /> + <description> + </description> + </method> + <method name="_joint_clear" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="joint" type="RID" /> + <description> + </description> + </method> + <method name="_joint_create" qualifiers="virtual"> + <return type="RID" /> + <description> + </description> + </method> + <method name="_joint_get_solver_priority" qualifiers="virtual const"> + <return type="int" /> + <argument index="0" name="joint" type="RID" /> + <description> + </description> + </method> + <method name="_joint_get_type" qualifiers="virtual const"> + <return type="int" enum="PhysicsServer3D.JointType" /> + <argument index="0" name="joint" type="RID" /> + <description> + </description> + </method> + <method name="_joint_make_cone_twist" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="joint" type="RID" /> + <argument index="1" name="body_A" type="RID" /> + <argument index="2" name="local_ref_A" type="Transform3D" /> + <argument index="3" name="body_B" type="RID" /> + <argument index="4" name="local_ref_B" type="Transform3D" /> + <description> + </description> + </method> + <method name="_joint_make_generic_6dof" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="joint" type="RID" /> + <argument index="1" name="body_A" type="RID" /> + <argument index="2" name="local_ref_A" type="Transform3D" /> + <argument index="3" name="body_B" type="RID" /> + <argument index="4" name="local_ref_B" type="Transform3D" /> + <description> + </description> + </method> + <method name="_joint_make_hinge" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="joint" type="RID" /> + <argument index="1" name="body_A" type="RID" /> + <argument index="2" name="hinge_A" type="Transform3D" /> + <argument index="3" name="body_B" type="RID" /> + <argument index="4" name="hinge_B" type="Transform3D" /> + <description> + </description> + </method> + <method name="_joint_make_pin" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="joint" type="RID" /> + <argument index="1" name="body_A" type="RID" /> + <argument index="2" name="local_A" type="Vector3" /> + <argument index="3" name="body_B" type="RID" /> + <argument index="4" name="local_B" type="Vector3" /> + <description> + </description> + </method> + <method name="_joint_make_slider" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="joint" type="RID" /> + <argument index="1" name="body_A" type="RID" /> + <argument index="2" name="local_ref_A" type="Transform3D" /> + <argument index="3" name="body_B" type="RID" /> + <argument index="4" name="local_ref_B" type="Transform3D" /> + <description> + </description> + </method> + <method name="_joint_set_solver_priority" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="joint" type="RID" /> + <argument index="1" name="priority" type="int" /> + <description> + </description> + </method> + <method name="_pin_joint_get_local_a" qualifiers="virtual const"> + <return type="Vector3" /> + <argument index="0" name="joint" type="RID" /> + <description> + </description> + </method> + <method name="_pin_joint_get_local_b" qualifiers="virtual const"> + <return type="Vector3" /> + <argument index="0" name="joint" type="RID" /> + <description> + </description> + </method> + <method name="_pin_joint_get_param" qualifiers="virtual const"> + <return type="float" /> + <argument index="0" name="joint" type="RID" /> + <argument index="1" name="param" type="int" enum="PhysicsServer3D.PinJointParam" /> + <description> + </description> + </method> + <method name="_pin_joint_set_local_a" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="joint" type="RID" /> + <argument index="1" name="local_A" type="Vector3" /> + <description> + </description> + </method> + <method name="_pin_joint_set_local_b" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="joint" type="RID" /> + <argument index="1" name="local_B" type="Vector3" /> + <description> + </description> + </method> + <method name="_pin_joint_set_param" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="joint" type="RID" /> + <argument index="1" name="param" type="int" enum="PhysicsServer3D.PinJointParam" /> + <argument index="2" name="value" type="float" /> + <description> + </description> + </method> + <method name="_separation_ray_shape_create" qualifiers="virtual"> + <return type="RID" /> + <description> + </description> + </method> + <method name="_set_active" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="active" type="bool" /> + <description> + </description> + </method> + <method name="_shape_get_data" qualifiers="virtual const"> + <return type="Variant" /> + <argument index="0" name="shape" type="RID" /> + <description> + </description> + </method> + <method name="_shape_get_type" qualifiers="virtual const"> + <return type="int" enum="PhysicsServer3D.ShapeType" /> + <argument index="0" name="shape" type="RID" /> + <description> + </description> + </method> + <method name="_shape_set_data" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="shape" type="RID" /> + <argument index="1" name="data" type="Variant" /> + <description> + </description> + </method> + <method name="_slider_joint_get_param" qualifiers="virtual const"> + <return type="float" /> + <argument index="0" name="joint" type="RID" /> + <argument index="1" name="param" type="int" enum="PhysicsServer3D.SliderJointParam" /> + <description> + </description> + </method> + <method name="_slider_joint_set_param" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="joint" type="RID" /> + <argument index="1" name="param" type="int" enum="PhysicsServer3D.SliderJointParam" /> + <argument index="2" name="value" type="float" /> + <description> + </description> + </method> + <method name="_soft_body_get_bounds" qualifiers="virtual const"> + <return type="AABB" /> + <argument index="0" name="body" type="RID" /> + <description> + </description> + </method> + <method name="_space_create" qualifiers="virtual"> + <return type="RID" /> + <description> + </description> + </method> + <method name="_space_get_direct_state" qualifiers="virtual"> + <return type="PhysicsDirectSpaceState3D" /> + <argument index="0" name="space" type="RID" /> + <description> + </description> + </method> + <method name="_space_get_param" qualifiers="virtual const"> + <return type="float" /> + <argument index="0" name="space" type="RID" /> + <argument index="1" name="param" type="int" enum="PhysicsServer3D.SpaceParameter" /> + <description> + </description> + </method> + <method name="_space_is_active" qualifiers="virtual const"> + <return type="bool" /> + <argument index="0" name="space" type="RID" /> + <description> + </description> + </method> + <method name="_space_set_active" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="space" type="RID" /> + <argument index="1" name="active" type="bool" /> + <description> + </description> + </method> + <method name="_space_set_param" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="space" type="RID" /> + <argument index="1" name="param" type="int" enum="PhysicsServer3D.SpaceParameter" /> + <argument index="2" name="value" type="float" /> + <description> + </description> + </method> + <method name="_sphere_shape_create" qualifiers="virtual"> + <return type="RID" /> + <description> + </description> + </method> + <method name="_world_boundary_shape_create" qualifiers="virtual"> + <return type="RID" /> + <description> + </description> + </method> + </methods> +</class> diff --git a/doc/classes/PhysicsServer3DRenderingServerHandler.xml b/doc/classes/PhysicsServer3DRenderingServerHandler.xml new file mode 100644 index 0000000000..a40a2dd1c6 --- /dev/null +++ b/doc/classes/PhysicsServer3DRenderingServerHandler.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<class name="PhysicsServer3DRenderingServerHandler" 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> + <methods> + <method name="_set_aabb" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="aabb" type="AABB" /> + <description> + </description> + </method> + <method name="_set_normal" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="vertex_id" type="int" /> + <argument index="1" name="normals" type="const void*" /> + <description> + </description> + </method> + <method name="_set_vertex" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="vertex_id" type="int" /> + <argument index="1" name="vertices" type="const void*" /> + <description> + </description> + </method> + </methods> +</class> 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/PrimitiveMesh.xml b/doc/classes/PrimitiveMesh.xml index 329d81342b..7046a21f68 100644 --- a/doc/classes/PrimitiveMesh.xml +++ b/doc/classes/PrimitiveMesh.xml @@ -34,10 +34,10 @@ </method> </methods> <members> - <member name="custom_aabb" type="AABB" setter="set_custom_aabb" getter="get_custom_aabb" default="AABB(0, 0, 0, 0, 0, 0)"> + <member name="custom_aabb" type="AABB" setter="set_custom_aabb" getter="get_custom_aabb"> Overrides the [AABB] with one defined by user for use with frustum culling. Especially useful to avoid unexpected culling when using a shader to offset vertices. </member> - <member name="flip_faces" type="bool" setter="set_flip_faces" getter="get_flip_faces" default="false"> + <member name="flip_faces" type="bool" setter="set_flip_faces" getter="get_flip_faces"> If set, the order of the vertices in each triangle are reversed resulting in the backside of the mesh being drawn. This gives the same result as using [constant BaseMaterial3D.CULL_FRONT] in [member BaseMaterial3D.cull_mode]. </member> diff --git a/doc/classes/ProgressBar.xml b/doc/classes/ProgressBar.xml index 60b66a2493..1e9ab7c375 100644 --- a/doc/classes/ProgressBar.xml +++ b/doc/classes/ProgressBar.xml @@ -12,8 +12,6 @@ <member name="percent_visible" type="bool" setter="set_percent_visible" getter="is_percent_visible" default="true"> If [code]true[/code], the fill percentage is displayed on the bar. </member> - <member name="size_flags_vertical" type="int" setter="set_v_size_flags" getter="get_v_size_flags" overrides="Control" default="0" /> - <member name="step" type="float" setter="set_step" getter="get_step" overrides="Range" default="0.01" /> </members> <theme_items> <theme_item name="font_color" data_type="color" type="Color" default="Color(0.95, 0.95, 0.95, 1)"> diff --git a/doc/classes/ProjectSettings.xml b/doc/classes/ProjectSettings.xml index 068b2c7757..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> @@ -1655,11 +1663,8 @@ <member name="rendering/environment/ssao/fadeout_to" type="float" setter="" getter="" default="300.0"> Distance at which the screen-space ambient occlusion is fully faded out. Use this hide ambient occlusion at great distances. </member> - <member name="rendering/environment/ssao/half_size" type="bool" setter="" getter="" default="false"> - If [code]true[/code], screen-space ambient occlusion will be rendered at half size and then upscaled before being added to the scene. This is significantly faster but may miss small details. - </member> - <member name="rendering/environment/ssao/half_size.mobile" type="bool" setter="" getter="" default="true"> - Lower-end override for [member rendering/environment/ssao/half_size] on mobile devices, due to performance concerns. + <member name="rendering/environment/ssao/half_size" type="bool" setter="" getter="" default="true"> + If [code]true[/code], screen-space ambient occlusion will be rendered at half size and then upscaled before being added to the scene. This is significantly faster but may miss small details. If [code]false[/code], screen-space ambient occlusion will be rendered at full size. </member> <member name="rendering/environment/ssao/quality" type="int" setter="" getter="" default="2"> Sets the quality of the screen-space ambient occlusion effect. Higher values take more samples and so will result in better quality, at the cost of performance. Setting to [code]ULTRA[/code] will use the [member rendering/environment/ssao/adaptive_target] setting. @@ -1918,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"> @@ -1931,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/Quaternion.xml b/doc/classes/Quaternion.xml index 8a440d9024..48e6317b11 100644 --- a/doc/classes/Quaternion.xml +++ b/doc/classes/Quaternion.xml @@ -91,6 +91,11 @@ Returns the dot product of two quaternions. </description> </method> + <method name="exp" qualifiers="const"> + <return type="Quaternion" /> + <description> + </description> + </method> <method name="get_angle" qualifiers="const"> <return type="float" /> <description> @@ -138,6 +143,11 @@ Returns the length of the quaternion, squared. </description> </method> + <method name="log" qualifiers="const"> + <return type="Quaternion" /> + <description> + </description> + </method> <method name="normalized" qualifiers="const"> <return type="Quaternion" /> <description> diff --git a/doc/classes/Range.xml b/doc/classes/Range.xml index 8f23c54a2a..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> @@ -31,34 +31,34 @@ </method> </methods> <members> - <member name="allow_greater" type="bool" setter="set_allow_greater" getter="is_greater_allowed" default="false"> + <member name="allow_greater" type="bool" setter="set_allow_greater" getter="is_greater_allowed"> If [code]true[/code], [member value] may be greater than [member max_value]. </member> - <member name="allow_lesser" type="bool" setter="set_allow_lesser" getter="is_lesser_allowed" default="false"> + <member name="allow_lesser" type="bool" setter="set_allow_lesser" getter="is_lesser_allowed"> If [code]true[/code], [member value] may be less than [member min_value]. </member> - <member name="exp_edit" type="bool" setter="set_exp_ratio" getter="is_ratio_exp" default="false"> + <member name="exp_edit" type="bool" setter="set_exp_ratio" getter="is_ratio_exp"> If [code]true[/code], and [code]min_value[/code] is greater than 0, [code]value[/code] will be represented exponentially rather than linearly. </member> - <member name="max_value" type="float" setter="set_max" getter="get_max" default="100.0"> + <member name="max_value" type="float" setter="set_max" getter="get_max"> Maximum value. Range is clamped if [code]value[/code] is greater than [code]max_value[/code]. </member> - <member name="min_value" type="float" setter="set_min" getter="get_min" default="0.0"> + <member name="min_value" type="float" setter="set_min" getter="get_min"> Minimum value. Range is clamped if [code]value[/code] is less than [code]min_value[/code]. </member> - <member name="page" type="float" setter="set_page" getter="get_page" default="0.0"> + <member name="page" type="float" setter="set_page" getter="get_page"> Page size. Used mainly for [ScrollBar]. ScrollBar's length is its size multiplied by [code]page[/code] over the difference between [code]min_value[/code] and [code]max_value[/code]. </member> <member name="ratio" type="float" setter="set_as_ratio" getter="get_as_ratio"> The value mapped between 0 and 1. </member> - <member name="rounded" type="bool" setter="set_use_rounded_values" getter="is_using_rounded_values" default="false"> + <member name="rounded" type="bool" setter="set_use_rounded_values" getter="is_using_rounded_values"> If [code]true[/code], [code]value[/code] will always be rounded to the nearest integer. </member> - <member name="step" type="float" setter="set_step" getter="get_step" default="1.0"> + <member name="step" type="float" setter="set_step" getter="get_step"> If greater than 0, [code]value[/code] will always be rounded to a multiple of [code]step[/code]. If [code]rounded[/code] is also [code]true[/code], [code]value[/code] will first be rounded to a multiple of [code]step[/code] then rounded to the nearest integer. </member> - <member name="value" type="float" setter="set_value" getter="get_value" default="0.0"> + <member name="value" type="float" setter="set_value" getter="get_value"> Range's current value. </member> </members> diff --git a/doc/classes/ReflectionProbe.xml b/doc/classes/ReflectionProbe.xml index debbfd8d5d..ff66a89cb7 100644 --- a/doc/classes/ReflectionProbe.xml +++ b/doc/classes/ReflectionProbe.xml @@ -5,7 +5,7 @@ </brief_description> <description> Captures its surroundings as a cubemap, and stores versions of it with increasing levels of blur to simulate different material roughnesses. - The [ReflectionProbe] is used to create high-quality reflections at a low performance cost (when [member update_mode] is [constant UPDATE_ONCE]). [ReflectionProbe]s can be blended together and with the rest of the scene smoothly. [ReflectionProbe]s can also be combined with [VoxelGI], SDFGI ([member Environment.sdfgi_enabled]) and screen-space reflections ([member Environment.ss_reflections_enabled]) to get more accurate reflections in specific areas. [ReflectionProbe]s render all objects within their [member cull_mask], so updating them can be quite expensive. It is best to update them once with the important static objects and then leave them as-is. + The [ReflectionProbe] is used to create high-quality reflections at a low performance cost (when [member update_mode] is [constant UPDATE_ONCE]). [ReflectionProbe]s can be blended together and with the rest of the scene smoothly. [ReflectionProbe]s can also be combined with [VoxelGI], SDFGI ([member Environment.sdfgi_enabled]) and screen-space reflections ([member Environment.ssr_enabled]) to get more accurate reflections in specific areas. [ReflectionProbe]s render all objects within their [member cull_mask], so updating them can be quite expensive. It is best to update them once with the important static objects and then leave them as-is. [b]Note:[/b] Unlike [VoxelGI] and SDFGI, [ReflectionProbe]s only source their environment from a [WorldEnvironment] node. If you specify an [Environment] resource within a [Camera3D] node, it will be ignored by the [ReflectionProbe]. This can lead to incorrect lighting within the [ReflectionProbe]. </description> <tutorials> diff --git a/doc/classes/RenderingServer.xml b/doc/classes/RenderingServer.xml index 213dafa074..f1a15a08dd 100644 --- a/doc/classes/RenderingServer.xml +++ b/doc/classes/RenderingServer.xml @@ -1616,10 +1616,10 @@ Sets the shadow mode for this directional light. Equivalent to [member DirectionalLight3D.directional_shadow_mode]. See [enum LightDirectionalShadowMode] for options. </description> </method> - <method name="light_directional_set_sky_only"> + <method name="light_directional_set_sky_mode"> <return type="void" /> <argument index="0" name="light" type="RID" /> - <argument index="1" name="enable" type="bool" /> + <argument index="1" name="mode" type="int" enum="RenderingServer.LightDirectionalSkyMode" /> <description> If [code]true[/code], this light will not be used for anything except sky shaders. Use this for lights that impact your sky shader that you may want to hide from affecting the rest of the scene. For example, you may want to enable this when the sun in your sky shader falls below the horizon. </description> @@ -3795,6 +3795,15 @@ <constant name="LIGHT_DIRECTIONAL_SHADOW_PARALLEL_4_SPLITS" value="2" enum="LightDirectionalShadowMode"> Use 4 splits for shadow projection when using directional light. </constant> + <constant name="LIGHT_DIRECTIONAL_SKY_MODE_LIGHT_AND_SKY" value="0" enum="LightDirectionalSkyMode"> + Use DirectionalLight3D in both sky rendering and scene lighting. + </constant> + <constant name="LIGHT_DIRECTIONAL_SKY_MODE_LIGHT_ONLY" value="1" enum="LightDirectionalSkyMode"> + Only use DirectionalLight3D in scene lighting. + </constant> + <constant name="LIGHT_DIRECTIONAL_SKY_MODE_SKY_ONLY" value="2" enum="LightDirectionalSkyMode"> + Only use DirectionalLight3D in sky rendering. + </constant> <constant name="SHADOW_QUALITY_HARD" value="0" enum="ShadowQuality"> Lowest shadow filtering quality (fastest). Soft shadows are not available with this quality setting, which means the [member Light3D.shadow_blur] property is ignored if [member Light3D.light_size] and [member Light3D.light_angular_distance] is [code]0.0[/code]. [b]Note:[/b] The variable shadow blur performed by [member Light3D.light_size] and [member Light3D.light_angular_distance] is still effective when using hard shadow filtering. In this case, [member Light3D.shadow_blur] [i]is[/i] taken into account. However, the results will not be blurred, instead the blur amount is treated as a maximum radius for the penumbra. diff --git a/doc/classes/RichTextLabel.xml b/doc/classes/RichTextLabel.xml index d5e134fc60..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" /> @@ -256,6 +262,13 @@ Adds a [code][font_size][/code] tag to the tag stack. Overrides default font size for its duration. </description> </method> + <method name="push_hint"> + <return type="void" /> + <argument index="0" name="description" type="String" /> + <description> + Adds a [code][hint][/code] tag to the tag stack. Same as BBCode [code][hint=something]{text}[/hint][/code]. + </description> + </method> <method name="push_indent"> <return type="void" /> <argument index="0" name="level" type="int" /> @@ -424,6 +437,9 @@ If [code]true[/code], the label's height will be automatically updated to fit its content. [b]Note:[/b] This property is used as a workaround to fix issues with [RichTextLabel] in [Container]s, but it's unreliable in some cases and will be removed in future versions. </member> + <member name="hint_underlined" type="bool" setter="set_hint_underline" getter="is_hint_underlined" default="true"> + If [code]true[/code], the label underlines hint tags such as [code][hint=description]{text}[/hint][/code]. + </member> <member name="language" type="String" setter="set_language" getter="get_language" default=""""> Language code used for line-breaking and text shaping algorithms, if left empty current locale is used instead. </member> @@ -563,9 +579,11 @@ </constant> <constant name="ITEM_META" value="23" enum="ItemType"> </constant> - <constant name="ITEM_DROPCAP" value="24" enum="ItemType"> + <constant name="ITEM_HINT" value="24" enum="ItemType"> + </constant> + <constant name="ITEM_DROPCAP" value="25" enum="ItemType"> </constant> - <constant name="ITEM_CUSTOMFX" value="25" enum="ItemType"> + <constant name="ITEM_CUSTOMFX" value="26" enum="ItemType"> </constant> <constant name="VC_CHARS_BEFORE_SHAPING" value="0" enum="VisibleCharactersBehavior"> Trims text before the shaping. e.g, increasing [member visible_characters] value is visually identical to typing the text. 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/ScrollBar.xml b/doc/classes/ScrollBar.xml index 266787c9c8..d0dd69408e 100644 --- a/doc/classes/ScrollBar.xml +++ b/doc/classes/ScrollBar.xml @@ -12,8 +12,6 @@ <member name="custom_step" type="float" setter="set_custom_step" getter="get_custom_step" default="-1.0"> Overrides the step used when clicking increment and decrement buttons or when using arrow keys when the [ScrollBar] is focused. </member> - <member name="size_flags_vertical" type="int" setter="set_v_size_flags" getter="get_v_size_flags" overrides="Control" default="0" /> - <member name="step" type="float" setter="set_step" getter="get_step" overrides="Range" default="0.0" /> </members> <signals> <signal name="scrolling"> diff --git a/doc/classes/Slider.xml b/doc/classes/Slider.xml index 03f20b0aab..4139530db1 100644 --- a/doc/classes/Slider.xml +++ b/doc/classes/Slider.xml @@ -13,11 +13,9 @@ <member name="editable" type="bool" setter="set_editable" getter="is_editable" default="true"> If [code]true[/code], the slider can be interacted with. If [code]false[/code], the value can be changed only by code. </member> - <member name="focus_mode" type="int" setter="set_focus_mode" getter="get_focus_mode" overrides="Control" enum="Control.FocusMode" default="2" /> <member name="scrollable" type="bool" setter="set_scrollable" getter="is_scrollable" default="true"> If [code]true[/code], the value can be changed using the mouse wheel. </member> - <member name="size_flags_vertical" type="int" setter="set_v_size_flags" getter="get_v_size_flags" overrides="Control" default="0" /> <member name="tick_count" type="int" setter="set_ticks" getter="get_ticks" default="0"> Number of ticks displayed on the slider, including border ticks. Ticks are uniformly-distributed value markers. </member> 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 ea0bd2adb1..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> @@ -514,12 +513,30 @@ [/codeblock] </description> </method> + <method name="num_int64" qualifiers="static"> + <return type="String" /> + <argument index="0" name="number" type="int" /> + <argument index="1" name="base" type="int" default="10" /> + <argument index="2" name="capitalize_hex" type="bool" default="false" /> + <description> + Converts a signed [int] to a string representation of a number. + </description> + </method> <method name="num_scientific" qualifiers="static"> <return type="String" /> <argument index="0" name="number" type="float" /> <description> </description> </method> + <method name="num_uint64" qualifiers="static"> + <return type="String" /> + <argument index="0" name="number" type="int" /> + <argument index="1" name="base" type="int" default="10" /> + <argument index="2" name="capitalize_hex" type="bool" default="false" /> + <description> + Converts a unsigned [int] to a string representation of a number. + </description> + </method> <method name="pad_decimals" qualifiers="const"> <return type="String" /> <argument index="0" name="digits" type="int" /> @@ -615,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. @@ -660,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" @@ -887,6 +904,12 @@ <description> </description> </operator> + <operator name="operator +"> + <return type="String" /> + <argument index="0" name="right" type="int" /> + <description> + </description> + </operator> <operator name="operator <"> <return type="bool" /> <argument index="0" name="right" type="String" /> diff --git a/doc/classes/StyleBox.xml b/doc/classes/StyleBox.xml index bc2333f26a..74d02a84fd 100644 --- a/doc/classes/StyleBox.xml +++ b/doc/classes/StyleBox.xml @@ -107,21 +107,21 @@ </method> </methods> <members> - <member name="content_margin_bottom" type="float" setter="set_default_margin" getter="get_default_margin" default="-1.0"> + <member name="content_margin_bottom" type="float" setter="set_default_margin" getter="get_default_margin"> The bottom margin for the contents of this style box. Increasing this value reduces the space available to the contents from the bottom. If this value is negative, it is ignored and a child-specific margin is used instead. For example for [StyleBoxFlat] the border thickness (if any) is used instead. It is up to the code using this style box to decide what these contents are: for example, a [Button] respects this content margin for the textual contents of the button. [method get_margin] should be used to fetch this value as consumer instead of reading these properties directly. This is because it correctly respects negative values and the fallback mentioned above. </member> - <member name="content_margin_left" type="float" setter="set_default_margin" getter="get_default_margin" default="-1.0"> + <member name="content_margin_left" type="float" setter="set_default_margin" getter="get_default_margin"> The left margin for the contents of this style box. Increasing this value reduces the space available to the contents from the left. Refer to [member content_margin_bottom] for extra considerations. </member> - <member name="content_margin_right" type="float" setter="set_default_margin" getter="get_default_margin" default="-1.0"> + <member name="content_margin_right" type="float" setter="set_default_margin" getter="get_default_margin"> The right margin for the contents of this style box. Increasing this value reduces the space available to the contents from the right. Refer to [member content_margin_bottom] for extra considerations. </member> - <member name="content_margin_top" type="float" setter="set_default_margin" getter="get_default_margin" default="-1.0"> + <member name="content_margin_top" type="float" setter="set_default_margin" getter="get_default_margin"> The top margin for the contents of this style box. Increasing this value reduces the space available to the contents from the top. Refer to [member content_margin_bottom] for extra considerations. </member> diff --git a/doc/classes/TabBar.xml b/doc/classes/TabBar.xml index 698de783c0..aca5e2d7f3 100644 --- a/doc/classes/TabBar.xml +++ b/doc/classes/TabBar.xml @@ -223,7 +223,7 @@ <member name="select_with_rmb" type="bool" setter="set_select_with_rmb" getter="get_select_with_rmb" default="false"> If [code]true[/code], enables selecting a tab with the right mouse button. </member> - <member name="tab_alignment" type="int" setter="set_tab_alignment" getter="get_tab_alignment" enum="TabBar.AlignmentMode" default="1"> + <member name="tab_alignment" type="int" setter="set_tab_alignment" getter="get_tab_alignment" enum="TabBar.AlignmentMode" default="0"> Sets the position at which tabs will be placed. See [enum AlignmentMode] for details. </member> <member name="tab_close_display_policy" type="int" setter="set_tab_close_display_policy" getter="get_tab_close_display_policy" enum="TabBar.CloseButtonDisplayPolicy" default="0"> @@ -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 bdc73ee3c4..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" /> @@ -138,7 +153,7 @@ <member name="drag_to_rearrange_enabled" type="bool" setter="set_drag_to_rearrange_enabled" getter="get_drag_to_rearrange_enabled" default="false"> If [code]true[/code], tabs can be rearranged with mouse drag. </member> - <member name="tab_alignment" type="int" setter="set_tab_alignment" getter="get_tab_alignment" enum="TabBar.AlignmentMode" default="1"> + <member name="tab_alignment" type="int" setter="set_tab_alignment" getter="get_tab_alignment" enum="TabBar.AlignmentMode" default="0"> Sets the position at which tabs will be placed. See [enum TabBar.AlignmentMode] for details. </member> <member name="tabs_rearrange_group" type="int" setter="set_tabs_rearrange_group" getter="get_tabs_rearrange_group" default="-1"> @@ -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/TextServer.xml b/doc/classes/TextServer.xml index 020c30b9cd..b4339bef11 100644 --- a/doc/classes/TextServer.xml +++ b/doc/classes/TextServer.xml @@ -57,7 +57,7 @@ <return type="void" /> <argument index="0" name="font_rid" type="RID" /> <description> - Removes all font sizes from the cache entry + Removes all font sizes from the cache entry. </description> </method> <method name="font_clear_textures"> @@ -509,7 +509,7 @@ <argument index="1" name="size" type="Vector2i" /> <argument index="2" name="index" type="int" /> <description> - Renders specified glyph the the font cache texture. + Renders specified glyph to the font cache texture. </description> </method> <method name="font_render_range"> @@ -1112,7 +1112,7 @@ <return type="Array" /> <argument index="0" name="shaped" type="RID" /> <description> - Returns text glyphs in the visual order. + Returns an array of glyphs in the visual order. </description> </method> <method name="shaped_text_get_grapheme_bounds" qualifiers="const"> @@ -1177,7 +1177,7 @@ <return type="RID" /> <argument index="0" name="shaped" type="RID" /> <description> - Sets text orientation. + Returns the parent buffer from which the substring originates. </description> </method> <method name="shaped_text_get_preserve_control" qualifiers="const"> @@ -1222,7 +1222,7 @@ <return type="int" /> <argument index="0" name="shaped" type="RID" /> <description> - Returns position of the trim. + Returns the position of the overrun trim. </description> </method> <method name="shaped_text_get_underline_position" qualifiers="const"> @@ -1420,6 +1420,7 @@ <argument index="0" name="string" type="String" /> <description> Strips diacritics from the string. + [b]Note:[/b] The result may be longer or shorter than the original. </description> </method> <method name="tag_to_name" qualifiers="const"> @@ -1544,8 +1545,8 @@ </constant> <constant name="SUBPIXEL_POSITIONING_AUTO" value="1" enum="SubpixelPositioning"> Glyph horizontal position is rounded based on font size. - - To one quarter of the pixel size if font size is smaller or equal to [code]16[/code]. - - To one half of the pixel size if font size is smaller or equal to [code]20[/code]. + - To one quarter of the pixel size if font size is smaller or equal to [constant SUBPIXEL_POSITIONING_ONE_QUARTER_MAX_SIZE]. + - To one half of the pixel size if font size is smaller or equal to [constant SUBPIXEL_POSITIONING_ONE_HALF_MAX_SIZE]. - To the whole pixel size for larger fonts. </constant> <constant name="SUBPIXEL_POSITIONING_ONE_HALF" value="2" enum="SubpixelPositioning"> @@ -1554,31 +1555,49 @@ <constant name="SUBPIXEL_POSITIONING_ONE_QUARTER" value="3" enum="SubpixelPositioning"> Glyph horizontal position is rounded to one quarter of the pixel size, each glyph is rasterized up to four times. </constant> - <constant name="FEATURE_BIDI_LAYOUT" value="1" enum="Feature"> - TextServer supports bidirectional layouts. + <constant name="SUBPIXEL_POSITIONING_ONE_HALF_MAX_SIZE" value="20" enum="SubpixelPositioning"> + Maximum font size which will use one half of the pixel subpixel positioning in [constants SUBPIXEL_POSITIONING_AUTO] mode. + </constant> + <constant name="SUBPIXEL_POSITIONING_ONE_QUARTER_MAX_SIZE" value="16" enum="SubpixelPositioning"> + Maximum font size which will use one quarter of the pixel subpixel positioning in [constants SUBPIXEL_POSITIONING_AUTO] mode. + </constant> + <constant name="FEATURE_SIMPLE_LAYOUT" value="1" enum="Feature"> + TextServer supports simple text layouts. + </constant> + <constant name="FEATURE_BIDI_LAYOUT" value="2" enum="Feature"> + TextServer supports bidirectional text layouts. </constant> - <constant name="FEATURE_VERTICAL_LAYOUT" value="2" enum="Feature"> + <constant name="FEATURE_VERTICAL_LAYOUT" value="4" enum="Feature"> TextServer supports vertical layouts. </constant> - <constant name="FEATURE_SHAPING" value="4" enum="Feature"> + <constant name="FEATURE_SHAPING" value="8" enum="Feature"> TextServer supports complex text shaping. </constant> - <constant name="FEATURE_KASHIDA_JUSTIFICATION" value="8" enum="Feature"> + <constant name="FEATURE_KASHIDA_JUSTIFICATION" value="16" enum="Feature"> TextServer supports justification using kashidas. </constant> - <constant name="FEATURE_BREAK_ITERATORS" value="16" enum="Feature"> + <constant name="FEATURE_BREAK_ITERATORS" value="32" enum="Feature"> TextServer supports complex line/word breaking rules (e.g. dictionary based). </constant> - <constant name="FEATURE_FONT_SYSTEM" value="32" enum="Feature"> + <constant name="FEATURE_FONT_BITMAP" value="64" enum="Feature"> + TextServer supports loading bitmap fonts. + </constant> + <constant name="FEATURE_FONT_DYNAMIC" value="128" enum="Feature"> + TextServer supports loading dynamic (TrueType, OpeType, etc.) fonts. + </constant> + <constant name="FEATURE_FONT_MSDF" value="256" enum="Feature"> + TextServer supports multichannel signed distance field dynamic font rendering. + </constant> + <constant name="FEATURE_FONT_SYSTEM" value="512" enum="Feature"> TextServer supports loading system fonts. </constant> - <constant name="FEATURE_FONT_VARIABLE" value="64" enum="Feature"> + <constant name="FEATURE_FONT_VARIABLE" value="1024" enum="Feature"> TextServer supports variable fonts. </constant> - <constant name="FEATURE_CONTEXT_SENSITIVE_CASE_CONVERSION" value="128" enum="Feature"> + <constant name="FEATURE_CONTEXT_SENSITIVE_CASE_CONVERSION" value="2048" enum="Feature"> TextServer supports locale dependent and context sensitive case conversion. </constant> - <constant name="FEATURE_USE_SUPPORT_DATA" value="256" enum="Feature"> + <constant name="FEATURE_USE_SUPPORT_DATA" value="4096" enum="Feature"> TextServer require external data file for some features. </constant> <constant name="CONTOUR_CURVE_TAG_ON" value="1" enum="ContourPointTag"> diff --git a/doc/classes/TextServerDummy.xml b/doc/classes/TextServerDummy.xml new file mode 100644 index 0000000000..b872e93fd6 --- /dev/null +++ b/doc/classes/TextServerDummy.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<class name="TextServerDummy" inherits="TextServerExtension" 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/TextServerExtension.xml b/doc/classes/TextServerExtension.xml index 5ffd80bf63..e7c5edd266 100644 --- a/doc/classes/TextServerExtension.xml +++ b/doc/classes/TextServerExtension.xml @@ -9,23 +9,21 @@ <tutorials> </tutorials> <methods> - <method name="_create_font" qualifiers="virtual"> + <method name="create_font" qualifiers="virtual"> <return type="RID" /> <description> - Creates new, empty font cache entry resource. To free the resulting resourec, use [method _free] method. + Creates new, empty font cache entry resource. To free the resulting resourec, use [method free_rid] method. </description> </method> - <method name="_create_shaped_text" qualifiers="virtual"> + <method name="create_shaped_text" qualifiers="virtual"> <return type="RID" /> <argument index="0" name="direction" type="int" enum="TextServer.Direction" /> <argument index="1" name="orientation" type="int" enum="TextServer.Orientation" /> <description> - Creates new buffer for complex text layout, with the given [code]direction[/code] and [code]orientation[/code]. To free the resulting buffer, use [method _free] method. - [b]Note:[/b] Direction is ignored if server does not support [code]FEATURE_BIDI_LAYOUT[/code] feature. - [b]Note:[/b] Orientation is ignored if server does not support [code]FEATURE_VERTICAL_LAYOUT[/code] feature. + Creates new buffer for complex text layout, with the given [code]direction[/code] and [code]orientation[/code]. To free the resulting buffer, use [method free_rid] method. </description> </method> - <method name="_draw_hex_code_box" qualifiers="virtual const"> + <method name="draw_hex_code_box" qualifiers="virtual const"> <return type="void" /> <argument index="0" name="canvas" type="RID" /> <argument index="1" name="size" type="int" /> @@ -34,18 +32,18 @@ <argument index="4" name="color" type="Color" /> <description> Draws box displaying character hexadecimal code. Used for replacing missing characters. + [b]Note:[/b] If this method is not implemented in the plugin, the default implementation will be used. </description> </method> - <method name="_font_clear_glyphs" qualifiers="virtual"> + <method name="font_clear_glyphs" qualifiers="virtual"> <return type="void" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="size" type="Vector2i" /> <description> Removes all rendered glyphs information from the cache entry. - [b]Note:[/b] This function will not remove textures associated with the glyphs, use [method _font_remove_texture] to remove them manually. </description> </method> - <method name="_font_clear_kerning_map" qualifiers="virtual"> + <method name="font_clear_kerning_map" qualifiers="virtual"> <return type="void" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="size" type="int" /> @@ -53,23 +51,22 @@ Removes all kerning overrides. </description> </method> - <method name="_font_clear_size_cache" qualifiers="virtual"> + <method name="font_clear_size_cache" qualifiers="virtual"> <return type="void" /> <argument index="0" name="font_rid" type="RID" /> <description> - Removes all font sizes from the cache entry + Removes all font sizes from the cache entry. </description> </method> - <method name="_font_clear_textures" qualifiers="virtual"> + <method name="font_clear_textures" qualifiers="virtual"> <return type="void" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="size" type="Vector2i" /> <description> Removes all textures from font cache entry. - [b]Note:[/b] This function will not remove glyphs associated with the texture, use [method _font_remove_glyph] to remove them manually. </description> </method> - <method name="_font_draw_glyph" qualifiers="virtual const"> + <method name="font_draw_glyph" qualifiers="virtual const"> <return type="void" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="canvas" type="RID" /> @@ -79,10 +76,9 @@ <argument index="5" name="color" type="Color" /> <description> Draws single glyph into a canvas item at the position, using [code]font_rid[/code] at the size [code]size[/code]. - [b]Note:[/b] Glyph index is specific to the font, use glyphs indices returned by [method _shaped_text_get_glyphs] or [method _font_get_glyph_index]. </description> </method> - <method name="_font_draw_glyph_outline" qualifiers="virtual const"> + <method name="font_draw_glyph_outline" qualifiers="virtual const"> <return type="void" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="canvas" type="RID" /> @@ -93,10 +89,9 @@ <argument index="6" name="color" type="Color" /> <description> Draws single glyph outline of size [code]outline_size[/code] into a canvas item at the position, using [code]font_rid[/code] at the size [code]size[/code]. - [b]Note:[/b] Glyph index is specific to the font, use glyphs indices returned by [method _shaped_text_get_glyphs] or [method _font_get_glyph_index]. </description> </method> - <method name="_font_get_ascent" qualifiers="virtual const"> + <method name="font_get_ascent" qualifiers="virtual const"> <return type="float" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="size" type="int" /> @@ -104,7 +99,7 @@ Returns the font ascent (number of pixels above the baseline). </description> </method> - <method name="_font_get_descent" qualifiers="virtual const"> + <method name="font_get_descent" qualifiers="virtual const"> <return type="float" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="size" type="int" /> @@ -112,37 +107,36 @@ Returns the font descent (number of pixels below the baseline). </description> </method> - <method name="_font_get_embolden" qualifiers="virtual const"> + <method name="font_get_embolden" qualifiers="virtual const"> <return type="float" /> <argument index="0" name="font_rid" type="RID" /> <description> Returns font embolden strength. </description> </method> - <method name="_font_get_fixed_size" qualifiers="virtual const"> + <method name="font_get_fixed_size" qualifiers="virtual const"> <return type="int" /> <argument index="0" name="font_rid" type="RID" /> <description> Returns bitmap font fixed size. </description> </method> - <method name="_font_get_global_oversampling" qualifiers="virtual const"> + <method name="font_get_global_oversampling" qualifiers="virtual const"> <return type="float" /> <description> Returns the font oversampling factor, shared by all fonts in the TextServer. </description> </method> - <method name="_font_get_glyph_advance" qualifiers="virtual const"> + <method name="font_get_glyph_advance" qualifiers="virtual const"> <return type="Vector2" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="size" type="int" /> <argument index="2" name="glyph" type="int" /> <description> Returns glyph advance (offset of the next glyph). - [b]Note:[/b] Advance for glyphs outlines is the same as the base glyph advance and is not saved. </description> </method> - <method name="_font_get_glyph_contours" qualifiers="virtual const"> + <method name="font_get_glyph_contours" qualifiers="virtual const"> <return type="Dictionary" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="size" type="int" /> @@ -154,7 +148,7 @@ [code]orientation[/code] - [bool], contour orientation. If [code]true[/code], clockwise contours must be filled. </description> </method> - <method name="_font_get_glyph_index" qualifiers="virtual const"> + <method name="font_get_glyph_index" qualifiers="virtual const"> <return type="int" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="size" type="int" /> @@ -164,7 +158,7 @@ Returns the glyph index of a [code]char[/code], optionally modified by the [code]variation_selector[/code]. </description> </method> - <method name="_font_get_glyph_list" qualifiers="virtual const"> + <method name="font_get_glyph_list" qualifiers="virtual const"> <return type="Array" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="size" type="Vector2i" /> @@ -172,7 +166,7 @@ Returns list of rendered glyphs in the cache entry. </description> </method> - <method name="_font_get_glyph_offset" qualifiers="virtual const"> + <method name="font_get_glyph_offset" qualifiers="virtual const"> <return type="Vector2" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="size" type="Vector2i" /> @@ -181,7 +175,7 @@ Returns glyph offset from the baseline. </description> </method> - <method name="_font_get_glyph_size" qualifiers="virtual const"> + <method name="font_get_glyph_size" qualifiers="virtual const"> <return type="Vector2" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="size" type="Vector2i" /> @@ -190,7 +184,7 @@ Returns size of the glyph. </description> </method> - <method name="_font_get_glyph_texture_idx" qualifiers="virtual const"> + <method name="font_get_glyph_texture_idx" qualifiers="virtual const"> <return type="int" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="size" type="Vector2i" /> @@ -199,7 +193,7 @@ Returns index of the cache texture containing the glyph. </description> </method> - <method name="_font_get_glyph_uv_rect" qualifiers="virtual const"> + <method name="font_get_glyph_uv_rect" qualifiers="virtual const"> <return type="Rect2" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="size" type="Vector2i" /> @@ -208,14 +202,14 @@ Returns rectangle in the cache texture containing the glyph. </description> </method> - <method name="_font_get_hinting" qualifiers="virtual const"> + <method name="font_get_hinting" qualifiers="virtual const"> <return type="int" enum="TextServer.Hinting" /> <argument index="0" name="font_rid" type="RID" /> <description> Returns the font hinting mode. Used by dynamic fonts only. </description> </method> - <method name="_font_get_kerning" qualifiers="virtual const"> + <method name="font_get_kerning" qualifiers="virtual const"> <return type="Vector2" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="size" type="int" /> @@ -224,7 +218,7 @@ Returns kerning for the pair of glyphs. </description> </method> - <method name="_font_get_kerning_list" qualifiers="virtual const"> + <method name="font_get_kerning_list" qualifiers="virtual const"> <return type="Array" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="size" type="int" /> @@ -232,7 +226,7 @@ Returns list of the kerning overrides. </description> </method> - <method name="_font_get_language_support_override" qualifiers="virtual"> + <method name="font_get_language_support_override" qualifiers="virtual"> <return type="bool" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="language" type="String" /> @@ -240,49 +234,49 @@ Returns [code]true[/code] if support override is enabled for the [code]language[/code]. </description> </method> - <method name="_font_get_language_support_overrides" qualifiers="virtual"> + <method name="font_get_language_support_overrides" qualifiers="virtual"> <return type="PackedStringArray" /> <argument index="0" name="font_rid" type="RID" /> <description> Returns list of language support overrides. </description> </method> - <method name="_font_get_msdf_pixel_range" qualifiers="virtual const"> + <method name="font_get_msdf_pixel_range" qualifiers="virtual const"> <return type="int" /> <argument index="0" name="font_rid" type="RID" /> <description> - Return the width of the range around the shape between the minimum and maximum representable signed distance. + Returns the width of the range around the shape between the minimum and maximum representable signed distance. </description> </method> - <method name="_font_get_msdf_size" qualifiers="virtual const"> + <method name="font_get_msdf_size" qualifiers="virtual const"> <return type="int" /> <argument index="0" name="font_rid" type="RID" /> <description> Returns source font size used to generate MSDF textures. </description> </method> - <method name="_font_get_name" qualifiers="virtual const"> + <method name="font_get_name" qualifiers="virtual const"> <return type="String" /> <argument index="0" name="font_rid" type="RID" /> <description> Returns font family name. </description> </method> - <method name="_font_get_opentype_feature_overrides" qualifiers="virtual const"> + <method name="font_get_opentype_feature_overrides" qualifiers="virtual const"> <return type="Dictionary" /> <argument index="0" name="font_rid" type="RID" /> <description> Returns font OpenType feature set override. </description> </method> - <method name="_font_get_oversampling" qualifiers="virtual const"> + <method name="font_get_oversampling" qualifiers="virtual const"> <return type="float" /> <argument index="0" name="font_rid" type="RID" /> <description> Returns font oversampling factor, if set to [code]0.0[/code] global oversampling factor is used instead. Used by dynamic fonts only. </description> </method> - <method name="_font_get_scale" qualifiers="virtual const"> + <method name="font_get_scale" qualifiers="virtual const"> <return type="float" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="size" type="int" /> @@ -290,7 +284,7 @@ Returns scaling factor of the color bitmap font. </description> </method> - <method name="_font_get_script_support_override" qualifiers="virtual"> + <method name="font_get_script_support_override" qualifiers="virtual"> <return type="bool" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="script" type="String" /> @@ -298,21 +292,21 @@ Returns [code]true[/code] if support override is enabled for the [code]script[/code]. </description> </method> - <method name="_font_get_script_support_overrides" qualifiers="virtual"> + <method name="font_get_script_support_overrides" qualifiers="virtual"> <return type="PackedStringArray" /> <argument index="0" name="font_rid" type="RID" /> <description> Returns list of script support overrides. </description> </method> - <method name="_font_get_size_cache_list" qualifiers="virtual const"> + <method name="font_get_size_cache_list" qualifiers="virtual const"> <return type="Array" /> <argument index="0" name="font_rid" type="RID" /> <description> - Return list of the font sizes in the cache. Each size is [code]Vector2i[/code] with font size and outline size. + Returns list of the font sizes in the cache. Each size is [code]Vector2i[/code] with font size and outline size. </description> </method> - <method name="_font_get_spacing" qualifiers="virtual const"> + <method name="font_get_spacing" qualifiers="virtual const"> <return type="int" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="size" type="int" /> @@ -321,35 +315,35 @@ Returns extra spacing added between glyphs in pixels. </description> </method> - <method name="_font_get_style" qualifiers="virtual const"> + <method name="font_get_style" qualifiers="virtual const"> <return type="int" /> <argument index="0" name="font_rid" type="RID" /> <description> Returns font style flags, see [enum TextServer.FontStyle]. </description> </method> - <method name="_font_get_style_name" qualifiers="virtual const"> + <method name="font_get_style_name" qualifiers="virtual const"> <return type="String" /> <argument index="0" name="font_rid" type="RID" /> <description> Returns font style name. </description> </method> - <method name="_font_get_subpixel_positioning" qualifiers="virtual const"> + <method name="font_get_subpixel_positioning" qualifiers="virtual const"> <return type="int" enum="TextServer.SubpixelPositioning" /> <argument index="0" name="font_rid" type="RID" /> <description> Returns font sub-pixel glyph positioning mode. </description> </method> - <method name="_font_get_supported_chars" qualifiers="virtual const"> + <method name="font_get_supported_chars" qualifiers="virtual const"> <return type="String" /> <argument index="0" name="font_rid" type="RID" /> <description> Returns a string containing all the characters available in the font. </description> </method> - <method name="_font_get_texture_count" qualifiers="virtual const"> + <method name="font_get_texture_count" qualifiers="virtual const"> <return type="int" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="size" type="Vector2i" /> @@ -357,7 +351,7 @@ Returns number of textures used by font cache entry. </description> </method> - <method name="_font_get_texture_image" qualifiers="virtual const"> + <method name="font_get_texture_image" qualifiers="virtual const"> <return type="Image" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="size" type="Vector2i" /> @@ -366,7 +360,7 @@ Returns font cache texture image data. </description> </method> - <method name="_font_get_texture_offsets" qualifiers="virtual const"> + <method name="font_get_texture_offsets" qualifiers="virtual const"> <return type="PackedInt32Array" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="size" type="Vector2i" /> @@ -375,14 +369,14 @@ Returns array containing the first free pixel in the each column of texture. Should be the same size as texture width or empty. </description> </method> - <method name="_font_get_transform" qualifiers="virtual const"> + <method name="font_get_transform" qualifiers="virtual const"> <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"> + <method name="font_get_underline_position" qualifiers="virtual const"> <return type="float" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="size" type="int" /> @@ -390,7 +384,7 @@ Returns pixel offset of the underline below the baseline. </description> </method> - <method name="_font_get_underline_thickness" qualifiers="virtual const"> + <method name="font_get_underline_thickness" qualifiers="virtual const"> <return type="float" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="size" type="int" /> @@ -398,36 +392,36 @@ Returns thickness of the underline in pixels. </description> </method> - <method name="_font_get_variation_coordinates" qualifiers="virtual const"> + <method name="font_get_variation_coordinates" qualifiers="virtual const"> <return type="Dictionary" /> <argument index="0" name="font_rid" type="RID" /> <description> - Returns variation coordinates for the specified font cache entry. See [method _font_supported_variation_list] for more info. + Returns variation coordinates for the specified font cache entry. See [method font_supported_variation_list] for more info. </description> </method> - <method name="_font_has_char" qualifiers="virtual const"> + <method name="font_has_char" qualifiers="virtual const"> <return type="bool" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="char" type="int" /> <description> - Return [code]true[/code] if a Unicode [code]char[/code] is available in the font. + Returns [code]true[/code] if a Unicode [code]char[/code] is available in the font. </description> </method> - <method name="_font_is_antialiased" qualifiers="virtual const"> + <method name="font_is_antialiased" qualifiers="virtual const"> <return type="bool" /> <argument index="0" name="font_rid" type="RID" /> <description> Returns [code]true[/code] if font 8-bit anitialiased glyph rendering is supported and enabled. </description> </method> - <method name="_font_is_force_autohinter" qualifiers="virtual const"> + <method name="font_is_force_autohinter" qualifiers="virtual const"> <return type="bool" /> <argument index="0" name="font_rid" type="RID" /> <description> Returns [code]true[/code] if auto-hinting is supported and preferred over font built-in hinting. Used by dynamic fonts only. </description> </method> - <method name="_font_is_language_supported" qualifiers="virtual const"> + <method name="font_is_language_supported" qualifiers="virtual const"> <return type="bool" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="language" type="String" /> @@ -435,14 +429,14 @@ Returns [code]true[/code], if font supports given language ([url=https://en.wikipedia.org/wiki/ISO_639-1]ISO 639[/url] code). </description> </method> - <method name="_font_is_multichannel_signed_distance_field" qualifiers="virtual const"> + <method name="font_is_multichannel_signed_distance_field" qualifiers="virtual const"> <return type="bool" /> <argument index="0" name="font_rid" type="RID" /> <description> Returns [code]true[/code] if glyphs of all sizes are rendered using single multichannel signed distance field generated from the dynamic font vector data. </description> </method> - <method name="_font_is_script_supported" qualifiers="virtual const"> + <method name="font_is_script_supported" qualifiers="virtual const"> <return type="bool" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="script" type="String" /> @@ -450,17 +444,16 @@ Returns [code]true[/code], if font supports given script (ISO 15924 code). </description> </method> - <method name="_font_remove_glyph" qualifiers="virtual"> + <method name="font_remove_glyph" qualifiers="virtual"> <return type="void" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="size" type="Vector2i" /> <argument index="2" name="glyph" type="int" /> <description> Removes specified rendered glyph information from the cache entry. - [b]Note:[/b] This function will not remove textures associated with the glyphs, use [method _font_remove_texture] to remove them manually. </description> </method> - <method name="_font_remove_kerning" qualifiers="virtual"> + <method name="font_remove_kerning" qualifiers="virtual"> <return type="void" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="size" type="int" /> @@ -469,7 +462,7 @@ Removes kerning override for the pair of glyphs. </description> </method> - <method name="_font_remove_language_support_override" qualifiers="virtual"> + <method name="font_remove_language_support_override" qualifiers="virtual"> <return type="void" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="language" type="String" /> @@ -477,7 +470,7 @@ Remove language support override. </description> </method> - <method name="_font_remove_script_support_override" qualifiers="virtual"> + <method name="font_remove_script_support_override" qualifiers="virtual"> <return type="void" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="script" type="String" /> @@ -485,7 +478,7 @@ Removes script support override. </description> </method> - <method name="_font_remove_size_cache" qualifiers="virtual"> + <method name="font_remove_size_cache" qualifiers="virtual"> <return type="void" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="size" type="Vector2i" /> @@ -493,26 +486,25 @@ Removes specified font size from the cache entry. </description> </method> - <method name="_font_remove_texture" qualifiers="virtual"> + <method name="font_remove_texture" qualifiers="virtual"> <return type="void" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="size" type="Vector2i" /> <argument index="2" name="texture_index" type="int" /> <description> Removes specified texture from font cache entry. - [b]Note:[/b] This function will not remove glyphs associated with the texture, remove them manually, using [method _font_remove_glyph]. </description> </method> - <method name="_font_render_glyph" qualifiers="virtual"> + <method name="font_render_glyph" qualifiers="virtual"> <return type="void" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="size" type="Vector2i" /> <argument index="2" name="index" type="int" /> <description> - Renders specified glyph the the font cache texture. + Renders specified glyph to the font cache texture. </description> </method> - <method name="_font_render_range" qualifiers="virtual"> + <method name="font_render_range" qualifiers="virtual"> <return type="void" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="size" type="Vector2i" /> @@ -522,7 +514,7 @@ Renders the range of characters to the font cache texture. </description> </method> - <method name="_font_set_antialiased" qualifiers="virtual"> + <method name="font_set_antialiased" qualifiers="virtual"> <return type="void" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="antialiased" type="bool" /> @@ -530,7 +522,7 @@ If set to [code]true[/code], 8-bit antialiased glyph rendering is used, otherwise 1-bit rendering is used. Used by dynamic fonts only. </description> </method> - <method name="_font_set_ascent" qualifiers="virtual"> + <method name="font_set_ascent" qualifiers="virtual"> <return type="void" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="size" type="int" /> @@ -539,7 +531,7 @@ Sets the font ascent (number of pixels above the baseline). </description> </method> - <method name="_font_set_data" qualifiers="virtual"> + <method name="font_set_data" qualifiers="virtual"> <return type="void" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="data" type="PackedByteArray" /> @@ -547,25 +539,25 @@ Sets font source data, e.g contents of the dynamic font source file. </description> </method> - <method name="_font_set_data_ptr" qualifiers="virtual"> + <method name="font_set_data_ptr" qualifiers="virtual"> <return type="void" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="data_ptr" type="const uint8_t*" /> <argument index="2" name="data_size" type="int" /> <description> - Sets the font descent (number of pixels below the baseline). + Sets font source data, e.g contents of the dynamic font source file. [code]data_ptr[/code] memory buffer must remain accessible during font lifetime. </description> </method> - <method name="_font_set_descent" qualifiers="virtual"> + <method name="font_set_descent" qualifiers="virtual"> <return type="void" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="size" type="int" /> <argument index="2" name="descent" type="float" /> <description> - Sets bitmap font fixed size. If set to value greater than zero, same cache entry will be used for all font sizes. + Sets the font descent (number of pixels below the baseline). </description> </method> - <method name="_font_set_embolden" qualifiers="virtual"> + <method name="font_set_embolden" qualifiers="virtual"> <return type="void" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="strength" type="float" /> @@ -573,15 +565,15 @@ Sets font embolden strength. If [code]strength[/code] is not equal to zero, emboldens the font outlines. Negative values reduce the outline thickness. </description> </method> - <method name="_font_set_fixed_size" qualifiers="virtual"> + <method name="font_set_fixed_size" qualifiers="virtual"> <return type="void" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="fixed_size" type="int" /> <description> - If set to [code]true[/code] auto-hinting is preferred over font built-in hinting. + Sets bitmap font fixed size. If set to value greater than zero, same cache entry will be used for all font sizes. </description> </method> - <method name="_font_set_force_autohinter" qualifiers="virtual"> + <method name="font_set_force_autohinter" qualifiers="virtual"> <return type="void" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="force_autohinter" type="bool" /> @@ -589,7 +581,7 @@ If set to [code]true[/code] auto-hinting is preferred over font built-in hinting. </description> </method> - <method name="_font_set_global_oversampling" qualifiers="virtual"> + <method name="font_set_global_oversampling" qualifiers="virtual"> <return type="void" /> <argument index="0" name="oversampling" type="float" /> <description> @@ -597,7 +589,7 @@ [b]Note:[/b] This value can be automatically changed by display server. </description> </method> - <method name="_font_set_glyph_advance" qualifiers="virtual"> + <method name="font_set_glyph_advance" qualifiers="virtual"> <return type="void" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="size" type="int" /> @@ -605,10 +597,9 @@ <argument index="3" name="advance" type="Vector2" /> <description> Sets glyph advance (offset of the next glyph). - [b]Note:[/b] Advance for glyphs outlines is the same as the base glyph advance and is not saved. </description> </method> - <method name="_font_set_glyph_offset" qualifiers="virtual"> + <method name="font_set_glyph_offset" qualifiers="virtual"> <return type="void" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="size" type="Vector2i" /> @@ -618,7 +609,7 @@ Sets glyph offset from the baseline. </description> </method> - <method name="_font_set_glyph_size" qualifiers="virtual"> + <method name="font_set_glyph_size" qualifiers="virtual"> <return type="void" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="size" type="Vector2i" /> @@ -628,7 +619,7 @@ Sets size of the glyph. </description> </method> - <method name="_font_set_glyph_texture_idx" qualifiers="virtual"> + <method name="font_set_glyph_texture_idx" qualifiers="virtual"> <return type="void" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="size" type="Vector2i" /> @@ -638,7 +629,7 @@ Sets index of the cache texture containing the glyph. </description> </method> - <method name="_font_set_glyph_uv_rect" qualifiers="virtual"> + <method name="font_set_glyph_uv_rect" qualifiers="virtual"> <return type="void" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="size" type="Vector2i" /> @@ -648,7 +639,7 @@ Sets rectangle in the cache texture containing the glyph. </description> </method> - <method name="_font_set_hinting" qualifiers="virtual"> + <method name="font_set_hinting" qualifiers="virtual"> <return type="void" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="hinting" type="int" enum="TextServer.Hinting" /> @@ -656,7 +647,7 @@ Sets font hinting mode. Used by dynamic fonts only. </description> </method> - <method name="_font_set_kerning" qualifiers="virtual"> + <method name="font_set_kerning" qualifiers="virtual"> <return type="void" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="size" type="int" /> @@ -666,16 +657,16 @@ Sets kerning for the pair of glyphs. </description> </method> - <method name="_font_set_language_support_override" qualifiers="virtual"> + <method name="font_set_language_support_override" qualifiers="virtual"> <return type="void" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="language" type="String" /> <argument index="2" name="supported" type="bool" /> <description> - Adds override for [method _font_is_language_supported]. + Adds override for [method font_is_language_supported]. </description> </method> - <method name="_font_set_msdf_pixel_range" qualifiers="virtual"> + <method name="font_set_msdf_pixel_range" qualifiers="virtual"> <return type="void" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="msdf_pixel_range" type="int" /> @@ -683,7 +674,7 @@ Sets the width of the range around the shape between the minimum and maximum representable signed distance. </description> </method> - <method name="_font_set_msdf_size" qualifiers="virtual"> + <method name="font_set_msdf_size" qualifiers="virtual"> <return type="void" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="msdf_size" type="int" /> @@ -691,15 +682,16 @@ Sets source font size used to generate MSDF textures. </description> </method> - <method name="_font_set_multichannel_signed_distance_field" qualifiers="virtual"> + <method name="font_set_multichannel_signed_distance_field" qualifiers="virtual"> <return type="void" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="msdf" type="bool" /> <description> - If set to [code]true[/code], glyphs of all sizes are rendered using single multichannel signed distance field generated from the dynamic font vector data. + If set to [code]true[/code], glyphs of all sizes are rendered using single multichannel signed distance field generated from the dynamic font vector data. MSDF rendering allows displaying the font at any scaling factor without blurriness, and without incurring a CPU cost when the font size changes (since the font no longer needs to be rasterized on the CPU). As a downside, font hinting is not available with MSDF. The lack of font hinting may result in less crisp and less readable fonts at small sizes. + [b]Note:[/b] MSDF font rendering does not render glyphs with overlapping shapes correctly. Overlapping shapes are not valid per the OpenType standard, but are still commonly found in many font files, especially those converted by Google Fonts. To avoid issues with overlapping glyphs, consider downloading the font file directly from the type foundry instead of relying on Google Fonts. </description> </method> - <method name="_font_set_name" qualifiers="virtual"> + <method name="font_set_name" qualifiers="virtual"> <return type="void" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="name" type="String" /> @@ -707,7 +699,7 @@ Sets the font family name. </description> </method> - <method name="_font_set_opentype_feature_overrides" qualifiers="virtual"> + <method name="font_set_opentype_feature_overrides" qualifiers="virtual"> <return type="void" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="overrides" type="Dictionary" /> @@ -715,7 +707,7 @@ Sets font OpenType feature set override. </description> </method> - <method name="_font_set_oversampling" qualifiers="virtual"> + <method name="font_set_oversampling" qualifiers="virtual"> <return type="void" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="oversampling" type="float" /> @@ -723,7 +715,7 @@ Sets font oversampling factor, if set to [code]0.0[/code] global oversampling factor is used instead. Used by dynamic fonts only. </description> </method> - <method name="_font_set_scale" qualifiers="virtual"> + <method name="font_set_scale" qualifiers="virtual"> <return type="void" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="size" type="int" /> @@ -732,16 +724,16 @@ Sets scaling factor of the color bitmap font. </description> </method> - <method name="_font_set_script_support_override" qualifiers="virtual"> + <method name="font_set_script_support_override" qualifiers="virtual"> <return type="void" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="script" type="String" /> <argument index="2" name="supported" type="bool" /> <description> - Adds override for [method _font_is_script_supported]. + Adds override for [method font_is_script_supported]. </description> </method> - <method name="_font_set_spacing" qualifiers="virtual"> + <method name="font_set_spacing" qualifiers="virtual"> <return type="void" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="size" type="int" /> @@ -751,7 +743,7 @@ Sets extra spacing added between glyphs in pixels. </description> </method> - <method name="_font_set_style" qualifiers="virtual"> + <method name="font_set_style" qualifiers="virtual"> <return type="void" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="style" type="int" /> @@ -759,7 +751,7 @@ Sets the font style flags, see [enum TextServer.FontStyle]. </description> </method> - <method name="_font_set_style_name" qualifiers="virtual"> + <method name="font_set_style_name" qualifiers="virtual"> <return type="void" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="name_style" type="String" /> @@ -767,7 +759,7 @@ Sets the font style name. </description> </method> - <method name="_font_set_subpixel_positioning" qualifiers="virtual"> + <method name="font_set_subpixel_positioning" qualifiers="virtual"> <return type="void" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="subpixel_positioning" type="int" enum="TextServer.SubpixelPositioning" /> @@ -775,7 +767,7 @@ Sets font sub-pixel glyph positioning mode. </description> </method> - <method name="_font_set_texture_image" qualifiers="virtual"> + <method name="font_set_texture_image" qualifiers="virtual"> <return type="void" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="size" type="Vector2i" /> @@ -785,7 +777,7 @@ Sets font cache texture image data. </description> </method> - <method name="_font_set_texture_offsets" qualifiers="virtual"> + <method name="font_set_texture_offsets" qualifiers="virtual"> <return type="void" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="size" type="Vector2i" /> @@ -795,7 +787,7 @@ Sets array containing the first free pixel in the each column of texture. Should be the same size as texture width or empty. </description> </method> - <method name="_font_set_transform" qualifiers="virtual"> + <method name="font_set_transform" qualifiers="virtual"> <return type="void" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="transform" type="Transform2D" /> @@ -804,7 +796,7 @@ For example, to simulate italic typeface by slanting, apply the following transform [code]Transform2D(1.0, slant, 0.0, 1.0, 0.0, 0.0)[/code]. </description> </method> - <method name="_font_set_underline_position" qualifiers="virtual"> + <method name="font_set_underline_position" qualifiers="virtual"> <return type="void" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="size" type="int" /> @@ -813,7 +805,7 @@ Sets pixel offset of the underline below the baseline. </description> </method> - <method name="_font_set_underline_thickness" qualifiers="virtual"> + <method name="font_set_underline_thickness" qualifiers="virtual"> <return type="void" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="size" type="int" /> @@ -822,29 +814,29 @@ Sets thickness of the underline in pixels. </description> </method> - <method name="_font_set_variation_coordinates" qualifiers="virtual"> + <method name="font_set_variation_coordinates" qualifiers="virtual"> <return type="void" /> <argument index="0" name="font_rid" type="RID" /> <argument index="1" name="variation_coordinates" type="Dictionary" /> <description> - Sets variation coordinates for the specified font cache entry. See [method _font_supported_variation_list] for more info. + Sets variation coordinates for the specified font cache entry. See [method font_supported_variation_list] for more info. </description> </method> - <method name="_font_supported_feature_list" qualifiers="virtual const"> + <method name="font_supported_feature_list" qualifiers="virtual const"> <return type="Dictionary" /> <argument index="0" name="font_rid" type="RID" /> <description> Returns the dictionary of the supported OpenType features. </description> </method> - <method name="_font_supported_variation_list" qualifiers="virtual const"> + <method name="font_supported_variation_list" qualifiers="virtual const"> <return type="Dictionary" /> <argument index="0" name="font_rid" type="RID" /> <description> Returns the dictionary of the supported OpenType variation coordinates. </description> </method> - <method name="_format_number" qualifiers="virtual const"> + <method name="format_number" qualifiers="virtual const"> <return type="String" /> <argument index="0" name="string" type="String" /> <argument index="1" name="language" type="String" /> @@ -852,82 +844,82 @@ Converts a number from the Western Arabic (0..9) to the numeral systems used in [code]language[/code]. </description> </method> - <method name="_free" qualifiers="virtual"> + <method name="free_rid" qualifiers="virtual"> <return type="void" /> <argument index="0" name="rid" type="RID" /> <description> Frees an object created by this [TextServer]. </description> </method> - <method name="_get_features" qualifiers="virtual const"> + <method name="get_features" qualifiers="virtual const"> <return type="int" /> <description> Returns text server features, see [enum TextServer.Feature]. </description> </method> - <method name="_get_hex_code_box_size" qualifiers="virtual const"> + <method name="get_hex_code_box_size" qualifiers="virtual const"> <return type="Vector2" /> <argument index="0" name="size" type="int" /> <argument index="1" name="index" type="int" /> <description> Returns size of the replacement character (box with character hexadecimal code that is drawn in place of invalid characters). + [b]Note:[/b] If this method is not implemented in the plugin, the default implementation will be used. </description> </method> - <method name="_get_name" qualifiers="virtual const"> + <method name="get_name" qualifiers="virtual const"> <return type="String" /> <description> Returns the name of the server interface. </description> </method> - <method name="_get_support_data_filename" qualifiers="virtual const"> + <method name="get_support_data_filename" qualifiers="virtual const"> <return type="String" /> <description> Returns default TextServer database (e.g. ICU break iterators and dictionaries) filename. </description> </method> - <method name="_get_support_data_info" qualifiers="virtual const"> + <method name="get_support_data_info" qualifiers="virtual const"> <return type="String" /> <description> Returns TextServer database (e.g. ICU break iterators and dictionaries) description. </description> </method> - <method name="_has" qualifiers="virtual"> + <method name="has" qualifiers="virtual"> <return type="bool" /> <argument index="0" name="rid" type="RID" /> <description> Returns [code]true[/code] if [code]rid[/code] is valid resource owned by this text server. </description> </method> - <method name="_has_feature" qualifiers="virtual const"> + <method name="has_feature" qualifiers="virtual const"> <return type="bool" /> <argument index="0" name="feature" type="int" enum="TextServer.Feature" /> <description> Returns [code]true[/code] if the server supports a feature. </description> </method> - <method name="_is_locale_right_to_left" qualifiers="virtual const"> + <method name="is_locale_right_to_left" qualifiers="virtual const"> <return type="bool" /> <argument index="0" name="locale" type="String" /> <description> Returns [code]true[/code] if locale is right-to-left. </description> </method> - <method name="_load_support_data" qualifiers="virtual"> + <method name="load_support_data" qualifiers="virtual"> <return type="bool" /> <argument index="0" name="filename" type="String" /> <description> Loads optional TextServer database (e.g. ICU break iterators and dictionaries). - [b]Note:[/b] This function should be called before any other TextServer functions used, otherwise it won't have any effect. </description> </method> - <method name="_name_to_tag" qualifiers="virtual const"> + <method name="name_to_tag" qualifiers="virtual const"> <return type="int" /> <argument index="0" name="name" type="String" /> <description> Converts readable feature, variation, script or language name to OpenType tag. </description> </method> - <method name="_parse_number" qualifiers="virtual const"> + <method name="parse_number" qualifiers="virtual const"> <return type="String" /> <argument index="0" name="string" type="String" /> <argument index="1" name="language" type="String" /> @@ -935,14 +927,14 @@ Converts a number from the numeral systems used in [code]language[/code] to Western Arabic (0..9). </description> </method> - <method name="_percent_sign" qualifiers="virtual const"> + <method name="percent_sign" qualifiers="virtual const"> <return type="String" /> <argument index="0" name="language" type="String" /> <description> Returns percent sign used in the [code]language[/code]. </description> </method> - <method name="_save_support_data" qualifiers="virtual const"> + <method name="save_support_data" qualifiers="virtual const"> <return type="bool" /> <argument index="0" name="filename" type="String" /> <description> @@ -950,14 +942,14 @@ [b]Note:[/b] This function is used by during project export, to include TextServer database. </description> </method> - <method name="_shaped_get_span_count" qualifiers="virtual const"> + <method name="shaped_get_span_count" qualifiers="virtual const"> <return type="int" /> <argument index="0" name="shaped" type="RID" /> <description> - Returns number of text spans added using [method _shaped_text_add_string] or [method _shaped_text_add_object]. + Returns number of text spans added using [method shaped_text_add_string] or [method shaped_text_add_object]. </description> </method> - <method name="_shaped_get_span_meta" qualifiers="virtual const"> + <method name="shaped_get_span_meta" qualifiers="virtual const"> <return type="Variant" /> <argument index="0" name="shaped" type="RID" /> <argument index="1" name="index" type="int" /> @@ -965,7 +957,7 @@ Returns text span metadata. </description> </method> - <method name="_shaped_set_span_update_font" qualifiers="virtual"> + <method name="shaped_set_span_update_font" qualifiers="virtual"> <return type="void" /> <argument index="0" name="shaped" type="RID" /> <argument index="1" name="index" type="int" /> @@ -976,7 +968,7 @@ Changes text span font, font size and OpenType features, without changing the text. </description> </method> - <method name="_shaped_text_add_object" qualifiers="virtual"> + <method name="shaped_text_add_object" qualifiers="virtual"> <return type="bool" /> <argument index="0" name="shaped" type="RID" /> <argument index="1" name="key" type="Variant" /> @@ -987,7 +979,7 @@ Adds inline object to the text buffer, [code]key[/code] must be unique. In the text, object is represented as [code]length[/code] object replacement characters. </description> </method> - <method name="_shaped_text_add_string" qualifiers="virtual"> + <method name="shaped_text_add_string" qualifiers="virtual"> <return type="bool" /> <argument index="0" name="shaped" type="RID" /> <argument index="1" name="text" type="String" /> @@ -1000,14 +992,14 @@ Adds text span and font to draw it to the text buffer. </description> </method> - <method name="_shaped_text_clear" qualifiers="virtual"> + <method name="shaped_text_clear" qualifiers="virtual"> <return type="void" /> <argument index="0" name="shaped" type="RID" /> <description> Clears text buffer (removes text and inline objects). </description> </method> - <method name="_shaped_text_draw" qualifiers="virtual const"> + <method name="shaped_text_draw" qualifiers="virtual const"> <return type="void" /> <argument index="0" name="shaped" type="RID" /> <argument index="1" name="canvas" type="RID" /> @@ -1017,9 +1009,10 @@ <argument index="5" name="color" type="Color" /> <description> Draw shaped text into a canvas item at a given position, with [code]color[/code]. [code]pos[/code] specifies the leftmost point of the baseline (for horizontal layout) or topmost point of the baseline (for vertical layout). + [b]Note:[/b] If this method is not implemented in the plugin, the default implementation will be used. </description> </method> - <method name="_shaped_text_draw_outline" qualifiers="virtual const"> + <method name="shaped_text_draw_outline" qualifiers="virtual const"> <return type="void" /> <argument index="0" name="shaped" type="RID" /> <argument index="1" name="canvas" type="RID" /> @@ -1030,116 +1023,118 @@ <argument index="6" name="color" type="Color" /> <description> Draw the outline of the shaped text into a canvas item at a given position, with [code]color[/code]. [code]pos[/code] specifies the leftmost point of the baseline (for horizontal layout) or topmost point of the baseline (for vertical layout). + [b]Note:[/b] If this method is not implemented in the plugin, the default implementation will be used. </description> </method> - <method name="_shaped_text_fit_to_width" qualifiers="virtual"> + <method name="shaped_text_fit_to_width" qualifiers="virtual"> <return type="float" /> <argument index="0" name="shaped" type="RID" /> <argument index="1" name="width" type="float" /> <argument index="2" name="jst_flags" type="int" /> <description> - Adjusts text with to fit to specified width, returns new text width + Adjusts text with to fit to specified width, returns new text width. </description> </method> - <method name="_shaped_text_get_ascent" qualifiers="virtual const"> + <method name="shaped_text_get_ascent" qualifiers="virtual const"> <return type="float" /> <argument index="0" name="shaped" type="RID" /> <description> Returns the text ascent (number of pixels above the baseline for horizontal layout or to the left of baseline for vertical). - [b]Note:[/b] Overall ascent can be higher than font ascent, if some glyphs are displaced from the baseline. </description> </method> - <method name="_shaped_text_get_carets" qualifiers="virtual const"> + <method name="shaped_text_get_carets" qualifiers="virtual const"> <return type="void" /> <argument index="0" name="shaped" type="RID" /> <argument index="1" name="position" type="int" /> <argument index="2" name="caret" type="CaretInfo*" /> <description> Returns shapes of the carets corresponding to the character offset [code]position[/code] in the text. Returned caret shape is 1 pixel wide rectangle. + [b]Note:[/b] If this method is not implemented in the plugin, the default implementation will be used. </description> </method> - <method name="_shaped_text_get_custom_punctuation" qualifiers="virtual const"> + <method name="shaped_text_get_custom_punctuation" qualifiers="virtual const"> <return type="String" /> <argument index="0" name="shaped" type="RID" /> <description> Returns custom punctuation character list, used for word breaking. If set to empty string, server defaults are used. </description> </method> - <method name="_shaped_text_get_descent" qualifiers="virtual const"> + <method name="shaped_text_get_descent" qualifiers="virtual const"> <return type="float" /> <argument index="0" name="shaped" type="RID" /> <description> Returns the text descent (number of pixels below the baseline for horizontal layout or to the right of baseline for vertical). - [b]Note:[/b] Overall descent can be higher than font descent, if some glyphs are displaced from the baseline. </description> </method> - <method name="_shaped_text_get_direction" qualifiers="virtual const"> + <method name="shaped_text_get_direction" qualifiers="virtual const"> <return type="int" enum="TextServer.Direction" /> <argument index="0" name="shaped" type="RID" /> <description> Returns direction of the text. </description> </method> - <method name="_shaped_text_get_dominant_direction_in_range" qualifiers="virtual const"> + <method name="shaped_text_get_dominant_direction_in_range" qualifiers="virtual const"> <return type="int" /> <argument index="0" name="shaped" type="RID" /> <argument index="1" name="start" type="int" /> <argument index="2" name="end" type="int" /> <description> Returns dominant direction of in the range of text. + [b]Note:[/b] If this method is not implemented in the plugin, the default implementation will be used. </description> </method> - <method name="_shaped_text_get_ellipsis_glyph_count" qualifiers="virtual const"> + <method name="shaped_text_get_ellipsis_glyph_count" qualifiers="virtual const"> <return type="int" /> <argument index="0" name="shaped" type="RID" /> <description> Returns number of glyphs in the ellipsis. </description> </method> - <method name="_shaped_text_get_ellipsis_glyphs" qualifiers="virtual const"> - <return type="Glyph*" /> + <method name="shaped_text_get_ellipsis_glyphs" qualifiers="virtual const"> + <return type="const Glyph*" /> <argument index="0" name="shaped" type="RID" /> <description> Returns array of the glyphs in the ellipsis. </description> </method> - <method name="_shaped_text_get_ellipsis_pos" qualifiers="virtual const"> + <method name="shaped_text_get_ellipsis_pos" qualifiers="virtual const"> <return type="int" /> <argument index="0" name="shaped" type="RID" /> <description> Returns position of the ellipsis. </description> </method> - <method name="_shaped_text_get_glyph_count" qualifiers="virtual const"> + <method name="shaped_text_get_glyph_count" qualifiers="virtual const"> <return type="int" /> <argument index="0" name="shaped" type="RID" /> <description> - Returns text glyphs count. + Returns number of glyphs in the buffer. </description> </method> - <method name="_shaped_text_get_glyphs" qualifiers="virtual const"> - <return type="Glyph*" /> + <method name="shaped_text_get_glyphs" qualifiers="virtual const"> + <return type="const Glyph*" /> <argument index="0" name="shaped" type="RID" /> <description> - Copies text glyphs in the visual order, into preallocated array of the size returned by [method _shaped_text_get_glyph_count]. + Returns an array of glyphs in the visual order. </description> </method> - <method name="_shaped_text_get_grapheme_bounds" qualifiers="virtual const"> + <method name="shaped_text_get_grapheme_bounds" qualifiers="virtual const"> <return type="Vector2" /> <argument index="0" name="shaped" type="RID" /> <argument index="1" name="pos" type="int" /> <description> Returns composite character's bounds as offsets from the start of the line. + [b]Note:[/b] If this method is not implemented in the plugin, the default implementation will be used. </description> </method> - <method name="_shaped_text_get_inferred_direction" qualifiers="virtual const"> + <method name="shaped_text_get_inferred_direction" qualifiers="virtual const"> <return type="int" enum="TextServer.Direction" /> <argument index="0" name="shaped" type="RID" /> <description> Returns direction of the text, inferred by the BiDi algorithm. </description> </method> - <method name="_shaped_text_get_line_breaks" qualifiers="virtual const"> + <method name="shaped_text_get_line_breaks" qualifiers="virtual const"> <return type="PackedInt32Array" /> <argument index="0" name="shaped" type="RID" /> <argument index="1" name="width" type="float" /> @@ -1147,9 +1142,10 @@ <argument index="3" name="break_flags" type="int" /> <description> Breaks text to the lines and returns character ranges for each line. + [b]Note:[/b] If this method is not implemented in the plugin, the default implementation will be used. </description> </method> - <method name="_shaped_text_get_line_breaks_adv" qualifiers="virtual const"> + <method name="shaped_text_get_line_breaks_adv" qualifiers="virtual const"> <return type="PackedInt32Array" /> <argument index="0" name="shaped" type="RID" /> <argument index="1" name="width" type="PackedFloat32Array" /> @@ -1158,9 +1154,10 @@ <argument index="4" name="break_flags" type="int" /> <description> Breaks text to the lines and columns. Returns character ranges for each segment. + [b]Note:[/b] If this method is not implemented in the plugin, the default implementation will be used. </description> </method> - <method name="_shaped_text_get_object_rect" qualifiers="virtual const"> + <method name="shaped_text_get_object_rect" qualifiers="virtual const"> <return type="Rect2" /> <argument index="0" name="shaped" type="RID" /> <argument index="1" name="key" type="Variant" /> @@ -1168,35 +1165,35 @@ Returns bounding rectangle of the inline object. </description> </method> - <method name="_shaped_text_get_objects" qualifiers="virtual const"> + <method name="shaped_text_get_objects" qualifiers="virtual const"> <return type="Array" /> <argument index="0" name="shaped" type="RID" /> <description> Returns array of inline objects. </description> </method> - <method name="_shaped_text_get_orientation" qualifiers="virtual const"> + <method name="shaped_text_get_orientation" qualifiers="virtual const"> <return type="int" enum="TextServer.Orientation" /> <argument index="0" name="shaped" type="RID" /> <description> - Returns text orientation. + eturns text orientation. </description> </method> - <method name="_shaped_text_get_parent" qualifiers="virtual const"> + <method name="shaped_text_get_parent" qualifiers="virtual const"> <return type="RID" /> <argument index="0" name="shaped" type="RID" /> <description> - Sets text orientation. + Returns the parent buffer from which the substring originates. </description> </method> - <method name="_shaped_text_get_preserve_control" qualifiers="virtual const"> + <method name="shaped_text_get_preserve_control" qualifiers="virtual const"> <return type="bool" /> <argument index="0" name="shaped" type="RID" /> <description> Returns [code]true[/code] if text buffer is configured to display control characters. </description> </method> - <method name="_shaped_text_get_preserve_invalid" qualifiers="virtual const"> + <method name="shaped_text_get_preserve_invalid" qualifiers="virtual const"> <return type="bool" /> <argument index="0" name="shaped" type="RID" /> <description> @@ -1204,97 +1201,102 @@ [b]Note:[/b] If set to [code]false[/code], nothing is displayed in place of invalid characters. </description> </method> - <method name="_shaped_text_get_range" qualifiers="virtual const"> + <method name="shaped_text_get_range" qualifiers="virtual const"> <return type="Vector2i" /> <argument index="0" name="shaped" type="RID" /> <description> Returns substring buffer character range in the parent buffer. </description> </method> - <method name="_shaped_text_get_selection" qualifiers="virtual const"> + <method name="shaped_text_get_selection" qualifiers="virtual const"> <return type="PackedVector2Array" /> <argument index="0" name="shaped" type="RID" /> <argument index="1" name="start" type="int" /> <argument index="2" name="end" type="int" /> <description> Returns selection rectangles for the specified character range. + [b]Note:[/b] If this method is not implemented in the plugin, the default implementation will be used. </description> </method> - <method name="_shaped_text_get_size" qualifiers="virtual const"> + <method name="shaped_text_get_size" qualifiers="virtual const"> <return type="Vector2" /> <argument index="0" name="shaped" type="RID" /> <description> Returns size of the text. </description> </method> - <method name="_shaped_text_get_trim_pos" qualifiers="virtual const"> + <method name="shaped_text_get_trim_pos" qualifiers="virtual const"> <return type="int" /> <argument index="0" name="shaped" type="RID" /> <description> - Returns ellipsis and trim positions. + Returns the position of the overrun trim. </description> </method> - <method name="_shaped_text_get_underline_position" qualifiers="virtual const"> + <method name="shaped_text_get_underline_position" qualifiers="virtual const"> <return type="float" /> <argument index="0" name="shaped" type="RID" /> <description> Returns pixel offset of the underline below the baseline. </description> </method> - <method name="_shaped_text_get_underline_thickness" qualifiers="virtual const"> + <method name="shaped_text_get_underline_thickness" qualifiers="virtual const"> <return type="float" /> <argument index="0" name="shaped" type="RID" /> <description> Returns thickness of the underline. </description> </method> - <method name="_shaped_text_get_width" qualifiers="virtual const"> + <method name="shaped_text_get_width" qualifiers="virtual const"> <return type="float" /> <argument index="0" name="shaped" type="RID" /> <description> Returns width (for horizontal layout) or height (for vertical) of the text. </description> </method> - <method name="_shaped_text_get_word_breaks" qualifiers="virtual const"> + <method name="shaped_text_get_word_breaks" qualifiers="virtual const"> <return type="PackedInt32Array" /> <argument index="0" name="shaped" type="RID" /> <argument index="1" name="grapheme_flags" type="int" /> <description> Breaks text into words and returns array of character ranges. + [b]Note:[/b] If this method is not implemented in the plugin, the default implementation will be used. </description> </method> - <method name="_shaped_text_hit_test_grapheme" qualifiers="virtual const"> + <method name="shaped_text_hit_test_grapheme" qualifiers="virtual const"> <return type="int" /> <argument index="0" name="shaped" type="RID" /> <argument index="1" name="coord" type="float" /> <description> Returns grapheme index at the specified pixel offset at the baseline, or [code]-1[/code] if none is found. + [b]Note:[/b] If this method is not implemented in the plugin, the default implementation will be used. </description> </method> - <method name="_shaped_text_hit_test_position" qualifiers="virtual const"> + <method name="shaped_text_hit_test_position" qualifiers="virtual const"> <return type="int" /> <argument index="0" name="shaped" type="RID" /> <argument index="1" name="coord" type="float" /> <description> Returns caret character offset at the specified pixel offset at the baseline. This function always returns a valid position. + [b]Note:[/b] If this method is not implemented in the plugin, the default implementation will be used. </description> </method> - <method name="_shaped_text_is_ready" qualifiers="virtual const"> + <method name="shaped_text_is_ready" qualifiers="virtual const"> <return type="bool" /> <argument index="0" name="shaped" type="RID" /> <description> Returns [code]true[/code] if buffer is successfully shaped. </description> </method> - <method name="_shaped_text_next_grapheme_pos" qualifiers="virtual const"> + <method name="shaped_text_next_grapheme_pos" qualifiers="virtual const"> <return type="int" /> <argument index="0" name="shaped" type="RID" /> <argument index="1" name="pos" type="int" /> <description> Returns composite character end position closest to the [code]pos[/code]. + [b]Note:[/b] If this method is not implemented in the plugin, the default implementation will be used. </description> </method> - <method name="_shaped_text_overrun_trim_to_width" qualifiers="virtual"> + <method name="shaped_text_overrun_trim_to_width" qualifiers="virtual"> <return type="void" /> <argument index="0" name="shaped" type="RID" /> <argument index="1" name="width" type="float" /> @@ -1303,15 +1305,16 @@ Trims text if it exceeds the given width. </description> </method> - <method name="_shaped_text_prev_grapheme_pos" qualifiers="virtual const"> + <method name="shaped_text_prev_grapheme_pos" qualifiers="virtual const"> <return type="int" /> <argument index="0" name="shaped" type="RID" /> <argument index="1" name="pos" type="int" /> <description> Returns composite character start position closest to the [code]pos[/code]. + [b]Note:[/b] If this method is not implemented in the plugin, the default implementation will be used. </description> </method> - <method name="_shaped_text_resize_object" qualifiers="virtual"> + <method name="shaped_text_resize_object" qualifiers="virtual"> <return type="bool" /> <argument index="0" name="shaped" type="RID" /> <argument index="1" name="key" type="Variant" /> @@ -1321,7 +1324,7 @@ Sets new size and alignment of embedded object. </description> </method> - <method name="_shaped_text_set_bidi_override" qualifiers="virtual"> + <method name="shaped_text_set_bidi_override" qualifiers="virtual"> <return type="void" /> <argument index="0" name="shaped" type="RID" /> <argument index="1" name="override" type="Array" /> @@ -1330,7 +1333,7 @@ Override ranges should cover full source text without overlaps. BiDi algorithm will be used on each range separately. </description> </method> - <method name="_shaped_text_set_custom_punctuation" qualifiers="virtual"> + <method name="shaped_text_set_custom_punctuation" qualifiers="virtual"> <return type="void" /> <argument index="0" name="shaped" type="RID" /> <argument index="1" name="punct" type="String" /> @@ -1338,25 +1341,23 @@ Sets custom punctuation character list, used for word breaking. If set to empty string, server defaults are used. </description> </method> - <method name="_shaped_text_set_direction" qualifiers="virtual"> + <method name="shaped_text_set_direction" qualifiers="virtual"> <return type="void" /> <argument index="0" name="shaped" type="RID" /> <argument index="1" name="direction" type="int" enum="TextServer.Direction" /> <description> Sets desired text direction. If set to [code]TEXT_DIRECTION_AUTO[/code], direction will be detected based on the buffer contents and current locale. - [b]Note:[/b] Direction is ignored if server does not support [code]FEATURE_BIDI_LAYOUT[/code] feature. </description> </method> - <method name="_shaped_text_set_orientation" qualifiers="virtual"> + <method name="shaped_text_set_orientation" qualifiers="virtual"> <return type="void" /> <argument index="0" name="shaped" type="RID" /> <argument index="1" name="orientation" type="int" enum="TextServer.Orientation" /> <description> Sets desired text orientation. - [b]Note:[/b] Orientation is ignored if server does not support [code]FEATURE_VERTICAL_LAYOUT[/code] feature. </description> </method> - <method name="_shaped_text_set_preserve_control" qualifiers="virtual"> + <method name="shaped_text_set_preserve_control" qualifiers="virtual"> <return type="void" /> <argument index="0" name="shaped" type="RID" /> <argument index="1" name="enabled" type="bool" /> @@ -1364,7 +1365,7 @@ If set to [code]true[/code] text buffer will display control characters. </description> </method> - <method name="_shaped_text_set_preserve_invalid" qualifiers="virtual"> + <method name="shaped_text_set_preserve_invalid" qualifiers="virtual"> <return type="void" /> <argument index="0" name="shaped" type="RID" /> <argument index="1" name="enabled" type="bool" /> @@ -1372,22 +1373,21 @@ If set to [code]true[/code] text buffer will display invalid characters as hexadecimal codes, otherwise nothing is displayed. </description> </method> - <method name="_shaped_text_shape" qualifiers="virtual"> + <method name="shaped_text_shape" qualifiers="virtual"> <return type="bool" /> <argument index="0" name="shaped" type="RID" /> <description> Shapes buffer if it's not shaped. Returns [code]true[/code] if the string is shaped successfully. - [b]Note:[/b] It is not necessary to call this function manually, buffer will be shaped automatically as soon as any of its output data is requested. </description> </method> - <method name="_shaped_text_sort_logical" qualifiers="virtual"> - <return type="Glyph*" /> + <method name="shaped_text_sort_logical" qualifiers="virtual"> + <return type="const Glyph*" /> <argument index="0" name="shaped" type="RID" /> <description> - Copies text glyphs in the logical order, into preallocated array of the size returned by [method _shaped_text_get_glyph_count]. + Returns text glyphs in the logical order. </description> </method> - <method name="_shaped_text_substr" qualifiers="virtual const"> + <method name="shaped_text_substr" qualifiers="virtual const"> <return type="RID" /> <argument index="0" name="shaped" type="RID" /> <argument index="1" name="start" type="int" /> @@ -1396,7 +1396,7 @@ Returns text buffer for the substring of the text in the [code]shaped[/code] text buffer (including inline objects). </description> </method> - <method name="_shaped_text_tab_align" qualifiers="virtual"> + <method name="shaped_text_tab_align" qualifiers="virtual"> <return type="float" /> <argument index="0" name="shaped" type="RID" /> <argument index="1" name="tab_stops" type="PackedFloat32Array" /> @@ -1404,37 +1404,47 @@ Aligns shaped text to the given tab-stops. </description> </method> - <method name="_shaped_text_update_breaks" qualifiers="virtual"> + <method name="shaped_text_update_breaks" qualifiers="virtual"> <return type="bool" /> <argument index="0" name="shaped" type="RID" /> <description> - Updates line and word breaks. + Updates line breaking positions in the text buffer. + [b]Note:[/b] This method is used by default line/word breaking methods, and its implementation might be omitted if custom line breaking in implemented. </description> </method> - <method name="_shaped_text_update_justification_ops" qualifiers="virtual"> + <method name="shaped_text_update_justification_ops" qualifiers="virtual"> <return type="bool" /> <argument index="0" name="shaped" type="RID" /> <description> - Updates justification opportunities (spaces, kashidas, etc.). + Updates line justification positions (word breaks and elongations) in the text buffer. + [b]Note:[/b] This method is used by default line/word breaking methods, and its implementation might be omitted if custom line breaking in implemented. </description> </method> - <method name="_string_to_lower" qualifiers="virtual const"> + <method name="string_to_lower" qualifiers="virtual const"> <return type="String" /> <argument index="0" name="string" type="String" /> <argument index="1" name="language" type="String" /> <description> - Returns the string converted to lowercase. Casing is locale dependent and context sensitive. The result may be longer or shorter than the original. + Returns the string converted to lowercase. </description> </method> - <method name="_string_to_upper" qualifiers="virtual const"> + <method name="string_to_upper" qualifiers="virtual const"> <return type="String" /> <argument index="0" name="string" type="String" /> <argument index="1" name="language" type="String" /> <description> - Returns the string converted to uppercase. Casing is locale dependent and context sensitive. The result may be longer or shorter than the original. + Returns the string converted to uppercase. + </description> + </method> + <method name="strip_diacritics" qualifiers="virtual const"> + <return type="String" /> + <argument index="0" name="string" type="String" /> + <description> + Strips diacritics from the string. + [b]Note:[/b] If this method is not implemented in the plugin, the default implementation will be used. </description> </method> - <method name="_tag_to_name" qualifiers="virtual const"> + <method name="tag_to_name" qualifiers="virtual const"> <return type="String" /> <argument index="0" name="tag" type="int" /> <description> diff --git a/doc/classes/TextureProgressBar.xml b/doc/classes/TextureProgressBar.xml index a97e3a0cdc..4ea072a25f 100644 --- a/doc/classes/TextureProgressBar.xml +++ b/doc/classes/TextureProgressBar.xml @@ -27,7 +27,6 @@ <member name="fill_mode" type="int" setter="set_fill_mode" getter="get_fill_mode" default="0"> The fill direction. See [enum FillMode] for possible values. </member> - <member name="mouse_filter" type="int" setter="set_mouse_filter" getter="get_mouse_filter" overrides="Control" enum="Control.MouseFilter" default="1" /> <member name="nine_patch_stretch" type="bool" setter="set_nine_patch_stretch" getter="get_nine_patch_stretch" default="false"> If [code]true[/code], Godot treats the bar's textures like in [NinePatchRect]. Use the [code]stretch_margin_*[/code] properties like [member stretch_margin_bottom] to set up the nine patch's 3×3 grid. When using a radial [member fill_mode], this setting will enable stretching. </member> 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/classes/ViewportTexture.xml b/doc/classes/ViewportTexture.xml index e5b7a68a51..87de664aad 100644 --- a/doc/classes/ViewportTexture.xml +++ b/doc/classes/ViewportTexture.xml @@ -14,7 +14,6 @@ <link title="3D Viewport Scaling Demo">https://godotengine.org/asset-library/asset/586</link> </tutorials> <members> - <member name="resource_local_to_scene" type="bool" setter="set_local_to_scene" getter="is_local_to_scene" overrides="Resource" default="true" /> <member name="viewport_path" type="NodePath" setter="set_viewport_path_in_scene" getter="get_viewport_path_in_scene" default="NodePath("")"> The path to the [Viewport] node to display. This is relative to the scene root, not to the node which uses the texture. </member> diff --git a/doc/classes/VisualInstance3D.xml b/doc/classes/VisualInstance3D.xml index 7efa1f4df8..78a681d92a 100644 --- a/doc/classes/VisualInstance3D.xml +++ b/doc/classes/VisualInstance3D.xml @@ -63,7 +63,7 @@ </method> </methods> <members> - <member name="layers" type="int" setter="set_layer_mask" getter="get_layer_mask" default="1"> + <member name="layers" type="int" setter="set_layer_mask" getter="get_layer_mask"> The render layer(s) this [VisualInstance3D] is drawn on. This object will only be visible for [Camera3D]s whose cull mask includes the render object this [VisualInstance3D] is set to. </member> diff --git a/doc/translations/ar.po b/doc/translations/ar.po index eb473b9275..c611cb845c 100644 --- a/doc/translations/ar.po +++ b/doc/translations/ar.po @@ -17,12 +17,13 @@ # Spirit <i8bou3@gmail.com>, 2022. # Mr.k <mineshtine28546271@gmail.com>, 2022. # Hamza Kalash <mogo.gogo170@gmail.com>, 2022. +# ywmaa <ywmaa.personal@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-28 13:54+0000\n" -"Last-Translator: Mr.k <mineshtine28546271@gmail.com>\n" +"PO-Revision-Date: 2022-03-13 22:12+0000\n" +"Last-Translator: ywmaa <ywmaa.personal@gmail.com>\n" "Language-Team: Arabic <https://hosted.weblate.org/projects/godot-engine/" "godot-class-reference/ar/>\n" "Language: ar\n" @@ -31,7 +32,7 @@ msgstr "" "Content-Transfer-Encoding: 8-bit\n" "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " "&& n%100<=10 ? 3 : n%100>=11 ? 4 : 5;\n" -"X-Generator: Weblate 4.11.1-dev\n" +"X-Generator: Weblate 4.12-dev\n" #: doc/tools/make_rst.py msgid "Description" @@ -59,7 +60,7 @@ msgstr "الإشارات" #: doc/tools/make_rst.py msgid "Enumerations" -msgstr "التعدادات" +msgstr "تعداد" #: doc/tools/make_rst.py msgid "Constants" @@ -82,7 +83,6 @@ msgid "Inherits:" msgstr "يرث:" #: doc/tools/make_rst.py -#, fuzzy msgid "Inherited By:" msgstr "موروث من قِبَل:" @@ -124,7 +124,7 @@ msgstr "" #: doc/tools/make_rst.py msgid "This method is used to construct a type." -msgstr "" +msgstr "هذه الطريقة تستخدم لانشاء نوع/صنف." #: doc/tools/make_rst.py msgid "" @@ -139,9 +139,8 @@ msgid "" msgstr "" #: modules/gdscript/doc_classes/@GDScript.xml -#, fuzzy msgid "Built-in GDScript functions." -msgstr "دوال GDScript المدمجة." +msgstr "دوال جي دي سكريبت/GDScript المدمجة." #: modules/gdscript/doc_classes/@GDScript.xml msgid "" @@ -3414,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 @@ -5329,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 @@ -10450,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 @@ -12604,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 @@ -12725,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 @@ -15948,6 +15967,11 @@ msgid "" msgstr "" #: doc/classes/Control.xml +#, fuzzy +msgid "Returns [code]true[/code] if drag operation is successful." +msgstr "يُرجع جيب التمام \"cosine \" لقيمة المَعلم." + +#: doc/classes/Control.xml msgid "" "Invalidates the size cache in this node and in parent nodes up to toplevel. " "Intended to be used with [method get_minimum_size] when the return value is " @@ -16374,8 +16398,9 @@ msgstr "" #: doc/classes/Control.xml msgid "" "By default, the node's pivot is its top-left corner. When you change its " -"[member rect_scale], it will scale around this pivot. Set this property to " -"[member rect_size] / 2 to center the pivot in the node's rectangle." +"[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 "" #: doc/classes/Control.xml @@ -18719,10 +18744,10 @@ msgid "" "further calculations." msgstr "" -#: doc/classes/Curve2D.xml doc/classes/Curve3D.xml +#: doc/classes/Curve2D.xml msgid "" -"Adds a point to a curve at [code]position[/code], with control points " -"[code]in[/code] and [code]out[/code].\n" +"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" "If [code]at_position[/code] is given, the point is inserted before the point " "number [code]at_position[/code], moving that point (and every point after) " "after the inserted point. If [code]at_position[/code] is not given, or is an " @@ -18874,6 +18899,18 @@ msgid "" msgstr "" #: doc/classes/Curve3D.xml +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" +"If [code]at_position[/code] is given, the point is inserted before the point " +"number [code]at_position[/code], moving that point (and every point after) " +"after the inserted point. If [code]at_position[/code] is not given, or is an " +"illegal value ([code]at_position <0[/code] or [code]at_position >= [method " +"get_point_count][/code]), the point will be appended at the end of the point " +"list." +msgstr "" + +#: doc/classes/Curve3D.xml #, fuzzy msgid "Returns the cache of points as a [PoolVector3Array]." msgstr "يُرجع قيمة الجيب العكسية للمَعلم." @@ -19682,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" @@ -22475,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 @@ -23361,10 +23398,13 @@ msgstr "" #: doc/classes/Environment.xml msgid "" -"Keeps on screen every pixel drawn in the background. This is the fastest " -"background mode, but it can only be safely used in fully-interior scenes (no " -"visible sky or sky reflections). If enabled in a scene where the background " -"is visible, \"ghost trail\" artifacts will be visible when moving the camera." +"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 " +"not be faster than clearing the background, and can be significantly slower, " +"particularly on mobile.\n" +"It can only be safely used in fully-interior scenes (no visible sky or sky " +"reflections). If enabled in a scene where the background is visible, \"ghost " +"trail\" artifacts will be visible when moving the camera." msgstr "" #: doc/classes/Environment.xml @@ -26819,14 +26859,14 @@ msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Depth of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the depth of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Width of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the width of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HFlowContainer.xml @@ -29070,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 @@ -29082,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 @@ -29217,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 " @@ -29231,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 @@ -29242,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 " @@ -29594,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 @@ -29614,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 " @@ -29628,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 @@ -29661,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 @@ -30194,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 @@ -32669,6 +32709,13 @@ msgstr "" msgid "If [code]true[/code], the context menu will appear when right-clicked." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml +#: doc/classes/TextEdit.xml +msgid "" +"If [code]true[/code], the selected text will be deselected when focus is " +"lost." +msgstr "" + #: doc/classes/LineEdit.xml msgid "" "If [code]false[/code], existing text cannot be modified and new text cannot " @@ -32704,6 +32751,13 @@ msgid "" "[/codeblock]" msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +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 "" + #: doc/classes/LineEdit.xml msgid "" "Opacity of the [member placeholder_text]. From [code]0[/code] to [code]1[/" @@ -34019,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 "" @@ -36497,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 @@ -37209,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 @@ -37805,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 @@ -38589,6 +38690,11 @@ msgid "Returns the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +#, fuzzy +msgid "Returns the tooltip of the item at index [code]idx[/code]." +msgstr "يُرجع جيب المَعلم." + +#: doc/classes/OptionButton.xml msgid "" "Returns the ID of the selected item, or [code]0[/code] if no item is " "selected." @@ -38642,6 +38748,11 @@ msgid "Sets the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +#, fuzzy +msgid "Sets the tooltip of the item at index [code]idx[/code]." +msgstr "يُرجع جيب المَعلم." + +#: doc/classes/OptionButton.xml msgid "" "The index of the currently selected item, or [code]-1[/code] if no item is " "selected." @@ -39201,6 +39312,23 @@ msgstr "" #: doc/classes/OS.xml msgid "" +"Returns the current refresh rate of the specified screen. If [code]screen[/" +"code] is [code]-1[/code] (the default value), the current screen will be " +"used.\n" +"[b]Note:[/b] Returns [code]-1.0[/code] if Godot fails to find the refresh " +"rate for the specified screen. On HTML5, [method get_screen_refresh_rate] " +"will always return [code]-1.0[/code] as there is no way to retrieve the " +"refresh rate on that platform.\n" +"To fallback to a default refresh rate if the method fails, try:\n" +"[codeblock]\n" +"var refresh_rate = OS.get_screen_refresh_rate()\n" +"if refresh_rate < 0:\n" +" refresh_rate = 60.0\n" +"[/codeblock]" +msgstr "" + +#: doc/classes/OS.xml +msgid "" "Return the scale factor of the specified screen by index. If [code]screen[/" "code] is [code]-1[/code] (the default value), the current screen will be " "used.\n" @@ -43046,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 @@ -45581,6 +45712,12 @@ msgstr "" #: doc/classes/ProjectSettings.xml 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 "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], enables warnings when a function is declared with the " "same name as a constant." msgstr "" @@ -46004,6 +46141,19 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If enabled, the moment [member Viewport.gui_disable_input] is set to " +"[code]false[/code] to disable GUI input in a viewport, current mouse over " +"and mouse focus will be dropped.\n" +"That behavior helps to keep a robust GUI state, with no surprises when input " +"is resumed regardless what has happened in the meantime.\n" +"If disabled, the legacy behavior is used, which consists in just not doing " +"anything besides the GUI input disable itself.\n" +"[b]Note:[/b] This is set to [code]true[/code] by default for new projects " +"and is the recommended setting." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], swaps OK and Cancel buttons in dialogs on Windows and " "UWP to follow interface conventions." msgstr "" @@ -46973,6 +47123,16 @@ msgid "" msgstr "" #: doc/classes/ProjectSettings.xml +msgid "" +"If [code]true[/code], smooths out collision with trimesh shapes " +"([ConcavePolygonShape]) by telling the Bullet physics engine to generate " +"internal edge information for every trimesh shape created.\n" +"[b]Note:[/b] Only effective if [member physics/3d/physics_engine] is set to " +"[code]DEFAULT[/code] or [code]Bullet[/code], [i]not[/i] [code]GodotPhysics[/" +"code]." +msgstr "" + +#: doc/classes/ProjectSettings.xml msgid "Enables [member Viewport.physics_object_picking] on the root viewport." msgstr "" @@ -47386,6 +47546,14 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"An override for [code]rendering/gles3/shaders/shader_compilation_mode[/" +"code], so asynchronous compilation can be disabled for mobile.\n" +"You may want to do that since mobile GPUs generally won't support " +"ubershaders due to their complexity." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Max buffer size for blend shapes. Any blend shape bigger than this will not " "work." msgstr "" @@ -48318,13 +48486,13 @@ msgstr "" #: doc/classes/Range.xml msgid "" -"Binds two ranges together along with any ranges previously grouped with " +"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 "" #: doc/classes/Range.xml -msgid "Stops range from sharing its member variables with any other." +msgid "Stops the [Range] from sharing its member variables with any other." msgstr "" #: doc/classes/Range.xml @@ -48391,7 +48559,14 @@ msgid "" msgstr "" #: doc/classes/Range.xml -msgid "Emitted when [member value] changes." +msgid "" +"Emitted when [member value] changes. When used on a [Slider], this is called " +"continuously while dragging (potentially every frame). If you are performing " +"an expensive operation in a function connected to [signal value_changed], " +"consider using a [i]debouncing[/i] [Timer] to call the function less often.\n" +"[b]Note:[/b] Unlike signals such as [signal LineEdit.text_changed], [signal " +"value_changed] is also emitted when [code]value[/code] is set directly via " +"code." msgstr "" #: doc/classes/RayCast.xml doc/classes/RayCast2D.xml @@ -55694,11 +55869,11 @@ msgid "" "Returns [code]true[/code] if this string contains a valid float. This is " "inclusive of integers, and also supports exponents:\n" "[codeblock]\n" -"print(\"1.7\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"7e3\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"Hello\".is_valid_float()) # Prints \"false\"\n" +"print(\"1.7\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"7e3\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55724,9 +55899,9 @@ msgid "" "identifier may contain only letters, digits and underscores ([code]_[/code]) " "and the first character may not be a digit.\n" "[codeblock]\n" -"print(\"good_ident_1\".is_valid_identifier()) # Prints \"true\"\n" -"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"false\"\n" -"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"false\"\n" +"print(\"good_ident_1\".is_valid_identifier()) # Prints \"True\"\n" +"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"False\"\n" +"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55734,11 +55909,11 @@ msgstr "" msgid "" "Returns [code]true[/code] if this string contains a valid integer.\n" "[codeblock]\n" -"print(\"7\".is_valid_int()) # Prints \"true\"\n" -"print(\"14.6\".is_valid_int()) # Prints \"false\"\n" -"print(\"L\".is_valid_int()) # Prints \"false\"\n" -"print(\"+3\".is_valid_int()) # Prints \"true\"\n" -"print(\"-12\".is_valid_int()) # Prints \"true\"\n" +"print(\"7\".is_valid_int()) # Prints \"True\"\n" +"print(\"14.6\".is_valid_int()) # Prints \"False\"\n" +"print(\"L\".is_valid_int()) # Prints \"False\"\n" +"print(\"+3\".is_valid_int()) # Prints \"True\"\n" +"print(\"-12\".is_valid_int()) # Prints \"True\"\n" "[/codeblock]" msgstr "" @@ -55934,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 "" @@ -57533,6 +57708,12 @@ msgid "Returns if the given line is wrapped." msgstr "يُرجع قيمة ظل الزاوية للمَعلم." #: doc/classes/TextEdit.xml +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 "" + +#: doc/classes/TextEdit.xml msgid "Returns [code]true[/code] if the selection is active." msgstr "" @@ -59749,6 +59930,13 @@ msgstr "" #: doc/classes/Time.xml msgid "" +"Converts the given timezone offset in minutes to a timezone offset string. " +"For example, -480 returns \"-08:00\", 345 returns \"+05:45\", and 0 returns " +"\"+00:00\"." +msgstr "" + +#: doc/classes/Time.xml +msgid "" "Returns the amount of time passed in milliseconds since the engine started.\n" "Will always be positive or 0 and uses a 64-bit value (it will wrap after " "roughly 500 million years)." @@ -63414,6 +63602,11 @@ msgid "Returns [code]true[/code] if there are visible modals on-screen." msgstr "" #: doc/classes/Viewport.xml +#, fuzzy +msgid "Returns [code]true[/code] if the drag operation is successful." +msgstr "يُرجع جيب التمام \"cosine \" لقيمة المَعلم." + +#: doc/classes/Viewport.xml msgid "" "Returns [code]true[/code] if the viewport is currently performing a drag " "operation." diff --git a/doc/translations/ca.po b/doc/translations/ca.po index 6c448598c1..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 @@ -15962,6 +15982,10 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "Returns [code]true[/code] if drag operation is successful." +msgstr "" + +#: doc/classes/Control.xml msgid "" "Invalidates the size cache in this node and in parent nodes up to toplevel. " "Intended to be used with [method get_minimum_size] when the return value is " @@ -16382,8 +16406,9 @@ msgstr "" #: doc/classes/Control.xml msgid "" "By default, the node's pivot is its top-left corner. When you change its " -"[member rect_scale], it will scale around this pivot. Set this property to " -"[member rect_size] / 2 to center the pivot in the node's rectangle." +"[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 "" #: doc/classes/Control.xml @@ -18727,10 +18752,10 @@ msgid "" "further calculations." msgstr "" -#: doc/classes/Curve2D.xml doc/classes/Curve3D.xml +#: doc/classes/Curve2D.xml msgid "" -"Adds a point to a curve at [code]position[/code], with control points " -"[code]in[/code] and [code]out[/code].\n" +"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" "If [code]at_position[/code] is given, the point is inserted before the point " "number [code]at_position[/code], moving that point (and every point after) " "after the inserted point. If [code]at_position[/code] is not given, or is an " @@ -18881,6 +18906,18 @@ msgid "" msgstr "" #: doc/classes/Curve3D.xml +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" +"If [code]at_position[/code] is given, the point is inserted before the point " +"number [code]at_position[/code], moving that point (and every point after) " +"after the inserted point. If [code]at_position[/code] is not given, or is an " +"illegal value ([code]at_position <0[/code] or [code]at_position >= [method " +"get_point_count][/code]), the point will be appended at the end of the point " +"list." +msgstr "" + +#: doc/classes/Curve3D.xml msgid "Returns the cache of points as a [PoolVector3Array]." msgstr "" @@ -19686,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" @@ -22478,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 @@ -23364,10 +23401,13 @@ msgstr "" #: doc/classes/Environment.xml msgid "" -"Keeps on screen every pixel drawn in the background. This is the fastest " -"background mode, but it can only be safely used in fully-interior scenes (no " -"visible sky or sky reflections). If enabled in a scene where the background " -"is visible, \"ghost trail\" artifacts will be visible when moving the camera." +"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 " +"not be faster than clearing the background, and can be significantly slower, " +"particularly on mobile.\n" +"It can only be safely used in fully-interior scenes (no visible sky or sky " +"reflections). If enabled in a scene where the background is visible, \"ghost " +"trail\" artifacts will be visible when moving the camera." msgstr "" #: doc/classes/Environment.xml @@ -26818,14 +26858,14 @@ msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Depth of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the depth of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Width of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the width of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HFlowContainer.xml @@ -29067,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 @@ -29079,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 @@ -29214,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 " @@ -29228,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 @@ -29239,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 " @@ -29591,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 @@ -29611,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 " @@ -29625,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 @@ -29658,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 @@ -30190,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 @@ -32664,6 +32704,13 @@ msgstr "" msgid "If [code]true[/code], the context menu will appear when right-clicked." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml +#: doc/classes/TextEdit.xml +msgid "" +"If [code]true[/code], the selected text will be deselected when focus is " +"lost." +msgstr "" + #: doc/classes/LineEdit.xml msgid "" "If [code]false[/code], existing text cannot be modified and new text cannot " @@ -32699,6 +32746,13 @@ msgid "" "[/codeblock]" msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +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 "" + #: doc/classes/LineEdit.xml msgid "" "Opacity of the [member placeholder_text]. From [code]0[/code] to [code]1[/" @@ -34014,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 "" @@ -36466,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 @@ -37178,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 @@ -37774,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 @@ -38558,6 +38659,10 @@ msgid "Returns the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +msgid "Returns the tooltip of the item at index [code]idx[/code]." +msgstr "" + +#: doc/classes/OptionButton.xml msgid "" "Returns the ID of the selected item, or [code]0[/code] if no item is " "selected." @@ -38611,6 +38716,10 @@ msgid "Sets the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +msgid "Sets the tooltip of the item at index [code]idx[/code]." +msgstr "" + +#: doc/classes/OptionButton.xml msgid "" "The index of the currently selected item, or [code]-1[/code] if no item is " "selected." @@ -39167,6 +39276,23 @@ msgstr "" #: doc/classes/OS.xml msgid "" +"Returns the current refresh rate of the specified screen. If [code]screen[/" +"code] is [code]-1[/code] (the default value), the current screen will be " +"used.\n" +"[b]Note:[/b] Returns [code]-1.0[/code] if Godot fails to find the refresh " +"rate for the specified screen. On HTML5, [method get_screen_refresh_rate] " +"will always return [code]-1.0[/code] as there is no way to retrieve the " +"refresh rate on that platform.\n" +"To fallback to a default refresh rate if the method fails, try:\n" +"[codeblock]\n" +"var refresh_rate = OS.get_screen_refresh_rate()\n" +"if refresh_rate < 0:\n" +" refresh_rate = 60.0\n" +"[/codeblock]" +msgstr "" + +#: doc/classes/OS.xml +msgid "" "Return the scale factor of the specified screen by index. If [code]screen[/" "code] is [code]-1[/code] (the default value), the current screen will be " "used.\n" @@ -42993,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 @@ -45523,6 +45652,12 @@ msgstr "" #: doc/classes/ProjectSettings.xml 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 "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], enables warnings when a function is declared with the " "same name as a constant." msgstr "" @@ -45946,6 +46081,19 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If enabled, the moment [member Viewport.gui_disable_input] is set to " +"[code]false[/code] to disable GUI input in a viewport, current mouse over " +"and mouse focus will be dropped.\n" +"That behavior helps to keep a robust GUI state, with no surprises when input " +"is resumed regardless what has happened in the meantime.\n" +"If disabled, the legacy behavior is used, which consists in just not doing " +"anything besides the GUI input disable itself.\n" +"[b]Note:[/b] This is set to [code]true[/code] by default for new projects " +"and is the recommended setting." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], swaps OK and Cancel buttons in dialogs on Windows and " "UWP to follow interface conventions." msgstr "" @@ -46915,6 +47063,16 @@ msgid "" msgstr "" #: doc/classes/ProjectSettings.xml +msgid "" +"If [code]true[/code], smooths out collision with trimesh shapes " +"([ConcavePolygonShape]) by telling the Bullet physics engine to generate " +"internal edge information for every trimesh shape created.\n" +"[b]Note:[/b] Only effective if [member physics/3d/physics_engine] is set to " +"[code]DEFAULT[/code] or [code]Bullet[/code], [i]not[/i] [code]GodotPhysics[/" +"code]." +msgstr "" + +#: doc/classes/ProjectSettings.xml msgid "Enables [member Viewport.physics_object_picking] on the root viewport." msgstr "" @@ -47328,6 +47486,14 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"An override for [code]rendering/gles3/shaders/shader_compilation_mode[/" +"code], so asynchronous compilation can be disabled for mobile.\n" +"You may want to do that since mobile GPUs generally won't support " +"ubershaders due to their complexity." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Max buffer size for blend shapes. Any blend shape bigger than this will not " "work." msgstr "" @@ -48260,13 +48426,13 @@ msgstr "" #: doc/classes/Range.xml msgid "" -"Binds two ranges together along with any ranges previously grouped with " +"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 "" #: doc/classes/Range.xml -msgid "Stops range from sharing its member variables with any other." +msgid "Stops the [Range] from sharing its member variables with any other." msgstr "" #: doc/classes/Range.xml @@ -48333,7 +48499,14 @@ msgid "" msgstr "" #: doc/classes/Range.xml -msgid "Emitted when [member value] changes." +msgid "" +"Emitted when [member value] changes. When used on a [Slider], this is called " +"continuously while dragging (potentially every frame). If you are performing " +"an expensive operation in a function connected to [signal value_changed], " +"consider using a [i]debouncing[/i] [Timer] to call the function less often.\n" +"[b]Note:[/b] Unlike signals such as [signal LineEdit.text_changed], [signal " +"value_changed] is also emitted when [code]value[/code] is set directly via " +"code." msgstr "" #: doc/classes/RayCast.xml doc/classes/RayCast2D.xml @@ -55633,11 +55806,11 @@ msgid "" "Returns [code]true[/code] if this string contains a valid float. This is " "inclusive of integers, and also supports exponents:\n" "[codeblock]\n" -"print(\"1.7\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"7e3\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"Hello\".is_valid_float()) # Prints \"false\"\n" +"print(\"1.7\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"7e3\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55663,9 +55836,9 @@ msgid "" "identifier may contain only letters, digits and underscores ([code]_[/code]) " "and the first character may not be a digit.\n" "[codeblock]\n" -"print(\"good_ident_1\".is_valid_identifier()) # Prints \"true\"\n" -"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"false\"\n" -"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"false\"\n" +"print(\"good_ident_1\".is_valid_identifier()) # Prints \"True\"\n" +"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"False\"\n" +"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55673,11 +55846,11 @@ msgstr "" msgid "" "Returns [code]true[/code] if this string contains a valid integer.\n" "[codeblock]\n" -"print(\"7\".is_valid_int()) # Prints \"true\"\n" -"print(\"14.6\".is_valid_int()) # Prints \"false\"\n" -"print(\"L\".is_valid_int()) # Prints \"false\"\n" -"print(\"+3\".is_valid_int()) # Prints \"true\"\n" -"print(\"-12\".is_valid_int()) # Prints \"true\"\n" +"print(\"7\".is_valid_int()) # Prints \"True\"\n" +"print(\"14.6\".is_valid_int()) # Prints \"False\"\n" +"print(\"L\".is_valid_int()) # Prints \"False\"\n" +"print(\"+3\".is_valid_int()) # Prints \"True\"\n" +"print(\"-12\".is_valid_int()) # Prints \"True\"\n" "[/codeblock]" msgstr "" @@ -55873,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 "" @@ -57464,6 +57637,12 @@ msgid "Returns if the given line is wrapped." msgstr "" #: doc/classes/TextEdit.xml +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 "" + +#: doc/classes/TextEdit.xml msgid "Returns [code]true[/code] if the selection is active." msgstr "" @@ -59679,6 +59858,13 @@ msgstr "" #: doc/classes/Time.xml msgid "" +"Converts the given timezone offset in minutes to a timezone offset string. " +"For example, -480 returns \"-08:00\", 345 returns \"+05:45\", and 0 returns " +"\"+00:00\"." +msgstr "" + +#: doc/classes/Time.xml +msgid "" "Returns the amount of time passed in milliseconds since the engine started.\n" "Will always be positive or 0 and uses a 64-bit value (it will wrap after " "roughly 500 million years)." @@ -63333,6 +63519,10 @@ msgid "Returns [code]true[/code] if there are visible modals on-screen." msgstr "" #: doc/classes/Viewport.xml +msgid "Returns [code]true[/code] if the drag operation is successful." +msgstr "" + +#: doc/classes/Viewport.xml msgid "" "Returns [code]true[/code] if the viewport is currently performing a drag " "operation." diff --git a/doc/translations/classes.pot b/doc/translations/classes.pot index aab649c5ed..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 @@ -15842,6 +15862,10 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "Returns [code]true[/code] if drag operation is successful." +msgstr "" + +#: doc/classes/Control.xml msgid "" "Invalidates the size cache in this node and in parent nodes up to toplevel. " "Intended to be used with [method get_minimum_size] when the return value is " @@ -16262,8 +16286,9 @@ msgstr "" #: doc/classes/Control.xml msgid "" "By default, the node's pivot is its top-left corner. When you change its " -"[member rect_scale], it will scale around this pivot. Set this property to " -"[member rect_size] / 2 to center the pivot in the node's rectangle." +"[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 "" #: doc/classes/Control.xml @@ -18607,10 +18632,10 @@ msgid "" "further calculations." msgstr "" -#: doc/classes/Curve2D.xml doc/classes/Curve3D.xml +#: doc/classes/Curve2D.xml msgid "" -"Adds a point to a curve at [code]position[/code], with control points " -"[code]in[/code] and [code]out[/code].\n" +"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" "If [code]at_position[/code] is given, the point is inserted before the point " "number [code]at_position[/code], moving that point (and every point after) " "after the inserted point. If [code]at_position[/code] is not given, or is an " @@ -18761,6 +18786,18 @@ msgid "" msgstr "" #: doc/classes/Curve3D.xml +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" +"If [code]at_position[/code] is given, the point is inserted before the point " +"number [code]at_position[/code], moving that point (and every point after) " +"after the inserted point. If [code]at_position[/code] is not given, or is an " +"illegal value ([code]at_position <0[/code] or [code]at_position >= [method " +"get_point_count][/code]), the point will be appended at the end of the point " +"list." +msgstr "" + +#: doc/classes/Curve3D.xml msgid "Returns the cache of points as a [PoolVector3Array]." msgstr "" @@ -19566,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" @@ -22358,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 @@ -23241,10 +23278,13 @@ msgstr "" #: doc/classes/Environment.xml msgid "" -"Keeps on screen every pixel drawn in the background. This is the fastest " -"background mode, but it can only be safely used in fully-interior scenes (no " -"visible sky or sky reflections). If enabled in a scene where the background " -"is visible, \"ghost trail\" artifacts will be visible when moving the camera." +"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 " +"not be faster than clearing the background, and can be significantly slower, " +"particularly on mobile.\n" +"It can only be safely used in fully-interior scenes (no visible sky or sky " +"reflections). If enabled in a scene where the background is visible, \"ghost " +"trail\" artifacts will be visible when moving the camera." msgstr "" #: doc/classes/Environment.xml @@ -26695,14 +26735,14 @@ msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Depth of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the depth of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Width of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the width of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HFlowContainer.xml @@ -28944,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 @@ -28956,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 @@ -29091,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 " @@ -29105,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 @@ -29116,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 " @@ -29468,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 @@ -29488,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 " @@ -29502,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 @@ -29535,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 @@ -30067,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 @@ -32541,6 +32581,13 @@ msgstr "" msgid "If [code]true[/code], the context menu will appear when right-clicked." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml +#: doc/classes/TextEdit.xml +msgid "" +"If [code]true[/code], the selected text will be deselected when focus is " +"lost." +msgstr "" + #: doc/classes/LineEdit.xml msgid "" "If [code]false[/code], existing text cannot be modified and new text cannot " @@ -32576,6 +32623,13 @@ msgid "" "[/codeblock]" msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +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 "" + #: doc/classes/LineEdit.xml msgid "" "Opacity of the [member placeholder_text]. From [code]0[/code] to [code]1[/" @@ -33891,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 "" @@ -36343,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 @@ -37055,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 @@ -37651,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 @@ -38435,6 +38536,10 @@ msgid "Returns the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +msgid "Returns the tooltip of the item at index [code]idx[/code]." +msgstr "" + +#: doc/classes/OptionButton.xml msgid "" "Returns the ID of the selected item, or [code]0[/code] if no item is " "selected." @@ -38488,6 +38593,10 @@ msgid "Sets the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +msgid "Sets the tooltip of the item at index [code]idx[/code]." +msgstr "" + +#: doc/classes/OptionButton.xml msgid "" "The index of the currently selected item, or [code]-1[/code] if no item is " "selected." @@ -39044,6 +39153,23 @@ msgstr "" #: doc/classes/OS.xml msgid "" +"Returns the current refresh rate of the specified screen. If [code]screen[/" +"code] is [code]-1[/code] (the default value), the current screen will be " +"used.\n" +"[b]Note:[/b] Returns [code]-1.0[/code] if Godot fails to find the refresh " +"rate for the specified screen. On HTML5, [method get_screen_refresh_rate] " +"will always return [code]-1.0[/code] as there is no way to retrieve the " +"refresh rate on that platform.\n" +"To fallback to a default refresh rate if the method fails, try:\n" +"[codeblock]\n" +"var refresh_rate = OS.get_screen_refresh_rate()\n" +"if refresh_rate < 0:\n" +" refresh_rate = 60.0\n" +"[/codeblock]" +msgstr "" + +#: doc/classes/OS.xml +msgid "" "Return the scale factor of the specified screen by index. If [code]screen[/" "code] is [code]-1[/code] (the default value), the current screen will be " "used.\n" @@ -42870,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 @@ -45400,6 +45529,12 @@ msgstr "" #: doc/classes/ProjectSettings.xml 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 "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], enables warnings when a function is declared with the " "same name as a constant." msgstr "" @@ -45823,6 +45958,19 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If enabled, the moment [member Viewport.gui_disable_input] is set to " +"[code]false[/code] to disable GUI input in a viewport, current mouse over " +"and mouse focus will be dropped.\n" +"That behavior helps to keep a robust GUI state, with no surprises when input " +"is resumed regardless what has happened in the meantime.\n" +"If disabled, the legacy behavior is used, which consists in just not doing " +"anything besides the GUI input disable itself.\n" +"[b]Note:[/b] This is set to [code]true[/code] by default for new projects " +"and is the recommended setting." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], swaps OK and Cancel buttons in dialogs on Windows and " "UWP to follow interface conventions." msgstr "" @@ -46792,6 +46940,16 @@ msgid "" msgstr "" #: doc/classes/ProjectSettings.xml +msgid "" +"If [code]true[/code], smooths out collision with trimesh shapes " +"([ConcavePolygonShape]) by telling the Bullet physics engine to generate " +"internal edge information for every trimesh shape created.\n" +"[b]Note:[/b] Only effective if [member physics/3d/physics_engine] is set to " +"[code]DEFAULT[/code] or [code]Bullet[/code], [i]not[/i] [code]GodotPhysics[/" +"code]." +msgstr "" + +#: doc/classes/ProjectSettings.xml msgid "Enables [member Viewport.physics_object_picking] on the root viewport." msgstr "" @@ -47205,6 +47363,14 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"An override for [code]rendering/gles3/shaders/shader_compilation_mode[/" +"code], so asynchronous compilation can be disabled for mobile.\n" +"You may want to do that since mobile GPUs generally won't support " +"ubershaders due to their complexity." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Max buffer size for blend shapes. Any blend shape bigger than this will not " "work." msgstr "" @@ -48137,13 +48303,13 @@ msgstr "" #: doc/classes/Range.xml msgid "" -"Binds two ranges together along with any ranges previously grouped with " +"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 "" #: doc/classes/Range.xml -msgid "Stops range from sharing its member variables with any other." +msgid "Stops the [Range] from sharing its member variables with any other." msgstr "" #: doc/classes/Range.xml @@ -48210,7 +48376,14 @@ msgid "" msgstr "" #: doc/classes/Range.xml -msgid "Emitted when [member value] changes." +msgid "" +"Emitted when [member value] changes. When used on a [Slider], this is called " +"continuously while dragging (potentially every frame). If you are performing " +"an expensive operation in a function connected to [signal value_changed], " +"consider using a [i]debouncing[/i] [Timer] to call the function less often.\n" +"[b]Note:[/b] Unlike signals such as [signal LineEdit.text_changed], [signal " +"value_changed] is also emitted when [code]value[/code] is set directly via " +"code." msgstr "" #: doc/classes/RayCast.xml doc/classes/RayCast2D.xml @@ -55510,11 +55683,11 @@ msgid "" "Returns [code]true[/code] if this string contains a valid float. This is " "inclusive of integers, and also supports exponents:\n" "[codeblock]\n" -"print(\"1.7\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"7e3\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"Hello\".is_valid_float()) # Prints \"false\"\n" +"print(\"1.7\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"7e3\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55540,9 +55713,9 @@ msgid "" "identifier may contain only letters, digits and underscores ([code]_[/code]) " "and the first character may not be a digit.\n" "[codeblock]\n" -"print(\"good_ident_1\".is_valid_identifier()) # Prints \"true\"\n" -"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"false\"\n" -"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"false\"\n" +"print(\"good_ident_1\".is_valid_identifier()) # Prints \"True\"\n" +"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"False\"\n" +"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55550,11 +55723,11 @@ msgstr "" msgid "" "Returns [code]true[/code] if this string contains a valid integer.\n" "[codeblock]\n" -"print(\"7\".is_valid_int()) # Prints \"true\"\n" -"print(\"14.6\".is_valid_int()) # Prints \"false\"\n" -"print(\"L\".is_valid_int()) # Prints \"false\"\n" -"print(\"+3\".is_valid_int()) # Prints \"true\"\n" -"print(\"-12\".is_valid_int()) # Prints \"true\"\n" +"print(\"7\".is_valid_int()) # Prints \"True\"\n" +"print(\"14.6\".is_valid_int()) # Prints \"False\"\n" +"print(\"L\".is_valid_int()) # Prints \"False\"\n" +"print(\"+3\".is_valid_int()) # Prints \"True\"\n" +"print(\"-12\".is_valid_int()) # Prints \"True\"\n" "[/codeblock]" msgstr "" @@ -55750,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 "" @@ -57341,6 +57514,12 @@ msgid "Returns if the given line is wrapped." msgstr "" #: doc/classes/TextEdit.xml +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 "" + +#: doc/classes/TextEdit.xml msgid "Returns [code]true[/code] if the selection is active." msgstr "" @@ -59556,6 +59735,13 @@ msgstr "" #: doc/classes/Time.xml msgid "" +"Converts the given timezone offset in minutes to a timezone offset string. " +"For example, -480 returns \"-08:00\", 345 returns \"+05:45\", and 0 returns " +"\"+00:00\"." +msgstr "" + +#: doc/classes/Time.xml +msgid "" "Returns the amount of time passed in milliseconds since the engine started.\n" "Will always be positive or 0 and uses a 64-bit value (it will wrap after " "roughly 500 million years)." @@ -63210,6 +63396,10 @@ msgid "Returns [code]true[/code] if there are visible modals on-screen." msgstr "" #: doc/classes/Viewport.xml +msgid "Returns [code]true[/code] if the drag operation is successful." +msgstr "" + +#: doc/classes/Viewport.xml msgid "" "Returns [code]true[/code] if the viewport is currently performing a drag " "operation." diff --git a/doc/translations/cs.po b/doc/translations/cs.po index b1ce4b9d20..9999a29a0b 100644 --- a/doc/translations/cs.po +++ b/doc/translations/cs.po @@ -13,12 +13,13 @@ # Daniel <dan@ger.cz>, 2021. # DomcaSuzi <dominio122@gmail.com>, 2021. # Tomas Dostal <tomas.dostal.cz@gmail.com>, 2021. +# JoeMoos <josephmoose13@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: Zbyněk <zbynek.fiala@gmail.com>\n" +"PO-Revision-Date: 2022-03-17 13:59+0000\n" +"Last-Translator: JoeMoos <josephmoose13@gmail.com>\n" "Language-Team: Czech <https://hosted.weblate.org/projects/godot-engine/godot-" "class-reference/cs/>\n" "Language: cs\n" @@ -75,11 +76,11 @@ msgstr "Popisy vlastnosti" #: doc/tools/make_rst.py msgid "Inherits:" -msgstr "" +msgstr "Dědí z:" #: doc/tools/make_rst.py msgid "Inherited By:" -msgstr "" +msgstr "Děděno:" #: doc/tools/make_rst.py msgid "(overrides %s)" @@ -87,7 +88,7 @@ msgstr "" #: doc/tools/make_rst.py msgid "Default" -msgstr "" +msgstr "Výchozí" #: doc/tools/make_rst.py msgid "Setter" @@ -95,7 +96,7 @@ msgstr "" #: doc/tools/make_rst.py msgid "value" -msgstr "" +msgstr "hodnota" #: doc/tools/make_rst.py msgid "Getter" @@ -111,15 +112,17 @@ msgid "" "This method has no side effects. It doesn't modify any of the instance's " "member variables." msgstr "" +"Tato metoda nemá žádné vedlejší efekty. Nebude upravovat žádné členné " +"proměnné instance." #: doc/tools/make_rst.py msgid "" "This method accepts any number of arguments after the ones described here." -msgstr "" +msgstr "Tato metoda přijímá jakýkoli počet argumentů hned po zde popsaných." #: doc/tools/make_rst.py msgid "This method is used to construct a type." -msgstr "" +msgstr "Tato metoda je používána k vytvoření typu." #: doc/tools/make_rst.py msgid "" @@ -2523,7 +2526,7 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "$ key." -msgstr "" +msgstr "$ klávesa." #: doc/classes/@GlobalScope.xml msgid "% key." @@ -2791,19 +2794,19 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "¢ key." -msgstr "" +msgstr "¢ klávesa." #: doc/classes/@GlobalScope.xml msgid "£ key." -msgstr "" +msgstr "£ klávesa." #: doc/classes/@GlobalScope.xml msgid "¤ key." -msgstr "" +msgstr "¤ klávesa." #: doc/classes/@GlobalScope.xml msgid "¥ key." -msgstr "" +msgstr "¥ klávesa." #: doc/classes/@GlobalScope.xml msgid "¦ key." @@ -3817,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 @@ -4042,7 +4049,7 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "Variable is of type [Vector2]." -msgstr "" +msgstr "Proměnná je typu [Vector2]." #: doc/classes/@GlobalScope.xml msgid "Variable is of type [Rect2]." @@ -4050,7 +4057,7 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "Variable is of type [Vector3]." -msgstr "" +msgstr "Proměnná je typu [Vector3]." #: doc/classes/@GlobalScope.xml msgid "Variable is of type [Transform2D]." @@ -4118,11 +4125,11 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "Variable is of type [PoolVector2Array]." -msgstr "" +msgstr "Proměnná je typu [PoolVector2Array]." #: doc/classes/@GlobalScope.xml msgid "Variable is of type [PoolVector3Array]." -msgstr "" +msgstr "Proměnná je typu [PoolVector3Array]." #: doc/classes/@GlobalScope.xml msgid "Variable is of type [PoolColorArray]." @@ -4259,7 +4266,7 @@ msgstr "" #: doc/classes/AABB.xml doc/classes/Rect2.xml doc/classes/Vector2.xml #: doc/classes/Vector3.xml msgid "Vector math" -msgstr "" +msgstr "Vektorová matematika" #: doc/classes/AABB.xml doc/classes/Rect2.xml doc/classes/Vector2.xml #: doc/classes/Vector3.xml @@ -5732,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 @@ -10862,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 @@ -13020,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 @@ -13141,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 @@ -16394,6 +16417,11 @@ msgstr "" "přiblížně rovny." #: doc/classes/Control.xml +#, fuzzy +msgid "Returns [code]true[/code] if drag operation is successful." +msgstr "Vrátí [code] true [/code], pokud je vektor normalizován, jinak false." + +#: doc/classes/Control.xml msgid "" "Invalidates the size cache in this node and in parent nodes up to toplevel. " "Intended to be used with [method get_minimum_size] when the return value is " @@ -16820,8 +16848,9 @@ msgstr "" #: doc/classes/Control.xml msgid "" "By default, the node's pivot is its top-left corner. When you change its " -"[member rect_scale], it will scale around this pivot. Set this property to " -"[member rect_size] / 2 to center the pivot in the node's rectangle." +"[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 "" #: doc/classes/Control.xml @@ -19165,10 +19194,10 @@ msgid "" "further calculations." msgstr "" -#: doc/classes/Curve2D.xml doc/classes/Curve3D.xml +#: doc/classes/Curve2D.xml msgid "" -"Adds a point to a curve at [code]position[/code], with control points " -"[code]in[/code] and [code]out[/code].\n" +"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" "If [code]at_position[/code] is given, the point is inserted before the point " "number [code]at_position[/code], moving that point (and every point after) " "after the inserted point. If [code]at_position[/code] is not given, or is an " @@ -19320,6 +19349,18 @@ msgid "" msgstr "" #: doc/classes/Curve3D.xml +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" +"If [code]at_position[/code] is given, the point is inserted before the point " +"number [code]at_position[/code], moving that point (and every point after) " +"after the inserted point. If [code]at_position[/code] is not given, or is an " +"illegal value ([code]at_position <0[/code] or [code]at_position >= [method " +"get_point_count][/code]), the point will be appended at the end of the point " +"list." +msgstr "" + +#: doc/classes/Curve3D.xml #, fuzzy msgid "Returns the cache of points as a [PoolVector3Array]." msgstr "Vrátí arkus sinus parametru." @@ -20129,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" @@ -22928,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 @@ -23814,10 +23855,13 @@ msgstr "" #: doc/classes/Environment.xml msgid "" -"Keeps on screen every pixel drawn in the background. This is the fastest " -"background mode, but it can only be safely used in fully-interior scenes (no " -"visible sky or sky reflections). If enabled in a scene where the background " -"is visible, \"ghost trail\" artifacts will be visible when moving the camera." +"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 " +"not be faster than clearing the background, and can be significantly slower, " +"particularly on mobile.\n" +"It can only be safely used in fully-interior scenes (no visible sky or sky " +"reflections). If enabled in a scene where the background is visible, \"ghost " +"trail\" artifacts will be visible when moving the camera." msgstr "" #: doc/classes/Environment.xml @@ -27276,14 +27320,14 @@ msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Depth of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the depth of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Width of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the width of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HFlowContainer.xml @@ -29528,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 @@ -29540,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 @@ -29675,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 " @@ -29689,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 @@ -29700,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 " @@ -30052,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 @@ -30072,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 " @@ -30086,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 @@ -30119,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 @@ -30652,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 @@ -33128,6 +33172,14 @@ msgstr "" msgid "If [code]true[/code], the context menu will appear when right-clicked." msgstr "" +#: 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 "Vrátí [code] true [/code], pokud je vektor normalizován, jinak false." + #: doc/classes/LineEdit.xml msgid "" "If [code]false[/code], existing text cannot be modified and new text cannot " @@ -33163,6 +33215,13 @@ msgid "" "[/codeblock]" msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +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 "" + #: doc/classes/LineEdit.xml msgid "" "Opacity of the [member placeholder_text]. From [code]0[/code] to [code]1[/" @@ -34479,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 "" @@ -36961,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 @@ -37673,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 @@ -38269,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 @@ -39056,6 +39162,11 @@ msgid "Returns the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +#, fuzzy +msgid "Returns the tooltip of the item at index [code]idx[/code]." +msgstr "Vrací [code]true[/code] pokud [code]s[/code] je nula nebo téměř nula." + +#: doc/classes/OptionButton.xml msgid "" "Returns the ID of the selected item, or [code]0[/code] if no item is " "selected." @@ -39109,6 +39220,11 @@ msgid "Sets the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +#, fuzzy +msgid "Sets the tooltip of the item at index [code]idx[/code]." +msgstr "Vrací [code]true[/code] pokud [code]s[/code] je nula nebo téměř nula." + +#: doc/classes/OptionButton.xml msgid "" "The index of the currently selected item, or [code]-1[/code] if no item is " "selected." @@ -39669,6 +39785,23 @@ msgstr "" #: doc/classes/OS.xml msgid "" +"Returns the current refresh rate of the specified screen. If [code]screen[/" +"code] is [code]-1[/code] (the default value), the current screen will be " +"used.\n" +"[b]Note:[/b] Returns [code]-1.0[/code] if Godot fails to find the refresh " +"rate for the specified screen. On HTML5, [method get_screen_refresh_rate] " +"will always return [code]-1.0[/code] as there is no way to retrieve the " +"refresh rate on that platform.\n" +"To fallback to a default refresh rate if the method fails, try:\n" +"[codeblock]\n" +"var refresh_rate = OS.get_screen_refresh_rate()\n" +"if refresh_rate < 0:\n" +" refresh_rate = 60.0\n" +"[/codeblock]" +msgstr "" + +#: doc/classes/OS.xml +msgid "" "Return the scale factor of the specified screen by index. If [code]screen[/" "code] is [code]-1[/code] (the default value), the current screen will be " "used.\n" @@ -42145,7 +42278,7 @@ msgstr "" #: doc/classes/Physics2DDirectBodyState.xml #: doc/classes/PhysicsDirectBodyState.xml msgid "The body's transformation matrix." -msgstr "" +msgstr "Transformační matrix tělesa." #: doc/classes/Physics2DDirectSpaceState.xml msgid "Direct access object to a space in the [Physics2DServer]." @@ -42449,7 +42582,7 @@ msgstr "" #: doc/classes/Physics2DServer.xml msgid "Creates a physics body." -msgstr "" +msgstr "Vytvoří fyzické tělěso." #: doc/classes/Physics2DServer.xml doc/classes/PhysicsServer.xml msgid "Returns the physics layer or layers a body belongs to." @@ -43521,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 @@ -46058,6 +46194,12 @@ msgstr "" #: doc/classes/ProjectSettings.xml 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 "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], enables warnings when a function is declared with the " "same name as a constant." msgstr "" @@ -46481,6 +46623,19 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If enabled, the moment [member Viewport.gui_disable_input] is set to " +"[code]false[/code] to disable GUI input in a viewport, current mouse over " +"and mouse focus will be dropped.\n" +"That behavior helps to keep a robust GUI state, with no surprises when input " +"is resumed regardless what has happened in the meantime.\n" +"If disabled, the legacy behavior is used, which consists in just not doing " +"anything besides the GUI input disable itself.\n" +"[b]Note:[/b] This is set to [code]true[/code] by default for new projects " +"and is the recommended setting." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], swaps OK and Cancel buttons in dialogs on Windows and " "UWP to follow interface conventions." msgstr "" @@ -47450,6 +47605,16 @@ msgid "" msgstr "" #: doc/classes/ProjectSettings.xml +msgid "" +"If [code]true[/code], smooths out collision with trimesh shapes " +"([ConcavePolygonShape]) by telling the Bullet physics engine to generate " +"internal edge information for every trimesh shape created.\n" +"[b]Note:[/b] Only effective if [member physics/3d/physics_engine] is set to " +"[code]DEFAULT[/code] or [code]Bullet[/code], [i]not[/i] [code]GodotPhysics[/" +"code]." +msgstr "" + +#: doc/classes/ProjectSettings.xml msgid "Enables [member Viewport.physics_object_picking] on the root viewport." msgstr "" @@ -47863,6 +48028,14 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"An override for [code]rendering/gles3/shaders/shader_compilation_mode[/" +"code], so asynchronous compilation can be disabled for mobile.\n" +"You may want to do that since mobile GPUs generally won't support " +"ubershaders due to their complexity." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Max buffer size for blend shapes. Any blend shape bigger than this will not " "work." msgstr "" @@ -48799,13 +48972,13 @@ msgstr "" #: doc/classes/Range.xml msgid "" -"Binds two ranges together along with any ranges previously grouped with " +"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 "" #: doc/classes/Range.xml -msgid "Stops range from sharing its member variables with any other." +msgid "Stops the [Range] from sharing its member variables with any other." msgstr "" #: doc/classes/Range.xml @@ -48872,7 +49045,14 @@ msgid "" msgstr "" #: doc/classes/Range.xml -msgid "Emitted when [member value] changes." +msgid "" +"Emitted when [member value] changes. When used on a [Slider], this is called " +"continuously while dragging (potentially every frame). If you are performing " +"an expensive operation in a function connected to [signal value_changed], " +"consider using a [i]debouncing[/i] [Timer] to call the function less often.\n" +"[b]Note:[/b] Unlike signals such as [signal LineEdit.text_changed], [signal " +"value_changed] is also emitted when [code]value[/code] is set directly via " +"code." msgstr "" #: doc/classes/RayCast.xml doc/classes/RayCast2D.xml @@ -56187,11 +56367,11 @@ msgid "" "Returns [code]true[/code] if this string contains a valid float. This is " "inclusive of integers, and also supports exponents:\n" "[codeblock]\n" -"print(\"1.7\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"7e3\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"Hello\".is_valid_float()) # Prints \"false\"\n" +"print(\"1.7\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"7e3\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -56217,9 +56397,9 @@ msgid "" "identifier may contain only letters, digits and underscores ([code]_[/code]) " "and the first character may not be a digit.\n" "[codeblock]\n" -"print(\"good_ident_1\".is_valid_identifier()) # Prints \"true\"\n" -"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"false\"\n" -"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"false\"\n" +"print(\"good_ident_1\".is_valid_identifier()) # Prints \"True\"\n" +"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"False\"\n" +"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -56227,11 +56407,11 @@ msgstr "" msgid "" "Returns [code]true[/code] if this string contains a valid integer.\n" "[codeblock]\n" -"print(\"7\".is_valid_int()) # Prints \"true\"\n" -"print(\"14.6\".is_valid_int()) # Prints \"false\"\n" -"print(\"L\".is_valid_int()) # Prints \"false\"\n" -"print(\"+3\".is_valid_int()) # Prints \"true\"\n" -"print(\"-12\".is_valid_int()) # Prints \"true\"\n" +"print(\"7\".is_valid_int()) # Prints \"True\"\n" +"print(\"14.6\".is_valid_int()) # Prints \"False\"\n" +"print(\"L\".is_valid_int()) # Prints \"False\"\n" +"print(\"+3\".is_valid_int()) # Prints \"True\"\n" +"print(\"-12\".is_valid_int()) # Prints \"True\"\n" "[/codeblock]" msgstr "" @@ -56427,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 "" @@ -58035,6 +58215,12 @@ msgid "Returns if the given line is wrapped." msgstr "Vrátí tangens parametru." #: doc/classes/TextEdit.xml +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 "" + +#: doc/classes/TextEdit.xml msgid "Returns [code]true[/code] if the selection is active." msgstr "" @@ -60271,6 +60457,13 @@ msgstr "" #: doc/classes/Time.xml msgid "" +"Converts the given timezone offset in minutes to a timezone offset string. " +"For example, -480 returns \"-08:00\", 345 returns \"+05:45\", and 0 returns " +"\"+00:00\"." +msgstr "" + +#: doc/classes/Time.xml +msgid "" "Returns the amount of time passed in milliseconds since the engine started.\n" "Will always be positive or 0 and uses a 64-bit value (it will wrap after " "roughly 500 million years)." @@ -62958,7 +63151,7 @@ msgstr "" #: doc/classes/Vector2.xml msgid "Vector used for 2D math." -msgstr "" +msgstr "Vektor používaný pro 2D matematiku." #: doc/classes/Vector2.xml msgid "" @@ -63236,6 +63429,7 @@ msgstr "" #: doc/classes/Vector2.xml doc/classes/Vector3.xml msgid "Zero vector, a vector with all components set to [code]0[/code]." msgstr "" +"Nultý vektor, vektor který má všechny komponenty nastavené na [code]0[/code]." #: doc/classes/Vector2.xml doc/classes/Vector3.xml msgid "One vector, a vector with all components set to [code]1[/code]." @@ -63258,6 +63452,7 @@ msgstr "" #: doc/classes/Vector2.xml msgid "Up unit vector. Y is down in 2D, so this vector points -Y." msgstr "" +"Nahoru - jednotkový vektor. Y je dolů ve 2D, takže tento vektor míří -Y." #: doc/classes/Vector2.xml msgid "Down unit vector. Y is down in 2D, so this vector points +Y." @@ -63265,7 +63460,7 @@ msgstr "" #: doc/classes/Vector3.xml msgid "Vector used for 3D math." -msgstr "" +msgstr "Vektor používaný pro 3D matematiku." #: doc/classes/Vector3.xml msgid "" @@ -63411,7 +63606,7 @@ msgstr "" #: doc/classes/Vector3.xml msgid "Up unit vector." -msgstr "" +msgstr "Nahoru - jednotkový vektor." #: doc/classes/Vector3.xml msgid "Down unit vector." @@ -63945,6 +64140,11 @@ msgid "Returns [code]true[/code] if there are visible modals on-screen." msgstr "Vrátí [code] true [/code], pokud je vektor normalizován, jinak false." #: doc/classes/Viewport.xml +#, fuzzy +msgid "Returns [code]true[/code] if the drag operation is successful." +msgstr "Vrátí [code] true [/code], pokud je vektor normalizován, jinak false." + +#: doc/classes/Viewport.xml msgid "" "Returns [code]true[/code] if the viewport is currently performing a drag " "operation." diff --git a/doc/translations/de.po b/doc/translations/de.po index 052dac7d28..585bbabec6 100644 --- a/doc/translations/de.po +++ b/doc/translations/de.po @@ -43,12 +43,14 @@ # <artism90@googlemail.com>, 2022. # 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-02 18:39+0000\n" -"Last-Translator: Leon Marz <main@lmarz.org>\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" @@ -56,7 +58,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.1-dev\n" +"X-Generator: Weblate 4.12-dev\n" #: doc/tools/make_rst.py msgid "Description" @@ -3863,13 +3865,12 @@ msgid "Gamepad right Shoulder button." msgstr "Game-Controller SDL rechte Schultertaste." #: doc/classes/@GlobalScope.xml -#, fuzzy msgid "Gamepad right trigger." msgstr "Gamecontroller rechte Trigger-Achse." #: doc/classes/@GlobalScope.xml msgid "Gamepad right stick click." -msgstr "Klick auf dem rechten Stick des Gamepads." +msgstr "Klick des rechten Stick des Gamepads." #: doc/classes/@GlobalScope.xml msgid "Gamepad left stick horizontal axis." @@ -3958,6 +3959,7 @@ msgid "" "MIDI note OFF message. See the documentation of [InputEventMIDI] for " "information of how to use MIDI inputs." msgstr "" +"MIDI Note AUS Nachricht. Für mehr Informationen, siehe [InputEvendMIDI]." #: doc/classes/@GlobalScope.xml msgid "" @@ -4327,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 "" @@ -6469,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 @@ -6852,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 " @@ -8311,7 +8316,6 @@ msgid "GUI in 3D Demo" msgstr "" #: doc/classes/Area.xml -#, fuzzy msgid "" "Returns a list of intersecting [Area]s. The overlapping area's [member " "CollisionObject.collision_layer] must be part of this area's [member " @@ -8320,14 +8324,16 @@ msgid "" "list is modified once during the physics step, not immediately after objects " "are moved. Consider using signals instead." msgstr "" -"Gibt eine Liste der sich schneidenden [PhysicsBody2D]s zurück. Aus " -"Leistungsgründen (Kollisionen werden alle gleichzeitig verarbeitet) wird " -"diese Liste einmal während des Physikschritts geändert, nicht sofort nach " -"dem Verschieben von Objekten. Erwägen Sie stattdessen die Verwendung von " -"Signalen." +"Gibt zurück eine Liste der sich überschneidenden [Area]s. Das [member " +"CollisionObject.collision_layer] des überlappenden Areas muss mit der " +"[member CollisionObject.collision_mask] dieser Area übereinstimmen, um " +"erkannt zu werden.\n" +"Aus Leistungsgründen (Kollisionen werden alle gleichzeitig verarbeitet) wird " +"diese Liste nur einmal während des Physikschritts geändert, nicht sofort " +"nach dem Verschieben von Objekten. Dafür sollte die Verwendung von Signalen " +"erwogen werden." #: doc/classes/Area.xml -#, fuzzy msgid "" "Returns a list of intersecting [PhysicsBody]s. The overlapping body's " "[member CollisionObject.collision_layer] must be part of this area's [member " @@ -8336,11 +8342,14 @@ msgid "" "list is modified once during the physics step, not immediately after objects " "are moved. Consider using signals instead." msgstr "" -"Gibt eine Liste der sich schneidenden [PhysicsBody2D]s zurück. Aus " -"Leistungsgründen (Kollisionen werden alle gleichzeitig verarbeitet) wird " -"diese Liste einmal während des Physikschritts geändert, nicht sofort nach " -"dem Verschieben von Objekten. Erwägen Sie stattdessen die Verwendung von " -"Signalen." +"Gibt zurück eine Liste der sich überschneidenden [PhysicsBody2D]s. Das " +"[member CollisionObject.collision_layer] des überlappenden Bodys muss mit " +"der [member CollisionObject.collision_mask] dieser Area übereinstimmen, um " +"erkannt zu werden.\n" +"Aus Leistungsgründen (Kollisionen werden alle gleichzeitig verarbeitet) wird " +"diese Liste nur einmal während des Physikschritts geändert, nicht sofort " +"nach dem Verschieben von Objekten. Dafür sollte die Verwendung von Signalen " +"erwogen werden." #: doc/classes/Area.xml #, fuzzy @@ -8391,25 +8400,24 @@ msgstr "" #: doc/classes/Area.xml doc/classes/Area2D.xml msgid "The name of the area's audio bus." -msgstr "Der Name des Audiobusses des Bereichs." +msgstr "Der Name des zugewiesenen Audio-Bus für diese Area." #: doc/classes/Area.xml doc/classes/Area2D.xml msgid "" "If [code]true[/code], the area's audio bus overrides the default audio bus." msgstr "" -"Wenn [code]true[/code], hat der Audiobus des Bereichs Vorrang vor dem " +"Wenn [code]true[/code], hat der Audiobus der Area Vorrang gegenüber dem " "Standard-Audiobus." #: doc/classes/Area.xml -#, fuzzy msgid "" "The area's gravity intensity (in meters per second squared). This value " "multiplies the gravity vector. This is useful to alter the force of gravity " "without altering its direction." msgstr "" -"Die Schwerkraftintensität des Bereichs (reicht von -1024 bis 1024). Dieser " -"Wert multipliziert den Schwerkraftvektor. Dies ist nützlich, um die " -"Schwerkraft zu ändern, ohne ihre Richtung zu ändern." +"Die Gravitationsintensität des Area (in m/s²). Dieser Wert multipliziert den " +"Gravitationsvektor. Dies ist nützlich, um die Schwerkraft zu beeinflussen, " +"ohne ihre Richtung zu ändern." #: doc/classes/Area.xml doc/classes/Area2D.xml msgid "" @@ -8432,8 +8440,9 @@ msgid "" "The area's gravity vector (not normalized). If gravity is a point (see " "[member gravity_point]), this will be the point of attraction." msgstr "" -"Der Gravitationsvektor der Fläche (nicht normiert). Wenn die Schwerkraft ein " -"Punkt ist (siehe [member gravity_point]), wird dies der Anziehungspunkt sein." +"Der Gravitationsvektor der Area (nicht normalisiert). Ist Gravitation als " +"Punkt festgelegt (siehe [member gravity_point]), wird dies der " +"Anziehungspunkt sein." #: doc/classes/Area.xml #, fuzzy @@ -8458,13 +8467,13 @@ msgid "" "If [code]true[/code], the area detects bodies or areas entering and exiting " "it." msgstr "" -"If [code]true[/code], erkennt die area ob andere Körper oder area's ihn " +"If [code]true[/code], erkennt die Area, ob Bodys oder andere Areas ihn " "betreten oder verlassen." #: doc/classes/Area.xml doc/classes/Area2D.xml msgid "The area's priority. Higher priority areas are processed first." msgstr "" -"Die Area Priorität. Area's mit höherer Priorität werden zuerst bearbeitet." +"Die Priorität der Area. Areas mit höherer Priorität werden zuerst bearbeitet." #: doc/classes/Area.xml msgid "" @@ -8478,13 +8487,16 @@ msgstr "" #: doc/classes/Area.xml msgid "The reverb bus name to use for this area's associated audio." -msgstr "" +msgstr "Der Name des zugewiesenen Reverb-Bus für diese Area." #: doc/classes/Area.xml msgid "" "The degree to which this area's reverb is a uniform effect. Ranges from " "[code]0[/code] to [code]1[/code] with [code]0.1[/code] precision." msgstr "" +"Der Grad, bis zu dem der Reverb der Area gleichmäßig wirkt. Reicht von " +"[code]0[/code] bis [code]1[/code], mit einer Schrittgenauigkeit von " +"[code]0.1[/code]." #: doc/classes/Area.xml doc/classes/Area2D.xml msgid "" @@ -8618,7 +8630,6 @@ msgid "2D Platformer Demo" msgstr "" #: doc/classes/Area2D.xml -#, fuzzy msgid "" "Returns a list of intersecting [Area2D]s. The overlapping area's [member " "CollisionObject2D.collision_layer] must be part of this area's [member " @@ -8627,13 +8638,16 @@ msgid "" "list is modified once during the physics step, not immediately after objects " "are moved. Consider using signals instead." msgstr "" -"Gibt eine Liste der sich schneidenden [Area2D]s zurück. Aus Leistungsgründen " -"(Kollisionen werden alle gleichzeitig verarbeitet) wird diese Liste einmal " -"während des Physikschritts geändert, nicht sofort nach dem Verschieben von " -"Objekten. Erwägen Sie stattdessen die Verwendung von Signalen." +"Gibt zurück eine Liste der sich überschneidenden [Area2D]s. Das [member " +"CollisionObject2D.collision_layer] des überlappenden Areas muss mit der " +"[member CollisionObject2D.collision_mask] dieser Area übereinstimmen, um " +"erkannt zu werden.\n" +"Aus Leistungsgründen (Kollisionen werden alle gleichzeitig verarbeitet) wird " +"diese Liste nur einmal während des Physikschritts geändert, nicht sofort " +"nach dem Verschieben von Objekten. Dafür sollte die Verwendung von Signalen " +"erwogen werden." #: doc/classes/Area2D.xml -#, fuzzy msgid "" "Returns a list of intersecting [PhysicsBody2D]s. The overlapping body's " "[member CollisionObject2D.collision_layer] must be part of this area's " @@ -8642,11 +8656,14 @@ msgid "" "list is modified once during the physics step, not immediately after objects " "are moved. Consider using signals instead." msgstr "" -"Gibt eine Liste der sich schneidenden [PhysicsBody2D]s zurück. Aus " -"Leistungsgründen (Kollisionen werden alle gleichzeitig verarbeitet) wird " -"diese Liste einmal während des Physikschritts geändert, nicht sofort nach " -"dem Verschieben von Objekten. Erwägen Sie stattdessen die Verwendung von " -"Signalen." +"Gibt zurück eine Liste der sich überschneidenden [PhysicsBody2D]s. Das " +"[member CollisionObject2D.collision_layer] des überlappenden Areas muss mit " +"der [member CollisionObject2D.collision_mask] dieser Area übereinstimmen, um " +"erkannt zu werden.\n" +"Aus Leistungsgründen (Kollisionen werden alle gleichzeitig verarbeitet) wird " +"diese Liste nur einmal während des Physikschritts geändert, nicht sofort " +"nach dem Verschieben von Objekten. Dafür sollte die Verwendung von Signalen " +"erwogen werden." #: doc/classes/Area2D.xml #, fuzzy @@ -8696,15 +8713,14 @@ msgstr "" "[code]0[/code] (keine Dämpfung) bis [code]1[/code] (volle Dämpfung)." #: doc/classes/Area2D.xml -#, fuzzy msgid "" "The area's gravity intensity (in pixels per second squared). This value " "multiplies the gravity vector. This is useful to alter the force of gravity " "without altering its direction." msgstr "" -"Die Schwerkraftintensität des Bereichs (reicht von -1024 bis 1024). Dieser " -"Wert multipliziert den Schwerkraftvektor. Dies ist nützlich, um die " -"Schwerkraft zu ändern, ohne ihre Richtung zu ändern." +"Die Gravitationsintensität des Area (in px/s²). Dieser Wert multipliziert " +"den Gravitationsvektor. Dies ist nützlich, um die Schwerkraft zu " +"beeinflussen, ohne ihre Richtung zu ändern." #: doc/classes/Area2D.xml #, fuzzy @@ -12395,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 @@ -13436,7 +13459,7 @@ msgstr "" #: doc/classes/Button.xml doc/classes/LinkButton.xml msgid "The button's text that will be displayed inside the button's area." -msgstr "" +msgstr "Die Beschriftung, die auf der Schaltfläche eingeblendet wird." #: doc/classes/Button.xml msgid "Align the text to the left." @@ -14566,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 @@ -14689,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 @@ -18073,6 +18102,11 @@ msgstr "" "code]angegeben ist, existiert, ansonsten [code]false[/code]." #: doc/classes/Control.xml +#, fuzzy +msgid "Returns [code]true[/code] if drag operation is successful." +msgstr "Gibt [code]true[/code] zurück, wenn eine Animation abgespielt wird." + +#: doc/classes/Control.xml msgid "" "Invalidates the size cache in this node and in parent nodes up to toplevel. " "Intended to be used with [method get_minimum_size] when the return value is " @@ -18499,8 +18533,9 @@ msgstr "" #: doc/classes/Control.xml msgid "" "By default, the node's pivot is its top-left corner. When you change its " -"[member rect_scale], it will scale around this pivot. Set this property to " -"[member rect_size] / 2 to center the pivot in the node's rectangle." +"[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 "" #: doc/classes/Control.xml @@ -20857,10 +20892,10 @@ msgid "" "further calculations." msgstr "" -#: doc/classes/Curve2D.xml doc/classes/Curve3D.xml +#: doc/classes/Curve2D.xml msgid "" -"Adds a point to a curve at [code]position[/code], with control points " -"[code]in[/code] and [code]out[/code].\n" +"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" "If [code]at_position[/code] is given, the point is inserted before the point " "number [code]at_position[/code], moving that point (and every point after) " "after the inserted point. If [code]at_position[/code] is not given, or is an " @@ -21012,6 +21047,18 @@ msgid "" msgstr "" #: doc/classes/Curve3D.xml +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" +"If [code]at_position[/code] is given, the point is inserted before the point " +"number [code]at_position[/code], moving that point (and every point after) " +"after the inserted point. If [code]at_position[/code] is not given, or is an " +"illegal value ([code]at_position <0[/code] or [code]at_position >= [method " +"get_point_count][/code]), the point will be appended at the end of the point " +"list." +msgstr "" + +#: doc/classes/Curve3D.xml #, fuzzy msgid "Returns the cache of points as a [PoolVector3Array]." msgstr "Liefert die Fläche des [Rect2i]." @@ -21822,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" @@ -24631,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 @@ -25304,6 +25351,9 @@ msgid "" "The bloom's intensity. If set to a value higher than [code]0[/code], this " "will make glow visible in areas darker than the [member glow_hdr_threshold]." msgstr "" +"Die Intensität des Bloom-Effekts. Wenn höher eingestellt als [code]0[/code], " +"macht es den Glow sichtbar in dunklen Bereichen, die den [member " +"glow_hdr_threshold]-Wert unterschreiten." #: doc/classes/Environment.xml msgid "" @@ -25524,10 +25574,13 @@ msgstr "" #: doc/classes/Environment.xml msgid "" -"Keeps on screen every pixel drawn in the background. This is the fastest " -"background mode, but it can only be safely used in fully-interior scenes (no " -"visible sky or sky reflections). If enabled in a scene where the background " -"is visible, \"ghost trail\" artifacts will be visible when moving the camera." +"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 " +"not be faster than clearing the background, and can be significantly slower, " +"particularly on mobile.\n" +"It can only be safely used in fully-interior scenes (no visible sky or sky " +"reflections). If enabled in a scene where the background is visible, \"ghost " +"trail\" artifacts will be visible when moving the camera." msgstr "" #: doc/classes/Environment.xml @@ -29022,14 +29075,14 @@ msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Depth of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the depth of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Width of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the width of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HFlowContainer.xml @@ -31286,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 @@ -31298,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 @@ -31433,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 " @@ -31447,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 @@ -31458,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 " @@ -31813,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 @@ -31833,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 " @@ -31847,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 @@ -31880,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 @@ -32413,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 @@ -34899,6 +34952,14 @@ msgstr "" msgid "If [code]true[/code], the context menu will appear when right-clicked." msgstr "" +#: 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 "Wenn [code]true[/code], wird die Textur zentriert." + #: doc/classes/LineEdit.xml msgid "" "If [code]false[/code], existing text cannot be modified and new text cannot " @@ -34934,6 +34995,13 @@ msgid "" "[/codeblock]" msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +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 "" + #: doc/classes/LineEdit.xml msgid "" "Opacity of the [member placeholder_text]. From [code]0[/code] to [code]1[/" @@ -36251,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 "" @@ -38763,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 @@ -39478,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 @@ -40074,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 @@ -40861,6 +40976,11 @@ msgid "Returns the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +#, fuzzy +msgid "Returns the tooltip of the item at index [code]idx[/code]." +msgstr "Liefert die Position des Punktes bei Index [code]Punkt[/code]." + +#: doc/classes/OptionButton.xml msgid "" "Returns the ID of the selected item, or [code]0[/code] if no item is " "selected." @@ -40914,6 +41034,11 @@ msgid "Sets the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +#, fuzzy +msgid "Sets the tooltip of the item at index [code]idx[/code]." +msgstr "Liefert die Position des Punktes bei Index [code]Punkt[/code]." + +#: doc/classes/OptionButton.xml msgid "" "The index of the currently selected item, or [code]-1[/code] if no item is " "selected." @@ -41476,6 +41601,23 @@ msgstr "" #: doc/classes/OS.xml msgid "" +"Returns the current refresh rate of the specified screen. If [code]screen[/" +"code] is [code]-1[/code] (the default value), the current screen will be " +"used.\n" +"[b]Note:[/b] Returns [code]-1.0[/code] if Godot fails to find the refresh " +"rate for the specified screen. On HTML5, [method get_screen_refresh_rate] " +"will always return [code]-1.0[/code] as there is no way to retrieve the " +"refresh rate on that platform.\n" +"To fallback to a default refresh rate if the method fails, try:\n" +"[codeblock]\n" +"var refresh_rate = OS.get_screen_refresh_rate()\n" +"if refresh_rate < 0:\n" +" refresh_rate = 60.0\n" +"[/codeblock]" +msgstr "" + +#: doc/classes/OS.xml +msgid "" "Return the scale factor of the specified screen by index. If [code]screen[/" "code] is [code]-1[/code] (the default value), the current screen will be " "used.\n" @@ -45350,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 @@ -47977,6 +48122,13 @@ msgid "" 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 "Wenn [code]true[/code], ist die Filterung aktiviert." + +#: doc/classes/ProjectSettings.xml msgid "" "If [code]true[/code], enables warnings when a function is declared with the " "same name as a constant." @@ -48405,6 +48557,19 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If enabled, the moment [member Viewport.gui_disable_input] is set to " +"[code]false[/code] to disable GUI input in a viewport, current mouse over " +"and mouse focus will be dropped.\n" +"That behavior helps to keep a robust GUI state, with no surprises when input " +"is resumed regardless what has happened in the meantime.\n" +"If disabled, the legacy behavior is used, which consists in just not doing " +"anything besides the GUI input disable itself.\n" +"[b]Note:[/b] This is set to [code]true[/code] by default for new projects " +"and is the recommended setting." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], swaps OK and Cancel buttons in dialogs on Windows and " "UWP to follow interface conventions." msgstr "" @@ -49374,6 +49539,16 @@ msgid "" msgstr "" #: doc/classes/ProjectSettings.xml +msgid "" +"If [code]true[/code], smooths out collision with trimesh shapes " +"([ConcavePolygonShape]) by telling the Bullet physics engine to generate " +"internal edge information for every trimesh shape created.\n" +"[b]Note:[/b] Only effective if [member physics/3d/physics_engine] is set to " +"[code]DEFAULT[/code] or [code]Bullet[/code], [i]not[/i] [code]GodotPhysics[/" +"code]." +msgstr "" + +#: doc/classes/ProjectSettings.xml msgid "Enables [member Viewport.physics_object_picking] on the root viewport." msgstr "" @@ -49787,6 +49962,14 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"An override for [code]rendering/gles3/shaders/shader_compilation_mode[/" +"code], so asynchronous compilation can be disabled for mobile.\n" +"You may want to do that since mobile GPUs generally won't support " +"ubershaders due to their complexity." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Max buffer size for blend shapes. Any blend shape bigger than this will not " "work." msgstr "" @@ -50740,13 +50923,13 @@ msgstr "" #: doc/classes/Range.xml msgid "" -"Binds two ranges together along with any ranges previously grouped with " +"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 "" #: doc/classes/Range.xml -msgid "Stops range from sharing its member variables with any other." +msgid "Stops the [Range] from sharing its member variables with any other." msgstr "" #: doc/classes/Range.xml @@ -50813,7 +50996,14 @@ msgid "" msgstr "" #: doc/classes/Range.xml -msgid "Emitted when [member value] changes." +msgid "" +"Emitted when [member value] changes. When used on a [Slider], this is called " +"continuously while dragging (potentially every frame). If you are performing " +"an expensive operation in a function connected to [signal value_changed], " +"consider using a [i]debouncing[/i] [Timer] to call the function less often.\n" +"[b]Note:[/b] Unlike signals such as [signal LineEdit.text_changed], [signal " +"value_changed] is also emitted when [code]value[/code] is set directly via " +"code." msgstr "" #: doc/classes/RayCast.xml doc/classes/RayCast2D.xml @@ -58208,11 +58398,11 @@ msgid "" "Returns [code]true[/code] if this string contains a valid float. This is " "inclusive of integers, and also supports exponents:\n" "[codeblock]\n" -"print(\"1.7\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"7e3\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"Hello\".is_valid_float()) # Prints \"false\"\n" +"print(\"1.7\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"7e3\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -58238,9 +58428,9 @@ msgid "" "identifier may contain only letters, digits and underscores ([code]_[/code]) " "and the first character may not be a digit.\n" "[codeblock]\n" -"print(\"good_ident_1\".is_valid_identifier()) # Prints \"true\"\n" -"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"false\"\n" -"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"false\"\n" +"print(\"good_ident_1\".is_valid_identifier()) # Prints \"True\"\n" +"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"False\"\n" +"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -58248,11 +58438,11 @@ msgstr "" msgid "" "Returns [code]true[/code] if this string contains a valid integer.\n" "[codeblock]\n" -"print(\"7\".is_valid_int()) # Prints \"true\"\n" -"print(\"14.6\".is_valid_int()) # Prints \"false\"\n" -"print(\"L\".is_valid_int()) # Prints \"false\"\n" -"print(\"+3\".is_valid_int()) # Prints \"true\"\n" -"print(\"-12\".is_valid_int()) # Prints \"true\"\n" +"print(\"7\".is_valid_int()) # Prints \"True\"\n" +"print(\"14.6\".is_valid_int()) # Prints \"False\"\n" +"print(\"L\".is_valid_int()) # Prints \"False\"\n" +"print(\"+3\".is_valid_int()) # Prints \"True\"\n" +"print(\"-12\".is_valid_int()) # Prints \"True\"\n" "[/codeblock]" msgstr "" @@ -58448,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 "" @@ -60076,6 +60266,15 @@ msgid "Returns if the given line is wrapped." msgstr "Gibt den Namen des übergebenen AnimationNode zurück." #: 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 "" +"Liefert [code]wahr[/code] als Ergebnis wenn [code]a[/code] und [code]b[/" +"code] ungefähr gleich sind." + +#: doc/classes/TextEdit.xml msgid "Returns [code]true[/code] if the selection is active." msgstr "" @@ -62334,6 +62533,13 @@ msgstr "" #: doc/classes/Time.xml msgid "" +"Converts the given timezone offset in minutes to a timezone offset string. " +"For example, -480 returns \"-08:00\", 345 returns \"+05:45\", and 0 returns " +"\"+00:00\"." +msgstr "" + +#: doc/classes/Time.xml +msgid "" "Returns the amount of time passed in milliseconds since the engine started.\n" "Will always be positive or 0 and uses a 64-bit value (it will wrap after " "roughly 500 million years)." @@ -66165,6 +66371,11 @@ msgid "Returns [code]true[/code] if there are visible modals on-screen." msgstr "Gibt [code]true[/code] zurück falls das Array leer ist." #: doc/classes/Viewport.xml +#, fuzzy +msgid "Returns [code]true[/code] if the drag operation is successful." +msgstr "Gibt [code]true[/code] zurück falls das Array leer ist." + +#: doc/classes/Viewport.xml msgid "" "Returns [code]true[/code] if the viewport is currently performing a drag " "operation." @@ -74172,7 +74383,7 @@ msgstr "" #: modules/websocket/doc_classes/WebSocketPeer.xml msgid "A class representing a specific WebSocket connection." -msgstr "" +msgstr "Eine Klasse die eine spezifische WebSocket-Verbindung repräsentiert." #: modules/websocket/doc_classes/WebSocketPeer.xml msgid "" @@ -74253,7 +74464,7 @@ msgstr "" #: modules/websocket/doc_classes/WebSocketServer.xml msgid "A WebSocket server implementation." -msgstr "" +msgstr "Eine WebSocket Server Implementierung." #: modules/websocket/doc_classes/WebSocketServer.xml msgid "" @@ -74275,6 +74486,8 @@ msgstr "" #: modules/websocket/doc_classes/WebSocketServer.xml msgid "Returns [code]true[/code] if a peer with the given ID is connected." msgstr "" +"Gibt [code]true[/code] zurück, wenn ein Peer mir der angegebenen ID " +"verbunden ist." #: modules/websocket/doc_classes/WebSocketServer.xml msgid "" @@ -74494,7 +74707,7 @@ msgstr "" #: modules/webxr/doc_classes/WebXRInterface.xml msgid "How to make a VR game for WebXR with Godot" -msgstr "" +msgstr "Wie man ein VR-Spiel mit WebXR mit Godot erstellt" #: modules/webxr/doc_classes/WebXRInterface.xml msgid "" @@ -74757,7 +74970,7 @@ msgstr "Die Farbe des spiegelnden Lichteffekts." #: doc/classes/WindowDialog.xml msgid "The horizontal offset of the close button." -msgstr "" +msgstr "Die horizontale Verschiebung des \"Schließen\"-Buttons." #: doc/classes/WindowDialog.xml msgid "" @@ -74767,11 +74980,11 @@ msgstr "" #: doc/classes/WindowDialog.xml msgid "The vertical offset of the title text." -msgstr "" +msgstr "Die vertikale Verschiebung des Titel-Textes." #: doc/classes/WindowDialog.xml msgid "The font used to draw the title." -msgstr "" +msgstr "Die Schriftart die für den Titel verwendet wird." #: doc/classes/WindowDialog.xml #, fuzzy @@ -74782,6 +74995,8 @@ msgstr "Linke Maustaste." msgid "" "The icon used for the close button when it's hovered with the mouse cursor." msgstr "" +"Das Bild, das für den \"Schließen\"-Button verwendet wird, wenn mit der Maus " +"über diesem ist." #: doc/classes/WindowDialog.xml msgid "" @@ -74809,7 +75024,7 @@ msgstr "" #: doc/classes/World.xml msgid "The World's [Environment]." -msgstr "" +msgstr "Das [Environment] der Welt." #: doc/classes/World.xml msgid "" @@ -74860,6 +75075,8 @@ msgid "" "Default environment properties for the entire scene (post-processing " "effects, lighting and background settings)." msgstr "" +"Standartmäßige Umwelteigenschaften für die gesamte Szene " +"(Bildnachbearbeitungs-Effekte, Beleuchtung und Hintergrund)." #: doc/classes/WorldEnvironment.xml msgid "" @@ -74883,7 +75100,7 @@ msgstr "" #: doc/classes/X509Certificate.xml msgid "An X509 certificate (e.g. for SSL)." -msgstr "" +msgstr "Ein X509-Zertifikat (z.B. für SSL)." #: doc/classes/X509Certificate.xml msgid "" @@ -74898,13 +75115,15 @@ msgstr "" #: doc/classes/X509Certificate.xml msgid "Loads a certificate from [code]path[/code] (\"*.crt\" file)." -msgstr "" +msgstr "Lädt ein Zertifikat vom Pfad [code]path[/code] (\"*.crt\" Datei)." #: doc/classes/X509Certificate.xml msgid "" "Saves a certificate to the given [code]path[/code] (should be a \"*.crt\" " "file)." msgstr "" +"Speichert ein Zertifikat am angegebenen [code]path[/code] (sollte eine \"*." +"crt\" Datei sein)." #: doc/classes/XMLParser.xml msgid "" @@ -74921,7 +75140,7 @@ msgstr "" #: doc/classes/XMLParser.xml msgid "Gets the amount of attributes in the current element." -msgstr "" +msgstr "Gibt die Anzahl an Attributen des aktuellen Elements zurück." #: doc/classes/XMLParser.xml msgid "" @@ -75019,7 +75238,7 @@ msgstr "" #: doc/classes/XMLParser.xml msgid "End of element." -msgstr "" +msgstr "Ende des Elements." #: doc/classes/XMLParser.xml msgid "Text node." diff --git a/doc/translations/el.po b/doc/translations/el.po index 83def545e0..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 @@ -15865,6 +15885,11 @@ msgid "" msgstr "" #: doc/classes/Control.xml +#, fuzzy +msgid "Returns [code]true[/code] if drag operation is successful." +msgstr "Επιστρέφει το συνημίτονο της παραμέτρου." + +#: doc/classes/Control.xml msgid "" "Invalidates the size cache in this node and in parent nodes up to toplevel. " "Intended to be used with [method get_minimum_size] when the return value is " @@ -16291,8 +16316,9 @@ msgstr "" #: doc/classes/Control.xml msgid "" "By default, the node's pivot is its top-left corner. When you change its " -"[member rect_scale], it will scale around this pivot. Set this property to " -"[member rect_size] / 2 to center the pivot in the node's rectangle." +"[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 "" #: doc/classes/Control.xml @@ -18636,10 +18662,10 @@ msgid "" "further calculations." msgstr "" -#: doc/classes/Curve2D.xml doc/classes/Curve3D.xml +#: doc/classes/Curve2D.xml msgid "" -"Adds a point to a curve at [code]position[/code], with control points " -"[code]in[/code] and [code]out[/code].\n" +"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" "If [code]at_position[/code] is given, the point is inserted before the point " "number [code]at_position[/code], moving that point (and every point after) " "after the inserted point. If [code]at_position[/code] is not given, or is an " @@ -18791,6 +18817,18 @@ msgid "" msgstr "" #: doc/classes/Curve3D.xml +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" +"If [code]at_position[/code] is given, the point is inserted before the point " +"number [code]at_position[/code], moving that point (and every point after) " +"after the inserted point. If [code]at_position[/code] is not given, or is an " +"illegal value ([code]at_position <0[/code] or [code]at_position >= [method " +"get_point_count][/code]), the point will be appended at the end of the point " +"list." +msgstr "" + +#: doc/classes/Curve3D.xml #, fuzzy msgid "Returns the cache of points as a [PoolVector3Array]." msgstr "Επιστρέφει το τόξο ημιτόνου της παραμέτρου." @@ -19599,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" @@ -22392,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 @@ -23278,10 +23316,13 @@ msgstr "" #: doc/classes/Environment.xml msgid "" -"Keeps on screen every pixel drawn in the background. This is the fastest " -"background mode, but it can only be safely used in fully-interior scenes (no " -"visible sky or sky reflections). If enabled in a scene where the background " -"is visible, \"ghost trail\" artifacts will be visible when moving the camera." +"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 " +"not be faster than clearing the background, and can be significantly slower, " +"particularly on mobile.\n" +"It can only be safely used in fully-interior scenes (no visible sky or sky " +"reflections). If enabled in a scene where the background is visible, \"ghost " +"trail\" artifacts will be visible when moving the camera." msgstr "" #: doc/classes/Environment.xml @@ -26736,14 +26777,14 @@ msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Depth of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the depth of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Width of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the width of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HFlowContainer.xml @@ -28987,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 @@ -28999,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 @@ -29134,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 " @@ -29148,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 @@ -29159,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 " @@ -29511,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 @@ -29531,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 " @@ -29545,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 @@ -29578,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 @@ -30111,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 @@ -32586,6 +32627,13 @@ msgstr "" msgid "If [code]true[/code], the context menu will appear when right-clicked." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml +#: doc/classes/TextEdit.xml +msgid "" +"If [code]true[/code], the selected text will be deselected when focus is " +"lost." +msgstr "" + #: doc/classes/LineEdit.xml msgid "" "If [code]false[/code], existing text cannot be modified and new text cannot " @@ -32621,6 +32669,13 @@ msgid "" "[/codeblock]" msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +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 "" + #: doc/classes/LineEdit.xml msgid "" "Opacity of the [member placeholder_text]. From [code]0[/code] to [code]1[/" @@ -33936,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 "" @@ -36408,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 @@ -37120,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 @@ -37716,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 @@ -38500,6 +38602,11 @@ msgid "Returns the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +#, fuzzy +msgid "Returns the tooltip of the item at index [code]idx[/code]." +msgstr "Επιστρέφει το ημίτονο της παραμέτρου." + +#: doc/classes/OptionButton.xml msgid "" "Returns the ID of the selected item, or [code]0[/code] if no item is " "selected." @@ -38553,6 +38660,11 @@ msgid "Sets the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +#, fuzzy +msgid "Sets the tooltip of the item at index [code]idx[/code]." +msgstr "Επιστρέφει το ημίτονο της παραμέτρου." + +#: doc/classes/OptionButton.xml msgid "" "The index of the currently selected item, or [code]-1[/code] if no item is " "selected." @@ -39112,6 +39224,23 @@ msgstr "" #: doc/classes/OS.xml msgid "" +"Returns the current refresh rate of the specified screen. If [code]screen[/" +"code] is [code]-1[/code] (the default value), the current screen will be " +"used.\n" +"[b]Note:[/b] Returns [code]-1.0[/code] if Godot fails to find the refresh " +"rate for the specified screen. On HTML5, [method get_screen_refresh_rate] " +"will always return [code]-1.0[/code] as there is no way to retrieve the " +"refresh rate on that platform.\n" +"To fallback to a default refresh rate if the method fails, try:\n" +"[codeblock]\n" +"var refresh_rate = OS.get_screen_refresh_rate()\n" +"if refresh_rate < 0:\n" +" refresh_rate = 60.0\n" +"[/codeblock]" +msgstr "" + +#: doc/classes/OS.xml +msgid "" "Return the scale factor of the specified screen by index. If [code]screen[/" "code] is [code]-1[/code] (the default value), the current screen will be " "used.\n" @@ -42944,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 @@ -45479,6 +45611,12 @@ msgstr "" #: doc/classes/ProjectSettings.xml 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 "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], enables warnings when a function is declared with the " "same name as a constant." msgstr "" @@ -45902,6 +46040,19 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If enabled, the moment [member Viewport.gui_disable_input] is set to " +"[code]false[/code] to disable GUI input in a viewport, current mouse over " +"and mouse focus will be dropped.\n" +"That behavior helps to keep a robust GUI state, with no surprises when input " +"is resumed regardless what has happened in the meantime.\n" +"If disabled, the legacy behavior is used, which consists in just not doing " +"anything besides the GUI input disable itself.\n" +"[b]Note:[/b] This is set to [code]true[/code] by default for new projects " +"and is the recommended setting." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], swaps OK and Cancel buttons in dialogs on Windows and " "UWP to follow interface conventions." msgstr "" @@ -46871,6 +47022,16 @@ msgid "" msgstr "" #: doc/classes/ProjectSettings.xml +msgid "" +"If [code]true[/code], smooths out collision with trimesh shapes " +"([ConcavePolygonShape]) by telling the Bullet physics engine to generate " +"internal edge information for every trimesh shape created.\n" +"[b]Note:[/b] Only effective if [member physics/3d/physics_engine] is set to " +"[code]DEFAULT[/code] or [code]Bullet[/code], [i]not[/i] [code]GodotPhysics[/" +"code]." +msgstr "" + +#: doc/classes/ProjectSettings.xml msgid "Enables [member Viewport.physics_object_picking] on the root viewport." msgstr "" @@ -47284,6 +47445,14 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"An override for [code]rendering/gles3/shaders/shader_compilation_mode[/" +"code], so asynchronous compilation can be disabled for mobile.\n" +"You may want to do that since mobile GPUs generally won't support " +"ubershaders due to their complexity." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Max buffer size for blend shapes. Any blend shape bigger than this will not " "work." msgstr "" @@ -48216,13 +48385,13 @@ msgstr "" #: doc/classes/Range.xml msgid "" -"Binds two ranges together along with any ranges previously grouped with " +"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 "" #: doc/classes/Range.xml -msgid "Stops range from sharing its member variables with any other." +msgid "Stops the [Range] from sharing its member variables with any other." msgstr "" #: doc/classes/Range.xml @@ -48289,7 +48458,14 @@ msgid "" msgstr "" #: doc/classes/Range.xml -msgid "Emitted when [member value] changes." +msgid "" +"Emitted when [member value] changes. When used on a [Slider], this is called " +"continuously while dragging (potentially every frame). If you are performing " +"an expensive operation in a function connected to [signal value_changed], " +"consider using a [i]debouncing[/i] [Timer] to call the function less often.\n" +"[b]Note:[/b] Unlike signals such as [signal LineEdit.text_changed], [signal " +"value_changed] is also emitted when [code]value[/code] is set directly via " +"code." msgstr "" #: doc/classes/RayCast.xml doc/classes/RayCast2D.xml @@ -55592,11 +55768,11 @@ msgid "" "Returns [code]true[/code] if this string contains a valid float. This is " "inclusive of integers, and also supports exponents:\n" "[codeblock]\n" -"print(\"1.7\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"7e3\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"Hello\".is_valid_float()) # Prints \"false\"\n" +"print(\"1.7\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"7e3\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55622,9 +55798,9 @@ msgid "" "identifier may contain only letters, digits and underscores ([code]_[/code]) " "and the first character may not be a digit.\n" "[codeblock]\n" -"print(\"good_ident_1\".is_valid_identifier()) # Prints \"true\"\n" -"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"false\"\n" -"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"false\"\n" +"print(\"good_ident_1\".is_valid_identifier()) # Prints \"True\"\n" +"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"False\"\n" +"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55632,11 +55808,11 @@ msgstr "" msgid "" "Returns [code]true[/code] if this string contains a valid integer.\n" "[codeblock]\n" -"print(\"7\".is_valid_int()) # Prints \"true\"\n" -"print(\"14.6\".is_valid_int()) # Prints \"false\"\n" -"print(\"L\".is_valid_int()) # Prints \"false\"\n" -"print(\"+3\".is_valid_int()) # Prints \"true\"\n" -"print(\"-12\".is_valid_int()) # Prints \"true\"\n" +"print(\"7\".is_valid_int()) # Prints \"True\"\n" +"print(\"14.6\".is_valid_int()) # Prints \"False\"\n" +"print(\"L\".is_valid_int()) # Prints \"False\"\n" +"print(\"+3\".is_valid_int()) # Prints \"True\"\n" +"print(\"-12\".is_valid_int()) # Prints \"True\"\n" "[/codeblock]" msgstr "" @@ -55832,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 "" @@ -57431,6 +57607,12 @@ msgid "Returns if the given line is wrapped." msgstr "Επιστρέφει την εφαπτομένη της παραμέτρου." #: doc/classes/TextEdit.xml +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 "" + +#: doc/classes/TextEdit.xml msgid "Returns [code]true[/code] if the selection is active." msgstr "" @@ -59647,6 +59829,13 @@ msgstr "" #: doc/classes/Time.xml msgid "" +"Converts the given timezone offset in minutes to a timezone offset string. " +"For example, -480 returns \"-08:00\", 345 returns \"+05:45\", and 0 returns " +"\"+00:00\"." +msgstr "" + +#: doc/classes/Time.xml +msgid "" "Returns the amount of time passed in milliseconds since the engine started.\n" "Will always be positive or 0 and uses a 64-bit value (it will wrap after " "roughly 500 million years)." @@ -63312,6 +63501,11 @@ msgid "Returns [code]true[/code] if there are visible modals on-screen." msgstr "" #: doc/classes/Viewport.xml +#, fuzzy +msgid "Returns [code]true[/code] if the drag operation is successful." +msgstr "Επιστρέφει το συνημίτονο της παραμέτρου." + +#: doc/classes/Viewport.xml msgid "" "Returns [code]true[/code] if the viewport is currently performing a drag " "operation." diff --git a/doc/translations/es.po b/doc/translations/es.po index 6ebc2af78b..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 " @@ -20813,6 +20837,11 @@ msgstr "" "dado tiene una sobreescritura válida en este nodo [Control]." #: doc/classes/Control.xml +#, fuzzy +msgid "Returns [code]true[/code] if drag operation is successful." +msgstr "Devuelve [code]true[/code] si una animacion esta reproduciendose." + +#: doc/classes/Control.xml msgid "" "Invalidates the size cache in this node and in parent nodes up to toplevel. " "Intended to be used with [method get_minimum_size] when the return value is " @@ -21446,10 +21475,12 @@ msgstr "" "una textura o un nodo hijo." #: doc/classes/Control.xml +#, fuzzy msgid "" "By default, the node's pivot is its top-left corner. When you change its " -"[member rect_scale], it will scale around this pivot. Set this property to " -"[member rect_size] / 2 to center the pivot in the node's rectangle." +"[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 "" "Por defecto, el pivote del nodo es su esquina superior izquierda. Cuando " "cambias su [member rect_scale], se escalará alrededor de este pivote. " @@ -24432,10 +24463,11 @@ msgstr "" "Mantiene un cacheo de puntos precalculados a lo largo de la curva, para " "acelerar los cálculos." -#: doc/classes/Curve2D.xml doc/classes/Curve3D.xml +#: doc/classes/Curve2D.xml +#, fuzzy msgid "" -"Adds a point to a curve at [code]position[/code], with control points " -"[code]in[/code] and [code]out[/code].\n" +"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" "If [code]at_position[/code] is given, the point is inserted before the point " "number [code]at_position[/code], moving that point (and every point after) " "after the inserted point. If [code]at_position[/code] is not given, or is an " @@ -24674,6 +24706,27 @@ 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" +"If [code]at_position[/code] is given, the point is inserted before the point " +"number [code]at_position[/code], moving that point (and every point after) " +"after the inserted point. If [code]at_position[/code] is not given, or is an " +"illegal value ([code]at_position <0[/code] or [code]at_position >= [method " +"get_point_count][/code]), the point will be appended at the end of the point " +"list." +msgstr "" +"Añade un punto a una curva en la posición [code]position[/code], con puntos " +"de control [code]in[/code] y [code]out[/code].\n" +"Si se da [code]at_position[/code], el punto se inserta antes del número de " +"punto [code]at_position[/code], desplazando ese punto (y todos los puntos " +"posteriores) después del punto insertado. Si no se da [code]at_position[/" +"code], o es un valor ilegal ([code]at_position <0[/code] o [code]at_position " +">= [method get_point_count][/code]), el punto se añadirá al final de la " +"lista de puntos." + +#: doc/classes/Curve3D.xml +#, fuzzy msgid "Returns the cache of points as a [PoolVector3Array]." msgstr "Devuelve el caché de puntos como un [PackedVector3Array]." @@ -25920,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" @@ -29692,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 @@ -30851,11 +30904,15 @@ msgstr "" "el [member tonemap_mode] no se establece en [constant TONE_MAPPER_LINEAR]." #: doc/classes/Environment.xml +#, fuzzy msgid "" -"Keeps on screen every pixel drawn in the background. This is the fastest " -"background mode, but it can only be safely used in fully-interior scenes (no " -"visible sky or sky reflections). If enabled in a scene where the background " -"is visible, \"ghost trail\" artifacts will be visible when moving the camera." +"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 " +"not be faster than clearing the background, and can be significantly slower, " +"particularly on mobile.\n" +"It can only be safely used in fully-interior scenes (no visible sky or sky " +"reflections). If enabled in a scene where the background is visible, \"ghost " +"trail\" artifacts will be visible when moving the camera." msgstr "" "Mantiene en pantalla cada píxel dibujado en el fondo. Este es el modo de " "fondo más rápido, pero sólo puede ser usado con seguridad en escenas de " @@ -35430,17 +35487,19 @@ msgstr "" "map_width] * [member map_depth] ." #: doc/classes/HeightMapShape.xml +#, fuzzy msgid "" -"Depth of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the depth of the height map. Changing this will resize " +"the [member map_data]." msgstr "" "Los datos del mapa de la altura. Si se cambia esto, se redimensionará el " "[member map_data]." #: doc/classes/HeightMapShape.xml +#, fuzzy msgid "" -"Width of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the width of the height map. Changing this will resize " +"the [member map_data]." msgstr "" "Ancho de los datos del mapa de altura. Si se cambia esto, se redimensionará " "el [member map_data]." @@ -38523,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 @@ -38540,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 " @@ -38705,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 " @@ -38725,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 " @@ -38742,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 " @@ -39213,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 @@ -39237,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 " @@ -39256,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 " @@ -39297,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 "" @@ -39986,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 " @@ -43272,6 +43345,16 @@ msgstr "" "Si [code]true[/code], el menú contextual aparecerá al hacer clic con el " "botón derecho del ratón." +#: 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 "" +"Si [code]true[/code], el elemento actualmente seleccionado puede ser " +"seleccionado de nuevo." + #: doc/classes/LineEdit.xml msgid "" "If [code]false[/code], existing text cannot be modified and new text cannot " @@ -43312,6 +43395,17 @@ msgid "" "[/codeblock]" msgstr "" +#: 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 "" +"Devuelve [code]true[/code] si el video se está reproduciendo.\n" +"[b]Nota:[/b] El vídeo sigue considerándose en reproducción si se interrumpe " +"durante la reproducción." + #: doc/classes/LineEdit.xml msgid "" "Opacity of the [member placeholder_text]. From [code]0[/code] to [code]1[/" @@ -45021,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 "" @@ -48260,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 " @@ -49319,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." @@ -50171,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 "" @@ -51247,6 +51410,11 @@ msgid "Returns the text of the item at index [code]idx[/code]." msgstr "Devuelve el texto del artículo en el índice [code]idx[/code]." #: doc/classes/OptionButton.xml +#, fuzzy +msgid "Returns the tooltip of the item at index [code]idx[/code]." +msgstr "Devuelve el texto del artículo en el índice [code]idx[/code]." + +#: doc/classes/OptionButton.xml msgid "" "Returns the ID of the selected item, or [code]0[/code] if no item is " "selected." @@ -51315,6 +51483,11 @@ msgid "Sets the text of the item at index [code]idx[/code]." msgstr "Establece el texto del artículo en el índice [code]idx[/code]." #: doc/classes/OptionButton.xml +#, fuzzy +msgid "Sets the tooltip of the item at index [code]idx[/code]." +msgstr "Establece el texto del artículo en el índice [code]idx[/code]." + +#: doc/classes/OptionButton.xml msgid "" "The index of the currently selected item, or [code]-1[/code] if no item is " "selected." @@ -52044,6 +52217,23 @@ msgstr "" "[b]Nota:[/b] Este método está implementado en macOS." #: doc/classes/OS.xml +msgid "" +"Returns the current refresh rate of the specified screen. If [code]screen[/" +"code] is [code]-1[/code] (the default value), the current screen will be " +"used.\n" +"[b]Note:[/b] Returns [code]-1.0[/code] if Godot fails to find the refresh " +"rate for the specified screen. On HTML5, [method get_screen_refresh_rate] " +"will always return [code]-1.0[/code] as there is no way to retrieve the " +"refresh rate on that platform.\n" +"To fallback to a default refresh rate if the method fails, try:\n" +"[codeblock]\n" +"var refresh_rate = OS.get_screen_refresh_rate()\n" +"if refresh_rate < 0:\n" +" refresh_rate = 60.0\n" +"[/codeblock]" +msgstr "" + +#: doc/classes/OS.xml #, fuzzy msgid "" "Return the scale factor of the specified screen by index. If [code]screen[/" @@ -57194,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)." @@ -60553,6 +60748,15 @@ 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 "" +"Si [code]true[/code], habilita advertencias cuando un operador ternario " +"puede emitir valores con tipos incompatibles." + +#: doc/classes/ProjectSettings.xml +#, fuzzy +msgid "" "If [code]true[/code], enables warnings when a function is declared with the " "same name as a constant." msgstr "" @@ -61118,6 +61322,19 @@ msgstr "" "utilizará para todos los [ScrollContainer]s a menos que se sobrescriba." #: doc/classes/ProjectSettings.xml +msgid "" +"If enabled, the moment [member Viewport.gui_disable_input] is set to " +"[code]false[/code] to disable GUI input in a viewport, current mouse over " +"and mouse focus will be dropped.\n" +"That behavior helps to keep a robust GUI state, with no surprises when input " +"is resumed regardless what has happened in the meantime.\n" +"If disabled, the legacy behavior is used, which consists in just not doing " +"anything besides the GUI input disable itself.\n" +"[b]Note:[/b] This is set to [code]true[/code] by default for new projects " +"and is the recommended setting." +msgstr "" + +#: doc/classes/ProjectSettings.xml #, fuzzy msgid "" "If [code]true[/code], swaps OK and Cancel buttons in dialogs on Windows and " @@ -62329,6 +62546,16 @@ msgstr "" "una alternativa." #: doc/classes/ProjectSettings.xml +msgid "" +"If [code]true[/code], smooths out collision with trimesh shapes " +"([ConcavePolygonShape]) by telling the Bullet physics engine to generate " +"internal edge information for every trimesh shape created.\n" +"[b]Note:[/b] Only effective if [member physics/3d/physics_engine] is set to " +"[code]DEFAULT[/code] or [code]Bullet[/code], [i]not[/i] [code]GodotPhysics[/" +"code]." +msgstr "" + +#: doc/classes/ProjectSettings.xml msgid "Enables [member Viewport.physics_object_picking] on the root viewport." msgstr "Habilita [member Viewport.physics_object_picking] en el viewport raíz." @@ -62771,6 +62998,14 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"An override for [code]rendering/gles3/shaders/shader_compilation_mode[/" +"code], so asynchronous compilation can be disabled for mobile.\n" +"You may want to do that since mobile GPUs generally won't support " +"ubershaders due to their complexity." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Max buffer size for blend shapes. Any blend shape bigger than this will not " "work." msgstr "" @@ -63936,8 +64171,9 @@ msgstr "" "[i]página[/i], por ejemplo una [ScrollBar]." #: doc/classes/Range.xml +#, fuzzy msgid "" -"Binds two ranges together along with any ranges previously grouped with " +"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 "" @@ -63946,7 +64182,8 @@ msgstr "" "compartirá el nuevo valor con todos los demás rangos de su grupo." #: doc/classes/Range.xml -msgid "Stops range from sharing its member variables with any other." +#, fuzzy +msgid "Stops the [Range] from sharing its member variables with any other." msgstr "" "Para el rango, de compartir sus variables de miembros con cualquier otro." @@ -64033,8 +64270,15 @@ msgstr "" "[member step] cambian." #: doc/classes/Range.xml -msgid "Emitted when [member value] changes." -msgstr "Emitido cuando cambia [member value]." +msgid "" +"Emitted when [member value] changes. When used on a [Slider], this is called " +"continuously while dragging (potentially every frame). If you are performing " +"an expensive operation in a function connected to [signal value_changed], " +"consider using a [i]debouncing[/i] [Timer] to call the function less often.\n" +"[b]Note:[/b] Unlike signals such as [signal LineEdit.text_changed], [signal " +"value_changed] is also emitted when [code]value[/code] is set directly via " +"code." +msgstr "" #: doc/classes/RayCast.xml doc/classes/RayCast2D.xml msgid "Query the closest object intersecting a ray." @@ -73529,17 +73773,21 @@ 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" "[codeblock]\n" -"print(\"1.7\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"7e3\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"Hello\".is_valid_float()) # Prints \"false\"\n" +"print(\"1.7\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"7e3\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" +"Devuelve [code]true[/code] si esta string es un identificador válido. Un " +"identificador válido sólo puede contener letras, dígitos y guiones bajos " +"([code]_[/code]) y el primer carácter no puede ser un dígito." #: doc/classes/String.xml msgid "" @@ -73572,9 +73820,9 @@ msgid "" "identifier may contain only letters, digits and underscores ([code]_[/code]) " "and the first character may not be a digit.\n" "[codeblock]\n" -"print(\"good_ident_1\".is_valid_identifier()) # Prints \"true\"\n" -"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"false\"\n" -"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"false\"\n" +"print(\"good_ident_1\".is_valid_identifier()) # Prints \"True\"\n" +"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"False\"\n" +"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"False\"\n" "[/codeblock]" msgstr "" "Devuelve [code]true[/code] si esta string es un identificador válido. Un " @@ -73582,16 +73830,20 @@ msgstr "" "([code]_[/code]) y el primer carácter no puede ser un dígito." #: doc/classes/String.xml +#, fuzzy msgid "" "Returns [code]true[/code] if this string contains a valid integer.\n" "[codeblock]\n" -"print(\"7\".is_valid_int()) # Prints \"true\"\n" -"print(\"14.6\".is_valid_int()) # Prints \"false\"\n" -"print(\"L\".is_valid_int()) # Prints \"false\"\n" -"print(\"+3\".is_valid_int()) # Prints \"true\"\n" -"print(\"-12\".is_valid_int()) # Prints \"true\"\n" +"print(\"7\".is_valid_int()) # Prints \"True\"\n" +"print(\"14.6\".is_valid_int()) # Prints \"False\"\n" +"print(\"L\".is_valid_int()) # Prints \"False\"\n" +"print(\"+3\".is_valid_int()) # Prints \"True\"\n" +"print(\"-12\".is_valid_int()) # Prints \"True\"\n" "[/codeblock]" msgstr "" +"Devuelve [code]true[/code] si esta string es un identificador válido. Un " +"identificador válido sólo puede contener letras, dígitos y guiones bajos " +"([code]_[/code]) y el primer carácter no puede ser un dígito." #: doc/classes/String.xml msgid "" @@ -73800,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" @@ -73813,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 " @@ -75905,6 +76158,15 @@ msgid "Returns if the given line is wrapped." msgstr "Devuelve un tile con una forma determinada." #: 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 "" +"Devuelve [code]true[/code] si [code]a[/code] y [code]b[/code] son " +"aproximadamente iguales entre sí." + +#: doc/classes/TextEdit.xml msgid "Returns [code]true[/code] if the selection is active." msgstr "Devuelve [code]true[/code] si la selección está activa." @@ -78740,6 +79002,13 @@ msgstr "" #: doc/classes/Time.xml msgid "" +"Converts the given timezone offset in minutes to a timezone offset string. " +"For example, -480 returns \"-08:00\", 345 returns \"+05:45\", and 0 returns " +"\"+00:00\"." +msgstr "" + +#: doc/classes/Time.xml +msgid "" "Returns the amount of time passed in milliseconds since the engine started.\n" "Will always be positive or 0 and uses a 64-bit value (it will wrap after " "roughly 500 million years)." @@ -83656,6 +83925,11 @@ msgid "Returns [code]true[/code] if there are visible modals on-screen." msgstr "Devuelve [code]true[/code] si el archivo de la escena tiene nodos." #: doc/classes/Viewport.xml +#, fuzzy +msgid "Returns [code]true[/code] if the drag operation is successful." +msgstr "Devuelve [code]true[/code] si la selección está activa." + +#: doc/classes/Viewport.xml msgid "" "Returns [code]true[/code] if the viewport is currently performing a drag " "operation." diff --git a/doc/translations/fa.po b/doc/translations/fa.po index 78429f84e0..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 @@ -16281,6 +16301,10 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "Returns [code]true[/code] if drag operation is successful." +msgstr "" + +#: doc/classes/Control.xml msgid "" "Invalidates the size cache in this node and in parent nodes up to toplevel. " "Intended to be used with [method get_minimum_size] when the return value is " @@ -16701,8 +16725,9 @@ msgstr "" #: doc/classes/Control.xml msgid "" "By default, the node's pivot is its top-left corner. When you change its " -"[member rect_scale], it will scale around this pivot. Set this property to " -"[member rect_size] / 2 to center the pivot in the node's rectangle." +"[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 "" #: doc/classes/Control.xml @@ -19046,10 +19071,10 @@ msgid "" "further calculations." msgstr "" -#: doc/classes/Curve2D.xml doc/classes/Curve3D.xml +#: doc/classes/Curve2D.xml msgid "" -"Adds a point to a curve at [code]position[/code], with control points " -"[code]in[/code] and [code]out[/code].\n" +"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" "If [code]at_position[/code] is given, the point is inserted before the point " "number [code]at_position[/code], moving that point (and every point after) " "after the inserted point. If [code]at_position[/code] is not given, or is an " @@ -19200,6 +19225,18 @@ msgid "" msgstr "" #: doc/classes/Curve3D.xml +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" +"If [code]at_position[/code] is given, the point is inserted before the point " +"number [code]at_position[/code], moving that point (and every point after) " +"after the inserted point. If [code]at_position[/code] is not given, or is an " +"illegal value ([code]at_position <0[/code] or [code]at_position >= [method " +"get_point_count][/code]), the point will be appended at the end of the point " +"list." +msgstr "" + +#: doc/classes/Curve3D.xml msgid "Returns the cache of points as a [PoolVector3Array]." msgstr "" @@ -20005,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" @@ -22797,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 @@ -23683,10 +23720,13 @@ msgstr "" #: doc/classes/Environment.xml msgid "" -"Keeps on screen every pixel drawn in the background. This is the fastest " -"background mode, but it can only be safely used in fully-interior scenes (no " -"visible sky or sky reflections). If enabled in a scene where the background " -"is visible, \"ghost trail\" artifacts will be visible when moving the camera." +"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 " +"not be faster than clearing the background, and can be significantly slower, " +"particularly on mobile.\n" +"It can only be safely used in fully-interior scenes (no visible sky or sky " +"reflections). If enabled in a scene where the background is visible, \"ghost " +"trail\" artifacts will be visible when moving the camera." msgstr "" #: doc/classes/Environment.xml @@ -27137,14 +27177,14 @@ msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Depth of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the depth of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Width of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the width of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HFlowContainer.xml @@ -29386,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 @@ -29398,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 @@ -29533,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 " @@ -29547,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 @@ -29558,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 " @@ -29910,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 @@ -29930,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 " @@ -29944,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 @@ -29977,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 @@ -30509,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 @@ -32983,6 +33023,13 @@ msgstr "" msgid "If [code]true[/code], the context menu will appear when right-clicked." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml +#: doc/classes/TextEdit.xml +msgid "" +"If [code]true[/code], the selected text will be deselected when focus is " +"lost." +msgstr "" + #: doc/classes/LineEdit.xml msgid "" "If [code]false[/code], existing text cannot be modified and new text cannot " @@ -33018,6 +33065,13 @@ msgid "" "[/codeblock]" msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +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 "" + #: doc/classes/LineEdit.xml msgid "" "Opacity of the [member placeholder_text]. From [code]0[/code] to [code]1[/" @@ -34333,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 "" @@ -36791,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 @@ -37503,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 @@ -38099,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 @@ -38883,6 +38984,10 @@ msgid "Returns the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +msgid "Returns the tooltip of the item at index [code]idx[/code]." +msgstr "" + +#: doc/classes/OptionButton.xml msgid "" "Returns the ID of the selected item, or [code]0[/code] if no item is " "selected." @@ -38936,6 +39041,10 @@ msgid "Sets the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +msgid "Sets the tooltip of the item at index [code]idx[/code]." +msgstr "" + +#: doc/classes/OptionButton.xml msgid "" "The index of the currently selected item, or [code]-1[/code] if no item is " "selected." @@ -39492,6 +39601,23 @@ msgstr "" #: doc/classes/OS.xml msgid "" +"Returns the current refresh rate of the specified screen. If [code]screen[/" +"code] is [code]-1[/code] (the default value), the current screen will be " +"used.\n" +"[b]Note:[/b] Returns [code]-1.0[/code] if Godot fails to find the refresh " +"rate for the specified screen. On HTML5, [method get_screen_refresh_rate] " +"will always return [code]-1.0[/code] as there is no way to retrieve the " +"refresh rate on that platform.\n" +"To fallback to a default refresh rate if the method fails, try:\n" +"[codeblock]\n" +"var refresh_rate = OS.get_screen_refresh_rate()\n" +"if refresh_rate < 0:\n" +" refresh_rate = 60.0\n" +"[/codeblock]" +msgstr "" + +#: doc/classes/OS.xml +msgid "" "Return the scale factor of the specified screen by index. If [code]screen[/" "code] is [code]-1[/code] (the default value), the current screen will be " "used.\n" @@ -43330,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 @@ -45860,6 +45989,12 @@ msgstr "" #: doc/classes/ProjectSettings.xml 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 "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], enables warnings when a function is declared with the " "same name as a constant." msgstr "" @@ -46283,6 +46418,19 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If enabled, the moment [member Viewport.gui_disable_input] is set to " +"[code]false[/code] to disable GUI input in a viewport, current mouse over " +"and mouse focus will be dropped.\n" +"That behavior helps to keep a robust GUI state, with no surprises when input " +"is resumed regardless what has happened in the meantime.\n" +"If disabled, the legacy behavior is used, which consists in just not doing " +"anything besides the GUI input disable itself.\n" +"[b]Note:[/b] This is set to [code]true[/code] by default for new projects " +"and is the recommended setting." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], swaps OK and Cancel buttons in dialogs on Windows and " "UWP to follow interface conventions." msgstr "" @@ -47252,6 +47400,16 @@ msgid "" msgstr "" #: doc/classes/ProjectSettings.xml +msgid "" +"If [code]true[/code], smooths out collision with trimesh shapes " +"([ConcavePolygonShape]) by telling the Bullet physics engine to generate " +"internal edge information for every trimesh shape created.\n" +"[b]Note:[/b] Only effective if [member physics/3d/physics_engine] is set to " +"[code]DEFAULT[/code] or [code]Bullet[/code], [i]not[/i] [code]GodotPhysics[/" +"code]." +msgstr "" + +#: doc/classes/ProjectSettings.xml msgid "Enables [member Viewport.physics_object_picking] on the root viewport." msgstr "" @@ -47665,6 +47823,14 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"An override for [code]rendering/gles3/shaders/shader_compilation_mode[/" +"code], so asynchronous compilation can be disabled for mobile.\n" +"You may want to do that since mobile GPUs generally won't support " +"ubershaders due to their complexity." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Max buffer size for blend shapes. Any blend shape bigger than this will not " "work." msgstr "" @@ -48601,13 +48767,13 @@ msgstr "" #: doc/classes/Range.xml msgid "" -"Binds two ranges together along with any ranges previously grouped with " +"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 "" #: doc/classes/Range.xml -msgid "Stops range from sharing its member variables with any other." +msgid "Stops the [Range] from sharing its member variables with any other." msgstr "" #: doc/classes/Range.xml @@ -48674,7 +48840,14 @@ msgid "" msgstr "" #: doc/classes/Range.xml -msgid "Emitted when [member value] changes." +msgid "" +"Emitted when [member value] changes. When used on a [Slider], this is called " +"continuously while dragging (potentially every frame). If you are performing " +"an expensive operation in a function connected to [signal value_changed], " +"consider using a [i]debouncing[/i] [Timer] to call the function less often.\n" +"[b]Note:[/b] Unlike signals such as [signal LineEdit.text_changed], [signal " +"value_changed] is also emitted when [code]value[/code] is set directly via " +"code." msgstr "" #: doc/classes/RayCast.xml doc/classes/RayCast2D.xml @@ -55974,11 +56147,11 @@ msgid "" "Returns [code]true[/code] if this string contains a valid float. This is " "inclusive of integers, and also supports exponents:\n" "[codeblock]\n" -"print(\"1.7\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"7e3\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"Hello\".is_valid_float()) # Prints \"false\"\n" +"print(\"1.7\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"7e3\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -56004,9 +56177,9 @@ msgid "" "identifier may contain only letters, digits and underscores ([code]_[/code]) " "and the first character may not be a digit.\n" "[codeblock]\n" -"print(\"good_ident_1\".is_valid_identifier()) # Prints \"true\"\n" -"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"false\"\n" -"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"false\"\n" +"print(\"good_ident_1\".is_valid_identifier()) # Prints \"True\"\n" +"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"False\"\n" +"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -56014,11 +56187,11 @@ msgstr "" msgid "" "Returns [code]true[/code] if this string contains a valid integer.\n" "[codeblock]\n" -"print(\"7\".is_valid_int()) # Prints \"true\"\n" -"print(\"14.6\".is_valid_int()) # Prints \"false\"\n" -"print(\"L\".is_valid_int()) # Prints \"false\"\n" -"print(\"+3\".is_valid_int()) # Prints \"true\"\n" -"print(\"-12\".is_valid_int()) # Prints \"true\"\n" +"print(\"7\".is_valid_int()) # Prints \"True\"\n" +"print(\"14.6\".is_valid_int()) # Prints \"False\"\n" +"print(\"L\".is_valid_int()) # Prints \"False\"\n" +"print(\"+3\".is_valid_int()) # Prints \"True\"\n" +"print(\"-12\".is_valid_int()) # Prints \"True\"\n" "[/codeblock]" msgstr "" @@ -56214,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 "" @@ -57805,6 +57978,12 @@ msgid "Returns if the given line is wrapped." msgstr "" #: doc/classes/TextEdit.xml +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 "" + +#: doc/classes/TextEdit.xml msgid "Returns [code]true[/code] if the selection is active." msgstr "" @@ -60020,6 +60199,13 @@ msgstr "" #: doc/classes/Time.xml msgid "" +"Converts the given timezone offset in minutes to a timezone offset string. " +"For example, -480 returns \"-08:00\", 345 returns \"+05:45\", and 0 returns " +"\"+00:00\"." +msgstr "" + +#: doc/classes/Time.xml +msgid "" "Returns the amount of time passed in milliseconds since the engine started.\n" "Will always be positive or 0 and uses a 64-bit value (it will wrap after " "roughly 500 million years)." @@ -63674,6 +63860,10 @@ msgid "Returns [code]true[/code] if there are visible modals on-screen." msgstr "" #: doc/classes/Viewport.xml +msgid "Returns [code]true[/code] if the drag operation is successful." +msgstr "" + +#: doc/classes/Viewport.xml msgid "" "Returns [code]true[/code] if the viewport is currently performing a drag " "operation." diff --git a/doc/translations/fi.po b/doc/translations/fi.po index df7bd8a2d9..ca7fad636f 100644 --- a/doc/translations/fi.po +++ b/doc/translations/fi.po @@ -7,12 +7,13 @@ # Pierre Stempin <pierre.stempin@gmail.com>, 2020. # Nekromanser <ari.taitto@protonmail.com>, 2021. # Leevi Laine <leeviervoemil@gmail.com>, 2021. +# Tuomas Lähteenmäki <lahtis@gmail.com>, 2022. msgid "" msgstr "" "Project-Id-Version: Godot Engine class reference\n" "Report-Msgid-Bugs-To: https://github.com/godotengine/godot\n" -"PO-Revision-Date: 2021-10-28 22:08+0000\n" -"Last-Translator: Tapani Niemi <tapani.niemi@kapsi.fi>\n" +"PO-Revision-Date: 2022-03-17 13:59+0000\n" +"Last-Translator: Tuomas Lähteenmäki <lahtis@gmail.com>\n" "Language-Team: Finnish <https://hosted.weblate.org/projects/godot-engine/" "godot-class-reference/fi/>\n" "Language: fi\n" @@ -20,7 +21,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8-bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.9-dev\n" +"X-Generator: Weblate 4.12-dev\n" #: doc/tools/make_rst.py msgid "Description" @@ -48,7 +49,7 @@ msgstr "Signaalit" #: doc/tools/make_rst.py msgid "Enumerations" -msgstr "Luetteloinnit" +msgstr "Luettelointi" #: doc/tools/make_rst.py msgid "Constants" @@ -69,63 +70,73 @@ msgstr "Ominaisuuksien kuvaukset" #: doc/tools/make_rst.py msgid "Inherits:" -msgstr "" +msgstr "Perii:" #: doc/tools/make_rst.py msgid "Inherited By:" -msgstr "" +msgstr "Peritty:" #: doc/tools/make_rst.py msgid "(overrides %s)" -msgstr "" +msgstr "(ohittaa %s)" #: doc/tools/make_rst.py msgid "Default" -msgstr "" +msgstr "Oletus" #: doc/tools/make_rst.py msgid "Setter" -msgstr "" +msgstr "Asettaja" #: doc/tools/make_rst.py msgid "value" -msgstr "" +msgstr "arvo" #: doc/tools/make_rst.py msgid "Getter" -msgstr "" +msgstr "Saattaja" #: doc/tools/make_rst.py msgid "" "This method should typically be overridden by the user to have any effect." msgstr "" +"Tämän metodin pitäisi yleensä olla käyttäjän ohitettavissa, jotta sillä " +"olisi mitään vaikutusta." #: doc/tools/make_rst.py msgid "" "This method has no side effects. It doesn't modify any of the instance's " "member variables." msgstr "" +"Tällä menetelmällä ei ole sivuvaikutuksia. Se ei muuta mitään instanssin " +"jäsenmuuttujia." #: doc/tools/make_rst.py msgid "" "This method accepts any number of arguments after the ones described here." msgstr "" +"Tämä menetelmä hyväksyy minkä tahansa määrän argumentteja tässä kuvattujen " +"jälkeen." #: doc/tools/make_rst.py msgid "This method is used to construct a type." -msgstr "" +msgstr "Tätä menetelmää käytetään tyypin rakentamiseen." #: doc/tools/make_rst.py msgid "" "This method doesn't need an instance to be called, so it can be called " "directly using the class name." msgstr "" +"Tämän menetelmän kutsuminen ei edellytä esiintymän kutsumista, joten sitä " +"voidaan kutsua suoraan luokan nimellä." #: doc/tools/make_rst.py msgid "" "This method describes a valid operator to use with this type as left-hand " "operand." msgstr "" +"Tämä menetelmä kuvaa kelvollisen operaattorin, jota voidaan käyttää tämän " +"tyypin kanssa vasemmanpuoleisena operaattorina." #: modules/gdscript/doc_classes/@GDScript.xml msgid "Built-in GDScript functions." @@ -174,6 +185,12 @@ msgid "" "[/codeblock]\n" "Supported color names are the same as the constants defined in [Color]." msgstr "" +"Palauttaa standardoidun värin [code]nimen [/code] siten, että [code]alpha[/" +"code] vaihtelee välillä 0 -1.\n" +"[codeblock]\n" +"punainen = ColorN(\"punainen\", 1)\n" +"[/codeblock]\n" +"Tuetut värinimet ovat samat kuin [Väri] -kohdassa määritetyt vakiot." #: modules/gdscript/doc_classes/@GDScript.xml msgid "" @@ -199,6 +216,14 @@ msgid "" "c = acos(0.866025)\n" "[/codeblock]" msgstr "" +"Palauttaa kaaren kosinuksen [code]s[/code] radiaaneina. Käytä saadaksesi " +"kulman kosinin [code]s[/code]. [code]s[/code]:n on oltava välillä " +"[code]-1.0[/code] ja [code]1.0[/code] (mukaan lukien), muutoin [metodi acos] " +"palauttaa [vakion NAN].\n" +"[codeblock]\n" +"# c on 0.523599 tai 30 astetta, jos se muunnetaan rad2deg(s) -menetelmällä.\n" +"c = acos(0.866025)\n" +"[/codeblock]" #: modules/gdscript/doc_classes/@GDScript.xml msgid "" @@ -211,6 +236,14 @@ msgid "" "s = asin(0.5)\n" "[/codeblock]" msgstr "" +"Palauttaa [code]s[/code]:n kaarisinuksen radiaaneina. Käytä saadaksesi " +"kulman sini [code]s[/code]. [code]s[/code]:n on oltava välillä [code]-1.0[/" +"code] ja [code]1.0[/code] (mukaan lukien), muutoin [metodi asin] palauttaa " +"[vakio NAN].\n" +"[codeblock]\n" +"# s on 0.523599 tai 30 astetta, jos se muunnetaan rad2deg(s) -menetelmällä.\n" +"s = asin(0.5)\n" +"[/codeblock]" #: modules/gdscript/doc_classes/@GDScript.xml msgid "" @@ -238,6 +271,28 @@ msgid "" "a message with clarifying details\n" "[/codeblock]" msgstr "" +"Väittää, että [code]ehto[/code] on [code]tosi[/code]. Jos [code]ehto[/code] " +"on [code]väärä[/code], syntyy virhe. Kun sitä suoritetaan muokkaimesta, " +"käynnissä oleva projekti myös keskeytetään, kunnes sitä jatketaan. Tätä " +"voidaan käyttää [metodin push_error] vahvempana muotona virheiden " +"ilmoittamiseen projektin kehittäjille tai lisäosana käyttäjille.\n" +"[b]Huomautus:[/b] Suorituskykysyistä [method assert]:in sisällä oleva koodi " +"suoritetaan vain debug-rakentamisessa tai kun projekti ajetaan muokkaimesta. " +"Älä [method assert] -kutsu koodia, jolla on sivuvaikutuksia. Muuten projekti " +"käyttäytyy eri tavalla, kun se viedään julkaisutilassa.\n" +"Valinnainen [code]viesti[/code]-argumentti, jos se on annettu, näytetään " +"yleisen \"Assertion failed\" -viestin lisäksi. Tämän avulla voit antaa " +"lisätietoja siitä, miksi väite epäonnistui.\n" +"[codeblock]\n" +"# Kuvitellaan, että haluamme nopeuden olevan aina välillä 0-20.\n" +"var speed = -10\n" +"assert(speed < 20) # Totta, ohjelma jatkuu.\n" +"assert(speed >= 0) # False, ohjelma pysähtyy.\n" +"assert(nopeus >= 0 ja nopeus < 20) # Voit myös yhdistää kaksi ehdollista " +"lauseketta yhdeksi tarkistukseksi.\n" +"assert(nopeus < 20, \"nopeus = %f, mutta nopeusrajoitus on 20\" % nopeus) # " +"Näytä viesti selventävine yksityiskohtineen.\n" +"[/codeblock]" #: modules/gdscript/doc_classes/@GDScript.xml msgid "" @@ -3342,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 @@ -5257,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 @@ -10384,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 @@ -12541,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 @@ -12662,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 @@ -15886,6 +15961,11 @@ msgid "" msgstr "" #: doc/classes/Control.xml +#, fuzzy +msgid "Returns [code]true[/code] if drag operation is successful." +msgstr "Palauttaa parametrin kosinin." + +#: doc/classes/Control.xml msgid "" "Invalidates the size cache in this node and in parent nodes up to toplevel. " "Intended to be used with [method get_minimum_size] when the return value is " @@ -16312,8 +16392,9 @@ msgstr "" #: doc/classes/Control.xml msgid "" "By default, the node's pivot is its top-left corner. When you change its " -"[member rect_scale], it will scale around this pivot. Set this property to " -"[member rect_size] / 2 to center the pivot in the node's rectangle." +"[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 "" #: doc/classes/Control.xml @@ -18657,10 +18738,10 @@ msgid "" "further calculations." msgstr "" -#: doc/classes/Curve2D.xml doc/classes/Curve3D.xml +#: doc/classes/Curve2D.xml msgid "" -"Adds a point to a curve at [code]position[/code], with control points " -"[code]in[/code] and [code]out[/code].\n" +"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" "If [code]at_position[/code] is given, the point is inserted before the point " "number [code]at_position[/code], moving that point (and every point after) " "after the inserted point. If [code]at_position[/code] is not given, or is an " @@ -18812,6 +18893,18 @@ msgid "" msgstr "" #: doc/classes/Curve3D.xml +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" +"If [code]at_position[/code] is given, the point is inserted before the point " +"number [code]at_position[/code], moving that point (and every point after) " +"after the inserted point. If [code]at_position[/code] is not given, or is an " +"illegal value ([code]at_position <0[/code] or [code]at_position >= [method " +"get_point_count][/code]), the point will be appended at the end of the point " +"list." +msgstr "" + +#: doc/classes/Curve3D.xml #, fuzzy msgid "Returns the cache of points as a [PoolVector3Array]." msgstr "Palauttaa parametrin arkussinin." @@ -19620,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" @@ -22413,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 @@ -23299,10 +23392,13 @@ msgstr "" #: doc/classes/Environment.xml msgid "" -"Keeps on screen every pixel drawn in the background. This is the fastest " -"background mode, but it can only be safely used in fully-interior scenes (no " -"visible sky or sky reflections). If enabled in a scene where the background " -"is visible, \"ghost trail\" artifacts will be visible when moving the camera." +"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 " +"not be faster than clearing the background, and can be significantly slower, " +"particularly on mobile.\n" +"It can only be safely used in fully-interior scenes (no visible sky or sky " +"reflections). If enabled in a scene where the background is visible, \"ghost " +"trail\" artifacts will be visible when moving the camera." msgstr "" #: doc/classes/Environment.xml @@ -26764,14 +26860,14 @@ msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Depth of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the depth of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Width of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the width of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HFlowContainer.xml @@ -29015,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 @@ -29027,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 @@ -29162,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 " @@ -29176,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 @@ -29187,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 " @@ -29539,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 @@ -29559,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 " @@ -29573,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 @@ -29606,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 @@ -30139,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 @@ -32615,6 +32711,13 @@ msgstr "" msgid "If [code]true[/code], the context menu will appear when right-clicked." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml +#: doc/classes/TextEdit.xml +msgid "" +"If [code]true[/code], the selected text will be deselected when focus is " +"lost." +msgstr "" + #: doc/classes/LineEdit.xml msgid "" "If [code]false[/code], existing text cannot be modified and new text cannot " @@ -32650,6 +32753,13 @@ msgid "" "[/codeblock]" msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +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 "" + #: doc/classes/LineEdit.xml msgid "" "Opacity of the [member placeholder_text]. From [code]0[/code] to [code]1[/" @@ -33965,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 "" @@ -36286,7 +36429,7 @@ msgstr "" #: doc/classes/Node.xml msgid "Nodes and Scenes" -msgstr "" +msgstr "Solmut ja Kohtaukset" #: doc/classes/Node.xml msgid "All Demos" @@ -36438,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 @@ -37150,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 @@ -37746,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 @@ -38530,6 +38687,11 @@ msgid "Returns the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +#, fuzzy +msgid "Returns the tooltip of the item at index [code]idx[/code]." +msgstr "Laskee kahden vektorin ristitulon." + +#: doc/classes/OptionButton.xml msgid "" "Returns the ID of the selected item, or [code]0[/code] if no item is " "selected." @@ -38583,6 +38745,11 @@ msgid "Sets the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +#, fuzzy +msgid "Sets the tooltip of the item at index [code]idx[/code]." +msgstr "Laskee kahden vektorin ristitulon." + +#: doc/classes/OptionButton.xml msgid "" "The index of the currently selected item, or [code]-1[/code] if no item is " "selected." @@ -39142,6 +39309,23 @@ msgstr "" #: doc/classes/OS.xml msgid "" +"Returns the current refresh rate of the specified screen. If [code]screen[/" +"code] is [code]-1[/code] (the default value), the current screen will be " +"used.\n" +"[b]Note:[/b] Returns [code]-1.0[/code] if Godot fails to find the refresh " +"rate for the specified screen. On HTML5, [method get_screen_refresh_rate] " +"will always return [code]-1.0[/code] as there is no way to retrieve the " +"refresh rate on that platform.\n" +"To fallback to a default refresh rate if the method fails, try:\n" +"[codeblock]\n" +"var refresh_rate = OS.get_screen_refresh_rate()\n" +"if refresh_rate < 0:\n" +" refresh_rate = 60.0\n" +"[/codeblock]" +msgstr "" + +#: doc/classes/OS.xml +msgid "" "Return the scale factor of the specified screen by index. If [code]screen[/" "code] is [code]-1[/code] (the default value), the current screen will be " "used.\n" @@ -42974,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 @@ -45509,6 +45696,12 @@ msgstr "" #: doc/classes/ProjectSettings.xml 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 "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], enables warnings when a function is declared with the " "same name as a constant." msgstr "" @@ -45932,6 +46125,19 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If enabled, the moment [member Viewport.gui_disable_input] is set to " +"[code]false[/code] to disable GUI input in a viewport, current mouse over " +"and mouse focus will be dropped.\n" +"That behavior helps to keep a robust GUI state, with no surprises when input " +"is resumed regardless what has happened in the meantime.\n" +"If disabled, the legacy behavior is used, which consists in just not doing " +"anything besides the GUI input disable itself.\n" +"[b]Note:[/b] This is set to [code]true[/code] by default for new projects " +"and is the recommended setting." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], swaps OK and Cancel buttons in dialogs on Windows and " "UWP to follow interface conventions." msgstr "" @@ -46901,6 +47107,16 @@ msgid "" msgstr "" #: doc/classes/ProjectSettings.xml +msgid "" +"If [code]true[/code], smooths out collision with trimesh shapes " +"([ConcavePolygonShape]) by telling the Bullet physics engine to generate " +"internal edge information for every trimesh shape created.\n" +"[b]Note:[/b] Only effective if [member physics/3d/physics_engine] is set to " +"[code]DEFAULT[/code] or [code]Bullet[/code], [i]not[/i] [code]GodotPhysics[/" +"code]." +msgstr "" + +#: doc/classes/ProjectSettings.xml msgid "Enables [member Viewport.physics_object_picking] on the root viewport." msgstr "" @@ -47314,6 +47530,14 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"An override for [code]rendering/gles3/shaders/shader_compilation_mode[/" +"code], so asynchronous compilation can be disabled for mobile.\n" +"You may want to do that since mobile GPUs generally won't support " +"ubershaders due to their complexity." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Max buffer size for blend shapes. Any blend shape bigger than this will not " "work." msgstr "" @@ -48246,13 +48470,13 @@ msgstr "" #: doc/classes/Range.xml msgid "" -"Binds two ranges together along with any ranges previously grouped with " +"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 "" #: doc/classes/Range.xml -msgid "Stops range from sharing its member variables with any other." +msgid "Stops the [Range] from sharing its member variables with any other." msgstr "" #: doc/classes/Range.xml @@ -48319,7 +48543,14 @@ msgid "" msgstr "" #: doc/classes/Range.xml -msgid "Emitted when [member value] changes." +msgid "" +"Emitted when [member value] changes. When used on a [Slider], this is called " +"continuously while dragging (potentially every frame). If you are performing " +"an expensive operation in a function connected to [signal value_changed], " +"consider using a [i]debouncing[/i] [Timer] to call the function less often.\n" +"[b]Note:[/b] Unlike signals such as [signal LineEdit.text_changed], [signal " +"value_changed] is also emitted when [code]value[/code] is set directly via " +"code." msgstr "" #: doc/classes/RayCast.xml doc/classes/RayCast2D.xml @@ -55624,11 +55855,11 @@ msgid "" "Returns [code]true[/code] if this string contains a valid float. This is " "inclusive of integers, and also supports exponents:\n" "[codeblock]\n" -"print(\"1.7\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"7e3\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"Hello\".is_valid_float()) # Prints \"false\"\n" +"print(\"1.7\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"7e3\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55654,9 +55885,9 @@ msgid "" "identifier may contain only letters, digits and underscores ([code]_[/code]) " "and the first character may not be a digit.\n" "[codeblock]\n" -"print(\"good_ident_1\".is_valid_identifier()) # Prints \"true\"\n" -"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"false\"\n" -"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"false\"\n" +"print(\"good_ident_1\".is_valid_identifier()) # Prints \"True\"\n" +"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"False\"\n" +"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55664,11 +55895,11 @@ msgstr "" msgid "" "Returns [code]true[/code] if this string contains a valid integer.\n" "[codeblock]\n" -"print(\"7\".is_valid_int()) # Prints \"true\"\n" -"print(\"14.6\".is_valid_int()) # Prints \"false\"\n" -"print(\"L\".is_valid_int()) # Prints \"false\"\n" -"print(\"+3\".is_valid_int()) # Prints \"true\"\n" -"print(\"-12\".is_valid_int()) # Prints \"true\"\n" +"print(\"7\".is_valid_int()) # Prints \"True\"\n" +"print(\"14.6\".is_valid_int()) # Prints \"False\"\n" +"print(\"L\".is_valid_int()) # Prints \"False\"\n" +"print(\"+3\".is_valid_int()) # Prints \"True\"\n" +"print(\"-12\".is_valid_int()) # Prints \"True\"\n" "[/codeblock]" msgstr "" @@ -55864,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 "" @@ -57464,6 +57695,12 @@ msgid "Returns if the given line is wrapped." msgstr "Palauttaa parametrin tangentin." #: doc/classes/TextEdit.xml +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 "" + +#: doc/classes/TextEdit.xml msgid "Returns [code]true[/code] if the selection is active." msgstr "" @@ -59682,6 +59919,13 @@ msgstr "" #: doc/classes/Time.xml msgid "" +"Converts the given timezone offset in minutes to a timezone offset string. " +"For example, -480 returns \"-08:00\", 345 returns \"+05:45\", and 0 returns " +"\"+00:00\"." +msgstr "" + +#: doc/classes/Time.xml +msgid "" "Returns the amount of time passed in milliseconds since the engine started.\n" "Will always be positive or 0 and uses a 64-bit value (it will wrap after " "roughly 500 million years)." @@ -63350,6 +63594,11 @@ msgid "Returns [code]true[/code] if there are visible modals on-screen." msgstr "" #: doc/classes/Viewport.xml +#, fuzzy +msgid "Returns [code]true[/code] if the drag operation is successful." +msgstr "Palauttaa parametrin kosinin." + +#: doc/classes/Viewport.xml msgid "" "Returns [code]true[/code] if the viewport is currently performing a drag " "operation." diff --git a/doc/translations/fil.po b/doc/translations/fil.po index 7d94a0dacc..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 @@ -15849,6 +15869,10 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "Returns [code]true[/code] if drag operation is successful." +msgstr "" + +#: doc/classes/Control.xml msgid "" "Invalidates the size cache in this node and in parent nodes up to toplevel. " "Intended to be used with [method get_minimum_size] when the return value is " @@ -16269,8 +16293,9 @@ msgstr "" #: doc/classes/Control.xml msgid "" "By default, the node's pivot is its top-left corner. When you change its " -"[member rect_scale], it will scale around this pivot. Set this property to " -"[member rect_size] / 2 to center the pivot in the node's rectangle." +"[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 "" #: doc/classes/Control.xml @@ -18614,10 +18639,10 @@ msgid "" "further calculations." msgstr "" -#: doc/classes/Curve2D.xml doc/classes/Curve3D.xml +#: doc/classes/Curve2D.xml msgid "" -"Adds a point to a curve at [code]position[/code], with control points " -"[code]in[/code] and [code]out[/code].\n" +"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" "If [code]at_position[/code] is given, the point is inserted before the point " "number [code]at_position[/code], moving that point (and every point after) " "after the inserted point. If [code]at_position[/code] is not given, or is an " @@ -18768,6 +18793,18 @@ msgid "" msgstr "" #: doc/classes/Curve3D.xml +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" +"If [code]at_position[/code] is given, the point is inserted before the point " +"number [code]at_position[/code], moving that point (and every point after) " +"after the inserted point. If [code]at_position[/code] is not given, or is an " +"illegal value ([code]at_position <0[/code] or [code]at_position >= [method " +"get_point_count][/code]), the point will be appended at the end of the point " +"list." +msgstr "" + +#: doc/classes/Curve3D.xml msgid "Returns the cache of points as a [PoolVector3Array]." msgstr "" @@ -19573,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" @@ -22365,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 @@ -23251,10 +23288,13 @@ msgstr "" #: doc/classes/Environment.xml msgid "" -"Keeps on screen every pixel drawn in the background. This is the fastest " -"background mode, but it can only be safely used in fully-interior scenes (no " -"visible sky or sky reflections). If enabled in a scene where the background " -"is visible, \"ghost trail\" artifacts will be visible when moving the camera." +"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 " +"not be faster than clearing the background, and can be significantly slower, " +"particularly on mobile.\n" +"It can only be safely used in fully-interior scenes (no visible sky or sky " +"reflections). If enabled in a scene where the background is visible, \"ghost " +"trail\" artifacts will be visible when moving the camera." msgstr "" #: doc/classes/Environment.xml @@ -26705,14 +26745,14 @@ msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Depth of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the depth of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Width of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the width of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HFlowContainer.xml @@ -28954,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 @@ -28966,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 @@ -29101,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 " @@ -29115,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 @@ -29126,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 " @@ -29478,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 @@ -29498,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 " @@ -29512,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 @@ -29545,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 @@ -30077,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 @@ -32551,6 +32591,13 @@ msgstr "" msgid "If [code]true[/code], the context menu will appear when right-clicked." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml +#: doc/classes/TextEdit.xml +msgid "" +"If [code]true[/code], the selected text will be deselected when focus is " +"lost." +msgstr "" + #: doc/classes/LineEdit.xml msgid "" "If [code]false[/code], existing text cannot be modified and new text cannot " @@ -32586,6 +32633,13 @@ msgid "" "[/codeblock]" msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +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 "" + #: doc/classes/LineEdit.xml msgid "" "Opacity of the [member placeholder_text]. From [code]0[/code] to [code]1[/" @@ -33901,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 "" @@ -36353,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 @@ -37065,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 @@ -37661,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 @@ -38445,6 +38546,10 @@ msgid "Returns the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +msgid "Returns the tooltip of the item at index [code]idx[/code]." +msgstr "" + +#: doc/classes/OptionButton.xml msgid "" "Returns the ID of the selected item, or [code]0[/code] if no item is " "selected." @@ -38498,6 +38603,10 @@ msgid "Sets the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +msgid "Sets the tooltip of the item at index [code]idx[/code]." +msgstr "" + +#: doc/classes/OptionButton.xml msgid "" "The index of the currently selected item, or [code]-1[/code] if no item is " "selected." @@ -39054,6 +39163,23 @@ msgstr "" #: doc/classes/OS.xml msgid "" +"Returns the current refresh rate of the specified screen. If [code]screen[/" +"code] is [code]-1[/code] (the default value), the current screen will be " +"used.\n" +"[b]Note:[/b] Returns [code]-1.0[/code] if Godot fails to find the refresh " +"rate for the specified screen. On HTML5, [method get_screen_refresh_rate] " +"will always return [code]-1.0[/code] as there is no way to retrieve the " +"refresh rate on that platform.\n" +"To fallback to a default refresh rate if the method fails, try:\n" +"[codeblock]\n" +"var refresh_rate = OS.get_screen_refresh_rate()\n" +"if refresh_rate < 0:\n" +" refresh_rate = 60.0\n" +"[/codeblock]" +msgstr "" + +#: doc/classes/OS.xml +msgid "" "Return the scale factor of the specified screen by index. If [code]screen[/" "code] is [code]-1[/code] (the default value), the current screen will be " "used.\n" @@ -42880,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 @@ -45410,6 +45539,12 @@ msgstr "" #: doc/classes/ProjectSettings.xml 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 "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], enables warnings when a function is declared with the " "same name as a constant." msgstr "" @@ -45833,6 +45968,19 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If enabled, the moment [member Viewport.gui_disable_input] is set to " +"[code]false[/code] to disable GUI input in a viewport, current mouse over " +"and mouse focus will be dropped.\n" +"That behavior helps to keep a robust GUI state, with no surprises when input " +"is resumed regardless what has happened in the meantime.\n" +"If disabled, the legacy behavior is used, which consists in just not doing " +"anything besides the GUI input disable itself.\n" +"[b]Note:[/b] This is set to [code]true[/code] by default for new projects " +"and is the recommended setting." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], swaps OK and Cancel buttons in dialogs on Windows and " "UWP to follow interface conventions." msgstr "" @@ -46802,6 +46950,16 @@ msgid "" msgstr "" #: doc/classes/ProjectSettings.xml +msgid "" +"If [code]true[/code], smooths out collision with trimesh shapes " +"([ConcavePolygonShape]) by telling the Bullet physics engine to generate " +"internal edge information for every trimesh shape created.\n" +"[b]Note:[/b] Only effective if [member physics/3d/physics_engine] is set to " +"[code]DEFAULT[/code] or [code]Bullet[/code], [i]not[/i] [code]GodotPhysics[/" +"code]." +msgstr "" + +#: doc/classes/ProjectSettings.xml msgid "Enables [member Viewport.physics_object_picking] on the root viewport." msgstr "" @@ -47215,6 +47373,14 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"An override for [code]rendering/gles3/shaders/shader_compilation_mode[/" +"code], so asynchronous compilation can be disabled for mobile.\n" +"You may want to do that since mobile GPUs generally won't support " +"ubershaders due to their complexity." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Max buffer size for blend shapes. Any blend shape bigger than this will not " "work." msgstr "" @@ -48147,13 +48313,13 @@ msgstr "" #: doc/classes/Range.xml msgid "" -"Binds two ranges together along with any ranges previously grouped with " +"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 "" #: doc/classes/Range.xml -msgid "Stops range from sharing its member variables with any other." +msgid "Stops the [Range] from sharing its member variables with any other." msgstr "" #: doc/classes/Range.xml @@ -48220,7 +48386,14 @@ msgid "" msgstr "" #: doc/classes/Range.xml -msgid "Emitted when [member value] changes." +msgid "" +"Emitted when [member value] changes. When used on a [Slider], this is called " +"continuously while dragging (potentially every frame). If you are performing " +"an expensive operation in a function connected to [signal value_changed], " +"consider using a [i]debouncing[/i] [Timer] to call the function less often.\n" +"[b]Note:[/b] Unlike signals such as [signal LineEdit.text_changed], [signal " +"value_changed] is also emitted when [code]value[/code] is set directly via " +"code." msgstr "" #: doc/classes/RayCast.xml doc/classes/RayCast2D.xml @@ -55520,11 +55693,11 @@ msgid "" "Returns [code]true[/code] if this string contains a valid float. This is " "inclusive of integers, and also supports exponents:\n" "[codeblock]\n" -"print(\"1.7\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"7e3\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"Hello\".is_valid_float()) # Prints \"false\"\n" +"print(\"1.7\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"7e3\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55550,9 +55723,9 @@ msgid "" "identifier may contain only letters, digits and underscores ([code]_[/code]) " "and the first character may not be a digit.\n" "[codeblock]\n" -"print(\"good_ident_1\".is_valid_identifier()) # Prints \"true\"\n" -"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"false\"\n" -"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"false\"\n" +"print(\"good_ident_1\".is_valid_identifier()) # Prints \"True\"\n" +"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"False\"\n" +"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55560,11 +55733,11 @@ msgstr "" msgid "" "Returns [code]true[/code] if this string contains a valid integer.\n" "[codeblock]\n" -"print(\"7\".is_valid_int()) # Prints \"true\"\n" -"print(\"14.6\".is_valid_int()) # Prints \"false\"\n" -"print(\"L\".is_valid_int()) # Prints \"false\"\n" -"print(\"+3\".is_valid_int()) # Prints \"true\"\n" -"print(\"-12\".is_valid_int()) # Prints \"true\"\n" +"print(\"7\".is_valid_int()) # Prints \"True\"\n" +"print(\"14.6\".is_valid_int()) # Prints \"False\"\n" +"print(\"L\".is_valid_int()) # Prints \"False\"\n" +"print(\"+3\".is_valid_int()) # Prints \"True\"\n" +"print(\"-12\".is_valid_int()) # Prints \"True\"\n" "[/codeblock]" msgstr "" @@ -55760,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 "" @@ -57351,6 +57524,12 @@ msgid "Returns if the given line is wrapped." msgstr "" #: doc/classes/TextEdit.xml +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 "" + +#: doc/classes/TextEdit.xml msgid "Returns [code]true[/code] if the selection is active." msgstr "" @@ -59566,6 +59745,13 @@ msgstr "" #: doc/classes/Time.xml msgid "" +"Converts the given timezone offset in minutes to a timezone offset string. " +"For example, -480 returns \"-08:00\", 345 returns \"+05:45\", and 0 returns " +"\"+00:00\"." +msgstr "" + +#: doc/classes/Time.xml +msgid "" "Returns the amount of time passed in milliseconds since the engine started.\n" "Will always be positive or 0 and uses a 64-bit value (it will wrap after " "roughly 500 million years)." @@ -63220,6 +63406,10 @@ msgid "Returns [code]true[/code] if there are visible modals on-screen." msgstr "" #: doc/classes/Viewport.xml +msgid "Returns [code]true[/code] if the drag operation is successful." +msgstr "" + +#: doc/classes/Viewport.xml msgid "" "Returns [code]true[/code] if the viewport is currently performing a drag " "operation." diff --git a/doc/translations/fr.po b/doc/translations/fr.po index 1c485e9047..a638ed182b 100644 --- a/doc/translations/fr.po +++ b/doc/translations/fr.po @@ -9,7 +9,7 @@ # Anonymous <noreply@weblate.org>, 2020. # Nathan <bonnemainsnathan@gmail.com>, 2020. # Fox Lahoki <alexbar@live.fr>, 2020. -# Pierre Caye <pierrecaye@laposte.net>, 2020, 2021. +# Pierre Caye <pierrecaye@laposte.net>, 2020, 2021, 2022. # Sofiane <Sofiane-77@caramail.fr>, 2020. # Gaya <limanegaya@gmail.com>, 2020. # Nick B <nbourrereg@hotmail.com>, 2020. @@ -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-03 17:35+0000\n" -"Last-Translator: Perrier Mathis <mathis.perrier73@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" @@ -69,7 +70,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n > 1;\n" -"X-Generator: Weblate 4.11.1-dev\n" +"X-Generator: Weblate 4.12-dev\n" #: doc/tools/make_rst.py msgid "Description" @@ -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 "" @@ -10470,9 +10433,8 @@ msgstr "" #: doc/classes/AudioEffect.xml doc/classes/AudioEffectRecord.xml #: doc/classes/AudioServer.xml doc/classes/AudioStream.xml #: doc/classes/AudioStreamPlayer.xml -#, fuzzy msgid "Audio Mic Record Demo" -msgstr "Démo de spectre audio" +msgstr "Démo d'enregistrement du microphone" #: doc/classes/AudioEffectAmplify.xml msgid "" @@ -11323,9 +11285,8 @@ msgid "" msgstr "" #: doc/classes/AudioServer.xml doc/classes/AudioStreamPlayer.xml -#, fuzzy msgid "Audio Device Changer Demo" -msgstr "Démo de spectre audio" +msgstr "Démo de changement de périphérique audio" #: doc/classes/AudioServer.xml msgid "Adds a bus at [code]at_position[/code]." @@ -11572,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 "" @@ -11613,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 "" @@ -11806,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]." @@ -11965,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 "" @@ -12232,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 "" @@ -12287,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 "" @@ -12384,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 "" @@ -12427,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 @@ -12447,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." @@ -13986,9 +13950,8 @@ msgid "Returns the position of camera on the device." msgstr "Renvoie le traqueur de position à l'identification donnée." #: doc/classes/CameraFeed.xml -#, fuzzy msgid "If [code]true[/code], the feed is active." -msgstr "Si [code]true[/code], la rétroaction est activée." +msgstr "Si [code]true[/code], le flux est actif." #: doc/classes/CameraFeed.xml #, fuzzy @@ -13996,9 +13959,8 @@ msgid "The transform applied to the camera's image." msgstr "L'image de la caméra du composant CbCr." #: doc/classes/CameraFeed.xml -#, fuzzy msgid "No image set for the feed." -msgstr "Aucun indice pour la propriété en cours d'édition." +msgstr "Aucune image définie pour le flux." #: doc/classes/CameraFeed.xml msgid "Feed supplies RGB images." @@ -14471,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 @@ -14592,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 @@ -18066,6 +18034,11 @@ msgstr "" "existe, [code]false[/code] autrement." #: doc/classes/Control.xml +#, fuzzy +msgid "Returns [code]true[/code] if drag operation is successful." +msgstr "Retourne [code]true[/code] si la sélection est active." + +#: doc/classes/Control.xml msgid "" "Invalidates the size cache in this node and in parent nodes up to toplevel. " "Intended to be used with [method get_minimum_size] when the return value is " @@ -18492,8 +18465,9 @@ msgstr "" #: doc/classes/Control.xml msgid "" "By default, the node's pivot is its top-left corner. When you change its " -"[member rect_scale], it will scale around this pivot. Set this property to " -"[member rect_size] / 2 to center the pivot in the node's rectangle." +"[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 "" #: doc/classes/Control.xml @@ -18669,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." @@ -19227,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]." @@ -20538,7 +20510,7 @@ msgstr "Convertit le format de l’image. Voir les constantes [enum Format]." #: doc/classes/CubeMap.xml msgid "Store the [CubeMap] without any compression." -msgstr "" +msgstr "Enregistre le [CubeMap] sans aucune compression." #: doc/classes/CubeMap.xml msgid "Store the [CubeMap] with strong compression that reduces image quality." @@ -20585,7 +20557,7 @@ msgstr "" #: doc/classes/CubeMap.xml msgid "Repeat (instead of clamp to edge)." -msgstr "" +msgstr "Répète (plutôt que s'arrête aux bords)." #: doc/classes/CubeMap.xml msgid "Turn on magnifying filter, to enable smooth zooming in of the texture." @@ -20884,10 +20856,10 @@ msgid "" "further calculations." msgstr "" -#: doc/classes/Curve2D.xml doc/classes/Curve3D.xml +#: doc/classes/Curve2D.xml msgid "" -"Adds a point to a curve at [code]position[/code], with control points " -"[code]in[/code] and [code]out[/code].\n" +"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" "If [code]at_position[/code] is given, the point is inserted before the point " "number [code]at_position[/code], moving that point (and every point after) " "after the inserted point. If [code]at_position[/code] is not given, or is an " @@ -21039,6 +21011,18 @@ msgid "" msgstr "" #: doc/classes/Curve3D.xml +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" +"If [code]at_position[/code] is given, the point is inserted before the point " +"number [code]at_position[/code], moving that point (and every point after) " +"after the inserted point. If [code]at_position[/code] is not given, or is an " +"illegal value ([code]at_position <0[/code] or [code]at_position >= [method " +"get_point_count][/code]), the point will be appended at the end of the point " +"list." +msgstr "" + +#: doc/classes/Curve3D.xml #, fuzzy msgid "Returns the cache of points as a [PoolVector3Array]." msgstr "Retourne le cache de points sous forme de [PackedVector3Array]." @@ -21455,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 @@ -21464,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." @@ -21498,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." @@ -21865,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" @@ -21899,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." @@ -22493,9 +22474,8 @@ msgid "Emitted if the filesystem changed." msgstr "Émis si le système de fichiers a changé." #: doc/classes/EditorFileSystem.xml -#, fuzzy msgid "Emitted if a resource is reimported." -msgstr "Remise si une ressource est réimportée." +msgstr "Émis si une ressource est réimportée." #: doc/classes/EditorFileSystem.xml msgid "" @@ -23449,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 "" @@ -23477,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]." @@ -23717,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." @@ -23772,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 "" @@ -24246,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 "" @@ -24266,9 +24254,8 @@ msgid "" msgstr "" #: doc/classes/EditorSpatialGizmo.xml -#, fuzzy msgid "Custom gizmo for editing Spatial objects." -msgstr "Gizmo personnalisé pour l’édition d’objets Node3D." +msgstr "Le manipulateur personnalisé pour l’édition d’objets Spatial." #: doc/classes/EditorSpatialGizmo.xml msgid "" @@ -24395,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 "" @@ -24709,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 @@ -24754,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." @@ -25210,9 +25197,8 @@ msgid "The background mode. See [enum BGMode] for possible values." msgstr "" #: doc/classes/Environment.xml -#, fuzzy msgid "The [Sky] resource defined as background." -msgstr "Le style de l’arrière-plan." +msgstr "La ressource du [Sky] définit pour l’arrière-plan." #: doc/classes/Environment.xml msgid "The [Sky] resource's custom field of view." @@ -25233,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 "" @@ -25261,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 "" @@ -25611,10 +25595,13 @@ msgstr "" #: doc/classes/Environment.xml msgid "" -"Keeps on screen every pixel drawn in the background. This is the fastest " -"background mode, but it can only be safely used in fully-interior scenes (no " -"visible sky or sky reflections). If enabled in a scene where the background " -"is visible, \"ghost trail\" artifacts will be visible when moving the camera." +"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 " +"not be faster than clearing the background, and can be significantly slower, " +"particularly on mobile.\n" +"It can only be safely used in fully-interior scenes (no visible sky or sky " +"reflections). If enabled in a scene where the background is visible, \"ghost " +"trail\" artifacts will be visible when moving the camera." msgstr "" #: doc/classes/Environment.xml @@ -25809,7 +25796,7 @@ msgstr "" #: doc/classes/ExternalTexture.xml msgid "Enable OpenGL ES external texture extension." -msgstr "" +msgstr "Active l'extension pour les textures externes OpenGL ES." #: doc/classes/ExternalTexture.xml msgid "" @@ -26492,18 +26479,12 @@ msgid "" msgstr "" #: doc/classes/float.xml -#, fuzzy msgid "Wikipedia: Double-precision floating-point format" -msgstr "" -"https://fr.wikipedia.org/wiki/" -"IEEE_754#Format_double_pr%C3%A9cision_%2864_bits%29" +msgstr "Wikipédia : Le format des nombres flottants à double précision" #: doc/classes/float.xml -#, fuzzy msgid "Wikipedia: Single-precision floating-point format" -msgstr "" -"https://fr.wikipedia.org/wiki/" -"IEEE_754#Format_simple_pr%C3%A9cision_%2832_bits%29" +msgstr "Wikipédia : Le format des nombres flottants à simple précision" #: doc/classes/float.xml msgid "" @@ -28101,7 +28082,7 @@ msgstr "" #: doc/classes/Gradient.xml msgid "Returns the interpolated color specified by [code]offset[/code]." -msgstr "" +msgstr "Retourne la couleur interpolée spécifiée à [code]offset[/code]." #: doc/classes/Gradient.xml #, fuzzy @@ -28117,14 +28098,12 @@ msgid "Sets the offset for the ramp color at index [code]point[/code]." msgstr "" #: doc/classes/Gradient.xml -#, fuzzy msgid "Gradient's colors returned as a [PoolColorArray]." -msgstr "Les couleurs du dégradé renvoyées sous forme de [PackedColorArray]." +msgstr "Toutes les couleurs du dégradé retournées dans un [PoolColorArray]." #: doc/classes/Gradient.xml -#, fuzzy msgid "Gradient's offsets returned as a [PoolRealArray]." -msgstr "Les couleurs du dégradé renvoyées sous forme de [PackedColorArray]." +msgstr "Toutes les couleurs du dégradé retournées dans un [PoolRealArray]." #: doc/classes/GradientTexture.xml msgid "Gradient-filled texture." @@ -28141,11 +28120,13 @@ msgstr "" #: doc/classes/GradientTexture.xml msgid "The [Gradient] that will be used to fill the texture." -msgstr "" +msgstr "Le [Gradient] qui sera utilisé pour remplir la texture." #: doc/classes/GradientTexture.xml msgid "The number of color samples that will be obtained from the [Gradient]." msgstr "" +"Le nombre d'échantillons de couleur qui seront obtenus à partir du " +"[Gradient]." #: doc/classes/GradientTexture2D.xml #, fuzzy @@ -28349,14 +28330,12 @@ msgid "Sets the specified [code]node[/code] as the one selected." msgstr "" #: doc/classes/GraphEdit.xml -#, fuzzy msgid "If [code]true[/code], the minimap is visible." -msgstr "Si [code]true[/code], les titres des colonnes sont visibles." +msgstr "Si [code]true[/code], la mini-carte est visible." #: doc/classes/GraphEdit.xml -#, fuzzy msgid "The opacity of the minimap rectangle." -msgstr "La racine de la scène éditée." +msgstr "L'opacité du rectangle de la mini-carte." #: doc/classes/GraphEdit.xml msgid "" @@ -28393,26 +28372,24 @@ msgid "The current zoom value." msgstr "La valeur de zoom actuelle." #: doc/classes/GraphEdit.xml -#, fuzzy msgid "The upper zoom limit." -msgstr "La valeur de zoom actuelle." +msgstr "La valeur maximale du zoom." #: doc/classes/GraphEdit.xml -#, fuzzy msgid "The lower zoom limit." -msgstr "Le signal à émettre." +msgstr "La valeur minimale du zoom." #: doc/classes/GraphEdit.xml msgid "The step of each zoom level." -msgstr "" +msgstr "La différence entre chaque niveau de zoom." #: doc/classes/GraphEdit.xml msgid "Emitted at the beginning of a GraphNode movement." -msgstr "" +msgstr "Émis au début d'un mouvement d'un GraphNode." #: doc/classes/GraphEdit.xml msgid "Emitted at the end of a GraphNode movement." -msgstr "" +msgstr "Émis à la fin d'un mouvement d'un GraphNode." #: doc/classes/GraphEdit.xml msgid "" @@ -28440,7 +28417,7 @@ msgstr "Émis lorsque le curseur change." #: doc/classes/GraphEdit.xml msgid "Emitted when a GraphNode is attempted to be removed from the GraphEdit." -msgstr "" +msgstr "Émis quand un GraphNode serait retiré d'un GraphEdit." #: doc/classes/GraphEdit.xml msgid "" @@ -28452,16 +28429,15 @@ msgstr "" #: doc/classes/GraphEdit.xml msgid "" "Emitted when a GraphNode is attempted to be duplicated in the GraphEdit." -msgstr "" +msgstr "Émis quand un GraphNode serait dupliqué d'un GraphEdit." #: doc/classes/GraphEdit.xml msgid "Emitted when a GraphNode is selected." msgstr "Émis lorsqu’un GraphNode est sélectionné." #: doc/classes/GraphEdit.xml -#, fuzzy msgid "Emitted when the user presses [code]Ctrl + V[/code]." -msgstr "Émis lorsque le curseur change." +msgstr "Émis quand l'utilisateur presse [code]Ctrl + V[/code]." #: doc/classes/GraphEdit.xml msgid "" @@ -28486,11 +28462,11 @@ msgstr "La couleur des lignes secondaires de la grille." #: doc/classes/GraphEdit.xml msgid "The fill color of the selection rectangle." -msgstr "" +msgstr "La couleur de remplissage du rectangle de sélection." #: doc/classes/GraphEdit.xml msgid "The outline color of the selection rectangle." -msgstr "" +msgstr "La couleur de la bordure du rectangle de sélection." #: doc/classes/GraphEdit.xml msgid "" @@ -28503,19 +28479,19 @@ msgstr "" #: doc/classes/GraphEdit.xml msgid "The icon for the zoom out button." -msgstr "" +msgstr "L'icône pour le bouton du zoom arrière." #: doc/classes/GraphEdit.xml msgid "The icon for the zoom in button." -msgstr "" +msgstr "L'icône pour le bouton du zoom avant." #: doc/classes/GraphEdit.xml msgid "The icon for the zoom reset button." -msgstr "" +msgstr "L'icône pour le bouton du rétablissement du zoom." #: doc/classes/GraphEdit.xml msgid "The icon for the snap toggle button." -msgstr "" +msgstr "L'icône du bouton d'activation de la magnétisation." #: doc/classes/GraphEdit.xml msgid "The background drawn under the grid." @@ -28557,9 +28533,8 @@ msgid "Disables input and output slot whose index is [code]idx[/code]." msgstr "" #: doc/classes/GraphNode.xml -#, fuzzy msgid "Returns the [Color] of the input connection [code]idx[/code]." -msgstr "Retourne le nom du nœud à [code]idx[/code]." +msgstr "Retourne la [Color] de la connexion d'entrée à [code]idx[/code]." #: doc/classes/GraphNode.xml msgid "" @@ -28568,16 +28543,15 @@ msgstr "" #: doc/classes/GraphNode.xml msgid "Returns the position of the input connection [code]idx[/code]." -msgstr "" +msgstr "Retourne la position de la connexion d'entrée à [code]idx[/code]." #: doc/classes/GraphNode.xml msgid "Returns the type of the input connection [code]idx[/code]." -msgstr "" +msgstr "Retourne le type de connexion pour entrée [code]idx[/code]." #: doc/classes/GraphNode.xml -#, fuzzy msgid "Returns the [Color] of the output connection [code]idx[/code]." -msgstr "Retourne le nom du nœud à [code]idx[/code]." +msgstr "Retourne la [Color] de la connexion de sortie à [code]idx[/code]." #: doc/classes/GraphNode.xml msgid "" @@ -28586,11 +28560,11 @@ msgstr "" #: doc/classes/GraphNode.xml msgid "Returns the position of the output connection [code]idx[/code]." -msgstr "" +msgstr "Retourne la position de la connexion de sortie à [code]idx[/code]." #: doc/classes/GraphNode.xml msgid "Returns the type of the output connection [code]idx[/code]." -msgstr "" +msgstr "Retourne le type de connexion pour la sortie [code]idx[/code]." #: doc/classes/GraphNode.xml #, fuzzy @@ -28694,7 +28668,7 @@ msgstr "" #: doc/classes/GraphNode.xml msgid "If [code]true[/code], the GraphNode is a comment node." -msgstr "" +msgstr "Si [code]true[/code], le GraphNode est un nœud de commentaire." #: doc/classes/GraphNode.xml msgid "" @@ -28728,7 +28702,7 @@ msgstr "" #: doc/classes/GraphNode.xml msgid "The text displayed in the GraphNode's title bar." -msgstr "" +msgstr "Le texte affiché dans la barre de titre du GraphNode." #: doc/classes/GraphNode.xml msgid "" @@ -28789,11 +28763,11 @@ msgstr "Couleur du texte du titre." #: doc/classes/GraphNode.xml doc/classes/WindowDialog.xml msgid "The vertical offset of the close button." -msgstr "" +msgstr "Le décalage vertical du bouton fermer." #: doc/classes/GraphNode.xml msgid "Horizontal offset for the ports." -msgstr "Décalage horizontal pour les ports." +msgstr "Le décalage horizontal pour les ports." #: doc/classes/GraphNode.xml msgid "The vertical distance between ports." @@ -28801,7 +28775,7 @@ msgstr "La distance verticale entre les ports." #: doc/classes/GraphNode.xml msgid "Vertical offset of the title text." -msgstr "Décalage vertical du texte du titre." +msgstr "Le décalage vertical du texte de titre." #: doc/classes/GraphNode.xml msgid "Font used for the title text." @@ -28811,6 +28785,7 @@ msgstr "Police utilisée pour le texte du titre." msgid "" "The icon for the close button, visible when [member show_close] is enabled." msgstr "" +"L'icône pour le bouton fermer, visible quand [member show_close] est activé." #: doc/classes/GraphNode.xml msgid "The icon used for representing ports." @@ -28878,13 +28853,11 @@ msgstr "" #: doc/classes/GridContainer.xml doc/classes/HFlowContainer.xml #: doc/classes/VFlowContainer.xml -#, fuzzy msgid "The horizontal separation of children nodes." msgstr "La séparation horizontale des nœuds enfants." #: doc/classes/GridContainer.xml doc/classes/HFlowContainer.xml #: doc/classes/VFlowContainer.xml -#, fuzzy msgid "The vertical separation of children nodes." msgstr "La séparation verticale des nœuds enfants." @@ -29184,14 +29157,14 @@ msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Depth of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the depth of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Width of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the width of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HFlowContainer.xml @@ -29200,9 +29173,8 @@ msgid "Horizontal flow container." msgstr "Conteneur de boîte horizontale." #: doc/classes/HFlowContainer.xml -#, fuzzy msgid "Horizontal version of [FlowContainer]." -msgstr "Conteneur fractionné horizontal." +msgstr "La version horizontale du [FlowContainer]." #: doc/classes/HingeJoint.xml #, fuzzy @@ -29231,7 +29203,7 @@ msgstr "Si [code]true[/code], active le drapeau spécifié." #: doc/classes/HingeJoint.xml doc/classes/PinJoint.xml msgid "Sets the value of the specified parameter." -msgstr "" +msgstr "Définit une valeur pour le paramètre spécifié." #: doc/classes/HingeJoint.xml doc/classes/PhysicsServer.xml msgid "" @@ -29372,11 +29344,8 @@ msgid "Displayed when the mouse cursor hovers over the decrement button." msgstr "" #: doc/classes/HScrollBar.xml doc/classes/VScrollBar.xml -#, fuzzy msgid "Displayed when the decrement button is being pressed." -msgstr "" -"Émis lorsque le dialogue est accepté, c'est-à-dire lorsque le bouton OK est " -"enfoncé." +msgstr "Affiché quand le bouton de reduction est appuyé." #: doc/classes/HScrollBar.xml #, fuzzy @@ -29394,11 +29363,8 @@ msgstr "" "S'affiche lorsque le curseur de la souris survole le bouton d'incrémentation." #: doc/classes/HScrollBar.xml doc/classes/VScrollBar.xml -#, fuzzy msgid "Displayed when the increment button is being pressed." -msgstr "" -"Émis lorsque le dialogue est accepté, c'est-à-dire lorsque le bouton OK est " -"enfoncé." +msgstr "Affiché quand le bouton d'augmentation est appuyé." #: doc/classes/HScrollBar.xml doc/classes/VScrollBar.xml msgid "" @@ -30442,9 +30408,8 @@ msgstr "" "La demande a échoué en raison d'une erreur de connexion (lecture / écriture)." #: doc/classes/HTTPRequest.xml -#, fuzzy msgid "Request failed on SSL handshake." -msgstr "Demande échouée sur la poignée de main SSL." +msgstr "La demande a échoué lors de la poignée de main SSL." #: doc/classes/HTTPRequest.xml msgid "Request does not have a response (yet)." @@ -30601,10 +30566,8 @@ msgid "Fills the image with [code]color[/code]." msgstr "Remplis toute l'image avec la couleur [code]color[/code]." #: doc/classes/Image.xml -#, fuzzy msgid "Fills [code]rect[/code] with [code]color[/code]." -msgstr "" -"Renvoie [code]true[/code] si la colonne [code]column[/code] est modifiable." +msgstr "Remplis le [code]rect[/code] avec la [code]color[/code]." #: doc/classes/Image.xml #, fuzzy @@ -30633,9 +30596,8 @@ msgid "" msgstr "" #: doc/classes/Image.xml -#, fuzzy msgid "Returns a copy of the image's raw data." -msgstr "Retourne les données brutes de l’image." +msgstr "Retourne une copie des données brutes de l’image." #: doc/classes/Image.xml msgid "Returns the image's format. See [enum Format] constants." @@ -30832,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 @@ -31224,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 "" @@ -31315,25 +31277,27 @@ 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)." -msgstr "" +msgstr "Le type de stockage (brut, avec perte, ou compressé)." #: doc/classes/ImageTexture.xml msgid "[Image] data is stored raw and unaltered." -msgstr "" +msgstr "Les données de [Image] sont stockées brutes et sans modifications." #: doc/classes/ImageTexture.xml msgid "" "[Image] data is compressed with a lossy algorithm. You can set the storage " "quality with [member lossy_quality]." msgstr "" +"Les données de [Image] sont compressées avec perte. Vous pouvez définir la " +"qualité de compression avec [member lossy_quality]." #: doc/classes/ImageTexture.xml msgid "[Image] data is compressed with a lossless algorithm." -msgstr "" +msgstr "Les données de [Image] sont compressées avec un algorithme sans perte." #: doc/classes/ImmediateGeometry.xml msgid "Draws simple geometry from code." @@ -31468,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 @@ -31480,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 @@ -31618,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 " @@ -31632,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 @@ -31643,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 " @@ -32040,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 @@ -32060,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 " @@ -32074,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 @@ -32107,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 @@ -32474,9 +32438,8 @@ msgid "" msgstr "" #: doc/classes/InputEventMouseMotion.xml -#, fuzzy msgid "Mouse and input coordinates" -msgstr "Demi-décalage sur la coordonnée X." +msgstr "Les coordonnées de la souris" #: doc/classes/InputEventMouseMotion.xml msgid "" @@ -32625,9 +32588,8 @@ msgid "Removes all events from an action." msgstr "Retire tous les événements d'une action." #: doc/classes/InputMap.xml -#, fuzzy msgid "Returns a deadzone value for the action." -msgstr "Renvoie la valeur absolue du paramètre." +msgstr "Retourne la valeur de la zone morte de l'action." #: doc/classes/InputMap.xml msgid "" @@ -32658,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 @@ -32799,7 +32761,7 @@ msgstr "" #: doc/classes/InterpolatedCamera.xml msgid "[i]Deprecated.[/i] Camera which moves toward another node." -msgstr "" +msgstr "[i]Obsolète.[/i] La caméra qui se place devant un autre nœud." #: doc/classes/InterpolatedCamera.xml msgid "" @@ -34068,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." @@ -34244,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." @@ -34642,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 @@ -34713,26 +34674,24 @@ msgstr "" "directional_shadow_fade_start]." #: doc/classes/Light.xml -#, fuzzy msgid "" "Constant for accessing [member DirectionalLight." "directional_shadow_normal_bias]." msgstr "" -"Constante pour accéder à [member DirectionalLight3D." -"directional_shadow_fade_start]." +"Constante pour accéder à [member DirectionalLight." +"directional_shadow_normal_bias]." #: doc/classes/Light.xml msgid "Constant for accessing [member shadow_bias]." -msgstr "" +msgstr "Constante pour accéder à [member shadow_bias]." #: doc/classes/Light.xml -#, fuzzy msgid "" "Constant for accessing [member DirectionalLight." "directional_shadow_bias_split_scale]." msgstr "" -"Constante pour accéder à [member DirectionalLight3D." -"directional_shadow_fade_start]." +"Constante pour accéder à [member DirectionalLight." +"directional_shadow_bias_split_scale]." #: doc/classes/Light.xml msgid "" @@ -34852,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." @@ -35085,11 +35044,11 @@ msgstr "Ne pas dessiner les bords de la ligne." #: doc/classes/Line2D.xml msgid "Draws the line cap as a box." -msgstr "" +msgstr "Dessine le bout de la ligne avec une boîte." #: doc/classes/Line2D.xml msgid "Draws the line cap as a circle." -msgstr "" +msgstr "Dessine le bout de la ligne avec un arrondi." #: doc/classes/Line2D.xml msgid "" @@ -35211,7 +35170,7 @@ msgstr "" #: doc/classes/LineEdit.xml doc/classes/TextEdit.xml msgid "If [code]true[/code], the caret (visual cursor) blinks." -msgstr "" +msgstr "Si [code]true[/code], le curseur de texte clignote." #: doc/classes/LineEdit.xml doc/classes/TextEdit.xml msgid "Duration (in seconds) of a caret's blinking cycle." @@ -35233,6 +35192,16 @@ msgstr "" msgid "If [code]true[/code], the context menu will appear when right-clicked." msgstr "" +#: 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 "" +"Si [code]true[/code], la cellule actuellement sélectionnée peut être " +"sélectionnée à nouveau." + #: doc/classes/LineEdit.xml msgid "" "If [code]false[/code], existing text cannot be modified and new text cannot " @@ -35268,6 +35237,13 @@ msgid "" "[/codeblock]" msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +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 "" + #: doc/classes/LineEdit.xml msgid "" "Opacity of the [member placeholder_text]. From [code]0[/code] to [code]1[/" @@ -35307,7 +35283,7 @@ msgstr "" #: doc/classes/LineEdit.xml msgid "If [code]false[/code], using shortcuts will be disabled." -msgstr "" +msgstr "Si [code]false[/code], les raccourcis sont désactivés." #: doc/classes/LineEdit.xml msgid "" @@ -35353,11 +35329,11 @@ msgstr "" #: doc/classes/LineEdit.xml msgid "Stretches whitespaces to fit the [LineEdit]'s width." -msgstr "" +msgstr "Élargis les espaces pour s'adapter à la largeur du [LineEdit]." #: doc/classes/LineEdit.xml doc/classes/TextEdit.xml msgid "Cuts (copies and clears) the selected text." -msgstr "" +msgstr "Coupe (copie puis efface) le texte sélectionné." #: doc/classes/LineEdit.xml doc/classes/TextEdit.xml msgid "Copies the selected text." @@ -35401,7 +35377,7 @@ msgstr "" #: doc/classes/LineEdit.xml msgid "Color of the [LineEdit]'s visual cursor (caret)." -msgstr "" +msgstr "La couleur du curseur de texte du [LineEdit]." #: doc/classes/LineEdit.xml msgid "Default font color." @@ -35436,7 +35412,7 @@ msgstr "" #: doc/classes/LineEdit.xml msgid "Background used when [LineEdit] has GUI focus." -msgstr "" +msgstr "L'arrière-plan quand le [LineEdit] à le focus." #: doc/classes/LineEdit.xml msgid "Default background for the [LineEdit]." @@ -35462,7 +35438,7 @@ msgstr "" #: doc/classes/LineShape2D.xml msgid "The line's distance from the origin." -msgstr "" +msgstr "La distance de la ligne à l'origine." #: doc/classes/LineShape2D.xml msgid "The line's normal." @@ -35470,7 +35446,7 @@ msgstr "La normale de la ligne." #: doc/classes/LinkButton.xml msgid "Simple button used to represent a link to some resource." -msgstr "" +msgstr "Un simple bouton pour représente un lien vers une ressource." #: doc/classes/LinkButton.xml msgid "" @@ -35539,7 +35515,7 @@ msgstr "" #: doc/classes/Listener.xml doc/classes/Listener2D.xml msgid "Overrides the location sounds are heard from." -msgstr "" +msgstr "Remplace la position d'où les sons sont entendus." #: doc/classes/Listener.xml msgid "" @@ -35551,6 +35527,7 @@ msgstr "" #: doc/classes/Listener.xml msgid "Disables the listener to use the current camera's listener instead." msgstr "" +"Désactive l'écouteur pour utiliser à la place celui de la caméra actuelle." #: doc/classes/Listener.xml msgid "Returns the listener's global orthonormalized [Transform]." @@ -35566,7 +35543,7 @@ msgstr "" #: doc/classes/Listener.xml msgid "Enables the listener. This will override the current camera's listener." -msgstr "" +msgstr "Active cet écouteur. Cela va remplacer celui de la caméra actuelle." #: doc/classes/Listener2D.xml msgid "" @@ -35895,6 +35872,8 @@ msgstr "Transformation de données (marshalling) et assistants d'encodage." #: doc/classes/Marshalls.xml msgid "Provides data transformation and encoding utility functions." msgstr "" +"Fournis des fonctions utilitaires pour la transformation et le codage des " +"données." #: doc/classes/Marshalls.xml #, fuzzy @@ -35974,11 +35953,11 @@ msgstr "" #: doc/classes/Material.xml msgid "Maximum value for the [member render_priority] parameter." -msgstr "" +msgstr "La valeur maximale pour le paramètre [member render_priority]." #: doc/classes/Material.xml msgid "Minimum value for the [member render_priority] parameter." -msgstr "" +msgstr "La valeur minimale pour le paramètre [member render_priority]." #: doc/classes/MenuButton.xml msgid "Special button that brings up a [PopupMenu] when clicked." @@ -36038,11 +36017,11 @@ msgstr "" #: doc/classes/MenuButton.xml msgid "Text [Color] used when the [MenuButton] is being hovered." -msgstr "" +msgstr "La [Color] du texte utilisée quand le [MenuButton] est survolé." #: doc/classes/MenuButton.xml msgid "Text [Color] used when the [MenuButton] is being pressed." -msgstr "" +msgstr "La [Color] du texte utilisée quand le [MenuButton] est appuyé." #: doc/classes/MenuButton.xml msgid "The horizontal space between [MenuButton]'s icon and text." @@ -36054,7 +36033,7 @@ msgstr "La [Font] du texte du [MenuButton]." #: doc/classes/MenuButton.xml msgid "[StyleBox] used when the [MenuButton] is disabled." -msgstr "" +msgstr "Le [StyleBox] utilisé quand le [MenuButton] est désactivé." #: doc/classes/MenuButton.xml msgid "" @@ -36065,7 +36044,7 @@ msgstr "" #: doc/classes/MenuButton.xml msgid "[StyleBox] used when the [MenuButton] is being hovered." -msgstr "" +msgstr "Le [StyleBox] utilisé quand le [MenuButton] est survolé." #: doc/classes/MenuButton.xml msgid "Default [StyleBox] for the [MenuButton]." @@ -36073,11 +36052,12 @@ msgstr "Le [StyleBox] par défaut pour [MenuButton]." #: doc/classes/MenuButton.xml msgid "[StyleBox] used when the [MenuButton] is being pressed." -msgstr "" +msgstr "Le [StyleBox] utilisé quand le [MenuButton] est appuyé." #: doc/classes/Mesh.xml msgid "A [Resource] that contains vertex array-based geometry." msgstr "" +"Une [Resource] qui contient une géométrie à base d'un tableau de sommets." #: doc/classes/Mesh.xml msgid "" @@ -36107,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." @@ -36131,7 +36110,7 @@ msgstr "" #: doc/classes/Mesh.xml msgid "Returns the amount of surfaces that the [Mesh] holds." -msgstr "" +msgstr "Retourne le nombre de surfaces du [Mesh]." #: doc/classes/Mesh.xml msgid "" @@ -36167,7 +36146,7 @@ msgstr "" #: doc/classes/Mesh.xml msgid "Render array as lines (every two vertices a line is created)." -msgstr "" +msgstr "Rend le tableau en ligne (une ligne est créée tous les deux sommets)." #: doc/classes/Mesh.xml msgid "Render array as line strip." @@ -36180,15 +36159,15 @@ msgstr "" #: doc/classes/Mesh.xml msgid "Render array as triangles (every three vertices a triangle is created)." msgstr "" +"Rend le tableau en triangle (un triangle est créée tous les trois sommets)." #: doc/classes/Mesh.xml msgid "Render array as triangle strips." msgstr "" #: doc/classes/Mesh.xml -#, fuzzy msgid "Render array as triangle fans." -msgstr "Retourne les faces (un tableau de triangles)." +msgstr "" #: doc/classes/Mesh.xml doc/classes/VisualServer.xml msgid "Blend shapes are normalized." @@ -36248,9 +36227,9 @@ msgid "" msgstr "" #: doc/classes/Mesh.xml doc/classes/VisualServer.xml -#, fuzzy msgid "Flag used to mark a compressed (half float) vertex array." -msgstr "Drapeau utilisé pour marquer un tableau de sommets." +msgstr "" +"Drapeau utilisé pour marquer un tableau compressé (demi flottant) de sommets." #: doc/classes/Mesh.xml doc/classes/VisualServer.xml msgid "Flag used to mark a compressed (half float) normal array." @@ -36259,34 +36238,39 @@ msgstr "" #: doc/classes/Mesh.xml doc/classes/VisualServer.xml msgid "Flag used to mark a compressed (half float) tangent array." msgstr "" +"Drapeau utilisé pour marquer un tableau compressé (demi flottant) de " +"tangentes." #: doc/classes/Mesh.xml doc/classes/VisualServer.xml msgid "Flag used to mark a compressed (half float) color array." msgstr "" +"Drapeau utilisé pour marquer un tableau compressé (demi flottant) de " +"couleurs." #: doc/classes/Mesh.xml doc/classes/VisualServer.xml msgid "Flag used to mark a compressed (half float) UV coordinates array." msgstr "" +"Drapeau utilisé pour marquer un tableau compressé (demi flottant) de UV." #: doc/classes/Mesh.xml doc/classes/VisualServer.xml msgid "" "Flag used to mark a compressed (half float) UV coordinates array for the " "second UV coordinates." msgstr "" +"Drapeau utilisé pour marquer un tableau compressé (demi flottant) de UV2." #: doc/classes/Mesh.xml doc/classes/VisualServer.xml -#, fuzzy msgid "Flag used to mark a compressed bone array." -msgstr "Drapeau utilisé pour marquer un tableau de couleurs." +msgstr "Drapeau utilisé pour marquer un tableau compressé d'os." #: doc/classes/Mesh.xml doc/classes/VisualServer.xml -#, fuzzy msgid "Flag used to mark a compressed (half float) weight array." -msgstr "Drapeau utilisé pour marquer un tableau de poids." +msgstr "" +"Drapeau utilisé pour marquer un tableau compressé (demi flottant) de poids." #: doc/classes/Mesh.xml doc/classes/VisualServer.xml msgid "Flag used to mark a compressed index array." -msgstr "" +msgstr "L'option pour marquer un tableau d'indices compressé." #: doc/classes/Mesh.xml doc/classes/VisualServer.xml msgid "Flag used to mark that the array contains 2D vertices." @@ -36627,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 "" @@ -37540,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 "" @@ -37569,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." @@ -38102,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 "" @@ -38114,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 @@ -38188,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." @@ -38323,7 +38341,6 @@ msgid "" msgstr "" #: doc/classes/NavigationPolygon.xml -#, fuzzy msgid "Returns the count of all polygons." msgstr "Retourne le nombre de tous les polygones." @@ -38420,9 +38437,8 @@ msgid "" msgstr "" #: doc/classes/NavigationServer.xml -#, fuzzy msgid "Bakes the navigation mesh." -msgstr "Définit le maillage de l'élément." +msgstr "Prépare le maillage de navigation." #: doc/classes/NavigationServer.xml msgid "Control activation of this server." @@ -38920,7 +38936,7 @@ msgstr "" #: doc/classes/Node.xml msgid "Base class for all [i]scene[/i] objects." -msgstr "" +msgstr "Classe de base pour les objets [i]scene[/i]." #: doc/classes/Node.xml msgid "" @@ -39197,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 @@ -39287,7 +39303,7 @@ msgstr "" #: doc/classes/Node.xml msgid "Returns the number of child nodes." -msgstr "" +msgstr "Retourne le nombre de nœuds enfant." #: doc/classes/Node.xml msgid "Returns an array of references to node's children." @@ -39911,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 @@ -39941,19 +39965,19 @@ msgstr "" #: doc/classes/Node.xml msgid "Emitted when the node is ready." -msgstr "" +msgstr "Émis quand le nœud est prêt ([i]ready[/i])." #: doc/classes/Node.xml msgid "Emitted when the node is renamed." -msgstr "" +msgstr "Émis quand le nœud est renommé." #: doc/classes/Node.xml msgid "Emitted when the node enters the tree." -msgstr "" +msgstr "Émis quand le nœud entre dans l'arborescence." #: doc/classes/Node.xml msgid "Emitted after the node exits the tree and is no longer active." -msgstr "" +msgstr "Émis quand le nœud quitte l'arborescence et n'est plus actif." #: doc/classes/Node.xml msgid "" @@ -40438,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 "" @@ -40509,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 @@ -40817,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 "" @@ -40899,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 "" @@ -40960,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 "" @@ -41276,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." @@ -41284,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]." @@ -41306,6 +41345,11 @@ msgid "Returns the text of the item at index [code]idx[/code]." msgstr "Retourne le texte de l'élément à l'index [code]idx[/code]." #: doc/classes/OptionButton.xml +#, fuzzy +msgid "Returns the tooltip of the item at index [code]idx[/code]." +msgstr "Retourne le texte de l'élément à l'index [code]idx[/code]." + +#: doc/classes/OptionButton.xml msgid "" "Returns the ID of the selected item, or [code]0[/code] if no item is " "selected." @@ -41361,6 +41405,11 @@ msgid "Sets the text of the item at index [code]idx[/code]." msgstr "Définit le texte pour l'élément à l'index [code]idx[/code]." #: doc/classes/OptionButton.xml +#, fuzzy +msgid "Sets the tooltip of the item at index [code]idx[/code]." +msgstr "Définit le texte pour l'élément à l'index [code]idx[/code]." + +#: doc/classes/OptionButton.xml msgid "" "The index of the currently selected item, or [code]-1[/code] if no item is " "selected." @@ -41385,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 "" @@ -41406,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." @@ -41417,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 "" @@ -41432,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]." @@ -41440,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." @@ -41470,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 @@ -41717,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 "" @@ -41728,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 "" @@ -41924,6 +41978,23 @@ msgstr "" #: doc/classes/OS.xml msgid "" +"Returns the current refresh rate of the specified screen. If [code]screen[/" +"code] is [code]-1[/code] (the default value), the current screen will be " +"used.\n" +"[b]Note:[/b] Returns [code]-1.0[/code] if Godot fails to find the refresh " +"rate for the specified screen. On HTML5, [method get_screen_refresh_rate] " +"will always return [code]-1.0[/code] as there is no way to retrieve the " +"refresh rate on that platform.\n" +"To fallback to a default refresh rate if the method fails, try:\n" +"[codeblock]\n" +"var refresh_rate = OS.get_screen_refresh_rate()\n" +"if refresh_rate < 0:\n" +" refresh_rate = 60.0\n" +"[/codeblock]" +msgstr "" + +#: doc/classes/OS.xml +msgid "" "Return the scale factor of the specified screen by index. If [code]screen[/" "code] is [code]-1[/code] (the default value), the current screen will be " "used.\n" @@ -41981,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 "" @@ -41995,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 "" @@ -42202,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 "" @@ -42291,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 "" @@ -42325,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 "" @@ -42403,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 "" @@ -42478,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)." @@ -42538,9 +42633,8 @@ msgid "" msgstr "" #: doc/classes/OS.xml -#, fuzzy msgid "The current screen orientation." -msgstr "La scène actuelle." +msgstr "L'orientation de l'écran actuel." #: doc/classes/OS.xml msgid "The current tablet driver in use." @@ -42570,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 "" @@ -42725,6 +42816,13 @@ msgid "" "- Android: [code]jObject[/code] the main android activity (not yet " "implemented)" msgstr "" +"Lien de la fenêtre:\n" +"- Windows : [code]HWND[/code] de la fenêtre principale\n" +"- Linux : [code]X11::Window*[/code] de la fenêtre principale\n" +"- MacOS : [code]NSWindow*[/code] de la fenêtre principale (pas encore " +"implémenté)\n" +"- Android : [code]jObject[/code] de l'activité Android principale (pas " +"encore implémenté)" #: doc/classes/OS.xml msgid "" @@ -42732,6 +42830,10 @@ msgid "" "- Windows: [code]HDC[/code] of the main window drawing context\n" "- MacOS: [code]NSView*[/code] of the main windows view (not yet implemented)" msgstr "" +"Vue de la fenêtre :\n" +"- Windows : [code]HDC[/code] du context de dessin de la fenêtre principale\n" +"- MacOS : [code]NSView*[/code] de la vue de la fenêtre principale (pas " +"encore implémenté)" #: doc/classes/OS.xml msgid "" @@ -42740,6 +42842,10 @@ msgid "" "- Linux: [code]X11::GLXContext[/code]\n" "- MacOS: [code]NSOpenGLContext*[/code] (not yet implemented)" msgstr "" +"Contexte OpenGL :\n" +"- Windows : [code]HGLRC[/code]\n" +"- Linux : [code]X11::GLXContext[/code]\n" +"- MacOS : [code]NSOpenGLContext*[/code] (pas encore implémenté)" #: doc/classes/OS.xml msgid "Landscape screen orientation." @@ -42750,14 +42856,12 @@ msgid "Portrait screen orientation." msgstr "Orientation de l'écran en mode portrait." #: doc/classes/OS.xml -#, fuzzy msgid "Reverse landscape screen orientation." -msgstr "Inverser la dernière action d'annulation." +msgstr "Inverser l'orientation de l'écran en mode paysage." #: doc/classes/OS.xml -#, fuzzy msgid "Reverse portrait screen orientation." -msgstr "Inverser la dernière action d'annulation." +msgstr "Inverser l'orientation de l'écran en mode portrait." #: doc/classes/OS.xml msgid "Uses landscape or reverse landscape based on the hardware sensor." @@ -42880,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 "" @@ -43362,9 +43468,8 @@ msgid "" msgstr "" #: doc/classes/Particles.xml -#, fuzzy msgid "GPU-based 3D particle emitter." -msgstr "Émetteur de particules 3D." +msgstr "Émetteur de particules 3D calculées par le CPU." #: doc/classes/Particles.xml msgid "" @@ -43392,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 "" @@ -43483,9 +43588,8 @@ msgid "Maximum number of draw passes supported." msgstr "Nombre maximal de passes de tirage prises en charge." #: doc/classes/Particles2D.xml -#, fuzzy msgid "GPU-based 2D particle emitter." -msgstr "Émetteur de particules 2D." +msgstr "Émetteur de particules 2D calculées par le CPU." #: doc/classes/Particles2D.xml msgid "" @@ -43683,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 "" @@ -43966,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 @@ -44184,9 +44289,8 @@ msgid "Items or joined items drawn per frame." msgstr "Les éléments et les éléments joins affichés par trame." #: doc/classes/Performance.xml -#, fuzzy msgid "Draw calls per frame." -msgstr "Objets 3D dessinés par image." +msgstr "Les appels de dessin par trame." #: doc/classes/Performance.xml doc/classes/VisualServer.xml msgid "" @@ -45377,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 "" @@ -45716,9 +45822,8 @@ msgid "" msgstr "" #: doc/classes/PhysicsServer.xml -#, fuzzy msgid "Sets object pickable with rays." -msgstr "Définit l'objet sélectionnable avec des rayons." +msgstr "Définit l'objet comme sélectionnable par les rayons." #: doc/classes/PhysicsServer.xml msgid "" @@ -45843,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 @@ -45888,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 @@ -46004,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." @@ -46186,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 @@ -46244,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." @@ -46753,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 "" @@ -46798,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 "" @@ -46839,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 "" @@ -46870,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]." @@ -46907,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]." @@ -46942,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]." @@ -46972,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." @@ -47073,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 "" @@ -47232,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 "" @@ -47256,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 "" @@ -47289,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 "" @@ -47516,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]." @@ -47534,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." @@ -47550,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." @@ -47857,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." @@ -48404,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." @@ -48452,6 +48564,13 @@ msgid "" 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 "Si [code]true[/code], le filtrage est activé." + +#: doc/classes/ProjectSettings.xml msgid "" "If [code]true[/code], enables warnings when a function is declared with the " "same name as a constant." @@ -48879,6 +48998,19 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If enabled, the moment [member Viewport.gui_disable_input] is set to " +"[code]false[/code] to disable GUI input in a viewport, current mouse over " +"and mouse focus will be dropped.\n" +"That behavior helps to keep a robust GUI state, with no surprises when input " +"is resumed regardless what has happened in the meantime.\n" +"If disabled, the legacy behavior is used, which consists in just not doing " +"anything besides the GUI input disable itself.\n" +"[b]Note:[/b] This is set to [code]true[/code] by default for new projects " +"and is the recommended setting." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], swaps OK and Cancel buttons in dialogs on Windows and " "UWP to follow interface conventions." msgstr "" @@ -49484,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 @@ -49853,6 +49987,16 @@ msgid "" msgstr "" #: doc/classes/ProjectSettings.xml +msgid "" +"If [code]true[/code], smooths out collision with trimesh shapes " +"([ConcavePolygonShape]) by telling the Bullet physics engine to generate " +"internal edge information for every trimesh shape created.\n" +"[b]Note:[/b] Only effective if [member physics/3d/physics_engine] is set to " +"[code]DEFAULT[/code] or [code]Bullet[/code], [i]not[/i] [code]GodotPhysics[/" +"code]." +msgstr "" + +#: doc/classes/ProjectSettings.xml msgid "Enables [member Viewport.physics_object_picking] on the root viewport." msgstr "" @@ -50266,6 +50410,14 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"An override for [code]rendering/gles3/shaders/shader_compilation_mode[/" +"code], so asynchronous compilation can be disabled for mobile.\n" +"You may want to do that since mobile GPUs generally won't support " +"ubershaders due to their complexity." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Max buffer size for blend shapes. Any blend shape bigger than this will not " "work." msgstr "" @@ -51106,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 "" @@ -51159,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 "" @@ -51223,24 +51379,28 @@ msgstr "" #: doc/classes/Range.xml msgid "" -"Binds two ranges together along with any ranges previously grouped with " +"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 "" #: doc/classes/Range.xml -msgid "Stops range from sharing its member variables with any other." +msgid "Stops the [Range] from sharing its member variables with any other." msgstr "" #: doc/classes/Range.xml 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 "" @@ -51253,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 "" @@ -51276,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 "" @@ -51296,8 +51462,15 @@ msgid "" msgstr "" #: doc/classes/Range.xml -msgid "Emitted when [member value] changes." -msgstr "Émis lorsque [member value] change." +msgid "" +"Emitted when [member value] changes. When used on a [Slider], this is called " +"continuously while dragging (potentially every frame). If you are performing " +"an expensive operation in a function connected to [signal value_changed], " +"consider using a [i]debouncing[/i] [Timer] to call the function less often.\n" +"[b]Note:[/b] Unlike signals such as [signal LineEdit.text_changed], [signal " +"value_changed] is also emitted when [code]value[/code] is set directly via " +"code." +msgstr "" #: doc/classes/RayCast.xml doc/classes/RayCast2D.xml msgid "Query the closest object intersecting a ray." @@ -51382,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 "" @@ -51491,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." @@ -51511,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." @@ -51585,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 "" @@ -51603,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 "" @@ -51640,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." @@ -51658,9 +51847,8 @@ msgid "" msgstr "" #: doc/classes/Reference.xml -#, fuzzy msgid "Base class for reference-counted objects." -msgstr "Classe de base pour les objets comptés de référence." +msgstr "Classe de base pour les objets avec références comptées." #: doc/classes/Reference.xml msgid "" @@ -51803,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 "" @@ -51980,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 "" @@ -52384,7 +52575,7 @@ msgstr "" #: doc/classes/ResourceImporter.xml msgid "Import plugins" -msgstr "" +msgstr "Importer des plugins" #: doc/classes/ResourceImporter.xml #, fuzzy @@ -55965,14 +56156,20 @@ msgstr "" #: doc/classes/Spatial.xml msgid "Rotates the local transformation around the X axis by angle in radians." msgstr "" +"Pivote la transformation locale autour de l'axe X à partir d'un angle en " +"radians." #: doc/classes/Spatial.xml msgid "Rotates the local transformation around the Y axis by angle in radians." msgstr "" +"Pivote la transformation locale autour de l'axe Y à partir d'un angle en " +"radians." #: doc/classes/Spatial.xml msgid "Rotates the local transformation around the Z axis by angle in radians." msgstr "" +"Pivote la transformation locale autour de l'axe Z à partir d'un angle en " +"radians." #: doc/classes/Spatial.xml msgid "" @@ -56925,12 +57122,10 @@ msgid "Texture specifying per-pixel normal vector." msgstr "La texture spécifiant le vecteur de normale par pixel." #: doc/classes/SpatialMaterial.xml -#, fuzzy msgid "Texture specifying per-pixel rim value." msgstr "La texture spécifiant la valeur du bord par pixel." #: doc/classes/SpatialMaterial.xml -#, fuzzy msgid "Texture specifying per-pixel clearcoat value." msgstr "La texture spécifiant la valeur du vernis par pixel." @@ -58160,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 @@ -58786,11 +58980,11 @@ msgid "" "Returns [code]true[/code] if this string contains a valid float. This is " "inclusive of integers, and also supports exponents:\n" "[codeblock]\n" -"print(\"1.7\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"7e3\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"Hello\".is_valid_float()) # Prints \"false\"\n" +"print(\"1.7\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"7e3\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -58816,9 +59010,9 @@ msgid "" "identifier may contain only letters, digits and underscores ([code]_[/code]) " "and the first character may not be a digit.\n" "[codeblock]\n" -"print(\"good_ident_1\".is_valid_identifier()) # Prints \"true\"\n" -"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"false\"\n" -"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"false\"\n" +"print(\"good_ident_1\".is_valid_identifier()) # Prints \"True\"\n" +"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"False\"\n" +"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -58826,11 +59020,11 @@ msgstr "" msgid "" "Returns [code]true[/code] if this string contains a valid integer.\n" "[codeblock]\n" -"print(\"7\".is_valid_int()) # Prints \"true\"\n" -"print(\"14.6\".is_valid_int()) # Prints \"false\"\n" -"print(\"L\".is_valid_int()) # Prints \"false\"\n" -"print(\"+3\".is_valid_int()) # Prints \"true\"\n" -"print(\"-12\".is_valid_int()) # Prints \"true\"\n" +"print(\"7\".is_valid_int()) # Prints \"True\"\n" +"print(\"14.6\".is_valid_int()) # Prints \"False\"\n" +"print(\"L\".is_valid_int()) # Prints \"False\"\n" +"print(\"+3\".is_valid_int()) # Prints \"True\"\n" +"print(\"-12\".is_valid_int()) # Prints \"True\"\n" "[/codeblock]" msgstr "" @@ -59026,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 "" @@ -60451,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 "" @@ -60691,6 +60885,15 @@ msgid "Returns if the given line is wrapped." msgstr "Renvoie le texte de la colonne donnée." #: 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 "" +"Renvoie [code]true[/code] (vrai) si [code]a[/code] et [code]b[/code] sont " +"approximativement égaux l'un à l'autre." + +#: doc/classes/TextEdit.xml msgid "Returns [code]true[/code] if the selection is active." msgstr "Retourne [code]true[/code] si la sélection est active." @@ -61619,7 +61822,7 @@ msgstr "" #: doc/classes/TextureRect.xml msgid "If [code]true[/code], the texture scales to fit its bounding rectangle." -msgstr "" +msgstr "Si [code]true[/code], la texture s'adapte à la taille de l'élément." #: doc/classes/TextureRect.xml msgid "" @@ -61628,9 +61831,8 @@ msgid "" msgstr "" #: doc/classes/TextureRect.xml -#, fuzzy msgid "The node's [Texture] resource." -msgstr "La ressource [Texture2D] du nœud." +msgstr "La ressource [Texture] du nœud." #: doc/classes/TextureRect.xml msgid "" @@ -61645,6 +61847,8 @@ msgid "" "Scale the texture to fit the node's bounding rectangle, center it and " "maintain its aspect ratio." msgstr "" +"Adapte la texture à la taille de l'élément en la centrant et en maintenant " +"ses proportions." #: doc/classes/Theme.xml msgid "Theme for controls." @@ -61661,9 +61865,8 @@ msgid "" msgstr "" #: doc/classes/Theme.xml -#, fuzzy msgid "Clears all values on the theme." -msgstr "Efface toutes les valeurs sur le thème." +msgstr "Efface toutes les valeurs de ce thème." #: doc/classes/Theme.xml #, fuzzy @@ -62066,35 +62269,31 @@ msgstr "" #: doc/classes/Theme.xml #, fuzzy msgid "Theme's [Color] item type." -msgstr "La [Color] du brouillard." +msgstr "Le type [Color] du thème." #: doc/classes/Theme.xml -#, fuzzy msgid "Theme's constant item type." -msgstr "Le type de la constante." +msgstr "Le type de la constante du thème." #: doc/classes/Theme.xml -#, fuzzy msgid "Theme's [Font] item type." -msgstr "Le type de la constante." +msgstr "Le type [Font] du thème." #: doc/classes/Theme.xml -#, fuzzy msgid "Theme's icon [Texture] item type." -msgstr "La ressource [Texture2D] du nœud." +msgstr "Le type [Texture] de l'icône du thème." #: doc/classes/Theme.xml msgid "Theme's [StyleBox] item type." -msgstr "" +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." -msgstr "" +msgstr "Une unité d'exécution dans un processus." #: doc/classes/Thread.xml msgid "" @@ -62107,17 +62306,20 @@ msgstr "" #: doc/classes/Thread.xml msgid "Using multiple threads" -msgstr "Utilisation de plusieurs threads" +msgstr "Utiliser plusieurs fils d'exécution" #: doc/classes/Thread.xml msgid "Thread-safe APIs" -msgstr "" +msgstr "Les API sûres pour plusieurs fils d'exécution" #: doc/classes/Thread.xml msgid "" "Returns the current [Thread]'s ID, uniquely identifying it among all " "threads. If the [Thread] is not running this returns an empty string." msgstr "" +"Retourne l'identifiant du [Thread] actuel, qui lui est unique parmi tous les " +"autres fils d'exécution. Si le [Thread] n'est pas actif, une chaine vide est " +"retournée." #: doc/classes/Thread.xml msgid "" @@ -62191,7 +62393,7 @@ msgstr "" #: doc/classes/TileMap.xml doc/classes/TileSet.xml msgid "2D Hexagonal Demo" -msgstr "" +msgstr "Démo Hexagonale en 2D" #: doc/classes/TileMap.xml msgid "Clears all cells." @@ -62199,7 +62401,7 @@ msgstr "Efface toutes les cellules." #: doc/classes/TileMap.xml msgid "Clears cells that do not exist in the tileset." -msgstr "" +msgstr "Efface les cellules qui n'existent plus dans le tileset." #: doc/classes/TileMap.xml msgid "" @@ -62222,10 +62424,12 @@ msgstr "" #: doc/classes/TileMap.xml msgid "Returns [code]true[/code] if the given collision layer bit is set." msgstr "" +"Retourne [code]true[/code] si le bit du calque de collision est définit." #: doc/classes/TileMap.xml msgid "Returns [code]true[/code] if the given collision mask bit is set." msgstr "" +"Retourne [code]true[/code] si le bit du masque de collision est définit." #: doc/classes/TileMap.xml msgid "" @@ -62251,6 +62455,8 @@ msgid "" "Returns [code]true[/code] if the given cell is transposed, i.e. the X and Y " "axes are swapped." msgstr "" +"Retourne [code]true[/code] si la cellule spécifiée est transposée, c'est-à-" +"dire que les axes X et Y sont inversés." #: doc/classes/TileMap.xml msgid "Returns [code]true[/code] if the given cell is flipped in the X axis." @@ -62870,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 "" @@ -62940,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 "" @@ -62986,6 +63195,13 @@ msgstr "" #: doc/classes/Time.xml msgid "" +"Converts the given timezone offset in minutes to a timezone offset string. " +"For example, -480 returns \"-08:00\", 345 returns \"+05:45\", and 0 returns " +"\"+00:00\"." +msgstr "" + +#: doc/classes/Time.xml +msgid "" "Returns the amount of time passed in milliseconds since the engine started.\n" "Will always be positive or 0 and uses a 64-bit value (it will wrap after " "roughly 500 million years)." @@ -63234,7 +63450,7 @@ msgstr "" #: doc/classes/Timer.xml msgid "Update the timer during the idle time at each frame." -msgstr "" +msgstr "Met à jour le minuteur durant un moment inoccupé de chaque trame." #: doc/classes/ToolButton.xml msgid "Flat button helper class." @@ -63249,6 +63465,12 @@ msgid "" "btn.flat = true\n" "[/codeblock]" msgstr "" +"C'est une classe d'aide pour générer des boutons plats (voir [member Button." +"flat]), créer un [ToolButton] est équivalent à :\n" +"[codeblock]\n" +"var btn = Button.new()\n" +"btn.flat = true\n" +"[/codeblock]" #: doc/classes/ToolButton.xml msgid "Default text [Color] of the [ToolButton]." @@ -63265,22 +63487,21 @@ msgid "" "text color of the button. Disabled, hovered, and pressed states take " "precedence over this color." msgstr "" +"La [Color] du texte quand le [ToolButton] a le focus. Ne remplace que la " +"couleur normale du texte du bouton. Les états désactivés, survolés et " +"appuyés sont prioritaire sur cette couleur." #: doc/classes/ToolButton.xml msgid "Text [Color] used when the [ToolButton] is being hovered." -msgstr "" +msgstr "La [Color] du texte utilisé quand un [ToolButton] est survolé." #: doc/classes/ToolButton.xml -#, fuzzy msgid "Text [Color] used when the [ToolButton] is being pressed." -msgstr "" -"Le [StyleBox] qui s'affiche en arrière-plan lorsque l'on appuie sur le " -"[CheckButton]." +msgstr "La [Color] du texte utilisé quand un [ToolButton] est appuyé." #: doc/classes/ToolButton.xml -#, fuzzy msgid "The horizontal space between [ToolButton]'s icon and text." -msgstr "L'espacement entre l'icône de l'élément et le texte." +msgstr "L'espacement horizontal entre l'icône et le texte du [ToolButton]." #: doc/classes/ToolButton.xml msgid "[Font] of the [ToolButton]'s text." @@ -63302,18 +63523,15 @@ msgstr "" #: doc/classes/ToolButton.xml msgid "[StyleBox] used when the [ToolButton] is being hovered." -msgstr "" +msgstr "Le [StyleBox] utilisé quand le [CheckButton] est survolé." #: doc/classes/ToolButton.xml msgid "Default [StyleBox] for the [ToolButton]." msgstr "Le [StyleBox] par défaut pour le [ToolButton]." #: doc/classes/ToolButton.xml -#, fuzzy msgid "[StyleBox] used when the [ToolButton] is being pressed." -msgstr "" -"Le [StyleBox] qui s'affiche en arrière-plan lorsque l'on appuie sur le " -"[CheckButton]." +msgstr "Le [StyleBox] utilisé quand le [CheckButton] est appuyé." #: doc/classes/TouchScreenButton.xml msgid "Button for touch screen devices for gameplay use." @@ -63341,6 +63559,8 @@ msgstr "Retourne [code]true[/code] si le bouton est actuelle pressé." #: doc/classes/TouchScreenButton.xml msgid "The button's action. Actions can be handled with [InputEventAction]." msgstr "" +"L'action du bouton. Les actions peuvent être interceptées avec " +"[InputEventAction]." #: doc/classes/TouchScreenButton.xml #, fuzzy @@ -63381,6 +63601,8 @@ msgstr "" msgid "" "The button's visibility mode. See [enum VisibilityMode] for possible values." msgstr "" +"Le mode de visibilité du bouton. Voir [enum VisibilityMode] pour les valeurs " +"possibles." #: doc/classes/TouchScreenButton.xml msgid "Emitted when the button is pressed (down)." @@ -63603,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 @@ -63683,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." @@ -63740,6 +63961,9 @@ msgid "" "See also [method OS.get_locale] and [method OS.get_locale_language] to query " "the locale of the user system." msgstr "" +"Retourne le langage actuel du projet.\n" +"Voir aussi [method OS.get_locale] et [method OS.get_locale_language] pour " +"récupérer le langage du système de l'utilisateur." #: doc/classes/TranslationServer.xml msgid "" @@ -63762,7 +63986,7 @@ msgstr "" #: doc/classes/TranslationServer.xml msgid "Returns the current locale's translation for the given message (key)." -msgstr "" +msgstr "Retourne la traduction du langage actuel pour le message (clé) donnée." #: doc/classes/Tree.xml msgid "Control to show a tree of items." @@ -63959,10 +64183,14 @@ msgstr "Définit le titre d’une colonne." msgid "" "If [code]true[/code], the currently selected cell may be selected again." msgstr "" +"Si [code]true[/code], la cellule actuellement sélectionnée peut être " +"sélectionnée à nouveau." #: doc/classes/Tree.xml msgid "If [code]true[/code], a right mouse button click can select items." msgstr "" +"Si [code]true[/code], une clic droit de la souris peut sélectionner des " +"éléments." #: doc/classes/Tree.xml msgid "If [code]true[/code], column titles are visible." @@ -63993,6 +64221,8 @@ msgstr "" msgid "" "Allows single or multiple selection. See the [enum SelectMode] constants." msgstr "" +"Permet de sélectionner un seul ou plusieurs éléments. Voir les constantes " +"[enum SelectMode]." #: doc/classes/Tree.xml msgid "" @@ -64146,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." @@ -64202,7 +64432,7 @@ msgstr "" #: doc/classes/Tree.xml msgid "The arrow icon used when a foldable item is collapsed." -msgstr "" +msgstr "L'icône de la flèche utilisée quand les éléments sont réduits." #: doc/classes/Tree.xml msgid "" @@ -64240,7 +64470,7 @@ msgstr "Le [StyleBox] utilisé quand le [Tree] a actuellement le focus." #: doc/classes/Tree.xml msgid "[StyleBox] used when a button in the tree is pressed." -msgstr "" +msgstr "Le [StyleBox] utilisé quand un bouton dans l'arborescence est appuyé." #: doc/classes/Tree.xml msgid "[StyleBox] used for the cursor, when the [Tree] is being focused." @@ -64260,12 +64490,16 @@ msgid "" "[StyleBox] for a [constant TreeItem.CELL_MODE_CUSTOM] mode cell when it's " "hovered." msgstr "" +"Le [StyleBox] pour une cellule avec le mode [constant TreeItem." +"CELL_MODE_CUSTOM] quand survolée." #: doc/classes/Tree.xml msgid "" "[StyleBox] for a [constant TreeItem.CELL_MODE_CUSTOM] mode cell when it's " "pressed." msgstr "" +"Le [StyleBox] pour une cellule avec le mode [constant TreeItem." +"CELL_MODE_CUSTOM] quand appuyée." #: doc/classes/Tree.xml msgid "" @@ -64317,7 +64551,7 @@ msgstr "" #: doc/classes/TreeItem.xml msgid "Resets the background color for the given column to default." -msgstr "" +msgstr "Rétablit la couleur d'arrière-plan par défaut de la colonne spécifiée." #: doc/classes/TreeItem.xml msgid "Resets the color for the given column to default." @@ -64384,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 @@ -64404,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 "" @@ -64607,7 +64842,7 @@ msgstr "" #: doc/classes/TreeItem.xml msgid "If [code]true[/code], the given column is selectable." -msgstr "" +msgstr "Si [code]true[/code], la colonne spécifiée est sélectionnable." #: doc/classes/TreeItem.xml msgid "" @@ -64631,7 +64866,7 @@ msgstr "Définit le texte de l’info-bulle de la colonne donnée." #: doc/classes/TreeItem.xml msgid "If [code]true[/code], the TreeItem is collapsed." -msgstr "" +msgstr "Si [code]true[/code], le TreeItem est développé." #: doc/classes/TreeItem.xml msgid "The custom minimum height." @@ -64646,13 +64881,12 @@ msgid "Cell contains a string." msgstr "La cellule contient une chaîne de caractères." #: doc/classes/TreeItem.xml -#, fuzzy msgid "Cell contains a checkbox." -msgstr "La cellule contient une icône." +msgstr "La cellule contient une checkbox." #: doc/classes/TreeItem.xml msgid "Cell contains a range." -msgstr "" +msgstr "La cellule contient un intervalle." #: doc/classes/TreeItem.xml msgid "Cell contains an icon." @@ -64660,15 +64894,15 @@ msgstr "La cellule contient une icône." #: doc/classes/TreeItem.xml msgid "Align text to the left. See [code]set_text_align()[/code]." -msgstr "" +msgstr "Aligne le texte à gauche. Voir [code]set_text_align()[/code]." #: doc/classes/TreeItem.xml msgid "Center text. See [code]set_text_align()[/code]." -msgstr "Centre du texte. Voir [code]set_text_align()[/code]." +msgstr "Centre le texte. Voir [code]set_text_align()[/code]." #: doc/classes/TreeItem.xml msgid "Align text to the right. See [code]set_text_align()[/code]." -msgstr "" +msgstr "Aligne le texte à droite. Voir [code]set_text_align()[/code]." #: doc/classes/TriangleMesh.xml msgid "Internal mesh type." @@ -64829,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." @@ -64855,7 +65088,7 @@ msgstr "" #: doc/classes/Tween.xml msgid "Stops animating all tweens." -msgstr "" +msgstr "Arrête l'animation de tous les tweens." #: doc/classes/Tween.xml msgid "" @@ -64898,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." @@ -65758,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 @@ -66073,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 @@ -66415,7 +66644,7 @@ msgstr "" #: doc/classes/VehicleWheel.xml msgid "The radius of the wheel in meters." -msgstr "" +msgstr "La rayon de la roue en mètres." #: doc/classes/VehicleWheel.xml msgid "" @@ -66439,9 +66668,8 @@ msgid "Vertical flow container." msgstr "Conteneur vertical." #: doc/classes/VFlowContainer.xml -#, fuzzy msgid "Vertical version of [FlowContainer]." -msgstr "La version verticale de [Separator]." +msgstr "La version verticale du [FlowContainer]." #: doc/classes/VideoPlayer.xml msgid "Control for playing video streams." @@ -66467,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 "" @@ -66504,7 +66731,7 @@ msgstr "" #: doc/classes/VideoPlayer.xml msgid "Audio bus to use for sound playback." -msgstr "" +msgstr "Le bus audio pour la lecture de sons." #: doc/classes/VideoPlayer.xml msgid "" @@ -66537,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." @@ -66660,7 +66886,7 @@ msgstr "" #: doc/classes/Viewport.xml doc/classes/ViewportTexture.xml msgid "3D in 2D Demo" -msgstr "" +msgstr "Démo pour la 3D dans la 2D" #: doc/classes/Viewport.xml msgid "Screen Capture Demo" @@ -66668,11 +66894,11 @@ msgstr "" #: doc/classes/Viewport.xml msgid "Dynamic Split Screen Demo" -msgstr "" +msgstr "Démo de l'écran partagé dynamique" #: doc/classes/Viewport.xml doc/classes/ViewportTexture.xml msgid "3D Viewport Scaling Demo" -msgstr "" +msgstr "Démo de mise à l'échelle d'un fenêtre d'affichage 3D" #: doc/classes/Viewport.xml msgid "" @@ -66692,12 +66918,11 @@ msgstr "Retourne la caméra 3D active." #: doc/classes/Viewport.xml msgid "Returns the total transform of the viewport." -msgstr "" +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 @@ -66733,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." @@ -66753,6 +66977,11 @@ msgid "Returns [code]true[/code] if there are visible modals on-screen." msgstr "Retourne [code]true[/code] si la colonne donnée est cochée." #: doc/classes/Viewport.xml +#, fuzzy +msgid "Returns [code]true[/code] if the drag operation is successful." +msgstr "Retourne [code]true[/code] si la sélection est active." + +#: doc/classes/Viewport.xml msgid "" "Returns [code]true[/code] if the viewport is currently performing a drag " "operation." @@ -66944,6 +67173,10 @@ msgid "" "Since Viewports in Godot 3.x render upside-down, it's recommended to set " "this to [code]true[/code] in most situations." msgstr "" +"Si [code]true[/code], le rendu final sera inversé verticalement. Comme les " +"fenêtres d'affichage dans Godot 3.x font des rendus à l'envers, il est " +"recommandé de mettre cette valeur à [code]true[/code] dans la plupart des " +"cas." #: doc/classes/Viewport.xml msgid "The subdivision amount of the first quadrant on the shadow atlas." @@ -67208,9 +67441,8 @@ msgid "" msgstr "" #: doc/classes/ViewportContainer.xml -#, fuzzy msgid "Control for holding [Viewport]s." -msgstr "Contrôle pour maintenir les [SubViewport]s." +msgstr "Le contrôle pour contenir les [Viewport]." #: doc/classes/ViewportContainer.xml msgid "" @@ -67289,13 +67521,12 @@ 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." -msgstr "" +msgstr "Si [code]true[/code], les nœuds [AnimationPlayer] seront mis en pause." #: doc/classes/VisibilityEnabler.xml doc/classes/VisibilityEnabler2D.xml msgid "This enabler will pause [AnimationPlayer] nodes." @@ -67326,17 +67557,15 @@ msgstr "" #: doc/classes/VisibilityEnabler2D.xml msgid "If [code]true[/code], [RigidBody2D] nodes will be paused." -msgstr "" +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 "" @@ -67369,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." @@ -67408,9 +67636,8 @@ msgstr "" "l’écran dans le passage de tirage." #: doc/classes/VisibilityNotifier.xml -#, fuzzy msgid "The VisibilityNotifier's bounding box." -msgstr "Rectangle englobant de VisibilityNotifier2D." +msgstr "Le rectangle du VisibilityNotifier." #: doc/classes/VisibilityNotifier.xml #, fuzzy @@ -67424,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 "" @@ -67462,7 +67687,7 @@ msgstr "Rectangle englobant de VisibilityNotifier2D." #: doc/classes/VisibilityNotifier2D.xml msgid "Emitted when the VisibilityNotifier2D enters the screen." -msgstr "Émis lorsque le VisibilityNotifier2D entre dans l'écran." +msgstr "Émis lorsque le VisibilityNotifier2D apparait à l'écran." #: doc/classes/VisibilityNotifier2D.xml msgid "Emitted when the VisibilityNotifier2D exits the screen." @@ -68220,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." @@ -68252,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." @@ -68406,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 "" @@ -68515,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." @@ -68553,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." @@ -68608,9 +68829,8 @@ msgid "" msgstr "" #: modules/visual_script/doc_classes/VisualScriptInputAction.xml -#, fuzzy msgid "Name of the action." -msgstr "Refaire la dernière action." +msgstr "Le nom de l'action." #: modules/visual_script/doc_classes/VisualScriptInputAction.xml #, fuzzy @@ -68685,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." @@ -68782,6 +68998,8 @@ msgid "" "Mathematical constant [code]e[/code], the natural log base: [code]2.718282[/" "code]." msgstr "" +"La constante mathématique [code]e[/code], la base du logarithme népérien : " +"[code]2.718282[/code]." #: modules/visual_script/doc_classes/VisualScriptMathConstant.xml msgid "Square root of two: [code]1.414214[/code]." @@ -68797,11 +69015,11 @@ msgstr "Pas un nombre : [code]nan[/code]." #: modules/visual_script/doc_classes/VisualScriptMathConstant.xml msgid "Represents the size of the [enum MathConstant] enum." -msgstr "" +msgstr "Représente la taille de l'énumération [enum MathConstant]." #: modules/visual_script/doc_classes/VisualScriptNode.xml msgid "A node which is part of a [VisualScript]." -msgstr "" +msgstr "Un nœud qui appartient à un [VisualScript]." #: modules/visual_script/doc_classes/VisualScriptNode.xml msgid "" @@ -69023,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 "" @@ -69235,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." @@ -69340,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." @@ -69442,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 "" @@ -69605,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]." @@ -69629,9 +69851,8 @@ msgid "Sets if [CanvasItem]'s children should be sorted by y-position." msgstr "" #: doc/classes/VisualServer.xml -#, fuzzy msgid "Sets the [CanvasItem]'s [Transform2D]." -msgstr "Retourne le [Transform2D] du propriétaire de la forme." +msgstr "Définit la [Transform2D] du [CanvasItem]." #: doc/classes/VisualServer.xml msgid "Sets if the [CanvasItem] uses its parent's material." @@ -69699,12 +69920,10 @@ msgstr "" "utilisant la [method instance_set_base] utilisant le RID retourné." #: doc/classes/VisualServer.xml -#, fuzzy msgid "Enables or disables light occluder." msgstr "Active ou désactive l'obturateur de lumière." #: doc/classes/VisualServer.xml -#, fuzzy msgid "Sets a light occluder's polygon." msgstr "Définit le polygone d'un occluseur de lumière." @@ -69770,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." @@ -69782,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]." @@ -69800,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 " @@ -69808,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 "" @@ -69994,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." @@ -70100,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 "" @@ -70254,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 "" @@ -70780,12 +71001,11 @@ 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 -#, fuzzy msgid "Removes a mesh's surface." -msgstr "Supprime un sous-nœud." +msgstr "Supprime la surface d'un maillage." #: doc/classes/VisualServer.xml #, fuzzy @@ -70834,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 @@ -71390,7 +71610,7 @@ msgstr "" #: doc/classes/VisualServer.xml msgid "Returns the parameters of a shader." -msgstr "" +msgstr "Retourne les paramètres d'un shader." #: doc/classes/VisualServer.xml #, fuzzy @@ -71403,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." @@ -71460,9 +71680,8 @@ msgstr "" "utilisant la [method instance_set_base] utilisant le RID retourné." #: doc/classes/VisualServer.xml -#, fuzzy msgid "Sets a sky's texture." -msgstr "Retourne la texture de la tuile." +msgstr "Définit la texture du ciel." #: doc/classes/VisualServer.xml #, fuzzy @@ -71527,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 @@ -71542,14 +71759,12 @@ msgid "Returns the format of the texture's image." msgstr "Renvoie le reste de deux vecteurs." #: doc/classes/VisualServer.xml -#, fuzzy msgid "Returns the texture's height." -msgstr "Retourne la hauteur de texture." +msgstr "Retourne la hauteur de la texture." #: doc/classes/VisualServer.xml -#, fuzzy msgid "Returns the texture's path." -msgstr "Renvoie la largeur de texture." +msgstr "Retourne le chemin de la texture." #: doc/classes/VisualServer.xml #, fuzzy @@ -71562,9 +71777,8 @@ msgid "Returns the type of the texture, can be any of the [enum TextureType]." msgstr "Retourne le type du nœud à [code]idx[/code]." #: doc/classes/VisualServer.xml -#, fuzzy msgid "Returns the texture's width." -msgstr "Renvoie la largeur de texture." +msgstr "Retourne la largeur de la texture." #: doc/classes/VisualServer.xml msgid "" @@ -71584,9 +71798,8 @@ msgid "Sets the texture's flags. See [enum TextureFlags] for options." msgstr "" #: doc/classes/VisualServer.xml -#, fuzzy msgid "Sets the texture's path." -msgstr "Renvoie la largeur de texture." +msgstr "Définit le chemin de la texture." #: doc/classes/VisualServer.xml msgid "" @@ -71651,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 "" @@ -71663,7 +71875,7 @@ msgstr "" #: doc/classes/VisualServer.xml msgid "Returns the viewport's last rendered frame." -msgstr "" +msgstr "Retourne la dernière trame de rendu de la fenêtre d'affichage." #: doc/classes/VisualServer.xml msgid "Detaches a viewport from a canvas and vice versa." @@ -71672,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 "" @@ -71708,6 +71922,7 @@ msgstr "" #: doc/classes/VisualServer.xml msgid "Sets the viewport's global transformation matrix." msgstr "" +"Définit la matrice de transformation globale de la fenêtre d'affichage." #: doc/classes/VisualServer.xml #, fuzzy @@ -71725,6 +71940,8 @@ msgstr "Actuellement non implémenté dans Godot 3.x." #: doc/classes/VisualServer.xml msgid "Sets the anti-aliasing mode. See [enum ViewportMSAA] for options." msgstr "" +"Définit le mode d'anticrénelage. Voir [enum ViewportMSAA] pour les " +"possibilités." #: doc/classes/VisualServer.xml msgid "Sets the viewport's parent to another viewport." @@ -71775,12 +71992,14 @@ msgstr "" #: doc/classes/VisualServer.xml msgid "Sets the viewport's width and height." -msgstr "" +msgstr "Définit la largeur et la hauteur de la fenêtre d'affichage." #: doc/classes/VisualServer.xml msgid "" "If [code]true[/code], the viewport renders its background as transparent." msgstr "" +"Si [code]true[/code], la fenêtre d'affichage rend son arrière-plan de " +"manière transparente." #: doc/classes/VisualServer.xml msgid "" @@ -72125,9 +72344,8 @@ msgid "The spotlight's attenuation." msgstr "L'atténuation du projecteur." #: doc/classes/VisualServer.xml -#, fuzzy msgid "Scales the shadow color." -msgstr "Définit la police [Color]." +msgstr "Met à l'échelle la couleur de l'ombre." #: doc/classes/VisualServer.xml msgid "Max distance that shadows will be rendered." @@ -72827,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." @@ -72949,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." @@ -73561,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 "" @@ -73594,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 "" @@ -73603,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 "" @@ -73683,7 +73907,7 @@ msgstr "" #: doc/classes/VisualShaderNodeIs.xml msgid "The comparison function. See [enum Function] for options." -msgstr "" +msgstr "La fonction de comparaison. Voir [enum Function] pour les options." #: doc/classes/VisualShaderNodeIs.xml msgid "Comparison with [code]INF[/code] (Infinity)." @@ -74122,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 "" @@ -74589,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 "" @@ -74630,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 a62aba930d..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 @@ -15850,6 +15870,10 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "Returns [code]true[/code] if drag operation is successful." +msgstr "" + +#: doc/classes/Control.xml msgid "" "Invalidates the size cache in this node and in parent nodes up to toplevel. " "Intended to be used with [method get_minimum_size] when the return value is " @@ -16270,8 +16294,9 @@ msgstr "" #: doc/classes/Control.xml msgid "" "By default, the node's pivot is its top-left corner. When you change its " -"[member rect_scale], it will scale around this pivot. Set this property to " -"[member rect_size] / 2 to center the pivot in the node's rectangle." +"[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 "" #: doc/classes/Control.xml @@ -18615,10 +18640,10 @@ msgid "" "further calculations." msgstr "" -#: doc/classes/Curve2D.xml doc/classes/Curve3D.xml +#: doc/classes/Curve2D.xml msgid "" -"Adds a point to a curve at [code]position[/code], with control points " -"[code]in[/code] and [code]out[/code].\n" +"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" "If [code]at_position[/code] is given, the point is inserted before the point " "number [code]at_position[/code], moving that point (and every point after) " "after the inserted point. If [code]at_position[/code] is not given, or is an " @@ -18769,6 +18794,18 @@ msgid "" msgstr "" #: doc/classes/Curve3D.xml +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" +"If [code]at_position[/code] is given, the point is inserted before the point " +"number [code]at_position[/code], moving that point (and every point after) " +"after the inserted point. If [code]at_position[/code] is not given, or is an " +"illegal value ([code]at_position <0[/code] or [code]at_position >= [method " +"get_point_count][/code]), the point will be appended at the end of the point " +"list." +msgstr "" + +#: doc/classes/Curve3D.xml msgid "Returns the cache of points as a [PoolVector3Array]." msgstr "" @@ -19574,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" @@ -22366,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 @@ -23249,10 +23286,13 @@ msgstr "" #: doc/classes/Environment.xml msgid "" -"Keeps on screen every pixel drawn in the background. This is the fastest " -"background mode, but it can only be safely used in fully-interior scenes (no " -"visible sky or sky reflections). If enabled in a scene where the background " -"is visible, \"ghost trail\" artifacts will be visible when moving the camera." +"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 " +"not be faster than clearing the background, and can be significantly slower, " +"particularly on mobile.\n" +"It can only be safely used in fully-interior scenes (no visible sky or sky " +"reflections). If enabled in a scene where the background is visible, \"ghost " +"trail\" artifacts will be visible when moving the camera." msgstr "" #: doc/classes/Environment.xml @@ -26703,14 +26743,14 @@ msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Depth of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the depth of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Width of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the width of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HFlowContainer.xml @@ -28952,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 @@ -28964,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 @@ -29099,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 " @@ -29113,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 @@ -29124,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 " @@ -29476,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 @@ -29496,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 " @@ -29510,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 @@ -29543,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 @@ -30075,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 @@ -32549,6 +32589,13 @@ msgstr "" msgid "If [code]true[/code], the context menu will appear when right-clicked." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml +#: doc/classes/TextEdit.xml +msgid "" +"If [code]true[/code], the selected text will be deselected when focus is " +"lost." +msgstr "" + #: doc/classes/LineEdit.xml msgid "" "If [code]false[/code], existing text cannot be modified and new text cannot " @@ -32584,6 +32631,13 @@ msgid "" "[/codeblock]" msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +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 "" + #: doc/classes/LineEdit.xml msgid "" "Opacity of the [member placeholder_text]. From [code]0[/code] to [code]1[/" @@ -33899,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 "" @@ -36351,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 @@ -37063,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 @@ -37659,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 @@ -38443,6 +38544,10 @@ msgid "Returns the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +msgid "Returns the tooltip of the item at index [code]idx[/code]." +msgstr "" + +#: doc/classes/OptionButton.xml msgid "" "Returns the ID of the selected item, or [code]0[/code] if no item is " "selected." @@ -38496,6 +38601,10 @@ msgid "Sets the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +msgid "Sets the tooltip of the item at index [code]idx[/code]." +msgstr "" + +#: doc/classes/OptionButton.xml msgid "" "The index of the currently selected item, or [code]-1[/code] if no item is " "selected." @@ -39052,6 +39161,23 @@ msgstr "" #: doc/classes/OS.xml msgid "" +"Returns the current refresh rate of the specified screen. If [code]screen[/" +"code] is [code]-1[/code] (the default value), the current screen will be " +"used.\n" +"[b]Note:[/b] Returns [code]-1.0[/code] if Godot fails to find the refresh " +"rate for the specified screen. On HTML5, [method get_screen_refresh_rate] " +"will always return [code]-1.0[/code] as there is no way to retrieve the " +"refresh rate on that platform.\n" +"To fallback to a default refresh rate if the method fails, try:\n" +"[codeblock]\n" +"var refresh_rate = OS.get_screen_refresh_rate()\n" +"if refresh_rate < 0:\n" +" refresh_rate = 60.0\n" +"[/codeblock]" +msgstr "" + +#: doc/classes/OS.xml +msgid "" "Return the scale factor of the specified screen by index. If [code]screen[/" "code] is [code]-1[/code] (the default value), the current screen will be " "used.\n" @@ -42878,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 @@ -45408,6 +45537,12 @@ msgstr "" #: doc/classes/ProjectSettings.xml 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 "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], enables warnings when a function is declared with the " "same name as a constant." msgstr "" @@ -45831,6 +45966,19 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If enabled, the moment [member Viewport.gui_disable_input] is set to " +"[code]false[/code] to disable GUI input in a viewport, current mouse over " +"and mouse focus will be dropped.\n" +"That behavior helps to keep a robust GUI state, with no surprises when input " +"is resumed regardless what has happened in the meantime.\n" +"If disabled, the legacy behavior is used, which consists in just not doing " +"anything besides the GUI input disable itself.\n" +"[b]Note:[/b] This is set to [code]true[/code] by default for new projects " +"and is the recommended setting." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], swaps OK and Cancel buttons in dialogs on Windows and " "UWP to follow interface conventions." msgstr "" @@ -46800,6 +46948,16 @@ msgid "" msgstr "" #: doc/classes/ProjectSettings.xml +msgid "" +"If [code]true[/code], smooths out collision with trimesh shapes " +"([ConcavePolygonShape]) by telling the Bullet physics engine to generate " +"internal edge information for every trimesh shape created.\n" +"[b]Note:[/b] Only effective if [member physics/3d/physics_engine] is set to " +"[code]DEFAULT[/code] or [code]Bullet[/code], [i]not[/i] [code]GodotPhysics[/" +"code]." +msgstr "" + +#: doc/classes/ProjectSettings.xml msgid "Enables [member Viewport.physics_object_picking] on the root viewport." msgstr "" @@ -47213,6 +47371,14 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"An override for [code]rendering/gles3/shaders/shader_compilation_mode[/" +"code], so asynchronous compilation can be disabled for mobile.\n" +"You may want to do that since mobile GPUs generally won't support " +"ubershaders due to their complexity." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Max buffer size for blend shapes. Any blend shape bigger than this will not " "work." msgstr "" @@ -48145,13 +48311,13 @@ msgstr "" #: doc/classes/Range.xml msgid "" -"Binds two ranges together along with any ranges previously grouped with " +"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 "" #: doc/classes/Range.xml -msgid "Stops range from sharing its member variables with any other." +msgid "Stops the [Range] from sharing its member variables with any other." msgstr "" #: doc/classes/Range.xml @@ -48218,7 +48384,14 @@ msgid "" msgstr "" #: doc/classes/Range.xml -msgid "Emitted when [member value] changes." +msgid "" +"Emitted when [member value] changes. When used on a [Slider], this is called " +"continuously while dragging (potentially every frame). If you are performing " +"an expensive operation in a function connected to [signal value_changed], " +"consider using a [i]debouncing[/i] [Timer] to call the function less often.\n" +"[b]Note:[/b] Unlike signals such as [signal LineEdit.text_changed], [signal " +"value_changed] is also emitted when [code]value[/code] is set directly via " +"code." msgstr "" #: doc/classes/RayCast.xml doc/classes/RayCast2D.xml @@ -55518,11 +55691,11 @@ msgid "" "Returns [code]true[/code] if this string contains a valid float. This is " "inclusive of integers, and also supports exponents:\n" "[codeblock]\n" -"print(\"1.7\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"7e3\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"Hello\".is_valid_float()) # Prints \"false\"\n" +"print(\"1.7\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"7e3\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55548,9 +55721,9 @@ msgid "" "identifier may contain only letters, digits and underscores ([code]_[/code]) " "and the first character may not be a digit.\n" "[codeblock]\n" -"print(\"good_ident_1\".is_valid_identifier()) # Prints \"true\"\n" -"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"false\"\n" -"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"false\"\n" +"print(\"good_ident_1\".is_valid_identifier()) # Prints \"True\"\n" +"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"False\"\n" +"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55558,11 +55731,11 @@ msgstr "" msgid "" "Returns [code]true[/code] if this string contains a valid integer.\n" "[codeblock]\n" -"print(\"7\".is_valid_int()) # Prints \"true\"\n" -"print(\"14.6\".is_valid_int()) # Prints \"false\"\n" -"print(\"L\".is_valid_int()) # Prints \"false\"\n" -"print(\"+3\".is_valid_int()) # Prints \"true\"\n" -"print(\"-12\".is_valid_int()) # Prints \"true\"\n" +"print(\"7\".is_valid_int()) # Prints \"True\"\n" +"print(\"14.6\".is_valid_int()) # Prints \"False\"\n" +"print(\"L\".is_valid_int()) # Prints \"False\"\n" +"print(\"+3\".is_valid_int()) # Prints \"True\"\n" +"print(\"-12\".is_valid_int()) # Prints \"True\"\n" "[/codeblock]" msgstr "" @@ -55758,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 "" @@ -57349,6 +57522,12 @@ msgid "Returns if the given line is wrapped." msgstr "" #: doc/classes/TextEdit.xml +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 "" + +#: doc/classes/TextEdit.xml msgid "Returns [code]true[/code] if the selection is active." msgstr "" @@ -59564,6 +59743,13 @@ msgstr "" #: doc/classes/Time.xml msgid "" +"Converts the given timezone offset in minutes to a timezone offset string. " +"For example, -480 returns \"-08:00\", 345 returns \"+05:45\", and 0 returns " +"\"+00:00\"." +msgstr "" + +#: doc/classes/Time.xml +msgid "" "Returns the amount of time passed in milliseconds since the engine started.\n" "Will always be positive or 0 and uses a 64-bit value (it will wrap after " "roughly 500 million years)." @@ -63218,6 +63404,10 @@ msgid "Returns [code]true[/code] if there are visible modals on-screen." msgstr "" #: doc/classes/Viewport.xml +msgid "Returns [code]true[/code] if the drag operation is successful." +msgstr "" + +#: doc/classes/Viewport.xml msgid "" "Returns [code]true[/code] if the viewport is currently performing a drag " "operation." diff --git a/doc/translations/hi.po b/doc/translations/hi.po index fee4b208a2..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 @@ -15849,6 +15869,10 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "Returns [code]true[/code] if drag operation is successful." +msgstr "" + +#: doc/classes/Control.xml msgid "" "Invalidates the size cache in this node and in parent nodes up to toplevel. " "Intended to be used with [method get_minimum_size] when the return value is " @@ -16269,8 +16293,9 @@ msgstr "" #: doc/classes/Control.xml msgid "" "By default, the node's pivot is its top-left corner. When you change its " -"[member rect_scale], it will scale around this pivot. Set this property to " -"[member rect_size] / 2 to center the pivot in the node's rectangle." +"[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 "" #: doc/classes/Control.xml @@ -18614,10 +18639,10 @@ msgid "" "further calculations." msgstr "" -#: doc/classes/Curve2D.xml doc/classes/Curve3D.xml +#: doc/classes/Curve2D.xml msgid "" -"Adds a point to a curve at [code]position[/code], with control points " -"[code]in[/code] and [code]out[/code].\n" +"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" "If [code]at_position[/code] is given, the point is inserted before the point " "number [code]at_position[/code], moving that point (and every point after) " "after the inserted point. If [code]at_position[/code] is not given, or is an " @@ -18768,6 +18793,18 @@ msgid "" msgstr "" #: doc/classes/Curve3D.xml +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" +"If [code]at_position[/code] is given, the point is inserted before the point " +"number [code]at_position[/code], moving that point (and every point after) " +"after the inserted point. If [code]at_position[/code] is not given, or is an " +"illegal value ([code]at_position <0[/code] or [code]at_position >= [method " +"get_point_count][/code]), the point will be appended at the end of the point " +"list." +msgstr "" + +#: doc/classes/Curve3D.xml msgid "Returns the cache of points as a [PoolVector3Array]." msgstr "" @@ -19573,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" @@ -22365,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 @@ -23248,10 +23285,13 @@ msgstr "" #: doc/classes/Environment.xml msgid "" -"Keeps on screen every pixel drawn in the background. This is the fastest " -"background mode, but it can only be safely used in fully-interior scenes (no " -"visible sky or sky reflections). If enabled in a scene where the background " -"is visible, \"ghost trail\" artifacts will be visible when moving the camera." +"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 " +"not be faster than clearing the background, and can be significantly slower, " +"particularly on mobile.\n" +"It can only be safely used in fully-interior scenes (no visible sky or sky " +"reflections). If enabled in a scene where the background is visible, \"ghost " +"trail\" artifacts will be visible when moving the camera." msgstr "" #: doc/classes/Environment.xml @@ -26702,14 +26742,14 @@ msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Depth of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the depth of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Width of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the width of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HFlowContainer.xml @@ -28951,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 @@ -28963,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 @@ -29098,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 " @@ -29112,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 @@ -29123,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 " @@ -29475,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 @@ -29495,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 " @@ -29509,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 @@ -29542,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 @@ -30074,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 @@ -32548,6 +32588,13 @@ msgstr "" msgid "If [code]true[/code], the context menu will appear when right-clicked." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml +#: doc/classes/TextEdit.xml +msgid "" +"If [code]true[/code], the selected text will be deselected when focus is " +"lost." +msgstr "" + #: doc/classes/LineEdit.xml msgid "" "If [code]false[/code], existing text cannot be modified and new text cannot " @@ -32583,6 +32630,13 @@ msgid "" "[/codeblock]" msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +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 "" + #: doc/classes/LineEdit.xml msgid "" "Opacity of the [member placeholder_text]. From [code]0[/code] to [code]1[/" @@ -33898,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 "" @@ -36350,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 @@ -37062,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 @@ -37658,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 @@ -38442,6 +38543,10 @@ msgid "Returns the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +msgid "Returns the tooltip of the item at index [code]idx[/code]." +msgstr "" + +#: doc/classes/OptionButton.xml msgid "" "Returns the ID of the selected item, or [code]0[/code] if no item is " "selected." @@ -38495,6 +38600,10 @@ msgid "Sets the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +msgid "Sets the tooltip of the item at index [code]idx[/code]." +msgstr "" + +#: doc/classes/OptionButton.xml msgid "" "The index of the currently selected item, or [code]-1[/code] if no item is " "selected." @@ -39051,6 +39160,23 @@ msgstr "" #: doc/classes/OS.xml msgid "" +"Returns the current refresh rate of the specified screen. If [code]screen[/" +"code] is [code]-1[/code] (the default value), the current screen will be " +"used.\n" +"[b]Note:[/b] Returns [code]-1.0[/code] if Godot fails to find the refresh " +"rate for the specified screen. On HTML5, [method get_screen_refresh_rate] " +"will always return [code]-1.0[/code] as there is no way to retrieve the " +"refresh rate on that platform.\n" +"To fallback to a default refresh rate if the method fails, try:\n" +"[codeblock]\n" +"var refresh_rate = OS.get_screen_refresh_rate()\n" +"if refresh_rate < 0:\n" +" refresh_rate = 60.0\n" +"[/codeblock]" +msgstr "" + +#: doc/classes/OS.xml +msgid "" "Return the scale factor of the specified screen by index. If [code]screen[/" "code] is [code]-1[/code] (the default value), the current screen will be " "used.\n" @@ -42877,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 @@ -45407,6 +45536,12 @@ msgstr "" #: doc/classes/ProjectSettings.xml 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 "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], enables warnings when a function is declared with the " "same name as a constant." msgstr "" @@ -45830,6 +45965,19 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If enabled, the moment [member Viewport.gui_disable_input] is set to " +"[code]false[/code] to disable GUI input in a viewport, current mouse over " +"and mouse focus will be dropped.\n" +"That behavior helps to keep a robust GUI state, with no surprises when input " +"is resumed regardless what has happened in the meantime.\n" +"If disabled, the legacy behavior is used, which consists in just not doing " +"anything besides the GUI input disable itself.\n" +"[b]Note:[/b] This is set to [code]true[/code] by default for new projects " +"and is the recommended setting." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], swaps OK and Cancel buttons in dialogs on Windows and " "UWP to follow interface conventions." msgstr "" @@ -46799,6 +46947,16 @@ msgid "" msgstr "" #: doc/classes/ProjectSettings.xml +msgid "" +"If [code]true[/code], smooths out collision with trimesh shapes " +"([ConcavePolygonShape]) by telling the Bullet physics engine to generate " +"internal edge information for every trimesh shape created.\n" +"[b]Note:[/b] Only effective if [member physics/3d/physics_engine] is set to " +"[code]DEFAULT[/code] or [code]Bullet[/code], [i]not[/i] [code]GodotPhysics[/" +"code]." +msgstr "" + +#: doc/classes/ProjectSettings.xml msgid "Enables [member Viewport.physics_object_picking] on the root viewport." msgstr "" @@ -47212,6 +47370,14 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"An override for [code]rendering/gles3/shaders/shader_compilation_mode[/" +"code], so asynchronous compilation can be disabled for mobile.\n" +"You may want to do that since mobile GPUs generally won't support " +"ubershaders due to their complexity." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Max buffer size for blend shapes. Any blend shape bigger than this will not " "work." msgstr "" @@ -48144,13 +48310,13 @@ msgstr "" #: doc/classes/Range.xml msgid "" -"Binds two ranges together along with any ranges previously grouped with " +"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 "" #: doc/classes/Range.xml -msgid "Stops range from sharing its member variables with any other." +msgid "Stops the [Range] from sharing its member variables with any other." msgstr "" #: doc/classes/Range.xml @@ -48217,7 +48383,14 @@ msgid "" msgstr "" #: doc/classes/Range.xml -msgid "Emitted when [member value] changes." +msgid "" +"Emitted when [member value] changes. When used on a [Slider], this is called " +"continuously while dragging (potentially every frame). If you are performing " +"an expensive operation in a function connected to [signal value_changed], " +"consider using a [i]debouncing[/i] [Timer] to call the function less often.\n" +"[b]Note:[/b] Unlike signals such as [signal LineEdit.text_changed], [signal " +"value_changed] is also emitted when [code]value[/code] is set directly via " +"code." msgstr "" #: doc/classes/RayCast.xml doc/classes/RayCast2D.xml @@ -55517,11 +55690,11 @@ msgid "" "Returns [code]true[/code] if this string contains a valid float. This is " "inclusive of integers, and also supports exponents:\n" "[codeblock]\n" -"print(\"1.7\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"7e3\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"Hello\".is_valid_float()) # Prints \"false\"\n" +"print(\"1.7\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"7e3\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55547,9 +55720,9 @@ msgid "" "identifier may contain only letters, digits and underscores ([code]_[/code]) " "and the first character may not be a digit.\n" "[codeblock]\n" -"print(\"good_ident_1\".is_valid_identifier()) # Prints \"true\"\n" -"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"false\"\n" -"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"false\"\n" +"print(\"good_ident_1\".is_valid_identifier()) # Prints \"True\"\n" +"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"False\"\n" +"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55557,11 +55730,11 @@ msgstr "" msgid "" "Returns [code]true[/code] if this string contains a valid integer.\n" "[codeblock]\n" -"print(\"7\".is_valid_int()) # Prints \"true\"\n" -"print(\"14.6\".is_valid_int()) # Prints \"false\"\n" -"print(\"L\".is_valid_int()) # Prints \"false\"\n" -"print(\"+3\".is_valid_int()) # Prints \"true\"\n" -"print(\"-12\".is_valid_int()) # Prints \"true\"\n" +"print(\"7\".is_valid_int()) # Prints \"True\"\n" +"print(\"14.6\".is_valid_int()) # Prints \"False\"\n" +"print(\"L\".is_valid_int()) # Prints \"False\"\n" +"print(\"+3\".is_valid_int()) # Prints \"True\"\n" +"print(\"-12\".is_valid_int()) # Prints \"True\"\n" "[/codeblock]" msgstr "" @@ -55757,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 "" @@ -57348,6 +57521,12 @@ msgid "Returns if the given line is wrapped." msgstr "" #: doc/classes/TextEdit.xml +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 "" + +#: doc/classes/TextEdit.xml msgid "Returns [code]true[/code] if the selection is active." msgstr "" @@ -59563,6 +59742,13 @@ msgstr "" #: doc/classes/Time.xml msgid "" +"Converts the given timezone offset in minutes to a timezone offset string. " +"For example, -480 returns \"-08:00\", 345 returns \"+05:45\", and 0 returns " +"\"+00:00\"." +msgstr "" + +#: doc/classes/Time.xml +msgid "" "Returns the amount of time passed in milliseconds since the engine started.\n" "Will always be positive or 0 and uses a 64-bit value (it will wrap after " "roughly 500 million years)." @@ -63217,6 +63403,10 @@ msgid "Returns [code]true[/code] if there are visible modals on-screen." msgstr "" #: doc/classes/Viewport.xml +msgid "Returns [code]true[/code] if the drag operation is successful." +msgstr "" + +#: doc/classes/Viewport.xml msgid "" "Returns [code]true[/code] if the viewport is currently performing a drag " "operation." diff --git a/doc/translations/hu.po b/doc/translations/hu.po index b0e78ab725..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 @@ -15867,6 +15887,10 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "Returns [code]true[/code] if drag operation is successful." +msgstr "" + +#: doc/classes/Control.xml msgid "" "Invalidates the size cache in this node and in parent nodes up to toplevel. " "Intended to be used with [method get_minimum_size] when the return value is " @@ -16287,8 +16311,9 @@ msgstr "" #: doc/classes/Control.xml msgid "" "By default, the node's pivot is its top-left corner. When you change its " -"[member rect_scale], it will scale around this pivot. Set this property to " -"[member rect_size] / 2 to center the pivot in the node's rectangle." +"[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 "" #: doc/classes/Control.xml @@ -18632,10 +18657,10 @@ msgid "" "further calculations." msgstr "" -#: doc/classes/Curve2D.xml doc/classes/Curve3D.xml +#: doc/classes/Curve2D.xml msgid "" -"Adds a point to a curve at [code]position[/code], with control points " -"[code]in[/code] and [code]out[/code].\n" +"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" "If [code]at_position[/code] is given, the point is inserted before the point " "number [code]at_position[/code], moving that point (and every point after) " "after the inserted point. If [code]at_position[/code] is not given, or is an " @@ -18786,6 +18811,18 @@ msgid "" msgstr "" #: doc/classes/Curve3D.xml +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" +"If [code]at_position[/code] is given, the point is inserted before the point " +"number [code]at_position[/code], moving that point (and every point after) " +"after the inserted point. If [code]at_position[/code] is not given, or is an " +"illegal value ([code]at_position <0[/code] or [code]at_position >= [method " +"get_point_count][/code]), the point will be appended at the end of the point " +"list." +msgstr "" + +#: doc/classes/Curve3D.xml msgid "Returns the cache of points as a [PoolVector3Array]." msgstr "" @@ -19591,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" @@ -22383,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 @@ -23266,10 +23303,13 @@ msgstr "" #: doc/classes/Environment.xml msgid "" -"Keeps on screen every pixel drawn in the background. This is the fastest " -"background mode, but it can only be safely used in fully-interior scenes (no " -"visible sky or sky reflections). If enabled in a scene where the background " -"is visible, \"ghost trail\" artifacts will be visible when moving the camera." +"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 " +"not be faster than clearing the background, and can be significantly slower, " +"particularly on mobile.\n" +"It can only be safely used in fully-interior scenes (no visible sky or sky " +"reflections). If enabled in a scene where the background is visible, \"ghost " +"trail\" artifacts will be visible when moving the camera." msgstr "" #: doc/classes/Environment.xml @@ -26720,14 +26760,14 @@ msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Depth of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the depth of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Width of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the width of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HFlowContainer.xml @@ -28969,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 @@ -28981,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 @@ -29116,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 " @@ -29130,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 @@ -29141,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 " @@ -29493,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 @@ -29513,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 " @@ -29527,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 @@ -29560,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 @@ -30092,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 @@ -32566,6 +32606,13 @@ msgstr "" msgid "If [code]true[/code], the context menu will appear when right-clicked." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml +#: doc/classes/TextEdit.xml +msgid "" +"If [code]true[/code], the selected text will be deselected when focus is " +"lost." +msgstr "" + #: doc/classes/LineEdit.xml msgid "" "If [code]false[/code], existing text cannot be modified and new text cannot " @@ -32601,6 +32648,13 @@ msgid "" "[/codeblock]" msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +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 "" + #: doc/classes/LineEdit.xml msgid "" "Opacity of the [member placeholder_text]. From [code]0[/code] to [code]1[/" @@ -33916,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 "" @@ -36368,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 @@ -37080,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 @@ -37676,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 @@ -38460,6 +38561,10 @@ msgid "Returns the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +msgid "Returns the tooltip of the item at index [code]idx[/code]." +msgstr "" + +#: doc/classes/OptionButton.xml msgid "" "Returns the ID of the selected item, or [code]0[/code] if no item is " "selected." @@ -38513,6 +38618,10 @@ msgid "Sets the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +msgid "Sets the tooltip of the item at index [code]idx[/code]." +msgstr "" + +#: doc/classes/OptionButton.xml msgid "" "The index of the currently selected item, or [code]-1[/code] if no item is " "selected." @@ -39069,6 +39178,23 @@ msgstr "" #: doc/classes/OS.xml msgid "" +"Returns the current refresh rate of the specified screen. If [code]screen[/" +"code] is [code]-1[/code] (the default value), the current screen will be " +"used.\n" +"[b]Note:[/b] Returns [code]-1.0[/code] if Godot fails to find the refresh " +"rate for the specified screen. On HTML5, [method get_screen_refresh_rate] " +"will always return [code]-1.0[/code] as there is no way to retrieve the " +"refresh rate on that platform.\n" +"To fallback to a default refresh rate if the method fails, try:\n" +"[codeblock]\n" +"var refresh_rate = OS.get_screen_refresh_rate()\n" +"if refresh_rate < 0:\n" +" refresh_rate = 60.0\n" +"[/codeblock]" +msgstr "" + +#: doc/classes/OS.xml +msgid "" "Return the scale factor of the specified screen by index. If [code]screen[/" "code] is [code]-1[/code] (the default value), the current screen will be " "used.\n" @@ -42895,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 @@ -45425,6 +45554,12 @@ msgstr "" #: doc/classes/ProjectSettings.xml 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 "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], enables warnings when a function is declared with the " "same name as a constant." msgstr "" @@ -45848,6 +45983,19 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If enabled, the moment [member Viewport.gui_disable_input] is set to " +"[code]false[/code] to disable GUI input in a viewport, current mouse over " +"and mouse focus will be dropped.\n" +"That behavior helps to keep a robust GUI state, with no surprises when input " +"is resumed regardless what has happened in the meantime.\n" +"If disabled, the legacy behavior is used, which consists in just not doing " +"anything besides the GUI input disable itself.\n" +"[b]Note:[/b] This is set to [code]true[/code] by default for new projects " +"and is the recommended setting." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], swaps OK and Cancel buttons in dialogs on Windows and " "UWP to follow interface conventions." msgstr "" @@ -46817,6 +46965,16 @@ msgid "" msgstr "" #: doc/classes/ProjectSettings.xml +msgid "" +"If [code]true[/code], smooths out collision with trimesh shapes " +"([ConcavePolygonShape]) by telling the Bullet physics engine to generate " +"internal edge information for every trimesh shape created.\n" +"[b]Note:[/b] Only effective if [member physics/3d/physics_engine] is set to " +"[code]DEFAULT[/code] or [code]Bullet[/code], [i]not[/i] [code]GodotPhysics[/" +"code]." +msgstr "" + +#: doc/classes/ProjectSettings.xml msgid "Enables [member Viewport.physics_object_picking] on the root viewport." msgstr "" @@ -47230,6 +47388,14 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"An override for [code]rendering/gles3/shaders/shader_compilation_mode[/" +"code], so asynchronous compilation can be disabled for mobile.\n" +"You may want to do that since mobile GPUs generally won't support " +"ubershaders due to their complexity." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Max buffer size for blend shapes. Any blend shape bigger than this will not " "work." msgstr "" @@ -48162,13 +48328,13 @@ msgstr "" #: doc/classes/Range.xml msgid "" -"Binds two ranges together along with any ranges previously grouped with " +"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 "" #: doc/classes/Range.xml -msgid "Stops range from sharing its member variables with any other." +msgid "Stops the [Range] from sharing its member variables with any other." msgstr "" #: doc/classes/Range.xml @@ -48235,7 +48401,14 @@ msgid "" msgstr "" #: doc/classes/Range.xml -msgid "Emitted when [member value] changes." +msgid "" +"Emitted when [member value] changes. When used on a [Slider], this is called " +"continuously while dragging (potentially every frame). If you are performing " +"an expensive operation in a function connected to [signal value_changed], " +"consider using a [i]debouncing[/i] [Timer] to call the function less often.\n" +"[b]Note:[/b] Unlike signals such as [signal LineEdit.text_changed], [signal " +"value_changed] is also emitted when [code]value[/code] is set directly via " +"code." msgstr "" #: doc/classes/RayCast.xml doc/classes/RayCast2D.xml @@ -55535,11 +55708,11 @@ msgid "" "Returns [code]true[/code] if this string contains a valid float. This is " "inclusive of integers, and also supports exponents:\n" "[codeblock]\n" -"print(\"1.7\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"7e3\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"Hello\".is_valid_float()) # Prints \"false\"\n" +"print(\"1.7\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"7e3\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55565,9 +55738,9 @@ msgid "" "identifier may contain only letters, digits and underscores ([code]_[/code]) " "and the first character may not be a digit.\n" "[codeblock]\n" -"print(\"good_ident_1\".is_valid_identifier()) # Prints \"true\"\n" -"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"false\"\n" -"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"false\"\n" +"print(\"good_ident_1\".is_valid_identifier()) # Prints \"True\"\n" +"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"False\"\n" +"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55575,11 +55748,11 @@ msgstr "" msgid "" "Returns [code]true[/code] if this string contains a valid integer.\n" "[codeblock]\n" -"print(\"7\".is_valid_int()) # Prints \"true\"\n" -"print(\"14.6\".is_valid_int()) # Prints \"false\"\n" -"print(\"L\".is_valid_int()) # Prints \"false\"\n" -"print(\"+3\".is_valid_int()) # Prints \"true\"\n" -"print(\"-12\".is_valid_int()) # Prints \"true\"\n" +"print(\"7\".is_valid_int()) # Prints \"True\"\n" +"print(\"14.6\".is_valid_int()) # Prints \"False\"\n" +"print(\"L\".is_valid_int()) # Prints \"False\"\n" +"print(\"+3\".is_valid_int()) # Prints \"True\"\n" +"print(\"-12\".is_valid_int()) # Prints \"True\"\n" "[/codeblock]" msgstr "" @@ -55775,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 "" @@ -57366,6 +57539,12 @@ msgid "Returns if the given line is wrapped." msgstr "" #: doc/classes/TextEdit.xml +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 "" + +#: doc/classes/TextEdit.xml msgid "Returns [code]true[/code] if the selection is active." msgstr "" @@ -59581,6 +59760,13 @@ msgstr "" #: doc/classes/Time.xml msgid "" +"Converts the given timezone offset in minutes to a timezone offset string. " +"For example, -480 returns \"-08:00\", 345 returns \"+05:45\", and 0 returns " +"\"+00:00\"." +msgstr "" + +#: doc/classes/Time.xml +msgid "" "Returns the amount of time passed in milliseconds since the engine started.\n" "Will always be positive or 0 and uses a 64-bit value (it will wrap after " "roughly 500 million years)." @@ -63235,6 +63421,10 @@ msgid "Returns [code]true[/code] if there are visible modals on-screen." msgstr "" #: doc/classes/Viewport.xml +msgid "Returns [code]true[/code] if the drag operation is successful." +msgstr "" + +#: doc/classes/Viewport.xml msgid "" "Returns [code]true[/code] if the viewport is currently performing a drag " "operation." diff --git a/doc/translations/id.po b/doc/translations/id.po index dcc5c28d89..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 @@ -16057,6 +16282,10 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "Returns [code]true[/code] if drag operation is successful." +msgstr "" + +#: doc/classes/Control.xml msgid "" "Invalidates the size cache in this node and in parent nodes up to toplevel. " "Intended to be used with [method get_minimum_size] when the return value is " @@ -16477,8 +16706,9 @@ msgstr "" #: doc/classes/Control.xml msgid "" "By default, the node's pivot is its top-left corner. When you change its " -"[member rect_scale], it will scale around this pivot. Set this property to " -"[member rect_size] / 2 to center the pivot in the node's rectangle." +"[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 "" #: doc/classes/Control.xml @@ -18822,10 +19052,10 @@ msgid "" "further calculations." msgstr "" -#: doc/classes/Curve2D.xml doc/classes/Curve3D.xml +#: doc/classes/Curve2D.xml msgid "" -"Adds a point to a curve at [code]position[/code], with control points " -"[code]in[/code] and [code]out[/code].\n" +"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" "If [code]at_position[/code] is given, the point is inserted before the point " "number [code]at_position[/code], moving that point (and every point after) " "after the inserted point. If [code]at_position[/code] is not given, or is an " @@ -18976,6 +19206,18 @@ msgid "" msgstr "" #: doc/classes/Curve3D.xml +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" +"If [code]at_position[/code] is given, the point is inserted before the point " +"number [code]at_position[/code], moving that point (and every point after) " +"after the inserted point. If [code]at_position[/code] is not given, or is an " +"illegal value ([code]at_position <0[/code] or [code]at_position >= [method " +"get_point_count][/code]), the point will be appended at the end of the point " +"list." +msgstr "" + +#: doc/classes/Curve3D.xml msgid "Returns the cache of points as a [PoolVector3Array]." msgstr "" @@ -19781,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" @@ -22574,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 @@ -23460,10 +23702,13 @@ msgstr "" #: doc/classes/Environment.xml msgid "" -"Keeps on screen every pixel drawn in the background. This is the fastest " -"background mode, but it can only be safely used in fully-interior scenes (no " -"visible sky or sky reflections). If enabled in a scene where the background " -"is visible, \"ghost trail\" artifacts will be visible when moving the camera." +"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 " +"not be faster than clearing the background, and can be significantly slower, " +"particularly on mobile.\n" +"It can only be safely used in fully-interior scenes (no visible sky or sky " +"reflections). If enabled in a scene where the background is visible, \"ghost " +"trail\" artifacts will be visible when moving the camera." msgstr "" #: doc/classes/Environment.xml @@ -26917,14 +27162,14 @@ msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Depth of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the depth of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Width of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the width of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HFlowContainer.xml @@ -29166,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 @@ -29178,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 @@ -29313,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 " @@ -29327,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 @@ -29338,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 " @@ -29690,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 @@ -29710,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 " @@ -29724,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 @@ -29757,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 @@ -30289,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 @@ -32763,6 +33008,13 @@ msgstr "" msgid "If [code]true[/code], the context menu will appear when right-clicked." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml +#: doc/classes/TextEdit.xml +msgid "" +"If [code]true[/code], the selected text will be deselected when focus is " +"lost." +msgstr "" + #: doc/classes/LineEdit.xml msgid "" "If [code]false[/code], existing text cannot be modified and new text cannot " @@ -32798,6 +33050,13 @@ msgid "" "[/codeblock]" msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +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 "" + #: doc/classes/LineEdit.xml msgid "" "Opacity of the [member placeholder_text]. From [code]0[/code] to [code]1[/" @@ -34113,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 "" @@ -36579,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 @@ -37291,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 @@ -37887,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 @@ -38671,6 +38977,11 @@ msgid "Returns the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +#, fuzzy +msgid "Returns the tooltip of the item at index [code]idx[/code]." +msgstr "Mengembalikan nilai hiperbolik tangen dari parameter." + +#: doc/classes/OptionButton.xml msgid "" "Returns the ID of the selected item, or [code]0[/code] if no item is " "selected." @@ -38724,6 +39035,11 @@ msgid "Sets the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +#, fuzzy +msgid "Sets the tooltip of the item at index [code]idx[/code]." +msgstr "Mengembalikan nilai hiperbolik tangen dari parameter." + +#: doc/classes/OptionButton.xml msgid "" "The index of the currently selected item, or [code]-1[/code] if no item is " "selected." @@ -39280,6 +39596,23 @@ msgstr "" #: doc/classes/OS.xml msgid "" +"Returns the current refresh rate of the specified screen. If [code]screen[/" +"code] is [code]-1[/code] (the default value), the current screen will be " +"used.\n" +"[b]Note:[/b] Returns [code]-1.0[/code] if Godot fails to find the refresh " +"rate for the specified screen. On HTML5, [method get_screen_refresh_rate] " +"will always return [code]-1.0[/code] as there is no way to retrieve the " +"refresh rate on that platform.\n" +"To fallback to a default refresh rate if the method fails, try:\n" +"[codeblock]\n" +"var refresh_rate = OS.get_screen_refresh_rate()\n" +"if refresh_rate < 0:\n" +" refresh_rate = 60.0\n" +"[/codeblock]" +msgstr "" + +#: doc/classes/OS.xml +msgid "" "Return the scale factor of the specified screen by index. If [code]screen[/" "code] is [code]-1[/code] (the default value), the current screen will be " "used.\n" @@ -43121,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 @@ -45653,6 +45989,12 @@ msgstr "" #: doc/classes/ProjectSettings.xml 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 "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], enables warnings when a function is declared with the " "same name as a constant." msgstr "" @@ -46076,6 +46418,19 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If enabled, the moment [member Viewport.gui_disable_input] is set to " +"[code]false[/code] to disable GUI input in a viewport, current mouse over " +"and mouse focus will be dropped.\n" +"That behavior helps to keep a robust GUI state, with no surprises when input " +"is resumed regardless what has happened in the meantime.\n" +"If disabled, the legacy behavior is used, which consists in just not doing " +"anything besides the GUI input disable itself.\n" +"[b]Note:[/b] This is set to [code]true[/code] by default for new projects " +"and is the recommended setting." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], swaps OK and Cancel buttons in dialogs on Windows and " "UWP to follow interface conventions." msgstr "" @@ -47045,6 +47400,16 @@ msgid "" msgstr "" #: doc/classes/ProjectSettings.xml +msgid "" +"If [code]true[/code], smooths out collision with trimesh shapes " +"([ConcavePolygonShape]) by telling the Bullet physics engine to generate " +"internal edge information for every trimesh shape created.\n" +"[b]Note:[/b] Only effective if [member physics/3d/physics_engine] is set to " +"[code]DEFAULT[/code] or [code]Bullet[/code], [i]not[/i] [code]GodotPhysics[/" +"code]." +msgstr "" + +#: doc/classes/ProjectSettings.xml msgid "Enables [member Viewport.physics_object_picking] on the root viewport." msgstr "" @@ -47458,6 +47823,14 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"An override for [code]rendering/gles3/shaders/shader_compilation_mode[/" +"code], so asynchronous compilation can be disabled for mobile.\n" +"You may want to do that since mobile GPUs generally won't support " +"ubershaders due to their complexity." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Max buffer size for blend shapes. Any blend shape bigger than this will not " "work." msgstr "" @@ -48390,13 +48763,13 @@ msgstr "" #: doc/classes/Range.xml msgid "" -"Binds two ranges together along with any ranges previously grouped with " +"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 "" #: doc/classes/Range.xml -msgid "Stops range from sharing its member variables with any other." +msgid "Stops the [Range] from sharing its member variables with any other." msgstr "" #: doc/classes/Range.xml @@ -48463,7 +48836,14 @@ msgid "" msgstr "" #: doc/classes/Range.xml -msgid "Emitted when [member value] changes." +msgid "" +"Emitted when [member value] changes. When used on a [Slider], this is called " +"continuously while dragging (potentially every frame). If you are performing " +"an expensive operation in a function connected to [signal value_changed], " +"consider using a [i]debouncing[/i] [Timer] to call the function less often.\n" +"[b]Note:[/b] Unlike signals such as [signal LineEdit.text_changed], [signal " +"value_changed] is also emitted when [code]value[/code] is set directly via " +"code." msgstr "" #: doc/classes/RayCast.xml doc/classes/RayCast2D.xml @@ -55765,11 +56145,11 @@ msgid "" "Returns [code]true[/code] if this string contains a valid float. This is " "inclusive of integers, and also supports exponents:\n" "[codeblock]\n" -"print(\"1.7\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"7e3\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"Hello\".is_valid_float()) # Prints \"false\"\n" +"print(\"1.7\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"7e3\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55795,9 +56175,9 @@ msgid "" "identifier may contain only letters, digits and underscores ([code]_[/code]) " "and the first character may not be a digit.\n" "[codeblock]\n" -"print(\"good_ident_1\".is_valid_identifier()) # Prints \"true\"\n" -"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"false\"\n" -"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"false\"\n" +"print(\"good_ident_1\".is_valid_identifier()) # Prints \"True\"\n" +"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"False\"\n" +"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55805,11 +56185,11 @@ msgstr "" msgid "" "Returns [code]true[/code] if this string contains a valid integer.\n" "[codeblock]\n" -"print(\"7\".is_valid_int()) # Prints \"true\"\n" -"print(\"14.6\".is_valid_int()) # Prints \"false\"\n" -"print(\"L\".is_valid_int()) # Prints \"false\"\n" -"print(\"+3\".is_valid_int()) # Prints \"true\"\n" -"print(\"-12\".is_valid_int()) # Prints \"true\"\n" +"print(\"7\".is_valid_int()) # Prints \"True\"\n" +"print(\"14.6\".is_valid_int()) # Prints \"False\"\n" +"print(\"L\".is_valid_int()) # Prints \"False\"\n" +"print(\"+3\".is_valid_int()) # Prints \"True\"\n" +"print(\"-12\".is_valid_int()) # Prints \"True\"\n" "[/codeblock]" msgstr "" @@ -56005,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 "" @@ -57600,6 +57980,12 @@ msgid "Returns if the given line is wrapped." msgstr "" #: doc/classes/TextEdit.xml +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 "" + +#: doc/classes/TextEdit.xml msgid "Returns [code]true[/code] if the selection is active." msgstr "" @@ -59815,6 +60201,13 @@ msgstr "" #: doc/classes/Time.xml msgid "" +"Converts the given timezone offset in minutes to a timezone offset string. " +"For example, -480 returns \"-08:00\", 345 returns \"+05:45\", and 0 returns " +"\"+00:00\"." +msgstr "" + +#: doc/classes/Time.xml +msgid "" "Returns the amount of time passed in milliseconds since the engine started.\n" "Will always be positive or 0 and uses a 64-bit value (it will wrap after " "roughly 500 million years)." @@ -63470,6 +63863,10 @@ msgid "Returns [code]true[/code] if there are visible modals on-screen." msgstr "" #: doc/classes/Viewport.xml +msgid "Returns [code]true[/code] if the drag operation is successful." +msgstr "" + +#: doc/classes/Viewport.xml msgid "" "Returns [code]true[/code] if the viewport is currently performing a drag " "operation." diff --git a/doc/translations/is.po b/doc/translations/is.po index 80c026c0f8..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 @@ -15849,6 +15869,10 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "Returns [code]true[/code] if drag operation is successful." +msgstr "" + +#: doc/classes/Control.xml msgid "" "Invalidates the size cache in this node and in parent nodes up to toplevel. " "Intended to be used with [method get_minimum_size] when the return value is " @@ -16269,8 +16293,9 @@ msgstr "" #: doc/classes/Control.xml msgid "" "By default, the node's pivot is its top-left corner. When you change its " -"[member rect_scale], it will scale around this pivot. Set this property to " -"[member rect_size] / 2 to center the pivot in the node's rectangle." +"[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 "" #: doc/classes/Control.xml @@ -18614,10 +18639,10 @@ msgid "" "further calculations." msgstr "" -#: doc/classes/Curve2D.xml doc/classes/Curve3D.xml +#: doc/classes/Curve2D.xml msgid "" -"Adds a point to a curve at [code]position[/code], with control points " -"[code]in[/code] and [code]out[/code].\n" +"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" "If [code]at_position[/code] is given, the point is inserted before the point " "number [code]at_position[/code], moving that point (and every point after) " "after the inserted point. If [code]at_position[/code] is not given, or is an " @@ -18768,6 +18793,18 @@ msgid "" msgstr "" #: doc/classes/Curve3D.xml +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" +"If [code]at_position[/code] is given, the point is inserted before the point " +"number [code]at_position[/code], moving that point (and every point after) " +"after the inserted point. If [code]at_position[/code] is not given, or is an " +"illegal value ([code]at_position <0[/code] or [code]at_position >= [method " +"get_point_count][/code]), the point will be appended at the end of the point " +"list." +msgstr "" + +#: doc/classes/Curve3D.xml msgid "Returns the cache of points as a [PoolVector3Array]." msgstr "" @@ -19573,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" @@ -22365,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 @@ -23248,10 +23285,13 @@ msgstr "" #: doc/classes/Environment.xml msgid "" -"Keeps on screen every pixel drawn in the background. This is the fastest " -"background mode, but it can only be safely used in fully-interior scenes (no " -"visible sky or sky reflections). If enabled in a scene where the background " -"is visible, \"ghost trail\" artifacts will be visible when moving the camera." +"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 " +"not be faster than clearing the background, and can be significantly slower, " +"particularly on mobile.\n" +"It can only be safely used in fully-interior scenes (no visible sky or sky " +"reflections). If enabled in a scene where the background is visible, \"ghost " +"trail\" artifacts will be visible when moving the camera." msgstr "" #: doc/classes/Environment.xml @@ -26702,14 +26742,14 @@ msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Depth of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the depth of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Width of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the width of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HFlowContainer.xml @@ -28951,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 @@ -28963,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 @@ -29098,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 " @@ -29112,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 @@ -29123,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 " @@ -29475,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 @@ -29495,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 " @@ -29509,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 @@ -29542,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 @@ -30074,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 @@ -32548,6 +32588,13 @@ msgstr "" msgid "If [code]true[/code], the context menu will appear when right-clicked." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml +#: doc/classes/TextEdit.xml +msgid "" +"If [code]true[/code], the selected text will be deselected when focus is " +"lost." +msgstr "" + #: doc/classes/LineEdit.xml msgid "" "If [code]false[/code], existing text cannot be modified and new text cannot " @@ -32583,6 +32630,13 @@ msgid "" "[/codeblock]" msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +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 "" + #: doc/classes/LineEdit.xml msgid "" "Opacity of the [member placeholder_text]. From [code]0[/code] to [code]1[/" @@ -33898,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 "" @@ -36350,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 @@ -37062,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 @@ -37658,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 @@ -38442,6 +38543,10 @@ msgid "Returns the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +msgid "Returns the tooltip of the item at index [code]idx[/code]." +msgstr "" + +#: doc/classes/OptionButton.xml msgid "" "Returns the ID of the selected item, or [code]0[/code] if no item is " "selected." @@ -38495,6 +38600,10 @@ msgid "Sets the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +msgid "Sets the tooltip of the item at index [code]idx[/code]." +msgstr "" + +#: doc/classes/OptionButton.xml msgid "" "The index of the currently selected item, or [code]-1[/code] if no item is " "selected." @@ -39051,6 +39160,23 @@ msgstr "" #: doc/classes/OS.xml msgid "" +"Returns the current refresh rate of the specified screen. If [code]screen[/" +"code] is [code]-1[/code] (the default value), the current screen will be " +"used.\n" +"[b]Note:[/b] Returns [code]-1.0[/code] if Godot fails to find the refresh " +"rate for the specified screen. On HTML5, [method get_screen_refresh_rate] " +"will always return [code]-1.0[/code] as there is no way to retrieve the " +"refresh rate on that platform.\n" +"To fallback to a default refresh rate if the method fails, try:\n" +"[codeblock]\n" +"var refresh_rate = OS.get_screen_refresh_rate()\n" +"if refresh_rate < 0:\n" +" refresh_rate = 60.0\n" +"[/codeblock]" +msgstr "" + +#: doc/classes/OS.xml +msgid "" "Return the scale factor of the specified screen by index. If [code]screen[/" "code] is [code]-1[/code] (the default value), the current screen will be " "used.\n" @@ -42877,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 @@ -45407,6 +45536,12 @@ msgstr "" #: doc/classes/ProjectSettings.xml 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 "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], enables warnings when a function is declared with the " "same name as a constant." msgstr "" @@ -45830,6 +45965,19 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If enabled, the moment [member Viewport.gui_disable_input] is set to " +"[code]false[/code] to disable GUI input in a viewport, current mouse over " +"and mouse focus will be dropped.\n" +"That behavior helps to keep a robust GUI state, with no surprises when input " +"is resumed regardless what has happened in the meantime.\n" +"If disabled, the legacy behavior is used, which consists in just not doing " +"anything besides the GUI input disable itself.\n" +"[b]Note:[/b] This is set to [code]true[/code] by default for new projects " +"and is the recommended setting." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], swaps OK and Cancel buttons in dialogs on Windows and " "UWP to follow interface conventions." msgstr "" @@ -46799,6 +46947,16 @@ msgid "" msgstr "" #: doc/classes/ProjectSettings.xml +msgid "" +"If [code]true[/code], smooths out collision with trimesh shapes " +"([ConcavePolygonShape]) by telling the Bullet physics engine to generate " +"internal edge information for every trimesh shape created.\n" +"[b]Note:[/b] Only effective if [member physics/3d/physics_engine] is set to " +"[code]DEFAULT[/code] or [code]Bullet[/code], [i]not[/i] [code]GodotPhysics[/" +"code]." +msgstr "" + +#: doc/classes/ProjectSettings.xml msgid "Enables [member Viewport.physics_object_picking] on the root viewport." msgstr "" @@ -47212,6 +47370,14 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"An override for [code]rendering/gles3/shaders/shader_compilation_mode[/" +"code], so asynchronous compilation can be disabled for mobile.\n" +"You may want to do that since mobile GPUs generally won't support " +"ubershaders due to their complexity." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Max buffer size for blend shapes. Any blend shape bigger than this will not " "work." msgstr "" @@ -48144,13 +48310,13 @@ msgstr "" #: doc/classes/Range.xml msgid "" -"Binds two ranges together along with any ranges previously grouped with " +"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 "" #: doc/classes/Range.xml -msgid "Stops range from sharing its member variables with any other." +msgid "Stops the [Range] from sharing its member variables with any other." msgstr "" #: doc/classes/Range.xml @@ -48217,7 +48383,14 @@ msgid "" msgstr "" #: doc/classes/Range.xml -msgid "Emitted when [member value] changes." +msgid "" +"Emitted when [member value] changes. When used on a [Slider], this is called " +"continuously while dragging (potentially every frame). If you are performing " +"an expensive operation in a function connected to [signal value_changed], " +"consider using a [i]debouncing[/i] [Timer] to call the function less often.\n" +"[b]Note:[/b] Unlike signals such as [signal LineEdit.text_changed], [signal " +"value_changed] is also emitted when [code]value[/code] is set directly via " +"code." msgstr "" #: doc/classes/RayCast.xml doc/classes/RayCast2D.xml @@ -55517,11 +55690,11 @@ msgid "" "Returns [code]true[/code] if this string contains a valid float. This is " "inclusive of integers, and also supports exponents:\n" "[codeblock]\n" -"print(\"1.7\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"7e3\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"Hello\".is_valid_float()) # Prints \"false\"\n" +"print(\"1.7\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"7e3\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55547,9 +55720,9 @@ msgid "" "identifier may contain only letters, digits and underscores ([code]_[/code]) " "and the first character may not be a digit.\n" "[codeblock]\n" -"print(\"good_ident_1\".is_valid_identifier()) # Prints \"true\"\n" -"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"false\"\n" -"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"false\"\n" +"print(\"good_ident_1\".is_valid_identifier()) # Prints \"True\"\n" +"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"False\"\n" +"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55557,11 +55730,11 @@ msgstr "" msgid "" "Returns [code]true[/code] if this string contains a valid integer.\n" "[codeblock]\n" -"print(\"7\".is_valid_int()) # Prints \"true\"\n" -"print(\"14.6\".is_valid_int()) # Prints \"false\"\n" -"print(\"L\".is_valid_int()) # Prints \"false\"\n" -"print(\"+3\".is_valid_int()) # Prints \"true\"\n" -"print(\"-12\".is_valid_int()) # Prints \"true\"\n" +"print(\"7\".is_valid_int()) # Prints \"True\"\n" +"print(\"14.6\".is_valid_int()) # Prints \"False\"\n" +"print(\"L\".is_valid_int()) # Prints \"False\"\n" +"print(\"+3\".is_valid_int()) # Prints \"True\"\n" +"print(\"-12\".is_valid_int()) # Prints \"True\"\n" "[/codeblock]" msgstr "" @@ -55757,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 "" @@ -57348,6 +57521,12 @@ msgid "Returns if the given line is wrapped." msgstr "" #: doc/classes/TextEdit.xml +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 "" + +#: doc/classes/TextEdit.xml msgid "Returns [code]true[/code] if the selection is active." msgstr "" @@ -59563,6 +59742,13 @@ msgstr "" #: doc/classes/Time.xml msgid "" +"Converts the given timezone offset in minutes to a timezone offset string. " +"For example, -480 returns \"-08:00\", 345 returns \"+05:45\", and 0 returns " +"\"+00:00\"." +msgstr "" + +#: doc/classes/Time.xml +msgid "" "Returns the amount of time passed in milliseconds since the engine started.\n" "Will always be positive or 0 and uses a 64-bit value (it will wrap after " "roughly 500 million years)." @@ -63217,6 +63403,10 @@ msgid "Returns [code]true[/code] if there are visible modals on-screen." msgstr "" #: doc/classes/Viewport.xml +msgid "Returns [code]true[/code] if the drag operation is successful." +msgstr "" + +#: doc/classes/Viewport.xml msgid "" "Returns [code]true[/code] if the viewport is currently performing a drag " "operation." diff --git a/doc/translations/it.po b/doc/translations/it.po index dcafac6cc5..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 @@ -16918,6 +16969,11 @@ msgstr "" "esiste, [code]false[/code] altrimenti." #: doc/classes/Control.xml +#, fuzzy +msgid "Returns [code]true[/code] if drag operation is successful." +msgstr "Ritorna [code]true[/code] se [Rect2i] è piano o vuoto." + +#: doc/classes/Control.xml msgid "" "Invalidates the size cache in this node and in parent nodes up to toplevel. " "Intended to be used with [method get_minimum_size] when the return value is " @@ -17344,8 +17400,9 @@ msgstr "" #: doc/classes/Control.xml msgid "" "By default, the node's pivot is its top-left corner. When you change its " -"[member rect_scale], it will scale around this pivot. Set this property to " -"[member rect_size] / 2 to center the pivot in the node's rectangle." +"[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 "" #: doc/classes/Control.xml @@ -19689,10 +19746,10 @@ msgid "" "further calculations." msgstr "" -#: doc/classes/Curve2D.xml doc/classes/Curve3D.xml +#: doc/classes/Curve2D.xml msgid "" -"Adds a point to a curve at [code]position[/code], with control points " -"[code]in[/code] and [code]out[/code].\n" +"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" "If [code]at_position[/code] is given, the point is inserted before the point " "number [code]at_position[/code], moving that point (and every point after) " "after the inserted point. If [code]at_position[/code] is not given, or is an " @@ -19844,6 +19901,18 @@ msgid "" msgstr "" #: doc/classes/Curve3D.xml +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" +"If [code]at_position[/code] is given, the point is inserted before the point " +"number [code]at_position[/code], moving that point (and every point after) " +"after the inserted point. If [code]at_position[/code] is not given, or is an " +"illegal value ([code]at_position <0[/code] or [code]at_position >= [method " +"get_point_count][/code]), the point will be appended at the end of the point " +"list." +msgstr "" + +#: doc/classes/Curve3D.xml #, fuzzy msgid "Returns the cache of points as a [PoolVector3Array]." msgstr "Restituisce l'arco-seno del parametro." @@ -20653,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" @@ -23454,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 @@ -24340,10 +24409,13 @@ msgstr "" #: doc/classes/Environment.xml msgid "" -"Keeps on screen every pixel drawn in the background. This is the fastest " -"background mode, but it can only be safely used in fully-interior scenes (no " -"visible sky or sky reflections). If enabled in a scene where the background " -"is visible, \"ghost trail\" artifacts will be visible when moving the camera." +"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 " +"not be faster than clearing the background, and can be significantly slower, " +"particularly on mobile.\n" +"It can only be safely used in fully-interior scenes (no visible sky or sky " +"reflections). If enabled in a scene where the background is visible, \"ghost " +"trail\" artifacts will be visible when moving the camera." msgstr "" #: doc/classes/Environment.xml @@ -27820,14 +27892,14 @@ msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Depth of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the depth of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Width of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the width of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HFlowContainer.xml @@ -30074,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 @@ -30086,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 @@ -30221,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 " @@ -30235,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 @@ -30246,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 " @@ -30599,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 @@ -30619,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 " @@ -30633,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 @@ -30666,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 @@ -31200,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 @@ -33680,6 +33752,16 @@ msgstr "" msgid "If [code]true[/code], the context menu will appear when right-clicked." msgstr "" +#: 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 "" +"Se [code] vero [/code], i nodi figli sono ordinati, altrimenti l'ordinamento " +"è disabilitato." + #: doc/classes/LineEdit.xml msgid "" "If [code]false[/code], existing text cannot be modified and new text cannot " @@ -33715,6 +33797,13 @@ msgid "" "[/codeblock]" msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +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 "" + #: doc/classes/LineEdit.xml msgid "" "Opacity of the [member placeholder_text]. From [code]0[/code] to [code]1[/" @@ -35031,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 "" @@ -37520,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 @@ -38232,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 @@ -38832,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 @@ -39619,6 +39755,11 @@ msgid "Returns the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +#, fuzzy +msgid "Returns the tooltip of the item at index [code]idx[/code]." +msgstr "Calcola il prodotto vettoriale di questo vettore e [code]b[/code]." + +#: doc/classes/OptionButton.xml msgid "" "Returns the ID of the selected item, or [code]0[/code] if no item is " "selected." @@ -39672,6 +39813,11 @@ msgid "Sets the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +#, fuzzy +msgid "Sets the tooltip of the item at index [code]idx[/code]." +msgstr "Calcola il prodotto vettoriale di questo vettore e [code]b[/code]." + +#: doc/classes/OptionButton.xml msgid "" "The index of the currently selected item, or [code]-1[/code] if no item is " "selected." @@ -40232,6 +40378,23 @@ msgstr "" #: doc/classes/OS.xml msgid "" +"Returns the current refresh rate of the specified screen. If [code]screen[/" +"code] is [code]-1[/code] (the default value), the current screen will be " +"used.\n" +"[b]Note:[/b] Returns [code]-1.0[/code] if Godot fails to find the refresh " +"rate for the specified screen. On HTML5, [method get_screen_refresh_rate] " +"will always return [code]-1.0[/code] as there is no way to retrieve the " +"refresh rate on that platform.\n" +"To fallback to a default refresh rate if the method fails, try:\n" +"[codeblock]\n" +"var refresh_rate = OS.get_screen_refresh_rate()\n" +"if refresh_rate < 0:\n" +" refresh_rate = 60.0\n" +"[/codeblock]" +msgstr "" + +#: doc/classes/OS.xml +msgid "" "Return the scale factor of the specified screen by index. If [code]screen[/" "code] is [code]-1[/code] (the default value), the current screen will be " "used.\n" @@ -44094,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 @@ -46631,6 +46797,12 @@ msgstr "" #: doc/classes/ProjectSettings.xml 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 "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], enables warnings when a function is declared with the " "same name as a constant." msgstr "" @@ -47054,6 +47226,19 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If enabled, the moment [member Viewport.gui_disable_input] is set to " +"[code]false[/code] to disable GUI input in a viewport, current mouse over " +"and mouse focus will be dropped.\n" +"That behavior helps to keep a robust GUI state, with no surprises when input " +"is resumed regardless what has happened in the meantime.\n" +"If disabled, the legacy behavior is used, which consists in just not doing " +"anything besides the GUI input disable itself.\n" +"[b]Note:[/b] This is set to [code]true[/code] by default for new projects " +"and is the recommended setting." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], swaps OK and Cancel buttons in dialogs on Windows and " "UWP to follow interface conventions." msgstr "" @@ -48023,6 +48208,16 @@ msgid "" msgstr "" #: doc/classes/ProjectSettings.xml +msgid "" +"If [code]true[/code], smooths out collision with trimesh shapes " +"([ConcavePolygonShape]) by telling the Bullet physics engine to generate " +"internal edge information for every trimesh shape created.\n" +"[b]Note:[/b] Only effective if [member physics/3d/physics_engine] is set to " +"[code]DEFAULT[/code] or [code]Bullet[/code], [i]not[/i] [code]GodotPhysics[/" +"code]." +msgstr "" + +#: doc/classes/ProjectSettings.xml msgid "Enables [member Viewport.physics_object_picking] on the root viewport." msgstr "" @@ -48436,6 +48631,14 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"An override for [code]rendering/gles3/shaders/shader_compilation_mode[/" +"code], so asynchronous compilation can be disabled for mobile.\n" +"You may want to do that since mobile GPUs generally won't support " +"ubershaders due to their complexity." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Max buffer size for blend shapes. Any blend shape bigger than this will not " "work." msgstr "" @@ -49371,13 +49574,13 @@ msgstr "" #: doc/classes/Range.xml msgid "" -"Binds two ranges together along with any ranges previously grouped with " +"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 "" #: doc/classes/Range.xml -msgid "Stops range from sharing its member variables with any other." +msgid "Stops the [Range] from sharing its member variables with any other." msgstr "" #: doc/classes/Range.xml @@ -49444,7 +49647,14 @@ msgid "" msgstr "" #: doc/classes/Range.xml -msgid "Emitted when [member value] changes." +msgid "" +"Emitted when [member value] changes. When used on a [Slider], this is called " +"continuously while dragging (potentially every frame). If you are performing " +"an expensive operation in a function connected to [signal value_changed], " +"consider using a [i]debouncing[/i] [Timer] to call the function less often.\n" +"[b]Note:[/b] Unlike signals such as [signal LineEdit.text_changed], [signal " +"value_changed] is also emitted when [code]value[/code] is set directly via " +"code." msgstr "" #: doc/classes/RayCast.xml doc/classes/RayCast2D.xml @@ -56763,11 +56973,11 @@ msgid "" "Returns [code]true[/code] if this string contains a valid float. This is " "inclusive of integers, and also supports exponents:\n" "[codeblock]\n" -"print(\"1.7\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"7e3\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"Hello\".is_valid_float()) # Prints \"false\"\n" +"print(\"1.7\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"7e3\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -56793,9 +57003,9 @@ msgid "" "identifier may contain only letters, digits and underscores ([code]_[/code]) " "and the first character may not be a digit.\n" "[codeblock]\n" -"print(\"good_ident_1\".is_valid_identifier()) # Prints \"true\"\n" -"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"false\"\n" -"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"false\"\n" +"print(\"good_ident_1\".is_valid_identifier()) # Prints \"True\"\n" +"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"False\"\n" +"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -56803,11 +57013,11 @@ msgstr "" msgid "" "Returns [code]true[/code] if this string contains a valid integer.\n" "[codeblock]\n" -"print(\"7\".is_valid_int()) # Prints \"true\"\n" -"print(\"14.6\".is_valid_int()) # Prints \"false\"\n" -"print(\"L\".is_valid_int()) # Prints \"false\"\n" -"print(\"+3\".is_valid_int()) # Prints \"true\"\n" -"print(\"-12\".is_valid_int()) # Prints \"true\"\n" +"print(\"7\".is_valid_int()) # Prints \"True\"\n" +"print(\"14.6\".is_valid_int()) # Prints \"False\"\n" +"print(\"L\".is_valid_int()) # Prints \"False\"\n" +"print(\"+3\".is_valid_int()) # Prints \"True\"\n" +"print(\"-12\".is_valid_int()) # Prints \"True\"\n" "[/codeblock]" msgstr "" @@ -57003,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 "" @@ -58611,6 +58821,15 @@ msgid "Returns if the given line is wrapped." msgstr "Restituisce la tangente del parametro." #: 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 "" +"Restituisce [code]true[/code] se [code]a[/code] e [code]b[/code] sono " +"approssimativamente uguali tra di loro." + +#: doc/classes/TextEdit.xml msgid "Returns [code]true[/code] if the selection is active." msgstr "" @@ -60849,6 +61068,13 @@ msgstr "" #: doc/classes/Time.xml msgid "" +"Converts the given timezone offset in minutes to a timezone offset string. " +"For example, -480 returns \"-08:00\", 345 returns \"+05:45\", and 0 returns " +"\"+00:00\"." +msgstr "" + +#: doc/classes/Time.xml +msgid "" "Returns the amount of time passed in milliseconds since the engine started.\n" "Will always be positive or 0 and uses a 64-bit value (it will wrap after " "roughly 500 million years)." @@ -64542,6 +64768,11 @@ msgid "Returns [code]true[/code] if there are visible modals on-screen." msgstr "Ritorna [code]true[/code] se [Rect2i] è piano o vuoto." #: doc/classes/Viewport.xml +#, fuzzy +msgid "Returns [code]true[/code] if the drag operation is successful." +msgstr "Ritorna [code]true[/code] se [Rect2i] è piano o vuoto." + +#: doc/classes/Viewport.xml msgid "" "Returns [code]true[/code] if the viewport is currently performing a drag " "operation." @@ -73323,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 ddb9eb6efe..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 @@ -18941,6 +18959,11 @@ msgstr "" "code]、そうでない場合は [code]false[/code] を返します。" #: doc/classes/Control.xml +#, fuzzy +msgid "Returns [code]true[/code] if drag operation is successful." +msgstr "アニメーションが再生中であれば [code]true[/code] を返します。" + +#: doc/classes/Control.xml msgid "" "Invalidates the size cache in this node and in parent nodes up to toplevel. " "Intended to be used with [method get_minimum_size] when the return value is " @@ -19367,8 +19390,9 @@ msgstr "" #: doc/classes/Control.xml msgid "" "By default, the node's pivot is its top-left corner. When you change its " -"[member rect_scale], it will scale around this pivot. Set this property to " -"[member rect_size] / 2 to center the pivot in the node's rectangle." +"[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 "" #: doc/classes/Control.xml @@ -21763,10 +21787,10 @@ msgid "" "further calculations." msgstr "" -#: doc/classes/Curve2D.xml doc/classes/Curve3D.xml +#: doc/classes/Curve2D.xml msgid "" -"Adds a point to a curve at [code]position[/code], with control points " -"[code]in[/code] and [code]out[/code].\n" +"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" "If [code]at_position[/code] is given, the point is inserted before the point " "number [code]at_position[/code], moving that point (and every point after) " "after the inserted point. If [code]at_position[/code] is not given, or is an " @@ -21918,6 +21942,18 @@ msgid "" msgstr "" #: doc/classes/Curve3D.xml +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" +"If [code]at_position[/code] is given, the point is inserted before the point " +"number [code]at_position[/code], moving that point (and every point after) " +"after the inserted point. If [code]at_position[/code] is not given, or is an " +"illegal value ([code]at_position <0[/code] or [code]at_position >= [method " +"get_point_count][/code]), the point will be appended at the end of the point " +"list." +msgstr "" + +#: doc/classes/Curve3D.xml #, fuzzy msgid "Returns the cache of points as a [PoolVector3Array]." msgstr "ブレンド軸上のポイントの数を返します。" @@ -22727,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" @@ -25541,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 @@ -26439,10 +26475,13 @@ msgstr "" #: doc/classes/Environment.xml msgid "" -"Keeps on screen every pixel drawn in the background. This is the fastest " -"background mode, but it can only be safely used in fully-interior scenes (no " -"visible sky or sky reflections). If enabled in a scene where the background " -"is visible, \"ghost trail\" artifacts will be visible when moving the camera." +"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 " +"not be faster than clearing the background, and can be significantly slower, " +"particularly on mobile.\n" +"It can only be safely used in fully-interior scenes (no visible sky or sky " +"reflections). If enabled in a scene where the background is visible, \"ghost " +"trail\" artifacts will be visible when moving the camera." msgstr "" #: doc/classes/Environment.xml @@ -29944,14 +29983,14 @@ msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Depth of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the depth of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Width of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the width of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HFlowContainer.xml @@ -32204,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 @@ -32216,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 @@ -32351,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 " @@ -32365,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 @@ -32376,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 " @@ -32731,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 @@ -32751,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 " @@ -32765,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 @@ -32798,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 @@ -33332,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 @@ -35847,6 +35886,14 @@ msgstr "" msgid "If [code]true[/code], the context menu will appear when right-clicked." msgstr "" +#: 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] であれば、テクスチャは中央になります。" + #: doc/classes/LineEdit.xml msgid "" "If [code]false[/code], existing text cannot be modified and new text cannot " @@ -35882,6 +35929,13 @@ msgid "" "[/codeblock]" msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +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 "" + #: doc/classes/LineEdit.xml msgid "" "Opacity of the [member placeholder_text]. From [code]0[/code] to [code]1[/" @@ -37199,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 "" @@ -39715,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 @@ -40430,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 @@ -41027,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 @@ -41818,6 +41919,11 @@ msgid "Returns the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +#, fuzzy +msgid "Returns the tooltip of the item at index [code]idx[/code]." +msgstr "インデックス [code]bus_idx[/code] のバスの音量を dB で返します。" + +#: doc/classes/OptionButton.xml msgid "" "Returns the ID of the selected item, or [code]0[/code] if no item is " "selected." @@ -41871,6 +41977,11 @@ msgid "Sets the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +#, fuzzy +msgid "Sets the tooltip of the item at index [code]idx[/code]." +msgstr "インデックス [code]bus_idx[/code] のバスの音量を dB で返します。" + +#: doc/classes/OptionButton.xml msgid "" "The index of the currently selected item, or [code]-1[/code] if no item is " "selected." @@ -42433,6 +42544,23 @@ msgstr "" #: doc/classes/OS.xml msgid "" +"Returns the current refresh rate of the specified screen. If [code]screen[/" +"code] is [code]-1[/code] (the default value), the current screen will be " +"used.\n" +"[b]Note:[/b] Returns [code]-1.0[/code] if Godot fails to find the refresh " +"rate for the specified screen. On HTML5, [method get_screen_refresh_rate] " +"will always return [code]-1.0[/code] as there is no way to retrieve the " +"refresh rate on that platform.\n" +"To fallback to a default refresh rate if the method fails, try:\n" +"[codeblock]\n" +"var refresh_rate = OS.get_screen_refresh_rate()\n" +"if refresh_rate < 0:\n" +" refresh_rate = 60.0\n" +"[/codeblock]" +msgstr "" + +#: doc/classes/OS.xml +msgid "" "Return the scale factor of the specified screen by index. If [code]screen[/" "code] is [code]-1[/code] (the default value), the current screen will be " "used.\n" @@ -46306,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 @@ -48875,6 +49006,13 @@ 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]の場合、法線マッピングが有効になります。" + +#: doc/classes/ProjectSettings.xml +#, fuzzy +msgid "" "If [code]true[/code], enables warnings when a function is declared with the " "same name as a constant." msgstr "" @@ -49304,6 +49442,19 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If enabled, the moment [member Viewport.gui_disable_input] is set to " +"[code]false[/code] to disable GUI input in a viewport, current mouse over " +"and mouse focus will be dropped.\n" +"That behavior helps to keep a robust GUI state, with no surprises when input " +"is resumed regardless what has happened in the meantime.\n" +"If disabled, the legacy behavior is used, which consists in just not doing " +"anything besides the GUI input disable itself.\n" +"[b]Note:[/b] This is set to [code]true[/code] by default for new projects " +"and is the recommended setting." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], swaps OK and Cancel buttons in dialogs on Windows and " "UWP to follow interface conventions." msgstr "" @@ -50273,6 +50424,16 @@ msgid "" msgstr "" #: doc/classes/ProjectSettings.xml +msgid "" +"If [code]true[/code], smooths out collision with trimesh shapes " +"([ConcavePolygonShape]) by telling the Bullet physics engine to generate " +"internal edge information for every trimesh shape created.\n" +"[b]Note:[/b] Only effective if [member physics/3d/physics_engine] is set to " +"[code]DEFAULT[/code] or [code]Bullet[/code], [i]not[/i] [code]GodotPhysics[/" +"code]." +msgstr "" + +#: doc/classes/ProjectSettings.xml msgid "Enables [member Viewport.physics_object_picking] on the root viewport." msgstr "" @@ -50686,6 +50847,14 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"An override for [code]rendering/gles3/shaders/shader_compilation_mode[/" +"code], so asynchronous compilation can be disabled for mobile.\n" +"You may want to do that since mobile GPUs generally won't support " +"ubershaders due to their complexity." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Max buffer size for blend shapes. Any blend shape bigger than this will not " "work." msgstr "" @@ -51624,13 +51793,13 @@ msgstr "" #: doc/classes/Range.xml msgid "" -"Binds two ranges together along with any ranges previously grouped with " +"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 "" #: doc/classes/Range.xml -msgid "Stops range from sharing its member variables with any other." +msgid "Stops the [Range] from sharing its member variables with any other." msgstr "" #: doc/classes/Range.xml @@ -51697,7 +51866,14 @@ msgid "" msgstr "" #: doc/classes/Range.xml -msgid "Emitted when [member value] changes." +msgid "" +"Emitted when [member value] changes. When used on a [Slider], this is called " +"continuously while dragging (potentially every frame). If you are performing " +"an expensive operation in a function connected to [signal value_changed], " +"consider using a [i]debouncing[/i] [Timer] to call the function less often.\n" +"[b]Note:[/b] Unlike signals such as [signal LineEdit.text_changed], [signal " +"value_changed] is also emitted when [code]value[/code] is set directly via " +"code." msgstr "" #: doc/classes/RayCast.xml doc/classes/RayCast2D.xml @@ -59342,11 +59518,11 @@ msgid "" "Returns [code]true[/code] if this string contains a valid float. This is " "inclusive of integers, and also supports exponents:\n" "[codeblock]\n" -"print(\"1.7\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"7e3\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"Hello\".is_valid_float()) # Prints \"false\"\n" +"print(\"1.7\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"7e3\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -59372,9 +59548,9 @@ msgid "" "identifier may contain only letters, digits and underscores ([code]_[/code]) " "and the first character may not be a digit.\n" "[codeblock]\n" -"print(\"good_ident_1\".is_valid_identifier()) # Prints \"true\"\n" -"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"false\"\n" -"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"false\"\n" +"print(\"good_ident_1\".is_valid_identifier()) # Prints \"True\"\n" +"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"False\"\n" +"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -59382,11 +59558,11 @@ msgstr "" msgid "" "Returns [code]true[/code] if this string contains a valid integer.\n" "[codeblock]\n" -"print(\"7\".is_valid_int()) # Prints \"true\"\n" -"print(\"14.6\".is_valid_int()) # Prints \"false\"\n" -"print(\"L\".is_valid_int()) # Prints \"false\"\n" -"print(\"+3\".is_valid_int()) # Prints \"true\"\n" -"print(\"-12\".is_valid_int()) # Prints \"true\"\n" +"print(\"7\".is_valid_int()) # Prints \"True\"\n" +"print(\"14.6\".is_valid_int()) # Prints \"False\"\n" +"print(\"L\".is_valid_int()) # Prints \"False\"\n" +"print(\"+3\".is_valid_int()) # Prints \"True\"\n" +"print(\"-12\".is_valid_int()) # Prints \"True\"\n" "[/codeblock]" msgstr "" @@ -59582,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 "" @@ -61207,6 +61383,15 @@ 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]a[/code] と [code]b[/code] がほとんど等しいならば [code]true[/" +"code] を返します。" + +#: doc/classes/TextEdit.xml msgid "Returns [code]true[/code] if the selection is active." msgstr "" @@ -63463,6 +63648,13 @@ msgstr "" #: doc/classes/Time.xml msgid "" +"Converts the given timezone offset in minutes to a timezone offset string. " +"For example, -480 returns \"-08:00\", 345 returns \"+05:45\", and 0 returns " +"\"+00:00\"." +msgstr "" + +#: doc/classes/Time.xml +msgid "" "Returns the amount of time passed in milliseconds since the engine started.\n" "Will always be positive or 0 and uses a 64-bit value (it will wrap after " "roughly 500 million years)." @@ -67163,6 +67355,11 @@ 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]を返します。" + +#: doc/classes/Viewport.xml msgid "" "Returns [code]true[/code] if the viewport is currently performing a drag " "operation." diff --git a/doc/translations/ko.po b/doc/translations/ko.po index d4b782b0c0..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 @@ -16015,6 +16035,11 @@ msgid "" msgstr "" #: doc/classes/Control.xml +#, fuzzy +msgid "Returns [code]true[/code] if drag operation is successful." +msgstr "매개변수의 코사인 값을 반환합니다." + +#: doc/classes/Control.xml msgid "" "Invalidates the size cache in this node and in parent nodes up to toplevel. " "Intended to be used with [method get_minimum_size] when the return value is " @@ -16441,8 +16466,9 @@ msgstr "" #: doc/classes/Control.xml msgid "" "By default, the node's pivot is its top-left corner. When you change its " -"[member rect_scale], it will scale around this pivot. Set this property to " -"[member rect_size] / 2 to center the pivot in the node's rectangle." +"[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 "" #: doc/classes/Control.xml @@ -18786,10 +18812,10 @@ msgid "" "further calculations." msgstr "" -#: doc/classes/Curve2D.xml doc/classes/Curve3D.xml +#: doc/classes/Curve2D.xml msgid "" -"Adds a point to a curve at [code]position[/code], with control points " -"[code]in[/code] and [code]out[/code].\n" +"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" "If [code]at_position[/code] is given, the point is inserted before the point " "number [code]at_position[/code], moving that point (and every point after) " "after the inserted point. If [code]at_position[/code] is not given, or is an " @@ -18941,6 +18967,18 @@ msgid "" msgstr "" #: doc/classes/Curve3D.xml +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" +"If [code]at_position[/code] is given, the point is inserted before the point " +"number [code]at_position[/code], moving that point (and every point after) " +"after the inserted point. If [code]at_position[/code] is not given, or is an " +"illegal value ([code]at_position <0[/code] or [code]at_position >= [method " +"get_point_count][/code]), the point will be appended at the end of the point " +"list." +msgstr "" + +#: doc/classes/Curve3D.xml #, fuzzy msgid "Returns the cache of points as a [PoolVector3Array]." msgstr "매개변수의 아크사인 값을 반환합니다." @@ -19810,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" @@ -22603,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 @@ -23489,10 +23527,13 @@ msgstr "" #: doc/classes/Environment.xml msgid "" -"Keeps on screen every pixel drawn in the background. This is the fastest " -"background mode, but it can only be safely used in fully-interior scenes (no " -"visible sky or sky reflections). If enabled in a scene where the background " -"is visible, \"ghost trail\" artifacts will be visible when moving the camera." +"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 " +"not be faster than clearing the background, and can be significantly slower, " +"particularly on mobile.\n" +"It can only be safely used in fully-interior scenes (no visible sky or sky " +"reflections). If enabled in a scene where the background is visible, \"ghost " +"trail\" artifacts will be visible when moving the camera." msgstr "" #: doc/classes/Environment.xml @@ -26948,14 +26989,14 @@ msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Depth of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the depth of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Width of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the width of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HFlowContainer.xml @@ -29205,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 @@ -29217,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 @@ -29352,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 " @@ -29366,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 @@ -29377,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 " @@ -29729,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 @@ -29749,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 " @@ -29763,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 @@ -29796,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 @@ -30329,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 @@ -32805,6 +32846,13 @@ msgstr "" msgid "If [code]true[/code], the context menu will appear when right-clicked." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml +#: doc/classes/TextEdit.xml +msgid "" +"If [code]true[/code], the selected text will be deselected when focus is " +"lost." +msgstr "" + #: doc/classes/LineEdit.xml msgid "" "If [code]false[/code], existing text cannot be modified and new text cannot " @@ -32840,6 +32888,13 @@ msgid "" "[/codeblock]" msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +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 "" + #: doc/classes/LineEdit.xml msgid "" "Opacity of the [member placeholder_text]. From [code]0[/code] to [code]1[/" @@ -34155,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 "" @@ -36758,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 @@ -37470,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 @@ -38067,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 @@ -38851,6 +38953,11 @@ msgid "Returns the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +#, fuzzy +msgid "Returns the tooltip of the item at index [code]idx[/code]." +msgstr "매개변수의 사인 값을 반환합니다." + +#: doc/classes/OptionButton.xml msgid "" "Returns the ID of the selected item, or [code]0[/code] if no item is " "selected." @@ -38904,6 +39011,11 @@ msgid "Sets the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +#, fuzzy +msgid "Sets the tooltip of the item at index [code]idx[/code]." +msgstr "매개변수의 사인 값을 반환합니다." + +#: doc/classes/OptionButton.xml msgid "" "The index of the currently selected item, or [code]-1[/code] if no item is " "selected." @@ -39463,6 +39575,23 @@ msgstr "" #: doc/classes/OS.xml msgid "" +"Returns the current refresh rate of the specified screen. If [code]screen[/" +"code] is [code]-1[/code] (the default value), the current screen will be " +"used.\n" +"[b]Note:[/b] Returns [code]-1.0[/code] if Godot fails to find the refresh " +"rate for the specified screen. On HTML5, [method get_screen_refresh_rate] " +"will always return [code]-1.0[/code] as there is no way to retrieve the " +"refresh rate on that platform.\n" +"To fallback to a default refresh rate if the method fails, try:\n" +"[codeblock]\n" +"var refresh_rate = OS.get_screen_refresh_rate()\n" +"if refresh_rate < 0:\n" +" refresh_rate = 60.0\n" +"[/codeblock]" +msgstr "" + +#: doc/classes/OS.xml +msgid "" "Return the scale factor of the specified screen by index. If [code]screen[/" "code] is [code]-1[/code] (the default value), the current screen will be " "used.\n" @@ -43307,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 @@ -45842,6 +45974,12 @@ msgstr "" #: doc/classes/ProjectSettings.xml 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 "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], enables warnings when a function is declared with the " "same name as a constant." msgstr "" @@ -46265,6 +46403,19 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If enabled, the moment [member Viewport.gui_disable_input] is set to " +"[code]false[/code] to disable GUI input in a viewport, current mouse over " +"and mouse focus will be dropped.\n" +"That behavior helps to keep a robust GUI state, with no surprises when input " +"is resumed regardless what has happened in the meantime.\n" +"If disabled, the legacy behavior is used, which consists in just not doing " +"anything besides the GUI input disable itself.\n" +"[b]Note:[/b] This is set to [code]true[/code] by default for new projects " +"and is the recommended setting." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], swaps OK and Cancel buttons in dialogs on Windows and " "UWP to follow interface conventions." msgstr "" @@ -47234,6 +47385,16 @@ msgid "" msgstr "" #: doc/classes/ProjectSettings.xml +msgid "" +"If [code]true[/code], smooths out collision with trimesh shapes " +"([ConcavePolygonShape]) by telling the Bullet physics engine to generate " +"internal edge information for every trimesh shape created.\n" +"[b]Note:[/b] Only effective if [member physics/3d/physics_engine] is set to " +"[code]DEFAULT[/code] or [code]Bullet[/code], [i]not[/i] [code]GodotPhysics[/" +"code]." +msgstr "" + +#: doc/classes/ProjectSettings.xml msgid "Enables [member Viewport.physics_object_picking] on the root viewport." msgstr "" @@ -47647,6 +47808,14 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"An override for [code]rendering/gles3/shaders/shader_compilation_mode[/" +"code], so asynchronous compilation can be disabled for mobile.\n" +"You may want to do that since mobile GPUs generally won't support " +"ubershaders due to their complexity." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Max buffer size for blend shapes. Any blend shape bigger than this will not " "work." msgstr "" @@ -48579,13 +48748,13 @@ msgstr "" #: doc/classes/Range.xml msgid "" -"Binds two ranges together along with any ranges previously grouped with " +"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 "" #: doc/classes/Range.xml -msgid "Stops range from sharing its member variables with any other." +msgid "Stops the [Range] from sharing its member variables with any other." msgstr "" #: doc/classes/Range.xml @@ -48652,7 +48821,14 @@ msgid "" msgstr "" #: doc/classes/Range.xml -msgid "Emitted when [member value] changes." +msgid "" +"Emitted when [member value] changes. When used on a [Slider], this is called " +"continuously while dragging (potentially every frame). If you are performing " +"an expensive operation in a function connected to [signal value_changed], " +"consider using a [i]debouncing[/i] [Timer] to call the function less often.\n" +"[b]Note:[/b] Unlike signals such as [signal LineEdit.text_changed], [signal " +"value_changed] is also emitted when [code]value[/code] is set directly via " +"code." msgstr "" #: doc/classes/RayCast.xml doc/classes/RayCast2D.xml @@ -55955,11 +56131,11 @@ msgid "" "Returns [code]true[/code] if this string contains a valid float. This is " "inclusive of integers, and also supports exponents:\n" "[codeblock]\n" -"print(\"1.7\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"7e3\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"Hello\".is_valid_float()) # Prints \"false\"\n" +"print(\"1.7\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"7e3\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55985,9 +56161,9 @@ msgid "" "identifier may contain only letters, digits and underscores ([code]_[/code]) " "and the first character may not be a digit.\n" "[codeblock]\n" -"print(\"good_ident_1\".is_valid_identifier()) # Prints \"true\"\n" -"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"false\"\n" -"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"false\"\n" +"print(\"good_ident_1\".is_valid_identifier()) # Prints \"True\"\n" +"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"False\"\n" +"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55995,11 +56171,11 @@ msgstr "" msgid "" "Returns [code]true[/code] if this string contains a valid integer.\n" "[codeblock]\n" -"print(\"7\".is_valid_int()) # Prints \"true\"\n" -"print(\"14.6\".is_valid_int()) # Prints \"false\"\n" -"print(\"L\".is_valid_int()) # Prints \"false\"\n" -"print(\"+3\".is_valid_int()) # Prints \"true\"\n" -"print(\"-12\".is_valid_int()) # Prints \"true\"\n" +"print(\"7\".is_valid_int()) # Prints \"True\"\n" +"print(\"14.6\".is_valid_int()) # Prints \"False\"\n" +"print(\"L\".is_valid_int()) # Prints \"False\"\n" +"print(\"+3\".is_valid_int()) # Prints \"True\"\n" +"print(\"-12\".is_valid_int()) # Prints \"True\"\n" "[/codeblock]" msgstr "" @@ -56195,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 "" @@ -57794,6 +57970,12 @@ msgid "Returns if the given line is wrapped." msgstr "매개변수의 탄젠트 값을 반환합니다." #: doc/classes/TextEdit.xml +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 "" + +#: doc/classes/TextEdit.xml msgid "Returns [code]true[/code] if the selection is active." msgstr "" @@ -60010,6 +60192,13 @@ msgstr "" #: doc/classes/Time.xml msgid "" +"Converts the given timezone offset in minutes to a timezone offset string. " +"For example, -480 returns \"-08:00\", 345 returns \"+05:45\", and 0 returns " +"\"+00:00\"." +msgstr "" + +#: doc/classes/Time.xml +msgid "" "Returns the amount of time passed in milliseconds since the engine started.\n" "Will always be positive or 0 and uses a 64-bit value (it will wrap after " "roughly 500 million years)." @@ -63687,6 +63876,11 @@ msgid "Returns [code]true[/code] if there are visible modals on-screen." msgstr "" #: doc/classes/Viewport.xml +#, fuzzy +msgid "Returns [code]true[/code] if the drag operation is successful." +msgstr "매개변수의 코사인 값을 반환합니다." + +#: doc/classes/Viewport.xml msgid "" "Returns [code]true[/code] if the viewport is currently performing a drag " "operation." diff --git a/doc/translations/lv.po b/doc/translations/lv.po index 97a0990d75..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 @@ -15864,6 +15884,10 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "Returns [code]true[/code] if drag operation is successful." +msgstr "" + +#: doc/classes/Control.xml msgid "" "Invalidates the size cache in this node and in parent nodes up to toplevel. " "Intended to be used with [method get_minimum_size] when the return value is " @@ -16284,8 +16308,9 @@ msgstr "" #: doc/classes/Control.xml msgid "" "By default, the node's pivot is its top-left corner. When you change its " -"[member rect_scale], it will scale around this pivot. Set this property to " -"[member rect_size] / 2 to center the pivot in the node's rectangle." +"[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 "" #: doc/classes/Control.xml @@ -18629,10 +18654,10 @@ msgid "" "further calculations." msgstr "" -#: doc/classes/Curve2D.xml doc/classes/Curve3D.xml +#: doc/classes/Curve2D.xml msgid "" -"Adds a point to a curve at [code]position[/code], with control points " -"[code]in[/code] and [code]out[/code].\n" +"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" "If [code]at_position[/code] is given, the point is inserted before the point " "number [code]at_position[/code], moving that point (and every point after) " "after the inserted point. If [code]at_position[/code] is not given, or is an " @@ -18783,6 +18808,18 @@ msgid "" msgstr "" #: doc/classes/Curve3D.xml +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" +"If [code]at_position[/code] is given, the point is inserted before the point " +"number [code]at_position[/code], moving that point (and every point after) " +"after the inserted point. If [code]at_position[/code] is not given, or is an " +"illegal value ([code]at_position <0[/code] or [code]at_position >= [method " +"get_point_count][/code]), the point will be appended at the end of the point " +"list." +msgstr "" + +#: doc/classes/Curve3D.xml msgid "Returns the cache of points as a [PoolVector3Array]." msgstr "" @@ -19588,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" @@ -22380,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 @@ -23266,10 +23303,13 @@ msgstr "" #: doc/classes/Environment.xml msgid "" -"Keeps on screen every pixel drawn in the background. This is the fastest " -"background mode, but it can only be safely used in fully-interior scenes (no " -"visible sky or sky reflections). If enabled in a scene where the background " -"is visible, \"ghost trail\" artifacts will be visible when moving the camera." +"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 " +"not be faster than clearing the background, and can be significantly slower, " +"particularly on mobile.\n" +"It can only be safely used in fully-interior scenes (no visible sky or sky " +"reflections). If enabled in a scene where the background is visible, \"ghost " +"trail\" artifacts will be visible when moving the camera." msgstr "" #: doc/classes/Environment.xml @@ -26720,14 +26760,14 @@ msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Depth of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the depth of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Width of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the width of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HFlowContainer.xml @@ -28969,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 @@ -28981,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 @@ -29116,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 " @@ -29130,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 @@ -29141,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 " @@ -29493,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 @@ -29513,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 " @@ -29527,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 @@ -29560,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 @@ -30092,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 @@ -32566,6 +32606,13 @@ msgstr "" msgid "If [code]true[/code], the context menu will appear when right-clicked." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml +#: doc/classes/TextEdit.xml +msgid "" +"If [code]true[/code], the selected text will be deselected when focus is " +"lost." +msgstr "" + #: doc/classes/LineEdit.xml msgid "" "If [code]false[/code], existing text cannot be modified and new text cannot " @@ -32601,6 +32648,13 @@ msgid "" "[/codeblock]" msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +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 "" + #: doc/classes/LineEdit.xml msgid "" "Opacity of the [member placeholder_text]. From [code]0[/code] to [code]1[/" @@ -33916,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 "" @@ -36368,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 @@ -37080,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 @@ -37676,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 @@ -38460,6 +38561,10 @@ msgid "Returns the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +msgid "Returns the tooltip of the item at index [code]idx[/code]." +msgstr "" + +#: doc/classes/OptionButton.xml msgid "" "Returns the ID of the selected item, or [code]0[/code] if no item is " "selected." @@ -38513,6 +38618,10 @@ msgid "Sets the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +msgid "Sets the tooltip of the item at index [code]idx[/code]." +msgstr "" + +#: doc/classes/OptionButton.xml msgid "" "The index of the currently selected item, or [code]-1[/code] if no item is " "selected." @@ -39069,6 +39178,23 @@ msgstr "" #: doc/classes/OS.xml msgid "" +"Returns the current refresh rate of the specified screen. If [code]screen[/" +"code] is [code]-1[/code] (the default value), the current screen will be " +"used.\n" +"[b]Note:[/b] Returns [code]-1.0[/code] if Godot fails to find the refresh " +"rate for the specified screen. On HTML5, [method get_screen_refresh_rate] " +"will always return [code]-1.0[/code] as there is no way to retrieve the " +"refresh rate on that platform.\n" +"To fallback to a default refresh rate if the method fails, try:\n" +"[codeblock]\n" +"var refresh_rate = OS.get_screen_refresh_rate()\n" +"if refresh_rate < 0:\n" +" refresh_rate = 60.0\n" +"[/codeblock]" +msgstr "" + +#: doc/classes/OS.xml +msgid "" "Return the scale factor of the specified screen by index. If [code]screen[/" "code] is [code]-1[/code] (the default value), the current screen will be " "used.\n" @@ -42895,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 @@ -45425,6 +45554,12 @@ msgstr "" #: doc/classes/ProjectSettings.xml 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 "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], enables warnings when a function is declared with the " "same name as a constant." msgstr "" @@ -45848,6 +45983,19 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If enabled, the moment [member Viewport.gui_disable_input] is set to " +"[code]false[/code] to disable GUI input in a viewport, current mouse over " +"and mouse focus will be dropped.\n" +"That behavior helps to keep a robust GUI state, with no surprises when input " +"is resumed regardless what has happened in the meantime.\n" +"If disabled, the legacy behavior is used, which consists in just not doing " +"anything besides the GUI input disable itself.\n" +"[b]Note:[/b] This is set to [code]true[/code] by default for new projects " +"and is the recommended setting." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], swaps OK and Cancel buttons in dialogs on Windows and " "UWP to follow interface conventions." msgstr "" @@ -46817,6 +46965,16 @@ msgid "" msgstr "" #: doc/classes/ProjectSettings.xml +msgid "" +"If [code]true[/code], smooths out collision with trimesh shapes " +"([ConcavePolygonShape]) by telling the Bullet physics engine to generate " +"internal edge information for every trimesh shape created.\n" +"[b]Note:[/b] Only effective if [member physics/3d/physics_engine] is set to " +"[code]DEFAULT[/code] or [code]Bullet[/code], [i]not[/i] [code]GodotPhysics[/" +"code]." +msgstr "" + +#: doc/classes/ProjectSettings.xml msgid "Enables [member Viewport.physics_object_picking] on the root viewport." msgstr "" @@ -47230,6 +47388,14 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"An override for [code]rendering/gles3/shaders/shader_compilation_mode[/" +"code], so asynchronous compilation can be disabled for mobile.\n" +"You may want to do that since mobile GPUs generally won't support " +"ubershaders due to their complexity." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Max buffer size for blend shapes. Any blend shape bigger than this will not " "work." msgstr "" @@ -48162,13 +48328,13 @@ msgstr "" #: doc/classes/Range.xml msgid "" -"Binds two ranges together along with any ranges previously grouped with " +"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 "" #: doc/classes/Range.xml -msgid "Stops range from sharing its member variables with any other." +msgid "Stops the [Range] from sharing its member variables with any other." msgstr "" #: doc/classes/Range.xml @@ -48235,7 +48401,14 @@ msgid "" msgstr "" #: doc/classes/Range.xml -msgid "Emitted when [member value] changes." +msgid "" +"Emitted when [member value] changes. When used on a [Slider], this is called " +"continuously while dragging (potentially every frame). If you are performing " +"an expensive operation in a function connected to [signal value_changed], " +"consider using a [i]debouncing[/i] [Timer] to call the function less often.\n" +"[b]Note:[/b] Unlike signals such as [signal LineEdit.text_changed], [signal " +"value_changed] is also emitted when [code]value[/code] is set directly via " +"code." msgstr "" #: doc/classes/RayCast.xml doc/classes/RayCast2D.xml @@ -55535,11 +55708,11 @@ msgid "" "Returns [code]true[/code] if this string contains a valid float. This is " "inclusive of integers, and also supports exponents:\n" "[codeblock]\n" -"print(\"1.7\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"7e3\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"Hello\".is_valid_float()) # Prints \"false\"\n" +"print(\"1.7\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"7e3\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55565,9 +55738,9 @@ msgid "" "identifier may contain only letters, digits and underscores ([code]_[/code]) " "and the first character may not be a digit.\n" "[codeblock]\n" -"print(\"good_ident_1\".is_valid_identifier()) # Prints \"true\"\n" -"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"false\"\n" -"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"false\"\n" +"print(\"good_ident_1\".is_valid_identifier()) # Prints \"True\"\n" +"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"False\"\n" +"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55575,11 +55748,11 @@ msgstr "" msgid "" "Returns [code]true[/code] if this string contains a valid integer.\n" "[codeblock]\n" -"print(\"7\".is_valid_int()) # Prints \"true\"\n" -"print(\"14.6\".is_valid_int()) # Prints \"false\"\n" -"print(\"L\".is_valid_int()) # Prints \"false\"\n" -"print(\"+3\".is_valid_int()) # Prints \"true\"\n" -"print(\"-12\".is_valid_int()) # Prints \"true\"\n" +"print(\"7\".is_valid_int()) # Prints \"True\"\n" +"print(\"14.6\".is_valid_int()) # Prints \"False\"\n" +"print(\"L\".is_valid_int()) # Prints \"False\"\n" +"print(\"+3\".is_valid_int()) # Prints \"True\"\n" +"print(\"-12\".is_valid_int()) # Prints \"True\"\n" "[/codeblock]" msgstr "" @@ -55775,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 "" @@ -57366,6 +57539,12 @@ msgid "Returns if the given line is wrapped." msgstr "" #: doc/classes/TextEdit.xml +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 "" + +#: doc/classes/TextEdit.xml msgid "Returns [code]true[/code] if the selection is active." msgstr "" @@ -59581,6 +59760,13 @@ msgstr "" #: doc/classes/Time.xml msgid "" +"Converts the given timezone offset in minutes to a timezone offset string. " +"For example, -480 returns \"-08:00\", 345 returns \"+05:45\", and 0 returns " +"\"+00:00\"." +msgstr "" + +#: doc/classes/Time.xml +msgid "" "Returns the amount of time passed in milliseconds since the engine started.\n" "Will always be positive or 0 and uses a 64-bit value (it will wrap after " "roughly 500 million years)." @@ -63235,6 +63421,10 @@ msgid "Returns [code]true[/code] if there are visible modals on-screen." msgstr "" #: doc/classes/Viewport.xml +msgid "Returns [code]true[/code] if the drag operation is successful." +msgstr "" + +#: doc/classes/Viewport.xml msgid "" "Returns [code]true[/code] if the viewport is currently performing a drag " "operation." diff --git a/doc/translations/mr.po b/doc/translations/mr.po index 81a14f7e5a..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 @@ -15847,6 +15867,10 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "Returns [code]true[/code] if drag operation is successful." +msgstr "" + +#: doc/classes/Control.xml msgid "" "Invalidates the size cache in this node and in parent nodes up to toplevel. " "Intended to be used with [method get_minimum_size] when the return value is " @@ -16267,8 +16291,9 @@ msgstr "" #: doc/classes/Control.xml msgid "" "By default, the node's pivot is its top-left corner. When you change its " -"[member rect_scale], it will scale around this pivot. Set this property to " -"[member rect_size] / 2 to center the pivot in the node's rectangle." +"[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 "" #: doc/classes/Control.xml @@ -18612,10 +18637,10 @@ msgid "" "further calculations." msgstr "" -#: doc/classes/Curve2D.xml doc/classes/Curve3D.xml +#: doc/classes/Curve2D.xml msgid "" -"Adds a point to a curve at [code]position[/code], with control points " -"[code]in[/code] and [code]out[/code].\n" +"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" "If [code]at_position[/code] is given, the point is inserted before the point " "number [code]at_position[/code], moving that point (and every point after) " "after the inserted point. If [code]at_position[/code] is not given, or is an " @@ -18766,6 +18791,18 @@ msgid "" msgstr "" #: doc/classes/Curve3D.xml +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" +"If [code]at_position[/code] is given, the point is inserted before the point " +"number [code]at_position[/code], moving that point (and every point after) " +"after the inserted point. If [code]at_position[/code] is not given, or is an " +"illegal value ([code]at_position <0[/code] or [code]at_position >= [method " +"get_point_count][/code]), the point will be appended at the end of the point " +"list." +msgstr "" + +#: doc/classes/Curve3D.xml msgid "Returns the cache of points as a [PoolVector3Array]." msgstr "" @@ -19571,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" @@ -22363,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 @@ -23246,10 +23283,13 @@ msgstr "" #: doc/classes/Environment.xml msgid "" -"Keeps on screen every pixel drawn in the background. This is the fastest " -"background mode, but it can only be safely used in fully-interior scenes (no " -"visible sky or sky reflections). If enabled in a scene where the background " -"is visible, \"ghost trail\" artifacts will be visible when moving the camera." +"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 " +"not be faster than clearing the background, and can be significantly slower, " +"particularly on mobile.\n" +"It can only be safely used in fully-interior scenes (no visible sky or sky " +"reflections). If enabled in a scene where the background is visible, \"ghost " +"trail\" artifacts will be visible when moving the camera." msgstr "" #: doc/classes/Environment.xml @@ -26700,14 +26740,14 @@ msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Depth of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the depth of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Width of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the width of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HFlowContainer.xml @@ -28949,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 @@ -28961,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 @@ -29096,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 " @@ -29110,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 @@ -29121,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 " @@ -29473,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 @@ -29493,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 " @@ -29507,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 @@ -29540,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 @@ -30072,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 @@ -32546,6 +32586,13 @@ msgstr "" msgid "If [code]true[/code], the context menu will appear when right-clicked." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml +#: doc/classes/TextEdit.xml +msgid "" +"If [code]true[/code], the selected text will be deselected when focus is " +"lost." +msgstr "" + #: doc/classes/LineEdit.xml msgid "" "If [code]false[/code], existing text cannot be modified and new text cannot " @@ -32581,6 +32628,13 @@ msgid "" "[/codeblock]" msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +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 "" + #: doc/classes/LineEdit.xml msgid "" "Opacity of the [member placeholder_text]. From [code]0[/code] to [code]1[/" @@ -33896,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 "" @@ -36348,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 @@ -37060,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 @@ -37656,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 @@ -38440,6 +38541,10 @@ msgid "Returns the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +msgid "Returns the tooltip of the item at index [code]idx[/code]." +msgstr "" + +#: doc/classes/OptionButton.xml msgid "" "Returns the ID of the selected item, or [code]0[/code] if no item is " "selected." @@ -38493,6 +38598,10 @@ msgid "Sets the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +msgid "Sets the tooltip of the item at index [code]idx[/code]." +msgstr "" + +#: doc/classes/OptionButton.xml msgid "" "The index of the currently selected item, or [code]-1[/code] if no item is " "selected." @@ -39049,6 +39158,23 @@ msgstr "" #: doc/classes/OS.xml msgid "" +"Returns the current refresh rate of the specified screen. If [code]screen[/" +"code] is [code]-1[/code] (the default value), the current screen will be " +"used.\n" +"[b]Note:[/b] Returns [code]-1.0[/code] if Godot fails to find the refresh " +"rate for the specified screen. On HTML5, [method get_screen_refresh_rate] " +"will always return [code]-1.0[/code] as there is no way to retrieve the " +"refresh rate on that platform.\n" +"To fallback to a default refresh rate if the method fails, try:\n" +"[codeblock]\n" +"var refresh_rate = OS.get_screen_refresh_rate()\n" +"if refresh_rate < 0:\n" +" refresh_rate = 60.0\n" +"[/codeblock]" +msgstr "" + +#: doc/classes/OS.xml +msgid "" "Return the scale factor of the specified screen by index. If [code]screen[/" "code] is [code]-1[/code] (the default value), the current screen will be " "used.\n" @@ -42875,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 @@ -45405,6 +45534,12 @@ msgstr "" #: doc/classes/ProjectSettings.xml 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 "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], enables warnings when a function is declared with the " "same name as a constant." msgstr "" @@ -45828,6 +45963,19 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If enabled, the moment [member Viewport.gui_disable_input] is set to " +"[code]false[/code] to disable GUI input in a viewport, current mouse over " +"and mouse focus will be dropped.\n" +"That behavior helps to keep a robust GUI state, with no surprises when input " +"is resumed regardless what has happened in the meantime.\n" +"If disabled, the legacy behavior is used, which consists in just not doing " +"anything besides the GUI input disable itself.\n" +"[b]Note:[/b] This is set to [code]true[/code] by default for new projects " +"and is the recommended setting." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], swaps OK and Cancel buttons in dialogs on Windows and " "UWP to follow interface conventions." msgstr "" @@ -46797,6 +46945,16 @@ msgid "" msgstr "" #: doc/classes/ProjectSettings.xml +msgid "" +"If [code]true[/code], smooths out collision with trimesh shapes " +"([ConcavePolygonShape]) by telling the Bullet physics engine to generate " +"internal edge information for every trimesh shape created.\n" +"[b]Note:[/b] Only effective if [member physics/3d/physics_engine] is set to " +"[code]DEFAULT[/code] or [code]Bullet[/code], [i]not[/i] [code]GodotPhysics[/" +"code]." +msgstr "" + +#: doc/classes/ProjectSettings.xml msgid "Enables [member Viewport.physics_object_picking] on the root viewport." msgstr "" @@ -47210,6 +47368,14 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"An override for [code]rendering/gles3/shaders/shader_compilation_mode[/" +"code], so asynchronous compilation can be disabled for mobile.\n" +"You may want to do that since mobile GPUs generally won't support " +"ubershaders due to their complexity." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Max buffer size for blend shapes. Any blend shape bigger than this will not " "work." msgstr "" @@ -48142,13 +48308,13 @@ msgstr "" #: doc/classes/Range.xml msgid "" -"Binds two ranges together along with any ranges previously grouped with " +"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 "" #: doc/classes/Range.xml -msgid "Stops range from sharing its member variables with any other." +msgid "Stops the [Range] from sharing its member variables with any other." msgstr "" #: doc/classes/Range.xml @@ -48215,7 +48381,14 @@ msgid "" msgstr "" #: doc/classes/Range.xml -msgid "Emitted when [member value] changes." +msgid "" +"Emitted when [member value] changes. When used on a [Slider], this is called " +"continuously while dragging (potentially every frame). If you are performing " +"an expensive operation in a function connected to [signal value_changed], " +"consider using a [i]debouncing[/i] [Timer] to call the function less often.\n" +"[b]Note:[/b] Unlike signals such as [signal LineEdit.text_changed], [signal " +"value_changed] is also emitted when [code]value[/code] is set directly via " +"code." msgstr "" #: doc/classes/RayCast.xml doc/classes/RayCast2D.xml @@ -55515,11 +55688,11 @@ msgid "" "Returns [code]true[/code] if this string contains a valid float. This is " "inclusive of integers, and also supports exponents:\n" "[codeblock]\n" -"print(\"1.7\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"7e3\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"Hello\".is_valid_float()) # Prints \"false\"\n" +"print(\"1.7\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"7e3\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55545,9 +55718,9 @@ msgid "" "identifier may contain only letters, digits and underscores ([code]_[/code]) " "and the first character may not be a digit.\n" "[codeblock]\n" -"print(\"good_ident_1\".is_valid_identifier()) # Prints \"true\"\n" -"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"false\"\n" -"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"false\"\n" +"print(\"good_ident_1\".is_valid_identifier()) # Prints \"True\"\n" +"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"False\"\n" +"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55555,11 +55728,11 @@ msgstr "" msgid "" "Returns [code]true[/code] if this string contains a valid integer.\n" "[codeblock]\n" -"print(\"7\".is_valid_int()) # Prints \"true\"\n" -"print(\"14.6\".is_valid_int()) # Prints \"false\"\n" -"print(\"L\".is_valid_int()) # Prints \"false\"\n" -"print(\"+3\".is_valid_int()) # Prints \"true\"\n" -"print(\"-12\".is_valid_int()) # Prints \"true\"\n" +"print(\"7\".is_valid_int()) # Prints \"True\"\n" +"print(\"14.6\".is_valid_int()) # Prints \"False\"\n" +"print(\"L\".is_valid_int()) # Prints \"False\"\n" +"print(\"+3\".is_valid_int()) # Prints \"True\"\n" +"print(\"-12\".is_valid_int()) # Prints \"True\"\n" "[/codeblock]" msgstr "" @@ -55755,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 "" @@ -57346,6 +57519,12 @@ msgid "Returns if the given line is wrapped." msgstr "" #: doc/classes/TextEdit.xml +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 "" + +#: doc/classes/TextEdit.xml msgid "Returns [code]true[/code] if the selection is active." msgstr "" @@ -59561,6 +59740,13 @@ msgstr "" #: doc/classes/Time.xml msgid "" +"Converts the given timezone offset in minutes to a timezone offset string. " +"For example, -480 returns \"-08:00\", 345 returns \"+05:45\", and 0 returns " +"\"+00:00\"." +msgstr "" + +#: doc/classes/Time.xml +msgid "" "Returns the amount of time passed in milliseconds since the engine started.\n" "Will always be positive or 0 and uses a 64-bit value (it will wrap after " "roughly 500 million years)." @@ -63215,6 +63401,10 @@ msgid "Returns [code]true[/code] if there are visible modals on-screen." msgstr "" #: doc/classes/Viewport.xml +msgid "Returns [code]true[/code] if the drag operation is successful." +msgstr "" + +#: doc/classes/Viewport.xml msgid "" "Returns [code]true[/code] if the viewport is currently performing a drag " "operation." diff --git a/doc/translations/nb.po b/doc/translations/nb.po index 8cd83ba148..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 @@ -15859,6 +15879,10 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "Returns [code]true[/code] if drag operation is successful." +msgstr "" + +#: doc/classes/Control.xml msgid "" "Invalidates the size cache in this node and in parent nodes up to toplevel. " "Intended to be used with [method get_minimum_size] when the return value is " @@ -16279,8 +16303,9 @@ msgstr "" #: doc/classes/Control.xml msgid "" "By default, the node's pivot is its top-left corner. When you change its " -"[member rect_scale], it will scale around this pivot. Set this property to " -"[member rect_size] / 2 to center the pivot in the node's rectangle." +"[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 "" #: doc/classes/Control.xml @@ -18624,10 +18649,10 @@ msgid "" "further calculations." msgstr "" -#: doc/classes/Curve2D.xml doc/classes/Curve3D.xml +#: doc/classes/Curve2D.xml msgid "" -"Adds a point to a curve at [code]position[/code], with control points " -"[code]in[/code] and [code]out[/code].\n" +"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" "If [code]at_position[/code] is given, the point is inserted before the point " "number [code]at_position[/code], moving that point (and every point after) " "after the inserted point. If [code]at_position[/code] is not given, or is an " @@ -18778,6 +18803,18 @@ msgid "" msgstr "" #: doc/classes/Curve3D.xml +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" +"If [code]at_position[/code] is given, the point is inserted before the point " +"number [code]at_position[/code], moving that point (and every point after) " +"after the inserted point. If [code]at_position[/code] is not given, or is an " +"illegal value ([code]at_position <0[/code] or [code]at_position >= [method " +"get_point_count][/code]), the point will be appended at the end of the point " +"list." +msgstr "" + +#: doc/classes/Curve3D.xml msgid "Returns the cache of points as a [PoolVector3Array]." msgstr "" @@ -19583,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" @@ -22375,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 @@ -23258,10 +23295,13 @@ msgstr "" #: doc/classes/Environment.xml msgid "" -"Keeps on screen every pixel drawn in the background. This is the fastest " -"background mode, but it can only be safely used in fully-interior scenes (no " -"visible sky or sky reflections). If enabled in a scene where the background " -"is visible, \"ghost trail\" artifacts will be visible when moving the camera." +"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 " +"not be faster than clearing the background, and can be significantly slower, " +"particularly on mobile.\n" +"It can only be safely used in fully-interior scenes (no visible sky or sky " +"reflections). If enabled in a scene where the background is visible, \"ghost " +"trail\" artifacts will be visible when moving the camera." msgstr "" #: doc/classes/Environment.xml @@ -26712,14 +26752,14 @@ msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Depth of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the depth of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Width of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the width of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HFlowContainer.xml @@ -28961,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 @@ -28973,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 @@ -29108,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 " @@ -29122,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 @@ -29133,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 " @@ -29485,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 @@ -29505,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 " @@ -29519,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 @@ -29552,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 @@ -30084,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 @@ -32558,6 +32598,13 @@ msgstr "" msgid "If [code]true[/code], the context menu will appear when right-clicked." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml +#: doc/classes/TextEdit.xml +msgid "" +"If [code]true[/code], the selected text will be deselected when focus is " +"lost." +msgstr "" + #: doc/classes/LineEdit.xml msgid "" "If [code]false[/code], existing text cannot be modified and new text cannot " @@ -32593,6 +32640,13 @@ msgid "" "[/codeblock]" msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +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 "" + #: doc/classes/LineEdit.xml msgid "" "Opacity of the [member placeholder_text]. From [code]0[/code] to [code]1[/" @@ -33908,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 "" @@ -36360,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 @@ -37072,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 @@ -37668,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 @@ -38452,6 +38553,10 @@ msgid "Returns the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +msgid "Returns the tooltip of the item at index [code]idx[/code]." +msgstr "" + +#: doc/classes/OptionButton.xml msgid "" "Returns the ID of the selected item, or [code]0[/code] if no item is " "selected." @@ -38505,6 +38610,10 @@ msgid "Sets the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +msgid "Sets the tooltip of the item at index [code]idx[/code]." +msgstr "" + +#: doc/classes/OptionButton.xml msgid "" "The index of the currently selected item, or [code]-1[/code] if no item is " "selected." @@ -39061,6 +39170,23 @@ msgstr "" #: doc/classes/OS.xml msgid "" +"Returns the current refresh rate of the specified screen. If [code]screen[/" +"code] is [code]-1[/code] (the default value), the current screen will be " +"used.\n" +"[b]Note:[/b] Returns [code]-1.0[/code] if Godot fails to find the refresh " +"rate for the specified screen. On HTML5, [method get_screen_refresh_rate] " +"will always return [code]-1.0[/code] as there is no way to retrieve the " +"refresh rate on that platform.\n" +"To fallback to a default refresh rate if the method fails, try:\n" +"[codeblock]\n" +"var refresh_rate = OS.get_screen_refresh_rate()\n" +"if refresh_rate < 0:\n" +" refresh_rate = 60.0\n" +"[/codeblock]" +msgstr "" + +#: doc/classes/OS.xml +msgid "" "Return the scale factor of the specified screen by index. If [code]screen[/" "code] is [code]-1[/code] (the default value), the current screen will be " "used.\n" @@ -42887,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 @@ -45417,6 +45546,12 @@ msgstr "" #: doc/classes/ProjectSettings.xml 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 "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], enables warnings when a function is declared with the " "same name as a constant." msgstr "" @@ -45840,6 +45975,19 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If enabled, the moment [member Viewport.gui_disable_input] is set to " +"[code]false[/code] to disable GUI input in a viewport, current mouse over " +"and mouse focus will be dropped.\n" +"That behavior helps to keep a robust GUI state, with no surprises when input " +"is resumed regardless what has happened in the meantime.\n" +"If disabled, the legacy behavior is used, which consists in just not doing " +"anything besides the GUI input disable itself.\n" +"[b]Note:[/b] This is set to [code]true[/code] by default for new projects " +"and is the recommended setting." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], swaps OK and Cancel buttons in dialogs on Windows and " "UWP to follow interface conventions." msgstr "" @@ -46809,6 +46957,16 @@ msgid "" msgstr "" #: doc/classes/ProjectSettings.xml +msgid "" +"If [code]true[/code], smooths out collision with trimesh shapes " +"([ConcavePolygonShape]) by telling the Bullet physics engine to generate " +"internal edge information for every trimesh shape created.\n" +"[b]Note:[/b] Only effective if [member physics/3d/physics_engine] is set to " +"[code]DEFAULT[/code] or [code]Bullet[/code], [i]not[/i] [code]GodotPhysics[/" +"code]." +msgstr "" + +#: doc/classes/ProjectSettings.xml msgid "Enables [member Viewport.physics_object_picking] on the root viewport." msgstr "" @@ -47222,6 +47380,14 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"An override for [code]rendering/gles3/shaders/shader_compilation_mode[/" +"code], so asynchronous compilation can be disabled for mobile.\n" +"You may want to do that since mobile GPUs generally won't support " +"ubershaders due to their complexity." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Max buffer size for blend shapes. Any blend shape bigger than this will not " "work." msgstr "" @@ -48154,13 +48320,13 @@ msgstr "" #: doc/classes/Range.xml msgid "" -"Binds two ranges together along with any ranges previously grouped with " +"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 "" #: doc/classes/Range.xml -msgid "Stops range from sharing its member variables with any other." +msgid "Stops the [Range] from sharing its member variables with any other." msgstr "" #: doc/classes/Range.xml @@ -48227,7 +48393,14 @@ msgid "" msgstr "" #: doc/classes/Range.xml -msgid "Emitted when [member value] changes." +msgid "" +"Emitted when [member value] changes. When used on a [Slider], this is called " +"continuously while dragging (potentially every frame). If you are performing " +"an expensive operation in a function connected to [signal value_changed], " +"consider using a [i]debouncing[/i] [Timer] to call the function less often.\n" +"[b]Note:[/b] Unlike signals such as [signal LineEdit.text_changed], [signal " +"value_changed] is also emitted when [code]value[/code] is set directly via " +"code." msgstr "" #: doc/classes/RayCast.xml doc/classes/RayCast2D.xml @@ -55527,11 +55700,11 @@ msgid "" "Returns [code]true[/code] if this string contains a valid float. This is " "inclusive of integers, and also supports exponents:\n" "[codeblock]\n" -"print(\"1.7\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"7e3\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"Hello\".is_valid_float()) # Prints \"false\"\n" +"print(\"1.7\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"7e3\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55557,9 +55730,9 @@ msgid "" "identifier may contain only letters, digits and underscores ([code]_[/code]) " "and the first character may not be a digit.\n" "[codeblock]\n" -"print(\"good_ident_1\".is_valid_identifier()) # Prints \"true\"\n" -"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"false\"\n" -"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"false\"\n" +"print(\"good_ident_1\".is_valid_identifier()) # Prints \"True\"\n" +"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"False\"\n" +"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55567,11 +55740,11 @@ msgstr "" msgid "" "Returns [code]true[/code] if this string contains a valid integer.\n" "[codeblock]\n" -"print(\"7\".is_valid_int()) # Prints \"true\"\n" -"print(\"14.6\".is_valid_int()) # Prints \"false\"\n" -"print(\"L\".is_valid_int()) # Prints \"false\"\n" -"print(\"+3\".is_valid_int()) # Prints \"true\"\n" -"print(\"-12\".is_valid_int()) # Prints \"true\"\n" +"print(\"7\".is_valid_int()) # Prints \"True\"\n" +"print(\"14.6\".is_valid_int()) # Prints \"False\"\n" +"print(\"L\".is_valid_int()) # Prints \"False\"\n" +"print(\"+3\".is_valid_int()) # Prints \"True\"\n" +"print(\"-12\".is_valid_int()) # Prints \"True\"\n" "[/codeblock]" msgstr "" @@ -55767,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 "" @@ -57358,6 +57531,12 @@ msgid "Returns if the given line is wrapped." msgstr "" #: doc/classes/TextEdit.xml +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 "" + +#: doc/classes/TextEdit.xml msgid "Returns [code]true[/code] if the selection is active." msgstr "" @@ -59573,6 +59752,13 @@ msgstr "" #: doc/classes/Time.xml msgid "" +"Converts the given timezone offset in minutes to a timezone offset string. " +"For example, -480 returns \"-08:00\", 345 returns \"+05:45\", and 0 returns " +"\"+00:00\"." +msgstr "" + +#: doc/classes/Time.xml +msgid "" "Returns the amount of time passed in milliseconds since the engine started.\n" "Will always be positive or 0 and uses a 64-bit value (it will wrap after " "roughly 500 million years)." @@ -63227,6 +63413,10 @@ msgid "Returns [code]true[/code] if there are visible modals on-screen." msgstr "" #: doc/classes/Viewport.xml +msgid "Returns [code]true[/code] if the drag operation is successful." +msgstr "" + +#: doc/classes/Viewport.xml msgid "" "Returns [code]true[/code] if the viewport is currently performing a drag " "operation." diff --git a/doc/translations/ne.po b/doc/translations/ne.po index dcc8e21951..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 @@ -15847,6 +15867,10 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "Returns [code]true[/code] if drag operation is successful." +msgstr "" + +#: doc/classes/Control.xml msgid "" "Invalidates the size cache in this node and in parent nodes up to toplevel. " "Intended to be used with [method get_minimum_size] when the return value is " @@ -16267,8 +16291,9 @@ msgstr "" #: doc/classes/Control.xml msgid "" "By default, the node's pivot is its top-left corner. When you change its " -"[member rect_scale], it will scale around this pivot. Set this property to " -"[member rect_size] / 2 to center the pivot in the node's rectangle." +"[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 "" #: doc/classes/Control.xml @@ -18612,10 +18637,10 @@ msgid "" "further calculations." msgstr "" -#: doc/classes/Curve2D.xml doc/classes/Curve3D.xml +#: doc/classes/Curve2D.xml msgid "" -"Adds a point to a curve at [code]position[/code], with control points " -"[code]in[/code] and [code]out[/code].\n" +"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" "If [code]at_position[/code] is given, the point is inserted before the point " "number [code]at_position[/code], moving that point (and every point after) " "after the inserted point. If [code]at_position[/code] is not given, or is an " @@ -18766,6 +18791,18 @@ msgid "" msgstr "" #: doc/classes/Curve3D.xml +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" +"If [code]at_position[/code] is given, the point is inserted before the point " +"number [code]at_position[/code], moving that point (and every point after) " +"after the inserted point. If [code]at_position[/code] is not given, or is an " +"illegal value ([code]at_position <0[/code] or [code]at_position >= [method " +"get_point_count][/code]), the point will be appended at the end of the point " +"list." +msgstr "" + +#: doc/classes/Curve3D.xml msgid "Returns the cache of points as a [PoolVector3Array]." msgstr "" @@ -19571,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" @@ -22363,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 @@ -23246,10 +23283,13 @@ msgstr "" #: doc/classes/Environment.xml msgid "" -"Keeps on screen every pixel drawn in the background. This is the fastest " -"background mode, but it can only be safely used in fully-interior scenes (no " -"visible sky or sky reflections). If enabled in a scene where the background " -"is visible, \"ghost trail\" artifacts will be visible when moving the camera." +"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 " +"not be faster than clearing the background, and can be significantly slower, " +"particularly on mobile.\n" +"It can only be safely used in fully-interior scenes (no visible sky or sky " +"reflections). If enabled in a scene where the background is visible, \"ghost " +"trail\" artifacts will be visible when moving the camera." msgstr "" #: doc/classes/Environment.xml @@ -26700,14 +26740,14 @@ msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Depth of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the depth of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Width of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the width of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HFlowContainer.xml @@ -28949,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 @@ -28961,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 @@ -29096,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 " @@ -29110,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 @@ -29121,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 " @@ -29473,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 @@ -29493,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 " @@ -29507,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 @@ -29540,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 @@ -30072,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 @@ -32546,6 +32586,13 @@ msgstr "" msgid "If [code]true[/code], the context menu will appear when right-clicked." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml +#: doc/classes/TextEdit.xml +msgid "" +"If [code]true[/code], the selected text will be deselected when focus is " +"lost." +msgstr "" + #: doc/classes/LineEdit.xml msgid "" "If [code]false[/code], existing text cannot be modified and new text cannot " @@ -32581,6 +32628,13 @@ msgid "" "[/codeblock]" msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +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 "" + #: doc/classes/LineEdit.xml msgid "" "Opacity of the [member placeholder_text]. From [code]0[/code] to [code]1[/" @@ -33896,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 "" @@ -36348,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 @@ -37060,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 @@ -37656,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 @@ -38440,6 +38541,10 @@ msgid "Returns the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +msgid "Returns the tooltip of the item at index [code]idx[/code]." +msgstr "" + +#: doc/classes/OptionButton.xml msgid "" "Returns the ID of the selected item, or [code]0[/code] if no item is " "selected." @@ -38493,6 +38598,10 @@ msgid "Sets the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +msgid "Sets the tooltip of the item at index [code]idx[/code]." +msgstr "" + +#: doc/classes/OptionButton.xml msgid "" "The index of the currently selected item, or [code]-1[/code] if no item is " "selected." @@ -39049,6 +39158,23 @@ msgstr "" #: doc/classes/OS.xml msgid "" +"Returns the current refresh rate of the specified screen. If [code]screen[/" +"code] is [code]-1[/code] (the default value), the current screen will be " +"used.\n" +"[b]Note:[/b] Returns [code]-1.0[/code] if Godot fails to find the refresh " +"rate for the specified screen. On HTML5, [method get_screen_refresh_rate] " +"will always return [code]-1.0[/code] as there is no way to retrieve the " +"refresh rate on that platform.\n" +"To fallback to a default refresh rate if the method fails, try:\n" +"[codeblock]\n" +"var refresh_rate = OS.get_screen_refresh_rate()\n" +"if refresh_rate < 0:\n" +" refresh_rate = 60.0\n" +"[/codeblock]" +msgstr "" + +#: doc/classes/OS.xml +msgid "" "Return the scale factor of the specified screen by index. If [code]screen[/" "code] is [code]-1[/code] (the default value), the current screen will be " "used.\n" @@ -42875,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 @@ -45405,6 +45534,12 @@ msgstr "" #: doc/classes/ProjectSettings.xml 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 "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], enables warnings when a function is declared with the " "same name as a constant." msgstr "" @@ -45828,6 +45963,19 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If enabled, the moment [member Viewport.gui_disable_input] is set to " +"[code]false[/code] to disable GUI input in a viewport, current mouse over " +"and mouse focus will be dropped.\n" +"That behavior helps to keep a robust GUI state, with no surprises when input " +"is resumed regardless what has happened in the meantime.\n" +"If disabled, the legacy behavior is used, which consists in just not doing " +"anything besides the GUI input disable itself.\n" +"[b]Note:[/b] This is set to [code]true[/code] by default for new projects " +"and is the recommended setting." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], swaps OK and Cancel buttons in dialogs on Windows and " "UWP to follow interface conventions." msgstr "" @@ -46797,6 +46945,16 @@ msgid "" msgstr "" #: doc/classes/ProjectSettings.xml +msgid "" +"If [code]true[/code], smooths out collision with trimesh shapes " +"([ConcavePolygonShape]) by telling the Bullet physics engine to generate " +"internal edge information for every trimesh shape created.\n" +"[b]Note:[/b] Only effective if [member physics/3d/physics_engine] is set to " +"[code]DEFAULT[/code] or [code]Bullet[/code], [i]not[/i] [code]GodotPhysics[/" +"code]." +msgstr "" + +#: doc/classes/ProjectSettings.xml msgid "Enables [member Viewport.physics_object_picking] on the root viewport." msgstr "" @@ -47210,6 +47368,14 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"An override for [code]rendering/gles3/shaders/shader_compilation_mode[/" +"code], so asynchronous compilation can be disabled for mobile.\n" +"You may want to do that since mobile GPUs generally won't support " +"ubershaders due to their complexity." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Max buffer size for blend shapes. Any blend shape bigger than this will not " "work." msgstr "" @@ -48142,13 +48308,13 @@ msgstr "" #: doc/classes/Range.xml msgid "" -"Binds two ranges together along with any ranges previously grouped with " +"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 "" #: doc/classes/Range.xml -msgid "Stops range from sharing its member variables with any other." +msgid "Stops the [Range] from sharing its member variables with any other." msgstr "" #: doc/classes/Range.xml @@ -48215,7 +48381,14 @@ msgid "" msgstr "" #: doc/classes/Range.xml -msgid "Emitted when [member value] changes." +msgid "" +"Emitted when [member value] changes. When used on a [Slider], this is called " +"continuously while dragging (potentially every frame). If you are performing " +"an expensive operation in a function connected to [signal value_changed], " +"consider using a [i]debouncing[/i] [Timer] to call the function less often.\n" +"[b]Note:[/b] Unlike signals such as [signal LineEdit.text_changed], [signal " +"value_changed] is also emitted when [code]value[/code] is set directly via " +"code." msgstr "" #: doc/classes/RayCast.xml doc/classes/RayCast2D.xml @@ -55515,11 +55688,11 @@ msgid "" "Returns [code]true[/code] if this string contains a valid float. This is " "inclusive of integers, and also supports exponents:\n" "[codeblock]\n" -"print(\"1.7\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"7e3\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"Hello\".is_valid_float()) # Prints \"false\"\n" +"print(\"1.7\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"7e3\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55545,9 +55718,9 @@ msgid "" "identifier may contain only letters, digits and underscores ([code]_[/code]) " "and the first character may not be a digit.\n" "[codeblock]\n" -"print(\"good_ident_1\".is_valid_identifier()) # Prints \"true\"\n" -"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"false\"\n" -"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"false\"\n" +"print(\"good_ident_1\".is_valid_identifier()) # Prints \"True\"\n" +"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"False\"\n" +"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55555,11 +55728,11 @@ msgstr "" msgid "" "Returns [code]true[/code] if this string contains a valid integer.\n" "[codeblock]\n" -"print(\"7\".is_valid_int()) # Prints \"true\"\n" -"print(\"14.6\".is_valid_int()) # Prints \"false\"\n" -"print(\"L\".is_valid_int()) # Prints \"false\"\n" -"print(\"+3\".is_valid_int()) # Prints \"true\"\n" -"print(\"-12\".is_valid_int()) # Prints \"true\"\n" +"print(\"7\".is_valid_int()) # Prints \"True\"\n" +"print(\"14.6\".is_valid_int()) # Prints \"False\"\n" +"print(\"L\".is_valid_int()) # Prints \"False\"\n" +"print(\"+3\".is_valid_int()) # Prints \"True\"\n" +"print(\"-12\".is_valid_int()) # Prints \"True\"\n" "[/codeblock]" msgstr "" @@ -55755,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 "" @@ -57346,6 +57519,12 @@ msgid "Returns if the given line is wrapped." msgstr "" #: doc/classes/TextEdit.xml +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 "" + +#: doc/classes/TextEdit.xml msgid "Returns [code]true[/code] if the selection is active." msgstr "" @@ -59561,6 +59740,13 @@ msgstr "" #: doc/classes/Time.xml msgid "" +"Converts the given timezone offset in minutes to a timezone offset string. " +"For example, -480 returns \"-08:00\", 345 returns \"+05:45\", and 0 returns " +"\"+00:00\"." +msgstr "" + +#: doc/classes/Time.xml +msgid "" "Returns the amount of time passed in milliseconds since the engine started.\n" "Will always be positive or 0 and uses a 64-bit value (it will wrap after " "roughly 500 million years)." @@ -63215,6 +63401,10 @@ msgid "Returns [code]true[/code] if there are visible modals on-screen." msgstr "" #: doc/classes/Viewport.xml +msgid "Returns [code]true[/code] if the drag operation is successful." +msgstr "" + +#: doc/classes/Viewport.xml msgid "" "Returns [code]true[/code] if the viewport is currently performing a drag " "operation." diff --git a/doc/translations/nl.po b/doc/translations/nl.po index 7095944510..6066f9dcfd 100644 --- a/doc/translations/nl.po +++ b/doc/translations/nl.po @@ -7,12 +7,13 @@ # marnicq van loon <marnicqvanloon@gmail.com>, 2020. # Pierre Stempin <pierre.stempin@gmail.com>, 2020. # Daan van Luijk <daanvl@outlook.be>, 2021. +# voylin <0voylin0@gmail.com>, 2022. msgid "" msgstr "" "Project-Id-Version: Godot Engine class reference\n" "Report-Msgid-Bugs-To: https://github.com/godotengine/godot\n" -"PO-Revision-Date: 2021-11-07 22:24+0000\n" -"Last-Translator: Daan van Luijk <daanvl@outlook.be>\n" +"PO-Revision-Date: 2022-03-15 01:57+0000\n" +"Last-Translator: voylin <0voylin0@gmail.com>\n" "Language-Team: Dutch <https://hosted.weblate.org/projects/godot-engine/godot-" "class-reference/nl/>\n" "Language: nl\n" @@ -20,7 +21,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8-bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.9-dev\n" +"X-Generator: Weblate 4.12-dev\n" #: doc/tools/make_rst.py msgid "Description" @@ -63,69 +64,78 @@ msgid "Method Descriptions" msgstr "Methodebeschrijvingen" #: doc/tools/make_rst.py -#, fuzzy msgid "Theme Property Descriptions" -msgstr "Eigenschapbeschrijvingen" +msgstr "Thema Eigenschap Beschrijvingen" #: doc/tools/make_rst.py msgid "Inherits:" -msgstr "" +msgstr "Erven:" #: doc/tools/make_rst.py msgid "Inherited By:" -msgstr "" +msgstr "Geërft door:" #: doc/tools/make_rst.py msgid "(overrides %s)" -msgstr "" +msgstr "(overschrijft %s)" #: doc/tools/make_rst.py msgid "Default" -msgstr "" +msgstr "Standaard" #: doc/tools/make_rst.py msgid "Setter" -msgstr "" +msgstr "Setter" #: doc/tools/make_rst.py msgid "value" -msgstr "" +msgstr "waarde" #: doc/tools/make_rst.py msgid "Getter" -msgstr "" +msgstr "Getter" #: doc/tools/make_rst.py msgid "" "This method should typically be overridden by the user to have any effect." msgstr "" +"Deze methode hoort overschreven te worden door de gebruiker om effect te " +"hebben." #: doc/tools/make_rst.py msgid "" "This method has no side effects. It doesn't modify any of the instance's " "member variables." msgstr "" +"Deze methode heeft geen bijwerkingen. Hij wijzigt geen variabelen van de " +"instantie." #: doc/tools/make_rst.py msgid "" "This method accepts any number of arguments after the ones described here." msgstr "" +"Deze methode accepteert elke hoeveelheid argumenten na degenen die hier " +"beschreven zijn." #: doc/tools/make_rst.py msgid "This method is used to construct a type." -msgstr "" +msgstr "Deze methode word gebruikt om een type aan te maken." #: doc/tools/make_rst.py msgid "" "This method doesn't need an instance to be called, so it can be called " "directly using the class name." msgstr "" +"Deze methode heeft geen instantie nodig om te worden aangeroepen, hij kan " +"aangeroepen worden door middel van de naam van de klasse." #: doc/tools/make_rst.py msgid "" "This method describes a valid operator to use with this type as left-hand " "operand." msgstr "" +"Deze methode beschrijft een geldige operator die dit type als linker-operand " +"gebruikt." #: modules/gdscript/doc_classes/@GDScript.xml msgid "Built-in GDScript functions." @@ -207,6 +217,14 @@ msgid "" "c = acos(0.866025)\n" "[/codeblock]" msgstr "" +"Geeft de arc cosine van [code]s[/code] in radialen terug. Dit word gebruikt " +"om de hoek van de cosine [code]s[/code] te krijgen. [code]s[/code] moet " +"tussen [code]-1.0[/code] en [code]1.0[/code] (inclusief), anders zal [method " +"acos] [constant NAN] terug geven.\n" +"[codeblock]\n" +"# c is 0.523599 of 30 graden als we dit omzetten aan de hand van rad2deg(s)\n" +"c = acos(0.866025)\n" +"[/codeblock]" #: modules/gdscript/doc_classes/@GDScript.xml msgid "" @@ -3372,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 @@ -5285,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 @@ -10405,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 @@ -12554,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 @@ -12675,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 @@ -15898,6 +15936,10 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "Returns [code]true[/code] if drag operation is successful." +msgstr "" + +#: doc/classes/Control.xml msgid "" "Invalidates the size cache in this node and in parent nodes up to toplevel. " "Intended to be used with [method get_minimum_size] when the return value is " @@ -16318,8 +16360,9 @@ msgstr "" #: doc/classes/Control.xml msgid "" "By default, the node's pivot is its top-left corner. When you change its " -"[member rect_scale], it will scale around this pivot. Set this property to " -"[member rect_size] / 2 to center the pivot in the node's rectangle." +"[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 "" #: doc/classes/Control.xml @@ -18663,10 +18706,10 @@ msgid "" "further calculations." msgstr "" -#: doc/classes/Curve2D.xml doc/classes/Curve3D.xml +#: doc/classes/Curve2D.xml msgid "" -"Adds a point to a curve at [code]position[/code], with control points " -"[code]in[/code] and [code]out[/code].\n" +"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" "If [code]at_position[/code] is given, the point is inserted before the point " "number [code]at_position[/code], moving that point (and every point after) " "after the inserted point. If [code]at_position[/code] is not given, or is an " @@ -18817,6 +18860,18 @@ msgid "" msgstr "" #: doc/classes/Curve3D.xml +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" +"If [code]at_position[/code] is given, the point is inserted before the point " +"number [code]at_position[/code], moving that point (and every point after) " +"after the inserted point. If [code]at_position[/code] is not given, or is an " +"illegal value ([code]at_position <0[/code] or [code]at_position >= [method " +"get_point_count][/code]), the point will be appended at the end of the point " +"list." +msgstr "" + +#: doc/classes/Curve3D.xml msgid "Returns the cache of points as a [PoolVector3Array]." msgstr "" @@ -19622,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" @@ -22414,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 @@ -23300,10 +23355,13 @@ msgstr "" #: doc/classes/Environment.xml msgid "" -"Keeps on screen every pixel drawn in the background. This is the fastest " -"background mode, but it can only be safely used in fully-interior scenes (no " -"visible sky or sky reflections). If enabled in a scene where the background " -"is visible, \"ghost trail\" artifacts will be visible when moving the camera." +"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 " +"not be faster than clearing the background, and can be significantly slower, " +"particularly on mobile.\n" +"It can only be safely used in fully-interior scenes (no visible sky or sky " +"reflections). If enabled in a scene where the background is visible, \"ghost " +"trail\" artifacts will be visible when moving the camera." msgstr "" #: doc/classes/Environment.xml @@ -26754,14 +26812,14 @@ msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Depth of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the depth of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Width of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the width of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HFlowContainer.xml @@ -29003,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 @@ -29015,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 @@ -29150,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 " @@ -29164,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 @@ -29175,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 " @@ -29527,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 @@ -29547,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 " @@ -29561,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 @@ -29594,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 @@ -30126,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 @@ -32600,6 +32658,13 @@ msgstr "" msgid "If [code]true[/code], the context menu will appear when right-clicked." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml +#: doc/classes/TextEdit.xml +msgid "" +"If [code]true[/code], the selected text will be deselected when focus is " +"lost." +msgstr "" + #: doc/classes/LineEdit.xml msgid "" "If [code]false[/code], existing text cannot be modified and new text cannot " @@ -32635,6 +32700,13 @@ msgid "" "[/codeblock]" msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +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 "" + #: doc/classes/LineEdit.xml msgid "" "Opacity of the [member placeholder_text]. From [code]0[/code] to [code]1[/" @@ -33950,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 "" @@ -36402,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 @@ -37114,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 @@ -37710,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 @@ -38494,6 +38613,10 @@ msgid "Returns the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +msgid "Returns the tooltip of the item at index [code]idx[/code]." +msgstr "" + +#: doc/classes/OptionButton.xml msgid "" "Returns the ID of the selected item, or [code]0[/code] if no item is " "selected." @@ -38547,6 +38670,10 @@ msgid "Sets the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +msgid "Sets the tooltip of the item at index [code]idx[/code]." +msgstr "" + +#: doc/classes/OptionButton.xml msgid "" "The index of the currently selected item, or [code]-1[/code] if no item is " "selected." @@ -39103,6 +39230,23 @@ msgstr "" #: doc/classes/OS.xml msgid "" +"Returns the current refresh rate of the specified screen. If [code]screen[/" +"code] is [code]-1[/code] (the default value), the current screen will be " +"used.\n" +"[b]Note:[/b] Returns [code]-1.0[/code] if Godot fails to find the refresh " +"rate for the specified screen. On HTML5, [method get_screen_refresh_rate] " +"will always return [code]-1.0[/code] as there is no way to retrieve the " +"refresh rate on that platform.\n" +"To fallback to a default refresh rate if the method fails, try:\n" +"[codeblock]\n" +"var refresh_rate = OS.get_screen_refresh_rate()\n" +"if refresh_rate < 0:\n" +" refresh_rate = 60.0\n" +"[/codeblock]" +msgstr "" + +#: doc/classes/OS.xml +msgid "" "Return the scale factor of the specified screen by index. If [code]screen[/" "code] is [code]-1[/code] (the default value), the current screen will be " "used.\n" @@ -42929,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 @@ -45459,6 +45606,12 @@ msgstr "" #: doc/classes/ProjectSettings.xml 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 "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], enables warnings when a function is declared with the " "same name as a constant." msgstr "" @@ -45882,6 +46035,19 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If enabled, the moment [member Viewport.gui_disable_input] is set to " +"[code]false[/code] to disable GUI input in a viewport, current mouse over " +"and mouse focus will be dropped.\n" +"That behavior helps to keep a robust GUI state, with no surprises when input " +"is resumed regardless what has happened in the meantime.\n" +"If disabled, the legacy behavior is used, which consists in just not doing " +"anything besides the GUI input disable itself.\n" +"[b]Note:[/b] This is set to [code]true[/code] by default for new projects " +"and is the recommended setting." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], swaps OK and Cancel buttons in dialogs on Windows and " "UWP to follow interface conventions." msgstr "" @@ -46851,6 +47017,16 @@ msgid "" msgstr "" #: doc/classes/ProjectSettings.xml +msgid "" +"If [code]true[/code], smooths out collision with trimesh shapes " +"([ConcavePolygonShape]) by telling the Bullet physics engine to generate " +"internal edge information for every trimesh shape created.\n" +"[b]Note:[/b] Only effective if [member physics/3d/physics_engine] is set to " +"[code]DEFAULT[/code] or [code]Bullet[/code], [i]not[/i] [code]GodotPhysics[/" +"code]." +msgstr "" + +#: doc/classes/ProjectSettings.xml msgid "Enables [member Viewport.physics_object_picking] on the root viewport." msgstr "" @@ -47264,6 +47440,14 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"An override for [code]rendering/gles3/shaders/shader_compilation_mode[/" +"code], so asynchronous compilation can be disabled for mobile.\n" +"You may want to do that since mobile GPUs generally won't support " +"ubershaders due to their complexity." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Max buffer size for blend shapes. Any blend shape bigger than this will not " "work." msgstr "" @@ -48196,13 +48380,13 @@ msgstr "" #: doc/classes/Range.xml msgid "" -"Binds two ranges together along with any ranges previously grouped with " +"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 "" #: doc/classes/Range.xml -msgid "Stops range from sharing its member variables with any other." +msgid "Stops the [Range] from sharing its member variables with any other." msgstr "" #: doc/classes/Range.xml @@ -48269,7 +48453,14 @@ msgid "" msgstr "" #: doc/classes/Range.xml -msgid "Emitted when [member value] changes." +msgid "" +"Emitted when [member value] changes. When used on a [Slider], this is called " +"continuously while dragging (potentially every frame). If you are performing " +"an expensive operation in a function connected to [signal value_changed], " +"consider using a [i]debouncing[/i] [Timer] to call the function less often.\n" +"[b]Note:[/b] Unlike signals such as [signal LineEdit.text_changed], [signal " +"value_changed] is also emitted when [code]value[/code] is set directly via " +"code." msgstr "" #: doc/classes/RayCast.xml doc/classes/RayCast2D.xml @@ -55570,11 +55761,11 @@ msgid "" "Returns [code]true[/code] if this string contains a valid float. This is " "inclusive of integers, and also supports exponents:\n" "[codeblock]\n" -"print(\"1.7\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"7e3\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"Hello\".is_valid_float()) # Prints \"false\"\n" +"print(\"1.7\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"7e3\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55600,9 +55791,9 @@ msgid "" "identifier may contain only letters, digits and underscores ([code]_[/code]) " "and the first character may not be a digit.\n" "[codeblock]\n" -"print(\"good_ident_1\".is_valid_identifier()) # Prints \"true\"\n" -"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"false\"\n" -"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"false\"\n" +"print(\"good_ident_1\".is_valid_identifier()) # Prints \"True\"\n" +"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"False\"\n" +"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55610,11 +55801,11 @@ msgstr "" msgid "" "Returns [code]true[/code] if this string contains a valid integer.\n" "[codeblock]\n" -"print(\"7\".is_valid_int()) # Prints \"true\"\n" -"print(\"14.6\".is_valid_int()) # Prints \"false\"\n" -"print(\"L\".is_valid_int()) # Prints \"false\"\n" -"print(\"+3\".is_valid_int()) # Prints \"true\"\n" -"print(\"-12\".is_valid_int()) # Prints \"true\"\n" +"print(\"7\".is_valid_int()) # Prints \"True\"\n" +"print(\"14.6\".is_valid_int()) # Prints \"False\"\n" +"print(\"L\".is_valid_int()) # Prints \"False\"\n" +"print(\"+3\".is_valid_int()) # Prints \"True\"\n" +"print(\"-12\".is_valid_int()) # Prints \"True\"\n" "[/codeblock]" msgstr "" @@ -55810,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 "" @@ -57401,6 +57592,12 @@ msgid "Returns if the given line is wrapped." msgstr "" #: doc/classes/TextEdit.xml +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 "" + +#: doc/classes/TextEdit.xml msgid "Returns [code]true[/code] if the selection is active." msgstr "" @@ -59616,6 +59813,13 @@ msgstr "" #: doc/classes/Time.xml msgid "" +"Converts the given timezone offset in minutes to a timezone offset string. " +"For example, -480 returns \"-08:00\", 345 returns \"+05:45\", and 0 returns " +"\"+00:00\"." +msgstr "" + +#: doc/classes/Time.xml +msgid "" "Returns the amount of time passed in milliseconds since the engine started.\n" "Will always be positive or 0 and uses a 64-bit value (it will wrap after " "roughly 500 million years)." @@ -63270,6 +63474,10 @@ msgid "Returns [code]true[/code] if there are visible modals on-screen." msgstr "" #: doc/classes/Viewport.xml +msgid "Returns [code]true[/code] if the drag operation is successful." +msgstr "" + +#: doc/classes/Viewport.xml msgid "" "Returns [code]true[/code] if the viewport is currently performing a drag " "operation." diff --git a/doc/translations/pl.po b/doc/translations/pl.po index 615d1ff53f..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 @@ -16352,6 +16375,13 @@ msgid "" msgstr "" #: doc/classes/Control.xml +#, fuzzy +msgid "Returns [code]true[/code] if drag operation is successful." +msgstr "" +"Jeśli [code]true[/code], potomne węzły są sortowane. W innym przypadku jest " +"wyłączone." + +#: doc/classes/Control.xml msgid "" "Invalidates the size cache in this node and in parent nodes up to toplevel. " "Intended to be used with [method get_minimum_size] when the return value is " @@ -16778,8 +16808,9 @@ msgstr "" #: doc/classes/Control.xml msgid "" "By default, the node's pivot is its top-left corner. When you change its " -"[member rect_scale], it will scale around this pivot. Set this property to " -"[member rect_size] / 2 to center the pivot in the node's rectangle." +"[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 "" #: doc/classes/Control.xml @@ -19123,10 +19154,10 @@ msgid "" "further calculations." msgstr "" -#: doc/classes/Curve2D.xml doc/classes/Curve3D.xml +#: doc/classes/Curve2D.xml msgid "" -"Adds a point to a curve at [code]position[/code], with control points " -"[code]in[/code] and [code]out[/code].\n" +"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" "If [code]at_position[/code] is given, the point is inserted before the point " "number [code]at_position[/code], moving that point (and every point after) " "after the inserted point. If [code]at_position[/code] is not given, or is an " @@ -19278,6 +19309,18 @@ msgid "" msgstr "" #: doc/classes/Curve3D.xml +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" +"If [code]at_position[/code] is given, the point is inserted before the point " +"number [code]at_position[/code], moving that point (and every point after) " +"after the inserted point. If [code]at_position[/code] is not given, or is an " +"illegal value ([code]at_position <0[/code] or [code]at_position >= [method " +"get_point_count][/code]), the point will be appended at the end of the point " +"list." +msgstr "" + +#: doc/classes/Curve3D.xml #, fuzzy msgid "Returns the cache of points as a [PoolVector3Array]." msgstr "Zwraca arcus sinus parametru." @@ -20089,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" @@ -22885,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 @@ -23771,10 +23814,13 @@ msgstr "" #: doc/classes/Environment.xml msgid "" -"Keeps on screen every pixel drawn in the background. This is the fastest " -"background mode, but it can only be safely used in fully-interior scenes (no " -"visible sky or sky reflections). If enabled in a scene where the background " -"is visible, \"ghost trail\" artifacts will be visible when moving the camera." +"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 " +"not be faster than clearing the background, and can be significantly slower, " +"particularly on mobile.\n" +"It can only be safely used in fully-interior scenes (no visible sky or sky " +"reflections). If enabled in a scene where the background is visible, \"ghost " +"trail\" artifacts will be visible when moving the camera." msgstr "" #: doc/classes/Environment.xml @@ -27242,14 +27288,14 @@ msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Depth of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the depth of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Width of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the width of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HFlowContainer.xml @@ -29494,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 @@ -29506,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 @@ -29641,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 " @@ -29655,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 @@ -29666,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 " @@ -30018,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 @@ -30038,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 " @@ -30052,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 @@ -30085,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 @@ -30618,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 @@ -33104,6 +33150,16 @@ msgstr "" msgid "If [code]true[/code], the context menu will appear when right-clicked." msgstr "" +#: 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 "" +"Jeśli [code]true[/code], potomne węzły są sortowane. W innym przypadku jest " +"wyłączone." + #: doc/classes/LineEdit.xml msgid "" "If [code]false[/code], existing text cannot be modified and new text cannot " @@ -33139,6 +33195,13 @@ msgid "" "[/codeblock]" msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +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 "" + #: doc/classes/LineEdit.xml msgid "" "Opacity of the [member placeholder_text]. From [code]0[/code] to [code]1[/" @@ -34454,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 "" @@ -36797,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" @@ -36949,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 @@ -37661,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 @@ -38257,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 @@ -39041,6 +39151,11 @@ msgid "Returns the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +#, fuzzy +msgid "Returns the tooltip of the item at index [code]idx[/code]." +msgstr "Liczy iloczyn wektorowy tego wektora oraz [code]b[/code]." + +#: doc/classes/OptionButton.xml msgid "" "Returns the ID of the selected item, or [code]0[/code] if no item is " "selected." @@ -39094,6 +39209,11 @@ msgid "Sets the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +#, fuzzy +msgid "Sets the tooltip of the item at index [code]idx[/code]." +msgstr "Liczy iloczyn wektorowy tego wektora oraz [code]b[/code]." + +#: doc/classes/OptionButton.xml msgid "" "The index of the currently selected item, or [code]-1[/code] if no item is " "selected." @@ -39656,6 +39776,23 @@ msgstr "" #: doc/classes/OS.xml msgid "" +"Returns the current refresh rate of the specified screen. If [code]screen[/" +"code] is [code]-1[/code] (the default value), the current screen will be " +"used.\n" +"[b]Note:[/b] Returns [code]-1.0[/code] if Godot fails to find the refresh " +"rate for the specified screen. On HTML5, [method get_screen_refresh_rate] " +"will always return [code]-1.0[/code] as there is no way to retrieve the " +"refresh rate on that platform.\n" +"To fallback to a default refresh rate if the method fails, try:\n" +"[codeblock]\n" +"var refresh_rate = OS.get_screen_refresh_rate()\n" +"if refresh_rate < 0:\n" +" refresh_rate = 60.0\n" +"[/codeblock]" +msgstr "" + +#: doc/classes/OS.xml +msgid "" "Return the scale factor of the specified screen by index. If [code]screen[/" "code] is [code]-1[/code] (the default value), the current screen will be " "used.\n" @@ -43517,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 @@ -46054,6 +46194,12 @@ msgstr "" #: doc/classes/ProjectSettings.xml 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 "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], enables warnings when a function is declared with the " "same name as a constant." msgstr "" @@ -46477,6 +46623,19 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If enabled, the moment [member Viewport.gui_disable_input] is set to " +"[code]false[/code] to disable GUI input in a viewport, current mouse over " +"and mouse focus will be dropped.\n" +"That behavior helps to keep a robust GUI state, with no surprises when input " +"is resumed regardless what has happened in the meantime.\n" +"If disabled, the legacy behavior is used, which consists in just not doing " +"anything besides the GUI input disable itself.\n" +"[b]Note:[/b] This is set to [code]true[/code] by default for new projects " +"and is the recommended setting." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], swaps OK and Cancel buttons in dialogs on Windows and " "UWP to follow interface conventions." msgstr "" @@ -47446,6 +47605,16 @@ msgid "" msgstr "" #: doc/classes/ProjectSettings.xml +msgid "" +"If [code]true[/code], smooths out collision with trimesh shapes " +"([ConcavePolygonShape]) by telling the Bullet physics engine to generate " +"internal edge information for every trimesh shape created.\n" +"[b]Note:[/b] Only effective if [member physics/3d/physics_engine] is set to " +"[code]DEFAULT[/code] or [code]Bullet[/code], [i]not[/i] [code]GodotPhysics[/" +"code]." +msgstr "" + +#: doc/classes/ProjectSettings.xml msgid "Enables [member Viewport.physics_object_picking] on the root viewport." msgstr "" @@ -47859,6 +48028,14 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"An override for [code]rendering/gles3/shaders/shader_compilation_mode[/" +"code], so asynchronous compilation can be disabled for mobile.\n" +"You may want to do that since mobile GPUs generally won't support " +"ubershaders due to their complexity." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Max buffer size for blend shapes. Any blend shape bigger than this will not " "work." msgstr "" @@ -48796,13 +48973,13 @@ msgstr "" #: doc/classes/Range.xml msgid "" -"Binds two ranges together along with any ranges previously grouped with " +"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 "" #: doc/classes/Range.xml -msgid "Stops range from sharing its member variables with any other." +msgid "Stops the [Range] from sharing its member variables with any other." msgstr "" #: doc/classes/Range.xml @@ -48869,7 +49046,14 @@ msgid "" msgstr "" #: doc/classes/Range.xml -msgid "Emitted when [member value] changes." +msgid "" +"Emitted when [member value] changes. When used on a [Slider], this is called " +"continuously while dragging (potentially every frame). If you are performing " +"an expensive operation in a function connected to [signal value_changed], " +"consider using a [i]debouncing[/i] [Timer] to call the function less often.\n" +"[b]Note:[/b] Unlike signals such as [signal LineEdit.text_changed], [signal " +"value_changed] is also emitted when [code]value[/code] is set directly via " +"code." msgstr "" #: doc/classes/RayCast.xml doc/classes/RayCast2D.xml @@ -56182,11 +56366,11 @@ msgid "" "Returns [code]true[/code] if this string contains a valid float. This is " "inclusive of integers, and also supports exponents:\n" "[codeblock]\n" -"print(\"1.7\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"7e3\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"Hello\".is_valid_float()) # Prints \"false\"\n" +"print(\"1.7\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"7e3\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -56212,9 +56396,9 @@ msgid "" "identifier may contain only letters, digits and underscores ([code]_[/code]) " "and the first character may not be a digit.\n" "[codeblock]\n" -"print(\"good_ident_1\".is_valid_identifier()) # Prints \"true\"\n" -"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"false\"\n" -"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"false\"\n" +"print(\"good_ident_1\".is_valid_identifier()) # Prints \"True\"\n" +"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"False\"\n" +"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -56222,11 +56406,11 @@ msgstr "" msgid "" "Returns [code]true[/code] if this string contains a valid integer.\n" "[codeblock]\n" -"print(\"7\".is_valid_int()) # Prints \"true\"\n" -"print(\"14.6\".is_valid_int()) # Prints \"false\"\n" -"print(\"L\".is_valid_int()) # Prints \"false\"\n" -"print(\"+3\".is_valid_int()) # Prints \"true\"\n" -"print(\"-12\".is_valid_int()) # Prints \"true\"\n" +"print(\"7\".is_valid_int()) # Prints \"True\"\n" +"print(\"14.6\".is_valid_int()) # Prints \"False\"\n" +"print(\"L\".is_valid_int()) # Prints \"False\"\n" +"print(\"+3\".is_valid_int()) # Prints \"True\"\n" +"print(\"-12\".is_valid_int()) # Prints \"True\"\n" "[/codeblock]" msgstr "" @@ -56422,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 "" @@ -58022,6 +58206,12 @@ msgid "Returns if the given line is wrapped." msgstr "Zwraca tangens parametru." #: doc/classes/TextEdit.xml +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 "" + +#: doc/classes/TextEdit.xml msgid "Returns [code]true[/code] if the selection is active." msgstr "" @@ -60248,6 +60438,13 @@ msgstr "" #: doc/classes/Time.xml msgid "" +"Converts the given timezone offset in minutes to a timezone offset string. " +"For example, -480 returns \"-08:00\", 345 returns \"+05:45\", and 0 returns " +"\"+00:00\"." +msgstr "" + +#: doc/classes/Time.xml +msgid "" "Returns the amount of time passed in milliseconds since the engine started.\n" "Will always be positive or 0 and uses a 64-bit value (it will wrap after " "roughly 500 million years)." @@ -63914,6 +64111,13 @@ msgid "Returns [code]true[/code] if there are visible modals on-screen." msgstr "" #: doc/classes/Viewport.xml +#, fuzzy +msgid "Returns [code]true[/code] if the drag operation is successful." +msgstr "" +"Jeśli [code]true[/code], potomne węzły są sortowane. W innym przypadku jest " +"wyłączone." + +#: doc/classes/Viewport.xml msgid "" "Returns [code]true[/code] if the viewport is currently performing a drag " "operation." diff --git a/doc/translations/pt.po b/doc/translations/pt.po index eb2e648038..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 @@ -16672,6 +16693,11 @@ msgid "" msgstr "" #: doc/classes/Control.xml +#, fuzzy +msgid "Returns [code]true[/code] if drag operation is successful." +msgstr "Retorna [code]true[/code] se o script pode ser instanciado." + +#: doc/classes/Control.xml msgid "" "Invalidates the size cache in this node and in parent nodes up to toplevel. " "Intended to be used with [method get_minimum_size] when the return value is " @@ -17100,8 +17126,9 @@ msgstr "" #: doc/classes/Control.xml msgid "" "By default, the node's pivot is its top-left corner. When you change its " -"[member rect_scale], it will scale around this pivot. Set this property to " -"[member rect_size] / 2 to center the pivot in the node's rectangle." +"[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 "" #: doc/classes/Control.xml @@ -19449,10 +19476,10 @@ msgid "" "further calculations." msgstr "" -#: doc/classes/Curve2D.xml doc/classes/Curve3D.xml +#: doc/classes/Curve2D.xml msgid "" -"Adds a point to a curve at [code]position[/code], with control points " -"[code]in[/code] and [code]out[/code].\n" +"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" "If [code]at_position[/code] is given, the point is inserted before the point " "number [code]at_position[/code], moving that point (and every point after) " "after the inserted point. If [code]at_position[/code] is not given, or is an " @@ -19603,6 +19630,18 @@ msgid "" msgstr "" #: doc/classes/Curve3D.xml +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" +"If [code]at_position[/code] is given, the point is inserted before the point " +"number [code]at_position[/code], moving that point (and every point after) " +"after the inserted point. If [code]at_position[/code] is not given, or is an " +"illegal value ([code]at_position <0[/code] or [code]at_position >= [method " +"get_point_count][/code]), the point will be appended at the end of the point " +"list." +msgstr "" + +#: doc/classes/Curve3D.xml msgid "Returns the cache of points as a [PoolVector3Array]." msgstr "" @@ -20408,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" @@ -23207,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 @@ -24091,10 +24130,13 @@ msgstr "" #: doc/classes/Environment.xml msgid "" -"Keeps on screen every pixel drawn in the background. This is the fastest " -"background mode, but it can only be safely used in fully-interior scenes (no " -"visible sky or sky reflections). If enabled in a scene where the background " -"is visible, \"ghost trail\" artifacts will be visible when moving the camera." +"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 " +"not be faster than clearing the background, and can be significantly slower, " +"particularly on mobile.\n" +"It can only be safely used in fully-interior scenes (no visible sky or sky " +"reflections). If enabled in a scene where the background is visible, \"ghost " +"trail\" artifacts will be visible when moving the camera." msgstr "" #: doc/classes/Environment.xml @@ -27548,14 +27590,14 @@ msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Depth of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the depth of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Width of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the width of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HFlowContainer.xml @@ -29797,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 @@ -29809,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 @@ -29944,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 " @@ -29958,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 @@ -29969,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 " @@ -30321,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 @@ -30341,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 " @@ -30355,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 @@ -30388,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 @@ -30924,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 @@ -33398,6 +33440,14 @@ msgstr "" msgid "If [code]true[/code], the context menu will appear when right-clicked." msgstr "" +#: 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 "Se [code]true[/code], a texture será centralizada." + #: doc/classes/LineEdit.xml msgid "" "If [code]false[/code], existing text cannot be modified and new text cannot " @@ -33433,6 +33483,13 @@ msgid "" "[/codeblock]" msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +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 "" + #: doc/classes/LineEdit.xml msgid "" "Opacity of the [member placeholder_text]. From [code]0[/code] to [code]1[/" @@ -34748,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 "" @@ -37223,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 @@ -37935,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 @@ -38531,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 @@ -39315,6 +39419,11 @@ msgid "Returns the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +#, fuzzy +msgid "Returns the tooltip of the item at index [code]idx[/code]." +msgstr "Retorna o tipo do nó em at [code]idx[/code]." + +#: doc/classes/OptionButton.xml msgid "" "Returns the ID of the selected item, or [code]0[/code] if no item is " "selected." @@ -39368,6 +39477,11 @@ msgid "Sets the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +#, fuzzy +msgid "Sets the tooltip of the item at index [code]idx[/code]." +msgstr "Retorna o tipo do nó em at [code]idx[/code]." + +#: doc/classes/OptionButton.xml msgid "" "The index of the currently selected item, or [code]-1[/code] if no item is " "selected." @@ -39924,6 +40038,23 @@ msgstr "" #: doc/classes/OS.xml msgid "" +"Returns the current refresh rate of the specified screen. If [code]screen[/" +"code] is [code]-1[/code] (the default value), the current screen will be " +"used.\n" +"[b]Note:[/b] Returns [code]-1.0[/code] if Godot fails to find the refresh " +"rate for the specified screen. On HTML5, [method get_screen_refresh_rate] " +"will always return [code]-1.0[/code] as there is no way to retrieve the " +"refresh rate on that platform.\n" +"To fallback to a default refresh rate if the method fails, try:\n" +"[codeblock]\n" +"var refresh_rate = OS.get_screen_refresh_rate()\n" +"if refresh_rate < 0:\n" +" refresh_rate = 60.0\n" +"[/codeblock]" +msgstr "" + +#: doc/classes/OS.xml +msgid "" "Return the scale factor of the specified screen by index. If [code]screen[/" "code] is [code]-1[/code] (the default value), the current screen will be " "used.\n" @@ -43753,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 @@ -46284,6 +46418,12 @@ msgstr "" #: doc/classes/ProjectSettings.xml 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 "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], enables warnings when a function is declared with the " "same name as a constant." msgstr "" @@ -46707,6 +46847,19 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If enabled, the moment [member Viewport.gui_disable_input] is set to " +"[code]false[/code] to disable GUI input in a viewport, current mouse over " +"and mouse focus will be dropped.\n" +"That behavior helps to keep a robust GUI state, with no surprises when input " +"is resumed regardless what has happened in the meantime.\n" +"If disabled, the legacy behavior is used, which consists in just not doing " +"anything besides the GUI input disable itself.\n" +"[b]Note:[/b] This is set to [code]true[/code] by default for new projects " +"and is the recommended setting." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], swaps OK and Cancel buttons in dialogs on Windows and " "UWP to follow interface conventions." msgstr "" @@ -47676,6 +47829,16 @@ msgid "" msgstr "" #: doc/classes/ProjectSettings.xml +msgid "" +"If [code]true[/code], smooths out collision with trimesh shapes " +"([ConcavePolygonShape]) by telling the Bullet physics engine to generate " +"internal edge information for every trimesh shape created.\n" +"[b]Note:[/b] Only effective if [member physics/3d/physics_engine] is set to " +"[code]DEFAULT[/code] or [code]Bullet[/code], [i]not[/i] [code]GodotPhysics[/" +"code]." +msgstr "" + +#: doc/classes/ProjectSettings.xml msgid "Enables [member Viewport.physics_object_picking] on the root viewport." msgstr "" @@ -48089,6 +48252,14 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"An override for [code]rendering/gles3/shaders/shader_compilation_mode[/" +"code], so asynchronous compilation can be disabled for mobile.\n" +"You may want to do that since mobile GPUs generally won't support " +"ubershaders due to their complexity." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Max buffer size for blend shapes. Any blend shape bigger than this will not " "work." msgstr "" @@ -49021,13 +49192,13 @@ msgstr "" #: doc/classes/Range.xml msgid "" -"Binds two ranges together along with any ranges previously grouped with " +"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 "" #: doc/classes/Range.xml -msgid "Stops range from sharing its member variables with any other." +msgid "Stops the [Range] from sharing its member variables with any other." msgstr "" #: doc/classes/Range.xml @@ -49094,8 +49265,15 @@ msgid "" msgstr "" #: doc/classes/Range.xml -msgid "Emitted when [member value] changes." -msgstr "Emitido quando [member value] muda." +msgid "" +"Emitted when [member value] changes. When used on a [Slider], this is called " +"continuously while dragging (potentially every frame). If you are performing " +"an expensive operation in a function connected to [signal value_changed], " +"consider using a [i]debouncing[/i] [Timer] to call the function less often.\n" +"[b]Note:[/b] Unlike signals such as [signal LineEdit.text_changed], [signal " +"value_changed] is also emitted when [code]value[/code] is set directly via " +"code." +msgstr "" #: doc/classes/RayCast.xml doc/classes/RayCast2D.xml msgid "Query the closest object intersecting a ray." @@ -56418,11 +56596,11 @@ msgid "" "Returns [code]true[/code] if this string contains a valid float. This is " "inclusive of integers, and also supports exponents:\n" "[codeblock]\n" -"print(\"1.7\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"7e3\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"Hello\".is_valid_float()) # Prints \"false\"\n" +"print(\"1.7\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"7e3\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -56448,9 +56626,9 @@ msgid "" "identifier may contain only letters, digits and underscores ([code]_[/code]) " "and the first character may not be a digit.\n" "[codeblock]\n" -"print(\"good_ident_1\".is_valid_identifier()) # Prints \"true\"\n" -"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"false\"\n" -"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"false\"\n" +"print(\"good_ident_1\".is_valid_identifier()) # Prints \"True\"\n" +"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"False\"\n" +"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -56458,11 +56636,11 @@ msgstr "" msgid "" "Returns [code]true[/code] if this string contains a valid integer.\n" "[codeblock]\n" -"print(\"7\".is_valid_int()) # Prints \"true\"\n" -"print(\"14.6\".is_valid_int()) # Prints \"false\"\n" -"print(\"L\".is_valid_int()) # Prints \"false\"\n" -"print(\"+3\".is_valid_int()) # Prints \"true\"\n" -"print(\"-12\".is_valid_int()) # Prints \"true\"\n" +"print(\"7\".is_valid_int()) # Prints \"True\"\n" +"print(\"14.6\".is_valid_int()) # Prints \"False\"\n" +"print(\"L\".is_valid_int()) # Prints \"False\"\n" +"print(\"+3\".is_valid_int()) # Prints \"True\"\n" +"print(\"-12\".is_valid_int()) # Prints \"True\"\n" "[/codeblock]" msgstr "" @@ -56658,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 "" @@ -58253,6 +58431,12 @@ msgid "Returns if the given line is wrapped." msgstr "" #: doc/classes/TextEdit.xml +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 "" + +#: doc/classes/TextEdit.xml msgid "Returns [code]true[/code] if the selection is active." msgstr "" @@ -60473,6 +60657,13 @@ msgstr "" #: doc/classes/Time.xml msgid "" +"Converts the given timezone offset in minutes to a timezone offset string. " +"For example, -480 returns \"-08:00\", 345 returns \"+05:45\", and 0 returns " +"\"+00:00\"." +msgstr "" + +#: doc/classes/Time.xml +msgid "" "Returns the amount of time passed in milliseconds since the engine started.\n" "Will always be positive or 0 and uses a 64-bit value (it will wrap after " "roughly 500 million years)." @@ -64138,6 +64329,11 @@ msgid "Returns [code]true[/code] if there are visible modals on-screen." msgstr "" #: doc/classes/Viewport.xml +#, fuzzy +msgid "Returns [code]true[/code] if the drag operation is successful." +msgstr "Retorna [code]true[/code] se o script pode ser instanciado." + +#: doc/classes/Viewport.xml msgid "" "Returns [code]true[/code] if the viewport is currently performing a drag " "operation." diff --git a/doc/translations/pt_BR.po b/doc/translations/pt_BR.po index fbf4dbeaa6..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 @@ -16989,6 +17007,11 @@ msgid "" msgstr "" #: doc/classes/Control.xml +#, fuzzy +msgid "Returns [code]true[/code] if drag operation is successful." +msgstr "Retorna [code]true[/code] se o script pode ser instanciado." + +#: doc/classes/Control.xml msgid "" "Invalidates the size cache in this node and in parent nodes up to toplevel. " "Intended to be used with [method get_minimum_size] when the return value is " @@ -17417,8 +17440,9 @@ msgstr "" #: doc/classes/Control.xml msgid "" "By default, the node's pivot is its top-left corner. When you change its " -"[member rect_scale], it will scale around this pivot. Set this property to " -"[member rect_size] / 2 to center the pivot in the node's rectangle." +"[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 "" #: doc/classes/Control.xml @@ -19766,10 +19790,10 @@ msgid "" "further calculations." msgstr "" -#: doc/classes/Curve2D.xml doc/classes/Curve3D.xml +#: doc/classes/Curve2D.xml msgid "" -"Adds a point to a curve at [code]position[/code], with control points " -"[code]in[/code] and [code]out[/code].\n" +"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" "If [code]at_position[/code] is given, the point is inserted before the point " "number [code]at_position[/code], moving that point (and every point after) " "after the inserted point. If [code]at_position[/code] is not given, or is an " @@ -19921,6 +19945,18 @@ msgid "" msgstr "" #: doc/classes/Curve3D.xml +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" +"If [code]at_position[/code] is given, the point is inserted before the point " +"number [code]at_position[/code], moving that point (and every point after) " +"after the inserted point. If [code]at_position[/code] is not given, or is an " +"illegal value ([code]at_position <0[/code] or [code]at_position >= [method " +"get_point_count][/code]), the point will be appended at the end of the point " +"list." +msgstr "" + +#: doc/classes/Curve3D.xml #, fuzzy msgid "Returns the cache of points as a [PoolVector3Array]." msgstr "Retorna o arco-seno do parâmetro." @@ -20730,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" @@ -23531,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 @@ -24420,10 +24456,13 @@ msgstr "" #: doc/classes/Environment.xml msgid "" -"Keeps on screen every pixel drawn in the background. This is the fastest " -"background mode, but it can only be safely used in fully-interior scenes (no " -"visible sky or sky reflections). If enabled in a scene where the background " -"is visible, \"ghost trail\" artifacts will be visible when moving the camera." +"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 " +"not be faster than clearing the background, and can be significantly slower, " +"particularly on mobile.\n" +"It can only be safely used in fully-interior scenes (no visible sky or sky " +"reflections). If enabled in a scene where the background is visible, \"ghost " +"trail\" artifacts will be visible when moving the camera." msgstr "" #: doc/classes/Environment.xml @@ -27902,14 +27941,14 @@ msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Depth of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the depth of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Width of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the width of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HFlowContainer.xml @@ -30155,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 @@ -30167,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 @@ -30302,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 " @@ -30316,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 @@ -30327,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 " @@ -30680,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 @@ -30700,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 " @@ -30714,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 @@ -30747,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 @@ -31284,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 @@ -33767,6 +33806,14 @@ msgstr "" msgid "If [code]true[/code], the context menu will appear when right-clicked." msgstr "" +#: 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 "Retorna [code]true[/code] se o script pode ser instanciado." + #: doc/classes/LineEdit.xml msgid "" "If [code]false[/code], existing text cannot be modified and new text cannot " @@ -33802,6 +33849,13 @@ msgid "" "[/codeblock]" msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +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 "" + #: doc/classes/LineEdit.xml msgid "" "Opacity of the [member placeholder_text]. From [code]0[/code] to [code]1[/" @@ -35118,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 "" @@ -37613,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 @@ -38325,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 @@ -38921,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 @@ -39705,6 +39806,11 @@ msgid "Returns the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +#, fuzzy +msgid "Returns the tooltip of the item at index [code]idx[/code]." +msgstr "Retorna o tipo do nó em at [code]idx[/code]." + +#: doc/classes/OptionButton.xml msgid "" "Returns the ID of the selected item, or [code]0[/code] if no item is " "selected." @@ -39758,6 +39864,11 @@ msgid "Sets the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +#, fuzzy +msgid "Sets the tooltip of the item at index [code]idx[/code]." +msgstr "Retorna o tipo do nó em at [code]idx[/code]." + +#: doc/classes/OptionButton.xml msgid "" "The index of the currently selected item, or [code]-1[/code] if no item is " "selected." @@ -40319,6 +40430,23 @@ msgstr "" #: doc/classes/OS.xml msgid "" +"Returns the current refresh rate of the specified screen. If [code]screen[/" +"code] is [code]-1[/code] (the default value), the current screen will be " +"used.\n" +"[b]Note:[/b] Returns [code]-1.0[/code] if Godot fails to find the refresh " +"rate for the specified screen. On HTML5, [method get_screen_refresh_rate] " +"will always return [code]-1.0[/code] as there is no way to retrieve the " +"refresh rate on that platform.\n" +"To fallback to a default refresh rate if the method fails, try:\n" +"[codeblock]\n" +"var refresh_rate = OS.get_screen_refresh_rate()\n" +"if refresh_rate < 0:\n" +" refresh_rate = 60.0\n" +"[/codeblock]" +msgstr "" + +#: doc/classes/OS.xml +msgid "" "Return the scale factor of the specified screen by index. If [code]screen[/" "code] is [code]-1[/code] (the default value), the current screen will be " "used.\n" @@ -44182,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 @@ -46722,6 +46853,12 @@ msgstr "" #: doc/classes/ProjectSettings.xml 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 "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], enables warnings when a function is declared with the " "same name as a constant." msgstr "" @@ -47145,6 +47282,19 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If enabled, the moment [member Viewport.gui_disable_input] is set to " +"[code]false[/code] to disable GUI input in a viewport, current mouse over " +"and mouse focus will be dropped.\n" +"That behavior helps to keep a robust GUI state, with no surprises when input " +"is resumed regardless what has happened in the meantime.\n" +"If disabled, the legacy behavior is used, which consists in just not doing " +"anything besides the GUI input disable itself.\n" +"[b]Note:[/b] This is set to [code]true[/code] by default for new projects " +"and is the recommended setting." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], swaps OK and Cancel buttons in dialogs on Windows and " "UWP to follow interface conventions." msgstr "" @@ -48114,6 +48264,16 @@ msgid "" msgstr "" #: doc/classes/ProjectSettings.xml +msgid "" +"If [code]true[/code], smooths out collision with trimesh shapes " +"([ConcavePolygonShape]) by telling the Bullet physics engine to generate " +"internal edge information for every trimesh shape created.\n" +"[b]Note:[/b] Only effective if [member physics/3d/physics_engine] is set to " +"[code]DEFAULT[/code] or [code]Bullet[/code], [i]not[/i] [code]GodotPhysics[/" +"code]." +msgstr "" + +#: doc/classes/ProjectSettings.xml msgid "Enables [member Viewport.physics_object_picking] on the root viewport." msgstr "" @@ -48527,6 +48687,14 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"An override for [code]rendering/gles3/shaders/shader_compilation_mode[/" +"code], so asynchronous compilation can be disabled for mobile.\n" +"You may want to do that since mobile GPUs generally won't support " +"ubershaders due to their complexity." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Max buffer size for blend shapes. Any blend shape bigger than this will not " "work." msgstr "" @@ -49463,13 +49631,13 @@ msgstr "" #: doc/classes/Range.xml msgid "" -"Binds two ranges together along with any ranges previously grouped with " +"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 "" #: doc/classes/Range.xml -msgid "Stops range from sharing its member variables with any other." +msgid "Stops the [Range] from sharing its member variables with any other." msgstr "" #: doc/classes/Range.xml @@ -49536,8 +49704,15 @@ msgid "" msgstr "" #: doc/classes/Range.xml -msgid "Emitted when [member value] changes." -msgstr "Emitido quando [member value] muda." +msgid "" +"Emitted when [member value] changes. When used on a [Slider], this is called " +"continuously while dragging (potentially every frame). If you are performing " +"an expensive operation in a function connected to [signal value_changed], " +"consider using a [i]debouncing[/i] [Timer] to call the function less often.\n" +"[b]Note:[/b] Unlike signals such as [signal LineEdit.text_changed], [signal " +"value_changed] is also emitted when [code]value[/code] is set directly via " +"code." +msgstr "" #: doc/classes/RayCast.xml doc/classes/RayCast2D.xml msgid "Query the closest object intersecting a ray." @@ -56872,11 +57047,11 @@ msgid "" "Returns [code]true[/code] if this string contains a valid float. This is " "inclusive of integers, and also supports exponents:\n" "[codeblock]\n" -"print(\"1.7\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"7e3\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"Hello\".is_valid_float()) # Prints \"false\"\n" +"print(\"1.7\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"7e3\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -56902,9 +57077,9 @@ msgid "" "identifier may contain only letters, digits and underscores ([code]_[/code]) " "and the first character may not be a digit.\n" "[codeblock]\n" -"print(\"good_ident_1\".is_valid_identifier()) # Prints \"true\"\n" -"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"false\"\n" -"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"false\"\n" +"print(\"good_ident_1\".is_valid_identifier()) # Prints \"True\"\n" +"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"False\"\n" +"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -56912,11 +57087,11 @@ msgstr "" msgid "" "Returns [code]true[/code] if this string contains a valid integer.\n" "[codeblock]\n" -"print(\"7\".is_valid_int()) # Prints \"true\"\n" -"print(\"14.6\".is_valid_int()) # Prints \"false\"\n" -"print(\"L\".is_valid_int()) # Prints \"false\"\n" -"print(\"+3\".is_valid_int()) # Prints \"true\"\n" -"print(\"-12\".is_valid_int()) # Prints \"true\"\n" +"print(\"7\".is_valid_int()) # Prints \"True\"\n" +"print(\"14.6\".is_valid_int()) # Prints \"False\"\n" +"print(\"L\".is_valid_int()) # Prints \"False\"\n" +"print(\"+3\".is_valid_int()) # Prints \"True\"\n" +"print(\"-12\".is_valid_int()) # Prints \"True\"\n" "[/codeblock]" msgstr "" @@ -57112,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 "" @@ -58722,6 +58897,12 @@ msgid "Returns if the given line is wrapped." msgstr "Retorna a tangente do parâmetro." #: doc/classes/TextEdit.xml +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 "" + +#: doc/classes/TextEdit.xml msgid "Returns [code]true[/code] if the selection is active." msgstr "" @@ -60950,6 +61131,13 @@ msgstr "" #: doc/classes/Time.xml msgid "" +"Converts the given timezone offset in minutes to a timezone offset string. " +"For example, -480 returns \"-08:00\", 345 returns \"+05:45\", and 0 returns " +"\"+00:00\"." +msgstr "" + +#: doc/classes/Time.xml +msgid "" "Returns the amount of time passed in milliseconds since the engine started.\n" "Will always be positive or 0 and uses a 64-bit value (it will wrap after " "roughly 500 million years)." @@ -64625,6 +64813,11 @@ msgid "Returns [code]true[/code] if there are visible modals on-screen." msgstr "Retorna [code]true[/code] se o script pode ser instanciado." #: doc/classes/Viewport.xml +#, fuzzy +msgid "Returns [code]true[/code] if the drag operation is successful." +msgstr "Retorna [code]true[/code] se o script pode ser instanciado." + +#: doc/classes/Viewport.xml msgid "" "Returns [code]true[/code] if the viewport is currently performing a drag " "operation." diff --git a/doc/translations/ro.po b/doc/translations/ro.po index e80f0ba009..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 @@ -15867,6 +15887,10 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "Returns [code]true[/code] if drag operation is successful." +msgstr "" + +#: doc/classes/Control.xml msgid "" "Invalidates the size cache in this node and in parent nodes up to toplevel. " "Intended to be used with [method get_minimum_size] when the return value is " @@ -16287,8 +16311,9 @@ msgstr "" #: doc/classes/Control.xml msgid "" "By default, the node's pivot is its top-left corner. When you change its " -"[member rect_scale], it will scale around this pivot. Set this property to " -"[member rect_size] / 2 to center the pivot in the node's rectangle." +"[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 "" #: doc/classes/Control.xml @@ -18632,10 +18657,10 @@ msgid "" "further calculations." msgstr "" -#: doc/classes/Curve2D.xml doc/classes/Curve3D.xml +#: doc/classes/Curve2D.xml msgid "" -"Adds a point to a curve at [code]position[/code], with control points " -"[code]in[/code] and [code]out[/code].\n" +"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" "If [code]at_position[/code] is given, the point is inserted before the point " "number [code]at_position[/code], moving that point (and every point after) " "after the inserted point. If [code]at_position[/code] is not given, or is an " @@ -18786,6 +18811,18 @@ msgid "" msgstr "" #: doc/classes/Curve3D.xml +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" +"If [code]at_position[/code] is given, the point is inserted before the point " +"number [code]at_position[/code], moving that point (and every point after) " +"after the inserted point. If [code]at_position[/code] is not given, or is an " +"illegal value ([code]at_position <0[/code] or [code]at_position >= [method " +"get_point_count][/code]), the point will be appended at the end of the point " +"list." +msgstr "" + +#: doc/classes/Curve3D.xml msgid "Returns the cache of points as a [PoolVector3Array]." msgstr "" @@ -19591,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" @@ -22383,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 @@ -23269,10 +23306,13 @@ msgstr "" #: doc/classes/Environment.xml msgid "" -"Keeps on screen every pixel drawn in the background. This is the fastest " -"background mode, but it can only be safely used in fully-interior scenes (no " -"visible sky or sky reflections). If enabled in a scene where the background " -"is visible, \"ghost trail\" artifacts will be visible when moving the camera." +"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 " +"not be faster than clearing the background, and can be significantly slower, " +"particularly on mobile.\n" +"It can only be safely used in fully-interior scenes (no visible sky or sky " +"reflections). If enabled in a scene where the background is visible, \"ghost " +"trail\" artifacts will be visible when moving the camera." msgstr "" #: doc/classes/Environment.xml @@ -26723,14 +26763,14 @@ msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Depth of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the depth of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Width of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the width of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HFlowContainer.xml @@ -28972,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 @@ -28984,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 @@ -29119,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 " @@ -29133,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 @@ -29144,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 " @@ -29496,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 @@ -29516,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 " @@ -29530,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 @@ -29563,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 @@ -30095,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 @@ -32569,6 +32609,13 @@ msgstr "" msgid "If [code]true[/code], the context menu will appear when right-clicked." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml +#: doc/classes/TextEdit.xml +msgid "" +"If [code]true[/code], the selected text will be deselected when focus is " +"lost." +msgstr "" + #: doc/classes/LineEdit.xml msgid "" "If [code]false[/code], existing text cannot be modified and new text cannot " @@ -32604,6 +32651,13 @@ msgid "" "[/codeblock]" msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +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 "" + #: doc/classes/LineEdit.xml msgid "" "Opacity of the [member placeholder_text]. From [code]0[/code] to [code]1[/" @@ -33919,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 "" @@ -36371,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 @@ -37083,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 @@ -37679,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 @@ -38463,6 +38564,10 @@ msgid "Returns the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +msgid "Returns the tooltip of the item at index [code]idx[/code]." +msgstr "" + +#: doc/classes/OptionButton.xml msgid "" "Returns the ID of the selected item, or [code]0[/code] if no item is " "selected." @@ -38516,6 +38621,10 @@ msgid "Sets the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +msgid "Sets the tooltip of the item at index [code]idx[/code]." +msgstr "" + +#: doc/classes/OptionButton.xml msgid "" "The index of the currently selected item, or [code]-1[/code] if no item is " "selected." @@ -39072,6 +39181,23 @@ msgstr "" #: doc/classes/OS.xml msgid "" +"Returns the current refresh rate of the specified screen. If [code]screen[/" +"code] is [code]-1[/code] (the default value), the current screen will be " +"used.\n" +"[b]Note:[/b] Returns [code]-1.0[/code] if Godot fails to find the refresh " +"rate for the specified screen. On HTML5, [method get_screen_refresh_rate] " +"will always return [code]-1.0[/code] as there is no way to retrieve the " +"refresh rate on that platform.\n" +"To fallback to a default refresh rate if the method fails, try:\n" +"[codeblock]\n" +"var refresh_rate = OS.get_screen_refresh_rate()\n" +"if refresh_rate < 0:\n" +" refresh_rate = 60.0\n" +"[/codeblock]" +msgstr "" + +#: doc/classes/OS.xml +msgid "" "Return the scale factor of the specified screen by index. If [code]screen[/" "code] is [code]-1[/code] (the default value), the current screen will be " "used.\n" @@ -42898,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 @@ -45428,6 +45557,12 @@ msgstr "" #: doc/classes/ProjectSettings.xml 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 "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], enables warnings when a function is declared with the " "same name as a constant." msgstr "" @@ -45851,6 +45986,19 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If enabled, the moment [member Viewport.gui_disable_input] is set to " +"[code]false[/code] to disable GUI input in a viewport, current mouse over " +"and mouse focus will be dropped.\n" +"That behavior helps to keep a robust GUI state, with no surprises when input " +"is resumed regardless what has happened in the meantime.\n" +"If disabled, the legacy behavior is used, which consists in just not doing " +"anything besides the GUI input disable itself.\n" +"[b]Note:[/b] This is set to [code]true[/code] by default for new projects " +"and is the recommended setting." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], swaps OK and Cancel buttons in dialogs on Windows and " "UWP to follow interface conventions." msgstr "" @@ -46820,6 +46968,16 @@ msgid "" msgstr "" #: doc/classes/ProjectSettings.xml +msgid "" +"If [code]true[/code], smooths out collision with trimesh shapes " +"([ConcavePolygonShape]) by telling the Bullet physics engine to generate " +"internal edge information for every trimesh shape created.\n" +"[b]Note:[/b] Only effective if [member physics/3d/physics_engine] is set to " +"[code]DEFAULT[/code] or [code]Bullet[/code], [i]not[/i] [code]GodotPhysics[/" +"code]." +msgstr "" + +#: doc/classes/ProjectSettings.xml msgid "Enables [member Viewport.physics_object_picking] on the root viewport." msgstr "" @@ -47233,6 +47391,14 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"An override for [code]rendering/gles3/shaders/shader_compilation_mode[/" +"code], so asynchronous compilation can be disabled for mobile.\n" +"You may want to do that since mobile GPUs generally won't support " +"ubershaders due to their complexity." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Max buffer size for blend shapes. Any blend shape bigger than this will not " "work." msgstr "" @@ -48165,13 +48331,13 @@ msgstr "" #: doc/classes/Range.xml msgid "" -"Binds two ranges together along with any ranges previously grouped with " +"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 "" #: doc/classes/Range.xml -msgid "Stops range from sharing its member variables with any other." +msgid "Stops the [Range] from sharing its member variables with any other." msgstr "" #: doc/classes/Range.xml @@ -48238,7 +48404,14 @@ msgid "" msgstr "" #: doc/classes/Range.xml -msgid "Emitted when [member value] changes." +msgid "" +"Emitted when [member value] changes. When used on a [Slider], this is called " +"continuously while dragging (potentially every frame). If you are performing " +"an expensive operation in a function connected to [signal value_changed], " +"consider using a [i]debouncing[/i] [Timer] to call the function less often.\n" +"[b]Note:[/b] Unlike signals such as [signal LineEdit.text_changed], [signal " +"value_changed] is also emitted when [code]value[/code] is set directly via " +"code." msgstr "" #: doc/classes/RayCast.xml doc/classes/RayCast2D.xml @@ -55538,11 +55711,11 @@ msgid "" "Returns [code]true[/code] if this string contains a valid float. This is " "inclusive of integers, and also supports exponents:\n" "[codeblock]\n" -"print(\"1.7\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"7e3\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"Hello\".is_valid_float()) # Prints \"false\"\n" +"print(\"1.7\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"7e3\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55568,9 +55741,9 @@ msgid "" "identifier may contain only letters, digits and underscores ([code]_[/code]) " "and the first character may not be a digit.\n" "[codeblock]\n" -"print(\"good_ident_1\".is_valid_identifier()) # Prints \"true\"\n" -"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"false\"\n" -"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"false\"\n" +"print(\"good_ident_1\".is_valid_identifier()) # Prints \"True\"\n" +"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"False\"\n" +"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55578,11 +55751,11 @@ msgstr "" msgid "" "Returns [code]true[/code] if this string contains a valid integer.\n" "[codeblock]\n" -"print(\"7\".is_valid_int()) # Prints \"true\"\n" -"print(\"14.6\".is_valid_int()) # Prints \"false\"\n" -"print(\"L\".is_valid_int()) # Prints \"false\"\n" -"print(\"+3\".is_valid_int()) # Prints \"true\"\n" -"print(\"-12\".is_valid_int()) # Prints \"true\"\n" +"print(\"7\".is_valid_int()) # Prints \"True\"\n" +"print(\"14.6\".is_valid_int()) # Prints \"False\"\n" +"print(\"L\".is_valid_int()) # Prints \"False\"\n" +"print(\"+3\".is_valid_int()) # Prints \"True\"\n" +"print(\"-12\".is_valid_int()) # Prints \"True\"\n" "[/codeblock]" msgstr "" @@ -55778,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 "" @@ -57369,6 +57542,12 @@ msgid "Returns if the given line is wrapped." msgstr "" #: doc/classes/TextEdit.xml +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 "" + +#: doc/classes/TextEdit.xml msgid "Returns [code]true[/code] if the selection is active." msgstr "" @@ -59584,6 +59763,13 @@ msgstr "" #: doc/classes/Time.xml msgid "" +"Converts the given timezone offset in minutes to a timezone offset string. " +"For example, -480 returns \"-08:00\", 345 returns \"+05:45\", and 0 returns " +"\"+00:00\"." +msgstr "" + +#: doc/classes/Time.xml +msgid "" "Returns the amount of time passed in milliseconds since the engine started.\n" "Will always be positive or 0 and uses a 64-bit value (it will wrap after " "roughly 500 million years)." @@ -63238,6 +63424,10 @@ msgid "Returns [code]true[/code] if there are visible modals on-screen." msgstr "" #: doc/classes/Viewport.xml +msgid "Returns [code]true[/code] if the drag operation is successful." +msgstr "" + +#: doc/classes/Viewport.xml msgid "" "Returns [code]true[/code] if the viewport is currently performing a drag " "operation." diff --git a/doc/translations/ru.po b/doc/translations/ru.po index 419a3bf547..3205ad2cd3 100644 --- a/doc/translations/ru.po +++ b/doc/translations/ru.po @@ -39,12 +39,14 @@ # Russkikh Michail <summersay415@gmail.com>, 2022. # Kirill Slesarenok <s.k.s.10.09.2001@gmail.com>, 2022. # Иван Гай <yfrde615@gmail.com>, 2022. +# Bebihindra <denisk.chebotarev@mail.ru>, 2022. +# Alex_Faction <creeponedead@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-02 18:39+0000\n" -"Last-Translator: Rustam Alieskerov <rustam.aleskerov7@gmail.com>\n" +"PO-Revision-Date: 2022-03-13 22:11+0000\n" +"Last-Translator: Alex_Faction <creeponedead@gmail.com>\n" "Language-Team: Russian <https://hosted.weblate.org/projects/godot-engine/" "godot-class-reference/ru/>\n" "Language: ru\n" @@ -53,7 +55,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.1-dev\n" +"X-Generator: Weblate 4.12-dev\n" #: doc/tools/make_rst.py msgid "Description" @@ -164,8 +166,8 @@ msgid "" "This method describes a valid operator to use with this type as left-hand " "operand." msgstr "" -"Этот метод описывает подходящий оператор, который необходимо использовать с " -"этим типом, как левый операнд." +"Этот метод описывает допустимый оператор для использования с этим типом в " +"качестве левого операнда." #: modules/gdscript/doc_classes/@GDScript.xml msgid "Built-in GDScript functions." @@ -438,12 +440,12 @@ msgid "" "a = clamp(15, 1, 20) # a is 15\n" "[/codeblock]" msgstr "" -"Ограничивает [code]value[/code], и возвращает значение не меньше [code]min[/" +"Ограничивает [code]value[/code], возвращая значение не меньше [code]min[/" "code] и не больше [code]max[/code].\n" "[codeblock]\n" "a = clamp(1000, 1, 20) # a будет 20\n" -"a = clamp(-10, 1, 20) # a будет 1\n" -"a = clamp(15, 1, 20) # a будет 15\n" +"a = clamp(-10, 1, 20) # a будет 1\n" +"a = clamp(15, 1, 20) # a будет 15\n" "[/codeblock]" #: modules/gdscript/doc_classes/@GDScript.xml @@ -485,18 +487,15 @@ msgstr "" "[/codeblock]" #: modules/gdscript/doc_classes/@GDScript.xml -#, fuzzy msgid "" "Returns the hyperbolic cosine of [code]s[/code] in radians.\n" "[codeblock]\n" "print(cosh(1)) # Prints 1.543081\n" "[/codeblock]" msgstr "" -"Возвращает гиперболический косинус угла [code]s[/code], заданного в " -"радианах.\n" +"Возвращает гиперболический косинус угла [code]s[/code] в радианах.\n" "[codeblock]\n" -"# Печатает 1.543081\n" -"print(cosh(1))\n" +"print(cosh(1)) # Выведет 1.543081\n" "[/codeblock]" #: modules/gdscript/doc_classes/@GDScript.xml @@ -671,7 +670,6 @@ msgstr "" "напрямую." #: modules/gdscript/doc_classes/@GDScript.xml -#, fuzzy msgid "" "Returns the floating-point remainder of [code]a/b[/code], keeping the sign " "of [code]a[/code].\n" @@ -683,8 +681,7 @@ msgstr "" "Возвращает значение с плавающей точкой остатка от деления [code]a/b[/code], " "сохраняя знак [code]a[/code].\n" "[codeblock]\n" -"# remainder равно 1.5\n" -"var remainder = fmod(7, 5.5)\n" +"var remainder = fmod(7, 5.5) # remainder равно 1.5\n" "[/codeblock]\n" "Для получения целочисленного остатка используйте оператор %." @@ -4404,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 "" @@ -6664,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 @@ -11993,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 @@ -14167,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 @@ -14288,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 @@ -17628,6 +17642,11 @@ msgstr "" "приблизительно равны друг другу." #: doc/classes/Control.xml +#, fuzzy +msgid "Returns [code]true[/code] if drag operation is successful." +msgstr "Возвращает [code]true[/code] если массив пустой." + +#: doc/classes/Control.xml msgid "" "Invalidates the size cache in this node and in parent nodes up to toplevel. " "Intended to be used with [method get_minimum_size] when the return value is " @@ -18054,8 +18073,9 @@ msgstr "" #: doc/classes/Control.xml msgid "" "By default, the node's pivot is its top-left corner. When you change its " -"[member rect_scale], it will scale around this pivot. Set this property to " -"[member rect_size] / 2 to center the pivot in the node's rectangle." +"[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 "" #: doc/classes/Control.xml @@ -20403,10 +20423,10 @@ msgid "" "further calculations." msgstr "" -#: doc/classes/Curve2D.xml doc/classes/Curve3D.xml +#: doc/classes/Curve2D.xml msgid "" -"Adds a point to a curve at [code]position[/code], with control points " -"[code]in[/code] and [code]out[/code].\n" +"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" "If [code]at_position[/code] is given, the point is inserted before the point " "number [code]at_position[/code], moving that point (and every point after) " "after the inserted point. If [code]at_position[/code] is not given, or is an " @@ -20558,6 +20578,18 @@ msgid "" msgstr "" #: doc/classes/Curve3D.xml +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" +"If [code]at_position[/code] is given, the point is inserted before the point " +"number [code]at_position[/code], moving that point (and every point after) " +"after the inserted point. If [code]at_position[/code] is not given, or is an " +"illegal value ([code]at_position <0[/code] or [code]at_position >= [method " +"get_point_count][/code]), the point will be appended at the end of the point " +"list." +msgstr "" + +#: doc/classes/Curve3D.xml #, fuzzy msgid "Returns the cache of points as a [PoolVector3Array]." msgstr "Возвращает арксинус параметра." @@ -21371,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" @@ -24180,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 @@ -25069,10 +25101,13 @@ msgstr "" #: doc/classes/Environment.xml msgid "" -"Keeps on screen every pixel drawn in the background. This is the fastest " -"background mode, but it can only be safely used in fully-interior scenes (no " -"visible sky or sky reflections). If enabled in a scene where the background " -"is visible, \"ghost trail\" artifacts will be visible when moving the camera." +"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 " +"not be faster than clearing the background, and can be significantly slower, " +"particularly on mobile.\n" +"It can only be safely used in fully-interior scenes (no visible sky or sky " +"reflections). If enabled in a scene where the background is visible, \"ghost " +"trail\" artifacts will be visible when moving the camera." msgstr "" #: doc/classes/Environment.xml @@ -28543,14 +28578,14 @@ msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Depth of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the depth of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Width of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the width of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HFlowContainer.xml @@ -30799,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 @@ -30811,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 @@ -30946,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 " @@ -30960,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 @@ -30971,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 " @@ -31323,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 @@ -31343,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 " @@ -31357,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 @@ -31390,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 @@ -31923,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 @@ -34426,6 +34461,14 @@ msgstr "" msgid "If [code]true[/code], the context menu will appear when right-clicked." msgstr "" +#: 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], текстура будет центрирована." + #: doc/classes/LineEdit.xml msgid "" "If [code]false[/code], existing text cannot be modified and new text cannot " @@ -34461,6 +34504,13 @@ msgid "" "[/codeblock]" msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +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 "" + #: doc/classes/LineEdit.xml msgid "" "Opacity of the [member placeholder_text]. From [code]0[/code] to [code]1[/" @@ -35779,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 "" @@ -38121,7 +38204,7 @@ msgstr "" #: doc/classes/Node.xml msgid "Nodes and Scenes" -msgstr "" +msgstr "Узлы и Сцены" #: doc/classes/Node.xml msgid "All Demos" @@ -38273,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 @@ -38988,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 @@ -39586,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 @@ -40373,6 +40470,11 @@ msgid "Returns the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +#, fuzzy +msgid "Returns the tooltip of the item at index [code]idx[/code]." +msgstr "Возвращает скалярное произведение с вектором [code]b[/code]." + +#: doc/classes/OptionButton.xml msgid "" "Returns the ID of the selected item, or [code]0[/code] if no item is " "selected." @@ -40426,6 +40528,11 @@ msgid "Sets the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +#, fuzzy +msgid "Sets the tooltip of the item at index [code]idx[/code]." +msgstr "Возвращает скалярное произведение с вектором [code]b[/code]." + +#: doc/classes/OptionButton.xml msgid "" "The index of the currently selected item, or [code]-1[/code] if no item is " "selected." @@ -40991,6 +41098,23 @@ msgstr "" #: doc/classes/OS.xml msgid "" +"Returns the current refresh rate of the specified screen. If [code]screen[/" +"code] is [code]-1[/code] (the default value), the current screen will be " +"used.\n" +"[b]Note:[/b] Returns [code]-1.0[/code] if Godot fails to find the refresh " +"rate for the specified screen. On HTML5, [method get_screen_refresh_rate] " +"will always return [code]-1.0[/code] as there is no way to retrieve the " +"refresh rate on that platform.\n" +"To fallback to a default refresh rate if the method fails, try:\n" +"[codeblock]\n" +"var refresh_rate = OS.get_screen_refresh_rate()\n" +"if refresh_rate < 0:\n" +" refresh_rate = 60.0\n" +"[/codeblock]" +msgstr "" + +#: doc/classes/OS.xml +msgid "" "Return the scale factor of the specified screen by index. If [code]screen[/" "code] is [code]-1[/code] (the default value), the current screen will be " "used.\n" @@ -44854,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 @@ -47417,6 +47544,15 @@ msgid "" 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], анимация [member animation] воспроизводится в данный " +"момент." + +#: doc/classes/ProjectSettings.xml msgid "" "If [code]true[/code], enables warnings when a function is declared with the " "same name as a constant." @@ -47845,6 +47981,19 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If enabled, the moment [member Viewport.gui_disable_input] is set to " +"[code]false[/code] to disable GUI input in a viewport, current mouse over " +"and mouse focus will be dropped.\n" +"That behavior helps to keep a robust GUI state, with no surprises when input " +"is resumed regardless what has happened in the meantime.\n" +"If disabled, the legacy behavior is used, which consists in just not doing " +"anything besides the GUI input disable itself.\n" +"[b]Note:[/b] This is set to [code]true[/code] by default for new projects " +"and is the recommended setting." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], swaps OK and Cancel buttons in dialogs on Windows and " "UWP to follow interface conventions." msgstr "" @@ -48814,6 +48963,16 @@ msgid "" msgstr "" #: doc/classes/ProjectSettings.xml +msgid "" +"If [code]true[/code], smooths out collision with trimesh shapes " +"([ConcavePolygonShape]) by telling the Bullet physics engine to generate " +"internal edge information for every trimesh shape created.\n" +"[b]Note:[/b] Only effective if [member physics/3d/physics_engine] is set to " +"[code]DEFAULT[/code] or [code]Bullet[/code], [i]not[/i] [code]GodotPhysics[/" +"code]." +msgstr "" + +#: doc/classes/ProjectSettings.xml msgid "Enables [member Viewport.physics_object_picking] on the root viewport." msgstr "" @@ -49227,6 +49386,14 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"An override for [code]rendering/gles3/shaders/shader_compilation_mode[/" +"code], so asynchronous compilation can be disabled for mobile.\n" +"You may want to do that since mobile GPUs generally won't support " +"ubershaders due to their complexity." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Max buffer size for blend shapes. Any blend shape bigger than this will not " "work." msgstr "" @@ -50206,13 +50373,13 @@ msgstr "" #: doc/classes/Range.xml msgid "" -"Binds two ranges together along with any ranges previously grouped with " +"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 "" #: doc/classes/Range.xml -msgid "Stops range from sharing its member variables with any other." +msgid "Stops the [Range] from sharing its member variables with any other." msgstr "" #: doc/classes/Range.xml @@ -50279,7 +50446,14 @@ msgid "" msgstr "" #: doc/classes/Range.xml -msgid "Emitted when [member value] changes." +msgid "" +"Emitted when [member value] changes. When used on a [Slider], this is called " +"continuously while dragging (potentially every frame). If you are performing " +"an expensive operation in a function connected to [signal value_changed], " +"consider using a [i]debouncing[/i] [Timer] to call the function less often.\n" +"[b]Note:[/b] Unlike signals such as [signal LineEdit.text_changed], [signal " +"value_changed] is also emitted when [code]value[/code] is set directly via " +"code." msgstr "" #: doc/classes/RayCast.xml doc/classes/RayCast2D.xml @@ -57631,11 +57805,11 @@ msgid "" "Returns [code]true[/code] if this string contains a valid float. This is " "inclusive of integers, and also supports exponents:\n" "[codeblock]\n" -"print(\"1.7\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"7e3\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"Hello\".is_valid_float()) # Prints \"false\"\n" +"print(\"1.7\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"7e3\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -57661,9 +57835,9 @@ msgid "" "identifier may contain only letters, digits and underscores ([code]_[/code]) " "and the first character may not be a digit.\n" "[codeblock]\n" -"print(\"good_ident_1\".is_valid_identifier()) # Prints \"true\"\n" -"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"false\"\n" -"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"false\"\n" +"print(\"good_ident_1\".is_valid_identifier()) # Prints \"True\"\n" +"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"False\"\n" +"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -57671,11 +57845,11 @@ msgstr "" msgid "" "Returns [code]true[/code] if this string contains a valid integer.\n" "[codeblock]\n" -"print(\"7\".is_valid_int()) # Prints \"true\"\n" -"print(\"14.6\".is_valid_int()) # Prints \"false\"\n" -"print(\"L\".is_valid_int()) # Prints \"false\"\n" -"print(\"+3\".is_valid_int()) # Prints \"true\"\n" -"print(\"-12\".is_valid_int()) # Prints \"true\"\n" +"print(\"7\".is_valid_int()) # Prints \"True\"\n" +"print(\"14.6\".is_valid_int()) # Prints \"False\"\n" +"print(\"L\".is_valid_int()) # Prints \"False\"\n" +"print(\"+3\".is_valid_int()) # Prints \"True\"\n" +"print(\"-12\".is_valid_int()) # Prints \"True\"\n" "[/codeblock]" msgstr "" @@ -57871,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 "" @@ -59482,6 +59656,12 @@ msgid "Returns if the given line is wrapped." msgstr "Возвращает [Texture2D] заданного кадра." #: doc/classes/TextEdit.xml +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 "" + +#: doc/classes/TextEdit.xml msgid "Returns [code]true[/code] if the selection is active." msgstr "" @@ -61727,6 +61907,13 @@ msgstr "" #: doc/classes/Time.xml msgid "" +"Converts the given timezone offset in minutes to a timezone offset string. " +"For example, -480 returns \"-08:00\", 345 returns \"+05:45\", and 0 returns " +"\"+00:00\"." +msgstr "" + +#: doc/classes/Time.xml +msgid "" "Returns the amount of time passed in milliseconds since the engine started.\n" "Will always be positive or 0 and uses a 64-bit value (it will wrap after " "roughly 500 million years)." @@ -65534,6 +65721,11 @@ 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] если массив пустой." + +#: doc/classes/Viewport.xml msgid "" "Returns [code]true[/code] if the viewport is currently performing a drag " "operation." diff --git a/doc/translations/sk.po b/doc/translations/sk.po index 7f5375076e..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 @@ -15850,6 +15870,10 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "Returns [code]true[/code] if drag operation is successful." +msgstr "" + +#: doc/classes/Control.xml msgid "" "Invalidates the size cache in this node and in parent nodes up to toplevel. " "Intended to be used with [method get_minimum_size] when the return value is " @@ -16270,8 +16294,9 @@ msgstr "" #: doc/classes/Control.xml msgid "" "By default, the node's pivot is its top-left corner. When you change its " -"[member rect_scale], it will scale around this pivot. Set this property to " -"[member rect_size] / 2 to center the pivot in the node's rectangle." +"[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 "" #: doc/classes/Control.xml @@ -18615,10 +18640,10 @@ msgid "" "further calculations." msgstr "" -#: doc/classes/Curve2D.xml doc/classes/Curve3D.xml +#: doc/classes/Curve2D.xml msgid "" -"Adds a point to a curve at [code]position[/code], with control points " -"[code]in[/code] and [code]out[/code].\n" +"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" "If [code]at_position[/code] is given, the point is inserted before the point " "number [code]at_position[/code], moving that point (and every point after) " "after the inserted point. If [code]at_position[/code] is not given, or is an " @@ -18769,6 +18794,18 @@ msgid "" msgstr "" #: doc/classes/Curve3D.xml +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" +"If [code]at_position[/code] is given, the point is inserted before the point " +"number [code]at_position[/code], moving that point (and every point after) " +"after the inserted point. If [code]at_position[/code] is not given, or is an " +"illegal value ([code]at_position <0[/code] or [code]at_position >= [method " +"get_point_count][/code]), the point will be appended at the end of the point " +"list." +msgstr "" + +#: doc/classes/Curve3D.xml msgid "Returns the cache of points as a [PoolVector3Array]." msgstr "" @@ -19574,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" @@ -22366,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 @@ -23252,10 +23289,13 @@ msgstr "" #: doc/classes/Environment.xml msgid "" -"Keeps on screen every pixel drawn in the background. This is the fastest " -"background mode, but it can only be safely used in fully-interior scenes (no " -"visible sky or sky reflections). If enabled in a scene where the background " -"is visible, \"ghost trail\" artifacts will be visible when moving the camera." +"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 " +"not be faster than clearing the background, and can be significantly slower, " +"particularly on mobile.\n" +"It can only be safely used in fully-interior scenes (no visible sky or sky " +"reflections). If enabled in a scene where the background is visible, \"ghost " +"trail\" artifacts will be visible when moving the camera." msgstr "" #: doc/classes/Environment.xml @@ -26706,14 +26746,14 @@ msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Depth of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the depth of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Width of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the width of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HFlowContainer.xml @@ -28955,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 @@ -28967,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 @@ -29102,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 " @@ -29116,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 @@ -29127,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 " @@ -29479,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 @@ -29499,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 " @@ -29513,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 @@ -29546,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 @@ -30078,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 @@ -32552,6 +32592,13 @@ msgstr "" msgid "If [code]true[/code], the context menu will appear when right-clicked." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml +#: doc/classes/TextEdit.xml +msgid "" +"If [code]true[/code], the selected text will be deselected when focus is " +"lost." +msgstr "" + #: doc/classes/LineEdit.xml msgid "" "If [code]false[/code], existing text cannot be modified and new text cannot " @@ -32587,6 +32634,13 @@ msgid "" "[/codeblock]" msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +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 "" + #: doc/classes/LineEdit.xml msgid "" "Opacity of the [member placeholder_text]. From [code]0[/code] to [code]1[/" @@ -33902,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 "" @@ -36354,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 @@ -37066,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 @@ -37662,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 @@ -38446,6 +38547,10 @@ msgid "Returns the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +msgid "Returns the tooltip of the item at index [code]idx[/code]." +msgstr "" + +#: doc/classes/OptionButton.xml msgid "" "Returns the ID of the selected item, or [code]0[/code] if no item is " "selected." @@ -38499,6 +38604,10 @@ msgid "Sets the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +msgid "Sets the tooltip of the item at index [code]idx[/code]." +msgstr "" + +#: doc/classes/OptionButton.xml msgid "" "The index of the currently selected item, or [code]-1[/code] if no item is " "selected." @@ -39055,6 +39164,23 @@ msgstr "" #: doc/classes/OS.xml msgid "" +"Returns the current refresh rate of the specified screen. If [code]screen[/" +"code] is [code]-1[/code] (the default value), the current screen will be " +"used.\n" +"[b]Note:[/b] Returns [code]-1.0[/code] if Godot fails to find the refresh " +"rate for the specified screen. On HTML5, [method get_screen_refresh_rate] " +"will always return [code]-1.0[/code] as there is no way to retrieve the " +"refresh rate on that platform.\n" +"To fallback to a default refresh rate if the method fails, try:\n" +"[codeblock]\n" +"var refresh_rate = OS.get_screen_refresh_rate()\n" +"if refresh_rate < 0:\n" +" refresh_rate = 60.0\n" +"[/codeblock]" +msgstr "" + +#: doc/classes/OS.xml +msgid "" "Return the scale factor of the specified screen by index. If [code]screen[/" "code] is [code]-1[/code] (the default value), the current screen will be " "used.\n" @@ -42881,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 @@ -45411,6 +45540,12 @@ msgstr "" #: doc/classes/ProjectSettings.xml 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 "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], enables warnings when a function is declared with the " "same name as a constant." msgstr "" @@ -45834,6 +45969,19 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If enabled, the moment [member Viewport.gui_disable_input] is set to " +"[code]false[/code] to disable GUI input in a viewport, current mouse over " +"and mouse focus will be dropped.\n" +"That behavior helps to keep a robust GUI state, with no surprises when input " +"is resumed regardless what has happened in the meantime.\n" +"If disabled, the legacy behavior is used, which consists in just not doing " +"anything besides the GUI input disable itself.\n" +"[b]Note:[/b] This is set to [code]true[/code] by default for new projects " +"and is the recommended setting." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], swaps OK and Cancel buttons in dialogs on Windows and " "UWP to follow interface conventions." msgstr "" @@ -46803,6 +46951,16 @@ msgid "" msgstr "" #: doc/classes/ProjectSettings.xml +msgid "" +"If [code]true[/code], smooths out collision with trimesh shapes " +"([ConcavePolygonShape]) by telling the Bullet physics engine to generate " +"internal edge information for every trimesh shape created.\n" +"[b]Note:[/b] Only effective if [member physics/3d/physics_engine] is set to " +"[code]DEFAULT[/code] or [code]Bullet[/code], [i]not[/i] [code]GodotPhysics[/" +"code]." +msgstr "" + +#: doc/classes/ProjectSettings.xml msgid "Enables [member Viewport.physics_object_picking] on the root viewport." msgstr "" @@ -47216,6 +47374,14 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"An override for [code]rendering/gles3/shaders/shader_compilation_mode[/" +"code], so asynchronous compilation can be disabled for mobile.\n" +"You may want to do that since mobile GPUs generally won't support " +"ubershaders due to their complexity." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Max buffer size for blend shapes. Any blend shape bigger than this will not " "work." msgstr "" @@ -48148,13 +48314,13 @@ msgstr "" #: doc/classes/Range.xml msgid "" -"Binds two ranges together along with any ranges previously grouped with " +"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 "" #: doc/classes/Range.xml -msgid "Stops range from sharing its member variables with any other." +msgid "Stops the [Range] from sharing its member variables with any other." msgstr "" #: doc/classes/Range.xml @@ -48221,7 +48387,14 @@ msgid "" msgstr "" #: doc/classes/Range.xml -msgid "Emitted when [member value] changes." +msgid "" +"Emitted when [member value] changes. When used on a [Slider], this is called " +"continuously while dragging (potentially every frame). If you are performing " +"an expensive operation in a function connected to [signal value_changed], " +"consider using a [i]debouncing[/i] [Timer] to call the function less often.\n" +"[b]Note:[/b] Unlike signals such as [signal LineEdit.text_changed], [signal " +"value_changed] is also emitted when [code]value[/code] is set directly via " +"code." msgstr "" #: doc/classes/RayCast.xml doc/classes/RayCast2D.xml @@ -55521,11 +55694,11 @@ msgid "" "Returns [code]true[/code] if this string contains a valid float. This is " "inclusive of integers, and also supports exponents:\n" "[codeblock]\n" -"print(\"1.7\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"7e3\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"Hello\".is_valid_float()) # Prints \"false\"\n" +"print(\"1.7\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"7e3\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55551,9 +55724,9 @@ msgid "" "identifier may contain only letters, digits and underscores ([code]_[/code]) " "and the first character may not be a digit.\n" "[codeblock]\n" -"print(\"good_ident_1\".is_valid_identifier()) # Prints \"true\"\n" -"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"false\"\n" -"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"false\"\n" +"print(\"good_ident_1\".is_valid_identifier()) # Prints \"True\"\n" +"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"False\"\n" +"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55561,11 +55734,11 @@ msgstr "" msgid "" "Returns [code]true[/code] if this string contains a valid integer.\n" "[codeblock]\n" -"print(\"7\".is_valid_int()) # Prints \"true\"\n" -"print(\"14.6\".is_valid_int()) # Prints \"false\"\n" -"print(\"L\".is_valid_int()) # Prints \"false\"\n" -"print(\"+3\".is_valid_int()) # Prints \"true\"\n" -"print(\"-12\".is_valid_int()) # Prints \"true\"\n" +"print(\"7\".is_valid_int()) # Prints \"True\"\n" +"print(\"14.6\".is_valid_int()) # Prints \"False\"\n" +"print(\"L\".is_valid_int()) # Prints \"False\"\n" +"print(\"+3\".is_valid_int()) # Prints \"True\"\n" +"print(\"-12\".is_valid_int()) # Prints \"True\"\n" "[/codeblock]" msgstr "" @@ -55761,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 "" @@ -57352,6 +57525,12 @@ msgid "Returns if the given line is wrapped." msgstr "" #: doc/classes/TextEdit.xml +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 "" + +#: doc/classes/TextEdit.xml msgid "Returns [code]true[/code] if the selection is active." msgstr "" @@ -59567,6 +59746,13 @@ msgstr "" #: doc/classes/Time.xml msgid "" +"Converts the given timezone offset in minutes to a timezone offset string. " +"For example, -480 returns \"-08:00\", 345 returns \"+05:45\", and 0 returns " +"\"+00:00\"." +msgstr "" + +#: doc/classes/Time.xml +msgid "" "Returns the amount of time passed in milliseconds since the engine started.\n" "Will always be positive or 0 and uses a 64-bit value (it will wrap after " "roughly 500 million years)." @@ -63221,6 +63407,10 @@ msgid "Returns [code]true[/code] if there are visible modals on-screen." msgstr "" #: doc/classes/Viewport.xml +msgid "Returns [code]true[/code] if the drag operation is successful." +msgstr "" + +#: doc/classes/Viewport.xml msgid "" "Returns [code]true[/code] if the viewport is currently performing a drag " "operation." diff --git a/doc/translations/sr_Cyrl.po b/doc/translations/sr_Cyrl.po index fb2ee3eda8..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 @@ -15861,6 +15881,10 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "Returns [code]true[/code] if drag operation is successful." +msgstr "" + +#: doc/classes/Control.xml msgid "" "Invalidates the size cache in this node and in parent nodes up to toplevel. " "Intended to be used with [method get_minimum_size] when the return value is " @@ -16281,8 +16305,9 @@ msgstr "" #: doc/classes/Control.xml msgid "" "By default, the node's pivot is its top-left corner. When you change its " -"[member rect_scale], it will scale around this pivot. Set this property to " -"[member rect_size] / 2 to center the pivot in the node's rectangle." +"[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 "" #: doc/classes/Control.xml @@ -18626,10 +18651,10 @@ msgid "" "further calculations." msgstr "" -#: doc/classes/Curve2D.xml doc/classes/Curve3D.xml +#: doc/classes/Curve2D.xml msgid "" -"Adds a point to a curve at [code]position[/code], with control points " -"[code]in[/code] and [code]out[/code].\n" +"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" "If [code]at_position[/code] is given, the point is inserted before the point " "number [code]at_position[/code], moving that point (and every point after) " "after the inserted point. If [code]at_position[/code] is not given, or is an " @@ -18780,6 +18805,18 @@ msgid "" msgstr "" #: doc/classes/Curve3D.xml +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" +"If [code]at_position[/code] is given, the point is inserted before the point " +"number [code]at_position[/code], moving that point (and every point after) " +"after the inserted point. If [code]at_position[/code] is not given, or is an " +"illegal value ([code]at_position <0[/code] or [code]at_position >= [method " +"get_point_count][/code]), the point will be appended at the end of the point " +"list." +msgstr "" + +#: doc/classes/Curve3D.xml msgid "Returns the cache of points as a [PoolVector3Array]." msgstr "" @@ -19585,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" @@ -22377,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 @@ -23263,10 +23300,13 @@ msgstr "" #: doc/classes/Environment.xml msgid "" -"Keeps on screen every pixel drawn in the background. This is the fastest " -"background mode, but it can only be safely used in fully-interior scenes (no " -"visible sky or sky reflections). If enabled in a scene where the background " -"is visible, \"ghost trail\" artifacts will be visible when moving the camera." +"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 " +"not be faster than clearing the background, and can be significantly slower, " +"particularly on mobile.\n" +"It can only be safely used in fully-interior scenes (no visible sky or sky " +"reflections). If enabled in a scene where the background is visible, \"ghost " +"trail\" artifacts will be visible when moving the camera." msgstr "" #: doc/classes/Environment.xml @@ -26717,14 +26757,14 @@ msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Depth of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the depth of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Width of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the width of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HFlowContainer.xml @@ -28966,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 @@ -28978,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 @@ -29113,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 " @@ -29127,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 @@ -29138,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 " @@ -29490,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 @@ -29510,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 " @@ -29524,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 @@ -29557,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 @@ -30089,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 @@ -32563,6 +32603,13 @@ msgstr "" msgid "If [code]true[/code], the context menu will appear when right-clicked." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml +#: doc/classes/TextEdit.xml +msgid "" +"If [code]true[/code], the selected text will be deselected when focus is " +"lost." +msgstr "" + #: doc/classes/LineEdit.xml msgid "" "If [code]false[/code], existing text cannot be modified and new text cannot " @@ -32598,6 +32645,13 @@ msgid "" "[/codeblock]" msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +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 "" + #: doc/classes/LineEdit.xml msgid "" "Opacity of the [member placeholder_text]. From [code]0[/code] to [code]1[/" @@ -33913,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 "" @@ -36365,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 @@ -37077,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 @@ -37673,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 @@ -38457,6 +38558,10 @@ msgid "Returns the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +msgid "Returns the tooltip of the item at index [code]idx[/code]." +msgstr "" + +#: doc/classes/OptionButton.xml msgid "" "Returns the ID of the selected item, or [code]0[/code] if no item is " "selected." @@ -38510,6 +38615,10 @@ msgid "Sets the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +msgid "Sets the tooltip of the item at index [code]idx[/code]." +msgstr "" + +#: doc/classes/OptionButton.xml msgid "" "The index of the currently selected item, or [code]-1[/code] if no item is " "selected." @@ -39066,6 +39175,23 @@ msgstr "" #: doc/classes/OS.xml msgid "" +"Returns the current refresh rate of the specified screen. If [code]screen[/" +"code] is [code]-1[/code] (the default value), the current screen will be " +"used.\n" +"[b]Note:[/b] Returns [code]-1.0[/code] if Godot fails to find the refresh " +"rate for the specified screen. On HTML5, [method get_screen_refresh_rate] " +"will always return [code]-1.0[/code] as there is no way to retrieve the " +"refresh rate on that platform.\n" +"To fallback to a default refresh rate if the method fails, try:\n" +"[codeblock]\n" +"var refresh_rate = OS.get_screen_refresh_rate()\n" +"if refresh_rate < 0:\n" +" refresh_rate = 60.0\n" +"[/codeblock]" +msgstr "" + +#: doc/classes/OS.xml +msgid "" "Return the scale factor of the specified screen by index. If [code]screen[/" "code] is [code]-1[/code] (the default value), the current screen will be " "used.\n" @@ -42892,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 @@ -45422,6 +45551,12 @@ msgstr "" #: doc/classes/ProjectSettings.xml 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 "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], enables warnings when a function is declared with the " "same name as a constant." msgstr "" @@ -45845,6 +45980,19 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If enabled, the moment [member Viewport.gui_disable_input] is set to " +"[code]false[/code] to disable GUI input in a viewport, current mouse over " +"and mouse focus will be dropped.\n" +"That behavior helps to keep a robust GUI state, with no surprises when input " +"is resumed regardless what has happened in the meantime.\n" +"If disabled, the legacy behavior is used, which consists in just not doing " +"anything besides the GUI input disable itself.\n" +"[b]Note:[/b] This is set to [code]true[/code] by default for new projects " +"and is the recommended setting." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], swaps OK and Cancel buttons in dialogs on Windows and " "UWP to follow interface conventions." msgstr "" @@ -46814,6 +46962,16 @@ msgid "" msgstr "" #: doc/classes/ProjectSettings.xml +msgid "" +"If [code]true[/code], smooths out collision with trimesh shapes " +"([ConcavePolygonShape]) by telling the Bullet physics engine to generate " +"internal edge information for every trimesh shape created.\n" +"[b]Note:[/b] Only effective if [member physics/3d/physics_engine] is set to " +"[code]DEFAULT[/code] or [code]Bullet[/code], [i]not[/i] [code]GodotPhysics[/" +"code]." +msgstr "" + +#: doc/classes/ProjectSettings.xml msgid "Enables [member Viewport.physics_object_picking] on the root viewport." msgstr "" @@ -47227,6 +47385,14 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"An override for [code]rendering/gles3/shaders/shader_compilation_mode[/" +"code], so asynchronous compilation can be disabled for mobile.\n" +"You may want to do that since mobile GPUs generally won't support " +"ubershaders due to their complexity." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Max buffer size for blend shapes. Any blend shape bigger than this will not " "work." msgstr "" @@ -48159,13 +48325,13 @@ msgstr "" #: doc/classes/Range.xml msgid "" -"Binds two ranges together along with any ranges previously grouped with " +"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 "" #: doc/classes/Range.xml -msgid "Stops range from sharing its member variables with any other." +msgid "Stops the [Range] from sharing its member variables with any other." msgstr "" #: doc/classes/Range.xml @@ -48232,7 +48398,14 @@ msgid "" msgstr "" #: doc/classes/Range.xml -msgid "Emitted when [member value] changes." +msgid "" +"Emitted when [member value] changes. When used on a [Slider], this is called " +"continuously while dragging (potentially every frame). If you are performing " +"an expensive operation in a function connected to [signal value_changed], " +"consider using a [i]debouncing[/i] [Timer] to call the function less often.\n" +"[b]Note:[/b] Unlike signals such as [signal LineEdit.text_changed], [signal " +"value_changed] is also emitted when [code]value[/code] is set directly via " +"code." msgstr "" #: doc/classes/RayCast.xml doc/classes/RayCast2D.xml @@ -55532,11 +55705,11 @@ msgid "" "Returns [code]true[/code] if this string contains a valid float. This is " "inclusive of integers, and also supports exponents:\n" "[codeblock]\n" -"print(\"1.7\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"7e3\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"Hello\".is_valid_float()) # Prints \"false\"\n" +"print(\"1.7\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"7e3\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55562,9 +55735,9 @@ msgid "" "identifier may contain only letters, digits and underscores ([code]_[/code]) " "and the first character may not be a digit.\n" "[codeblock]\n" -"print(\"good_ident_1\".is_valid_identifier()) # Prints \"true\"\n" -"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"false\"\n" -"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"false\"\n" +"print(\"good_ident_1\".is_valid_identifier()) # Prints \"True\"\n" +"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"False\"\n" +"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55572,11 +55745,11 @@ msgstr "" msgid "" "Returns [code]true[/code] if this string contains a valid integer.\n" "[codeblock]\n" -"print(\"7\".is_valid_int()) # Prints \"true\"\n" -"print(\"14.6\".is_valid_int()) # Prints \"false\"\n" -"print(\"L\".is_valid_int()) # Prints \"false\"\n" -"print(\"+3\".is_valid_int()) # Prints \"true\"\n" -"print(\"-12\".is_valid_int()) # Prints \"true\"\n" +"print(\"7\".is_valid_int()) # Prints \"True\"\n" +"print(\"14.6\".is_valid_int()) # Prints \"False\"\n" +"print(\"L\".is_valid_int()) # Prints \"False\"\n" +"print(\"+3\".is_valid_int()) # Prints \"True\"\n" +"print(\"-12\".is_valid_int()) # Prints \"True\"\n" "[/codeblock]" msgstr "" @@ -55772,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 "" @@ -57363,6 +57536,12 @@ msgid "Returns if the given line is wrapped." msgstr "" #: doc/classes/TextEdit.xml +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 "" + +#: doc/classes/TextEdit.xml msgid "Returns [code]true[/code] if the selection is active." msgstr "" @@ -59578,6 +59757,13 @@ msgstr "" #: doc/classes/Time.xml msgid "" +"Converts the given timezone offset in minutes to a timezone offset string. " +"For example, -480 returns \"-08:00\", 345 returns \"+05:45\", and 0 returns " +"\"+00:00\"." +msgstr "" + +#: doc/classes/Time.xml +msgid "" "Returns the amount of time passed in milliseconds since the engine started.\n" "Will always be positive or 0 and uses a 64-bit value (it will wrap after " "roughly 500 million years)." @@ -63232,6 +63418,10 @@ msgid "Returns [code]true[/code] if there are visible modals on-screen." msgstr "" #: doc/classes/Viewport.xml +msgid "Returns [code]true[/code] if the drag operation is successful." +msgstr "" + +#: doc/classes/Viewport.xml msgid "" "Returns [code]true[/code] if the viewport is currently performing a drag " "operation." diff --git a/doc/translations/sv.po b/doc/translations/sv.po index 708b006742..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 @@ -15850,6 +15870,10 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "Returns [code]true[/code] if drag operation is successful." +msgstr "" + +#: doc/classes/Control.xml msgid "" "Invalidates the size cache in this node and in parent nodes up to toplevel. " "Intended to be used with [method get_minimum_size] when the return value is " @@ -16270,8 +16294,9 @@ msgstr "" #: doc/classes/Control.xml msgid "" "By default, the node's pivot is its top-left corner. When you change its " -"[member rect_scale], it will scale around this pivot. Set this property to " -"[member rect_size] / 2 to center the pivot in the node's rectangle." +"[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 "" #: doc/classes/Control.xml @@ -18615,10 +18640,10 @@ msgid "" "further calculations." msgstr "" -#: doc/classes/Curve2D.xml doc/classes/Curve3D.xml +#: doc/classes/Curve2D.xml msgid "" -"Adds a point to a curve at [code]position[/code], with control points " -"[code]in[/code] and [code]out[/code].\n" +"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" "If [code]at_position[/code] is given, the point is inserted before the point " "number [code]at_position[/code], moving that point (and every point after) " "after the inserted point. If [code]at_position[/code] is not given, or is an " @@ -18769,6 +18794,18 @@ msgid "" msgstr "" #: doc/classes/Curve3D.xml +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" +"If [code]at_position[/code] is given, the point is inserted before the point " +"number [code]at_position[/code], moving that point (and every point after) " +"after the inserted point. If [code]at_position[/code] is not given, or is an " +"illegal value ([code]at_position <0[/code] or [code]at_position >= [method " +"get_point_count][/code]), the point will be appended at the end of the point " +"list." +msgstr "" + +#: doc/classes/Curve3D.xml msgid "Returns the cache of points as a [PoolVector3Array]." msgstr "" @@ -19574,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" @@ -22366,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 @@ -23249,10 +23286,13 @@ msgstr "" #: doc/classes/Environment.xml msgid "" -"Keeps on screen every pixel drawn in the background. This is the fastest " -"background mode, but it can only be safely used in fully-interior scenes (no " -"visible sky or sky reflections). If enabled in a scene where the background " -"is visible, \"ghost trail\" artifacts will be visible when moving the camera." +"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 " +"not be faster than clearing the background, and can be significantly slower, " +"particularly on mobile.\n" +"It can only be safely used in fully-interior scenes (no visible sky or sky " +"reflections). If enabled in a scene where the background is visible, \"ghost " +"trail\" artifacts will be visible when moving the camera." msgstr "" #: doc/classes/Environment.xml @@ -26703,14 +26743,14 @@ msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Depth of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the depth of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Width of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the width of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HFlowContainer.xml @@ -28952,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 @@ -28964,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 @@ -29099,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 " @@ -29113,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 @@ -29124,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 " @@ -29476,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 @@ -29496,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 " @@ -29510,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 @@ -29543,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 @@ -30075,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 @@ -32549,6 +32589,13 @@ msgstr "" msgid "If [code]true[/code], the context menu will appear when right-clicked." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml +#: doc/classes/TextEdit.xml +msgid "" +"If [code]true[/code], the selected text will be deselected when focus is " +"lost." +msgstr "" + #: doc/classes/LineEdit.xml msgid "" "If [code]false[/code], existing text cannot be modified and new text cannot " @@ -32584,6 +32631,13 @@ msgid "" "[/codeblock]" msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +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 "" + #: doc/classes/LineEdit.xml msgid "" "Opacity of the [member placeholder_text]. From [code]0[/code] to [code]1[/" @@ -33899,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 "" @@ -36351,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 @@ -37063,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 @@ -37659,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 @@ -38443,6 +38544,10 @@ msgid "Returns the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +msgid "Returns the tooltip of the item at index [code]idx[/code]." +msgstr "" + +#: doc/classes/OptionButton.xml msgid "" "Returns the ID of the selected item, or [code]0[/code] if no item is " "selected." @@ -38496,6 +38601,10 @@ msgid "Sets the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +msgid "Sets the tooltip of the item at index [code]idx[/code]." +msgstr "" + +#: doc/classes/OptionButton.xml msgid "" "The index of the currently selected item, or [code]-1[/code] if no item is " "selected." @@ -39052,6 +39161,23 @@ msgstr "" #: doc/classes/OS.xml msgid "" +"Returns the current refresh rate of the specified screen. If [code]screen[/" +"code] is [code]-1[/code] (the default value), the current screen will be " +"used.\n" +"[b]Note:[/b] Returns [code]-1.0[/code] if Godot fails to find the refresh " +"rate for the specified screen. On HTML5, [method get_screen_refresh_rate] " +"will always return [code]-1.0[/code] as there is no way to retrieve the " +"refresh rate on that platform.\n" +"To fallback to a default refresh rate if the method fails, try:\n" +"[codeblock]\n" +"var refresh_rate = OS.get_screen_refresh_rate()\n" +"if refresh_rate < 0:\n" +" refresh_rate = 60.0\n" +"[/codeblock]" +msgstr "" + +#: doc/classes/OS.xml +msgid "" "Return the scale factor of the specified screen by index. If [code]screen[/" "code] is [code]-1[/code] (the default value), the current screen will be " "used.\n" @@ -42878,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 @@ -45408,6 +45537,12 @@ msgstr "" #: doc/classes/ProjectSettings.xml 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 "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], enables warnings when a function is declared with the " "same name as a constant." msgstr "" @@ -45831,6 +45966,19 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If enabled, the moment [member Viewport.gui_disable_input] is set to " +"[code]false[/code] to disable GUI input in a viewport, current mouse over " +"and mouse focus will be dropped.\n" +"That behavior helps to keep a robust GUI state, with no surprises when input " +"is resumed regardless what has happened in the meantime.\n" +"If disabled, the legacy behavior is used, which consists in just not doing " +"anything besides the GUI input disable itself.\n" +"[b]Note:[/b] This is set to [code]true[/code] by default for new projects " +"and is the recommended setting." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], swaps OK and Cancel buttons in dialogs on Windows and " "UWP to follow interface conventions." msgstr "" @@ -46800,6 +46948,16 @@ msgid "" msgstr "" #: doc/classes/ProjectSettings.xml +msgid "" +"If [code]true[/code], smooths out collision with trimesh shapes " +"([ConcavePolygonShape]) by telling the Bullet physics engine to generate " +"internal edge information for every trimesh shape created.\n" +"[b]Note:[/b] Only effective if [member physics/3d/physics_engine] is set to " +"[code]DEFAULT[/code] or [code]Bullet[/code], [i]not[/i] [code]GodotPhysics[/" +"code]." +msgstr "" + +#: doc/classes/ProjectSettings.xml msgid "Enables [member Viewport.physics_object_picking] on the root viewport." msgstr "" @@ -47213,6 +47371,14 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"An override for [code]rendering/gles3/shaders/shader_compilation_mode[/" +"code], so asynchronous compilation can be disabled for mobile.\n" +"You may want to do that since mobile GPUs generally won't support " +"ubershaders due to their complexity." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Max buffer size for blend shapes. Any blend shape bigger than this will not " "work." msgstr "" @@ -48145,13 +48311,13 @@ msgstr "" #: doc/classes/Range.xml msgid "" -"Binds two ranges together along with any ranges previously grouped with " +"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 "" #: doc/classes/Range.xml -msgid "Stops range from sharing its member variables with any other." +msgid "Stops the [Range] from sharing its member variables with any other." msgstr "" #: doc/classes/Range.xml @@ -48218,7 +48384,14 @@ msgid "" msgstr "" #: doc/classes/Range.xml -msgid "Emitted when [member value] changes." +msgid "" +"Emitted when [member value] changes. When used on a [Slider], this is called " +"continuously while dragging (potentially every frame). If you are performing " +"an expensive operation in a function connected to [signal value_changed], " +"consider using a [i]debouncing[/i] [Timer] to call the function less often.\n" +"[b]Note:[/b] Unlike signals such as [signal LineEdit.text_changed], [signal " +"value_changed] is also emitted when [code]value[/code] is set directly via " +"code." msgstr "" #: doc/classes/RayCast.xml doc/classes/RayCast2D.xml @@ -55518,11 +55691,11 @@ msgid "" "Returns [code]true[/code] if this string contains a valid float. This is " "inclusive of integers, and also supports exponents:\n" "[codeblock]\n" -"print(\"1.7\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"7e3\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"Hello\".is_valid_float()) # Prints \"false\"\n" +"print(\"1.7\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"7e3\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55548,9 +55721,9 @@ msgid "" "identifier may contain only letters, digits and underscores ([code]_[/code]) " "and the first character may not be a digit.\n" "[codeblock]\n" -"print(\"good_ident_1\".is_valid_identifier()) # Prints \"true\"\n" -"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"false\"\n" -"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"false\"\n" +"print(\"good_ident_1\".is_valid_identifier()) # Prints \"True\"\n" +"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"False\"\n" +"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55558,11 +55731,11 @@ msgstr "" msgid "" "Returns [code]true[/code] if this string contains a valid integer.\n" "[codeblock]\n" -"print(\"7\".is_valid_int()) # Prints \"true\"\n" -"print(\"14.6\".is_valid_int()) # Prints \"false\"\n" -"print(\"L\".is_valid_int()) # Prints \"false\"\n" -"print(\"+3\".is_valid_int()) # Prints \"true\"\n" -"print(\"-12\".is_valid_int()) # Prints \"true\"\n" +"print(\"7\".is_valid_int()) # Prints \"True\"\n" +"print(\"14.6\".is_valid_int()) # Prints \"False\"\n" +"print(\"L\".is_valid_int()) # Prints \"False\"\n" +"print(\"+3\".is_valid_int()) # Prints \"True\"\n" +"print(\"-12\".is_valid_int()) # Prints \"True\"\n" "[/codeblock]" msgstr "" @@ -55758,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 "" @@ -57349,6 +57522,12 @@ msgid "Returns if the given line is wrapped." msgstr "" #: doc/classes/TextEdit.xml +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 "" + +#: doc/classes/TextEdit.xml msgid "Returns [code]true[/code] if the selection is active." msgstr "" @@ -59564,6 +59743,13 @@ msgstr "" #: doc/classes/Time.xml msgid "" +"Converts the given timezone offset in minutes to a timezone offset string. " +"For example, -480 returns \"-08:00\", 345 returns \"+05:45\", and 0 returns " +"\"+00:00\"." +msgstr "" + +#: doc/classes/Time.xml +msgid "" "Returns the amount of time passed in milliseconds since the engine started.\n" "Will always be positive or 0 and uses a 64-bit value (it will wrap after " "roughly 500 million years)." @@ -63218,6 +63404,10 @@ msgid "Returns [code]true[/code] if there are visible modals on-screen." msgstr "" #: doc/classes/Viewport.xml +msgid "Returns [code]true[/code] if the drag operation is successful." +msgstr "" + +#: doc/classes/Viewport.xml msgid "" "Returns [code]true[/code] if the viewport is currently performing a drag " "operation." diff --git a/doc/translations/th.po b/doc/translations/th.po index 684a6a0bc6..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 @@ -15958,6 +15978,10 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "Returns [code]true[/code] if drag operation is successful." +msgstr "" + +#: doc/classes/Control.xml msgid "" "Invalidates the size cache in this node and in parent nodes up to toplevel. " "Intended to be used with [method get_minimum_size] when the return value is " @@ -16378,8 +16402,9 @@ msgstr "" #: doc/classes/Control.xml msgid "" "By default, the node's pivot is its top-left corner. When you change its " -"[member rect_scale], it will scale around this pivot. Set this property to " -"[member rect_size] / 2 to center the pivot in the node's rectangle." +"[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 "" #: doc/classes/Control.xml @@ -18723,10 +18748,10 @@ msgid "" "further calculations." msgstr "" -#: doc/classes/Curve2D.xml doc/classes/Curve3D.xml +#: doc/classes/Curve2D.xml msgid "" -"Adds a point to a curve at [code]position[/code], with control points " -"[code]in[/code] and [code]out[/code].\n" +"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" "If [code]at_position[/code] is given, the point is inserted before the point " "number [code]at_position[/code], moving that point (and every point after) " "after the inserted point. If [code]at_position[/code] is not given, or is an " @@ -18877,6 +18902,18 @@ msgid "" msgstr "" #: doc/classes/Curve3D.xml +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" +"If [code]at_position[/code] is given, the point is inserted before the point " +"number [code]at_position[/code], moving that point (and every point after) " +"after the inserted point. If [code]at_position[/code] is not given, or is an " +"illegal value ([code]at_position <0[/code] or [code]at_position >= [method " +"get_point_count][/code]), the point will be appended at the end of the point " +"list." +msgstr "" + +#: doc/classes/Curve3D.xml msgid "Returns the cache of points as a [PoolVector3Array]." msgstr "" @@ -19682,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" @@ -22475,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 @@ -23361,10 +23398,13 @@ msgstr "" #: doc/classes/Environment.xml msgid "" -"Keeps on screen every pixel drawn in the background. This is the fastest " -"background mode, but it can only be safely used in fully-interior scenes (no " -"visible sky or sky reflections). If enabled in a scene where the background " -"is visible, \"ghost trail\" artifacts will be visible when moving the camera." +"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 " +"not be faster than clearing the background, and can be significantly slower, " +"particularly on mobile.\n" +"It can only be safely used in fully-interior scenes (no visible sky or sky " +"reflections). If enabled in a scene where the background is visible, \"ghost " +"trail\" artifacts will be visible when moving the camera." msgstr "" #: doc/classes/Environment.xml @@ -26817,14 +26857,14 @@ msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Depth of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the depth of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Width of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the width of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HFlowContainer.xml @@ -29064,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 @@ -29081,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 " @@ -29213,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 @@ -29245,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 " @@ -29597,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 "" @@ -29667,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 @@ -30194,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." @@ -32685,6 +32757,13 @@ msgstr "" msgid "If [code]true[/code], the context menu will appear when right-clicked." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml +#: doc/classes/TextEdit.xml +msgid "" +"If [code]true[/code], the selected text will be deselected when focus is " +"lost." +msgstr "" + #: doc/classes/LineEdit.xml msgid "" "If [code]false[/code], existing text cannot be modified and new text cannot " @@ -32720,6 +32799,13 @@ msgid "" "[/codeblock]" msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +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 "" + #: doc/classes/LineEdit.xml msgid "" "Opacity of the [member placeholder_text]. From [code]0[/code] to [code]1[/" @@ -34035,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 "" @@ -36547,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 @@ -37259,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 @@ -37855,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 @@ -38639,6 +38772,11 @@ msgid "Returns the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +#, fuzzy +msgid "Returns the tooltip of the item at index [code]idx[/code]." +msgstr "คืนค่าการกำหนดค่าของลำโพง" + +#: doc/classes/OptionButton.xml msgid "" "Returns the ID of the selected item, or [code]0[/code] if no item is " "selected." @@ -38692,6 +38830,11 @@ msgid "Sets the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +#, fuzzy +msgid "Sets the tooltip of the item at index [code]idx[/code]." +msgstr "คืนค่าการกำหนดค่าของลำโพง" + +#: doc/classes/OptionButton.xml msgid "" "The index of the currently selected item, or [code]-1[/code] if no item is " "selected." @@ -39249,6 +39392,23 @@ msgstr "" #: doc/classes/OS.xml msgid "" +"Returns the current refresh rate of the specified screen. If [code]screen[/" +"code] is [code]-1[/code] (the default value), the current screen will be " +"used.\n" +"[b]Note:[/b] Returns [code]-1.0[/code] if Godot fails to find the refresh " +"rate for the specified screen. On HTML5, [method get_screen_refresh_rate] " +"will always return [code]-1.0[/code] as there is no way to retrieve the " +"refresh rate on that platform.\n" +"To fallback to a default refresh rate if the method fails, try:\n" +"[codeblock]\n" +"var refresh_rate = OS.get_screen_refresh_rate()\n" +"if refresh_rate < 0:\n" +" refresh_rate = 60.0\n" +"[/codeblock]" +msgstr "" + +#: doc/classes/OS.xml +msgid "" "Return the scale factor of the specified screen by index. If [code]screen[/" "code] is [code]-1[/code] (the default value), the current screen will be " "used.\n" @@ -43080,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 @@ -45612,6 +45775,12 @@ msgstr "" #: doc/classes/ProjectSettings.xml 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 "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], enables warnings when a function is declared with the " "same name as a constant." msgstr "" @@ -46035,6 +46204,19 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If enabled, the moment [member Viewport.gui_disable_input] is set to " +"[code]false[/code] to disable GUI input in a viewport, current mouse over " +"and mouse focus will be dropped.\n" +"That behavior helps to keep a robust GUI state, with no surprises when input " +"is resumed regardless what has happened in the meantime.\n" +"If disabled, the legacy behavior is used, which consists in just not doing " +"anything besides the GUI input disable itself.\n" +"[b]Note:[/b] This is set to [code]true[/code] by default for new projects " +"and is the recommended setting." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], swaps OK and Cancel buttons in dialogs on Windows and " "UWP to follow interface conventions." msgstr "" @@ -47009,6 +47191,16 @@ msgid "" msgstr "" #: doc/classes/ProjectSettings.xml +msgid "" +"If [code]true[/code], smooths out collision with trimesh shapes " +"([ConcavePolygonShape]) by telling the Bullet physics engine to generate " +"internal edge information for every trimesh shape created.\n" +"[b]Note:[/b] Only effective if [member physics/3d/physics_engine] is set to " +"[code]DEFAULT[/code] or [code]Bullet[/code], [i]not[/i] [code]GodotPhysics[/" +"code]." +msgstr "" + +#: doc/classes/ProjectSettings.xml msgid "Enables [member Viewport.physics_object_picking] on the root viewport." msgstr "" @@ -47422,6 +47614,14 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"An override for [code]rendering/gles3/shaders/shader_compilation_mode[/" +"code], so asynchronous compilation can be disabled for mobile.\n" +"You may want to do that since mobile GPUs generally won't support " +"ubershaders due to their complexity." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Max buffer size for blend shapes. Any blend shape bigger than this will not " "work." msgstr "" @@ -48354,13 +48554,13 @@ msgstr "" #: doc/classes/Range.xml msgid "" -"Binds two ranges together along with any ranges previously grouped with " +"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 "" #: doc/classes/Range.xml -msgid "Stops range from sharing its member variables with any other." +msgid "Stops the [Range] from sharing its member variables with any other." msgstr "" #: doc/classes/Range.xml @@ -48427,7 +48627,14 @@ msgid "" msgstr "" #: doc/classes/Range.xml -msgid "Emitted when [member value] changes." +msgid "" +"Emitted when [member value] changes. When used on a [Slider], this is called " +"continuously while dragging (potentially every frame). If you are performing " +"an expensive operation in a function connected to [signal value_changed], " +"consider using a [i]debouncing[/i] [Timer] to call the function less often.\n" +"[b]Note:[/b] Unlike signals such as [signal LineEdit.text_changed], [signal " +"value_changed] is also emitted when [code]value[/code] is set directly via " +"code." msgstr "" #: doc/classes/RayCast.xml doc/classes/RayCast2D.xml @@ -55731,11 +55938,11 @@ msgid "" "Returns [code]true[/code] if this string contains a valid float. This is " "inclusive of integers, and also supports exponents:\n" "[codeblock]\n" -"print(\"1.7\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"7e3\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"Hello\".is_valid_float()) # Prints \"false\"\n" +"print(\"1.7\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"7e3\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55761,9 +55968,9 @@ msgid "" "identifier may contain only letters, digits and underscores ([code]_[/code]) " "and the first character may not be a digit.\n" "[codeblock]\n" -"print(\"good_ident_1\".is_valid_identifier()) # Prints \"true\"\n" -"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"false\"\n" -"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"false\"\n" +"print(\"good_ident_1\".is_valid_identifier()) # Prints \"True\"\n" +"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"False\"\n" +"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55771,11 +55978,11 @@ msgstr "" msgid "" "Returns [code]true[/code] if this string contains a valid integer.\n" "[codeblock]\n" -"print(\"7\".is_valid_int()) # Prints \"true\"\n" -"print(\"14.6\".is_valid_int()) # Prints \"false\"\n" -"print(\"L\".is_valid_int()) # Prints \"false\"\n" -"print(\"+3\".is_valid_int()) # Prints \"true\"\n" -"print(\"-12\".is_valid_int()) # Prints \"true\"\n" +"print(\"7\".is_valid_int()) # Prints \"True\"\n" +"print(\"14.6\".is_valid_int()) # Prints \"False\"\n" +"print(\"L\".is_valid_int()) # Prints \"False\"\n" +"print(\"+3\".is_valid_int()) # Prints \"True\"\n" +"print(\"-12\".is_valid_int()) # Prints \"True\"\n" "[/codeblock]" msgstr "" @@ -55971,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 "" @@ -57566,6 +57773,12 @@ msgid "Returns if the given line is wrapped." msgstr "" #: doc/classes/TextEdit.xml +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 "" + +#: doc/classes/TextEdit.xml msgid "Returns [code]true[/code] if the selection is active." msgstr "" @@ -59781,6 +59994,13 @@ msgstr "" #: doc/classes/Time.xml msgid "" +"Converts the given timezone offset in minutes to a timezone offset string. " +"For example, -480 returns \"-08:00\", 345 returns \"+05:45\", and 0 returns " +"\"+00:00\"." +msgstr "" + +#: doc/classes/Time.xml +msgid "" "Returns the amount of time passed in milliseconds since the engine started.\n" "Will always be positive or 0 and uses a 64-bit value (it will wrap after " "roughly 500 million years)." @@ -63448,6 +63668,10 @@ msgid "Returns [code]true[/code] if there are visible modals on-screen." msgstr "" #: doc/classes/Viewport.xml +msgid "Returns [code]true[/code] if the drag operation is successful." +msgstr "" + +#: doc/classes/Viewport.xml msgid "" "Returns [code]true[/code] if the viewport is currently performing a drag " "operation." diff --git a/doc/translations/tl.po b/doc/translations/tl.po index 7a9fb2b1f7..961e99a30d 100644 --- a/doc/translations/tl.po +++ b/doc/translations/tl.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Godot Engine class reference\n" "Report-Msgid-Bugs-To: https://github.com/godotengine/godot\n" -"PO-Revision-Date: 2022-02-26 10:27+0000\n" +"PO-Revision-Date: 2022-03-17 13:59+0000\n" "Last-Translator: Napstaguy04 <brokenscreen3@gmail.com>\n" "Language-Team: Tagalog <https://hosted.weblate.org/projects/godot-engine/" "godot-class-reference/tl/>\n" @@ -18,7 +18,7 @@ msgstr "" "Content-Transfer-Encoding: 8-bit\n" "Plural-Forms: nplurals=2; plural=n != 1 && n != 2 && n != 3 && (n % 10 == 4 " "|| n % 10 == 6 || n % 10 == 9);\n" -"X-Generator: Weblate 4.11.1-dev\n" +"X-Generator: Weblate 4.12-dev\n" #: doc/tools/make_rst.py msgid "Description" @@ -573,6 +573,10 @@ msgid "" "print(hash(\"a\")) # Prints 177670\n" "[/codeblock]" msgstr "" +"Binabalik ang integer hash ng variable na ipinasa.\n" +"[codeblock]\n" +"print(hash(\"a\")) #Prints 177670\n" +"[code/block]" #: modules/gdscript/doc_classes/@GDScript.xml msgid "" @@ -3396,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 @@ -5309,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 @@ -10433,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 @@ -12585,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 @@ -12706,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 @@ -15929,6 +15953,13 @@ msgid "" msgstr "" #: doc/classes/Control.xml +#, fuzzy +msgid "Returns [code]true[/code] if drag operation is successful." +msgstr "" +"Kung [code]true[/code], ang mga child nodes ay inaayos, kung hindi ang pag-" +"so-sort ay hindi pinapagana." + +#: doc/classes/Control.xml msgid "" "Invalidates the size cache in this node and in parent nodes up to toplevel. " "Intended to be used with [method get_minimum_size] when the return value is " @@ -16349,8 +16380,9 @@ msgstr "" #: doc/classes/Control.xml msgid "" "By default, the node's pivot is its top-left corner. When you change its " -"[member rect_scale], it will scale around this pivot. Set this property to " -"[member rect_size] / 2 to center the pivot in the node's rectangle." +"[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 "" #: doc/classes/Control.xml @@ -18694,10 +18726,10 @@ msgid "" "further calculations." msgstr "" -#: doc/classes/Curve2D.xml doc/classes/Curve3D.xml +#: doc/classes/Curve2D.xml msgid "" -"Adds a point to a curve at [code]position[/code], with control points " -"[code]in[/code] and [code]out[/code].\n" +"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" "If [code]at_position[/code] is given, the point is inserted before the point " "number [code]at_position[/code], moving that point (and every point after) " "after the inserted point. If [code]at_position[/code] is not given, or is an " @@ -18848,6 +18880,18 @@ msgid "" msgstr "" #: doc/classes/Curve3D.xml +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" +"If [code]at_position[/code] is given, the point is inserted before the point " +"number [code]at_position[/code], moving that point (and every point after) " +"after the inserted point. If [code]at_position[/code] is not given, or is an " +"illegal value ([code]at_position <0[/code] or [code]at_position >= [method " +"get_point_count][/code]), the point will be appended at the end of the point " +"list." +msgstr "" + +#: doc/classes/Curve3D.xml msgid "Returns the cache of points as a [PoolVector3Array]." msgstr "" @@ -19653,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" @@ -22445,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 @@ -23328,10 +23372,13 @@ msgstr "" #: doc/classes/Environment.xml msgid "" -"Keeps on screen every pixel drawn in the background. This is the fastest " -"background mode, but it can only be safely used in fully-interior scenes (no " -"visible sky or sky reflections). If enabled in a scene where the background " -"is visible, \"ghost trail\" artifacts will be visible when moving the camera." +"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 " +"not be faster than clearing the background, and can be significantly slower, " +"particularly on mobile.\n" +"It can only be safely used in fully-interior scenes (no visible sky or sky " +"reflections). If enabled in a scene where the background is visible, \"ghost " +"trail\" artifacts will be visible when moving the camera." msgstr "" #: doc/classes/Environment.xml @@ -26782,14 +26829,14 @@ msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Depth of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the depth of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Width of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the width of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HFlowContainer.xml @@ -29031,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 @@ -29043,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 @@ -29178,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 " @@ -29192,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 @@ -29203,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 " @@ -29555,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 @@ -29575,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 " @@ -29589,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 @@ -29622,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 @@ -30154,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 @@ -32628,6 +32675,13 @@ msgstr "" msgid "If [code]true[/code], the context menu will appear when right-clicked." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml +#: doc/classes/TextEdit.xml +msgid "" +"If [code]true[/code], the selected text will be deselected when focus is " +"lost." +msgstr "" + #: doc/classes/LineEdit.xml msgid "" "If [code]false[/code], existing text cannot be modified and new text cannot " @@ -32663,6 +32717,13 @@ msgid "" "[/codeblock]" msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +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 "" + #: doc/classes/LineEdit.xml msgid "" "Opacity of the [member placeholder_text]. From [code]0[/code] to [code]1[/" @@ -33978,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 "" @@ -36436,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 @@ -37148,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 @@ -37744,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 @@ -38528,6 +38636,10 @@ msgid "Returns the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +msgid "Returns the tooltip of the item at index [code]idx[/code]." +msgstr "" + +#: doc/classes/OptionButton.xml msgid "" "Returns the ID of the selected item, or [code]0[/code] if no item is " "selected." @@ -38581,6 +38693,10 @@ msgid "Sets the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +msgid "Sets the tooltip of the item at index [code]idx[/code]." +msgstr "" + +#: doc/classes/OptionButton.xml msgid "" "The index of the currently selected item, or [code]-1[/code] if no item is " "selected." @@ -39137,6 +39253,23 @@ msgstr "" #: doc/classes/OS.xml msgid "" +"Returns the current refresh rate of the specified screen. If [code]screen[/" +"code] is [code]-1[/code] (the default value), the current screen will be " +"used.\n" +"[b]Note:[/b] Returns [code]-1.0[/code] if Godot fails to find the refresh " +"rate for the specified screen. On HTML5, [method get_screen_refresh_rate] " +"will always return [code]-1.0[/code] as there is no way to retrieve the " +"refresh rate on that platform.\n" +"To fallback to a default refresh rate if the method fails, try:\n" +"[codeblock]\n" +"var refresh_rate = OS.get_screen_refresh_rate()\n" +"if refresh_rate < 0:\n" +" refresh_rate = 60.0\n" +"[/codeblock]" +msgstr "" + +#: doc/classes/OS.xml +msgid "" "Return the scale factor of the specified screen by index. If [code]screen[/" "code] is [code]-1[/code] (the default value), the current screen will be " "used.\n" @@ -42966,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 @@ -45496,6 +45632,12 @@ msgstr "" #: doc/classes/ProjectSettings.xml 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 "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], enables warnings when a function is declared with the " "same name as a constant." msgstr "" @@ -45919,6 +46061,19 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If enabled, the moment [member Viewport.gui_disable_input] is set to " +"[code]false[/code] to disable GUI input in a viewport, current mouse over " +"and mouse focus will be dropped.\n" +"That behavior helps to keep a robust GUI state, with no surprises when input " +"is resumed regardless what has happened in the meantime.\n" +"If disabled, the legacy behavior is used, which consists in just not doing " +"anything besides the GUI input disable itself.\n" +"[b]Note:[/b] This is set to [code]true[/code] by default for new projects " +"and is the recommended setting." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], swaps OK and Cancel buttons in dialogs on Windows and " "UWP to follow interface conventions." msgstr "" @@ -46888,6 +47043,16 @@ msgid "" msgstr "" #: doc/classes/ProjectSettings.xml +msgid "" +"If [code]true[/code], smooths out collision with trimesh shapes " +"([ConcavePolygonShape]) by telling the Bullet physics engine to generate " +"internal edge information for every trimesh shape created.\n" +"[b]Note:[/b] Only effective if [member physics/3d/physics_engine] is set to " +"[code]DEFAULT[/code] or [code]Bullet[/code], [i]not[/i] [code]GodotPhysics[/" +"code]." +msgstr "" + +#: doc/classes/ProjectSettings.xml msgid "Enables [member Viewport.physics_object_picking] on the root viewport." msgstr "" @@ -47301,6 +47466,14 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"An override for [code]rendering/gles3/shaders/shader_compilation_mode[/" +"code], so asynchronous compilation can be disabled for mobile.\n" +"You may want to do that since mobile GPUs generally won't support " +"ubershaders due to their complexity." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Max buffer size for blend shapes. Any blend shape bigger than this will not " "work." msgstr "" @@ -48233,13 +48406,13 @@ msgstr "" #: doc/classes/Range.xml msgid "" -"Binds two ranges together along with any ranges previously grouped with " +"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 "" #: doc/classes/Range.xml -msgid "Stops range from sharing its member variables with any other." +msgid "Stops the [Range] from sharing its member variables with any other." msgstr "" #: doc/classes/Range.xml @@ -48306,7 +48479,14 @@ msgid "" msgstr "" #: doc/classes/Range.xml -msgid "Emitted when [member value] changes." +msgid "" +"Emitted when [member value] changes. When used on a [Slider], this is called " +"continuously while dragging (potentially every frame). If you are performing " +"an expensive operation in a function connected to [signal value_changed], " +"consider using a [i]debouncing[/i] [Timer] to call the function less often.\n" +"[b]Note:[/b] Unlike signals such as [signal LineEdit.text_changed], [signal " +"value_changed] is also emitted when [code]value[/code] is set directly via " +"code." msgstr "" #: doc/classes/RayCast.xml doc/classes/RayCast2D.xml @@ -55606,11 +55786,11 @@ msgid "" "Returns [code]true[/code] if this string contains a valid float. This is " "inclusive of integers, and also supports exponents:\n" "[codeblock]\n" -"print(\"1.7\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"7e3\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"Hello\".is_valid_float()) # Prints \"false\"\n" +"print(\"1.7\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"7e3\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55636,9 +55816,9 @@ msgid "" "identifier may contain only letters, digits and underscores ([code]_[/code]) " "and the first character may not be a digit.\n" "[codeblock]\n" -"print(\"good_ident_1\".is_valid_identifier()) # Prints \"true\"\n" -"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"false\"\n" -"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"false\"\n" +"print(\"good_ident_1\".is_valid_identifier()) # Prints \"True\"\n" +"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"False\"\n" +"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55646,11 +55826,11 @@ msgstr "" msgid "" "Returns [code]true[/code] if this string contains a valid integer.\n" "[codeblock]\n" -"print(\"7\".is_valid_int()) # Prints \"true\"\n" -"print(\"14.6\".is_valid_int()) # Prints \"false\"\n" -"print(\"L\".is_valid_int()) # Prints \"false\"\n" -"print(\"+3\".is_valid_int()) # Prints \"true\"\n" -"print(\"-12\".is_valid_int()) # Prints \"true\"\n" +"print(\"7\".is_valid_int()) # Prints \"True\"\n" +"print(\"14.6\".is_valid_int()) # Prints \"False\"\n" +"print(\"L\".is_valid_int()) # Prints \"False\"\n" +"print(\"+3\".is_valid_int()) # Prints \"True\"\n" +"print(\"-12\".is_valid_int()) # Prints \"True\"\n" "[/codeblock]" msgstr "" @@ -55846,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 "" @@ -57437,6 +57617,12 @@ msgid "Returns if the given line is wrapped." msgstr "" #: doc/classes/TextEdit.xml +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 "" + +#: doc/classes/TextEdit.xml msgid "Returns [code]true[/code] if the selection is active." msgstr "" @@ -59655,6 +59841,13 @@ msgstr "" #: doc/classes/Time.xml msgid "" +"Converts the given timezone offset in minutes to a timezone offset string. " +"For example, -480 returns \"-08:00\", 345 returns \"+05:45\", and 0 returns " +"\"+00:00\"." +msgstr "" + +#: doc/classes/Time.xml +msgid "" "Returns the amount of time passed in milliseconds since the engine started.\n" "Will always be positive or 0 and uses a 64-bit value (it will wrap after " "roughly 500 million years)." @@ -63309,6 +63502,13 @@ msgid "Returns [code]true[/code] if there are visible modals on-screen." msgstr "" #: doc/classes/Viewport.xml +#, fuzzy +msgid "Returns [code]true[/code] if the drag operation is successful." +msgstr "" +"Kung [code]true[/code], ang mga child nodes ay inaayos, kung hindi ang pag-" +"so-sort ay hindi pinapagana." + +#: doc/classes/Viewport.xml msgid "" "Returns [code]true[/code] if the viewport is currently performing a drag " "operation." diff --git a/doc/translations/tr.po b/doc/translations/tr.po index 39cd3b64ef..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 @@ -16639,6 +16659,12 @@ msgid "" msgstr "" #: doc/classes/Control.xml +#, fuzzy +msgid "Returns [code]true[/code] if drag operation is successful." +msgstr "" +"Eğer [code]true[/code] ise düğümler sıraya sokulur, yoksa sıraya sokulmaz." + +#: doc/classes/Control.xml msgid "" "Invalidates the size cache in this node and in parent nodes up to toplevel. " "Intended to be used with [method get_minimum_size] when the return value is " @@ -17065,8 +17091,9 @@ msgstr "" #: doc/classes/Control.xml msgid "" "By default, the node's pivot is its top-left corner. When you change its " -"[member rect_scale], it will scale around this pivot. Set this property to " -"[member rect_size] / 2 to center the pivot in the node's rectangle." +"[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 "" #: doc/classes/Control.xml @@ -19410,10 +19437,10 @@ msgid "" "further calculations." msgstr "" -#: doc/classes/Curve2D.xml doc/classes/Curve3D.xml +#: doc/classes/Curve2D.xml msgid "" -"Adds a point to a curve at [code]position[/code], with control points " -"[code]in[/code] and [code]out[/code].\n" +"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" "If [code]at_position[/code] is given, the point is inserted before the point " "number [code]at_position[/code], moving that point (and every point after) " "after the inserted point. If [code]at_position[/code] is not given, or is an " @@ -19565,6 +19592,18 @@ msgid "" msgstr "" #: doc/classes/Curve3D.xml +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" +"If [code]at_position[/code] is given, the point is inserted before the point " +"number [code]at_position[/code], moving that point (and every point after) " +"after the inserted point. If [code]at_position[/code] is not given, or is an " +"illegal value ([code]at_position <0[/code] or [code]at_position >= [method " +"get_point_count][/code]), the point will be appended at the end of the point " +"list." +msgstr "" + +#: doc/classes/Curve3D.xml #, fuzzy msgid "Returns the cache of points as a [PoolVector3Array]." msgstr "Verilen bir değerin ark-sinüsünü döndürür." @@ -20373,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" @@ -23168,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 @@ -24054,10 +24093,13 @@ msgstr "" #: doc/classes/Environment.xml msgid "" -"Keeps on screen every pixel drawn in the background. This is the fastest " -"background mode, but it can only be safely used in fully-interior scenes (no " -"visible sky or sky reflections). If enabled in a scene where the background " -"is visible, \"ghost trail\" artifacts will be visible when moving the camera." +"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 " +"not be faster than clearing the background, and can be significantly slower, " +"particularly on mobile.\n" +"It can only be safely used in fully-interior scenes (no visible sky or sky " +"reflections). If enabled in a scene where the background is visible, \"ghost " +"trail\" artifacts will be visible when moving the camera." msgstr "" #: doc/classes/Environment.xml @@ -27520,14 +27562,14 @@ msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Depth of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the depth of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Width of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the width of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HFlowContainer.xml @@ -29771,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 @@ -29783,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 @@ -29918,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 " @@ -29932,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 @@ -29943,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 " @@ -30295,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 @@ -30315,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 " @@ -30329,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 @@ -30362,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 @@ -30895,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 @@ -33372,6 +33414,15 @@ msgstr "" msgid "If [code]true[/code], the context menu will appear when right-clicked." msgstr "" +#: 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 "" +"Eğer [code]true[/code] ise düğümler sıraya sokulur, yoksa sıraya sokulmaz." + #: doc/classes/LineEdit.xml msgid "" "If [code]false[/code], existing text cannot be modified and new text cannot " @@ -33407,6 +33458,13 @@ msgid "" "[/codeblock]" msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +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 "" + #: doc/classes/LineEdit.xml msgid "" "Opacity of the [member placeholder_text]. From [code]0[/code] to [code]1[/" @@ -34722,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 "" @@ -37206,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 @@ -37918,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 @@ -38514,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 @@ -39298,6 +39403,11 @@ msgid "Returns the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +#, fuzzy +msgid "Returns the tooltip of the item at index [code]idx[/code]." +msgstr "Verilen değerin sinüsünü döndürür." + +#: doc/classes/OptionButton.xml msgid "" "Returns the ID of the selected item, or [code]0[/code] if no item is " "selected." @@ -39351,6 +39461,11 @@ msgid "Sets the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +#, fuzzy +msgid "Sets the tooltip of the item at index [code]idx[/code]." +msgstr "Verilen değerin sinüsünü döndürür." + +#: doc/classes/OptionButton.xml msgid "" "The index of the currently selected item, or [code]-1[/code] if no item is " "selected." @@ -39910,6 +40025,23 @@ msgstr "" #: doc/classes/OS.xml msgid "" +"Returns the current refresh rate of the specified screen. If [code]screen[/" +"code] is [code]-1[/code] (the default value), the current screen will be " +"used.\n" +"[b]Note:[/b] Returns [code]-1.0[/code] if Godot fails to find the refresh " +"rate for the specified screen. On HTML5, [method get_screen_refresh_rate] " +"will always return [code]-1.0[/code] as there is no way to retrieve the " +"refresh rate on that platform.\n" +"To fallback to a default refresh rate if the method fails, try:\n" +"[codeblock]\n" +"var refresh_rate = OS.get_screen_refresh_rate()\n" +"if refresh_rate < 0:\n" +" refresh_rate = 60.0\n" +"[/codeblock]" +msgstr "" + +#: doc/classes/OS.xml +msgid "" "Return the scale factor of the specified screen by index. If [code]screen[/" "code] is [code]-1[/code] (the default value), the current screen will be " "used.\n" @@ -43763,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 @@ -46300,6 +46435,12 @@ msgstr "" #: doc/classes/ProjectSettings.xml 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 "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], enables warnings when a function is declared with the " "same name as a constant." msgstr "" @@ -46723,6 +46864,19 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If enabled, the moment [member Viewport.gui_disable_input] is set to " +"[code]false[/code] to disable GUI input in a viewport, current mouse over " +"and mouse focus will be dropped.\n" +"That behavior helps to keep a robust GUI state, with no surprises when input " +"is resumed regardless what has happened in the meantime.\n" +"If disabled, the legacy behavior is used, which consists in just not doing " +"anything besides the GUI input disable itself.\n" +"[b]Note:[/b] This is set to [code]true[/code] by default for new projects " +"and is the recommended setting." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], swaps OK and Cancel buttons in dialogs on Windows and " "UWP to follow interface conventions." msgstr "" @@ -47692,6 +47846,16 @@ msgid "" msgstr "" #: doc/classes/ProjectSettings.xml +msgid "" +"If [code]true[/code], smooths out collision with trimesh shapes " +"([ConcavePolygonShape]) by telling the Bullet physics engine to generate " +"internal edge information for every trimesh shape created.\n" +"[b]Note:[/b] Only effective if [member physics/3d/physics_engine] is set to " +"[code]DEFAULT[/code] or [code]Bullet[/code], [i]not[/i] [code]GodotPhysics[/" +"code]." +msgstr "" + +#: doc/classes/ProjectSettings.xml msgid "Enables [member Viewport.physics_object_picking] on the root viewport." msgstr "" @@ -48105,6 +48269,14 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"An override for [code]rendering/gles3/shaders/shader_compilation_mode[/" +"code], so asynchronous compilation can be disabled for mobile.\n" +"You may want to do that since mobile GPUs generally won't support " +"ubershaders due to their complexity." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Max buffer size for blend shapes. Any blend shape bigger than this will not " "work." msgstr "" @@ -49042,13 +49214,13 @@ msgstr "" #: doc/classes/Range.xml msgid "" -"Binds two ranges together along with any ranges previously grouped with " +"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 "" #: doc/classes/Range.xml -msgid "Stops range from sharing its member variables with any other." +msgid "Stops the [Range] from sharing its member variables with any other." msgstr "" #: doc/classes/Range.xml @@ -49115,7 +49287,14 @@ msgid "" msgstr "" #: doc/classes/Range.xml -msgid "Emitted when [member value] changes." +msgid "" +"Emitted when [member value] changes. When used on a [Slider], this is called " +"continuously while dragging (potentially every frame). If you are performing " +"an expensive operation in a function connected to [signal value_changed], " +"consider using a [i]debouncing[/i] [Timer] to call the function less often.\n" +"[b]Note:[/b] Unlike signals such as [signal LineEdit.text_changed], [signal " +"value_changed] is also emitted when [code]value[/code] is set directly via " +"code." msgstr "" #: doc/classes/RayCast.xml doc/classes/RayCast2D.xml @@ -56422,11 +56601,11 @@ msgid "" "Returns [code]true[/code] if this string contains a valid float. This is " "inclusive of integers, and also supports exponents:\n" "[codeblock]\n" -"print(\"1.7\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"7e3\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"Hello\".is_valid_float()) # Prints \"false\"\n" +"print(\"1.7\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"7e3\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -56452,9 +56631,9 @@ msgid "" "identifier may contain only letters, digits and underscores ([code]_[/code]) " "and the first character may not be a digit.\n" "[codeblock]\n" -"print(\"good_ident_1\".is_valid_identifier()) # Prints \"true\"\n" -"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"false\"\n" -"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"false\"\n" +"print(\"good_ident_1\".is_valid_identifier()) # Prints \"True\"\n" +"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"False\"\n" +"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -56462,11 +56641,11 @@ msgstr "" msgid "" "Returns [code]true[/code] if this string contains a valid integer.\n" "[codeblock]\n" -"print(\"7\".is_valid_int()) # Prints \"true\"\n" -"print(\"14.6\".is_valid_int()) # Prints \"false\"\n" -"print(\"L\".is_valid_int()) # Prints \"false\"\n" -"print(\"+3\".is_valid_int()) # Prints \"true\"\n" -"print(\"-12\".is_valid_int()) # Prints \"true\"\n" +"print(\"7\".is_valid_int()) # Prints \"True\"\n" +"print(\"14.6\".is_valid_int()) # Prints \"False\"\n" +"print(\"L\".is_valid_int()) # Prints \"False\"\n" +"print(\"+3\".is_valid_int()) # Prints \"True\"\n" +"print(\"-12\".is_valid_int()) # Prints \"True\"\n" "[/codeblock]" msgstr "" @@ -56662,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 "" @@ -58261,6 +58440,12 @@ msgid "Returns if the given line is wrapped." msgstr "Verilen değerin tanjantını döndürür." #: doc/classes/TextEdit.xml +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 "" + +#: doc/classes/TextEdit.xml msgid "Returns [code]true[/code] if the selection is active." msgstr "" @@ -60479,6 +60664,13 @@ msgstr "" #: doc/classes/Time.xml msgid "" +"Converts the given timezone offset in minutes to a timezone offset string. " +"For example, -480 returns \"-08:00\", 345 returns \"+05:45\", and 0 returns " +"\"+00:00\"." +msgstr "" + +#: doc/classes/Time.xml +msgid "" "Returns the amount of time passed in milliseconds since the engine started.\n" "Will always be positive or 0 and uses a 64-bit value (it will wrap after " "roughly 500 million years)." @@ -64144,6 +64336,12 @@ msgid "Returns [code]true[/code] if there are visible modals on-screen." msgstr "" #: doc/classes/Viewport.xml +#, fuzzy +msgid "Returns [code]true[/code] if the drag operation is successful." +msgstr "" +"Eğer [code]true[/code] ise düğümler sıraya sokulur, yoksa sıraya sokulmaz." + +#: doc/classes/Viewport.xml msgid "" "Returns [code]true[/code] if the viewport is currently performing a drag " "operation." diff --git a/doc/translations/uk.po b/doc/translations/uk.po index 9f268b548f..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 @@ -16016,6 +16037,11 @@ msgid "" msgstr "" #: doc/classes/Control.xml +#, fuzzy +msgid "Returns [code]true[/code] if drag operation is successful." +msgstr "Повертає косинус параметра." + +#: doc/classes/Control.xml msgid "" "Invalidates the size cache in this node and in parent nodes up to toplevel. " "Intended to be used with [method get_minimum_size] when the return value is " @@ -16442,8 +16468,9 @@ msgstr "" #: doc/classes/Control.xml msgid "" "By default, the node's pivot is its top-left corner. When you change its " -"[member rect_scale], it will scale around this pivot. Set this property to " -"[member rect_size] / 2 to center the pivot in the node's rectangle." +"[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 "" #: doc/classes/Control.xml @@ -18787,10 +18814,10 @@ msgid "" "further calculations." msgstr "" -#: doc/classes/Curve2D.xml doc/classes/Curve3D.xml +#: doc/classes/Curve2D.xml msgid "" -"Adds a point to a curve at [code]position[/code], with control points " -"[code]in[/code] and [code]out[/code].\n" +"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" "If [code]at_position[/code] is given, the point is inserted before the point " "number [code]at_position[/code], moving that point (and every point after) " "after the inserted point. If [code]at_position[/code] is not given, or is an " @@ -18942,6 +18969,18 @@ msgid "" msgstr "" #: doc/classes/Curve3D.xml +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" +"If [code]at_position[/code] is given, the point is inserted before the point " +"number [code]at_position[/code], moving that point (and every point after) " +"after the inserted point. If [code]at_position[/code] is not given, or is an " +"illegal value ([code]at_position <0[/code] or [code]at_position >= [method " +"get_point_count][/code]), the point will be appended at the end of the point " +"list." +msgstr "" + +#: doc/classes/Curve3D.xml #, fuzzy msgid "Returns the cache of points as a [PoolVector3Array]." msgstr "Повертає арксинус параметра." @@ -19750,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" @@ -22543,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 @@ -23429,10 +23468,13 @@ msgstr "" #: doc/classes/Environment.xml msgid "" -"Keeps on screen every pixel drawn in the background. This is the fastest " -"background mode, but it can only be safely used in fully-interior scenes (no " -"visible sky or sky reflections). If enabled in a scene where the background " -"is visible, \"ghost trail\" artifacts will be visible when moving the camera." +"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 " +"not be faster than clearing the background, and can be significantly slower, " +"particularly on mobile.\n" +"It can only be safely used in fully-interior scenes (no visible sky or sky " +"reflections). If enabled in a scene where the background is visible, \"ghost " +"trail\" artifacts will be visible when moving the camera." msgstr "" #: doc/classes/Environment.xml @@ -26894,14 +26936,14 @@ msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Depth of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the depth of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Width of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the width of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HFlowContainer.xml @@ -29145,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 @@ -29157,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 @@ -29292,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 " @@ -29306,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 @@ -29317,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 " @@ -29669,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 @@ -29689,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 " @@ -29703,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 @@ -29736,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 @@ -30269,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 @@ -32745,6 +32787,13 @@ msgstr "" msgid "If [code]true[/code], the context menu will appear when right-clicked." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml +#: doc/classes/TextEdit.xml +msgid "" +"If [code]true[/code], the selected text will be deselected when focus is " +"lost." +msgstr "" + #: doc/classes/LineEdit.xml msgid "" "If [code]false[/code], existing text cannot be modified and new text cannot " @@ -32780,6 +32829,13 @@ msgid "" "[/codeblock]" msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +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 "" + #: doc/classes/LineEdit.xml msgid "" "Opacity of the [member placeholder_text]. From [code]0[/code] to [code]1[/" @@ -34095,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 "" @@ -36423,7 +36512,7 @@ msgstr "" #: doc/classes/Node.xml msgid "Nodes and Scenes" -msgstr "" +msgstr "Вузли та Сцени" #: doc/classes/Node.xml msgid "All Demos" @@ -36575,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 @@ -37287,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 @@ -37883,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 @@ -38667,6 +38770,11 @@ msgid "Returns the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +#, fuzzy +msgid "Returns the tooltip of the item at index [code]idx[/code]." +msgstr "Обчислює векторний добуток цього вектора і [code]b[/code]." + +#: doc/classes/OptionButton.xml msgid "" "Returns the ID of the selected item, or [code]0[/code] if no item is " "selected." @@ -38720,6 +38828,11 @@ msgid "Sets the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +#, fuzzy +msgid "Sets the tooltip of the item at index [code]idx[/code]." +msgstr "Обчислює векторний добуток цього вектора і [code]b[/code]." + +#: doc/classes/OptionButton.xml msgid "" "The index of the currently selected item, or [code]-1[/code] if no item is " "selected." @@ -39279,6 +39392,23 @@ msgstr "" #: doc/classes/OS.xml msgid "" +"Returns the current refresh rate of the specified screen. If [code]screen[/" +"code] is [code]-1[/code] (the default value), the current screen will be " +"used.\n" +"[b]Note:[/b] Returns [code]-1.0[/code] if Godot fails to find the refresh " +"rate for the specified screen. On HTML5, [method get_screen_refresh_rate] " +"will always return [code]-1.0[/code] as there is no way to retrieve the " +"refresh rate on that platform.\n" +"To fallback to a default refresh rate if the method fails, try:\n" +"[codeblock]\n" +"var refresh_rate = OS.get_screen_refresh_rate()\n" +"if refresh_rate < 0:\n" +" refresh_rate = 60.0\n" +"[/codeblock]" +msgstr "" + +#: doc/classes/OS.xml +msgid "" "Return the scale factor of the specified screen by index. If [code]screen[/" "code] is [code]-1[/code] (the default value), the current screen will be " "used.\n" @@ -43125,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 @@ -45660,6 +45793,12 @@ msgstr "" #: doc/classes/ProjectSettings.xml 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 "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], enables warnings when a function is declared with the " "same name as a constant." msgstr "" @@ -46083,6 +46222,19 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If enabled, the moment [member Viewport.gui_disable_input] is set to " +"[code]false[/code] to disable GUI input in a viewport, current mouse over " +"and mouse focus will be dropped.\n" +"That behavior helps to keep a robust GUI state, with no surprises when input " +"is resumed regardless what has happened in the meantime.\n" +"If disabled, the legacy behavior is used, which consists in just not doing " +"anything besides the GUI input disable itself.\n" +"[b]Note:[/b] This is set to [code]true[/code] by default for new projects " +"and is the recommended setting." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], swaps OK and Cancel buttons in dialogs on Windows and " "UWP to follow interface conventions." msgstr "" @@ -47052,6 +47204,16 @@ msgid "" msgstr "" #: doc/classes/ProjectSettings.xml +msgid "" +"If [code]true[/code], smooths out collision with trimesh shapes " +"([ConcavePolygonShape]) by telling the Bullet physics engine to generate " +"internal edge information for every trimesh shape created.\n" +"[b]Note:[/b] Only effective if [member physics/3d/physics_engine] is set to " +"[code]DEFAULT[/code] or [code]Bullet[/code], [i]not[/i] [code]GodotPhysics[/" +"code]." +msgstr "" + +#: doc/classes/ProjectSettings.xml msgid "Enables [member Viewport.physics_object_picking] on the root viewport." msgstr "" @@ -47465,6 +47627,14 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"An override for [code]rendering/gles3/shaders/shader_compilation_mode[/" +"code], so asynchronous compilation can be disabled for mobile.\n" +"You may want to do that since mobile GPUs generally won't support " +"ubershaders due to their complexity." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Max buffer size for blend shapes. Any blend shape bigger than this will not " "work." msgstr "" @@ -48397,13 +48567,13 @@ msgstr "" #: doc/classes/Range.xml msgid "" -"Binds two ranges together along with any ranges previously grouped with " +"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 "" #: doc/classes/Range.xml -msgid "Stops range from sharing its member variables with any other." +msgid "Stops the [Range] from sharing its member variables with any other." msgstr "" #: doc/classes/Range.xml @@ -48470,7 +48640,14 @@ msgid "" msgstr "" #: doc/classes/Range.xml -msgid "Emitted when [member value] changes." +msgid "" +"Emitted when [member value] changes. When used on a [Slider], this is called " +"continuously while dragging (potentially every frame). If you are performing " +"an expensive operation in a function connected to [signal value_changed], " +"consider using a [i]debouncing[/i] [Timer] to call the function less often.\n" +"[b]Note:[/b] Unlike signals such as [signal LineEdit.text_changed], [signal " +"value_changed] is also emitted when [code]value[/code] is set directly via " +"code." msgstr "" #: doc/classes/RayCast.xml doc/classes/RayCast2D.xml @@ -55775,11 +55952,11 @@ msgid "" "Returns [code]true[/code] if this string contains a valid float. This is " "inclusive of integers, and also supports exponents:\n" "[codeblock]\n" -"print(\"1.7\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"7e3\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"Hello\".is_valid_float()) # Prints \"false\"\n" +"print(\"1.7\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"7e3\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55805,9 +55982,9 @@ msgid "" "identifier may contain only letters, digits and underscores ([code]_[/code]) " "and the first character may not be a digit.\n" "[codeblock]\n" -"print(\"good_ident_1\".is_valid_identifier()) # Prints \"true\"\n" -"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"false\"\n" -"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"false\"\n" +"print(\"good_ident_1\".is_valid_identifier()) # Prints \"True\"\n" +"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"False\"\n" +"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55815,11 +55992,11 @@ msgstr "" msgid "" "Returns [code]true[/code] if this string contains a valid integer.\n" "[codeblock]\n" -"print(\"7\".is_valid_int()) # Prints \"true\"\n" -"print(\"14.6\".is_valid_int()) # Prints \"false\"\n" -"print(\"L\".is_valid_int()) # Prints \"false\"\n" -"print(\"+3\".is_valid_int()) # Prints \"true\"\n" -"print(\"-12\".is_valid_int()) # Prints \"true\"\n" +"print(\"7\".is_valid_int()) # Prints \"True\"\n" +"print(\"14.6\".is_valid_int()) # Prints \"False\"\n" +"print(\"L\".is_valid_int()) # Prints \"False\"\n" +"print(\"+3\".is_valid_int()) # Prints \"True\"\n" +"print(\"-12\".is_valid_int()) # Prints \"True\"\n" "[/codeblock]" msgstr "" @@ -56015,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 "" @@ -57615,6 +57792,12 @@ msgid "Returns if the given line is wrapped." msgstr "Повертає тангенс параметра." #: doc/classes/TextEdit.xml +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 "" + +#: doc/classes/TextEdit.xml msgid "Returns [code]true[/code] if the selection is active." msgstr "" @@ -59833,6 +60016,13 @@ msgstr "" #: doc/classes/Time.xml msgid "" +"Converts the given timezone offset in minutes to a timezone offset string. " +"For example, -480 returns \"-08:00\", 345 returns \"+05:45\", and 0 returns " +"\"+00:00\"." +msgstr "" + +#: doc/classes/Time.xml +msgid "" "Returns the amount of time passed in milliseconds since the engine started.\n" "Will always be positive or 0 and uses a 64-bit value (it will wrap after " "roughly 500 million years)." @@ -63499,6 +63689,11 @@ msgid "Returns [code]true[/code] if there are visible modals on-screen." msgstr "" #: doc/classes/Viewport.xml +#, fuzzy +msgid "Returns [code]true[/code] if the drag operation is successful." +msgstr "Повертає косинус параметра." + +#: doc/classes/Viewport.xml msgid "" "Returns [code]true[/code] if the viewport is currently performing a drag " "operation." diff --git a/doc/translations/vi.po b/doc/translations/vi.po index 94b26a92d6..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 @@ -16316,6 +16336,11 @@ msgid "" msgstr "" #: doc/classes/Control.xml +#, fuzzy +msgid "Returns [code]true[/code] if drag operation is successful." +msgstr "Nếu [code]true[/code], họa tiết sẽ được căn ở trung tâm." + +#: doc/classes/Control.xml msgid "" "Invalidates the size cache in this node and in parent nodes up to toplevel. " "Intended to be used with [method get_minimum_size] when the return value is " @@ -16742,8 +16767,9 @@ msgstr "" #: doc/classes/Control.xml msgid "" "By default, the node's pivot is its top-left corner. When you change its " -"[member rect_scale], it will scale around this pivot. Set this property to " -"[member rect_size] / 2 to center the pivot in the node's rectangle." +"[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 "" #: doc/classes/Control.xml @@ -19088,10 +19114,10 @@ msgid "" "further calculations." msgstr "" -#: doc/classes/Curve2D.xml doc/classes/Curve3D.xml +#: doc/classes/Curve2D.xml msgid "" -"Adds a point to a curve at [code]position[/code], with control points " -"[code]in[/code] and [code]out[/code].\n" +"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" "If [code]at_position[/code] is given, the point is inserted before the point " "number [code]at_position[/code], moving that point (and every point after) " "after the inserted point. If [code]at_position[/code] is not given, or is an " @@ -19243,6 +19269,18 @@ msgid "" msgstr "" #: doc/classes/Curve3D.xml +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" +"If [code]at_position[/code] is given, the point is inserted before the point " +"number [code]at_position[/code], moving that point (and every point after) " +"after the inserted point. If [code]at_position[/code] is not given, or is an " +"illegal value ([code]at_position <0[/code] or [code]at_position >= [method " +"get_point_count][/code]), the point will be appended at the end of the point " +"list." +msgstr "" + +#: doc/classes/Curve3D.xml #, fuzzy msgid "Returns the cache of points as a [PoolVector3Array]." msgstr "Trả về sin nghịch đảo của tham số." @@ -20051,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" @@ -22845,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 @@ -23730,10 +23768,13 @@ msgstr "" #: doc/classes/Environment.xml msgid "" -"Keeps on screen every pixel drawn in the background. This is the fastest " -"background mode, but it can only be safely used in fully-interior scenes (no " -"visible sky or sky reflections). If enabled in a scene where the background " -"is visible, \"ghost trail\" artifacts will be visible when moving the camera." +"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 " +"not be faster than clearing the background, and can be significantly slower, " +"particularly on mobile.\n" +"It can only be safely used in fully-interior scenes (no visible sky or sky " +"reflections). If enabled in a scene where the background is visible, \"ghost " +"trail\" artifacts will be visible when moving the camera." msgstr "" #: doc/classes/Environment.xml @@ -27189,14 +27230,14 @@ msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Depth of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the depth of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Width of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the width of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HFlowContainer.xml @@ -29441,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 @@ -29453,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 @@ -29588,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 " @@ -29602,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 @@ -29613,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 " @@ -29965,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 @@ -29985,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 " @@ -29999,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 @@ -30032,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 @@ -30565,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 @@ -33041,6 +33082,14 @@ msgstr "" msgid "If [code]true[/code], the context menu will appear when right-clicked." msgstr "" +#: 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 "Nếu [code]true[/code], họa tiết sẽ được căn ở trung tâm." + #: doc/classes/LineEdit.xml msgid "" "If [code]false[/code], existing text cannot be modified and new text cannot " @@ -33076,6 +33125,13 @@ msgid "" "[/codeblock]" msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +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 "" + #: doc/classes/LineEdit.xml msgid "" "Opacity of the [member placeholder_text]. From [code]0[/code] to [code]1[/" @@ -34391,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 "" @@ -36873,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 @@ -37585,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 @@ -38181,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 @@ -38965,6 +39068,11 @@ msgid "Returns the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +#, fuzzy +msgid "Returns the tooltip of the item at index [code]idx[/code]." +msgstr "Trả về sin của tham số." + +#: doc/classes/OptionButton.xml msgid "" "Returns the ID of the selected item, or [code]0[/code] if no item is " "selected." @@ -39018,6 +39126,11 @@ msgid "Sets the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +#, fuzzy +msgid "Sets the tooltip of the item at index [code]idx[/code]." +msgstr "Trả về sin của tham số." + +#: doc/classes/OptionButton.xml msgid "" "The index of the currently selected item, or [code]-1[/code] if no item is " "selected." @@ -39577,6 +39690,23 @@ msgstr "" #: doc/classes/OS.xml msgid "" +"Returns the current refresh rate of the specified screen. If [code]screen[/" +"code] is [code]-1[/code] (the default value), the current screen will be " +"used.\n" +"[b]Note:[/b] Returns [code]-1.0[/code] if Godot fails to find the refresh " +"rate for the specified screen. On HTML5, [method get_screen_refresh_rate] " +"will always return [code]-1.0[/code] as there is no way to retrieve the " +"refresh rate on that platform.\n" +"To fallback to a default refresh rate if the method fails, try:\n" +"[codeblock]\n" +"var refresh_rate = OS.get_screen_refresh_rate()\n" +"if refresh_rate < 0:\n" +" refresh_rate = 60.0\n" +"[/codeblock]" +msgstr "" + +#: doc/classes/OS.xml +msgid "" "Return the scale factor of the specified screen by index. If [code]screen[/" "code] is [code]-1[/code] (the default value), the current screen will be " "used.\n" @@ -43427,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 @@ -45966,6 +46099,13 @@ msgid "" 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 "Nếu [code]true[/code], họa tiết sẽ được căn ở trung tâm." + +#: doc/classes/ProjectSettings.xml msgid "" "If [code]true[/code], enables warnings when a function is declared with the " "same name as a constant." @@ -46392,6 +46532,19 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If enabled, the moment [member Viewport.gui_disable_input] is set to " +"[code]false[/code] to disable GUI input in a viewport, current mouse over " +"and mouse focus will be dropped.\n" +"That behavior helps to keep a robust GUI state, with no surprises when input " +"is resumed regardless what has happened in the meantime.\n" +"If disabled, the legacy behavior is used, which consists in just not doing " +"anything besides the GUI input disable itself.\n" +"[b]Note:[/b] This is set to [code]true[/code] by default for new projects " +"and is the recommended setting." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], swaps OK and Cancel buttons in dialogs on Windows and " "UWP to follow interface conventions." msgstr "" @@ -47361,6 +47514,16 @@ msgid "" msgstr "" #: doc/classes/ProjectSettings.xml +msgid "" +"If [code]true[/code], smooths out collision with trimesh shapes " +"([ConcavePolygonShape]) by telling the Bullet physics engine to generate " +"internal edge information for every trimesh shape created.\n" +"[b]Note:[/b] Only effective if [member physics/3d/physics_engine] is set to " +"[code]DEFAULT[/code] or [code]Bullet[/code], [i]not[/i] [code]GodotPhysics[/" +"code]." +msgstr "" + +#: doc/classes/ProjectSettings.xml msgid "Enables [member Viewport.physics_object_picking] on the root viewport." msgstr "" @@ -47774,6 +47937,14 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"An override for [code]rendering/gles3/shaders/shader_compilation_mode[/" +"code], so asynchronous compilation can be disabled for mobile.\n" +"You may want to do that since mobile GPUs generally won't support " +"ubershaders due to their complexity." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Max buffer size for blend shapes. Any blend shape bigger than this will not " "work." msgstr "" @@ -48709,13 +48880,13 @@ msgstr "" #: doc/classes/Range.xml msgid "" -"Binds two ranges together along with any ranges previously grouped with " +"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 "" #: doc/classes/Range.xml -msgid "Stops range from sharing its member variables with any other." +msgid "Stops the [Range] from sharing its member variables with any other." msgstr "" #: doc/classes/Range.xml @@ -48782,7 +48953,14 @@ msgid "" msgstr "" #: doc/classes/Range.xml -msgid "Emitted when [member value] changes." +msgid "" +"Emitted when [member value] changes. When used on a [Slider], this is called " +"continuously while dragging (potentially every frame). If you are performing " +"an expensive operation in a function connected to [signal value_changed], " +"consider using a [i]debouncing[/i] [Timer] to call the function less often.\n" +"[b]Note:[/b] Unlike signals such as [signal LineEdit.text_changed], [signal " +"value_changed] is also emitted when [code]value[/code] is set directly via " +"code." msgstr "" #: doc/classes/RayCast.xml doc/classes/RayCast2D.xml @@ -56091,11 +56269,11 @@ msgid "" "Returns [code]true[/code] if this string contains a valid float. This is " "inclusive of integers, and also supports exponents:\n" "[codeblock]\n" -"print(\"1.7\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"7e3\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"Hello\".is_valid_float()) # Prints \"false\"\n" +"print(\"1.7\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"7e3\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -56121,9 +56299,9 @@ msgid "" "identifier may contain only letters, digits and underscores ([code]_[/code]) " "and the first character may not be a digit.\n" "[codeblock]\n" -"print(\"good_ident_1\".is_valid_identifier()) # Prints \"true\"\n" -"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"false\"\n" -"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"false\"\n" +"print(\"good_ident_1\".is_valid_identifier()) # Prints \"True\"\n" +"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"False\"\n" +"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -56131,11 +56309,11 @@ msgstr "" msgid "" "Returns [code]true[/code] if this string contains a valid integer.\n" "[codeblock]\n" -"print(\"7\".is_valid_int()) # Prints \"true\"\n" -"print(\"14.6\".is_valid_int()) # Prints \"false\"\n" -"print(\"L\".is_valid_int()) # Prints \"false\"\n" -"print(\"+3\".is_valid_int()) # Prints \"true\"\n" -"print(\"-12\".is_valid_int()) # Prints \"true\"\n" +"print(\"7\".is_valid_int()) # Prints \"True\"\n" +"print(\"14.6\".is_valid_int()) # Prints \"False\"\n" +"print(\"L\".is_valid_int()) # Prints \"False\"\n" +"print(\"+3\".is_valid_int()) # Prints \"True\"\n" +"print(\"-12\".is_valid_int()) # Prints \"True\"\n" "[/codeblock]" msgstr "" @@ -56331,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 "" @@ -57930,6 +58108,12 @@ msgid "Returns if the given line is wrapped." msgstr "Trả về [Texture2D] của khung hình được cho." #: doc/classes/TextEdit.xml +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 "" + +#: doc/classes/TextEdit.xml msgid "Returns [code]true[/code] if the selection is active." msgstr "" @@ -60148,6 +60332,13 @@ msgstr "" #: doc/classes/Time.xml msgid "" +"Converts the given timezone offset in minutes to a timezone offset string. " +"For example, -480 returns \"-08:00\", 345 returns \"+05:45\", and 0 returns " +"\"+00:00\"." +msgstr "" + +#: doc/classes/Time.xml +msgid "" "Returns the amount of time passed in milliseconds since the engine started.\n" "Will always be positive or 0 and uses a 64-bit value (it will wrap after " "roughly 500 million years)." @@ -63817,6 +64008,11 @@ msgid "Returns [code]true[/code] if there are visible modals on-screen." msgstr "" #: doc/classes/Viewport.xml +#, fuzzy +msgid "Returns [code]true[/code] if the drag operation is successful." +msgstr "Nếu [code]true[/code], họa tiết sẽ được căn ở trung tâm." + +#: doc/classes/Viewport.xml msgid "" "Returns [code]true[/code] if the viewport is currently performing a drag " "operation." diff --git a/doc/translations/zh_CN.po b/doc/translations/zh_CN.po index 43706eb180..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-08 06:54+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 "" @@ -4188,6 +4190,10 @@ msgid "" "arbitrary values and can be empty. The list of values serves to suggest " "possible values." msgstr "" +"提示字符串属性为枚举值,可选值列表通过提示字符串指定,例如 [code]\"Hello," +"Something,Else\"[/code]。\n" +"与 [constant PROPERTY_HINT_ENUM] 不同,具有这个提示的属性仍能够接受任意值,而" +"且可以为空。可选值列表用于提示可能的值。" #: doc/classes/@GlobalScope.xml msgid "" @@ -5069,7 +5075,7 @@ msgstr "模式列举的最大值。" #: doc/classes/AnimatedSprite.xml msgid "Sprite node that can use multiple textures for animation." -msgstr "可以使用多个纹理进行动画处理的 Sprite 节点。" +msgstr "可以使用多个纹理进行动画处理的精灵节点。" #: doc/classes/AnimatedSprite.xml msgid "" @@ -5176,7 +5182,7 @@ msgstr "当[member frame]更改时发出。" #: doc/classes/AnimatedSprite3D.xml msgid "" "2D sprite node in 3D world, that can use multiple 2D textures for animation." -msgstr "3D世界中的2D精灵节点,可以使用多个2D纹理进行动画处理。" +msgstr "3D 世界中的 2D 精灵节点,可以使用多个 2D 纹理进行动画处理。" #: doc/classes/AnimatedSprite3D.xml msgid "" @@ -5704,7 +5710,7 @@ msgid "" "Sets the transition curve (easing) for a specific key (see the built-in math " "function [method @GDScript.ease])." msgstr "" -"设置特定键的过渡曲线(缓动)(参阅内置数学函数[method @GDScript.ease])。" +"设置特定键的过渡曲线(缓动)(参阅内置数学函数 [method @GDScript.ease])。" #: doc/classes/Animation.xml msgid "Sets the value of an existing key." @@ -5837,15 +5843,15 @@ msgstr "动画曲目在其他 [AnimationPlayer] 节点中播放动画。" #: doc/classes/Animation.xml msgid "No interpolation (nearest value)." -msgstr "无内插(最近值)。" +msgstr "无插值(最近值)。" #: doc/classes/Animation.xml msgid "Linear interpolation." -msgstr "线性插值." +msgstr "线性插值。" #: doc/classes/Animation.xml msgid "Cubic interpolation." -msgstr "三次插值." +msgstr "三次插值。" #: doc/classes/Animation.xml msgid "Update between keyframes." @@ -5864,8 +5870,8 @@ msgid "" "Same as linear interpolation, but also interpolates from the current value " "(i.e. dynamically at runtime) if the first key isn't at 0 seconds." msgstr "" -"与线性插值相同,但如果第一个键不是在0秒时,也会从当前值进行插值(即在运行时动" -"态插值)。" +"与线性插值相同,但如果第一个关键帧不在第 0 秒,则会从当前值进行插值(即在运行" +"时动态插值)。" #: doc/classes/AnimationNode.xml msgid "Base resource for [AnimationTree] nodes." @@ -5955,7 +5961,7 @@ msgid "" "Gets the value of a parameter. Parameters are custom local memory used for " "your nodes, given a resource can be reused in multiple trees." msgstr "" -"获取一个参数的值。参数是你的节点使用的自定义本地存储,给定的资源可以在多个树" +"获取一个参数的值。参数是你的节点使用的自定义本地内存,给定的资源可以在多个树" "中重复使用。" #: doc/classes/AnimationNode.xml @@ -5972,7 +5978,7 @@ msgid "" "memory used for your nodes, given a resource can be reused in multiple " "trees. Format is similar to [method Object.get_property_list]." msgstr "" -"获取参数的属性信息。参数是你的节点使用的自定义本地存储,给定的资源可以在多个" +"获取参数的属性信息。参数是你的节点使用的自定义本地内存,给定的资源可以在多个" "树中重复使用。格式类似于[method Object.get_property_list]。" #: doc/classes/AnimationNode.xml @@ -5982,9 +5988,8 @@ msgid "" msgstr "返回[code]true[/code],是否希望混合树编辑器在此节点上显示过滤器编辑。" #: doc/classes/AnimationNode.xml -#, fuzzy msgid "Returns whether the given path is filtered." -msgstr "返回[code]true[/code]是否对指定路径进行过滤。" +msgstr "返回是否对给定的路径进行过滤。" #: doc/classes/AnimationNode.xml msgid "" @@ -6001,7 +6006,7 @@ msgstr "" "对的增量,除非 [code]seek[/code] 是 [code]true[/code],此时它是绝对的时间。\n" "请在这里调用 [method blend_input]、[method blend_node] 或 [method " "blend_animation] 函数。你也可以使用 [method get_parameter] 和 [method " -"set_parameter] 来修改本地存储。\n" +"set_parameter] 来修改本地内存。\n" "这个函数应该返回当前动画完成的剩余时间(如果不确定,请传递被调用的主混合" "值)。" @@ -6014,12 +6019,11 @@ msgid "Adds or removes a path for the filter." msgstr "添加或删除筛选器的路径。" #: doc/classes/AnimationNode.xml -#, fuzzy msgid "" "Sets a custom parameter. These are used as local memory, because resources " "can be reused across the tree or scenes." msgstr "" -"设置一个自定义参数。这些参数被用作本地存储,因为资源可以在树或场景中重复使" +"设置一个自定义参数。这些参数被用作本地内存,因为资源可以在树或场景中重复使" "用。" #: doc/classes/AnimationNode.xml @@ -6027,9 +6031,8 @@ msgid "If [code]true[/code], filtering is enabled." msgstr "如果为 [code]true[/code],则启用筛选功能。" #: doc/classes/AnimationNode.xml -#, fuzzy msgid "Emitted when the node was removed from the graph." -msgstr "当该节点从图中删除时调用。" +msgstr "当该节点从图中删除时触发。" #: doc/classes/AnimationNode.xml msgid "" @@ -6435,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 " "等。这是最常用的根之一。" @@ -6986,8 +6993,8 @@ msgid "" "Returns [code]true[/code] if the [AnimationPlayer] stores an [Animation] " "with key [code]name[/code]." msgstr "" -"如果[AnimationPlayer]存储了带有[code]name[/code]with key[Animation],返回" -"[code]true[/code]。" +"如果该 [AnimationPlayer] 存储了键名为 [code]name[/code] 的 [Animation],则返" +"回 [code]true[/code]。" #: doc/classes/AnimationPlayer.xml msgid "Returns [code]true[/code] if playing an animation." @@ -7331,8 +7338,7 @@ msgid "" "[i]Deprecated.[/i] Animation player that uses a node graph for blending " "animations. Superseded by [AnimationTree]." msgstr "" -"[i]已弃用。[/i] 使用节点图(node graph)来混合动画的动画播放器。由 " -"[AnimationTree] 取代。" +"[i]已弃用。[/i]使用节点图来混合动画的动画播放器。由 [AnimationTree] 取代。" #: doc/classes/AnimationTreePlayer.xml msgid "" @@ -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 "" @@ -11960,7 +11966,6 @@ msgid "Number of available audio buses." msgstr "可用音频总线的数量。" #: doc/classes/AudioServer.xml -#, fuzzy msgid "" "Name of the current device for audio input (see [method get_device_list]). " "On systems with multiple audio inputs (such as analog, USB and HDMI audio), " @@ -11969,9 +11974,9 @@ msgid "" "input. If an invalid device name is set, the value will be reverted back to " "[code]\"Default\"[/code]." msgstr "" -"当前音频输出设备名称(见 [method get_device_list])。在具有多个音频输出的系统" -"中(例如模拟、USB、HDMI 音频),可用于选择音频输出设备。将值设为 " -"[code]\"Default\"[/code] 则会从系统默认的音频输出播放音频。如果设置了无效的设" +"当前音频输出设备的名称(见 [method get_device_list])。在具有多个音频输出的系" +"统中(例如模拟、USB、HDMI 音频),可用于选择音频输出设备。为 " +"[code]\"Default\"[/code] 时会从系统默认的音频输出播放音频。如果设置了无效的设" "备名称,该值会被恢复为 [code]\"Default\"[/code]。" #: doc/classes/AudioServer.xml @@ -12194,7 +12199,7 @@ msgstr "" #: doc/classes/AudioStreamPlayer.xml msgid "Plays back audio non-positionally." -msgstr "非定位地播放音频。" +msgstr "播放音频,不考虑所处位置。" #: doc/classes/AudioStreamPlayer.xml msgid "" @@ -12218,7 +12223,7 @@ msgstr "返回与此 [AudioStreamPlayer] 关联的 [AudioStreamPlayback] 对象 #: doc/classes/AudioStreamPlayer.xml msgid "Plays the audio from the given [code]from_position[/code], in seconds." -msgstr "从给定的 [code]from_position[/code] 播放音频,以秒为单位。" +msgstr "从给定的位置 [code]from_position[/code] 播放音频,以秒为单位。" #: doc/classes/AudioStreamPlayer.xml doc/classes/AudioStreamPlayer2D.xml #: doc/classes/AudioStreamPlayer3D.xml @@ -12280,20 +12285,20 @@ msgstr "当音频停止播放时发出。" #: doc/classes/AudioStreamPlayer.xml msgid "The audio will be played only on the first channel." -msgstr "音频将只在第一个频道播放。" +msgstr "音频将只在第一个声道中播放。" #: doc/classes/AudioStreamPlayer.xml msgid "The audio will be played on all surround channels." -msgstr "音频将在所有环绕声频道播放。" +msgstr "音频将在所有环绕声声道中播放。" #: doc/classes/AudioStreamPlayer.xml msgid "" "The audio will be played on the second channel, which is usually the center." -msgstr "音频将在第二通道,也就是通常的中央播放。" +msgstr "音频将在第二个声道中播放,通常位于中央。" #: doc/classes/AudioStreamPlayer2D.xml msgid "Plays positional sound in 2D space." -msgstr "在 2D 空间中播放位置声音。" +msgstr "在 2D 空间中播放与位置相关的声音。" #: doc/classes/AudioStreamPlayer2D.xml msgid "" @@ -12312,19 +12317,19 @@ msgstr "" #: doc/classes/AudioStreamPlayer2D.xml doc/classes/AudioStreamPlayer3D.xml msgid "Returns the position in the [AudioStream]." -msgstr "返回[AudioStream]中的位置。" +msgstr "返回 [AudioStream] 中的位置。" #: doc/classes/AudioStreamPlayer2D.xml msgid "" "Returns the [AudioStreamPlayback] object associated with this " "[AudioStreamPlayer2D]." -msgstr "返回与该[AudioStreamPlayer2D]相关联的[AudioStreamPlayback]对象。" +msgstr "返回与该 [AudioStreamPlayer2D] 相关联的 [AudioStreamPlayback] 对象。" #: doc/classes/AudioStreamPlayer2D.xml doc/classes/AudioStreamPlayer3D.xml msgid "" "Plays the audio from the given position [code]from_position[/code], in " "seconds." -msgstr "从给定的位置[code]from_position[/code]播放音频,以秒为单位。" +msgstr "从给定的位置 [code]from_position[/code] 播放音频,以秒为单位。" #: doc/classes/AudioStreamPlayer2D.xml msgid "" @@ -12352,7 +12357,7 @@ msgstr "基础音量,无衰减。" #: doc/classes/AudioStreamPlayer3D.xml msgid "Plays positional sound in 3D space." -msgstr "在 3D 空间中播放位置声音。" +msgstr "在 3D 空间中播放与位置相关的声音。" #: doc/classes/AudioStreamPlayer3D.xml msgid "" @@ -12808,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 "" @@ -13302,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" "也可以作为三维向量的数组来访问。这些向量通常是相互正交的,但不一定是归一化的" @@ -13635,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 "" @@ -13690,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." @@ -14184,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 "" @@ -14244,8 +14255,8 @@ msgid "" "description). If the camera node is outside the scene tree, it will attempt " "to become current once it's added." msgstr "" -"使此相机成为[Viewport]的当前相机(见类的说明)。如果相机节点在场景树之外,一" -"旦添加,它将尝试成为当前相机。" +"使此相机成为 [Viewport] 的当前相机(见类的说明)。如果相机节点在场景树之外," +"一旦添加,它将尝试成为当前相机。" #: doc/classes/Camera.xml msgid "" @@ -14341,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()." @@ -14376,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 @@ -14408,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" @@ -14537,7 +14548,7 @@ msgstr "" #: doc/classes/Camera2D.xml msgid "Camera node for 2D scenes." -msgstr "二维场景的相机节点。" +msgstr "2D 场景的相机节点。" #: doc/classes/Camera2D.xml msgid "" @@ -14632,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 "" @@ -15366,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." @@ -15433,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],则将使用全局变换数据更新子项。" @@ -15574,10 +15588,19 @@ msgstr "" "用。不会应用任何光照。" #: doc/classes/CanvasItem.xml +#, fuzzy +msgid "" +"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 transform has changed. This notification is only received " -"if enabled by [method set_notify_transform] or [method " -"set_notify_local_transform]." +"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]启用时,才会收到此通知。" @@ -15710,22 +15733,20 @@ msgid "Returns the RID of the canvas used by this layer." msgstr "返回此层使用的画布的 RID。" #: doc/classes/CanvasLayer.xml -#, fuzzy msgid "" "Hides any [CanvasItem] under this [CanvasLayer]. This is equivalent to " "setting [member visible] to [code]false[/code]." msgstr "" -"如果该 [CanvasItem] 目前是可见的,则将其隐藏。等价于将 [member visible] 设为 " +"隐藏该 [CanvasLayer] 下的所有 [CanvasItem]。等价于将 [member visible] 设为 " "[code]false[/code]。" #: doc/classes/CanvasLayer.xml -#, fuzzy msgid "" "Shows any [CanvasItem] under this [CanvasLayer]. This is equivalent to " "setting [member visible] to [code]true[/code]." msgstr "" -"如果该 [CanvasItem] 目前是可见的,则将其隐藏。等价于将 [member visible] 设为 " -"[code]false[/code]。" +"显示该 [CanvasLayer] 下的所有 [CanvasItem]。等价于将 [member visible] 设为 " +"[code]true[/code]。" #: doc/classes/CanvasLayer.xml msgid "" @@ -15739,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 "" @@ -19198,7 +19219,6 @@ msgstr "" "rect_position]。" #: doc/classes/Control.xml -#, fuzzy msgid "" "Returns a [Color] from the first matching [Theme] in the tree if that " "[Theme] has a color item with the specified [code]name[/code] and " @@ -19223,7 +19243,8 @@ msgid "" msgstr "" "如果该 [Theme] 具有指定 [code]name[/code] 和 [code]theme_type[/code] 的颜色" "项,则从树中第一个匹配的 [Theme] 返回 [Color]。如果省略 [code]theme_type[/" -"code],则使用当前控件的类名作为类型。如果类型是类名,则还会按继承顺序检查其父" +"code],则使用当前控件的类名作为类型,如果定义了 [member " +"theme_type_variation] 则也会使用。如果类型是类名,则还会按继承顺序检查其父" "类。\n" "对于当前控件,首先考虑其本地覆盖项,参阅 [method add_color_override],然后是" "其分配的 [member theme]。在当前控件之后,考虑每个父控件及其分配的 [member " @@ -19565,6 +19586,10 @@ msgstr "" "参阅 [method add_stylebox_override]。" #: doc/classes/Control.xml +msgid "Returns [code]true[/code] if drag operation is successful." +msgstr "如果拖拽操作成功,则返回 [code]true[/code]。" + +#: doc/classes/Control.xml msgid "" "Invalidates the size cache in this node and in parent nodes up to toplevel. " "Intended to be used with [method get_minimum_size] when the return value is " @@ -20049,8 +20074,8 @@ msgid "" "handled." msgstr "" "启用当你关闭控件模态时,输入是否传播。\n" -"如果[code]false[/code],在视窗输入事件处理时停止事件处理。视窗首先隐藏模态," -"之后将输入标记为已处理。" +"如果为 [code]false[/code],在视区输入事件处理时将停止事件处理。视区首先隐藏模" +"态,之后将输入标记为已处理。" #: doc/classes/Control.xml msgid "" @@ -20155,12 +20180,13 @@ msgstr "" #: doc/classes/Control.xml msgid "" "By default, the node's pivot is its top-left corner. When you change its " -"[member rect_scale], it will scale around this pivot. Set this property to " -"[member rect_size] / 2 to center the pivot in the node's rectangle." +"[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 "" @@ -20268,6 +20294,17 @@ msgid "" "The earliest match against any type/class name is returned. The project-" "level Theme and the default Theme are checked last." msgstr "" +"主题类型变种的名称,这个 [Control] 用它来查询自身的主题项目。为空时,会使用该" +"节点的类名(例如 [Button] 控件使用 [code]Button[/code])与所有父类的类名(按" +"照继承的顺序)。\n" +"设值后,这个属性会为其指定的名称赋予最高优先级。这个类型可以扩展另一个类型," +"形成依赖链。请参阅 [method Theme.set_type_variation]。如果无法使用这个类型或" +"者其基础类型找到主题项目,会使用类名进行查询。\n" +"[b]注意:[/b]要查询 [Control] 自身的项目,请勿在使用各种 [code]get_*[/code] " +"方法时指定 [code]theme_type[/code]。\n" +"[b]注意:[/b]主题项目的查询是按照树顺序进行的,从枝到根,会检查各个 " +"[Control] 节点的 [member theme] 属性。返回的是最早符合条件的类型/类名。项目级" +"别的主题和默认主题会在最后检查。" #: doc/classes/Control.xml msgid "Emitted when the node gains keyboard focus." @@ -20889,7 +20926,7 @@ msgstr "" #: doc/classes/CPUParticles.xml msgid "CPU-based 3D particle emitter." -msgstr "基于CPU的3D粒子发射器。" +msgstr "基于 CPU 的 3D 粒子发射器。" #: doc/classes/CPUParticles.xml msgid "" @@ -20900,9 +20937,9 @@ msgid "" "[b]Note:[/b] Unlike [Particles], the visibility rect is generated on-the-fly " "and doesn't need to be configured by the user." msgstr "" -"基于CPU的3D粒子节点,用于创建各种粒子系统和效果。\n" -"参阅[Particles],它是以硬件加速提供相同的功能,但可能无法在旧设备上运行。\n" -"[b]注意:[/b] 与[Particles]不同,其可见性矩形是即时生成的,不需要用户配置。" +"基于 CPU 的 3D 粒子节点,用于创建各种粒子系统和效果。\n" +"参阅 [Particles],它是以硬件加速提供相同的功能,但可能无法在旧设备上运行。\n" +"[b]注意:[/b]与 [Particles] 不同,其可见性矩形是即时生成的,不需要用户配置。" #: doc/classes/CPUParticles.xml msgid "" @@ -21541,7 +21578,7 @@ msgstr "表示[enum EmissionShape]枚举的大小。" #: doc/classes/CPUParticles2D.xml msgid "CPU-based 2D particle emitter." -msgstr "基于CPU的2D粒子发射器。" +msgstr "基于 CPU 的 2D 粒子发射器。" #: doc/classes/CPUParticles2D.xml msgid "" @@ -21552,9 +21589,11 @@ msgid "" "[b]Note:[/b] Unlike [Particles2D], the visibility rect is generated on-the-" "fly and doesn't need to be configured by the user." msgstr "" -"基于CPU的2D粒子节点,用于创建各种粒子系统和效果。\n" -"参阅[Particles2D],它通过硬件加速提供相同的功能,但可能无法在旧设备上运行。\n" -"[b]注意:[/b] 其与[Particles2D]不同,可见性矩形是即时生成的,不需要用户配置。" +"基于 CPU 的 2D 粒子节点,用于创建各种粒子系统和效果。\n" +"参阅 [Particles2D],它通过硬件加速提供相同的功能,但可能无法在旧设备上运" +"行。\n" +"[b]注意:[/b]其与 [Particles2D] 不同,可见性矩形是即时生成的,不需要用户配" +"置。" #: doc/classes/CPUParticles2D.xml msgid "" @@ -22782,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 "" @@ -22817,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." @@ -22989,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 "" @@ -22998,14 +23038,14 @@ 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 doc/classes/Curve3D.xml +#: doc/classes/Curve2D.xml msgid "" -"Adds a point to a curve at [code]position[/code], with control points " -"[code]in[/code] and [code]out[/code].\n" +"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" "If [code]at_position[/code] is given, the point is inserted before the point " "number [code]at_position[/code], moving that point (and every point after) " "after the inserted point. If [code]at_position[/code] is not given, or is an " @@ -23013,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 "" @@ -23216,6 +23256,25 @@ msgstr "" "它沿曲线保留了一个预先计算好的点缓存,以加快进一步的计算。" #: doc/classes/Curve3D.xml +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" +"If [code]at_position[/code] is given, the point is inserted before the point " +"number [code]at_position[/code], moving that point (and every point after) " +"after the inserted point. If [code]at_position[/code] is not given, or is an " +"illegal value ([code]at_position <0[/code] or [code]at_position >= [method " +"get_point_count][/code]), the point will be appended at the end of the point " +"list." +msgstr "" +"在曲线的 [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]),该点将被追加在点列" +"表的最后。" + +#: doc/classes/Curve3D.xml msgid "Returns the cache of points as a [PoolVector3Array]." msgstr "以 [PoolVector3Array] 的形式返回缓存的点。" @@ -24361,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 " @@ -24371,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" @@ -27988,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 中配置的邮箱和" @@ -28244,7 +28305,7 @@ msgid "" "Returns the fraction through the current physics tick we are at the time of " "rendering the frame. This can be used to implement fixed timestep " "interpolation." -msgstr "返回渲染框架时当前物理滴标记中的分数。这可用于实现固定的时间步插值。" +msgstr "返回渲染帧时当前物理周期中的分数。可用于实现固定的时间步插值。" #: doc/classes/Engine.xml msgid "" @@ -28385,8 +28446,8 @@ msgstr "" "可以让输入变得更加灵敏、也可以绕过碰撞隧道问题,但请记得这么做也会提升 CPU 的" "占用率。另请参阅 [member target_fps] 和 [member ProjectSettings.physics/" "common/physics_fps]。\n" -"[b]注意:[/b]每个渲染帧最多只能模拟 8 次物理迭代。如果为了追赶渲染,需要在每" -"个渲染帧中模拟多于 8 次物理迭代,游戏看上去会是降速的(即便在物理计算中始终使" +"[b]注意:[/b]每个渲染帧最多只能模拟 8 个物理周期。如果为了追赶渲染,需要在每" +"个渲染帧中模拟多于 8 个物理周期,游戏看上去会是降速的(即便在物理计算中始终使" "用 [code]delta[/code])。因此,建议不要将 [member Engine." "iterations_per_second] 设为大于 240 的值。否则,渲染帧率低于 30 FPS 时游戏就" "会低速运行。" @@ -28404,10 +28465,10 @@ msgid "" "solution, the physics jitter fix should be disabled by setting [member " "physics_jitter_fix] to [code]0[/code]." msgstr "" -"控制物理时钟与实时同步程度。如果是0或更少,时钟是同步的。这样的值建议用于网络" -"游戏,因为时钟的同步性很重要。较高的值会导致游戏中的时钟和真实时钟之间的偏差" -"较大,但可以平滑帧速率的抖动。默认值0.5对大多数人来说应该是良好的;超过2的值" -"可能导致游戏对掉帧的反应有明显的延迟,因此不推荐使用。\n" +"控制物理周期与实际时间的同步程度。如果小于等于 0,则周期是同步的。这样的值建" +"议用于网络游戏,因为时钟的同步性很重要。较高的值会导致游戏中的时钟和真实时钟" +"之间的偏差较大,但可以平滑帧速率的抖动。默认值0.5对大多数人来说应该是良好的;" +"超过2的值可能导致游戏对掉帧的反应有明显的延迟,因此不推荐使用。\n" "[b]注意:[/b]为了获得最佳效果,当使用自定义物理插值这种解决方案时,应通过将 " "[member physics_jitter_fix] 设置为 [code]0[/code] 来禁用物理抖动修复。" @@ -28448,8 +28509,8 @@ msgid "" "real life, whilst a value of 0.5 means the game moves at half the regular " "speed." msgstr "" -"控制游戏中的时钟与现实生活中的时钟的快慢。默认值为1.0。值为2.0意味着游戏的移" -"动速度是现实生活的两倍,而值为0.5意味着游戏的移动速度是常规速度的一半。" +"控制游戏中的时钟与现实生活中的时钟的快慢。默认值为 1.0。值为 2.0 意味着游戏的" +"移动速度是现实生活的两倍,而值为 0.5 意味着游戏的移动速度是常规速度的一半。" #: doc/classes/Environment.xml msgid "" @@ -28491,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”。这样可" "以提升移动设备上的性能,但同时会影响移动设备上的屏幕显示。" @@ -28870,6 +28931,18 @@ msgid "" "[member ProjectSettings.rendering/quality/depth/hdr]'s [code].mobile[/code] " "override." msgstr "" +"为 [code]true[/code] 时,启用发光效果。\n" +"[b]注意:[/b]仅在 [member ProjectSettings.rendering/quality/intended_usage/" +"framebuffer_allocation] 为 [b]3D[/b]([i]不是[/i] [b]3D Without Effects[/b])" +"时有效。在移动平台,[member ProjectSettings.rendering/quality/intended_usage/" +"framebuffer_allocation] 默认为 [b]3D Without Effects[/b],因此需要将 [code]." +"mobile[/code] 覆盖项改为 [b]3D[/b]。\n" +"[b]注意:[/b]在移动平台上使用 GLES3 时,因为性能原因默认禁用了 HDR 渲染。也就" +"是说发光效果只会在 [member glow_hdr_threshold] 低于 [code]1.0[/code] 或者 " +"[member glow_bloom] 大于 [code]0.0[/code] 时可见。也可以考虑将 [member " +"glow_intensity] 增加到 [code]1.5[/code]。如果想要让移动平台上的发光效果与桌面" +"平台一致(以牺牲性能为代价),可以启用 [member ProjectSettings.rendering/" +"quality/depth/hdr] 的 [code].mobile[/code] 覆盖项。" #: doc/classes/Environment.xml msgid "" @@ -28888,8 +28961,8 @@ msgid "" "doesn't support HDR), this needs to be below [code]1.0[/code] for glow to be " "visible. A value of [code]0.9[/code] works well in this case." msgstr "" -"HDR glow的下限。当使用GLES2渲染器(不支持HDR)时,需要低于[code]1.0[/code]才" -"能看到glow。在这种情况下,值[code]0.9[/code]的效果很好。" +"HDR 发光的下限。当使用(不支持 HDR 的)GLES2 渲染器时,需要低于 [code]1.0[/" +"code] 才能看到发光。在这种情况下,值 [code]0.9[/code] 的效果很好。" #: doc/classes/Environment.xml msgid "" @@ -28906,48 +28979,49 @@ msgstr "" msgid "" "The glow intensity. When using the GLES2 renderer, this should be increased " "to 1.5 to compensate for the lack of HDR rendering." -msgstr "发光强度。使用GLES2渲染器时,应将其增加到1.5以弥补HDR渲染的不足。" +msgstr "" +"发光强度。使用 GLES2 渲染器时,应将其增加到 1.5 以弥补 HDR 渲染的不足。" #: doc/classes/Environment.xml msgid "" "If [code]true[/code], the 1st level of glow is enabled. This is the most " "\"local\" level (least blurry)." msgstr "" -"如果为[code]true[/code],则启用第1级glow。这是最 \"局部 \"的级别(最不模" -"糊)。" +"如果为 [code]true[/code],则启用第 1 级发光。这是最“局部”的级别(最不模糊)。" #: doc/classes/Environment.xml msgid "If [code]true[/code], the 2th level of glow is enabled." -msgstr "如果为[code]true[/code],则启用第2级glow。" +msgstr "如果为 [code]true[/code],则启用第 2 级发光。" #: doc/classes/Environment.xml msgid "If [code]true[/code], the 3th level of glow is enabled." -msgstr "如果[code]true[/code],则启用第3几glow。" +msgstr "如果为 [code]true[/code],则启用第 3 级发光。" #: doc/classes/Environment.xml msgid "If [code]true[/code], the 4th level of glow is enabled." -msgstr "如果[code]true[/code],则启用第四级glow。" +msgstr "如果为 [code]true[/code],则启用第 4 级发光。" #: doc/classes/Environment.xml msgid "If [code]true[/code], the 5th level of glow is enabled." -msgstr "如果[code]true[/code],则启用第五级glow。" +msgstr "如果为 [code]true[/code],则启用第 5 级发光。" #: doc/classes/Environment.xml msgid "If [code]true[/code], the 6th level of glow is enabled." -msgstr "如果[code]true[/code],则启用第六级glow。" +msgstr "如果为 [code]true[/code],则启用第 6 级发光。" #: doc/classes/Environment.xml msgid "" "If [code]true[/code], the 7th level of glow is enabled. This is the most " "\"global\" level (blurriest)." msgstr "" -"如果[code]true[/code],则启用第七级glow。这是最 \"全局 \"的级别(最模糊)。" +"如果为 [code]true[/code],则启用第 7 级发光。这是最“全局”的级别(最模糊)。" #: doc/classes/Environment.xml msgid "" "The glow strength. When using the GLES2 renderer, this should be increased " "to 1.3 to compensate for the lack of HDR rendering." -msgstr "辉光强度。当使用GLES2渲染器时,应将其提高到1.3,以弥补HDR渲染的不足。" +msgstr "" +"辉光强度。当使用 GLES2 渲染器时,应将其提高到 1.3,以弥补 HDR 渲染的不足。" #: doc/classes/Environment.xml msgid "The depth tolerance for screen-space reflections." @@ -28960,8 +29034,9 @@ msgid "" "[ReflectionProbe]s, but are slower and can't reflect surfaces occluded by " "others." msgstr "" -"如果[code]true[/code],启用屏幕空间反射。屏幕空间反射比[GIProbe]或" -"[ReflectionProbe]的反射更精确,但速度较慢,而且不能反射被其他物体遮挡的表面。" +"如果为 [code]true[/code],则启用屏幕空间反射。屏幕空间反射比 [GIProbe] 或 " +"[ReflectionProbe] 的反射更精确,但速度较慢,而且不能反射被其他物体遮挡的表" +"面。" #: doc/classes/Environment.xml msgid "" @@ -28973,7 +29048,7 @@ msgstr "屏幕空间反射的淡入距离。影响从反射材质到屏幕空间 msgid "" "The fade-out distance for screen-space reflections. Affects the area from " "the screen-space reflection to the \"global\" reflection." -msgstr "屏幕空间反射的淡出距离。影响从屏幕空间反射到 \"全局 \"反射的区域。" +msgstr "屏幕空间反射的淡出距离。影响从屏幕空间反射到“全局”反射的区域。" #: doc/classes/Environment.xml msgid "" @@ -29001,14 +29076,14 @@ msgid "" "The screen-space ambient occlusion bias. This should be kept high enough to " "prevent \"smooth\" curves from being affected by ambient occlusion." msgstr "" -"屏幕空间的环境遮挡偏差。该值应保持在足够高的水平,以防止 \"平滑 \"曲线受到环" -"境遮挡的影响。" +"屏幕空间环境光遮蔽偏差。该值应保持在足够高的水平,以防止“平滑”曲线受到环境光" +"遮蔽的影响。" #: doc/classes/Environment.xml msgid "" "The screen-space ambient occlusion blur quality. See [enum SSAOBlur] for " "possible values." -msgstr "屏幕空间环境遮挡质量。可能的值请参阅[enum SSAOBlur]。" +msgstr "屏幕空间环境光遮蔽质量。可能的值请参阅 [enum SSAOBlur]。" #: doc/classes/Environment.xml msgid "The screen-space ambient occlusion color." @@ -29016,7 +29091,7 @@ msgstr "屏幕空间环境光遮蔽颜色。" #: doc/classes/Environment.xml msgid "The screen-space ambient occlusion edge sharpness." -msgstr "屏幕空间环境遮挡边缘锐度。" +msgstr "屏幕空间环境光遮蔽边缘锐度。" #: doc/classes/Environment.xml msgid "" @@ -29028,22 +29103,22 @@ msgid "" "a costly effect and should be disabled first when running into performance " "issues." msgstr "" -"如果[code]true[/code],启用屏幕空间环境遮挡效果。这将使物体的角落和空洞变暗," -"以模拟现实生活中环境光无法到达整个物体。这对于小型的动态物体来说效果很好,但" -"在大型静态物体上,烘焙的照明或环境遮挡纹理会更好地显示环境遮挡。这是一个昂贵" -"的效果,当遇到性能问题时,应该首先禁用。" +"如果[code]true[/code],启用屏幕空间环境光遮蔽效果。这将使物体的角落和空洞变" +"暗,以模拟现实生活中环境光无法到达整个物体。这对于小型的动态物体来说效果很" +"好,但在大型静态物体上,烘焙的照明或环境光遮蔽纹理会更好地显示环境光遮蔽。这" +"是一个昂贵的效果,当遇到性能问题时,应该首先禁用。" #: doc/classes/Environment.xml msgid "" "The primary screen-space ambient occlusion intensity. See also [member " "ssao_radius]." -msgstr "主要的屏幕空间环境遮挡强度。参阅[member ssao_radius]。" +msgstr "主要的屏幕空间环境光遮蔽强度。参阅[member ssao_radius]。" #: doc/classes/Environment.xml msgid "" "The secondary screen-space ambient occlusion intensity. See also [member " "ssao_radius2]." -msgstr "主要的屏幕空间环境光遮挡强度。参阅 [member ssao_radius]。" +msgstr "主要的屏幕空间环境光遮蔽强度。参阅 [member ssao_radius]。" #: doc/classes/Environment.xml msgid "" @@ -29052,21 +29127,21 @@ msgid "" "can't be seen in direct light. Values higher than [code]0[/code] will make " "the SSAO effect visible in direct light." msgstr "" -"直射光下的屏幕空间环境遮挡强度。在现实生活中,环境遮挡只适用于间接光,也就是" -"说在直射光下无法看到其效果。高于[code]0[/code]的数值将使SSAO效果在直射光下可" -"见。" +"直射光下的屏幕空间环境光遮蔽强度。在现实生活中,环境遮挡只适用于间接光,也就" +"是说在直射光下无法看到其效果。高于[code]0[/code]的数值将使SSAO效果在直射光下" +"可见。" #: doc/classes/Environment.xml msgid "" "The screen-space ambient occlusion quality. Higher qualities will make " "better use of small objects for ambient occlusion, but are slower." msgstr "" -"屏幕空间的环境遮蔽质量。更高的质量将更好地利用小物体进行环境遮蔽,但速度较" -"慢。" +"屏幕空间的环境光遮蔽质量。更高的质量将更好地利用小物体进行环境光遮蔽,但速度" +"较慢。" #: doc/classes/Environment.xml msgid "The primary screen-space ambient occlusion radius." -msgstr "主屏空间环境遮挡半径。" +msgstr "主屏空间环境光遮蔽半径。" #: doc/classes/Environment.xml msgid "" @@ -29075,8 +29150,8 @@ msgid "" "occlusion effect which can be used to improve the effect's appearance (at " "the cost of performance)." msgstr "" -"次要屏幕空间环境遮蔽半径。如果设置为高于[code]0[/code]的值,则启用次要屏幕空" -"间的环境遮蔽效果,可以用来改善效果表现,但以性能为代价。" +"次要屏幕空间环境光遮蔽半径。如果设置为高于[code]0[/code]的值,则启用次要屏幕" +"空间的环境光遮蔽效果,可以用来改善效果表现,但以性能为代价。" #: doc/classes/Environment.xml msgid "The default exposure used for tonemapping." @@ -29088,27 +29163,32 @@ msgid "" "HDR values to be suitable for rendering on a LDR display. (Godot doesn't " "support rendering on HDR displays yet.)" msgstr "" -"要使用的色调映射模式。色调映射是“转换” HDR值以适合在LDR显示器上呈现的过程。 " -"(Godot尚不支持在HDR显示器上进行渲染。)" +"要使用的色调映射模式。色调映射是“转换”HDR 值以适合在 LDR 显示器上呈现的过程。" +"(Godot 尚不支持在 HDR 显示器上进行渲染。)" #: doc/classes/Environment.xml msgid "" "The white reference value for tonemapping. Only effective if the [member " "tonemap_mode] isn't set to [constant TONE_MAPPER_LINEAR]." msgstr "" -"调色映射的白色参考值。只有当[member tonemap_mode]没有设置为[constant " -"TONE_MAPPER_LINEAR]时才有效。" +"调色映射的白色参考值。只有当 [member tonemap_mode] 没有设置为 [constant " +"TONE_MAPPER_LINEAR] 时才有效。" #: doc/classes/Environment.xml msgid "" -"Keeps on screen every pixel drawn in the background. This is the fastest " -"background mode, but it can only be safely used in fully-interior scenes (no " -"visible sky or sky reflections). If enabled in a scene where the background " -"is visible, \"ghost trail\" artifacts will be visible when moving the camera." +"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 " +"not be faster than clearing the background, and can be significantly slower, " +"particularly on mobile.\n" +"It can only be safely used in fully-interior scenes (no visible sky or sky " +"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 "" @@ -31165,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 @@ -31482,7 +31562,6 @@ msgstr "" "一个空的 [PoolIntArray]。" #: doc/classes/Geometry.xml -#, fuzzy msgid "" "Triangulates the polygon specified by the points in [code]polygon[/code]. " "Returns a [PoolIntArray] where each triangle consists of three consecutive " @@ -31495,7 +31574,8 @@ msgstr "" "对多边形 [code]polygon[/code] 中的点指定的多边形进行三角化。返回一个 " "[PoolIntArray],其中每个三角形由 [code]polygon[/code] 中三个连续的点索引组成" "(即返回的数组将有 [code]n * 3[/code] 个元素,[code]n[/code] 是找到的三角形的" -"数量)。如果三角化没有成功,将返回一个空的 [PoolIntArray]。" +"数量)。输出的三角始终是逆时针的,如果为顺时针则会将轮廓翻转。如果三角化没有" +"成功,将返回一个空的 [PoolIntArray]。" #: doc/classes/Geometry.xml msgid "" @@ -31803,7 +31883,6 @@ msgid "GI probes" msgstr "GI 探针" #: doc/classes/GIProbe.xml -#, fuzzy msgid "" "Bakes the effect from all [GeometryInstance]s marked with [member " "GeometryInstance.use_in_baked_light] and [Light]s marked with either " @@ -31829,9 +31908,12 @@ msgstr "" "[code]true[/code],在烘焙光线后,这将生成一个[MultiMesh],其中有一个立方体代" "表每个实体单元,每个立方体的颜色与该单元的反照率颜色一致。这可以用来可视化 " "[GIProbe] 的数据,以调试任何可能发生的问题。\n" -"[b]注意:[/b] [method bake] 在编辑器和导出后的项目中都是有效的。因此适用于程" -"序化生成或者用户构建的关卡。在多数场景中,烘焙 [GIProbe] 通常需要花费 5 到 " -"20 秒。减少 [member subdiv] 可以加速烘焙。" +"[b]注意:[/b][method bake] 在编辑器和导出后的项目中都是有效的。因此适用于程序" +"化生成或者用户构建的关卡。在多数场景中,烘焙 [GIProbe] 通常需要花费 5 到 20 " +"秒。减少 [member subdiv] 可以加速烘焙。\n" +"[b]注意:[/b]调用 [method bake] 前 [GeometryInstance] 和 [Light] 必须完全就" +"绪。如果这些是使用程序创建的,并且烘焙后的 [GIProbe] 中缺少某些网格和灯光,请" +"使用 [code]call_deferred(\"bake\")[/code],不要直接调用 [method bake]。" #: doc/classes/GIProbe.xml msgid "Calls [method bake] with [code]create_visual_debug[/code] enabled." @@ -32588,8 +32670,8 @@ msgid "" "allowing connections between GraphNodes. Slots can have different, " "incompatible types." msgstr "" -"图形节点GraphNode是一个允许多个图形节点GraphNode之间连接的输入和输出槽容器。" -"槽位可以有不同的、不兼容的类型。" +"GraphNode 是一种可能包含若干输入输出槽的容器,GraphNode 之间能够通过槽位相" +"连。槽位的类型可以互不相同、互不兼容。" #: doc/classes/GraphNode.xml msgid "" @@ -32610,59 +32692,58 @@ msgid "" "are on the right side of GraphNode. Only enabled slots are counted as " "connections." msgstr "" -"图形节点GraphNode是一个容器。每个图形节点GraphNode可以有几个输入和输出槽,有" -"时被称为端口,允许图形节点GraphNode之间的连接。要在图形节点GraphNode上添加一" -"个槽,需要向它添加任何控件[Control]派生的子节点。\n" -"在为图形节点GraphNode添加至少一个子节点后,将在检查器中自动创建名为 \"插槽" -"Slot \"的新部分。当 \"插槽\"被展开时,你会看到带有每个槽索引号的列表。你可以" -"点击它们来进一步展开。\n" +"GraphNode 是一种容器。每个 GraphNode 都可以有若干个输入和输出槽,有时被称为端" +"口,能够让 GraphNode 之间相连。向 GraphNode 添加任何派生自 [Control] 的子节点" +"后,才能添加槽位。\n" +"在为 GraphNode 添加至少一个子节点后,将在检查器中自动创建名为“Slot”的新部分。" +"展开“Slot”后,你会看到带有每个槽索引号的列表。你可以点击它们来进一步展开。\n" "在检查器中,你可以启用(显示)或禁用(隐藏)插槽。默认情况下,所有槽都是禁用" -"的,所以你最初可能看不到图形节点GraphNode上的任何槽。你可以给每个插槽指定一个" -"类型。只有相同类型的插槽才能够相互连接。你还可以给插槽指定颜色。为图形节点" -"GraphNode中的每个GUI元素定义了一个输入和输出槽的元组。输入连接在图形节点" -"GraphNode的左边,输出连接在右边。只有启用的插槽才被算作连接。" +"的,所以你最初可能看不到 GraphNode 上的任何槽。你可以给每个插槽指定一个类型。" +"只有相同类型的插槽才能够相互连接。你还可以给插槽指定颜色。为 GraphNode 中的每" +"个 GUI 元素定义了一个输入和输出槽的元组。输入连接在 GraphNode 的左边,输出连" +"接在右边。只有启用的插槽才被算作连接。" #: doc/classes/GraphNode.xml msgid "Disables all input and output slots of the GraphNode." -msgstr "禁用GraphNode的所有输入和输出槽。" +msgstr "禁用 GraphNode 的所有输入和输出槽。" #: doc/classes/GraphNode.xml msgid "Disables input and output slot whose index is [code]idx[/code]." -msgstr "禁用索引为[code]idx[/code]的输入和输出槽。" +msgstr "禁用索引为 [code]idx[/code] 的输入和输出槽。" #: doc/classes/GraphNode.xml msgid "Returns the [Color] of the input connection [code]idx[/code]." -msgstr "返回输入连接[code]idx[/code]的颜色[Color]。" +msgstr "返回输入连接 [code]idx[/code] 的颜色 [Color]。" #: doc/classes/GraphNode.xml msgid "" "Returns the number of enabled input slots (connections) to the GraphNode." -msgstr "返回图形节点GraphNode的启用输入槽(连接)的数量。" +msgstr "返回 GraphNode 的启用输入槽(连接)的数量。" #: doc/classes/GraphNode.xml msgid "Returns the position of the input connection [code]idx[/code]." -msgstr "返回输入连接[code]idx[/code]的位置。" +msgstr "返回输入连接 [code]idx[/code] 的位置。" #: doc/classes/GraphNode.xml msgid "Returns the type of the input connection [code]idx[/code]." -msgstr "返回输入连接的类型[code]idx[/code]。" +msgstr "返回输入连接的类型 [code]idx[/code]。" #: doc/classes/GraphNode.xml msgid "Returns the [Color] of the output connection [code]idx[/code]." -msgstr "返回输出连接[code]idx[/code]的颜色[Color]。" +msgstr "返回输出连接 [code]idx[/code] 的颜色 [Color]。" #: doc/classes/GraphNode.xml msgid "" "Returns the number of enabled output slots (connections) of the GraphNode." -msgstr "返回图形节点GraphNode的启用输出槽(连接)的数量。" +msgstr "返回 GraphNode 的启用输出槽(连接)的数量。" #: doc/classes/GraphNode.xml msgid "Returns the position of the output connection [code]idx[/code]." -msgstr "返回输出连接[code]idx[/code]的位置。" +msgstr "返回输出连接 [code]idx[/code] 的位置。" #: doc/classes/GraphNode.xml msgid "Returns the type of the output connection [code]idx[/code]." -msgstr "返回输出连接的类型[code]idx[/code]。" +msgstr "返回输出连接的类型 [code]idx[/code]。" #: doc/classes/GraphNode.xml msgid "Returns the left (input) [Color] of the slot [code]idx[/code]." @@ -32923,23 +33004,23 @@ msgstr "当[member comment]被启用,且[GraphNode]获得焦点时使用的[St #: doc/classes/GraphNode.xml msgid "The default background for [GraphNode]." -msgstr "[GraphNode]的默认背景。" +msgstr "[GraphNode] 的默认背景。" #: doc/classes/GraphNode.xml msgid "" "The background used when [member overlay] is set to [constant " "OVERLAY_POSITION]." -msgstr "当[member overlay]设置为[constant OVERLAY_POSITION]时使用的背景。" +msgstr "当 [member overlay] 设置为 [constant OVERLAY_POSITION] 时使用的背景。" #: doc/classes/GraphNode.xml msgid "The background used when the [GraphNode] is selected." -msgstr "[GraphNode]被选中时使用的背景。" +msgstr "[GraphNode] 被选中时使用的背景。" #: doc/classes/GridContainer.xml msgid "" "Grid container used to arrange Control-derived children in a grid like " "layout." -msgstr "网格容器,用于在类似网格的布局中排列Control派生的子项。" +msgstr "网格容器,用于将派生自 Control 的子节点按照类似网格的形式排列。" #: doc/classes/GridContainer.xml msgid "" @@ -32954,20 +33035,20 @@ msgid "" "[b]Note:[/b] GridContainer only works with child nodes inheriting from " "Control. It won't rearrange child nodes inheriting from Node2D." msgstr "" -"GridContainer将把它的Control派生的子级排布在一个类似网格的结构中,网格列是" -"[member columns]属性指定,行的数量等于容器中子级的数量除以列的数量。例如,如" -"果容器有5个子级,2个列,容器中就会有3行。\n" +"GridContainer 将把它的 Control 派生的子节点排布在一个类似网格的结构中,网格的" +"列数由 [member columns] 属性指定,行数等于容器中子节点的数量除以列数。例如," +"如果容器有 5 个子节点、2 列,那么容器中就会有 3 行。\n" "请注意,网格布局将保留每个大小的容器的列和行,并且空列将自动扩展。\n" -"[b]注意:[/b] GridContainer只对继承自Control的子节点生效。它不会重新排列继承" -"自Node2D的子节点。" +"[b]注意:[/b]GridContainer 只对继承自 Control 的子节点生效。它不会重新排列继" +"承自 Node2D 的子节点。" #: doc/classes/GridContainer.xml msgid "" "The number of columns in the [GridContainer]. If modified, [GridContainer] " "reorders its Control-derived children to accommodate the new layout." msgstr "" -"在[GridContainer]中的列的数量。如果修改,[GridContainer]会重新排列其Control派" -"生的子代,以适应新的布局。" +"[GridContainer] 中的列数。修改后,[GridContainer] 会重新排列其派生自 Control " +"的子节点,以适应新的布局。" #: doc/classes/GridContainer.xml doc/classes/HFlowContainer.xml #: doc/classes/VFlowContainer.xml @@ -33335,15 +33416,15 @@ msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Depth of the height map data. Changing this will resize the [member " -"map_data]." -msgstr "高度图数据的深度。更改此设置将调整 [member map_data] 的大小。" +"Number of vertices in the depth of the height map. Changing this will resize " +"the [member map_data]." +msgstr "高度图深度的顶点数。更改此设置将调整 [member map_data] 的大小。" #: doc/classes/HeightMapShape.xml msgid "" -"Width of the height map data. Changing this will resize the [member " -"map_data]." -msgstr "高度图数据的宽度。更改此设置将调整 [member map_data] 的大小。" +"Number of vertices in the width of the height map. Changing this will resize " +"the [member map_data]." +msgstr "高度图宽度的顶点数。更改此设置将调整 [member map_data] 的大小。" #: doc/classes/HFlowContainer.xml msgid "Horizontal flow container." @@ -33672,7 +33753,7 @@ msgstr "抓取器获得焦点时的材质。" msgid "" "The texture for the ticks, visible when [member Slider.tick_count] is " "greater than 0." -msgstr "刻度的纹理。当[member Slider.tick_count]大于0时可见。" +msgstr "刻度的纹理。当 [member Slider.tick_count] 大于 0 时可见。" #: doc/classes/HSlider.xml msgid "The background of the area to the left of the grabber." @@ -36272,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" @@ -36287,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。如果动作被映射到一个没有轴作为键盘的" @@ -36456,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 " @@ -36482,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" @@ -36497,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 " @@ -36961,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" @@ -36975,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]和" @@ -36988,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 " @@ -37012,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" @@ -37057,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] 或 " @@ -37717,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]没有被按下,这个方法会忽略键盘(为了正确地检测释放)。如果你不想" @@ -39787,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." @@ -39830,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 "" @@ -39865,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 "" @@ -40120,6 +40213,10 @@ msgid "" "[b]Note:[/b] Contact shadows can look broken, so leaving this property to " "[code]0.0[/code] is recommended." msgstr "" +"通过渲染屏幕空间的接触阴影,尝试减小 [member shadow_bias] 带来的空隙。会影响" +"性能,尤其是取值较高时。\n" +"[b]注意:[/b]接触阴影可能会破坏视觉效果,所以建议将这个属性保持为 [code]0.0[/" +"code]。" #: doc/classes/Light.xml msgid "If [code]true[/code], the light will cast shadows." @@ -40544,6 +40641,10 @@ msgid "" "width]. For thin lines, this value should be reduced to a number between " "[code]2[/code] and [code]4[/code] to improve performance." msgstr "" +"连接点及端点的圆角平滑度。取值越高,边角越平滑,不过渲染和更新的消耗也越大。" +"只会在端点或连接点被设为圆角时使用。\n" +"[b]注意:[/b]默认值针对的是使用默认 [member width] 的线条。针对更细的线条,应" +"该将这个值减小到 [code]2[/code] 和 [code]4[/code] 之间,提升性能。" #: doc/classes/Line2D.xml msgid "" @@ -40564,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 "" @@ -40613,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 "" @@ -40783,13 +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 +msgid "" +"If [code]true[/code], the selected text will be deselected when focus is " +"lost." +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 "" @@ -40797,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 "" @@ -40837,6 +40945,15 @@ msgstr "" "# `text_change_rejected` is emitted with \"bye\" as parameter.\n" "[/codeblock]" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +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]false[/code],将禁用鼠标中键粘贴剪贴板。\n" +"[b]注意:[/b]这个方法只在 Linux 上实现。" + #: doc/classes/LineEdit.xml msgid "" "Opacity of the [member placeholder_text]. From [code]0[/code] to [code]1[/" @@ -41602,7 +41719,7 @@ msgid "" "Returns a decoded string corresponding to the Base64-encoded string " "[code]base64_str[/code]." msgstr "" -"返回一个与Base64编码的字符串[code]base64_str[/code]相对应的解码字符串。" +"返回与 Base64 编码的字符串 [code]base64_str[/code] 相对应的解码字符串。" #: doc/classes/Marshalls.xml msgid "" @@ -41633,13 +41750,13 @@ msgid "" "[code]full_objects[/code] is [code]true[/code], encoding objects is allowed " "(and can potentially include code)." msgstr "" -"返回一个Base64编码的[Variant][code]variant[/code]的字符串。如果" -"[code]full_objects[/code]是[code]true[/code],允许对对象进行编码(有可能包括" -"代码)。" +"返回经过 Base64 编码的 [Variant] [code]variant[/code] 的字符串。如果 " +"[code]full_objects[/code] 为 [code]true[/code],则允许将对象进行编码(有可能" +"包括代码)。" #: doc/classes/Material.xml msgid "Abstract base [Resource] for coloring and shading geometry." -msgstr "用于为几何体上色(Coloring)和着色(Shading)的[Resource]抽象子类。" +msgstr "用于为几何体上色(Coloring)和着色(Shading)的 [Resource] 抽象基类。" #: doc/classes/Material.xml msgid "" @@ -41648,9 +41765,9 @@ msgid "" "carry a Material. A few flags and parameters are shared between all material " "types and are configured here." msgstr "" -"材质是基本[Resource],用于几何体着色器和上色。所有的材质都继承自它,几乎所有" -"的[VisualInstance]派生节点都带有材质。有几个标志和参数在所有材质类型之间是共" -"享的,并在这里进行配置。" +"Material 是用于为几何体上色和着色的 [Resource] 基类。所有的材质都继承自它,几" +"乎所有的 [VisualInstance] 派生节点都带有材质。有几个标志和参数在所有材质类型" +"之间是共享的,并在这里进行配置。" #: doc/classes/Material.xml msgid "" @@ -42414,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]。" @@ -42763,6 +42913,9 @@ msgid "" "used when initially placing an instance such as a bullet to prevent " "graphical glitches." msgstr "" +"使用[i]物理插值[/i]时,这个函数可以让你在当前物理周期中阻止实例的插值。\n" +"这样你就可以对实例进行即时移动,对子弹等实例进行初始定位时应该使用这个函数," +"可以防止图像问题。" #: doc/classes/MultiMesh.xml msgid "" @@ -42795,6 +42948,12 @@ msgid "" "When the order of instances is coherent, the simpler [method MultiMesh." "set_as_bulk_array] can still be used with interpolation." msgstr "" +"[method MultiMesh.set_as_bulk_array] 的备选版本,可用于[i]物理插值[/i]。这个" +"方法接受两个数组,能够一次性设置当前周期和上一周期的数据。渲染器会自动在每一" +"帧进行插值。\n" +"可用于实例的顺序每个物理周期都会发生变化的情况,例如粒子系统。\n" +"如果实例的顺序是连贯的,仍旧可以使用更简单的 [method MultiMesh." +"set_as_bulk_array] 也可以进行插值。" #: doc/classes/MultiMesh.xml msgid "" @@ -42856,6 +43015,11 @@ msgid "" "special cases mentioned above, the quality should be comparable to high " "quality." msgstr "" +"选择所使用的插值方法倾向于速度还是质量。\n" +"使用较低的物理周期率(一般低于 20)或较高的对象旋转率时,使用高质量设置可能带" +"来更好的效果。\n" +"[b]注意:[/b]快速并不意味着低质。除了上面提到的特殊情况外,质量应该与高质量选" +"项相当。" #: doc/classes/MultiMesh.xml msgid "Format of transform used to transform mesh, either 2D or 3D." @@ -42923,13 +43087,13 @@ msgstr "" msgid "" "Always interpolate using Basis lerping, which can produce warping artifacts " "in some situations." -msgstr "" +msgstr "总是使用 Basis 线性插值,某些情况下可能造成变形问题。" #: doc/classes/MultiMesh.xml msgid "" "Attempt to interpolate using Basis slerping (spherical linear interpolation) " "where possible, otherwise fall back to lerping." -msgstr "" +msgstr "尽可能尝试使用 Basis 球面线性插值,否则使用线性插值。" #: doc/classes/MultiMeshInstance.xml msgid "Node that instances a [MultiMesh]." @@ -45450,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 " @@ -45468,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 "" "添加子节点。节点可以有任意数量的子节点,但是每个子节点必须有唯一的名字。当父" "节点被删除时,子节点会被自动删除,所以整个场景可以通过删除其最上面的节点而被" @@ -45888,6 +46053,10 @@ msgid "" "[b]and[/b] physics interpolation is enabled within the [SceneTree]. This can " "be tested using [method is_physics_interpolated_and_enabled]." msgstr "" +"如果这个 Node 设置了物理插值标志,则返回 [code]true[/code](见 [method " +"set_physics_interpolated])。\n" +"[b]注意:[/b]只有在设置了标志[b]并且[/b]该 [SceneTree] 启用了物理插值时,才会" +"启用插值。可以使用 [method is_physics_interpolated_and_enabled] 进行检查。" #: doc/classes/Node.xml msgid "" @@ -45898,6 +46067,12 @@ msgid "" "See [member SceneTree.physics_interpolation] and [member ProjectSettings." "physics/common/physics_interpolation]." msgstr "" +"如果启用了物理插值(见 [method set_physics_interpolated])[b]并且[/b]该 " +"[SceneTree] 也启用了物理插值,则返回 [code]true[/code]。\n" +"这是 [method is_physics_interpolated] 的简便版本,还会检查是否全局启用了物理" +"插值。\n" +"见 [member SceneTree.physics_interpolation] 和 [member ProjectSettings." +"physics/common/physics_interpolation]。" #: doc/classes/Node.xml msgid "" @@ -45966,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 "" @@ -45984,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" @@ -46010,8 +46185,8 @@ msgid "" " ┖╴Camera2D\n" "[/codeblock]" msgstr "" -"类似于[method print_tree],它将树打印到标准输出。这个版本显示更多的图形,类似" -"于在场景检查器中显示的内容。它对于检查较大的树很有用。\n" +"类似于 [method print_tree],它将树打印到标准输出。这个版本显示更多的图形,类" +"似于在场景检查器中显示的内容。它对于检查较大的树很有用。\n" "[b]输出示例:[/b]\n" "[codeblock]\n" " ┖╴TheGame\n" @@ -46041,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 @@ -46057,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 "" @@ -46149,6 +46325,13 @@ msgid "" "[b]Note:[/b] This function should be called [b]after[/b] moving the node, " "rather than before." msgstr "" +"启用物理插值时,将节点移动到显著不同的变换(例如在关卡中进行放置)可能造成可" +"见的问题,因为渲染出的效果就是在该物理周期内从旧位置移动到了新位置。\n" +"这个问题可以通过调用 [code]reset_physics_interpolation[/code] 解决,会在该物" +"理周期完成前暂时关闭插值。\n" +"该节点及其子项会递归地接收到 [constant " +"NOTIFICATION_RESET_PHYSICS_INTERPOLATION]。\n" +"[b]注意:[/b]这个函数应该在移动节点[b]之后[/b]调用,而不是之前。" #: doc/classes/Node.xml msgid "" @@ -46295,6 +46478,8 @@ msgid "" "[b]Note:[/b] This can be especially useful for [Camera]s, where custom " "interpolation can sometimes give superior results." msgstr "" +"启用或禁用该节点的物理插值,可以在开关全局物理插值的基础上进行微调。\n" +"[b]注意:[/b]对 [Camera] 尤其有用,自定义插值有时会带来更好的效果。" #: doc/classes/Node.xml msgid "" @@ -46451,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." @@ -46612,11 +46821,12 @@ msgstr "" "同,它每次节点进入树时都会发送,而不是只发送一次。" #: doc/classes/Node.xml -#, fuzzy msgid "" "Notification received when [method reset_physics_interpolation] is called on " "the node or parent nodes." -msgstr "在父节点中移动节点时收到该通知。" +msgstr "" +"在该节点或其父节点上调用 [method reset_physics_interpolation] 时会收到该通" +"知。" #: doc/classes/Node.xml msgid "" @@ -47200,9 +47410,9 @@ msgstr "" "[b]注意:[/b]与对 [Reference] 的引用不同,对存储在变量中的对象的引用可能会在" "没有警告的情况下变得无效。因此,建议对数据类使用 [Reference] 而不是 " "[Object]。\n" -"[b]注意:[/b]由于一个 bug,你无法使用 [code]Object.new()[/code] 创建“普通” " -"Object 对象。请换用 [code]ClassDB.instance(\"Object\")[/code]。这个 bug 仅限" -"于 Object 本身,[Reference] 等派生类不受影响。" +"[b]注意:[/b]由于一个 bug,你无法使用 [code]Object.new()[/code] 创建“普" +"通”Object 对象。请换用 [code]ClassDB.instance(\"Object\")[/code]。这个 bug 仅" +"限于 Object 本身,[Reference] 等派生类不受影响。" #: doc/classes/Object.xml doc/classes/Reference.xml doc/classes/Resource.xml msgid "When and how to avoid using nodes for everything" @@ -47241,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 "" @@ -47534,9 +47750,9 @@ msgid "" "This ID can be saved in [EncodedObjectAsID], and can be used to retrieve the " "object instance with [method @GDScript.instance_from_id]." msgstr "" -"返回对象的唯一实例ID。\n" -"这个ID可以保存在[EncodedObjectAsID]中,并且可以用[method @GDScript." -"instance_from_id]来检索对象实例。" +"返回该对象的唯一实例 ID。\n" +"这个 ID 可以保存在 [EncodedObjectAsID] 中,并且可以用 [method @GDScript." +"instance_from_id] 来检索对象实例。" #: doc/classes/Object.xml msgid "Returns the object's metadata entry for the given [code]name[/code]." @@ -47569,11 +47785,11 @@ msgstr "" msgid "" "Returns the object's [Script] instance, or [code]null[/code] if none is " "assigned." -msgstr "返回该对象的[Script]实例,如果没有指定,则返回[code]null[/code]。" +msgstr "返回该对象的 [Script] 实例,如果没有指定,则返回 [code]null[/code]。" #: doc/classes/Object.xml msgid "Returns an [Array] of connections for the given [code]signal[/code]." -msgstr "返回给定[code]signal[/code]的连接的[Array]。" +msgstr "返回给定信号 [code]signal[/code] 的连接的 [Array]。" #: doc/classes/Object.xml msgid "Returns the list of signals as an [Array] of dictionaries." @@ -47584,17 +47800,18 @@ msgid "" "Returns [code]true[/code] if a metadata entry is found with the given " "[code]name[/code]." msgstr "" -"如果找到一个具有给定[code]name[/code]的元数据条目,则返回[code]true[/code]。" +"如果能够找到具有给定名称 [code]name[/code] 的元数据条目,则返回 [code]true[/" +"code]。" #: doc/classes/Object.xml msgid "" "Returns [code]true[/code] if the object contains the given [code]method[/" "code]." -msgstr "如果对象包含给定的[code]method[/code],返回[code]true[/code]。" +msgstr "如果对象包含给定的方法 [code]method[/code],则返回 [code]true[/code]。" #: doc/classes/Object.xml msgid "Returns [code]true[/code] if the given [code]signal[/code] exists." -msgstr "如果给定的[code]signal[/code]存在,返回[code]true[/code]。" +msgstr "如果给定的信号 [code]signal[/code] 存在,则返回 [code]true[/code]。" #: doc/classes/Object.xml msgid "" @@ -47602,12 +47819,12 @@ msgid "" "exists. Only signals added using [method add_user_signal] are taken into " "account." msgstr "" -"如果给定的用户定义的[code]signal[/code]存在,返回[code]true[/code]。只有使用" -"[method add_user_signal]添加的信号才被考虑在内。" +"如果给定的用户定义的信号 [code]signal[/code] 存在,则返回 [code]true[/code]。" +"只有使用 [method add_user_signal] 添加的信号才被考虑在内。" #: doc/classes/Object.xml msgid "Returns [code]true[/code] if signal emission blocking is enabled." -msgstr "如果启用了信号发射阻断,则返回[code]true[/code]。" +msgstr "如果启用了信号发射阻断,则返回 [code]true[/code]。" #: doc/classes/Object.xml msgid "" @@ -47628,15 +47845,15 @@ msgid "" "Returns [code]true[/code] if a connection exists for a given [code]signal[/" "code], [code]target[/code], and [code]method[/code]." msgstr "" -"如果给定 [code]信号[/code]、[code]目标[/code] 和 [code]方法[/code] 存在连接," -"则返回 [code]true[/code]。" +"如果给定的信号 [code]signal[/code]、目标 [code]target[/code]、方法 " +"[code]method[/code] 存在连接,则返回 [code]true[/code]。" #: doc/classes/Object.xml msgid "" "Returns [code]true[/code] if the [method Node.queue_free] method was called " "for the object." msgstr "" -"如果为该对象调用了[method Node.queue_free]方法,返回[code]true[/code]。" +"如果为该对象调用了 [method Node.queue_free] 方法,则返回 [code]true[/code]。" #: doc/classes/Object.xml msgid "" @@ -47649,12 +47866,12 @@ msgid "" "_notification] is called first on the highest ancestor ([Object] itself), " "and then down to its successive inheriting classes." msgstr "" -"向对象发送一个给定的通知,这也将触发对该对象继承的所有类的[method " -"_notification]方法的调用。\n" -"如果[code]reversed[/code]是[code]true[/code],[method _notification]首先在对" -"象自己的类上被调用,然后再到其连续的父类上。如果[code]reversed[/code]是" -"[code]false[/code],[method _notification]首先在最高的祖先([Object]本身)上" -"被调用,然后向下到其连续的继承类。" +"向对象发送给定的通知,这也将触发对该对象继承的所有类的 [method " +"_notification] 方法的调用。\n" +"如果 [code]reversed[/code] 是 [code]true[/code],[method _notification] 首先" +"在对象自己的类上被调用,然后再到其连续的父类上。如果 [code]reversed[/code] " +"是 [code]false[/code],[method _notification] 首先在最高的祖先([Object] 本" +"身)上被调用,然后向下到其后续的继承类。" #: doc/classes/Object.xml msgid "" @@ -47716,8 +47933,8 @@ msgid "" "print(position) # (42, -10)\n" "[/codeblock]" msgstr "" -"为[NodePath]标识的属性分配一个新值。节点路径应该相对于当前对象,可以使用冒号" -"([code]:[/code])访问嵌套属性。举例如下:\n" +"为 [NodePath] 标识的属性分配新值。节点路径应该相对于当前对象,可以使用冒号" +"([code]:[/code])访问嵌套属性。示例:\n" "[codeblock]\n" "set_indexed(\"position\", Vector2(42, 0))\n" "set_indexed(\"position:y\", -10)\n" @@ -47764,7 +47981,7 @@ msgid "" "Override the method [method _to_string] to customize the [String] " "representation." msgstr "" -"返回一个表示对象的 [String]。如果没有覆盖,默认为 [code]\"[ClassName:RID]\"[/" +"返回表示对象的 [String]。如果没有覆盖,默认为 [code]\"[ClassName:RID]\"[/" "code]。\n" "可以通过重写 [method _to_string] 方法来自定义 [String] 表示。" @@ -47797,16 +48014,15 @@ msgid "" "Connects a signal in deferred mode. This way, signal emissions are stored in " "a queue, then set on idle time." msgstr "" -"在延迟模式下连接一个信号。这样,信号发射被储存在一个队列中,然后在空闲时间发" -"出。" +"以延迟模式连接信号。这样,信号发射会被储存在一个队列中,然后在空闲时间发出。" #: doc/classes/Object.xml msgid "Persisting connections are saved when the object is serialized to file." -msgstr "当对象序列化为文件时,将保存持久连接。" +msgstr "持久化连接,会在该对象序列化为文件时保存。" #: doc/classes/Object.xml msgid "One-shot connections disconnect themselves after emission." -msgstr "信号触发后断开一次性连接。" +msgstr "一次性连接,会在触发后自行断开。" #: doc/classes/Object.xml msgid "" @@ -47814,8 +48030,8 @@ msgid "" "connected several times to the same target, and will only be fully " "disconnected once no references are left." msgstr "" -"连接一个信号作为引用计数。这意味着一个给定的信号可以多次连接到同一个目标,并" -"且只有在没有引用时才会完全断开连接。" +"以引用计数形式连接信号。这意味着一个给定的信号可以多次连接到同一个目标,并且" +"只有在没有引用时才会完全断开连接。" #: doc/classes/Occluder.xml msgid "Allows [OccluderShape]s to be used for occlusion culling." @@ -47959,11 +48175,10 @@ msgid "Allows changing the polygon geometry from code." msgstr "允许通过代码修改多边形形状。" #: doc/classes/OccluderShapePolygon.xml -#, fuzzy msgid "" "Specifies whether the occluder should operate from both sides. If " "[code]false[/code], the occluder will operate one way only." -msgstr "指定该遮挡器是应该为单向还是双向。" +msgstr "指定该遮挡器是否为双向。为 [code]false[/code] 时,遮挡器为单向。" #: doc/classes/OccluderShapeSphere.xml msgid "Spherical occlusion primitive for use with the [Occluder] node." @@ -48274,7 +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 +msgid "Returns the tooltip of the item at index [code]idx[/code]." +msgstr "返回索引 [code]idx[/code] 处项目的工具提示。" #: doc/classes/OptionButton.xml msgid "" @@ -48332,7 +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 +msgid "Sets the tooltip of the item at index [code]idx[/code]." +msgstr "设置在索引 [code]idx[/code] 处的项目的工具提示。" #: doc/classes/OptionButton.xml msgid "" @@ -48433,7 +48656,7 @@ msgid "" "driver, date and time, timers, environment variables, execution of binaries, " "command line, etc." msgstr "" -"操作系统的功能。OS包装了与主机操作系统通信的最常见功能,如剪贴板、视频驱动程" +"操作系统的功能。OS 包装了与主机操作系统通信的最常见功能,如剪贴板、视频驱动程" "序、日期和时间、计时器、环境变量、二进制文件的执行、命令行等。" #: doc/classes/OS.xml @@ -49019,6 +49242,8 @@ msgid "" "machine. On CPUs with HyperThreading enabled, this number will be greater " "than the number of [i]physical[/i] CPU cores." msgstr "" +"返回主机的[i]逻辑[/i] CPU 核心数。对于启用了超线程的 CPU,这个数会比[i]物理[/" +"i] CPU 核心数大。" #: doc/classes/OS.xml msgid "" @@ -49028,6 +49253,9 @@ msgid "" "iOS. On Android, HTML5 and UWP, [method get_processor_name] returns an empty " "string." msgstr "" +"返回主机的 CPU 型号名称(例如“Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz”)。\n" +"[b]注意:[/b]这个方法仅在 Windows、macOS、Linux 和 iOS 上实现。在 Android、" +"HTML5 和 UWP 上,[method get_processor_name] 返回的是空字符串。" #: doc/classes/OS.xml msgid "Returns the window size including decorations like window borders." @@ -49047,7 +49275,7 @@ msgstr "" #: doc/classes/OS.xml msgid "Returns the number of displays attached to the host machine." -msgstr "返回连接到宿主机的显示器数量。" +msgstr "返回连接到主机的显示器数量。" #: doc/classes/OS.xml msgid "" @@ -49108,6 +49336,34 @@ msgstr "" #: doc/classes/OS.xml msgid "" +"Returns the current refresh rate of the specified screen. If [code]screen[/" +"code] is [code]-1[/code] (the default value), the current screen will be " +"used.\n" +"[b]Note:[/b] Returns [code]-1.0[/code] if Godot fails to find the refresh " +"rate for the specified screen. On HTML5, [method get_screen_refresh_rate] " +"will always return [code]-1.0[/code] as there is no way to retrieve the " +"refresh rate on that platform.\n" +"To fallback to a default refresh rate if the method fails, try:\n" +"[codeblock]\n" +"var refresh_rate = OS.get_screen_refresh_rate()\n" +"if refresh_rate < 0:\n" +" 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 "" "Return the scale factor of the specified screen by index. If [code]screen[/" "code] is [code]-1[/code] (the default value), the current screen will be " "used.\n" @@ -49847,7 +50103,7 @@ msgstr "" #: doc/classes/OS.xml msgid "The clipboard from the host OS. Might be unavailable on some platforms." -msgstr "宿主操作系统的剪贴板。在某些平台上可能不可用。" +msgstr "主机操作系统的剪贴板。在某些平台上可能不可用。" #: doc/classes/OS.xml msgid "The current screen index (starting from 0)." @@ -53827,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)." @@ -56518,7 +56780,7 @@ msgstr "项目的描述,在项目管理器中悬停时显示为工具提示。 msgid "" "Icon used for the project, set when project loads. Exporters will also use " "this icon when possible." -msgstr "用于项目的图标,在项目加载时设置。导出时也将尽可能使用此图标。" +msgstr "项目所使用的图标,在项目加载时设置。导出时也将尽可能使用此图标。" #: doc/classes/ProjectSettings.xml msgid "" @@ -56790,9 +57052,9 @@ msgstr "" "指定偏好的音频输出延迟,单位为毫秒。值越低,音频延迟越小,代价是 CPU 占用率会" "更高。在较慢的硬件上,使用较低的值可能产生爆裂声。\n" "音频输出延迟可能受到宿主的操作系统和音频硬件驱动的限制。如果宿主无法提供指定" -"的音频输出延迟,Godot 会尝试使用宿主所允许范围内与其最接近的值。因此你应当始" +"的音频输出延迟,Godot 会尝试使用主机所允许范围内与其最接近的值。因此你应当始" "终使用 [method AudioServer.get_output_latency] 获取实际的音频输出延迟。\n" -"[b]注意:[/b] 此设置在 Windows 上会被忽略。" +"[b]注意:[/b]此设置在 Windows 上会被忽略。" #: doc/classes/ProjectSettings.xml msgid "" @@ -56905,6 +57167,14 @@ msgstr "" #: doc/classes/ProjectSettings.xml 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],则启用导出变量的默认值类型与其导出类型不一致时的警" +"告。" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], enables warnings when a function is declared with the " "same name as a constant." msgstr "如果为[code]true[/code],当函数被声明为与常量同名时,启用警告。" @@ -57432,6 +57702,25 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If enabled, the moment [member Viewport.gui_disable_input] is set to " +"[code]false[/code] to disable GUI input in a viewport, current mouse over " +"and mouse focus will be dropped.\n" +"That behavior helps to keep a robust GUI state, with no surprises when input " +"is resumed regardless what has happened in the meantime.\n" +"If disabled, the legacy behavior is used, which consists in just not doing " +"anything besides the GUI input disable itself.\n" +"[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 "" "If [code]true[/code], swaps OK and Cancel buttons in dialogs on Windows and " "UWP to follow interface conventions." msgstr "" @@ -57443,14 +57732,14 @@ msgid "" "Path to a custom [Theme] resource file to use for the project ([code]theme[/" "code] or generic [code]tres[/code]/[code]res[/code] extension)." msgstr "" -"用于项目的自定义[Theme]资源文件的路径([code]theme[/code]或通用[code]tres[/" -"code]/[code]res[/code]扩展名)。" +"用于项目的自定义 [Theme] 资源文件的路径([code]theme[/code] 或通用 " +"[code]tres[/code]/[code]res[/code] 扩展名)。" #: doc/classes/ProjectSettings.xml msgid "" "Path to a custom [Font] resource to use as default for all GUI elements of " "the project." -msgstr "自定义[Font]资源的路径,用于项目的所有GUI元素的默认字体。" +msgstr "自定义 [Font] 资源的路径,用于项目的所有 GUI 元素的默认字体。" #: doc/classes/ProjectSettings.xml msgid "If [code]true[/code], makes sure the theme used works with HiDPI." @@ -57653,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 "" @@ -58590,6 +58879,21 @@ msgstr "" "支持\"GodotPhysics\"引擎作为替代。" #: doc/classes/ProjectSettings.xml +msgid "" +"If [code]true[/code], smooths out collision with trimesh shapes " +"([ConcavePolygonShape]) by telling the Bullet physics engine to generate " +"internal edge information for every trimesh shape created.\n" +"[b]Note:[/b] Only effective if [member physics/3d/physics_engine] is set to " +"[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." msgstr "在根视图上启用 [member Viewport.physics_object_picking]。" @@ -58634,8 +58938,8 @@ msgstr "" "执行频率。另请参见 [member debug/settings/fps/force_fps]。\n" "[b]注意:[/b]本属性在程序开始运行时是只读的。要在运行时修改物理 FPS,请设置 " "[member Engine.iterations_per_second]。\n" -"[b]注意:[/b]每个渲染帧最多只能模拟 8 次物理迭代。如果为了追赶渲染,需要在每" -"个渲染帧中模拟多于 8 次物理迭代,游戏看上去会是降速的(即便在物理计算中始终使" +"[b]注意:[/b]每个渲染帧最多只能模拟 8 个物理周期。如果为了追赶渲染,需要在每" +"个渲染帧中模拟多于 8 个物理周期,游戏看上去会是降速的(即便在物理计算中始终使" "用 [code]delta[/code])。因此,建议不要将 [member physics/common/" "physics_fps] 设为大于 240 的值。否则,渲染帧率低于 30 FPS 时游戏就会低速运" "行。" @@ -58650,9 +58954,13 @@ msgid "" "prevent a visible glitch. You can do this using the [method Node." "reset_physics_interpolation] function." msgstr "" +"为 [code]true[/code] 时,渲染器会根据物理对象最近两次的变换对其变换进行插值," +"从而在物理周期与渲染帧不一致时得到平滑的运动。\n" +"[b]注意:[/b]将对象移动到新位置时(并非一般的物理运动)你可能会想要临时关闭插" +"值,避免显示问题。你可以使用 [method Node.reset_physics_interpolation] 函数实" +"现。" #: doc/classes/ProjectSettings.xml -#, fuzzy msgid "" "Controls how much physics ticks are synchronized with real time. For 0 or " "less, the ticks are synchronized. Such values are recommended for network " @@ -58669,14 +58977,16 @@ msgid "" "[b]Note:[/b] This property is only read when the project starts. To change " "the value at runtime, set [member Engine.physics_jitter_fix] instead." msgstr "" -"控制物理时钟实时同步的程度。如果是0或更少,时钟是同步的。这样的值建议用于网络" -"游戏,因为时钟的同步性很重要。较高的值会导致游戏中的时钟和真实时钟的偏差较" -"大,但可以平滑帧速率的抖动。默认值0.5对大多数人来说应是不错的;超过2的值可能" -"会导致游戏对掉帧的反应有明显的延迟,因此不建议使用。\n" -"[b]注意:[/b]为了获得最佳效果,当使用自定义物理插值解决方案时,应该通过将" -"[member physics/common/physics_jitter_fix]设置为[code]0[/code]来禁用物理抖动" -"修复。\n" -"[b]注意:[/b] 这个属性只在项目启动时被读取。要在运行时改变物理FPS,请设置" +"控制物理周期与实际时间的同步程度。如果小于等于 0,则周期是同步的。这样的值建" +"议用于网络游戏,因为时钟的同步性很重要。较高的值会导致游戏中的时钟和真实时钟" +"的偏差较大,但可以平滑帧速率的抖动。默认值 0.5 对大多数人来说应是不错的;超" +"过 2 的值可能会导致游戏对掉帧的反应有明显的延迟,因此不建议使用。\n" +"[b]注意:[/b]为了获得最佳效果,当使用自定义物理插值解决方案时,应该通过将 " +"[member physics/common/physics_jitter_fix] 设置为 [code]0[/code] 来禁用物理抖" +"动修复。\n" +"[b]注意:[/b]如果启用了 [member physics/common/physics_interpolation],运行时" +"会自动禁用抖动修复。\n" +"[b]注意:[/b]这个属性只在项目启动时被读取。要在运行时改变物理 FPS,请设置 " "[member Engine.physics_jitter_fix]。" #: doc/classes/ProjectSettings.xml @@ -59162,6 +59472,17 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"An override for [code]rendering/gles3/shaders/shader_compilation_mode[/" +"code], so asynchronous compilation can be disabled for mobile.\n" +"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 "" "Max buffer size for blend shapes. Any blend shape bigger than this will not " "work." msgstr "混合形状的最大缓冲区大小。任何比这更大的混合形状都不起作用。" @@ -59368,7 +59689,6 @@ msgstr "" "时,才应该使用该选项。" #: doc/classes/ProjectSettings.xml -#, fuzzy msgid "" "If [code]true[/code], allocates the root [Viewport]'s framebuffer with high " "dynamic range. High dynamic range allows the use of [Color] values greater " @@ -59378,7 +59698,9 @@ msgid "" "[b]Note:[/b] Only available on the GLES3 backend." msgstr "" "如果为 [code]true[/code],分配根 [Viewport] 的帧缓冲时将使用高动态范围。高动" -"态范围允许使用大于 1 的 [Color] 值。\n" +"态范围允许使用大于 1 的 [Color] 值。如果 [member Environment." +"glow_hdr_threshold] 大于等于 [code]1.0[/code],那么就必须将其设为 " +"[code]true[/code],发光渲染才能正常工作。\n" "[b]注意:[/b]仅在 GLES3 后端中可用。" #: doc/classes/ProjectSettings.xml @@ -59389,6 +59711,11 @@ msgid "" "glow_hdr_threshold] is greater than or equal to [code]1.0[/code].\n" "[b]Note:[/b] Only available on the GLES3 backend." msgstr "" +"[member rendering/quality/depth/hdr] 在移动设备上的低端的覆盖项,为的是性能考" +"量或驱动支持。如果 [member Environment.glow_hdr_threshold] 大于等于 " +"[code]1.0[/code],那么就必须将其设为 [code]true[/code],发光渲染才能正常工" +"作。\n" +"[b]注意:[/b]仅在 GLES3 后端中可用。" #: doc/classes/ProjectSettings.xml msgid "" @@ -59541,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 "" @@ -59560,7 +59887,6 @@ msgstr "" "称为“三线性过滤”)。" #: doc/classes/ProjectSettings.xml -#, fuzzy msgid "" "Strategy used for framebuffer allocation. The simpler it is, the less " "resources it uses (but the less features it supports). If set to \"2D " @@ -59572,7 +59898,7 @@ msgstr "" "用于帧缓冲区的分配策略。它越简单,使用的资源就越少(但支持的功能也越少)。如" "果设置为“2D Without Sampling”(2D 无采样)或“3D Without Effects”(3D 无特" "效),将不分配采样缓冲区。这意味着 [code]SCREEN_TEXTURE[/code] 和 " -"[code]DEPTH_TEXTURE[/code] 将不能在着色器中使用,后期处理特效将不能在 " +"[code]DEPTH_TEXTURE[/code] 将不能在着色器中使用,发光等后期处理特效将不能在 " "[Environment] 中使用。" #: doc/classes/ProjectSettings.xml @@ -60398,16 +60724,17 @@ msgstr "" #: doc/classes/Range.xml msgid "" -"Binds two ranges together along with any ranges previously grouped with " +"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 -msgid "Stops range from sharing its member variables with any other." -msgstr "停止与任何其他成员变量共享其成员变量的范围。" +msgid "Stops the [Range] from sharing its member variables with any other." +msgstr "使该 [Range] 停止与任何其他 Range 共享其成员变量。" #: doc/classes/Range.xml msgid "" @@ -60485,8 +60812,20 @@ msgstr "" "变时释放信号。" #: doc/classes/Range.xml -msgid "Emitted when [member value] changes." -msgstr "在 [member value] 改变时释放信号。" +msgid "" +"Emitted when [member value] changes. When used on a [Slider], this is called " +"continuously while dragging (potentially every frame). If you are performing " +"an expensive operation in a function connected to [signal value_changed], " +"consider using a [i]debouncing[/i] [Timer] to call the function less often.\n" +"[b]Note:[/b] Unlike signals such as [signal LineEdit.text_changed], [signal " +"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." @@ -61648,8 +61987,8 @@ msgid "" "from a [PackedScene] instantiation, returns the local scene where this " "resource's unique copy is in use. Otherwise, returns [code]null[/code]." msgstr "" -"如果[member resource_local_to_scene]被启用,并且该资源是从一个[PackedScene]实" -"例中加载的,则返回该资源的唯一副本正在使用的本地场景。否则,返回[code]null[/" +"如果启用了 [member resource_local_to_scene],并且该资源是从 [PackedScene] 实" +"例中加载的,则返回该资源的唯一副本正在使用的本地场景。否则返回 [code]null[/" "code]。" #: doc/classes/Resource.xml @@ -61658,8 +61997,8 @@ msgid "" "[Texture], [Mesh], etc) are high-level abstractions of resources stored in a " "server, so this function will return the original RID." msgstr "" -"返回资源的RID(或者一个空的RID)。许多资源(如[Texture]、[Mesh]等)是存储在服" -"务器server中的资源的高级抽象,所以这个函数将返回原始的RID。" +"返回该资源的 RID(或者空的 RID)。许多资源(如 [Texture]、[Mesh] 等)是存储在" +"服务器中的资源的高级抽象,所以这个函数将返回原始的 RID。" #: doc/classes/Resource.xml msgid "" @@ -61670,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 "" @@ -61683,8 +62022,8 @@ msgid "" "the latter would error out if another resource was already cached for the " "given path." msgstr "" -"设置资源的路径,可能会覆盖这个路径的现有缓存条目。这与设置[member " -"resource_path]不同,因为后者会在其他资源已经被缓存在给定的路径上时出错。" +"设置资源的路径,可能会覆盖这个路径的现有缓存条目。这与设置 [member " +"resource_path] 不同,因为后者会在其他资源已经被缓存在给定的路径上时出错。" #: doc/classes/Resource.xml msgid "" @@ -61702,9 +62041,9 @@ msgid "" "current resource in the editor inspector. For built-in scripts, the [member " "resource_name] will be displayed as the tab name in the script editor." msgstr "" -"资源名称。这是一个可选的标识符。如果 [member resource_name] 资源名不是空的," -"则将显示其值,以表示编辑器检查器中的当前资源。对于内置脚本,[member " -"resource_name]将作为脚本编辑器中的选项卡名称显示。" +"资源的名称,是可选的标识符。如果 [member resource_name] 不为空,则编辑器检查" +"器中将用这个值来表示当前的资源。对于内置脚本,[member resource_name] 将作为脚" +"本编辑器中的选项卡名称显示。" #: doc/classes/Resource.xml msgid "" @@ -61721,9 +62060,9 @@ msgid "" "[b]Note:[/b] This signal is not emitted automatically for custom resources, " "which means that you need to create a setter and emit the signal yourself." msgstr "" -"每当资源发生变化时就会发射。\n" -"[b]注意:[/b]对于自定义资源,这个信号不会自动发射,这意味着你需要自己创建一个" -"设置器setter并发射信号。" +"每当资源发生变化时就会触发。\n" +"[b]注意:[/b]自定义资源不会自动触发这个信号,这意味着你需要自己创建一个 " +"Setter 并触发信号。" #: doc/classes/ResourceFormatLoader.xml msgid "Loads a specific resource type from a file." @@ -62229,14 +62568,14 @@ msgid "" "[RichTextEffect], it will continuously process the effect unless the project " "is paused. This may impact battery life negatively." msgstr "" -"一个用于[RichTextLabel]的自定义效果。\n" -"[b]注意:[/b] 为了使[RichTextEffect]能够使用,必须在脚本中定义一个名为" -"[code]bbcode[/code]的BBCode标签作为成员变量。\n" +"用于 [RichTextLabel] 的自定义效果。\n" +"[b]注意:[/b] 为了使 [RichTextEffect] 能够使用,必须在脚本中定义一个名为 " +"[code]bbcode[/code] 的 BBCode 标签作为成员变量。\n" "[codeblock]\n" -"# RichTextEffect将可以像这样使用:`[example]一些文本[/example]`.\n" +"# 这个 RichTextEffect 的用法就会是:`[example]一些文本[/example]`.\n" "var bbcode = \"example\"\n" "[/codeblock]\n" -"[b]注意:[/b]只要一个[RichTextLabel]包含至少一个[RichTextEffect],它就会持续" +"[b]注意:[/b]只要 [RichTextLabel] 中包含至少一个 [RichTextEffect],它就会持续" "处理这个效果,除非项目暂停。这可能会对电池寿命产生负面影响。" #: doc/classes/RichTextEffect.xml @@ -63264,7 +63603,7 @@ msgstr "" #: doc/classes/RigidBody2D.xml msgid "A body that is controlled by the 2D physics engine." -msgstr "由2D物理引擎控制的实体。" +msgstr "由 2D 物理引擎控制的实体。" #: doc/classes/RigidBody2D.xml msgid "" @@ -64749,6 +65088,8 @@ msgid "" "using [member ProjectSettings.physics/common/physics_interpolation], this " "property allows control over interpolation at runtime." msgstr "" +"尽管一般是使用 [member ProjectSettings.physics/common/physics_interpolation] " +"来全局开关物理插值的,这个属性可以在运行时控制插值。" #: doc/classes/SceneTree.xml msgid "" @@ -65794,8 +66135,8 @@ msgid "" "SkeletonIK is used to place the end bone of a [Skeleton] bone chain at a " "certain point in 3D by rotating all bones in the chain accordingly." msgstr "" -"SkeletonIK用于将[Skeleton]骨链的末端骨骼置于3D中的某一点,并相应地旋转骨链中" -"的所有骨骼。" +"SkeletonIK 可用于将 [Skeleton] 骨链的末端骨骼置于 3D 中的某一点,并相应地旋转" +"骨链中的所有骨骼。" #: doc/classes/SkeletonIK.xml msgid "" @@ -66299,6 +66640,11 @@ msgid "" "include [Camera]s focusing on a node, or finding where to fire lasers from " "on a frame rather than physics tick." msgstr "" +"使用物理插值时,你可能会想要知道节点在插值后(显示)的变换,而不是标准的变换" +"(只有对最近的一次物理周期而言才准确)。\n" +"这对于基于帧的操作而言尤为重要,这些操作是在 [method Node._process] 中进行" +"的,而不是 [method Node._physics_process]。例如让 [Camera] 聚焦到某个节点上," +"在某一帧中查找应该从哪里发射激光,而不是物理帧。" #: doc/classes/Spatial.xml msgid "" @@ -66405,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 "" @@ -68477,7 +68823,6 @@ msgstr "" "则从后面看它是不可见的。" #: doc/classes/SpriteBase3D.xml -#, fuzzy msgid "" "A color value used to [i]multiply[/i] the texture's colors. Can be used for " "mood-coloring or to simulate the color of light.\n" @@ -68495,10 +68840,9 @@ msgstr "" "色。否则会忽略 [member modulate] 中所定义的颜色。对于 [SpatialMaterial],必须" "让 [member SpatialMaterial.vertex_color_use_as_albedo] 为 [code]true[/code]。" "对于 [ShaderMaterial],着色器的 [code]fragment()[/code] 函数中必须插入 " -"[code]ALBEDO *= COLOR.rgb;[/color]。" +"[code]ALBEDO *= COLOR.rgb;[/code]。" #: doc/classes/SpriteBase3D.xml -#, fuzzy msgid "" "The texture's visibility on a scale from [code]0[/code] (fully invisible) to " "[code]1[/code] (fully visible). [member opacity] is a multiplier for the " @@ -68518,7 +68862,7 @@ msgstr "" "色。否则会忽略 [member opacity] 中所定义的不透明度。对于 [SpatialMaterial]," "必须让 [member SpatialMaterial.vertex_color_use_as_albedo] 为 [code]true[/" "code]。对于 [ShaderMaterial],着色器的 [code]fragment()[/code] 函数中必须插" -"入 [code]ALPHA *= COLOR.a;[/color]。" +"入 [code]ALPHA *= COLOR.a;[/code]。" #: doc/classes/SpriteBase3D.xml msgid "The size of one pixel's width on the sprite to scale it in 3D." @@ -69293,6 +69637,10 @@ msgid "" "print(\"Bigrams\".bigrams()) # Prints \"[Bi, ig, gr, ra, am, ms]\"\n" "[/codeblock]" msgstr "" +"返回包含该字符串的双字母组(连续字母的组合)的数组。\n" +"[codeblock]\n" +"print(\"Bigrams\".bigrams()) # 输出“[Bi, ig, gr, ra, am, ms]”\n" +"[/codeblock]" #: doc/classes/String.xml msgid "" @@ -69662,13 +70010,22 @@ msgid "" "Returns [code]true[/code] if this string contains a valid float. This is " "inclusive of integers, and also supports exponents:\n" "[codeblock]\n" -"print(\"1.7\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"7e3\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"Hello\".is_valid_float()) # Prints \"false\"\n" +"print(\"1.7\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"7e3\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" +"如果该字符串包含有效的浮点数,则返回 [code]true[/code]。包含整数,也支持指数" +"幂:\n" +"[codeblock]\n" +"print(\"1.7\".is_valid_float()) # 输出“True”\n" +"print(\"24\".is_valid_float()) # 输出“True”\n" +"print(\"7e3\".is_valid_float()) # 输出“True”\n" +"print(\"24\".is_valid_float()) # 输出“True”\n" +"print(\"Hello\".is_valid_float()) # 输出“False”\n" +"[/codeblock]" #: doc/classes/String.xml msgid "" @@ -69693,31 +70050,43 @@ 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]) " "and the first character may not be a digit.\n" "[codeblock]\n" -"print(\"good_ident_1\".is_valid_identifier()) # Prints \"true\"\n" -"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"false\"\n" -"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"false\"\n" +"print(\"good_ident_1\".is_valid_identifier()) # Prints \"True\"\n" +"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"False\"\n" +"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"False\"\n" "[/codeblock]" msgstr "" "该字符串为有效标识符时,返回 [code]true[/code]。有效标识符仅能够包含字母、数" -"字、下划线([code]_[/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" +"[/codeblock]" #: doc/classes/String.xml msgid "" "Returns [code]true[/code] if this string contains a valid integer.\n" "[codeblock]\n" -"print(\"7\".is_valid_int()) # Prints \"true\"\n" -"print(\"14.6\".is_valid_int()) # Prints \"false\"\n" -"print(\"L\".is_valid_int()) # Prints \"false\"\n" -"print(\"+3\".is_valid_int()) # Prints \"true\"\n" -"print(\"-12\".is_valid_int()) # Prints \"true\"\n" +"print(\"7\".is_valid_int()) # Prints \"True\"\n" +"print(\"14.6\".is_valid_int()) # Prints \"False\"\n" +"print(\"L\".is_valid_int()) # Prints \"False\"\n" +"print(\"+3\".is_valid_int()) # Prints \"True\"\n" +"print(\"-12\".is_valid_int()) # Prints \"True\"\n" "[/codeblock]" 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" +"[/codeblock]" #: doc/classes/String.xml msgid "" @@ -69775,34 +70144,34 @@ msgstr "" "一的前缀字符串,请参阅 [method trim_prefix]。" #: doc/classes/String.xml -#, fuzzy msgid "" "Does a simple case-sensitive expression match, where [code]\"*\"[/code] " "matches zero or more arbitrary characters and [code]\"?\"[/code] matches any " "single character except a period ([code]\".\"[/code]). An empty string or " "empty expression always evaluates to [code]false[/code]." msgstr "" -"判断表达式是否匹配(区分大小写),其中 [code]\"*\"[/code] 匹配零个或多个任意字" -"符并且 [code]\"?\"[/code] 匹配除句点( [code]\".\"[/code] )外的任意字符。" +"判断表达式是否匹配,区分大小写,其中 [code]\"*\"[/code] 匹配零个或多个任意字" +"符并且 [code]\"?\"[/code] 匹配除句点( [code]\".\"[/code] )外的任意字符。如果" +"字符串或表达式为空,则始终返回 [code]false[/code]。" #: doc/classes/String.xml -#, fuzzy msgid "" "Does a simple case-insensitive expression match, where [code]\"*\"[/code] " "matches zero or more arbitrary characters and [code]\"?\"[/code] matches any " "single character except a period ([code]\".\"[/code]). An empty string or " "empty expression always evaluates to [code]false[/code]." msgstr "" -"判断表达式是否匹配(不区分大小写),其中 [code]\"*\"[/code] 匹配零个或多个任意" -"字符并且 [code]\"?\"[/code] 匹配除句点( [code]\".\"[/code] )外的任意字符。" +"判断表达式是否匹配,不区分大小写,其中 [code]\"*\"[/code] 匹配零个或多个任意" +"字符并且 [code]\"?\"[/code] 匹配除句点( [code]\".\"[/code] )外的任意字符。如" +"果字符串或表达式为空,则始终返回 [code]false[/code]。" #: doc/classes/String.xml msgid "Returns the MD5 hash of the string as an array of bytes." -msgstr "以一个字节数组的形式返回字符串的MD5哈希值。" +msgstr "以字节数组的形式返回该字符串的 MD5 哈希值。" #: doc/classes/String.xml msgid "Returns the MD5 hash of the string as a string." -msgstr "以一个字符串的形式返回字符串的MD5哈希值。" +msgstr "以字符串的形式返回该字符串的 MD5 哈希值。" #: doc/classes/String.xml msgid "" @@ -69951,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" @@ -69964,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] 字符串拆分字符串并返回子字符串数" @@ -70025,6 +70395,15 @@ msgid "" "print(\"ABC123\".similarity(\"abc123\")) # Prints \"0.4\"\n" "[/codeblock]" msgstr "" +"返回该字符串与另一个字符串的相似指数([url=https://zh.wikipedia.org/wiki/" +"Dice%E7%B3%BB%E6%95%B0]索伦森-骰子系数[/url])。1.0 表示完全相似,0.0 表示完" +"全不相似。\n" +"[codeblock]\n" +"print(\"ABC123\".similarity(\"ABC123\")) # 输出“1”\n" +"print(\"ABC123\".similarity(\"XYZ456\")) # 输出“0”\n" +"print(\"ABC123\".similarity(\"123ABC\")) # 输出“0.8”\n" +"print(\"ABC123\".similarity(\"abc123\")) # 输出“0.4”\n" +"[/codeblock]" #: doc/classes/String.xml msgid "Returns a simplified canonical path." @@ -71841,14 +72220,12 @@ msgid "Returns the total width of all gutters and internal padding." msgstr "返回所有栏位及内部边距的总宽度。" #: doc/classes/TextEdit.xml -#, fuzzy msgid "Returns the total amount of lines that could be drawn." -msgstr "返回该 Label 的文本行数。" +msgstr "返回可绘制的总行数。" #: doc/classes/TextEdit.xml -#, fuzzy msgid "Returns the number of visible lines, including wrapped text." -msgstr "返回可见行数。" +msgstr "返回可见行数,包括自动换行。" #: doc/classes/TextEdit.xml msgid "" @@ -71903,6 +72280,14 @@ msgid "Returns if the given line is wrapped." msgstr "返回给定的行是否换行。" #: doc/classes/TextEdit.xml +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]edges[/code] 为 [code]true[/code],则边" +"界会被认为是选区的一部分。" + +#: doc/classes/TextEdit.xml msgid "Returns [code]true[/code] if the selection is active." msgstr "如果选择处于活动状态,则返回 [code]true[/code]。" @@ -72983,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 @@ -73089,6 +73474,8 @@ msgid "" "Unmarks [code]theme_type[/code] as being a variation of another theme type. " "See [method set_type_variation]." msgstr "" +"取消将主题类型 [code]theme_type[/code] 标记为任何主题类型的变种。见 [method " +"set_type_variation]。" #: doc/classes/Theme.xml msgid "Sets the theme's values to a copy of the default theme values." @@ -73274,17 +73661,17 @@ msgstr "" "[b]注意:[/b][code]node_type[/code]没有生效,在未来的版本中会被删除。" #: doc/classes/Theme.xml -#, fuzzy msgid "" "Returns the name of the base theme type if [code]theme_type[/code] is a " "valid variation type. Returns an empty string otherwise." -msgstr "返回正在播放的场景名称。如果当前没有场景正在播放,返回一个空字符串。" +msgstr "" +"如果主题类型 [code]theme_type[/code] 为有效的变种类型,则返回其基础主题类型的" +"名称。否则返回空字符串。" #: doc/classes/Theme.xml -#, fuzzy msgid "" "Returns a list of all type variations for the given [code]base_type[/code]." -msgstr "返回给定[code]signal[/code]的连接的[Array]。" +msgstr "返回给定的基础类型 [code]base_type[/code] 的所有类型变种。" #: doc/classes/Theme.xml msgid "" @@ -73354,12 +73741,12 @@ msgstr "" "如果该主题没有[code]node_type[/code],则返回[code]false[/code]。" #: doc/classes/Theme.xml -#, fuzzy msgid "" "Returns [code]true[/code] if [code]theme_type[/code] is marked as a " "variation of [code]base_type[/code]." msgstr "" -"如果预加载器包含一个与[code]name[/code]相关的资源,则返回[code]true[/code]。" +"如果主题类型 [code]theme_type[/code] 被标记为基础类型 [code]base_type[/code] " +"的变种,则返回 [code]true[/code]。" #: doc/classes/Theme.xml msgid "" @@ -73504,6 +73891,15 @@ msgid "" "[b]Note:[/b] Suggestions only show up if this theme resource is set as the " "project default theme. See [member ProjectSettings.gui/theme/custom]." msgstr "" +"将主题类型 [code]theme_type[/code] 标记为基础类型 [code]base_type[/code] 的变" +"种。\n" +"这会将 [code]theme_type[/code] 添加为 [code]base_type[/code] 类的 [Control] " +"的 [member Control.theme_type_variation] 的建议选项。\n" +"变种可以嵌套,即 [code]base_type[/code] 也可以是变种。如果 [code]base_type[/" +"code] 与该 [Control] 相匹配,且存在以它结尾的变种链,则整条链上的变种都会作为" +"建议选项。\n" +"[b]注意:[/b]只有该主题资源被设为项目默认主题时才会出现建议。见 [member " +"ProjectSettings.gui/theme/custom]。" #: doc/classes/Theme.xml msgid "" @@ -74094,9 +74490,9 @@ msgid "" "[b]Note:[/b] [code]neighbor_id[/code] will be [code]-1[/code] ([constant " "TileMap.INVALID_CELL]) when checking a tile against an empty neighbor tile." msgstr "" -"确定什么时候自动图块器应该考虑将两个不同的自动图块器ID绑定在一起。\n" -"[b]注意:[/b] [code]neighbour_id[/code]当检查一个图块与一个空的相邻图块时,将" -"是[code]-1[/code],即[constant TileMap.INVALID_CELL]。" +"确定什么时候自动图块器应该考虑将两个不同的自动图块器 ID 绑定在一起。\n" +"[b]注意:[/b]当检查一个图块与一个空的相邻图块时,[code]neighbour_id[/code] 将" +"是 [code]-1[/code],即 [constant TileMap.INVALID_CELL]。" #: doc/classes/TileSet.xml msgid "Clears all bitmask information of the autotile." @@ -74614,6 +75010,15 @@ msgstr "" #: doc/classes/Time.xml msgid "" +"Converts the given timezone offset in minutes to a timezone offset string. " +"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 "" "Returns the amount of time passed in milliseconds since the engine started.\n" "Will always be positive or 0 and uses a 64-bit value (it will wrap after " "roughly 500 million years)." @@ -75996,7 +76401,7 @@ msgstr "每个项内的垂直填充,即项内容与上或下边框之间的距 #: doc/classes/Tree.xml msgid "[Font] of the title button's text." -msgstr "标题按钮文本的[Font]字体。" +msgstr "标题按钮文本的 [Font] 字体。" #: doc/classes/Tree.xml msgid "The arrow icon used when a foldable item is not collapsed." @@ -76011,89 +76416,90 @@ msgid "" "The check icon to display when the [constant TreeItem.CELL_MODE_CHECK] mode " "cell is checked." msgstr "" -"当[constant TreeItem.CELL_MODE_CHECK]模式单元格被选中时,显示的选中图标。" +"当 [constant TreeItem.CELL_MODE_CHECK] 模式单元格被选中时,显示的选中图标。" #: doc/classes/Tree.xml msgid "" "The arrow icon to display for the [constant TreeItem.CELL_MODE_RANGE] mode " "cell." -msgstr "为[constant TreeItem.CELL_MODE_RANGE]模式单元显示的箭头图标。" +msgstr "为 [constant TreeItem.CELL_MODE_RANGE] 模式单元显示的箭头图标。" #: doc/classes/Tree.xml msgid "" "The check icon to display when the [constant TreeItem.CELL_MODE_CHECK] mode " "cell is unchecked." msgstr "" -"当[constant TreeItem.CELL_MODE_CHECK]模式单元未被选中时,要显示的选中图标。" +"当 [constant TreeItem.CELL_MODE_CHECK] 模式单元未被选中时,要显示的选中图标。" #: doc/classes/Tree.xml msgid "" "The updown arrow icon to display for the [constant TreeItem.CELL_MODE_RANGE] " "mode cell." -msgstr "为[constant TreeItem.CELL_MODE_RANGE]模式单元显示的向下箭头图标。" +msgstr "为 [constant TreeItem.CELL_MODE_RANGE] 模式单元显示的向下箭头图标。" #: doc/classes/Tree.xml msgid "" "Default [StyleBox] for the [Tree], i.e. used when the control is not being " "focused." -msgstr "[Tree]的默认[StyleBox],即在控件没有获得焦点时使用。" +msgstr "[Tree] 的默认 [StyleBox],即在控件没有获得焦点时使用。" #: doc/classes/Tree.xml msgid "[StyleBox] used when the [Tree] is being focused." -msgstr "当[Tree]获得焦点时使用的[StyleBox]。" +msgstr "当 [Tree] 获得焦点时使用的 [StyleBox]。" #: doc/classes/Tree.xml msgid "[StyleBox] used when a button in the tree is pressed." -msgstr "当树中的按钮被按下时使用的[StyleBox]。" +msgstr "当树中的按钮被按下时使用的 [StyleBox]。" #: doc/classes/Tree.xml msgid "[StyleBox] used for the cursor, when the [Tree] is being focused." -msgstr "当[Tree]获得焦点时,用于光标的[StyleBox]。" +msgstr "当 [Tree] 获得焦点时,用于光标的 [StyleBox]。" #: doc/classes/Tree.xml msgid "[StyleBox] used for the cursor, when the [Tree] is not being focused." -msgstr "当[Tree]未获聚焦时,用于光标的[StyleBox]。" +msgstr "当 [Tree] 未获聚焦时,用于光标的 [StyleBox]。" #: doc/classes/Tree.xml msgid "" "Default [StyleBox] for a [constant TreeItem.CELL_MODE_CUSTOM] mode cell." -msgstr "为[constant TreeItem.CELL_MODE_CUSTOM]模式的单元格默认的[StyleBox]。" +msgstr "" +"为 [constant TreeItem.CELL_MODE_CUSTOM] 模式的单元格默认的 [StyleBox]。" #: doc/classes/Tree.xml msgid "" "[StyleBox] for a [constant TreeItem.CELL_MODE_CUSTOM] mode cell when it's " "hovered." msgstr "" -"当[constant TreeItem.CELL_MODE_CUSTOM]模式的单元格被悬停时的[StyleBox]。" +"当 [constant TreeItem.CELL_MODE_CUSTOM] 模式的单元格被悬停时的 [StyleBox]。" #: doc/classes/Tree.xml msgid "" "[StyleBox] for a [constant TreeItem.CELL_MODE_CUSTOM] mode cell when it's " "pressed." msgstr "" -"当[constant TreeItem.CELL_MODE_CUSTOM]模式的单元格被按下时的[StyleBox]。" +"当 [constant TreeItem.CELL_MODE_CUSTOM] 模式的单元格被按下时的 [StyleBox]。" #: doc/classes/Tree.xml msgid "" "[StyleBox] for the selected items, used when the [Tree] is not being focused." -msgstr "所选项的[StyleBox],当[Tree]没有获得焦点时使用。" +msgstr "所选项目的 [StyleBox],当 [Tree] 没有获得焦点时使用。" #: doc/classes/Tree.xml msgid "" "[StyleBox] for the selected items, used when the [Tree] is being focused." -msgstr "所选项目的[StyleBox],在[Tree]获得焦点时使用。" +msgstr "所选项目的 [StyleBox],在 [Tree] 获得焦点时使用。" #: doc/classes/Tree.xml msgid "[StyleBox] used when the title button is being hovered." -msgstr "当标题按钮被悬停时使用的[StyleBox]。" +msgstr "当标题按钮被悬停时使用的 [StyleBox]。" #: doc/classes/Tree.xml msgid "Default [StyleBox] for the title button." -msgstr "标题按钮的默认[StyleBox]。" +msgstr "标题按钮的默认 [StyleBox]。" #: doc/classes/Tree.xml msgid "[StyleBox] used when the title button is being pressed." -msgstr "当标题按钮被按下时使用的[StyleBox]。" +msgstr "当标题按钮被按下时使用的 [StyleBox]。" #: doc/classes/TreeItem.xml msgid "Control for a single item inside a [Tree]." @@ -76105,11 +76511,10 @@ msgid "" "styled as well as contain buttons.\n" "You can remove a [TreeItem] by using [method Object.free]." msgstr "" -"控件[Tree]中的单个项目。可以有子级[TreeItem], 样式, 以及包含按钮。\n" -"您可以使用[method Object.free]删除[TreeItem]。" +"控件 [Tree] 中的单个项目。可以有子级 [TreeItem], 样式, 以及包含按钮。\n" +"您可以使用 [method Object.free] 删除 [TreeItem]。" #: doc/classes/TreeItem.xml -#, fuzzy msgid "" "Adds a button with [Texture] [code]button[/code] at column [code]column[/" "code]. The [code]id[/code] is used to identify the button. If not specified, " @@ -76118,9 +76523,9 @@ msgid "" "be [code]disabled[/code] and have a [code]tooltip[/code]." msgstr "" "在 [code]column[/code] 列添加一个带有 [Texture] [code]button[/code] 的按钮。 " -"[code]id[/code] 用于标识按钮。如果未指定,则使用下一个可用索引,可以通过在此" -"方法之后调用 [method get_button_count] 来检索该索引。可选,该按钮可以 " -"[code]disabled[/code] 和具有 [code]tooltip[/code]。" +"[code]id[/code] 用于标识按钮。如果未指定,则使用下一个可用索引,可以在此方法" +"之前调用 [method get_button_count] 来获取该索引。另外,该按钮还可以通过 " +"[code]disabled[/code] 禁用、通过 [code]tooltip[/code] 设置工具提示。" #: doc/classes/TreeItem.xml msgid "" @@ -76165,9 +76570,8 @@ msgstr "" "引号,否则返回 -1。" #: doc/classes/TreeItem.xml -#, fuzzy msgid "Returns the number of buttons in column [code]column[/code]." -msgstr "返回列[code]column[/code]的自定义颜色。" +msgstr "返回在 [code]column[/code] 列中按钮的数量。" #: doc/classes/TreeItem.xml msgid "" @@ -78510,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 车辆物理而设计。如果" @@ -78575,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 "" @@ -78973,26 +79378,26 @@ msgstr "" "org/]WebM[/url] 视频格式的 [VideoStream] 资源。支持 VP8 和 VP9 编解码器。VP8 " "和 VP9 编解码器比 [VideoStreamTheora] 更高效,但其需要更多的 CPU 资源来解码," "尤其是 VP9。VP8 和 VP9 编解码器是在 CPU 上解码的。\n" -"[b]注意:[/b] 不支持 Alpha 通道(也称为不透明度)。视频将始终显示为黑色背景," +"[b]注意:[/b]不支持 Alpha 通道(也称为不透明度)。视频将始终显示为黑色背景," "即使它最初包含 Alpha 通道。\n" -"[b]注意:[/b] Godot 中的 WebM 视频播放存在已知的错误和性能问题。如果你遇到问" +"[b]注意:[/b]Godot 中的 WebM 视频播放存在已知的错误和性能问题。如果你遇到问" "题,可以尝试用 Ogg Theora 格式代替:[VideoStreamTheora]" #: modules/webm/doc_classes/VideoStreamWebm.xml msgid "Returns the WebM video file handled by this [VideoStreamWebm]." -msgstr "返回由这个[VideoStreamWebm]处理的WebM视频文件。" +msgstr "返回由这个 [VideoStreamWebm] 处理的 WebM 视频文件。" #: modules/webm/doc_classes/VideoStreamWebm.xml msgid "" "Sets the WebM video file that this [VideoStreamWebm] resource handles. The " "[code]file[/code] name should have the [code].webm[/code] extension." msgstr "" -"设置这个[VideoStreamWebm]资源处理的WebM视频文件。[code]file[/code]名称具有" -"[code].webm[/code]扩展名。" +"设置这个 [VideoStreamWebm] 资源处理的 WebM 视频文件。文件名 [code]file[/" +"code] 具有 [code].webm[/code] 扩展名。" #: doc/classes/Viewport.xml msgid "Creates a sub-view into the screen." -msgstr "在屏幕中创建一个子视图。" +msgstr "在屏幕中创建子视图。" #: doc/classes/Viewport.xml msgid "" @@ -79105,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" @@ -79133,6 +79538,10 @@ msgid "Returns [code]true[/code] if there are visible modals on-screen." msgstr "如果屏幕上有可见的模型,返回[code]true[/code]。" #: doc/classes/Viewport.xml +msgid "Returns [code]true[/code] if the drag operation is successful." +msgstr "如果拖拽操作成功,则返回 [code]true[/code]。" + +#: doc/classes/Viewport.xml msgid "" "Returns [code]true[/code] if the viewport is currently performing a drag " "operation." @@ -79152,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]." @@ -79339,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 "" @@ -82034,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." @@ -82252,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." @@ -84612,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." @@ -84643,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." @@ -84659,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." @@ -85047,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." @@ -89382,13 +89792,13 @@ msgstr "获取当前元素中的属性数量。" msgid "" "Gets the name of the attribute specified by the index in [code]idx[/code] " "argument." -msgstr "获取由[code]idx[/code]参数中的索引指定的属性名称。" +msgstr "获取由 [code]idx[/code] 参数中的索引指定的属性名称。" #: doc/classes/XMLParser.xml msgid "" "Gets the value of the attribute specified by the index in [code]idx[/code] " "argument." -msgstr "获取由[code]idx[/code]参数中的索引指定的属性值。" +msgstr "获取由 [code]idx[/code] 参数中的索引指定的属性值。" #: doc/classes/XMLParser.xml msgid "Gets the current line in the parsed file (currently not implemented)." @@ -89398,21 +89808,20 @@ msgstr "获取被解析文件中的当前行(目前未实现)。" msgid "" "Gets the value of a certain attribute of the current element by name. This " "will raise an error if the element has no such attribute." -msgstr "" -"通过名称获取当前元素的某个属性的值。如果该元素没有该属性,将引发一个错误。" +msgstr "通过名称获取当前元素的某个属性的值。如果该元素没有该属性,将引发错误。" #: doc/classes/XMLParser.xml msgid "" "Gets the value of a certain attribute of the current element by name. This " "will return an empty [String] if the attribute is not found." msgstr "" -"通过名称获取当前元素的某个属性值。如果没有找到该属性,将返回空的[String]。" +"通过名称获取当前元素的某个属性值。如果没有找到该属性,将返回空的 [String]。" #: doc/classes/XMLParser.xml msgid "" "Gets the contents of a text node. This will raise an error in any other type " "of node." -msgstr "获取文本节点的内容。若在任何其他类型的节点中,这将引发一个错误。" +msgstr "获取文本节点的内容。若在任何其他类型的节点中,将引发错误。" #: doc/classes/XMLParser.xml msgid "" @@ -89447,23 +89856,23 @@ msgstr "" #: doc/classes/XMLParser.xml msgid "Opens an XML file for parsing. This returns an error code." -msgstr "打开一个 XML 文件进行解析。这将返回一个错误代码。" +msgstr "打开一个 XML 文件进行解析。返回的是错误码。" #: doc/classes/XMLParser.xml msgid "Opens an XML raw buffer for parsing. This returns an error code." -msgstr "打开一个 XML 原始缓冲区进行解析。这将返回一个错误代码。" +msgstr "打开一个 XML 原始缓冲区进行解析。返回的是错误码。" #: doc/classes/XMLParser.xml msgid "Reads the next node of the file. This returns an error code." -msgstr "读取文件的下一个节点。这将返回一个错误代码。" +msgstr "读取文件的下一个节点。返回的是错误码。" #: doc/classes/XMLParser.xml msgid "" "Moves the buffer cursor to a certain offset (since the beginning) and read " "the next node there. This returns an error code." msgstr "" -"将缓冲区光标移动到某一偏移量(相对于开始位置)并在那里读取下一个节点。这将返" -"回一个错误代码。" +"将缓冲区光标移动到某一偏移量(相对于开始位置)并在那里读取下一个节点。返回的" +"是错误码。" #: doc/classes/XMLParser.xml msgid "" diff --git a/doc/translations/zh_TW.po b/doc/translations/zh_TW.po index 9a4f44af62..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 @@ -15970,6 +15990,11 @@ msgid "" msgstr "" #: doc/classes/Control.xml +#, fuzzy +msgid "Returns [code]true[/code] if drag operation is successful." +msgstr "回傳參數的餘弦值。" + +#: doc/classes/Control.xml msgid "" "Invalidates the size cache in this node and in parent nodes up to toplevel. " "Intended to be used with [method get_minimum_size] when the return value is " @@ -16396,8 +16421,9 @@ msgstr "" #: doc/classes/Control.xml msgid "" "By default, the node's pivot is its top-left corner. When you change its " -"[member rect_scale], it will scale around this pivot. Set this property to " -"[member rect_size] / 2 to center the pivot in the node's rectangle." +"[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 "" #: doc/classes/Control.xml @@ -18741,10 +18767,10 @@ msgid "" "further calculations." msgstr "" -#: doc/classes/Curve2D.xml doc/classes/Curve3D.xml +#: doc/classes/Curve2D.xml msgid "" -"Adds a point to a curve at [code]position[/code], with control points " -"[code]in[/code] and [code]out[/code].\n" +"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" "If [code]at_position[/code] is given, the point is inserted before the point " "number [code]at_position[/code], moving that point (and every point after) " "after the inserted point. If [code]at_position[/code] is not given, or is an " @@ -18896,6 +18922,18 @@ msgid "" msgstr "" #: doc/classes/Curve3D.xml +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" +"If [code]at_position[/code] is given, the point is inserted before the point " +"number [code]at_position[/code], moving that point (and every point after) " +"after the inserted point. If [code]at_position[/code] is not given, or is an " +"illegal value ([code]at_position <0[/code] or [code]at_position >= [method " +"get_point_count][/code]), the point will be appended at the end of the point " +"list." +msgstr "" + +#: doc/classes/Curve3D.xml #, fuzzy msgid "Returns the cache of points as a [PoolVector3Array]." msgstr "回傳參數的反正弦值。" @@ -19704,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" @@ -22497,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 @@ -23383,10 +23421,13 @@ msgstr "" #: doc/classes/Environment.xml msgid "" -"Keeps on screen every pixel drawn in the background. This is the fastest " -"background mode, but it can only be safely used in fully-interior scenes (no " -"visible sky or sky reflections). If enabled in a scene where the background " -"is visible, \"ghost trail\" artifacts will be visible when moving the camera." +"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 " +"not be faster than clearing the background, and can be significantly slower, " +"particularly on mobile.\n" +"It can only be safely used in fully-interior scenes (no visible sky or sky " +"reflections). If enabled in a scene where the background is visible, \"ghost " +"trail\" artifacts will be visible when moving the camera." msgstr "" #: doc/classes/Environment.xml @@ -26848,14 +26889,14 @@ msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Depth of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the depth of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HeightMapShape.xml msgid "" -"Width of the height map data. Changing this will resize the [member " -"map_data]." +"Number of vertices in the width of the height map. Changing this will resize " +"the [member map_data]." msgstr "" #: doc/classes/HFlowContainer.xml @@ -29099,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 @@ -29111,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 @@ -29246,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 " @@ -29260,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 @@ -29271,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 " @@ -29623,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 @@ -29643,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 " @@ -29657,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 @@ -29690,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 @@ -30223,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 @@ -32699,6 +32740,13 @@ msgstr "" msgid "If [code]true[/code], the context menu will appear when right-clicked." msgstr "" +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml +#: doc/classes/TextEdit.xml +msgid "" +"If [code]true[/code], the selected text will be deselected when focus is " +"lost." +msgstr "" + #: doc/classes/LineEdit.xml msgid "" "If [code]false[/code], existing text cannot be modified and new text cannot " @@ -32734,6 +32782,13 @@ msgid "" "[/codeblock]" msgstr "" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +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 "" + #: doc/classes/LineEdit.xml msgid "" "Opacity of the [member placeholder_text]. From [code]0[/code] to [code]1[/" @@ -34049,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 "" @@ -36528,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 @@ -37240,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 @@ -37836,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 @@ -38620,6 +38722,11 @@ msgid "Returns the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +#, fuzzy +msgid "Returns the tooltip of the item at index [code]idx[/code]." +msgstr "計算兩個向量的外積。" + +#: doc/classes/OptionButton.xml msgid "" "Returns the ID of the selected item, or [code]0[/code] if no item is " "selected." @@ -38673,6 +38780,11 @@ msgid "Sets the text of the item at index [code]idx[/code]." msgstr "" #: doc/classes/OptionButton.xml +#, fuzzy +msgid "Sets the tooltip of the item at index [code]idx[/code]." +msgstr "計算兩個向量的外積。" + +#: doc/classes/OptionButton.xml msgid "" "The index of the currently selected item, or [code]-1[/code] if no item is " "selected." @@ -39232,6 +39344,23 @@ msgstr "" #: doc/classes/OS.xml msgid "" +"Returns the current refresh rate of the specified screen. If [code]screen[/" +"code] is [code]-1[/code] (the default value), the current screen will be " +"used.\n" +"[b]Note:[/b] Returns [code]-1.0[/code] if Godot fails to find the refresh " +"rate for the specified screen. On HTML5, [method get_screen_refresh_rate] " +"will always return [code]-1.0[/code] as there is no way to retrieve the " +"refresh rate on that platform.\n" +"To fallback to a default refresh rate if the method fails, try:\n" +"[codeblock]\n" +"var refresh_rate = OS.get_screen_refresh_rate()\n" +"if refresh_rate < 0:\n" +" refresh_rate = 60.0\n" +"[/codeblock]" +msgstr "" + +#: doc/classes/OS.xml +msgid "" "Return the scale factor of the specified screen by index. If [code]screen[/" "code] is [code]-1[/code] (the default value), the current screen will be " "used.\n" @@ -43076,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 @@ -45611,6 +45743,12 @@ msgstr "" #: doc/classes/ProjectSettings.xml 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 "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], enables warnings when a function is declared with the " "same name as a constant." msgstr "" @@ -46034,6 +46172,19 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If enabled, the moment [member Viewport.gui_disable_input] is set to " +"[code]false[/code] to disable GUI input in a viewport, current mouse over " +"and mouse focus will be dropped.\n" +"That behavior helps to keep a robust GUI state, with no surprises when input " +"is resumed regardless what has happened in the meantime.\n" +"If disabled, the legacy behavior is used, which consists in just not doing " +"anything besides the GUI input disable itself.\n" +"[b]Note:[/b] This is set to [code]true[/code] by default for new projects " +"and is the recommended setting." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "If [code]true[/code], swaps OK and Cancel buttons in dialogs on Windows and " "UWP to follow interface conventions." msgstr "" @@ -47003,6 +47154,16 @@ msgid "" msgstr "" #: doc/classes/ProjectSettings.xml +msgid "" +"If [code]true[/code], smooths out collision with trimesh shapes " +"([ConcavePolygonShape]) by telling the Bullet physics engine to generate " +"internal edge information for every trimesh shape created.\n" +"[b]Note:[/b] Only effective if [member physics/3d/physics_engine] is set to " +"[code]DEFAULT[/code] or [code]Bullet[/code], [i]not[/i] [code]GodotPhysics[/" +"code]." +msgstr "" + +#: doc/classes/ProjectSettings.xml msgid "Enables [member Viewport.physics_object_picking] on the root viewport." msgstr "" @@ -47416,6 +47577,14 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"An override for [code]rendering/gles3/shaders/shader_compilation_mode[/" +"code], so asynchronous compilation can be disabled for mobile.\n" +"You may want to do that since mobile GPUs generally won't support " +"ubershaders due to their complexity." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Max buffer size for blend shapes. Any blend shape bigger than this will not " "work." msgstr "" @@ -48348,13 +48517,13 @@ msgstr "" #: doc/classes/Range.xml msgid "" -"Binds two ranges together along with any ranges previously grouped with " +"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 "" #: doc/classes/Range.xml -msgid "Stops range from sharing its member variables with any other." +msgid "Stops the [Range] from sharing its member variables with any other." msgstr "" #: doc/classes/Range.xml @@ -48421,7 +48590,14 @@ msgid "" msgstr "" #: doc/classes/Range.xml -msgid "Emitted when [member value] changes." +msgid "" +"Emitted when [member value] changes. When used on a [Slider], this is called " +"continuously while dragging (potentially every frame). If you are performing " +"an expensive operation in a function connected to [signal value_changed], " +"consider using a [i]debouncing[/i] [Timer] to call the function less often.\n" +"[b]Note:[/b] Unlike signals such as [signal LineEdit.text_changed], [signal " +"value_changed] is also emitted when [code]value[/code] is set directly via " +"code." msgstr "" #: doc/classes/RayCast.xml doc/classes/RayCast2D.xml @@ -55726,11 +55902,11 @@ msgid "" "Returns [code]true[/code] if this string contains a valid float. This is " "inclusive of integers, and also supports exponents:\n" "[codeblock]\n" -"print(\"1.7\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"7e3\".is_valid_float()) # Prints \"true\"\n" -"print(\"24\".is_valid_float()) # Prints \"true\"\n" -"print(\"Hello\".is_valid_float()) # Prints \"false\"\n" +"print(\"1.7\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"7e3\".is_valid_float()) # Prints \"True\"\n" +"print(\"24\".is_valid_float()) # Prints \"True\"\n" +"print(\"Hello\".is_valid_float()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55756,9 +55932,9 @@ msgid "" "identifier may contain only letters, digits and underscores ([code]_[/code]) " "and the first character may not be a digit.\n" "[codeblock]\n" -"print(\"good_ident_1\".is_valid_identifier()) # Prints \"true\"\n" -"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"false\"\n" -"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"false\"\n" +"print(\"good_ident_1\".is_valid_identifier()) # Prints \"True\"\n" +"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"False\"\n" +"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"False\"\n" "[/codeblock]" msgstr "" @@ -55766,11 +55942,11 @@ msgstr "" msgid "" "Returns [code]true[/code] if this string contains a valid integer.\n" "[codeblock]\n" -"print(\"7\".is_valid_int()) # Prints \"true\"\n" -"print(\"14.6\".is_valid_int()) # Prints \"false\"\n" -"print(\"L\".is_valid_int()) # Prints \"false\"\n" -"print(\"+3\".is_valid_int()) # Prints \"true\"\n" -"print(\"-12\".is_valid_int()) # Prints \"true\"\n" +"print(\"7\".is_valid_int()) # Prints \"True\"\n" +"print(\"14.6\".is_valid_int()) # Prints \"False\"\n" +"print(\"L\".is_valid_int()) # Prints \"False\"\n" +"print(\"+3\".is_valid_int()) # Prints \"True\"\n" +"print(\"-12\".is_valid_int()) # Prints \"True\"\n" "[/codeblock]" msgstr "" @@ -55966,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 "" @@ -57566,6 +57742,12 @@ msgid "Returns if the given line is wrapped." msgstr "回傳參數的正切值。" #: doc/classes/TextEdit.xml +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 "" + +#: doc/classes/TextEdit.xml msgid "Returns [code]true[/code] if the selection is active." msgstr "" @@ -59784,6 +59966,13 @@ msgstr "" #: doc/classes/Time.xml msgid "" +"Converts the given timezone offset in minutes to a timezone offset string. " +"For example, -480 returns \"-08:00\", 345 returns \"+05:45\", and 0 returns " +"\"+00:00\"." +msgstr "" + +#: doc/classes/Time.xml +msgid "" "Returns the amount of time passed in milliseconds since the engine started.\n" "Will always be positive or 0 and uses a 64-bit value (it will wrap after " "roughly 500 million years)." @@ -63452,6 +63641,11 @@ msgid "Returns [code]true[/code] if there are visible modals on-screen." msgstr "" #: doc/classes/Viewport.xml +#, fuzzy +msgid "Returns [code]true[/code] if the drag operation is successful." +msgstr "回傳參數的餘弦值。" + +#: doc/classes/Viewport.xml msgid "" "Returns [code]true[/code] if the viewport is currently performing a drag " "operation." |