diff --git a/doc/translations/ar.po b/doc/translations/ar.po index dc685b6e2b1..eb473b92756 100644 --- a/doc/translations/ar.po +++ b/doc/translations/ar.po @@ -15,12 +15,14 @@ # يزن حمزه , 2021. # HASSAN GAMER - حسن جيمر , 2022. # Spirit , 2022. +# Mr.k , 2022. +# Hamza Kalash , 2022. msgid "" msgstr "" "Project-Id-Version: Godot Engine class reference\n" "Report-Msgid-Bugs-To: https://github.com/godotengine/godot\n" -"PO-Revision-Date: 2022-01-10 13:18+0000\n" -"Last-Translator: Spirit \n" +"PO-Revision-Date: 2022-02-28 13:54+0000\n" +"Last-Translator: Mr.k \n" "Language-Team: Arabic \n" "Language: ar\n" @@ -29,7 +31,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.10.1\n" +"X-Generator: Weblate 4.11.1-dev\n" #: doc/tools/make_rst.py msgid "Description" @@ -41,11 +43,11 @@ msgstr "شروحات" #: doc/tools/make_rst.py msgid "Properties" -msgstr "خاصيات" +msgstr "خصائص" #: doc/tools/make_rst.py msgid "Methods" -msgstr "طرق" +msgstr "دوال" #: doc/tools/make_rst.py msgid "Theme Properties" @@ -77,15 +79,16 @@ msgstr "أوصاف خاصية الثمات" #: doc/tools/make_rst.py msgid "Inherits:" -msgstr "" +msgstr "يرث:" #: doc/tools/make_rst.py +#, fuzzy msgid "Inherited By:" -msgstr "" +msgstr "موروث من قِبَل:" #: doc/tools/make_rst.py msgid "(overrides %s)" -msgstr "" +msgstr "(يتجاوز s%)" #: doc/tools/make_rst.py msgid "Default" @@ -101,7 +104,7 @@ msgstr "قيمة" #: doc/tools/make_rst.py msgid "Getter" -msgstr "" +msgstr "جالب" #: doc/tools/make_rst.py msgid "" @@ -136,8 +139,9 @@ 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 "" @@ -173,6 +177,7 @@ msgstr "" "[/codeblock]" #: modules/gdscript/doc_classes/@GDScript.xml +#, fuzzy msgid "" "Returns a color according to the standardized [code]name[/code] with " "[code]alpha[/code] ranging from 0 to 1.\n" @@ -181,14 +186,14 @@ msgid "" "[/codeblock]\n" "Supported color names are the same as the constants defined in [Color]." msgstr "" -"لعرض لون يتوافق مع [code]name[/ code] و [code]alpha[/ code] تتراوح بين 0 " -"و1.\n" +"لعرض لون يتوافق مع [code]name[/code] و [code]alpha[/code]تتراوح بين 0 و1.\n" "[codeblock]\n" "(red = ColorN(\"red\", 1\n" -"[codeblock/]\n" +"[/codeblock]\n" "أسماء الألوان المدعومة هي نفس الثوابت المعرّفة في [Color]." #: modules/gdscript/doc_classes/@GDScript.xml +#, fuzzy msgid "" "Returns the absolute value of parameter [code]s[/code] (i.e. positive " "value).\n" @@ -196,11 +201,10 @@ msgid "" "a = abs(-1) # a is 1\n" "[/codeblock]" msgstr "" -"لعرض القيمة المطلقة للمُعامل [code]s[/ code] (القيمة المطلقة أي القيمة " +"لعرض القيمة المطلقة للمُعامل [code]s[/code] (القيمة المطلقة أي القيمة " "الموجبة).\n" "[codeblock]\n" -"#القيمة المطلقة لـ(1-) هي 1، وبالتالي فإن قيمة a ستكون 1\n" -"(a = abs(-1\n" +"(a = abs(-1 #القيمة المطلقة لـ(1-) هي 1، وبالتالي فإن قيمة a ستكون 1\n" "[/codeblock]" #: modules/gdscript/doc_classes/@GDScript.xml @@ -215,15 +219,16 @@ msgid "" "c = acos(0.866025)\n" "[/codeblock]" msgstr "" -"تُرجع معكوس دالة الكوساين لـ [code]s[/ code] بالراديان. تُستخدم للحصول على " -"زاوية الكوساين [code]s[/code].\n" +"تقوم هذه الدالة بارجاع arc cos للقيمة [code]s[/code] بالراديانز. يمكنك " +"استعمالها للحصول علي قيمة الزاوية cos([code]s[/code]). قيمة [code]s[/code] " +"لابد ان تكون محصورة بين [code]-1.00[/code] و [code]1.00[/code]. او ستقوم " +"الدالة بارجاع [constant NAN] \n" "[codeblock]\n" -"# c تساوي 0.523599 أو 30 درجة إذا تم تحويلها باستخدام (rad2deg(s\n" -"(c = acos(0.866025\n" +"# c هي 0.523599 أو 30 درجة إذا حُولتْ بأستخدام rad2deg(s)\n" +"c = acos(0.866025)\n" "[/codeblock]" #: modules/gdscript/doc_classes/@GDScript.xml -#, fuzzy msgid "" "Returns the arc sine of [code]s[/code] in radians. Use to get the angle of " "sine [code]s[/code]. [code]s[/code] must be between [code]-1.0[/code] and " @@ -234,11 +239,13 @@ msgid "" "s = asin(0.5)\n" "[/codeblock]" msgstr "" -"تُرجع معكوس دالة الكوساين لـ [code]s[/ code] بالراديان. تُستخدم للحصول على " -"زاوية الكوساين [code]s[/code].\n" +"تُرجع معكوس دالة الكوساين لـ [code]s[/code] بالراديان. تُستخدم للحصول على " +"زاوية الكوساين [code]s[/code]. يجب أن تكون قيمة [code]s[/code] بين " +"[code]-1.0[/code] و [code]1.0[/code] (شاملةً اياها), وغيير ذلك, [الدالة asin] " +"سوف ترجع [قيمة الثابت NAN].\n" "[codeblock]\n" -"# c تساوي 0.523599 أو 30 درجة إذا تم تحويلها باستخدام (rad2deg(s\n" -"(c = acos(0.866025\n" +"# s تساوي 0.523599 أو 30 درجة إذا تم تحويلها باستخدام (rad2deg(s\n" +"(s = acos(0.5\n" "[/codeblock]" #: modules/gdscript/doc_classes/@GDScript.xml @@ -292,6 +299,7 @@ msgid "" msgstr "" #: modules/gdscript/doc_classes/@GDScript.xml +#, fuzzy msgid "" "Decodes a byte array back to a value. When [code]allow_objects[/code] is " "[code]true[/code] decoding objects is allowed.\n" @@ -300,8 +308,8 @@ msgid "" "avoid potential security threats (remote code execution)." msgstr "" "يقوم بفك تشفير مصفوفة بايت وإعادتها إلى قيمة. عندما يكون [code] " -"allow_objects [/ code] هو [code] صحيح [/ code] ، اسمح بفك تشفير الكائنات.\n" -"[b] تحذير: [/ b] يتم تنفيذه إذا كان الكائن الذي تم إلغاء تسلسله يحتوي على " +"allow_objects [/code] هو [code] صحيح [/code] ، اسمح بفك تشفير الكائنات.\n" +"[b] تحذير: [/b] يتم تنفيذه إذا كان الكائن الذي تم إلغاء تسلسله يحتوي على " "تعليمات برمجية. إذا جاء الكائن المتسلسل من مصدر غير موثوق به ، فلا تستخدم " "هذا الخيار لمنع مخاطر أمنية محتملة (تنفيذ التعليمات البرمجية عن بُعد)." @@ -372,7 +380,7 @@ msgid "" "a = cos(PI) # a is -1.0\n" "[/codeblock]" msgstr "" -"لعرض القيمة المطلقة للمُعامل [code]s[/ code] (القيمة المطلقة أي القيمة " +"لعرض القيمة المطلقة للمُعامل [code]s[/code] (القيمة المطلقة أي القيمة " "الموجبة).\n" "[codeblock]\n" "#القيمة المطلقة لـ(1-) هي 1، وبالتالي فإن قيمة a ستكون 1\n" @@ -387,11 +395,10 @@ msgid "" "print(cosh(1)) # Prints 1.543081\n" "[/codeblock]" msgstr "" -"لعرض القيمة المطلقة للمُعامل [code]s[/ code] (القيمة المطلقة أي القيمة " +"لعرض القيمة المطلقة للمُعامل [code]s[/code] (القيمة المطلقة أي القيمة " "الموجبة).\n" "[codeblock]\n" -"#القيمة المطلقة لـ(1-) هي 1، وبالتالي فإن قيمة a ستكون 1\n" -"(a = abs(-1\n" +"#القيمة المطلقة لـ(1-) هي 1، وبالتالي فإن قيمة a ستكون 1 (a = abs(-1\n" "[/codeblock]" #: modules/gdscript/doc_classes/@GDScript.xml @@ -881,11 +888,10 @@ msgid "" "pow(2, 5) # Returns 32.0\n" "[/codeblock]" msgstr "" -"تُرجع معكوس دالة الكوساين لـ [code]s[/ code] بالراديان. تُستخدم للحصول على " +"تُرجع معكوس دالة الكوساين لـ [code]s[/code] بالراديان. تُستخدم للحصول على " "زاوية الكوساين [code]s[/code].\n" "[codeblock]\n" "# c تساوي 0.523599 أو 30 درجة إذا تم تحويلها باستخدام (rad2deg(s\n" -"(c = acos(0.866025\n" "[/codeblock]" #: modules/gdscript/doc_classes/@GDScript.xml @@ -1253,7 +1259,7 @@ msgid "" "b = tanh(a) # b is 0.6\n" "[/codeblock]" msgstr "" -"لعرض القيمة المطلقة للمُعامل [code]s[/ code] (القيمة المطلقة أي القيمة " +"لعرض القيمة المطلقة للمُعامل [code]s[/code] (القيمة المطلقة أي القيمة " "الموجبة).\n" "[codeblock]\n" "#القيمة المطلقة لـ(1-) هي 1، وبالتالي فإن قيمة a ستكون 1\n" @@ -3412,6 +3418,15 @@ msgid "" "Else\"[/code]." 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 " @@ -4925,8 +4940,9 @@ msgid "" msgstr "" #: doc/classes/AnimationNode.xml -msgid "Returns [code]true[/code] whether a given path is filtered." -msgstr "" +#, fuzzy +msgid "Returns whether the given path is filtered." +msgstr "يُرجع قيمة ظل الزاوية للمَعلم." #: doc/classes/AnimationNode.xml msgid "" @@ -4950,7 +4966,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 "" @@ -4959,7 +4975,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 @@ -5030,7 +5046,7 @@ msgstr "" #: doc/classes/AnimationNodeTimeScale.xml #: doc/classes/AnimationNodeTransition.xml msgid "AnimationTree" -msgstr "" +msgstr "شجرة التحريك" #: doc/classes/AnimationNodeAdd3.xml doc/classes/AnimationNodeAnimation.xml #: doc/classes/AnimationNodeBlend2.xml @@ -9570,26 +9586,10 @@ msgid "" "[code]at_position[/code]." 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 "" @@ -9746,6 +9746,16 @@ msgstr "" msgid "Number of available audio buses." 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]). " @@ -12211,11 +12221,10 @@ msgid "Returns an array of [CameraFeed]s." msgstr "" #: doc/classes/CameraServer.xml -#, fuzzy msgid "" "Returns the [CameraFeed] corresponding to the camera with the given " "[code]index[/code]." -msgstr "يُرجع جيب المَعلم." +msgstr "يُرجع [CameraFeed] المطابقة للكاميرا مع المؤشر [code]index[/code]." #: doc/classes/CameraServer.xml msgid "Returns the number of [CameraFeed]s registered." @@ -12827,6 +12836,18 @@ msgstr "" msgid "Returns the RID of the canvas used by this layer." 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[/" @@ -15665,8 +15686,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 " @@ -16422,6 +16444,25 @@ msgid "" "all its [Control] children use." 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 "" @@ -23102,7 +23143,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 @@ -25206,8 +25262,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 @@ -25477,7 +25534,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 @@ -32018,7 +32080,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 @@ -32398,8 +32465,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 @@ -34238,6 +34309,15 @@ msgstr "" msgid "Returns the [Transform2D] of a specific instance." 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 " @@ -34251,6 +34331,18 @@ msgid "" "code] is stored as 4 floats." 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 " @@ -34294,6 +34386,16 @@ msgstr "" 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 "" @@ -34346,6 +34448,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 "" @@ -36666,6 +36780,25 @@ msgid "" "Returns [code]true[/code] if the local system is the master of this node." 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 " @@ -36836,6 +36969,21 @@ msgid "" "normally)." 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 " @@ -36936,6 +37084,14 @@ msgid "" "peer is recursively set as the master for all children of this node." 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 " @@ -37186,6 +37342,12 @@ msgid "" "node enters tree, instead of only once." 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 " @@ -38175,8 +38337,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 @@ -38969,7 +39131,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 @@ -40080,9 +40254,10 @@ msgid "" "Do not use this option if the serialized object comes from untrusted sources " "to avoid potential security threats such as remote code execution." msgstr "" -"يقوم بفك تشفير مصفوفة بايت وإعادتها إلى قيمة. عندما يكون [code] " -"allow_objects [/ code] هو [code] صحيح [/ code] ، اسمح بفك تشفير الكائنات.\n" -"[b] تحذير: [/ b] يتم تنفيذه إذا كان الكائن الذي تم إلغاء تسلسله يحتوي على " +"يقوم بفك تشفير مصفوفة بايت وإعادتها إلى قيمة.\n" +"عندما يكون [code] allow_objects [/code] هو [code] صحيح[/code]. اسمح بفك " +"تشفير الكائنات.\n" +"[b] تحذير: [/b] يتم تنفيذه إذا كان الكائن الذي تم إلغاء تسلسله يحتوي على " "تعليمات برمجية. إذا جاء الكائن المتسلسل من مصدر غير موثوق به ، فلا تستخدم " "هذا الخيار لمنع مخاطر أمنية محتملة (تنفيذ التعليمات البرمجية عن بُعد)." @@ -46832,6 +47007,17 @@ msgid "" "below 30 FPS." 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 " @@ -46844,8 +47030,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 @@ -47358,14 +47546,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 @@ -47494,8 +47687,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 @@ -51431,6 +51624,13 @@ msgid "" "_input] will not be called anymore in nodes." 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 " @@ -52684,6 +52884,18 @@ msgstr "" msgid "All 3D Demos" 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 " @@ -54521,7 +54733,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 "" @@ -54535,7 +54747,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 "" @@ -55210,7 +55422,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 @@ -55473,7 +55690,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 @@ -55496,11 +55722,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 @@ -55549,14 +55788,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 @@ -55726,8 +55967,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 @@ -57220,6 +57469,16 @@ msgstr "" msgid "Returns the total width of all gutters and internal padding." msgstr "يُرجع جيب التمام \"cosine \" لقيمة المَعلم." +#: doc/classes/TextEdit.xml +#, fuzzy +msgid "Returns the total amount of lines that could be drawn." +msgstr "يُرجع القيمة المعاكسة للمَعلم." + +#: doc/classes/TextEdit.xml +#, fuzzy +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." @@ -58258,6 +58517,12 @@ msgid "" "theme has [code]node_type[/code]." 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 "" @@ -58397,6 +58662,18 @@ msgid "" "future version." 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 +#, fuzzy +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 " @@ -58445,6 +58722,12 @@ msgid "" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." 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 " @@ -58540,6 +58823,20 @@ msgid "" "Creates [code]node_type[/code] if the theme does not have it." 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 " @@ -60718,7 +61015,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 "" @@ -60760,10 +61057,9 @@ 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." -msgstr "" +#, fuzzy +msgid "Returns the number of buttons in column [code]column[/code]." +msgstr "يُرجع جيب المَعلم." #: doc/classes/TreeItem.xml #, fuzzy diff --git a/doc/translations/ca.po b/doc/translations/ca.po index 2dbbe58fae6..6c448598c17 100644 --- a/doc/translations/ca.po +++ b/doc/translations/ca.po @@ -3440,6 +3440,15 @@ msgid "" "Else\"[/code]." 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 " @@ -4952,7 +4961,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 @@ -4977,7 +4986,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 "" @@ -4986,7 +4995,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 @@ -9596,26 +9605,10 @@ msgid "" "[code]at_position[/code]." 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 "" @@ -9772,6 +9765,16 @@ msgstr "" msgid "Number of available audio buses." 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]). " @@ -12847,6 +12850,18 @@ msgstr "" msgid "Returns the RID of the canvas used by this layer." 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[/" @@ -15685,8 +15700,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 " @@ -16436,6 +16452,25 @@ msgid "" "all its [Control] children use." 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 "" @@ -23111,7 +23146,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 @@ -25213,8 +25263,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 @@ -25484,7 +25535,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 @@ -32019,7 +32075,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 @@ -32399,8 +32460,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 @@ -34238,6 +34303,15 @@ msgstr "" msgid "Returns the [Transform2D] of a specific instance." 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 " @@ -34251,6 +34325,18 @@ msgid "" "code] is stored as 4 floats." 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 " @@ -34294,6 +34380,16 @@ msgstr "" 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 "" @@ -34346,6 +34442,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 "" @@ -36641,6 +36749,25 @@ msgid "" "Returns [code]true[/code] if the local system is the master of this node." 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 " @@ -36811,6 +36938,21 @@ msgid "" "normally)." 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 " @@ -36911,6 +37053,14 @@ msgid "" "peer is recursively set as the master for all children of this node." 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 " @@ -37161,6 +37311,12 @@ msgid "" "node enters tree, instead of only once." 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 " @@ -38150,8 +38306,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 @@ -38941,7 +39097,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 @@ -46781,6 +46949,17 @@ msgid "" "below 30 FPS." 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 " @@ -46793,8 +46972,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 @@ -47307,14 +47488,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 @@ -47443,8 +47629,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 @@ -51379,6 +51565,13 @@ msgid "" "_input] will not be called anymore in nodes." 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 " @@ -52632,6 +52825,18 @@ msgstr "" msgid "All 3D Demos" 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 " @@ -54469,7 +54674,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 "" @@ -54483,7 +54688,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 "" @@ -55156,7 +55361,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 @@ -55419,7 +55629,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 @@ -55442,11 +55661,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 @@ -55495,14 +55727,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 @@ -55672,8 +55906,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 @@ -57161,6 +57403,14 @@ msgstr "" 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." @@ -58198,6 +58448,12 @@ msgid "" "theme has [code]node_type[/code]." 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 "" @@ -58337,6 +58593,17 @@ msgid "" "future version." 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 " @@ -58385,6 +58652,12 @@ msgid "" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." 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 " @@ -58480,6 +58753,20 @@ msgid "" "Creates [code]node_type[/code] if the theme does not have it." 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 " @@ -60655,7 +60942,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 "" @@ -60696,9 +60983,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 diff --git a/doc/translations/classes.pot b/doc/translations/classes.pot index 84d943d1385..aab649c5ede 100644 --- a/doc/translations/classes.pot +++ b/doc/translations/classes.pot @@ -3320,6 +3320,15 @@ msgid "" "Else\"[/code]." 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 " @@ -4832,7 +4841,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 @@ -4857,7 +4866,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 "" @@ -4866,7 +4875,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 @@ -9476,26 +9485,10 @@ msgid "" "[code]at_position[/code]." 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 "" @@ -9652,6 +9645,16 @@ msgstr "" msgid "Number of available audio buses." 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]). " @@ -12727,6 +12730,18 @@ msgstr "" msgid "Returns the RID of the canvas used by this layer." 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[/" @@ -15565,8 +15580,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 " @@ -16316,6 +16332,25 @@ msgid "" "all its [Control] children use." 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 "" @@ -22988,7 +23023,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 @@ -25090,8 +25140,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 @@ -25361,7 +25412,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 @@ -31896,7 +31952,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 @@ -32276,8 +32337,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 @@ -34115,6 +34180,15 @@ msgstr "" msgid "Returns the [Transform2D] of a specific instance." 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 " @@ -34128,6 +34202,18 @@ msgid "" "code] is stored as 4 floats." 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 " @@ -34171,6 +34257,16 @@ msgstr "" 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 "" @@ -34223,6 +34319,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 "" @@ -36518,6 +36626,25 @@ msgid "" "Returns [code]true[/code] if the local system is the master of this node." 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 " @@ -36688,6 +36815,21 @@ msgid "" "normally)." 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 " @@ -36788,6 +36930,14 @@ msgid "" "peer is recursively set as the master for all children of this node." 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 " @@ -37038,6 +37188,12 @@ msgid "" "node enters tree, instead of only once." 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 " @@ -38027,8 +38183,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 @@ -38818,7 +38974,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 @@ -46658,6 +46826,17 @@ msgid "" "below 30 FPS." 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 " @@ -46670,8 +46849,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 @@ -47184,14 +47365,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 @@ -47320,8 +47506,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 @@ -51256,6 +51442,13 @@ msgid "" "_input] will not be called anymore in nodes." 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 " @@ -52509,6 +52702,18 @@ msgstr "" msgid "All 3D Demos" 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 " @@ -54346,7 +54551,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 "" @@ -54360,7 +54565,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 "" @@ -55033,7 +55238,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 @@ -55296,7 +55506,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 @@ -55319,11 +55538,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 @@ -55372,14 +55604,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 @@ -55549,8 +55783,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 @@ -57038,6 +57280,14 @@ msgstr "" 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." @@ -58075,6 +58325,12 @@ msgid "" "theme has [code]node_type[/code]." 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 "" @@ -58214,6 +58470,17 @@ msgid "" "future version." 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 " @@ -58262,6 +58529,12 @@ msgid "" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." 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 " @@ -58357,6 +58630,20 @@ msgid "" "Creates [code]node_type[/code] if the theme does not have it." 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 " @@ -60532,7 +60819,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 "" @@ -60573,9 +60860,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 diff --git a/doc/translations/cs.po b/doc/translations/cs.po index f6f80463822..b1ce4b9d204 100644 --- a/doc/translations/cs.po +++ b/doc/translations/cs.po @@ -4,7 +4,7 @@ # This file is distributed under the same license as the Godot source code. # # Ondrej Pavelka , 2020. -# Zbyněk , 2020, 2021. +# Zbyněk , 2020, 2021, 2022. # Daniel Kříž , 2020. # Vojtěch Šamla , 2020, 2021. # Pierre Stempin , 2020. @@ -17,7 +17,7 @@ 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-20 22:06+0000\n" +"PO-Revision-Date: 2022-03-08 06:54+0000\n" "Last-Translator: Zbyněk \n" "Language-Team: Czech \n" @@ -26,7 +26,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8-bit\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" -"X-Generator: Weblate 4.9.1\n" +"X-Generator: Weblate 4.12-dev\n" #: doc/tools/make_rst.py msgid "Description" @@ -3821,6 +3821,15 @@ msgid "" "Else\"[/code]." 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 " @@ -5334,8 +5343,9 @@ msgid "" msgstr "" #: doc/classes/AnimationNode.xml -msgid "Returns [code]true[/code] whether a given path is filtered." -msgstr "" +#, fuzzy +msgid "Returns whether the given path is filtered." +msgstr "Vrátí tangens parametru." #: doc/classes/AnimationNode.xml msgid "" @@ -5359,7 +5369,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 "" @@ -5368,7 +5378,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 @@ -9985,26 +9995,10 @@ msgid "" "[code]at_position[/code]." 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 "" @@ -10161,6 +10155,16 @@ msgstr "" msgid "Number of available audio buses." 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]). " @@ -13248,6 +13252,18 @@ msgstr "" msgid "Returns the RID of the canvas used by this layer." 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[/" @@ -16092,8 +16108,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 " @@ -16873,6 +16890,25 @@ msgid "" "all its [Control] children use." 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 "" @@ -23560,7 +23596,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 @@ -25664,8 +25715,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 @@ -25935,7 +25987,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 @@ -32482,7 +32539,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 @@ -32862,8 +32924,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 @@ -34703,6 +34769,15 @@ msgstr "" msgid "Returns the [Transform2D] of a specific instance." 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 " @@ -34716,6 +34791,18 @@ msgid "" "code] is stored as 4 floats." 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 " @@ -34759,6 +34846,16 @@ msgstr "" 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 "" @@ -34811,6 +34908,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 "" @@ -36700,7 +36809,7 @@ msgstr "" #: doc/classes/Node.xml msgid "Nodes and Scenes" -msgstr "" +msgstr "Uzly a scény" #: doc/classes/Node.xml msgid "All Demos" @@ -37135,6 +37244,25 @@ msgid "" "Returns [code]true[/code] if the local system is the master of this node." 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 " @@ -37305,6 +37433,21 @@ msgid "" "normally)." 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 " @@ -37405,6 +37548,14 @@ msgid "" "peer is recursively set as the master for all children of this node." 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 " @@ -37655,6 +37806,12 @@ msgid "" "node enters tree, instead of only once." 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 " @@ -38647,8 +38804,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 @@ -39442,7 +39599,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 @@ -47315,6 +47484,17 @@ msgid "" "below 30 FPS." 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 " @@ -47327,8 +47507,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 @@ -47841,14 +48023,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 @@ -47977,8 +48164,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 @@ -51922,6 +52109,13 @@ msgid "" "_input] will not be called anymore in nodes." 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 " @@ -53176,6 +53370,18 @@ msgstr "" msgid "All 3D Demos" 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 " @@ -55014,7 +55220,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 "" @@ -55028,7 +55234,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 "" @@ -55709,7 +55915,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 @@ -55972,7 +56183,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 @@ -55995,11 +56215,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 @@ -56048,14 +56281,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 @@ -56225,8 +56460,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 @@ -57721,6 +57964,16 @@ msgstr "" msgid "Returns the total width of all gutters and internal padding." msgstr "Vrátí tangens parametru." +#: doc/classes/TextEdit.xml +#, fuzzy +msgid "Returns the total amount of lines that could be drawn." +msgstr "Vrátí opačnou hodnotu parametru." + +#: doc/classes/TextEdit.xml +#, fuzzy +msgid "Returns the number of visible lines, including wrapped text." +msgstr "Vrátí zbytek po dělení dvou vektorů." + #: doc/classes/TextEdit.xml msgid "" "Returns a [String] text with the word under the caret (text cursor) location." @@ -58773,6 +59026,12 @@ msgid "" "theme has [code]node_type[/code]." 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 "" @@ -58915,6 +59174,18 @@ msgid "" "future version." 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 +#, fuzzy +msgid "" +"Returns a list of all type variations for the given [code]base_type[/code]." +msgstr "Vrací [code]true[/code] pokud [code]s[/code] je nula nebo téměř nula." + #: doc/classes/Theme.xml #, fuzzy msgid "" @@ -58970,6 +59241,15 @@ msgid "" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." msgstr "" +#: 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 "" +"Vrací [code]true[/code] pokud si jsou [code]a[/code] a [code]b[/code] " +"přiblížně rovny." + #: doc/classes/Theme.xml msgid "" "Adds missing and overrides existing definitions with values from the " @@ -59065,6 +59345,20 @@ msgid "" "Creates [code]node_type[/code] if the theme does not have it." 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 " @@ -61246,7 +61540,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 "" @@ -61290,10 +61584,9 @@ msgstr "" "přiblížně rovny." #: 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." -msgstr "" +#, fuzzy +msgid "Returns the number of buttons in column [code]column[/code]." +msgstr "Vrací [code]true[/code] pokud [code]s[/code] je nula nebo téměř nula." #: doc/classes/TreeItem.xml #, fuzzy diff --git a/doc/translations/de.po b/doc/translations/de.po index 0e62657c086..052dac7d288 100644 --- a/doc/translations/de.po +++ b/doc/translations/de.po @@ -41,12 +41,14 @@ # Rémi Verschelde , 2021. # Antonio Noack , 2022. # ‎ , 2022. +# Coxcopi70f00b67b61542fe , 2022. +# Leon Marz , 2022. msgid "" msgstr "" "Project-Id-Version: Godot Engine class reference\n" "Report-Msgid-Bugs-To: https://github.com/godotengine/godot\n" -"PO-Revision-Date: 2022-02-16 09:01+0000\n" -"Last-Translator: ‎ \n" +"PO-Revision-Date: 2022-03-02 18:39+0000\n" +"Last-Translator: Leon Marz \n" "Language-Team: German \n" "Language: de\n" @@ -54,7 +56,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8-bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.11-dev\n" +"X-Generator: Weblate 4.11.1-dev\n" #: doc/tools/make_rst.py msgid "Description" @@ -82,7 +84,7 @@ msgstr "Signale" #: doc/tools/make_rst.py msgid "Enumerations" -msgstr "Aufzählungstypen" +msgstr "Aufzählungen" #: doc/tools/make_rst.py msgid "Constants" @@ -3691,6 +3693,11 @@ msgid "" "- Linux: Up to 80 buttons.\n" "- Windows and macOS: Up to 128 buttons." msgstr "" +"Die maximale Anzahl an Spielcontroller-Tasten, die unterstützt werden. Das " +"eigentliche Limit kann bei bestimmten Plattformen geringer sein:\n" +"- Android: Bis zu 36 Tasten.\n" +"- Linux: Bis zu 80 Tasten.\n" +"- Windows und macOS: Bis zu 128 Tasten." #: doc/classes/@GlobalScope.xml msgid "DualShock circle button." @@ -3751,7 +3758,7 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "Trigger on a VR controller." -msgstr "" +msgstr "Trigger-Taste eines VR Controllers." #: doc/classes/@GlobalScope.xml msgid "" @@ -3848,7 +3855,7 @@ msgstr "Gamecontroller linke Triggerachse." #: doc/classes/@GlobalScope.xml msgid "Gamepad left stick click." -msgstr "" +msgstr "Klick auf dem linken Stick des Gamepads." #: doc/classes/@GlobalScope.xml #, fuzzy @@ -3862,11 +3869,11 @@ msgstr "Gamecontroller rechte Trigger-Achse." #: doc/classes/@GlobalScope.xml msgid "Gamepad right stick click." -msgstr "" +msgstr "Klick auf dem rechten Stick des Gamepads." #: doc/classes/@GlobalScope.xml msgid "Gamepad left stick horizontal axis." -msgstr "" +msgstr "Horizontale Achse auf dem linken Stick des Gamepads." #: doc/classes/@GlobalScope.xml #, fuzzy @@ -3875,7 +3882,7 @@ msgstr "Game Controller linker Joystick x-Achse." #: doc/classes/@GlobalScope.xml msgid "Gamepad right stick horizontal axis." -msgstr "" +msgstr "Horizontale Achse auf dem rechten Stick des Gamepads." #: doc/classes/@GlobalScope.xml #, fuzzy @@ -3884,11 +3891,11 @@ msgstr "Game Controller rechter Joystick x-Achse." #: doc/classes/@GlobalScope.xml msgid "Generic gamepad axis 4." -msgstr "" +msgstr "Achse 4 eines gewöhnlichen Gamepads." #: doc/classes/@GlobalScope.xml msgid "Generic gamepad axis 5." -msgstr "" +msgstr "Achse 5 eines gewöhnlichen Gamepads." #: doc/classes/@GlobalScope.xml #, fuzzy @@ -3902,11 +3909,11 @@ msgstr "Gamecontroller rechte Trigger-Achse." #: doc/classes/@GlobalScope.xml msgid "Generic gamepad axis 8." -msgstr "" +msgstr "Achse 8 eines gewöhnlichen Gamepads." #: doc/classes/@GlobalScope.xml msgid "Generic gamepad axis 9." -msgstr "" +msgstr "Achse 9 eines gewöhnlichen Gamepads." #: doc/classes/@GlobalScope.xml msgid "Represents the maximum number of joystick axes supported." @@ -3914,11 +3921,11 @@ msgstr "Stellt die maximale Anzahl der unterstützten Joystick-Achsen dar." #: doc/classes/@GlobalScope.xml msgid "Gamepad left analog trigger." -msgstr "" +msgstr "Linker analoger Trigger des Gamepads." #: doc/classes/@GlobalScope.xml msgid "Gamepad right analog trigger." -msgstr "" +msgstr "Rechter analoger Trigger des Gamepads." #: doc/classes/@GlobalScope.xml #, fuzzy @@ -4328,6 +4335,15 @@ msgstr "" "Hinweiszeichenkette wie [code]\"Hello,Something,Else\"[/code] angegebenen " "Liste auszuwählen ist." +#: 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 " @@ -4822,12 +4838,12 @@ msgstr "" #: doc/classes/AABB.xml doc/classes/Rect2.xml doc/classes/Vector2.xml #: doc/classes/Vector3.xml msgid "Vector math" -msgstr "" +msgstr "Vektor-Mathematik" #: doc/classes/AABB.xml doc/classes/Rect2.xml doc/classes/Vector2.xml #: doc/classes/Vector3.xml msgid "Advanced vector math" -msgstr "" +msgstr "Fortgeschrittene Vektor-Mathematik" #: doc/classes/AABB.xml msgid "Constructs an [AABB] from a position and size." @@ -6306,7 +6322,8 @@ msgstr "" "an diesem Node anzeigen soll." #: doc/classes/AnimationNode.xml -msgid "Returns [code]true[/code] whether a given path is filtered." +#, fuzzy +msgid "Returns whether the given path is filtered." msgstr "Gibt [code]true[/code] zurück, ob ein gegebener Pfad gefiltert ist." #: doc/classes/AnimationNode.xml @@ -6340,8 +6357,9 @@ msgid "Adds or removes a path for the filter." msgstr "Fügt einen Pfad für den Filter hinzu oder entfernt ihn." #: doc/classes/AnimationNode.xml +#, fuzzy 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 "" "Setzt einen benutzerdefinierten Parameter. Diese werden als lokaler Speicher " @@ -6353,7 +6371,8 @@ msgid "If [code]true[/code], filtering is enabled." msgstr "Wenn [code]true[/code], ist die Filterung aktiviert." #: doc/classes/AnimationNode.xml -msgid "Called when the node was removed from the graph." +#, fuzzy +msgid "Emitted when the node was removed from the graph." msgstr "Wird aufgerufen, wenn das Node aus dem Graphen entfernt wurde." #: doc/classes/AnimationNode.xml @@ -7733,7 +7752,7 @@ msgstr "" #: doc/classes/AnimationTree.xml msgid "Using AnimationTree" -msgstr "" +msgstr "Verwendung des AnimationTree" #: doc/classes/AnimationTree.xml msgid "Manually advance the animations by the specified time (in seconds)." @@ -8585,7 +8604,7 @@ msgstr "" #: doc/classes/Area2D.xml msgid "Using Area2D" -msgstr "" +msgstr "Verwendung von Area2D" #: doc/classes/Area2D.xml doc/classes/CollisionShape2D.xml #: doc/classes/RectangleShape2D.xml @@ -11504,26 +11523,10 @@ msgid "" "[code]at_position[/code]." 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 "" @@ -11680,6 +11683,16 @@ msgstr "" msgid "Number of available audio buses." 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]). " @@ -14136,7 +14149,7 @@ msgstr "" #: doc/classes/CameraFeed.xml msgid "Unspecified position." -msgstr "" +msgstr "Nicht spezifizierte Position." #: doc/classes/CameraFeed.xml msgid "Camera is mounted at the front of the device." @@ -14797,6 +14810,18 @@ msgstr "" msgid "Returns the RID of the canvas used by this layer." 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[/" @@ -17758,8 +17783,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 " @@ -18543,6 +18569,25 @@ msgid "" "all its [Control] children use." 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 "" @@ -25261,7 +25306,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 @@ -25717,7 +25777,7 @@ msgstr "" #: doc/classes/File.xml msgid "File system" -msgstr "" +msgstr "Dateisystem" #: doc/classes/File.xml msgid "" @@ -27370,8 +27430,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 @@ -27641,7 +27702,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 @@ -28689,7 +28755,7 @@ msgstr "" #: modules/gridmap/doc_classes/GridMap.xml msgid "Using gridmaps" -msgstr "" +msgstr "Verwendung von Gridmaps" #: modules/gridmap/doc_classes/GridMap.xml msgid "Clear all cells." @@ -30247,7 +30313,7 @@ msgstr "" #: doc/classes/Image.xml doc/classes/ImageTexture.xml msgid "Importing images" -msgstr "" +msgstr "Importieren von Bildern" #: doc/classes/Image.xml msgid "" @@ -34244,7 +34310,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 @@ -34624,8 +34695,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 @@ -36466,6 +36541,15 @@ msgstr "" msgid "Returns the [Transform2D] of a specific instance." 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 " @@ -36479,6 +36563,18 @@ msgid "" "code] is stored as 4 floats." 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 " @@ -36522,6 +36618,16 @@ msgstr "" 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 "" @@ -36574,6 +36680,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 "" @@ -38493,7 +38611,7 @@ msgstr "" #: doc/classes/Node.xml msgid "Nodes and Scenes" -msgstr "" +msgstr "Nodes und Szenen" #: doc/classes/Node.xml msgid "All Demos" @@ -38931,6 +39049,25 @@ msgid "" "Returns [code]true[/code] if the local system is the master of this node." 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 " @@ -39101,6 +39238,21 @@ msgid "" "normally)." 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 " @@ -39201,6 +39353,14 @@ msgid "" "peer is recursively set as the master for all children of this node." 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 " @@ -39451,6 +39611,12 @@ msgid "" "node enters tree, instead of only once." 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 " @@ -40443,8 +40609,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 @@ -41238,7 +41404,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 @@ -49230,6 +49408,17 @@ msgid "" "below 30 FPS." 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 " @@ -49242,8 +49431,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 @@ -49756,14 +49947,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 @@ -49892,8 +50088,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 @@ -53880,6 +54076,13 @@ msgid "" "_input] will not be called anymore in nodes." 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 " @@ -55147,6 +55350,18 @@ msgstr "" msgid "All 3D Demos" 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 " @@ -57005,7 +57220,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 "" @@ -57019,7 +57234,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 "" @@ -57720,7 +57935,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 @@ -57984,7 +58204,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 @@ -58007,11 +58236,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 @@ -58060,14 +58302,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 @@ -58237,8 +58481,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 @@ -59750,6 +60002,16 @@ msgstr "" msgid "Returns the total width of all gutters and internal padding." msgstr "Gibt die Anzahl der Spuren in der Animation zurück." +#: doc/classes/TextEdit.xml +#, fuzzy +msgid "Returns the total amount of lines that could be drawn." +msgstr "Gibt die Anzahl der Tasten in einer bestimmten Spur zurück." + +#: doc/classes/TextEdit.xml +#, fuzzy +msgid "Returns the number of visible lines, including wrapped text." +msgstr "Gibt die Anzahl der Dreiecke im Überblendungsbereich zurück." + #: doc/classes/TextEdit.xml msgid "" "Returns a [String] text with the word under the caret (text cursor) location." @@ -60815,6 +61077,12 @@ msgid "" "theme has [code]node_type[/code]." 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 "" @@ -60961,6 +61229,20 @@ msgid "" "future version." 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 +#, fuzzy +msgid "" +"Returns a list of all type variations for the given [code]base_type[/code]." +msgstr "" +"Gibt ein Array aller Zellen mit der angegebenen Kachel [code]index[/code] " +"zurück." + #: doc/classes/Theme.xml #, fuzzy msgid "" @@ -61017,6 +61299,15 @@ msgid "" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." msgstr "" +#: 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 "" +"Gibt [code]true[/code] zurück, wenn der angegebene Track importiert ist. " +"Andernfalls wird [code]false[/code] zurückgegeben." + #: doc/classes/Theme.xml msgid "" "Adds missing and overrides existing definitions with values from the " @@ -61112,6 +61403,20 @@ msgid "" "Creates [code]node_type[/code] if the theme does not have it." 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 " @@ -63303,7 +63608,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 "" @@ -63350,10 +63655,11 @@ msgstr "" "Index [code]Dreieck[/code]." #: 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." +#, fuzzy +msgid "Returns the number of buttons in column [code]column[/code]." msgstr "" +"Liefert die Position des Punktes bei Index [code]Punkt[/code] im Dreieck von " +"Index [code]Dreieck[/code]." #: doc/classes/TreeItem.xml #, fuzzy @@ -67854,7 +68160,7 @@ msgstr "" #: modules/visual_script/doc_classes/VisualScriptMathConstant.xml msgid "Infinity: [code]inf[/code]." -msgstr "" +msgstr "Unendlichkeit: [code]inf[/code]." #: modules/visual_script/doc_classes/VisualScriptMathConstant.xml msgid "Not a number: [code]nan[/code]." @@ -68165,7 +68471,7 @@ msgstr "" #: modules/visual_script/doc_classes/VisualScriptSceneNode.xml msgid "Node reference." -msgstr "" +msgstr "Node-Referenz." #: modules/visual_script/doc_classes/VisualScriptSceneNode.xml msgid "" @@ -68326,7 +68632,7 @@ msgstr "" #: modules/visual_script/doc_classes/VisualScriptWhile.xml msgid "Conditional loop." -msgstr "" +msgstr "Bedingte Wiederholung." #: modules/visual_script/doc_classes/VisualScriptWhile.xml msgid "" @@ -74725,7 +75031,7 @@ msgstr "" #: doc/classes/XMLParser.xml msgid "CDATA content." -msgstr "" +msgstr "CDATA Inhalt." #: doc/classes/XMLParser.xml msgid "Unknown node." diff --git a/doc/translations/el.po b/doc/translations/el.po index ddec69fbd01..83def545e06 100644 --- a/doc/translations/el.po +++ b/doc/translations/el.po @@ -3334,6 +3334,15 @@ msgid "" "Else\"[/code]." 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 " @@ -4847,8 +4856,9 @@ msgid "" msgstr "" #: doc/classes/AnimationNode.xml -msgid "Returns [code]true[/code] whether a given path is filtered." -msgstr "" +#, fuzzy +msgid "Returns whether the given path is filtered." +msgstr "Επιστρέφει την εφαπτομένη της παραμέτρου." #: doc/classes/AnimationNode.xml msgid "" @@ -4872,7 +4882,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 "" @@ -4881,7 +4891,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 @@ -9492,26 +9502,10 @@ msgid "" "[code]at_position[/code]." 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 "" @@ -9668,6 +9662,16 @@ msgstr "" msgid "Number of available audio buses." 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]). " @@ -12749,6 +12753,18 @@ msgstr "" msgid "Returns the RID of the canvas used by this layer." 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[/" @@ -15587,8 +15603,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 " @@ -16344,6 +16361,25 @@ msgid "" "all its [Control] children use." 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 "" @@ -23024,7 +23060,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 @@ -25128,8 +25179,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 @@ -25399,7 +25451,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 @@ -31940,7 +31997,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 @@ -32320,8 +32382,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 @@ -34160,6 +34226,15 @@ msgstr "" msgid "Returns the [Transform2D] of a specific instance." 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 " @@ -34173,6 +34248,18 @@ msgid "" "code] is stored as 4 floats." 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 " @@ -34216,6 +34303,16 @@ msgstr "" 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 "" @@ -34268,6 +34365,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 "" @@ -36582,6 +36691,25 @@ msgid "" "Returns [code]true[/code] if the local system is the master of this node." 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 " @@ -36752,6 +36880,21 @@ msgid "" "normally)." 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 " @@ -36852,6 +36995,14 @@ msgid "" "peer is recursively set as the master for all children of this node." 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 " @@ -37102,6 +37253,12 @@ msgid "" "node enters tree, instead of only once." 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 " @@ -38091,8 +38248,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 @@ -38885,7 +39042,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 @@ -46736,6 +46905,17 @@ msgid "" "below 30 FPS." 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 " @@ -46748,8 +46928,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 @@ -47262,14 +47444,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 @@ -47398,8 +47585,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 @@ -51335,6 +51522,13 @@ msgid "" "_input] will not be called anymore in nodes." 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 " @@ -52588,6 +52782,18 @@ msgstr "" msgid "All 3D Demos" 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 " @@ -54425,7 +54631,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 "" @@ -54439,7 +54645,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 "" @@ -55114,7 +55320,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 @@ -55377,7 +55588,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 @@ -55400,11 +55620,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 @@ -55453,14 +55686,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 @@ -55630,8 +55865,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 @@ -57124,6 +57367,16 @@ msgstr "" 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 "Επιστρέφει την αντίθετη τιμή της παραμέτρου." + +#: doc/classes/TextEdit.xml +#, fuzzy +msgid "Returns the number of visible lines, including wrapped text." +msgstr "Επιστρέφει το υπόλοιπο των 2 διανυσμάτων." + #: doc/classes/TextEdit.xml msgid "" "Returns a [String] text with the word under the caret (text cursor) location." @@ -58162,6 +58415,12 @@ msgid "" "theme has [code]node_type[/code]." 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 "" @@ -58301,6 +58560,18 @@ msgid "" "future version." 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 +#, fuzzy +msgid "" +"Returns a list of all type variations for the given [code]base_type[/code]." +msgstr "Επιστρέφει το υπόλοιπο των 2 διανυσμάτων." + #: doc/classes/Theme.xml msgid "" "Returns [code]true[/code] if [Color] with [code]name[/code] is in " @@ -58349,6 +58620,12 @@ msgid "" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." 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 " @@ -58444,6 +58721,20 @@ msgid "" "Creates [code]node_type[/code] if the theme does not have it." 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 " @@ -60622,7 +60913,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 "" @@ -60664,10 +60955,9 @@ 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." -msgstr "" +#, fuzzy +msgid "Returns the number of buttons in column [code]column[/code]." +msgstr "Επιστρέφει το ημίτονο της παραμέτρου." #: doc/classes/TreeItem.xml #, fuzzy diff --git a/doc/translations/es.po b/doc/translations/es.po index 9bd808d8c44..6ebc2af78b2 100644 --- a/doc/translations/es.po +++ b/doc/translations/es.po @@ -30,12 +30,14 @@ # Rémi Verschelde , 2021. # Alfonso V , 2022. # Alejandro Pérez , 2022. +# Cristhian Pineda Castro , 2022. +# Francesco Santoro , 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-14 22:08+0000\n" -"Last-Translator: Alejandro Pérez \n" +"PO-Revision-Date: 2022-03-05 03:08+0000\n" +"Last-Translator: Francesco Santoro \n" "Language-Team: Spanish \n" "Language: es\n" @@ -43,7 +45,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8-bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.11-dev\n" +"X-Generator: Weblate 4.12-dev\n" #: doc/tools/make_rst.py msgid "Description" @@ -86,9 +88,8 @@ msgid "Method Descriptions" msgstr "Descripciones de Métodos" #: doc/tools/make_rst.py -#, fuzzy msgid "Theme Property Descriptions" -msgstr "Descripciones de Propiedades" +msgstr "Descripciones de las propiedades del tema" #: doc/tools/make_rst.py msgid "Inherits:" @@ -116,7 +117,6 @@ msgid "value" msgstr "valor" #: doc/tools/make_rst.py -#, fuzzy msgid "Getter" msgstr "Método de Acceso al Valor o Getter" @@ -155,21 +155,18 @@ msgstr "" "llamarse directamente utilizando el nombre de la clase." #: doc/tools/make_rst.py -#, fuzzy msgid "" "This method describes a valid operator to use with this type as left-hand " "operand." msgstr "" -"Este método describe un operador tal que el tipo de la instancia que lo " -"llama es considerado como operando izquierdo." +"Este método describe un operador válido para usar con este tipo como " +"operando izquierdo." #: modules/gdscript/doc_classes/@GDScript.xml -#, fuzzy msgid "Built-in GDScript functions." -msgstr "Funciones GDScript predefinidas." +msgstr "Funciones GDScript integradas." #: modules/gdscript/doc_classes/@GDScript.xml -#, fuzzy msgid "" "List of core built-in GDScript functions. Math functions and other " "utilities. Everything else is provided by objects. (Keywords: builtin, built " @@ -204,7 +201,6 @@ msgstr "" "[/codeblock]" #: modules/gdscript/doc_classes/@GDScript.xml -#, fuzzy msgid "" "Returns a color according to the standardized [code]name[/code] with " "[code]alpha[/code] ranging from 0 to 1.\n" @@ -276,7 +272,6 @@ msgstr "" "[/codeblock]" #: modules/gdscript/doc_classes/@GDScript.xml -#, fuzzy msgid "" "Asserts that the [code]condition[/code] is [code]true[/code]. If the " "[code]condition[/code] is [code]false[/code], an error is generated. When " @@ -4413,6 +4408,15 @@ msgstr "" "enumerado para elegir en una lista especificada a través de una string de " "sugerencias como [code]\"Hello,Something,Else\"[/code]." +#: doc/classes/@GlobalScope.xml +msgid "" +"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 " @@ -6385,7 +6389,8 @@ msgstr "" "muestre la edición del filtro en este nodo." #: doc/classes/AnimationNode.xml -msgid "Returns [code]true[/code] whether a given path is filtered." +#, fuzzy +msgid "Returns whether the given path is filtered." msgstr "Devuelve [code]true[/code] si un camino dado es filtrado." #: doc/classes/AnimationNode.xml @@ -6419,8 +6424,9 @@ msgid "Adds or removes a path for the filter." msgstr "Añade o elimina una ruta para el filtro." #: doc/classes/AnimationNode.xml +#, fuzzy 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 "" "Establece un parámetro personalizado. Estos se usan como almacenamiento " @@ -6432,7 +6438,8 @@ msgid "If [code]true[/code], filtering is enabled." msgstr "Si [code]true[/code], el filtrado está activado." #: doc/classes/AnimationNode.xml -msgid "Called when the node was removed from the graph." +#, fuzzy +msgid "Emitted when the node was removed from the graph." msgstr "Llamado cuando el nodo es eliminado desde el gráfico." #: doc/classes/AnimationNode.xml @@ -12614,31 +12621,12 @@ msgstr "" "Añade un efecto [AudioEffect] al bus [code]bus_idx[/code] en " "[code]at_position[/code]." -#: doc/classes/AudioServer.xml -#, fuzzy -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 "" -"Nombre del dispositivo actual para la entrada de audio (ver [method " -"capture_get_device_list])." - #: doc/classes/AudioServer.xml msgid "Returns the names of all audio input devices detected on the system." msgstr "" "Devuelve los nombres de todos los dispositivos de entrada de audio " "detectados en el sistema." -#: 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 "Genera un [AudioBusLayout] usando los buses y efectos disponibles." @@ -12829,6 +12817,16 @@ msgstr "" msgid "Number of available audio buses." msgstr "Número de buses de audio disponibles." +#: 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]). " @@ -16758,6 +16756,24 @@ msgstr "Capa de dibujo de canvas." msgid "Returns the RID of the canvas used by this layer." msgstr "Devuelve el RID del canvas usado por esta capa." +#: doc/classes/CanvasLayer.xml +#, fuzzy +msgid "" +"Hides any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]false[/code]." +msgstr "" +"Limpia el array. Esto es equivalente a usar [method resize] con un tamaño de " +"[code]0[/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 "" +"Limpia el array. Esto es equivalente a usar [method resize] con un tamaño de " +"[code]0[/code]." + #: doc/classes/CanvasLayer.xml msgid "" "The custom [Viewport] node assigned to the [CanvasLayer]. If [code]null[/" @@ -20448,8 +20464,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 " @@ -21541,6 +21558,25 @@ msgstr "" "Cambiar esta propiedad reemplaza el actual recurso [Theme] que este nodo y " "todos sus hijos [Control] utilizan." +#: 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 "Se emite cuando el nodo obtiene el foco del teclado." @@ -30536,8 +30572,23 @@ msgstr "" "glow_hdr_threshold]." #: doc/classes/Environment.xml -msgid "If [code]true[/code], the glow effect is enabled." -msgstr "Si [code]true[/code], se activa el efecto de brillo." +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 msgid "" @@ -33371,8 +33422,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 "" "Triangula el polígono especificado por los puntos en [code]polygon[/code]. " "Devuelve un [PackedInt32Array] donde cada triángulo consiste en tres índices " @@ -33728,7 +33780,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 "" "Cocina el efecto para todas las [GeometryInstance]s marcadas con [constant " "GeometryInstance3D.GI_MODE_BAKED] y [Light]s marcadas con [constant Light3D." @@ -42444,9 +42501,13 @@ msgid "The color of shadows cast by this light." msgstr "El color de las sombras proyectadas por esta luz." #: doc/classes/Light.xml -#, fuzzy -msgid "Attempts to reduce [member shadow_bias] gap." -msgstr "Constante para acceder a [member shadow_bias]." +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 msgid "If [code]true[/code], the light will cast shadows." @@ -42926,11 +42987,13 @@ 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 "" -"La suavidad de las articulaciones redondeadas y las cubiertas. Esto sólo se " -"usa si una cubierta o articulación se establece como redonda." #: doc/classes/Line2D.xml #, fuzzy @@ -45345,6 +45408,15 @@ msgstr "Devuelve la [Transform] de una instancia específica." msgid "Returns the [Transform2D] of a specific instance." msgstr "Devuelve la [Transform2D] de una instancia específica." +#: 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 " @@ -45358,6 +45430,18 @@ msgid "" "code] is stored as 4 floats." 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 #, fuzzy msgid "" @@ -45414,6 +45498,16 @@ msgstr "" msgid "Mesh to be drawn." msgstr "Malla para ser dibujada." +#: 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 "" @@ -45469,6 +45563,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 "Nodo que instancia un [MultiMesh]." @@ -48604,6 +48710,25 @@ msgid "" msgstr "" "Devuelve [code]true[/code] si el sistema local es el maestro de este nodo." +#: 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 " @@ -48850,6 +48975,21 @@ msgstr "" "llamen a [code]_ready[/code] (en cuyo caso, se llamará a [code]_ready[/code] " "en el mismo orden que normalmente)." +#: 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 " @@ -49006,6 +49146,14 @@ msgstr "" "par dado se establece recursivamente como el maestro para todos los hijos de " "este nodo." +#: 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 " @@ -49337,6 +49485,13 @@ msgid "" "node enters tree, instead of only once." msgstr "" +#: doc/classes/Node.xml +#, fuzzy +msgid "" +"Notification received when [method reset_physics_interpolation] is called on " +"the node or parent nodes." +msgstr "Notificación recibida cuando el nodo se mueve en el padre." + #: doc/classes/Node.xml msgid "" "Inherits pause mode from the node's parent. For the root node, it is " @@ -50770,8 +50925,8 @@ msgstr "Dibuja una geometría simple desde código." #: 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 @@ -51803,8 +51958,20 @@ msgstr "" "Windows." #: doc/classes/OS.xml -msgid "Returns the number of threads available on the host machine." -msgstr "Devuelve el número de hilos disponibles en el host." +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 #, fuzzy @@ -62196,6 +62363,17 @@ msgid "" "below 30 FPS." 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 #, fuzzy msgid "" @@ -62209,8 +62387,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 "" "Controla cuánto se sincronizan los ticks de la física con el tiempo real. " "Para 0 o menos, los ticks están sincronizadas. Estos valores se recomiendan " @@ -62768,18 +62948,20 @@ 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 "" -"Sobrescritura del extremo inferior para [member rendering/quality/depth/hdr] " -"en los dispositivos móviles, debido a problemas de rendimiento o de apoyo al " -"driver." #: doc/classes/ProjectSettings.xml msgid "" @@ -62940,13 +63122,14 @@ msgstr "" "(también llamado \"filtrado trilíneo\")." #: 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 " "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 "" "Estrategia utilizada para la asignación de la memoria intermedia. Cuanto más " "simple es, menos recursos utiliza (pero menos características soporta). Si " @@ -68176,6 +68359,13 @@ msgstr "" "- [method Node._process], [method Node._physics_process] y [method Node." "_input] no serán llamados más en los nodos." +#: 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 " @@ -69752,6 +69942,18 @@ msgstr "" msgid "All 3D Demos" 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 #, fuzzy msgid "" @@ -72131,7 +72333,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 "" @@ -72145,7 +72347,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 "" @@ -72963,8 +73165,13 @@ msgid "Returns [code]true[/code] if the string begins with the given string." msgstr "Devuelve [code]true[/code] si la string comienza con la string dada." #: doc/classes/String.xml -msgid "Returns the bigrams (pairs of consecutive letters) of this string." -msgstr "Devuelve los bigramas (pares de letras consecutivas) de esta 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 msgid "" @@ -73322,8 +73529,17 @@ msgstr "" "[code]: / \\ ? * \" | % < >[/code]" #: doc/classes/String.xml -msgid "Returns [code]true[/code] if this string contains a valid float." -msgstr "Devuelve [code]true[/code] si esta string contiene un real válido." +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 msgid "" @@ -73350,18 +73566,32 @@ msgstr "" "devolverán [code]false[/code]." #: doc/classes/String.xml +#, fuzzy msgid "" "Returns [code]true[/code] if this string is a valid identifier. A valid " "identifier may contain only letters, digits and underscores ([code]_[/code]) " -"and the first character may not be a digit." +"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 "" "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 "Returns [code]true[/code] if this string contains a valid integer." -msgstr "Devuelve [code]true[/code] si esta string contiene un entero válido." +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 msgid "" @@ -73408,10 +73638,12 @@ msgid "" msgstr "" #: 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])." +"single character except a period ([code]\".\"[/code]). An empty string or " +"empty expression always evaluates to [code]false[/code]." msgstr "" "Hace una comparación simple con expresión que distingue entre mayúsculas y " "minúsculas, en la que [code]\"*\"[/code] coincide con cero o más caracteres " @@ -73419,10 +73651,12 @@ msgstr "" "excepto con un punto ([code]\".\"[/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])." +"single character except a period ([code]\".\"[/code]). An empty string or " +"empty expression always evaluates to [code]false[/code]." msgstr "" "Hace una simple comparación expresión insensible a las mayúsculas y " "minúsculas, en la que [code]\"*\"[/code] coincide con cero o más caracteres " @@ -73628,11 +73862,17 @@ msgstr "Devuelve el hash SHA-256 de la string como una string." #: 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 "" -"Devuelve el índice de similitud del texto comparado con esta string. 1 " -"significa totalmente similar y 0 significa totalmente diferente." #: doc/classes/String.xml msgid "Returns a simplified canonical path." @@ -75587,6 +75827,16 @@ msgstr "Devuelve la línea final de selección." msgid "Returns the total width of all gutters and internal padding." msgstr "Devuelve la lista de valores del [Dictionary]." +#: doc/classes/TextEdit.xml +#, fuzzy +msgid "Returns the total amount of lines that could be drawn." +msgstr "Devuelve la cantidad de líneas de texto que tiene la etiqueta." + +#: doc/classes/TextEdit.xml +#, fuzzy +msgid "Returns the number of visible lines, including wrapped text." +msgstr "Devuelve el número de líneas visibles." + #: doc/classes/TextEdit.xml #, fuzzy msgid "" @@ -76902,6 +77152,12 @@ msgid "" msgstr "" "Limpia la constante en [code]name[/code] si el tema tiene [code]type[/code]." +#: 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 "" @@ -77101,6 +77357,21 @@ msgstr "" "para su uso en cualquiera de las funciones de [code]get_*[/code], si el tema " "tiene [code]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 "" +"Devuelve el nombre de la escena que se está reproduciendo. Si no se está " +"reproduciendo ninguna escena, devuelve una string vacía." + +#: doc/classes/Theme.xml +#, fuzzy +msgid "" +"Returns a list of all type variations for the given [code]base_type[/code]." +msgstr "Devuelve un [Array] de conexiones para la [code]signal[/code] dada." + #: doc/classes/Theme.xml #, fuzzy msgid "" @@ -77175,6 +77446,15 @@ msgstr "" "[code]type[/code].\n" "Devuelve [code]false[/code] si el tema no tiene [code]type[/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 "" +"Devuelve [code]true[/code] si el precargador contiene un recurso asociado a " +"[code]name[/code]." + #: doc/classes/Theme.xml msgid "" "Adds missing and overrides existing definitions with values from the " @@ -77312,6 +77592,20 @@ msgstr "" "[code]type[/code].\n" "No hace nada si el tema no tiene [code]type[/code]." +#: 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 " @@ -80065,7 +80359,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 "" "Añade un botón con [Texture2D] [code]button[/code] en la columna " @@ -80124,13 +80418,9 @@ msgstr "" "[code]button_idx[/code] en la columna [code]column[/code]." #: 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." -msgstr "" -"Devuelve el número de botones en la columna [code]column[/code]. Puede " -"utilizarse para obtener el índice del último botón añadido, si no se " -"especificó ningún índice." +#, fuzzy +msgid "Returns the number of buttons in column [code]column[/code]." +msgstr "Devuelve el color personalizado de la columna [code]column[/code]." #: doc/classes/TreeItem.xml #, fuzzy diff --git a/doc/translations/fa.po b/doc/translations/fa.po index a6260337ca7..78429f84e08 100644 --- a/doc/translations/fa.po +++ b/doc/translations/fa.po @@ -3759,6 +3759,15 @@ msgid "" "Else\"[/code]." 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 " @@ -5271,7 +5280,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 @@ -5296,7 +5305,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 "" @@ -5305,7 +5314,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 @@ -9915,26 +9924,10 @@ msgid "" "[code]at_position[/code]." 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 "" @@ -10091,6 +10084,16 @@ msgstr "" msgid "Number of available audio buses." 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]). " @@ -13166,6 +13169,18 @@ msgstr "" msgid "Returns the RID of the canvas used by this layer." 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[/" @@ -16004,8 +16019,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 " @@ -16755,6 +16771,25 @@ msgid "" "all its [Control] children use." 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 "" @@ -23430,7 +23465,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 @@ -25532,8 +25582,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 @@ -25803,7 +25854,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 @@ -32338,7 +32394,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 @@ -32718,8 +32779,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 @@ -34557,6 +34622,15 @@ msgstr "" msgid "Returns the [Transform2D] of a specific instance." 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 " @@ -34570,6 +34644,18 @@ msgid "" "code] is stored as 4 floats." 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 " @@ -34613,6 +34699,16 @@ msgstr "" 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 "" @@ -34665,6 +34761,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 "" @@ -36966,6 +37074,25 @@ msgid "" "Returns [code]true[/code] if the local system is the master of this node." 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 " @@ -37136,6 +37263,21 @@ msgid "" "normally)." 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 " @@ -37236,6 +37378,14 @@ msgid "" "peer is recursively set as the master for all children of this node." 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 " @@ -37486,6 +37636,12 @@ msgid "" "node enters tree, instead of only once." 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 " @@ -38475,8 +38631,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 @@ -39266,7 +39422,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 @@ -47118,6 +47286,17 @@ msgid "" "below 30 FPS." 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 " @@ -47130,8 +47309,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 @@ -47644,14 +47825,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 @@ -47780,8 +47966,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 @@ -51720,6 +51906,13 @@ msgid "" "_input] will not be called anymore in nodes." 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 " @@ -52973,6 +53166,18 @@ msgstr "" msgid "All 3D Demos" 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 " @@ -54810,7 +55015,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 "" @@ -54824,7 +55029,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 "" @@ -55497,7 +55702,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 @@ -55760,7 +55970,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 @@ -55783,11 +56002,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 @@ -55836,14 +56068,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 @@ -56013,8 +56247,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 @@ -57502,6 +57744,14 @@ msgstr "" 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." @@ -58539,6 +58789,12 @@ msgid "" "theme has [code]node_type[/code]." 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 "" @@ -58678,6 +58934,17 @@ msgid "" "future version." 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 " @@ -58726,6 +58993,12 @@ msgid "" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." 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 " @@ -58821,6 +59094,20 @@ msgid "" "Creates [code]node_type[/code] if the theme does not have it." 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 " @@ -60996,7 +61283,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 "" @@ -61037,9 +61324,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 diff --git a/doc/translations/fi.po b/doc/translations/fi.po index 780df6468f1..df7bd8a2d9b 100644 --- a/doc/translations/fi.po +++ b/doc/translations/fi.po @@ -3346,6 +3346,15 @@ msgid "" "Else\"[/code]." 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 " @@ -4859,8 +4868,9 @@ msgid "" msgstr "" #: doc/classes/AnimationNode.xml -msgid "Returns [code]true[/code] whether a given path is filtered." -msgstr "" +#, fuzzy +msgid "Returns whether the given path is filtered." +msgstr "Palauttaa parametrin tangentin." #: doc/classes/AnimationNode.xml msgid "" @@ -4884,7 +4894,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 "" @@ -4893,7 +4903,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 @@ -9510,26 +9520,10 @@ msgid "" "[code]at_position[/code]." 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 "" @@ -9686,6 +9680,16 @@ msgstr "" msgid "Number of available audio buses." 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]). " @@ -12769,6 +12773,18 @@ msgstr "" msgid "Returns the RID of the canvas used by this layer." 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[/" @@ -15608,8 +15624,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 " @@ -16365,6 +16382,25 @@ msgid "" "all its [Control] children use." 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 "" @@ -23045,7 +23081,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 @@ -25149,8 +25200,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 @@ -25420,7 +25472,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 @@ -31969,7 +32026,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 @@ -32349,8 +32411,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 @@ -34189,6 +34255,15 @@ msgstr "" msgid "Returns the [Transform2D] of a specific instance." 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 " @@ -34202,6 +34277,18 @@ msgid "" "code] is stored as 4 floats." 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 " @@ -34245,6 +34332,16 @@ msgstr "" 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 "" @@ -34297,6 +34394,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 "" @@ -36612,6 +36721,25 @@ msgid "" "Returns [code]true[/code] if the local system is the master of this node." 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 " @@ -36782,6 +36910,21 @@ msgid "" "normally)." 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 " @@ -36882,6 +37025,14 @@ msgid "" "peer is recursively set as the master for all children of this node." 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 " @@ -37132,6 +37283,12 @@ msgid "" "node enters tree, instead of only once." 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 " @@ -38121,8 +38278,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 @@ -38915,7 +39072,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 @@ -46766,6 +46935,17 @@ msgid "" "below 30 FPS." 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 " @@ -46778,8 +46958,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 @@ -47292,14 +47474,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 @@ -47428,8 +47615,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 @@ -51365,6 +51552,13 @@ msgid "" "_input] will not be called anymore in nodes." 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 " @@ -52619,6 +52813,18 @@ msgstr "" msgid "All 3D Demos" 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 " @@ -54457,7 +54663,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 "" @@ -54471,7 +54677,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 "" @@ -55146,7 +55352,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 @@ -55409,7 +55620,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 @@ -55432,11 +55652,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 @@ -55485,14 +55718,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 @@ -55662,8 +55897,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 @@ -57157,6 +57400,16 @@ msgstr "" msgid "Returns the total width of all gutters and internal padding." msgstr "Palauttaa kahden vektorin jäännöksen." +#: doc/classes/TextEdit.xml +#, fuzzy +msgid "Returns the total amount of lines that could be drawn." +msgstr "Palauttaa parametrin vasta-arvon." + +#: doc/classes/TextEdit.xml +#, fuzzy +msgid "Returns the number of visible lines, including wrapped text." +msgstr "Palauttaa kahden vektorin jäännöksen." + #: doc/classes/TextEdit.xml msgid "" "Returns a [String] text with the word under the caret (text cursor) location." @@ -58195,6 +58448,12 @@ msgid "" "theme has [code]node_type[/code]." 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 "" @@ -58335,6 +58594,18 @@ msgid "" "future version." 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 +#, fuzzy +msgid "" +"Returns a list of all type variations for the given [code]base_type[/code]." +msgstr "Laskee kahden vektorin ristitulon." + #: doc/classes/Theme.xml msgid "" "Returns [code]true[/code] if [Color] with [code]name[/code] is in " @@ -58383,6 +58654,13 @@ msgid "" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." msgstr "" +#: 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 "Laskee kahden vektorin ristitulon." + #: doc/classes/Theme.xml msgid "" "Adds missing and overrides existing definitions with values from the " @@ -58478,6 +58756,20 @@ msgid "" "Creates [code]node_type[/code] if the theme does not have it." 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 " @@ -60656,7 +60948,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 "" @@ -60698,10 +60990,9 @@ msgid "" msgstr "Laskee kahden vektorin ristitulon." #: 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." -msgstr "" +#, fuzzy +msgid "Returns the number of buttons in column [code]column[/code]." +msgstr "Laskee kahden vektorin ristitulon." #: doc/classes/TreeItem.xml #, fuzzy diff --git a/doc/translations/fil.po b/doc/translations/fil.po index 27b84c2f147..7d94a0daccb 100644 --- a/doc/translations/fil.po +++ b/doc/translations/fil.po @@ -3327,6 +3327,15 @@ msgid "" "Else\"[/code]." 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 " @@ -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 @@ -9483,26 +9492,10 @@ msgid "" "[code]at_position[/code]." 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 "" @@ -9659,6 +9652,16 @@ msgstr "" msgid "Number of available audio buses." 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]). " @@ -12734,6 +12737,18 @@ msgstr "" msgid "Returns the RID of the canvas used by this layer." 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[/" @@ -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 " @@ -16323,6 +16339,25 @@ msgid "" "all its [Control] children use." 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 @@ -34125,6 +34190,15 @@ msgstr "" msgid "Returns the [Transform2D] of a specific instance." 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 " @@ -34138,6 +34212,18 @@ msgid "" "code] is stored as 4 floats." 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 " @@ -34181,6 +34267,16 @@ msgstr "" 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 "" @@ -36528,6 +36636,25 @@ msgid "" "Returns [code]true[/code] if the local system is the master of this node." 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 " @@ -36698,6 +36825,21 @@ msgid "" "normally)." 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 " @@ -36798,6 +36940,14 @@ msgid "" "peer is recursively set as the master for all children of this node." 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 " @@ -37048,6 +37198,12 @@ msgid "" "node enters tree, instead of only once." 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 " @@ -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 @@ -46668,6 +46836,17 @@ msgid "" "below 30 FPS." 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 " @@ -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 @@ -51266,6 +51452,13 @@ msgid "" "_input] will not be called anymore in nodes." 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 " @@ -52519,6 +52712,18 @@ msgstr "" msgid "All 3D Demos" 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 " @@ -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 @@ -57048,6 +57290,14 @@ msgstr "" 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." @@ -58085,6 +58335,12 @@ msgid "" "theme has [code]node_type[/code]." 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 "" @@ -58224,6 +58480,17 @@ msgid "" "future version." 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 " @@ -58272,6 +58539,12 @@ msgid "" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." 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 " @@ -58367,6 +58640,20 @@ msgid "" "Creates [code]node_type[/code] if the theme does not have it." 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 " @@ -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 diff --git a/doc/translations/fr.po b/doc/translations/fr.po index aa9d4a2ee39..1c485e9047f 100644 --- a/doc/translations/fr.po +++ b/doc/translations/fr.po @@ -36,7 +36,7 @@ # Toquey SiGauses , 2021. # GABRIELLE Damien , 2021. # Julien Vanelian , 2021. -# Perrier Mathis , 2021. +# Perrier Mathis , 2021, 2022. # Blackiris , 2021. # AndyNekena , 2021. # Legorel , 2021, 2022. @@ -54,13 +54,14 @@ # ASTRALE , 2021, 2022. # Pierre-Alexandre Arènes , 2022. # KikooDX , 2022. +# Kevin Bouancheau , 2022. msgid "" msgstr "" "Project-Id-Version: Godot Engine class reference\n" "Report-Msgid-Bugs-To: https://github.com/godotengine/godot\n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2022-02-13 20:11+0000\n" -"Last-Translator: Maxime Leroy \n" +"PO-Revision-Date: 2022-03-03 17:35+0000\n" +"Last-Translator: Perrier Mathis \n" "Language-Team: French \n" "Language: fr\n" @@ -68,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-dev\n" +"X-Generator: Weblate 4.11.1-dev\n" #: doc/tools/make_rst.py msgid "Description" @@ -591,7 +592,7 @@ msgid "" "r = deg2rad(180) # r is 3.141593\n" "[/codeblock]" msgstr "" -"Convertit un angle exprimé en degrés en radians.\n" +"Convertit un angle en degrés vers sa valeur en radians.\n" "[codeblock]\n" "r = deg2rad(180) # r vaut 3.141593\n" "[/codeblock]" @@ -3997,30 +3998,43 @@ msgid "" "MIDI note OFF message. See the documentation of [InputEventMIDI] for " "information of how to use MIDI inputs." msgstr "" +"Le message MIDI pour la note OFF. Référez vous à la documentation de " +"[InputEventMIDI] pour avoir des informations concernant les entrées MIDI." #: doc/classes/@GlobalScope.xml msgid "" "MIDI note ON message. See the documentation of [InputEventMIDI] for " "information of how to use MIDI inputs." msgstr "" +"Le message MIDI pour la note ON. Référez vous à la documentation de " +"[InputEventMIDI] pour avoir des informations concernant les entrées MIDI." #: doc/classes/@GlobalScope.xml +#, fuzzy msgid "" "MIDI aftertouch message. This message is most often sent by pressing down on " "the key after it \"bottoms out\"." msgstr "" +"Le message MIDI d'après touche. Ce message est le plus souvent envoyé quand " +"on continue de faire varier la pression sur la touche après l'appui initial." #: doc/classes/@GlobalScope.xml msgid "" "MIDI control change message. This message is sent when a controller value " "changes. Controllers include devices such as pedals and levers." msgstr "" +"Le message MIDI de changement de contrôle. Ce message est envoyé lorsqu'un " +"contrôleur change de valeur. Les contrôleurs comprennent des dispositifs " +"comme des pédales, des leviers." #: doc/classes/@GlobalScope.xml +#, fuzzy msgid "" "MIDI program change message. This message sent when the program patch number " "changes." msgstr "" +"Le message de changement de programme MIDI. Ce message est envoyé lorsque " +"l'on reçoit une consigne de changement de programme." #: doc/classes/@GlobalScope.xml msgid "" @@ -4374,6 +4388,15 @@ msgstr "" "chaine de caractères d'indication telle que [code]\"Bonjour,Truc," "AutreTruc\"[/code]." +#: 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 " @@ -5343,7 +5366,7 @@ msgstr "" #: doc/classes/Particles2D.xml doc/classes/Timer.xml #: doc/classes/VisibilityNotifier2D.xml msgid "2D Dodge The Creeps Demo" -msgstr "" +msgstr "Démo 2D « Dodge The Creeps »" #: doc/classes/AnimatedSprite.xml msgid "" @@ -6159,8 +6182,9 @@ msgid "" "[AudioStreamPlayer]. The stream can be trimmed and previewed in the " "animation." msgstr "" -"Les pistes audio servent à jouer un flux audio sur un [AudioStreamPlayer] " -"(2D ou 3D). Le flux peut être coupé et prérendu dans l'animation." +"Les pistes audio sont utilisées pour lire un flux audio avec l'un ou l'autre " +"type de [AudioStreamPlayer]. Le flux peut être découpé et prévisualisé dans " +"l'animation." #: doc/classes/Animation.xml msgid "Animation tracks play animations in other [AnimationPlayer] nodes." @@ -6197,9 +6221,9 @@ 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 "" -"Le même que l'interpolation linéaire, mais interpole aussi de la valeur " -"actuelle (c'est-à-dire, dynamiquement à l'exécution) si la première clé " -"n'est pas située à 0 secondes." +"Identique à l'interpolation linéaire, mais interpole aussi à partir de la " +"valeur actuelle (définie à l'exécution) si la première clé n'est pas située " +"à 0 seconde." #: doc/classes/AnimationNode.xml msgid "Base resource for [AnimationTree] nodes." @@ -6332,7 +6356,8 @@ msgstr "" "affiche l'édition de filtre sur ce nœud." #: doc/classes/AnimationNode.xml -msgid "Returns [code]true[/code] whether a given path is filtered." +#, fuzzy +msgid "Returns whether the given path is filtered." msgstr "Retourne [code]true[/code] si un chemin donné est filtré." #: doc/classes/AnimationNode.xml @@ -6365,8 +6390,9 @@ msgid "Adds or removes a path for the filter." msgstr "Ajoute ou supprime un chemin pour le filtre." #: doc/classes/AnimationNode.xml +#, fuzzy 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 "" "Définit un paramètre personnalisé. Utilisé comme stockage local, car les " @@ -6378,7 +6404,8 @@ msgid "If [code]true[/code], filtering is enabled." msgstr "Si [code]true[/code], le filtrage est activé." #: doc/classes/AnimationNode.xml -msgid "Called when the node was removed from the graph." +#, fuzzy +msgid "Emitted when the node was removed from the graph." msgstr "Appelée quand le nœud est enlevé du graphe." #: doc/classes/AnimationNode.xml @@ -6472,9 +6499,8 @@ msgstr "" #: doc/classes/AnimationNodeOneShot.xml doc/classes/AnimationNodeOutput.xml #: doc/classes/AnimationNodeTimeScale.xml #: doc/classes/AnimationNodeTransition.xml -#, fuzzy msgid "AnimationTree" -msgstr "Nœud d'animation." +msgstr "AnimationTree" #: doc/classes/AnimationNodeAdd3.xml doc/classes/AnimationNodeAnimation.xml #: doc/classes/AnimationNodeBlend2.xml @@ -7794,6 +7820,8 @@ msgid "" "Returns the input count for a given node. Different types of nodes have " "different amount of inputs." msgstr "" +"Retourne le nombre d'entrées du nœud spécifié. Différents types de nœuds ont " +"différents nombres d'entrées." #: doc/classes/AnimationTreePlayer.xml #, fuzzy @@ -8281,7 +8309,7 @@ msgstr "" #: doc/classes/Area.xml doc/classes/Area2D.xml msgid "This area does not affect gravity/damping." -msgstr "" +msgstr "Cette aire n'influe pas sur la gravité/amortissement." #: doc/classes/Area.xml doc/classes/Area2D.xml msgid "" @@ -10497,13 +10525,12 @@ msgid "" msgstr "" #: doc/classes/AudioEffectCapture.xml -#, fuzzy msgid "" "Returns [code]true[/code] if at least [code]frames[/code] audio frames are " "available to read in the internal ring buffer." msgstr "" -"Renvoie [code]true[/code] (vrai) si [code]a[/code] et [code]b[/code] sont " -"approximativement égaux l'un à l'autre." +"Retourne [code]true[/code] si au moins [code]frames[/code] audio peuvent " +"être lues dans la mémoire en anneau interne." #: doc/classes/AudioEffectCapture.xml #, fuzzy @@ -11093,6 +11120,9 @@ msgid "" "Use a buffer of 256 samples for the Fast Fourier transform. Lowest latency, " "but least stable over time." msgstr "" +"Utilise une mémoire tampon de 256 échantillons pour la transformée de " +"Fourier rapide. Le délai est le plus court mais est le moins stable dans le " +"temps." #: doc/classes/AudioEffectPitchShift.xml #: doc/classes/AudioEffectSpectrumAnalyzer.xml @@ -11100,6 +11130,8 @@ msgid "" "Use a buffer of 512 samples for the Fast Fourier transform. Low latency, but " "less stable over time." msgstr "" +"Utilise une mémoire tampon de 512 échantillons pour la transformée de " +"Fourier rapide. Le délai est court mais moins stable dans le temps." #: doc/classes/AudioEffectPitchShift.xml #: doc/classes/AudioEffectSpectrumAnalyzer.xml @@ -11107,6 +11139,9 @@ msgid "" "Use a buffer of 1024 samples for the Fast Fourier transform. This is a " "compromise between latency and stability over time." msgstr "" +"Utilise une mémoire tampon de 1024 échantillons pour la transformée de " +"Fourier rapide. C'est un bon compromis entre le délai et la stabilité dans " +"le temps." #: doc/classes/AudioEffectPitchShift.xml #: doc/classes/AudioEffectSpectrumAnalyzer.xml @@ -11114,6 +11149,8 @@ msgid "" "Use a buffer of 2048 samples for the Fast Fourier transform. High latency, " "but stable over time." msgstr "" +"Utilise une mémoire tampon de 2048 échantillons pour la transformée de " +"Fourier rapide. Le délai est long mais est stable dans le temps." #: doc/classes/AudioEffectPitchShift.xml #: doc/classes/AudioEffectSpectrumAnalyzer.xml @@ -11121,6 +11158,9 @@ msgid "" "Use a buffer of 4096 samples for the Fast Fourier transform. Highest " "latency, but most stable over time." msgstr "" +"Utilise une mémoire tampon de 4096 échantillons pour la transformée de " +"Fourier rapide. Le délai est le plus long mais est le plus stable dans le " +"temps." #: doc/classes/AudioEffectPitchShift.xml #: doc/classes/AudioEffectSpectrumAnalyzer.xml @@ -11297,26 +11337,10 @@ msgid "" "[code]at_position[/code]." 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 "" @@ -11382,7 +11406,7 @@ msgstr "" #: doc/classes/AudioServer.xml msgid "Returns the audio driver's output latency." -msgstr "" +msgstr "Retourne la latence de la sortie du pilote audio." #: doc/classes/AudioServer.xml msgid "Returns the speaker configuration." @@ -11473,6 +11497,16 @@ msgstr "" msgid "Number of available audio buses." msgstr "Nombre de bus audio disponibles." +#: 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]). " @@ -11652,7 +11686,7 @@ msgstr "Pilote de flux audio OGG Vorbis." #: doc/classes/AudioStreamPlayback.xml msgid "Meta class for playing back audio." -msgstr "" +msgstr "Classe méta pour la lecture audio." #: doc/classes/AudioStreamPlayback.xml msgid "" @@ -12003,11 +12037,11 @@ msgstr "" #: doc/classes/AudioStreamRandomPitch.xml msgid "Plays audio with random pitch shifting." -msgstr "" +msgstr "Joue le son avec une hauteur aléatoire." #: doc/classes/AudioStreamRandomPitch.xml msgid "Randomly varies pitch on each start." -msgstr "" +msgstr "Change aléatoirement la hauteur à chaque démarrage." #: doc/classes/AudioStreamRandomPitch.xml msgid "The current [AudioStream]." @@ -12015,7 +12049,7 @@ msgstr "L'actuel [AudioStream]." #: doc/classes/AudioStreamRandomPitch.xml msgid "The intensity of random pitch variation." -msgstr "" +msgstr "L'intensité de la variation aléatoire de la hauteur." #: doc/classes/AudioStreamSample.xml msgid "Stores audio data loaded from WAV files." @@ -12100,7 +12134,7 @@ msgstr "Codec audio 16 bits." #: doc/classes/AudioStreamSample.xml msgid "Audio is compressed using IMA ADPCM." -msgstr "" +msgstr "L'audio est compressé avec IMA ADPCM." #: doc/classes/AudioStreamSample.xml msgid "Audio does not loop." @@ -12147,7 +12181,7 @@ msgstr "" #: doc/classes/BackBufferCopy.xml msgid "Buffer mode. See [enum CopyMode] constants." -msgstr "" +msgstr "Le mode de mémoire tampon. Voir les constantes [enum CopyMode]." #: doc/classes/BackBufferCopy.xml msgid "" @@ -12201,6 +12235,8 @@ msgid "" "When enabled, the lightmapper will merge the textures for all meshes into a " "single large layered texture. Not supported in GLES2." msgstr "" +"Si actif, le lightmapper fusionnera les textures de tous les maillages dans " +"une seule texture assez large avec claque. Ça n'est pas supporter avec GLES2." #: doc/classes/BakedLightmap.xml msgid "" @@ -12589,15 +12625,15 @@ msgstr "" #: doc/classes/BaseButton.xml msgid "The state of buttons are pressed." -msgstr "" +msgstr "L'état des boutons est : pressé." #: doc/classes/BaseButton.xml msgid "The state of buttons are hovered." -msgstr "" +msgstr "L'état des boutons est : survolé." #: doc/classes/BaseButton.xml msgid "The state of buttons are disabled." -msgstr "" +msgstr "L'état des boutons est : désactivé." #: doc/classes/BaseButton.xml msgid "The state of buttons are both hovered and pressed." @@ -12894,9 +12930,8 @@ msgid "" msgstr "" #: doc/classes/BitMap.xml -#, fuzzy msgid "Resizes the image to [code]new_size[/code]." -msgstr "Supprime l’animation avec la touche [code]name[/code]." +msgstr "Redimensionne l'image à la nouvelle taille [code]new_size[/code]." #: doc/classes/BitMap.xml msgid "" @@ -14026,9 +14061,8 @@ msgid "Returns the number of [CameraFeed]s registered." msgstr "Retourne le nombre de [CameraFeed] enregistrés." #: doc/classes/CameraServer.xml -#, fuzzy msgid "Removes the specified camera [code]feed[/code]." -msgstr "Supprime l’animation avec la touche [code]name[/code]." +msgstr "Supprime le flux de caméra [code]feed[/code] spécifié." #: doc/classes/CameraServer.xml #, fuzzy @@ -14670,6 +14704,18 @@ msgstr "Couche de dessin de toile." msgid "Returns the RID of the canvas used by this layer." 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[/" @@ -15882,7 +15928,7 @@ msgstr "" #: doc/classes/Color.xml doc/classes/ColorPickerButton.xml msgid "GUI Drag And Drop Demo" -msgstr "" +msgstr "Démo de l'interface de déposer-glisser" #: doc/classes/Color.xml msgid "" @@ -17019,7 +17065,7 @@ msgstr "Émis lorsque le [ColorPicker] est fermé." #: doc/classes/ColorPickerButton.xml msgid "Default text [Color] of the [ColorPickerButton]." -msgstr "" +msgstr "La [Color] par défaut du texte du [ColorPickerButton]." #: doc/classes/ColorPickerButton.xml msgid "Text [Color] used when the [ColorPickerButton] is disabled." @@ -17728,8 +17774,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 " @@ -18515,6 +18562,25 @@ msgid "" "all its [Control] children use." 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 "Émis quand le nœud prend le focus du clavier." @@ -22108,6 +22174,7 @@ msgstr "" #: doc/classes/EditorFeatureProfile.xml msgid "Returns the specified [code]feature[/code]'s human-readable name." msgstr "" +"Retourne le nom de la fonctionnalité [code]feature[/code] facilement lisible." #: doc/classes/EditorFeatureProfile.xml msgid "" @@ -25322,7 +25389,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 @@ -26467,7 +26549,7 @@ msgstr "Retourne la position de défilement actuelle." #: doc/classes/Font.xml msgid "Internationalized font and text drawing support." -msgstr "" +msgstr "Affichage internationalisé des polices et textes." #: doc/classes/Font.xml msgid "" @@ -27470,8 +27552,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 @@ -27756,7 +27839,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 @@ -30307,9 +30395,8 @@ msgid "" msgstr "" #: doc/classes/HTTPRequest.xml -#, fuzzy msgid "Maximum allowed size for response bodies." -msgstr "Valeur maximale pour le mode énumeration." +msgstr "La taille maximale le corps des réponses." #: doc/classes/HTTPRequest.xml msgid "" @@ -30510,9 +30597,8 @@ msgid "" msgstr "" #: doc/classes/Image.xml -#, fuzzy msgid "Fills the image with [code]color[/code]." -msgstr "Supprime l’animation avec la touche [code]name[/code]." +msgstr "Remplis toute l'image avec la couleur [code]color[/code]." #: doc/classes/Image.xml #, fuzzy @@ -31412,6 +31498,8 @@ msgid "" "Returns an [Array] containing the device IDs of all currently connected " "joypads." msgstr "" +"Retourne un [Array] contenant les identifiants de tous les joypads " +"actuellement connectés." #: doc/classes/Input.xml msgid "Returns the currently assigned cursor shape (see [enum CursorShape])." @@ -31780,28 +31868,35 @@ msgstr "" #: doc/classes/Input.xml msgid "Makes the mouse cursor visible but confines it to the game window." msgstr "" +"Rend le curseur de la souris visible mais le confine dans la fenêtre de jeu." #: doc/classes/Input.xml msgid "Arrow cursor. Standard, default pointing cursor." -msgstr "" +msgstr "Le curseur flèche. Le pointeur standard." #: doc/classes/Input.xml msgid "" "I-beam cursor. Usually used to show where the text cursor will appear when " "the mouse is clicked." msgstr "" +"Le curseur poutre en I. Sert en général à afficher où le curseur de texte " +"sera placé quand la souris sera cliquée." #: doc/classes/Input.xml msgid "" "Pointing hand cursor. Usually used to indicate the pointer is over a link or " "other interactable item." msgstr "" +"Le curseur avec la main. Utilisé en général quand le curseur survole un lien " +"ou un élément interactif." #: doc/classes/Input.xml msgid "" "Cross cursor. Typically appears over regions in which a drawing operation " "can be performed or for selections." msgstr "" +"Le curseur en croix. Utilisé typiquement pour les régions où l'on peut " +"dessiner, ou pour les sélections." #: doc/classes/Input.xml msgid "" @@ -31809,6 +31904,9 @@ msgid "" "This cursor shape denotes that the application is still usable during the " "operation." msgstr "" +"Le curseur d'activité. Indique que l'application est occupée à exécuter une " +"opération. La forme de ce curseur suggère que l'application est toujours " +"utilisable durant cette opération en cours." #: doc/classes/Input.xml msgid "" @@ -31816,16 +31914,24 @@ msgid "" "This cursor shape denotes that the application isn't usable during the " "operation (e.g. something is blocking its main thread)." msgstr "" +"Le curseur d'occupation. Indique que l'application est occupée à exécuter " +"une opération. La forme de ce curseur suggère que l'application n'est pas " +"utilisable durant cette opération en cours (ex.: que le fil d'exécution " +"principal est bloqué)." #: doc/classes/Input.xml msgid "Drag cursor. Usually displayed when dragging something." msgstr "" +"Le curseur de déposer-glisser. Affiché en général dès que l'opération de " +"glissage a commencé." #: doc/classes/Input.xml msgid "" "Can drop cursor. Usually displayed when dragging something to indicate that " "it can be dropped at the current position." msgstr "" +"Le curseur pour déposer. Permet d'afficher une destination pour le déposer-" +"glisser si l'emplacement survolé permet de déposer l'élément glissé." #: doc/classes/Input.xml msgid "" @@ -31833,18 +31939,26 @@ msgid "" "example, when dragging something) or that the control at a position is " "disabled." msgstr "" +"Le curseur d'interdiction. Indique que l'action est interdite (ex.: en " +"déplaçant un élément) ou que l'élément est désactivé." #: doc/classes/Input.xml msgid "" "Vertical resize mouse cursor. A double-headed vertical arrow. It tells the " "user they can resize the window or the panel vertically." msgstr "" +"Le curseur de redimensionnement vertical. Une flèche à double tête. Elle " +"précise qu'une fenêtre ou qu'un panneau peut être redimensionné " +"verticalement." #: doc/classes/Input.xml msgid "" "Horizontal resize mouse cursor. A double-headed horizontal arrow. It tells " "the user they can resize the window or the panel horizontally." msgstr "" +"Le curseur de redimensionnement horizontal. Une flèche à double tête. Elle " +"précise qu'une fenêtre ou qu'un panneau peut être redimensionné " +"horizontalement." #: doc/classes/Input.xml msgid "" @@ -31852,6 +31966,9 @@ msgid "" "from the bottom left to the top right. It tells the user they can resize the " "window or the panel both horizontally and vertically." msgstr "" +"Le curseur de redimensionnement de fenêtre. Une flèche à double tête du bas " +"gauche vers le haut droit. Elle précise qu'une fenêtre ou qu'un panneau peut " +"être redimensionné horizontalement et verticalement." #: doc/classes/Input.xml msgid "" @@ -31860,26 +31977,37 @@ msgid "" "CURSOR_BDIAGSIZE]. It tells the user they can resize the window or the panel " "both horizontally and vertically." msgstr "" +"Le curseur de redimensionnement de fenêtre. Une flèche à double tête du haut " +"gauche vers le bas droit, l'inverse de [constant CURSOR_BDIAGSIZE]. Elle " +"précise qu'une fenêtre ou qu'un panneau peut être redimensionné " +"horizontalement et verticalement." #: doc/classes/Input.xml msgid "Move cursor. Indicates that something can be moved." msgstr "" +"Le curseur de déplacement. Indique que quelque chose peut être déplacé." #: doc/classes/Input.xml msgid "" "Vertical split mouse cursor. On Windows, it's the same as [constant " "CURSOR_VSIZE]." msgstr "" +"Le curseur de séparation verticale. Permet de déplacer la séparation " +"horizontale entre deux vues. Sous Windows, c'est pareil que [constant " +"CURSOR_VSIZE]." #: doc/classes/Input.xml msgid "" "Horizontal split mouse cursor. On Windows, it's the same as [constant " "CURSOR_HSIZE]." msgstr "" +"Le curseur de séparation horizontale. Permet de déplacer la séparation " +"verticale entre deux vues. Sous Windows, c'est pareil que [constant " +"CURSOR_HSIZE]." #: doc/classes/Input.xml msgid "Help cursor. Usually a question mark." -msgstr "Curseur d'aide. Généralement un point d'interrogation." +msgstr "Le curseur d'aide. Généralement un point d'interrogation." #: doc/classes/InputEvent.xml msgid "Generic input event." @@ -31888,10 +32016,12 @@ msgstr "Évènement d’entrée générique." #: doc/classes/InputEvent.xml msgid "Base class of all sort of input event. See [method Node._input]." msgstr "" +"La classe de commune de tous les événements d'entrée. Voir [method Node." +"_input]." #: doc/classes/InputEvent.xml msgid "InputEvent" -msgstr "" +msgstr "InputEvent" #: doc/classes/InputEvent.xml msgid "" @@ -32095,7 +32225,7 @@ msgstr "" #: doc/classes/InputEventKey.xml msgid "Input event type for keyboard events." -msgstr "" +msgstr "Le type d'événement d'entrée des claviers." #: doc/classes/InputEventKey.xml msgid "" @@ -32164,9 +32294,8 @@ msgid "" msgstr "" #: doc/classes/InputEventMIDI.xml -#, fuzzy msgid "Input event for MIDI inputs." -msgstr "Type d’évènement d’entrée pour les actions." +msgstr "L'évènement d’entrée des entrées MIDI." #: doc/classes/InputEventMIDI.xml msgid "" @@ -32380,6 +32509,8 @@ msgstr "" msgid "" "Input event type for screen drag events. Only available on mobile devices." msgstr "" +"Le type d'événement d'entrée pour les glissements sur l'écran. Uniquement " +"disponible sur les appareils mobiles." #: doc/classes/InputEventScreenDrag.xml msgid "Contains screen drag information. See [method Node._input]." @@ -32391,7 +32522,7 @@ msgstr "" #: doc/classes/InputEventScreenDrag.xml msgid "The drag position." -msgstr "La position de glissement." +msgstr "La position du glissement." #: doc/classes/InputEventScreenDrag.xml msgid "" @@ -32401,13 +32532,15 @@ msgstr "" #: doc/classes/InputEventScreenDrag.xml msgid "The drag speed." -msgstr "La vitesse de glissement." +msgstr "La vitesse du glissement." #: doc/classes/InputEventScreenTouch.xml msgid "" "Input event type for screen touch events.\n" "(only available on mobile devices)" msgstr "" +"Le type d'événement d'entrée pour les événements de tape sur l'écran.\n" +"(uniquement disponible sur les appareils mobiles)" #: doc/classes/InputEventScreenTouch.xml msgid "" @@ -32481,6 +32614,7 @@ msgstr "" msgid "" "Adds an [InputEvent] to an action. This [InputEvent] will trigger the action." msgstr "" +"Ajoute un [InputEvent] à une action. Cet [InputEvent] déclenchera l'action." #: doc/classes/InputMap.xml msgid "Removes an [InputEvent] from an action." @@ -32500,10 +32634,11 @@ msgid "" "Returns [code]true[/code] if the action has the given [InputEvent] " "associated with it." msgstr "" +"Retourne [code]true[/code] si l'action est associée au [InputEvent] spécifié." #: doc/classes/InputMap.xml msgid "Sets a deadzone value for the action." -msgstr "" +msgstr "Définit une valeur pour la zone morte de l'action." #: doc/classes/InputMap.xml msgid "" @@ -32641,6 +32776,8 @@ msgid "" "Cast a [bool] value to an integer value, [code]int(true)[/code] will be " "equals to 1 and [code]int(false)[/code] will be equals to 0." msgstr "" +"Transformer un [bool] en une valeur entière, [code]int(true)[/code] donnera " +"1 et [code]int(false)[/code] donnera 0." #: doc/classes/int.xml msgid "" @@ -32777,7 +32914,7 @@ msgstr "" #: doc/classes/IP.xml msgid "DNS hostname resolver status: No status." -msgstr "" +msgstr "Statut du résolveur de noms d'hôtes DNS : Aucun statut." #: doc/classes/IP.xml msgid "DNS hostname resolver status: Waiting." @@ -32808,11 +32945,11 @@ msgstr "Type d’adresse : Aucun." #: doc/classes/IP.xml msgid "Address type: Internet protocol version 4 (IPv4)." -msgstr "" +msgstr "Type d'adresse : Protocole internet version 4 (IPv4)." #: doc/classes/IP.xml msgid "Address type: Internet protocol version 6 (IPv6)." -msgstr "" +msgstr "Type d'adresse : Protocole internet version 6 (IPv6)." #: doc/classes/IP.xml msgid "Address type: Any." @@ -32971,6 +33108,8 @@ msgid "" "Select the item at the specified index.\n" "[b]Note:[/b] This method does not trigger the item selection signal." msgstr "" +"Sélectionner un élément à la position spécifiée.\n" +"[b]Note :[/b] Cette méthode n'émet pas de signal de sélection de l'élément." #: doc/classes/ItemList.xml msgid "" @@ -33079,6 +33218,9 @@ msgid "" "If either X or Y component is not greater than zero, icon size won't be " "affected." msgstr "" +"La taille que prendrons toutes les icônes.\n" +"Si un des composants X ou Y n'est pas supérieur à zéro, la taille ne sera " +"pas changée." #: doc/classes/ItemList.xml msgid "" @@ -33472,12 +33614,16 @@ msgid "" "Helper class for parsing JSON data. For usage example and other important " "hints, see [JSONParseResult]." msgstr "" +"Classe d'aide pour interpréter les données JSON. Voir [JSONParseResult] pour " +"les exemples d'utilisateur ou les notes importantes." #: doc/classes/JSON.xml msgid "" "Parses a JSON-encoded string and returns a [JSONParseResult] containing the " "result." msgstr "" +"Interprète une chaine de caractères encodé en JSON et retourne un " +"[JSONParseResult] contenant le résultat." #: doc/classes/JSON.xml msgid "" @@ -33549,18 +33695,24 @@ msgid "" "The error type if the JSON source was not successfully parsed. See the [enum " "Error] constants." msgstr "" +"Un type d'erreur si la source JSON n'a pas été interprétée correctement. " +"Voir les constantes [enum Error]." #: doc/classes/JSONParseResult.xml msgid "" "The line number where the error occurred if the JSON source was not " "successfully parsed." msgstr "" +"Le numéro de ligne où l'erreur s'est produite dans le cas où le JSON n'a pas " +"été interprété correctement." #: doc/classes/JSONParseResult.xml msgid "" "The error message if the JSON source was not successfully parsed. See the " "[enum Error] constants." msgstr "" +"Le message d'erreur si la source de JSON n'a pas été correctement " +"interprétée. Voir les constantes [enum Error]." #: doc/classes/JSONParseResult.xml msgid "" @@ -34461,9 +34613,13 @@ msgid "The color of shadows cast by this light." msgstr "" #: doc/classes/Light.xml -#, fuzzy -msgid "Attempts to reduce [member shadow_bias] gap." -msgstr "Constante pour l'accès à [member shadow_normal_bias]." +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 msgid "If [code]true[/code], the light will cast shadows." @@ -34873,8 +35029,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 @@ -34990,7 +35150,7 @@ msgstr "" #: doc/classes/LineEdit.xml msgid "Erases the [LineEdit]'s [member text]." -msgstr "" +msgstr "Efface le [member text] du [LineEdit]." #: doc/classes/LineEdit.xml msgid "" @@ -35161,6 +35321,8 @@ msgid "" "If [code]true[/code], the native virtual keyboard is shown when focused on " "platforms that support it." msgstr "" +"Si [code]true[/code], le clavier virtuel natif est affiché lorsque cet " +"élément prend le focus sur les plateformes qui le supportent." #: doc/classes/LineEdit.xml msgid "" @@ -36759,6 +36921,15 @@ msgstr "Retourne la [Transform] de l'instance spécifiée." msgid "Returns the [Transform2D] of a specific instance." msgstr "Retourne la [Transform2D] de l'instance spécifiée." +#: 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 " @@ -36772,6 +36943,18 @@ msgid "" "code] is stored as 4 floats." 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 " @@ -36815,6 +36998,16 @@ msgstr "" msgid "Mesh to be drawn." msgstr "Maillage à dessiner." +#: 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 "" @@ -36867,6 +37060,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 "Le nœud que instancie un [MultiMesh]." @@ -37369,9 +37574,8 @@ msgid "Sets the radius of the agent." msgstr "Le rayon extérieur du tore." #: doc/classes/Navigation2DServer.xml doc/classes/NavigationServer.xml -#, fuzzy msgid "Sets the new target velocity." -msgstr "Obtient l'objet édité." +msgstr "Définit la nouvelle vitesse de la cible." #: doc/classes/Navigation2DServer.xml doc/classes/NavigationServer.xml msgid "" @@ -37396,9 +37600,8 @@ msgid "Create a new map." msgstr "Crée une nouvelle carte." #: doc/classes/Navigation2DServer.xml doc/classes/NavigationServer.xml -#, fuzzy msgid "Returns the map cell size." -msgstr "Retourne la taille du tableau." +msgstr "Retourne la taille des cellules de la carte." #: doc/classes/Navigation2DServer.xml doc/classes/NavigationServer.xml #, fuzzy @@ -37596,9 +37799,8 @@ msgid "" msgstr "" #: doc/classes/NavigationAgent.xml doc/classes/NavigationAgent2D.xml -#, fuzzy msgid "The radius of the agent." -msgstr "Le rayon du cylindre." +msgstr "Le rayon de l'agent." #: doc/classes/NavigationAgent.xml doc/classes/NavigationAgent2D.xml msgid "" @@ -37955,9 +38157,8 @@ msgid "Clears the navigation mesh." msgstr "Efface le maillage de navigation." #: doc/classes/NavigationMeshInstance.xml -#, fuzzy msgid "An instance of a [NavigationMesh]." -msgstr "L’instance est un multi-maillage." +msgstr "Une instance de [NavigationMesh]." #: doc/classes/NavigationMeshInstance.xml msgid "" @@ -37978,9 +38179,8 @@ msgid "Determines if the [NavigationMeshInstance] is enabled or disabled." msgstr "" #: doc/classes/NavigationMeshInstance.xml -#, fuzzy msgid "The [NavigationMesh] resource to use." -msgstr "Le singleton [NavigationMeshGenerator]." +msgstr "La ressource [NavigationMesh] à utiliser." #: doc/classes/NavigationMeshInstance.xml #, fuzzy @@ -38199,9 +38399,8 @@ msgid "" msgstr "" #: doc/classes/NavigationServer.xml -#, fuzzy msgid "Returns the map's up direction." -msgstr "Retourne les dimensions de bitmap." +msgstr "Retourne la direction haut de la carte." #: doc/classes/NavigationServer.xml #, fuzzy @@ -38209,9 +38408,8 @@ msgid "Set the map cell height used to weld the navigation mesh polygons." msgstr "Définit le polygone de navigation de la tuile." #: doc/classes/NavigationServer.xml -#, fuzzy msgid "Sets the map up direction." -msgstr "Arrête l'audio." +msgstr "Définit la direction haut de la carte." #: doc/classes/NavigationServer.xml msgid "" @@ -38787,7 +38985,7 @@ msgstr "" #: doc/classes/Node.xml msgid "Nodes and Scenes" -msgstr "" +msgstr "Nœuds et scènes" #: doc/classes/Node.xml msgid "All Demos" @@ -39284,6 +39482,25 @@ msgid "" "Returns [code]true[/code] if the local system is the master of this node." 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 " @@ -39454,6 +39671,21 @@ msgid "" "normally)." 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 " @@ -39554,6 +39786,14 @@ msgid "" "peer is recursively set as the master for all children of this node." 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 " @@ -39804,6 +40044,12 @@ msgid "" "node enters tree, instead of only once." 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 " @@ -40022,7 +40268,7 @@ msgstr "" #: doc/classes/PanelContainer.xml doc/classes/TileMap.xml #: doc/classes/TileSet.xml msgid "2D Role Playing Game Demo" -msgstr "" +msgstr "Démo 2D de jeu de role-play" #: doc/classes/NodePath.xml msgid "" @@ -40731,7 +40977,7 @@ msgstr "" #: doc/classes/OccluderPolygon2D.xml msgid "The culling mode to use." -msgstr "" +msgstr "Le mode de culling à utiliser." #: doc/classes/OccluderPolygon2D.xml msgid "" @@ -40742,18 +40988,19 @@ msgstr "" #: doc/classes/OccluderPolygon2D.xml msgid "Culling is disabled. See [member cull_mode]." -msgstr "" +msgstr "Le culling est désactivé. Voir [member cull_mode]." #: doc/classes/OccluderPolygon2D.xml msgid "" "Culling is performed in the clockwise direction. See [member cull_mode]." -msgstr "" +msgstr "Le culling se fait dans le sens horaire. Voir [member cull_mode]." #: doc/classes/OccluderPolygon2D.xml msgid "" "Culling is performed in the counterclockwise direction. See [member " "cull_mode]." msgstr "" +"Le culling se fait dans le sens horaire inversé. Voir [member cull_mode]." #: doc/classes/OccluderShape.xml msgid "" @@ -40806,8 +41053,8 @@ msgstr "Dessine une géométrie simple à partir du code." #: 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 @@ -40825,14 +41072,12 @@ msgid "" msgstr "" #: doc/classes/OccluderShapeSphere.xml -#, fuzzy msgid "Sets an individual sphere's position." -msgstr "Définit un bit individuel sur le [member collision_mask]." +msgstr "Définit la position d'une seule sphère." #: doc/classes/OccluderShapeSphere.xml -#, fuzzy msgid "Sets an individual sphere's radius." -msgstr "Définit le rayon des sphères individuelles." +msgstr "Définit le rayon d'une seule sphère." #: doc/classes/OccluderShapeSphere.xml msgid "" @@ -40843,7 +41088,7 @@ msgstr "" #: doc/classes/OmniLight.xml msgid "Omnidirectional light, such as a light bulb or a candle." -msgstr "" +msgstr "Une lumière omnidirectionnelle, comme une ampoule ou une bougie." #: doc/classes/OmniLight.xml msgid "" @@ -40903,7 +41148,7 @@ msgstr "" #: modules/opensimplex/doc_classes/OpenSimplexNoise.xml msgid "Noise generator based on Open Simplex." -msgstr "" +msgstr "Un générateur de bruit basé sur Open Simplex." #: modules/opensimplex/doc_classes/OpenSimplexNoise.xml msgid "" @@ -40967,7 +41212,7 @@ msgstr "" #: modules/opensimplex/doc_classes/OpenSimplexNoise.xml msgid "Difference in period between [member octaves]." -msgstr "" +msgstr "La différence de période entre les [member octaves]." #: modules/opensimplex/doc_classes/OpenSimplexNoise.xml msgid "" @@ -41035,7 +41280,7 @@ msgstr "" #: doc/classes/OptionButton.xml msgid "Returns the amount of items in the OptionButton, including separators." -msgstr "" +msgstr "Retourne le nombre d'élément dans ce OptionButton, séparateurs inclus." #: doc/classes/OptionButton.xml doc/classes/PopupMenu.xml msgid "Returns the icon of the item at index [code]idx[/code]." @@ -41048,6 +41293,7 @@ msgstr "" #: doc/classes/OptionButton.xml msgid "Returns the index of the item with the given [code]id[/code]." msgstr "" +"Retourne l'index de l'élément avec l'identifiant [code]id[/code] spécifié." #: doc/classes/OptionButton.xml msgid "" @@ -41057,7 +41303,7 @@ msgstr "" #: doc/classes/OptionButton.xml doc/classes/PopupMenu.xml msgid "Returns the text of the item at index [code]idx[/code]." -msgstr "" +msgstr "Retourne le texte de l'élément à l'index [code]idx[/code]." #: doc/classes/OptionButton.xml msgid "" @@ -41075,10 +41321,12 @@ msgstr "" msgid "" "Returns [code]true[/code] if the item at index [code]idx[/code] is disabled." msgstr "" +"Retourn [code]true[/code] si l'élément à l'index [code]idx[/code] est " +"désactivé." #: doc/classes/OptionButton.xml msgid "Removes the item at index [code]idx[/code]." -msgstr "" +msgstr "Retire l'élément à l'index [code]idx[/code]." #: doc/classes/OptionButton.xml msgid "" @@ -41096,11 +41344,11 @@ msgstr "" #: doc/classes/OptionButton.xml msgid "Sets the icon of the item at index [code]idx[/code]." -msgstr "" +msgstr "Définit l'icône pour l'élément à l'index [code]idx[/code]." #: doc/classes/OptionButton.xml msgid "Sets the ID of the item at index [code]idx[/code]." -msgstr "" +msgstr "Définit l'identifiant pour l'élément à l'index [code]idx[/code]." #: doc/classes/OptionButton.xml msgid "" @@ -41110,7 +41358,7 @@ msgstr "" #: doc/classes/OptionButton.xml doc/classes/PopupMenu.xml msgid "Sets the text of the item at index [code]idx[/code]." -msgstr "" +msgstr "Définit le texte pour l'élément à l'index [code]idx[/code]." #: doc/classes/OptionButton.xml msgid "" @@ -41133,7 +41381,7 @@ msgstr "" #: doc/classes/OptionButton.xml msgid "Default text [Color] of the [OptionButton]." -msgstr "" +msgstr "La [Color] par défaut du texte pour le [OptionButton]." #: doc/classes/OptionButton.xml msgid "Text [Color] used when the [OptionButton] is disabled." @@ -41148,11 +41396,11 @@ msgstr "" #: doc/classes/OptionButton.xml msgid "Text [Color] used when the [OptionButton] is being hovered." -msgstr "" +msgstr "La [Color] du texte utilisée quand le [OptionButton] est survolé." #: doc/classes/OptionButton.xml msgid "Text [Color] used when the [OptionButton] is being pressed." -msgstr "" +msgstr "La [Color] du texte utilisée quand le [OptionButton] est pressé." #: doc/classes/OptionButton.xml msgid "" @@ -41165,7 +41413,7 @@ msgstr "" #: doc/classes/OptionButton.xml msgid "[Font] of the [OptionButton]'s text." -msgstr "" +msgstr "La [Font] du texte du [OptionButton]." #: doc/classes/OptionButton.xml msgid "The arrow icon to be drawn on the right end of the button." @@ -41188,7 +41436,7 @@ msgstr "" #: doc/classes/OptionButton.xml msgid "Default [StyleBox] for the [OptionButton]." -msgstr "" +msgstr "Le [StyleBox] par défaut pour le [OptionButton]." #: doc/classes/OptionButton.xml msgid "[StyleBox] used when the [OptionButton] is being pressed." @@ -41604,13 +41852,26 @@ 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 -#, fuzzy msgid "Returns the window size including decorations like window borders." -msgstr "Retourne le nœud de fin de la transition donnée." +msgstr "" +"Retourne la taille de la fenêtre en incluant les décorations, comme les " +"bordures." #: doc/classes/OS.xml msgid "" @@ -41621,9 +41882,8 @@ msgid "" msgstr "" #: doc/classes/OS.xml -#, fuzzy msgid "Returns the number of displays attached to the host machine." -msgstr "Retourne le nombre de formes assignées à une zone." +msgstr "Retourne le nombre d'écrans connectés à la machine hôte." #: doc/classes/OS.xml msgid "" @@ -42345,9 +42605,9 @@ msgid "" msgstr "" #: doc/classes/OS.xml -#, fuzzy msgid "If [code]true[/code], the window is resizable by the user." -msgstr "Si [code]true[/code], le filtrage est activé." +msgstr "" +"Si [code]true[/code], la fenêtre peut être redimensionnée par l'utilisateur." #: doc/classes/OS.xml msgid "The size of the window (without counting window manager decorations)." @@ -42517,7 +42777,7 @@ msgstr "Chemin d’accès du répertoire de bureau." #: doc/classes/OS.xml msgid "DCIM (Digital Camera Images) directory path." -msgstr "" +msgstr "Le chemin du dossier DCIM (images de la caméra numérique)." #: doc/classes/OS.xml msgid "Documents directory path." @@ -42892,7 +43152,7 @@ msgstr "" #: doc/classes/PacketPeerUDP.xml msgid "Returns whether this [PacketPeerUDP] is listening." -msgstr "" +msgstr "Retourne quand ce [PacketPeerUDP] écoute." #: doc/classes/PacketPeerUDP.xml msgid "" @@ -42974,7 +43234,7 @@ msgstr "" #: doc/classes/Panel.xml msgid "2D Finite State Machine Demo" -msgstr "" +msgstr "Démo 2D de machine à états finis" #: doc/classes/Panel.xml doc/classes/Skeleton.xml doc/classes/SkeletonIK.xml msgid "3D Inverse Kinematics Demo" @@ -43300,7 +43560,7 @@ msgstr "" #: doc/classes/ParticlesMaterial.xml msgid "Returns the randomness ratio associated with the specified parameter." -msgstr "" +msgstr "Retourne le facteur d'aléatoire associé avec le paramètre spécifié." #: doc/classes/ParticlesMaterial.xml #, fuzzy @@ -43319,7 +43579,7 @@ msgstr "" #: doc/classes/ParticlesMaterial.xml msgid "Sets the randomness ratio for the specified [enum Parameter]." -msgstr "" +msgstr "Définit le facteur d'aléatoire pour le [enum Parameter] spécifié." #: doc/classes/ParticlesMaterial.xml #, fuzzy @@ -43615,7 +43875,7 @@ msgstr "Une [Curve3D] décrivant le chemin." #: doc/classes/Path.xml msgid "Emitted when the [member curve] changes." -msgstr "" +msgstr "Émis quand cette [member curve] change." #: doc/classes/Path2D.xml msgid "Contains a [Curve2D] path for [PathFollow2D] nodes to follow." @@ -43635,9 +43895,8 @@ msgid "A [Curve2D] describing the path." msgstr "Une [Curve2D] décrivant le chemin." #: doc/classes/PathFollow.xml -#, fuzzy msgid "Point sampler for a [Path]." -msgstr "Échantillonneur de points pour un [Path2D]." +msgstr "Échantillonneur de points pour un [Path]." #: doc/classes/PathFollow.xml msgid "" @@ -43665,7 +43924,7 @@ msgstr "" #: doc/classes/PathFollow.xml doc/classes/PathFollow2D.xml msgid "The node's offset along the curve." -msgstr "" +msgstr "Le décalage du nœud le long de la courbe." #: doc/classes/PathFollow.xml doc/classes/PathFollow2D.xml msgid "" @@ -43698,9 +43957,8 @@ msgid "The node's offset perpendicular to the curve." msgstr "" #: doc/classes/PathFollow.xml -#, fuzzy msgid "Forbids the PathFollow to rotate." -msgstr "Interdit au PathFollow3D de tourner." +msgstr "Interdit au PathFollow de pivoter pour suivre le chemin." #: doc/classes/PathFollow.xml #, fuzzy @@ -43899,23 +44157,23 @@ msgstr "" #: doc/classes/Performance.xml msgid "3D objects drawn per frame." -msgstr "Objets 3D dessinés par image." +msgstr "Les objets 3D dessinés par trame." #: doc/classes/Performance.xml msgid "Vertices drawn per frame. 3D only." -msgstr "" +msgstr "Les sommets dessinés durant la trame. Seulement pour la 3D." #: doc/classes/Performance.xml msgid "Material changes per frame. 3D only." -msgstr "" +msgstr "Les matériaux changés durant la trame. Seulement pour la 3D." #: doc/classes/Performance.xml msgid "Shader changes per frame. 3D only." -msgstr "" +msgstr "Les shaders changés durant la trame. Seulement pour la 3D." #: doc/classes/Performance.xml msgid "Render surface changes per frame. 3D only." -msgstr "" +msgstr "Les surfaces affichées changées durant la trame. Seulement pour la 3D." #: doc/classes/Performance.xml msgid "Draw calls per frame. 3D only." @@ -44036,7 +44294,7 @@ msgstr "Ajoute une force de rotation constante." #: doc/classes/Physics2DDirectBodyState.xml doc/classes/RigidBody2D.xml msgid "Applies a directional impulse without affecting rotation." -msgstr "" +msgstr "Applique une impulsion directionnelle changer affecter la rotation." #: doc/classes/Physics2DDirectBodyState.xml msgid "" @@ -44049,7 +44307,7 @@ msgstr "" #: doc/classes/Physics2DDirectBodyState.xml doc/classes/RigidBody2D.xml msgid "Applies a rotational impulse to the body." -msgstr "" +msgstr "Applique une impulsion de rotation au corps." #: doc/classes/Physics2DDirectBodyState.xml #: doc/classes/PhysicsDirectBodyState.xml @@ -44070,7 +44328,7 @@ msgstr "" #: doc/classes/Physics2DDirectBodyState.xml #: doc/classes/PhysicsDirectBodyState.xml msgid "Returns the contact position in the collider." -msgstr "" +msgstr "Retourne la position du contact sur le collisionneur." #: doc/classes/Physics2DDirectBodyState.xml #: doc/classes/PhysicsDirectBodyState.xml @@ -44129,9 +44387,8 @@ msgid "Calls the built-in force integration code." msgstr "" #: doc/classes/Physics2DDirectBodyState.xml doc/classes/RigidBody2D.xml -#, fuzzy msgid "The body's rotational velocity in [i]radians[/i] per second." -msgstr "La vitesse de rotation du corps." +msgstr "La vitesse de rotation du corps en [i]radians[/i] par seconde." #: doc/classes/Physics2DDirectBodyState.xml #: doc/classes/PhysicsDirectBodyState.xml @@ -44144,9 +44401,8 @@ msgid "The inverse of the mass of the body." msgstr "" #: doc/classes/Physics2DDirectBodyState.xml -#, fuzzy msgid "The body's linear velocity in pixels per second." -msgstr "La vitesse de la souris en pixels par seconde." +msgstr "La vitesse linéaire d'un corps en pixels par seconde." #: doc/classes/Physics2DDirectBodyState.xml #: doc/classes/PhysicsDirectBodyState.xml @@ -44155,8 +44411,9 @@ msgstr "" #: doc/classes/Physics2DDirectBodyState.xml #: doc/classes/PhysicsDirectBodyState.xml +#, fuzzy msgid "The timestep (delta) used for the simulation." -msgstr "" +msgstr "L'étape de temps (delta) utilisé pour la simulation." #: doc/classes/Physics2DDirectBodyState.xml #: doc/classes/PhysicsDirectBodyState.xml @@ -44326,7 +44583,7 @@ msgstr "" #: doc/classes/Physics2DServer.xml msgid "Server interface for low-level 2D physics access." -msgstr "" +msgstr "L'interface du serveur pour l'accès à la physique 2D en bas niveau." #: doc/classes/Physics2DServer.xml #, fuzzy @@ -45280,9 +45537,8 @@ msgid "" msgstr "" #: doc/classes/PhysicsDirectBodyState.xml -#, fuzzy msgid "The body's linear velocity in units per second." -msgstr "La vitesse linéaire du corps." +msgstr "La vitesse linéaire du corps en unités par secondes." #: doc/classes/PhysicsDirectSpaceState.xml msgid "Direct access object to a space in the [PhysicsServer]." @@ -45710,29 +45966,24 @@ msgid "" msgstr "" #: doc/classes/PhysicsServer.xml -#, fuzzy msgid "The [Joint] is a [PinJoint]." -msgstr "Le [Joint3D] est un [PinJoint3D]." +msgstr "Le [Joint] est un [PinJoint]." #: doc/classes/PhysicsServer.xml -#, fuzzy msgid "The [Joint] is a [HingeJoint]." -msgstr "Le [Joint3D] est un [HingeJoint3D]." +msgstr "Le [Joint] est un [HingeJoint]." #: doc/classes/PhysicsServer.xml -#, fuzzy msgid "The [Joint] is a [SliderJoint]." -msgstr "Le [Joint3D] est un [SliderJoint3D]." +msgstr "Le [Joint] est un [SliderJoint]." #: doc/classes/PhysicsServer.xml -#, fuzzy msgid "The [Joint] is a [ConeTwistJoint]." -msgstr "Le [Joint3D] est un [ConeTwistJoint3D]." +msgstr "Le [Joint] est un [ConeTwistJoint]." #: doc/classes/PhysicsServer.xml -#, fuzzy msgid "The [Joint] is a [Generic6DOFJoint]." -msgstr "Le [Joint3D] est un [Generic6DOFJoint3D]." +msgstr "Le [Joint] est un [Generic6DOFJoint]." #: doc/classes/PhysicsServer.xml msgid "" @@ -45949,49 +46200,40 @@ msgid "" msgstr "" #: doc/classes/PhysicsServer.xml -#, fuzzy msgid "The [Shape] is a [PlaneShape]." -msgstr "Le [Shape3D] est un [RayShape3D]." +msgstr "Le [Shape] est un [PlaneShape]." #: doc/classes/PhysicsServer.xml -#, fuzzy msgid "The [Shape] is a [RayShape]." -msgstr "Le [Shape3D] est un [RayShape3D]." +msgstr "Le [Shape] est un [RayShape]." #: doc/classes/PhysicsServer.xml -#, fuzzy msgid "The [Shape] is a [SphereShape]." -msgstr "La [Shape3D] est une [SphereShape3D]." +msgstr "La [Shape] est une [SphereShape]." #: doc/classes/PhysicsServer.xml -#, fuzzy msgid "The [Shape] is a [BoxShape]." -msgstr "La [Shape3D] est une [BoxShape3D]." +msgstr "La [Shape] est une [BoxShape]." #: doc/classes/PhysicsServer.xml -#, fuzzy msgid "The [Shape] is a [CapsuleShape]." -msgstr "La [Shape3D] est une [CapsuleShape3D]." +msgstr "La [Shape] est une [CapsuleShape]." #: doc/classes/PhysicsServer.xml -#, fuzzy msgid "The [Shape] is a [CylinderShape]." -msgstr "La [Shape3D] est un [CylinderShape3D]." +msgstr "La [Shape] est un [CylinderShape]." #: doc/classes/PhysicsServer.xml -#, fuzzy msgid "The [Shape] is a [ConvexPolygonShape]." -msgstr "La [Shape3D] est un [ConvexPolygonShape3D]." +msgstr "La [Shape] est un [ConvexPolygonShape]." #: doc/classes/PhysicsServer.xml -#, fuzzy msgid "The [Shape] is a [ConcavePolygonShape]." -msgstr "La [Shape3D] est un [ConvexPolygonShape3D]." +msgstr "La [Shape] est un [ConcavePolygonShape]." #: doc/classes/PhysicsServer.xml -#, fuzzy msgid "The [Shape] is a [HeightMapShape]." -msgstr "La [Shape3D] est un [HeightMapShape3D]." +msgstr "La [Shape] est un [HeightMapShape]." #: doc/classes/PhysicsShapeQueryParameters.xml msgid "Parameters to be sent to a 3D shape physics query." @@ -46119,6 +46361,8 @@ msgid "" "Returns [code]true[/code] if [code]point[/code] is inside the plane. " "Comparison uses a custom minimum [code]epsilon[/code] threshold." msgstr "" +"Retourn [code]true[/code] si [code]point[/code] est à l'intérieur du plan. " +"La comparaison se fait sous le seuil [code]epsilon[/code]." #: doc/classes/Plane.xml msgid "" @@ -46400,7 +46644,6 @@ msgid "" msgstr "" #: doc/classes/PoolByteArray.xml -#, fuzzy msgid "A pooled [Array] of bytes." msgstr "Un [Array] compacté d'octets." @@ -46520,9 +46763,8 @@ msgid "" msgstr "" #: doc/classes/PoolColorArray.xml -#, fuzzy msgid "A pooled [Array] of [Color]." -msgstr "Un [Array] compacté d'octets." +msgstr "Un [Array] compacté de [Color]." #: doc/classes/PoolColorArray.xml msgid "" @@ -46544,7 +46786,7 @@ msgstr "Ajoute un [PackedVector3Array] à la fin de ce tableau." #: doc/classes/PoolColorArray.xml doc/classes/PoolIntArray.xml msgid "Appends a value to the array." -msgstr "" +msgstr "Ajoute une valeur à la fin du tableau." #: doc/classes/PoolColorArray.xml doc/classes/PoolStringArray.xml #: doc/classes/PoolVector2Array.xml doc/classes/PoolVector3Array.xml @@ -46631,9 +46873,8 @@ msgid "Changes the float at the given index." msgstr "" #: doc/classes/PoolStringArray.xml -#, fuzzy msgid "A pooled [Array] of [String]." -msgstr "Un [Array] compacté d'octets." +msgstr "Un [Array] compacté de [String]." #: doc/classes/PoolStringArray.xml msgid "" @@ -46662,16 +46903,15 @@ msgstr "Retourne le [WebSocketPeer] associé au [code]peer_id[/code] donné." #: doc/classes/PoolStringArray.xml msgid "Appends a string element at end of the array." -msgstr "" +msgstr "Ajoute une chaine de caractère à la fin du tableau." #: doc/classes/PoolStringArray.xml msgid "Changes the [String] at the given index." msgstr "" #: doc/classes/PoolVector2Array.xml -#, fuzzy msgid "A pooled [Array] of [Vector2]." -msgstr "Un [Array] compacté d'octets." +msgstr "Un [Array] compacté de [Vector2]." #: doc/classes/PoolVector2Array.xml msgid "" @@ -46705,9 +46945,8 @@ msgid "Changes the [Vector2] at the given index." msgstr "Modifie le [Vector2] à l’index donné." #: doc/classes/PoolVector3Array.xml -#, fuzzy msgid "A pooled [Array] of [Vector3]." -msgstr "Un [Array] compacté d'octets." +msgstr "Un [Array] compacté de [Vector3]." #: doc/classes/PoolVector3Array.xml msgid "" @@ -46819,9 +47058,8 @@ msgstr "" "La notification est envoyée dès que la fenêtre contextuelle est masquée." #: doc/classes/PopupDialog.xml -#, fuzzy msgid "Base class for popup dialogs." -msgstr "Classe de base pour les séparateurs." +msgstr "Classe parente des fenêtres de dialogue." #: doc/classes/PopupDialog.xml msgid "" @@ -49649,6 +49887,17 @@ msgid "" "below 30 FPS." 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 " @@ -49661,8 +49910,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 @@ -50181,14 +50432,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 @@ -50317,8 +50573,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 @@ -50814,24 +51070,32 @@ msgid "" "W component of the quaternion (real part).\n" "Quaternion components should usually not be manipulated directly." msgstr "" +"Le composant W du quaternion (partie réelle).\n" +"Les composants des quaternions ne devraient pas être modifié directement." #: doc/classes/Quat.xml msgid "" "X component of the quaternion (imaginary [code]i[/code] axis part).\n" "Quaternion components should usually not be manipulated directly." msgstr "" +"Le composant X du quaternion (partie de l'axe imaginaire [code]i[/code]).\n" +"Les composants des quaternions ne devraient pas être modifié directement." #: doc/classes/Quat.xml msgid "" "Y component of the quaternion (imaginary [code]j[/code] axis part).\n" "Quaternion components should usually not be manipulated directly." msgstr "" +"Le composant Y du quaternion (partie de l'axe imaginaire [code]j[/code]).\n" +"Les composants des quaternions ne devraient pas être modifié directement." #: doc/classes/Quat.xml msgid "" "Z component of the quaternion (imaginary [code]k[/code] axis part).\n" "Quaternion components should usually not be manipulated directly." msgstr "" +"Le composant Z du quaternion (partie de l'axe imaginaire [code]k[/code]).\n" +"Les composants des quaternions ne devraient pas être modifié directement." #: doc/classes/Quat.xml msgid "" @@ -51997,7 +52261,7 @@ msgstr "" #: doc/classes/ResourceFormatLoader.xml msgid "Loads a specific resource type from a file." -msgstr "" +msgstr "Charge un type de ressource spécifique depuis un fichier." #: doc/classes/ResourceFormatLoader.xml msgid "" @@ -52068,7 +52332,7 @@ msgstr "" #: doc/classes/ResourceFormatSaver.xml msgid "Saves a specific resource type to a file." -msgstr "" +msgstr "Enregistre un type de ressource spécifique dans un fichier." #: doc/classes/ResourceFormatSaver.xml msgid "" @@ -52094,6 +52358,8 @@ msgstr "" #: doc/classes/ResourceFormatSaver.xml msgid "Returns whether the given resource object can be saved by this saver." msgstr "" +"Retourne quand une ressource donnée peut être enregistrée par ce " +"enregistreur." #: doc/classes/ResourceFormatSaver.xml msgid "" @@ -52442,7 +52708,7 @@ msgstr "" #: doc/classes/RichTextLabel.xml msgid "BBCode in RichTextLabel" -msgstr "" +msgstr "BBCode dans RichTextLabel" #: doc/classes/RichTextLabel.xml msgid "GUI Rich Text/BBcode Demo" @@ -52475,6 +52741,8 @@ msgstr "" #: doc/classes/RichTextLabel.xml msgid "Clears the tag stack and sets [member bbcode_text] to an empty string." msgstr "" +"Efface la pile des marqueurs et définit [member bbcode_text] avec un texte " +"vide." #: doc/classes/RichTextLabel.xml msgid "Returns the height of the content." @@ -52586,22 +52854,27 @@ msgstr "" #: doc/classes/RichTextLabel.xml msgid "Adds a [code][font][/code] tag with a monospace font to the tag stack." msgstr "" +"Ajouter un marqueur [code][font][/code] avec une police monospace dans la " +"pile des marqueurs." #: doc/classes/RichTextLabel.xml msgid "Adds a [code][font][/code] tag with a normal font to the tag stack." msgstr "" +"Ajouter un marqueur [code][font][/code] avec une police normale dans la pile " +"des marqueurs." #: doc/classes/RichTextLabel.xml msgid "Adds a [code][s][/code] tag to the tag stack." -msgstr "" +msgstr "Ajouter un marqueur [code][s][/code] dans la pile des marqueurs." #: doc/classes/RichTextLabel.xml msgid "Adds a [code][table=columns][/code] tag to the tag stack." msgstr "" +"Ajouter un marqueur [code][table=columns][/code] dans la pile des marqueurs." #: doc/classes/RichTextLabel.xml msgid "Adds a [code][u][/code] tag to the tag stack." -msgstr "" +msgstr "Ajouter un marqueur [code][u][/code] dans la pile des marqueurs." #: doc/classes/RichTextLabel.xml msgid "" @@ -54296,6 +54569,13 @@ msgid "" "_input] will not be called anymore in nodes." 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 " @@ -54491,9 +54771,8 @@ msgid "" msgstr "" #: doc/classes/SceneTreeTimer.xml -#, fuzzy msgid "The time remaining (in seconds)." -msgstr "Le temps restant." +msgstr "Le temps restant (en secondes)." #: doc/classes/SceneTreeTimer.xml doc/classes/Timer.xml #, fuzzy @@ -55410,9 +55689,8 @@ msgid "" msgstr "" #: doc/classes/Slider.xml -#, fuzzy msgid "Emitted when dragging is started." -msgstr "Émis lorsque le défilement est commencé." +msgstr "Émis lorsque le glissement de la souris a commencé." #: doc/classes/SliderJoint.xml msgid "Slider between two PhysicsBodies in 3D." @@ -55572,6 +55850,18 @@ msgstr "" msgid "All 3D Demos" 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 " @@ -57451,7 +57741,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 "" @@ -57465,7 +57755,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 "" @@ -58184,10 +58474,13 @@ msgstr "" "chaîne de caractères donnée." #: 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 "" -"Retourne les bigrammes (paires de lettres consécutives) de cette chaîne de " -"caractères." #: doc/classes/String.xml #, fuzzy @@ -58489,7 +58782,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 @@ -58512,11 +58814,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 @@ -58565,14 +58880,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 @@ -58742,8 +59059,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 @@ -60295,6 +60620,16 @@ msgstr "Retourne la ligne de fin de sélection." msgid "Returns the total width of all gutters and internal padding." msgstr "Retourne le nombre de pistes dans l'animation." +#: doc/classes/TextEdit.xml +#, fuzzy +msgid "Returns the total amount of lines that could be drawn." +msgstr "Retourne la position du contact sur le collisionneur." + +#: doc/classes/TextEdit.xml +#, fuzzy +msgid "Returns the number of visible lines, including wrapped text." +msgstr "Renvoie le nombre de lignes visibles." + #: doc/classes/TextEdit.xml msgid "" "Returns a [String] text with the word under the caret (text cursor) location." @@ -60557,13 +60892,10 @@ msgid "" msgstr "" #: doc/classes/TextEdit.xml -#, fuzzy msgid "" "If [code]true[/code], shortcut keys for context menu items are enabled, even " "if the context menu is disabled." msgstr "" -"Si [code]true[/code] (vrai), les nœuds enfants sont triés, sinon le tri est " -"désactivé." #: doc/classes/TextEdit.xml msgid "" @@ -61212,26 +61544,28 @@ msgstr "" msgid "" "Multiplies the color of the bar's [code]texture_progress[/code] texture." msgstr "" +"Multiplie la couleur de la texture [code]texture_progress[/code] de la barre." #: doc/classes/TextureProgress.xml msgid "Multiplies the color of the bar's [code]texture_under[/code] texture." msgstr "" +"Multiplie la couleur de la texture [code]texture_under[/code] de la barre." #: doc/classes/TextureProgress.xml msgid "The [member texture_progress] fills from left to right." -msgstr "" +msgstr "La [member texture_progress] remplis de gauche à droite." #: doc/classes/TextureProgress.xml msgid "The [member texture_progress] fills from right to left." -msgstr "" +msgstr "La [member texture_progress] remplis de droite à gauche." #: doc/classes/TextureProgress.xml msgid "The [member texture_progress] fills from top to bottom." -msgstr "" +msgstr "La [member texture_progress] remplis de haut en bas." #: doc/classes/TextureProgress.xml msgid "The [member texture_progress] fills from bottom to top." -msgstr "" +msgstr "La [member texture_progress] remplis de bas en haut." #: doc/classes/TextureProgress.xml msgid "" @@ -61379,6 +61713,12 @@ msgid "" "theme has [code]node_type[/code]." 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 "" @@ -61527,6 +61867,19 @@ msgid "" "future version." 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 +#, fuzzy +msgid "" +"Returns a list of all type variations for the given [code]base_type[/code]." +msgstr "" +"Retourne l'index de l'élément avec l'identifiant [code]id[/code] spécifié." + #: doc/classes/Theme.xml #, fuzzy msgid "" @@ -61584,6 +61937,15 @@ msgid "" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." msgstr "" +#: 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 "" +"Retourne [code]true[/code] si la piste donnée est importée. Sinon retourne " +"[code]false[/code]." + #: doc/classes/Theme.xml msgid "" "Adds missing and overrides existing definitions with values from the " @@ -61679,6 +62041,20 @@ msgid "" "Creates [code]node_type[/code] if the theme does not have it." 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 " @@ -61731,7 +62107,7 @@ msgstr "" #: doc/classes/Thread.xml msgid "Using multiple threads" -msgstr "" +msgstr "Utilisation de plusieurs threads" #: doc/classes/Thread.xml msgid "Thread-safe APIs" @@ -62458,7 +62834,7 @@ msgstr "" #: doc/classes/TileSet.xml msgid "Sets a shape for the tile, enabling collision." -msgstr "" +msgstr "Définit une forme pour la tuile, activant la collision." #: doc/classes/TileSet.xml msgid "Sets the offset of a tile's shape." @@ -62907,9 +63283,8 @@ msgid "The horizontal space between [ToolButton]'s icon and text." msgstr "L'espacement entre l'icône de l'élément et le texte." #: doc/classes/ToolButton.xml -#, fuzzy msgid "[Font] of the [ToolButton]'s text." -msgstr "[Font] du texte du [Button]." +msgstr "La [Font] du texte du [ToolButton]." #: doc/classes/ToolButton.xml #, fuzzy @@ -62930,9 +63305,8 @@ msgid "[StyleBox] used when the [ToolButton] is being hovered." msgstr "" #: doc/classes/ToolButton.xml -#, fuzzy msgid "Default [StyleBox] for the [ToolButton]." -msgstr "[StyleBox] par défaut pour le [Button]." +msgstr "Le [StyleBox] par défaut pour le [ToolButton]." #: doc/classes/ToolButton.xml #, fuzzy @@ -62962,7 +63336,7 @@ msgstr "" #: doc/classes/TouchScreenButton.xml msgid "Returns [code]true[/code] if this button is currently pressed." -msgstr "" +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]." @@ -63162,8 +63536,8 @@ msgid "" "The translation offset of the transform (column 3, the fourth column). " "Equivalent to array index [code]3[/code]." msgstr "" -"Le décalage de translation du transform (colonne 3, quatrième colonne). " -"Équivalent à l'index du tableau [code]3[/code]." +"Le décalage de translation de la transformation (colonne 3, quatrième " +"colonne). Équivalent à l'index du tableau [code]3[/code]." #: doc/classes/Transform.xml msgid "" @@ -63173,17 +63547,15 @@ msgstr "" #: doc/classes/Transform.xml msgid "[Transform] with mirroring applied perpendicular to the YZ plane." -msgstr "" -"[Transform] avec mise en miroir appliquée perpendiculairement au plan YZ." +msgstr "[Transform] avec effet miroir appliqué perpendiculairement au plan YZ." #: doc/classes/Transform.xml msgid "[Transform] with mirroring applied perpendicular to the XZ plane." -msgstr "[Transform] avec un miroir appliqué perpendiculairement au plan XZ." +msgstr "[Transform] avec effet miroir appliqué perpendiculairement au plan XZ." #: doc/classes/Transform.xml msgid "[Transform] with mirroring applied perpendicular to the XY plane." -msgstr "" -"[Transform] avec mise en miroir appliquée perpendiculairement au plan XY." +msgstr "[Transform] avec effet miroir appliqué perpendiculairement au plan XY." #: doc/classes/Transform2D.xml msgid "2D transformation (2×3 matrix)." @@ -63864,7 +64236,7 @@ msgstr "" #: doc/classes/Tree.xml msgid "[StyleBox] used when the [Tree] is being focused." -msgstr "" +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." @@ -63933,7 +64305,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 "" @@ -63980,10 +64352,9 @@ msgstr "" "est préssé. Voir [enum JoyButtonList]." #: 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." -msgstr "" +#, fuzzy +msgid "Returns the number of buttons in column [code]column[/code]." +msgstr "Sélectionne la colonne [code]column[/code]." #: doc/classes/TreeItem.xml #, fuzzy @@ -65373,11 +65744,8 @@ msgid "The vertical space between the [VBoxContainer]'s elements." msgstr "" #: doc/classes/Vector2.xml -#, fuzzy msgid "Vector used for 2D math." -msgstr "" -"Vecteur utilisé pour les mathématiques 2D utilisant des coordonnées " -"d'entiers." +msgstr "Vecteur utilisé en 2D." #: doc/classes/Vector2.xml msgid "" @@ -65672,6 +66040,8 @@ msgid "" "Infinity vector, a vector with all components set to [constant @GDScript." "INF]." msgstr "" +"Le vecteur infini, un vecteur avec tous ses composants définit à [constant " +"@GDScript.INF]." #: doc/classes/Vector2.xml msgid "Left unit vector. Represents the direction of left." @@ -65690,10 +66060,8 @@ msgid "Down unit vector. Y is down in 2D, so this vector points +Y." msgstr "" #: doc/classes/Vector3.xml -#, fuzzy msgid "Vector used for 3D math." -msgstr "" -"Vecteur utilisé pour les mathématiques 3D à l’aide de coordonnées d'entiers." +msgstr "Vecteur utilisé en 3D." #: doc/classes/Vector3.xml msgid "" @@ -65785,6 +66153,8 @@ msgid "" "Rotates this vector around a given axis by [code]phi[/code] radians. The " "axis must be a normalized vector." msgstr "" +"Pivote ce vecteur autour de l'axe donné par [code]phi[/code] radians. L'axe " +"donné doit être normalisé." #: doc/classes/Vector3.xml msgid "" @@ -68197,9 +68567,8 @@ msgid "A Visual Script node returning a constant from [@GlobalScope]." msgstr "Un nœud Visual Script utilisé pour annoter le script." #: modules/visual_script/doc_classes/VisualScriptGlobalConstant.xml -#, fuzzy msgid "The constant to be used." -msgstr "Le type de la constante." +msgstr "La constante à utiliser." #: modules/visual_script/doc_classes/VisualScriptIndexGet.xml #, fuzzy @@ -68249,9 +68618,8 @@ msgid "State of the action to check. See [enum Mode] for options." msgstr "La fonction à calculer. Voir [enum Function] pour les options." #: modules/visual_script/doc_classes/VisualScriptInputAction.xml -#, fuzzy msgid "[code]True[/code] if action is pressed." -msgstr "Si [code]true[/code], le filtrage est activé." +msgstr "Si [code]true[/code], l'action est pressée." #: modules/visual_script/doc_classes/VisualScriptInputAction.xml #, fuzzy @@ -69208,7 +69576,7 @@ msgstr "" #: doc/classes/VisualServer.xml #, fuzzy msgid "Sets clipping for the [CanvasItem]." -msgstr "Définit l’index du [CanvasItem]." +msgstr "Définit la coupure du [CanvasItem]." #: doc/classes/VisualServer.xml msgid "Sets the [CanvasItem] to copy a rect to the backbuffer." @@ -70347,9 +70715,8 @@ msgid "" msgstr "" #: doc/classes/VisualServer.xml -#, fuzzy msgid "Sets a material's line width." -msgstr "Définit la priorité de rendu d’un matériau." +msgstr "Définit l'épaisseur des lignes du matériau." #: doc/classes/VisualServer.xml msgid "Sets an object's next material." @@ -70434,9 +70801,8 @@ msgid "Sets a mesh's custom aabb." msgstr "Définit l’aabb personnalisé d’un maillage." #: doc/classes/VisualServer.xml -#, fuzzy msgid "Returns a mesh's surface's aabb." -msgstr "Retourne l’aabb personnalisé d’un maillage." +msgstr "Retourne l’aabb de la surface d'un maillage." #: doc/classes/VisualServer.xml #, fuzzy @@ -71962,7 +72328,7 @@ msgstr "" #: doc/classes/VisualServer.xml msgid "Debug draw is disabled. Default setting." -msgstr "L'affichage de débogage est désactivé. La valeur par défaut." +msgstr "L'affichage de débogage est désactivé. C'est la valeur par défaut." #: doc/classes/VisualServer.xml #, fuzzy @@ -72045,8 +72411,10 @@ msgid "" msgstr "" #: doc/classes/VisualServer.xml +#, fuzzy msgid "Allows the instance to be used in baked lighting." msgstr "" +"Autorise une instance à pouvoir être utilisé pour le baking des lumières." #: doc/classes/VisualServer.xml msgid "When set, manually requests to draw geometry on next frame." @@ -72070,11 +72438,15 @@ msgid "" "Disable backface culling when rendering the shadow of the object. This is " "slightly slower but may result in more correct shadows." msgstr "" +"Désactiver le culling des faces arrières lors du rendu de l'ombre de " +"l'objet. Ceci est légèrement plus lent mais peut permettre d'obtenir de " +"meilleures ombres." #: doc/classes/VisualServer.xml msgid "" "Only render the shadows from the object. The object itself will not be drawn." msgstr "" +"N'afficher que l'ombre de l'objet. L'objet en lui-même ne sera pas affiché." #: doc/classes/VisualServer.xml msgid "The nine patch gets stretched where needed." @@ -72092,43 +72464,43 @@ msgstr "" #: doc/classes/VisualServer.xml msgid "Adds light color additive to the canvas." -msgstr "" +msgstr "Ajoute une couleur additive de lumière au canevas." #: doc/classes/VisualServer.xml msgid "Adds light color subtractive to the canvas." -msgstr "" +msgstr "Ajoute une couleur soustractive de lumière au canevas." #: doc/classes/VisualServer.xml msgid "The light adds color depending on transparency." -msgstr "" +msgstr "La lumière ajoute une couleur suivant la transparence." #: doc/classes/VisualServer.xml msgid "The light adds color depending on mask." -msgstr "" +msgstr "La lumière ajoute une couleur suivant un masque." #: doc/classes/VisualServer.xml msgid "Do not apply a filter to canvas light shadows." -msgstr "" +msgstr "Ne pas appliquer de lissage pour les ombres du canevas." #: doc/classes/VisualServer.xml msgid "Use PCF3 filtering to filter canvas light shadows." -msgstr "" +msgstr "Utiliser le filtre PCF3 pour lisser les ombres des canevas." #: doc/classes/VisualServer.xml msgid "Use PCF5 filtering to filter canvas light shadows." -msgstr "" +msgstr "Utiliser le filtre PCF5 pour lisser les ombres des canevas." #: doc/classes/VisualServer.xml msgid "Use PCF7 filtering to filter canvas light shadows." -msgstr "" +msgstr "Utiliser le filtre PCF7 pour lisser les ombres des canevas." #: doc/classes/VisualServer.xml msgid "Use PCF9 filtering to filter canvas light shadows." -msgstr "" +msgstr "Utiliser le filtre PCF9 pour lisser les ombres des canevas." #: doc/classes/VisualServer.xml msgid "Use PCF13 filtering to filter canvas light shadows." -msgstr "" +msgstr "Utiliser le filtre PCF13 pour lisser les ombres des canevas." #: doc/classes/VisualServer.xml msgid "Culling of the canvas occluder is disabled." @@ -72144,76 +72516,77 @@ msgstr "" #: doc/classes/VisualServer.xml msgid "The amount of objects in the frame." -msgstr "" +msgstr "Le quantité d'objet dans le trame." #: doc/classes/VisualServer.xml msgid "The amount of vertices in the frame." -msgstr "" +msgstr "Le quantité de sommets dans le trame." #: doc/classes/VisualServer.xml msgid "The amount of modified materials in the frame." -msgstr "" +msgstr "Le quantité de matériaux modifiés dans le trame." #: doc/classes/VisualServer.xml +#, fuzzy msgid "The amount of shader rebinds in the frame." -msgstr "" +msgstr "Le quantité de shaders reconnectés dans le trame." #: doc/classes/VisualServer.xml msgid "The amount of surface changes in the frame." -msgstr "" +msgstr "Le quantité de changements de surface dans le trame." #: doc/classes/VisualServer.xml msgid "The amount of draw calls in frame." -msgstr "" +msgstr "Le quantité d'appels de dessin dans le trame." #: doc/classes/VisualServer.xml -#, fuzzy msgid "The amount of 2d items in the frame." -msgstr "La quantité de voix dans l’effet." +msgstr "La quantité d'éléments 2D dans la trame." #: doc/classes/VisualServer.xml -#, fuzzy msgid "The amount of 2d draw calls in frame." -msgstr "Quantité de sommets dans l'image." +msgstr "La quantité d'appels de dessin 2D dans la trame." #: doc/classes/VisualServer.xml msgid "Hardware supports shaders. This enum is currently unused in Godot 3.x." msgstr "" -"Le matériel supporte les shaders. Cette énumération est actuellement " +"L'appareil supporte les shaders. Cette énumération est actuellement " "inutilisée dans Godot 3.x." #: doc/classes/VisualServer.xml msgid "" "Hardware supports multithreading. This enum is currently unused in Godot 3.x." msgstr "" -"Le matériel supporte plusieurs fils d'exécution. Cette énumération est " +"L'appareil supporte plusieurs fils d'exécution. Cette énumération est " "actuellement inutilisée dans Godot 3.x." #: doc/classes/VisualServer.xml msgid "Use [Transform2D] to store MultiMesh transform." -msgstr "" +msgstr "Utiliser [Transform2D] pour stocker la transformation des MultiMesh." #: doc/classes/VisualServer.xml msgid "Use [Transform] to store MultiMesh transform." -msgstr "" +msgstr "Utiliser [Transform] pour stocker la transformation des MultiMesh." #: doc/classes/VisualServer.xml msgid "MultiMesh does not use per-instance color." -msgstr "" +msgstr "Le MultiMesh n'utilise pas de couleur par instance." #: doc/classes/VisualServer.xml msgid "" "MultiMesh color uses 8 bits per component. This packs the color into a " "single float." msgstr "" +"Le MultiMesh utilise un octet par composant de couleur. Une couleur entière " +"est donc stockée dans un nombre flottant (4 octets)." #: doc/classes/VisualServer.xml msgid "MultiMesh color uses a float per channel." -msgstr "" +msgstr "Le MultiMesh utilise un nombre flottant par composant de couleur." #: doc/classes/VisualServer.xml msgid "MultiMesh does not use custom data." -msgstr "" +msgstr "Le MultiMesh n'utilise pas de données personnalisées." #: doc/classes/VisualServer.xml msgid "" @@ -72224,6 +72597,8 @@ msgstr "" #: doc/classes/VisualServer.xml msgid "MultiMesh custom data uses a float per component." msgstr "" +"Les données personnalisés de MultiMesh qui utilisent un nombre flottant par " +"composant." #: doc/classes/VisualServer.xml msgid "Reflection probe will update reflections once and then stop." @@ -72237,19 +72612,19 @@ msgstr "" #: doc/classes/VisualServer.xml msgid "Draw particles in the order that they appear in the particles array." -msgstr "" +msgstr "Affiche les particules dans leur ordre dans la liste des particules." #: doc/classes/VisualServer.xml msgid "Sort particles based on their lifetime." -msgstr "" +msgstr "Trier les particules par durée de vie." #: doc/classes/VisualServer.xml msgid "Sort particles based on their distance to the camera." -msgstr "" +msgstr "Trier les particules suivant leur distance à la caméra." #: doc/classes/VisualServer.xml msgid "Use the clear color as background." -msgstr "" +msgstr "Utiliser la couleur d'effacement pour l'arrière-plan." #: doc/classes/VisualServer.xml msgid "Use a specified color as the background." @@ -72303,7 +72678,7 @@ msgstr "" #: doc/classes/VisualServer.xml msgid "Produces a subtle color disturbance around objects." -msgstr "" +msgstr "Produit une légère interférence des couleurs autour des objets." #: doc/classes/VisualServer.xml msgid "Shows the glow effect by itself without the underlying scene." @@ -72311,7 +72686,7 @@ msgstr "Affiche uniquement l'effet de lueur sans scène sous-jacente." #: doc/classes/VisualServer.xml msgid "Output color as they came in." -msgstr "" +msgstr "Affiche les couleurs telles quelles." #: doc/classes/VisualServer.xml msgid "Use the Reinhard tonemapper." @@ -75351,9 +75726,8 @@ msgid "" msgstr "" #: modules/webxr/doc_classes/WebXRInterface.xml -#, fuzzy msgid "Emitted when [member visibility_state] has changed." -msgstr "Émis lorsque [member frame] modifié." +msgstr "Émis lorsque [member visibility_state] modifié." #: modules/webxr/doc_classes/WebXRInterface.xml msgid "We don't know the the target ray mode." @@ -75374,9 +75748,8 @@ msgid "Target ray from touch screen, mouse or other tactile input device." msgstr "" #: doc/classes/WindowDialog.xml -#, fuzzy msgid "Base class for window dialogs." -msgstr "Classe de base pour les flux audio." +msgstr "Classe parente des fenêtres de dialogue." #: doc/classes/WindowDialog.xml msgid "" @@ -75394,19 +75767,16 @@ msgid "" msgstr "" #: doc/classes/WindowDialog.xml -#, fuzzy msgid "If [code]true[/code], the user can resize the window." -msgstr "Si [code]true[/code], le bouton \"add preset\" est activé." +msgstr "Si [code]true[/code], l'utilisateur peut redimensionner la fenêtre." #: doc/classes/WindowDialog.xml -#, fuzzy msgid "The text displayed in the window's title bar." -msgstr "Le texte affiché par le dialogue." +msgstr "Le texte affiché dans la barre de titre de la fenêtre." #: doc/classes/WindowDialog.xml -#, fuzzy msgid "The color of the title text." -msgstr "Couleur du texte du titre." +msgstr "La couleur du titre." #: doc/classes/WindowDialog.xml #, fuzzy @@ -75430,9 +75800,8 @@ msgid "The font used to draw the title." msgstr "La police utilisée pour le texte en gras." #: doc/classes/WindowDialog.xml -#, fuzzy msgid "The icon for the close button." -msgstr "Icône personnalisée pour le bouton de rechargement." +msgstr "L'icône personnalisée pour le bouton de fermeture." #: doc/classes/WindowDialog.xml msgid "" diff --git a/doc/translations/gl.po b/doc/translations/gl.po index 7138a7217c0..a62aba930dc 100644 --- a/doc/translations/gl.po +++ b/doc/translations/gl.po @@ -3328,6 +3328,15 @@ msgid "" "Else\"[/code]." 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 " @@ -4840,7 +4849,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 @@ -4865,7 +4874,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 "" @@ -4874,7 +4883,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 "" "[code]at_position[/code]." 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 "" @@ -9660,6 +9653,16 @@ msgstr "" msgid "Number of available audio buses." 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]). " @@ -12735,6 +12738,18 @@ msgstr "" msgid "Returns the RID of the canvas used by this layer." 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[/" @@ -15573,8 +15588,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 "" "all its [Control] children use." 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 "" @@ -22996,7 +23031,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 @@ -25098,8 +25148,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 @@ -25369,7 +25420,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 @@ -31904,7 +31960,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 @@ -32284,8 +32345,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 @@ -34123,6 +34188,15 @@ msgstr "" msgid "Returns the [Transform2D] of a specific instance." 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 " @@ -34136,6 +34210,18 @@ msgid "" "code] is stored as 4 floats." 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 " @@ -34179,6 +34265,16 @@ msgstr "" 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 "" @@ -34231,6 +34327,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 "" @@ -36526,6 +36634,25 @@ msgid "" "Returns [code]true[/code] if the local system is the master of this node." 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 " @@ -36696,6 +36823,21 @@ msgid "" "normally)." 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 " @@ -36796,6 +36938,14 @@ msgid "" "peer is recursively set as the master for all children of this node." 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 " @@ -37046,6 +37196,12 @@ msgid "" "node enters tree, instead of only once." 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 " @@ -38035,8 +38191,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 @@ -38826,7 +38982,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 @@ -46666,6 +46834,17 @@ msgid "" "below 30 FPS." 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 " @@ -46678,8 +46857,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 @@ -47192,14 +47373,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 @@ -47328,8 +47514,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 @@ -51264,6 +51450,13 @@ msgid "" "_input] will not be called anymore in nodes." 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 " @@ -52517,6 +52710,18 @@ msgstr "" msgid "All 3D Demos" 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 " @@ -54354,7 +54559,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 "" @@ -54368,7 +54573,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 "" @@ -55041,7 +55246,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 @@ -55304,7 +55514,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 @@ -55327,11 +55546,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 @@ -55380,14 +55612,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 @@ -55557,8 +55791,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 @@ -57046,6 +57288,14 @@ msgstr "" 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." @@ -58083,6 +58333,12 @@ msgid "" "theme has [code]node_type[/code]." 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 "" @@ -58222,6 +58478,17 @@ msgid "" "future version." 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 " @@ -58270,6 +58537,12 @@ msgid "" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." 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 " @@ -58365,6 +58638,20 @@ msgid "" "Creates [code]node_type[/code] if the theme does not have it." 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 " @@ -60540,7 +60827,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 "" @@ -60581,9 +60868,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 diff --git a/doc/translations/hi.po b/doc/translations/hi.po index 4cc0d9ce5c2..fee4b208a2c 100644 --- a/doc/translations/hi.po +++ b/doc/translations/hi.po @@ -3327,6 +3327,15 @@ msgid "" "Else\"[/code]." 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 " @@ -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 @@ -9483,26 +9492,10 @@ msgid "" "[code]at_position[/code]." 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 "" @@ -9659,6 +9652,16 @@ msgstr "" msgid "Number of available audio buses." 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]). " @@ -12734,6 +12737,18 @@ msgstr "" msgid "Returns the RID of the canvas used by this layer." 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[/" @@ -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 " @@ -16323,6 +16339,25 @@ msgid "" "all its [Control] children use." 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 "" @@ -22995,7 +23030,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 @@ -25097,8 +25147,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 @@ -25368,7 +25419,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 @@ -31903,7 +31959,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 @@ -32283,8 +32344,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 @@ -34122,6 +34187,15 @@ msgstr "" msgid "Returns the [Transform2D] of a specific instance." 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 " @@ -34135,6 +34209,18 @@ msgid "" "code] is stored as 4 floats." 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 " @@ -34178,6 +34264,16 @@ msgstr "" 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 "" @@ -34230,6 +34326,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 "" @@ -36525,6 +36633,25 @@ msgid "" "Returns [code]true[/code] if the local system is the master of this node." 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 " @@ -36695,6 +36822,21 @@ msgid "" "normally)." 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 " @@ -36795,6 +36937,14 @@ msgid "" "peer is recursively set as the master for all children of this node." 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 " @@ -37045,6 +37195,12 @@ msgid "" "node enters tree, instead of only once." 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 " @@ -38034,8 +38190,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 @@ -38825,7 +38981,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 @@ -46665,6 +46833,17 @@ msgid "" "below 30 FPS." 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 " @@ -46677,8 +46856,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 @@ -47191,14 +47372,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 @@ -47327,8 +47513,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 @@ -51263,6 +51449,13 @@ msgid "" "_input] will not be called anymore in nodes." 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 " @@ -52516,6 +52709,18 @@ msgstr "" msgid "All 3D Demos" 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 " @@ -54353,7 +54558,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 "" @@ -54367,7 +54572,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 "" @@ -55040,7 +55245,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 @@ -55303,7 +55513,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 @@ -55326,11 +55545,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 @@ -55379,14 +55611,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 @@ -55556,8 +55790,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 @@ -57045,6 +57287,14 @@ msgstr "" 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." @@ -58082,6 +58332,12 @@ msgid "" "theme has [code]node_type[/code]." 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 "" @@ -58221,6 +58477,17 @@ msgid "" "future version." 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 " @@ -58269,6 +58536,12 @@ msgid "" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." 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 " @@ -58364,6 +58637,20 @@ msgid "" "Creates [code]node_type[/code] if the theme does not have it." 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 " @@ -60539,7 +60826,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 "" @@ -60580,9 +60867,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 diff --git a/doc/translations/hu.po b/doc/translations/hu.po index a60adef6684..b0e78ab7254 100644 --- a/doc/translations/hu.po +++ b/doc/translations/hu.po @@ -3345,6 +3345,15 @@ msgid "" "Else\"[/code]." 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 " @@ -4857,7 +4866,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 @@ -4882,7 +4891,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 "" @@ -4891,7 +4900,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 @@ -9501,26 +9510,10 @@ msgid "" "[code]at_position[/code]." 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 "" @@ -9677,6 +9670,16 @@ msgstr "" msgid "Number of available audio buses." 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]). " @@ -12752,6 +12755,18 @@ msgstr "" msgid "Returns the RID of the canvas used by this layer." 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[/" @@ -15590,8 +15605,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 " @@ -16341,6 +16357,25 @@ msgid "" "all its [Control] children use." 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 "" @@ -23013,7 +23048,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 @@ -25115,8 +25165,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 @@ -25386,7 +25437,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 @@ -31921,7 +31977,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 @@ -32301,8 +32362,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 @@ -34140,6 +34205,15 @@ msgstr "" msgid "Returns the [Transform2D] of a specific instance." 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 " @@ -34153,6 +34227,18 @@ msgid "" "code] is stored as 4 floats." 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 " @@ -34196,6 +34282,16 @@ msgstr "" 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 "" @@ -34248,6 +34344,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 "" @@ -36543,6 +36651,25 @@ msgid "" "Returns [code]true[/code] if the local system is the master of this node." 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 " @@ -36713,6 +36840,21 @@ msgid "" "normally)." 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 " @@ -36813,6 +36955,14 @@ msgid "" "peer is recursively set as the master for all children of this node." 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 " @@ -37063,6 +37213,12 @@ msgid "" "node enters tree, instead of only once." 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 " @@ -38052,8 +38208,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 @@ -38843,7 +38999,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 @@ -46683,6 +46851,17 @@ msgid "" "below 30 FPS." 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 " @@ -46695,8 +46874,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 @@ -47209,14 +47390,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 @@ -47345,8 +47531,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 @@ -51281,6 +51467,13 @@ msgid "" "_input] will not be called anymore in nodes." 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 " @@ -52534,6 +52727,18 @@ msgstr "" msgid "All 3D Demos" 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 " @@ -54371,7 +54576,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 "" @@ -54385,7 +54590,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 "" @@ -55058,7 +55263,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 @@ -55321,7 +55531,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 @@ -55344,11 +55563,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 @@ -55397,14 +55629,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 @@ -55574,8 +55808,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 @@ -57063,6 +57305,14 @@ msgstr "" 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." @@ -58100,6 +58350,12 @@ msgid "" "theme has [code]node_type[/code]." 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 "" @@ -58239,6 +58495,17 @@ msgid "" "future version." 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 " @@ -58287,6 +58554,12 @@ msgid "" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." 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 " @@ -58382,6 +58655,20 @@ msgid "" "Creates [code]node_type[/code] if the theme does not have it." 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 " @@ -60557,7 +60844,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 "" @@ -60598,9 +60885,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 diff --git a/doc/translations/id.po b/doc/translations/id.po index eb9fe2f029c..dcc5c28d899 100644 --- a/doc/translations/id.po +++ b/doc/translations/id.po @@ -11,12 +11,13 @@ # Hilman Hazazi , 2021. # Stephen Gunawan Susilo , 2021. # Azizkhasyi 11 , 2021. +# zephyroths , 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-30 04:38+0000\n" -"Last-Translator: Azizkhasyi 11 \n" +"PO-Revision-Date: 2022-02-22 15:52+0000\n" +"Last-Translator: zephyroths \n" "Language-Team: Indonesian \n" "Language: id\n" @@ -24,7 +25,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8-bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Weblate 4.10-dev\n" +"X-Generator: Weblate 4.11-dev\n" #: doc/tools/make_rst.py msgid "Description" @@ -85,7 +86,7 @@ msgstr "" #: doc/tools/make_rst.py msgid "Default" -msgstr "" +msgstr "Bawaan" #: doc/tools/make_rst.py msgid "Setter" @@ -3532,6 +3533,15 @@ msgid "" "Else\"[/code]." 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 " @@ -5044,8 +5054,9 @@ msgid "" msgstr "" #: doc/classes/AnimationNode.xml -msgid "Returns [code]true[/code] whether a given path is filtered." -msgstr "" +#, fuzzy +msgid "Returns whether the given path is filtered." +msgstr "Mengembalikan nilai hiperbolik tangen dari parameter." #: doc/classes/AnimationNode.xml msgid "" @@ -5069,7 +5080,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 "" @@ -5078,7 +5089,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 @@ -9688,26 +9699,10 @@ msgid "" "[code]at_position[/code]." 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 "" @@ -9864,6 +9859,16 @@ msgstr "" msgid "Number of available audio buses." 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]). " @@ -12940,6 +12945,18 @@ msgstr "" msgid "Returns the RID of the canvas used by this layer." 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[/" @@ -15778,8 +15795,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 " @@ -16529,6 +16547,25 @@ msgid "" "all its [Control] children use." 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 "" @@ -23205,7 +23242,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 @@ -25309,8 +25361,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 @@ -25580,7 +25633,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 @@ -32116,7 +32174,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 @@ -32496,8 +32559,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 @@ -34335,6 +34402,15 @@ msgstr "" msgid "Returns the [Transform2D] of a specific instance." 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 " @@ -34348,6 +34424,18 @@ msgid "" "code] is stored as 4 floats." 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 " @@ -34391,6 +34479,16 @@ msgstr "" 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 "" @@ -34443,6 +34541,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 "" @@ -36752,6 +36862,25 @@ msgid "" "Returns [code]true[/code] if the local system is the master of this node." 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 " @@ -36922,6 +37051,21 @@ msgid "" "normally)." 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 " @@ -37022,6 +37166,14 @@ msgid "" "peer is recursively set as the master for all children of this node." 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 " @@ -37272,6 +37424,12 @@ msgid "" "node enters tree, instead of only once." 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 " @@ -38261,8 +38419,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 @@ -39052,7 +39210,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 @@ -46909,6 +47079,17 @@ msgid "" "below 30 FPS." 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 " @@ -46921,8 +47102,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 @@ -47435,14 +47618,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 @@ -47571,8 +47759,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 @@ -51507,6 +51695,13 @@ msgid "" "_input] will not be called anymore in nodes." 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 " @@ -52760,6 +52955,18 @@ msgstr "" msgid "All 3D Demos" 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 " @@ -54597,7 +54804,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 "" @@ -54611,7 +54818,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 "" @@ -55286,7 +55493,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 @@ -55549,7 +55761,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 @@ -55572,11 +55793,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 @@ -55625,14 +55859,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 @@ -55802,8 +56038,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 @@ -57293,6 +57537,16 @@ msgstr "" 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 "Mengembalikan nilai hiperbolik tangen dari parameter." + +#: doc/classes/TextEdit.xml +#, fuzzy +msgid "Returns the number of visible lines, including wrapped text." +msgstr "Mengembalikan nilai hiperbolik tangen dari parameter." + #: doc/classes/TextEdit.xml msgid "" "Returns a [String] text with the word under the caret (text cursor) location." @@ -58330,6 +58584,12 @@ msgid "" "theme has [code]node_type[/code]." 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 "" @@ -58469,6 +58729,17 @@ msgid "" "future version." 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 " @@ -58517,6 +58788,12 @@ msgid "" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." 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 " @@ -58612,6 +58889,20 @@ msgid "" "Creates [code]node_type[/code] if the theme does not have it." 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 " @@ -60788,7 +61079,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 "" @@ -60829,9 +61120,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 diff --git a/doc/translations/is.po b/doc/translations/is.po index 2aae5d4390b..80c026c0f82 100644 --- a/doc/translations/is.po +++ b/doc/translations/is.po @@ -3327,6 +3327,15 @@ msgid "" "Else\"[/code]." 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 " @@ -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 @@ -9483,26 +9492,10 @@ msgid "" "[code]at_position[/code]." 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 "" @@ -9659,6 +9652,16 @@ msgstr "" msgid "Number of available audio buses." 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]). " @@ -12734,6 +12737,18 @@ msgstr "" msgid "Returns the RID of the canvas used by this layer." 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[/" @@ -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 " @@ -16323,6 +16339,25 @@ msgid "" "all its [Control] children use." 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 "" @@ -22995,7 +23030,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 @@ -25097,8 +25147,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 @@ -25368,7 +25419,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 @@ -31903,7 +31959,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 @@ -32283,8 +32344,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 @@ -34122,6 +34187,15 @@ msgstr "" msgid "Returns the [Transform2D] of a specific instance." 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 " @@ -34135,6 +34209,18 @@ msgid "" "code] is stored as 4 floats." 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 " @@ -34178,6 +34264,16 @@ msgstr "" 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 "" @@ -34230,6 +34326,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 "" @@ -36525,6 +36633,25 @@ msgid "" "Returns [code]true[/code] if the local system is the master of this node." 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 " @@ -36695,6 +36822,21 @@ msgid "" "normally)." 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 " @@ -36795,6 +36937,14 @@ msgid "" "peer is recursively set as the master for all children of this node." 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 " @@ -37045,6 +37195,12 @@ msgid "" "node enters tree, instead of only once." 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 " @@ -38034,8 +38190,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 @@ -38825,7 +38981,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 @@ -46665,6 +46833,17 @@ msgid "" "below 30 FPS." 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 " @@ -46677,8 +46856,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 @@ -47191,14 +47372,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 @@ -47327,8 +47513,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 @@ -51263,6 +51449,13 @@ msgid "" "_input] will not be called anymore in nodes." 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 " @@ -52516,6 +52709,18 @@ msgstr "" msgid "All 3D Demos" 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 " @@ -54353,7 +54558,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 "" @@ -54367,7 +54572,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 "" @@ -55040,7 +55245,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 @@ -55303,7 +55513,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 @@ -55326,11 +55545,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 @@ -55379,14 +55611,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 @@ -55556,8 +55790,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 @@ -57045,6 +57287,14 @@ msgstr "" 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." @@ -58082,6 +58332,12 @@ msgid "" "theme has [code]node_type[/code]." 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 "" @@ -58221,6 +58477,17 @@ msgid "" "future version." 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 " @@ -58269,6 +58536,12 @@ msgid "" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." 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 " @@ -58364,6 +58637,20 @@ msgid "" "Creates [code]node_type[/code] if the theme does not have it." 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 " @@ -60539,7 +60826,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 "" @@ -60580,9 +60867,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 diff --git a/doc/translations/it.po b/doc/translations/it.po index 0e6f99b17f7..dcafac6cc5c 100644 --- a/doc/translations/it.po +++ b/doc/translations/it.po @@ -23,11 +23,12 @@ # ZeroKun265 , 2021. # Andrea Montagna , 2021. # Andrea Leganza , 2021. +# Federico Caprini , 2022. msgid "" msgstr "" "Project-Id-Version: Godot Engine class reference\n" "Report-Msgid-Bugs-To: https://github.com/godotengine/godot\n" -"PO-Revision-Date: 2022-01-31 08:55+0000\n" +"PO-Revision-Date: 2022-02-22 15:52+0000\n" "Last-Translator: Mirko \n" "Language-Team: Italian \n" @@ -85,11 +86,12 @@ msgstr "Descrizioni delle proprietà" #: doc/tools/make_rst.py msgid "Inherits:" -msgstr "" +msgstr "Eredita:" #: doc/tools/make_rst.py +#, fuzzy msgid "Inherited By:" -msgstr "" +msgstr "Ereditato da:" #: doc/tools/make_rst.py msgid "(overrides %s)" @@ -105,7 +107,7 @@ msgstr "" #: doc/tools/make_rst.py msgid "value" -msgstr "" +msgstr "valore" #: doc/tools/make_rst.py msgid "Getter" @@ -115,6 +117,8 @@ msgstr "" msgid "" "This method should typically be overridden by the user to have any effect." msgstr "" +"Questo metodo di solito dovrebbe essere riscritto dall'utente per aver " +"qualche effetto." #: doc/tools/make_rst.py msgid "" @@ -136,6 +140,8 @@ msgid "" "This method doesn't need an instance to be called, so it can be called " "directly using the class name." msgstr "" +"Questo metodo non necessita di alcun'istanza per essere chiamato, quindi può " +"essere chiamato direttamente usando il nome della classe." #: doc/tools/make_rst.py msgid "" @@ -4258,6 +4264,15 @@ msgid "" "Else\"[/code]." 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 " @@ -5774,8 +5789,9 @@ msgid "" msgstr "" #: doc/classes/AnimationNode.xml -msgid "Returns [code]true[/code] whether a given path is filtered." -msgstr "" +#, fuzzy +msgid "Returns whether the given path is filtered." +msgstr "Restituisce la tangente del parametro." #: doc/classes/AnimationNode.xml msgid "" @@ -5799,7 +5815,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 "" @@ -5808,7 +5824,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 @@ -10441,26 +10457,10 @@ msgid "" "[code]at_position[/code]." 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 "" @@ -10617,6 +10617,16 @@ msgstr "" msgid "Number of available audio buses." 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]). " @@ -13707,6 +13717,18 @@ msgstr "" msgid "Returns the RID of the canvas used by this layer." 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[/" @@ -16610,8 +16632,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 " @@ -17391,6 +17414,25 @@ msgid "" "all its [Control] children use." 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 "" @@ -24080,7 +24122,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 @@ -26187,8 +26244,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 @@ -26458,7 +26516,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 @@ -33028,7 +33091,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 @@ -33408,8 +33476,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 @@ -35249,6 +35321,15 @@ msgstr "" msgid "Returns the [Transform2D] of a specific instance." 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 " @@ -35262,6 +35343,18 @@ msgid "" "code] is stored as 4 floats." 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 " @@ -35305,6 +35398,16 @@ msgstr "" 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 "" @@ -35357,6 +35460,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 "" @@ -37253,7 +37368,7 @@ msgstr "" #: doc/classes/Node.xml msgid "Nodes and Scenes" -msgstr "" +msgstr "Nodi e scene" #: doc/classes/Node.xml msgid "All Demos" @@ -37688,6 +37803,25 @@ msgid "" "Returns [code]true[/code] if the local system is the master of this node." 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 " @@ -37858,6 +37992,21 @@ msgid "" "normally)." 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 " @@ -37958,6 +38107,14 @@ msgid "" "peer is recursively set as the master for all children of this node." 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 " @@ -38208,6 +38365,12 @@ msgid "" "node enters tree, instead of only once." 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 " @@ -39204,8 +39367,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 @@ -39999,7 +40162,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 @@ -47882,6 +48057,17 @@ msgid "" "below 30 FPS." 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 " @@ -47894,8 +48080,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 @@ -48408,14 +48596,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 @@ -48544,8 +48737,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 @@ -52490,6 +52683,13 @@ msgid "" "_input] will not be called anymore in nodes." 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 " @@ -53745,6 +53945,18 @@ msgstr "" msgid "All 3D Demos" 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 " @@ -55587,7 +55799,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 "" @@ -55601,7 +55813,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 "" @@ -56278,7 +56490,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 @@ -56542,7 +56759,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 @@ -56565,11 +56791,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 @@ -56618,14 +56857,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 @@ -56795,8 +57036,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 @@ -58293,6 +58542,16 @@ msgstr "" msgid "Returns the total width of all gutters and internal padding." msgstr "Restituisce l'angolo al vettore dato, in radianti." +#: doc/classes/TextEdit.xml +#, fuzzy +msgid "Returns the total amount of lines that could be drawn." +msgstr "Restituisce il valore opposto del parametro." + +#: doc/classes/TextEdit.xml +#, fuzzy +msgid "Returns the number of visible lines, including wrapped text." +msgstr "Restituisce il resto dei due vettori." + #: doc/classes/TextEdit.xml msgid "" "Returns a [String] text with the word under the caret (text cursor) location." @@ -59345,6 +59604,12 @@ msgid "" "theme has [code]node_type[/code]." 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 "" @@ -59487,6 +59752,18 @@ msgid "" "future version." 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 +#, fuzzy +msgid "" +"Returns a list of all type variations for the given [code]base_type[/code]." +msgstr "Ritorna [code]true[/code] se [code]s[/code] è zero o quasi zero." + #: doc/classes/Theme.xml #, fuzzy msgid "" @@ -59542,6 +59819,15 @@ msgid "" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." msgstr "" +#: 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 "" +"Ritorna [code]true[/code] se l'impostazione specificata da [code]name[/code] " +"esiste, [code]false[/code] altrimenti." + #: doc/classes/Theme.xml msgid "" "Adds missing and overrides existing definitions with values from the " @@ -59637,6 +59923,20 @@ msgid "" "Creates [code]node_type[/code] if the theme does not have it." 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 " @@ -61819,7 +62119,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 "" @@ -61862,10 +62162,9 @@ msgid "" msgstr "Ritorna [code]true[/code] se [code]s[/code] è zero o quasi zero." #: 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." -msgstr "" +#, fuzzy +msgid "Returns the number of buttons in column [code]column[/code]." +msgstr "Ritorna [code]true[/code] se [code]s[/code] è zero o quasi zero." #: doc/classes/TreeItem.xml #, fuzzy diff --git a/doc/translations/ja.po b/doc/translations/ja.po index a3017d5928a..ddb9eb6efec 100644 --- a/doc/translations/ja.po +++ b/doc/translations/ja.po @@ -4303,6 +4303,15 @@ msgstr "" "code]のような、ヒント文字列で指定されたリストの中で選択するための列挙値である" "というヒント。" +#: 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 " @@ -6246,7 +6255,8 @@ msgstr "" "は [code]true[/code] を返すようにします。" #: doc/classes/AnimationNode.xml -msgid "Returns [code]true[/code] whether a given path is filtered." +#, fuzzy +msgid "Returns whether the given path is filtered." msgstr "" "指定したパスがフィルタリングされていれば [code]true[/code] を返します。" @@ -6280,8 +6290,9 @@ 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 storage, because resources " +"Sets a custom parameter. These are used as local memory, because resources " "can be reused across the tree or scenes." msgstr "" "カスタムパラメータを設定します。リソースはツリーやシーン全体で再利用できるた" @@ -6292,7 +6303,8 @@ msgid "If [code]true[/code], filtering is enabled." msgstr "もし [code]true[/code] であれば、フィルタリングは有効になります。" #: doc/classes/AnimationNode.xml -msgid "Called when the node was removed from the graph." +#, fuzzy +msgid "Emitted when the node was removed from the graph." msgstr "グラフからノードが除去された際に発信されます。" #: doc/classes/AnimationNode.xml @@ -12162,29 +12174,10 @@ msgstr "" "バス [code]bus_idx[/code] の位置 [code]at_position[/code] に [AudioEffect] エ" "フェクトを追加します。" -#: doc/classes/AudioServer.xml -#, fuzzy -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 "" -"現在のオーディオ入力用デバイスの名前です ([method capture_get_device_list] を" -"参照)。" - #: 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 "利用可能なバスとエフェクトを使用して [AudioBusLayout] を生成します。" @@ -12372,6 +12365,16 @@ msgstr "" msgid "Number of available audio buses." 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]). " @@ -15739,6 +15742,24 @@ msgstr "" msgid "Returns the RID of the canvas used by this layer." msgstr "" +#: doc/classes/CanvasLayer.xml +#, fuzzy +msgid "" +"Hides any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]false[/code]." +msgstr "" +"配列をクリアします。これは、[code]0[/code]のサイズで[method resize]を使用する" +"のと同じです。" + +#: doc/classes/CanvasLayer.xml +#, fuzzy +msgid "" +"Shows any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]true[/code]." +msgstr "" +"配列をクリアします。これは、[code]0[/code]のサイズで[method resize]を使用する" +"のと同じです。" + #: doc/classes/CanvasLayer.xml msgid "" "The custom [Viewport] node assigned to the [CanvasLayer]. If [code]null[/" @@ -18634,8 +18655,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 " @@ -19415,6 +19437,25 @@ msgid "" "all its [Control] children use." 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 "" @@ -26178,7 +26219,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 @@ -28287,8 +28343,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 @@ -28568,7 +28625,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 @@ -35187,7 +35249,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 @@ -35576,8 +35643,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 @@ -37425,6 +37496,15 @@ msgstr "" msgid "Returns the [Transform2D] of a specific instance." 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 " @@ -37438,6 +37518,18 @@ msgid "" "code] is stored as 4 floats." 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 " @@ -37481,6 +37573,16 @@ msgstr "" 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 "" @@ -37533,6 +37635,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 "" @@ -39887,6 +40001,25 @@ msgid "" "Returns [code]true[/code] if the local system is the master of this node." 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 " @@ -40057,6 +40190,21 @@ msgid "" "normally)." 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 " @@ -40157,6 +40305,14 @@ msgid "" "peer is recursively set as the master for all children of this node." 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 " @@ -40407,6 +40563,12 @@ msgid "" "node enters tree, instead of only once." 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 " @@ -41402,8 +41564,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 @@ -42199,7 +42361,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 @@ -50133,6 +50307,17 @@ msgid "" "below 30 FPS." 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 " @@ -50145,8 +50330,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 @@ -50659,14 +50846,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 @@ -50795,8 +50987,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 @@ -54768,6 +54960,13 @@ msgid "" "_input] will not be called anymore in nodes." 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 " @@ -56032,6 +56231,18 @@ msgstr "" msgid "All 3D Demos" 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 " @@ -58150,7 +58361,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 "" @@ -58164,7 +58375,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 "" @@ -58855,7 +59066,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 @@ -59122,7 +59338,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 @@ -59145,11 +59370,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 @@ -59198,14 +59436,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 @@ -59375,8 +59615,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 @@ -60885,6 +61133,16 @@ msgstr "" 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 "指定したトラックのキー数を返します。" + +#: doc/classes/TextEdit.xml +#, fuzzy +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." @@ -61949,6 +62207,12 @@ msgid "" "theme has [code]node_type[/code]." 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 "" @@ -62095,6 +62359,18 @@ msgid "" "future version." 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 +#, fuzzy +msgid "" +"Returns a list of all type variations for the given [code]base_type[/code]." +msgstr "与えられた [code]id[/code] に紐づけられた点の位置を返します。" + #: doc/classes/Theme.xml #, fuzzy msgid "" @@ -62151,6 +62427,15 @@ msgid "" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." msgstr "" +#: 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]true[/code] を返します。そ" +"うでなければ、 [code]false[/code] を返します。" + #: doc/classes/Theme.xml msgid "" "Adds missing and overrides existing definitions with values from the " @@ -62246,6 +62531,20 @@ msgid "" "Creates [code]node_type[/code] if the theme does not have it." 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 " @@ -64436,7 +64735,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 "" @@ -64483,10 +64782,9 @@ 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." -msgstr "" +#, fuzzy +msgid "Returns the number of buttons in column [code]column[/code]." +msgstr "[code]bus_idx[/code] にあるバスのエフェクト数を返します。" #: doc/classes/TreeItem.xml #, fuzzy diff --git a/doc/translations/ko.po b/doc/translations/ko.po index 465371a39f2..d4b782b0c0d 100644 --- a/doc/translations/ko.po +++ b/doc/translations/ko.po @@ -3454,6 +3454,15 @@ msgid "" "Else\"[/code]." 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 " @@ -4967,8 +4976,9 @@ msgid "" msgstr "" #: doc/classes/AnimationNode.xml -msgid "Returns [code]true[/code] whether a given path is filtered." -msgstr "" +#, fuzzy +msgid "Returns whether the given path is filtered." +msgstr "매개변수의 탄젠트 값을 반환합니다." #: doc/classes/AnimationNode.xml msgid "" @@ -4992,7 +5002,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 "" @@ -5001,7 +5011,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 @@ -9613,26 +9623,10 @@ msgid "" "[code]at_position[/code]." 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 "" @@ -9789,6 +9783,16 @@ msgstr "" msgid "Number of available audio buses." 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]). " @@ -12870,6 +12874,18 @@ msgstr "" msgid "Returns the RID of the canvas used by this layer." 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[/" @@ -15737,8 +15753,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 " @@ -16494,6 +16511,25 @@ msgid "" "all its [Control] children use." 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 "" @@ -23235,7 +23271,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 @@ -25340,8 +25391,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 @@ -25611,7 +25663,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 @@ -32159,7 +32216,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 @@ -32539,8 +32601,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 @@ -34379,6 +34445,15 @@ msgstr "" msgid "Returns the [Transform2D] of a specific instance." 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 " @@ -34392,6 +34467,18 @@ msgid "" "code] is stored as 4 floats." 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 " @@ -34435,6 +34522,16 @@ msgstr "" 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 "" @@ -34487,6 +34584,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 "" @@ -36932,6 +37041,25 @@ msgid "" "Returns [code]true[/code] if the local system is the master of this node." 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 " @@ -37102,6 +37230,21 @@ msgid "" "normally)." 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 " @@ -37202,6 +37345,14 @@ msgid "" "peer is recursively set as the master for all children of this node." 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 " @@ -37452,6 +37603,12 @@ msgid "" "node enters tree, instead of only once." 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 " @@ -38442,8 +38599,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 @@ -39236,7 +39393,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 @@ -47099,6 +47268,17 @@ msgid "" "below 30 FPS." 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 " @@ -47111,8 +47291,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 @@ -47625,14 +47807,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 @@ -47761,8 +47948,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 @@ -51698,6 +51885,13 @@ msgid "" "_input] will not be called anymore in nodes." 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 " @@ -52951,6 +53145,18 @@ msgstr "" msgid "All 3D Demos" 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 " @@ -54788,7 +54994,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 "" @@ -54802,7 +55008,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 "" @@ -55477,7 +55683,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 @@ -55740,7 +55951,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 @@ -55763,11 +55983,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 @@ -55816,14 +56049,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 @@ -55993,8 +56228,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 @@ -57487,6 +57730,16 @@ msgstr "" 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 "매개변수의 반대 값을 반환합니다." + +#: doc/classes/TextEdit.xml +#, fuzzy +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." @@ -58525,6 +58778,12 @@ msgid "" "theme has [code]node_type[/code]." 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 "" @@ -58664,6 +58923,18 @@ msgid "" "future version." 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 +#, fuzzy +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 " @@ -58712,6 +58983,12 @@ msgid "" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." 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 " @@ -58807,6 +59084,20 @@ msgid "" "Creates [code]node_type[/code] if the theme does not have it." 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 " @@ -60985,7 +61276,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 "" @@ -61027,10 +61318,9 @@ 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." -msgstr "" +#, fuzzy +msgid "Returns the number of buttons in column [code]column[/code]." +msgstr "매개변수의 사인 값을 반환합니다." #: doc/classes/TreeItem.xml #, fuzzy diff --git a/doc/translations/lv.po b/doc/translations/lv.po index a3bff3b9e96..97a0990d75e 100644 --- a/doc/translations/lv.po +++ b/doc/translations/lv.po @@ -3342,6 +3342,15 @@ msgid "" "Else\"[/code]." 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 " @@ -4854,7 +4863,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 @@ -4879,7 +4888,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 "" @@ -4888,7 +4897,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 @@ -9498,26 +9507,10 @@ msgid "" "[code]at_position[/code]." 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 "" @@ -9674,6 +9667,16 @@ msgstr "" msgid "Number of available audio buses." 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]). " @@ -12749,6 +12752,18 @@ msgstr "" msgid "Returns the RID of the canvas used by this layer." 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[/" @@ -15587,8 +15602,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 " @@ -16338,6 +16354,25 @@ msgid "" "all its [Control] children use." 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 "" @@ -23013,7 +23048,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 @@ -25115,8 +25165,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 @@ -25386,7 +25437,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 @@ -31921,7 +31977,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 @@ -32301,8 +32362,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 @@ -34140,6 +34205,15 @@ msgstr "" msgid "Returns the [Transform2D] of a specific instance." 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 " @@ -34153,6 +34227,18 @@ msgid "" "code] is stored as 4 floats." 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 " @@ -34196,6 +34282,16 @@ msgstr "" 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 "" @@ -34248,6 +34344,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 "" @@ -36543,6 +36651,25 @@ msgid "" "Returns [code]true[/code] if the local system is the master of this node." 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 " @@ -36713,6 +36840,21 @@ msgid "" "normally)." 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 " @@ -36813,6 +36955,14 @@ msgid "" "peer is recursively set as the master for all children of this node." 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 " @@ -37063,6 +37213,12 @@ msgid "" "node enters tree, instead of only once." 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 " @@ -38052,8 +38208,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 @@ -38843,7 +38999,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 @@ -46683,6 +46851,17 @@ msgid "" "below 30 FPS." 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 " @@ -46695,8 +46874,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 @@ -47209,14 +47390,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 @@ -47345,8 +47531,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 @@ -51281,6 +51467,13 @@ msgid "" "_input] will not be called anymore in nodes." 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 " @@ -52534,6 +52727,18 @@ msgstr "" msgid "All 3D Demos" 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 " @@ -54371,7 +54576,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 "" @@ -54385,7 +54590,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 "" @@ -55058,7 +55263,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 @@ -55321,7 +55531,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 @@ -55344,11 +55563,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 @@ -55397,14 +55629,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 @@ -55574,8 +55808,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 @@ -57063,6 +57305,14 @@ msgstr "" 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." @@ -58100,6 +58350,12 @@ msgid "" "theme has [code]node_type[/code]." 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 "" @@ -58239,6 +58495,17 @@ msgid "" "future version." 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 " @@ -58287,6 +58554,12 @@ msgid "" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." 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 " @@ -58382,6 +58655,20 @@ msgid "" "Creates [code]node_type[/code] if the theme does not have it." 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 " @@ -60557,7 +60844,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 "" @@ -60598,9 +60885,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 diff --git a/doc/translations/mr.po b/doc/translations/mr.po index 5f8d2afd193..81a14f7e5a1 100644 --- a/doc/translations/mr.po +++ b/doc/translations/mr.po @@ -3325,6 +3325,15 @@ msgid "" "Else\"[/code]." 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 " @@ -4837,7 +4846,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 @@ -4862,7 +4871,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 "" @@ -4871,7 +4880,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 @@ -9481,26 +9490,10 @@ msgid "" "[code]at_position[/code]." 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 "" @@ -9657,6 +9650,16 @@ msgstr "" msgid "Number of available audio buses." 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]). " @@ -12732,6 +12735,18 @@ msgstr "" msgid "Returns the RID of the canvas used by this layer." 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[/" @@ -15570,8 +15585,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 " @@ -16321,6 +16337,25 @@ msgid "" "all its [Control] children use." 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 "" @@ -22993,7 +23028,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 @@ -25095,8 +25145,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 @@ -25366,7 +25417,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 @@ -31901,7 +31957,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 @@ -32281,8 +32342,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 @@ -34120,6 +34185,15 @@ msgstr "" msgid "Returns the [Transform2D] of a specific instance." 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 " @@ -34133,6 +34207,18 @@ msgid "" "code] is stored as 4 floats." 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 " @@ -34176,6 +34262,16 @@ msgstr "" 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 "" @@ -34228,6 +34324,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 "" @@ -36523,6 +36631,25 @@ msgid "" "Returns [code]true[/code] if the local system is the master of this node." 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 " @@ -36693,6 +36820,21 @@ msgid "" "normally)." 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 " @@ -36793,6 +36935,14 @@ msgid "" "peer is recursively set as the master for all children of this node." 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 " @@ -37043,6 +37193,12 @@ msgid "" "node enters tree, instead of only once." 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 " @@ -38032,8 +38188,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 @@ -38823,7 +38979,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 @@ -46663,6 +46831,17 @@ msgid "" "below 30 FPS." 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 " @@ -46675,8 +46854,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 @@ -47189,14 +47370,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 @@ -47325,8 +47511,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 @@ -51261,6 +51447,13 @@ msgid "" "_input] will not be called anymore in nodes." 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 " @@ -52514,6 +52707,18 @@ msgstr "" msgid "All 3D Demos" 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 " @@ -54351,7 +54556,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 "" @@ -54365,7 +54570,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 "" @@ -55038,7 +55243,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 @@ -55301,7 +55511,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 @@ -55324,11 +55543,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 @@ -55377,14 +55609,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 @@ -55554,8 +55788,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 @@ -57043,6 +57285,14 @@ msgstr "" 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." @@ -58080,6 +58330,12 @@ msgid "" "theme has [code]node_type[/code]." 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 "" @@ -58219,6 +58475,17 @@ msgid "" "future version." 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 " @@ -58267,6 +58534,12 @@ msgid "" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." 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 " @@ -58362,6 +58635,20 @@ msgid "" "Creates [code]node_type[/code] if the theme does not have it." 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 " @@ -60537,7 +60824,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 "" @@ -60578,9 +60865,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 diff --git a/doc/translations/nb.po b/doc/translations/nb.po index 4358fdbfc5a..8cd83ba1480 100644 --- a/doc/translations/nb.po +++ b/doc/translations/nb.po @@ -3337,6 +3337,15 @@ msgid "" "Else\"[/code]." 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 " @@ -4849,7 +4858,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 @@ -4874,7 +4883,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 "" @@ -4883,7 +4892,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 @@ -9493,26 +9502,10 @@ msgid "" "[code]at_position[/code]." 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 "" @@ -9669,6 +9662,16 @@ msgstr "" msgid "Number of available audio buses." 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]). " @@ -12744,6 +12747,18 @@ msgstr "" msgid "Returns the RID of the canvas used by this layer." 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[/" @@ -15582,8 +15597,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 " @@ -16333,6 +16349,25 @@ msgid "" "all its [Control] children use." 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 "" @@ -23005,7 +23040,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 @@ -25107,8 +25157,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 @@ -25378,7 +25429,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 @@ -31913,7 +31969,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 @@ -32293,8 +32354,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 @@ -34132,6 +34197,15 @@ msgstr "" msgid "Returns the [Transform2D] of a specific instance." 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 " @@ -34145,6 +34219,18 @@ msgid "" "code] is stored as 4 floats." 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 " @@ -34188,6 +34274,16 @@ msgstr "" 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 "" @@ -34240,6 +34336,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 "" @@ -36535,6 +36643,25 @@ msgid "" "Returns [code]true[/code] if the local system is the master of this node." 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 " @@ -36705,6 +36832,21 @@ msgid "" "normally)." 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 " @@ -36805,6 +36947,14 @@ msgid "" "peer is recursively set as the master for all children of this node." 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 " @@ -37055,6 +37205,12 @@ msgid "" "node enters tree, instead of only once." 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 " @@ -38044,8 +38200,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 @@ -38835,7 +38991,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 @@ -46675,6 +46843,17 @@ msgid "" "below 30 FPS." 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 " @@ -46687,8 +46866,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 @@ -47201,14 +47382,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 @@ -47337,8 +47523,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 @@ -51273,6 +51459,13 @@ msgid "" "_input] will not be called anymore in nodes." 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 " @@ -52526,6 +52719,18 @@ msgstr "" msgid "All 3D Demos" 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 " @@ -54363,7 +54568,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 "" @@ -54377,7 +54582,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 "" @@ -55050,7 +55255,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 @@ -55313,7 +55523,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 @@ -55336,11 +55555,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 @@ -55389,14 +55621,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 @@ -55566,8 +55800,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 @@ -57055,6 +57297,14 @@ msgstr "" 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." @@ -58092,6 +58342,12 @@ msgid "" "theme has [code]node_type[/code]." 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 "" @@ -58231,6 +58487,17 @@ msgid "" "future version." 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 " @@ -58279,6 +58546,12 @@ msgid "" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." 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 " @@ -58374,6 +58647,20 @@ msgid "" "Creates [code]node_type[/code] if the theme does not have it." 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 " @@ -60549,7 +60836,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 "" @@ -60590,9 +60877,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 diff --git a/doc/translations/ne.po b/doc/translations/ne.po index d277e5da735..dcc8e219517 100644 --- a/doc/translations/ne.po +++ b/doc/translations/ne.po @@ -3325,6 +3325,15 @@ msgid "" "Else\"[/code]." 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 " @@ -4837,7 +4846,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 @@ -4862,7 +4871,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 "" @@ -4871,7 +4880,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 @@ -9481,26 +9490,10 @@ msgid "" "[code]at_position[/code]." 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 "" @@ -9657,6 +9650,16 @@ msgstr "" msgid "Number of available audio buses." 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]). " @@ -12732,6 +12735,18 @@ msgstr "" msgid "Returns the RID of the canvas used by this layer." 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[/" @@ -15570,8 +15585,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 " @@ -16321,6 +16337,25 @@ msgid "" "all its [Control] children use." 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 "" @@ -22993,7 +23028,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 @@ -25095,8 +25145,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 @@ -25366,7 +25417,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 @@ -31901,7 +31957,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 @@ -32281,8 +32342,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 @@ -34120,6 +34185,15 @@ msgstr "" msgid "Returns the [Transform2D] of a specific instance." 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 " @@ -34133,6 +34207,18 @@ msgid "" "code] is stored as 4 floats." 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 " @@ -34176,6 +34262,16 @@ msgstr "" 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 "" @@ -34228,6 +34324,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 "" @@ -36523,6 +36631,25 @@ msgid "" "Returns [code]true[/code] if the local system is the master of this node." 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 " @@ -36693,6 +36820,21 @@ msgid "" "normally)." 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 " @@ -36793,6 +36935,14 @@ msgid "" "peer is recursively set as the master for all children of this node." 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 " @@ -37043,6 +37193,12 @@ msgid "" "node enters tree, instead of only once." 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 " @@ -38032,8 +38188,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 @@ -38823,7 +38979,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 @@ -46663,6 +46831,17 @@ msgid "" "below 30 FPS." 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 " @@ -46675,8 +46854,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 @@ -47189,14 +47370,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 @@ -47325,8 +47511,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 @@ -51261,6 +51447,13 @@ msgid "" "_input] will not be called anymore in nodes." 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 " @@ -52514,6 +52707,18 @@ msgstr "" msgid "All 3D Demos" 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 " @@ -54351,7 +54556,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 "" @@ -54365,7 +54570,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 "" @@ -55038,7 +55243,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 @@ -55301,7 +55511,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 @@ -55324,11 +55543,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 @@ -55377,14 +55609,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 @@ -55554,8 +55788,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 @@ -57043,6 +57285,14 @@ msgstr "" 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." @@ -58080,6 +58330,12 @@ msgid "" "theme has [code]node_type[/code]." 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 "" @@ -58219,6 +58475,17 @@ msgid "" "future version." 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 " @@ -58267,6 +58534,12 @@ msgid "" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." 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 " @@ -58362,6 +58635,20 @@ msgid "" "Creates [code]node_type[/code] if the theme does not have it." 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 " @@ -60537,7 +60824,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 "" @@ -60578,9 +60865,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 diff --git a/doc/translations/nl.po b/doc/translations/nl.po index d725a7872eb..7095944510c 100644 --- a/doc/translations/nl.po +++ b/doc/translations/nl.po @@ -3376,6 +3376,15 @@ msgid "" "Else\"[/code]." 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 " @@ -4888,7 +4897,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 @@ -4913,7 +4922,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 "" @@ -4922,7 +4931,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 @@ -9532,26 +9541,10 @@ msgid "" "[code]at_position[/code]." 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 "" @@ -9708,6 +9701,16 @@ msgstr "" msgid "Number of available audio buses." 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]). " @@ -12783,6 +12786,18 @@ msgstr "" msgid "Returns the RID of the canvas used by this layer." 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[/" @@ -15621,8 +15636,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 " @@ -16372,6 +16388,25 @@ msgid "" "all its [Control] children use." 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 "" @@ -23047,7 +23082,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 @@ -25149,8 +25199,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 @@ -25420,7 +25471,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 @@ -31955,7 +32011,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 @@ -32335,8 +32396,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 @@ -34174,6 +34239,15 @@ msgstr "" msgid "Returns the [Transform2D] of a specific instance." 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 " @@ -34187,6 +34261,18 @@ msgid "" "code] is stored as 4 floats." 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 " @@ -34230,6 +34316,16 @@ msgstr "" 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 "" @@ -34282,6 +34378,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 "" @@ -36577,6 +36685,25 @@ msgid "" "Returns [code]true[/code] if the local system is the master of this node." 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 " @@ -36747,6 +36874,21 @@ msgid "" "normally)." 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 " @@ -36847,6 +36989,14 @@ msgid "" "peer is recursively set as the master for all children of this node." 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 " @@ -37097,6 +37247,12 @@ msgid "" "node enters tree, instead of only once." 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 " @@ -38086,8 +38242,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 @@ -38877,7 +39033,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 @@ -46717,6 +46885,17 @@ msgid "" "below 30 FPS." 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 " @@ -46729,8 +46908,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 @@ -47243,14 +47424,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 @@ -47379,8 +47565,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 @@ -51316,6 +51502,13 @@ msgid "" "_input] will not be called anymore in nodes." 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 " @@ -52569,6 +52762,18 @@ msgstr "" msgid "All 3D Demos" 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 " @@ -54406,7 +54611,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 "" @@ -54420,7 +54625,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 "" @@ -55093,7 +55298,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 @@ -55356,7 +55566,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 @@ -55379,11 +55598,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 @@ -55432,14 +55664,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 @@ -55609,8 +55843,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 @@ -57098,6 +57340,14 @@ msgstr "" 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." @@ -58135,6 +58385,12 @@ msgid "" "theme has [code]node_type[/code]." 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 "" @@ -58274,6 +58530,17 @@ msgid "" "future version." 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 " @@ -58322,6 +58589,12 @@ msgid "" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." 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 " @@ -58417,6 +58690,20 @@ msgid "" "Creates [code]node_type[/code] if the theme does not have it." 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 " @@ -60592,7 +60879,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 "" @@ -60633,9 +60920,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 diff --git a/doc/translations/pl.po b/doc/translations/pl.po index ef534544e1a..615d1ff53fb 100644 --- a/doc/translations/pl.po +++ b/doc/translations/pl.po @@ -11,7 +11,7 @@ # Larix_45 , 2020. # Mateusz Grzonka , 2020. # Michał Borowiec , 2021. -# Suchy Talerz , 2021. +# Suchy Talerz , 2021, 2022. # Seppo Day , 2021. # cerkiewny , 2021. # Dominik Mielcarek , 2021. @@ -19,12 +19,14 @@ # Tomasz Piechocki , 2021. # DeiranZ , 2022. # Piotr , 2022. +# lewando54 , 2022. +# Katarzyna Twardowska , 2022. msgid "" msgstr "" "Project-Id-Version: Godot Engine class reference\n" "Report-Msgid-Bugs-To: https://github.com/godotengine/godot\n" -"PO-Revision-Date: 2022-01-19 22:07+0000\n" -"Last-Translator: Piotr \n" +"PO-Revision-Date: 2022-03-08 06:54+0000\n" +"Last-Translator: Katarzyna Twardowska \n" "Language-Team: Polish \n" "Language: pl\n" @@ -33,7 +35,7 @@ msgstr "" "Content-Transfer-Encoding: 8-bit\n" "Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " "|| n%100>=20) ? 1 : 2;\n" -"X-Generator: Weblate 4.11-dev\n" +"X-Generator: Weblate 4.12-dev\n" #: doc/tools/make_rst.py msgid "Description" @@ -98,7 +100,7 @@ msgstr "" #: doc/tools/make_rst.py msgid "Setter" -msgstr "" +msgstr "Setter" #: doc/tools/make_rst.py msgid "value" @@ -3798,6 +3800,15 @@ msgid "" "Else\"[/code]." 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 " @@ -5311,8 +5322,9 @@ msgid "" msgstr "" #: doc/classes/AnimationNode.xml -msgid "Returns [code]true[/code] whether a given path is filtered." -msgstr "" +#, fuzzy +msgid "Returns whether the given path is filtered." +msgstr "Zwraca tangens parametru." #: doc/classes/AnimationNode.xml msgid "" @@ -5336,7 +5348,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 "" @@ -5345,7 +5357,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 @@ -5415,9 +5427,8 @@ msgstr "" #: doc/classes/AnimationNodeOneShot.xml doc/classes/AnimationNodeOutput.xml #: doc/classes/AnimationNodeTimeScale.xml #: doc/classes/AnimationNodeTransition.xml -#, fuzzy msgid "AnimationTree" -msgstr "Węzeł Kinematic body 2D." +msgstr "DrzewoAnimacji" #: doc/classes/AnimationNodeAdd3.xml doc/classes/AnimationNodeAnimation.xml #: doc/classes/AnimationNodeBlend2.xml @@ -9965,26 +9976,10 @@ msgid "" "[code]at_position[/code]." 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 "" @@ -10141,6 +10136,16 @@ msgstr "" msgid "Number of available audio buses." 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]). " @@ -13230,6 +13235,18 @@ msgstr "" msgid "Returns the RID of the canvas used by this layer." 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[/" @@ -16073,8 +16090,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 " @@ -16830,6 +16848,25 @@ msgid "" "all its [Control] children use." 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 "" @@ -23516,7 +23553,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 @@ -25620,8 +25672,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 @@ -25891,7 +25944,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 @@ -32457,7 +32515,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 @@ -32837,8 +32900,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 @@ -34677,6 +34744,15 @@ msgstr "" msgid "Returns the [Transform2D] of a specific instance." 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 " @@ -34690,6 +34766,18 @@ msgid "" "code] is stored as 4 floats." 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 " @@ -34733,6 +34821,16 @@ msgstr "" 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 "" @@ -34785,6 +34883,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 "" @@ -36687,7 +36797,7 @@ msgstr "" #: doc/classes/Node.xml msgid "Nodes and Scenes" -msgstr "" +msgstr "Węzły i Sceny" #: doc/classes/Node.xml msgid "All Demos" @@ -37122,6 +37232,25 @@ msgid "" "Returns [code]true[/code] if the local system is the master of this node." 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 " @@ -37292,6 +37421,21 @@ msgid "" "normally)." 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 " @@ -37392,6 +37536,14 @@ msgid "" "peer is recursively set as the master for all children of this node." 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 " @@ -37642,6 +37794,12 @@ msgid "" "node enters tree, instead of only once." 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 " @@ -38631,8 +38789,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 @@ -39428,7 +39586,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 @@ -47310,6 +47480,17 @@ msgid "" "below 30 FPS." 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 " @@ -47322,8 +47503,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 @@ -47836,14 +48019,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 @@ -47972,8 +48160,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 @@ -50077,7 +50265,7 @@ msgstr "" #: doc/classes/RichTextLabel.xml msgid "BBCode in RichTextLabel" -msgstr "" +msgstr "BBCode w RichTextLabel" #: doc/classes/RichTextLabel.xml msgid "GUI Rich Text/BBcode Demo" @@ -51920,6 +52108,13 @@ msgid "" "_input] will not be called anymore in nodes." 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 " @@ -53174,6 +53369,18 @@ msgstr "" msgid "All 3D Demos" 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 " @@ -55014,7 +55221,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 "" @@ -55028,7 +55235,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 "" @@ -55703,7 +55910,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 @@ -55966,7 +56178,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 @@ -55989,11 +56210,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 @@ -56042,14 +56276,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 @@ -56219,8 +56455,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 @@ -57714,6 +57958,16 @@ msgstr "" msgid "Returns the total width of all gutters and internal padding." msgstr "Zwraca kąt w radianach danego wektora." +#: doc/classes/TextEdit.xml +#, fuzzy +msgid "Returns the total amount of lines that could be drawn." +msgstr "Zwraca przeciwieństwo parametru." + +#: doc/classes/TextEdit.xml +#, fuzzy +msgid "Returns the number of visible lines, including wrapped text." +msgstr "Zwraca resztę z dwóch wektorów." + #: doc/classes/TextEdit.xml msgid "" "Returns a [String] text with the word under the caret (text cursor) location." @@ -58757,6 +59011,12 @@ msgid "" "theme has [code]node_type[/code]." 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 "" @@ -58897,6 +59157,18 @@ msgid "" "future version." 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 +#, fuzzy +msgid "" +"Returns a list of all type variations for the given [code]base_type[/code]." +msgstr "Liczy iloczyn wektorowy tego wektora oraz [code]b[/code]." + #: doc/classes/Theme.xml msgid "" "Returns [code]true[/code] if [Color] with [code]name[/code] is in " @@ -58948,6 +59220,13 @@ msgid "" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." msgstr "" +#: 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 "Liczy iloczyn wektorowy tego wektora oraz [code]with[/code]." + #: doc/classes/Theme.xml msgid "" "Adds missing and overrides existing definitions with values from the " @@ -59043,6 +59322,20 @@ msgid "" "Creates [code]node_type[/code] if the theme does not have it." 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 " @@ -59090,7 +59383,7 @@ msgstr "" #: doc/classes/Thread.xml msgid "Using multiple threads" -msgstr "" +msgstr "Użyj wielowątkowości" #: doc/classes/Thread.xml msgid "Thread-safe APIs" @@ -61221,7 +61514,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 "" @@ -61263,10 +61556,9 @@ msgid "" msgstr "Liczy iloczyn wektorowy tego wektora oraz [code]b[/code]." #: 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." -msgstr "" +#, fuzzy +msgid "Returns the number of buttons in column [code]column[/code]." +msgstr "Liczy iloczyn wektorowy tego wektora oraz [code]b[/code]." #: doc/classes/TreeItem.xml #, fuzzy diff --git a/doc/translations/pt.po b/doc/translations/pt.po index b81b1374930..eb2e6480383 100644 --- a/doc/translations/pt.po +++ b/doc/translations/pt.po @@ -4090,6 +4090,15 @@ msgid "" "Else\"[/code]." 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 " @@ -5610,8 +5619,9 @@ msgid "" msgstr "" #: doc/classes/AnimationNode.xml -msgid "Returns [code]true[/code] whether a given path is filtered." -msgstr "" +#, fuzzy +msgid "Returns whether the given path is filtered." +msgstr "Retorna o RID do ecrã usada por essa camada." #: doc/classes/AnimationNode.xml msgid "" @@ -5635,7 +5645,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 "" @@ -5644,8 +5654,9 @@ msgid "If [code]true[/code], filtering is enabled." msgstr "" #: doc/classes/AnimationNode.xml -msgid "Called when the node was removed from the graph." -msgstr "" +#, fuzzy +msgid "Emitted when the node was removed from the graph." +msgstr "Emitido cada vez que um nó é removido da [SceneTree]." #: doc/classes/AnimationNode.xml msgid "" @@ -10262,26 +10273,10 @@ msgid "" "[code]at_position[/code]." 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 "" @@ -10438,6 +10433,16 @@ msgstr "" msgid "Number of available audio buses." 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]). " @@ -13535,6 +13540,18 @@ msgstr "Camada para desenhar no ecrã." msgid "Returns the RID of the canvas used by this layer." msgstr "Retorna o RID do ecrã usada por essa camada." +#: 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[/" @@ -16393,8 +16410,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 " @@ -17152,6 +17170,25 @@ msgid "" "all its [Control] children use." 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 "Emitido quando o nó ganha foco do teclado." @@ -23836,7 +23873,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 @@ -25940,8 +25992,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 @@ -26211,7 +26264,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 @@ -32751,7 +32809,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 @@ -33131,8 +33194,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 @@ -34970,6 +35037,15 @@ msgstr "" msgid "Returns the [Transform2D] of a specific instance." 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 " @@ -34983,6 +35059,18 @@ msgid "" "code] is stored as 4 floats." 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 " @@ -35026,6 +35114,16 @@ msgstr "" 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 "" @@ -35078,6 +35176,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 "" @@ -37396,6 +37506,25 @@ msgid "" "Returns [code]true[/code] if the local system is the master of this node." 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 " @@ -37566,6 +37695,21 @@ msgid "" "normally)." 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 " @@ -37666,6 +37810,14 @@ msgid "" "peer is recursively set as the master for all children of this node." 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 " @@ -37916,6 +38068,12 @@ msgid "" "node enters tree, instead of only once." 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 " @@ -38905,8 +39063,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 @@ -39696,7 +39854,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 @@ -47540,6 +47710,17 @@ msgid "" "below 30 FPS." 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 " @@ -47552,8 +47733,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 @@ -48066,14 +48249,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 @@ -48202,8 +48390,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 @@ -52138,6 +52326,13 @@ msgid "" "_input] will not be called anymore in nodes." 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 " @@ -53395,6 +53590,18 @@ msgstr "" msgid "All 3D Demos" 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 " @@ -55250,7 +55457,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 "" @@ -55264,7 +55471,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 "" @@ -55939,7 +56146,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 @@ -56202,7 +56414,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 @@ -56225,11 +56446,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 @@ -56278,14 +56512,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 @@ -56455,8 +56691,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 @@ -57946,6 +58190,16 @@ msgstr "" 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 "Retorna o comprimento atual do braço da mola." + +#: doc/classes/TextEdit.xml +#, fuzzy +msgid "Returns the number of visible lines, including wrapped text." +msgstr "Retorna o número de nós nesta [SceneTree]." + #: doc/classes/TextEdit.xml msgid "" "Returns a [String] text with the word under the caret (text cursor) location." @@ -58984,6 +59238,12 @@ msgid "" "theme has [code]node_type[/code]." 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 "" @@ -59123,6 +59383,18 @@ msgid "" "future version." 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 +#, fuzzy +msgid "" +"Returns a list of all type variations for the given [code]base_type[/code]." +msgstr "Retorna o produto cruzado deste vetor e [code]b[/code]." + #: doc/classes/Theme.xml msgid "" "Returns [code]true[/code] if [Color] with [code]name[/code] is in " @@ -59171,6 +59443,15 @@ msgid "" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." msgstr "" +#: 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 "" +"Retorna [code]true[/code] se o vetor for normalizado, [code]false[/code] " +"caso contrário." + #: doc/classes/Theme.xml msgid "" "Adds missing and overrides existing definitions with values from the " @@ -59266,6 +59547,20 @@ msgid "" "Creates [code]node_type[/code] if the theme does not have it." 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 " @@ -61444,7 +61739,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 "" @@ -61485,10 +61780,9 @@ 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." -msgstr "" +#, fuzzy +msgid "Returns the number of buttons in column [code]column[/code]." +msgstr "Retorna o nome do nó em [code]idx[/code]." #: doc/classes/TreeItem.xml #, fuzzy diff --git a/doc/translations/pt_BR.po b/doc/translations/pt_BR.po index ff0825d6a76..fbf4dbeaa67 100644 --- a/doc/translations/pt_BR.po +++ b/doc/translations/pt_BR.po @@ -4301,6 +4301,15 @@ msgstr "" "para ser selecionado em uma lista especificada por uma string de dica como " "[code]\"Hello,Something,Else\"[/code]." +#: 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 " @@ -5868,8 +5877,9 @@ msgid "" msgstr "" #: doc/classes/AnimationNode.xml -msgid "Returns [code]true[/code] whether a given path is filtered." -msgstr "" +#, fuzzy +msgid "Returns whether the given path is filtered." +msgstr "Retorna a tangente do parâmetro." #: doc/classes/AnimationNode.xml msgid "" @@ -5893,7 +5903,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 "" @@ -5902,8 +5912,9 @@ msgid "If [code]true[/code], filtering is enabled." msgstr "" #: doc/classes/AnimationNode.xml -msgid "Called when the node was removed from the graph." -msgstr "" +#, fuzzy +msgid "Emitted when the node was removed from the graph." +msgstr "Emitido cada vez que um nó é removido da [SceneTree]." #: doc/classes/AnimationNode.xml msgid "" @@ -10537,26 +10548,10 @@ msgid "" "[code]at_position[/code]." 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 "" @@ -10713,6 +10708,16 @@ msgstr "" msgid "Number of available audio buses." 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]). " @@ -13818,6 +13823,18 @@ msgstr "Camada para desenhar na tela." msgid "Returns the RID of the canvas used by this layer." msgstr "Retorna o RID da tela usada por essa camada." +#: 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[/" @@ -16710,8 +16727,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 " @@ -17469,6 +17487,25 @@ msgid "" "all its [Control] children use." 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 "Emitido quando o nó ganha foco do teclado." @@ -24165,7 +24202,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 @@ -26270,8 +26322,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 @@ -26541,7 +26594,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 @@ -33120,7 +33178,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 @@ -33500,8 +33563,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 @@ -35341,6 +35408,15 @@ msgstr "" msgid "Returns the [Transform2D] of a specific instance." 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 " @@ -35354,6 +35430,18 @@ msgid "" "code] is stored as 4 floats." 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 " @@ -35397,6 +35485,16 @@ msgstr "" 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 "" @@ -35449,6 +35547,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 "" @@ -37786,6 +37896,25 @@ msgid "" "Returns [code]true[/code] if the local system is the master of this node." 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 " @@ -37956,6 +38085,21 @@ msgid "" "normally)." 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 " @@ -38056,6 +38200,14 @@ msgid "" "peer is recursively set as the master for all children of this node." 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 " @@ -38306,6 +38458,12 @@ msgid "" "node enters tree, instead of only once." 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 " @@ -39295,8 +39453,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 @@ -40090,7 +40248,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 @@ -47978,6 +48148,17 @@ msgid "" "below 30 FPS." 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 " @@ -47990,8 +48171,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 @@ -48504,14 +48687,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 @@ -48640,8 +48828,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 @@ -52585,6 +52773,13 @@ msgid "" "_input] will not be called anymore in nodes." 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 " @@ -53846,6 +54041,18 @@ msgstr "" msgid "All 3D Demos" 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 " @@ -55704,7 +55911,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 "" @@ -55718,7 +55925,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 "" @@ -56393,7 +56600,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 @@ -56656,7 +56868,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 @@ -56679,11 +56900,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 @@ -56732,14 +56966,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 @@ -56909,8 +57145,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 @@ -58407,6 +58651,16 @@ msgstr "" msgid "Returns the total width of all gutters and internal padding." msgstr "Retorna o ângulo para o vetor dado, em radianos." +#: doc/classes/TextEdit.xml +#, fuzzy +msgid "Returns the total amount of lines that could be drawn." +msgstr "Retorna o valor oposto do parâmetro." + +#: doc/classes/TextEdit.xml +#, fuzzy +msgid "Returns the number of visible lines, including wrapped text." +msgstr "Retorna o número de nós nesta [SceneTree]." + #: doc/classes/TextEdit.xml msgid "" "Returns a [String] text with the word under the caret (text cursor) location." @@ -59458,6 +59712,12 @@ msgid "" "theme has [code]node_type[/code]." 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 "" @@ -59601,6 +59861,18 @@ msgid "" "future version." 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 +#, fuzzy +msgid "" +"Returns a list of all type variations for the given [code]base_type[/code]." +msgstr "Retorna o produto cruzado deste vetor e [code]b[/code]." + #: doc/classes/Theme.xml msgid "" "Returns [code]true[/code] if [Color] with [code]name[/code] is in " @@ -59650,6 +59922,13 @@ msgid "" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." msgstr "" +#: 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 "Retorna [code]true[/code] se o script pode ser instanciado." + #: doc/classes/Theme.xml msgid "" "Adds missing and overrides existing definitions with values from the " @@ -59745,6 +60024,20 @@ msgid "" "Creates [code]node_type[/code] if the theme does not have it." 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 " @@ -61925,7 +62218,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 "" @@ -61968,10 +62261,9 @@ msgstr "" "Retorna a largura em píxeis de [code]wrap_index[/code] em [code]line[/code]." #: 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." -msgstr "" +#, fuzzy +msgid "Returns the number of buttons in column [code]column[/code]." +msgstr "Retorna o nome do nó em [code]idx[/code]." #: doc/classes/TreeItem.xml #, fuzzy diff --git a/doc/translations/ro.po b/doc/translations/ro.po index d27baf73b87..e80f0ba0097 100644 --- a/doc/translations/ro.po +++ b/doc/translations/ro.po @@ -3345,6 +3345,15 @@ msgid "" "Else\"[/code]." 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 " @@ -4857,7 +4866,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 @@ -4882,7 +4891,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 "" @@ -4891,7 +4900,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 @@ -9501,26 +9510,10 @@ msgid "" "[code]at_position[/code]." 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 "" @@ -9677,6 +9670,16 @@ msgstr "" msgid "Number of available audio buses." 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]). " @@ -12752,6 +12755,18 @@ msgstr "" msgid "Returns the RID of the canvas used by this layer." 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[/" @@ -15590,8 +15605,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 " @@ -16341,6 +16357,25 @@ msgid "" "all its [Control] children use." 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 "" @@ -23016,7 +23051,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 @@ -25118,8 +25168,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 @@ -25389,7 +25440,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 @@ -31924,7 +31980,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 @@ -32304,8 +32365,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 @@ -34143,6 +34208,15 @@ msgstr "" msgid "Returns the [Transform2D] of a specific instance." 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 " @@ -34156,6 +34230,18 @@ msgid "" "code] is stored as 4 floats." 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 " @@ -34199,6 +34285,16 @@ msgstr "" 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 "" @@ -34251,6 +34347,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 "" @@ -36546,6 +36654,25 @@ msgid "" "Returns [code]true[/code] if the local system is the master of this node." 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 " @@ -36716,6 +36843,21 @@ msgid "" "normally)." 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 " @@ -36816,6 +36958,14 @@ msgid "" "peer is recursively set as the master for all children of this node." 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 " @@ -37066,6 +37216,12 @@ msgid "" "node enters tree, instead of only once." 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 " @@ -38055,8 +38211,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 @@ -38846,7 +39002,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 @@ -46686,6 +46854,17 @@ msgid "" "below 30 FPS." 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 " @@ -46698,8 +46877,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 @@ -47212,14 +47393,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 @@ -47348,8 +47534,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 @@ -51284,6 +51470,13 @@ msgid "" "_input] will not be called anymore in nodes." 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 " @@ -52537,6 +52730,18 @@ msgstr "" msgid "All 3D Demos" 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 " @@ -54374,7 +54579,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 "" @@ -54388,7 +54593,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 "" @@ -55061,7 +55266,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 @@ -55324,7 +55534,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 @@ -55347,11 +55566,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 @@ -55400,14 +55632,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 @@ -55577,8 +55811,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 @@ -57066,6 +57308,14 @@ msgstr "" 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." @@ -58103,6 +58353,12 @@ msgid "" "theme has [code]node_type[/code]." 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 "" @@ -58242,6 +58498,17 @@ msgid "" "future version." 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 " @@ -58290,6 +58557,12 @@ msgid "" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." 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 " @@ -58385,6 +58658,20 @@ msgid "" "Creates [code]node_type[/code] if the theme does not have it." 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 " @@ -60560,7 +60847,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 "" @@ -60601,9 +60888,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 diff --git a/doc/translations/ru.po b/doc/translations/ru.po index dfde3ad01bf..419a3bf547f 100644 --- a/doc/translations/ru.po +++ b/doc/translations/ru.po @@ -26,7 +26,7 @@ # Сергей Волков , 2021. # Alexander Sinitsyn , 2021. # Толя Богомолов , 2021. -# Rustam Alieskerov , 2021. +# Rustam Alieskerov , 2021, 2022. # Vladimir Svity , 2021. # SuperProCoolName , 2021. # GameOverCode , 2021. @@ -38,12 +38,13 @@ # Алексей Зотов , 2022. # Russkikh Michail , 2022. # Kirill Slesarenok , 2022. +# Иван Гай , 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-14 22:08+0000\n" -"Last-Translator: Kirill Slesarenok \n" +"PO-Revision-Date: 2022-03-02 18:39+0000\n" +"Last-Translator: Rustam Alieskerov \n" "Language-Team: Russian \n" "Language: ru\n" @@ -52,7 +53,7 @@ msgstr "" "Content-Transfer-Encoding: 8-bit\n" "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && " "n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" -"X-Generator: Weblate 4.11-dev\n" +"X-Generator: Weblate 4.11.1-dev\n" #: doc/tools/make_rst.py msgid "Description" @@ -163,6 +164,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." @@ -263,13 +266,12 @@ msgid "" "s = asin(0.5)\n" "[/codeblock]" msgstr "" -"Возвращает арккосинус числа [code]s[/code] в радианах. Используется для " -"получения угла, косинус которого равен [code]s[/code]. Число [code]s[/code] " -"должно быть между [code]-1.0[/code] и [code]1.0[/code] (включительно), в " -"противном случае [method asin] вернет [constant NAN].\n" +"Возвращает арксинус числа [code]s[/code] в радианах. Используется для " +"получения угла, синус которого равен [code]s[/code]. Число [code]s[/code] " +"должно быть в промежутке между [code]-1.0[/code] и [code]1.0[/code] " +"(включительно), иначе [method asin] вернет [constant NAN].\n" "[codeblock]\n" -"# s равно 0.523599, или 30 градусов, если конвертировать с помощью " -"rad2deg(s)\n" +"# s равно 0.523599, или 30 градусов, если конвертировать с помощью rad2deg\n" "s = asin(0.5)\n" "[/codeblock]" @@ -436,16 +438,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" -"speed = 1000\n" -"# a будет 20\n" -"a = clamp(speed, 1, 20)\n" -"\n" -"speed = -10\n" -"# a будет 1\n" -"a = clamp(speed, 1, 20)\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" "[/codeblock]" #: modules/gdscript/doc_classes/@GDScript.xml @@ -566,7 +564,6 @@ msgstr "" "использовать [code]deep_equal[/code]." #: modules/gdscript/doc_classes/@GDScript.xml -#, fuzzy msgid "" "Converts an angle expressed in degrees to radians.\n" "[codeblock]\n" @@ -575,8 +572,7 @@ msgid "" msgstr "" "Преобразует угол, выраженный в градусах, в радианы.\n" "[codeblock]\n" -"# r равно 3.141593\n" -"r = deg2rad(180)\n" +"r = deg2rad(180) # r = 3.141593\n" "[/codeblock]" #: modules/gdscript/doc_classes/@GDScript.xml @@ -4415,6 +4411,15 @@ msgstr "" "перечислимым значением для выбора из списка, заданного строкой подсказки, " "такой как [code]\"Hello,Something,Else\"[/code]." +#: 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 #, fuzzy msgid "" @@ -6270,8 +6275,9 @@ msgid "" msgstr "" #: doc/classes/AnimationNode.xml -msgid "Returns [code]true[/code] whether a given path is filtered." -msgstr "" +#, fuzzy +msgid "Returns whether the given path is filtered." +msgstr "Возвращает [Texture2D] заданного кадра." #: doc/classes/AnimationNode.xml msgid "" @@ -6295,7 +6301,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 "" @@ -6304,7 +6310,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 @@ -11120,26 +11126,10 @@ msgid "" "[code]at_position[/code]." 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 "" @@ -11296,6 +11286,16 @@ msgstr "" msgid "Number of available audio buses." 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]). " @@ -14399,6 +14399,24 @@ msgstr "" msgid "Returns the RID of the canvas used by this layer." msgstr "" +#: doc/classes/CanvasLayer.xml +#, fuzzy +msgid "" +"Hides any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]false[/code]." +msgstr "" +"Очищает массив. Это эквивалентно использованию [method resize] с размером " +"[code]0[/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 "" +"Очищает массив. Это эквивалентно использованию [method resize] с размером " +"[code]0[/code]." + #: doc/classes/CanvasLayer.xml msgid "" "The custom [Viewport] node assigned to the [CanvasLayer]. If [code]null[/" @@ -17324,8 +17342,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 " @@ -18105,6 +18124,25 @@ msgid "" "all its [Control] children use." 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 "" @@ -24813,7 +24851,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 @@ -26920,8 +26973,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 @@ -27191,7 +27245,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 @@ -33778,7 +33837,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 @@ -34158,8 +34222,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 @@ -36001,6 +36069,15 @@ msgstr "" msgid "Returns the [Transform2D] of a specific instance." 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 " @@ -36014,6 +36091,18 @@ msgid "" "code] is stored as 4 floats." 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 " @@ -36057,6 +36146,16 @@ msgstr "" 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 "" @@ -36109,6 +36208,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 "" @@ -38448,6 +38559,25 @@ msgid "" "Returns [code]true[/code] if the local system is the master of this node." 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 " @@ -38618,6 +38748,21 @@ msgid "" "normally)." 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 " @@ -38718,6 +38863,14 @@ msgid "" "peer is recursively set as the master for all children of this node." 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 " @@ -38968,6 +39121,12 @@ msgid "" "node enters tree, instead of only once." 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 " @@ -39962,8 +40121,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 @@ -40761,7 +40920,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 @@ -48677,6 +48848,17 @@ msgid "" "below 30 FPS." 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 " @@ -48689,8 +48871,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 @@ -49203,14 +49387,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 @@ -49339,8 +49528,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 @@ -53334,6 +53523,13 @@ msgid "" "_input] will not be called anymore in nodes." 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 " @@ -54594,6 +54790,18 @@ msgstr "" msgid "All 3D Demos" 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 " @@ -56436,7 +56644,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 "" @@ -56450,7 +56658,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 "" @@ -57147,7 +57355,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 @@ -57414,7 +57627,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 @@ -57437,11 +57659,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 @@ -57490,14 +57725,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 @@ -57667,8 +57904,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 @@ -59166,6 +59411,16 @@ msgstr "" 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 "Возвращает количество ключей в данной дорожке." + +#: doc/classes/TextEdit.xml +#, fuzzy +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." @@ -60226,6 +60481,12 @@ msgid "" "theme has [code]node_type[/code]." 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 "" @@ -60368,6 +60629,18 @@ msgid "" "future version." 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 +#, fuzzy +msgid "" +"Returns a list of all type variations for the given [code]base_type[/code]." +msgstr "Возвращает [code]true[/code] если массив содержит [code]value[/code]." + #: doc/classes/Theme.xml #, fuzzy msgid "" @@ -60423,6 +60696,15 @@ msgid "" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." msgstr "" +#: 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]true[/code], если в [AnimationPlayer] хранится [Animation] " +"с ключом [code]name[/code]." + #: doc/classes/Theme.xml msgid "" "Adds missing and overrides existing definitions with values from the " @@ -60518,6 +60800,20 @@ msgid "" "Creates [code]node_type[/code] if the theme does not have it." 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 " @@ -62702,7 +62998,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 "" @@ -62746,10 +63042,9 @@ 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." -msgstr "" +#, fuzzy +msgid "Returns the number of buttons in column [code]column[/code]." +msgstr "Возвращает скалярное произведение с вектором [code]b[/code]." #: doc/classes/TreeItem.xml #, fuzzy diff --git a/doc/translations/sk.po b/doc/translations/sk.po index 8758caf868d..7f5375076ee 100644 --- a/doc/translations/sk.po +++ b/doc/translations/sk.po @@ -3328,6 +3328,15 @@ msgid "" "Else\"[/code]." 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 " @@ -4840,7 +4849,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 @@ -4865,7 +4874,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 "" @@ -4874,7 +4883,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 "" "[code]at_position[/code]." 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 "" @@ -9660,6 +9653,16 @@ msgstr "" msgid "Number of available audio buses." 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]). " @@ -12735,6 +12738,18 @@ msgstr "" msgid "Returns the RID of the canvas used by this layer." 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[/" @@ -15573,8 +15588,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 "" "all its [Control] children use." 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 "" @@ -22999,7 +23034,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 @@ -25101,8 +25151,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 @@ -25372,7 +25423,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 @@ -31907,7 +31963,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 @@ -32287,8 +32348,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 @@ -34126,6 +34191,15 @@ msgstr "" msgid "Returns the [Transform2D] of a specific instance." 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 " @@ -34139,6 +34213,18 @@ msgid "" "code] is stored as 4 floats." 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 " @@ -34182,6 +34268,16 @@ msgstr "" 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 "" @@ -34234,6 +34330,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 "" @@ -36529,6 +36637,25 @@ msgid "" "Returns [code]true[/code] if the local system is the master of this node." 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 " @@ -36699,6 +36826,21 @@ msgid "" "normally)." 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 " @@ -36799,6 +36941,14 @@ msgid "" "peer is recursively set as the master for all children of this node." 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 " @@ -37049,6 +37199,12 @@ msgid "" "node enters tree, instead of only once." 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 " @@ -38038,8 +38194,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 @@ -38829,7 +38985,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 @@ -46669,6 +46837,17 @@ msgid "" "below 30 FPS." 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 " @@ -46681,8 +46860,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 @@ -47195,14 +47376,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 @@ -47331,8 +47517,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 @@ -51267,6 +51453,13 @@ msgid "" "_input] will not be called anymore in nodes." 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 " @@ -52520,6 +52713,18 @@ msgstr "" msgid "All 3D Demos" 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 " @@ -54357,7 +54562,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 "" @@ -54371,7 +54576,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 "" @@ -55044,7 +55249,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 @@ -55307,7 +55517,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 @@ -55330,11 +55549,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 @@ -55383,14 +55615,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 @@ -55560,8 +55794,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 @@ msgstr "" 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." @@ -58086,6 +58336,12 @@ msgid "" "theme has [code]node_type[/code]." 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 "" @@ -58225,6 +58481,17 @@ msgid "" "future version." 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 " @@ -58273,6 +58540,12 @@ msgid "" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." 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 " @@ -58368,6 +58641,20 @@ msgid "" "Creates [code]node_type[/code] if the theme does not have it." 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 " @@ -60543,7 +60830,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 "" @@ -60584,9 +60871,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 diff --git a/doc/translations/sr_Cyrl.po b/doc/translations/sr_Cyrl.po index 780b9a451ea..fb2ee3eda8b 100644 --- a/doc/translations/sr_Cyrl.po +++ b/doc/translations/sr_Cyrl.po @@ -3339,6 +3339,15 @@ msgid "" "Else\"[/code]." 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 " @@ -4851,7 +4860,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 @@ -4876,7 +4885,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 "" @@ -4885,7 +4894,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 @@ -9495,26 +9504,10 @@ msgid "" "[code]at_position[/code]." 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 "" @@ -9671,6 +9664,16 @@ msgstr "" msgid "Number of available audio buses." 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]). " @@ -12746,6 +12749,18 @@ msgstr "" msgid "Returns the RID of the canvas used by this layer." 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[/" @@ -15584,8 +15599,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 " @@ -16335,6 +16351,25 @@ msgid "" "all its [Control] children use." 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 "" @@ -23010,7 +23045,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 @@ -25112,8 +25162,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 @@ -25383,7 +25434,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 @@ -31918,7 +31974,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 @@ -32298,8 +32359,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 @@ -34137,6 +34202,15 @@ msgstr "" msgid "Returns the [Transform2D] of a specific instance." 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 " @@ -34150,6 +34224,18 @@ msgid "" "code] is stored as 4 floats." 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 " @@ -34193,6 +34279,16 @@ msgstr "" 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 "" @@ -34245,6 +34341,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 "" @@ -36540,6 +36648,25 @@ msgid "" "Returns [code]true[/code] if the local system is the master of this node." 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 " @@ -36710,6 +36837,21 @@ msgid "" "normally)." 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 " @@ -36810,6 +36952,14 @@ msgid "" "peer is recursively set as the master for all children of this node." 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 " @@ -37060,6 +37210,12 @@ msgid "" "node enters tree, instead of only once." 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 " @@ -38049,8 +38205,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 @@ -38840,7 +38996,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 @@ -46680,6 +46848,17 @@ msgid "" "below 30 FPS." 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 " @@ -46692,8 +46871,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 @@ -47206,14 +47387,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 @@ -47342,8 +47528,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 @@ -51278,6 +51464,13 @@ msgid "" "_input] will not be called anymore in nodes." 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 " @@ -52531,6 +52724,18 @@ msgstr "" msgid "All 3D Demos" 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 " @@ -54368,7 +54573,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 "" @@ -54382,7 +54587,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 "" @@ -55055,7 +55260,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 @@ -55318,7 +55528,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 @@ -55341,11 +55560,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 @@ -55394,14 +55626,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 @@ -55571,8 +55805,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 @@ -57060,6 +57302,14 @@ msgstr "" 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." @@ -58097,6 +58347,12 @@ msgid "" "theme has [code]node_type[/code]." 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 "" @@ -58236,6 +58492,17 @@ msgid "" "future version." 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 " @@ -58284,6 +58551,12 @@ msgid "" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." 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 " @@ -58379,6 +58652,20 @@ msgid "" "Creates [code]node_type[/code] if the theme does not have it." 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 " @@ -60554,7 +60841,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 "" @@ -60595,9 +60882,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 diff --git a/doc/translations/sv.po b/doc/translations/sv.po index 7cc04c75274..708b0067422 100644 --- a/doc/translations/sv.po +++ b/doc/translations/sv.po @@ -3328,6 +3328,15 @@ msgid "" "Else\"[/code]." 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 " @@ -4840,7 +4849,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 @@ -4865,7 +4874,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 "" @@ -4874,7 +4883,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 "" "[code]at_position[/code]." 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 "" @@ -9660,6 +9653,16 @@ msgstr "" msgid "Number of available audio buses." 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]). " @@ -12735,6 +12738,18 @@ msgstr "" msgid "Returns the RID of the canvas used by this layer." 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[/" @@ -15573,8 +15588,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 "" "all its [Control] children use." 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 "" @@ -22996,7 +23031,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 @@ -25098,8 +25148,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 @@ -25369,7 +25420,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 @@ -31904,7 +31960,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 @@ -32284,8 +32345,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 @@ -34123,6 +34188,15 @@ msgstr "" msgid "Returns the [Transform2D] of a specific instance." 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 " @@ -34136,6 +34210,18 @@ msgid "" "code] is stored as 4 floats." 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 " @@ -34179,6 +34265,16 @@ msgstr "" 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 "" @@ -34231,6 +34327,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 "" @@ -36526,6 +36634,25 @@ msgid "" "Returns [code]true[/code] if the local system is the master of this node." 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 " @@ -36696,6 +36823,21 @@ msgid "" "normally)." 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 " @@ -36796,6 +36938,14 @@ msgid "" "peer is recursively set as the master for all children of this node." 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 " @@ -37046,6 +37196,12 @@ msgid "" "node enters tree, instead of only once." 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 " @@ -38035,8 +38191,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 @@ -38826,7 +38982,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 @@ -46666,6 +46834,17 @@ msgid "" "below 30 FPS." 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 " @@ -46678,8 +46857,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 @@ -47192,14 +47373,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 @@ -47328,8 +47514,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 @@ -51264,6 +51450,13 @@ msgid "" "_input] will not be called anymore in nodes." 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 " @@ -52517,6 +52710,18 @@ msgstr "" msgid "All 3D Demos" 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 " @@ -54354,7 +54559,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 "" @@ -54368,7 +54573,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 "" @@ -55041,7 +55246,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 @@ -55304,7 +55514,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 @@ -55327,11 +55546,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 @@ -55380,14 +55612,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 @@ -55557,8 +55791,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 @@ -57046,6 +57288,14 @@ msgstr "" 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." @@ -58083,6 +58333,12 @@ msgid "" "theme has [code]node_type[/code]." 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 "" @@ -58222,6 +58478,17 @@ msgid "" "future version." 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 " @@ -58270,6 +58537,12 @@ msgid "" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." 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 " @@ -58365,6 +58638,20 @@ msgid "" "Creates [code]node_type[/code] if the theme does not have it." 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 " @@ -60540,7 +60827,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 "" @@ -60581,9 +60868,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 diff --git a/doc/translations/th.po b/doc/translations/th.po index fa12585e9c3..684a6a0bc6f 100644 --- a/doc/translations/th.po +++ b/doc/translations/th.po @@ -3421,6 +3421,15 @@ msgid "" "Else\"[/code]." 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 " @@ -4940,8 +4949,9 @@ msgid "" msgstr "" #: doc/classes/AnimationNode.xml -msgid "Returns [code]true[/code] whether a given path is filtered." -msgstr "" +#, fuzzy +msgid "Returns whether the given path is filtered." +msgstr "คืนค่าชื่อของอุปกรณ์เสียงทั้งหมดที่ตรวจพบในระบบ" #: doc/classes/AnimationNode.xml msgid "" @@ -4965,7 +4975,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 "" @@ -4974,7 +4984,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 @@ -9588,26 +9598,10 @@ msgid "" "[code]at_position[/code]." 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 "" @@ -9764,6 +9758,16 @@ msgstr "" msgid "Number of available audio buses." 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]). " @@ -12841,6 +12845,18 @@ msgstr "" msgid "Returns the RID of the canvas used by this layer." 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[/" @@ -15680,8 +15696,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 " @@ -16431,6 +16448,25 @@ msgid "" "all its [Control] children use." 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 "" @@ -23107,7 +23143,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 @@ -25210,8 +25261,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 @@ -25481,7 +25533,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 @@ -32039,7 +32096,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 @@ -32419,8 +32481,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 @@ -34258,6 +34324,15 @@ msgstr "" msgid "Returns the [Transform2D] of a specific instance." 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 " @@ -34271,6 +34346,18 @@ msgid "" "code] is stored as 4 floats." 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 " @@ -34314,6 +34401,16 @@ msgstr "" 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 "" @@ -34366,6 +34463,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 "" @@ -36721,6 +36830,25 @@ msgid "" "Returns [code]true[/code] if the local system is the master of this node." 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 " @@ -36891,6 +37019,21 @@ msgid "" "normally)." 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 " @@ -36991,6 +37134,14 @@ msgid "" "peer is recursively set as the master for all children of this node." 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 " @@ -37241,6 +37392,12 @@ msgid "" "node enters tree, instead of only once." 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 " @@ -38230,8 +38387,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 @@ -39021,7 +39178,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 @@ -46874,6 +47043,17 @@ msgid "" "below 30 FPS." 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 " @@ -46886,8 +47066,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 @@ -47400,14 +47582,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 @@ -47536,8 +47723,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 @@ -51473,6 +51660,13 @@ msgid "" "_input] will not be called anymore in nodes." 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 " @@ -52726,6 +52920,18 @@ msgstr "" msgid "All 3D Demos" 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 " @@ -54564,7 +54770,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 "" @@ -54578,7 +54784,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 "" @@ -55253,7 +55459,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 @@ -55516,7 +55727,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 @@ -55539,11 +55759,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 @@ -55592,14 +55825,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 @@ -55769,8 +56004,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 @@ -57260,6 +57503,16 @@ msgstr "" 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 "คืนค่าการกำหนดค่าของลำโพง" + +#: doc/classes/TextEdit.xml +#, fuzzy +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." @@ -58297,6 +58550,12 @@ msgid "" "theme has [code]node_type[/code]." 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 "" @@ -58436,6 +58695,17 @@ msgid "" "future version." 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 " @@ -58484,6 +58754,12 @@ msgid "" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." 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 " @@ -58579,6 +58855,20 @@ msgid "" "Creates [code]node_type[/code] if the theme does not have it." 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 " @@ -60755,7 +61045,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 "" @@ -60796,9 +61086,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 diff --git a/doc/translations/tl.po b/doc/translations/tl.po index 95b59e8579d..7a9fb2b1f7b 100644 --- a/doc/translations/tl.po +++ b/doc/translations/tl.po @@ -3,12 +3,12 @@ # Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). # This file is distributed under the same license as the Godot source code. # -# Napstaguy04 , 2021. +# Napstaguy04 , 2021, 2022. msgid "" msgstr "" "Project-Id-Version: Godot Engine class reference\n" "Report-Msgid-Bugs-To: https://github.com/godotengine/godot\n" -"PO-Revision-Date: 2021-11-15 21:14+0000\n" +"PO-Revision-Date: 2022-02-26 10:27+0000\n" "Last-Translator: Napstaguy04 \n" "Language-Team: Tagalog \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.9.1-dev\n" +"X-Generator: Weblate 4.11.1-dev\n" #: doc/tools/make_rst.py msgid "Description" @@ -3400,6 +3400,15 @@ msgid "" "Else\"[/code]." 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 " @@ -4912,7 +4921,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 @@ -4937,7 +4946,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 "" @@ -4946,7 +4955,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 @@ -9431,6 +9440,10 @@ msgid "" "Simulates the sound of acoustic environments such as rooms, concert halls, " "caverns, or an open spaces." msgstr "" +"Nagdadagdag ng pagaalingayngay o reverberasyon na audio effect sa isang " +"Audio bus.\n" +"Ginagaya ang tunog ng mga akustikong kapaligiran gaya ng mga silid, concert " +"halls, kweba o malawak na lugar." #: doc/classes/AudioEffectReverb.xml msgid "" @@ -9556,26 +9569,10 @@ msgid "" "[code]at_position[/code]." 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 "" @@ -9732,6 +9729,16 @@ msgstr "" msgid "Number of available audio buses." 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]). " @@ -12810,6 +12817,18 @@ msgstr "" msgid "Returns the RID of the canvas used by this layer." 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[/" @@ -15648,8 +15667,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 " @@ -16399,6 +16419,25 @@ msgid "" "all its [Control] children use." 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 "" @@ -23071,7 +23110,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 @@ -25173,8 +25227,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 @@ -25444,7 +25499,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 @@ -31979,7 +32039,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 @@ -32359,8 +32424,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 @@ -34198,6 +34267,15 @@ msgstr "" msgid "Returns the [Transform2D] of a specific instance." 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 " @@ -34211,6 +34289,18 @@ msgid "" "code] is stored as 4 floats." 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 " @@ -34254,6 +34344,16 @@ msgstr "" 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 "" @@ -34306,6 +34406,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 "" @@ -36607,6 +36719,25 @@ msgid "" "Returns [code]true[/code] if the local system is the master of this node." 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 " @@ -36777,6 +36908,21 @@ msgid "" "normally)." 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 " @@ -36877,6 +37023,14 @@ msgid "" "peer is recursively set as the master for all children of this node." 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 " @@ -37127,6 +37281,12 @@ msgid "" "node enters tree, instead of only once." 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 " @@ -38116,8 +38276,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 @@ -38907,7 +39067,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 @@ -46750,6 +46922,17 @@ msgid "" "below 30 FPS." 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 " @@ -46762,8 +46945,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 @@ -47276,14 +47461,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 @@ -47412,8 +47602,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 @@ -51348,6 +51538,13 @@ msgid "" "_input] will not be called anymore in nodes." 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 " @@ -52601,6 +52798,18 @@ msgstr "" msgid "All 3D Demos" 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 " @@ -54438,7 +54647,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 "" @@ -54452,7 +54661,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 "" @@ -55125,7 +55334,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 @@ -55388,7 +55602,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 @@ -55411,11 +55634,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 @@ -55464,14 +55700,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 @@ -55641,8 +55879,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 @@ -57130,6 +57376,14 @@ msgstr "" 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." @@ -58170,6 +58424,12 @@ msgid "" "theme has [code]node_type[/code]." 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 "" @@ -58309,6 +58569,17 @@ msgid "" "future version." 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 " @@ -58357,6 +58628,12 @@ msgid "" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." 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 " @@ -58452,6 +58729,20 @@ msgid "" "Creates [code]node_type[/code] if the theme does not have it." 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 " @@ -60627,7 +60918,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 "" @@ -60668,9 +60959,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 diff --git a/doc/translations/tr.po b/doc/translations/tr.po index f08c6a8e635..39cd3b64ef9 100644 --- a/doc/translations/tr.po +++ b/doc/translations/tr.po @@ -4099,6 +4099,15 @@ msgid "" "Else\"[/code]." 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 " @@ -5612,8 +5621,9 @@ msgid "" msgstr "" #: doc/classes/AnimationNode.xml -msgid "Returns [code]true[/code] whether a given path is filtered." -msgstr "" +#, fuzzy +msgid "Returns whether the given path is filtered." +msgstr "Verilen değerin tanjantını döndürür." #: doc/classes/AnimationNode.xml msgid "" @@ -5637,7 +5647,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 "" @@ -5646,7 +5656,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 @@ -10257,26 +10267,10 @@ msgid "" "[code]at_position[/code]." 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 "" @@ -10433,6 +10427,16 @@ msgstr "" msgid "Number of available audio buses." 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]). " @@ -13521,6 +13525,18 @@ msgstr "" msgid "Returns the RID of the canvas used by this layer." 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[/" @@ -16361,8 +16377,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 " @@ -17118,6 +17135,25 @@ msgid "" "all its [Control] children use." 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 "" @@ -23800,7 +23836,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 @@ -25908,8 +25959,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 @@ -26179,7 +26231,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 @@ -32726,7 +32783,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 @@ -33106,8 +33168,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 @@ -34946,6 +35012,15 @@ msgstr "" msgid "Returns the [Transform2D] of a specific instance." 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 " @@ -34959,6 +35034,18 @@ msgid "" "code] is stored as 4 floats." 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 " @@ -35002,6 +35089,16 @@ msgstr "" 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 "" @@ -35054,6 +35151,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 "" @@ -37380,6 +37489,25 @@ msgid "" "Returns [code]true[/code] if the local system is the master of this node." 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 " @@ -37550,6 +37678,21 @@ msgid "" "normally)." 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 " @@ -37650,6 +37793,14 @@ msgid "" "peer is recursively set as the master for all children of this node." 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 " @@ -37900,6 +38051,12 @@ msgid "" "node enters tree, instead of only once." 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 " @@ -38889,8 +39046,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 @@ -39683,7 +39840,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 @@ -47557,6 +47726,17 @@ msgid "" "below 30 FPS." 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 " @@ -47569,8 +47749,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 @@ -48083,14 +48265,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 @@ -48219,8 +48406,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 @@ -52163,6 +52350,13 @@ msgid "" "_input] will not be called anymore in nodes." 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 " @@ -53416,6 +53610,18 @@ msgstr "" msgid "All 3D Demos" 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 " @@ -55255,7 +55461,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 "" @@ -55269,7 +55475,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 "" @@ -55944,7 +56150,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 @@ -56207,7 +56418,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 @@ -56230,11 +56450,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 @@ -56283,14 +56516,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 @@ -56460,8 +56695,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 @@ -57954,6 +58197,16 @@ msgstr "" msgid "Returns the total width of all gutters and internal padding." msgstr "Parametrenin kosinüsünü döndürür." +#: doc/classes/TextEdit.xml +#, fuzzy +msgid "Returns the total amount of lines that could be drawn." +msgstr "Verilen değerin zıt değerini döndürür." + +#: doc/classes/TextEdit.xml +#, fuzzy +msgid "Returns the number of visible lines, including wrapped text." +msgstr "İki vektörün kalanını döndürür." + #: doc/classes/TextEdit.xml msgid "" "Returns a [String] text with the word under the caret (text cursor) location." @@ -58994,6 +59247,12 @@ msgid "" "theme has [code]node_type[/code]." 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 "" @@ -59133,6 +59392,18 @@ msgid "" "future version." 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 +#, fuzzy +msgid "" +"Returns a list of all type variations for the given [code]base_type[/code]." +msgstr "İki vektörün kalanını döndürür." + #: doc/classes/Theme.xml msgid "" "Returns [code]true[/code] if [Color] with [code]name[/code] is in " @@ -59181,6 +59452,12 @@ msgid "" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." 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 " @@ -59276,6 +59553,20 @@ msgid "" "Creates [code]node_type[/code] if the theme does not have it." 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 " @@ -61454,7 +61745,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 "" @@ -61496,10 +61787,9 @@ msgid "" msgstr "Verilen değerin sinüsünü döndürür." #: 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." -msgstr "" +#, fuzzy +msgid "Returns the number of buttons in column [code]column[/code]." +msgstr "Verilen değerin sinüsünü döndürür." #: doc/classes/TreeItem.xml #, fuzzy diff --git a/doc/translations/uk.po b/doc/translations/uk.po index 0eed155e80d..9f268b548f0 100644 --- a/doc/translations/uk.po +++ b/doc/translations/uk.po @@ -15,8 +15,8 @@ msgid "" msgstr "" "Project-Id-Version: Godot Engine class reference\n" "Report-Msgid-Bugs-To: https://github.com/godotengine/godot\n" -"PO-Revision-Date: 2022-01-29 12:53+0000\n" -"Last-Translator: Vladyslav Anisimov \n" +"PO-Revision-Date: 2022-02-16 16:37+0000\n" +"Last-Translator: Yuri Chornoivan \n" "Language-Team: Ukrainian \n" "Language: uk\n" @@ -73,7 +73,6 @@ msgid "Theme Property Descriptions" msgstr "Описи Властивостей Теми" #: doc/tools/make_rst.py -#, fuzzy msgid "Inherits:" msgstr "Успадковує:" @@ -88,9 +87,8 @@ msgid "(overrides %s)" msgstr "(перевизначає %s)" #: doc/tools/make_rst.py -#, fuzzy msgid "Default" -msgstr "За замовчуванням" +msgstr "Типовий" #: doc/tools/make_rst.py #, fuzzy @@ -3478,6 +3476,15 @@ msgid "" "Else\"[/code]." 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 " @@ -4991,8 +4998,9 @@ msgid "" msgstr "" #: doc/classes/AnimationNode.xml -msgid "Returns [code]true[/code] whether a given path is filtered." -msgstr "" +#, fuzzy +msgid "Returns whether the given path is filtered." +msgstr "Повертає тангенс параметра." #: doc/classes/AnimationNode.xml msgid "" @@ -5016,7 +5024,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 "" @@ -5025,7 +5033,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 @@ -9642,26 +9650,10 @@ msgid "" "[code]at_position[/code]." 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 "" @@ -9818,6 +9810,16 @@ msgstr "" msgid "Number of available audio buses." 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]). " @@ -12901,6 +12903,18 @@ msgstr "" msgid "Returns the RID of the canvas used by this layer." 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[/" @@ -15740,8 +15754,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 " @@ -16497,6 +16512,25 @@ msgid "" "all its [Control] children use." 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 "" @@ -23177,7 +23211,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 @@ -25281,8 +25330,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 @@ -25552,7 +25602,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 @@ -32101,7 +32156,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 @@ -32481,8 +32541,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 @@ -34321,6 +34385,15 @@ msgstr "" msgid "Returns the [Transform2D] of a specific instance." 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 " @@ -34334,6 +34407,18 @@ msgid "" "code] is stored as 4 floats." 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 " @@ -34377,6 +34462,16 @@ msgstr "" 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 "" @@ -34429,6 +34524,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 "" @@ -36751,6 +36858,25 @@ msgid "" "Returns [code]true[/code] if the local system is the master of this node." 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 " @@ -36921,6 +37047,21 @@ msgid "" "normally)." 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 " @@ -37021,6 +37162,14 @@ msgid "" "peer is recursively set as the master for all children of this node." 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 " @@ -37271,6 +37420,12 @@ msgid "" "node enters tree, instead of only once." 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 " @@ -38260,8 +38415,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 @@ -39054,7 +39209,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 @@ -46919,6 +47086,17 @@ msgid "" "below 30 FPS." 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 " @@ -46931,8 +47109,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 @@ -47445,14 +47625,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 @@ -47581,8 +47766,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 @@ -51518,6 +51703,13 @@ msgid "" "_input] will not be called anymore in nodes." 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 " @@ -52772,6 +52964,18 @@ msgstr "" msgid "All 3D Demos" 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 " @@ -54610,7 +54814,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 "" @@ -54624,7 +54828,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 "" @@ -55299,7 +55503,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 @@ -55562,7 +55771,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 @@ -55585,11 +55803,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 @@ -55638,14 +55869,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 @@ -55815,8 +56048,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 @@ -57310,6 +57551,16 @@ msgstr "" 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 "Повертає значення, яке є протилежним до значення параметра." + +#: doc/classes/TextEdit.xml +#, fuzzy +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." @@ -58348,6 +58599,12 @@ msgid "" "theme has [code]node_type[/code]." 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 "" @@ -58488,6 +58745,18 @@ msgid "" "future version." 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 +#, fuzzy +msgid "" +"Returns a list of all type variations for the given [code]base_type[/code]." +msgstr "Обчислює векторний добуток цього вектора і [code]b[/code]." + #: doc/classes/Theme.xml msgid "" "Returns [code]true[/code] if [Color] with [code]name[/code] is in " @@ -58536,6 +58805,13 @@ msgid "" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." msgstr "" +#: 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]with[/code]." + #: doc/classes/Theme.xml msgid "" "Adds missing and overrides existing definitions with values from the " @@ -58631,6 +58907,20 @@ msgid "" "Creates [code]node_type[/code] if the theme does not have it." 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 " @@ -60809,7 +61099,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 "" @@ -60851,10 +61141,9 @@ msgid "" msgstr "Обчислює векторний добуток цього вектора і [code]b[/code]." #: 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." -msgstr "" +#, fuzzy +msgid "Returns the number of buttons in column [code]column[/code]." +msgstr "Обчислює векторний добуток цього вектора і [code]b[/code]." #: doc/classes/TreeItem.xml #, fuzzy diff --git a/doc/translations/vi.po b/doc/translations/vi.po index 1c0c455fec9..94b26a92d67 100644 --- a/doc/translations/vi.po +++ b/doc/translations/vi.po @@ -4,7 +4,7 @@ # This file is distributed under the same license as the Godot source code. # # Rev , 2021. -# IoeCmcomc , 2021. +# IoeCmcomc , 2021, 2022. # Hung , 2021. # Giacat Buile , 2021. # Quinn Le , 2021. @@ -12,8 +12,8 @@ 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-12 13:49+0000\n" -"Last-Translator: Quinn Le \n" +"PO-Revision-Date: 2022-02-26 10:27+0000\n" +"Last-Translator: IoeCmcomc \n" "Language-Team: Vietnamese \n" "Language: vi\n" @@ -21,7 +21,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8-bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Weblate 4.9.1-dev\n" +"X-Generator: Weblate 4.11.1-dev\n" #: doc/tools/make_rst.py msgid "Description" @@ -53,7 +53,7 @@ msgstr "Liệt kê" #: doc/tools/make_rst.py msgid "Constants" -msgstr "Hằng số" +msgstr "Hằng" #: doc/tools/make_rst.py msgid "Property Descriptions" @@ -64,25 +64,24 @@ msgid "Method Descriptions" msgstr "Mô tả phương thức" #: doc/tools/make_rst.py -#, fuzzy msgid "Theme Property Descriptions" -msgstr "Nội dung Thuộc tính" +msgstr "Mô tả thuộc tính chủ đề" #: doc/tools/make_rst.py msgid "Inherits:" -msgstr "" +msgstr "Kế thừa:" #: doc/tools/make_rst.py msgid "Inherited By:" -msgstr "" +msgstr "Được kế thừa bởi:" #: doc/tools/make_rst.py msgid "(overrides %s)" -msgstr "" +msgstr "(ghi đè %s)" #: doc/tools/make_rst.py msgid "Default" -msgstr "" +msgstr "Mặc định" #: doc/tools/make_rst.py msgid "Setter" @@ -90,7 +89,7 @@ msgstr "" #: doc/tools/make_rst.py msgid "value" -msgstr "" +msgstr "giá trị" #: doc/tools/make_rst.py msgid "Getter" @@ -99,22 +98,26 @@ msgstr "" #: doc/tools/make_rst.py msgid "" "This method should typically be overridden by the user to have any effect." -msgstr "" +msgstr "Phương thức này nên được người dùng ghi đè để có tác dụng." #: doc/tools/make_rst.py msgid "" "This method has no side effects. It doesn't modify any of the instance's " "member variables." msgstr "" +"Phương thức này không có tác dụng phụ. Nó không sửa đổi bất cứ biến thành " +"viên nào của hiện thể cả." #: doc/tools/make_rst.py msgid "" "This method accepts any number of arguments after the ones described here." msgstr "" +"Phương thức này chấp nhận bất kì số đối số nào sau những cái đã được mô tả ở " +"đây." #: doc/tools/make_rst.py msgid "This method is used to construct a type." -msgstr "" +msgstr "Phương thức này được dùng để tạo một kiểu." #: doc/tools/make_rst.py msgid "" @@ -181,7 +184,6 @@ msgstr "" "Những tên mày được hỗ trợ giống với các hằng số ở trong [Màu]." #: modules/gdscript/doc_classes/@GDScript.xml -#, fuzzy msgid "" "Returns the absolute value of parameter [code]s[/code] (i.e. positive " "value).\n" @@ -189,8 +191,7 @@ msgid "" "a = abs(-1) # a is 1\n" "[/codeblock]" msgstr "" -"Trả về giá trị tuyệt đối của tham số [code]s[/code] (nghĩa là giá trị " -"dương).\n" +"Trả về giá trị tuyệt đối của tham số [code]s[/code] (v.d. giá trị dương).\n" "[codeblock]\n" "# a là 1\n" "a = abs(-1)\n" @@ -3754,6 +3755,15 @@ msgid "" "Else\"[/code]." 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 " @@ -5290,8 +5300,9 @@ msgid "" msgstr "" #: doc/classes/AnimationNode.xml -msgid "Returns [code]true[/code] whether a given path is filtered." -msgstr "" +#, fuzzy +msgid "Returns whether the given path is filtered." +msgstr "Trả về [Texture2D] của khung hình được cho." #: doc/classes/AnimationNode.xml msgid "" @@ -5315,7 +5326,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 "" @@ -5324,7 +5335,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 @@ -9936,26 +9947,10 @@ msgid "" "[code]at_position[/code]." 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 "" @@ -10112,6 +10107,16 @@ msgstr "" msgid "Number of available audio buses." 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]). " @@ -13196,6 +13201,18 @@ msgstr "" msgid "Returns the RID of the canvas used by this layer." 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[/" @@ -16037,8 +16054,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 " @@ -16794,6 +16812,25 @@ msgid "" "all its [Control] children use." 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 "" @@ -23475,7 +23512,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 @@ -25579,8 +25631,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 @@ -25850,7 +25903,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 @@ -32394,7 +32452,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 @@ -32774,8 +32837,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 @@ -34614,6 +34681,15 @@ msgstr "" msgid "Returns the [Transform2D] of a specific instance." 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 " @@ -34627,6 +34703,18 @@ msgid "" "code] is stored as 4 floats." 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 " @@ -34670,6 +34758,16 @@ msgstr "" 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 "" @@ -34722,6 +34820,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 "" @@ -37046,6 +37156,25 @@ msgid "" "Returns [code]true[/code] if the local system is the master of this node." 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 " @@ -37216,6 +37345,21 @@ msgid "" "normally)." 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 " @@ -37316,6 +37460,14 @@ msgid "" "peer is recursively set as the master for all children of this node." 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 " @@ -37566,6 +37718,12 @@ msgid "" "node enters tree, instead of only once." 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 " @@ -38555,8 +38713,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 @@ -39349,7 +39507,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 @@ -47225,6 +47395,17 @@ msgid "" "below 30 FPS." 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 " @@ -47237,8 +47418,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 @@ -47751,14 +47934,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 @@ -47887,8 +48075,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 @@ -51829,6 +52017,13 @@ msgid "" "_input] will not be called anymore in nodes." 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 " @@ -53084,6 +53279,18 @@ msgstr "" msgid "All 3D Demos" 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 " @@ -54923,7 +55130,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 "" @@ -54937,7 +55144,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 "" @@ -55612,7 +55819,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 @@ -55875,7 +56087,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 @@ -55898,11 +56119,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 @@ -55951,14 +56185,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 @@ -56128,8 +56364,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 @@ -57622,6 +57866,16 @@ msgstr "" msgid "Returns the total width of all gutters and internal padding." msgstr "Trả về côsin của tham số." +#: doc/classes/TextEdit.xml +#, fuzzy +msgid "Returns the total amount of lines that could be drawn." +msgstr "Trả về giá trị đối của tham số." + +#: doc/classes/TextEdit.xml +#, fuzzy +msgid "Returns the number of visible lines, including wrapped text." +msgstr "Trả về phần dư của hai vector." + #: doc/classes/TextEdit.xml msgid "" "Returns a [String] text with the word under the caret (text cursor) location." @@ -58662,6 +58916,12 @@ msgid "" "theme has [code]node_type[/code]." 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 "" @@ -58801,6 +59061,18 @@ msgid "" "future version." 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 +#, fuzzy +msgid "" +"Returns a list of all type variations for the given [code]base_type[/code]." +msgstr "Trả về phần dư của hai vector." + #: doc/classes/Theme.xml msgid "" "Returns [code]true[/code] if [Color] with [code]name[/code] is in " @@ -58849,6 +59121,12 @@ msgid "" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." 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 " @@ -58944,6 +59222,20 @@ msgid "" "Creates [code]node_type[/code] if the theme does not have it." 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 " @@ -61122,7 +61414,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 "" @@ -61164,10 +61456,9 @@ msgid "" msgstr "Trả về sin của tham số." #: 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." -msgstr "" +#, fuzzy +msgid "Returns the number of buttons in column [code]column[/code]." +msgstr "Trả về sin của tham số." #: doc/classes/TreeItem.xml #, fuzzy @@ -70556,11 +70847,11 @@ msgstr "" #: doc/classes/VisualShaderNodeVectorFunc.xml msgid "Converts RGB vector to HSV equivalent." -msgstr "Chuyển vector màu RGB sang HSV tương ứng." +msgstr "Chuyển véc tơ màu RGB sang HSV tương ứng." #: doc/classes/VisualShaderNodeVectorFunc.xml msgid "Converts HSV vector to RGB equivalent." -msgstr "Chuyển vector màu HSV sang RGB tương ứng." +msgstr "Chuyển véc tơ màu HSV sang RGB tương ứng." #: doc/classes/VisualShaderNodeVectorFunc.xml msgid "Returns the absolute value of the parameter." diff --git a/doc/translations/zh_CN.po b/doc/translations/zh_CN.po index fdd36621c75..43706eb1800 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-02-14 22:08+0000\n" +"PO-Revision-Date: 2022-03-08 06:54+0000\n" "Last-Translator: Haoyu Qiu \n" "Language-Team: Chinese (Simplified) \n" @@ -71,7 +71,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8-bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Weblate 4.11-dev\n" +"X-Generator: Weblate 4.12-dev\n" #: doc/tools/make_rst.py msgid "Description" @@ -4180,6 +4180,15 @@ msgstr "" "通过一个提示串,提示一个整数、浮点或字符串属性是枚举值,枚举值取值来自于形如" "[code]\"Hello,Something,Else\"[/code]的提示串。" +#: 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 " @@ -4631,18 +4640,17 @@ msgstr "" #: doc/classes/Transform.xml doc/classes/Transform2D.xml #: doc/classes/Vector2.xml doc/classes/Vector3.xml msgid "Math tutorial index" -msgstr "" +msgstr "数学教程索引" #: doc/classes/AABB.xml doc/classes/Rect2.xml doc/classes/Vector2.xml #: doc/classes/Vector3.xml -#, fuzzy msgid "Vector math" -msgstr "用于二维数学的向量。" +msgstr "向量数学" #: doc/classes/AABB.xml doc/classes/Rect2.xml doc/classes/Vector2.xml #: doc/classes/Vector3.xml msgid "Advanced vector math" -msgstr "" +msgstr "高等向量数学" #: doc/classes/AABB.xml msgid "Constructs an [AABB] from a position and size." @@ -5081,7 +5089,7 @@ msgstr "" #: doc/classes/AnimatedSprite.xml doc/classes/AnimationPlayer.xml msgid "2D Sprite animation" -msgstr "" +msgstr "2D 精灵动画" #: doc/classes/AnimatedSprite.xml doc/classes/Area2D.xml #: doc/classes/AudioStreamPlayer.xml doc/classes/Button.xml @@ -5091,7 +5099,7 @@ msgstr "" #: doc/classes/Particles2D.xml doc/classes/Timer.xml #: doc/classes/VisibilityNotifier2D.xml msgid "2D Dodge The Creeps Demo" -msgstr "" +msgstr "2D Dodge The Creeps 演示" #: doc/classes/AnimatedSprite.xml msgid "" @@ -5179,7 +5187,7 @@ msgstr "" #: doc/classes/AnimatedSprite3D.xml msgid "2D Sprite animation (also applies to 3D)" -msgstr "" +msgstr "2D 精灵动画(也适用于 3D)" #: doc/classes/AnimatedSprite3D.xml msgid "Returns [code]true[/code] if an animation is currently being played." @@ -5861,7 +5869,7 @@ msgstr "" #: doc/classes/AnimationNode.xml msgid "Base resource for [AnimationTree] nodes." -msgstr "[AnimationTree]节点的基础资源。" +msgstr "[AnimationTree] 节点的基础资源。" #: doc/classes/AnimationNode.xml msgid "" @@ -5889,8 +5897,8 @@ msgid "" "passed, as well as whether [code]seek[/code] happened." msgstr "" "按 [code]blend[/code] 量混合一个动画(名称必须在链接的 [AnimationPlayer] 中有" -"效)。可以通过 [code]time[/code] 和 [code]delta[/code],以及是否发生 " -"[code]seek[/code]。" +"效)。可以传入时间 [code]time[/code] 和增量 [code]delta[/code],以及表示是否" +"发生寻道的 [code]seek[/code]。" #: doc/classes/AnimationNode.xml msgid "" @@ -5900,9 +5908,10 @@ msgid "" "absolute. A filter mode may be optionally passed (see [enum FilterAction] " "for options)." msgstr "" -"混合一个输入。这只对为 [AnimationNodeBlendTree] 创建的节点有用。[code]time[/" -"code] 参数是一个相对三角,除非 [code]seek[/code] 是 [code]true[/code],在这种" -"情况下,它是绝对值。可以选择传递过滤模式(选项请参阅 [enum FilterAction])。" +"混合一个输入。这只对为 [AnimationNodeBlendTree] 创建的节点有用。时间参数 " +"[code]time[/code] 是一个相对的增量,除非 [code]seek[/code] 是 [code]true[/" +"code],此时它是绝对的时间。可以选择传递过滤模式(选项请参阅 [enum " +"FilterAction])。" #: doc/classes/AnimationNode.xml msgid "" @@ -5911,8 +5920,7 @@ msgid "" "instead, else editors will not display your node for addition." msgstr "" "混合另一个动画节点(在这个节点包含子动画节点的情况下)。这个函数只有在你继承 " -"[AnimationRootNode] 而不是 [AnimationRootNode] 时才有用,否则编辑器将不会显示" -"你的节点进行添加。" +"[AnimationRootNode] 时才有用,否则编辑器将不会显示你的节点进行添加。" #: doc/classes/AnimationNode.xml msgid "Gets the text caption for this node (used by some editors)." @@ -5936,7 +5944,7 @@ msgstr "" msgid "" "Amount of inputs in this node, only useful for nodes that go into " "[AnimationNodeBlendTree]." -msgstr "这个节点的输入数量,只对进入[AnimationNodeBlendTree]的节点有用。" +msgstr "这个节点的输入数量,只对进入 [AnimationNodeBlendTree] 的节点有用。" #: doc/classes/AnimationNode.xml msgid "Gets the name of an input by index." @@ -5974,7 +5982,8 @@ msgid "" msgstr "返回[code]true[/code],是否希望混合树编辑器在此节点上显示过滤器编辑。" #: doc/classes/AnimationNode.xml -msgid "Returns [code]true[/code] whether a given path is filtered." +#, fuzzy +msgid "Returns whether the given path is filtered." msgstr "返回[code]true[/code]是否对指定路径进行过滤。" #: doc/classes/AnimationNode.xml @@ -5988,12 +5997,11 @@ msgid "" "This function should return the time left for the current animation to " "finish (if unsure, pass the value from the main blend being called)." msgstr "" -"当一个自定义节点被处理时,用户定义的回调被调用。[code]time[/code]参数是一个相" -"对的delta,除非[code]seek[/code]是[code]true[/code],在这种情况下,它是绝对" -"的。\n" -"在这里,调用[method blend_input]、[method blend_node]或[method " -"blend_animation]函数。你也可以使用[method get_parameter]和[method " -"set_parameter]来修改本地存储。\n" +"用户定义的回调,会在处理自定义节点时调用。时间参数 [code]time[/code] 是一个相" +"对的增量,除非 [code]seek[/code] 是 [code]true[/code],此时它是绝对的时间。\n" +"请在这里调用 [method blend_input]、[method blend_node] 或 [method " +"blend_animation] 函数。你也可以使用 [method get_parameter] 和 [method " +"set_parameter] 来修改本地存储。\n" "这个函数应该返回当前动画完成的剩余时间(如果不确定,请传递被调用的主混合" "值)。" @@ -6006,8 +6014,9 @@ 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 storage, because resources " +"Sets a custom parameter. These are used as local memory, because resources " "can be reused across the tree or scenes." msgstr "" "设置一个自定义参数。这些参数被用作本地存储,因为资源可以在树或场景中重复使" @@ -6015,10 +6024,11 @@ msgstr "" #: doc/classes/AnimationNode.xml msgid "If [code]true[/code], filtering is enabled." -msgstr "如果[code]true[/code],则启用过滤功能。" +msgstr "如果为 [code]true[/code],则启用筛选功能。" #: doc/classes/AnimationNode.xml -msgid "Called when the node was removed from the graph." +#, fuzzy +msgid "Emitted when the node was removed from the graph." msgstr "当该节点从图中删除时调用。" #: doc/classes/AnimationNode.xml @@ -6034,23 +6044,23 @@ msgstr "" #: doc/classes/AnimationNode.xml msgid "Do not use filtering." -msgstr "不要使用过滤功能。" +msgstr "不要使用筛选功能。" #: doc/classes/AnimationNode.xml msgid "Paths matching the filter will be allowed to pass." -msgstr "匹配过滤器的路径将被允许通过。" +msgstr "与筛选器匹配的路径将被允许通过。" #: doc/classes/AnimationNode.xml msgid "Paths matching the filter will be discarded." -msgstr "与过滤器匹配的路径将被丢弃。" +msgstr "与筛选器匹配的路径将被丢弃。" #: doc/classes/AnimationNode.xml msgid "Paths matching the filter will be blended (by the blend value)." -msgstr "与滤镜相匹配的路径将被混合(根据混合值)。" +msgstr "与筛选器匹配的路径将被混合(根据混合值)。" #: doc/classes/AnimationNodeAdd2.xml msgid "Blends two animations additively inside of an [AnimationNodeBlendTree]." -msgstr "在一个[AnimationNodeBlendTree]中加法地混合两个动画。" +msgstr "在 [AnimationNodeBlendTree] 中加法地混合两个动画。" #: doc/classes/AnimationNodeAdd2.xml msgid "" @@ -6074,7 +6084,7 @@ msgstr "" msgid "" "Blends two of three animations additively inside of an " "[AnimationNodeBlendTree]." -msgstr "在[AnimationNodeBlendTree]内部将三个动画中的两个动画相加。" +msgstr "在 [AnimationNodeBlendTree] 中将三个动画中的两个动画相加。" #: doc/classes/AnimationNodeAdd3.xml msgid "" @@ -6101,9 +6111,8 @@ msgstr "" #: doc/classes/AnimationNodeOneShot.xml doc/classes/AnimationNodeOutput.xml #: doc/classes/AnimationNodeTimeScale.xml #: doc/classes/AnimationNodeTransition.xml -#, fuzzy msgid "AnimationTree" -msgstr "Animation节点。" +msgstr "AnimationTree" #: doc/classes/AnimationNodeAdd3.xml doc/classes/AnimationNodeAnimation.xml #: doc/classes/AnimationNodeBlend2.xml @@ -6119,11 +6128,11 @@ msgstr "Animation节点。" #: doc/classes/Quat.xml doc/classes/Skeleton.xml doc/classes/SpotLight.xml #: doc/classes/StaticBody.xml doc/classes/WorldEnvironment.xml msgid "Third Person Shooter Demo" -msgstr "" +msgstr "第三人称射击演示" #: doc/classes/AnimationNodeAnimation.xml msgid "Input animation to use in an [AnimationNodeBlendTree]." -msgstr "输入要在[AnimationNodeBlendTree]中使用的动画。" +msgstr "输入要在 [AnimationNodeBlendTree] 中使用的动画。" #: doc/classes/AnimationNodeAnimation.xml msgid "" @@ -6143,7 +6152,7 @@ msgstr "" #: doc/classes/MeshInstance.xml doc/classes/MeshLibrary.xml #: doc/classes/ProjectSettings.xml doc/classes/Transform.xml msgid "3D Platformer Demo" -msgstr "" +msgstr "3D 平台跳跃演示" #: doc/classes/AnimationNodeAnimation.xml msgid "" @@ -6423,14 +6432,14 @@ msgstr "" #: doc/classes/AnimationNodeBlendTree.xml msgid "[AnimationTree] node resource that contains many blend type nodes." -msgstr "[AnimationTree]节点资源,其中包含许多混合类型节点。" +msgstr "[AnimationTree] 节点资源,其中包含许多混合类型节点。" #: doc/classes/AnimationNodeBlendTree.xml msgid "" "This node may contain a sub-tree of any other blend type nodes, such as mix, " "blend2, blend3, one shot, etc. This is one of the most commonly used roots." msgstr "" -"该节点可以包含任何其他混合类型节点的子树,例如mix,blend2,blend3,一个shot" +"该节点可以包含任何其他混合类型节点的子树,例如 mix、blend2、blend3、one shot " "等。这是最常用的根之一。" #: doc/classes/AnimationNodeBlendTree.xml @@ -6438,7 +6447,7 @@ msgid "" "Adds an [AnimationNode] at the given [code]position[/code]. The [code]name[/" "code] is used to identify the created sub-node later." msgstr "" -"在给定的 [code]position[/code] 添加一个 [AnimationNode]。[code]name[/code]用" +"在给定的 [code]position[/code] 添加一个 [AnimationNode]。[code]name[/code] 用" "于以后识别创建的子节点。" #: doc/classes/AnimationNodeBlendTree.xml @@ -6455,18 +6464,18 @@ msgstr "断开连接到指定输入端的节点。" #: doc/classes/AnimationNodeBlendTree.xml msgid "Returns the sub-node with the specified [code]name[/code]." -msgstr "返回带有指定[code]name[/code]的子节点。" +msgstr "返回名称为 [code]name[/code] 的子节点。" #: doc/classes/AnimationNodeBlendTree.xml msgid "" "Returns the position of the sub-node with the specified [code]name[/code]." -msgstr "返回指定[code]name[/code]的子节点的位置。" +msgstr "返回名称为 [code]name[/code] 的子节点的位置。" #: doc/classes/AnimationNodeBlendTree.xml msgid "" "Returns [code]true[/code] if a sub-node with specified [code]name[/code] " "exists." -msgstr "如果存在指定[code]name[/code]的子节点,返回[code]true[/code]。" +msgstr "如果存在名称为 [code]name[/code] 的子节点,则返回 [code]true[/code]。" #: doc/classes/AnimationNodeBlendTree.xml msgid "Removes a sub-node." @@ -6494,7 +6503,7 @@ msgstr "输入节点为 [code]null[/code]。" #: doc/classes/AnimationNodeBlendTree.xml msgid "The specified input port is out of range." -msgstr "指定的输入端口已出范围。" +msgstr "指定的输入端口超出范围。" #: doc/classes/AnimationNodeBlendTree.xml msgid "The output node is [code]null[/code]." @@ -6502,7 +6511,7 @@ msgstr "输出节点为 [code]null[/code]。" #: doc/classes/AnimationNodeBlendTree.xml msgid "Input and output nodes are the same." -msgstr "输入和输出节点是一样的。" +msgstr "输入和输出节点相同。" #: doc/classes/AnimationNodeBlendTree.xml msgid "The specified connection already exists." @@ -6892,9 +6901,8 @@ msgstr "" "更新动画的目标属性是在处理时进行的。" #: doc/classes/AnimationPlayer.xml -#, fuzzy msgid "Animation tutorial index" -msgstr "Animation节点。" +msgstr "动画教程索引" #: doc/classes/AnimationPlayer.xml msgid "" @@ -7243,9 +7251,8 @@ msgstr "" "画。" #: doc/classes/AnimationTree.xml -#, fuzzy msgid "Using AnimationTree" -msgstr "重置此 [AnimationTreePlayer]。" +msgstr "使用 AnimationTree" #: doc/classes/AnimationTree.xml msgid "Manually advance the animations by the specified time (in seconds)." @@ -7784,7 +7791,7 @@ msgstr "" #: doc/classes/Area.xml doc/classes/QuadMesh.xml doc/classes/Viewport.xml #: doc/classes/ViewportTexture.xml msgid "GUI in 3D Demo" -msgstr "" +msgstr "3D GUI 演示" #: doc/classes/Area.xml msgid "" @@ -8101,18 +8108,18 @@ msgstr "" #: doc/classes/Area2D.xml msgid "Using Area2D" -msgstr "" +msgstr "使用 Area2D" #: doc/classes/Area2D.xml doc/classes/CollisionShape2D.xml #: doc/classes/RectangleShape2D.xml msgid "2D Pong Demo" -msgstr "" +msgstr "2D Pong 演示" #: doc/classes/Area2D.xml doc/classes/Camera2D.xml #: doc/classes/KinematicBody2D.xml doc/classes/TileMap.xml #: doc/classes/TileSet.xml msgid "2D Platformer Demo" -msgstr "" +msgstr "2D 平台跳跃演示" #: doc/classes/Area2D.xml msgid "" @@ -8684,7 +8691,6 @@ msgstr "" "[/codeblock]" #: doc/classes/Array.xml -#, fuzzy msgid "" "Returns a hashed 32-bit integer value representing the array and its " "contents.\n" @@ -8693,9 +8699,10 @@ msgid "" "does [i]not[/i] imply the arrays are equal, because different arrays can " "have identical hash values due to hash collisions." msgstr "" -"返回代表这个数组及其内容的整数哈希值。\n" -"[b]注意:[/b]仅仅内容相同的数组会产生不同的哈希值, 必须要完全一致的数组才会产" -"生相同的哈希值." +"返回代表该数组及其内容的 32 位整数哈希值。\n" +"[b]注意:[/b]内容相同的 [Array] 会得到一致的哈希值。然而,反之不然。返回一致" +"的哈希值[i]并不[/i]意味着数组相等,因为不同的数组可能因为哈希碰撞而得到一致的" +"哈希值。" #: doc/classes/Array.xml msgid "" @@ -10507,7 +10514,7 @@ msgstr "使用二维向量作为边缘的AStar类表示。" msgid "" "This is a wrapper for the [AStar] class which uses 2D vectors instead of 3D " "vectors." -msgstr "这是[AStar]类的包装,该类使用2D向量而不是3D向量。" +msgstr "这是 [AStar] 类的包装,该类使用 2D 向量而不是 3D 向量。" #: doc/classes/AStar2D.xml msgid "" @@ -10780,9 +10787,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 "音频频谱演示" +msgstr "音频麦克风录音演示" #: doc/classes/AudioEffectAmplify.xml msgid "" @@ -11120,7 +11126,7 @@ msgstr "" #: doc/classes/AudioEffectHighShelfFilter.xml #: doc/classes/AudioEffectLowShelfFilter.xml doc/classes/AudioServer.xml msgid "Audio buses" -msgstr "" +msgstr "音频总线" #: doc/classes/AudioEffectDistortion.xml msgid "Distortion power. Value can range from 0 to 1." @@ -11606,7 +11612,7 @@ msgstr "" #: doc/classes/AudioEffectRecord.xml msgid "Recording with microphone" -msgstr "" +msgstr "使用麦克风录音" #: doc/classes/AudioEffectRecord.xml msgid "Returns the recorded sample." @@ -11761,9 +11767,8 @@ msgstr "" "频)以及通过语音接口进行播放。" #: doc/classes/AudioServer.xml doc/classes/AudioStreamPlayer.xml -#, fuzzy msgid "Audio Device Changer Demo" -msgstr "音频频谱演示" +msgstr "音频设备切换演示" #: doc/classes/AudioServer.xml msgid "Adds a bus at [code]at_position[/code]." @@ -11777,27 +11782,10 @@ msgstr "" "为索引为 [code]bus_idx[/code] 的总线在 [code]at_position[/code] 处添加 " "[AudioEffect] 效果。" -#: doc/classes/AudioServer.xml -#, fuzzy -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 "当前音频输入设备的名称(参阅[method capture_get_device_list])。" - #: 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 "使用可用的总线和效果生成[AudioBusLayout]。" @@ -11971,6 +11959,21 @@ msgstr "解锁音频驱动程序的主循环。(锁定后,你始终需要手 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), " +"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 "" +"当前音频输出设备名称(见 [method get_device_list])。在具有多个音频输出的系统" +"中(例如模拟、USB、HDMI 音频),可用于选择音频输出设备。将值设为 " +"[code]\"Default\"[/code] 则会从系统默认的音频输出播放音频。如果设置了无效的设" +"备名称,该值会被恢复为 [code]\"Default\"[/code]。" + #: doc/classes/AudioServer.xml msgid "" "Name of the current device for audio output (see [method get_device_list]). " @@ -11980,6 +11983,10 @@ msgid "" "output. 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] 则会从系统默认的音频输出播放音频。如果设置了无效的设" +"备名称,该值会被恢复为 [code]\"Default\"[/code]。" #: doc/classes/AudioServer.xml msgid "" @@ -12022,16 +12029,14 @@ msgstr "" "[AudioStreamSample])和 OGG(通过[AudioStreamOGGVorbis])文件格式。" #: doc/classes/AudioStream.xml doc/classes/AudioStreamPlayer.xml -#, fuzzy msgid "Audio streams" -msgstr "音频频谱演示" +msgstr "音频流" #: doc/classes/AudioStream.xml doc/classes/AudioStreamGenerator.xml #: doc/classes/AudioStreamGeneratorPlayback.xml #: doc/classes/AudioStreamPlayback.xml doc/classes/AudioStreamPlayer.xml -#, fuzzy msgid "Audio Generator Demo" -msgstr "音频频谱演示" +msgstr "音频生成器演示" #: doc/classes/AudioStream.xml msgid "Returns the length of the audio stream in seconds." @@ -12329,6 +12334,9 @@ msgid "" "\"water\" area so that sounds played in the water are redirected through an " "audio bus to make them sound like they are being played underwater." msgstr "" +"决定对混响及音频总线效果有影响的 [Area2D] 层。可使用区域对 [AudioStream] 进行" +"重定向,使其在特定的音频总线中播放。一个例子是可以用来制作“水域”,将水中播放" +"的声音重定向至单独的音频总线,让声音听起来像是在水下播放。" #: doc/classes/AudioStreamPlayer2D.xml msgid "Dampens audio over distance with this as an exponent." @@ -12386,6 +12394,9 @@ msgid "" "\"water\" area so that sounds played in the water are redirected through an " "audio bus to make them sound like they are being played underwater." msgstr "" +"决定对混响及音频总线效果有影响的 [Area] 层。可使用区域对 [AudioStream] 进行重" +"定向,使其在特定的音频总线中播放。一个例子是可以用来制作“水域”,将水中播放的" +"声音重定向至单独的音频总线,让声音听起来像是在水下播放。" #: doc/classes/AudioStreamPlayer3D.xml msgid "" @@ -12854,7 +12865,6 @@ msgstr "" "象。" #: doc/classes/BakedLightmap.xml -#, fuzzy msgid "" "Bias value to reduce the amount of light propagation in the captured octree." msgstr "偏置值,用于减少捕获的八叉树中的光传播量。" @@ -12934,7 +12944,6 @@ msgid "The calculated light data." msgstr "计算出的光照数据。" #: doc/classes/BakedLightmap.xml -#, fuzzy msgid "" "Determines the amount of samples per texel used in indirect light baking. " "The amount of samples for each quality level can be configured in the " @@ -13302,17 +13311,16 @@ msgstr "" #: doc/classes/Basis.xml doc/classes/Transform.xml doc/classes/Transform2D.xml msgid "Matrices and transforms" -msgstr "" +msgstr "矩阵与变换" #: doc/classes/Basis.xml doc/classes/Quat.xml doc/classes/Transform.xml -#, fuzzy msgid "Using 3D transforms" -msgstr "使用 3D 变换时使用此选项。" +msgstr "使用 3D 变换" #: doc/classes/Basis.xml doc/classes/Line2D.xml doc/classes/Transform.xml #: doc/classes/Transform2D.xml doc/classes/Vector2.xml doc/classes/Vector3.xml msgid "Matrix Transform Demo" -msgstr "" +msgstr "矩阵变换演示" #: doc/classes/Basis.xml doc/classes/CylinderShape.xml #: doc/classes/Dictionary.xml doc/classes/DynamicFont.xml @@ -13324,12 +13332,12 @@ msgstr "" #: doc/classes/TextureRect.xml doc/classes/Thread.xml #: doc/classes/VBoxContainer.xml msgid "3D Voxel Demo" -msgstr "" +msgstr "3D 体素演示" #: doc/classes/Basis.xml doc/classes/Line2D.xml doc/classes/Transform.xml #: doc/classes/Transform2D.xml msgid "2.5D Demo" -msgstr "" +msgstr "2.5D 演示" #: doc/classes/Basis.xml msgid "Constructs a pure rotation basis matrix from the given quaternion." @@ -13552,6 +13560,9 @@ msgid "" "are being converted into white pixels, and [code]false[/code] bits into " "black." msgstr "" +"返回与该位图尺寸一致的图像,格式 [enum Image.Format] 为 [code]FORMAT_L8[/" +"code]。该位图中为 [code]true[/code] 的位会被转为白色像素,为 [code]false[/" +"code] 的位会被转为黑色像素。" #: doc/classes/BitMap.xml msgid "" @@ -13596,9 +13607,8 @@ msgstr "" "grow_mask] 影响。" #: doc/classes/BitMap.xml -#, fuzzy msgid "Resizes the image to [code]new_size[/code]." -msgstr "使用颜色 [code]color[/code] 填充图像。" +msgstr "将图像修改为新尺寸 [code]new_size[/code]。" #: doc/classes/BitMap.xml msgid "" @@ -13940,14 +13950,14 @@ msgstr "3D 盒子形状,可以是 [PhysicsBody] 或 [Area] 的子项。" #: doc/classes/RigidBody.xml doc/classes/SphereShape.xml #: doc/classes/StaticBody.xml msgid "3D Physics Tests Demo" -msgstr "" +msgstr "3D 物理测试演示" #: doc/classes/BoxShape.xml doc/classes/CollisionShape.xml #: modules/gridmap/doc_classes/GridMap.xml doc/classes/KinematicBody.xml #: doc/classes/Mesh.xml doc/classes/MeshInstance.xml #: doc/classes/MeshLibrary.xml msgid "3D Kinematic Character Demo" -msgstr "" +msgstr "3D 动力学角色演示" #: doc/classes/BoxShape.xml msgid "" @@ -14008,7 +14018,7 @@ msgstr "" #: doc/classes/PoolStringArray.xml doc/classes/ProjectSettings.xml #: doc/classes/ResourceLoader.xml doc/classes/RichTextLabel.xml msgid "OS Test Demo" -msgstr "" +msgstr "操作系统测试演示" #: doc/classes/Button.xml msgid "" @@ -14053,6 +14063,8 @@ msgid "" "button. Uses the same [enum TextAlign] constants as the text alignment. If " "centered, text will draw on top of the icon." msgstr "" +"指定图标应该在按钮上左对齐、右对齐、还是居中。请使用与文本对齐相同的 [enum " +"TextAlign] 常量。如果居中,文本将绘制在图标上。" #: doc/classes/Button.xml doc/classes/LinkButton.xml msgid "The button's text that will be displayed inside the button's area." @@ -14555,12 +14567,12 @@ msgstr "" #: doc/classes/Camera2D.xml doc/classes/TileMap.xml doc/classes/TileSet.xml msgid "2D Isometric Demo" -msgstr "" +msgstr "2D 等轴测演示" #: doc/classes/Camera2D.xml doc/classes/Environment.xml #: doc/classes/WorldEnvironment.xml msgid "2D HDR Demo" -msgstr "" +msgstr "2D HDR 演示" #: doc/classes/Camera2D.xml msgid "Aligns the camera to the tracked node." @@ -15064,11 +15076,11 @@ msgstr "" #: doc/classes/CanvasItem.xml doc/classes/CanvasLayer.xml #: doc/classes/InputEvent.xml doc/classes/Viewport.xml msgid "Viewport and canvas transforms" -msgstr "" +msgstr "Viewport 和画布变换" #: doc/classes/CanvasItem.xml doc/classes/Control.xml doc/classes/Node2D.xml msgid "Custom drawing in 2D" -msgstr "" +msgstr "2D 中的自定义绘图" #: doc/classes/CanvasItem.xml msgid "" @@ -15330,6 +15342,8 @@ msgid "" "Returns the mouse's position in the [CanvasLayer] that this [CanvasItem] is " "in using the coordinate system of the [CanvasLayer]." msgstr "" +"返回该 [CanvasItem] 所在的 [CanvasLayer] 中鼠标的位置,使用该 [CanvasLayer] " +"的坐标系。" #: doc/classes/CanvasItem.xml msgid "Returns the global transform matrix of this item." @@ -15344,7 +15358,7 @@ msgstr "返回此项目相对于画布的全局变换矩阵。" msgid "" "Returns the mouse's position in this [CanvasItem] using the local coordinate " "system of this [CanvasItem]." -msgstr "" +msgstr "返回该 [CanvasItem] 中鼠标的位置,使用该 [CanvasItem] 的局部坐标系。" #: doc/classes/CanvasItem.xml msgid "Returns the transform matrix of this item." @@ -15688,14 +15702,31 @@ msgstr "" "(在 1+ 层或更高层中)或背景(在 -1 层或更低层中)非常有用。" #: doc/classes/CanvasLayer.xml -#, fuzzy msgid "Canvas layers" -msgstr "画布绘图层。" +msgstr "画布层" #: doc/classes/CanvasLayer.xml 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] 设为 " +"[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]。" + #: doc/classes/CanvasLayer.xml msgid "" "The custom [Viewport] node assigned to the [CanvasLayer]. If [code]null[/" @@ -15750,11 +15781,14 @@ msgid "" "Unlike [member CanvasItem.visible], visibility of a [CanvasLayer] isn't " "propagated to underlying layers." msgstr "" +"为 [code]false[/code] 时,该 [CanvasLayer] 下的所有 [CanvasItem] 都会被隐" +"藏。\n" +"与 [member CanvasItem.visible] 不同,[CanvasLayer] 的显示与否不会传播到其内部" +"的层。" #: doc/classes/CanvasLayer.xml -#, fuzzy msgid "Emitted when visibility of the layer is changed. See [member visible]." -msgstr "当VisibilityNotifier退出[Camera]的视图时触发。" +msgstr "当该层的可见性发生变化时触发。请参阅 [member visible]。" #: doc/classes/CanvasModulate.xml msgid "Tint the entire canvas." @@ -16118,49 +16152,49 @@ msgstr "用于[CheckButton]文本的[Font]。" #: doc/classes/CheckButton.xml msgid "The icon to display when the [CheckButton] is unchecked." -msgstr "未选中[CheckButton]时显示的图标。" +msgstr "当 [CheckButton] 未勾选时,显示的图标。" #: doc/classes/CheckButton.xml msgid "The icon to display when the [CheckButton] is unchecked and disabled." -msgstr "未选中和禁用[CheckButton]时显示的图标。" +msgstr "当 [CheckButton] 未勾选且被禁用时,显示的图标。" #: doc/classes/CheckButton.xml msgid "The icon to display when the [CheckButton] is checked." -msgstr "选中[CheckButton]时显示的图标。" +msgstr "当 [CheckButton] 已勾选时,显示的图标。" #: doc/classes/CheckButton.xml msgid "The icon to display when the [CheckButton] is checked and disabled." -msgstr "选中并禁用[CheckButton]时显示的图标。" +msgstr "当 [CheckButton] 已勾选且被禁用时,显示的图标。" #: doc/classes/CheckButton.xml msgid "" "The [StyleBox] to display as a background when the [CheckButton] is disabled." -msgstr "当[CheckButton]被禁用时,作为背景显示的[StyleBox]。" +msgstr "当 [CheckButton] 被禁用时,作为背景显示的 [StyleBox]。" #: doc/classes/CheckButton.xml msgid "" "The [StyleBox] to display as a background when the [CheckButton] is focused." -msgstr "当[CheckButton]被聚焦时作为背景显示的[StyleBox]。" +msgstr "当 [CheckButton] 被聚焦时,作为背景显示的 [StyleBox]。" #: doc/classes/CheckButton.xml msgid "" "The [StyleBox] to display as a background when the [CheckButton] is hovered." -msgstr "当[CheckButton]被悬停时作为背景显示的[StyleBox]。" +msgstr "当 [CheckButton] 被悬停时,作为背景显示的 [StyleBox]。" #: doc/classes/CheckButton.xml msgid "" "The [StyleBox] to display as a background when the [CheckButton] is hovered " "and pressed." -msgstr "当[CheckButton]被悬停和按下时作为背景显示的[StyleBox]。" +msgstr "当 [CheckButton] 被悬停且被按下时,作为背景显示的 [StyleBox]。" #: doc/classes/CheckButton.xml msgid "" "The [StyleBox] to display as a background when the [CheckButton] is pressed." -msgstr "当[CheckButton]被按下时作为背景显示的[StyleBox]。" +msgstr "当 [CheckButton] 被按下时,作为背景显示的 [StyleBox]。" #: doc/classes/CircleShape2D.xml msgid "Circular shape for 2D collisions." -msgstr "用于2D碰撞的圆形。" +msgstr "用于 2D 碰撞的圆形。" #: doc/classes/CircleShape2D.xml msgid "" @@ -16168,8 +16202,8 @@ msgid "" "small characters and its collision detection with everything else is very " "fast." msgstr "" -"用于2D碰撞的圆形形状。这种形状对塑造球或小角色很有用,它与其他东西的碰撞检测" -"非常快。" +"用于 2D 碰撞的圆形形状。这种形状对塑造球或小角色很有用,它与其他东西的碰撞检" +"测非常快。" #: doc/classes/CircleShape2D.xml msgid "The circle's radius." @@ -16622,15 +16656,14 @@ msgstr "" "件。" #: doc/classes/CollisionObject.xml doc/classes/CollisionObject2D.xml -#, fuzzy msgid "" "If [code]true[/code], this object is pickable. A pickable object can detect " "the mouse pointer entering/leaving, and if the mouse is inside it, report " "input events. Requires at least one [member collision_layer] bit to be set." msgstr "" -"如果[code]true[/code],这个对象是可拾取的。一个可拾取的对象可以检测鼠标指针的" -"进入/离开,如果鼠标在里面,就报告输入事件。要求至少有一个 " -"[code]collision_layer[/code] 位被设置。" +"如果为 [code]true[/code],则该对象是可拾取的。可拾取的对象可以检测鼠标指针的" +"进入/离开,鼠标位于其中时,就会报告输入事件。要求至少设置一个 [member " +"collision_layer] 位。" #: doc/classes/CollisionObject.xml msgid "" @@ -16917,9 +16950,8 @@ msgstr "" #: doc/classes/Physics2DDirectSpaceState.xml #: doc/classes/PhysicsDirectBodyState.xml #: doc/classes/PhysicsDirectSpaceState.xml doc/classes/RigidBody.xml -#, fuzzy msgid "Physics introduction" -msgstr "三次插值." +msgstr "物理介绍" #: doc/classes/CollisionShape.xml msgid "" @@ -16963,7 +16995,7 @@ msgstr "" #: doc/classes/RectangleShape2D.xml doc/classes/TileMap.xml #: doc/classes/TileSet.xml msgid "2D Kinematic Character Demo" -msgstr "" +msgstr "2D 运动学角色演示" #: doc/classes/CollisionShape2D.xml msgid "" @@ -17025,15 +17057,15 @@ msgstr "" #: doc/classes/Color.xml doc/classes/ColorPickerButton.xml msgid "2D GD Paint Demo" -msgstr "" +msgstr "2D GD 画图演示" #: doc/classes/Color.xml doc/classes/ColorPicker.xml msgid "Tween Demo" -msgstr "" +msgstr "Tween 演示" #: doc/classes/Color.xml doc/classes/ColorPickerButton.xml msgid "GUI Drag And Drop Demo" -msgstr "" +msgstr "GUI 拖放演示" #: doc/classes/Color.xml msgid "" @@ -18792,16 +18824,15 @@ msgstr "" #: doc/classes/Control.xml msgid "GUI tutorial index" -msgstr "" +msgstr "GUI 教程索引" #: doc/classes/Control.xml -#, fuzzy msgid "Control node gallery" -msgstr "Control 键。" +msgstr "控件节点一览" #: doc/classes/Control.xml msgid "All GUI Demos" -msgstr "" +msgstr "所有 GUI 演示" #: doc/classes/Control.xml msgid "" @@ -19167,12 +19198,14 @@ 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 " "[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 " @@ -20217,6 +20250,25 @@ msgid "" "all its [Control] children use." msgstr "更改此属性将替换该节点及其所有[Control]子级使用的当前[Theme]资源。" +#: 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 "在节点获得键盘焦点时发出。" @@ -21866,6 +21918,11 @@ msgid "" "node also has a significant CPU cost, so it should be avoided during " "gameplay." msgstr "" +"你可以使用该节点在 CSG 系统中创建长方体。\n" +"[b]注意:[/b]CSG 节点是为制作关卡原型准备的。与创建使用 [PrimitiveMesh] 的 " +"[MeshInstance] 相比,创建 CSG 节点对 CPU 资源的消耗更显著。在一个 CSG 节点中" +"移动另一个 CSG 节点也会产生显著的 CPU 消耗,所以应当在游戏过程中避免进行类似" +"操作。" #: modules/csg/doc_classes/CSGBox.xml modules/csg/doc_classes/CSGCombiner.xml #: modules/csg/doc_classes/CSGCylinder.xml modules/csg/doc_classes/CSGMesh.xml @@ -21874,7 +21931,7 @@ msgstr "" #: modules/csg/doc_classes/CSGShape.xml modules/csg/doc_classes/CSGSphere.xml #: modules/csg/doc_classes/CSGTorus.xml msgid "Prototyping levels with CSG" -msgstr "" +msgstr "使用 CSG 设计关卡原型" #: modules/csg/doc_classes/CSGBox.xml msgid "Depth of the box measured from the center of the box." @@ -21897,7 +21954,6 @@ msgid "A CSG node that allows you to combine other CSG modifiers." msgstr "允许您组合其他 CSG 修改器的 CSG 节点。" #: modules/csg/doc_classes/CSGCombiner.xml -#, fuzzy msgid "" "For complex arrangements of shapes, it is sometimes needed to add structure " "to your CSG nodes. The CSGCombiner node allows you to create this structure. " @@ -21913,11 +21969,15 @@ msgid "" "node also has a significant CPU cost, so it should be avoided during " "gameplay." msgstr "" -"对于复杂的形状排列,有时需要向CSG节点添加结构体。CSGCombiner节点允许你创建这" -"种结构体。该节点封装了其子节点的CSG操作的结果。通过这种方式,可以对作为一个" -"CSGCombiner节点的子节点的一组形状进行操作,并对作为第二个CSGCombiner节点的子" -"节点的第二组形状进行单独的操作,然后进行操作,将两个最终结果作为其输入来创建" -"最终形状。" +"对于复杂的形状排列,有时需要向 CSG 节点添加结构体。CSGCombiner 节点允许你创建" +"这种结构体。该节点封装了其子节点的 CSG 操作的结果。通过这种方式,可以对作为一" +"个 CSGCombiner 节点的子节点的一组形状进行操作,并对作为第二个 CSGCombiner 节" +"点的子节点的第二组形状进行单独的操作,然后进行操作,将两个最终结果作为其输入" +"来创建最终形状。\n" +"[b]注意:[/b]CSG 节点是为制作关卡原型准备的。与创建使用 [PrimitiveMesh] 的 " +"[MeshInstance] 相比,创建 CSG 节点对 CPU 资源的消耗更显著。在一个 CSG 节点中" +"移动另一个 CSG 节点也会产生显著的 CPU 消耗,所以应当在游戏过程中避免进行类似" +"操作。" #: modules/csg/doc_classes/CSGCylinder.xml msgid "A CSG Cylinder shape." @@ -21933,6 +21993,11 @@ msgid "" "node also has a significant CPU cost, so it should be avoided during " "gameplay." msgstr "" +"你可以使用该节点在 CSG 系统中创建圆柱体(或圆锥体)。\n" +"[b]注意:[/b]CSG 节点是为制作关卡原型准备的。与创建使用 [PrimitiveMesh] 的 " +"[MeshInstance] 相比,创建 CSG 节点对 CPU 资源的消耗更显著。在一个 CSG 节点中" +"移动另一个 CSG 节点也会产生显著的 CPU 消耗,所以应当在游戏过程中避免进行类似" +"操作。" #: modules/csg/doc_classes/CSGCylinder.xml msgid "" @@ -21983,6 +22048,13 @@ msgid "" "node also has a significant CPU cost, so it should be avoided during " "gameplay." msgstr "" +"你可以使用该节点将任何网格资源用作 CSG 形状,只要该网格是闭合的、没有自我贯" +"穿、不包含内部面、每条边所连接的面不超过两个。要将 2D 多边形挤出用作 CSG 节" +"点,请参阅 [CSGPolygon]。\n" +"[b]注意:[/b]CSG 节点是为制作关卡原型准备的。与创建使用 [PrimitiveMesh] 的 " +"[MeshInstance] 相比,创建 CSG 节点对 CPU 资源的消耗更显著。在一个 CSG 节点中" +"移动另一个 CSG 节点也会产生显著的 CPU 消耗,所以应当在游戏过程中避免进行类似" +"操作。" #: modules/csg/doc_classes/CSGMesh.xml msgid "The [Material] used in drawing the CSG shape." @@ -22016,6 +22088,12 @@ msgid "" "node also has a significant CPU cost, so it should be avoided during " "gameplay." msgstr "" +"将 2D 顶点数组快速挤出,创建各种 3D 网格。要将 3D 网格用作 CSG 节点,请参阅 " +"[CSGMesh]。\n" +"[b]注意:[/b]CSG 节点是为制作关卡原型准备的。与创建使用 [PrimitiveMesh] 的 " +"[MeshInstance] 相比,创建 CSG 节点对 CPU 资源的消耗更显著。在一个 CSG 节点中" +"移动另一个 CSG 节点也会产生显著的 CPU 消耗,所以应当在游戏过程中避免进行类似" +"操作。" #: modules/csg/doc_classes/CSGPolygon.xml msgid "" @@ -22124,6 +22202,11 @@ msgid "" "[b]Note:[/b] If only 1 or 2 points are defined in [member polygon], no mesh " "will be generated." msgstr "" +"顶点数组,用于定义要挤出的 2D 多边形。需要包含 3 个或更多顶点,可以是凸多边形" +"也可以是凹多边形。该多边形中[i]不能[/i]存在相交的边。否则,三角形化会失败,不" +"会生成任何网格。\n" +"[b]注意:[/b]如果 [member polygon] 中只定义了 1 个或 2 个顶点,则不会生成网" +"格。" #: modules/csg/doc_classes/CSGPolygon.xml msgid "If [code]true[/code], applies smooth shading to the extrusions." @@ -22213,6 +22296,12 @@ msgid "" "node also has a significant CPU cost, so it should be avoided during " "gameplay." msgstr "" +"各种 CSG 图元的父类,包含了它们所需的公共代码和功能。无法直接使用这个类,请使" +"用继承它的各种类。\n" +"[b]注意:[/b]CSG 节点是为制作关卡原型准备的。与创建使用 [PrimitiveMesh] 的 " +"[MeshInstance] 相比,创建 CSG 节点对 CPU 资源的消耗更显著。在一个 CSG 节点中" +"移动另一个 CSG 节点也会产生显著的 CPU 消耗,所以应当在游戏过程中避免进行类似" +"操作。" #: modules/csg/doc_classes/CSGPrimitive.xml msgid "Invert the faces of the mesh." @@ -22232,6 +22321,11 @@ msgid "" "node also has a significant CPU cost, so it should be avoided during " "gameplay." msgstr "" +"为 Godot 中的各种 CSG 节点提供 CSG 操作支持的 CSG 基类。\n" +"[b]注意:[/b]CSG 节点是为制作关卡原型准备的。与创建使用 [PrimitiveMesh] 的 " +"[MeshInstance] 相比,创建 CSG 节点对 CPU 资源的消耗更显著。在一个 CSG 节点中" +"移动另一个 CSG 节点也会产生显著的 CPU 消耗,所以应当在游戏过程中避免进行类似" +"操作。" #: modules/csg/doc_classes/CSGShape.xml doc/classes/RayCast2D.xml #: doc/classes/SoftBody.xml @@ -22359,6 +22453,11 @@ msgid "" "node also has a significant CPU cost, so it should be avoided during " "gameplay." msgstr "" +"你可以使用该节点在 CSG 系统中创建球体。\n" +"[b]注意:[/b]CSG 节点是为制作关卡原型准备的。与创建使用 [PrimitiveMesh] 的 " +"[MeshInstance] 相比,创建 CSG 节点对 CPU 资源的消耗更显著。在一个 CSG 节点中" +"移动另一个 CSG 节点也会产生显著的 CPU 消耗,所以应当在游戏过程中避免进行类似" +"操作。" #: modules/csg/doc_classes/CSGSphere.xml msgid "The material used to render the sphere." @@ -22398,6 +22497,11 @@ msgid "" "node also has a significant CPU cost, so it should be avoided during " "gameplay." msgstr "" +"你可以使用该节点在 CSG 系统中创建圆环体。\n" +"[b]注意:[/b]CSG 节点是为制作关卡原型准备的。与创建使用 [PrimitiveMesh] 的 " +"[MeshInstance] 相比,创建 CSG 节点对 CPU 资源的消耗更显著。在一个 CSG 节点中" +"移动另一个 CSG 节点也会产生显著的 CPU 消耗,所以应当在游戏过程中避免进行类似" +"操作。" #: modules/csg/doc_classes/CSGTorus.xml msgid "The inner radius of the torus." @@ -22639,6 +22743,8 @@ msgid "" "Setting this option to [code]false[/code] can be used to prevent an instance " "being merged." msgstr "" +"用于对 [RoomManager] 的网格合并功能进行微调。\n" +"将该选项设为 [code]false[/code] 可以避免实例被合并。" #: doc/classes/CullInstance.xml msgid "" @@ -23598,7 +23704,7 @@ msgstr "" #: doc/classes/Dictionary.xml msgid "GDScript basics: Dictionary" -msgstr "" +msgstr "GDScript 基础:字典" #: doc/classes/Dictionary.xml msgid "Clear the dictionary, removing all key/value pairs." @@ -23668,7 +23774,6 @@ msgid "" msgstr "如果字典具有给定数组中的所有键,则返回 [code]true[/code] 。" #: doc/classes/Dictionary.xml -#, fuzzy msgid "" "Returns a hashed 32-bit integer value representing the dictionary contents. " "This can be used to compare dictionaries by value:\n" @@ -23686,14 +23791,17 @@ msgid "" "values does [i]not[/i] imply the dictionaries are equal, because different " "dictionaries can have identical hash values due to hash collisions." msgstr "" -"返回一个代表字典内容的哈希整数值。这可以用来比较字典的值。\n" +"返回代表该字典内容的 32 位整数哈希值。可用于按值比较字典:\n" "[codeblock]\n" "var dict1 = {0: 10}\n" "var dict2 = {0: 10}\n" "# 下面这一行会输出 `true`,而如果直接比较这两个变量就会输出 `false`。\n" "print(dict1.hash() == dict2.hash())\n" "[/codeblock]\n" -"[b]注意:[/b]具有相同键/值但顺序不同的字典将有不同的哈希值。" +"[b]注意:[/b]具有相同键/值但顺序不同的字典将有不同的哈希值。\n" +"[b]注意:[/b]内容相同的字典会得到一致的哈希值。然而,反之不然。返回一致的哈希" +"值[i]并不[/i]意味着字典相等,因为不同的字典可能因为哈希碰撞而得到一致的哈希" +"值。" #: doc/classes/Dictionary.xml msgid "Returns the list of keys in the [Dictionary]." @@ -25474,7 +25582,7 @@ msgstr "" #: doc/classes/EditorInspectorPlugin.xml msgid "Inspector plugins" -msgstr "" +msgstr "检查器插件" #: doc/classes/EditorInspectorPlugin.xml msgid "Adds a custom control, which is not necessarily a property editor." @@ -25804,10 +25912,10 @@ msgid "" "your custom control with [method remove_control_from_bottom_panel] and free " "it with [method Node.queue_free]." msgstr "" -"将控件添加到底部面板(以及“输出”,“调试”,“动画”等)。返回对添加的按钮的引" -"用。您可以根据需要隐藏/显示按钮。停用插件后,请确保使用[method " -"remove_control_from_bottom_panel]删除自定义控件,并使用[method Node." -"queue_free]释放它。" +"将控件添加到底部面板(包含“输出”“调试”“动画”等)。返回对添加的按钮的引用。您" +"可以根据需要隐藏/显示按钮。停用插件后,请确保使用 [method " +"remove_control_from_bottom_panel] 移除自定义控件,并使用 [method Node." +"queue_free] 释放。" #: doc/classes/EditorPlugin.xml msgid "" @@ -27915,7 +28023,6 @@ msgstr "" "code] 是新文件中的行数。" #: doc/classes/EditorVCSInterface.xml -#, fuzzy msgid "" "Helper function to create a [code]Dictionary[/code] for storing a line diff. " "[code]new_line_no[/code] is the line number in the new file (can be " @@ -27927,8 +28034,8 @@ msgstr "" "创建用于保存行差异的 [code]Dictionary[/code] 的辅助函数。[code]new_line_no[/" "code] 是新文件中的行号(该行被删除时可为 [code]-1[/code])。" "[code]old_line_no[/code] 是旧文件中的行号(该行为新增时可为 [code]-1[/" -"code])。[code]content[/code] 为差异文本。[code]content[/code] 为差异文本。" -"[code]status[/code] 为保存该行原点的单字符字符串。" +"code])。[code]content[/code] 为差异文本。[code]status[/code] 为保存该行原点" +"的单字符字符串。" #: doc/classes/EditorVCSInterface.xml msgid "" @@ -28351,7 +28458,6 @@ msgid "" msgstr "用于定义多个渲染选项的环境节点(如 [WorldEnvironment])的资源。" #: doc/classes/Environment.xml -#, fuzzy msgid "" "Resource for environment nodes (like [WorldEnvironment]) that define " "multiple environment operations (such as background [Sky] or [Color], " @@ -28381,24 +28487,29 @@ msgstr "" "- 辉光\n" "- 色调映射(自动曝光)\n" "- 调整\n" -"这些效果仅在 [Viewport] 的预期使用方法为“3D”或者“3D Without Effects”时生效。" +"如果目标 [Viewport] 被设为了“2D Without Sampling”,则所有的后处理特效都不可" +"用。如果是 “3D Without Effect”,则以下选项不可用:\n" +"- Ssao(屏幕空间环境光遮蔽)\n" +"- Ss Reflections(屏幕空间反射)\n" "根视窗的预期使用方法可以通过 [member ProjectSettings.rendering/quality/" "intended_usage/framebuffer_allocation] 调整,其他视窗通过 [member Viewport." -"usage] 调整。" +"usage] 调整。\n" +"请注意,[member ProjectSettings.rendering/quality/intended_usage/" +"framebuffer_allocation] 的移动平台覆盖项默认使用“3D Without Effects”。这样可" +"以提升移动设备上的性能,但同时会影响移动设备上的屏幕显示。" #: doc/classes/Environment.xml doc/classes/WorldEnvironment.xml -#, fuzzy msgid "Environment and post-processing" -msgstr "$DOCS_URL/tutorials/3d/environment_and_post_processing.html" +msgstr "环境和后期处理" #: doc/classes/Environment.xml msgid "Light transport in game engines" -msgstr "" +msgstr "游戏引擎中的光传递" #: doc/classes/Environment.xml doc/classes/Material.xml doc/classes/Mesh.xml #: doc/classes/MeshInstance.xml doc/classes/WorldEnvironment.xml msgid "3D Material Testers Demo" -msgstr "" +msgstr "3D 材质测试演示" #: doc/classes/Environment.xml msgid "" @@ -28472,7 +28583,6 @@ msgid "" msgstr "环境光的能量。值越高,光照越强。" #: doc/classes/Environment.xml -#, fuzzy msgid "" "Defines the amount of light that the sky brings on the scene. A value of " "[code]0.0[/code] means that the sky's light emission has no effect on the " @@ -28483,9 +28593,11 @@ msgid "" "[b]Note:[/b] [member ambient_light_sky_contribution] is internally clamped " "between [code]0.0[/code] and [code]1.0[/code] (inclusive)." msgstr "" -"定义天空给场景带来的光照量。值为 0 表示天空的发光对场景照明没有影响,因此所有" -"的环境照明都由环境光提供。相反,值为 1 表示所有影响场景的光线都由天空提供,因" -"此环境光参数对场景没有影响。" +"定义天空给场景带来的光照量。值为 [code]0.0[/code] 表示天空的发光对场景照明没" +"有影响,因此所有的环境照明都由环境光提供。相反,值为 [code]1.0[/code] 表示[i]" +"所有[/i]影响场景的光线都由天空提供,因此环境光参数对场景没有影响。\n" +"[b]注意:[/b]内部会将 [member ambient_light_sky_contribution] 限制在 " +"[code]0.0[/code] 到 [code]1.0[/code] 之间(闭区间)。" #: doc/classes/Environment.xml msgid "" @@ -28741,8 +28853,23 @@ msgstr "" "界相机的成像工件。" #: doc/classes/Environment.xml -msgid "If [code]true[/code], the glow effect is enabled." -msgstr "如果为[code]true[/code],则启用glow效果。" +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 msgid "" @@ -29301,7 +29428,7 @@ msgstr "" #: doc/classes/File.xml msgid "File system" -msgstr "" +msgstr "文件系统" #: doc/classes/File.xml msgid "" @@ -30076,18 +30203,12 @@ msgstr "" "code]。" #: doc/classes/float.xml -#, fuzzy msgid "Wikipedia: Double-precision floating-point format" -msgstr "" -"https://zh.wikipedia.org/zh-cn/" -"%E9%9B%99%E7%B2%BE%E5%BA%A6%E6%B5%AE%E9%BB%9E%E6%95%B8" +msgstr "维基百科:双精度浮点数格式" #: doc/classes/float.xml -#, fuzzy msgid "Wikipedia: Single-precision floating-point format" -msgstr "" -"https://zh.wikipedia.org/zh-cn/" -"%E5%96%AE%E7%B2%BE%E5%BA%A6%E6%B5%AE%E9%BB%9E%E6%95%B8" +msgstr "维基百科:单精度浮点数格式" #: doc/classes/float.xml msgid "" @@ -30122,9 +30243,8 @@ msgstr "" "[code]float(\"1e3a2\")[/code] 将返回 1000.0。" #: doc/classes/FlowContainer.xml -#, fuzzy msgid "Base class for flow containers." -msgstr "盒式容器的基类。" +msgstr "流式容器的基类。" #: doc/classes/FlowContainer.xml msgid "" @@ -30133,11 +30253,13 @@ msgid "" "A line is filled with [Control] nodes until no more fit on the same line, " "similar to text in an autowrapped label." msgstr "" +"将子 [Control] 节点垂直或水平排列,按照从左到右或从上到下的顺序换行。\n" +"同一行中无法再容纳更多 [Control] 节点时会另起一行,与自动换行标签中的文本类" +"似。" #: doc/classes/FlowContainer.xml -#, fuzzy msgid "Returns the current line count." -msgstr "返回当前的滚动位置。" +msgstr "返回当前的行数。" #: doc/classes/Font.xml msgid "Internationalized font and text drawing support." @@ -31360,13 +31482,15 @@ 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 " "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 "" "对多边形 [code]polygon[/code] 中的点指定的多边形进行三角化。返回一个 " "[PoolIntArray],其中每个三角形由 [code]polygon[/code] 中三个连续的点索引组成" @@ -31676,9 +31800,10 @@ msgstr "" #: doc/classes/GIProbe.xml msgid "GI probes" -msgstr "" +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 " @@ -31691,7 +31816,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 "" "烘焙所有标有 [member GeometryInstance.use_in_baked_light] 的 " "[GeometryInstance] 和标有 [constant Light.BAKE_INDIRECT] 或 [constant Light." @@ -32884,7 +33014,7 @@ msgstr "" #: modules/gridmap/doc_classes/GridMap.xml msgid "Using gridmaps" -msgstr "" +msgstr "使用网格地图" #: modules/gridmap/doc_classes/GridMap.xml msgid "Clear all cells." @@ -32936,11 +33066,10 @@ msgid "" msgstr "返回一个包含网格中非空单元格坐标的 [Vector3] 数组。" #: modules/gridmap/doc_classes/GridMap.xml -#, fuzzy msgid "" "Returns an array of all cells with the given item index specified in " "[code]item[/code]." -msgstr "返回所有具有[code]id[/code]中指定的图块索引的单元格的数组。" +msgstr "返回所有具有 [code]item[/code] 中指定的项目索引的单元格的数组。" #: modules/gridmap/doc_classes/GridMap.xml msgid "" @@ -33217,14 +33346,12 @@ msgid "" msgstr "高度图数据的宽度。更改此设置将调整 [member map_data] 的大小。" #: doc/classes/HFlowContainer.xml -#, fuzzy msgid "Horizontal flow container." -msgstr "水平盒式容器。" +msgstr "水平流式容器。" #: doc/classes/HFlowContainer.xml -#, fuzzy msgid "Horizontal version of [FlowContainer]." -msgstr "水平拆分容器。" +msgstr "[FlowContainer] 的水平版本。" #: doc/classes/HingeJoint.xml msgid "A hinge between two 3D PhysicsBodies." @@ -34898,7 +35025,7 @@ msgstr "" #: doc/classes/Image.xml doc/classes/ImageTexture.xml msgid "Importing images" -msgstr "" +msgstr "导入图像" #: doc/classes/Image.xml msgid "" @@ -35821,9 +35948,8 @@ msgid "" msgstr "原始纹理(在压缩前)是法线纹理(例如,可以压缩为两个通道)。" #: doc/classes/Image.xml -#, fuzzy msgid "Source texture (before compression) is a [TextureLayered]." -msgstr "原始纹理(在压缩前)使用 sRGB 空间。" +msgstr "原始纹理(在压缩前)是 [TextureLayered]。" #: doc/classes/ImageTexture.xml msgid "A [Texture] based on an [Image]." @@ -36080,7 +36206,7 @@ msgstr "" #: doc/classes/Input.xml msgid "Inputs tutorial index" -msgstr "" +msgstr "输入教程索引" #: doc/classes/Input.xml msgid "" @@ -36659,6 +36785,9 @@ msgid "" "limits of the game window if [enum MouseMode] is set to [constant " "MOUSE_MODE_CONFINED]." msgstr "" +"将鼠标位置设为指定的向量,单位为像素,以游戏窗口的左上角作为原点。\n" +"鼠标位置会被限制在屏幕分辨率内,如果 [enum MouseMode] 为 [constant " +"MOUSE_MODE_CONFINED] 时则是限制在游戏窗口内。" #: doc/classes/Input.xml msgid "Emitted when a joypad device has been connected or disconnected." @@ -36812,7 +36941,7 @@ msgstr "各种输入事件的基类。请参阅 [method Node._input]。" #: doc/classes/InputEvent.xml msgid "InputEvent" -msgstr "" +msgstr "InputEvent" #: doc/classes/InputEvent.xml msgid "" @@ -36983,9 +37112,8 @@ msgstr "" "菜单中的[b]键位映射[/b]选项卡中创建。请参阅 [method Node._input]。" #: doc/classes/InputEventAction.xml -#, fuzzy msgid "InputEvent: Actions" -msgstr "动作的输入事件类型。" +msgstr "InputEvent:动作" #: doc/classes/InputEventAction.xml msgid "The action's name. Actions are accessed via this [String]." @@ -37204,18 +37332,15 @@ msgstr "" #: doc/classes/InputEventMIDI.xml msgid "MIDI Message Status Byte List" -msgstr "" +msgstr "MIDI 消息状态字节列表" #: doc/classes/InputEventMIDI.xml msgid "Wikipedia General MIDI Instrument List" -msgstr "" +msgstr "维基百科通用 MIDI 乐器列表" #: doc/classes/InputEventMIDI.xml -#, fuzzy msgid "Wikipedia Piano Key Frequencies List" -msgstr "" -"https://zh.wikipedia.org/zh-cn/" -"%E9%8B%BC%E7%90%B4%E9%8D%B5%E9%A0%BB%E7%8E%87#%E5%88%97%E8%A1%A8" +msgstr "维基百科钢琴琴键频率列表" #: doc/classes/InputEventMIDI.xml msgid "" @@ -37327,6 +37452,10 @@ msgid "" "in the [CanvasLayer] that the [Control] is in using the coordinate system of " "the [CanvasLayer]." msgstr "" +"在 [method Node._input] 或 [method Node._unhandled_input] 中获取时,返回根 " +"[Viewport] 中鼠标的位置,使用根 [Viewport] 的坐标系。\n" +"在 [method Control._gui_input] 中获取时,返回该 [Control] 所在的 " +"[CanvasLayer] 中鼠标的位置,使用该 [CanvasLayer] 的坐标系。" #: doc/classes/InputEventMouse.xml msgid "" @@ -37336,6 +37465,10 @@ msgid "" "When received in [method Control._gui_input], returns the mouse's position " "in the [Control] using the local coordinate system of the [Control]." msgstr "" +"在 [method Node._input] 或 [method Node._unhandled_input] 中获取时,返回该 " +"[Node] 所在 [Viewport] 中鼠标的位置,使用该 [Viewport] 的坐标系。\n" +"在 [method Control._gui_input] 中获取时,返回该 [Control] 中鼠标的位置,使用" +"该 [Control] 的坐标系。" #: doc/classes/InputEventMouseButton.xml msgid "Input event type for mouse button events." @@ -37390,19 +37523,18 @@ msgid "" "Bresenham%27s_line_algorithm]Bresenham's line algorithm[/url] as well to " "avoid visible gaps in lines if the user is moving the mouse quickly." msgstr "" -"包含鼠标和笔的运动信息。支持相对、绝对位置和速度。参阅[method Node." +"包含鼠标和笔的运动信息。支持相对、绝对位置和速度。请参阅 [method Node." "_input]。\n" "[b]注意:[/b]默认情况下,这个事件最多只能在每一帧渲染中发出一次。如果你需要更" -"精确的输入报告,请用[code]false[/code]调用[method Input." -"set_use_accumulated_input]来使事件尽可能频繁地发射。如果你使用" -"InputEventMouseMotion来画线,请考虑同时实现[url=https://en.wikipedia.org/" -"wiki/Bresenham%27s_line_algorithm]Bresenham的线条算法[/url],以避免在用户快速" -"移动鼠标时出现可见的线条空隙。" +"精确的输入报告,请用 [code]false[/code] 调用 [method Input." +"set_use_accumulated_input] 来使事件尽可能频繁地发射。如果你使用 " +"InputEventMouseMotion 来画线,请考虑同时实现 [url=https://en.wikipedia.org/" +"wiki/Bresenham%27s_line_algorithm]Bresenham 的线条算法[/url],以避免在用户快" +"速移动鼠标时出现可见的线条空隙。" #: doc/classes/InputEventMouseMotion.xml -#, fuzzy msgid "Mouse and input coordinates" -msgstr "X 坐标上的半偏移。" +msgstr "鼠标和输入坐标" #: doc/classes/InputEventMouseMotion.xml msgid "" @@ -38502,6 +38634,8 @@ msgid "" "waiting to be activated.\n" "[b]Note:[/b] Only relevant when exported as a Progressive Web App." msgstr "" +"如果该渐进式网络应用程序有新版本等待激活,则返回 [code]true[/code]。\n" +"[b]注意:[/b]只在导出为渐进式网络应用程序(Progressive Web App)时相关。" #: doc/classes/JavaScript.xml msgid "" @@ -38511,6 +38645,10 @@ msgid "" "[b]Note:[/b] Only relevant when exported as a Progressive Web App and " "[method pwa_needs_update] returns [code]true[/code]." msgstr "" +"执行该渐进式网络应用程序的在线更新。强制安装新版本并重新载入该页面。\n" +"[b]注意:[/b]你的应用程序将[b]在所有浏览器标签页中重新载入[/b]。\n" +"[b]注意:[/b]只在导出为渐进式网络应用程序(Progressive Web App)且 [method " +"pwa_needs_update] 返回 [code]true[/code] 时相关。" #: doc/classes/JavaScript.xml msgid "" @@ -38518,6 +38656,8 @@ msgid "" "waiting to be activated because a previous version is active. See [method " "pwa_update] to force the update to take place immediately." msgstr "" +"在检测到该渐进式网络应用程序的更新,但因为存在活动的较早版本而等待激活时触" +"发。要强制立即执行更新,请参阅 [method pwa_update]。" #: doc/classes/JavaScriptObject.xml msgid "A wrapper class for native JavaScript objects." @@ -38620,7 +38760,7 @@ msgstr "" #: doc/classes/JNISingleton.xml msgid "Creating Android plugins" -msgstr "" +msgstr "创建 Android 插件" #: doc/classes/Joint.xml msgid "Base class for all 3D joints." @@ -38638,7 +38778,7 @@ msgstr "" #: doc/classes/Joint.xml doc/classes/RigidBody.xml doc/classes/VehicleBody.xml #: doc/classes/VehicleWheel.xml msgid "3D Truck Town Demo" -msgstr "" +msgstr "3D 货车镇演示" #: doc/classes/Joint.xml msgid "" @@ -38715,7 +38855,6 @@ msgid "" msgstr "解析一个JSON编码的字符串并返回一个包含结果的[JSONParseResult]。" #: doc/classes/JSON.xml -#, fuzzy msgid "" "Converts a [Variant] var to JSON text and returns the result. Useful for " "serializing data to store or send over the network.\n" @@ -38767,12 +38906,14 @@ msgid "" "}\n" "[/codeblock]" msgstr "" -"将 [Variant] var 转换为 JSON 文本并返回结果。用于序列化数据以通过网络存储或发" -"送。\n" -"[b]注:[/b] JSON 规范没有定义 integer 或 float 类型,而只定义了 [i]number[/" -"i] 类型。因此,将 Variant 转换为 JSON 文本会将所有数值转换为 [float] 类型。\n" -"使用 [code]indent[/code] 参数来美观地打印输出。\n" -"[b]示例输出:[/b]\n" +"将 [Variant] 变量转换为 JSON 文本并返回结果。可用于将数据进行序列化保存或通过" +"网络发送。\n" +"[b]注意:[/b]JSON 规范没有定义整数和浮点数类型,只有一个[i]数字[/i]类型。因" +"此,将 Variant 转换为 JSON 文本会将所有数字值转换为 [float] 类型。\n" +"参数 [code]indent[/code] 控制是否以及如何缩进,输出时需要进行一级缩进时会使用" +"该字符串参数,甚至可以使用空格 [code]\" \"[/code]。也可以使用 [code]\\t[/" +"code] 和 [code]\\n[/code] 来进行制表符缩进,或者将每次缩进转换为换行。\n" +"[b]Example output:[/b]\n" "[codeblock]\n" "## JSON.print(my_dictionary)\n" "{\"name\":\"my_dictionary\",\"version\":\"1.0.0\",\"entities\":[{\"name\":" @@ -38781,18 +38922,34 @@ msgstr "" "\n" "## JSON.print(my_dictionary, \"\\t\")\n" "{\n" -" \"name\": \"my_dictionary\",\n" -" \"version\": \"1.0.0\",\n" -" \"entities\": [\n" -" {\n" -" \"name\": \"entity_0\",\n" -" \"value\": \"value_0\"\n" -" },\n" -" {\n" -" \"name\": \"entity_1\",\n" -" \"value\": \"value_1\"\n" -" }\n" -" ]\n" +" \"name\": \"my_dictionary\",\n" +" \"version\": \"1.0.0\",\n" +" \"entities\": [\n" +" {\n" +" \"name\": \"entity_0\",\n" +" \"value\": \"value_0\"\n" +" },\n" +" {\n" +" \"name\": \"entity_1\",\n" +" \"value\": \"value_1\"\n" +" }\n" +" ]\n" +"}\n" +"\n" +"## JSON.print(my_dictionary, \"...\")\n" +"{\n" +"...\"name\": \"my_dictionary\",\n" +"...\"version\": \"1.0.0\",\n" +"...\"entities\": [\n" +"......{\n" +".........\"name\": \"entity_0\",\n" +".........\"value\": \"value_0\"\n" +"......},\n" +"......{\n" +".........\"name\": \"entity_1\",\n" +".........\"value\": \"value_1\"\n" +"......}\n" +"...]\n" "}\n" "[/codeblock]" @@ -38999,7 +39156,7 @@ msgstr "" #: doc/classes/KinematicBody.xml doc/classes/KinematicBody2D.xml msgid "Kinematic character (2D)" -msgstr "" +msgstr "运动学角色(2D)" #: doc/classes/KinematicBody.xml msgid "" @@ -39173,8 +39330,9 @@ msgstr "" "如果 [code]infinite_inertia[/code] 是 [code]true[/code],物体将能够推动 " "[RigidBody] 节点,但它也不会检测到任何与它们的碰撞。如果 [code]false[/code]," "它将与 [RigidBody] 节点像 [StaticBody] 一样交互。\n" -"返回 [code]linear_velocity[/code] 向量,如果发生滑动碰撞,则旋转和/或缩放。要" -"获得发生碰撞的详细信息,请使用 [method get_slide_collision]。\n" +"返回 [code]linear_velocity[/code] 向量,如果发生滑动碰撞,则返回的向量是经过" +"了旋转和/或缩放的。要获得发生碰撞的详细信息,请使用 [method " +"get_slide_collision]。\n" "当物体接触到一个移动的平台时,平台的速度会自动加入到物体的运动中。如果由于平" "台的运动而发生碰撞,它将始终是滑动碰撞中的第一个。" @@ -39337,9 +39495,8 @@ msgstr "" "们在实现对世界进行碰撞,但不需要高级物理的角色时非常有用。" #: doc/classes/KinematicBody2D.xml -#, fuzzy msgid "Using KinematicBody2D" -msgstr "2D 运动体节点。" +msgstr "使用 KinematicBody2D" #: doc/classes/KinematicBody2D.xml msgid "" @@ -39448,19 +39605,20 @@ msgstr "" "move_and_collide] 不同的是,你[i]不应该[/i]将它乘以 [code]delta[/code]——物理" "引擎会处理应用速度。\n" "[code]up_direction[/code] 是向上的方向,用来确定什么是墙,什么是地板或天花" -"板。如果设置为默认值 [code]Vector2(0, 0)[/code],一切都被认为是墙。这对于自上" -"而下的游戏很有用。\n" +"板。如果设置为默认值 [code]Vector2(0, 0)[/code],一切都被认为是墙。这对于俯视" +"角的游戏很有用。\n" "如果 [code]stop_on_slope[/code] 是 [code]true[/code],当你在 " "[code]linear_velocity[/code] 中包含重力并且物体静止时,物体就不会在斜坡上滑" "动。\n" "如果物体发生碰撞,它最多会改变方向 [code]max_slides[/code] 次才会停止。\n" "[code]floor_max_angle[/code] 是一个最大的角度(弧度),在这个角度下,一个斜坡" "仍然被认为是地板或天花板,而不是墙。默认值等于45度。\n" -"如果 [code]infinite_inertia[/code] 是 [code]true[/code],物体将能够推动" -"[RigidBody2D]节点,但它也不会检测到任何与它们的碰撞。如果 [code]false[/" +"如果 [code]infinite_inertia[/code] 是 [code]true[/code],物体将能够推动 " +"[RigidBody2D] 节点,但它也不会检测到任何与它们的碰撞。如果 [code]false[/" "code],它将与 [RigidBody2D] 节点像 [StaticBody2D] 一样交互。\n" -"返回 [code]linear_velocity[/code] 向量,如果发生滑动碰撞,则旋转和/或缩放。要" -"获得发生碰撞的详细信息,请使用 [method get_slide_collision]。\n" +"返回 [code]linear_velocity[/code] 向量,如果发生滑动碰撞,则返回的向量是经过" +"了旋转和/或缩放的。要获得发生碰撞的详细信息,请使用 [method " +"get_slide_collision]。\n" "当物体接触到一个移动的平台时,平台的速度会自动加入到物体的运动中。如果由于平" "台的运动而发生碰撞,它将始终是滑动碰撞中的第一个。" @@ -39864,7 +40022,7 @@ msgstr "" #: doc/classes/Light.xml doc/classes/SpotLight.xml msgid "3D lights and shadows" -msgstr "" +msgstr "3D 灯光和阴影" #: doc/classes/Light.xml msgid "Returns the value of the specified [enum Light.Param] parameter." @@ -39955,8 +40113,13 @@ msgid "The color of shadows cast by this light." msgstr "光线投射的阴影的颜色。" #: doc/classes/Light.xml -msgid "Attempts to reduce [member shadow_bias] gap." -msgstr "尝试减少 [member shadow_bias] 差距。" +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 msgid "If [code]true[/code], the light will cast shadows." @@ -40374,9 +40537,13 @@ 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." -msgstr "圆形接头和盖子的平滑度。仅当盖子或接头设置为圆形时才使用此选项。" +"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 msgid "" @@ -42588,6 +42755,15 @@ msgstr "返回一个特定实例的[Transform]。" msgid "Returns the [Transform2D] of a specific instance." msgstr "返回特定实例的 [Transform2D]。" +#: 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 " @@ -42608,6 +42784,18 @@ msgstr "" "code] / [code]CUSTOM_DATA_8BIT[/code]存储为1浮点数(原为4字节)," "[code]COLOR_FLOAT[/code] / [code]CUSTOM_DATA_FLOAT[/code] 存储为4浮点数。" +#: 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 " @@ -42659,6 +42847,16 @@ msgstr "" 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 "用于变换网格的变换格式,可以是2D或3D。" @@ -42721,6 +42919,18 @@ msgstr "" "传递给 [method set_instance_custom_data] 的 [Color] 将使用 4 个浮点数。使用它" "以获得最高精度。" +#: 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 "实例化 [MultiMesh] 的节点。" @@ -43148,7 +43358,7 @@ msgstr "" #: doc/classes/Navigation.xml doc/classes/NavigationMesh.xml #: doc/classes/NavigationServer.xml msgid "3D Navmesh Demo" -msgstr "" +msgstr "3D 导航网格演示" #: doc/classes/Navigation.xml doc/classes/Navigation2D.xml msgid "" @@ -43190,18 +43400,17 @@ msgid "" "agent properties associated with each [NavigationMesh] (radius, height, " "etc.) are considered in the path calculation, otherwise they are ignored." msgstr "" -"返回两个给定点之间的路径。点是在局部坐标空间中。如果 [code]optimize[/code] " -"是 [code]true[/code](默认),与每个 [NavigationMesh] 相关的代理属性(半径、" -"高度等)在路径计算中被考虑,否则其被忽略。" +"返回两个给定点之间的路径。点都是在局部坐标空间中的。如果 [code]optimize[/" +"code] 为 [code]true[/code](默认),则计算路径时会考虑每个 [NavigationMesh] " +"所关联的代理的属性(半径、高度等),否则会被忽略。" #: doc/classes/Navigation.xml -#, fuzzy msgid "The cell height to use for fields." -msgstr "用于字段Y轴单元的尺寸。" +msgstr "用于字段的 Y 轴单元的尺寸。" #: doc/classes/Navigation.xml doc/classes/NavigationMesh.xml msgid "The XZ plane cell size to use for fields." -msgstr "用于字段的XZ平面单元尺寸。" +msgstr "用于字段的 XZ 平面单元尺寸。" #: doc/classes/Navigation.xml doc/classes/Navigation2D.xml msgid "" @@ -43233,7 +43442,7 @@ msgstr "" #: doc/classes/Navigation2D.xml doc/classes/Navigation2DServer.xml #: doc/classes/NavigationPolygon.xml msgid "2D Navigation Demo" -msgstr "" +msgstr "2D 导航演示" #: doc/classes/Navigation2D.xml msgid "" @@ -43250,7 +43459,7 @@ msgid "" "space. If [code]optimize[/code] is [code]true[/code] (the default), the path " "is smoothed by merging path segments where possible." msgstr "" -"返回两个给定点之间的路径。点是在局部坐标空间中。如果 [code]optimize[/code] " +"返回两个给定点之间的路径。点是在局部坐标空间中的。如果 [code]optimize[/code] " "为 [code]true[/code](默认值),路径将尽可能地合并路径段,从而平滑。" #: doc/classes/Navigation2D.xml @@ -43588,7 +43797,6 @@ msgstr "" "可。" #: doc/classes/NavigationAgent.xml doc/classes/NavigationAgent2D.xml -#, fuzzy msgid "" "The minimal amount of time for which this agent's velocities, that are " "computed with the collision avoidance algorithm, are safe with respect to " @@ -44255,9 +44463,8 @@ msgstr "" "程中请求对地图进行任何修改。" #: doc/classes/NavigationServer.xml -#, fuzzy msgid "Returns the map cell height." -msgstr "返回地图的单元格大小。" +msgstr "返回地图的单元格高度。" #: doc/classes/NavigationServer.xml msgid "" @@ -44281,9 +44488,8 @@ msgid "Returns the map's up direction." msgstr "返回地图的上方向。" #: doc/classes/NavigationServer.xml -#, fuzzy msgid "Set the map cell height used to weld the navigation mesh polygons." -msgstr "设置用于焊接导航网格多边形的地图单元格大小。" +msgstr "设置用于焊接导航网格多边形的地图单元格高度。" #: doc/classes/NavigationServer.xml msgid "Sets the map up direction." @@ -44659,13 +44865,12 @@ msgstr "" "使用。改变时恕不另行通知。" #: doc/classes/NetworkedMultiplayerPeer.xml -#, fuzzy msgid "High-level multiplayer" -msgstr "高级多人游戏API。" +msgstr "高级多人游戏" #: doc/classes/NetworkedMultiplayerPeer.xml msgid "WebRTC Signaling Demo" -msgstr "" +msgstr "WebRTC 信号演示" #: doc/classes/NetworkedMultiplayerPeer.xml msgid "" @@ -45042,11 +45247,11 @@ msgstr "" #: doc/classes/Node.xml msgid "Nodes and Scenes" -msgstr "" +msgstr "节点与场景" #: doc/classes/Node.xml msgid "All Demos" -msgstr "" +msgstr "所有演示" #: doc/classes/Node.xml msgid "" @@ -45095,7 +45300,6 @@ msgstr "" "当需要更新这个节点的警告时,调用[method update_configuration_warning]。" #: doc/classes/Node.xml -#, fuzzy msgid "" "Called when there is an input event. The input event propagates up through " "the node tree until a node consumes it.\n" @@ -45121,7 +45325,6 @@ msgstr "" "非“孤儿”)。" #: doc/classes/Node.xml -#, fuzzy msgid "" "Called during the physics processing step of the main loop. Physics " "processing means that the frame rate is synced to the physics, i.e. the " @@ -45145,7 +45348,6 @@ msgstr "" "是“孤儿”)。" #: doc/classes/Node.xml -#, fuzzy msgid "" "Called during the processing step of the main loop. Processing happens at " "every frame and as fast as possible, so the [code]delta[/code] time since " @@ -45167,7 +45369,6 @@ msgstr "" "是“孤儿”)。" #: doc/classes/Node.xml -#, fuzzy msgid "" "Called when the node is \"ready\", i.e. when both the node and its children " "have entered the scene tree. If the node has children, their [method _ready] " @@ -45184,18 +45385,17 @@ msgid "" "call with [method request_ready], which may be called anywhere before adding " "the node again." msgstr "" -"当节点 \"就绪 \"时被调用。子节点的[method _ready]回调会首先被触发,而父节点会" -"在之后收到就绪通知。\n" -"对应于[method Object._notification]中的[constant NOTIFICATION_READY]通知。也" -"请参阅变量的[code]onready[/code]关键字。\n" -"通常用于初始化。对于更早的初始化,可以使用[method Object._init]。也请参阅" +"当节点“就绪”时被调用。子节点的 [method _ready] 回调会首先被触发,而父节点会在" +"之后收到就绪通知。\n" +"对应于 [method Object._notification] 中的 [constant NOTIFICATION_READY] 通" +"知。也请参阅变量的 [code]onready[/code] 关键字。\n" +"通常用于初始化。对于更早的初始化,可以使用 [method Object._init]。也请参阅 " "[method _enter_tree]。\n" -"[b]注意:[/b] [method _ready] 对于每个节点只能调用一次。在从场景树中删除一个" -"节点并再次添加后,[code]_ready[/code]将不会被第二次调用。这可以通过请求再次调" -"用[method request_ready]来绕过,它可以在再次添加节点之前的任何地方调用。" +"[b]注意:[/b][method _ready] 对于每个节点只会调用一次。在从场景树中删除一个节" +"点并再次添加后,[code]_ready[/code] 将不会被第二次调用。这可以通过请求再次调" +"用 [method request_ready] 来绕过,它可以在再次添加节点之前的任何地方调用。" #: doc/classes/Node.xml -#, fuzzy msgid "" "Called when an [InputEvent] hasn't been consumed by [method _input] or any " "GUI [Control] item. The input event propagates up through the node tree " @@ -45211,8 +45411,8 @@ msgid "" "[b]Note:[/b] This method is only called if the node is present in the scene " "tree (i.e. if it's not an orphan)." msgstr "" -"当 [InputEvent] 还未被 [method _input] 或任何 GUI 消耗时调用。输入事件通过节" -"点树向上传播,直到一个节点消耗它。\n" +"当 [InputEvent] 还未被 [method _input] 或任何 GUI [Control] 项目消耗时调用。" +"输入事件通过节点树向上传播,直到一个节点消耗它。\n" "只有在启用了未处理的输入处理时才会被调用,如果这个方法被重写,它就会自动完" "成,并且可以用 [method set_process_unhandled_input] 来切换。\n" "要消耗输入事件并阻止它进一步传播到其他节点,可以调用 [method SceneTree." @@ -45223,7 +45423,6 @@ msgstr "" "是“孤儿”)。" #: doc/classes/Node.xml -#, fuzzy msgid "" "Called when an [InputEventKey] hasn't been consumed by [method _input] or " "any GUI [Control] item. The input event propagates up through the node tree " @@ -45239,8 +45438,8 @@ msgid "" "[b]Note:[/b] This method is only called if the node is present in the scene " "tree (i.e. if it's not an orphan)." msgstr "" -"当 [InputEventKey] 没有被 [method _input] 或任何 GUI 消耗时被调用。输入事件通" -"过节点树向上传播,直到一个节点消耗它。\n" +"当 [InputEventKey] 没有被 [method _input] 或任何 GUI [Control] 项目消耗时被调" +"用。输入事件通过节点树向上传播,直到一个节点消耗它。\n" "只有在启用了未处理的键输入处理时才会被调用,如果这个方法被重写,它就会自动完" "成,并且可以用 [method set_process_unhandled_key_input] 来切换。\n" "要消耗输入事件并阻止它进一步传播到其他节点,可以调用 [method SceneTree." @@ -45681,6 +45880,25 @@ msgid "" msgstr "" "如果本地系统是此节点的主系统(用于多人游戏),则返回[code]true[/code]。" +#: 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 " @@ -45917,6 +46135,21 @@ msgstr "" "节点调用,这意味着如果你想让每个子节点也调用[code]_ready[/code],你需要为它们" "请求ready(在这种情况下,[code]_ready[/code]的调用顺序与正常情况下相同)。" +#: 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 " @@ -46055,6 +46288,14 @@ msgstr "" "[code]recursive[/code],则递归地将给定的对等节点设置为该节点所有子节点的主节" "点。" +#: 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 " @@ -46242,12 +46483,16 @@ msgid "" "Emitted when a child node enters the scene tree, either because it entered " "on its own or because this node entered with it." msgstr "" +"在子节点进入场景树时触发,可以是因为该子节点自行进入,也可以是因为本节点带着" +"该子节点一起进入。" #: doc/classes/Node.xml msgid "" "Emitted when a child node exits the scene tree, either because it exited on " "its own or because this node exited." msgstr "" +"在子节点离开场景树时触发,可以是因为该子节点自行离开,也可以是因为本节点离" +"开。" #: doc/classes/Node.xml msgid "Emitted when the node is ready." @@ -46366,6 +46611,13 @@ msgstr "" "在节点准备好时收到通知,就在收到[constant NOTIFICATION_READY]之前。与后者不" "同,它每次节点进入树时都会发送,而不是只发送一次。" +#: doc/classes/Node.xml +#, fuzzy +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 " @@ -46422,7 +46674,7 @@ msgstr "" #: doc/classes/Node2D.xml doc/classes/Vector2.xml msgid "All 2D Demos" -msgstr "" +msgstr "所有 2D 演示" #: doc/classes/Node2D.xml msgid "Multiplies the current scale by the [code]ratio[/code] vector." @@ -46634,7 +46886,7 @@ msgstr "" #: doc/classes/PanelContainer.xml doc/classes/TileMap.xml #: doc/classes/TileSet.xml msgid "2D Role Playing Game Demo" -msgstr "" +msgstr "2D 角色扮演游戏演示" #: doc/classes/NodePath.xml msgid "" @@ -46954,11 +47206,11 @@ msgstr "" #: doc/classes/Object.xml doc/classes/Reference.xml doc/classes/Resource.xml msgid "When and how to avoid using nodes for everything" -msgstr "" +msgstr "何时以及如何避免为任何事情使用节点" #: doc/classes/Object.xml msgid "Advanced exports using _get_property_list()" -msgstr "" +msgstr "使用 _get_property_list() 进行高级导出" #: doc/classes/Object.xml msgid "" @@ -47418,7 +47670,6 @@ msgid "" msgstr "从对象的元数据中删除给定条目。另见 [method set_meta]。" #: doc/classes/Object.xml -#, fuzzy msgid "" "Assigns a new value to the given property. If the [code]property[/code] does " "not exist or the given value's type doesn't match, nothing will happen.\n" @@ -47427,8 +47678,8 @@ msgid "" "properties where you should use the same convention as in the C# source " "(typically PascalCase)." msgstr "" -"为给定的属性赋一个新值。如果 [code]property[/code] 不存在,则不会发生任何事" -"情。\n" +"为给定的属性赋一个新值。如果 [code]property[/code] 不存在,或者给定的值的类型" +"与之不匹配时,则不会发生任何事情。\n" "[b]注意:[/b]在 C# 中,如果属性名由内置的 Godot 节点定义,则必须将其指定为 " "snake_case。这不适用于用户定义的属性,在这些属性中,您应该使用与 C# 源中相同" "的约定(通常是 PascalCase)。" @@ -47661,12 +47912,11 @@ msgstr "用于[Occluder]节点进行遮挡剔除的形状的基类。" #: doc/classes/OccluderShape.xml msgid "[Occluder]s can use any primitive shape derived from [OccluderShape]." -msgstr "[Occluder] 可以使用从 [OccluderShape] 派生的任何原始形状。" +msgstr "[Occluder] 可以使用从 [OccluderShape] 派生的任何图元。" #: doc/classes/OccluderShapePolygon.xml -#, fuzzy msgid "Polygon occlusion primitive for use with the [Occluder] node." -msgstr "与 [Occluder] 节点一起使用的球形遮挡基本单元。" +msgstr "用于 [Occluder] 节点的多边形遮挡图元。" #: doc/classes/OccluderShapePolygon.xml msgid "" @@ -47683,32 +47933,37 @@ msgid "" "the system will operate at runtime, so in most cases you will want to use 4 " "points for each." msgstr "" +"[OccluderShape] 是 [Occluder] 节点所使用的资源,用于几何遮挡剔除。\n" +"该多边形必须是凸多边形。多边形顶点的创建与删除可以在编辑器的检查器中进行,也" +"可以通过调用 [code]set_polygon_points[/code] 实现。每一条边的顶点都可以通过在" +"编辑器视窗中拖拽句柄设置。\n" +"另外,每一个多边形遮挡器都可以支持单个空洞。如果你在编辑器的检查器中为空洞添" +"加至少三个顶点,就可以在编辑器视窗中拖拽空洞边缘顶点的句柄。\n" +"一般而言,多边形以及空洞的边数越少,运行时系统的处理速度就越快,所以在大多数" +"情况下你都只会设置 4 个顶点。" #: doc/classes/OccluderShapePolygon.xml -#, fuzzy msgid "Sets an individual hole point position." -msgstr "设置单个球体的位置。" +msgstr "设置单独的空洞顶点位置。" #: doc/classes/OccluderShapePolygon.xml -#, fuzzy msgid "Sets an individual polygon point position." -msgstr "设置单个球体的位置。" +msgstr "设置单独的多边形顶点位置。" #: doc/classes/OccluderShapePolygon.xml -#, fuzzy msgid "Allows changing the hole geometry from code." -msgstr "通过代码绘制简单的几何形状。" +msgstr "允许通过代码修改空洞形状。" + +#: doc/classes/OccluderShapePolygon.xml +msgid "Allows changing the polygon geometry from code." +msgstr "允许通过代码修改多边形形状。" #: doc/classes/OccluderShapePolygon.xml #, fuzzy -msgid "Allows changing the polygon geometry from code." -msgstr "通过代码绘制简单的几何形状。" - -#: doc/classes/OccluderShapePolygon.xml msgid "" -"Specifies whether the occluder should operate one way only, or from both " -"sides." -msgstr "" +"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 msgid "Spherical occlusion primitive for use with the [Occluder] node." @@ -48306,7 +48561,6 @@ msgstr "" "在文件的末尾是所有已使用资源类型的统计数据。" #: doc/classes/OS.xml -#, fuzzy msgid "" "Execute the file at the given path with the arguments passed as an array of " "strings. Platform path resolution will take place. The resolved file must " @@ -48393,7 +48647,16 @@ msgstr "" "[codeblock]\n" "OS.execute(\"CMD.exe\", [\"/C\", \"cd %TEMP% && dir\"], true, output)\n" "[/codeblock]\n" -"[b]注意:[/b]此方法仅在 Android、iOS、Linux、macOS 和 Windows 上实现。" +"[b]注意:[/b]此方法仅在 Android、iOS、Linux、macOS 和 Windows 上实现。\n" +"[b]注意:[/b]如果要执行 Windows 命令解释器的内置命令,请将 [code]path[/code] " +"指定为 [code]cmd.exe[/code],将第一个参数设为 [code]/c[/code],第二个参数设为" +"想要的命令。\n" +"[b]注意:[/b]如果要执行 PowerShell 的内置命令,请将 [code]path[/code] 指定为 " +"[code]powershell.exe[/code],将第一个参数设为 [code]-Command[/code],第二个参" +"数设为想要的命令。\n" +"[b]注意:[/b]如果要执行 Unix Shell 的内置命令,请将 [code]path[/code] 指定为 " +"Shell 可执行文件的名称,将第一个参数设为 [code]-c[/code],第二个参数设为想要" +"的命令。" #: doc/classes/OS.xml msgid "Returns the scancode of the given string (e.g. \"Escape\")." @@ -48751,8 +49014,20 @@ msgstr "" "[b]注意:[/b]此方法在Android、iOS、Linux、macOS和Windows上实现。" #: doc/classes/OS.xml -msgid "Returns the number of threads available on the host machine." -msgstr "返回宿主机上可用的线程数。" +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 msgid "Returns the window size including decorations like window borders." @@ -48881,10 +49156,10 @@ msgid "" "differentiate between app specific and shared directories. Shared " "directories have additional restrictions on Android." msgstr "" -"返回不同平台上常用文件夹的实际路径。可用的位置在[enum SystemDir]中指定。\n" -"[b]注意:[/b] 这个方法在Android、Linux、macOS和Windows上实现。\n" -"[b]注意:[/b] 共享存储在Android上实现,并允许区分应用程序特定目录和共享目录。" -"共享目录在Android上有额外的限制。" +"返回不同平台上常用文件夹的实际路径。可用的位置在 [enum SystemDir] 中指定。\n" +"[b]注意:[/b]这个方法在 Android、Linux、macOS 和 Windows 上实现。\n" +"[b]注意:[/b]共享存储在 Android 上实现,并允许区分应用程序特定目录和共享目" +"录。共享目录在 Android 上有额外的限制。" #: doc/classes/OS.xml msgid "Returns the epoch time of the operating system in milliseconds." @@ -49105,9 +49380,8 @@ msgstr "" "[b]注意:[/b] 这个方法在macOS上实现。" #: doc/classes/OS.xml -#, fuzzy msgid "Returns [code]true[/code] if there is content on the clipboard." -msgstr "如果文件当前被打开,返回[code]true[/code]。" +msgstr "如果剪贴板上存在内容,则返回 [code]true[/code]。" #: doc/classes/OS.xml msgid "" @@ -49252,14 +49526,14 @@ msgstr "" "[b]注意:[/b] 本方法可在Linux、macOS和Windows上实现。" #: doc/classes/OS.xml -#, fuzzy msgid "" "Converts a physical (US QWERTY) [code]scancode[/code] to one in the active " "keyboard layout.\n" "[b]Note:[/b] This method is implemented on Linux, macOS and Windows." msgstr "" -"设置活动键盘布局。\n" -"[b]注:[/b]此方法可在Linux、macOS和Windows上实现。" +"将物理(美式 QWERTY)扫描码 [code]scancode[/code] 转换为当前活动键盘布局的扫" +"描码。\n" +"[b]注意:[/b]此方法在 Linux、macOS 和 Windows 上实现。" #: doc/classes/OS.xml msgid "" @@ -50500,11 +50774,11 @@ msgstr "" #: doc/classes/Panel.xml msgid "2D Finite State Machine Demo" -msgstr "" +msgstr "2D 有限状态机演示" #: doc/classes/Panel.xml doc/classes/Skeleton.xml doc/classes/SkeletonIK.xml msgid "3D Inverse Kinematics Demo" -msgstr "" +msgstr "3D 逆运动学演示" #: doc/classes/Panel.xml msgid "The style of this [Panel]." @@ -50697,7 +50971,7 @@ msgstr "" #: doc/classes/Particles.xml msgid "Controlling thousands of fish with Particles" -msgstr "" +msgstr "用粒子控制数千条鱼" #: doc/classes/Particles.xml msgid "" @@ -50844,7 +51118,7 @@ msgstr "" #: doc/classes/Particles2D.xml msgid "Particle systems (2D)" -msgstr "" +msgstr "粒子系统(2D)" #: doc/classes/Particles2D.xml msgid "Returns a rectangle containing the positions of all existing particles." @@ -51736,7 +52010,7 @@ msgstr "" #: doc/classes/PhysicsDirectBodyState.xml #: doc/classes/PhysicsDirectSpaceState.xml doc/classes/RayCast.xml msgid "Ray-casting" -msgstr "" +msgstr "发射射线" #: doc/classes/Physics2DDirectBodyState.xml doc/classes/RigidBody2D.xml msgid "Adds a constant directional force without affecting rotation." @@ -54735,7 +55009,7 @@ msgstr "" #: doc/classes/PoolVector2Array.xml doc/classes/TileMap.xml #: doc/classes/TileSet.xml msgid "2D Navigation Astar Demo" -msgstr "" +msgstr "2D A 星导航演示" #: doc/classes/PoolVector2Array.xml msgid "" @@ -55267,9 +55541,8 @@ msgstr "" "[b]注:[/b]被移除项后的项的索引将被移位1。" #: doc/classes/PopupMenu.xml -#, fuzzy msgid "Sets the currently focused item as the given [code]index[/code]." -msgstr "设置在索引[code]idx[/code]处项的图标。" +msgstr "将当前聚焦项目设置为给定的索引 [code]index[/code]。" #: doc/classes/PopupMenu.xml msgid "Hides the [PopupMenu] when the window loses focus." @@ -58369,6 +58642,18 @@ 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 +#, 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 " "games, where clock synchronization matters. Higher values cause higher " @@ -58379,8 +58664,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 "" "控制物理时钟实时同步的程度。如果是0或更少,时钟是同步的。这样的值建议用于网络" "游戏,因为时钟的同步性很重要。较高的值会导致游戏中的时钟和真实时钟的偏差较" @@ -58831,7 +59118,6 @@ msgstr "" "义。" #: doc/classes/ProjectSettings.xml -#, fuzzy msgid "" "If set to [code]Asynchronous[/code] and available on the target device, " "asynchronous compilation of shaders is enabled (in contrast to " @@ -58867,10 +59153,12 @@ msgstr "" "超级着色器是一个非常复杂的着色器,虽然慢但是可以用于任何渲染环境。引擎会在内" "部生成这个着色器,这样在一开始就能使用,而传统的根据不同条件优化的版本则需要" "进行编译。\n" -"为了节省加载时间,你可以使用 [code]Asynchronous + Cache[/code],会让超级着色" -"器也被缓存到存储之中,这样下一次使用时准备起来就会更快(前提是平台支持这么" -"做)。\n" -"[b]警告:[/b] 异步编译目前只支持空间和粒子材质/着色器。" +"如果想要在项目运行至少一次后减少加载时间,你可以使用 [code]Asynchronous + " +"Cache[/code]。这样会让超级着色器也被缓存到存储之中,这样下一次使用时准备起来" +"就会更快(前提是平台支持这么做)。\n" +"[b]注意:[/b] 异步编译目前只支持空间(3D)和粒子材质/着色器。即使该设置为 " +"[code]Asynchronous[/code] 或 [code]Asynchronous + Cache[/code],画布项(2D)" +"着色器也不会使用异步编译。" #: doc/classes/ProjectSettings.xml msgid "" @@ -58987,7 +59275,6 @@ msgstr "" "用于交错属性数据。如果用于移动设备,建议启用。切换后需要手动重新导入网格。" #: doc/classes/ProjectSettings.xml -#, fuzzy msgid "" "Determines the maximum number of polygon occluders that will be used at any " "one time.\n" @@ -58999,7 +59286,8 @@ msgid "" msgstr "" "确定将在任何时候使用的球体遮挡器的最大数量。\n" "尽管一个场景中可以有许多遮挡物,但系统会根据屏幕空间度量从这些遮挡物中选择最" -"相关的每一帧,以提供最佳的整体性能。" +"相关的每一帧,以提供最佳的整体性能。\n" +"大量的多边形可能剔除更多的对象,但是剔除计算的消耗也会随遮挡物的数量增加。" #: doc/classes/ProjectSettings.xml msgid "" @@ -59080,10 +59368,13 @@ 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 " -"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 "" "如果为 [code]true[/code],分配根 [Viewport] 的帧缓冲时将使用高动态范围。高动" @@ -59093,10 +59384,11 @@ 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 "" -"由于性能问题或驱动支持,移动设备上的 [member rendering/quality/depth/hdr] 的" -"低端覆盖。" #: doc/classes/ProjectSettings.xml msgid "" @@ -59135,7 +59427,6 @@ msgstr "" "和照明时,这会提高高透支场景的性能。" #: doc/classes/ProjectSettings.xml -#, fuzzy msgid "" "The directional shadow's size in pixels. Higher values will result in " "sharper shadows, at the cost of performance. The value will be rounded up to " @@ -59143,7 +59434,8 @@ msgid "" "will be applied immediately." msgstr "" "方向性阴影的大小,以像素为单位。更高的值会导致更清晰的阴影,但会以性能为代" -"价。该值将被四舍五入到最接近的2次方。" +"价。该值将被四舍五入到最接近的 2 次方。该设置可以在运行时修改;修改会立即生" +"效。" #: doc/classes/ProjectSettings.xml msgid "" @@ -59268,13 +59560,14 @@ 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 " "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 "" "用于帧缓冲区的分配策略。它越简单,使用的资源就越少(但支持的功能也越少)。如" "果设置为“2D Without Sampling”(2D 无采样)或“3D Without Effects”(3D 无特" @@ -59714,7 +60007,7 @@ msgstr "" msgid "" "Objects can use this signal to restrict reading of settings only to " "situations where a change has been made." -msgstr "" +msgstr "对象可以利用该信号,只在发生修改时才读取设置。" #: doc/classes/ProximityGroup.xml msgid "General-purpose proximity detection node." @@ -59738,7 +60031,7 @@ msgstr "" #: doc/classes/QuadMesh.xml doc/classes/Viewport.xml #: doc/classes/ViewportTexture.xml msgid "2D in 3D Demo" -msgstr "" +msgstr "3D 中的 2D 演示" #: doc/classes/QuadMesh.xml msgid "Offset of the generated Quad. Useful for particles." @@ -59978,9 +60271,8 @@ msgstr "" "不是实际的默认种子。" #: doc/classes/RandomNumberGenerator.xml -#, fuzzy msgid "Random number generation" -msgstr "设置随机数生成器的种子。" +msgstr "随机数生成" #: doc/classes/RandomNumberGenerator.xml msgid "" @@ -60324,7 +60616,7 @@ msgstr "" #: doc/classes/RayCast.xml doc/classes/RayCast2D.xml msgid "" "The ray's destination point, relative to the RayCast's [code]position[/code]." -msgstr "光线相对于光线投射的 [code]position[/code]的目标点,。" +msgstr "光线的目标点,相对于该 RayCast 的 [code]position[/code]。" #: doc/classes/RayCast.xml msgid "If [code]true[/code], collision with [Area]s will be reported." @@ -60528,9 +60820,8 @@ msgstr "" "[/codeblock]" #: doc/classes/Rect2.xml -#, fuzzy msgid "Returns the area of the [Rect2]. See also [method has_no_area]." -msgstr "返回 [Rect2] 面积。" +msgstr "返回该 [Rect2] 的面积。另请参阅 [method has_no_area]。" #: doc/classes/Rect2.xml msgid "" @@ -60557,18 +60848,16 @@ msgid "" msgstr "返回[Rect2]向[enum Margin]方向增长给定数量单位的副本。" #: doc/classes/Rect2.xml -#, fuzzy msgid "" "Returns [code]true[/code] if the [Rect2] is flat or empty, [code]false[/" "code] otherwise. See also [method get_area].\n" "[b]Note:[/b] If the [Rect2] has a negative size and is not flat or empty, " "[method has_no_area] will return [code]true[/code]." msgstr "" -"如果对象从给定的 [code]class[/code] 中继承,则返回 [code]true[/code]。另请参" -"阅 [method get_class]。\n" -"[b]注:[/b] [method is_class] 没有考虑 [code]class_name[/code] 声明。如果对象" -"有 [code]class_name[/code] 定义,[method is_class] 将为该名称返回 " -"[code]false[/code] 。" +"如果该 [Rect2] 为线段或为空,则返回 [code]true[/code],否则返回 [code]false[/" +"code]。另请参阅 [method get_area]。\n" +"[b]注意:[/b]如果该 [Rect2] 的大小为负数,且既不是线段也不为空,则 [method " +"has_no_area] 会返回 [code]true[/code]。" #: doc/classes/Rect2.xml msgid "" @@ -60848,7 +61137,6 @@ msgstr "" "[code]internal_ambient_*[/code]属性控制。" #: doc/classes/ReflectionProbe.xml -#, fuzzy msgid "" "The maximum distance away from the [ReflectionProbe] an object can be before " "it is culled. Decrease this to improve performance, especially when using " @@ -60859,7 +61147,10 @@ msgid "" "[member extents] are already large." msgstr "" "设置对象在被剔除前与该 [ReflectionProbe] 的最大距离。调低可以提升性能,尤其是" -"使用 [constant UPDATE_ALWAYS] 作为 [member update_mode] 时。" +"使用 [constant UPDATE_ALWAYS] 作为 [member update_mode] 时。\n" +"[b]注意:[/b]最大反射距离总是至少等于 [member extents] 的。这意味着减小 " +"[member max_distance] 并不总能将对象剔除出反射,尤其是在反射探针的 [member " +"extents] 相当大时。" #: doc/classes/ReflectionProbe.xml msgid "" @@ -61297,7 +61588,7 @@ msgstr "" #: doc/classes/Resource.xml msgid "Resources" -msgstr "" +msgstr "资源" #: doc/classes/Resource.xml msgid "" @@ -61599,7 +61890,7 @@ msgstr "" #: doc/classes/ResourceImporter.xml msgid "Import plugins" -msgstr "" +msgstr "导入插件" #: doc/classes/ResourceImporter.xml msgid "The default import order." @@ -62007,11 +62298,11 @@ msgstr "" #: doc/classes/RichTextLabel.xml msgid "BBCode in RichTextLabel" -msgstr "" +msgstr "RichTextLabel 中的 BBCode" #: doc/classes/RichTextLabel.xml msgid "GUI Rich Text/BBcode Demo" -msgstr "" +msgstr "GUI 富文本/BBcode 演示" #: doc/classes/RichTextLabel.xml msgid "" @@ -62240,7 +62531,6 @@ msgstr "" "置为 [code]false[/code]。改用 [method append_bbcode] 来保留 BBCode 格式。" #: doc/classes/RichTextLabel.xml -#, fuzzy msgid "" "The label's text in BBCode format. Is not representative of manual " "modifications to the internal tag stack. Erases changes made by other " @@ -62254,10 +62544,11 @@ msgid "" msgstr "" "BBCode 格式的标签文本。不代表对内部标签栈的手动修改。编辑时擦除通过其他方法所" "做的更改。\n" -"[b]注意:[/b] 不建议将 [code]+=[/code] 运算符与 [code]bbcode_text[/code] 一起" +"[b]注意:[/b]不建议将 [code]+=[/code] 运算符与 [code]bbcode_text[/code] 一起" "使用(例如 [code]bbcode_text += \"some string\"[/code]),因为它会替换整个文" -"本并可能导致速度变慢。使用 [method append_bbcode] 代替添加文本,除非你必须关" -"闭在先前方法调用中打开的标签。" +"本并可能导致速度变慢。它还会清除所有使用 [code]push_*[/code] 方法入栈的 " +"BBCode。使用 [method append_bbcode] 代替添加文本,除非你必须关闭在先前方法调" +"用中打开的标签。" #: doc/classes/RichTextLabel.xml msgid "" @@ -63012,11 +63303,11 @@ msgstr "" #: doc/classes/RigidBody2D.xml msgid "2D Physics Platformer Demo" -msgstr "" +msgstr "2D 物理平台跳跃演示" #: doc/classes/RigidBody2D.xml doc/classes/Sprite.xml msgid "Instancing Demo" -msgstr "" +msgstr "实例化演示" #: doc/classes/RigidBody2D.xml msgid "" @@ -63866,7 +64157,7 @@ msgstr "" #: doc/classes/RootMotionView.xml msgid "Using AnimationTree - Root motion" -msgstr "" +msgstr "使用 AnimationTree - 根运动" #: doc/classes/RootMotionView.xml msgid "Path to an [AnimationTree] node to use as a basis for root motion." @@ -64452,6 +64743,13 @@ msgstr "" "- 节点不再调用[method Node._process]、[method Node._physics_process]和" "[method Node._input]。" +#: 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 " @@ -65873,6 +66171,9 @@ msgid "" "recommended to use them for things that can affect gameplay (such as a " "player character made entirely out of soft bodies)." msgstr "" +"可发生形变的物理体。用于创建布料、橡胶等柔性材质的可拉伸或变形的对象。\n" +"[b]注意:[/b][SoftBody] 存在很多已知的问题。因此,建议不要用于对游戏性有影响" +"的地方(例如完全由柔体制作的玩家角色)。" #: doc/classes/SoftBody.xml msgid "Returns local translation of a vertex in the surface array." @@ -65981,10 +66282,22 @@ msgstr "" #: doc/classes/Spatial.xml msgid "Introduction to 3D" -msgstr "" +msgstr "3D 简介" #: doc/classes/Spatial.xml doc/classes/Vector3.xml msgid "All 3D Demos" +msgstr "所有 3D 演示" + +#: 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 @@ -66068,6 +66381,14 @@ msgid "" "[code]up[/code] vector.\n" "Operations take place in global space." msgstr "" +"旋转该节点,让向前的局部坐标轴(-Z)指向目标位置 [code]target[/code]。\n" +"向上的局部坐标轴(+Y)在与向前的局部坐标轴保持垂直的前提下,指向尽量接近 " +"[code]up[/code] 向量的方向。最终的变换是正交的,位置原有缩放。如果是非统一缩" +"放,可能无法正常工作。\n" +"目标位置 [code]target[/code] 不能与该节点的位置相同,[code]up[/code] 向量不能" +"是零,从该节点的位置到 [code]target[/code] 向量的方向不能与 [code]up[/code] " +"平行。\n" +"操作发生在全局空间。" #: doc/classes/Spatial.xml msgid "" @@ -68141,7 +68462,7 @@ msgstr "返回表示此精灵的矩形。" #: doc/classes/SpriteBase3D.xml msgid "If [code]true[/code], the specified flag will be enabled." -msgstr "如果[code]true[/code],指定的标志将被启用。" +msgstr "如果为 [code]true[/code],指定的标志将被启用。" #: doc/classes/SpriteBase3D.xml msgid "The direction in which the front of the texture faces." @@ -68152,10 +68473,11 @@ msgid "" "If [code]true[/code], texture can be seen from the back as well, if " "[code]false[/code], it is invisible when looking at it from behind." msgstr "" -"如果[code]true[/code],从后面也可以看到纹理,如果[code]false[/code],从后面看" -"它是不可见的。" +"如果为 [code]true[/code],则从后面也可以看到纹理,如果为 [code]false[/code]," +"则从后面看它是不可见的。" #: 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" @@ -68164,11 +68486,19 @@ 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 "" +"用于与该纹理颜色[i]相乘[/i]的颜色值。可用于渲染情绪,或者模拟灯光的颜色。\n" +"[b]注意:[/b]如果 [SpriteBase3D] 定义了 [member GeometryInstance." +"material_override],则必须对该材质覆盖项进行配置,让其在反照率中考虑顶点颜" +"色。否则会忽略 [member modulate] 中所定义的颜色。对于 [SpatialMaterial],必须" +"让 [member SpatialMaterial.vertex_color_use_as_albedo] 为 [code]true[/code]。" +"对于 [ShaderMaterial],着色器的 [code]fragment()[/code] 函数中必须插入 " +"[code]ALBEDO *= COLOR.rgb;[/color]。" #: 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 " @@ -68178,9 +68508,17 @@ 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 "" +"该纹理的可见性,从 [code]0[/code](完全不可见)到 [code]1[/code](完全可" +"见)。[member opacity] 是 [member modulate] 颜色的 Alpha 通道。\n" +"[b]注意:[/b]如果 [SpriteBase3D] 定义了 [member GeometryInstance." +"material_override],则必须对该材质覆盖项进行配置,让其在反照率中考虑顶点颜" +"色。否则会忽略 [member opacity] 中所定义的不透明度。对于 [SpatialMaterial]," +"必须让 [member SpatialMaterial.vertex_color_use_as_albedo] 为 [code]true[/" +"code]。对于 [ShaderMaterial],着色器的 [code]fragment()[/code] 函数中必须插" +"入 [code]ALPHA *= COLOR.a;[/color]。" #: doc/classes/SpriteBase3D.xml msgid "The size of one pixel's width on the sprite to scale it in 3D." @@ -68622,9 +68960,8 @@ msgid "" msgstr "为 [code]true[/code] 时,该 [StreamPeer] 进行编解码时会使用大端格式。" #: doc/classes/StreamPeerBuffer.xml -#, fuzzy msgid "Data buffer stream peer." -msgstr "SSL流对等体。" +msgstr "数据缓冲区流对等体。" #: doc/classes/StreamPeerBuffer.xml msgid "" @@ -68635,43 +68972,47 @@ msgid "" "bytes to the start of the buffer. Get and put operations are performed at " "the cursor position and will move the cursor accordingly." msgstr "" +"使用字节数组作为流的数据缓冲区流对等体。该对象可用于处理来自网络会话的二进制" +"数据。要处理保存在文件中的二进制数据,可以直接使用 [File]。\n" +"[StreamPeerBuffer] 对象会保存一个内部指针,是距离该缓冲区开头的字节偏移量。" +"Get 和 put 操作都在该指针处进行,并会将其进行对应的移动。" #: doc/classes/StreamPeerBuffer.xml msgid "Clears the [member data_array] and resets the cursor." -msgstr "" +msgstr "清除 [member data_array] 并重置指针。" #: doc/classes/StreamPeerBuffer.xml msgid "" "Returns a new [StreamPeerBuffer] with the same [member data_array] content." -msgstr "" +msgstr "返回新的 [StreamPeerBuffer],具有相同的 [member data_array] 内容。" #: doc/classes/StreamPeerBuffer.xml -#, fuzzy msgid "Returns the current cursor position." -msgstr "返回当前的滚动位置。" +msgstr "返回当前的指针位置。" #: doc/classes/StreamPeerBuffer.xml -#, fuzzy msgid "Returns the size of [member data_array]." -msgstr "返回参数的正弦值。" +msgstr "返回 [member data_array] 的大小。" #: doc/classes/StreamPeerBuffer.xml msgid "Resizes the [member data_array]. This [i]doesn't[/i] update the cursor." -msgstr "" +msgstr "调整 [member data_array] 的大小。[i]不会[/i]更新指针。" #: doc/classes/StreamPeerBuffer.xml msgid "" "Moves the cursor to the specified position. [code]position[/code] must be a " "valid index of [member data_array]." msgstr "" +"将指针移动到指定的位置。[code]position[/code] 必须是 [member data_array] 的有" +"效索引。" #: doc/classes/StreamPeerBuffer.xml msgid "The underlying data buffer. Setting this value resets the cursor." -msgstr "" +msgstr "内部的数据缓冲。设置该值会重置指针。" #: doc/classes/StreamPeerSSL.xml msgid "SSL stream peer." -msgstr "SSL流对等体。" +msgstr "SSL 流对等体。" #: doc/classes/StreamPeerSSL.xml msgid "" @@ -68945,8 +69286,13 @@ msgid "Returns [code]true[/code] if the string begins with the given string." msgstr "该字符串以指定字符串开头时,返回 [code]true[/code]。" #: doc/classes/String.xml -msgid "Returns the bigrams (pairs of consecutive letters) of this string." -msgstr "返回此字符串的二元组(连续字母对)。" +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 msgid "" @@ -69182,6 +69528,10 @@ msgid "" "does [i]not[/i] imply the strings are equal, because different strings can " "have identical hash values due to hash collisions." msgstr "" +"返回代表该字符串内容的 32 位哈希值。\n" +"[b]注意:[/b]内容相同的 [String] 会得到一致的哈希值。然而,反之不然。返回一致" +"的哈希值[i]并不[/i]意味着字符串相等,因为不同的字符串可能因为哈希碰撞而得到一" +"致的哈希值。" #: doc/classes/String.xml msgid "" @@ -69308,8 +69658,17 @@ msgstr "" "[code]: / \\ ? * \" | % < >[/code]" #: doc/classes/String.xml -msgid "Returns [code]true[/code] if this string contains a valid float." -msgstr "该字符串包含有效浮点数时,返回 [code]true[/code]。" +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 msgid "" @@ -69334,17 +69693,31 @@ msgstr "" "[code]false[/code]。" #: doc/classes/String.xml +#, fuzzy msgid "" "Returns [code]true[/code] if this string is a valid identifier. A valid " "identifier may contain only letters, digits and underscores ([code]_[/code]) " -"and the first character may not be a digit." +"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 "" "该字符串为有效标识符时,返回 [code]true[/code]。有效标识符仅能够包含字母、数" "字、下划线([code]_[/code]),并且不能以数字开头。" #: doc/classes/String.xml -msgid "Returns [code]true[/code] if this string contains a valid integer." -msgstr "该字符串包含有效整数时,返回 [code]true[/code]。" +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 msgid "" @@ -69402,19 +69775,23 @@ 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])." +"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] )外的任意字符。" #: 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])." +"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] )外的任意字符。" @@ -69637,9 +70014,17 @@ msgstr "以字符串形式返回字符串的 SHA-256 哈希值。" #: 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." -msgstr "返回与此字符串相比的文本的相似度指数。 1表示完全相似,0表示完全不同。" +"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 msgid "Returns a simplified canonical path." @@ -69743,6 +70128,15 @@ msgid "" "print(\"1e3\".to_float()) # 1000\n" "[/codeblock]" msgstr "" +"将包含十进制数字的字符串转换为 [code]float[/code]。该方法会在首个非数字字符处" +"停止,除非是首次遇到 [code].[/code](小数点)以及表示指数的 [code]e[/" +"code]。\n" +"[codeblock]\n" +"print(\"12.3\".to_float()) # 12.3\n" +"print(\"1.2.3\".to_float()) # 1.2\n" +"print(\"12ab3\".to_float()) # 12\n" +"print(\"1e3\".to_float()) # 1000\n" +"[/codeblock]" #: doc/classes/String.xml msgid "" @@ -69755,6 +70149,13 @@ msgid "" "print(\"1.2.3\".to_int()) # 1\n" "[/codeblock]" msgstr "" +"将包含证书的字符串转换为 [code]int[/code]。该方法会删除任何非数字字符,并在遇" +"到 [code].[/code] 后停止。\n" +"[codeblock]\n" +"print(\"123\".to_int()) # 123\n" +"print(\"a1b2c3\".to_int()) # 123\n" +"print(\"1.2.3\".to_int()) # 1\n" +"[/codeblock]" #: doc/classes/String.xml msgid "Returns the string converted to lowercase." @@ -71439,6 +71840,16 @@ msgstr "返回选择结束行。" 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 的文本行数。" + +#: doc/classes/TextEdit.xml +#, fuzzy +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." @@ -72673,6 +73084,12 @@ msgstr "" "如果主题具有 [code]node_type[/code],则清除 [code]name[/code] 处的 " "[code]data_type[/code] 主题项。" +#: 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 "将主题的取值设置为默认主题的副本。" @@ -72728,14 +73145,14 @@ msgstr "" "get_constant]和/或[method get_constant_list]使用。" #: doc/classes/Theme.xml -#, fuzzy msgid "" "Returns the [Font] at [code]name[/code] if the theme has [code]node_type[/" "code]. If such item does not exist and [member default_font] is set on the " "theme, the default font will be returned." msgstr "" -"如果主题有[code]node_type[/code],则将[code]old_name[/code]的[Font]重命名为" -"[code]name[/code]。如果[code]name[/code]已经被占用,则此方法失败。" +"如果主题有 [code]node_type[/code],则返回名为 [code]name[/code] 的 [Font]。如" +"果不存在这样的项目,而该主题设置了 [member default_font],则会返回该默认字" +"体。" #: doc/classes/Theme.xml msgid "" @@ -72856,6 +73273,19 @@ msgstr "" "这个主题的其他[code]get_*[/code]函数使用。\n" "[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 "返回正在播放的场景名称。如果当前没有场景正在播放,返回一个空字符串。" + +#: 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]。" + #: doc/classes/Theme.xml msgid "" "Returns [code]true[/code] if [Color] with [code]name[/code] is in " @@ -72923,6 +73353,14 @@ msgstr "" "[code]node_type[/code]中,则返回[code]true[/code]。\n" "如果该主题没有[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]。" + #: doc/classes/Theme.xml msgid "" "Adds missing and overrides existing definitions with values from the " @@ -73053,6 +73491,20 @@ msgstr "" "如果[code]value[/code]类型与[code]data_type[/code]不匹配,则不做任何处理。\n" "如果主题没有[code]node_type[/code],则创建该类型。" +#: 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 " @@ -73107,11 +73559,11 @@ msgstr "" #: doc/classes/Thread.xml msgid "Using multiple threads" -msgstr "" +msgstr "使用多线程" #: doc/classes/Thread.xml msgid "Thread-safe APIs" -msgstr "" +msgstr "线程安全的 API" #: doc/classes/Thread.xml msgid "" @@ -73213,11 +73665,11 @@ msgstr "" #: doc/classes/TileMap.xml doc/classes/TileSet.xml msgid "Using Tilemaps" -msgstr "" +msgstr "使用图块地图" #: doc/classes/TileMap.xml doc/classes/TileSet.xml msgid "2D Hexagonal Demo" -msgstr "" +msgstr "2D 六边形演示" #: doc/classes/TileMap.xml msgid "Clears all cells." @@ -73922,6 +74374,10 @@ msgid "" "code] (which instead accesses the [TileMap]'s [member CanvasItem.modulate] " "property)." msgstr "" +"设置该图块的调制颜色。\n" +"[b]注意:[/b]调制是通过设置该图块的顶点颜色实现的。要在着色器中访问,请使用 " +"[code]COLOR[/code] 而不是 [code]MODULATE[/code](访问的是 [TileMap] 的 " +"[member CanvasItem.modulate] 属性)。" #: doc/classes/TileSet.xml msgid "Sets the tile's name." @@ -75063,7 +75519,6 @@ msgid "Clears the tree. This removes all items." msgstr "清除树。这将删除所有项目。" #: doc/classes/Tree.xml -#, fuzzy msgid "" "Creates an item in the tree and adds it as a child of [code]parent[/code], " "which can be either a valid [TreeItem] or [code]null[/code].\n" @@ -75072,11 +75527,12 @@ msgid "" "The new item will be the [code]idx[/code]th child of parent, or it will be " "the last child if there are not enough siblings." msgstr "" -"在树中创建一个项目,并将其作为[code]parent[/code]的一个子项。\n" -"如果[code]parent[/code]是[code]null[/code],根项将是父项,如果树是空的,新项" -"将是根本身。\n" -"新项将是父项的[code]idx[/code]个子顶,如果没有足够的兄弟姐妹,它将是最后一个" -"子项。" +"在树中创建一个项目,并将其作为父项 [code]parent[/code] 的子项。该父项可以是有" +"效的 [TreeItem] 或 [code]null[/code]。\n" +"如果 [code]parent[/code] 是 [code]null[/code],将使用根项作为父项,如果树是空" +"的,新项将是根本身。\n" +"新项将是父项的第 [code]idx[/code] 个子项目,如果没有足够的兄弟姐妹,它将是最" +"后一个子项。" #: doc/classes/Tree.xml msgid "" @@ -75103,15 +75559,14 @@ msgstr "" "SELECT_MULTI] 模式下可见。" #: doc/classes/Tree.xml -#, fuzzy msgid "" "Returns the button id at [code]position[/code], or -1 if no button is there." -msgstr "返回在[code]position[/code]的列索引,如果那里没有项目,则返回-1。" +msgstr "返回在 [code]position[/code] 的按钮 ID,如果那里没有按钮,则返回 -1。" #: doc/classes/Tree.xml msgid "" "Returns the column index at [code]position[/code], or -1 if no item is there." -msgstr "返回在[code]position[/code]的列索引,如果那里没有项目,则返回-1。" +msgstr "返回在 [code]position[/code] 的列索引,如果那里没有项目,则返回 -1。" #: doc/classes/Tree.xml msgid "Returns the column's title." @@ -75170,14 +75625,13 @@ msgid "Returns the column for the currently edited item." msgstr "返回当前编辑项的列。" #: doc/classes/Tree.xml -#, fuzzy msgid "" "Returns the rectangle area for the specified [TreeItem]. If [code]column[/" "code] is specified, only get the position and size of that column, otherwise " "get the rectangle containing all columns." msgstr "" -"返回指定项目的矩形区域。如果[code]column[/code]被指定,只得到该列的位置和大" -"小,否则得到包含所有列的矩形。" +"返回指定 [TreeItem] 的矩形区域。如果指定了 [code]column[/code],则只得到该列" +"的位置和大小,否则会得到包含所有列的矩形。" #: doc/classes/Tree.xml msgid "" @@ -75186,15 +75640,15 @@ msgid "" msgstr "返回指定位置,即相对于树的原点位置的树中项。" #: doc/classes/Tree.xml -#, fuzzy msgid "" "Returns the next selected [TreeItem] after the given one, or [code]null[/" "code] if the end is reached.\n" "If [code]from[/code] is [code]null[/code], this returns the first selected " "item." msgstr "" -"返回指定项后的下一个选择项,如果到达终点则返回[code]null[/code]。\n" -"如果[code]from[/code]是[code]null[/code],将返回第一个被选中的项。" +"返回指定的 [TreeItem] 之后的下一个选中项,如果到达终点则返回 [code]null[/" +"code]。\n" +"如果 [code]from[/code] 是 [code]null[/code],将返回第一个被选中的项。" #: doc/classes/Tree.xml msgid "Returns the last pressed button's index." @@ -75240,9 +75694,8 @@ msgstr "" "要判断一个项的某一列是否被选中,请使用[method TreeItem.is_selected]。" #: doc/classes/Tree.xml -#, fuzzy msgid "Causes the [Tree] to jump to the specified [TreeItem]." -msgstr "使 [Tree] 跳转到指定的项。" +msgstr "使 [Tree] 跳转到指定的 [TreeItem]。" #: doc/classes/Tree.xml msgid "" @@ -75661,13 +76114,13 @@ 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 "" "在 [code]column[/code] 列添加一个带有 [Texture] [code]button[/code] 的按钮。 " -"[code]button_idx[/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 "" @@ -75700,38 +76153,36 @@ msgid "" "Returns the [Texture] of the button at index [code]button_idx[/code] in " "column [code]column[/code]." msgstr "" -"返回在[code]column[/code]中索引[code]button_idx[/code]按钮的[Texture]。" +"返回在 [code]column[/code] 列中索引为 [code]button_idx[/code] 的按钮的 " +"[Texture]。" #: doc/classes/TreeItem.xml -#, fuzzy msgid "" "Returns the button index if there is a button with id [code]id[/code] in " "column [code]column[/code], otherwise returns -1." msgstr "" -"返回在[code]column[/code]中索引[code]button_idx[/code]按钮的提示信息字符串。" - -#: 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." -msgstr "" -"返回[code]column[/code]中按钮的数量。如果没有指定索引,可以用来获取最近添加的" -"按钮的索引。" +"如果在 [code]column[/code] 列中存在 ID 为 [code]id[/code] 的按钮,则返回其索" +"引号,否则返回 -1。" #: doc/classes/TreeItem.xml #, fuzzy +msgid "Returns the number of buttons in column [code]column[/code]." +msgstr "返回列[code]column[/code]的自定义颜色。" + +#: doc/classes/TreeItem.xml msgid "" "Returns the id for the button at index [code]button_idx[/code] in column " "[code]column[/code]." msgstr "" -"返回在[code]column[/code]中索引[code]button_idx[/code]按钮的提示信息字符串。" +"返回在 [code]column[/code] 列中索引为 [code]button_idx[/code] 的按钮的 ID。" #: doc/classes/TreeItem.xml msgid "" "Returns the tooltip string for the button at index [code]button_idx[/code] " "in column [code]column[/code]." msgstr "" -"返回在[code]column[/code]中索引[code]button_idx[/code]按钮的提示信息字符串。" +"返回在 [code]column[/code] 列中索引为 [code]button_idx[/code] 的按钮的提示信" +"息字符串。" #: doc/classes/TreeItem.xml msgid "Returns the column's cell mode." @@ -75740,7 +76191,7 @@ msgstr "返回该列的单元格模式。" #: doc/classes/TreeItem.xml msgid "" "Returns the TreeItem's first child item or a null object if there is none." -msgstr "返回TreeItem树项的第一个子项,如果没有,则返回一个空对象。" +msgstr "返回 TreeItem 树项的第一个子项,如果没有,则返回一个空对象。" #: doc/classes/TreeItem.xml msgid "Returns the custom background color of column [code]column[/code]." @@ -77497,7 +77948,7 @@ msgstr "" #: doc/classes/Vector2.xml doc/classes/Vector3.xml msgid "3Blue1Brown Essence of Linear Algebra" -msgstr "" +msgstr "3Blue1Brown《线性代数的本质》" #: doc/classes/Vector2.xml msgid "" @@ -77858,7 +78309,7 @@ msgid "" "will always evaluate to [code]true[/code]." msgstr "" "可用于表示 3D 空间中的位置或任何其他数值对的 3 元素结构。\n" -"[b]注意:[/b] 在布尔上下文中,如果 Vector3 等于 [code]Vector3(0, 0, 0)[/" +"[b]注意:[/b]在布尔上下文中,如果 Vector3 等于 [code]Vector3(0, 0, 0)[/" "code],将评估为 [code]false[/code]。否则, Vector3 将始终评估为 [code]true[/" "code]。" @@ -78305,14 +78756,12 @@ msgstr "" "阻止车身侧倾。" #: doc/classes/VFlowContainer.xml -#, fuzzy msgid "Vertical flow container." -msgstr "垂直盒式容器。" +msgstr "垂直流式容器。" #: doc/classes/VFlowContainer.xml -#, fuzzy msgid "Vertical version of [FlowContainer]." -msgstr "[Separator]的垂直版本。" +msgstr "[FlowContainer] 的垂直版本。" #: doc/classes/VideoPlayer.xml msgid "Control for playing video streams." @@ -78580,23 +79029,23 @@ msgstr "" #: doc/classes/Viewport.xml msgid "Viewports tutorial index" -msgstr "" +msgstr "视窗教程索引" #: doc/classes/Viewport.xml doc/classes/ViewportTexture.xml msgid "3D in 2D Demo" -msgstr "" +msgstr "2D 中的 3D 演示" #: doc/classes/Viewport.xml msgid "Screen Capture Demo" -msgstr "" +msgstr "屏幕捕捉演示" #: doc/classes/Viewport.xml msgid "Dynamic Split Screen Demo" -msgstr "" +msgstr "动态分屏演示" #: doc/classes/Viewport.xml doc/classes/ViewportTexture.xml msgid "3D Viewport Scaling Demo" -msgstr "" +msgstr "3D Viewport 缩放演示" #: doc/classes/Viewport.xml msgid "" @@ -78627,11 +79076,10 @@ msgid "Returns the topmost modal in the stack." msgstr "返回堆栈中最顶层的模型。" #: doc/classes/Viewport.xml -#, fuzzy msgid "" "Returns the mouse's position in this [Viewport] using the coordinate system " "of this [Viewport]." -msgstr "返回相对于视窗的鼠标位置。" +msgstr "返回该 [Viewport] 中鼠标的位置,使用该 [Viewport] 的坐标系。" #: doc/classes/Viewport.xml msgid "Returns information about the viewport from the rendering pipeline." @@ -78743,6 +79191,7 @@ msgid "" "Moves the mouse pointer to the specified position in this [Viewport] using " "the coordinate system of this [Viewport]." msgstr "" +"将鼠标指针移动到该 [Viewport] 中的指定位置,使用该 [Viewport] 的坐标系。" #: doc/classes/Viewport.xml msgid "If [code]true[/code], the viewport will be used in AR/VR process." @@ -82408,6 +82857,10 @@ msgid "" "shaders), this function takes an optional argument to query either low or " "high priority changes, or any changes." msgstr "" +"如果 VisualServer 的数据存在修改,则返回 [code]true[/code]。发生该情况时,通" +"常会调用 [method draw]。\n" +"因为修改会被注册为高优先级或低优先级(例如动态着色器),该函数接受可选的参" +"数,用于查询低优先级或高优先级的修改,或者任何修改。" #: doc/classes/VisualServer.xml msgid "Not yet implemented. Always returns [code]false[/code]." @@ -85043,7 +85496,7 @@ msgstr "对SSAO输出执行3x3模糊。使用它可以获得最平滑的SSAO。" #: doc/classes/VisualServer.xml msgid "" "Used to query for any changes that request a redraw, whatever the priority." -msgstr "" +msgstr "用于查询任何要求重绘的修改,无论优先级。" #: doc/classes/VisualServer.xml msgid "" @@ -85051,10 +85504,12 @@ msgid "" "causing editor redraws. Examples might include dynamic shaders (typically " "using the [code]TIME[/code] built-in)." msgstr "" +"注册为低优先级的修改,可以被屏蔽防止造成编辑器重绘。例如动态着色器(一般会使" +"用 [code]TIME[/code] 内置变量)。" #: doc/classes/VisualServer.xml msgid "Registered changes which can cause a redraw default to high priority." -msgstr "" +msgstr "注册为高优先级的修改,会引起重绘。" #: doc/classes/VisualShader.xml msgid "A custom shader program with a visual editor." @@ -87817,8 +88272,8 @@ msgid "" "[b]Note:[/b] This signal is [i]not[/i] emitted when used as high-level " "multiplayer peer." msgstr "" -"当收到WebSocket消息时触发。\n" -"[b]注意:[/b]当作为高级别的多人对等体使用时,这个信号[i]not[/i]不发射。" +"当收到 WebSocket 消息时触发。\n" +"[b]注意:[/b]当被用作高级多人对等体使用时,[i]不会[/i]触发这个信号。" #: modules/websocket/doc_classes/WebSocketClient.xml msgid "" @@ -87832,19 +88287,20 @@ msgstr "" #: modules/websocket/doc_classes/WebSocketMultiplayerPeer.xml msgid "Base class for WebSocket server and client." -msgstr "WebSocket服务器和客户端的基类。" +msgstr "WebSocket 服务器和客户端的基类。" #: modules/websocket/doc_classes/WebSocketMultiplayerPeer.xml msgid "" "Base class for WebSocket server and client, allowing them to be used as " "network peer for the [MultiplayerAPI]." msgstr "" -"WebSocket服务器和客户端的基类,允许它们作为[MultiplayerAPI]的网络对等体使用。" +"WebSocket 服务器和客户端的基类,允许它们作为 [MultiplayerAPI] 的网络对等体使" +"用。" #: modules/websocket/doc_classes/WebSocketMultiplayerPeer.xml msgid "" "Returns the [WebSocketPeer] associated to the given [code]peer_id[/code]." -msgstr "返回与给定[code]peer_id[/code]关联的[WebSocketPeer]。" +msgstr "返回与给定 [code]peer_id[/code] 关联的 [WebSocketPeer]。" #: modules/websocket/doc_classes/WebSocketMultiplayerPeer.xml msgid "" @@ -88128,7 +88584,6 @@ msgid "AR/VR interface using WebXR." msgstr "使用 WebXR 的 AR/VR 接口。" #: modules/webxr/doc_classes/WebXRInterface.xml -#, fuzzy msgid "" "WebXR is an open standard that allows creating VR and AR applications that " "run in the web browser.\n" @@ -88253,15 +88708,15 @@ msgid "" "a wider or narrower set of devices and input methods, or to allow more " "advanced interactions with more advanced devices." msgstr "" -"WebXR是一个开放标准,允许创建在网络浏览器中运行的VR和AR应用程序。\n" -"因此,这个界面只有在HTML5导出中运行时才能使用。\n" -"WebXR支持广泛的设备,从能力很强的设备(如Valve Index、HTC Vive、Oculus Rift和" -"Quest)到能力较弱的设备(如Google Cardboard、Oculus Go、GearVR或普通智能手" -"机)。\n" -"由于WebXR是基于Javascript的,它大量使用回调,这意味着[WebXRInterface]被迫使用" -"信号,而其他AR/VR界面会使用立即返回结果的函数。这使得[WebXRInterface]的初始化" -"比其他AR/VR接口要复杂很多。\n" -"下面是启动一个沉浸式VR会话所需的最小代码。\n" +"WebXR 是一个开放标准,允许创建在网络浏览器中运行的 VR 和 AR 应用程序。\n" +"因此,这个界面只有在 HTML5 导出中运行时才能使用。\n" +"WebXR 支持广泛的设备,从能力很强的设备(如 Valve Index、HTC Vive、Oculus " +"Rift 和 Quest)到能力较弱的设备(如 Google Cardboard、Oculus Go、GearVR 或普" +"通智能手机)。\n" +"由于 WebXR 是基于 Javascript 的,它大量使用回调,这意味着 [WebXRInterface] 被" +"迫使用信号,而其他 AR/VR 界面会使用立即返回结果的函数。这使得 " +"[WebXRInterface] 的初始化比其他 AR/VR 接口要复杂很多。\n" +"下面是启动一个沉浸式 VR 会话所需的最小代码。\n" "[codeblock]\n" "extends Spatial\n" "\n" @@ -88344,27 +88799,28 @@ msgstr "" "func _webxr_session_failed(message):\n" " OS.alert(\"Failed to initialize: \" + message)\n" "[/codeblock]\n" -"有几种方法来处理 \"controller\" 控制器的输入。\n" -"- 使用[ARVRController]节点和它们的[signal ARVRController.button_pressed]和" -"[signal ARVRController.button_release]信号。这是Godot的AR/VR应用中通常处理控" -"制器的方式,然而,这只适用于高级VR控制器,例如Oculus Touch或Index控制器。按钮" -"代码由[url=https://immersive-web.github.io/webxr-gamepads-module/#xr-" -"standard-gamepad-mapping]WebXR Gamepads模块[/url]的3.3节定义。\n" -"- 使用[method Node._unhandled_input]和[InputEventJoypadButton]或" -"[InputEventJoypadMotion]。这和普通的游戏手柄工作原理一样,只是[member " -"InputEvent.device]从100开始,所以左边的控制器是100,右边的控制器是101,按钮代" -"码由[url=https://immersive-web.github.io/webxr-gamepads-module/#xr-standard-" -"gamepad-mapping]WebXR Gamepads模块[/url]的3.3节定义。\n" -"- 使用[signal select]、[signal squeeze]和相关信号。这种方法既适用于高级的VR控" -"制器,也适用于非传统的 \"controller\" 控制器,如在屏幕上的点击、口语化的语音" -"命令或设备本身的按键。传递给这些信号的[code]controller_id[/code]是与[member " -"ARVRController.controller_id]中使用的id相同。\n" +"有几种方法来处理“controller”控制器的输入。\n" +"- 使用 [ARVRController] 节点和它们的 [signal ARVRController.button_pressed] " +"和 [signal ARVRController.button_release] 信号。这是 Godot 的 AR/VR 应用中通" +"常处理控制器的方式,然而,这只适用于高级 VR 控制器,例如 Oculus Touch 或 " +"Index 控制器。按钮代码由 [url=https://immersive-web.github.io/webxr-gamepads-" +"module/#xr-standard-gamepad-mapping]WebXR Gamepads 模块[/url]的 3.3 节定" +"义。\n" +"- 使用 [method Node._unhandled_input]和[InputEventJoypadButton]或" +"[InputEventJoypadMotion]。这和普通的游戏手柄工作原理一样,只是 [member " +"InputEvent.device] 从 100 开始,所以左边的控制器是 100,右边的控制器是 101," +"按钮代码由 [url=https://immersive-web.github.io/webxr-gamepads-module/#xr-" +"standard-gamepad-mapping]WebXR Gamepads模块[/url]的 3.3 节定义。\n" +"- 使用 [signal select]、[signal squeeze] 和相关信号。这种方法既适用于高级的VR" +"控制器,也适用于非传统的“controller”控制器,如在屏幕上的点击、口语化的语音命" +"令或设备本身的按键。传递给这些信号的 [code]controller_id[/code] 是与 [member " +"ARVRController.controller_id] 中使用的 id 相同。\n" "你可以使用这些方法中的一个或全部,让你的游戏或应用程序支持更广泛或更窄的设备" "和输入方法,或者允许与更高级的设备进行更高级的交互。" #: modules/webxr/doc_classes/WebXRInterface.xml msgid "How to make a VR game for WebXR with Godot" -msgstr "" +msgstr "如何使用 Godot 制作 WebXR 的 VR 游戏" #: modules/webxr/doc_classes/WebXRInterface.xml msgid "" @@ -88404,6 +88860,10 @@ msgid "" "[url=https://developer.mozilla.org/en-US/docs/Web/API/XRInputSource/" "targetRayMode]XRInputSource.targetRayMode[/url] for more information." msgstr "" +"返回给定的 [code]controller_id[/code] 控制器的目标射线模式。\n" +"可用于帮助解析来自该控制器的输入。详情请参阅 [url=https://developer.mozilla." +"org/en-US/docs/Web/API/XRInputSource/targetRayMode]XRInputSource." +"targetRayMode[/url]。" #: modules/webxr/doc_classes/WebXRInterface.xml msgid "" @@ -88669,21 +89129,21 @@ msgstr "当[member visibility_state]已更改时触发。" #: modules/webxr/doc_classes/WebXRInterface.xml msgid "We don't know the the target ray mode." -msgstr "" +msgstr "不知道目标射线的模式。" #: modules/webxr/doc_classes/WebXRInterface.xml msgid "" "Target ray originates at the viewer's eyes and points in the direction they " "are looking." -msgstr "" +msgstr "目标射线从观察者的眼睛出发,指向所观察的方向。" #: modules/webxr/doc_classes/WebXRInterface.xml msgid "Target ray from a handheld pointer, most likely a VR touch controller." -msgstr "" +msgstr "目标射线由手持指示器发射,很可能是 VR 触摸控制器。" #: modules/webxr/doc_classes/WebXRInterface.xml msgid "Target ray from touch screen, mouse or other tactile input device." -msgstr "" +msgstr "目标射线由触摸屏、鼠标等触觉输入设备发射。" #: doc/classes/WindowDialog.xml msgid "Base class for window dialogs." diff --git a/doc/translations/zh_TW.po b/doc/translations/zh_TW.po index 6fb4ff9eb27..9a4f44af627 100644 --- a/doc/translations/zh_TW.po +++ b/doc/translations/zh_TW.po @@ -3433,6 +3433,15 @@ msgid "" "Else\"[/code]." 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 " @@ -4946,8 +4955,9 @@ msgid "" msgstr "" #: doc/classes/AnimationNode.xml -msgid "Returns [code]true[/code] whether a given path is filtered." -msgstr "" +#, fuzzy +msgid "Returns whether the given path is filtered." +msgstr "回傳參數的正切值。" #: doc/classes/AnimationNode.xml msgid "" @@ -4971,7 +4981,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 "" @@ -4980,7 +4990,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 @@ -9594,26 +9604,10 @@ msgid "" "[code]at_position[/code]." 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 "" @@ -9770,6 +9764,16 @@ msgstr "" msgid "Number of available audio buses." 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]). " @@ -12853,6 +12857,18 @@ msgstr "" msgid "Returns the RID of the canvas used by this layer." 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[/" @@ -15692,8 +15708,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 " @@ -16449,6 +16466,25 @@ msgid "" "all its [Control] children use." 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 "" @@ -23129,7 +23165,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 @@ -25233,8 +25284,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 @@ -25504,7 +25556,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 @@ -32053,7 +32110,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 @@ -32433,8 +32495,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 @@ -34273,6 +34339,15 @@ msgstr "" msgid "Returns the [Transform2D] of a specific instance." 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 " @@ -34286,6 +34361,18 @@ msgid "" "code] is stored as 4 floats." 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 " @@ -34329,6 +34416,16 @@ msgstr "" 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 "" @@ -34381,6 +34478,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 "" @@ -36702,6 +36811,25 @@ msgid "" "Returns [code]true[/code] if the local system is the master of this node." 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 " @@ -36872,6 +37000,21 @@ msgid "" "normally)." 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 " @@ -36972,6 +37115,14 @@ msgid "" "peer is recursively set as the master for all children of this node." 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 " @@ -37222,6 +37373,12 @@ msgid "" "node enters tree, instead of only once." 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 " @@ -38211,8 +38368,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 @@ -39005,7 +39162,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 @@ -46868,6 +47037,17 @@ msgid "" "below 30 FPS." 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 " @@ -46880,8 +47060,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 @@ -47394,14 +47576,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 @@ -47530,8 +47717,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 @@ -51467,6 +51654,13 @@ msgid "" "_input] will not be called anymore in nodes." 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 " @@ -52721,6 +52915,18 @@ msgstr "" msgid "All 3D Demos" 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 " @@ -54559,7 +54765,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 "" @@ -54573,7 +54779,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 "" @@ -55248,7 +55454,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 @@ -55511,7 +55722,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 @@ -55534,11 +55754,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 @@ -55587,14 +55820,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 @@ -55764,8 +55999,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 @@ -57259,6 +57502,16 @@ msgstr "" 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 "回傳參數的相反值。" + +#: doc/classes/TextEdit.xml +#, fuzzy +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." @@ -58297,6 +58550,12 @@ msgid "" "theme has [code]node_type[/code]." 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 "" @@ -58437,6 +58696,18 @@ msgid "" "future version." 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 +#, fuzzy +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 " @@ -58485,6 +58756,13 @@ msgid "" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." msgstr "" +#: 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 "計算兩個向量的外積。" + #: doc/classes/Theme.xml msgid "" "Adds missing and overrides existing definitions with values from the " @@ -58580,6 +58858,20 @@ msgid "" "Creates [code]node_type[/code] if the theme does not have it." 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 " @@ -60758,7 +61050,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 "" @@ -60800,10 +61092,9 @@ 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." -msgstr "" +#, fuzzy +msgid "Returns the number of buttons in column [code]column[/code]." +msgstr "計算兩個向量的外積。" #: doc/classes/TreeItem.xml #, fuzzy