summaryrefslogtreecommitdiff
path: root/doc/translations/fil.po
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-03-09 10:42:47 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-03-09 10:44:30 +0100
commitda4fc8d0ea7fa23c7ff85abd124ca12a30a55536 (patch)
tree18fb3a432724ade15251aa2292085b5413bbfee7 /doc/translations/fil.po
parente78f9da476e3020c56ebd0510ae69a7f60efbec2 (diff)
i18n: Sync classref translations with Weblate
(cherry picked from commit 6c56433997b3e0bb3a81a0dee8be145a240f37d4)
Diffstat (limited to 'doc/translations/fil.po')
-rw-r--r--doc/translations/fil.po385
1 files changed, 335 insertions, 50 deletions
diff --git a/doc/translations/fil.po b/doc/translations/fil.po
index 27b84c2f14..7d94a0dacc 100644
--- a/doc/translations/fil.po
+++ b/doc/translations/fil.po
@@ -3329,6 +3329,15 @@ msgstr ""
#: doc/classes/@GlobalScope.xml
msgid ""
+"Hints that a string property can be an enumerated value to pick in a list "
+"specified via a hint string such as [code]\"Hello,Something,Else\"[/code].\n"
+"Unlike [constant PROPERTY_HINT_ENUM] a property with this hint still accepts "
+"arbitrary values and can be empty. The list of values serves to suggest "
+"possible values."
+msgstr ""
+
+#: doc/classes/@GlobalScope.xml
+msgid ""
"Hints that a float property should be edited via an exponential easing "
"function. The hint string can include [code]\"attenuation\"[/code] to flip "
"the curve horizontally and/or [code]\"inout\"[/code] to also include in/out "
@@ -4839,7 +4848,7 @@ msgid ""
msgstr ""
#: doc/classes/AnimationNode.xml
-msgid "Returns [code]true[/code] whether a given path is filtered."
+msgid "Returns whether the given path is filtered."
msgstr ""
#: doc/classes/AnimationNode.xml
@@ -4864,7 +4873,7 @@ msgstr ""
#: doc/classes/AnimationNode.xml
msgid ""
-"Sets a custom parameter. These are used as local storage, because resources "
+"Sets a custom parameter. These are used as local memory, because resources "
"can be reused across the tree or scenes."
msgstr ""
@@ -4873,7 +4882,7 @@ msgid "If [code]true[/code], filtering is enabled."
msgstr ""
#: doc/classes/AnimationNode.xml
-msgid "Called when the node was removed from the graph."
+msgid "Emitted when the node was removed from the graph."
msgstr ""
#: doc/classes/AnimationNode.xml
@@ -9484,26 +9493,10 @@ msgid ""
msgstr ""
#: doc/classes/AudioServer.xml
-msgid ""
-"Name of the current device for audio input (see [method "
-"capture_get_device_list]). The value [code]\"Default\"[/code] means that the "
-"system-wide default audio input is currently used."
-msgstr ""
-
-#: doc/classes/AudioServer.xml
msgid "Returns the names of all audio input devices detected on the system."
msgstr ""
#: doc/classes/AudioServer.xml
-msgid ""
-"Sets which audio input device is used for audio capture. On systems with "
-"multiple audio inputs (such as analog and USB), this can be used to select "
-"the audio input device. Setting the value [code]\"Default\"[/code] will "
-"record audio from the system-wide default audio input. If an invalid device "
-"name is set, the value will be reverted back to [code]\"Default\"[/code]."
-msgstr ""
-
-#: doc/classes/AudioServer.xml
msgid "Generates an [AudioBusLayout] using the available buses and effects."
msgstr ""
@@ -9661,6 +9654,16 @@ msgstr ""
#: doc/classes/AudioServer.xml
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), "
+"this can be used to select the audio input device. The value "
+"[code]\"Default\"[/code] will record audio on the system-wide default audio "
+"input. If an invalid device name is set, the value will be reverted back to "
+"[code]\"Default\"[/code]."
+msgstr ""
+
+#: doc/classes/AudioServer.xml
+msgid ""
"Name of the current device for audio output (see [method get_device_list]). "
"On systems with multiple audio outputs (such as analog, USB and HDMI audio), "
"this can be used to select the audio output device. The value "
@@ -12736,6 +12739,18 @@ msgstr ""
#: doc/classes/CanvasLayer.xml
msgid ""
+"Hides any [CanvasItem] under this [CanvasLayer]. This is equivalent to "
+"setting [member visible] to [code]false[/code]."
+msgstr ""
+
+#: doc/classes/CanvasLayer.xml
+msgid ""
+"Shows any [CanvasItem] under this [CanvasLayer]. This is equivalent to "
+"setting [member visible] to [code]true[/code]."
+msgstr ""
+
+#: doc/classes/CanvasLayer.xml
+msgid ""
"The custom [Viewport] node assigned to the [CanvasLayer]. If [code]null[/"
"code], uses the default viewport instead."
msgstr ""
@@ -15572,8 +15587,9 @@ 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 "
"[code]theme_type[/code]. If [code]theme_type[/code] is omitted the class "
-"name of the current control is used as the type. If the type is a class name "
-"its parent classes are also checked, in order of inheritance.\n"
+"name of the current control is used as the type, or [member "
+"theme_type_variation] if it is defined. If the type is a class name its "
+"parent classes are also checked, in order of inheritance.\n"
"For the current control its local overrides are considered first (see "
"[method add_color_override]), then its assigned [member theme]. After the "
"current control, each parent control and its assigned [member theme] are "
@@ -16324,6 +16340,25 @@ msgid ""
msgstr ""
#: doc/classes/Control.xml
+msgid ""
+"The name of a theme type variation used by this [Control] to look up its own "
+"theme items. When empty, the class name of the node is used (e.g. "
+"[code]Button[/code] for the [Button] control), as well as the class names of "
+"all parent classes (in order of inheritance).\n"
+"When set, this property gives the highest priority to the type of the "
+"specified name. This type can in turn extend another type, forming a "
+"dependency chain. See [method Theme.set_type_variation]. If the theme item "
+"cannot be found using this type or its base types, lookup falls back on the "
+"class names.\n"
+"[b]Note:[/b] To look up [Control]'s own items use various [code]get_*[/code] "
+"methods without specifying [code]theme_type[/code].\n"
+"[b]Note:[/b] Theme items are looked for in the tree order, from branch to "
+"root, where each [Control] node is checked for its [member theme] property. "
+"The earliest match against any type/class name is returned. The project-"
+"level Theme and the default Theme are checked last."
+msgstr ""
+
+#: doc/classes/Control.xml
msgid "Emitted when the node gains keyboard focus."
msgstr ""
@@ -22998,7 +23033,22 @@ msgid ""
msgstr ""
#: doc/classes/Environment.xml
-msgid "If [code]true[/code], the glow effect is enabled."
+msgid ""
+"If [code]true[/code], the glow effect is enabled.\n"
+"[b]Note:[/b] Only effective if [member ProjectSettings.rendering/quality/"
+"intended_usage/framebuffer_allocation] is [b]3D[/b] ([i]not[/i] [b]3D "
+"Without Effects[/b]). On mobile, [member ProjectSettings.rendering/quality/"
+"intended_usage/framebuffer_allocation] defaults to [b]3D Without Effects[/b] "
+"by default, so its [code].mobile[/code] override needs to be changed to "
+"[b]3D[/b].\n"
+"[b]Note:[/b] When using GLES3 on mobile, HDR rendering is disabled by "
+"default for performance reasons. This means glow will only be visible if "
+"[member glow_hdr_threshold] is decreased below [code]1.0[/code] or if "
+"[member glow_bloom] is increased above [code]0.0[/code]. Also consider "
+"increasing [member glow_intensity] to [code]1.5[/code]. If you want glow to "
+"behave on mobile like it does on desktop (at a performance cost), enable "
+"[member ProjectSettings.rendering/quality/depth/hdr]'s [code].mobile[/code] "
+"override."
msgstr ""
#: doc/classes/Environment.xml
@@ -25100,8 +25150,9 @@ msgid ""
"Returns a [PoolIntArray] where each triangle consists of three consecutive "
"point indices into [code]polygon[/code] (i.e. the returned array will have "
"[code]n * 3[/code] elements, with [code]n[/code] being the number of found "
-"triangles). If the triangulation did not succeed, an empty [PoolIntArray] is "
-"returned."
+"triangles). Output triangles will always be counter clockwise, and the "
+"contour will be flipped if it's clockwise. If the triangulation did not "
+"succeed, an empty [PoolIntArray] is returned."
msgstr ""
#: doc/classes/Geometry.xml
@@ -25371,7 +25422,12 @@ msgid ""
"[b]Note:[/b] [method bake] works from the editor and in exported projects. "
"This makes it suitable for procedurally generated or user-built levels. "
"Baking a [GIProbe] generally takes from 5 to 20 seconds in most scenes. "
-"Reducing [member subdiv] can speed up baking."
+"Reducing [member subdiv] can speed up baking.\n"
+"[b]Note:[/b] [GeometryInstance]s and [Light]s must be fully ready before "
+"[method bake] is called. If you are procedurally creating those and some "
+"meshes or lights are missing from your baked [GIProbe], use "
+"[code]call_deferred(\"bake\")[/code] instead of calling [method bake] "
+"directly."
msgstr ""
#: doc/classes/GIProbe.xml
@@ -31906,7 +31962,12 @@ msgid "The color of shadows cast by this light."
msgstr ""
#: doc/classes/Light.xml
-msgid "Attempts to reduce [member shadow_bias] gap."
+msgid ""
+"Attempts to reduce [member shadow_bias] gap by rendering screen-space "
+"contact shadows. This has a performance impact, especially at higher "
+"values.\n"
+"[b]Note:[/b] Contact shadows can look broken, so leaving this property to "
+"[code]0.0[/code] is recommended."
msgstr ""
#: doc/classes/Light.xml
@@ -32286,8 +32347,12 @@ msgstr ""
#: doc/classes/Line2D.xml
msgid ""
-"The smoothness of the rounded joints and caps. This is only used if a cap or "
-"joint is set as round."
+"The smoothness of the rounded joints and caps. Higher values result in "
+"smoother corners, but are more demanding to render and update. This is only "
+"used if a cap or joint is set as round.\n"
+"[b]Note:[/b] The default value is tuned for lines with the default [member "
+"width]. For thin lines, this value should be reduced to a number between "
+"[code]2[/code] and [code]4[/code] to improve performance."
msgstr ""
#: doc/classes/Line2D.xml
@@ -34127,6 +34192,15 @@ msgstr ""
#: doc/classes/MultiMesh.xml
msgid ""
+"When using [i]physics interpolation[/i], this function allows you to prevent "
+"interpolation on an instance in the current physics tick.\n"
+"This allows you to move instances instantaneously, and should usually be "
+"used when initially placing an instance such as a bullet to prevent "
+"graphical glitches."
+msgstr ""
+
+#: doc/classes/MultiMesh.xml
+msgid ""
"Sets all data related to the instances in one go. This is especially useful "
"when loading the data from disk or preparing the data from GDNative.\n"
"All data is packed in one large float array. An array may look like this: "
@@ -34140,6 +34214,18 @@ msgstr ""
#: doc/classes/MultiMesh.xml
msgid ""
+"An alternative version of [method MultiMesh.set_as_bulk_array] which can be "
+"used with [i]physics interpolation[/i]. This method takes two arrays, and "
+"can set the data for the current and previous tick in one go. The renderer "
+"will automatically interpolate the data at each frame.\n"
+"This is useful for situations where the order of instances may change from "
+"physics tick to tick, such as particle systems.\n"
+"When the order of instances is coherent, the simpler [method MultiMesh."
+"set_as_bulk_array] can still be used with interpolation."
+msgstr ""
+
+#: doc/classes/MultiMesh.xml
+msgid ""
"Sets the color of a specific instance by [i]multiplying[/i] the mesh's "
"existing vertex colors.\n"
"For the color to take effect, ensure that [member color_format] is non-"
@@ -34182,6 +34268,16 @@ msgid "Mesh to be drawn."
msgstr ""
#: doc/classes/MultiMesh.xml
+msgid ""
+"Choose whether to use an interpolation method that favors speed or quality.\n"
+"When using low physics tick rates (typically below 20) or high rates of "
+"object rotation, you may get better results from the high quality setting.\n"
+"[b]Note:[/b] Fast quality does not equate to low quality. Except in the "
+"special cases mentioned above, the quality should be comparable to high "
+"quality."
+msgstr ""
+
+#: doc/classes/MultiMesh.xml
msgid "Format of transform used to transform mesh, either 2D or 3D."
msgstr ""
@@ -34233,6 +34329,18 @@ msgid ""
"Use this for highest precision."
msgstr ""
+#: doc/classes/MultiMesh.xml
+msgid ""
+"Always interpolate using Basis lerping, which can produce warping artifacts "
+"in some situations."
+msgstr ""
+
+#: doc/classes/MultiMesh.xml
+msgid ""
+"Attempt to interpolate using Basis slerping (spherical linear interpolation) "
+"where possible, otherwise fall back to lerping."
+msgstr ""
+
#: doc/classes/MultiMeshInstance.xml
msgid "Node that instances a [MultiMesh]."
msgstr ""
@@ -36530,6 +36638,25 @@ msgstr ""
#: doc/classes/Node.xml
msgid ""
+"Returns [code]true[/code] if the physics interpolated flag is set for this "
+"Node (see [method set_physics_interpolated]).\n"
+"[b]Note:[/b] Interpolation will only be active is both the flag is set "
+"[b]and[/b] physics interpolation is enabled within the [SceneTree]. This can "
+"be tested using [method is_physics_interpolated_and_enabled]."
+msgstr ""
+
+#: doc/classes/Node.xml
+msgid ""
+"Returns [code]true[/code] if physics interpolation is enabled (see [method "
+"set_physics_interpolated]) [b]and[/b] enabled in the [SceneTree].\n"
+"This is a convenience version of [method is_physics_interpolated] that also "
+"checks whether physics interpolation is enabled globally.\n"
+"See [member SceneTree.physics_interpolation] and [member ProjectSettings."
+"physics/common/physics_interpolation]."
+msgstr ""
+
+#: doc/classes/Node.xml
+msgid ""
"Returns [code]true[/code] if physics processing is enabled (see [method "
"set_physics_process])."
msgstr ""
@@ -36700,6 +36827,21 @@ msgstr ""
#: doc/classes/Node.xml
msgid ""
+"When physics interpolation is active, moving a node to a radically different "
+"transform (such as placement within a level) can result in a visible glitch "
+"as the object is rendered moving from the old to new position over the "
+"physics tick.\n"
+"This glitch can be prevented by calling [code]reset_physics_interpolation[/"
+"code], which temporarily turns off interpolation until the physics tick is "
+"complete.\n"
+"[constant NOTIFICATION_RESET_PHYSICS_INTERPOLATION] will be received by the "
+"node and all children recursively.\n"
+"[b]Note:[/b] This function should be called [b]after[/b] moving the node, "
+"rather than before."
+msgstr ""
+
+#: doc/classes/Node.xml
+msgid ""
"Sends a remote procedure call request for the given [code]method[/code] to "
"peers on the network (and locally), optionally sending all additional "
"arguments as arguments to the method called by the RPC. The call request "
@@ -36800,6 +36942,14 @@ msgstr ""
#: doc/classes/Node.xml
msgid ""
+"Enables or disables physics interpolation per node, offering a finer grain "
+"of control than turning physics interpolation on and off globally.\n"
+"[b]Note:[/b] This can be especially useful for [Camera]s, where custom "
+"interpolation can sometimes give superior results."
+msgstr ""
+
+#: doc/classes/Node.xml
+msgid ""
"Enables or disables physics (i.e. fixed framerate) processing. When a node "
"is being processed, it will receive a [constant "
"NOTIFICATION_PHYSICS_PROCESS] at a fixed (usually 60 FPS, see [member Engine."
@@ -37050,6 +37200,12 @@ msgstr ""
#: doc/classes/Node.xml
msgid ""
+"Notification received when [method reset_physics_interpolation] is called on "
+"the node or parent nodes."
+msgstr ""
+
+#: doc/classes/Node.xml
+msgid ""
"Inherits pause mode from the node's parent. For the root node, it is "
"equivalent to [constant PAUSE_MODE_STOP]. Default."
msgstr ""
@@ -38037,8 +38193,8 @@ msgstr ""
#: doc/classes/OccluderShapePolygon.xml
msgid ""
-"Specifies whether the occluder should operate one way only, or from both "
-"sides."
+"Specifies whether the occluder should operate from both sides. If "
+"[code]false[/code], the occluder will operate one way only."
msgstr ""
#: doc/classes/OccluderShapeSphere.xml
@@ -38828,7 +38984,19 @@ msgid ""
msgstr ""
#: doc/classes/OS.xml
-msgid "Returns the number of threads available on the host machine."
+msgid ""
+"Returns the number of [i]logical[/i] CPU cores available on the host "
+"machine. On CPUs with HyperThreading enabled, this number will be greater "
+"than the number of [i]physical[/i] CPU cores."
+msgstr ""
+
+#: doc/classes/OS.xml
+msgid ""
+"Returns the name of the CPU model on the host machine (e.g. \"Intel(R) "
+"Core(TM) i7-6700K CPU @ 4.00GHz\").\n"
+"[b]Note:[/b] This method is only implemented on Windows, macOS, Linux and "
+"iOS. On Android, HTML5 and UWP, [method get_processor_name] returns an empty "
+"string."
msgstr ""
#: doc/classes/OS.xml
@@ -46670,6 +46838,17 @@ msgstr ""
#: doc/classes/ProjectSettings.xml
msgid ""
+"If [code]true[/code], the renderer will interpolate the transforms of "
+"physics objects between the last two transforms, such that smooth motion is "
+"seen when physics ticks do not coincide with rendered frames.\n"
+"[b]Note:[/b] When moving objects to new positions (rather than the usual "
+"physics motion) you may want to temporarily turn off interpolation to "
+"prevent a visible glitch. You can do this using the [method Node."
+"reset_physics_interpolation] function."
+msgstr ""
+
+#: doc/classes/ProjectSettings.xml
+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 "
"games, where clock synchronization matters. Higher values cause higher "
@@ -46680,8 +46859,10 @@ msgid ""
"[b]Note:[/b] For best results, when using a custom physics interpolation "
"solution, the physics jitter fix should be disabled by setting [member "
"physics/common/physics_jitter_fix] to [code]0[/code].\n"
+"[b]Note:[/b] Jitter fix is automatically disabled at runtime when [member "
+"physics/common/physics_interpolation] is enabled.\n"
"[b]Note:[/b] This property is only read when the project starts. To change "
-"the physics FPS at runtime, set [member Engine.physics_jitter_fix] instead."
+"the value at runtime, set [member Engine.physics_jitter_fix] instead."
msgstr ""
#: doc/classes/ProjectSettings.xml
@@ -47194,14 +47375,19 @@ msgstr ""
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 "
-"than 1.\n"
+"than 1. This must be set to [code]true[/code] for glow rendering to work if "
+"[member Environment.glow_hdr_threshold] is greater than or equal to "
+"[code]1.0[/code].\n"
"[b]Note:[/b] Only available on the GLES3 backend."
msgstr ""
#: doc/classes/ProjectSettings.xml
msgid ""
"Lower-end override for [member rendering/quality/depth/hdr] on mobile "
-"devices, due to performance concerns or driver support."
+"devices, due to performance concerns or driver support. This must be set to "
+"[code]true[/code] for glow rendering to work if [member Environment."
+"glow_hdr_threshold] is greater than or equal to [code]1.0[/code].\n"
+"[b]Note:[/b] Only available on the GLES3 backend."
msgstr ""
#: doc/classes/ProjectSettings.xml
@@ -47330,8 +47516,8 @@ msgid ""
"resources it uses (but the less features it supports). If set to \"2D "
"Without Sampling\" or \"3D Without Effects\", sample buffers will not be "
"allocated. This means [code]SCREEN_TEXTURE[/code] and [code]DEPTH_TEXTURE[/"
-"code] will not be available in shaders and post-processing effects will not "
-"be available in the [Environment]."
+"code] will not be available in shaders and post-processing effects such as "
+"glow will not be available in [Environment]."
msgstr ""
#: doc/classes/ProjectSettings.xml
@@ -51268,6 +51454,13 @@ msgstr ""
#: doc/classes/SceneTree.xml
msgid ""
+"Although physics interpolation would normally be globally turned on and off "
+"using [member ProjectSettings.physics/common/physics_interpolation], this "
+"property allows control over interpolation at runtime."
+msgstr ""
+
+#: doc/classes/SceneTree.xml
+msgid ""
"If [code]true[/code], the [SceneTree]'s [member network_peer] refuses new "
"incoming connections."
msgstr ""
@@ -52521,6 +52714,18 @@ msgstr ""
#: doc/classes/Spatial.xml
msgid ""
+"When using physics interpolation, there will be circumstances in which you "
+"want to know the interpolated (displayed) transform of a node rather than "
+"the standard transform (which may only be accurate to the most recent "
+"physics tick).\n"
+"This is particularly important for frame-based operations that take place in "
+"[method Node._process], rather than [method Node._physics_process]. Examples "
+"include [Camera]s focusing on a node, or finding where to fire lasers from "
+"on a frame rather than physics tick."
+msgstr ""
+
+#: doc/classes/Spatial.xml
+msgid ""
"Returns the parent [Spatial], or an empty [Object] if no parent exists or "
"parent is not of type [Spatial]."
msgstr ""
@@ -54356,7 +54561,7 @@ msgid ""
"colors into account for albedo. Otherwise, the color defined in [member "
"modulate] will be ignored. For a [SpatialMaterial], [member SpatialMaterial."
"vertex_color_use_as_albedo] must be [code]true[/code]. For a "
-"[ShaderMaterial], [code]ALBEDO *= COLOR.rgb;[/color] must be inserted in the "
+"[ShaderMaterial], [code]ALBEDO *= COLOR.rgb;[/code] must be inserted in the "
"shader's [code]fragment()[/code] function."
msgstr ""
@@ -54370,7 +54575,7 @@ msgid ""
"colors into account for albedo. Otherwise, the opacity defined in [member "
"opacity] will be ignored. For a [SpatialMaterial], [member SpatialMaterial."
"vertex_color_use_as_albedo] must be [code]true[/code]. For a "
-"[ShaderMaterial], [code]ALPHA *= COLOR.a;[/color] must be inserted in the "
+"[ShaderMaterial], [code]ALPHA *= COLOR.a;[/code] must be inserted in the "
"shader's [code]fragment()[/code] function."
msgstr ""
@@ -55043,7 +55248,12 @@ msgid "Returns [code]true[/code] if the string begins with the given string."
msgstr ""
#: doc/classes/String.xml
-msgid "Returns the bigrams (pairs of consecutive letters) of this string."
+msgid ""
+"Returns an array containing the bigrams (pairs of consecutive letters) of "
+"this string.\n"
+"[codeblock]\n"
+"print(\"Bigrams\".bigrams()) # Prints \"[Bi, ig, gr, ra, am, ms]\"\n"
+"[/codeblock]"
msgstr ""
#: doc/classes/String.xml
@@ -55306,7 +55516,16 @@ msgid ""
msgstr ""
#: doc/classes/String.xml
-msgid "Returns [code]true[/code] if this string contains a valid float."
+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"
+"[/codeblock]"
msgstr ""
#: doc/classes/String.xml
@@ -55329,11 +55548,24 @@ msgstr ""
msgid ""
"Returns [code]true[/code] if this string is a valid identifier. A valid "
"identifier may contain only letters, digits and underscores ([code]_[/code]) "
-"and the first character may not be a digit."
+"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"
+"[/codeblock]"
msgstr ""
#: doc/classes/String.xml
-msgid "Returns [code]true[/code] if this string contains a valid integer."
+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"
+"[/codeblock]"
msgstr ""
#: doc/classes/String.xml
@@ -55382,14 +55614,16 @@ msgstr ""
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])."
+"single character except a period ([code]\".\"[/code]). An empty string or "
+"empty expression always evaluates to [code]false[/code]."
msgstr ""
#: doc/classes/String.xml
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])."
+"single character except a period ([code]\".\"[/code]). An empty string or "
+"empty expression always evaluates to [code]false[/code]."
msgstr ""
#: doc/classes/String.xml
@@ -55559,8 +55793,16 @@ msgstr ""
#: doc/classes/String.xml
msgid ""
-"Returns the similarity index of the text compared to this string. 1 means "
-"totally similar and 0 means totally dissimilar."
+"Returns the similarity index ([url=https://en.wikipedia.org/wiki/"
+"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) this "
+"string compared to another. 1.0 means totally similar and 0.0 means totally "
+"dissimilar.\n"
+"[codeblock]\n"
+"print(\"ABC123\".similarity(\"ABC123\")) # Prints \"1\"\n"
+"print(\"ABC123\".similarity(\"XYZ456\")) # Prints \"0\"\n"
+"print(\"ABC123\".similarity(\"123ABC\")) # Prints \"0.8\"\n"
+"print(\"ABC123\".similarity(\"abc123\")) # Prints \"0.4\"\n"
+"[/codeblock]"
msgstr ""
#: doc/classes/String.xml
@@ -57049,6 +57291,14 @@ msgid "Returns the total width of all gutters and internal padding."
msgstr ""
#: doc/classes/TextEdit.xml
+msgid "Returns the total amount of lines that could be drawn."
+msgstr ""
+
+#: doc/classes/TextEdit.xml
+msgid "Returns the number of visible lines, including wrapped text."
+msgstr ""
+
+#: doc/classes/TextEdit.xml
msgid ""
"Returns a [String] text with the word under the caret (text cursor) location."
msgstr ""
@@ -58086,6 +58336,12 @@ msgid ""
msgstr ""
#: doc/classes/Theme.xml
+msgid ""
+"Unmarks [code]theme_type[/code] as being a variation of another theme type. "
+"See [method set_type_variation]."
+msgstr ""
+
+#: doc/classes/Theme.xml
msgid "Sets the theme's values to a copy of the default theme values."
msgstr ""
@@ -58226,6 +58482,17 @@ msgstr ""
#: doc/classes/Theme.xml
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 ""
+
+#: doc/classes/Theme.xml
+msgid ""
+"Returns a list of all type variations for the given [code]base_type[/code]."
+msgstr ""
+
+#: doc/classes/Theme.xml
+msgid ""
"Returns [code]true[/code] if [Color] with [code]name[/code] is in "
"[code]node_type[/code].\n"
"Returns [code]false[/code] if the theme does not have [code]node_type[/code]."
@@ -58274,6 +58541,12 @@ msgstr ""
#: doc/classes/Theme.xml
msgid ""
+"Returns [code]true[/code] if [code]theme_type[/code] is marked as a "
+"variation of [code]base_type[/code]."
+msgstr ""
+
+#: doc/classes/Theme.xml
+msgid ""
"Adds missing and overrides existing definitions with values from the "
"[code]other[/code] [Theme].\n"
"[b]Note:[/b] This modifies the current theme. If you want to merge two "
@@ -58369,6 +58642,20 @@ msgstr ""
#: doc/classes/Theme.xml
msgid ""
+"Marks [code]theme_type[/code] as a variation of [code]base_type[/code].\n"
+"This adds [code]theme_type[/code] as a suggested option for [member Control."
+"theme_type_variation] on a [Control] that is of the [code]base_type[/code] "
+"class.\n"
+"Variations can also be nested, i.e. [code]base_type[/code] can be another "
+"variation. If a chain of variations ends with a [code]base_type[/code] "
+"matching the class of the [Control], the whole chain is going to be "
+"suggested as options.\n"
+"[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 ""
+
+#: doc/classes/Theme.xml
+msgid ""
"The default font of this [Theme] resource. Used as a fallback value for font "
"items defined in this theme, but having invalid values. If this value is "
"also invalid, the global default value is used.\n"
@@ -60542,7 +60829,7 @@ 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, "
"the next available index is used, which may be retrieved by calling [method "
-"get_button_count] immediately after this method. Optionally, the button can "
+"get_button_count] immediately before this method. Optionally, the button can "
"be [code]disabled[/code] and have a [code]tooltip[/code]."
msgstr ""
@@ -60583,9 +60870,7 @@ msgid ""
msgstr ""
#: doc/classes/TreeItem.xml
-msgid ""
-"Returns the number of buttons in column [code]column[/code]. May be used to "
-"get the most recently added button's index, if no index was specified."
+msgid "Returns the number of buttons in column [code]column[/code]."
msgstr ""
#: doc/classes/TreeItem.xml