diff options
Diffstat (limited to 'doc')
140 files changed, 8946 insertions, 2674 deletions
diff --git a/doc/classes/AABB.xml b/doc/classes/AABB.xml index 6e4a4a2145..db880efaf2 100644 --- a/doc/classes/AABB.xml +++ b/doc/classes/AABB.xml @@ -228,11 +228,6 @@ <operators> <operator name="operator !="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator !="> - <return type="bool" /> <argument index="0" name="right" type="AABB" /> <description> Returns [code]true[/code] if the vectors are not equal. @@ -248,11 +243,6 @@ </operator> <operator name="operator =="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator =="> - <return type="bool" /> <argument index="0" name="right" type="AABB" /> <description> Returns [code]true[/code] if the AABBs are exactly equal. 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 6852fb5228..68cb615209 100644 --- a/doc/classes/Array.xml +++ b/doc/classes/Array.xml @@ -511,11 +511,6 @@ <operators> <operator name="operator !="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator !="> - <return type="bool" /> <argument index="0" name="right" type="Array" /> <description> </description> @@ -540,11 +535,6 @@ </operator> <operator name="operator =="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator =="> - <return type="bool" /> <argument index="0" name="right" type="Array" /> <description> </description> 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/Basis.xml b/doc/classes/Basis.xml index f31e962632..3b703884a5 100644 --- a/doc/classes/Basis.xml +++ b/doc/classes/Basis.xml @@ -225,11 +225,6 @@ <operators> <operator name="operator !="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator !="> - <return type="bool" /> <argument index="0" name="right" type="Basis" /> <description> Returns [code]true[/code] if the [Basis] matrices are not equal. @@ -266,11 +261,6 @@ </operator> <operator name="operator =="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator =="> - <return type="bool" /> <argument index="0" name="right" type="Basis" /> <description> Returns [code]true[/code] if the [Basis] matrices are exactly equal. diff --git a/doc/classes/BoxShape3D.xml b/doc/classes/BoxShape3D.xml index 154af1221f..c198dd3405 100644 --- a/doc/classes/BoxShape3D.xml +++ b/doc/classes/BoxShape3D.xml @@ -1,10 +1,11 @@ <?xml version="1.0" encoding="UTF-8" ?> <class name="BoxShape3D" inherits="Shape3D" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> <brief_description> - Box shape resource. + Box shape resource for 3D collisions. </brief_description> <description> - 3D box shape that can be a child of a [PhysicsBody3D] or [Area3D]. + 3D box shape to be added as a [i]direct[/i] child of a [PhysicsBody3D] or [Area3D] using a [CollisionShape3D] node. + [b]Performance:[/b] Being a primitive collision shape, [BoxShape3D] is fast to check collisions against (though not as fast as [SphereShape3D]). </description> <tutorials> <link title="3D Physics Tests Demo">https://godotengine.org/asset-library/asset/675</link> 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/Callable.xml b/doc/classes/Callable.xml index 7c7e37d0a5..efe3e3d091 100644 --- a/doc/classes/Callable.xml +++ b/doc/classes/Callable.xml @@ -150,11 +150,6 @@ <operators> <operator name="operator !="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator !="> - <return type="bool" /> <argument index="0" name="right" type="Callable" /> <description> Returns [code]true[/code] if both [Callable]s invoke different targets. @@ -162,11 +157,6 @@ </operator> <operator name="operator =="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator =="> - <return type="bool" /> <argument index="0" name="right" type="Callable" /> <description> Returns [code]true[/code] if both [Callable]s invoke the same custom target. diff --git a/doc/classes/Camera2D.xml b/doc/classes/Camera2D.xml index 3350735ca2..b9373676e2 100644 --- a/doc/classes/Camera2D.xml +++ b/doc/classes/Camera2D.xml @@ -157,7 +157,7 @@ Speed in pixels per second of the camera's smoothing effect when [member smoothing_enabled] is [code]true[/code]. </member> <member name="zoom" type="Vector2" setter="set_zoom" getter="get_zoom" default="Vector2(1, 1)"> - The camera's zoom relative to the viewport. Values larger than [code]Vector2(1, 1)[/code] zoom out and smaller values zoom in. For an example, use [code]Vector2(0.5, 0.5)[/code] for a 2× zoom-in, and [code]Vector2(4, 4)[/code] for a 4× zoom-out. + The camera's zoom. A zoom of [code]Vector(2, 2)[/code] doubles the size seen in the viewport. A zoom of [code]Vector(0.5, 0.5)[/code] halves the size seen in the viewport. </member> </members> <constants> diff --git a/doc/classes/CanvasItem.xml b/doc/classes/CanvasItem.xml index d71762801c..1fe2f5a756 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> @@ -355,6 +366,13 @@ Returns the mouse's position in this [CanvasItem] using the local coordinate system of this [CanvasItem]. </description> </method> + <method name="get_screen_transform" qualifiers="const"> + <return type="Transform2D" /> + <description> + Returns the transform of this [CanvasItem] in global screen coordinates (i.e. taking window position into account). Mostly useful for editor plugins. + Equals to [method get_global_transform] if the window is embedded (see [member Viewport.gui_embed_subwindows]). + </description> + </method> <method name="get_transform" qualifiers="const"> <return type="Transform2D" /> <description> @@ -421,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"> @@ -506,7 +524,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/CapsuleShape2D.xml b/doc/classes/CapsuleShape2D.xml index ae8e1ca001..2236d8035f 100644 --- a/doc/classes/CapsuleShape2D.xml +++ b/doc/classes/CapsuleShape2D.xml @@ -1,10 +1,11 @@ <?xml version="1.0" encoding="UTF-8" ?> <class name="CapsuleShape2D" inherits="Shape2D" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> <brief_description> - Capsule shape for 2D collisions. + Capsule shape resource for 2D physics. </brief_description> <description> - Capsule shape for 2D collisions. + 2D capsule shape to be added as a [i]direct[/i] child of a [PhysicsBody2D] or [Area2D] using a [CollisionShape2D] node. In 2D, a capsule is a rectangle shape with half-circles at both ends. + [b]Performance:[/b] Being a primitive collision shape, [CapsuleShape2D] is fast to check collisions against (though not as fast as [CircleShape2D]). </description> <tutorials> </tutorials> diff --git a/doc/classes/CapsuleShape3D.xml b/doc/classes/CapsuleShape3D.xml index 5f15aaafad..cdcfab76ce 100644 --- a/doc/classes/CapsuleShape3D.xml +++ b/doc/classes/CapsuleShape3D.xml @@ -1,10 +1,11 @@ <?xml version="1.0" encoding="UTF-8" ?> <class name="CapsuleShape3D" inherits="Shape3D" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> <brief_description> - Capsule shape for collisions. + Capsule shape resource for 3D collisions. </brief_description> <description> - Capsule shape for collisions. + 3D capsule shape to be added as a [i]direct[/i] child of a [PhysicsBody3D] or [Area3D] using a [CollisionShape3D] node. In 3D, a capsule is a cylinder shape with hemispheres at both ends. + [b]Performance:[/b] Being a primitive collision shape, [CapsuleShape3D] is fast to check collisions against (though not as fast as [SphereShape3D]). [CapsuleShape3D] is cheaper to check collisions against compared to [CylinderShape3D]. </description> <tutorials> <link title="3D Physics Tests Demo">https://godotengine.org/asset-library/asset/675</link> diff --git a/doc/classes/CircleShape2D.xml b/doc/classes/CircleShape2D.xml index b0336086dc..6f4989daa3 100644 --- a/doc/classes/CircleShape2D.xml +++ b/doc/classes/CircleShape2D.xml @@ -1,10 +1,11 @@ <?xml version="1.0" encoding="UTF-8" ?> <class name="CircleShape2D" inherits="Shape2D" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> <brief_description> - Circular shape for 2D collisions. + Circular shape resource for 2D physics. </brief_description> <description> - Circular shape for 2D collisions. This shape is useful for modeling balls or small characters and its collision detection with everything else is very fast. + 2D circular shape to be added as a [i]direct[/i] child of a [PhysicsBody2D] or [Area2D] using a [CollisionShape2D] node. This shape is useful for modeling balls or small characters and its collision detection with everything else is very fast. + [b]Performance:[/b] Being a primitive collision shape, [CircleShape2D] is the fastest collision shape to check collisions against, as it only requires a distance check with the shape's origin. </description> <tutorials> </tutorials> diff --git a/doc/classes/CollisionPolygon2D.xml b/doc/classes/CollisionPolygon2D.xml index 48fd7c19dc..a9d8a85226 100644 --- a/doc/classes/CollisionPolygon2D.xml +++ b/doc/classes/CollisionPolygon2D.xml @@ -4,7 +4,8 @@ Defines a 2D collision polygon. </brief_description> <description> - Provides a 2D collision polygon to a [CollisionObject2D] parent. Polygons can be drawn in the editor or specified by a list of vertices. + Provides a concave or convex 2D collision polygon to a [CollisionObject2D] parent. Polygons can be drawn in the editor or specified by a list of vertices. See also [ConvexPolygonShape2D]. + In the editor, a [CollisionPolygon2D] can be generated from a [Sprite2D]'s outline by selecting a [Sprite2D] node, going to the [b]Sprite2D[/b] menu at the top of the 2D editor viewport then choosing [b]Create CollisionPolygon2D Sibling[/b]. </description> <tutorials> </tutorials> diff --git a/doc/classes/CollisionPolygon3D.xml b/doc/classes/CollisionPolygon3D.xml index c8c3752254..7d718cff27 100644 --- a/doc/classes/CollisionPolygon3D.xml +++ b/doc/classes/CollisionPolygon3D.xml @@ -1,10 +1,11 @@ <?xml version="1.0" encoding="UTF-8" ?> <class name="CollisionPolygon3D" inherits="Node3D" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> <brief_description> - Editor-only class for defining a collision polygon in 3D space. + Editor-only node for defining a collision polygon in 3D space. </brief_description> <description> - Allows editing a collision polygon's vertices on a selected plane. Can also set a depth perpendicular to that plane. This class is only available in the editor. It will not appear in the scene tree at run-time. Creates a [Shape3D] for gameplay. Properties modified during gameplay will have no effect. + Allows editing a concave or convex collision polygon's vertices on a selected plane. Can also set a depth perpendicular to that plane. This class is only available in the editor. It will not appear in the scene tree at run-time. Creates several [ConvexPolygonShape3D]s at run-time to represent the original polygon using convex decomposition. + [b]Note:[/b] Since this is an editor-only helper, properties modified during gameplay will have no effect. </description> <tutorials> </tutorials> diff --git a/doc/classes/Color.xml b/doc/classes/Color.xml index bc0baf42c9..e30d448a27 100644 --- a/doc/classes/Color.xml +++ b/doc/classes/Color.xml @@ -473,343 +473,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,108 +818,103 @@ <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> <operators> <operator name="operator !="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator !="> - <return type="bool" /> <argument index="0" name="right" type="Color" /> <description> Returns [code]true[/code] if the colors are not equal. @@ -984,11 +979,6 @@ </operator> <operator name="operator =="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator =="> - <return type="bool" /> <argument index="0" name="right" type="Color" /> <description> Returns [code]true[/code] if the colors are exactly equal. diff --git a/doc/classes/ConcavePolygonShape2D.xml b/doc/classes/ConcavePolygonShape2D.xml index 924178f9bf..f3c245c229 100644 --- a/doc/classes/ConcavePolygonShape2D.xml +++ b/doc/classes/ConcavePolygonShape2D.xml @@ -1,11 +1,12 @@ <?xml version="1.0" encoding="UTF-8" ?> <class name="ConcavePolygonShape2D" inherits="Shape2D" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> <brief_description> - Concave polygon 2D shape resource for physics. + Concave polygon shape resource for 2D physics. </brief_description> <description> - Concave polygon 2D shape resource for physics. It is made out of segments and is optimal for complex polygonal concave collisions. However, it is not advised to use for [RigidDynamicBody2D] nodes. A CollisionPolygon2D in convex decomposition mode (solids) or several convex objects are advised for that instead. Otherwise, a concave polygon 2D shape is better for static collisions. - The main difference between a [ConvexPolygonShape2D] and a [ConcavePolygonShape2D] is that a concave polygon assumes it is concave and uses a more complex method of collision detection, and a convex one forces itself to be convex in order to speed up collision detection. + 2D concave polygon shape to be added as a [i]direct[/i] child of a [PhysicsBody2D] or [Area2D] using a [CollisionShape2D] node. It is made out of segments and is optimal for complex polygonal concave collisions. However, it is not advised to use for [RigidDynamicBody2D] nodes. A CollisionPolygon2D in convex decomposition mode (solids) or several convex objects are advised for that instead. Otherwise, a concave polygon 2D shape is better for static collisions. + The main difference between a [ConvexPolygonShape2D] and a [ConcavePolygonShape2D] is that a concave polygon assumes it is concave and uses a more complex method of collision detection, and a convex one forces itself to be convex to speed up collision detection. + [b]Performance:[/b] Due to its complexity, [ConcavePolygonShape2D] is the slowest collision shape to check collisions against. Its use should generally be limited to level geometry. For convex geometry, using [ConvexPolygonShape2D] will perform better. For dynamic physics bodies that need concave collision, several [ConvexPolygonShape2D]s can be used to represent its collision by using convex decomposition; see [ConvexPolygonShape2D]'s documentation for instructions. However, consider using primitive collision shapes such as [CircleShape2D] or [RectangleShape2D] first. </description> <tutorials> </tutorials> diff --git a/doc/classes/ConcavePolygonShape3D.xml b/doc/classes/ConcavePolygonShape3D.xml index 4e67f91db8..60d7e32492 100644 --- a/doc/classes/ConcavePolygonShape3D.xml +++ b/doc/classes/ConcavePolygonShape3D.xml @@ -1,11 +1,12 @@ <?xml version="1.0" encoding="UTF-8" ?> <class name="ConcavePolygonShape3D" inherits="Shape3D" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> <brief_description> - Concave polygon shape. + Concave polygon shape resource (also called "trimesh") for 3D physics. </brief_description> <description> - Concave polygon shape resource, which can be set into a [PhysicsBody3D] or area. This shape is created by feeding a list of triangles. + 3D concave polygon shape resource (also called "trimesh") to be added as a [i]direct[/i] child of a [PhysicsBody3D] or [Area3D] using a [CollisionShape3D] node. This shape is created by feeding a list of triangles. Despite its name, [ConcavePolygonShape3D] can also store convex polygon shapes. However, unlike [ConvexPolygonShape3D], [ConcavePolygonShape3D] is [i]not[/i] limited to storing convex shapes exclusively. [b]Note:[/b] When used for collision, [ConcavePolygonShape3D] is intended to work with static [PhysicsBody3D] nodes like [StaticBody3D] and will not work with [CharacterBody3D] or [RigidDynamicBody3D] with a mode other than Static. + [b]Performance:[/b] Due to its complexity, [ConcavePolygonShape3D] is the slowest collision shape to check collisions against. Its use should generally be limited to level geometry. For convex geometry, using [ConvexPolygonShape3D] will perform better. For dynamic physics bodies that need concave collision, several [ConvexPolygonShape3D]s can be used to represent its collision by using convex decomposition; see [ConvexPolygonShape3D]'s documentation for instructions. However, consider using primitive collision shapes such as [SphereShape3D] or [BoxShape3D] first. </description> <tutorials> <link title="3D Physics Tests Demo">https://godotengine.org/asset-library/asset/675</link> diff --git a/doc/classes/Control.xml b/doc/classes/Control.xml index 97fd584ed1..3163ac5610 100644 --- a/doc/classes/Control.xml +++ b/doc/classes/Control.xml @@ -417,6 +417,19 @@ Returns the position and size of the control relative to the top-left corner of the parent Control. See [member position] and [member size]. </description> </method> + <method name="get_screen_position" qualifiers="const"> + <return type="Vector2" /> + <description> + Returns the position of this [Control] in global screen coordinates (i.e. taking window position into account). Mostly useful for editor plugins. + Equals to [member global_position] if the window is embedded (see [member Viewport.gui_embed_subwindows]). + Example usage for showing a popup: + [codeblock] + popup_menu.position = get_screen_position() + get_local_mouse_position() + popup_menu.reset_size() + popup_menu.popup() + [/codeblock] + </description> + </method> <method name="get_theme_color" qualifiers="const"> <return type="Color" /> <argument index="0" name="name" type="StringName" /> diff --git a/doc/classes/ConvexPolygonShape2D.xml b/doc/classes/ConvexPolygonShape2D.xml index 449c3132c7..df96b50fc1 100644 --- a/doc/classes/ConvexPolygonShape2D.xml +++ b/doc/classes/ConvexPolygonShape2D.xml @@ -1,11 +1,12 @@ <?xml version="1.0" encoding="UTF-8" ?> <class name="ConvexPolygonShape2D" inherits="Shape2D" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> <brief_description> - Convex polygon shape for 2D physics. + Convex polygon shape resource for 2D physics. </brief_description> <description> - Convex polygon shape for 2D physics. A convex polygon, whatever its shape, is internally decomposed into as many convex polygons as needed to ensure all collision checks against it are always done on convex polygons (which are faster to check). - The main difference between a [ConvexPolygonShape2D] and a [ConcavePolygonShape2D] is that a concave polygon assumes it is concave and uses a more complex method of collision detection, and a convex one forces itself to be convex in order to speed up collision detection. + 2D convex polygon shape to be added as a [i]direct[/i] child of a [PhysicsBody2D] or [Area2D] using a [CollisionShape2D] node. A convex polygon, whatever its shape, is internally decomposed into as many convex polygons as needed to ensure all collision checks against it are always done on convex polygons (which are faster to check). See also [CollisionPolygon2D]. + The main difference between a [ConvexPolygonShape2D] and a [ConcavePolygonShape2D] is that a concave polygon assumes it is concave and uses a more complex method of collision detection, and a convex one forces itself to be convex to speed up collision detection. + [b]Performance:[/b] [ConvexPolygonShape2D] is faster to check collisions against compared to [ConcavePolygonShape2D], but it is slower than primitive collision shapes such as [CircleShape2D] or [RectangleShape2D]. Its use should generally be limited to medium-sized objects that cannot have their collision accurately represented by a primitive shape. </description> <tutorials> </tutorials> diff --git a/doc/classes/ConvexPolygonShape3D.xml b/doc/classes/ConvexPolygonShape3D.xml index d2f110d187..32dc8f673b 100644 --- a/doc/classes/ConvexPolygonShape3D.xml +++ b/doc/classes/ConvexPolygonShape3D.xml @@ -1,10 +1,12 @@ <?xml version="1.0" encoding="UTF-8" ?> <class name="ConvexPolygonShape3D" inherits="Shape3D" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> <brief_description> - Convex polygon shape for 3D physics. + Convex polygon shape resource for 3D physics. </brief_description> <description> - Convex polygon shape resource, which can be added to a [PhysicsBody3D] or area. + 3D convex polygon shape resource to be added as a [i]direct[/i] child of a [PhysicsBody3D] or [Area3D] using a [CollisionShape3D] node. Unlike [ConcavePolygonShape3D], [ConvexPolygonShape3D] cannot store concave polygon shapes. [ConvexPolygonShape2D]s can be manually drawn in the editor using the [CollisionPolygon3D] node. + [b]Convex decomposition:[/b] Concave objects' collisions can be represented accurately using [i]several[/i] [ConvexPolygonShape3D]s. This allows dynamic physics bodies to have complex concave collisions (at a performance cost). This is available in the editor by selecting the [MeshInstance3D], going to the [b]Mesh[/b] menu and choosing [b]Create Multiple Convex Collision Siblings[/b]. Alternatively, [method MeshInstance3D.create_multiple_convex_collisions] can be called in a script to perform this decomposition at run-time. + [b]Performance:[/b] [ConvexPolygonShape3D] is faster to check collisions against compared to [ConcavePolygonShape3D], but it is slower than primitive collision shapes such as [SphereShape3D] or [BoxShape3D]. Its use should generally be limited to medium-sized objects that cannot have their collision accurately represented by a primitive shape. </description> <tutorials> <link title="3D Physics Tests Demo">https://godotengine.org/asset-library/asset/675</link> diff --git a/doc/classes/CylinderShape3D.xml b/doc/classes/CylinderShape3D.xml index 06ad590bb3..6ff142da59 100644 --- a/doc/classes/CylinderShape3D.xml +++ b/doc/classes/CylinderShape3D.xml @@ -1,10 +1,11 @@ <?xml version="1.0" encoding="UTF-8" ?> <class name="CylinderShape3D" inherits="Shape3D" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> <brief_description> - Cylinder shape for collisions. + Cylinder shape for 3D collisions. </brief_description> <description> - Cylinder shape for collisions. + Cylinder shape for collisions. Like [CapsuleShape3D], but without hemispheres at the cylinder's ends. + [b]Performance:[/b] Being a primitive collision shape, [CylinderShape3D] is fast to check collisions against (though not as fast as [SphereShape3D]). [CylinderShape3D] is also more demanding compared to [CapsuleShape3D]. </description> <tutorials> <link title="Third Person Shooter Demo">https://godotengine.org/asset-library/asset/678</link> diff --git a/doc/classes/Dictionary.xml b/doc/classes/Dictionary.xml index ab04366eb7..8ee09ba8f8 100644 --- a/doc/classes/Dictionary.xml +++ b/doc/classes/Dictionary.xml @@ -307,22 +307,12 @@ <operators> <operator name="operator !="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator !="> - <return type="bool" /> <argument index="0" name="right" type="Dictionary" /> <description> </description> </operator> <operator name="operator =="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator =="> - <return type="bool" /> <argument index="0" name="right" type="Dictionary" /> <description> </description> 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/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/EditorFileDialog.xml b/doc/classes/EditorFileDialog.xml index 0474cbd387..b1fd7b4e76 100644 --- a/doc/classes/EditorFileDialog.xml +++ b/doc/classes/EditorFileDialog.xml @@ -40,13 +40,13 @@ <member name="access" type="int" setter="set_access" getter="get_access" enum="EditorFileDialog.Access" default="0"> The location from which the user may select a file, including [code]res://[/code], [code]user://[/code], and the local file system. </member> - <member name="current_dir" type="String" setter="set_current_dir" getter="get_current_dir" default=""res://""> + <member name="current_dir" type="String" setter="set_current_dir" getter="get_current_dir"> The currently occupied directory. </member> - <member name="current_file" type="String" setter="set_current_file" getter="get_current_file" default=""""> + <member name="current_file" type="String" setter="set_current_file" getter="get_current_file"> The currently selected file. </member> - <member name="current_path" type="String" setter="set_current_path" getter="get_current_path" default=""res://""> + <member name="current_path" type="String" setter="set_current_path" getter="get_current_path"> The file system path in the address bar. </member> <member name="dialog_hide_on_ok" type="bool" setter="set_hide_on_ok" getter="get_hide_on_ok" overrides="AcceptDialog" default="false" /> 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/FileDialog.xml b/doc/classes/FileDialog.xml index 05d90390f8..db536a738a 100644 --- a/doc/classes/FileDialog.xml +++ b/doc/classes/FileDialog.xml @@ -56,13 +56,13 @@ The file system access scope. See enum [code]Access[/code] constants. [b]Warning:[/b] Currently, in sandboxed environments such as HTML5 builds or sandboxed macOS apps, FileDialog cannot access the host file system. See [url=https://github.com/godotengine/godot-proposals/issues/1123]godot-proposals#1123[/url]. </member> - <member name="current_dir" type="String" setter="set_current_dir" getter="get_current_dir" default=""res://""> + <member name="current_dir" type="String" setter="set_current_dir" getter="get_current_dir"> The current working directory of the file dialog. </member> - <member name="current_file" type="String" setter="set_current_file" getter="get_current_file" default=""""> + <member name="current_file" type="String" setter="set_current_file" getter="get_current_file"> The currently selected file of the file dialog. </member> - <member name="current_path" type="String" setter="set_current_path" getter="get_current_path" default=""res://""> + <member name="current_path" type="String" setter="set_current_path" getter="get_current_path"> The currently selected file path of the file dialog. </member> <member name="dialog_hide_on_ok" type="bool" setter="set_hide_on_ok" getter="get_hide_on_ok" overrides="AcceptDialog" default="false" /> diff --git a/doc/classes/Font.xml b/doc/classes/Font.xml index 4ba15d7afc..f357cb05b5 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 passsed 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/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/HeightMapShape3D.xml b/doc/classes/HeightMapShape3D.xml index b8fe094490..206981e547 100644 --- a/doc/classes/HeightMapShape3D.xml +++ b/doc/classes/HeightMapShape3D.xml @@ -1,10 +1,11 @@ <?xml version="1.0" encoding="UTF-8" ?> <class name="HeightMapShape3D" inherits="Shape3D" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> <brief_description> - Height map shape for 3D physics. + Height map shape resource for 3D physics. </brief_description> <description> - Height map shape resource, which can be added to a [PhysicsBody3D] or [Area3D]. + Height map shape resource, which can be added to a [PhysicsBody3D] or [Area3D]. Heightmap collision is typically used for colliding with terrains. However, since heightmaps cannot store overhangs, collisions with other structures (such as buildings) must be done with other collision shapes such as [ConcavePolygonShape3D]. If needed, "holes" can be created in an [HeightMapShape3D] by assigning very low points (like [code]-100000[/code]) in the desired area. + [b]Performance:[/b] [HeightMapShape3D] is faster to check collisions against compared to [ConcavePolygonShape3D], but it is slower than primitive collision shapes such as [SphereShape3D] or [BoxShape3D]. </description> <tutorials> </tutorials> diff --git a/doc/classes/Input.xml b/doc/classes/Input.xml index 2cbcfb8d9b..64a914bb31 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> 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/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/ItemList.xml b/doc/classes/ItemList.xml index 48fa009300..06bd64577b 100644 --- a/doc/classes/ItemList.xml +++ b/doc/classes/ItemList.xml @@ -7,6 +7,7 @@ This control provides a selectable list of items that may be in a single (or multiple columns) with option of text, icons, or both text and icon. Tooltips are supported and may be different for every item in the list. Selectable items in the list may be selected or deselected and multiple selection may be enabled. Selection with right mouse button may also be enabled to allow use of popup context menus. Items may also be "activated" by double-clicking them or by pressing [kbd]Enter[/kbd]. Item text only supports single-line strings, newline characters (e.g. [code]\n[/code]) in the string won't produce a newline. Text wrapping is enabled in [constant ICON_MODE_TOP] mode, but column's width is adjusted to fully fit its content by default. You need to set [member fixed_column_width] greater than zero to wrap the text. + All [code]set_*[/code] methods allow negative item index, which makes the item accessed from the last one. </description> <tutorials> </tutorials> 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/Node.xml b/doc/classes/Node.xml index 5291ecab08..28b104e276 100644 --- a/doc/classes/Node.xml +++ b/doc/classes/Node.xml @@ -133,7 +133,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"> @@ -717,6 +717,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/NodePath.xml b/doc/classes/NodePath.xml index 3d3e139781..3319e5d822 100644 --- a/doc/classes/NodePath.xml +++ b/doc/classes/NodePath.xml @@ -5,21 +5,22 @@ </brief_description> <description> A pre-parsed relative or absolute path in a scene tree, for use with [method Node.get_node] and similar functions. It can reference a node, a resource within a node, or a property of a node or resource. For instance, [code]"Path2D/PathFollow2D/Sprite2D:texture:size"[/code] would refer to the [code]size[/code] property of the [code]texture[/code] resource on the node named [code]"Sprite2D"[/code] which is a child of the other named nodes in the path. - You will usually just pass a string to [method Node.get_node] and it will be automatically converted, but you may occasionally want to parse a path ahead of time with [NodePath] or the literal syntax [code]@"path"[/code]. Exporting a [NodePath] variable will give you a node selection widget in the properties panel of the editor, which can often be useful. + You will usually just pass a string to [method Node.get_node] and it will be automatically converted, but you may occasionally want to parse a path ahead of time with [NodePath] or the literal syntax [code]^"path"[/code]. Exporting a [NodePath] variable will give you a node selection widget in the properties panel of the editor, which can often be useful. A [NodePath] is composed of a list of slash-separated node names (like a filesystem path) and an optional colon-separated list of "subnames" which can be resources or properties. Some examples of NodePaths include the following: [codeblock] # No leading slash means it is relative to the current node. - @"A" # Immediate child A - @"A/B" # A's child B - @"." # The current node. - @".." # The parent node. - @"../C" # A sibling node C. + ^"A" # Immediate child A + ^"A/B" # A's child B + ^"." # The current node. + ^".." # The parent node. + ^"../C" # A sibling node C. # A leading slash means it is absolute from the SceneTree. - @"/root" # Equivalent to get_tree().get_root(). - @"/root/Main" # If your main scene's root node were named "Main". - @"/root/MyAutoload" # If you have an autoloaded node or scene. + ^"/root" # Equivalent to get_tree().get_root(). + ^"/root/Main" # If your main scene's root node were named "Main". + ^"/root/MyAutoload" # If you have an autoloaded node or scene. [/codeblock] + See also [StringName], which is a similar concept for general-purpose string interning. [b]Note:[/b] In the editor, [NodePath] properties are automatically updated when moving, renaming or deleting a node in the scene tree, but they are never updated at runtime. </description> <tutorials> @@ -36,7 +37,7 @@ <return type="NodePath" /> <argument index="0" name="from" type="NodePath" /> <description> - Constructs a [NodePath] as a copy of the given [NodePath]. + Constructs a [NodePath] as a copy of the given [NodePath]. [code]NodePath("example")[/code] is equivalent to [code]^"example"[/code]. </description> </constructor> <constructor name="NodePath"> @@ -172,22 +173,12 @@ <operators> <operator name="operator !="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator !="> - <return type="bool" /> <argument index="0" name="right" type="NodePath" /> <description> </description> </operator> <operator name="operator =="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator =="> - <return type="bool" /> <argument index="0" name="right" type="NodePath" /> <description> </description> 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/PackedByteArray.xml b/doc/classes/PackedByteArray.xml index be51b1dcf8..a0e67bfa63 100644 --- a/doc/classes/PackedByteArray.xml +++ b/doc/classes/PackedByteArray.xml @@ -418,11 +418,6 @@ <operators> <operator name="operator !="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator !="> - <return type="bool" /> <argument index="0" name="right" type="PackedByteArray" /> <description> </description> @@ -435,11 +430,6 @@ </operator> <operator name="operator =="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator =="> - <return type="bool" /> <argument index="0" name="right" type="PackedByteArray" /> <description> </description> diff --git a/doc/classes/PackedColorArray.xml b/doc/classes/PackedColorArray.xml index f98c5c37e4..d1a00b32b1 100644 --- a/doc/classes/PackedColorArray.xml +++ b/doc/classes/PackedColorArray.xml @@ -154,11 +154,6 @@ <operators> <operator name="operator !="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator !="> - <return type="bool" /> <argument index="0" name="right" type="PackedColorArray" /> <description> </description> @@ -171,11 +166,6 @@ </operator> <operator name="operator =="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator =="> - <return type="bool" /> <argument index="0" name="right" type="PackedColorArray" /> <description> </description> diff --git a/doc/classes/PackedFloat32Array.xml b/doc/classes/PackedFloat32Array.xml index 393af5f6c4..b351058346 100644 --- a/doc/classes/PackedFloat32Array.xml +++ b/doc/classes/PackedFloat32Array.xml @@ -157,11 +157,6 @@ <operators> <operator name="operator !="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator !="> - <return type="bool" /> <argument index="0" name="right" type="PackedFloat32Array" /> <description> </description> @@ -174,11 +169,6 @@ </operator> <operator name="operator =="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator =="> - <return type="bool" /> <argument index="0" name="right" type="PackedFloat32Array" /> <description> </description> diff --git a/doc/classes/PackedFloat64Array.xml b/doc/classes/PackedFloat64Array.xml index 5a80d7b2e9..b4ffa295bd 100644 --- a/doc/classes/PackedFloat64Array.xml +++ b/doc/classes/PackedFloat64Array.xml @@ -157,11 +157,6 @@ <operators> <operator name="operator !="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator !="> - <return type="bool" /> <argument index="0" name="right" type="PackedFloat64Array" /> <description> </description> @@ -174,11 +169,6 @@ </operator> <operator name="operator =="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator =="> - <return type="bool" /> <argument index="0" name="right" type="PackedFloat64Array" /> <description> </description> diff --git a/doc/classes/PackedInt32Array.xml b/doc/classes/PackedInt32Array.xml index 17085a9626..b34deb518a 100644 --- a/doc/classes/PackedInt32Array.xml +++ b/doc/classes/PackedInt32Array.xml @@ -157,11 +157,6 @@ <operators> <operator name="operator !="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator !="> - <return type="bool" /> <argument index="0" name="right" type="PackedInt32Array" /> <description> </description> @@ -174,11 +169,6 @@ </operator> <operator name="operator =="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator =="> - <return type="bool" /> <argument index="0" name="right" type="PackedInt32Array" /> <description> </description> diff --git a/doc/classes/PackedInt64Array.xml b/doc/classes/PackedInt64Array.xml index 066bc05f54..6a99db778c 100644 --- a/doc/classes/PackedInt64Array.xml +++ b/doc/classes/PackedInt64Array.xml @@ -157,11 +157,6 @@ <operators> <operator name="operator !="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator !="> - <return type="bool" /> <argument index="0" name="right" type="PackedInt64Array" /> <description> </description> @@ -174,11 +169,6 @@ </operator> <operator name="operator =="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator =="> - <return type="bool" /> <argument index="0" name="right" type="PackedInt64Array" /> <description> </description> diff --git a/doc/classes/PackedStringArray.xml b/doc/classes/PackedStringArray.xml index 3cf43ecb28..29c72f62de 100644 --- a/doc/classes/PackedStringArray.xml +++ b/doc/classes/PackedStringArray.xml @@ -155,11 +155,6 @@ <operators> <operator name="operator !="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator !="> - <return type="bool" /> <argument index="0" name="right" type="PackedStringArray" /> <description> </description> @@ -172,11 +167,6 @@ </operator> <operator name="operator =="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator =="> - <return type="bool" /> <argument index="0" name="right" type="PackedStringArray" /> <description> </description> diff --git a/doc/classes/PackedVector2Array.xml b/doc/classes/PackedVector2Array.xml index 9abc366702..cd78f29595 100644 --- a/doc/classes/PackedVector2Array.xml +++ b/doc/classes/PackedVector2Array.xml @@ -155,11 +155,6 @@ <operators> <operator name="operator !="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator !="> - <return type="bool" /> <argument index="0" name="right" type="PackedVector2Array" /> <description> </description> @@ -178,11 +173,6 @@ </operator> <operator name="operator =="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator =="> - <return type="bool" /> <argument index="0" name="right" type="PackedVector2Array" /> <description> </description> diff --git a/doc/classes/PackedVector3Array.xml b/doc/classes/PackedVector3Array.xml index ff9fc6a757..9ae4073fdf 100644 --- a/doc/classes/PackedVector3Array.xml +++ b/doc/classes/PackedVector3Array.xml @@ -154,11 +154,6 @@ <operators> <operator name="operator !="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator !="> - <return type="bool" /> <argument index="0" name="right" type="PackedVector3Array" /> <description> </description> @@ -177,11 +172,6 @@ </operator> <operator name="operator =="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator =="> - <return type="bool" /> <argument index="0" name="right" type="PackedVector3Array" /> <description> </description> 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/Plane.xml b/doc/classes/Plane.xml index f037b0bf1e..a42ceba777 100644 --- a/doc/classes/Plane.xml +++ b/doc/classes/Plane.xml @@ -173,11 +173,6 @@ <operators> <operator name="operator !="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator !="> - <return type="bool" /> <argument index="0" name="right" type="Plane" /> <description> Returns [code]true[/code] if the planes are not equal. @@ -186,11 +181,6 @@ </operator> <operator name="operator =="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator =="> - <return type="bool" /> <argument index="0" name="right" type="Plane" /> <description> Returns [code]true[/code] if the planes are exactly equal. diff --git a/doc/classes/PopupMenu.xml b/doc/classes/PopupMenu.xml index b64c392357..4bcfc3c726 100644 --- a/doc/classes/PopupMenu.xml +++ b/doc/classes/PopupMenu.xml @@ -7,6 +7,7 @@ [PopupMenu] is a modal window used to display a list of options. They are popular in toolbars or context menus. The size of a [PopupMenu] can be limited by using [member Window.max_size]. If the height of the list of items is larger than the maximum height of the [PopupMenu], a [ScrollContainer] within the popup will allow the user to scroll the contents. If no maximum size is set, or if it is set to 0, the [PopupMenu] height will be limited by its parent rect. + All [code]set_*[/code] methods allow negative item index, which makes the item accessed from the last one. </description> <tutorials> </tutorials> 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/ProceduralSkyMaterial.xml b/doc/classes/ProceduralSkyMaterial.xml index 2b15508119..bf33232406 100644 --- a/doc/classes/ProceduralSkyMaterial.xml +++ b/doc/classes/ProceduralSkyMaterial.xml @@ -23,6 +23,12 @@ <member name="ground_horizon_color" type="Color" setter="set_ground_horizon_color" getter="get_ground_horizon_color" default="Color(0.6463, 0.6558, 0.6708, 1)"> Color of the ground at the horizon. Blends with [member ground_bottom_color]. </member> + <member name="sky_cover" type="Texture2D" setter="set_sky_cover" getter="get_sky_cover"> + The sky cover texture to use. This texture must use an equirectangular projection (similar to [PanoramaSkyMaterial]). The texture's colors will be [i]added[/i] to the existing sky color, and will be multiplied by [member sky_energy] and [member sky_cover_modulate]. This is mainly suited to displaying stars at night, but it can also be used to display clouds at day or night (with a non-physically-accurate look). + </member> + <member name="sky_cover_modulate" type="Color" setter="set_sky_cover_modulate" getter="get_sky_cover_modulate" default="Color(1, 1, 1, 1)"> + The tint to apply to the [member sky_cover] texture. This can be used to change the sky cover's colors or opacity independently of the sky energy, which is useful for day/night or weather transitions. Only effective if a texture is defined in [member sky_cover]. + </member> <member name="sky_curve" type="float" setter="set_sky_curve" getter="get_sky_curve" default="0.15"> How quickly the [member sky_horizon_color] fades into the [member sky_top_color]. </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..a8b4129061 100644 --- a/doc/classes/ProjectSettings.xml +++ b/doc/classes/ProjectSettings.xml @@ -1655,11 +1655,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. diff --git a/doc/classes/Quaternion.xml b/doc/classes/Quaternion.xml index c94b649b58..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> @@ -188,11 +198,6 @@ <operators> <operator name="operator !="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator !="> - <return type="bool" /> <argument index="0" name="right" type="Quaternion" /> <description> Returns [code]true[/code] if the quaternions are not equal. @@ -257,11 +262,6 @@ </operator> <operator name="operator =="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator =="> - <return type="bool" /> <argument index="0" name="right" type="Quaternion" /> <description> Returns [code]true[/code] if the quaternions are exactly equal. diff --git a/doc/classes/RID.xml b/doc/classes/RID.xml index 6888c1f56c..39be605e1b 100644 --- a/doc/classes/RID.xml +++ b/doc/classes/RID.xml @@ -40,11 +40,6 @@ <operators> <operator name="operator !="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator !="> - <return type="bool" /> <argument index="0" name="right" type="RID" /> <description> </description> @@ -63,11 +58,6 @@ </operator> <operator name="operator =="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator =="> - <return type="bool" /> <argument index="0" name="right" type="RID" /> <description> </description> diff --git a/doc/classes/Range.xml b/doc/classes/Range.xml index c150198eb1..9743d969ca 100644 --- a/doc/classes/Range.xml +++ b/doc/classes/Range.xml @@ -13,51 +13,52 @@ <return type="void" /> <argument index="0" name="" type="float" /> <description> + Called when the [Range]'s value is changed (following the same conditions as [signal value_changed]). </description> </method> <method name="share"> <return type="void" /> <argument index="0" name="with" type="Node" /> <description> - Binds two ranges 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. + 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. </description> </method> <method name="unshare"> <return type="void" /> <description> - Stops range from sharing its member variables with any other. + Stops the [Range] from sharing its member variables with any other. </description> </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> @@ -70,7 +71,8 @@ <signal name="value_changed"> <argument index="0" name="value" type="float" /> <description> - Emitted when [member value] changes. + 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. + [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. </description> </signal> </signals> diff --git a/doc/classes/Rect2.xml b/doc/classes/Rect2.xml index a975382bfa..e4b66a9d53 100644 --- a/doc/classes/Rect2.xml +++ b/doc/classes/Rect2.xml @@ -189,11 +189,6 @@ <operators> <operator name="operator !="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator !="> - <return type="bool" /> <argument index="0" name="right" type="Rect2" /> <description> Returns [code]true[/code] if the rectangles are not equal. @@ -209,11 +204,6 @@ </operator> <operator name="operator =="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator =="> - <return type="bool" /> <argument index="0" name="right" type="Rect2" /> <description> Returns [code]true[/code] if the rectangles are exactly equal. diff --git a/doc/classes/Rect2i.xml b/doc/classes/Rect2i.xml index 49fdd8e7e8..c9ae685a15 100644 --- a/doc/classes/Rect2i.xml +++ b/doc/classes/Rect2i.xml @@ -178,11 +178,6 @@ <operators> <operator name="operator !="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator !="> - <return type="bool" /> <argument index="0" name="right" type="Rect2i" /> <description> Returns [code]true[/code] if the rectangles are not equal. @@ -190,11 +185,6 @@ </operator> <operator name="operator =="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator =="> - <return type="bool" /> <argument index="0" name="right" type="Rect2i" /> <description> Returns [code]true[/code] if the rectangles are equal. diff --git a/doc/classes/RectangleShape2D.xml b/doc/classes/RectangleShape2D.xml index cc3da8a789..124d752ae0 100644 --- a/doc/classes/RectangleShape2D.xml +++ b/doc/classes/RectangleShape2D.xml @@ -1,10 +1,11 @@ <?xml version="1.0" encoding="UTF-8" ?> <class name="RectangleShape2D" inherits="Shape2D" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> <brief_description> - Rectangle shape for 2D collisions. + Rectangle shape resource for 2D physics. </brief_description> <description> - Rectangle shape for 2D collisions. This shape is useful for modeling box-like 2D objects. + 2D rectangle shape to be added as a [i]direct[/i] child of a [PhysicsBody2D] or [Area2D] using a [CollisionShape2D] node. This shape is useful for modeling box-like 2D objects. + [b]Performance:[/b] Being a primitive collision shape, [RectangleShape2D] is fast to check collisions against (though not as fast as [CircleShape2D]). </description> <tutorials> <link title="2D Pong Demo">https://godotengine.org/asset-library/asset/121</link> diff --git a/doc/classes/RenderingServer.xml b/doc/classes/RenderingServer.xml index 50990b5320..f1a15a08dd 100644 --- a/doc/classes/RenderingServer.xml +++ b/doc/classes/RenderingServer.xml @@ -149,6 +149,17 @@ Once finished with your RID, you will want to free the RID using the RenderingServer's [method free_rid] static method. </description> </method> + <method name="canvas_item_add_animation_slice"> + <return type="void" /> + <argument index="0" name="item" type="RID" /> + <argument index="1" name="animation_length" type="float" /> + <argument index="2" name="slice_begin" type="float" /> + <argument index="3" name="slice_end" type="float" /> + <argument index="4" name="offset" type="float" default="0.0" /> + <description> + Subsequent drawing commands will be ignored unless they fall within the specified animation slice. This is a faster way to implement animations that loop on background rather than redrawing constantly. + </description> + </method> <method name="canvas_item_add_circle"> <return type="void" /> <argument index="0" name="item" type="RID" /> @@ -1605,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> @@ -3784,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..e805d3469c 100644 --- a/doc/classes/RichTextLabel.xml +++ b/doc/classes/RichTextLabel.xml @@ -256,6 +256,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 +431,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 +573,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/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/SegmentShape2D.xml b/doc/classes/SegmentShape2D.xml index 8109886262..a1809301e5 100644 --- a/doc/classes/SegmentShape2D.xml +++ b/doc/classes/SegmentShape2D.xml @@ -1,10 +1,11 @@ <?xml version="1.0" encoding="UTF-8" ?> <class name="SegmentShape2D" inherits="Shape2D" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> <brief_description> - Segment shape for 2D collisions. + Segment shape resource for 2D physics. </brief_description> <description> - Segment shape for 2D collisions. Consists of two points, [code]a[/code] and [code]b[/code]. + 2D segment shape to be added as a [i]direct[/i] child of a [PhysicsBody2D] or [Area2D] using a [CollisionShape2D] node. Consists of two points, [code]a[/code] and [code]b[/code]. + [b]Performance:[/b] Being a primitive collision shape, [SegmentShape2D] is fast to check collisions against (though not as fast as [CircleShape2D]). </description> <tutorials> </tutorials> diff --git a/doc/classes/SeparationRayShape2D.xml b/doc/classes/SeparationRayShape2D.xml index 3e7a2857bf..d67c7b4cd9 100644 --- a/doc/classes/SeparationRayShape2D.xml +++ b/doc/classes/SeparationRayShape2D.xml @@ -1,10 +1,11 @@ <?xml version="1.0" encoding="UTF-8" ?> <class name="SeparationRayShape2D" inherits="Shape2D" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> <brief_description> - Separation ray shape for 2D collisions. + Separation ray shape resource for 2D physics. </brief_description> <description> - Separation ray shape for 2D collisions. A ray is not really a collision body; instead, it tries to separate itself from whatever is touching its far endpoint. It's often useful for characters. + 2D separation ray shape to be added as a [i]direct[/i] child of a [PhysicsBody2D] or [Area2D] using a [CollisionShape2D] node. A ray is not really a collision body; instead, it tries to separate itself from whatever is touching its far endpoint. It's often useful for characters. + [b]Performance:[/b] Being a primitive collision shape, [SeparationRayShape2D] is fast to check collisions against. </description> <tutorials> </tutorials> diff --git a/doc/classes/SeparationRayShape3D.xml b/doc/classes/SeparationRayShape3D.xml index 028c3ba511..0fb4a07457 100644 --- a/doc/classes/SeparationRayShape3D.xml +++ b/doc/classes/SeparationRayShape3D.xml @@ -1,10 +1,11 @@ <?xml version="1.0" encoding="UTF-8" ?> <class name="SeparationRayShape3D" inherits="Shape3D" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> <brief_description> - Separation ray shape for 3D collisions. + Separation ray shape resource for 3D physics. </brief_description> <description> - Separation ray shape for 3D collisions, which can be set into a [PhysicsBody3D] or [Area3D]. A ray is not really a collision body; instead, it tries to separate itself from whatever is touching its far endpoint. It's often useful for characters. + 3D separation ray shape to be added as a [i]direct[/i] child of a [PhysicsBody3D] or [Area3D] using a [CollisionShape3D] node. A ray is not really a collision body; instead, it tries to separate itself from whatever is touching its far endpoint. It's often useful for characters. + [b]Performance:[/b] Being a primitive collision shape, [SeparationRayShape3D] is fast to check collisions against. </description> <tutorials> </tutorials> diff --git a/doc/classes/Signal.xml b/doc/classes/Signal.xml index 1b67900607..c5855e30a4 100644 --- a/doc/classes/Signal.xml +++ b/doc/classes/Signal.xml @@ -99,22 +99,12 @@ <operators> <operator name="operator !="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator !="> - <return type="bool" /> <argument index="0" name="right" type="Signal" /> <description> </description> </operator> <operator name="operator =="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator =="> - <return type="bool" /> <argument index="0" name="right" type="Signal" /> <description> </description> 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/SphereShape3D.xml b/doc/classes/SphereShape3D.xml index b5e9c9069b..63084f024e 100644 --- a/doc/classes/SphereShape3D.xml +++ b/doc/classes/SphereShape3D.xml @@ -1,10 +1,11 @@ <?xml version="1.0" encoding="UTF-8" ?> <class name="SphereShape3D" inherits="Shape3D" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> <brief_description> - Sphere shape for 3D collisions. + Sphere shape resource for 3D collisions. </brief_description> <description> - Sphere shape for 3D collisions, which can be set into a [PhysicsBody3D] or [Area3D]. This shape is useful for modeling sphere-like 3D objects. + 3D sphere shape to be added as a [i]direct[/i] child of a [PhysicsBody3D] or [Area3D] using a [CollisionShape3D] node. This shape is useful for modeling sphere-like 3D objects. + [b]Performance:[/b] Being a primitive collision shape, [SphereShape3D] is the fastest collision shape to check collisions against, as it only requires a distance check with the shape's origin. </description> <tutorials> <link title="3D Physics Tests Demo">https://godotengine.org/asset-library/asset/675</link> diff --git a/doc/classes/String.xml b/doc/classes/String.xml index d85e521f08..9a6155c8a8 100644 --- a/doc/classes/String.xml +++ b/doc/classes/String.xml @@ -514,12 +514,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" /> @@ -865,11 +883,6 @@ <operators> <operator name="operator !="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator !="> - <return type="bool" /> <argument index="0" name="right" type="String" /> <description> </description> @@ -892,20 +905,21 @@ <description> </description> </operator> - <operator name="operator <"> - <return type="bool" /> - <argument index="0" name="right" type="String" /> + <operator name="operator +"> + <return type="String" /> + <argument index="0" name="right" type="int" /> <description> </description> </operator> - <operator name="operator <="> + <operator name="operator <"> <return type="bool" /> <argument index="0" name="right" type="String" /> <description> </description> </operator> - <operator name="operator =="> + <operator name="operator <="> <return type="bool" /> + <argument index="0" name="right" type="String" /> <description> </description> </operator> diff --git a/doc/classes/StringName.xml b/doc/classes/StringName.xml index c19fce9944..ffa1227500 100644 --- a/doc/classes/StringName.xml +++ b/doc/classes/StringName.xml @@ -4,7 +4,9 @@ An optimized string type for unique names. </brief_description> <description> - [StringName]s are immutable strings designed for general-purpose representation of unique names. [StringName] ensures that only one instance of a given name exists (so two [StringName]s with the same value are the same object). Comparing them is much faster than with regular [String]s, because only the pointers are compared, not the whole strings. + [StringName]s are immutable strings designed for general-purpose representation of unique names (also called "string interning"). [StringName] ensures that only one instance of a given name exists (so two [StringName]s with the same value are the same object). Comparing them is much faster than with regular [String]s, because only the pointers are compared, not the whole strings. + You will usually just pass a [String] to methods expecting a [StringName] and it will be automatically converted, but you may occasionally want to construct a [StringName] ahead of time with [StringName] or the literal syntax [code]&"example"[/code]. + See also [NodePath], which is a similar concept specifically designed to store pre-parsed node paths. </description> <tutorials> </tutorials> @@ -26,18 +28,13 @@ <return type="StringName" /> <argument index="0" name="from" type="String" /> <description> - Creates a new [StringName] from the given [String]. + Creates a new [StringName] from the given [String]. [code]StringName("example")[/code] is equivalent to [code]&"example"[/code]. </description> </constructor> </constructors> <operators> <operator name="operator !="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator !="> - <return type="bool" /> <argument index="0" name="right" type="String" /> <description> </description> @@ -62,11 +59,6 @@ </operator> <operator name="operator =="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator =="> - <return type="bool" /> <argument index="0" name="right" type="String" /> <description> </description> 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..420ab2adeb 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"> diff --git a/doc/classes/TabContainer.xml b/doc/classes/TabContainer.xml index bdc73ee3c4..ec2be012e9 100644 --- a/doc/classes/TabContainer.xml +++ b/doc/classes/TabContainer.xml @@ -138,7 +138,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"> 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..25647e2668 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. </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/Transform2D.xml b/doc/classes/Transform2D.xml index 6c0c3032ec..3ad21ee809 100644 --- a/doc/classes/Transform2D.xml +++ b/doc/classes/Transform2D.xml @@ -206,11 +206,6 @@ <operators> <operator name="operator !="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator !="> - <return type="bool" /> <argument index="0" name="right" type="Transform2D" /> <description> Returns [code]true[/code] if the transforms are not equal. @@ -261,11 +256,6 @@ </operator> <operator name="operator =="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator =="> - <return type="bool" /> <argument index="0" name="right" type="Transform2D" /> <description> Returns [code]true[/code] if the transforms are exactly equal. diff --git a/doc/classes/Transform3D.xml b/doc/classes/Transform3D.xml index 67e70f30e4..5a72dc223c 100644 --- a/doc/classes/Transform3D.xml +++ b/doc/classes/Transform3D.xml @@ -148,11 +148,6 @@ <operators> <operator name="operator !="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator !="> - <return type="bool" /> <argument index="0" name="right" type="Transform3D" /> <description> Returns [code]true[/code] if the transforms are not equal. @@ -203,11 +198,6 @@ </operator> <operator name="operator =="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator =="> - <return type="bool" /> <argument index="0" name="right" type="Transform3D" /> <description> Returns [code]true[/code] if the transforms are exactly equal. diff --git a/doc/classes/Vector2.xml b/doc/classes/Vector2.xml index a39ddb8187..f9ef126658 100644 --- a/doc/classes/Vector2.xml +++ b/doc/classes/Vector2.xml @@ -359,11 +359,6 @@ <operators> <operator name="operator !="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator !="> - <return type="bool" /> <argument index="0" name="right" type="Vector2" /> <description> Returns [code]true[/code] if the vectors are not equal. @@ -461,11 +456,6 @@ </operator> <operator name="operator =="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator =="> - <return type="bool" /> <argument index="0" name="right" type="Vector2" /> <description> Returns [code]true[/code] if the vectors are exactly equal. diff --git a/doc/classes/Vector2i.xml b/doc/classes/Vector2i.xml index 9b41e01c25..28d68b6e44 100644 --- a/doc/classes/Vector2i.xml +++ b/doc/classes/Vector2i.xml @@ -133,11 +133,6 @@ <operators> <operator name="operator !="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator !="> - <return type="bool" /> <argument index="0" name="right" type="Vector2i" /> <description> Returns [code]true[/code] if the vectors are not equal. @@ -253,11 +248,6 @@ </operator> <operator name="operator =="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator =="> - <return type="bool" /> <argument index="0" name="right" type="Vector2i" /> <description> Returns [code]true[/code] if the vectors are equal. diff --git a/doc/classes/Vector3.xml b/doc/classes/Vector3.xml index ec695f41c1..1653b66003 100644 --- a/doc/classes/Vector3.xml +++ b/doc/classes/Vector3.xml @@ -360,11 +360,6 @@ <operators> <operator name="operator !="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator !="> - <return type="bool" /> <argument index="0" name="right" type="Vector3" /> <description> Returns [code]true[/code] if the vectors are not equal. @@ -476,11 +471,6 @@ </operator> <operator name="operator =="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator =="> - <return type="bool" /> <argument index="0" name="right" type="Vector3" /> <description> Returns [code]true[/code] if the vectors are exactly equal. diff --git a/doc/classes/Vector3i.xml b/doc/classes/Vector3i.xml index e486d7cfec..4c7f3badc5 100644 --- a/doc/classes/Vector3i.xml +++ b/doc/classes/Vector3i.xml @@ -140,11 +140,6 @@ <operators> <operator name="operator !="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator !="> - <return type="bool" /> <argument index="0" name="right" type="Vector3i" /> <description> Returns [code]true[/code] if the vectors are not equal. @@ -260,11 +255,6 @@ </operator> <operator name="operator =="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator =="> - <return type="bool" /> <argument index="0" name="right" type="Vector3i" /> <description> Returns [code]true[/code] if the vectors are equal. diff --git a/doc/classes/Viewport.xml b/doc/classes/Viewport.xml index ce61f51b9a..a72e7f1eb0 100644 --- a/doc/classes/Viewport.xml +++ b/doc/classes/Viewport.xml @@ -130,11 +130,6 @@ Removes the focus from the currently focused [Control] within this viewport. If no [Control] has the focus, does nothing. </description> </method> - <method name="is_embedding_subwindows" qualifiers="const"> - <return type="bool" /> - <description> - </description> - </method> <method name="is_input_handled" qualifiers="const"> <return type="bool" /> <description> @@ -219,7 +214,8 @@ <member name="gui_disable_input" type="bool" setter="set_disable_input" getter="is_input_disabled" default="false"> If [code]true[/code], the viewport will not receive input events. </member> - <member name="gui_embed_subwindows" type="bool" setter="set_embed_subwindows_hint" getter="get_embed_subwindows_hint" default="false"> + <member name="gui_embed_subwindows" type="bool" setter="set_embedding_subwindows" getter="is_embedding_subwindows" default="false"> + If [code]true[/code], sub-windows (popups and dialogs) will be embedded inside application window as control-like nodes. If [code]false[/code], they will appear as separate windows handled by the operating system. </member> <member name="gui_snap_controls_to_pixels" type="bool" setter="set_snap_controls_to_pixels" getter="is_snap_controls_to_pixels_enabled" default="true"> If [code]true[/code], the GUI controls on the viewport will lay pixel perfectly. 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/classes/WorldBoundaryShape2D.xml b/doc/classes/WorldBoundaryShape2D.xml index cfcaede4a6..5a655520c3 100644 --- a/doc/classes/WorldBoundaryShape2D.xml +++ b/doc/classes/WorldBoundaryShape2D.xml @@ -1,10 +1,11 @@ <?xml version="1.0" encoding="UTF-8" ?> <class name="WorldBoundaryShape2D" inherits="Shape2D" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> <brief_description> - World boundary shape for 2D collisions. + World boundary (infinite plane) shape resource for 2D physics. </brief_description> <description> - World boundary shape for 2D collisions. It works like a 2D plane and will not allow any physics body to go to the negative side. Not recommended for rigid bodies, and usually not recommended for static bodies either because it forces checks against it on every frame. + 2D world boundary shape to be added as a [i]direct[/i] child of a [PhysicsBody2D] or [Area2D] using a [CollisionShape2D] node. [WorldBoundaryShape2D] works like an infinite plane and will not allow any physics body to go to the negative side. Note that the [member normal] matters; anything "below" the plane will collide with it. If the [WorldBoundaryShape2D] is used in a [PhysicsBody2D], it will cause colliding objects placed "below" it to teleport "above" the plane. + [b]Performance:[/b] Being a primitive collision shape, [WorldBoundaryShape2D] is fast to check collisions against. </description> <tutorials> </tutorials> diff --git a/doc/classes/WorldBoundaryShape3D.xml b/doc/classes/WorldBoundaryShape3D.xml index a05c404125..4f6b987a8e 100644 --- a/doc/classes/WorldBoundaryShape3D.xml +++ b/doc/classes/WorldBoundaryShape3D.xml @@ -1,10 +1,11 @@ <?xml version="1.0" encoding="UTF-8" ?> <class name="WorldBoundaryShape3D" inherits="Shape3D" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> <brief_description> - World boundary shape for 3D collisions. + World boundary (infinite plane) shape resource for 3D physics. </brief_description> <description> - World boundary shape for 3D collisions. It works like an infinite plane and will not allow any physics body to go to the negative side. Note that the [Plane]'s normal matters; anything "below" the plane will collide with it. If the [WorldBoundaryShape3D] is used in a [PhysicsBody3D], it will cause colliding objects placed "below" it to teleport "above" the plane. + 3D world boundary shape to be added as a [i]direct[/i] child of a [PhysicsBody3D] or [Area3D] using a [CollisionShape3D] node. [WorldBoundaryShape3D] works like an infinite plane and will not allow any physics body to go to the negative side. Note that the [Plane]'s normal matters; anything "below" the plane will collide with it. If the [WorldBoundaryShape3D] is used in a [PhysicsBody3D], it will cause colliding objects placed "below" it to teleport "above" the plane. + [b]Performance:[/b] Being a primitive collision shape, [WorldBoundaryShape3D] is fast to check collisions against. </description> <tutorials> </tutorials> diff --git a/doc/classes/bool.xml b/doc/classes/bool.xml index 6b1243b8c0..374b703636 100644 --- a/doc/classes/bool.xml +++ b/doc/classes/bool.xml @@ -123,11 +123,6 @@ <operators> <operator name="operator !="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator !="> - <return type="bool" /> <argument index="0" name="right" type="bool" /> <description> Returns [code]true[/code] if two bools are different, i.e. one is [code]true[/code] and the other is [code]false[/code]. @@ -142,12 +137,6 @@ </operator> <operator name="operator =="> <return type="bool" /> - <description> - Returns [code]true[/code] if two bools are equal, i.e. both are [code]true[/code] or both are [code]false[/code]. - </description> - </operator> - <operator name="operator =="> - <return type="bool" /> <argument index="0" name="right" type="bool" /> <description> Returns [code]true[/code] if two bools are equal, i.e. both are [code]true[/code] or both are [code]false[/code]. diff --git a/doc/classes/float.xml b/doc/classes/float.xml index 1fe234c567..50961f9c7f 100644 --- a/doc/classes/float.xml +++ b/doc/classes/float.xml @@ -44,11 +44,6 @@ <operators> <operator name="operator !="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator !="> - <return type="bool" /> <argument index="0" name="right" type="float" /> <description> Returns [code]true[/code] if two floats are different from each other. @@ -201,11 +196,6 @@ </operator> <operator name="operator =="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator =="> - <return type="bool" /> <argument index="0" name="right" type="float" /> <description> Returns [code]true[/code] if both floats are exactly equal. diff --git a/doc/classes/int.xml b/doc/classes/int.xml index eac7ee8dfd..609291b69c 100644 --- a/doc/classes/int.xml +++ b/doc/classes/int.xml @@ -70,11 +70,6 @@ <operators> <operator name="operator !="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator !="> - <return type="bool" /> <argument index="0" name="right" type="float" /> <description> Returns [code]true[/code] if operands are different from each other. @@ -273,11 +268,6 @@ </operator> <operator name="operator =="> <return type="bool" /> - <description> - </description> - </operator> - <operator name="operator =="> - <return type="bool" /> <argument index="0" name="right" type="float" /> <description> Returns [code]true[/code] if the integer is equal to the given [float]. diff --git a/doc/translations/ar.po b/doc/translations/ar.po index eb473b9275..d8fac5a193 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 "" @@ -15948,6 +15947,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 +16378,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 +18724,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 +18879,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 "يُرجع قيمة الجيب العكسية للمَعلم." @@ -23361,10 +23378,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 +26839,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 @@ -32669,6 +32689,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 +32731,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[/" @@ -38589,6 +38623,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 +38681,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 +39245,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" @@ -45581,6 +45642,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 +46071,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 +47053,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 +47476,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 +48416,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 +48489,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 +55799,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 +55829,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 +55839,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 "" @@ -57533,6 +57638,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 +59860,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 +63532,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..c024a6fd7b 100644 --- a/doc/translations/ca.po +++ b/doc/translations/ca.po @@ -15962,6 +15962,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 +16386,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 +18732,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 +18886,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 "" @@ -23364,10 +23381,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 +26838,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 @@ -32664,6 +32684,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 +32726,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[/" @@ -38558,6 +38592,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 +38649,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 +39209,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" @@ -45523,6 +45582,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 +46011,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 +46993,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 +47416,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 +48356,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 +48429,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 +55736,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 +55766,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 +55776,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 "" @@ -57464,6 +57567,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 +59788,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 +63449,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..f7706efa7d 100644 --- a/doc/translations/classes.pot +++ b/doc/translations/classes.pot @@ -15842,6 +15842,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 +16266,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 +18612,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 +18766,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 "" @@ -23241,10 +23258,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 +26715,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 @@ -32541,6 +32561,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 +32603,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[/" @@ -38435,6 +38469,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 +38526,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 +39086,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" @@ -45400,6 +45459,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 +45888,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 +46870,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 +47293,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 +48233,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 +48306,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 +55613,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 +55643,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 +55653,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 "" @@ -57341,6 +57444,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 +59665,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 +63326,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..75cc6ed7e8 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." @@ -4042,7 +4045,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 +4053,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 +4121,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 +4262,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 @@ -16394,6 +16397,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 +16828,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 +19174,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 +19329,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." @@ -23814,10 +23835,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 +27300,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 @@ -33128,6 +33152,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 +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[/" @@ -39056,6 +39095,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 +39153,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 +39718,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 +42211,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 +42515,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." @@ -46058,6 +46124,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 +46553,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 +47535,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 +47958,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 +48902,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 +48975,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 +56297,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 +56327,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 +56337,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 "" @@ -58035,6 +58145,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 +60387,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 +63081,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 +63359,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 +63382,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 +63390,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 +63536,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 +64070,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..c658b5ea67 100644 --- a/doc/translations/de.po +++ b/doc/translations/de.po @@ -43,12 +43,13 @@ # <artism90@googlemail.com>, 2022. # Coxcopi70f00b67b61542fe <hn_vogel@gmx.net>, 2022. # Leon Marz <main@lmarz.org>, 2022. +# Robin <robin.janzen@gmx.net>, 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-13 22:11+0000\n" +"Last-Translator: Robin <robin.janzen@gmx.net>\n" "Language-Team: German <https://hosted.weblate.org/projects/godot-engine/" "godot-class-reference/de/>\n" "Language: de\n" @@ -56,7 +57,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 +3864,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 +3958,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 "" @@ -8311,7 +8312,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 +8320,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 +8338,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 +8396,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 +8436,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 +8463,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 +8483,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 +8626,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 +8634,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 +8652,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 +8709,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 @@ -13436,7 +13448,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." @@ -18073,6 +18085,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 +18516,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 +20875,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 +21030,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]." @@ -25304,6 +25334,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 +25557,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 +29058,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 @@ -34899,6 +34935,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 +34978,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[/" @@ -40861,6 +40912,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 +40970,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 +41537,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" @@ -47977,6 +48055,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 +48490,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 +49472,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 +49895,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 +50856,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 +50929,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 +58331,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 +58361,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 +58371,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 "" @@ -60076,6 +60199,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 +62466,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 +66304,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 +74316,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 +74397,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 +74419,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 +74640,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 +74903,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 +74913,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 +74928,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 +74957,7 @@ msgstr "" #: doc/classes/World.xml msgid "The World's [Environment]." -msgstr "" +msgstr "Das [Environment] der Welt." #: doc/classes/World.xml msgid "" @@ -74860,6 +75008,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 +75033,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 +75048,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 +75073,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 +75171,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..07ba0eeae0 100644 --- a/doc/translations/el.po +++ b/doc/translations/el.po @@ -15865,6 +15865,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 +16296,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 +18642,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 +18797,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 "Επιστρέφει το τόξο ημιτόνου της παραμέτρου." @@ -23278,10 +23296,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 +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 @@ -32586,6 +32607,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 +32649,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[/" @@ -38500,6 +38535,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 +38593,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 +39157,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" @@ -45479,6 +45541,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 +45970,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 +46952,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 +47375,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 +48315,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 +48388,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 +55698,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 +55728,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 +55738,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 "" @@ -57431,6 +57537,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 +59759,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 +63431,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..e80ab772c3 100644 --- a/doc/translations/es.po +++ b/doc/translations/es.po @@ -20813,6 +20813,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 +21451,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 +24439,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 +24682,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]." @@ -30851,11 +30880,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 +35463,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]." @@ -43272,6 +43307,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 +43357,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[/" @@ -51247,6 +51303,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 +51376,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 +52110,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[/" @@ -60553,6 +60636,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 +61210,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 +62434,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 +62886,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 +64059,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 +64070,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 +64158,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 +73661,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 +73708,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 +73718,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 "" @@ -75905,6 +76045,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 +78889,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 +83812,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..162470f04c 100644 --- a/doc/translations/fa.po +++ b/doc/translations/fa.po @@ -16281,6 +16281,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 +16705,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 +19051,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 +19205,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 "" @@ -23683,10 +23700,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 +27157,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 @@ -32983,6 +33003,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 +33045,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[/" @@ -38883,6 +38917,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 +38974,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 +39534,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" @@ -45860,6 +45919,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 +46348,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 +47330,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 +47753,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 +48697,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 +48770,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 +56077,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 +56107,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 +56117,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 "" @@ -57805,6 +57908,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 +60129,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 +63790,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..300e1dda53 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 "" @@ -15886,6 +15941,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 +16372,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 +18718,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 +18873,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." @@ -23299,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 @@ -26764,14 +26840,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 @@ -32615,6 +32691,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 +32733,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[/" @@ -36286,7 +36376,7 @@ msgstr "" #: doc/classes/Node.xml msgid "Nodes and Scenes" -msgstr "" +msgstr "Solmut ja Kohtaukset" #: doc/classes/Node.xml msgid "All Demos" @@ -38530,6 +38620,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 +38678,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 +39242,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" @@ -45509,6 +45626,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 +46055,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 +47037,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 +47460,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 +48400,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 +48473,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 +55785,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 +55815,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 +55825,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 "" @@ -57464,6 +57625,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 +59849,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 +63524,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..f91ed1b6b8 100644 --- a/doc/translations/fil.po +++ b/doc/translations/fil.po @@ -15849,6 +15849,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 +16273,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 +18619,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 +18773,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 "" @@ -23251,10 +23268,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 +26725,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 @@ -32551,6 +32571,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 +32613,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[/" @@ -38445,6 +38479,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 +38536,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 +39096,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" @@ -45410,6 +45469,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 +45898,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 +46880,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 +47303,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 +48243,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 +48316,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 +55623,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 +55653,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 +55663,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 "" @@ -57351,6 +57454,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 +59675,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 +63336,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..2fb51cc467 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. @@ -60,8 +60,8 @@ 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-17 13:59+0000\n" +"Last-Translator: Maxime Leroy <lisacintosh@gmail.com>\n" "Language-Team: French <https://hosted.weblate.org/projects/godot-engine/" "godot-class-reference/fr/>\n" "Language: fr\n" @@ -69,7 +69,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" @@ -10470,9 +10470,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 +11322,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]." @@ -13986,9 +13984,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 +13993,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." @@ -18066,6 +18062,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 +18493,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 @@ -20538,7 +20540,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 +20587,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 +20886,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 +21041,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]." @@ -22493,9 +22507,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 "" @@ -24266,9 +24279,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 "" @@ -25210,9 +25222,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." @@ -25611,10 +25622,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 +25823,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 +26506,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 +28109,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 +28125,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 +28147,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 +28357,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 +28399,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 +28444,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 +28456,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 +28489,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 +28506,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 +28560,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 +28570,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 +28587,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 +28695,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 +28729,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 +28790,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 +28802,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 +28812,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 +28880,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 +29184,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 +29200,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 +29230,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 +29371,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 +29390,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 +30435,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 +30593,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 +30623,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." @@ -31319,21 +31308,23 @@ msgstr "" #: 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." @@ -32474,9 +32465,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 +32615,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 "" @@ -32799,7 +32788,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 "" @@ -34713,26 +34702,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 "" #: 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 "" @@ -35085,11 +35072,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 +35198,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 +35220,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 +35265,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 +35311,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 +35357,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 +35405,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 +35440,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 +35466,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 +35474,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 +35543,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 +35555,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 +35571,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 +35900,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 +35981,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 +36045,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 +36061,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 +36072,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 +36080,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 "" @@ -36131,7 +36139,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 +36175,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 +36188,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 +36256,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 +36267,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." @@ -38323,7 +38336,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 +38432,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 +38931,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 "" @@ -39287,7 +39298,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." @@ -39941,19 +39952,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 "" @@ -41306,6 +41317,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 +41377,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." @@ -41924,6 +41945,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" @@ -42538,9 +42576,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." @@ -42725,6 +42762,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 +42776,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 +42788,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 +42802,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." @@ -43362,9 +43412,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 "" @@ -43483,9 +43532,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 "" @@ -44184,9 +44232,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 "" @@ -45716,9 +45763,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 "" @@ -48452,6 +48498,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 +48932,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 "" @@ -49853,6 +49919,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 +50342,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 "" @@ -51223,13 +51307,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 @@ -51296,8 +51380,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." @@ -51658,9 +51749,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 "" @@ -52384,7 +52474,7 @@ msgstr "" #: doc/classes/ResourceImporter.xml msgid "Import plugins" -msgstr "" +msgstr "Importer des plugins" #: doc/classes/ResourceImporter.xml #, fuzzy @@ -55965,14 +56055,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 +57021,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." @@ -58786,11 +58880,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 +58910,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 +58920,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 "" @@ -60691,6 +60785,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 +61722,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 +61731,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 +61747,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 +61765,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,26 +62169,23 @@ 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 @@ -62094,7 +62194,7 @@ msgstr "Valeur maximale pour le mode énumeration." #: 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 +62207,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 +62294,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 +62302,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 +62325,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 +62356,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." @@ -62986,6 +63093,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 +63348,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 +63363,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 +63385,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 +63421,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 +63457,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 +63499,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)." @@ -63740,6 +63860,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 +63885,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 +64082,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 +64120,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 "" @@ -64202,7 +64331,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 +64369,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 +64389,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 +64450,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." @@ -64607,7 +64740,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 +64764,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 +64779,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 +64792,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." @@ -64855,7 +64987,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 "" @@ -66415,7 +66547,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 +66571,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." @@ -66504,7 +66635,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 "" @@ -66660,7 +66791,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 +66799,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,7 +66823,7 @@ 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 @@ -66753,6 +66884,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 +67080,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 +67348,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 "" @@ -67295,7 +67434,7 @@ msgstr "Si [code]true[/code], les nœuds [RigidBody3D] 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,7 +67465,7 @@ 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 @@ -67408,9 +67547,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 @@ -67462,7 +67600,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." @@ -68608,9 +68746,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 @@ -68782,6 +68919,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 +68936,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 "" @@ -69629,9 +69768,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 +69837,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." @@ -70783,9 +70919,8 @@ msgid "Returns a mesh's number of surfaces." msgstr "" #: 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 @@ -71390,7 +71525,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 @@ -71460,9 +71595,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 @@ -71542,14 +71676,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 +71694,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 +71715,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 "" @@ -71663,7 +71793,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." @@ -71708,6 +71838,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 +71856,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 +71908,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 +72260,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." @@ -73683,7 +73817,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)." diff --git a/doc/translations/gl.po b/doc/translations/gl.po index a62aba930d..20605af75c 100644 --- a/doc/translations/gl.po +++ b/doc/translations/gl.po @@ -15850,6 +15850,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 +16274,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 +18620,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 +18774,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 "" @@ -23249,10 +23266,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 +26723,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 @@ -32549,6 +32569,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 +32611,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[/" @@ -38443,6 +38477,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 +38534,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 +39094,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" @@ -45408,6 +45467,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 +45896,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 +46878,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 +47301,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 +48241,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 +48314,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 +55621,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 +55651,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 +55661,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 "" @@ -57349,6 +57452,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 +59673,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 +63334,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..8e526e6594 100644 --- a/doc/translations/hi.po +++ b/doc/translations/hi.po @@ -15849,6 +15849,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 +16273,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 +18619,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 +18773,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 "" @@ -23248,10 +23265,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 +26722,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 @@ -32548,6 +32568,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 +32610,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[/" @@ -38442,6 +38476,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 +38533,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 +39093,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" @@ -45407,6 +45466,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 +45895,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 +46877,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 +47300,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 +48240,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 +48313,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 +55620,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 +55650,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 +55660,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 "" @@ -57348,6 +57451,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 +59672,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 +63333,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..7c93fcd2ba 100644 --- a/doc/translations/hu.po +++ b/doc/translations/hu.po @@ -15867,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 " @@ -16287,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 @@ -18632,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 " @@ -18786,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 "" @@ -23266,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 @@ -26720,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 @@ -32566,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 " @@ -32601,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[/" @@ -38460,6 +38494,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 +38551,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 +39111,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" @@ -45425,6 +45484,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 +45913,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 +46895,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 +47318,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 +48258,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 +48331,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 +55638,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 +55668,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 +55678,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 "" @@ -57366,6 +57469,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 +59690,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 +63351,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..fc6b486005 100644 --- a/doc/translations/id.po +++ b/doc/translations/id.po @@ -16057,6 +16057,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 +16481,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 +18827,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 +18981,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 "" @@ -23460,10 +23477,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 +26937,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 @@ -32763,6 +32783,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 +32825,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[/" @@ -38671,6 +38705,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 +38763,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 +39324,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" @@ -45653,6 +45714,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 +46143,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 +47125,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 +47548,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 +48488,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 +48561,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 +55870,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 +55900,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 +55910,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 "" @@ -57600,6 +57705,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 +59926,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 +63588,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..704ccfa6bf 100644 --- a/doc/translations/is.po +++ b/doc/translations/is.po @@ -15849,6 +15849,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 +16273,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 +18619,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 +18773,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 "" @@ -23248,10 +23265,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 +26722,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 @@ -32548,6 +32568,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 +32610,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[/" @@ -38442,6 +38476,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 +38533,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 +39093,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" @@ -45407,6 +45466,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 +45895,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 +46877,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 +47300,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 +48240,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 +48313,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 +55620,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 +55650,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 +55660,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 "" @@ -57348,6 +57451,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 +59672,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 +63333,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..5953035ec5 100644 --- a/doc/translations/it.po +++ b/doc/translations/it.po @@ -16918,6 +16918,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 +17349,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 +19695,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 +19850,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." @@ -24340,10 +24358,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 +27841,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 @@ -33680,6 +33701,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 +33746,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[/" @@ -39619,6 +39657,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 +39715,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 +40280,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" @@ -46631,6 +46696,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 +47125,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 +48107,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 +48530,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 +49473,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 +49546,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 +56872,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 +56902,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 +56912,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 "" @@ -58611,6 +58720,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 +60967,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 +64667,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." diff --git a/doc/translations/ja.po b/doc/translations/ja.po index ddb9eb6efe..64c0815640 100644 --- a/doc/translations/ja.po +++ b/doc/translations/ja.po @@ -18941,6 +18941,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 +19372,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 +21769,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 +21924,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 "ブレンド軸上のポイントの数を返します。" @@ -26439,10 +26457,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 +29965,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 @@ -35847,6 +35868,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 +35911,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[/" @@ -41818,6 +41854,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 +41912,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 +42479,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" @@ -48875,6 +48938,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 +49374,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 +50356,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 +50779,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 +51725,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 +51798,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 +59450,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 +59480,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 +59490,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 "" @@ -61207,6 +61315,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 +63580,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 +67287,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..7a5bfa260b 100644 --- a/doc/translations/ko.po +++ b/doc/translations/ko.po @@ -16015,6 +16015,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 +16446,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 +18792,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 +18947,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 "매개변수의 아크사인 값을 반환합니다." @@ -23489,10 +23507,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 +26969,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 @@ -32805,6 +32826,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 +32868,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[/" @@ -38851,6 +38886,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 +38944,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 +39508,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" @@ -45842,6 +45904,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 +46333,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 +47315,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 +47738,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 +48678,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 +48751,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 +56061,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 +56091,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 +56101,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 "" @@ -57794,6 +57900,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 +60122,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 +63806,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..6b7ee2aeb8 100644 --- a/doc/translations/lv.po +++ b/doc/translations/lv.po @@ -15864,6 +15864,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 +16288,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 +18634,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 +18788,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 "" @@ -23266,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 @@ -26720,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 @@ -32566,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 " @@ -32601,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[/" @@ -38460,6 +38494,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 +38551,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 +39111,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" @@ -45425,6 +45484,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 +45913,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 +46895,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 +47318,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 +48258,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 +48331,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 +55638,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 +55668,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 +55678,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 "" @@ -57366,6 +57469,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 +59690,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 +63351,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..e001339b39 100644 --- a/doc/translations/mr.po +++ b/doc/translations/mr.po @@ -15847,6 +15847,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 +16271,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 +18617,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 +18771,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 "" @@ -23246,10 +23263,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 +26720,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 @@ -32546,6 +32566,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 +32608,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[/" @@ -38440,6 +38474,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 +38531,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 +39091,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" @@ -45405,6 +45464,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 +45893,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 +46875,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 +47298,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 +48238,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 +48311,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 +55618,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 +55648,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 +55658,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 "" @@ -57346,6 +57449,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 +59670,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 +63331,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..4d54bdee6e 100644 --- a/doc/translations/nb.po +++ b/doc/translations/nb.po @@ -15859,6 +15859,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 +16283,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 +18629,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 +18783,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 "" @@ -23258,10 +23275,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 +26732,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 @@ -32558,6 +32578,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 +32620,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[/" @@ -38452,6 +38486,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 +38543,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 +39103,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" @@ -45417,6 +45476,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 +45905,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 +46887,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 +47310,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 +48250,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 +48323,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 +55630,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 +55660,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 +55670,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 "" @@ -57358,6 +57461,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 +59682,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 +63343,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..b3231caf4d 100644 --- a/doc/translations/ne.po +++ b/doc/translations/ne.po @@ -15847,6 +15847,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 +16271,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 +18617,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 +18771,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 "" @@ -23246,10 +23263,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 +26720,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 @@ -32546,6 +32566,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 +32608,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[/" @@ -38440,6 +38474,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 +38531,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 +39091,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" @@ -45405,6 +45464,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 +45893,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 +46875,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 +47298,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 +48238,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 +48311,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 +55618,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 +55648,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 +55658,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 "" @@ -57346,6 +57449,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 +59670,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 +63331,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..7af8cd1303 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 "" @@ -15898,6 +15916,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 +16340,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 +18686,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 +18840,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 "" @@ -23300,10 +23335,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 +26792,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 @@ -32600,6 +32638,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 +32680,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[/" @@ -38494,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." @@ -38547,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." @@ -39103,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" @@ -45459,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 "" @@ -45882,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 "" @@ -46851,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 "" @@ -47264,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 "" @@ -48196,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 @@ -48269,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 @@ -55570,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 "" @@ -55600,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 "" @@ -55610,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 "" @@ -57401,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 "" @@ -59616,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)." @@ -63270,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/pl.po b/doc/translations/pl.po index 615d1ff53f..45e9c8d39c 100644 --- a/doc/translations/pl.po +++ b/doc/translations/pl.po @@ -16352,6 +16352,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 +16785,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 +19131,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 +19286,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." @@ -23771,10 +23791,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 +27265,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 @@ -33104,6 +33127,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 +33172,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[/" @@ -39041,6 +39081,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 +39139,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 +39706,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" @@ -46054,6 +46121,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 +46550,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 +47532,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 +47955,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 +48900,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 +48973,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 +56293,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 +56323,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 +56333,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 "" @@ -58022,6 +58133,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 +60365,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 +64038,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..42b3a739f1 100644 --- a/doc/translations/pt.po +++ b/doc/translations/pt.po @@ -16672,6 +16672,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 +17105,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 +19455,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 +19609,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 "" @@ -24091,10 +24109,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 +27569,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 @@ -33398,6 +33419,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 +33462,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[/" @@ -39315,6 +39351,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 +39409,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 +39970,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" @@ -46284,6 +46347,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 +46776,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 +47758,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 +48181,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 +49121,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 +49194,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 +56525,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 +56555,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 +56565,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 "" @@ -58253,6 +58360,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 +60586,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 +64258,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..b324ecff06 100644 --- a/doc/translations/pt_BR.po +++ b/doc/translations/pt_BR.po @@ -16989,6 +16989,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 +17422,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 +19772,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 +19927,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." @@ -24420,10 +24438,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 +27923,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 @@ -33767,6 +33788,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 +33831,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[/" @@ -39705,6 +39741,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 +39799,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 +40365,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" @@ -46722,6 +46785,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 +47214,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 +48196,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 +48619,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 +49563,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 +49636,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 +56979,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 +57009,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 +57019,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 "" @@ -58722,6 +58829,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 +61063,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 +64745,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..5d80a1018e 100644 --- a/doc/translations/ro.po +++ b/doc/translations/ro.po @@ -15867,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 " @@ -16287,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 @@ -18632,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 " @@ -18786,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 "" @@ -23269,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 @@ -26723,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 @@ -32569,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 " @@ -32604,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[/" @@ -38463,6 +38497,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 +38554,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 +39114,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" @@ -45428,6 +45487,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 +45916,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 +46898,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 +47321,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 +48261,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 +48334,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 +55641,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 +55671,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 +55681,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 "" @@ -57369,6 +57472,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 +59693,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 +63354,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..57001546f3 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" "Для получения целочисленного остатка используйте оператор %." @@ -17628,6 +17625,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 +18056,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 +20406,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 +20561,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 "Возвращает арксинус параметра." @@ -25069,10 +25084,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 +28561,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 @@ -34426,6 +34444,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 +34487,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[/" @@ -38121,7 +38154,7 @@ msgstr "" #: doc/classes/Node.xml msgid "Nodes and Scenes" -msgstr "" +msgstr "Узлы и Сцены" #: doc/classes/Node.xml msgid "All Demos" @@ -40373,6 +40406,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 +40464,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 +41034,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" @@ -47417,6 +47477,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 +47914,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 +48896,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 +49319,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 +50306,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 +50379,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 +57738,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 +57768,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 +57778,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 "" @@ -59482,6 +59589,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 +61840,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 +65654,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..607fa7197e 100644 --- a/doc/translations/sk.po +++ b/doc/translations/sk.po @@ -15850,6 +15850,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 +16274,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 +18620,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 +18774,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 "" @@ -23252,10 +23269,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 +26726,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 @@ -32552,6 +32572,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 +32614,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[/" @@ -38446,6 +38480,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 +38537,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 +39097,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" @@ -45411,6 +45470,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 +45899,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 +46881,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 +47304,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 +48244,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 +48317,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 +55624,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 +55654,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 +55664,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 "" @@ -57352,6 +57455,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 +59676,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 +63337,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..620a2f5b47 100644 --- a/doc/translations/sr_Cyrl.po +++ b/doc/translations/sr_Cyrl.po @@ -15861,6 +15861,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 +16285,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 +18631,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 +18785,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 "" @@ -23263,10 +23280,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 +26737,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 @@ -32563,6 +32583,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 +32625,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[/" @@ -38457,6 +38491,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 +38548,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 +39108,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" @@ -45422,6 +45481,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 +45910,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 +46892,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 +47315,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 +48255,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 +48328,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 +55635,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 +55665,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 +55675,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 "" @@ -57363,6 +57466,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 +59687,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 +63348,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..f6e68b0231 100644 --- a/doc/translations/sv.po +++ b/doc/translations/sv.po @@ -15850,6 +15850,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 +16274,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 +18620,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 +18774,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 "" @@ -23249,10 +23266,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 +26723,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 @@ -32549,6 +32569,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 +32611,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[/" @@ -38443,6 +38477,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 +38534,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 +39094,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" @@ -45408,6 +45467,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 +45896,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 +46878,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 +47301,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 +48241,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 +48314,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 +55621,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 +55651,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 +55661,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 "" @@ -57349,6 +57452,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 +59673,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 +63334,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..ca2ce020a6 100644 --- a/doc/translations/th.po +++ b/doc/translations/th.po @@ -15958,6 +15958,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 +16382,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 +18728,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 +18882,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 "" @@ -23361,10 +23378,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 +26837,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 @@ -32685,6 +32705,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 +32747,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[/" @@ -38639,6 +38673,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 +38731,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 +39293,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" @@ -45612,6 +45673,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 +46102,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 +47089,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 +47512,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 +48452,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 +48525,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 +55836,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 +55866,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 +55876,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 "" @@ -57566,6 +57671,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 +59892,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 +63566,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..385070cca2 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 "" @@ -15929,6 +15933,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 +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 @@ -18694,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 " @@ -18848,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 "" @@ -23328,10 +23352,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 +26809,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 @@ -32628,6 +32655,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 +32697,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[/" @@ -38528,6 +38569,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 +38626,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 +39186,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" @@ -45496,6 +45562,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 +45991,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 +46973,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 +47396,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 +48336,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 +48409,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 +55716,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 +55746,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 +55756,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 "" @@ -57437,6 +57547,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 +59771,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 +63432,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..f2eaa55c6c 100644 --- a/doc/translations/tr.po +++ b/doc/translations/tr.po @@ -16639,6 +16639,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 +17071,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 +19417,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 +19572,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." @@ -24054,10 +24073,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 +27542,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 @@ -33372,6 +33394,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 +33438,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[/" @@ -39298,6 +39336,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 +39394,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 +39958,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" @@ -46300,6 +46365,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 +46794,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 +47776,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 +48199,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 +49144,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 +49217,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 +56531,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 +56561,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 +56571,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 "" @@ -58261,6 +58370,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 +60594,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 +64266,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..dc2e7969b1 100644 --- a/doc/translations/uk.po +++ b/doc/translations/uk.po @@ -16016,6 +16016,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 +16447,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 +18793,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 +18948,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 "Повертає арксинус параметра." @@ -23429,10 +23447,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 +26915,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 @@ -32745,6 +32766,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 +32808,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[/" @@ -38667,6 +38702,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 +38760,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 +39324,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" @@ -45660,6 +45722,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 +46151,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 +47133,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 +47556,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 +48496,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 +48569,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 +55881,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 +55911,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 +55921,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 "" @@ -57615,6 +57721,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 +59945,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 +63618,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..1a98c49ac8 100644 --- a/doc/translations/vi.po +++ b/doc/translations/vi.po @@ -16316,6 +16316,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 +16747,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 +19094,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 +19249,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ố." @@ -23730,10 +23748,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 +27210,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 @@ -33041,6 +33062,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 +33105,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[/" @@ -38965,6 +39001,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 +39059,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 +39623,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" @@ -45966,6 +46029,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 +46462,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 +47444,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 +47867,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 +48810,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 +48883,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 +56199,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 +56229,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 +56239,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 "" @@ -57930,6 +58038,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 +60262,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 +63938,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..b902af288f 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-17 18:46+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" @@ -4177,8 +4177,8 @@ msgid "" "pick in a list specified via a hint string such as [code]\"Hello,Something," "Else\"[/code]." msgstr "" -"通过一个提示串,提示一个整数、浮点或字符串属性是枚举值,枚举值取值来自于形如" -"[code]\"Hello,Something,Else\"[/code]的提示串。" +"提示整数、浮点数或字符串属性为枚举值,可选值列表通过提示字符串指定,例如 " +"[code]\"Hello,Something,Else\"[/code]。" #: doc/classes/@GlobalScope.xml msgid "" @@ -4188,6 +4188,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 +5073,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 +5180,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 +5708,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 +5841,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 +5868,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 +5959,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 +5976,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 +5986,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 +6004,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 +6017,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 +6029,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 "" @@ -6986,8 +6987,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 +7332,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 "" @@ -11960,7 +11960,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 +11968,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 +12193,7 @@ msgstr "" #: doc/classes/AudioStreamPlayer.xml msgid "Plays back audio non-positionally." -msgstr "非定位地播放音频。" +msgstr "播放音频,不考虑所处位置。" #: doc/classes/AudioStreamPlayer.xml msgid "" @@ -12218,7 +12217,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 +12279,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 +12311,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 +12351,7 @@ msgstr "基础音量,无衰减。" #: doc/classes/AudioStreamPlayer3D.xml msgid "Plays positional sound in 3D space." -msgstr "在 3D 空间中播放位置声音。" +msgstr "在 3D 空间中播放与位置相关的声音。" #: doc/classes/AudioStreamPlayer3D.xml msgid "" @@ -14244,8 +14243,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 "" @@ -14537,7 +14536,7 @@ msgstr "" #: doc/classes/Camera2D.xml msgid "Camera node for 2D scenes." -msgstr "二维场景的相机节点。" +msgstr "2D 场景的相机节点。" #: doc/classes/Camera2D.xml msgid "" @@ -15710,22 +15709,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 "" @@ -19198,7 +19195,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 +19219,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 +19562,11 @@ msgstr "" "参阅 [method add_stylebox_override]。" #: 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 " @@ -20153,10 +20155,12 @@ msgstr "" "内容,无论是纹理还是子节点。" #: 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 "" "默认情况下,该节点的轴心位于其左上角。当您更改其 [member rect_scale] 时,它将" "围绕此轴心进行缩放。将此属性设置为 [member rect_size] / 2,以将轴心在节点的矩" @@ -20268,6 +20272,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 +20904,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 +20915,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 +21556,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 +21567,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 "" @@ -23002,10 +23019,11 @@ msgstr "" "采样用于其他目的。\n" "它保留了沿曲线的预计算点的缓存,以加快进一步的计算。" -#: 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 " @@ -23216,6 +23234,26 @@ 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 "" +"在曲线的 [code]position[/code] 上添加一个点,控制点 [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] 的形式返回缓存的点。" @@ -28244,7 +28282,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 +28423,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 +28442,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 +28486,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 "" @@ -28870,6 +28908,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 +28938,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 +28956,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 +29011,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 +29025,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 +29053,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 +29068,7 @@ msgstr "屏幕空间环境光遮蔽颜色。" #: doc/classes/Environment.xml msgid "The screen-space ambient occlusion edge sharpness." -msgstr "屏幕空间环境遮挡边缘锐度。" +msgstr "屏幕空间环境光遮蔽边缘锐度。" #: doc/classes/Environment.xml msgid "" @@ -29028,22 +29080,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 +29104,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 +29127,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,23 +29140,27 @@ 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 +#, 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 "" "在屏幕上保留背景中绘制的每个像素。这是最快的背景模式,但它只能在完全室内场景" "(没有可见的天空或天空反射)中安全使用。如果在背景可见的场景中启用,当移动相" @@ -31482,7 +31538,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 +31550,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 +31859,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 +31884,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 +32646,8 @@ msgid "" "allowing connections between GraphNodes. Slots can have different, " "incompatible types." msgstr "" -"图形节点GraphNode是一个允许多个图形节点GraphNode之间连接的输入和输出槽容器。" -"槽位可以有不同的、不兼容的类型。" +"GraphNode 是一种可能包含若干输入输出槽的容器,GraphNode 之间能够通过槽位相" +"连。槽位的类型可以互不相同、互不兼容。" #: doc/classes/GraphNode.xml msgid "" @@ -32610,59 +32668,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 +32980,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 +33011,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 @@ -33334,15 +33391,17 @@ msgstr "" "高度图数据,池数组的大小必须是 [member 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 "高度图数据的深度。更改此设置将调整 [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 "高度图数据的宽度。更改此设置将调整 [member map_data] 的大小。" #: doc/classes/HFlowContainer.xml @@ -33672,7 +33731,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." @@ -40120,6 +40179,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 +40607,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 "" @@ -40785,6 +40852,14 @@ msgstr "" msgid "If [code]true[/code], the context menu will appear when right-clicked." msgstr "如果为[code]true[/code],右键单击将出现上下文菜单。" +#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml +#: doc/classes/TextEdit.xml +#, fuzzy +msgid "" +"If [code]true[/code], the selected text will be deselected when focus is " +"lost." +msgstr "如果为[code]true[/code],则可以再次选择当前选中的项目。" + #: doc/classes/LineEdit.xml msgid "" "If [code]false[/code], existing text cannot be modified and new text cannot " @@ -40837,6 +40912,16 @@ msgstr "" "# `text_change_rejected` is emitted with \"bye\" as parameter.\n" "[/codeblock]" +#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml +#, fuzzy +msgid "" +"If [code]false[/code], using middle mouse button to paste clipboard will be " +"disabled.\n" +"[b]Note:[/b] This method is only implemented on Linux." +msgstr "" +"如果本地视频正在播放,返回[code]true[/code]。\n" +"[b]注意:[/b] 这个方法只在iOS上实现。" + #: doc/classes/LineEdit.xml msgid "" "Opacity of the [member placeholder_text]. From [code]0[/code] to [code]1[/" @@ -41602,7 +41687,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 +41718,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 +41733,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 "" @@ -42763,6 +42848,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 +42883,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 +42950,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 +43022,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]." @@ -45888,6 +45987,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 +46001,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 "" @@ -46149,6 +46258,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 +46411,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 "" @@ -46612,11 +46730,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 +47319,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" @@ -47534,9 +47653,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 +47688,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 +47703,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 +47722,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 +47748,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 +47769,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 +47836,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 +47884,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 +47917,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 +47933,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 +48078,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." @@ -48277,6 +48395,11 @@ msgid "Returns the text of the item at index [code]idx[/code]." msgstr "返回索引[code]idx[/code]处项目的文本。" #: doc/classes/OptionButton.xml +#, fuzzy +msgid "Returns the tooltip of the item at index [code]idx[/code]." +msgstr "返回索引[code]idx[/code]处项目的文本。" + +#: doc/classes/OptionButton.xml msgid "" "Returns the ID of the selected item, or [code]0[/code] if no item is " "selected." @@ -48335,6 +48458,11 @@ msgid "Sets the text of the item at index [code]idx[/code]." msgstr "在索引[code]idx[/code]处设置项的文本。" #: doc/classes/OptionButton.xml +#, fuzzy +msgid "Sets the tooltip of the item at index [code]idx[/code]." +msgstr "在索引[code]idx[/code]处设置项的文本。" + +#: doc/classes/OptionButton.xml msgid "" "The index of the currently selected item, or [code]-1[/code] if no item is " "selected." @@ -48433,7 +48561,7 @@ msgid "" "driver, date and time, timers, environment variables, execution of binaries, " "command line, etc." msgstr "" -"操作系统的功能。OS包装了与主机操作系统通信的最常见功能,如剪贴板、视频驱动程" +"操作系统的功能。OS 包装了与主机操作系统通信的最常见功能,如剪贴板、视频驱动程" "序、日期和时间、计时器、环境变量、二进制文件的执行、命令行等。" #: doc/classes/OS.xml @@ -49019,6 +49147,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 +49158,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 +49180,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 +49241,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" @@ -49847,7 +49997,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)." @@ -56518,7 +56668,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 +56940,9 @@ msgstr "" "指定偏好的音频输出延迟,单位为毫秒。值越低,音频延迟越小,代价是 CPU 占用率会" "更高。在较慢的硬件上,使用较低的值可能产生爆裂声。\n" "音频输出延迟可能受到宿主的操作系统和音频硬件驱动的限制。如果宿主无法提供指定" -"的音频输出延迟,Godot 会尝试使用宿主所允许范围内与其最接近的值。因此你应当始" +"的音频输出延迟,Godot 会尝试使用主机所允许范围内与其最接近的值。因此你应当始" "终使用 [method AudioServer.get_output_latency] 获取实际的音频输出延迟。\n" -"[b]注意:[/b] 此设置在 Windows 上会被忽略。" +"[b]注意:[/b]此设置在 Windows 上会被忽略。" #: doc/classes/ProjectSettings.xml msgid "" @@ -56904,6 +57054,14 @@ 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 msgid "" "If [code]true[/code], enables warnings when a function is declared with the " "same name as a constant." @@ -57432,6 +57590,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 "" @@ -57443,14 +57614,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." @@ -58590,6 +58761,16 @@ 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 "" + +#: doc/classes/ProjectSettings.xml msgid "Enables [member Viewport.physics_object_picking] on the root viewport." msgstr "在根视图上启用 [member Viewport.physics_object_picking]。" @@ -58634,8 +58815,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 +58831,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 +58854,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 +59349,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 "混合形状的最大缓冲区大小。任何比这更大的混合形状都不起作用。" @@ -59368,7 +59563,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 +59572,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 +59585,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 "" @@ -59560,7 +59761,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 +59772,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 @@ -60397,8 +60597,9 @@ msgstr "" "一个浮点[i]值[/i],用于[i]步进[/i]和[i]页面[/i],例如[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 "" @@ -60406,7 +60607,8 @@ msgstr "" "员变量改变时,它将与它的组中的所有其他范围共享新的值。" #: 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 "停止与任何其他成员变量共享其成员变量的范围。" #: doc/classes/Range.xml @@ -60485,8 +60687,15 @@ 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 "" #: doc/classes/RayCast.xml doc/classes/RayCast2D.xml msgid "Query the closest object intersecting a ray." @@ -61648,8 +61857,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 +61867,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 "" @@ -61683,8 +61892,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 +61911,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 +61930,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 +62438,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 +63473,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 +64958,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 +66005,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 +66510,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 "" @@ -68477,7 +68693,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 +68710,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 +68732,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 +69507,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 "" @@ -69658,17 +69876,27 @@ 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 "" +"如果该字符串包含有效的浮点数,则返回 [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 "" @@ -69699,25 +69927,39 @@ 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 "" "该字符串为有效标识符时,返回 [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 +#, 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 "" +"如果该字符串包含有效的整数,则返回 [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 +70017,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 "" @@ -70025,6 +70267,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 +72092,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 +72152,13 @@ msgid "Returns if the given line is wrapped." msgstr "返回给定的行是否换行。" #: doc/classes/TextEdit.xml +#, fuzzy +msgid "" +"Returns whether the mouse is over selection. If [code]edges[/code] is " +"[code]true[/code], the edges are considered part of the selection." +msgstr "返回节点[code]id[/code]和[code]dst_id[/code]是否在指定的插槽上连接。" + +#: doc/classes/TextEdit.xml msgid "Returns [code]true[/code] if the selection is active." msgstr "如果选择处于活动状态,则返回 [code]true[/code]。" @@ -73089,6 +73345,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 +73532,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 +73612,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 +73762,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 +74361,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 +74881,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)." @@ -75996,7 +76270,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 +76285,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 +76380,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 +76392,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 +76439,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 "" @@ -78973,26 +79246,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 "" @@ -79133,6 +79406,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." @@ -89382,13 +89660,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 +89676,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 +89724,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..633dc45410 100644 --- a/doc/translations/zh_TW.po +++ b/doc/translations/zh_TW.po @@ -15970,6 +15970,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 +16401,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 +18747,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 +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 #, fuzzy msgid "Returns the cache of points as a [PoolVector3Array]." msgstr "回傳參數的反正弦值。" @@ -23383,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 @@ -26848,14 +26869,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 @@ -32699,6 +32720,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 +32762,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[/" @@ -38620,6 +38655,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 +38713,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 +39277,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" @@ -45611,6 +45673,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 +46102,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 +47084,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 +47507,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 +48447,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 +48520,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 +55832,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 +55862,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 +55872,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 "" @@ -57566,6 +57672,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 +59896,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 +63571,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." |