diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-03-09 10:42:47 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-03-09 10:44:30 +0100 |
commit | da4fc8d0ea7fa23c7ff85abd124ca12a30a55536 (patch) | |
tree | 18fb3a432724ade15251aa2292085b5413bbfee7 /doc/translations | |
parent | e78f9da476e3020c56ebd0510ae69a7f60efbec2 (diff) |
i18n: Sync classref translations with Weblate
(cherry picked from commit 6c56433997b3e0bb3a81a0dee8be145a240f37d4)
Diffstat (limited to 'doc/translations')
39 files changed, 14390 insertions, 2863 deletions
diff --git a/doc/translations/ar.po b/doc/translations/ar.po index dc685b6e2b..eb473b9275 100644 --- a/doc/translations/ar.po +++ b/doc/translations/ar.po @@ -15,12 +15,14 @@ # يزن حمزه <yznhamzeh@gmail.com>, 2021. # HASSAN GAMER - حسن جيمر <gamerhassan55@gmail.com>, 2022. # Spirit <i8bou3@gmail.com>, 2022. +# Mr.k <mineshtine28546271@gmail.com>, 2022. +# Hamza Kalash <mogo.gogo170@gmail.com>, 2022. msgid "" msgstr "" "Project-Id-Version: Godot Engine class reference\n" "Report-Msgid-Bugs-To: https://github.com/godotengine/godot\n" -"PO-Revision-Date: 2022-01-10 13:18+0000\n" -"Last-Translator: Spirit <i8bou3@gmail.com>\n" +"PO-Revision-Date: 2022-02-28 13:54+0000\n" +"Last-Translator: Mr.k <mineshtine28546271@gmail.com>\n" "Language-Team: Arabic <https://hosted.weblate.org/projects/godot-engine/" "godot-class-reference/ar/>\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" @@ -3414,6 +3420,15 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" +"Hints that a string property can be an enumerated value to pick in a list " +"specified via a hint string such as [code]\"Hello,Something,Else\"[/code].\n" +"Unlike [constant PROPERTY_HINT_ENUM] a property with this hint still accepts " +"arbitrary values and can be empty. The list of values serves to suggest " +"possible values." +msgstr "" + +#: doc/classes/@GlobalScope.xml +msgid "" "Hints that a float property should be edited via an exponential easing " "function. The hint string can include [code]\"attenuation\"[/code] to flip " "the curve horizontally and/or [code]\"inout\"[/code] to also include in/out " @@ -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 @@ -9571,26 +9587,10 @@ msgid "" msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Name of the current device for audio input (see [method " -"capture_get_device_list]). The value [code]\"Default\"[/code] means that the " -"system-wide default audio input is currently used." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Returns the names of all audio input devices detected on the system." msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Sets which audio input device is used for audio capture. On systems with " -"multiple audio inputs (such as analog and USB), this can be used to select " -"the audio input device. Setting the value [code]\"Default\"[/code] will " -"record audio from the system-wide default audio input. If an invalid device " -"name is set, the value will be reverted back to [code]\"Default\"[/code]." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Generates an [AudioBusLayout] using the available buses and effects." msgstr "" @@ -9748,6 +9748,16 @@ msgstr "" #: doc/classes/AudioServer.xml msgid "" +"Name of the current device for audio input (see [method get_device_list]). " +"On systems with multiple audio inputs (such as analog, USB and HDMI audio), " +"this can be used to select the audio input device. The value " +"[code]\"Default\"[/code] will record audio on the system-wide default audio " +"input. If an invalid device name is set, the value will be reverted back to " +"[code]\"Default\"[/code]." +msgstr "" + +#: doc/classes/AudioServer.xml +msgid "" "Name of the current device for audio output (see [method get_device_list]). " "On systems with multiple audio outputs (such as analog, USB and HDMI audio), " "this can be used to select the audio output device. The value " @@ -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." @@ -12829,6 +12838,18 @@ msgstr "" #: doc/classes/CanvasLayer.xml msgid "" +"Hides any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]false[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" +"Shows any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]true[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" "The custom [Viewport] node assigned to the [CanvasLayer]. If [code]null[/" "code], uses the default viewport instead." msgstr "" @@ -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 " @@ -16423,6 +16445,25 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "" +"The name of a theme type variation used by this [Control] to look up its own " +"theme items. When empty, the class name of the node is used (e.g. " +"[code]Button[/code] for the [Button] control), as well as the class names of " +"all parent classes (in order of inheritance).\n" +"When set, this property gives the highest priority to the type of the " +"specified name. This type can in turn extend another type, forming a " +"dependency chain. See [method Theme.set_type_variation]. If the theme item " +"cannot be found using this type or its base types, lookup falls back on the " +"class names.\n" +"[b]Note:[/b] To look up [Control]'s own items use various [code]get_*[/code] " +"methods without specifying [code]theme_type[/code].\n" +"[b]Note:[/b] Theme items are looked for in the tree order, from branch to " +"root, where each [Control] node is checked for its [member theme] property. " +"The earliest match against any type/class name is returned. The project-" +"level Theme and the default Theme are checked last." +msgstr "" + +#: doc/classes/Control.xml msgid "Emitted when the node gains keyboard focus." msgstr "" @@ -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 @@ -34240,6 +34311,15 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"When using [i]physics interpolation[/i], this function allows you to prevent " +"interpolation on an instance in the current physics tick.\n" +"This allows you to move instances instantaneously, and should usually be " +"used when initially placing an instance such as a bullet to prevent " +"graphical glitches." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets all data related to the instances in one go. This is especially useful " "when loading the data from disk or preparing the data from GDNative.\n" "All data is packed in one large float array. An array may look like this: " @@ -34253,6 +34333,18 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"An alternative version of [method MultiMesh.set_as_bulk_array] which can be " +"used with [i]physics interpolation[/i]. This method takes two arrays, and " +"can set the data for the current and previous tick in one go. The renderer " +"will automatically interpolate the data at each frame.\n" +"This is useful for situations where the order of instances may change from " +"physics tick to tick, such as particle systems.\n" +"When the order of instances is coherent, the simpler [method MultiMesh." +"set_as_bulk_array] can still be used with interpolation." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets the color of a specific instance by [i]multiplying[/i] the mesh's " "existing vertex colors.\n" "For the color to take effect, ensure that [member color_format] is non-" @@ -34295,6 +34387,16 @@ msgid "Mesh to be drawn." msgstr "" #: doc/classes/MultiMesh.xml +msgid "" +"Choose whether to use an interpolation method that favors speed or quality.\n" +"When using low physics tick rates (typically below 20) or high rates of " +"object rotation, you may get better results from the high quality setting.\n" +"[b]Note:[/b] Fast quality does not equate to low quality. Except in the " +"special cases mentioned above, the quality should be comparable to high " +"quality." +msgstr "" + +#: doc/classes/MultiMesh.xml msgid "Format of transform used to transform mesh, either 2D or 3D." msgstr "" @@ -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 "" @@ -36668,6 +36782,25 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Returns [code]true[/code] if the physics interpolated flag is set for this " +"Node (see [method set_physics_interpolated]).\n" +"[b]Note:[/b] Interpolation will only be active is both the flag is set " +"[b]and[/b] physics interpolation is enabled within the [SceneTree]. This can " +"be tested using [method is_physics_interpolated_and_enabled]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" +"Returns [code]true[/code] if physics interpolation is enabled (see [method " +"set_physics_interpolated]) [b]and[/b] enabled in the [SceneTree].\n" +"This is a convenience version of [method is_physics_interpolated] that also " +"checks whether physics interpolation is enabled globally.\n" +"See [member SceneTree.physics_interpolation] and [member ProjectSettings." +"physics/common/physics_interpolation]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Returns [code]true[/code] if physics processing is enabled (see [method " "set_physics_process])." msgstr "" @@ -36838,6 +36971,21 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"When physics interpolation is active, moving a node to a radically different " +"transform (such as placement within a level) can result in a visible glitch " +"as the object is rendered moving from the old to new position over the " +"physics tick.\n" +"This glitch can be prevented by calling [code]reset_physics_interpolation[/" +"code], which temporarily turns off interpolation until the physics tick is " +"complete.\n" +"[constant NOTIFICATION_RESET_PHYSICS_INTERPOLATION] will be received by the " +"node and all children recursively.\n" +"[b]Note:[/b] This function should be called [b]after[/b] moving the node, " +"rather than before." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Sends a remote procedure call request for the given [code]method[/code] to " "peers on the network (and locally), optionally sending all additional " "arguments as arguments to the method called by the RPC. The call request " @@ -36938,6 +37086,14 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Enables or disables physics interpolation per node, offering a finer grain " +"of control than turning physics interpolation on and off globally.\n" +"[b]Note:[/b] This can be especially useful for [Camera]s, where custom " +"interpolation can sometimes give superior results." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Enables or disables physics (i.e. fixed framerate) processing. When a node " "is being processed, it will receive a [constant " "NOTIFICATION_PHYSICS_PROCESS] at a fixed (usually 60 FPS, see [member Engine." @@ -37188,6 +37344,12 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Notification received when [method reset_physics_interpolation] is called on " +"the node or parent nodes." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Inherits pause mode from the node's parent. For the root node, it is " "equivalent to [constant PAUSE_MODE_STOP]. Default." msgstr "" @@ -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] يتم تنفيذه إذا كان الكائن الذي تم إلغاء تسلسله يحتوي على " "تعليمات برمجية. إذا جاء الكائن المتسلسل من مصدر غير موثوق به ، فلا تستخدم " "هذا الخيار لمنع مخاطر أمنية محتملة (تنفيذ التعليمات البرمجية عن بُعد)." @@ -46834,6 +47009,17 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If [code]true[/code], the renderer will interpolate the transforms of " +"physics objects between the last two transforms, such that smooth motion is " +"seen when physics ticks do not coincide with rendered frames.\n" +"[b]Note:[/b] When moving objects to new positions (rather than the usual " +"physics motion) you may want to temporarily turn off interpolation to " +"prevent a visible glitch. You can do this using the [method Node." +"reset_physics_interpolation] function." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Controls how much physics ticks are synchronized with real time. For 0 or " "less, the ticks are synchronized. Such values are recommended for network " "games, where clock synchronization matters. Higher values cause higher " @@ -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 @@ -51433,6 +51626,13 @@ msgstr "" #: doc/classes/SceneTree.xml msgid "" +"Although physics interpolation would normally be globally turned on and off " +"using [member ProjectSettings.physics/common/physics_interpolation], this " +"property allows control over interpolation at runtime." +msgstr "" + +#: doc/classes/SceneTree.xml +msgid "" "If [code]true[/code], the [SceneTree]'s [member network_peer] refuses new " "incoming connections." msgstr "" @@ -52686,6 +52886,18 @@ msgstr "" #: doc/classes/Spatial.xml msgid "" +"When using physics interpolation, there will be circumstances in which you " +"want to know the interpolated (displayed) transform of a node rather than " +"the standard transform (which may only be accurate to the most recent " +"physics tick).\n" +"This is particularly important for frame-based operations that take place in " +"[method Node._process], rather than [method Node._physics_process]. Examples " +"include [Camera]s focusing on a node, or finding where to fire lasers from " +"on a frame rather than physics tick." +msgstr "" + +#: doc/classes/Spatial.xml +msgid "" "Returns the parent [Spatial], or an empty [Object] if no parent exists or " "parent is not of type [Spatial]." msgstr "" @@ -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 @@ -57221,6 +57470,16 @@ 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." msgstr "" @@ -58259,6 +58518,12 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Unmarks [code]theme_type[/code] as being a variation of another theme type. " +"See [method set_type_variation]." +msgstr "" + +#: doc/classes/Theme.xml msgid "Sets the theme's values to a copy of the default theme values." msgstr "" @@ -58399,6 +58664,18 @@ 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 " "[code]node_type[/code].\n" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." @@ -58447,6 +58724,12 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Returns [code]true[/code] if [code]theme_type[/code] is marked as a " +"variation of [code]base_type[/code]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Adds missing and overrides existing definitions with values from the " "[code]other[/code] [Theme].\n" "[b]Note:[/b] This modifies the current theme. If you want to merge two " @@ -58542,6 +58825,20 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Marks [code]theme_type[/code] as a variation of [code]base_type[/code].\n" +"This adds [code]theme_type[/code] as a suggested option for [member Control." +"theme_type_variation] on a [Control] that is of the [code]base_type[/code] " +"class.\n" +"Variations can also be nested, i.e. [code]base_type[/code] can be another " +"variation. If a chain of variations ends with a [code]base_type[/code] " +"matching the class of the [Control], the whole chain is going to be " +"suggested as options.\n" +"[b]Note:[/b] Suggestions only show up if this theme resource is set as the " +"project default theme. See [member ProjectSettings.gui/theme/custom]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "The default font of this [Theme] resource. Used as a fallback value for font " "items defined in this theme, but having invalid values. If this value is " "also invalid, the global default value is used.\n" @@ -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 2dbbe58fae..6c448598c1 100644 --- a/doc/translations/ca.po +++ b/doc/translations/ca.po @@ -3442,6 +3442,15 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" +"Hints that a string property can be an enumerated value to pick in a list " +"specified via a hint string such as [code]\"Hello,Something,Else\"[/code].\n" +"Unlike [constant PROPERTY_HINT_ENUM] a property with this hint still accepts " +"arbitrary values and can be empty. The list of values serves to suggest " +"possible values." +msgstr "" + +#: doc/classes/@GlobalScope.xml +msgid "" "Hints that a float property should be edited via an exponential easing " "function. The hint string can include [code]\"attenuation\"[/code] to flip " "the curve horizontally and/or [code]\"inout\"[/code] to also include in/out " @@ -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 @@ -9597,26 +9606,10 @@ msgid "" msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Name of the current device for audio input (see [method " -"capture_get_device_list]). The value [code]\"Default\"[/code] means that the " -"system-wide default audio input is currently used." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Returns the names of all audio input devices detected on the system." msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Sets which audio input device is used for audio capture. On systems with " -"multiple audio inputs (such as analog and USB), this can be used to select " -"the audio input device. Setting the value [code]\"Default\"[/code] will " -"record audio from the system-wide default audio input. If an invalid device " -"name is set, the value will be reverted back to [code]\"Default\"[/code]." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Generates an [AudioBusLayout] using the available buses and effects." msgstr "" @@ -9774,6 +9767,16 @@ msgstr "" #: doc/classes/AudioServer.xml msgid "" +"Name of the current device for audio input (see [method get_device_list]). " +"On systems with multiple audio inputs (such as analog, USB and HDMI audio), " +"this can be used to select the audio input device. The value " +"[code]\"Default\"[/code] will record audio on the system-wide default audio " +"input. If an invalid device name is set, the value will be reverted back to " +"[code]\"Default\"[/code]." +msgstr "" + +#: doc/classes/AudioServer.xml +msgid "" "Name of the current device for audio output (see [method get_device_list]). " "On systems with multiple audio outputs (such as analog, USB and HDMI audio), " "this can be used to select the audio output device. The value " @@ -12849,6 +12852,18 @@ msgstr "" #: doc/classes/CanvasLayer.xml msgid "" +"Hides any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]false[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" +"Shows any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]true[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" "The custom [Viewport] node assigned to the [CanvasLayer]. If [code]null[/" "code], uses the default viewport instead." msgstr "" @@ -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 " @@ -16437,6 +16453,25 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "" +"The name of a theme type variation used by this [Control] to look up its own " +"theme items. When empty, the class name of the node is used (e.g. " +"[code]Button[/code] for the [Button] control), as well as the class names of " +"all parent classes (in order of inheritance).\n" +"When set, this property gives the highest priority to the type of the " +"specified name. This type can in turn extend another type, forming a " +"dependency chain. See [method Theme.set_type_variation]. If the theme item " +"cannot be found using this type or its base types, lookup falls back on the " +"class names.\n" +"[b]Note:[/b] To look up [Control]'s own items use various [code]get_*[/code] " +"methods without specifying [code]theme_type[/code].\n" +"[b]Note:[/b] Theme items are looked for in the tree order, from branch to " +"root, where each [Control] node is checked for its [member theme] property. " +"The earliest match against any type/class name is returned. The project-" +"level Theme and the default Theme are checked last." +msgstr "" + +#: doc/classes/Control.xml msgid "Emitted when the node gains keyboard focus." msgstr "" @@ -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 @@ -34240,6 +34305,15 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"When using [i]physics interpolation[/i], this function allows you to prevent " +"interpolation on an instance in the current physics tick.\n" +"This allows you to move instances instantaneously, and should usually be " +"used when initially placing an instance such as a bullet to prevent " +"graphical glitches." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets all data related to the instances in one go. This is especially useful " "when loading the data from disk or preparing the data from GDNative.\n" "All data is packed in one large float array. An array may look like this: " @@ -34253,6 +34327,18 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"An alternative version of [method MultiMesh.set_as_bulk_array] which can be " +"used with [i]physics interpolation[/i]. This method takes two arrays, and " +"can set the data for the current and previous tick in one go. The renderer " +"will automatically interpolate the data at each frame.\n" +"This is useful for situations where the order of instances may change from " +"physics tick to tick, such as particle systems.\n" +"When the order of instances is coherent, the simpler [method MultiMesh." +"set_as_bulk_array] can still be used with interpolation." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets the color of a specific instance by [i]multiplying[/i] the mesh's " "existing vertex colors.\n" "For the color to take effect, ensure that [member color_format] is non-" @@ -34295,6 +34381,16 @@ msgid "Mesh to be drawn." msgstr "" #: doc/classes/MultiMesh.xml +msgid "" +"Choose whether to use an interpolation method that favors speed or quality.\n" +"When using low physics tick rates (typically below 20) or high rates of " +"object rotation, you may get better results from the high quality setting.\n" +"[b]Note:[/b] Fast quality does not equate to low quality. Except in the " +"special cases mentioned above, the quality should be comparable to high " +"quality." +msgstr "" + +#: doc/classes/MultiMesh.xml msgid "Format of transform used to transform mesh, either 2D or 3D." msgstr "" @@ -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 "" @@ -36643,6 +36751,25 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Returns [code]true[/code] if the physics interpolated flag is set for this " +"Node (see [method set_physics_interpolated]).\n" +"[b]Note:[/b] Interpolation will only be active is both the flag is set " +"[b]and[/b] physics interpolation is enabled within the [SceneTree]. This can " +"be tested using [method is_physics_interpolated_and_enabled]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" +"Returns [code]true[/code] if physics interpolation is enabled (see [method " +"set_physics_interpolated]) [b]and[/b] enabled in the [SceneTree].\n" +"This is a convenience version of [method is_physics_interpolated] that also " +"checks whether physics interpolation is enabled globally.\n" +"See [member SceneTree.physics_interpolation] and [member ProjectSettings." +"physics/common/physics_interpolation]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Returns [code]true[/code] if physics processing is enabled (see [method " "set_physics_process])." msgstr "" @@ -36813,6 +36940,21 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"When physics interpolation is active, moving a node to a radically different " +"transform (such as placement within a level) can result in a visible glitch " +"as the object is rendered moving from the old to new position over the " +"physics tick.\n" +"This glitch can be prevented by calling [code]reset_physics_interpolation[/" +"code], which temporarily turns off interpolation until the physics tick is " +"complete.\n" +"[constant NOTIFICATION_RESET_PHYSICS_INTERPOLATION] will be received by the " +"node and all children recursively.\n" +"[b]Note:[/b] This function should be called [b]after[/b] moving the node, " +"rather than before." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Sends a remote procedure call request for the given [code]method[/code] to " "peers on the network (and locally), optionally sending all additional " "arguments as arguments to the method called by the RPC. The call request " @@ -36913,6 +37055,14 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Enables or disables physics interpolation per node, offering a finer grain " +"of control than turning physics interpolation on and off globally.\n" +"[b]Note:[/b] This can be especially useful for [Camera]s, where custom " +"interpolation can sometimes give superior results." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Enables or disables physics (i.e. fixed framerate) processing. When a node " "is being processed, it will receive a [constant " "NOTIFICATION_PHYSICS_PROCESS] at a fixed (usually 60 FPS, see [member Engine." @@ -37163,6 +37313,12 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Notification received when [method reset_physics_interpolation] is called on " +"the node or parent nodes." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Inherits pause mode from the node's parent. For the root node, it is " "equivalent to [constant PAUSE_MODE_STOP]. Default." msgstr "" @@ -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 @@ -46783,6 +46951,17 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If [code]true[/code], the renderer will interpolate the transforms of " +"physics objects between the last two transforms, such that smooth motion is " +"seen when physics ticks do not coincide with rendered frames.\n" +"[b]Note:[/b] When moving objects to new positions (rather than the usual " +"physics motion) you may want to temporarily turn off interpolation to " +"prevent a visible glitch. You can do this using the [method Node." +"reset_physics_interpolation] function." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Controls how much physics ticks are synchronized with real time. For 0 or " "less, the ticks are synchronized. Such values are recommended for network " "games, where clock synchronization matters. Higher values cause higher " @@ -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 @@ -51381,6 +51567,13 @@ msgstr "" #: doc/classes/SceneTree.xml msgid "" +"Although physics interpolation would normally be globally turned on and off " +"using [member ProjectSettings.physics/common/physics_interpolation], this " +"property allows control over interpolation at runtime." +msgstr "" + +#: doc/classes/SceneTree.xml +msgid "" "If [code]true[/code], the [SceneTree]'s [member network_peer] refuses new " "incoming connections." msgstr "" @@ -52634,6 +52827,18 @@ msgstr "" #: doc/classes/Spatial.xml msgid "" +"When using physics interpolation, there will be circumstances in which you " +"want to know the interpolated (displayed) transform of a node rather than " +"the standard transform (which may only be accurate to the most recent " +"physics tick).\n" +"This is particularly important for frame-based operations that take place in " +"[method Node._process], rather than [method Node._physics_process]. Examples " +"include [Camera]s focusing on a node, or finding where to fire lasers from " +"on a frame rather than physics tick." +msgstr "" + +#: doc/classes/Spatial.xml +msgid "" "Returns the parent [Spatial], or an empty [Object] if no parent exists or " "parent is not of type [Spatial]." msgstr "" @@ -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 @@ -57162,6 +57404,14 @@ msgid "Returns the total width of all gutters and internal padding." msgstr "" #: doc/classes/TextEdit.xml +msgid "Returns the total amount of lines that could be drawn." +msgstr "" + +#: doc/classes/TextEdit.xml +msgid "Returns the number of visible lines, including wrapped text." +msgstr "" + +#: doc/classes/TextEdit.xml msgid "" "Returns a [String] text with the word under the caret (text cursor) location." msgstr "" @@ -58199,6 +58449,12 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Unmarks [code]theme_type[/code] as being a variation of another theme type. " +"See [method set_type_variation]." +msgstr "" + +#: doc/classes/Theme.xml msgid "Sets the theme's values to a copy of the default theme values." msgstr "" @@ -58339,6 +58595,17 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Returns the name of the base theme type if [code]theme_type[/code] is a " +"valid variation type. Returns an empty string otherwise." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" +"Returns a list of all type variations for the given [code]base_type[/code]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Returns [code]true[/code] if [Color] with [code]name[/code] is in " "[code]node_type[/code].\n" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." @@ -58387,6 +58654,12 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Returns [code]true[/code] if [code]theme_type[/code] is marked as a " +"variation of [code]base_type[/code]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Adds missing and overrides existing definitions with values from the " "[code]other[/code] [Theme].\n" "[b]Note:[/b] This modifies the current theme. If you want to merge two " @@ -58482,6 +58755,20 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Marks [code]theme_type[/code] as a variation of [code]base_type[/code].\n" +"This adds [code]theme_type[/code] as a suggested option for [member Control." +"theme_type_variation] on a [Control] that is of the [code]base_type[/code] " +"class.\n" +"Variations can also be nested, i.e. [code]base_type[/code] can be another " +"variation. If a chain of variations ends with a [code]base_type[/code] " +"matching the class of the [Control], the whole chain is going to be " +"suggested as options.\n" +"[b]Note:[/b] Suggestions only show up if this theme resource is set as the " +"project default theme. See [member ProjectSettings.gui/theme/custom]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "The default font of this [Theme] resource. Used as a fallback value for font " "items defined in this theme, but having invalid values. If this value is " "also invalid, the global default value is used.\n" @@ -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 84d943d138..aab649c5ed 100644 --- a/doc/translations/classes.pot +++ b/doc/translations/classes.pot @@ -3322,6 +3322,15 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" +"Hints that a string property can be an enumerated value to pick in a list " +"specified via a hint string such as [code]\"Hello,Something,Else\"[/code].\n" +"Unlike [constant PROPERTY_HINT_ENUM] a property with this hint still accepts " +"arbitrary values and can be empty. The list of values serves to suggest " +"possible values." +msgstr "" + +#: doc/classes/@GlobalScope.xml +msgid "" "Hints that a float property should be edited via an exponential easing " "function. The hint string can include [code]\"attenuation\"[/code] to flip " "the curve horizontally and/or [code]\"inout\"[/code] to also include in/out " @@ -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 @@ -9477,26 +9486,10 @@ msgid "" msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Name of the current device for audio input (see [method " -"capture_get_device_list]). The value [code]\"Default\"[/code] means that the " -"system-wide default audio input is currently used." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Returns the names of all audio input devices detected on the system." msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Sets which audio input device is used for audio capture. On systems with " -"multiple audio inputs (such as analog and USB), this can be used to select " -"the audio input device. Setting the value [code]\"Default\"[/code] will " -"record audio from the system-wide default audio input. If an invalid device " -"name is set, the value will be reverted back to [code]\"Default\"[/code]." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Generates an [AudioBusLayout] using the available buses and effects." msgstr "" @@ -9654,6 +9647,16 @@ msgstr "" #: doc/classes/AudioServer.xml msgid "" +"Name of the current device for audio input (see [method get_device_list]). " +"On systems with multiple audio inputs (such as analog, USB and HDMI audio), " +"this can be used to select the audio input device. The value " +"[code]\"Default\"[/code] will record audio on the system-wide default audio " +"input. If an invalid device name is set, the value will be reverted back to " +"[code]\"Default\"[/code]." +msgstr "" + +#: doc/classes/AudioServer.xml +msgid "" "Name of the current device for audio output (see [method get_device_list]). " "On systems with multiple audio outputs (such as analog, USB and HDMI audio), " "this can be used to select the audio output device. The value " @@ -12729,6 +12732,18 @@ msgstr "" #: doc/classes/CanvasLayer.xml msgid "" +"Hides any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]false[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" +"Shows any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]true[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" "The custom [Viewport] node assigned to the [CanvasLayer]. If [code]null[/" "code], uses the default viewport instead." msgstr "" @@ -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 " @@ -16317,6 +16333,25 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "" +"The name of a theme type variation used by this [Control] to look up its own " +"theme items. When empty, the class name of the node is used (e.g. " +"[code]Button[/code] for the [Button] control), as well as the class names of " +"all parent classes (in order of inheritance).\n" +"When set, this property gives the highest priority to the type of the " +"specified name. This type can in turn extend another type, forming a " +"dependency chain. See [method Theme.set_type_variation]. If the theme item " +"cannot be found using this type or its base types, lookup falls back on the " +"class names.\n" +"[b]Note:[/b] To look up [Control]'s own items use various [code]get_*[/code] " +"methods without specifying [code]theme_type[/code].\n" +"[b]Note:[/b] Theme items are looked for in the tree order, from branch to " +"root, where each [Control] node is checked for its [member theme] property. " +"The earliest match against any type/class name is returned. The project-" +"level Theme and the default Theme are checked last." +msgstr "" + +#: doc/classes/Control.xml msgid "Emitted when the node gains keyboard focus." msgstr "" @@ -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 @@ -34117,6 +34182,15 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"When using [i]physics interpolation[/i], this function allows you to prevent " +"interpolation on an instance in the current physics tick.\n" +"This allows you to move instances instantaneously, and should usually be " +"used when initially placing an instance such as a bullet to prevent " +"graphical glitches." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets all data related to the instances in one go. This is especially useful " "when loading the data from disk or preparing the data from GDNative.\n" "All data is packed in one large float array. An array may look like this: " @@ -34130,6 +34204,18 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"An alternative version of [method MultiMesh.set_as_bulk_array] which can be " +"used with [i]physics interpolation[/i]. This method takes two arrays, and " +"can set the data for the current and previous tick in one go. The renderer " +"will automatically interpolate the data at each frame.\n" +"This is useful for situations where the order of instances may change from " +"physics tick to tick, such as particle systems.\n" +"When the order of instances is coherent, the simpler [method MultiMesh." +"set_as_bulk_array] can still be used with interpolation." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets the color of a specific instance by [i]multiplying[/i] the mesh's " "existing vertex colors.\n" "For the color to take effect, ensure that [member color_format] is non-" @@ -34172,6 +34258,16 @@ msgid "Mesh to be drawn." msgstr "" #: doc/classes/MultiMesh.xml +msgid "" +"Choose whether to use an interpolation method that favors speed or quality.\n" +"When using low physics tick rates (typically below 20) or high rates of " +"object rotation, you may get better results from the high quality setting.\n" +"[b]Note:[/b] Fast quality does not equate to low quality. Except in the " +"special cases mentioned above, the quality should be comparable to high " +"quality." +msgstr "" + +#: doc/classes/MultiMesh.xml msgid "Format of transform used to transform mesh, either 2D or 3D." msgstr "" @@ -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 "" @@ -36520,6 +36628,25 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Returns [code]true[/code] if the physics interpolated flag is set for this " +"Node (see [method set_physics_interpolated]).\n" +"[b]Note:[/b] Interpolation will only be active is both the flag is set " +"[b]and[/b] physics interpolation is enabled within the [SceneTree]. This can " +"be tested using [method is_physics_interpolated_and_enabled]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" +"Returns [code]true[/code] if physics interpolation is enabled (see [method " +"set_physics_interpolated]) [b]and[/b] enabled in the [SceneTree].\n" +"This is a convenience version of [method is_physics_interpolated] that also " +"checks whether physics interpolation is enabled globally.\n" +"See [member SceneTree.physics_interpolation] and [member ProjectSettings." +"physics/common/physics_interpolation]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Returns [code]true[/code] if physics processing is enabled (see [method " "set_physics_process])." msgstr "" @@ -36690,6 +36817,21 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"When physics interpolation is active, moving a node to a radically different " +"transform (such as placement within a level) can result in a visible glitch " +"as the object is rendered moving from the old to new position over the " +"physics tick.\n" +"This glitch can be prevented by calling [code]reset_physics_interpolation[/" +"code], which temporarily turns off interpolation until the physics tick is " +"complete.\n" +"[constant NOTIFICATION_RESET_PHYSICS_INTERPOLATION] will be received by the " +"node and all children recursively.\n" +"[b]Note:[/b] This function should be called [b]after[/b] moving the node, " +"rather than before." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Sends a remote procedure call request for the given [code]method[/code] to " "peers on the network (and locally), optionally sending all additional " "arguments as arguments to the method called by the RPC. The call request " @@ -36790,6 +36932,14 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Enables or disables physics interpolation per node, offering a finer grain " +"of control than turning physics interpolation on and off globally.\n" +"[b]Note:[/b] This can be especially useful for [Camera]s, where custom " +"interpolation can sometimes give superior results." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Enables or disables physics (i.e. fixed framerate) processing. When a node " "is being processed, it will receive a [constant " "NOTIFICATION_PHYSICS_PROCESS] at a fixed (usually 60 FPS, see [member Engine." @@ -37040,6 +37190,12 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Notification received when [method reset_physics_interpolation] is called on " +"the node or parent nodes." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Inherits pause mode from the node's parent. For the root node, it is " "equivalent to [constant PAUSE_MODE_STOP]. Default." msgstr "" @@ -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 @@ -46660,6 +46828,17 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If [code]true[/code], the renderer will interpolate the transforms of " +"physics objects between the last two transforms, such that smooth motion is " +"seen when physics ticks do not coincide with rendered frames.\n" +"[b]Note:[/b] When moving objects to new positions (rather than the usual " +"physics motion) you may want to temporarily turn off interpolation to " +"prevent a visible glitch. You can do this using the [method Node." +"reset_physics_interpolation] function." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Controls how much physics ticks are synchronized with real time. For 0 or " "less, the ticks are synchronized. Such values are recommended for network " "games, where clock synchronization matters. Higher values cause higher " @@ -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 @@ -51258,6 +51444,13 @@ msgstr "" #: doc/classes/SceneTree.xml msgid "" +"Although physics interpolation would normally be globally turned on and off " +"using [member ProjectSettings.physics/common/physics_interpolation], this " +"property allows control over interpolation at runtime." +msgstr "" + +#: doc/classes/SceneTree.xml +msgid "" "If [code]true[/code], the [SceneTree]'s [member network_peer] refuses new " "incoming connections." msgstr "" @@ -52511,6 +52704,18 @@ msgstr "" #: doc/classes/Spatial.xml msgid "" +"When using physics interpolation, there will be circumstances in which you " +"want to know the interpolated (displayed) transform of a node rather than " +"the standard transform (which may only be accurate to the most recent " +"physics tick).\n" +"This is particularly important for frame-based operations that take place in " +"[method Node._process], rather than [method Node._physics_process]. Examples " +"include [Camera]s focusing on a node, or finding where to fire lasers from " +"on a frame rather than physics tick." +msgstr "" + +#: doc/classes/Spatial.xml +msgid "" "Returns the parent [Spatial], or an empty [Object] if no parent exists or " "parent is not of type [Spatial]." msgstr "" @@ -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 @@ -57039,6 +57281,14 @@ msgid "Returns the total width of all gutters and internal padding." msgstr "" #: doc/classes/TextEdit.xml +msgid "Returns the total amount of lines that could be drawn." +msgstr "" + +#: doc/classes/TextEdit.xml +msgid "Returns the number of visible lines, including wrapped text." +msgstr "" + +#: doc/classes/TextEdit.xml msgid "" "Returns a [String] text with the word under the caret (text cursor) location." msgstr "" @@ -58076,6 +58326,12 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Unmarks [code]theme_type[/code] as being a variation of another theme type. " +"See [method set_type_variation]." +msgstr "" + +#: doc/classes/Theme.xml msgid "Sets the theme's values to a copy of the default theme values." msgstr "" @@ -58216,6 +58472,17 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Returns the name of the base theme type if [code]theme_type[/code] is a " +"valid variation type. Returns an empty string otherwise." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" +"Returns a list of all type variations for the given [code]base_type[/code]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Returns [code]true[/code] if [Color] with [code]name[/code] is in " "[code]node_type[/code].\n" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." @@ -58264,6 +58531,12 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Returns [code]true[/code] if [code]theme_type[/code] is marked as a " +"variation of [code]base_type[/code]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Adds missing and overrides existing definitions with values from the " "[code]other[/code] [Theme].\n" "[b]Note:[/b] This modifies the current theme. If you want to merge two " @@ -58359,6 +58632,20 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Marks [code]theme_type[/code] as a variation of [code]base_type[/code].\n" +"This adds [code]theme_type[/code] as a suggested option for [member Control." +"theme_type_variation] on a [Control] that is of the [code]base_type[/code] " +"class.\n" +"Variations can also be nested, i.e. [code]base_type[/code] can be another " +"variation. If a chain of variations ends with a [code]base_type[/code] " +"matching the class of the [Control], the whole chain is going to be " +"suggested as options.\n" +"[b]Note:[/b] Suggestions only show up if this theme resource is set as the " +"project default theme. See [member ProjectSettings.gui/theme/custom]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "The default font of this [Theme] resource. Used as a fallback value for font " "items defined in this theme, but having invalid values. If this value is " "also invalid, the global default value is used.\n" @@ -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 f6f8046382..b1ce4b9d20 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 <ondrej.pavelka@outlook.com>, 2020. -# Zbyněk <zbynek.fiala@gmail.com>, 2020, 2021. +# Zbyněk <zbynek.fiala@gmail.com>, 2020, 2021, 2022. # Daniel Kříž <Daniel.kriz@protonmail.com>, 2020. # Vojtěch Šamla <auzkok@seznam.cz>, 2020, 2021. # Pierre Stempin <pierre.stempin@gmail.com>, 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 <zbynek.fiala@gmail.com>\n" "Language-Team: Czech <https://hosted.weblate.org/projects/godot-engine/godot-" "class-reference/cs/>\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" @@ -3823,6 +3823,15 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" +"Hints that a string property can be an enumerated value to pick in a list " +"specified via a hint string such as [code]\"Hello,Something,Else\"[/code].\n" +"Unlike [constant PROPERTY_HINT_ENUM] a property with this hint still accepts " +"arbitrary values and can be empty. The list of values serves to suggest " +"possible values." +msgstr "" + +#: doc/classes/@GlobalScope.xml +msgid "" "Hints that a float property should be edited via an exponential easing " "function. The hint string can include [code]\"attenuation\"[/code] to flip " "the curve horizontally and/or [code]\"inout\"[/code] to also include in/out " @@ -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 @@ -9986,26 +9996,10 @@ msgid "" msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Name of the current device for audio input (see [method " -"capture_get_device_list]). The value [code]\"Default\"[/code] means that the " -"system-wide default audio input is currently used." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Returns the names of all audio input devices detected on the system." msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Sets which audio input device is used for audio capture. On systems with " -"multiple audio inputs (such as analog and USB), this can be used to select " -"the audio input device. Setting the value [code]\"Default\"[/code] will " -"record audio from the system-wide default audio input. If an invalid device " -"name is set, the value will be reverted back to [code]\"Default\"[/code]." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Generates an [AudioBusLayout] using the available buses and effects." msgstr "" @@ -10163,6 +10157,16 @@ msgstr "" #: doc/classes/AudioServer.xml msgid "" +"Name of the current device for audio input (see [method get_device_list]). " +"On systems with multiple audio inputs (such as analog, USB and HDMI audio), " +"this can be used to select the audio input device. The value " +"[code]\"Default\"[/code] will record audio on the system-wide default audio " +"input. If an invalid device name is set, the value will be reverted back to " +"[code]\"Default\"[/code]." +msgstr "" + +#: doc/classes/AudioServer.xml +msgid "" "Name of the current device for audio output (see [method get_device_list]). " "On systems with multiple audio outputs (such as analog, USB and HDMI audio), " "this can be used to select the audio output device. The value " @@ -13250,6 +13254,18 @@ msgstr "" #: doc/classes/CanvasLayer.xml msgid "" +"Hides any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]false[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" +"Shows any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]true[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" "The custom [Viewport] node assigned to the [CanvasLayer]. If [code]null[/" "code], uses the default viewport instead." msgstr "" @@ -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 " @@ -16874,6 +16891,25 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "" +"The name of a theme type variation used by this [Control] to look up its own " +"theme items. When empty, the class name of the node is used (e.g. " +"[code]Button[/code] for the [Button] control), as well as the class names of " +"all parent classes (in order of inheritance).\n" +"When set, this property gives the highest priority to the type of the " +"specified name. This type can in turn extend another type, forming a " +"dependency chain. See [method Theme.set_type_variation]. If the theme item " +"cannot be found using this type or its base types, lookup falls back on the " +"class names.\n" +"[b]Note:[/b] To look up [Control]'s own items use various [code]get_*[/code] " +"methods without specifying [code]theme_type[/code].\n" +"[b]Note:[/b] Theme items are looked for in the tree order, from branch to " +"root, where each [Control] node is checked for its [member theme] property. " +"The earliest match against any type/class name is returned. The project-" +"level Theme and the default Theme are checked last." +msgstr "" + +#: doc/classes/Control.xml msgid "Emitted when the node gains keyboard focus." msgstr "" @@ -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 @@ -34705,6 +34771,15 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"When using [i]physics interpolation[/i], this function allows you to prevent " +"interpolation on an instance in the current physics tick.\n" +"This allows you to move instances instantaneously, and should usually be " +"used when initially placing an instance such as a bullet to prevent " +"graphical glitches." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets all data related to the instances in one go. This is especially useful " "when loading the data from disk or preparing the data from GDNative.\n" "All data is packed in one large float array. An array may look like this: " @@ -34718,6 +34793,18 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"An alternative version of [method MultiMesh.set_as_bulk_array] which can be " +"used with [i]physics interpolation[/i]. This method takes two arrays, and " +"can set the data for the current and previous tick in one go. The renderer " +"will automatically interpolate the data at each frame.\n" +"This is useful for situations where the order of instances may change from " +"physics tick to tick, such as particle systems.\n" +"When the order of instances is coherent, the simpler [method MultiMesh." +"set_as_bulk_array] can still be used with interpolation." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets the color of a specific instance by [i]multiplying[/i] the mesh's " "existing vertex colors.\n" "For the color to take effect, ensure that [member color_format] is non-" @@ -34760,6 +34847,16 @@ msgid "Mesh to be drawn." msgstr "" #: doc/classes/MultiMesh.xml +msgid "" +"Choose whether to use an interpolation method that favors speed or quality.\n" +"When using low physics tick rates (typically below 20) or high rates of " +"object rotation, you may get better results from the high quality setting.\n" +"[b]Note:[/b] Fast quality does not equate to low quality. Except in the " +"special cases mentioned above, the quality should be comparable to high " +"quality." +msgstr "" + +#: doc/classes/MultiMesh.xml msgid "Format of transform used to transform mesh, either 2D or 3D." msgstr "" @@ -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" @@ -37137,6 +37246,25 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Returns [code]true[/code] if the physics interpolated flag is set for this " +"Node (see [method set_physics_interpolated]).\n" +"[b]Note:[/b] Interpolation will only be active is both the flag is set " +"[b]and[/b] physics interpolation is enabled within the [SceneTree]. This can " +"be tested using [method is_physics_interpolated_and_enabled]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" +"Returns [code]true[/code] if physics interpolation is enabled (see [method " +"set_physics_interpolated]) [b]and[/b] enabled in the [SceneTree].\n" +"This is a convenience version of [method is_physics_interpolated] that also " +"checks whether physics interpolation is enabled globally.\n" +"See [member SceneTree.physics_interpolation] and [member ProjectSettings." +"physics/common/physics_interpolation]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Returns [code]true[/code] if physics processing is enabled (see [method " "set_physics_process])." msgstr "" @@ -37307,6 +37435,21 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"When physics interpolation is active, moving a node to a radically different " +"transform (such as placement within a level) can result in a visible glitch " +"as the object is rendered moving from the old to new position over the " +"physics tick.\n" +"This glitch can be prevented by calling [code]reset_physics_interpolation[/" +"code], which temporarily turns off interpolation until the physics tick is " +"complete.\n" +"[constant NOTIFICATION_RESET_PHYSICS_INTERPOLATION] will be received by the " +"node and all children recursively.\n" +"[b]Note:[/b] This function should be called [b]after[/b] moving the node, " +"rather than before." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Sends a remote procedure call request for the given [code]method[/code] to " "peers on the network (and locally), optionally sending all additional " "arguments as arguments to the method called by the RPC. The call request " @@ -37407,6 +37550,14 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Enables or disables physics interpolation per node, offering a finer grain " +"of control than turning physics interpolation on and off globally.\n" +"[b]Note:[/b] This can be especially useful for [Camera]s, where custom " +"interpolation can sometimes give superior results." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Enables or disables physics (i.e. fixed framerate) processing. When a node " "is being processed, it will receive a [constant " "NOTIFICATION_PHYSICS_PROCESS] at a fixed (usually 60 FPS, see [member Engine." @@ -37657,6 +37808,12 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Notification received when [method reset_physics_interpolation] is called on " +"the node or parent nodes." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Inherits pause mode from the node's parent. For the root node, it is " "equivalent to [constant PAUSE_MODE_STOP]. Default." msgstr "" @@ -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 @@ -47317,6 +47486,17 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If [code]true[/code], the renderer will interpolate the transforms of " +"physics objects between the last two transforms, such that smooth motion is " +"seen when physics ticks do not coincide with rendered frames.\n" +"[b]Note:[/b] When moving objects to new positions (rather than the usual " +"physics motion) you may want to temporarily turn off interpolation to " +"prevent a visible glitch. You can do this using the [method Node." +"reset_physics_interpolation] function." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Controls how much physics ticks are synchronized with real time. For 0 or " "less, the ticks are synchronized. Such values are recommended for network " "games, where clock synchronization matters. Higher values cause higher " @@ -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 @@ -51924,6 +52111,13 @@ msgstr "" #: doc/classes/SceneTree.xml msgid "" +"Although physics interpolation would normally be globally turned on and off " +"using [member ProjectSettings.physics/common/physics_interpolation], this " +"property allows control over interpolation at runtime." +msgstr "" + +#: doc/classes/SceneTree.xml +msgid "" "If [code]true[/code], the [SceneTree]'s [member network_peer] refuses new " "incoming connections." msgstr "" @@ -53178,6 +53372,18 @@ msgstr "" #: doc/classes/Spatial.xml msgid "" +"When using physics interpolation, there will be circumstances in which you " +"want to know the interpolated (displayed) transform of a node rather than " +"the standard transform (which may only be accurate to the most recent " +"physics tick).\n" +"This is particularly important for frame-based operations that take place in " +"[method Node._process], rather than [method Node._physics_process]. Examples " +"include [Camera]s focusing on a node, or finding where to fire lasers from " +"on a frame rather than physics tick." +msgstr "" + +#: doc/classes/Spatial.xml +msgid "" "Returns the parent [Spatial], or an empty [Object] if no parent exists or " "parent is not of type [Spatial]." msgstr "" @@ -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 @@ -57722,6 +57965,16 @@ 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." msgstr "" @@ -58774,6 +59027,12 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Unmarks [code]theme_type[/code] as being a variation of another theme type. " +"See [method set_type_variation]." +msgstr "" + +#: doc/classes/Theme.xml msgid "Sets the theme's values to a copy of the default theme values." msgstr "" @@ -58916,6 +59175,18 @@ msgid "" 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 "" "Returns [code]true[/code] if [Color] with [code]name[/code] is in " @@ -58971,6 +59242,15 @@ msgid "" 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 " "[code]other[/code] [Theme].\n" @@ -59067,6 +59347,20 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Marks [code]theme_type[/code] as a variation of [code]base_type[/code].\n" +"This adds [code]theme_type[/code] as a suggested option for [member Control." +"theme_type_variation] on a [Control] that is of the [code]base_type[/code] " +"class.\n" +"Variations can also be nested, i.e. [code]base_type[/code] can be another " +"variation. If a chain of variations ends with a [code]base_type[/code] " +"matching the class of the [Control], the whole chain is going to be " +"suggested as options.\n" +"[b]Note:[/b] Suggestions only show up if this theme resource is set as the " +"project default theme. See [member ProjectSettings.gui/theme/custom]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "The default font of this [Theme] resource. Used as a fallback value for font " "items defined in this theme, but having invalid values. If this value is " "also invalid, the global default value is used.\n" @@ -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 0e62657c08..052dac7d28 100644 --- a/doc/translations/de.po +++ b/doc/translations/de.po @@ -41,12 +41,14 @@ # Rémi Verschelde <remi@godotengine.org>, 2021. # Antonio Noack <corperateraider@gmail.com>, 2022. # <artism90@googlemail.com>, 2022. +# Coxcopi70f00b67b61542fe <hn_vogel@gmx.net>, 2022. +# Leon Marz <main@lmarz.org>, 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: <artism90@googlemail.com>\n" +"PO-Revision-Date: 2022-03-02 18:39+0000\n" +"Last-Translator: Leon Marz <main@lmarz.org>\n" "Language-Team: German <https://hosted.weblate.org/projects/godot-engine/" "godot-class-reference/de/>\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 @@ -4330,6 +4337,15 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" +"Hints that a string property can be an enumerated value to pick in a list " +"specified via a hint string such as [code]\"Hello,Something,Else\"[/code].\n" +"Unlike [constant PROPERTY_HINT_ENUM] a property with this hint still accepts " +"arbitrary values and can be empty. The list of values serves to suggest " +"possible values." +msgstr "" + +#: doc/classes/@GlobalScope.xml +msgid "" "Hints that a float property should be edited via an exponential easing " "function. The hint string can include [code]\"attenuation\"[/code] to flip " "the curve horizontally and/or [code]\"inout\"[/code] to also include in/out " @@ -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 @@ -11505,26 +11524,10 @@ msgid "" msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Name of the current device for audio input (see [method " -"capture_get_device_list]). The value [code]\"Default\"[/code] means that the " -"system-wide default audio input is currently used." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Returns the names of all audio input devices detected on the system." msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Sets which audio input device is used for audio capture. On systems with " -"multiple audio inputs (such as analog and USB), this can be used to select " -"the audio input device. Setting the value [code]\"Default\"[/code] will " -"record audio from the system-wide default audio input. If an invalid device " -"name is set, the value will be reverted back to [code]\"Default\"[/code]." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Generates an [AudioBusLayout] using the available buses and effects." msgstr "" @@ -11682,6 +11685,16 @@ msgstr "" #: doc/classes/AudioServer.xml msgid "" +"Name of the current device for audio input (see [method get_device_list]). " +"On systems with multiple audio inputs (such as analog, USB and HDMI audio), " +"this can be used to select the audio input device. The value " +"[code]\"Default\"[/code] will record audio on the system-wide default audio " +"input. If an invalid device name is set, the value will be reverted back to " +"[code]\"Default\"[/code]." +msgstr "" + +#: doc/classes/AudioServer.xml +msgid "" "Name of the current device for audio output (see [method get_device_list]). " "On systems with multiple audio outputs (such as analog, USB and HDMI audio), " "this can be used to select the audio output device. The value " @@ -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." @@ -14799,6 +14812,18 @@ msgstr "" #: doc/classes/CanvasLayer.xml msgid "" +"Hides any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]false[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" +"Shows any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]true[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" "The custom [Viewport] node assigned to the [CanvasLayer]. If [code]null[/" "code], uses the default viewport instead." msgstr "" @@ -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 " @@ -18544,6 +18570,25 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "" +"The name of a theme type variation used by this [Control] to look up its own " +"theme items. When empty, the class name of the node is used (e.g. " +"[code]Button[/code] for the [Button] control), as well as the class names of " +"all parent classes (in order of inheritance).\n" +"When set, this property gives the highest priority to the type of the " +"specified name. This type can in turn extend another type, forming a " +"dependency chain. See [method Theme.set_type_variation]. If the theme item " +"cannot be found using this type or its base types, lookup falls back on the " +"class names.\n" +"[b]Note:[/b] To look up [Control]'s own items use various [code]get_*[/code] " +"methods without specifying [code]theme_type[/code].\n" +"[b]Note:[/b] Theme items are looked for in the tree order, from branch to " +"root, where each [Control] node is checked for its [member theme] property. " +"The earliest match against any type/class name is returned. The project-" +"level Theme and the default Theme are checked last." +msgstr "" + +#: doc/classes/Control.xml msgid "Emitted when the node gains keyboard focus." msgstr "" @@ -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 @@ -36468,6 +36543,15 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"When using [i]physics interpolation[/i], this function allows you to prevent " +"interpolation on an instance in the current physics tick.\n" +"This allows you to move instances instantaneously, and should usually be " +"used when initially placing an instance such as a bullet to prevent " +"graphical glitches." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets all data related to the instances in one go. This is especially useful " "when loading the data from disk or preparing the data from GDNative.\n" "All data is packed in one large float array. An array may look like this: " @@ -36481,6 +36565,18 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"An alternative version of [method MultiMesh.set_as_bulk_array] which can be " +"used with [i]physics interpolation[/i]. This method takes two arrays, and " +"can set the data for the current and previous tick in one go. The renderer " +"will automatically interpolate the data at each frame.\n" +"This is useful for situations where the order of instances may change from " +"physics tick to tick, such as particle systems.\n" +"When the order of instances is coherent, the simpler [method MultiMesh." +"set_as_bulk_array] can still be used with interpolation." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets the color of a specific instance by [i]multiplying[/i] the mesh's " "existing vertex colors.\n" "For the color to take effect, ensure that [member color_format] is non-" @@ -36523,6 +36619,16 @@ msgid "Mesh to be drawn." msgstr "" #: doc/classes/MultiMesh.xml +msgid "" +"Choose whether to use an interpolation method that favors speed or quality.\n" +"When using low physics tick rates (typically below 20) or high rates of " +"object rotation, you may get better results from the high quality setting.\n" +"[b]Note:[/b] Fast quality does not equate to low quality. Except in the " +"special cases mentioned above, the quality should be comparable to high " +"quality." +msgstr "" + +#: doc/classes/MultiMesh.xml msgid "Format of transform used to transform mesh, either 2D or 3D." msgstr "" @@ -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" @@ -38933,6 +39051,25 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Returns [code]true[/code] if the physics interpolated flag is set for this " +"Node (see [method set_physics_interpolated]).\n" +"[b]Note:[/b] Interpolation will only be active is both the flag is set " +"[b]and[/b] physics interpolation is enabled within the [SceneTree]. This can " +"be tested using [method is_physics_interpolated_and_enabled]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" +"Returns [code]true[/code] if physics interpolation is enabled (see [method " +"set_physics_interpolated]) [b]and[/b] enabled in the [SceneTree].\n" +"This is a convenience version of [method is_physics_interpolated] that also " +"checks whether physics interpolation is enabled globally.\n" +"See [member SceneTree.physics_interpolation] and [member ProjectSettings." +"physics/common/physics_interpolation]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Returns [code]true[/code] if physics processing is enabled (see [method " "set_physics_process])." msgstr "" @@ -39103,6 +39240,21 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"When physics interpolation is active, moving a node to a radically different " +"transform (such as placement within a level) can result in a visible glitch " +"as the object is rendered moving from the old to new position over the " +"physics tick.\n" +"This glitch can be prevented by calling [code]reset_physics_interpolation[/" +"code], which temporarily turns off interpolation until the physics tick is " +"complete.\n" +"[constant NOTIFICATION_RESET_PHYSICS_INTERPOLATION] will be received by the " +"node and all children recursively.\n" +"[b]Note:[/b] This function should be called [b]after[/b] moving the node, " +"rather than before." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Sends a remote procedure call request for the given [code]method[/code] to " "peers on the network (and locally), optionally sending all additional " "arguments as arguments to the method called by the RPC. The call request " @@ -39203,6 +39355,14 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Enables or disables physics interpolation per node, offering a finer grain " +"of control than turning physics interpolation on and off globally.\n" +"[b]Note:[/b] This can be especially useful for [Camera]s, where custom " +"interpolation can sometimes give superior results." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Enables or disables physics (i.e. fixed framerate) processing. When a node " "is being processed, it will receive a [constant " "NOTIFICATION_PHYSICS_PROCESS] at a fixed (usually 60 FPS, see [member Engine." @@ -39453,6 +39613,12 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Notification received when [method reset_physics_interpolation] is called on " +"the node or parent nodes." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Inherits pause mode from the node's parent. For the root node, it is " "equivalent to [constant PAUSE_MODE_STOP]. Default." msgstr "" @@ -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 @@ -49232,6 +49410,17 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If [code]true[/code], the renderer will interpolate the transforms of " +"physics objects between the last two transforms, such that smooth motion is " +"seen when physics ticks do not coincide with rendered frames.\n" +"[b]Note:[/b] When moving objects to new positions (rather than the usual " +"physics motion) you may want to temporarily turn off interpolation to " +"prevent a visible glitch. You can do this using the [method Node." +"reset_physics_interpolation] function." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Controls how much physics ticks are synchronized with real time. For 0 or " "less, the ticks are synchronized. Such values are recommended for network " "games, where clock synchronization matters. Higher values cause higher " @@ -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 @@ -53882,6 +54078,13 @@ msgstr "" #: doc/classes/SceneTree.xml msgid "" +"Although physics interpolation would normally be globally turned on and off " +"using [member ProjectSettings.physics/common/physics_interpolation], this " +"property allows control over interpolation at runtime." +msgstr "" + +#: doc/classes/SceneTree.xml +msgid "" "If [code]true[/code], the [SceneTree]'s [member network_peer] refuses new " "incoming connections." msgstr "" @@ -55149,6 +55352,18 @@ msgstr "" #: doc/classes/Spatial.xml msgid "" +"When using physics interpolation, there will be circumstances in which you " +"want to know the interpolated (displayed) transform of a node rather than " +"the standard transform (which may only be accurate to the most recent " +"physics tick).\n" +"This is particularly important for frame-based operations that take place in " +"[method Node._process], rather than [method Node._physics_process]. Examples " +"include [Camera]s focusing on a node, or finding where to fire lasers from " +"on a frame rather than physics tick." +msgstr "" + +#: doc/classes/Spatial.xml +msgid "" "Returns the parent [Spatial], or an empty [Object] if no parent exists or " "parent is not of type [Spatial]." msgstr "" @@ -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 @@ -59751,6 +60003,16 @@ 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." msgstr "" @@ -60816,6 +61078,12 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Unmarks [code]theme_type[/code] as being a variation of another theme type. " +"See [method set_type_variation]." +msgstr "" + +#: doc/classes/Theme.xml msgid "Sets the theme's values to a copy of the default theme values." msgstr "" @@ -60962,6 +61230,20 @@ msgid "" 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 "" "Returns [code]true[/code] if [Color] with [code]name[/code] is in " @@ -61018,6 +61300,15 @@ msgid "" 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 " "[code]other[/code] [Theme].\n" @@ -61114,6 +61405,20 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Marks [code]theme_type[/code] as a variation of [code]base_type[/code].\n" +"This adds [code]theme_type[/code] as a suggested option for [member Control." +"theme_type_variation] on a [Control] that is of the [code]base_type[/code] " +"class.\n" +"Variations can also be nested, i.e. [code]base_type[/code] can be another " +"variation. If a chain of variations ends with a [code]base_type[/code] " +"matching the class of the [Control], the whole chain is going to be " +"suggested as options.\n" +"[b]Note:[/b] Suggestions only show up if this theme resource is set as the " +"project default theme. See [member ProjectSettings.gui/theme/custom]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "The default font of this [Theme] resource. Used as a fallback value for font " "items defined in this theme, but having invalid values. If this value is " "also invalid, the global default value is used.\n" @@ -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 ddec69fbd0..83def545e0 100644 --- a/doc/translations/el.po +++ b/doc/translations/el.po @@ -3336,6 +3336,15 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" +"Hints that a string property can be an enumerated value to pick in a list " +"specified via a hint string such as [code]\"Hello,Something,Else\"[/code].\n" +"Unlike [constant PROPERTY_HINT_ENUM] a property with this hint still accepts " +"arbitrary values and can be empty. The list of values serves to suggest " +"possible values." +msgstr "" + +#: doc/classes/@GlobalScope.xml +msgid "" "Hints that a float property should be edited via an exponential easing " "function. The hint string can include [code]\"attenuation\"[/code] to flip " "the curve horizontally and/or [code]\"inout\"[/code] to also include in/out " @@ -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 @@ -9493,26 +9503,10 @@ msgid "" msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Name of the current device for audio input (see [method " -"capture_get_device_list]). The value [code]\"Default\"[/code] means that the " -"system-wide default audio input is currently used." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Returns the names of all audio input devices detected on the system." msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Sets which audio input device is used for audio capture. On systems with " -"multiple audio inputs (such as analog and USB), this can be used to select " -"the audio input device. Setting the value [code]\"Default\"[/code] will " -"record audio from the system-wide default audio input. If an invalid device " -"name is set, the value will be reverted back to [code]\"Default\"[/code]." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Generates an [AudioBusLayout] using the available buses and effects." msgstr "" @@ -9670,6 +9664,16 @@ msgstr "" #: doc/classes/AudioServer.xml msgid "" +"Name of the current device for audio input (see [method get_device_list]). " +"On systems with multiple audio inputs (such as analog, USB and HDMI audio), " +"this can be used to select the audio input device. The value " +"[code]\"Default\"[/code] will record audio on the system-wide default audio " +"input. If an invalid device name is set, the value will be reverted back to " +"[code]\"Default\"[/code]." +msgstr "" + +#: doc/classes/AudioServer.xml +msgid "" "Name of the current device for audio output (see [method get_device_list]). " "On systems with multiple audio outputs (such as analog, USB and HDMI audio), " "this can be used to select the audio output device. The value " @@ -12751,6 +12755,18 @@ msgstr "" #: doc/classes/CanvasLayer.xml msgid "" +"Hides any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]false[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" +"Shows any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]true[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" "The custom [Viewport] node assigned to the [CanvasLayer]. If [code]null[/" "code], uses the default viewport instead." msgstr "" @@ -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 " @@ -16345,6 +16362,25 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "" +"The name of a theme type variation used by this [Control] to look up its own " +"theme items. When empty, the class name of the node is used (e.g. " +"[code]Button[/code] for the [Button] control), as well as the class names of " +"all parent classes (in order of inheritance).\n" +"When set, this property gives the highest priority to the type of the " +"specified name. This type can in turn extend another type, forming a " +"dependency chain. See [method Theme.set_type_variation]. If the theme item " +"cannot be found using this type or its base types, lookup falls back on the " +"class names.\n" +"[b]Note:[/b] To look up [Control]'s own items use various [code]get_*[/code] " +"methods without specifying [code]theme_type[/code].\n" +"[b]Note:[/b] Theme items are looked for in the tree order, from branch to " +"root, where each [Control] node is checked for its [member theme] property. " +"The earliest match against any type/class name is returned. The project-" +"level Theme and the default Theme are checked last." +msgstr "" + +#: doc/classes/Control.xml msgid "Emitted when the node gains keyboard focus." msgstr "" @@ -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 @@ -34162,6 +34228,15 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"When using [i]physics interpolation[/i], this function allows you to prevent " +"interpolation on an instance in the current physics tick.\n" +"This allows you to move instances instantaneously, and should usually be " +"used when initially placing an instance such as a bullet to prevent " +"graphical glitches." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets all data related to the instances in one go. This is especially useful " "when loading the data from disk or preparing the data from GDNative.\n" "All data is packed in one large float array. An array may look like this: " @@ -34175,6 +34250,18 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"An alternative version of [method MultiMesh.set_as_bulk_array] which can be " +"used with [i]physics interpolation[/i]. This method takes two arrays, and " +"can set the data for the current and previous tick in one go. The renderer " +"will automatically interpolate the data at each frame.\n" +"This is useful for situations where the order of instances may change from " +"physics tick to tick, such as particle systems.\n" +"When the order of instances is coherent, the simpler [method MultiMesh." +"set_as_bulk_array] can still be used with interpolation." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets the color of a specific instance by [i]multiplying[/i] the mesh's " "existing vertex colors.\n" "For the color to take effect, ensure that [member color_format] is non-" @@ -34217,6 +34304,16 @@ msgid "Mesh to be drawn." msgstr "" #: doc/classes/MultiMesh.xml +msgid "" +"Choose whether to use an interpolation method that favors speed or quality.\n" +"When using low physics tick rates (typically below 20) or high rates of " +"object rotation, you may get better results from the high quality setting.\n" +"[b]Note:[/b] Fast quality does not equate to low quality. Except in the " +"special cases mentioned above, the quality should be comparable to high " +"quality." +msgstr "" + +#: doc/classes/MultiMesh.xml msgid "Format of transform used to transform mesh, either 2D or 3D." msgstr "" @@ -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 "" @@ -36584,6 +36693,25 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Returns [code]true[/code] if the physics interpolated flag is set for this " +"Node (see [method set_physics_interpolated]).\n" +"[b]Note:[/b] Interpolation will only be active is both the flag is set " +"[b]and[/b] physics interpolation is enabled within the [SceneTree]. This can " +"be tested using [method is_physics_interpolated_and_enabled]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" +"Returns [code]true[/code] if physics interpolation is enabled (see [method " +"set_physics_interpolated]) [b]and[/b] enabled in the [SceneTree].\n" +"This is a convenience version of [method is_physics_interpolated] that also " +"checks whether physics interpolation is enabled globally.\n" +"See [member SceneTree.physics_interpolation] and [member ProjectSettings." +"physics/common/physics_interpolation]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Returns [code]true[/code] if physics processing is enabled (see [method " "set_physics_process])." msgstr "" @@ -36754,6 +36882,21 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"When physics interpolation is active, moving a node to a radically different " +"transform (such as placement within a level) can result in a visible glitch " +"as the object is rendered moving from the old to new position over the " +"physics tick.\n" +"This glitch can be prevented by calling [code]reset_physics_interpolation[/" +"code], which temporarily turns off interpolation until the physics tick is " +"complete.\n" +"[constant NOTIFICATION_RESET_PHYSICS_INTERPOLATION] will be received by the " +"node and all children recursively.\n" +"[b]Note:[/b] This function should be called [b]after[/b] moving the node, " +"rather than before." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Sends a remote procedure call request for the given [code]method[/code] to " "peers on the network (and locally), optionally sending all additional " "arguments as arguments to the method called by the RPC. The call request " @@ -36854,6 +36997,14 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Enables or disables physics interpolation per node, offering a finer grain " +"of control than turning physics interpolation on and off globally.\n" +"[b]Note:[/b] This can be especially useful for [Camera]s, where custom " +"interpolation can sometimes give superior results." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Enables or disables physics (i.e. fixed framerate) processing. When a node " "is being processed, it will receive a [constant " "NOTIFICATION_PHYSICS_PROCESS] at a fixed (usually 60 FPS, see [member Engine." @@ -37104,6 +37255,12 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Notification received when [method reset_physics_interpolation] is called on " +"the node or parent nodes." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Inherits pause mode from the node's parent. For the root node, it is " "equivalent to [constant PAUSE_MODE_STOP]. Default." msgstr "" @@ -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 @@ -46738,6 +46907,17 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If [code]true[/code], the renderer will interpolate the transforms of " +"physics objects between the last two transforms, such that smooth motion is " +"seen when physics ticks do not coincide with rendered frames.\n" +"[b]Note:[/b] When moving objects to new positions (rather than the usual " +"physics motion) you may want to temporarily turn off interpolation to " +"prevent a visible glitch. You can do this using the [method Node." +"reset_physics_interpolation] function." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Controls how much physics ticks are synchronized with real time. For 0 or " "less, the ticks are synchronized. Such values are recommended for network " "games, where clock synchronization matters. Higher values cause higher " @@ -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 @@ -51337,6 +51524,13 @@ msgstr "" #: doc/classes/SceneTree.xml msgid "" +"Although physics interpolation would normally be globally turned on and off " +"using [member ProjectSettings.physics/common/physics_interpolation], this " +"property allows control over interpolation at runtime." +msgstr "" + +#: doc/classes/SceneTree.xml +msgid "" "If [code]true[/code], the [SceneTree]'s [member network_peer] refuses new " "incoming connections." msgstr "" @@ -52590,6 +52784,18 @@ msgstr "" #: doc/classes/Spatial.xml msgid "" +"When using physics interpolation, there will be circumstances in which you " +"want to know the interpolated (displayed) transform of a node rather than " +"the standard transform (which may only be accurate to the most recent " +"physics tick).\n" +"This is particularly important for frame-based operations that take place in " +"[method Node._process], rather than [method Node._physics_process]. Examples " +"include [Camera]s focusing on a node, or finding where to fire lasers from " +"on a frame rather than physics tick." +msgstr "" + +#: doc/classes/Spatial.xml +msgid "" "Returns the parent [Spatial], or an empty [Object] if no parent exists or " "parent is not of type [Spatial]." msgstr "" @@ -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 @@ -57125,6 +57368,16 @@ 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." msgstr "" @@ -58163,6 +58416,12 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Unmarks [code]theme_type[/code] as being a variation of another theme type. " +"See [method set_type_variation]." +msgstr "" + +#: doc/classes/Theme.xml msgid "Sets the theme's values to a copy of the default theme values." msgstr "" @@ -58303,6 +58562,18 @@ 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 " "[code]node_type[/code].\n" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." @@ -58351,6 +58622,12 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Returns [code]true[/code] if [code]theme_type[/code] is marked as a " +"variation of [code]base_type[/code]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Adds missing and overrides existing definitions with values from the " "[code]other[/code] [Theme].\n" "[b]Note:[/b] This modifies the current theme. If you want to merge two " @@ -58446,6 +58723,20 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Marks [code]theme_type[/code] as a variation of [code]base_type[/code].\n" +"This adds [code]theme_type[/code] as a suggested option for [member Control." +"theme_type_variation] on a [Control] that is of the [code]base_type[/code] " +"class.\n" +"Variations can also be nested, i.e. [code]base_type[/code] can be another " +"variation. If a chain of variations ends with a [code]base_type[/code] " +"matching the class of the [Control], the whole chain is going to be " +"suggested as options.\n" +"[b]Note:[/b] Suggestions only show up if this theme resource is set as the " +"project default theme. See [member ProjectSettings.gui/theme/custom]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "The default font of this [Theme] resource. Used as a fallback value for font " "items defined in this theme, but having invalid values. If this value is " "also invalid, the global default value is used.\n" @@ -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 9bd808d8c4..6ebc2af78b 100644 --- a/doc/translations/es.po +++ b/doc/translations/es.po @@ -30,12 +30,14 @@ # Rémi Verschelde <remi@godotengine.org>, 2021. # Alfonso V <alfonsov96@gmail.com>, 2022. # Alejandro Pérez <alejandro.pr.rz@gmail.com>, 2022. +# Cristhian Pineda Castro <kurgancpc@hotmail.com>, 2022. +# Francesco Santoro <fgsantoror20@gmail.com>, 2022. msgid "" msgstr "" "Project-Id-Version: Godot Engine class reference\n" "Report-Msgid-Bugs-To: https://github.com/godotengine/godot\n" -"PO-Revision-Date: 2022-02-14 22:08+0000\n" -"Last-Translator: Alejandro Pérez <alejandro.pr.rz@gmail.com>\n" +"PO-Revision-Date: 2022-03-05 03:08+0000\n" +"Last-Translator: Francesco Santoro <fgsantoror20@gmail.com>\n" "Language-Team: Spanish <https://hosted.weblate.org/projects/godot-engine/" "godot-class-reference/es/>\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 " @@ -4415,6 +4410,15 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" +"Hints that a string property can be an enumerated value to pick in a list " +"specified via a hint string such as [code]\"Hello,Something,Else\"[/code].\n" +"Unlike [constant PROPERTY_HINT_ENUM] a property with this hint still accepts " +"arbitrary values and can be empty. The list of values serves to suggest " +"possible values." +msgstr "" + +#: doc/classes/@GlobalScope.xml +msgid "" "Hints that a float property should be edited via an exponential easing " "function. The hint string can include [code]\"attenuation\"[/code] to flip " "the curve horizontally and/or [code]\"inout\"[/code] to also include in/out " @@ -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 @@ -12615,31 +12622,12 @@ msgstr "" "[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." @@ -12831,6 +12819,16 @@ 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]). " "On systems with multiple audio outputs (such as analog, USB and HDMI audio), " "this can be used to select the audio output device. The value " @@ -16759,6 +16757,24 @@ 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[/" "code], uses the default viewport instead." @@ -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 " @@ -21542,6 +21559,25 @@ msgstr "" "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 @@ -45347,6 +45410,15 @@ 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 " "when loading the data from disk or preparing the data from GDNative.\n" "All data is packed in one large float array. An array may look like this: " @@ -45359,6 +45431,18 @@ msgid "" 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 "" "Sets the color of a specific instance by [i]multiplying[/i] the mesh's " @@ -45415,6 +45499,16 @@ 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 "" "Formato de transformación usado para transformar la malla, ya sea 2D o 3D." @@ -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]." @@ -48606,6 +48712,25 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Returns [code]true[/code] if the physics interpolated flag is set for this " +"Node (see [method set_physics_interpolated]).\n" +"[b]Note:[/b] Interpolation will only be active is both the flag is set " +"[b]and[/b] physics interpolation is enabled within the [SceneTree]. This can " +"be tested using [method is_physics_interpolated_and_enabled]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" +"Returns [code]true[/code] if physics interpolation is enabled (see [method " +"set_physics_interpolated]) [b]and[/b] enabled in the [SceneTree].\n" +"This is a convenience version of [method is_physics_interpolated] that also " +"checks whether physics interpolation is enabled globally.\n" +"See [member SceneTree.physics_interpolation] and [member ProjectSettings." +"physics/common/physics_interpolation]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Returns [code]true[/code] if physics processing is enabled (see [method " "set_physics_process])." msgstr "" @@ -48852,6 +48977,21 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"When physics interpolation is active, moving a node to a radically different " +"transform (such as placement within a level) can result in a visible glitch " +"as the object is rendered moving from the old to new position over the " +"physics tick.\n" +"This glitch can be prevented by calling [code]reset_physics_interpolation[/" +"code], which temporarily turns off interpolation until the physics tick is " +"complete.\n" +"[constant NOTIFICATION_RESET_PHYSICS_INTERPOLATION] will be received by the " +"node and all children recursively.\n" +"[b]Note:[/b] This function should be called [b]after[/b] moving the node, " +"rather than before." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Sends a remote procedure call request for the given [code]method[/code] to " "peers on the network (and locally), optionally sending all additional " "arguments as arguments to the method called by the RPC. The call request " @@ -49008,6 +49148,14 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Enables or disables physics interpolation per node, offering a finer grain " +"of control than turning physics interpolation on and off globally.\n" +"[b]Note:[/b] This can be especially useful for [Camera]s, where custom " +"interpolation can sometimes give superior results." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Enables or disables physics (i.e. fixed framerate) processing. When a node " "is being processed, it will receive a [constant " "NOTIFICATION_PHYSICS_PROCESS] at a fixed (usually 60 FPS, see [member Engine." @@ -49338,6 +49486,13 @@ msgid "" 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 " "equivalent to [constant PAUSE_MODE_STOP]. Default." @@ -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 @@ -62197,6 +62364,17 @@ msgid "" 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 " @@ -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 " @@ -68178,6 +68361,13 @@ msgstr "" #: doc/classes/SceneTree.xml msgid "" +"Although physics interpolation would normally be globally turned on and off " +"using [member ProjectSettings.physics/common/physics_interpolation], this " +"property allows control over interpolation at runtime." +msgstr "" + +#: doc/classes/SceneTree.xml +msgid "" "If [code]true[/code], the [SceneTree]'s [member network_peer] refuses new " "incoming connections." msgstr "" @@ -69753,6 +69943,18 @@ 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 "" "Returns the parent [Spatial], or an empty [Object] if no parent exists or " @@ -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." @@ -75589,6 +75829,16 @@ 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 "" "Returns a [String] text with the word under the caret (text cursor) location." msgstr "" @@ -76903,6 +77153,12 @@ 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 "" "Establece los valores del tema a una copia de los valores del tema por " @@ -77104,6 +77360,21 @@ msgstr "" #: 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 "" "Returns [code]true[/code] if [Color] with [code]name[/code] is in " "[code]node_type[/code].\n" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." @@ -77176,6 +77447,15 @@ msgstr "" "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 " "[code]other[/code] [Theme].\n" @@ -77314,6 +77594,20 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Marks [code]theme_type[/code] as a variation of [code]base_type[/code].\n" +"This adds [code]theme_type[/code] as a suggested option for [member Control." +"theme_type_variation] on a [Control] that is of the [code]base_type[/code] " +"class.\n" +"Variations can also be nested, i.e. [code]base_type[/code] can be another " +"variation. If a chain of variations ends with a [code]base_type[/code] " +"matching the class of the [Control], the whole chain is going to be " +"suggested as options.\n" +"[b]Note:[/b] Suggestions only show up if this theme resource is set as the " +"project default theme. See [member ProjectSettings.gui/theme/custom]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "The default font of this [Theme] resource. Used as a fallback value for font " "items defined in this theme, but having invalid values. If this value is " "also invalid, the global default value is used.\n" @@ -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 a6260337ca..78429f84e0 100644 --- a/doc/translations/fa.po +++ b/doc/translations/fa.po @@ -3761,6 +3761,15 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" +"Hints that a string property can be an enumerated value to pick in a list " +"specified via a hint string such as [code]\"Hello,Something,Else\"[/code].\n" +"Unlike [constant PROPERTY_HINT_ENUM] a property with this hint still accepts " +"arbitrary values and can be empty. The list of values serves to suggest " +"possible values." +msgstr "" + +#: doc/classes/@GlobalScope.xml +msgid "" "Hints that a float property should be edited via an exponential easing " "function. The hint string can include [code]\"attenuation\"[/code] to flip " "the curve horizontally and/or [code]\"inout\"[/code] to also include in/out " @@ -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 @@ -9916,26 +9925,10 @@ msgid "" msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Name of the current device for audio input (see [method " -"capture_get_device_list]). The value [code]\"Default\"[/code] means that the " -"system-wide default audio input is currently used." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Returns the names of all audio input devices detected on the system." msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Sets which audio input device is used for audio capture. On systems with " -"multiple audio inputs (such as analog and USB), this can be used to select " -"the audio input device. Setting the value [code]\"Default\"[/code] will " -"record audio from the system-wide default audio input. If an invalid device " -"name is set, the value will be reverted back to [code]\"Default\"[/code]." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Generates an [AudioBusLayout] using the available buses and effects." msgstr "" @@ -10093,6 +10086,16 @@ msgstr "" #: doc/classes/AudioServer.xml msgid "" +"Name of the current device for audio input (see [method get_device_list]). " +"On systems with multiple audio inputs (such as analog, USB and HDMI audio), " +"this can be used to select the audio input device. The value " +"[code]\"Default\"[/code] will record audio on the system-wide default audio " +"input. If an invalid device name is set, the value will be reverted back to " +"[code]\"Default\"[/code]." +msgstr "" + +#: doc/classes/AudioServer.xml +msgid "" "Name of the current device for audio output (see [method get_device_list]). " "On systems with multiple audio outputs (such as analog, USB and HDMI audio), " "this can be used to select the audio output device. The value " @@ -13168,6 +13171,18 @@ msgstr "" #: doc/classes/CanvasLayer.xml msgid "" +"Hides any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]false[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" +"Shows any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]true[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" "The custom [Viewport] node assigned to the [CanvasLayer]. If [code]null[/" "code], uses the default viewport instead." msgstr "" @@ -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 " @@ -16756,6 +16772,25 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "" +"The name of a theme type variation used by this [Control] to look up its own " +"theme items. When empty, the class name of the node is used (e.g. " +"[code]Button[/code] for the [Button] control), as well as the class names of " +"all parent classes (in order of inheritance).\n" +"When set, this property gives the highest priority to the type of the " +"specified name. This type can in turn extend another type, forming a " +"dependency chain. See [method Theme.set_type_variation]. If the theme item " +"cannot be found using this type or its base types, lookup falls back on the " +"class names.\n" +"[b]Note:[/b] To look up [Control]'s own items use various [code]get_*[/code] " +"methods without specifying [code]theme_type[/code].\n" +"[b]Note:[/b] Theme items are looked for in the tree order, from branch to " +"root, where each [Control] node is checked for its [member theme] property. " +"The earliest match against any type/class name is returned. The project-" +"level Theme and the default Theme are checked last." +msgstr "" + +#: doc/classes/Control.xml msgid "Emitted when the node gains keyboard focus." msgstr "" @@ -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 @@ -34559,6 +34624,15 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"When using [i]physics interpolation[/i], this function allows you to prevent " +"interpolation on an instance in the current physics tick.\n" +"This allows you to move instances instantaneously, and should usually be " +"used when initially placing an instance such as a bullet to prevent " +"graphical glitches." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets all data related to the instances in one go. This is especially useful " "when loading the data from disk or preparing the data from GDNative.\n" "All data is packed in one large float array. An array may look like this: " @@ -34572,6 +34646,18 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"An alternative version of [method MultiMesh.set_as_bulk_array] which can be " +"used with [i]physics interpolation[/i]. This method takes two arrays, and " +"can set the data for the current and previous tick in one go. The renderer " +"will automatically interpolate the data at each frame.\n" +"This is useful for situations where the order of instances may change from " +"physics tick to tick, such as particle systems.\n" +"When the order of instances is coherent, the simpler [method MultiMesh." +"set_as_bulk_array] can still be used with interpolation." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets the color of a specific instance by [i]multiplying[/i] the mesh's " "existing vertex colors.\n" "For the color to take effect, ensure that [member color_format] is non-" @@ -34614,6 +34700,16 @@ msgid "Mesh to be drawn." msgstr "" #: doc/classes/MultiMesh.xml +msgid "" +"Choose whether to use an interpolation method that favors speed or quality.\n" +"When using low physics tick rates (typically below 20) or high rates of " +"object rotation, you may get better results from the high quality setting.\n" +"[b]Note:[/b] Fast quality does not equate to low quality. Except in the " +"special cases mentioned above, the quality should be comparable to high " +"quality." +msgstr "" + +#: doc/classes/MultiMesh.xml msgid "Format of transform used to transform mesh, either 2D or 3D." msgstr "" @@ -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 "" @@ -36968,6 +37076,25 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Returns [code]true[/code] if the physics interpolated flag is set for this " +"Node (see [method set_physics_interpolated]).\n" +"[b]Note:[/b] Interpolation will only be active is both the flag is set " +"[b]and[/b] physics interpolation is enabled within the [SceneTree]. This can " +"be tested using [method is_physics_interpolated_and_enabled]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" +"Returns [code]true[/code] if physics interpolation is enabled (see [method " +"set_physics_interpolated]) [b]and[/b] enabled in the [SceneTree].\n" +"This is a convenience version of [method is_physics_interpolated] that also " +"checks whether physics interpolation is enabled globally.\n" +"See [member SceneTree.physics_interpolation] and [member ProjectSettings." +"physics/common/physics_interpolation]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Returns [code]true[/code] if physics processing is enabled (see [method " "set_physics_process])." msgstr "" @@ -37138,6 +37265,21 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"When physics interpolation is active, moving a node to a radically different " +"transform (such as placement within a level) can result in a visible glitch " +"as the object is rendered moving from the old to new position over the " +"physics tick.\n" +"This glitch can be prevented by calling [code]reset_physics_interpolation[/" +"code], which temporarily turns off interpolation until the physics tick is " +"complete.\n" +"[constant NOTIFICATION_RESET_PHYSICS_INTERPOLATION] will be received by the " +"node and all children recursively.\n" +"[b]Note:[/b] This function should be called [b]after[/b] moving the node, " +"rather than before." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Sends a remote procedure call request for the given [code]method[/code] to " "peers on the network (and locally), optionally sending all additional " "arguments as arguments to the method called by the RPC. The call request " @@ -37238,6 +37380,14 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Enables or disables physics interpolation per node, offering a finer grain " +"of control than turning physics interpolation on and off globally.\n" +"[b]Note:[/b] This can be especially useful for [Camera]s, where custom " +"interpolation can sometimes give superior results." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Enables or disables physics (i.e. fixed framerate) processing. When a node " "is being processed, it will receive a [constant " "NOTIFICATION_PHYSICS_PROCESS] at a fixed (usually 60 FPS, see [member Engine." @@ -37488,6 +37638,12 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Notification received when [method reset_physics_interpolation] is called on " +"the node or parent nodes." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Inherits pause mode from the node's parent. For the root node, it is " "equivalent to [constant PAUSE_MODE_STOP]. Default." msgstr "" @@ -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 @@ -47120,6 +47288,17 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If [code]true[/code], the renderer will interpolate the transforms of " +"physics objects between the last two transforms, such that smooth motion is " +"seen when physics ticks do not coincide with rendered frames.\n" +"[b]Note:[/b] When moving objects to new positions (rather than the usual " +"physics motion) you may want to temporarily turn off interpolation to " +"prevent a visible glitch. You can do this using the [method Node." +"reset_physics_interpolation] function." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Controls how much physics ticks are synchronized with real time. For 0 or " "less, the ticks are synchronized. Such values are recommended for network " "games, where clock synchronization matters. Higher values cause higher " @@ -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 @@ -51722,6 +51908,13 @@ msgstr "" #: doc/classes/SceneTree.xml msgid "" +"Although physics interpolation would normally be globally turned on and off " +"using [member ProjectSettings.physics/common/physics_interpolation], this " +"property allows control over interpolation at runtime." +msgstr "" + +#: doc/classes/SceneTree.xml +msgid "" "If [code]true[/code], the [SceneTree]'s [member network_peer] refuses new " "incoming connections." msgstr "" @@ -52975,6 +53168,18 @@ msgstr "" #: doc/classes/Spatial.xml msgid "" +"When using physics interpolation, there will be circumstances in which you " +"want to know the interpolated (displayed) transform of a node rather than " +"the standard transform (which may only be accurate to the most recent " +"physics tick).\n" +"This is particularly important for frame-based operations that take place in " +"[method Node._process], rather than [method Node._physics_process]. Examples " +"include [Camera]s focusing on a node, or finding where to fire lasers from " +"on a frame rather than physics tick." +msgstr "" + +#: doc/classes/Spatial.xml +msgid "" "Returns the parent [Spatial], or an empty [Object] if no parent exists or " "parent is not of type [Spatial]." msgstr "" @@ -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 @@ -57503,6 +57745,14 @@ msgid "Returns the total width of all gutters and internal padding." msgstr "" #: doc/classes/TextEdit.xml +msgid "Returns the total amount of lines that could be drawn." +msgstr "" + +#: doc/classes/TextEdit.xml +msgid "Returns the number of visible lines, including wrapped text." +msgstr "" + +#: doc/classes/TextEdit.xml msgid "" "Returns a [String] text with the word under the caret (text cursor) location." msgstr "" @@ -58540,6 +58790,12 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Unmarks [code]theme_type[/code] as being a variation of another theme type. " +"See [method set_type_variation]." +msgstr "" + +#: doc/classes/Theme.xml msgid "Sets the theme's values to a copy of the default theme values." msgstr "" @@ -58680,6 +58936,17 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Returns the name of the base theme type if [code]theme_type[/code] is a " +"valid variation type. Returns an empty string otherwise." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" +"Returns a list of all type variations for the given [code]base_type[/code]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Returns [code]true[/code] if [Color] with [code]name[/code] is in " "[code]node_type[/code].\n" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." @@ -58728,6 +58995,12 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Returns [code]true[/code] if [code]theme_type[/code] is marked as a " +"variation of [code]base_type[/code]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Adds missing and overrides existing definitions with values from the " "[code]other[/code] [Theme].\n" "[b]Note:[/b] This modifies the current theme. If you want to merge two " @@ -58823,6 +59096,20 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Marks [code]theme_type[/code] as a variation of [code]base_type[/code].\n" +"This adds [code]theme_type[/code] as a suggested option for [member Control." +"theme_type_variation] on a [Control] that is of the [code]base_type[/code] " +"class.\n" +"Variations can also be nested, i.e. [code]base_type[/code] can be another " +"variation. If a chain of variations ends with a [code]base_type[/code] " +"matching the class of the [Control], the whole chain is going to be " +"suggested as options.\n" +"[b]Note:[/b] Suggestions only show up if this theme resource is set as the " +"project default theme. See [member ProjectSettings.gui/theme/custom]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "The default font of this [Theme] resource. Used as a fallback value for font " "items defined in this theme, but having invalid values. If this value is " "also invalid, the global default value is used.\n" @@ -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 780df6468f..df7bd8a2d9 100644 --- a/doc/translations/fi.po +++ b/doc/translations/fi.po @@ -3348,6 +3348,15 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" +"Hints that a string property can be an enumerated value to pick in a list " +"specified via a hint string such as [code]\"Hello,Something,Else\"[/code].\n" +"Unlike [constant PROPERTY_HINT_ENUM] a property with this hint still accepts " +"arbitrary values and can be empty. The list of values serves to suggest " +"possible values." +msgstr "" + +#: doc/classes/@GlobalScope.xml +msgid "" "Hints that a float property should be edited via an exponential easing " "function. The hint string can include [code]\"attenuation\"[/code] to flip " "the curve horizontally and/or [code]\"inout\"[/code] to also include in/out " @@ -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 @@ -9511,26 +9521,10 @@ msgid "" msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Name of the current device for audio input (see [method " -"capture_get_device_list]). The value [code]\"Default\"[/code] means that the " -"system-wide default audio input is currently used." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Returns the names of all audio input devices detected on the system." msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Sets which audio input device is used for audio capture. On systems with " -"multiple audio inputs (such as analog and USB), this can be used to select " -"the audio input device. Setting the value [code]\"Default\"[/code] will " -"record audio from the system-wide default audio input. If an invalid device " -"name is set, the value will be reverted back to [code]\"Default\"[/code]." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Generates an [AudioBusLayout] using the available buses and effects." msgstr "" @@ -9688,6 +9682,16 @@ msgstr "" #: doc/classes/AudioServer.xml msgid "" +"Name of the current device for audio input (see [method get_device_list]). " +"On systems with multiple audio inputs (such as analog, USB and HDMI audio), " +"this can be used to select the audio input device. The value " +"[code]\"Default\"[/code] will record audio on the system-wide default audio " +"input. If an invalid device name is set, the value will be reverted back to " +"[code]\"Default\"[/code]." +msgstr "" + +#: doc/classes/AudioServer.xml +msgid "" "Name of the current device for audio output (see [method get_device_list]). " "On systems with multiple audio outputs (such as analog, USB and HDMI audio), " "this can be used to select the audio output device. The value " @@ -12771,6 +12775,18 @@ msgstr "" #: doc/classes/CanvasLayer.xml msgid "" +"Hides any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]false[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" +"Shows any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]true[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" "The custom [Viewport] node assigned to the [CanvasLayer]. If [code]null[/" "code], uses the default viewport instead." msgstr "" @@ -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 " @@ -16366,6 +16383,25 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "" +"The name of a theme type variation used by this [Control] to look up its own " +"theme items. When empty, the class name of the node is used (e.g. " +"[code]Button[/code] for the [Button] control), as well as the class names of " +"all parent classes (in order of inheritance).\n" +"When set, this property gives the highest priority to the type of the " +"specified name. This type can in turn extend another type, forming a " +"dependency chain. See [method Theme.set_type_variation]. If the theme item " +"cannot be found using this type or its base types, lookup falls back on the " +"class names.\n" +"[b]Note:[/b] To look up [Control]'s own items use various [code]get_*[/code] " +"methods without specifying [code]theme_type[/code].\n" +"[b]Note:[/b] Theme items are looked for in the tree order, from branch to " +"root, where each [Control] node is checked for its [member theme] property. " +"The earliest match against any type/class name is returned. The project-" +"level Theme and the default Theme are checked last." +msgstr "" + +#: doc/classes/Control.xml msgid "Emitted when the node gains keyboard focus." msgstr "" @@ -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 @@ -34191,6 +34257,15 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"When using [i]physics interpolation[/i], this function allows you to prevent " +"interpolation on an instance in the current physics tick.\n" +"This allows you to move instances instantaneously, and should usually be " +"used when initially placing an instance such as a bullet to prevent " +"graphical glitches." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets all data related to the instances in one go. This is especially useful " "when loading the data from disk or preparing the data from GDNative.\n" "All data is packed in one large float array. An array may look like this: " @@ -34204,6 +34279,18 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"An alternative version of [method MultiMesh.set_as_bulk_array] which can be " +"used with [i]physics interpolation[/i]. This method takes two arrays, and " +"can set the data for the current and previous tick in one go. The renderer " +"will automatically interpolate the data at each frame.\n" +"This is useful for situations where the order of instances may change from " +"physics tick to tick, such as particle systems.\n" +"When the order of instances is coherent, the simpler [method MultiMesh." +"set_as_bulk_array] can still be used with interpolation." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets the color of a specific instance by [i]multiplying[/i] the mesh's " "existing vertex colors.\n" "For the color to take effect, ensure that [member color_format] is non-" @@ -34246,6 +34333,16 @@ msgid "Mesh to be drawn." msgstr "" #: doc/classes/MultiMesh.xml +msgid "" +"Choose whether to use an interpolation method that favors speed or quality.\n" +"When using low physics tick rates (typically below 20) or high rates of " +"object rotation, you may get better results from the high quality setting.\n" +"[b]Note:[/b] Fast quality does not equate to low quality. Except in the " +"special cases mentioned above, the quality should be comparable to high " +"quality." +msgstr "" + +#: doc/classes/MultiMesh.xml msgid "Format of transform used to transform mesh, either 2D or 3D." msgstr "" @@ -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 "" @@ -36614,6 +36723,25 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Returns [code]true[/code] if the physics interpolated flag is set for this " +"Node (see [method set_physics_interpolated]).\n" +"[b]Note:[/b] Interpolation will only be active is both the flag is set " +"[b]and[/b] physics interpolation is enabled within the [SceneTree]. This can " +"be tested using [method is_physics_interpolated_and_enabled]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" +"Returns [code]true[/code] if physics interpolation is enabled (see [method " +"set_physics_interpolated]) [b]and[/b] enabled in the [SceneTree].\n" +"This is a convenience version of [method is_physics_interpolated] that also " +"checks whether physics interpolation is enabled globally.\n" +"See [member SceneTree.physics_interpolation] and [member ProjectSettings." +"physics/common/physics_interpolation]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Returns [code]true[/code] if physics processing is enabled (see [method " "set_physics_process])." msgstr "" @@ -36784,6 +36912,21 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"When physics interpolation is active, moving a node to a radically different " +"transform (such as placement within a level) can result in a visible glitch " +"as the object is rendered moving from the old to new position over the " +"physics tick.\n" +"This glitch can be prevented by calling [code]reset_physics_interpolation[/" +"code], which temporarily turns off interpolation until the physics tick is " +"complete.\n" +"[constant NOTIFICATION_RESET_PHYSICS_INTERPOLATION] will be received by the " +"node and all children recursively.\n" +"[b]Note:[/b] This function should be called [b]after[/b] moving the node, " +"rather than before." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Sends a remote procedure call request for the given [code]method[/code] to " "peers on the network (and locally), optionally sending all additional " "arguments as arguments to the method called by the RPC. The call request " @@ -36884,6 +37027,14 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Enables or disables physics interpolation per node, offering a finer grain " +"of control than turning physics interpolation on and off globally.\n" +"[b]Note:[/b] This can be especially useful for [Camera]s, where custom " +"interpolation can sometimes give superior results." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Enables or disables physics (i.e. fixed framerate) processing. When a node " "is being processed, it will receive a [constant " "NOTIFICATION_PHYSICS_PROCESS] at a fixed (usually 60 FPS, see [member Engine." @@ -37134,6 +37285,12 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Notification received when [method reset_physics_interpolation] is called on " +"the node or parent nodes." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Inherits pause mode from the node's parent. For the root node, it is " "equivalent to [constant PAUSE_MODE_STOP]. Default." msgstr "" @@ -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 @@ -46768,6 +46937,17 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If [code]true[/code], the renderer will interpolate the transforms of " +"physics objects between the last two transforms, such that smooth motion is " +"seen when physics ticks do not coincide with rendered frames.\n" +"[b]Note:[/b] When moving objects to new positions (rather than the usual " +"physics motion) you may want to temporarily turn off interpolation to " +"prevent a visible glitch. You can do this using the [method Node." +"reset_physics_interpolation] function." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Controls how much physics ticks are synchronized with real time. For 0 or " "less, the ticks are synchronized. Such values are recommended for network " "games, where clock synchronization matters. Higher values cause higher " @@ -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 @@ -51367,6 +51554,13 @@ msgstr "" #: doc/classes/SceneTree.xml msgid "" +"Although physics interpolation would normally be globally turned on and off " +"using [member ProjectSettings.physics/common/physics_interpolation], this " +"property allows control over interpolation at runtime." +msgstr "" + +#: doc/classes/SceneTree.xml +msgid "" "If [code]true[/code], the [SceneTree]'s [member network_peer] refuses new " "incoming connections." msgstr "" @@ -52621,6 +52815,18 @@ msgstr "" #: doc/classes/Spatial.xml msgid "" +"When using physics interpolation, there will be circumstances in which you " +"want to know the interpolated (displayed) transform of a node rather than " +"the standard transform (which may only be accurate to the most recent " +"physics tick).\n" +"This is particularly important for frame-based operations that take place in " +"[method Node._process], rather than [method Node._physics_process]. Examples " +"include [Camera]s focusing on a node, or finding where to fire lasers from " +"on a frame rather than physics tick." +msgstr "" + +#: doc/classes/Spatial.xml +msgid "" "Returns the parent [Spatial], or an empty [Object] if no parent exists or " "parent is not of type [Spatial]." msgstr "" @@ -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 @@ -57158,6 +57401,16 @@ 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." msgstr "" @@ -58196,6 +58449,12 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Unmarks [code]theme_type[/code] as being a variation of another theme type. " +"See [method set_type_variation]." +msgstr "" + +#: doc/classes/Theme.xml msgid "Sets the theme's values to a copy of the default theme values." msgstr "" @@ -58337,6 +58596,18 @@ 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 " "[code]node_type[/code].\n" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." @@ -58384,6 +58655,13 @@ msgid "" 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 " "[code]other[/code] [Theme].\n" @@ -58480,6 +58758,20 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Marks [code]theme_type[/code] as a variation of [code]base_type[/code].\n" +"This adds [code]theme_type[/code] as a suggested option for [member Control." +"theme_type_variation] on a [Control] that is of the [code]base_type[/code] " +"class.\n" +"Variations can also be nested, i.e. [code]base_type[/code] can be another " +"variation. If a chain of variations ends with a [code]base_type[/code] " +"matching the class of the [Control], the whole chain is going to be " +"suggested as options.\n" +"[b]Note:[/b] Suggestions only show up if this theme resource is set as the " +"project default theme. See [member ProjectSettings.gui/theme/custom]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "The default font of this [Theme] resource. Used as a fallback value for font " "items defined in this theme, but having invalid values. If this value is " "also invalid, the global default value is used.\n" @@ -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 27b84c2f14..7d94a0dacc 100644 --- a/doc/translations/fil.po +++ b/doc/translations/fil.po @@ -3329,6 +3329,15 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" +"Hints that a string property can be an enumerated value to pick in a list " +"specified via a hint string such as [code]\"Hello,Something,Else\"[/code].\n" +"Unlike [constant PROPERTY_HINT_ENUM] a property with this hint still accepts " +"arbitrary values and can be empty. The list of values serves to suggest " +"possible values." +msgstr "" + +#: doc/classes/@GlobalScope.xml +msgid "" "Hints that a float property should be edited via an exponential easing " "function. The hint string can include [code]\"attenuation\"[/code] to flip " "the curve horizontally and/or [code]\"inout\"[/code] to also include in/out " @@ -4839,7 +4848,7 @@ msgid "" msgstr "" #: doc/classes/AnimationNode.xml -msgid "Returns [code]true[/code] whether a given path is filtered." +msgid "Returns whether the given path is filtered." msgstr "" #: doc/classes/AnimationNode.xml @@ -4864,7 +4873,7 @@ msgstr "" #: doc/classes/AnimationNode.xml msgid "" -"Sets a custom parameter. These are used as local storage, because resources " +"Sets a custom parameter. These are used as local memory, because resources " "can be reused across the tree or scenes." msgstr "" @@ -4873,7 +4882,7 @@ msgid "If [code]true[/code], filtering is enabled." msgstr "" #: doc/classes/AnimationNode.xml -msgid "Called when the node was removed from the graph." +msgid "Emitted when the node was removed from the graph." msgstr "" #: doc/classes/AnimationNode.xml @@ -9484,26 +9493,10 @@ msgid "" msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Name of the current device for audio input (see [method " -"capture_get_device_list]). The value [code]\"Default\"[/code] means that the " -"system-wide default audio input is currently used." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Returns the names of all audio input devices detected on the system." msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Sets which audio input device is used for audio capture. On systems with " -"multiple audio inputs (such as analog and USB), this can be used to select " -"the audio input device. Setting the value [code]\"Default\"[/code] will " -"record audio from the system-wide default audio input. If an invalid device " -"name is set, the value will be reverted back to [code]\"Default\"[/code]." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Generates an [AudioBusLayout] using the available buses and effects." msgstr "" @@ -9661,6 +9654,16 @@ msgstr "" #: doc/classes/AudioServer.xml msgid "" +"Name of the current device for audio input (see [method get_device_list]). " +"On systems with multiple audio inputs (such as analog, USB and HDMI audio), " +"this can be used to select the audio input device. The value " +"[code]\"Default\"[/code] will record audio on the system-wide default audio " +"input. If an invalid device name is set, the value will be reverted back to " +"[code]\"Default\"[/code]." +msgstr "" + +#: doc/classes/AudioServer.xml +msgid "" "Name of the current device for audio output (see [method get_device_list]). " "On systems with multiple audio outputs (such as analog, USB and HDMI audio), " "this can be used to select the audio output device. The value " @@ -12736,6 +12739,18 @@ msgstr "" #: doc/classes/CanvasLayer.xml msgid "" +"Hides any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]false[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" +"Shows any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]true[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" "The custom [Viewport] node assigned to the [CanvasLayer]. If [code]null[/" "code], uses the default viewport instead." msgstr "" @@ -15572,8 +15587,9 @@ msgid "" "Returns a [Color] from the first matching [Theme] in the tree if that " "[Theme] has a color item with the specified [code]name[/code] and " "[code]theme_type[/code]. If [code]theme_type[/code] is omitted the class " -"name of the current control is used as the type. If the type is a class name " -"its parent classes are also checked, in order of inheritance.\n" +"name of the current control is used as the type, or [member " +"theme_type_variation] if it is defined. If the type is a class name its " +"parent classes are also checked, in order of inheritance.\n" "For the current control its local overrides are considered first (see " "[method add_color_override]), then its assigned [member theme]. After the " "current control, each parent control and its assigned [member theme] are " @@ -16324,6 +16340,25 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "" +"The name of a theme type variation used by this [Control] to look up its own " +"theme items. When empty, the class name of the node is used (e.g. " +"[code]Button[/code] for the [Button] control), as well as the class names of " +"all parent classes (in order of inheritance).\n" +"When set, this property gives the highest priority to the type of the " +"specified name. This type can in turn extend another type, forming a " +"dependency chain. See [method Theme.set_type_variation]. If the theme item " +"cannot be found using this type or its base types, lookup falls back on the " +"class names.\n" +"[b]Note:[/b] To look up [Control]'s own items use various [code]get_*[/code] " +"methods without specifying [code]theme_type[/code].\n" +"[b]Note:[/b] Theme items are looked for in the tree order, from branch to " +"root, where each [Control] node is checked for its [member theme] property. " +"The earliest match against any type/class name is returned. The project-" +"level Theme and the default Theme are checked last." +msgstr "" + +#: doc/classes/Control.xml msgid "Emitted when the node gains keyboard focus." msgstr "" @@ -22998,7 +23033,22 @@ msgid "" msgstr "" #: doc/classes/Environment.xml -msgid "If [code]true[/code], the glow effect is enabled." +msgid "" +"If [code]true[/code], the glow effect is enabled.\n" +"[b]Note:[/b] Only effective if [member ProjectSettings.rendering/quality/" +"intended_usage/framebuffer_allocation] is [b]3D[/b] ([i]not[/i] [b]3D " +"Without Effects[/b]). On mobile, [member ProjectSettings.rendering/quality/" +"intended_usage/framebuffer_allocation] defaults to [b]3D Without Effects[/b] " +"by default, so its [code].mobile[/code] override needs to be changed to " +"[b]3D[/b].\n" +"[b]Note:[/b] When using GLES3 on mobile, HDR rendering is disabled by " +"default for performance reasons. This means glow will only be visible if " +"[member glow_hdr_threshold] is decreased below [code]1.0[/code] or if " +"[member glow_bloom] is increased above [code]0.0[/code]. Also consider " +"increasing [member glow_intensity] to [code]1.5[/code]. If you want glow to " +"behave on mobile like it does on desktop (at a performance cost), enable " +"[member ProjectSettings.rendering/quality/depth/hdr]'s [code].mobile[/code] " +"override." msgstr "" #: doc/classes/Environment.xml @@ -25100,8 +25150,9 @@ msgid "" "Returns a [PoolIntArray] where each triangle consists of three consecutive " "point indices into [code]polygon[/code] (i.e. the returned array will have " "[code]n * 3[/code] elements, with [code]n[/code] being the number of found " -"triangles). If the triangulation did not succeed, an empty [PoolIntArray] is " -"returned." +"triangles). Output triangles will always be counter clockwise, and the " +"contour will be flipped if it's clockwise. If the triangulation did not " +"succeed, an empty [PoolIntArray] is returned." msgstr "" #: doc/classes/Geometry.xml @@ -25371,7 +25422,12 @@ msgid "" "[b]Note:[/b] [method bake] works from the editor and in exported projects. " "This makes it suitable for procedurally generated or user-built levels. " "Baking a [GIProbe] generally takes from 5 to 20 seconds in most scenes. " -"Reducing [member subdiv] can speed up baking." +"Reducing [member subdiv] can speed up baking.\n" +"[b]Note:[/b] [GeometryInstance]s and [Light]s must be fully ready before " +"[method bake] is called. If you are procedurally creating those and some " +"meshes or lights are missing from your baked [GIProbe], use " +"[code]call_deferred(\"bake\")[/code] instead of calling [method bake] " +"directly." msgstr "" #: doc/classes/GIProbe.xml @@ -31906,7 +31962,12 @@ msgid "The color of shadows cast by this light." msgstr "" #: doc/classes/Light.xml -msgid "Attempts to reduce [member shadow_bias] gap." +msgid "" +"Attempts to reduce [member shadow_bias] gap by rendering screen-space " +"contact shadows. This has a performance impact, especially at higher " +"values.\n" +"[b]Note:[/b] Contact shadows can look broken, so leaving this property to " +"[code]0.0[/code] is recommended." msgstr "" #: doc/classes/Light.xml @@ -32286,8 +32347,12 @@ msgstr "" #: doc/classes/Line2D.xml msgid "" -"The smoothness of the rounded joints and caps. This is only used if a cap or " -"joint is set as round." +"The smoothness of the rounded joints and caps. Higher values result in " +"smoother corners, but are more demanding to render and update. This is only " +"used if a cap or joint is set as round.\n" +"[b]Note:[/b] The default value is tuned for lines with the default [member " +"width]. For thin lines, this value should be reduced to a number between " +"[code]2[/code] and [code]4[/code] to improve performance." msgstr "" #: doc/classes/Line2D.xml @@ -34127,6 +34192,15 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"When using [i]physics interpolation[/i], this function allows you to prevent " +"interpolation on an instance in the current physics tick.\n" +"This allows you to move instances instantaneously, and should usually be " +"used when initially placing an instance such as a bullet to prevent " +"graphical glitches." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets all data related to the instances in one go. This is especially useful " "when loading the data from disk or preparing the data from GDNative.\n" "All data is packed in one large float array. An array may look like this: " @@ -34140,6 +34214,18 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"An alternative version of [method MultiMesh.set_as_bulk_array] which can be " +"used with [i]physics interpolation[/i]. This method takes two arrays, and " +"can set the data for the current and previous tick in one go. The renderer " +"will automatically interpolate the data at each frame.\n" +"This is useful for situations where the order of instances may change from " +"physics tick to tick, such as particle systems.\n" +"When the order of instances is coherent, the simpler [method MultiMesh." +"set_as_bulk_array] can still be used with interpolation." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets the color of a specific instance by [i]multiplying[/i] the mesh's " "existing vertex colors.\n" "For the color to take effect, ensure that [member color_format] is non-" @@ -34182,6 +34268,16 @@ msgid "Mesh to be drawn." msgstr "" #: doc/classes/MultiMesh.xml +msgid "" +"Choose whether to use an interpolation method that favors speed or quality.\n" +"When using low physics tick rates (typically below 20) or high rates of " +"object rotation, you may get better results from the high quality setting.\n" +"[b]Note:[/b] Fast quality does not equate to low quality. Except in the " +"special cases mentioned above, the quality should be comparable to high " +"quality." +msgstr "" + +#: doc/classes/MultiMesh.xml msgid "Format of transform used to transform mesh, either 2D or 3D." msgstr "" @@ -34233,6 +34329,18 @@ msgid "" "Use this for highest precision." msgstr "" +#: doc/classes/MultiMesh.xml +msgid "" +"Always interpolate using Basis lerping, which can produce warping artifacts " +"in some situations." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" +"Attempt to interpolate using Basis slerping (spherical linear interpolation) " +"where possible, otherwise fall back to lerping." +msgstr "" + #: doc/classes/MultiMeshInstance.xml msgid "Node that instances a [MultiMesh]." msgstr "" @@ -36530,6 +36638,25 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Returns [code]true[/code] if the physics interpolated flag is set for this " +"Node (see [method set_physics_interpolated]).\n" +"[b]Note:[/b] Interpolation will only be active is both the flag is set " +"[b]and[/b] physics interpolation is enabled within the [SceneTree]. This can " +"be tested using [method is_physics_interpolated_and_enabled]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" +"Returns [code]true[/code] if physics interpolation is enabled (see [method " +"set_physics_interpolated]) [b]and[/b] enabled in the [SceneTree].\n" +"This is a convenience version of [method is_physics_interpolated] that also " +"checks whether physics interpolation is enabled globally.\n" +"See [member SceneTree.physics_interpolation] and [member ProjectSettings." +"physics/common/physics_interpolation]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Returns [code]true[/code] if physics processing is enabled (see [method " "set_physics_process])." msgstr "" @@ -36700,6 +36827,21 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"When physics interpolation is active, moving a node to a radically different " +"transform (such as placement within a level) can result in a visible glitch " +"as the object is rendered moving from the old to new position over the " +"physics tick.\n" +"This glitch can be prevented by calling [code]reset_physics_interpolation[/" +"code], which temporarily turns off interpolation until the physics tick is " +"complete.\n" +"[constant NOTIFICATION_RESET_PHYSICS_INTERPOLATION] will be received by the " +"node and all children recursively.\n" +"[b]Note:[/b] This function should be called [b]after[/b] moving the node, " +"rather than before." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Sends a remote procedure call request for the given [code]method[/code] to " "peers on the network (and locally), optionally sending all additional " "arguments as arguments to the method called by the RPC. The call request " @@ -36800,6 +36942,14 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Enables or disables physics interpolation per node, offering a finer grain " +"of control than turning physics interpolation on and off globally.\n" +"[b]Note:[/b] This can be especially useful for [Camera]s, where custom " +"interpolation can sometimes give superior results." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Enables or disables physics (i.e. fixed framerate) processing. When a node " "is being processed, it will receive a [constant " "NOTIFICATION_PHYSICS_PROCESS] at a fixed (usually 60 FPS, see [member Engine." @@ -37050,6 +37200,12 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Notification received when [method reset_physics_interpolation] is called on " +"the node or parent nodes." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Inherits pause mode from the node's parent. For the root node, it is " "equivalent to [constant PAUSE_MODE_STOP]. Default." msgstr "" @@ -38037,8 +38193,8 @@ msgstr "" #: doc/classes/OccluderShapePolygon.xml msgid "" -"Specifies whether the occluder should operate one way only, or from both " -"sides." +"Specifies whether the occluder should operate from both sides. If " +"[code]false[/code], the occluder will operate one way only." msgstr "" #: doc/classes/OccluderShapeSphere.xml @@ -38828,7 +38984,19 @@ msgid "" msgstr "" #: doc/classes/OS.xml -msgid "Returns the number of threads available on the host machine." +msgid "" +"Returns the number of [i]logical[/i] CPU cores available on the host " +"machine. On CPUs with HyperThreading enabled, this number will be greater " +"than the number of [i]physical[/i] CPU cores." +msgstr "" + +#: doc/classes/OS.xml +msgid "" +"Returns the name of the CPU model on the host machine (e.g. \"Intel(R) " +"Core(TM) i7-6700K CPU @ 4.00GHz\").\n" +"[b]Note:[/b] This method is only implemented on Windows, macOS, Linux and " +"iOS. On Android, HTML5 and UWP, [method get_processor_name] returns an empty " +"string." msgstr "" #: doc/classes/OS.xml @@ -46670,6 +46838,17 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If [code]true[/code], the renderer will interpolate the transforms of " +"physics objects between the last two transforms, such that smooth motion is " +"seen when physics ticks do not coincide with rendered frames.\n" +"[b]Note:[/b] When moving objects to new positions (rather than the usual " +"physics motion) you may want to temporarily turn off interpolation to " +"prevent a visible glitch. You can do this using the [method Node." +"reset_physics_interpolation] function." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Controls how much physics ticks are synchronized with real time. For 0 or " "less, the ticks are synchronized. Such values are recommended for network " "games, where clock synchronization matters. Higher values cause higher " @@ -46680,8 +46859,10 @@ msgid "" "[b]Note:[/b] For best results, when using a custom physics interpolation " "solution, the physics jitter fix should be disabled by setting [member " "physics/common/physics_jitter_fix] to [code]0[/code].\n" +"[b]Note:[/b] Jitter fix is automatically disabled at runtime when [member " +"physics/common/physics_interpolation] is enabled.\n" "[b]Note:[/b] This property is only read when the project starts. To change " -"the physics FPS at runtime, set [member Engine.physics_jitter_fix] instead." +"the value at runtime, set [member Engine.physics_jitter_fix] instead." msgstr "" #: doc/classes/ProjectSettings.xml @@ -47194,14 +47375,19 @@ msgstr "" msgid "" "If [code]true[/code], allocates the root [Viewport]'s framebuffer with high " "dynamic range. High dynamic range allows the use of [Color] values greater " -"than 1.\n" +"than 1. This must be set to [code]true[/code] for glow rendering to work if " +"[member Environment.glow_hdr_threshold] is greater than or equal to " +"[code]1.0[/code].\n" "[b]Note:[/b] Only available on the GLES3 backend." msgstr "" #: doc/classes/ProjectSettings.xml msgid "" "Lower-end override for [member rendering/quality/depth/hdr] on mobile " -"devices, due to performance concerns or driver support." +"devices, due to performance concerns or driver support. This must be set to " +"[code]true[/code] for glow rendering to work if [member Environment." +"glow_hdr_threshold] is greater than or equal to [code]1.0[/code].\n" +"[b]Note:[/b] Only available on the GLES3 backend." msgstr "" #: doc/classes/ProjectSettings.xml @@ -47330,8 +47516,8 @@ msgid "" "resources it uses (but the less features it supports). If set to \"2D " "Without Sampling\" or \"3D Without Effects\", sample buffers will not be " "allocated. This means [code]SCREEN_TEXTURE[/code] and [code]DEPTH_TEXTURE[/" -"code] will not be available in shaders and post-processing effects will not " -"be available in the [Environment]." +"code] will not be available in shaders and post-processing effects such as " +"glow will not be available in [Environment]." msgstr "" #: doc/classes/ProjectSettings.xml @@ -51268,6 +51454,13 @@ msgstr "" #: doc/classes/SceneTree.xml msgid "" +"Although physics interpolation would normally be globally turned on and off " +"using [member ProjectSettings.physics/common/physics_interpolation], this " +"property allows control over interpolation at runtime." +msgstr "" + +#: doc/classes/SceneTree.xml +msgid "" "If [code]true[/code], the [SceneTree]'s [member network_peer] refuses new " "incoming connections." msgstr "" @@ -52521,6 +52714,18 @@ msgstr "" #: doc/classes/Spatial.xml msgid "" +"When using physics interpolation, there will be circumstances in which you " +"want to know the interpolated (displayed) transform of a node rather than " +"the standard transform (which may only be accurate to the most recent " +"physics tick).\n" +"This is particularly important for frame-based operations that take place in " +"[method Node._process], rather than [method Node._physics_process]. Examples " +"include [Camera]s focusing on a node, or finding where to fire lasers from " +"on a frame rather than physics tick." +msgstr "" + +#: doc/classes/Spatial.xml +msgid "" "Returns the parent [Spatial], or an empty [Object] if no parent exists or " "parent is not of type [Spatial]." msgstr "" @@ -54356,7 +54561,7 @@ msgid "" "colors into account for albedo. Otherwise, the color defined in [member " "modulate] will be ignored. For a [SpatialMaterial], [member SpatialMaterial." "vertex_color_use_as_albedo] must be [code]true[/code]. For a " -"[ShaderMaterial], [code]ALBEDO *= COLOR.rgb;[/color] must be inserted in the " +"[ShaderMaterial], [code]ALBEDO *= COLOR.rgb;[/code] must be inserted in the " "shader's [code]fragment()[/code] function." msgstr "" @@ -54370,7 +54575,7 @@ msgid "" "colors into account for albedo. Otherwise, the opacity defined in [member " "opacity] will be ignored. For a [SpatialMaterial], [member SpatialMaterial." "vertex_color_use_as_albedo] must be [code]true[/code]. For a " -"[ShaderMaterial], [code]ALPHA *= COLOR.a;[/color] must be inserted in the " +"[ShaderMaterial], [code]ALPHA *= COLOR.a;[/code] must be inserted in the " "shader's [code]fragment()[/code] function." msgstr "" @@ -55043,7 +55248,12 @@ msgid "Returns [code]true[/code] if the string begins with the given string." msgstr "" #: doc/classes/String.xml -msgid "Returns the bigrams (pairs of consecutive letters) of this string." +msgid "" +"Returns an array containing the bigrams (pairs of consecutive letters) of " +"this string.\n" +"[codeblock]\n" +"print(\"Bigrams\".bigrams()) # Prints \"[Bi, ig, gr, ra, am, ms]\"\n" +"[/codeblock]" msgstr "" #: doc/classes/String.xml @@ -55306,7 +55516,16 @@ msgid "" msgstr "" #: doc/classes/String.xml -msgid "Returns [code]true[/code] if this string contains a valid float." +msgid "" +"Returns [code]true[/code] if this string contains a valid float. This is " +"inclusive of integers, and also supports exponents:\n" +"[codeblock]\n" +"print(\"1.7\".is_valid_float()) # Prints \"true\"\n" +"print(\"24\".is_valid_float()) # Prints \"true\"\n" +"print(\"7e3\".is_valid_float()) # Prints \"true\"\n" +"print(\"24\".is_valid_float()) # Prints \"true\"\n" +"print(\"Hello\".is_valid_float()) # Prints \"false\"\n" +"[/codeblock]" msgstr "" #: doc/classes/String.xml @@ -55329,11 +55548,24 @@ msgstr "" msgid "" "Returns [code]true[/code] if this string is a valid identifier. A valid " "identifier may contain only letters, digits and underscores ([code]_[/code]) " -"and the first character may not be a digit." +"and the first character may not be a digit.\n" +"[codeblock]\n" +"print(\"good_ident_1\".is_valid_identifier()) # Prints \"true\"\n" +"print(\"1st_bad_ident\".is_valid_identifier()) # Prints \"false\"\n" +"print(\"bad_ident_#2\".is_valid_identifier()) # Prints \"false\"\n" +"[/codeblock]" msgstr "" #: doc/classes/String.xml -msgid "Returns [code]true[/code] if this string contains a valid integer." +msgid "" +"Returns [code]true[/code] if this string contains a valid integer.\n" +"[codeblock]\n" +"print(\"7\".is_valid_int()) # Prints \"true\"\n" +"print(\"14.6\".is_valid_int()) # Prints \"false\"\n" +"print(\"L\".is_valid_int()) # Prints \"false\"\n" +"print(\"+3\".is_valid_int()) # Prints \"true\"\n" +"print(\"-12\".is_valid_int()) # Prints \"true\"\n" +"[/codeblock]" msgstr "" #: doc/classes/String.xml @@ -55382,14 +55614,16 @@ msgstr "" msgid "" "Does a simple case-sensitive expression match, where [code]\"*\"[/code] " "matches zero or more arbitrary characters and [code]\"?\"[/code] matches any " -"single character except a period ([code]\".\"[/code])." +"single character except a period ([code]\".\"[/code]). An empty string or " +"empty expression always evaluates to [code]false[/code]." msgstr "" #: doc/classes/String.xml msgid "" "Does a simple case-insensitive expression match, where [code]\"*\"[/code] " "matches zero or more arbitrary characters and [code]\"?\"[/code] matches any " -"single character except a period ([code]\".\"[/code])." +"single character except a period ([code]\".\"[/code]). An empty string or " +"empty expression always evaluates to [code]false[/code]." msgstr "" #: doc/classes/String.xml @@ -55559,8 +55793,16 @@ msgstr "" #: doc/classes/String.xml msgid "" -"Returns the similarity index of the text compared to this string. 1 means " -"totally similar and 0 means totally dissimilar." +"Returns the similarity index ([url=https://en.wikipedia.org/wiki/" +"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) this " +"string compared to another. 1.0 means totally similar and 0.0 means totally " +"dissimilar.\n" +"[codeblock]\n" +"print(\"ABC123\".similarity(\"ABC123\")) # Prints \"1\"\n" +"print(\"ABC123\".similarity(\"XYZ456\")) # Prints \"0\"\n" +"print(\"ABC123\".similarity(\"123ABC\")) # Prints \"0.8\"\n" +"print(\"ABC123\".similarity(\"abc123\")) # Prints \"0.4\"\n" +"[/codeblock]" msgstr "" #: doc/classes/String.xml @@ -57049,6 +57291,14 @@ msgid "Returns the total width of all gutters and internal padding." msgstr "" #: doc/classes/TextEdit.xml +msgid "Returns the total amount of lines that could be drawn." +msgstr "" + +#: doc/classes/TextEdit.xml +msgid "Returns the number of visible lines, including wrapped text." +msgstr "" + +#: doc/classes/TextEdit.xml msgid "" "Returns a [String] text with the word under the caret (text cursor) location." msgstr "" @@ -58086,6 +58336,12 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Unmarks [code]theme_type[/code] as being a variation of another theme type. " +"See [method set_type_variation]." +msgstr "" + +#: doc/classes/Theme.xml msgid "Sets the theme's values to a copy of the default theme values." msgstr "" @@ -58226,6 +58482,17 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Returns the name of the base theme type if [code]theme_type[/code] is a " +"valid variation type. Returns an empty string otherwise." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" +"Returns a list of all type variations for the given [code]base_type[/code]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Returns [code]true[/code] if [Color] with [code]name[/code] is in " "[code]node_type[/code].\n" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." @@ -58274,6 +58541,12 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Returns [code]true[/code] if [code]theme_type[/code] is marked as a " +"variation of [code]base_type[/code]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Adds missing and overrides existing definitions with values from the " "[code]other[/code] [Theme].\n" "[b]Note:[/b] This modifies the current theme. If you want to merge two " @@ -58369,6 +58642,20 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Marks [code]theme_type[/code] as a variation of [code]base_type[/code].\n" +"This adds [code]theme_type[/code] as a suggested option for [member Control." +"theme_type_variation] on a [Control] that is of the [code]base_type[/code] " +"class.\n" +"Variations can also be nested, i.e. [code]base_type[/code] can be another " +"variation. If a chain of variations ends with a [code]base_type[/code] " +"matching the class of the [Control], the whole chain is going to be " +"suggested as options.\n" +"[b]Note:[/b] Suggestions only show up if this theme resource is set as the " +"project default theme. See [member ProjectSettings.gui/theme/custom]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "The default font of this [Theme] resource. Used as a fallback value for font " "items defined in this theme, but having invalid values. If this value is " "also invalid, the global default value is used.\n" @@ -60542,7 +60829,7 @@ msgid "" "Adds a button with [Texture] [code]button[/code] at column [code]column[/" "code]. The [code]id[/code] is used to identify the button. If not specified, " "the next available index is used, which may be retrieved by calling [method " -"get_button_count] immediately after this method. Optionally, the button can " +"get_button_count] immediately before this method. Optionally, the button can " "be [code]disabled[/code] and have a [code]tooltip[/code]." msgstr "" @@ -60583,9 +60870,7 @@ msgid "" msgstr "" #: doc/classes/TreeItem.xml -msgid "" -"Returns the number of buttons in column [code]column[/code]. May be used to " -"get the most recently added button's index, if no index was specified." +msgid "Returns the number of buttons in column [code]column[/code]." msgstr "" #: doc/classes/TreeItem.xml diff --git a/doc/translations/fr.po b/doc/translations/fr.po index aa9d4a2ee3..1c485e9047 100644 --- a/doc/translations/fr.po +++ b/doc/translations/fr.po @@ -36,7 +36,7 @@ # Toquey SiGauses <meiyo40@gmail.com>, 2021. # GABRIELLE Damien <damiengabrielle@gmail.com>, 2021. # Julien Vanelian <julienvanelian@hotmail.com>, 2021. -# Perrier Mathis <mathis.perrier73@gmail.com>, 2021. +# Perrier Mathis <mathis.perrier73@gmail.com>, 2021, 2022. # Blackiris <divjvc@free.fr>, 2021. # AndyNekena <andy.nekena@gmail.com>, 2021. # Legorel <Legorel412@gmail.com>, 2021, 2022. @@ -54,13 +54,14 @@ # ASTRALE <jules.cercy@etu.univ-lyon1.fr>, 2021, 2022. # Pierre-Alexandre Arènes <palex95870@gmail.com>, 2022. # KikooDX <kikoodx@paranoici.org>, 2022. +# Kevin Bouancheau <kevin.bouancheau@gmail.com>, 2022. msgid "" msgstr "" "Project-Id-Version: Godot Engine class reference\n" "Report-Msgid-Bugs-To: https://github.com/godotengine/godot\n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2022-02-13 20:11+0000\n" -"Last-Translator: Maxime Leroy <lisacintosh@gmail.com>\n" +"PO-Revision-Date: 2022-03-03 17:35+0000\n" +"Last-Translator: Perrier Mathis <mathis.perrier73@gmail.com>\n" "Language-Team: French <https://hosted.weblate.org/projects/godot-engine/" "godot-class-reference/fr/>\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 "" @@ -4376,6 +4390,15 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" +"Hints that a string property can be an enumerated value to pick in a list " +"specified via a hint string such as [code]\"Hello,Something,Else\"[/code].\n" +"Unlike [constant PROPERTY_HINT_ENUM] a property with this hint still accepts " +"arbitrary values and can be empty. The list of values serves to suggest " +"possible values." +msgstr "" + +#: doc/classes/@GlobalScope.xml +msgid "" "Hints that a float property should be edited via an exponential easing " "function. The hint string can include [code]\"attenuation\"[/code] to flip " "the curve horizontally and/or [code]\"inout\"[/code] to also include in/out " @@ -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 @@ -11298,26 +11338,10 @@ msgid "" msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Name of the current device for audio input (see [method " -"capture_get_device_list]). The value [code]\"Default\"[/code] means that the " -"system-wide default audio input is currently used." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Returns the names of all audio input devices detected on the system." msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Sets which audio input device is used for audio capture. On systems with " -"multiple audio inputs (such as analog and USB), this can be used to select " -"the audio input device. Setting the value [code]\"Default\"[/code] will " -"record audio from the system-wide default audio input. If an invalid device " -"name is set, the value will be reverted back to [code]\"Default\"[/code]." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Generates an [AudioBusLayout] using the available buses and effects." msgstr "" @@ -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." @@ -11475,6 +11499,16 @@ 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]). " "On systems with multiple audio outputs (such as analog, USB and HDMI audio), " "this can be used to select the audio output device. The value " @@ -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 @@ -14672,6 +14706,18 @@ msgstr "" #: doc/classes/CanvasLayer.xml msgid "" +"Hides any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]false[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" +"Shows any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]true[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" "The custom [Viewport] node assigned to the [CanvasLayer]. If [code]null[/" "code], uses the default viewport instead." msgstr "" @@ -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 " @@ -18516,6 +18563,25 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "" +"The name of a theme type variation used by this [Control] to look up its own " +"theme items. When empty, the class name of the node is used (e.g. " +"[code]Button[/code] for the [Button] control), as well as the class names of " +"all parent classes (in order of inheritance).\n" +"When set, this property gives the highest priority to the type of the " +"specified name. This type can in turn extend another type, forming a " +"dependency chain. See [method Theme.set_type_variation]. If the theme item " +"cannot be found using this type or its base types, lookup falls back on the " +"class names.\n" +"[b]Note:[/b] To look up [Control]'s own items use various [code]get_*[/code] " +"methods without specifying [code]theme_type[/code].\n" +"[b]Note:[/b] Theme items are looked for in the tree order, from branch to " +"root, where each [Control] node is checked for its [member theme] property. " +"The earliest match against any type/class name is returned. The project-" +"level Theme and the default Theme are checked last." +msgstr "" + +#: doc/classes/Control.xml msgid "Emitted when the node gains keyboard focus." msgstr "É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 "" @@ -36761,6 +36923,15 @@ 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 " "when loading the data from disk or preparing the data from GDNative.\n" "All data is packed in one large float array. An array may look like this: " @@ -36774,6 +36945,18 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"An alternative version of [method MultiMesh.set_as_bulk_array] which can be " +"used with [i]physics interpolation[/i]. This method takes two arrays, and " +"can set the data for the current and previous tick in one go. The renderer " +"will automatically interpolate the data at each frame.\n" +"This is useful for situations where the order of instances may change from " +"physics tick to tick, such as particle systems.\n" +"When the order of instances is coherent, the simpler [method MultiMesh." +"set_as_bulk_array] can still be used with interpolation." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets the color of a specific instance by [i]multiplying[/i] the mesh's " "existing vertex colors.\n" "For the color to take effect, ensure that [member color_format] is non-" @@ -36816,6 +36999,16 @@ 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" @@ -39286,6 +39484,25 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Returns [code]true[/code] if the physics interpolated flag is set for this " +"Node (see [method set_physics_interpolated]).\n" +"[b]Note:[/b] Interpolation will only be active is both the flag is set " +"[b]and[/b] physics interpolation is enabled within the [SceneTree]. This can " +"be tested using [method is_physics_interpolated_and_enabled]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" +"Returns [code]true[/code] if physics interpolation is enabled (see [method " +"set_physics_interpolated]) [b]and[/b] enabled in the [SceneTree].\n" +"This is a convenience version of [method is_physics_interpolated] that also " +"checks whether physics interpolation is enabled globally.\n" +"See [member SceneTree.physics_interpolation] and [member ProjectSettings." +"physics/common/physics_interpolation]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Returns [code]true[/code] if physics processing is enabled (see [method " "set_physics_process])." msgstr "" @@ -39456,6 +39673,21 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"When physics interpolation is active, moving a node to a radically different " +"transform (such as placement within a level) can result in a visible glitch " +"as the object is rendered moving from the old to new position over the " +"physics tick.\n" +"This glitch can be prevented by calling [code]reset_physics_interpolation[/" +"code], which temporarily turns off interpolation until the physics tick is " +"complete.\n" +"[constant NOTIFICATION_RESET_PHYSICS_INTERPOLATION] will be received by the " +"node and all children recursively.\n" +"[b]Note:[/b] This function should be called [b]after[/b] moving the node, " +"rather than before." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Sends a remote procedure call request for the given [code]method[/code] to " "peers on the network (and locally), optionally sending all additional " "arguments as arguments to the method called by the RPC. The call request " @@ -39556,6 +39788,14 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Enables or disables physics interpolation per node, offering a finer grain " +"of control than turning physics interpolation on and off globally.\n" +"[b]Note:[/b] This can be especially useful for [Camera]s, where custom " +"interpolation can sometimes give superior results." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Enables or disables physics (i.e. fixed framerate) processing. When a node " "is being processed, it will receive a [constant " "NOTIFICATION_PHYSICS_PROCESS] at a fixed (usually 60 FPS, see [member Engine." @@ -39806,6 +40046,12 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Notification received when [method reset_physics_interpolation] is called on " +"the node or parent nodes." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Inherits pause mode from the node's parent. For the root node, it is " "equivalent to [constant PAUSE_MODE_STOP]. Default." msgstr "" @@ -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 "" @@ -49651,6 +49889,17 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If [code]true[/code], the renderer will interpolate the transforms of " +"physics objects between the last two transforms, such that smooth motion is " +"seen when physics ticks do not coincide with rendered frames.\n" +"[b]Note:[/b] When moving objects to new positions (rather than the usual " +"physics motion) you may want to temporarily turn off interpolation to " +"prevent a visible glitch. You can do this using the [method Node." +"reset_physics_interpolation] function." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Controls how much physics ticks are synchronized with real time. For 0 or " "less, the ticks are synchronized. Such values are recommended for network " "games, where clock synchronization matters. Higher values cause higher " @@ -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 "" @@ -54298,6 +54571,13 @@ msgstr "" #: doc/classes/SceneTree.xml msgid "" +"Although physics interpolation would normally be globally turned on and off " +"using [member ProjectSettings.physics/common/physics_interpolation], this " +"property allows control over interpolation at runtime." +msgstr "" + +#: doc/classes/SceneTree.xml +msgid "" "If [code]true[/code], the [SceneTree]'s [member network_peer] refuses new " "incoming connections." msgstr "" @@ -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." @@ -55574,6 +55852,18 @@ msgstr "" #: doc/classes/Spatial.xml msgid "" +"When using physics interpolation, there will be circumstances in which you " +"want to know the interpolated (displayed) transform of a node rather than " +"the standard transform (which may only be accurate to the most recent " +"physics tick).\n" +"This is particularly important for frame-based operations that take place in " +"[method Node._process], rather than [method Node._physics_process]. Examples " +"include [Camera]s focusing on a node, or finding where to fire lasers from " +"on a frame rather than physics tick." +msgstr "" + +#: doc/classes/Spatial.xml +msgid "" "Returns the parent [Spatial], or an empty [Object] if no parent exists or " "parent is not of type [Spatial]." msgstr "" @@ -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 @@ -60296,6 +60621,16 @@ 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." msgstr "" @@ -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 "" @@ -61380,6 +61714,12 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Unmarks [code]theme_type[/code] as being a variation of another theme type. " +"See [method set_type_variation]." +msgstr "" + +#: doc/classes/Theme.xml msgid "Sets the theme's values to a copy of the default theme values." msgstr "" @@ -61528,6 +61868,19 @@ msgid "" 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 "" "Returns [code]true[/code] if [Color] with [code]name[/code] is in " @@ -61585,6 +61938,15 @@ msgid "" 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 " "[code]other[/code] [Theme].\n" @@ -61681,6 +62043,20 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Marks [code]theme_type[/code] as a variation of [code]base_type[/code].\n" +"This adds [code]theme_type[/code] as a suggested option for [member Control." +"theme_type_variation] on a [Control] that is of the [code]base_type[/code] " +"class.\n" +"Variations can also be nested, i.e. [code]base_type[/code] can be another " +"variation. If a chain of variations ends with a [code]base_type[/code] " +"matching the class of the [Control], the whole chain is going to be " +"suggested as options.\n" +"[b]Note:[/b] Suggestions only show up if this theme resource is set as the " +"project default theme. See [member ProjectSettings.gui/theme/custom]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "The default font of this [Theme] resource. Used as a fallback value for font " "items defined in this theme, but having invalid values. If this value is " "also invalid, the global default value is used.\n" @@ -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 7138a7217c..a62aba930d 100644 --- a/doc/translations/gl.po +++ b/doc/translations/gl.po @@ -3330,6 +3330,15 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" +"Hints that a string property can be an enumerated value to pick in a list " +"specified via a hint string such as [code]\"Hello,Something,Else\"[/code].\n" +"Unlike [constant PROPERTY_HINT_ENUM] a property with this hint still accepts " +"arbitrary values and can be empty. The list of values serves to suggest " +"possible values." +msgstr "" + +#: doc/classes/@GlobalScope.xml +msgid "" "Hints that a float property should be edited via an exponential easing " "function. The hint string can include [code]\"attenuation\"[/code] to flip " "the curve horizontally and/or [code]\"inout\"[/code] to also include in/out " @@ -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 @@ -9485,26 +9494,10 @@ msgid "" msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Name of the current device for audio input (see [method " -"capture_get_device_list]). The value [code]\"Default\"[/code] means that the " -"system-wide default audio input is currently used." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Returns the names of all audio input devices detected on the system." msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Sets which audio input device is used for audio capture. On systems with " -"multiple audio inputs (such as analog and USB), this can be used to select " -"the audio input device. Setting the value [code]\"Default\"[/code] will " -"record audio from the system-wide default audio input. If an invalid device " -"name is set, the value will be reverted back to [code]\"Default\"[/code]." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Generates an [AudioBusLayout] using the available buses and effects." msgstr "" @@ -9662,6 +9655,16 @@ msgstr "" #: doc/classes/AudioServer.xml msgid "" +"Name of the current device for audio input (see [method get_device_list]). " +"On systems with multiple audio inputs (such as analog, USB and HDMI audio), " +"this can be used to select the audio input device. The value " +"[code]\"Default\"[/code] will record audio on the system-wide default audio " +"input. If an invalid device name is set, the value will be reverted back to " +"[code]\"Default\"[/code]." +msgstr "" + +#: doc/classes/AudioServer.xml +msgid "" "Name of the current device for audio output (see [method get_device_list]). " "On systems with multiple audio outputs (such as analog, USB and HDMI audio), " "this can be used to select the audio output device. The value " @@ -12737,6 +12740,18 @@ msgstr "" #: doc/classes/CanvasLayer.xml msgid "" +"Hides any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]false[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" +"Shows any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]true[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" "The custom [Viewport] node assigned to the [CanvasLayer]. If [code]null[/" "code], uses the default viewport instead." msgstr "" @@ -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 " @@ -16325,6 +16341,25 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "" +"The name of a theme type variation used by this [Control] to look up its own " +"theme items. When empty, the class name of the node is used (e.g. " +"[code]Button[/code] for the [Button] control), as well as the class names of " +"all parent classes (in order of inheritance).\n" +"When set, this property gives the highest priority to the type of the " +"specified name. This type can in turn extend another type, forming a " +"dependency chain. See [method Theme.set_type_variation]. If the theme item " +"cannot be found using this type or its base types, lookup falls back on the " +"class names.\n" +"[b]Note:[/b] To look up [Control]'s own items use various [code]get_*[/code] " +"methods without specifying [code]theme_type[/code].\n" +"[b]Note:[/b] Theme items are looked for in the tree order, from branch to " +"root, where each [Control] node is checked for its [member theme] property. " +"The earliest match against any type/class name is returned. The project-" +"level Theme and the default Theme are checked last." +msgstr "" + +#: doc/classes/Control.xml msgid "Emitted when the node gains keyboard focus." msgstr "" @@ -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 @@ -34125,6 +34190,15 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"When using [i]physics interpolation[/i], this function allows you to prevent " +"interpolation on an instance in the current physics tick.\n" +"This allows you to move instances instantaneously, and should usually be " +"used when initially placing an instance such as a bullet to prevent " +"graphical glitches." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets all data related to the instances in one go. This is especially useful " "when loading the data from disk or preparing the data from GDNative.\n" "All data is packed in one large float array. An array may look like this: " @@ -34138,6 +34212,18 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"An alternative version of [method MultiMesh.set_as_bulk_array] which can be " +"used with [i]physics interpolation[/i]. This method takes two arrays, and " +"can set the data for the current and previous tick in one go. The renderer " +"will automatically interpolate the data at each frame.\n" +"This is useful for situations where the order of instances may change from " +"physics tick to tick, such as particle systems.\n" +"When the order of instances is coherent, the simpler [method MultiMesh." +"set_as_bulk_array] can still be used with interpolation." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets the color of a specific instance by [i]multiplying[/i] the mesh's " "existing vertex colors.\n" "For the color to take effect, ensure that [member color_format] is non-" @@ -34180,6 +34266,16 @@ msgid "Mesh to be drawn." msgstr "" #: doc/classes/MultiMesh.xml +msgid "" +"Choose whether to use an interpolation method that favors speed or quality.\n" +"When using low physics tick rates (typically below 20) or high rates of " +"object rotation, you may get better results from the high quality setting.\n" +"[b]Note:[/b] Fast quality does not equate to low quality. Except in the " +"special cases mentioned above, the quality should be comparable to high " +"quality." +msgstr "" + +#: doc/classes/MultiMesh.xml msgid "Format of transform used to transform mesh, either 2D or 3D." msgstr "" @@ -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 "" @@ -36528,6 +36636,25 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Returns [code]true[/code] if the physics interpolated flag is set for this " +"Node (see [method set_physics_interpolated]).\n" +"[b]Note:[/b] Interpolation will only be active is both the flag is set " +"[b]and[/b] physics interpolation is enabled within the [SceneTree]. This can " +"be tested using [method is_physics_interpolated_and_enabled]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" +"Returns [code]true[/code] if physics interpolation is enabled (see [method " +"set_physics_interpolated]) [b]and[/b] enabled in the [SceneTree].\n" +"This is a convenience version of [method is_physics_interpolated] that also " +"checks whether physics interpolation is enabled globally.\n" +"See [member SceneTree.physics_interpolation] and [member ProjectSettings." +"physics/common/physics_interpolation]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Returns [code]true[/code] if physics processing is enabled (see [method " "set_physics_process])." msgstr "" @@ -36698,6 +36825,21 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"When physics interpolation is active, moving a node to a radically different " +"transform (such as placement within a level) can result in a visible glitch " +"as the object is rendered moving from the old to new position over the " +"physics tick.\n" +"This glitch can be prevented by calling [code]reset_physics_interpolation[/" +"code], which temporarily turns off interpolation until the physics tick is " +"complete.\n" +"[constant NOTIFICATION_RESET_PHYSICS_INTERPOLATION] will be received by the " +"node and all children recursively.\n" +"[b]Note:[/b] This function should be called [b]after[/b] moving the node, " +"rather than before." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Sends a remote procedure call request for the given [code]method[/code] to " "peers on the network (and locally), optionally sending all additional " "arguments as arguments to the method called by the RPC. The call request " @@ -36798,6 +36940,14 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Enables or disables physics interpolation per node, offering a finer grain " +"of control than turning physics interpolation on and off globally.\n" +"[b]Note:[/b] This can be especially useful for [Camera]s, where custom " +"interpolation can sometimes give superior results." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Enables or disables physics (i.e. fixed framerate) processing. When a node " "is being processed, it will receive a [constant " "NOTIFICATION_PHYSICS_PROCESS] at a fixed (usually 60 FPS, see [member Engine." @@ -37048,6 +37198,12 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Notification received when [method reset_physics_interpolation] is called on " +"the node or parent nodes." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Inherits pause mode from the node's parent. For the root node, it is " "equivalent to [constant PAUSE_MODE_STOP]. Default." msgstr "" @@ -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 @@ -46668,6 +46836,17 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If [code]true[/code], the renderer will interpolate the transforms of " +"physics objects between the last two transforms, such that smooth motion is " +"seen when physics ticks do not coincide with rendered frames.\n" +"[b]Note:[/b] When moving objects to new positions (rather than the usual " +"physics motion) you may want to temporarily turn off interpolation to " +"prevent a visible glitch. You can do this using the [method Node." +"reset_physics_interpolation] function." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Controls how much physics ticks are synchronized with real time. For 0 or " "less, the ticks are synchronized. Such values are recommended for network " "games, where clock synchronization matters. Higher values cause higher " @@ -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 @@ -51266,6 +51452,13 @@ msgstr "" #: doc/classes/SceneTree.xml msgid "" +"Although physics interpolation would normally be globally turned on and off " +"using [member ProjectSettings.physics/common/physics_interpolation], this " +"property allows control over interpolation at runtime." +msgstr "" + +#: doc/classes/SceneTree.xml +msgid "" "If [code]true[/code], the [SceneTree]'s [member network_peer] refuses new " "incoming connections." msgstr "" @@ -52519,6 +52712,18 @@ msgstr "" #: doc/classes/Spatial.xml msgid "" +"When using physics interpolation, there will be circumstances in which you " +"want to know the interpolated (displayed) transform of a node rather than " +"the standard transform (which may only be accurate to the most recent " +"physics tick).\n" +"This is particularly important for frame-based operations that take place in " +"[method Node._process], rather than [method Node._physics_process]. Examples " +"include [Camera]s focusing on a node, or finding where to fire lasers from " +"on a frame rather than physics tick." +msgstr "" + +#: doc/classes/Spatial.xml +msgid "" "Returns the parent [Spatial], or an empty [Object] if no parent exists or " "parent is not of type [Spatial]." msgstr "" @@ -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 @@ -57047,6 +57289,14 @@ msgid "Returns the total width of all gutters and internal padding." msgstr "" #: doc/classes/TextEdit.xml +msgid "Returns the total amount of lines that could be drawn." +msgstr "" + +#: doc/classes/TextEdit.xml +msgid "Returns the number of visible lines, including wrapped text." +msgstr "" + +#: doc/classes/TextEdit.xml msgid "" "Returns a [String] text with the word under the caret (text cursor) location." msgstr "" @@ -58084,6 +58334,12 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Unmarks [code]theme_type[/code] as being a variation of another theme type. " +"See [method set_type_variation]." +msgstr "" + +#: doc/classes/Theme.xml msgid "Sets the theme's values to a copy of the default theme values." msgstr "" @@ -58224,6 +58480,17 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Returns the name of the base theme type if [code]theme_type[/code] is a " +"valid variation type. Returns an empty string otherwise." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" +"Returns a list of all type variations for the given [code]base_type[/code]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Returns [code]true[/code] if [Color] with [code]name[/code] is in " "[code]node_type[/code].\n" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." @@ -58272,6 +58539,12 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Returns [code]true[/code] if [code]theme_type[/code] is marked as a " +"variation of [code]base_type[/code]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Adds missing and overrides existing definitions with values from the " "[code]other[/code] [Theme].\n" "[b]Note:[/b] This modifies the current theme. If you want to merge two " @@ -58367,6 +58640,20 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Marks [code]theme_type[/code] as a variation of [code]base_type[/code].\n" +"This adds [code]theme_type[/code] as a suggested option for [member Control." +"theme_type_variation] on a [Control] that is of the [code]base_type[/code] " +"class.\n" +"Variations can also be nested, i.e. [code]base_type[/code] can be another " +"variation. If a chain of variations ends with a [code]base_type[/code] " +"matching the class of the [Control], the whole chain is going to be " +"suggested as options.\n" +"[b]Note:[/b] Suggestions only show up if this theme resource is set as the " +"project default theme. See [member ProjectSettings.gui/theme/custom]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "The default font of this [Theme] resource. Used as a fallback value for font " "items defined in this theme, but having invalid values. If this value is " "also invalid, the global default value is used.\n" @@ -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 4cc0d9ce5c..fee4b208a2 100644 --- a/doc/translations/hi.po +++ b/doc/translations/hi.po @@ -3329,6 +3329,15 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" +"Hints that a string property can be an enumerated value to pick in a list " +"specified via a hint string such as [code]\"Hello,Something,Else\"[/code].\n" +"Unlike [constant PROPERTY_HINT_ENUM] a property with this hint still accepts " +"arbitrary values and can be empty. The list of values serves to suggest " +"possible values." +msgstr "" + +#: doc/classes/@GlobalScope.xml +msgid "" "Hints that a float property should be edited via an exponential easing " "function. The hint string can include [code]\"attenuation\"[/code] to flip " "the curve horizontally and/or [code]\"inout\"[/code] to also include in/out " @@ -4839,7 +4848,7 @@ msgid "" msgstr "" #: doc/classes/AnimationNode.xml -msgid "Returns [code]true[/code] whether a given path is filtered." +msgid "Returns whether the given path is filtered." msgstr "" #: doc/classes/AnimationNode.xml @@ -4864,7 +4873,7 @@ msgstr "" #: doc/classes/AnimationNode.xml msgid "" -"Sets a custom parameter. These are used as local storage, because resources " +"Sets a custom parameter. These are used as local memory, because resources " "can be reused across the tree or scenes." msgstr "" @@ -4873,7 +4882,7 @@ msgid "If [code]true[/code], filtering is enabled." msgstr "" #: doc/classes/AnimationNode.xml -msgid "Called when the node was removed from the graph." +msgid "Emitted when the node was removed from the graph." msgstr "" #: doc/classes/AnimationNode.xml @@ -9484,26 +9493,10 @@ msgid "" msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Name of the current device for audio input (see [method " -"capture_get_device_list]). The value [code]\"Default\"[/code] means that the " -"system-wide default audio input is currently used." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Returns the names of all audio input devices detected on the system." msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Sets which audio input device is used for audio capture. On systems with " -"multiple audio inputs (such as analog and USB), this can be used to select " -"the audio input device. Setting the value [code]\"Default\"[/code] will " -"record audio from the system-wide default audio input. If an invalid device " -"name is set, the value will be reverted back to [code]\"Default\"[/code]." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Generates an [AudioBusLayout] using the available buses and effects." msgstr "" @@ -9661,6 +9654,16 @@ msgstr "" #: doc/classes/AudioServer.xml msgid "" +"Name of the current device for audio input (see [method get_device_list]). " +"On systems with multiple audio inputs (such as analog, USB and HDMI audio), " +"this can be used to select the audio input device. The value " +"[code]\"Default\"[/code] will record audio on the system-wide default audio " +"input. If an invalid device name is set, the value will be reverted back to " +"[code]\"Default\"[/code]." +msgstr "" + +#: doc/classes/AudioServer.xml +msgid "" "Name of the current device for audio output (see [method get_device_list]). " "On systems with multiple audio outputs (such as analog, USB and HDMI audio), " "this can be used to select the audio output device. The value " @@ -12736,6 +12739,18 @@ msgstr "" #: doc/classes/CanvasLayer.xml msgid "" +"Hides any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]false[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" +"Shows any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]true[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" "The custom [Viewport] node assigned to the [CanvasLayer]. If [code]null[/" "code], uses the default viewport instead." msgstr "" @@ -15572,8 +15587,9 @@ msgid "" "Returns a [Color] from the first matching [Theme] in the tree if that " "[Theme] has a color item with the specified [code]name[/code] and " "[code]theme_type[/code]. If [code]theme_type[/code] is omitted the class " -"name of the current control is used as the type. If the type is a class name " -"its parent classes are also checked, in order of inheritance.\n" +"name of the current control is used as the type, or [member " +"theme_type_variation] if it is defined. If the type is a class name its " +"parent classes are also checked, in order of inheritance.\n" "For the current control its local overrides are considered first (see " "[method add_color_override]), then its assigned [member theme]. After the " "current control, each parent control and its assigned [member theme] are " @@ -16324,6 +16340,25 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "" +"The name of a theme type variation used by this [Control] to look up its own " +"theme items. When empty, the class name of the node is used (e.g. " +"[code]Button[/code] for the [Button] control), as well as the class names of " +"all parent classes (in order of inheritance).\n" +"When set, this property gives the highest priority to the type of the " +"specified name. This type can in turn extend another type, forming a " +"dependency chain. See [method Theme.set_type_variation]. If the theme item " +"cannot be found using this type or its base types, lookup falls back on the " +"class names.\n" +"[b]Note:[/b] To look up [Control]'s own items use various [code]get_*[/code] " +"methods without specifying [code]theme_type[/code].\n" +"[b]Note:[/b] Theme items are looked for in the tree order, from branch to " +"root, where each [Control] node is checked for its [member theme] property. " +"The earliest match against any type/class name is returned. The project-" +"level Theme and the default Theme are checked last." +msgstr "" + +#: doc/classes/Control.xml msgid "Emitted when the node gains keyboard focus." msgstr "" @@ -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 @@ -34124,6 +34189,15 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"When using [i]physics interpolation[/i], this function allows you to prevent " +"interpolation on an instance in the current physics tick.\n" +"This allows you to move instances instantaneously, and should usually be " +"used when initially placing an instance such as a bullet to prevent " +"graphical glitches." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets all data related to the instances in one go. This is especially useful " "when loading the data from disk or preparing the data from GDNative.\n" "All data is packed in one large float array. An array may look like this: " @@ -34137,6 +34211,18 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"An alternative version of [method MultiMesh.set_as_bulk_array] which can be " +"used with [i]physics interpolation[/i]. This method takes two arrays, and " +"can set the data for the current and previous tick in one go. The renderer " +"will automatically interpolate the data at each frame.\n" +"This is useful for situations where the order of instances may change from " +"physics tick to tick, such as particle systems.\n" +"When the order of instances is coherent, the simpler [method MultiMesh." +"set_as_bulk_array] can still be used with interpolation." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets the color of a specific instance by [i]multiplying[/i] the mesh's " "existing vertex colors.\n" "For the color to take effect, ensure that [member color_format] is non-" @@ -34179,6 +34265,16 @@ msgid "Mesh to be drawn." msgstr "" #: doc/classes/MultiMesh.xml +msgid "" +"Choose whether to use an interpolation method that favors speed or quality.\n" +"When using low physics tick rates (typically below 20) or high rates of " +"object rotation, you may get better results from the high quality setting.\n" +"[b]Note:[/b] Fast quality does not equate to low quality. Except in the " +"special cases mentioned above, the quality should be comparable to high " +"quality." +msgstr "" + +#: doc/classes/MultiMesh.xml msgid "Format of transform used to transform mesh, either 2D or 3D." msgstr "" @@ -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 "" @@ -36527,6 +36635,25 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Returns [code]true[/code] if the physics interpolated flag is set for this " +"Node (see [method set_physics_interpolated]).\n" +"[b]Note:[/b] Interpolation will only be active is both the flag is set " +"[b]and[/b] physics interpolation is enabled within the [SceneTree]. This can " +"be tested using [method is_physics_interpolated_and_enabled]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" +"Returns [code]true[/code] if physics interpolation is enabled (see [method " +"set_physics_interpolated]) [b]and[/b] enabled in the [SceneTree].\n" +"This is a convenience version of [method is_physics_interpolated] that also " +"checks whether physics interpolation is enabled globally.\n" +"See [member SceneTree.physics_interpolation] and [member ProjectSettings." +"physics/common/physics_interpolation]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Returns [code]true[/code] if physics processing is enabled (see [method " "set_physics_process])." msgstr "" @@ -36697,6 +36824,21 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"When physics interpolation is active, moving a node to a radically different " +"transform (such as placement within a level) can result in a visible glitch " +"as the object is rendered moving from the old to new position over the " +"physics tick.\n" +"This glitch can be prevented by calling [code]reset_physics_interpolation[/" +"code], which temporarily turns off interpolation until the physics tick is " +"complete.\n" +"[constant NOTIFICATION_RESET_PHYSICS_INTERPOLATION] will be received by the " +"node and all children recursively.\n" +"[b]Note:[/b] This function should be called [b]after[/b] moving the node, " +"rather than before." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Sends a remote procedure call request for the given [code]method[/code] to " "peers on the network (and locally), optionally sending all additional " "arguments as arguments to the method called by the RPC. The call request " @@ -36797,6 +36939,14 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Enables or disables physics interpolation per node, offering a finer grain " +"of control than turning physics interpolation on and off globally.\n" +"[b]Note:[/b] This can be especially useful for [Camera]s, where custom " +"interpolation can sometimes give superior results." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Enables or disables physics (i.e. fixed framerate) processing. When a node " "is being processed, it will receive a [constant " "NOTIFICATION_PHYSICS_PROCESS] at a fixed (usually 60 FPS, see [member Engine." @@ -37047,6 +37197,12 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Notification received when [method reset_physics_interpolation] is called on " +"the node or parent nodes." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Inherits pause mode from the node's parent. For the root node, it is " "equivalent to [constant PAUSE_MODE_STOP]. Default." msgstr "" @@ -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 @@ -46667,6 +46835,17 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If [code]true[/code], the renderer will interpolate the transforms of " +"physics objects between the last two transforms, such that smooth motion is " +"seen when physics ticks do not coincide with rendered frames.\n" +"[b]Note:[/b] When moving objects to new positions (rather than the usual " +"physics motion) you may want to temporarily turn off interpolation to " +"prevent a visible glitch. You can do this using the [method Node." +"reset_physics_interpolation] function." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Controls how much physics ticks are synchronized with real time. For 0 or " "less, the ticks are synchronized. Such values are recommended for network " "games, where clock synchronization matters. Higher values cause higher " @@ -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 @@ -51265,6 +51451,13 @@ msgstr "" #: doc/classes/SceneTree.xml msgid "" +"Although physics interpolation would normally be globally turned on and off " +"using [member ProjectSettings.physics/common/physics_interpolation], this " +"property allows control over interpolation at runtime." +msgstr "" + +#: doc/classes/SceneTree.xml +msgid "" "If [code]true[/code], the [SceneTree]'s [member network_peer] refuses new " "incoming connections." msgstr "" @@ -52518,6 +52711,18 @@ msgstr "" #: doc/classes/Spatial.xml msgid "" +"When using physics interpolation, there will be circumstances in which you " +"want to know the interpolated (displayed) transform of a node rather than " +"the standard transform (which may only be accurate to the most recent " +"physics tick).\n" +"This is particularly important for frame-based operations that take place in " +"[method Node._process], rather than [method Node._physics_process]. Examples " +"include [Camera]s focusing on a node, or finding where to fire lasers from " +"on a frame rather than physics tick." +msgstr "" + +#: doc/classes/Spatial.xml +msgid "" "Returns the parent [Spatial], or an empty [Object] if no parent exists or " "parent is not of type [Spatial]." msgstr "" @@ -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 @@ -57046,6 +57288,14 @@ msgid "Returns the total width of all gutters and internal padding." msgstr "" #: doc/classes/TextEdit.xml +msgid "Returns the total amount of lines that could be drawn." +msgstr "" + +#: doc/classes/TextEdit.xml +msgid "Returns the number of visible lines, including wrapped text." +msgstr "" + +#: doc/classes/TextEdit.xml msgid "" "Returns a [String] text with the word under the caret (text cursor) location." msgstr "" @@ -58083,6 +58333,12 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Unmarks [code]theme_type[/code] as being a variation of another theme type. " +"See [method set_type_variation]." +msgstr "" + +#: doc/classes/Theme.xml msgid "Sets the theme's values to a copy of the default theme values." msgstr "" @@ -58223,6 +58479,17 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Returns the name of the base theme type if [code]theme_type[/code] is a " +"valid variation type. Returns an empty string otherwise." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" +"Returns a list of all type variations for the given [code]base_type[/code]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Returns [code]true[/code] if [Color] with [code]name[/code] is in " "[code]node_type[/code].\n" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." @@ -58271,6 +58538,12 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Returns [code]true[/code] if [code]theme_type[/code] is marked as a " +"variation of [code]base_type[/code]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Adds missing and overrides existing definitions with values from the " "[code]other[/code] [Theme].\n" "[b]Note:[/b] This modifies the current theme. If you want to merge two " @@ -58366,6 +58639,20 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Marks [code]theme_type[/code] as a variation of [code]base_type[/code].\n" +"This adds [code]theme_type[/code] as a suggested option for [member Control." +"theme_type_variation] on a [Control] that is of the [code]base_type[/code] " +"class.\n" +"Variations can also be nested, i.e. [code]base_type[/code] can be another " +"variation. If a chain of variations ends with a [code]base_type[/code] " +"matching the class of the [Control], the whole chain is going to be " +"suggested as options.\n" +"[b]Note:[/b] Suggestions only show up if this theme resource is set as the " +"project default theme. See [member ProjectSettings.gui/theme/custom]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "The default font of this [Theme] resource. Used as a fallback value for font " "items defined in this theme, but having invalid values. If this value is " "also invalid, the global default value is used.\n" @@ -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 a60adef668..b0e78ab725 100644 --- a/doc/translations/hu.po +++ b/doc/translations/hu.po @@ -3347,6 +3347,15 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" +"Hints that a string property can be an enumerated value to pick in a list " +"specified via a hint string such as [code]\"Hello,Something,Else\"[/code].\n" +"Unlike [constant PROPERTY_HINT_ENUM] a property with this hint still accepts " +"arbitrary values and can be empty. The list of values serves to suggest " +"possible values." +msgstr "" + +#: doc/classes/@GlobalScope.xml +msgid "" "Hints that a float property should be edited via an exponential easing " "function. The hint string can include [code]\"attenuation\"[/code] to flip " "the curve horizontally and/or [code]\"inout\"[/code] to also include in/out " @@ -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 @@ -9502,26 +9511,10 @@ msgid "" msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Name of the current device for audio input (see [method " -"capture_get_device_list]). The value [code]\"Default\"[/code] means that the " -"system-wide default audio input is currently used." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Returns the names of all audio input devices detected on the system." msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Sets which audio input device is used for audio capture. On systems with " -"multiple audio inputs (such as analog and USB), this can be used to select " -"the audio input device. Setting the value [code]\"Default\"[/code] will " -"record audio from the system-wide default audio input. If an invalid device " -"name is set, the value will be reverted back to [code]\"Default\"[/code]." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Generates an [AudioBusLayout] using the available buses and effects." msgstr "" @@ -9679,6 +9672,16 @@ msgstr "" #: doc/classes/AudioServer.xml msgid "" +"Name of the current device for audio input (see [method get_device_list]). " +"On systems with multiple audio inputs (such as analog, USB and HDMI audio), " +"this can be used to select the audio input device. The value " +"[code]\"Default\"[/code] will record audio on the system-wide default audio " +"input. If an invalid device name is set, the value will be reverted back to " +"[code]\"Default\"[/code]." +msgstr "" + +#: doc/classes/AudioServer.xml +msgid "" "Name of the current device for audio output (see [method get_device_list]). " "On systems with multiple audio outputs (such as analog, USB and HDMI audio), " "this can be used to select the audio output device. The value " @@ -12754,6 +12757,18 @@ msgstr "" #: doc/classes/CanvasLayer.xml msgid "" +"Hides any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]false[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" +"Shows any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]true[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" "The custom [Viewport] node assigned to the [CanvasLayer]. If [code]null[/" "code], uses the default viewport instead." msgstr "" @@ -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 " @@ -16342,6 +16358,25 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "" +"The name of a theme type variation used by this [Control] to look up its own " +"theme items. When empty, the class name of the node is used (e.g. " +"[code]Button[/code] for the [Button] control), as well as the class names of " +"all parent classes (in order of inheritance).\n" +"When set, this property gives the highest priority to the type of the " +"specified name. This type can in turn extend another type, forming a " +"dependency chain. See [method Theme.set_type_variation]. If the theme item " +"cannot be found using this type or its base types, lookup falls back on the " +"class names.\n" +"[b]Note:[/b] To look up [Control]'s own items use various [code]get_*[/code] " +"methods without specifying [code]theme_type[/code].\n" +"[b]Note:[/b] Theme items are looked for in the tree order, from branch to " +"root, where each [Control] node is checked for its [member theme] property. " +"The earliest match against any type/class name is returned. The project-" +"level Theme and the default Theme are checked last." +msgstr "" + +#: doc/classes/Control.xml msgid "Emitted when the node gains keyboard focus." msgstr "" @@ -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 @@ -34142,6 +34207,15 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"When using [i]physics interpolation[/i], this function allows you to prevent " +"interpolation on an instance in the current physics tick.\n" +"This allows you to move instances instantaneously, and should usually be " +"used when initially placing an instance such as a bullet to prevent " +"graphical glitches." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets all data related to the instances in one go. This is especially useful " "when loading the data from disk or preparing the data from GDNative.\n" "All data is packed in one large float array. An array may look like this: " @@ -34155,6 +34229,18 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"An alternative version of [method MultiMesh.set_as_bulk_array] which can be " +"used with [i]physics interpolation[/i]. This method takes two arrays, and " +"can set the data for the current and previous tick in one go. The renderer " +"will automatically interpolate the data at each frame.\n" +"This is useful for situations where the order of instances may change from " +"physics tick to tick, such as particle systems.\n" +"When the order of instances is coherent, the simpler [method MultiMesh." +"set_as_bulk_array] can still be used with interpolation." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets the color of a specific instance by [i]multiplying[/i] the mesh's " "existing vertex colors.\n" "For the color to take effect, ensure that [member color_format] is non-" @@ -34197,6 +34283,16 @@ msgid "Mesh to be drawn." msgstr "" #: doc/classes/MultiMesh.xml +msgid "" +"Choose whether to use an interpolation method that favors speed or quality.\n" +"When using low physics tick rates (typically below 20) or high rates of " +"object rotation, you may get better results from the high quality setting.\n" +"[b]Note:[/b] Fast quality does not equate to low quality. Except in the " +"special cases mentioned above, the quality should be comparable to high " +"quality." +msgstr "" + +#: doc/classes/MultiMesh.xml msgid "Format of transform used to transform mesh, either 2D or 3D." msgstr "" @@ -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 "" @@ -36545,6 +36653,25 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Returns [code]true[/code] if the physics interpolated flag is set for this " +"Node (see [method set_physics_interpolated]).\n" +"[b]Note:[/b] Interpolation will only be active is both the flag is set " +"[b]and[/b] physics interpolation is enabled within the [SceneTree]. This can " +"be tested using [method is_physics_interpolated_and_enabled]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" +"Returns [code]true[/code] if physics interpolation is enabled (see [method " +"set_physics_interpolated]) [b]and[/b] enabled in the [SceneTree].\n" +"This is a convenience version of [method is_physics_interpolated] that also " +"checks whether physics interpolation is enabled globally.\n" +"See [member SceneTree.physics_interpolation] and [member ProjectSettings." +"physics/common/physics_interpolation]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Returns [code]true[/code] if physics processing is enabled (see [method " "set_physics_process])." msgstr "" @@ -36715,6 +36842,21 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"When physics interpolation is active, moving a node to a radically different " +"transform (such as placement within a level) can result in a visible glitch " +"as the object is rendered moving from the old to new position over the " +"physics tick.\n" +"This glitch can be prevented by calling [code]reset_physics_interpolation[/" +"code], which temporarily turns off interpolation until the physics tick is " +"complete.\n" +"[constant NOTIFICATION_RESET_PHYSICS_INTERPOLATION] will be received by the " +"node and all children recursively.\n" +"[b]Note:[/b] This function should be called [b]after[/b] moving the node, " +"rather than before." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Sends a remote procedure call request for the given [code]method[/code] to " "peers on the network (and locally), optionally sending all additional " "arguments as arguments to the method called by the RPC. The call request " @@ -36815,6 +36957,14 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Enables or disables physics interpolation per node, offering a finer grain " +"of control than turning physics interpolation on and off globally.\n" +"[b]Note:[/b] This can be especially useful for [Camera]s, where custom " +"interpolation can sometimes give superior results." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Enables or disables physics (i.e. fixed framerate) processing. When a node " "is being processed, it will receive a [constant " "NOTIFICATION_PHYSICS_PROCESS] at a fixed (usually 60 FPS, see [member Engine." @@ -37065,6 +37215,12 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Notification received when [method reset_physics_interpolation] is called on " +"the node or parent nodes." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Inherits pause mode from the node's parent. For the root node, it is " "equivalent to [constant PAUSE_MODE_STOP]. Default." msgstr "" @@ -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 @@ -46685,6 +46853,17 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If [code]true[/code], the renderer will interpolate the transforms of " +"physics objects between the last two transforms, such that smooth motion is " +"seen when physics ticks do not coincide with rendered frames.\n" +"[b]Note:[/b] When moving objects to new positions (rather than the usual " +"physics motion) you may want to temporarily turn off interpolation to " +"prevent a visible glitch. You can do this using the [method Node." +"reset_physics_interpolation] function." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Controls how much physics ticks are synchronized with real time. For 0 or " "less, the ticks are synchronized. Such values are recommended for network " "games, where clock synchronization matters. Higher values cause higher " @@ -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 @@ -51283,6 +51469,13 @@ msgstr "" #: doc/classes/SceneTree.xml msgid "" +"Although physics interpolation would normally be globally turned on and off " +"using [member ProjectSettings.physics/common/physics_interpolation], this " +"property allows control over interpolation at runtime." +msgstr "" + +#: doc/classes/SceneTree.xml +msgid "" "If [code]true[/code], the [SceneTree]'s [member network_peer] refuses new " "incoming connections." msgstr "" @@ -52536,6 +52729,18 @@ msgstr "" #: doc/classes/Spatial.xml msgid "" +"When using physics interpolation, there will be circumstances in which you " +"want to know the interpolated (displayed) transform of a node rather than " +"the standard transform (which may only be accurate to the most recent " +"physics tick).\n" +"This is particularly important for frame-based operations that take place in " +"[method Node._process], rather than [method Node._physics_process]. Examples " +"include [Camera]s focusing on a node, or finding where to fire lasers from " +"on a frame rather than physics tick." +msgstr "" + +#: doc/classes/Spatial.xml +msgid "" "Returns the parent [Spatial], or an empty [Object] if no parent exists or " "parent is not of type [Spatial]." msgstr "" @@ -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 @@ -57064,6 +57306,14 @@ msgid "Returns the total width of all gutters and internal padding." msgstr "" #: doc/classes/TextEdit.xml +msgid "Returns the total amount of lines that could be drawn." +msgstr "" + +#: doc/classes/TextEdit.xml +msgid "Returns the number of visible lines, including wrapped text." +msgstr "" + +#: doc/classes/TextEdit.xml msgid "" "Returns a [String] text with the word under the caret (text cursor) location." msgstr "" @@ -58101,6 +58351,12 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Unmarks [code]theme_type[/code] as being a variation of another theme type. " +"See [method set_type_variation]." +msgstr "" + +#: doc/classes/Theme.xml msgid "Sets the theme's values to a copy of the default theme values." msgstr "" @@ -58241,6 +58497,17 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Returns the name of the base theme type if [code]theme_type[/code] is a " +"valid variation type. Returns an empty string otherwise." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" +"Returns a list of all type variations for the given [code]base_type[/code]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Returns [code]true[/code] if [Color] with [code]name[/code] is in " "[code]node_type[/code].\n" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." @@ -58289,6 +58556,12 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Returns [code]true[/code] if [code]theme_type[/code] is marked as a " +"variation of [code]base_type[/code]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Adds missing and overrides existing definitions with values from the " "[code]other[/code] [Theme].\n" "[b]Note:[/b] This modifies the current theme. If you want to merge two " @@ -58384,6 +58657,20 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Marks [code]theme_type[/code] as a variation of [code]base_type[/code].\n" +"This adds [code]theme_type[/code] as a suggested option for [member Control." +"theme_type_variation] on a [Control] that is of the [code]base_type[/code] " +"class.\n" +"Variations can also be nested, i.e. [code]base_type[/code] can be another " +"variation. If a chain of variations ends with a [code]base_type[/code] " +"matching the class of the [Control], the whole chain is going to be " +"suggested as options.\n" +"[b]Note:[/b] Suggestions only show up if this theme resource is set as the " +"project default theme. See [member ProjectSettings.gui/theme/custom]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "The default font of this [Theme] resource. Used as a fallback value for font " "items defined in this theme, but having invalid values. If this value is " "also invalid, the global default value is used.\n" @@ -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 eb9fe2f029..dcc5c28d89 100644 --- a/doc/translations/id.po +++ b/doc/translations/id.po @@ -11,12 +11,13 @@ # Hilman Hazazi <hafizd.muhammad.kren.403@gmail.com>, 2021. # Stephen Gunawan Susilo <gunawanstephen@yahoo.com>, 2021. # Azizkhasyi 11 <azizkhasyi11@gmail.com>, 2021. +# zephyroths <ridho.hikaru@gmail.com>, 2022. msgid "" msgstr "" "Project-Id-Version: Godot Engine class reference\n" "Report-Msgid-Bugs-To: https://github.com/godotengine/godot\n" -"PO-Revision-Date: 2021-11-30 04:38+0000\n" -"Last-Translator: Azizkhasyi 11 <azizkhasyi11@gmail.com>\n" +"PO-Revision-Date: 2022-02-22 15:52+0000\n" +"Last-Translator: zephyroths <ridho.hikaru@gmail.com>\n" "Language-Team: Indonesian <https://hosted.weblate.org/projects/godot-engine/" "godot-class-reference/id/>\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" @@ -3534,6 +3535,15 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" +"Hints that a string property can be an enumerated value to pick in a list " +"specified via a hint string such as [code]\"Hello,Something,Else\"[/code].\n" +"Unlike [constant PROPERTY_HINT_ENUM] a property with this hint still accepts " +"arbitrary values and can be empty. The list of values serves to suggest " +"possible values." +msgstr "" + +#: doc/classes/@GlobalScope.xml +msgid "" "Hints that a float property should be edited via an exponential easing " "function. The hint string can include [code]\"attenuation\"[/code] to flip " "the curve horizontally and/or [code]\"inout\"[/code] to also include in/out " @@ -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 @@ -9689,26 +9700,10 @@ msgid "" msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Name of the current device for audio input (see [method " -"capture_get_device_list]). The value [code]\"Default\"[/code] means that the " -"system-wide default audio input is currently used." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Returns the names of all audio input devices detected on the system." msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Sets which audio input device is used for audio capture. On systems with " -"multiple audio inputs (such as analog and USB), this can be used to select " -"the audio input device. Setting the value [code]\"Default\"[/code] will " -"record audio from the system-wide default audio input. If an invalid device " -"name is set, the value will be reverted back to [code]\"Default\"[/code]." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Generates an [AudioBusLayout] using the available buses and effects." msgstr "" @@ -9866,6 +9861,16 @@ msgstr "" #: doc/classes/AudioServer.xml msgid "" +"Name of the current device for audio input (see [method get_device_list]). " +"On systems with multiple audio inputs (such as analog, USB and HDMI audio), " +"this can be used to select the audio input device. The value " +"[code]\"Default\"[/code] will record audio on the system-wide default audio " +"input. If an invalid device name is set, the value will be reverted back to " +"[code]\"Default\"[/code]." +msgstr "" + +#: doc/classes/AudioServer.xml +msgid "" "Name of the current device for audio output (see [method get_device_list]). " "On systems with multiple audio outputs (such as analog, USB and HDMI audio), " "this can be used to select the audio output device. The value " @@ -12942,6 +12947,18 @@ msgstr "" #: doc/classes/CanvasLayer.xml msgid "" +"Hides any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]false[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" +"Shows any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]true[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" "The custom [Viewport] node assigned to the [CanvasLayer]. If [code]null[/" "code], uses the default viewport instead." msgstr "" @@ -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 " @@ -16530,6 +16548,25 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "" +"The name of a theme type variation used by this [Control] to look up its own " +"theme items. When empty, the class name of the node is used (e.g. " +"[code]Button[/code] for the [Button] control), as well as the class names of " +"all parent classes (in order of inheritance).\n" +"When set, this property gives the highest priority to the type of the " +"specified name. This type can in turn extend another type, forming a " +"dependency chain. See [method Theme.set_type_variation]. If the theme item " +"cannot be found using this type or its base types, lookup falls back on the " +"class names.\n" +"[b]Note:[/b] To look up [Control]'s own items use various [code]get_*[/code] " +"methods without specifying [code]theme_type[/code].\n" +"[b]Note:[/b] Theme items are looked for in the tree order, from branch to " +"root, where each [Control] node is checked for its [member theme] property. " +"The earliest match against any type/class name is returned. The project-" +"level Theme and the default Theme are checked last." +msgstr "" + +#: doc/classes/Control.xml msgid "Emitted when the node gains keyboard focus." msgstr "" @@ -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 @@ -34337,6 +34404,15 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"When using [i]physics interpolation[/i], this function allows you to prevent " +"interpolation on an instance in the current physics tick.\n" +"This allows you to move instances instantaneously, and should usually be " +"used when initially placing an instance such as a bullet to prevent " +"graphical glitches." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets all data related to the instances in one go. This is especially useful " "when loading the data from disk or preparing the data from GDNative.\n" "All data is packed in one large float array. An array may look like this: " @@ -34350,6 +34426,18 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"An alternative version of [method MultiMesh.set_as_bulk_array] which can be " +"used with [i]physics interpolation[/i]. This method takes two arrays, and " +"can set the data for the current and previous tick in one go. The renderer " +"will automatically interpolate the data at each frame.\n" +"This is useful for situations where the order of instances may change from " +"physics tick to tick, such as particle systems.\n" +"When the order of instances is coherent, the simpler [method MultiMesh." +"set_as_bulk_array] can still be used with interpolation." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets the color of a specific instance by [i]multiplying[/i] the mesh's " "existing vertex colors.\n" "For the color to take effect, ensure that [member color_format] is non-" @@ -34392,6 +34480,16 @@ msgid "Mesh to be drawn." msgstr "" #: doc/classes/MultiMesh.xml +msgid "" +"Choose whether to use an interpolation method that favors speed or quality.\n" +"When using low physics tick rates (typically below 20) or high rates of " +"object rotation, you may get better results from the high quality setting.\n" +"[b]Note:[/b] Fast quality does not equate to low quality. Except in the " +"special cases mentioned above, the quality should be comparable to high " +"quality." +msgstr "" + +#: doc/classes/MultiMesh.xml msgid "Format of transform used to transform mesh, either 2D or 3D." msgstr "" @@ -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 "" @@ -36754,6 +36864,25 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Returns [code]true[/code] if the physics interpolated flag is set for this " +"Node (see [method set_physics_interpolated]).\n" +"[b]Note:[/b] Interpolation will only be active is both the flag is set " +"[b]and[/b] physics interpolation is enabled within the [SceneTree]. This can " +"be tested using [method is_physics_interpolated_and_enabled]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" +"Returns [code]true[/code] if physics interpolation is enabled (see [method " +"set_physics_interpolated]) [b]and[/b] enabled in the [SceneTree].\n" +"This is a convenience version of [method is_physics_interpolated] that also " +"checks whether physics interpolation is enabled globally.\n" +"See [member SceneTree.physics_interpolation] and [member ProjectSettings." +"physics/common/physics_interpolation]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Returns [code]true[/code] if physics processing is enabled (see [method " "set_physics_process])." msgstr "" @@ -36924,6 +37053,21 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"When physics interpolation is active, moving a node to a radically different " +"transform (such as placement within a level) can result in a visible glitch " +"as the object is rendered moving from the old to new position over the " +"physics tick.\n" +"This glitch can be prevented by calling [code]reset_physics_interpolation[/" +"code], which temporarily turns off interpolation until the physics tick is " +"complete.\n" +"[constant NOTIFICATION_RESET_PHYSICS_INTERPOLATION] will be received by the " +"node and all children recursively.\n" +"[b]Note:[/b] This function should be called [b]after[/b] moving the node, " +"rather than before." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Sends a remote procedure call request for the given [code]method[/code] to " "peers on the network (and locally), optionally sending all additional " "arguments as arguments to the method called by the RPC. The call request " @@ -37024,6 +37168,14 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Enables or disables physics interpolation per node, offering a finer grain " +"of control than turning physics interpolation on and off globally.\n" +"[b]Note:[/b] This can be especially useful for [Camera]s, where custom " +"interpolation can sometimes give superior results." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Enables or disables physics (i.e. fixed framerate) processing. When a node " "is being processed, it will receive a [constant " "NOTIFICATION_PHYSICS_PROCESS] at a fixed (usually 60 FPS, see [member Engine." @@ -37274,6 +37426,12 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Notification received when [method reset_physics_interpolation] is called on " +"the node or parent nodes." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Inherits pause mode from the node's parent. For the root node, it is " "equivalent to [constant PAUSE_MODE_STOP]. Default." msgstr "" @@ -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 @@ -46911,6 +47081,17 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If [code]true[/code], the renderer will interpolate the transforms of " +"physics objects between the last two transforms, such that smooth motion is " +"seen when physics ticks do not coincide with rendered frames.\n" +"[b]Note:[/b] When moving objects to new positions (rather than the usual " +"physics motion) you may want to temporarily turn off interpolation to " +"prevent a visible glitch. You can do this using the [method Node." +"reset_physics_interpolation] function." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Controls how much physics ticks are synchronized with real time. For 0 or " "less, the ticks are synchronized. Such values are recommended for network " "games, where clock synchronization matters. Higher values cause higher " @@ -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 @@ -51509,6 +51697,13 @@ msgstr "" #: doc/classes/SceneTree.xml msgid "" +"Although physics interpolation would normally be globally turned on and off " +"using [member ProjectSettings.physics/common/physics_interpolation], this " +"property allows control over interpolation at runtime." +msgstr "" + +#: doc/classes/SceneTree.xml +msgid "" "If [code]true[/code], the [SceneTree]'s [member network_peer] refuses new " "incoming connections." msgstr "" @@ -52762,6 +52957,18 @@ msgstr "" #: doc/classes/Spatial.xml msgid "" +"When using physics interpolation, there will be circumstances in which you " +"want to know the interpolated (displayed) transform of a node rather than " +"the standard transform (which may only be accurate to the most recent " +"physics tick).\n" +"This is particularly important for frame-based operations that take place in " +"[method Node._process], rather than [method Node._physics_process]. Examples " +"include [Camera]s focusing on a node, or finding where to fire lasers from " +"on a frame rather than physics tick." +msgstr "" + +#: doc/classes/Spatial.xml +msgid "" "Returns the parent [Spatial], or an empty [Object] if no parent exists or " "parent is not of type [Spatial]." msgstr "" @@ -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 @@ -57294,6 +57538,16 @@ 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." msgstr "" @@ -58331,6 +58585,12 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Unmarks [code]theme_type[/code] as being a variation of another theme type. " +"See [method set_type_variation]." +msgstr "" + +#: doc/classes/Theme.xml msgid "Sets the theme's values to a copy of the default theme values." msgstr "" @@ -58471,6 +58731,17 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Returns the name of the base theme type if [code]theme_type[/code] is a " +"valid variation type. Returns an empty string otherwise." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" +"Returns a list of all type variations for the given [code]base_type[/code]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Returns [code]true[/code] if [Color] with [code]name[/code] is in " "[code]node_type[/code].\n" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." @@ -58519,6 +58790,12 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Returns [code]true[/code] if [code]theme_type[/code] is marked as a " +"variation of [code]base_type[/code]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Adds missing and overrides existing definitions with values from the " "[code]other[/code] [Theme].\n" "[b]Note:[/b] This modifies the current theme. If you want to merge two " @@ -58614,6 +58891,20 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Marks [code]theme_type[/code] as a variation of [code]base_type[/code].\n" +"This adds [code]theme_type[/code] as a suggested option for [member Control." +"theme_type_variation] on a [Control] that is of the [code]base_type[/code] " +"class.\n" +"Variations can also be nested, i.e. [code]base_type[/code] can be another " +"variation. If a chain of variations ends with a [code]base_type[/code] " +"matching the class of the [Control], the whole chain is going to be " +"suggested as options.\n" +"[b]Note:[/b] Suggestions only show up if this theme resource is set as the " +"project default theme. See [member ProjectSettings.gui/theme/custom]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "The default font of this [Theme] resource. Used as a fallback value for font " "items defined in this theme, but having invalid values. If this value is " "also invalid, the global default value is used.\n" @@ -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 2aae5d4390..80c026c0f8 100644 --- a/doc/translations/is.po +++ b/doc/translations/is.po @@ -3329,6 +3329,15 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" +"Hints that a string property can be an enumerated value to pick in a list " +"specified via a hint string such as [code]\"Hello,Something,Else\"[/code].\n" +"Unlike [constant PROPERTY_HINT_ENUM] a property with this hint still accepts " +"arbitrary values and can be empty. The list of values serves to suggest " +"possible values." +msgstr "" + +#: doc/classes/@GlobalScope.xml +msgid "" "Hints that a float property should be edited via an exponential easing " "function. The hint string can include [code]\"attenuation\"[/code] to flip " "the curve horizontally and/or [code]\"inout\"[/code] to also include in/out " @@ -4839,7 +4848,7 @@ msgid "" msgstr "" #: doc/classes/AnimationNode.xml -msgid "Returns [code]true[/code] whether a given path is filtered." +msgid "Returns whether the given path is filtered." msgstr "" #: doc/classes/AnimationNode.xml @@ -4864,7 +4873,7 @@ msgstr "" #: doc/classes/AnimationNode.xml msgid "" -"Sets a custom parameter. These are used as local storage, because resources " +"Sets a custom parameter. These are used as local memory, because resources " "can be reused across the tree or scenes." msgstr "" @@ -4873,7 +4882,7 @@ msgid "If [code]true[/code], filtering is enabled." msgstr "" #: doc/classes/AnimationNode.xml -msgid "Called when the node was removed from the graph." +msgid "Emitted when the node was removed from the graph." msgstr "" #: doc/classes/AnimationNode.xml @@ -9484,26 +9493,10 @@ msgid "" msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Name of the current device for audio input (see [method " -"capture_get_device_list]). The value [code]\"Default\"[/code] means that the " -"system-wide default audio input is currently used." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Returns the names of all audio input devices detected on the system." msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Sets which audio input device is used for audio capture. On systems with " -"multiple audio inputs (such as analog and USB), this can be used to select " -"the audio input device. Setting the value [code]\"Default\"[/code] will " -"record audio from the system-wide default audio input. If an invalid device " -"name is set, the value will be reverted back to [code]\"Default\"[/code]." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Generates an [AudioBusLayout] using the available buses and effects." msgstr "" @@ -9661,6 +9654,16 @@ msgstr "" #: doc/classes/AudioServer.xml msgid "" +"Name of the current device for audio input (see [method get_device_list]). " +"On systems with multiple audio inputs (such as analog, USB and HDMI audio), " +"this can be used to select the audio input device. The value " +"[code]\"Default\"[/code] will record audio on the system-wide default audio " +"input. If an invalid device name is set, the value will be reverted back to " +"[code]\"Default\"[/code]." +msgstr "" + +#: doc/classes/AudioServer.xml +msgid "" "Name of the current device for audio output (see [method get_device_list]). " "On systems with multiple audio outputs (such as analog, USB and HDMI audio), " "this can be used to select the audio output device. The value " @@ -12736,6 +12739,18 @@ msgstr "" #: doc/classes/CanvasLayer.xml msgid "" +"Hides any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]false[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" +"Shows any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]true[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" "The custom [Viewport] node assigned to the [CanvasLayer]. If [code]null[/" "code], uses the default viewport instead." msgstr "" @@ -15572,8 +15587,9 @@ msgid "" "Returns a [Color] from the first matching [Theme] in the tree if that " "[Theme] has a color item with the specified [code]name[/code] and " "[code]theme_type[/code]. If [code]theme_type[/code] is omitted the class " -"name of the current control is used as the type. If the type is a class name " -"its parent classes are also checked, in order of inheritance.\n" +"name of the current control is used as the type, or [member " +"theme_type_variation] if it is defined. If the type is a class name its " +"parent classes are also checked, in order of inheritance.\n" "For the current control its local overrides are considered first (see " "[method add_color_override]), then its assigned [member theme]. After the " "current control, each parent control and its assigned [member theme] are " @@ -16324,6 +16340,25 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "" +"The name of a theme type variation used by this [Control] to look up its own " +"theme items. When empty, the class name of the node is used (e.g. " +"[code]Button[/code] for the [Button] control), as well as the class names of " +"all parent classes (in order of inheritance).\n" +"When set, this property gives the highest priority to the type of the " +"specified name. This type can in turn extend another type, forming a " +"dependency chain. See [method Theme.set_type_variation]. If the theme item " +"cannot be found using this type or its base types, lookup falls back on the " +"class names.\n" +"[b]Note:[/b] To look up [Control]'s own items use various [code]get_*[/code] " +"methods without specifying [code]theme_type[/code].\n" +"[b]Note:[/b] Theme items are looked for in the tree order, from branch to " +"root, where each [Control] node is checked for its [member theme] property. " +"The earliest match against any type/class name is returned. The project-" +"level Theme and the default Theme are checked last." +msgstr "" + +#: doc/classes/Control.xml msgid "Emitted when the node gains keyboard focus." msgstr "" @@ -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 @@ -34124,6 +34189,15 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"When using [i]physics interpolation[/i], this function allows you to prevent " +"interpolation on an instance in the current physics tick.\n" +"This allows you to move instances instantaneously, and should usually be " +"used when initially placing an instance such as a bullet to prevent " +"graphical glitches." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets all data related to the instances in one go. This is especially useful " "when loading the data from disk or preparing the data from GDNative.\n" "All data is packed in one large float array. An array may look like this: " @@ -34137,6 +34211,18 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"An alternative version of [method MultiMesh.set_as_bulk_array] which can be " +"used with [i]physics interpolation[/i]. This method takes two arrays, and " +"can set the data for the current and previous tick in one go. The renderer " +"will automatically interpolate the data at each frame.\n" +"This is useful for situations where the order of instances may change from " +"physics tick to tick, such as particle systems.\n" +"When the order of instances is coherent, the simpler [method MultiMesh." +"set_as_bulk_array] can still be used with interpolation." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets the color of a specific instance by [i]multiplying[/i] the mesh's " "existing vertex colors.\n" "For the color to take effect, ensure that [member color_format] is non-" @@ -34179,6 +34265,16 @@ msgid "Mesh to be drawn." msgstr "" #: doc/classes/MultiMesh.xml +msgid "" +"Choose whether to use an interpolation method that favors speed or quality.\n" +"When using low physics tick rates (typically below 20) or high rates of " +"object rotation, you may get better results from the high quality setting.\n" +"[b]Note:[/b] Fast quality does not equate to low quality. Except in the " +"special cases mentioned above, the quality should be comparable to high " +"quality." +msgstr "" + +#: doc/classes/MultiMesh.xml msgid "Format of transform used to transform mesh, either 2D or 3D." msgstr "" @@ -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 "" @@ -36527,6 +36635,25 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Returns [code]true[/code] if the physics interpolated flag is set for this " +"Node (see [method set_physics_interpolated]).\n" +"[b]Note:[/b] Interpolation will only be active is both the flag is set " +"[b]and[/b] physics interpolation is enabled within the [SceneTree]. This can " +"be tested using [method is_physics_interpolated_and_enabled]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" +"Returns [code]true[/code] if physics interpolation is enabled (see [method " +"set_physics_interpolated]) [b]and[/b] enabled in the [SceneTree].\n" +"This is a convenience version of [method is_physics_interpolated] that also " +"checks whether physics interpolation is enabled globally.\n" +"See [member SceneTree.physics_interpolation] and [member ProjectSettings." +"physics/common/physics_interpolation]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Returns [code]true[/code] if physics processing is enabled (see [method " "set_physics_process])." msgstr "" @@ -36697,6 +36824,21 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"When physics interpolation is active, moving a node to a radically different " +"transform (such as placement within a level) can result in a visible glitch " +"as the object is rendered moving from the old to new position over the " +"physics tick.\n" +"This glitch can be prevented by calling [code]reset_physics_interpolation[/" +"code], which temporarily turns off interpolation until the physics tick is " +"complete.\n" +"[constant NOTIFICATION_RESET_PHYSICS_INTERPOLATION] will be received by the " +"node and all children recursively.\n" +"[b]Note:[/b] This function should be called [b]after[/b] moving the node, " +"rather than before." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Sends a remote procedure call request for the given [code]method[/code] to " "peers on the network (and locally), optionally sending all additional " "arguments as arguments to the method called by the RPC. The call request " @@ -36797,6 +36939,14 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Enables or disables physics interpolation per node, offering a finer grain " +"of control than turning physics interpolation on and off globally.\n" +"[b]Note:[/b] This can be especially useful for [Camera]s, where custom " +"interpolation can sometimes give superior results." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Enables or disables physics (i.e. fixed framerate) processing. When a node " "is being processed, it will receive a [constant " "NOTIFICATION_PHYSICS_PROCESS] at a fixed (usually 60 FPS, see [member Engine." @@ -37047,6 +37197,12 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Notification received when [method reset_physics_interpolation] is called on " +"the node or parent nodes." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Inherits pause mode from the node's parent. For the root node, it is " "equivalent to [constant PAUSE_MODE_STOP]. Default." msgstr "" @@ -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 @@ -46667,6 +46835,17 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If [code]true[/code], the renderer will interpolate the transforms of " +"physics objects between the last two transforms, such that smooth motion is " +"seen when physics ticks do not coincide with rendered frames.\n" +"[b]Note:[/b] When moving objects to new positions (rather than the usual " +"physics motion) you may want to temporarily turn off interpolation to " +"prevent a visible glitch. You can do this using the [method Node." +"reset_physics_interpolation] function." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Controls how much physics ticks are synchronized with real time. For 0 or " "less, the ticks are synchronized. Such values are recommended for network " "games, where clock synchronization matters. Higher values cause higher " @@ -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 @@ -51265,6 +51451,13 @@ msgstr "" #: doc/classes/SceneTree.xml msgid "" +"Although physics interpolation would normally be globally turned on and off " +"using [member ProjectSettings.physics/common/physics_interpolation], this " +"property allows control over interpolation at runtime." +msgstr "" + +#: doc/classes/SceneTree.xml +msgid "" "If [code]true[/code], the [SceneTree]'s [member network_peer] refuses new " "incoming connections." msgstr "" @@ -52518,6 +52711,18 @@ msgstr "" #: doc/classes/Spatial.xml msgid "" +"When using physics interpolation, there will be circumstances in which you " +"want to know the interpolated (displayed) transform of a node rather than " +"the standard transform (which may only be accurate to the most recent " +"physics tick).\n" +"This is particularly important for frame-based operations that take place in " +"[method Node._process], rather than [method Node._physics_process]. Examples " +"include [Camera]s focusing on a node, or finding where to fire lasers from " +"on a frame rather than physics tick." +msgstr "" + +#: doc/classes/Spatial.xml +msgid "" "Returns the parent [Spatial], or an empty [Object] if no parent exists or " "parent is not of type [Spatial]." msgstr "" @@ -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 @@ -57046,6 +57288,14 @@ msgid "Returns the total width of all gutters and internal padding." msgstr "" #: doc/classes/TextEdit.xml +msgid "Returns the total amount of lines that could be drawn." +msgstr "" + +#: doc/classes/TextEdit.xml +msgid "Returns the number of visible lines, including wrapped text." +msgstr "" + +#: doc/classes/TextEdit.xml msgid "" "Returns a [String] text with the word under the caret (text cursor) location." msgstr "" @@ -58083,6 +58333,12 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Unmarks [code]theme_type[/code] as being a variation of another theme type. " +"See [method set_type_variation]." +msgstr "" + +#: doc/classes/Theme.xml msgid "Sets the theme's values to a copy of the default theme values." msgstr "" @@ -58223,6 +58479,17 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Returns the name of the base theme type if [code]theme_type[/code] is a " +"valid variation type. Returns an empty string otherwise." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" +"Returns a list of all type variations for the given [code]base_type[/code]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Returns [code]true[/code] if [Color] with [code]name[/code] is in " "[code]node_type[/code].\n" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." @@ -58271,6 +58538,12 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Returns [code]true[/code] if [code]theme_type[/code] is marked as a " +"variation of [code]base_type[/code]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Adds missing and overrides existing definitions with values from the " "[code]other[/code] [Theme].\n" "[b]Note:[/b] This modifies the current theme. If you want to merge two " @@ -58366,6 +58639,20 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Marks [code]theme_type[/code] as a variation of [code]base_type[/code].\n" +"This adds [code]theme_type[/code] as a suggested option for [member Control." +"theme_type_variation] on a [Control] that is of the [code]base_type[/code] " +"class.\n" +"Variations can also be nested, i.e. [code]base_type[/code] can be another " +"variation. If a chain of variations ends with a [code]base_type[/code] " +"matching the class of the [Control], the whole chain is going to be " +"suggested as options.\n" +"[b]Note:[/b] Suggestions only show up if this theme resource is set as the " +"project default theme. See [member ProjectSettings.gui/theme/custom]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "The default font of this [Theme] resource. Used as a fallback value for font " "items defined in this theme, but having invalid values. If this value is " "also invalid, the global default value is used.\n" @@ -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 0e6f99b17f..dcafac6cc5 100644 --- a/doc/translations/it.po +++ b/doc/translations/it.po @@ -23,11 +23,12 @@ # ZeroKun265 <davidegiambirtone265@gmail.com>, 2021. # Andrea Montagna <fullmontis@gmail.com>, 2021. # Andrea Leganza <neogene@gmail.com>, 2021. +# Federico Caprini <caprinifede@gmail.com>, 2022. msgid "" msgstr "" "Project-Id-Version: Godot Engine class reference\n" "Report-Msgid-Bugs-To: https://github.com/godotengine/godot\n" -"PO-Revision-Date: 2022-01-31 08:55+0000\n" +"PO-Revision-Date: 2022-02-22 15:52+0000\n" "Last-Translator: Mirko <miknsop@gmail.com>\n" "Language-Team: Italian <https://hosted.weblate.org/projects/godot-engine/" "godot-class-reference/it/>\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 "" @@ -4260,6 +4266,15 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" +"Hints that a string property can be an enumerated value to pick in a list " +"specified via a hint string such as [code]\"Hello,Something,Else\"[/code].\n" +"Unlike [constant PROPERTY_HINT_ENUM] a property with this hint still accepts " +"arbitrary values and can be empty. The list of values serves to suggest " +"possible values." +msgstr "" + +#: doc/classes/@GlobalScope.xml +msgid "" "Hints that a float property should be edited via an exponential easing " "function. The hint string can include [code]\"attenuation\"[/code] to flip " "the curve horizontally and/or [code]\"inout\"[/code] to also include in/out " @@ -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 @@ -10442,26 +10458,10 @@ msgid "" msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Name of the current device for audio input (see [method " -"capture_get_device_list]). The value [code]\"Default\"[/code] means that the " -"system-wide default audio input is currently used." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Returns the names of all audio input devices detected on the system." msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Sets which audio input device is used for audio capture. On systems with " -"multiple audio inputs (such as analog and USB), this can be used to select " -"the audio input device. Setting the value [code]\"Default\"[/code] will " -"record audio from the system-wide default audio input. If an invalid device " -"name is set, the value will be reverted back to [code]\"Default\"[/code]." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Generates an [AudioBusLayout] using the available buses and effects." msgstr "" @@ -10619,6 +10619,16 @@ msgstr "" #: doc/classes/AudioServer.xml msgid "" +"Name of the current device for audio input (see [method get_device_list]). " +"On systems with multiple audio inputs (such as analog, USB and HDMI audio), " +"this can be used to select the audio input device. The value " +"[code]\"Default\"[/code] will record audio on the system-wide default audio " +"input. If an invalid device name is set, the value will be reverted back to " +"[code]\"Default\"[/code]." +msgstr "" + +#: doc/classes/AudioServer.xml +msgid "" "Name of the current device for audio output (see [method get_device_list]). " "On systems with multiple audio outputs (such as analog, USB and HDMI audio), " "this can be used to select the audio output device. The value " @@ -13709,6 +13719,18 @@ msgstr "" #: doc/classes/CanvasLayer.xml msgid "" +"Hides any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]false[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" +"Shows any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]true[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" "The custom [Viewport] node assigned to the [CanvasLayer]. If [code]null[/" "code], uses the default viewport instead." msgstr "" @@ -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 " @@ -17392,6 +17415,25 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "" +"The name of a theme type variation used by this [Control] to look up its own " +"theme items. When empty, the class name of the node is used (e.g. " +"[code]Button[/code] for the [Button] control), as well as the class names of " +"all parent classes (in order of inheritance).\n" +"When set, this property gives the highest priority to the type of the " +"specified name. This type can in turn extend another type, forming a " +"dependency chain. See [method Theme.set_type_variation]. If the theme item " +"cannot be found using this type or its base types, lookup falls back on the " +"class names.\n" +"[b]Note:[/b] To look up [Control]'s own items use various [code]get_*[/code] " +"methods without specifying [code]theme_type[/code].\n" +"[b]Note:[/b] Theme items are looked for in the tree order, from branch to " +"root, where each [Control] node is checked for its [member theme] property. " +"The earliest match against any type/class name is returned. The project-" +"level Theme and the default Theme are checked last." +msgstr "" + +#: doc/classes/Control.xml msgid "Emitted when the node gains keyboard focus." msgstr "" @@ -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 @@ -35251,6 +35323,15 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"When using [i]physics interpolation[/i], this function allows you to prevent " +"interpolation on an instance in the current physics tick.\n" +"This allows you to move instances instantaneously, and should usually be " +"used when initially placing an instance such as a bullet to prevent " +"graphical glitches." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets all data related to the instances in one go. This is especially useful " "when loading the data from disk or preparing the data from GDNative.\n" "All data is packed in one large float array. An array may look like this: " @@ -35264,6 +35345,18 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"An alternative version of [method MultiMesh.set_as_bulk_array] which can be " +"used with [i]physics interpolation[/i]. This method takes two arrays, and " +"can set the data for the current and previous tick in one go. The renderer " +"will automatically interpolate the data at each frame.\n" +"This is useful for situations where the order of instances may change from " +"physics tick to tick, such as particle systems.\n" +"When the order of instances is coherent, the simpler [method MultiMesh." +"set_as_bulk_array] can still be used with interpolation." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets the color of a specific instance by [i]multiplying[/i] the mesh's " "existing vertex colors.\n" "For the color to take effect, ensure that [member color_format] is non-" @@ -35306,6 +35399,16 @@ msgid "Mesh to be drawn." msgstr "" #: doc/classes/MultiMesh.xml +msgid "" +"Choose whether to use an interpolation method that favors speed or quality.\n" +"When using low physics tick rates (typically below 20) or high rates of " +"object rotation, you may get better results from the high quality setting.\n" +"[b]Note:[/b] Fast quality does not equate to low quality. Except in the " +"special cases mentioned above, the quality should be comparable to high " +"quality." +msgstr "" + +#: doc/classes/MultiMesh.xml msgid "Format of transform used to transform mesh, either 2D or 3D." msgstr "" @@ -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" @@ -37690,6 +37805,25 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Returns [code]true[/code] if the physics interpolated flag is set for this " +"Node (see [method set_physics_interpolated]).\n" +"[b]Note:[/b] Interpolation will only be active is both the flag is set " +"[b]and[/b] physics interpolation is enabled within the [SceneTree]. This can " +"be tested using [method is_physics_interpolated_and_enabled]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" +"Returns [code]true[/code] if physics interpolation is enabled (see [method " +"set_physics_interpolated]) [b]and[/b] enabled in the [SceneTree].\n" +"This is a convenience version of [method is_physics_interpolated] that also " +"checks whether physics interpolation is enabled globally.\n" +"See [member SceneTree.physics_interpolation] and [member ProjectSettings." +"physics/common/physics_interpolation]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Returns [code]true[/code] if physics processing is enabled (see [method " "set_physics_process])." msgstr "" @@ -37860,6 +37994,21 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"When physics interpolation is active, moving a node to a radically different " +"transform (such as placement within a level) can result in a visible glitch " +"as the object is rendered moving from the old to new position over the " +"physics tick.\n" +"This glitch can be prevented by calling [code]reset_physics_interpolation[/" +"code], which temporarily turns off interpolation until the physics tick is " +"complete.\n" +"[constant NOTIFICATION_RESET_PHYSICS_INTERPOLATION] will be received by the " +"node and all children recursively.\n" +"[b]Note:[/b] This function should be called [b]after[/b] moving the node, " +"rather than before." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Sends a remote procedure call request for the given [code]method[/code] to " "peers on the network (and locally), optionally sending all additional " "arguments as arguments to the method called by the RPC. The call request " @@ -37960,6 +38109,14 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Enables or disables physics interpolation per node, offering a finer grain " +"of control than turning physics interpolation on and off globally.\n" +"[b]Note:[/b] This can be especially useful for [Camera]s, where custom " +"interpolation can sometimes give superior results." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Enables or disables physics (i.e. fixed framerate) processing. When a node " "is being processed, it will receive a [constant " "NOTIFICATION_PHYSICS_PROCESS] at a fixed (usually 60 FPS, see [member Engine." @@ -38210,6 +38367,12 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Notification received when [method reset_physics_interpolation] is called on " +"the node or parent nodes." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Inherits pause mode from the node's parent. For the root node, it is " "equivalent to [constant PAUSE_MODE_STOP]. Default." msgstr "" @@ -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 @@ -47884,6 +48059,17 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If [code]true[/code], the renderer will interpolate the transforms of " +"physics objects between the last two transforms, such that smooth motion is " +"seen when physics ticks do not coincide with rendered frames.\n" +"[b]Note:[/b] When moving objects to new positions (rather than the usual " +"physics motion) you may want to temporarily turn off interpolation to " +"prevent a visible glitch. You can do this using the [method Node." +"reset_physics_interpolation] function." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Controls how much physics ticks are synchronized with real time. For 0 or " "less, the ticks are synchronized. Such values are recommended for network " "games, where clock synchronization matters. Higher values cause higher " @@ -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 @@ -52492,6 +52685,13 @@ msgstr "" #: doc/classes/SceneTree.xml msgid "" +"Although physics interpolation would normally be globally turned on and off " +"using [member ProjectSettings.physics/common/physics_interpolation], this " +"property allows control over interpolation at runtime." +msgstr "" + +#: doc/classes/SceneTree.xml +msgid "" "If [code]true[/code], the [SceneTree]'s [member network_peer] refuses new " "incoming connections." msgstr "" @@ -53747,6 +53947,18 @@ msgstr "" #: doc/classes/Spatial.xml msgid "" +"When using physics interpolation, there will be circumstances in which you " +"want to know the interpolated (displayed) transform of a node rather than " +"the standard transform (which may only be accurate to the most recent " +"physics tick).\n" +"This is particularly important for frame-based operations that take place in " +"[method Node._process], rather than [method Node._physics_process]. Examples " +"include [Camera]s focusing on a node, or finding where to fire lasers from " +"on a frame rather than physics tick." +msgstr "" + +#: doc/classes/Spatial.xml +msgid "" "Returns the parent [Spatial], or an empty [Object] if no parent exists or " "parent is not of type [Spatial]." msgstr "" @@ -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 @@ -58294,6 +58543,16 @@ 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." msgstr "" @@ -59346,6 +59605,12 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Unmarks [code]theme_type[/code] as being a variation of another theme type. " +"See [method set_type_variation]." +msgstr "" + +#: doc/classes/Theme.xml msgid "Sets the theme's values to a copy of the default theme values." msgstr "" @@ -59488,6 +59753,18 @@ msgid "" 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 "" "Returns [code]true[/code] if [Color] with [code]name[/code] is in " @@ -59543,6 +59820,15 @@ msgid "" 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 " "[code]other[/code] [Theme].\n" @@ -59639,6 +59925,20 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Marks [code]theme_type[/code] as a variation of [code]base_type[/code].\n" +"This adds [code]theme_type[/code] as a suggested option for [member Control." +"theme_type_variation] on a [Control] that is of the [code]base_type[/code] " +"class.\n" +"Variations can also be nested, i.e. [code]base_type[/code] can be another " +"variation. If a chain of variations ends with a [code]base_type[/code] " +"matching the class of the [Control], the whole chain is going to be " +"suggested as options.\n" +"[b]Note:[/b] Suggestions only show up if this theme resource is set as the " +"project default theme. See [member ProjectSettings.gui/theme/custom]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "The default font of this [Theme] resource. Used as a fallback value for font " "items defined in this theme, but having invalid values. If this value is " "also invalid, the global default value is used.\n" @@ -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 a3017d5928..ddb9eb6efe 100644 --- a/doc/translations/ja.po +++ b/doc/translations/ja.po @@ -4305,6 +4305,15 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" +"Hints that a string property can be an enumerated value to pick in a list " +"specified via a hint string such as [code]\"Hello,Something,Else\"[/code].\n" +"Unlike [constant PROPERTY_HINT_ENUM] a property with this hint still accepts " +"arbitrary values and can be empty. The list of values serves to suggest " +"possible values." +msgstr "" + +#: doc/classes/@GlobalScope.xml +msgid "" "Hints that a float property should be edited via an exponential easing " "function. The hint string can include [code]\"attenuation\"[/code] to flip " "the curve horizontally and/or [code]\"inout\"[/code] to also include in/out " @@ -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 @@ -12163,29 +12175,10 @@ msgstr "" "フェクトを追加します。" #: 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] を生成します。" @@ -12374,6 +12367,16 @@ msgstr "利用可能なオーディオバスの数。" #: doc/classes/AudioServer.xml msgid "" +"Name of the current device for audio input (see [method get_device_list]). " +"On systems with multiple audio inputs (such as analog, USB and HDMI audio), " +"this can be used to select the audio input device. The value " +"[code]\"Default\"[/code] will record audio on the system-wide default audio " +"input. If an invalid device name is set, the value will be reverted back to " +"[code]\"Default\"[/code]." +msgstr "" + +#: doc/classes/AudioServer.xml +msgid "" "Name of the current device for audio output (see [method get_device_list]). " "On systems with multiple audio outputs (such as analog, USB and HDMI audio), " "this can be used to select the audio output device. The value " @@ -15740,6 +15743,24 @@ 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[/" "code], uses the default viewport instead." @@ -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 " @@ -19416,6 +19438,25 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "" +"The name of a theme type variation used by this [Control] to look up its own " +"theme items. When empty, the class name of the node is used (e.g. " +"[code]Button[/code] for the [Button] control), as well as the class names of " +"all parent classes (in order of inheritance).\n" +"When set, this property gives the highest priority to the type of the " +"specified name. This type can in turn extend another type, forming a " +"dependency chain. See [method Theme.set_type_variation]. If the theme item " +"cannot be found using this type or its base types, lookup falls back on the " +"class names.\n" +"[b]Note:[/b] To look up [Control]'s own items use various [code]get_*[/code] " +"methods without specifying [code]theme_type[/code].\n" +"[b]Note:[/b] Theme items are looked for in the tree order, from branch to " +"root, where each [Control] node is checked for its [member theme] property. " +"The earliest match against any type/class name is returned. The project-" +"level Theme and the default Theme are checked last." +msgstr "" + +#: doc/classes/Control.xml msgid "Emitted when the node gains keyboard focus." msgstr "" @@ -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 @@ -37427,6 +37498,15 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"When using [i]physics interpolation[/i], this function allows you to prevent " +"interpolation on an instance in the current physics tick.\n" +"This allows you to move instances instantaneously, and should usually be " +"used when initially placing an instance such as a bullet to prevent " +"graphical glitches." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets all data related to the instances in one go. This is especially useful " "when loading the data from disk or preparing the data from GDNative.\n" "All data is packed in one large float array. An array may look like this: " @@ -37440,6 +37520,18 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"An alternative version of [method MultiMesh.set_as_bulk_array] which can be " +"used with [i]physics interpolation[/i]. This method takes two arrays, and " +"can set the data for the current and previous tick in one go. The renderer " +"will automatically interpolate the data at each frame.\n" +"This is useful for situations where the order of instances may change from " +"physics tick to tick, such as particle systems.\n" +"When the order of instances is coherent, the simpler [method MultiMesh." +"set_as_bulk_array] can still be used with interpolation." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets the color of a specific instance by [i]multiplying[/i] the mesh's " "existing vertex colors.\n" "For the color to take effect, ensure that [member color_format] is non-" @@ -37482,6 +37574,16 @@ msgid "Mesh to be drawn." msgstr "" #: doc/classes/MultiMesh.xml +msgid "" +"Choose whether to use an interpolation method that favors speed or quality.\n" +"When using low physics tick rates (typically below 20) or high rates of " +"object rotation, you may get better results from the high quality setting.\n" +"[b]Note:[/b] Fast quality does not equate to low quality. Except in the " +"special cases mentioned above, the quality should be comparable to high " +"quality." +msgstr "" + +#: doc/classes/MultiMesh.xml msgid "Format of transform used to transform mesh, either 2D or 3D." msgstr "" @@ -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 "" @@ -39889,6 +40003,25 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Returns [code]true[/code] if the physics interpolated flag is set for this " +"Node (see [method set_physics_interpolated]).\n" +"[b]Note:[/b] Interpolation will only be active is both the flag is set " +"[b]and[/b] physics interpolation is enabled within the [SceneTree]. This can " +"be tested using [method is_physics_interpolated_and_enabled]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" +"Returns [code]true[/code] if physics interpolation is enabled (see [method " +"set_physics_interpolated]) [b]and[/b] enabled in the [SceneTree].\n" +"This is a convenience version of [method is_physics_interpolated] that also " +"checks whether physics interpolation is enabled globally.\n" +"See [member SceneTree.physics_interpolation] and [member ProjectSettings." +"physics/common/physics_interpolation]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Returns [code]true[/code] if physics processing is enabled (see [method " "set_physics_process])." msgstr "" @@ -40059,6 +40192,21 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"When physics interpolation is active, moving a node to a radically different " +"transform (such as placement within a level) can result in a visible glitch " +"as the object is rendered moving from the old to new position over the " +"physics tick.\n" +"This glitch can be prevented by calling [code]reset_physics_interpolation[/" +"code], which temporarily turns off interpolation until the physics tick is " +"complete.\n" +"[constant NOTIFICATION_RESET_PHYSICS_INTERPOLATION] will be received by the " +"node and all children recursively.\n" +"[b]Note:[/b] This function should be called [b]after[/b] moving the node, " +"rather than before." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Sends a remote procedure call request for the given [code]method[/code] to " "peers on the network (and locally), optionally sending all additional " "arguments as arguments to the method called by the RPC. The call request " @@ -40159,6 +40307,14 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Enables or disables physics interpolation per node, offering a finer grain " +"of control than turning physics interpolation on and off globally.\n" +"[b]Note:[/b] This can be especially useful for [Camera]s, where custom " +"interpolation can sometimes give superior results." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Enables or disables physics (i.e. fixed framerate) processing. When a node " "is being processed, it will receive a [constant " "NOTIFICATION_PHYSICS_PROCESS] at a fixed (usually 60 FPS, see [member Engine." @@ -40409,6 +40565,12 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Notification received when [method reset_physics_interpolation] is called on " +"the node or parent nodes." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Inherits pause mode from the node's parent. For the root node, it is " "equivalent to [constant PAUSE_MODE_STOP]. Default." msgstr "" @@ -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 @@ -50135,6 +50309,17 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If [code]true[/code], the renderer will interpolate the transforms of " +"physics objects between the last two transforms, such that smooth motion is " +"seen when physics ticks do not coincide with rendered frames.\n" +"[b]Note:[/b] When moving objects to new positions (rather than the usual " +"physics motion) you may want to temporarily turn off interpolation to " +"prevent a visible glitch. You can do this using the [method Node." +"reset_physics_interpolation] function." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Controls how much physics ticks are synchronized with real time. For 0 or " "less, the ticks are synchronized. Such values are recommended for network " "games, where clock synchronization matters. Higher values cause higher " @@ -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 @@ -54770,6 +54962,13 @@ msgstr "" #: doc/classes/SceneTree.xml msgid "" +"Although physics interpolation would normally be globally turned on and off " +"using [member ProjectSettings.physics/common/physics_interpolation], this " +"property allows control over interpolation at runtime." +msgstr "" + +#: doc/classes/SceneTree.xml +msgid "" "If [code]true[/code], the [SceneTree]'s [member network_peer] refuses new " "incoming connections." msgstr "" @@ -56034,6 +56233,18 @@ msgstr "" #: doc/classes/Spatial.xml msgid "" +"When using physics interpolation, there will be circumstances in which you " +"want to know the interpolated (displayed) transform of a node rather than " +"the standard transform (which may only be accurate to the most recent " +"physics tick).\n" +"This is particularly important for frame-based operations that take place in " +"[method Node._process], rather than [method Node._physics_process]. Examples " +"include [Camera]s focusing on a node, or finding where to fire lasers from " +"on a frame rather than physics tick." +msgstr "" + +#: doc/classes/Spatial.xml +msgid "" "Returns the parent [Spatial], or an empty [Object] if no parent exists or " "parent is not of type [Spatial]." msgstr "" @@ -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 @@ -60886,6 +61134,16 @@ 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." msgstr "" @@ -61950,6 +62208,12 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Unmarks [code]theme_type[/code] as being a variation of another theme type. " +"See [method set_type_variation]." +msgstr "" + +#: doc/classes/Theme.xml msgid "Sets the theme's values to a copy of the default theme values." msgstr "" @@ -62096,6 +62360,18 @@ msgid "" 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 "" "Returns [code]true[/code] if [Color] with [code]name[/code] is in " @@ -62152,6 +62428,15 @@ msgid "" 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 " "[code]other[/code] [Theme].\n" @@ -62248,6 +62533,20 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Marks [code]theme_type[/code] as a variation of [code]base_type[/code].\n" +"This adds [code]theme_type[/code] as a suggested option for [member Control." +"theme_type_variation] on a [Control] that is of the [code]base_type[/code] " +"class.\n" +"Variations can also be nested, i.e. [code]base_type[/code] can be another " +"variation. If a chain of variations ends with a [code]base_type[/code] " +"matching the class of the [Control], the whole chain is going to be " +"suggested as options.\n" +"[b]Note:[/b] Suggestions only show up if this theme resource is set as the " +"project default theme. See [member ProjectSettings.gui/theme/custom]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "The default font of this [Theme] resource. Used as a fallback value for font " "items defined in this theme, but having invalid values. If this value is " "also invalid, the global default value is used.\n" @@ -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 465371a39f..d4b782b0c0 100644 --- a/doc/translations/ko.po +++ b/doc/translations/ko.po @@ -3456,6 +3456,15 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" +"Hints that a string property can be an enumerated value to pick in a list " +"specified via a hint string such as [code]\"Hello,Something,Else\"[/code].\n" +"Unlike [constant PROPERTY_HINT_ENUM] a property with this hint still accepts " +"arbitrary values and can be empty. The list of values serves to suggest " +"possible values." +msgstr "" + +#: doc/classes/@GlobalScope.xml +msgid "" "Hints that a float property should be edited via an exponential easing " "function. The hint string can include [code]\"attenuation\"[/code] to flip " "the curve horizontally and/or [code]\"inout\"[/code] to also include in/out " @@ -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 @@ -9614,26 +9624,10 @@ msgid "" msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Name of the current device for audio input (see [method " -"capture_get_device_list]). The value [code]\"Default\"[/code] means that the " -"system-wide default audio input is currently used." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Returns the names of all audio input devices detected on the system." msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Sets which audio input device is used for audio capture. On systems with " -"multiple audio inputs (such as analog and USB), this can be used to select " -"the audio input device. Setting the value [code]\"Default\"[/code] will " -"record audio from the system-wide default audio input. If an invalid device " -"name is set, the value will be reverted back to [code]\"Default\"[/code]." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Generates an [AudioBusLayout] using the available buses and effects." msgstr "" @@ -9791,6 +9785,16 @@ msgstr "" #: doc/classes/AudioServer.xml msgid "" +"Name of the current device for audio input (see [method get_device_list]). " +"On systems with multiple audio inputs (such as analog, USB and HDMI audio), " +"this can be used to select the audio input device. The value " +"[code]\"Default\"[/code] will record audio on the system-wide default audio " +"input. If an invalid device name is set, the value will be reverted back to " +"[code]\"Default\"[/code]." +msgstr "" + +#: doc/classes/AudioServer.xml +msgid "" "Name of the current device for audio output (see [method get_device_list]). " "On systems with multiple audio outputs (such as analog, USB and HDMI audio), " "this can be used to select the audio output device. The value " @@ -12872,6 +12876,18 @@ msgstr "" #: doc/classes/CanvasLayer.xml msgid "" +"Hides any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]false[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" +"Shows any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]true[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" "The custom [Viewport] node assigned to the [CanvasLayer]. If [code]null[/" "code], uses the default viewport instead." msgstr "" @@ -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 " @@ -16495,6 +16512,25 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "" +"The name of a theme type variation used by this [Control] to look up its own " +"theme items. When empty, the class name of the node is used (e.g. " +"[code]Button[/code] for the [Button] control), as well as the class names of " +"all parent classes (in order of inheritance).\n" +"When set, this property gives the highest priority to the type of the " +"specified name. This type can in turn extend another type, forming a " +"dependency chain. See [method Theme.set_type_variation]. If the theme item " +"cannot be found using this type or its base types, lookup falls back on the " +"class names.\n" +"[b]Note:[/b] To look up [Control]'s own items use various [code]get_*[/code] " +"methods without specifying [code]theme_type[/code].\n" +"[b]Note:[/b] Theme items are looked for in the tree order, from branch to " +"root, where each [Control] node is checked for its [member theme] property. " +"The earliest match against any type/class name is returned. The project-" +"level Theme and the default Theme are checked last." +msgstr "" + +#: doc/classes/Control.xml msgid "Emitted when the node gains keyboard focus." msgstr "" @@ -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 @@ -34381,6 +34447,15 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"When using [i]physics interpolation[/i], this function allows you to prevent " +"interpolation on an instance in the current physics tick.\n" +"This allows you to move instances instantaneously, and should usually be " +"used when initially placing an instance such as a bullet to prevent " +"graphical glitches." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets all data related to the instances in one go. This is especially useful " "when loading the data from disk or preparing the data from GDNative.\n" "All data is packed in one large float array. An array may look like this: " @@ -34394,6 +34469,18 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"An alternative version of [method MultiMesh.set_as_bulk_array] which can be " +"used with [i]physics interpolation[/i]. This method takes two arrays, and " +"can set the data for the current and previous tick in one go. The renderer " +"will automatically interpolate the data at each frame.\n" +"This is useful for situations where the order of instances may change from " +"physics tick to tick, such as particle systems.\n" +"When the order of instances is coherent, the simpler [method MultiMesh." +"set_as_bulk_array] can still be used with interpolation." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets the color of a specific instance by [i]multiplying[/i] the mesh's " "existing vertex colors.\n" "For the color to take effect, ensure that [member color_format] is non-" @@ -34436,6 +34523,16 @@ msgid "Mesh to be drawn." msgstr "" #: doc/classes/MultiMesh.xml +msgid "" +"Choose whether to use an interpolation method that favors speed or quality.\n" +"When using low physics tick rates (typically below 20) or high rates of " +"object rotation, you may get better results from the high quality setting.\n" +"[b]Note:[/b] Fast quality does not equate to low quality. Except in the " +"special cases mentioned above, the quality should be comparable to high " +"quality." +msgstr "" + +#: doc/classes/MultiMesh.xml msgid "Format of transform used to transform mesh, either 2D or 3D." msgstr "" @@ -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 "" @@ -36934,6 +37043,25 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Returns [code]true[/code] if the physics interpolated flag is set for this " +"Node (see [method set_physics_interpolated]).\n" +"[b]Note:[/b] Interpolation will only be active is both the flag is set " +"[b]and[/b] physics interpolation is enabled within the [SceneTree]. This can " +"be tested using [method is_physics_interpolated_and_enabled]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" +"Returns [code]true[/code] if physics interpolation is enabled (see [method " +"set_physics_interpolated]) [b]and[/b] enabled in the [SceneTree].\n" +"This is a convenience version of [method is_physics_interpolated] that also " +"checks whether physics interpolation is enabled globally.\n" +"See [member SceneTree.physics_interpolation] and [member ProjectSettings." +"physics/common/physics_interpolation]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Returns [code]true[/code] if physics processing is enabled (see [method " "set_physics_process])." msgstr "" @@ -37104,6 +37232,21 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"When physics interpolation is active, moving a node to a radically different " +"transform (such as placement within a level) can result in a visible glitch " +"as the object is rendered moving from the old to new position over the " +"physics tick.\n" +"This glitch can be prevented by calling [code]reset_physics_interpolation[/" +"code], which temporarily turns off interpolation until the physics tick is " +"complete.\n" +"[constant NOTIFICATION_RESET_PHYSICS_INTERPOLATION] will be received by the " +"node and all children recursively.\n" +"[b]Note:[/b] This function should be called [b]after[/b] moving the node, " +"rather than before." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Sends a remote procedure call request for the given [code]method[/code] to " "peers on the network (and locally), optionally sending all additional " "arguments as arguments to the method called by the RPC. The call request " @@ -37204,6 +37347,14 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Enables or disables physics interpolation per node, offering a finer grain " +"of control than turning physics interpolation on and off globally.\n" +"[b]Note:[/b] This can be especially useful for [Camera]s, where custom " +"interpolation can sometimes give superior results." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Enables or disables physics (i.e. fixed framerate) processing. When a node " "is being processed, it will receive a [constant " "NOTIFICATION_PHYSICS_PROCESS] at a fixed (usually 60 FPS, see [member Engine." @@ -37454,6 +37605,12 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Notification received when [method reset_physics_interpolation] is called on " +"the node or parent nodes." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Inherits pause mode from the node's parent. For the root node, it is " "equivalent to [constant PAUSE_MODE_STOP]. Default." msgstr "" @@ -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 @@ -47101,6 +47270,17 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If [code]true[/code], the renderer will interpolate the transforms of " +"physics objects between the last two transforms, such that smooth motion is " +"seen when physics ticks do not coincide with rendered frames.\n" +"[b]Note:[/b] When moving objects to new positions (rather than the usual " +"physics motion) you may want to temporarily turn off interpolation to " +"prevent a visible glitch. You can do this using the [method Node." +"reset_physics_interpolation] function." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Controls how much physics ticks are synchronized with real time. For 0 or " "less, the ticks are synchronized. Such values are recommended for network " "games, where clock synchronization matters. Higher values cause higher " @@ -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 @@ -51700,6 +51887,13 @@ msgstr "" #: doc/classes/SceneTree.xml msgid "" +"Although physics interpolation would normally be globally turned on and off " +"using [member ProjectSettings.physics/common/physics_interpolation], this " +"property allows control over interpolation at runtime." +msgstr "" + +#: doc/classes/SceneTree.xml +msgid "" "If [code]true[/code], the [SceneTree]'s [member network_peer] refuses new " "incoming connections." msgstr "" @@ -52953,6 +53147,18 @@ msgstr "" #: doc/classes/Spatial.xml msgid "" +"When using physics interpolation, there will be circumstances in which you " +"want to know the interpolated (displayed) transform of a node rather than " +"the standard transform (which may only be accurate to the most recent " +"physics tick).\n" +"This is particularly important for frame-based operations that take place in " +"[method Node._process], rather than [method Node._physics_process]. Examples " +"include [Camera]s focusing on a node, or finding where to fire lasers from " +"on a frame rather than physics tick." +msgstr "" + +#: doc/classes/Spatial.xml +msgid "" "Returns the parent [Spatial], or an empty [Object] if no parent exists or " "parent is not of type [Spatial]." msgstr "" @@ -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 @@ -57488,6 +57731,16 @@ 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." msgstr "" @@ -58526,6 +58779,12 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Unmarks [code]theme_type[/code] as being a variation of another theme type. " +"See [method set_type_variation]." +msgstr "" + +#: doc/classes/Theme.xml msgid "Sets the theme's values to a copy of the default theme values." msgstr "" @@ -58666,6 +58925,18 @@ 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 " "[code]node_type[/code].\n" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." @@ -58714,6 +58985,12 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Returns [code]true[/code] if [code]theme_type[/code] is marked as a " +"variation of [code]base_type[/code]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Adds missing and overrides existing definitions with values from the " "[code]other[/code] [Theme].\n" "[b]Note:[/b] This modifies the current theme. If you want to merge two " @@ -58809,6 +59086,20 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Marks [code]theme_type[/code] as a variation of [code]base_type[/code].\n" +"This adds [code]theme_type[/code] as a suggested option for [member Control." +"theme_type_variation] on a [Control] that is of the [code]base_type[/code] " +"class.\n" +"Variations can also be nested, i.e. [code]base_type[/code] can be another " +"variation. If a chain of variations ends with a [code]base_type[/code] " +"matching the class of the [Control], the whole chain is going to be " +"suggested as options.\n" +"[b]Note:[/b] Suggestions only show up if this theme resource is set as the " +"project default theme. See [member ProjectSettings.gui/theme/custom]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "The default font of this [Theme] resource. Used as a fallback value for font " "items defined in this theme, but having invalid values. If this value is " "also invalid, the global default value is used.\n" @@ -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 a3bff3b9e9..97a0990d75 100644 --- a/doc/translations/lv.po +++ b/doc/translations/lv.po @@ -3344,6 +3344,15 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" +"Hints that a string property can be an enumerated value to pick in a list " +"specified via a hint string such as [code]\"Hello,Something,Else\"[/code].\n" +"Unlike [constant PROPERTY_HINT_ENUM] a property with this hint still accepts " +"arbitrary values and can be empty. The list of values serves to suggest " +"possible values." +msgstr "" + +#: doc/classes/@GlobalScope.xml +msgid "" "Hints that a float property should be edited via an exponential easing " "function. The hint string can include [code]\"attenuation\"[/code] to flip " "the curve horizontally and/or [code]\"inout\"[/code] to also include in/out " @@ -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 @@ -9499,26 +9508,10 @@ msgid "" msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Name of the current device for audio input (see [method " -"capture_get_device_list]). The value [code]\"Default\"[/code] means that the " -"system-wide default audio input is currently used." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Returns the names of all audio input devices detected on the system." msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Sets which audio input device is used for audio capture. On systems with " -"multiple audio inputs (such as analog and USB), this can be used to select " -"the audio input device. Setting the value [code]\"Default\"[/code] will " -"record audio from the system-wide default audio input. If an invalid device " -"name is set, the value will be reverted back to [code]\"Default\"[/code]." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Generates an [AudioBusLayout] using the available buses and effects." msgstr "" @@ -9676,6 +9669,16 @@ msgstr "" #: doc/classes/AudioServer.xml msgid "" +"Name of the current device for audio input (see [method get_device_list]). " +"On systems with multiple audio inputs (such as analog, USB and HDMI audio), " +"this can be used to select the audio input device. The value " +"[code]\"Default\"[/code] will record audio on the system-wide default audio " +"input. If an invalid device name is set, the value will be reverted back to " +"[code]\"Default\"[/code]." +msgstr "" + +#: doc/classes/AudioServer.xml +msgid "" "Name of the current device for audio output (see [method get_device_list]). " "On systems with multiple audio outputs (such as analog, USB and HDMI audio), " "this can be used to select the audio output device. The value " @@ -12751,6 +12754,18 @@ msgstr "" #: doc/classes/CanvasLayer.xml msgid "" +"Hides any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]false[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" +"Shows any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]true[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" "The custom [Viewport] node assigned to the [CanvasLayer]. If [code]null[/" "code], uses the default viewport instead." msgstr "" @@ -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 " @@ -16339,6 +16355,25 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "" +"The name of a theme type variation used by this [Control] to look up its own " +"theme items. When empty, the class name of the node is used (e.g. " +"[code]Button[/code] for the [Button] control), as well as the class names of " +"all parent classes (in order of inheritance).\n" +"When set, this property gives the highest priority to the type of the " +"specified name. This type can in turn extend another type, forming a " +"dependency chain. See [method Theme.set_type_variation]. If the theme item " +"cannot be found using this type or its base types, lookup falls back on the " +"class names.\n" +"[b]Note:[/b] To look up [Control]'s own items use various [code]get_*[/code] " +"methods without specifying [code]theme_type[/code].\n" +"[b]Note:[/b] Theme items are looked for in the tree order, from branch to " +"root, where each [Control] node is checked for its [member theme] property. " +"The earliest match against any type/class name is returned. The project-" +"level Theme and the default Theme are checked last." +msgstr "" + +#: doc/classes/Control.xml msgid "Emitted when the node gains keyboard focus." msgstr "" @@ -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 @@ -34142,6 +34207,15 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"When using [i]physics interpolation[/i], this function allows you to prevent " +"interpolation on an instance in the current physics tick.\n" +"This allows you to move instances instantaneously, and should usually be " +"used when initially placing an instance such as a bullet to prevent " +"graphical glitches." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets all data related to the instances in one go. This is especially useful " "when loading the data from disk or preparing the data from GDNative.\n" "All data is packed in one large float array. An array may look like this: " @@ -34155,6 +34229,18 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"An alternative version of [method MultiMesh.set_as_bulk_array] which can be " +"used with [i]physics interpolation[/i]. This method takes two arrays, and " +"can set the data for the current and previous tick in one go. The renderer " +"will automatically interpolate the data at each frame.\n" +"This is useful for situations where the order of instances may change from " +"physics tick to tick, such as particle systems.\n" +"When the order of instances is coherent, the simpler [method MultiMesh." +"set_as_bulk_array] can still be used with interpolation." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets the color of a specific instance by [i]multiplying[/i] the mesh's " "existing vertex colors.\n" "For the color to take effect, ensure that [member color_format] is non-" @@ -34197,6 +34283,16 @@ msgid "Mesh to be drawn." msgstr "" #: doc/classes/MultiMesh.xml +msgid "" +"Choose whether to use an interpolation method that favors speed or quality.\n" +"When using low physics tick rates (typically below 20) or high rates of " +"object rotation, you may get better results from the high quality setting.\n" +"[b]Note:[/b] Fast quality does not equate to low quality. Except in the " +"special cases mentioned above, the quality should be comparable to high " +"quality." +msgstr "" + +#: doc/classes/MultiMesh.xml msgid "Format of transform used to transform mesh, either 2D or 3D." msgstr "" @@ -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 "" @@ -36545,6 +36653,25 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Returns [code]true[/code] if the physics interpolated flag is set for this " +"Node (see [method set_physics_interpolated]).\n" +"[b]Note:[/b] Interpolation will only be active is both the flag is set " +"[b]and[/b] physics interpolation is enabled within the [SceneTree]. This can " +"be tested using [method is_physics_interpolated_and_enabled]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" +"Returns [code]true[/code] if physics interpolation is enabled (see [method " +"set_physics_interpolated]) [b]and[/b] enabled in the [SceneTree].\n" +"This is a convenience version of [method is_physics_interpolated] that also " +"checks whether physics interpolation is enabled globally.\n" +"See [member SceneTree.physics_interpolation] and [member ProjectSettings." +"physics/common/physics_interpolation]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Returns [code]true[/code] if physics processing is enabled (see [method " "set_physics_process])." msgstr "" @@ -36715,6 +36842,21 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"When physics interpolation is active, moving a node to a radically different " +"transform (such as placement within a level) can result in a visible glitch " +"as the object is rendered moving from the old to new position over the " +"physics tick.\n" +"This glitch can be prevented by calling [code]reset_physics_interpolation[/" +"code], which temporarily turns off interpolation until the physics tick is " +"complete.\n" +"[constant NOTIFICATION_RESET_PHYSICS_INTERPOLATION] will be received by the " +"node and all children recursively.\n" +"[b]Note:[/b] This function should be called [b]after[/b] moving the node, " +"rather than before." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Sends a remote procedure call request for the given [code]method[/code] to " "peers on the network (and locally), optionally sending all additional " "arguments as arguments to the method called by the RPC. The call request " @@ -36815,6 +36957,14 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Enables or disables physics interpolation per node, offering a finer grain " +"of control than turning physics interpolation on and off globally.\n" +"[b]Note:[/b] This can be especially useful for [Camera]s, where custom " +"interpolation can sometimes give superior results." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Enables or disables physics (i.e. fixed framerate) processing. When a node " "is being processed, it will receive a [constant " "NOTIFICATION_PHYSICS_PROCESS] at a fixed (usually 60 FPS, see [member Engine." @@ -37065,6 +37215,12 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Notification received when [method reset_physics_interpolation] is called on " +"the node or parent nodes." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Inherits pause mode from the node's parent. For the root node, it is " "equivalent to [constant PAUSE_MODE_STOP]. Default." msgstr "" @@ -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 @@ -46685,6 +46853,17 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If [code]true[/code], the renderer will interpolate the transforms of " +"physics objects between the last two transforms, such that smooth motion is " +"seen when physics ticks do not coincide with rendered frames.\n" +"[b]Note:[/b] When moving objects to new positions (rather than the usual " +"physics motion) you may want to temporarily turn off interpolation to " +"prevent a visible glitch. You can do this using the [method Node." +"reset_physics_interpolation] function." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Controls how much physics ticks are synchronized with real time. For 0 or " "less, the ticks are synchronized. Such values are recommended for network " "games, where clock synchronization matters. Higher values cause higher " @@ -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 @@ -51283,6 +51469,13 @@ msgstr "" #: doc/classes/SceneTree.xml msgid "" +"Although physics interpolation would normally be globally turned on and off " +"using [member ProjectSettings.physics/common/physics_interpolation], this " +"property allows control over interpolation at runtime." +msgstr "" + +#: doc/classes/SceneTree.xml +msgid "" "If [code]true[/code], the [SceneTree]'s [member network_peer] refuses new " "incoming connections." msgstr "" @@ -52536,6 +52729,18 @@ msgstr "" #: doc/classes/Spatial.xml msgid "" +"When using physics interpolation, there will be circumstances in which you " +"want to know the interpolated (displayed) transform of a node rather than " +"the standard transform (which may only be accurate to the most recent " +"physics tick).\n" +"This is particularly important for frame-based operations that take place in " +"[method Node._process], rather than [method Node._physics_process]. Examples " +"include [Camera]s focusing on a node, or finding where to fire lasers from " +"on a frame rather than physics tick." +msgstr "" + +#: doc/classes/Spatial.xml +msgid "" "Returns the parent [Spatial], or an empty [Object] if no parent exists or " "parent is not of type [Spatial]." msgstr "" @@ -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 @@ -57064,6 +57306,14 @@ msgid "Returns the total width of all gutters and internal padding." msgstr "" #: doc/classes/TextEdit.xml +msgid "Returns the total amount of lines that could be drawn." +msgstr "" + +#: doc/classes/TextEdit.xml +msgid "Returns the number of visible lines, including wrapped text." +msgstr "" + +#: doc/classes/TextEdit.xml msgid "" "Returns a [String] text with the word under the caret (text cursor) location." msgstr "" @@ -58101,6 +58351,12 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Unmarks [code]theme_type[/code] as being a variation of another theme type. " +"See [method set_type_variation]." +msgstr "" + +#: doc/classes/Theme.xml msgid "Sets the theme's values to a copy of the default theme values." msgstr "" @@ -58241,6 +58497,17 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Returns the name of the base theme type if [code]theme_type[/code] is a " +"valid variation type. Returns an empty string otherwise." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" +"Returns a list of all type variations for the given [code]base_type[/code]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Returns [code]true[/code] if [Color] with [code]name[/code] is in " "[code]node_type[/code].\n" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." @@ -58289,6 +58556,12 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Returns [code]true[/code] if [code]theme_type[/code] is marked as a " +"variation of [code]base_type[/code]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Adds missing and overrides existing definitions with values from the " "[code]other[/code] [Theme].\n" "[b]Note:[/b] This modifies the current theme. If you want to merge two " @@ -58384,6 +58657,20 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Marks [code]theme_type[/code] as a variation of [code]base_type[/code].\n" +"This adds [code]theme_type[/code] as a suggested option for [member Control." +"theme_type_variation] on a [Control] that is of the [code]base_type[/code] " +"class.\n" +"Variations can also be nested, i.e. [code]base_type[/code] can be another " +"variation. If a chain of variations ends with a [code]base_type[/code] " +"matching the class of the [Control], the whole chain is going to be " +"suggested as options.\n" +"[b]Note:[/b] Suggestions only show up if this theme resource is set as the " +"project default theme. See [member ProjectSettings.gui/theme/custom]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "The default font of this [Theme] resource. Used as a fallback value for font " "items defined in this theme, but having invalid values. If this value is " "also invalid, the global default value is used.\n" @@ -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 5f8d2afd19..81a14f7e5a 100644 --- a/doc/translations/mr.po +++ b/doc/translations/mr.po @@ -3327,6 +3327,15 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" +"Hints that a string property can be an enumerated value to pick in a list " +"specified via a hint string such as [code]\"Hello,Something,Else\"[/code].\n" +"Unlike [constant PROPERTY_HINT_ENUM] a property with this hint still accepts " +"arbitrary values and can be empty. The list of values serves to suggest " +"possible values." +msgstr "" + +#: doc/classes/@GlobalScope.xml +msgid "" "Hints that a float property should be edited via an exponential easing " "function. The hint string can include [code]\"attenuation\"[/code] to flip " "the curve horizontally and/or [code]\"inout\"[/code] to also include in/out " @@ -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 @@ -9482,26 +9491,10 @@ msgid "" msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Name of the current device for audio input (see [method " -"capture_get_device_list]). The value [code]\"Default\"[/code] means that the " -"system-wide default audio input is currently used." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Returns the names of all audio input devices detected on the system." msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Sets which audio input device is used for audio capture. On systems with " -"multiple audio inputs (such as analog and USB), this can be used to select " -"the audio input device. Setting the value [code]\"Default\"[/code] will " -"record audio from the system-wide default audio input. If an invalid device " -"name is set, the value will be reverted back to [code]\"Default\"[/code]." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Generates an [AudioBusLayout] using the available buses and effects." msgstr "" @@ -9659,6 +9652,16 @@ msgstr "" #: doc/classes/AudioServer.xml msgid "" +"Name of the current device for audio input (see [method get_device_list]). " +"On systems with multiple audio inputs (such as analog, USB and HDMI audio), " +"this can be used to select the audio input device. The value " +"[code]\"Default\"[/code] will record audio on the system-wide default audio " +"input. If an invalid device name is set, the value will be reverted back to " +"[code]\"Default\"[/code]." +msgstr "" + +#: doc/classes/AudioServer.xml +msgid "" "Name of the current device for audio output (see [method get_device_list]). " "On systems with multiple audio outputs (such as analog, USB and HDMI audio), " "this can be used to select the audio output device. The value " @@ -12734,6 +12737,18 @@ msgstr "" #: doc/classes/CanvasLayer.xml msgid "" +"Hides any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]false[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" +"Shows any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]true[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" "The custom [Viewport] node assigned to the [CanvasLayer]. If [code]null[/" "code], uses the default viewport instead." msgstr "" @@ -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 " @@ -16322,6 +16338,25 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "" +"The name of a theme type variation used by this [Control] to look up its own " +"theme items. When empty, the class name of the node is used (e.g. " +"[code]Button[/code] for the [Button] control), as well as the class names of " +"all parent classes (in order of inheritance).\n" +"When set, this property gives the highest priority to the type of the " +"specified name. This type can in turn extend another type, forming a " +"dependency chain. See [method Theme.set_type_variation]. If the theme item " +"cannot be found using this type or its base types, lookup falls back on the " +"class names.\n" +"[b]Note:[/b] To look up [Control]'s own items use various [code]get_*[/code] " +"methods without specifying [code]theme_type[/code].\n" +"[b]Note:[/b] Theme items are looked for in the tree order, from branch to " +"root, where each [Control] node is checked for its [member theme] property. " +"The earliest match against any type/class name is returned. The project-" +"level Theme and the default Theme are checked last." +msgstr "" + +#: doc/classes/Control.xml msgid "Emitted when the node gains keyboard focus." msgstr "" @@ -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 @@ -34122,6 +34187,15 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"When using [i]physics interpolation[/i], this function allows you to prevent " +"interpolation on an instance in the current physics tick.\n" +"This allows you to move instances instantaneously, and should usually be " +"used when initially placing an instance such as a bullet to prevent " +"graphical glitches." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets all data related to the instances in one go. This is especially useful " "when loading the data from disk or preparing the data from GDNative.\n" "All data is packed in one large float array. An array may look like this: " @@ -34135,6 +34209,18 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"An alternative version of [method MultiMesh.set_as_bulk_array] which can be " +"used with [i]physics interpolation[/i]. This method takes two arrays, and " +"can set the data for the current and previous tick in one go. The renderer " +"will automatically interpolate the data at each frame.\n" +"This is useful for situations where the order of instances may change from " +"physics tick to tick, such as particle systems.\n" +"When the order of instances is coherent, the simpler [method MultiMesh." +"set_as_bulk_array] can still be used with interpolation." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets the color of a specific instance by [i]multiplying[/i] the mesh's " "existing vertex colors.\n" "For the color to take effect, ensure that [member color_format] is non-" @@ -34177,6 +34263,16 @@ msgid "Mesh to be drawn." msgstr "" #: doc/classes/MultiMesh.xml +msgid "" +"Choose whether to use an interpolation method that favors speed or quality.\n" +"When using low physics tick rates (typically below 20) or high rates of " +"object rotation, you may get better results from the high quality setting.\n" +"[b]Note:[/b] Fast quality does not equate to low quality. Except in the " +"special cases mentioned above, the quality should be comparable to high " +"quality." +msgstr "" + +#: doc/classes/MultiMesh.xml msgid "Format of transform used to transform mesh, either 2D or 3D." msgstr "" @@ -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 "" @@ -36525,6 +36633,25 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Returns [code]true[/code] if the physics interpolated flag is set for this " +"Node (see [method set_physics_interpolated]).\n" +"[b]Note:[/b] Interpolation will only be active is both the flag is set " +"[b]and[/b] physics interpolation is enabled within the [SceneTree]. This can " +"be tested using [method is_physics_interpolated_and_enabled]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" +"Returns [code]true[/code] if physics interpolation is enabled (see [method " +"set_physics_interpolated]) [b]and[/b] enabled in the [SceneTree].\n" +"This is a convenience version of [method is_physics_interpolated] that also " +"checks whether physics interpolation is enabled globally.\n" +"See [member SceneTree.physics_interpolation] and [member ProjectSettings." +"physics/common/physics_interpolation]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Returns [code]true[/code] if physics processing is enabled (see [method " "set_physics_process])." msgstr "" @@ -36695,6 +36822,21 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"When physics interpolation is active, moving a node to a radically different " +"transform (such as placement within a level) can result in a visible glitch " +"as the object is rendered moving from the old to new position over the " +"physics tick.\n" +"This glitch can be prevented by calling [code]reset_physics_interpolation[/" +"code], which temporarily turns off interpolation until the physics tick is " +"complete.\n" +"[constant NOTIFICATION_RESET_PHYSICS_INTERPOLATION] will be received by the " +"node and all children recursively.\n" +"[b]Note:[/b] This function should be called [b]after[/b] moving the node, " +"rather than before." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Sends a remote procedure call request for the given [code]method[/code] to " "peers on the network (and locally), optionally sending all additional " "arguments as arguments to the method called by the RPC. The call request " @@ -36795,6 +36937,14 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Enables or disables physics interpolation per node, offering a finer grain " +"of control than turning physics interpolation on and off globally.\n" +"[b]Note:[/b] This can be especially useful for [Camera]s, where custom " +"interpolation can sometimes give superior results." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Enables or disables physics (i.e. fixed framerate) processing. When a node " "is being processed, it will receive a [constant " "NOTIFICATION_PHYSICS_PROCESS] at a fixed (usually 60 FPS, see [member Engine." @@ -37045,6 +37195,12 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Notification received when [method reset_physics_interpolation] is called on " +"the node or parent nodes." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Inherits pause mode from the node's parent. For the root node, it is " "equivalent to [constant PAUSE_MODE_STOP]. Default." msgstr "" @@ -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 @@ -46665,6 +46833,17 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If [code]true[/code], the renderer will interpolate the transforms of " +"physics objects between the last two transforms, such that smooth motion is " +"seen when physics ticks do not coincide with rendered frames.\n" +"[b]Note:[/b] When moving objects to new positions (rather than the usual " +"physics motion) you may want to temporarily turn off interpolation to " +"prevent a visible glitch. You can do this using the [method Node." +"reset_physics_interpolation] function." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Controls how much physics ticks are synchronized with real time. For 0 or " "less, the ticks are synchronized. Such values are recommended for network " "games, where clock synchronization matters. Higher values cause higher " @@ -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 @@ -51263,6 +51449,13 @@ msgstr "" #: doc/classes/SceneTree.xml msgid "" +"Although physics interpolation would normally be globally turned on and off " +"using [member ProjectSettings.physics/common/physics_interpolation], this " +"property allows control over interpolation at runtime." +msgstr "" + +#: doc/classes/SceneTree.xml +msgid "" "If [code]true[/code], the [SceneTree]'s [member network_peer] refuses new " "incoming connections." msgstr "" @@ -52516,6 +52709,18 @@ msgstr "" #: doc/classes/Spatial.xml msgid "" +"When using physics interpolation, there will be circumstances in which you " +"want to know the interpolated (displayed) transform of a node rather than " +"the standard transform (which may only be accurate to the most recent " +"physics tick).\n" +"This is particularly important for frame-based operations that take place in " +"[method Node._process], rather than [method Node._physics_process]. Examples " +"include [Camera]s focusing on a node, or finding where to fire lasers from " +"on a frame rather than physics tick." +msgstr "" + +#: doc/classes/Spatial.xml +msgid "" "Returns the parent [Spatial], or an empty [Object] if no parent exists or " "parent is not of type [Spatial]." msgstr "" @@ -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 @@ -57044,6 +57286,14 @@ msgid "Returns the total width of all gutters and internal padding." msgstr "" #: doc/classes/TextEdit.xml +msgid "Returns the total amount of lines that could be drawn." +msgstr "" + +#: doc/classes/TextEdit.xml +msgid "Returns the number of visible lines, including wrapped text." +msgstr "" + +#: doc/classes/TextEdit.xml msgid "" "Returns a [String] text with the word under the caret (text cursor) location." msgstr "" @@ -58081,6 +58331,12 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Unmarks [code]theme_type[/code] as being a variation of another theme type. " +"See [method set_type_variation]." +msgstr "" + +#: doc/classes/Theme.xml msgid "Sets the theme's values to a copy of the default theme values." msgstr "" @@ -58221,6 +58477,17 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Returns the name of the base theme type if [code]theme_type[/code] is a " +"valid variation type. Returns an empty string otherwise." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" +"Returns a list of all type variations for the given [code]base_type[/code]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Returns [code]true[/code] if [Color] with [code]name[/code] is in " "[code]node_type[/code].\n" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." @@ -58269,6 +58536,12 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Returns [code]true[/code] if [code]theme_type[/code] is marked as a " +"variation of [code]base_type[/code]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Adds missing and overrides existing definitions with values from the " "[code]other[/code] [Theme].\n" "[b]Note:[/b] This modifies the current theme. If you want to merge two " @@ -58364,6 +58637,20 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Marks [code]theme_type[/code] as a variation of [code]base_type[/code].\n" +"This adds [code]theme_type[/code] as a suggested option for [member Control." +"theme_type_variation] on a [Control] that is of the [code]base_type[/code] " +"class.\n" +"Variations can also be nested, i.e. [code]base_type[/code] can be another " +"variation. If a chain of variations ends with a [code]base_type[/code] " +"matching the class of the [Control], the whole chain is going to be " +"suggested as options.\n" +"[b]Note:[/b] Suggestions only show up if this theme resource is set as the " +"project default theme. See [member ProjectSettings.gui/theme/custom]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "The default font of this [Theme] resource. Used as a fallback value for font " "items defined in this theme, but having invalid values. If this value is " "also invalid, the global default value is used.\n" @@ -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 4358fdbfc5..8cd83ba148 100644 --- a/doc/translations/nb.po +++ b/doc/translations/nb.po @@ -3339,6 +3339,15 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" +"Hints that a string property can be an enumerated value to pick in a list " +"specified via a hint string such as [code]\"Hello,Something,Else\"[/code].\n" +"Unlike [constant PROPERTY_HINT_ENUM] a property with this hint still accepts " +"arbitrary values and can be empty. The list of values serves to suggest " +"possible values." +msgstr "" + +#: doc/classes/@GlobalScope.xml +msgid "" "Hints that a float property should be edited via an exponential easing " "function. The hint string can include [code]\"attenuation\"[/code] to flip " "the curve horizontally and/or [code]\"inout\"[/code] to also include in/out " @@ -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 @@ -9494,26 +9503,10 @@ msgid "" msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Name of the current device for audio input (see [method " -"capture_get_device_list]). The value [code]\"Default\"[/code] means that the " -"system-wide default audio input is currently used." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Returns the names of all audio input devices detected on the system." msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Sets which audio input device is used for audio capture. On systems with " -"multiple audio inputs (such as analog and USB), this can be used to select " -"the audio input device. Setting the value [code]\"Default\"[/code] will " -"record audio from the system-wide default audio input. If an invalid device " -"name is set, the value will be reverted back to [code]\"Default\"[/code]." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Generates an [AudioBusLayout] using the available buses and effects." msgstr "" @@ -9671,6 +9664,16 @@ msgstr "" #: doc/classes/AudioServer.xml msgid "" +"Name of the current device for audio input (see [method get_device_list]). " +"On systems with multiple audio inputs (such as analog, USB and HDMI audio), " +"this can be used to select the audio input device. The value " +"[code]\"Default\"[/code] will record audio on the system-wide default audio " +"input. If an invalid device name is set, the value will be reverted back to " +"[code]\"Default\"[/code]." +msgstr "" + +#: doc/classes/AudioServer.xml +msgid "" "Name of the current device for audio output (see [method get_device_list]). " "On systems with multiple audio outputs (such as analog, USB and HDMI audio), " "this can be used to select the audio output device. The value " @@ -12746,6 +12749,18 @@ msgstr "" #: doc/classes/CanvasLayer.xml msgid "" +"Hides any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]false[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" +"Shows any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]true[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" "The custom [Viewport] node assigned to the [CanvasLayer]. If [code]null[/" "code], uses the default viewport instead." msgstr "" @@ -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 " @@ -16334,6 +16350,25 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "" +"The name of a theme type variation used by this [Control] to look up its own " +"theme items. When empty, the class name of the node is used (e.g. " +"[code]Button[/code] for the [Button] control), as well as the class names of " +"all parent classes (in order of inheritance).\n" +"When set, this property gives the highest priority to the type of the " +"specified name. This type can in turn extend another type, forming a " +"dependency chain. See [method Theme.set_type_variation]. If the theme item " +"cannot be found using this type or its base types, lookup falls back on the " +"class names.\n" +"[b]Note:[/b] To look up [Control]'s own items use various [code]get_*[/code] " +"methods without specifying [code]theme_type[/code].\n" +"[b]Note:[/b] Theme items are looked for in the tree order, from branch to " +"root, where each [Control] node is checked for its [member theme] property. " +"The earliest match against any type/class name is returned. The project-" +"level Theme and the default Theme are checked last." +msgstr "" + +#: doc/classes/Control.xml msgid "Emitted when the node gains keyboard focus." msgstr "" @@ -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 @@ -34134,6 +34199,15 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"When using [i]physics interpolation[/i], this function allows you to prevent " +"interpolation on an instance in the current physics tick.\n" +"This allows you to move instances instantaneously, and should usually be " +"used when initially placing an instance such as a bullet to prevent " +"graphical glitches." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets all data related to the instances in one go. This is especially useful " "when loading the data from disk or preparing the data from GDNative.\n" "All data is packed in one large float array. An array may look like this: " @@ -34147,6 +34221,18 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"An alternative version of [method MultiMesh.set_as_bulk_array] which can be " +"used with [i]physics interpolation[/i]. This method takes two arrays, and " +"can set the data for the current and previous tick in one go. The renderer " +"will automatically interpolate the data at each frame.\n" +"This is useful for situations where the order of instances may change from " +"physics tick to tick, such as particle systems.\n" +"When the order of instances is coherent, the simpler [method MultiMesh." +"set_as_bulk_array] can still be used with interpolation." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets the color of a specific instance by [i]multiplying[/i] the mesh's " "existing vertex colors.\n" "For the color to take effect, ensure that [member color_format] is non-" @@ -34189,6 +34275,16 @@ msgid "Mesh to be drawn." msgstr "" #: doc/classes/MultiMesh.xml +msgid "" +"Choose whether to use an interpolation method that favors speed or quality.\n" +"When using low physics tick rates (typically below 20) or high rates of " +"object rotation, you may get better results from the high quality setting.\n" +"[b]Note:[/b] Fast quality does not equate to low quality. Except in the " +"special cases mentioned above, the quality should be comparable to high " +"quality." +msgstr "" + +#: doc/classes/MultiMesh.xml msgid "Format of transform used to transform mesh, either 2D or 3D." msgstr "" @@ -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 "" @@ -36537,6 +36645,25 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Returns [code]true[/code] if the physics interpolated flag is set for this " +"Node (see [method set_physics_interpolated]).\n" +"[b]Note:[/b] Interpolation will only be active is both the flag is set " +"[b]and[/b] physics interpolation is enabled within the [SceneTree]. This can " +"be tested using [method is_physics_interpolated_and_enabled]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" +"Returns [code]true[/code] if physics interpolation is enabled (see [method " +"set_physics_interpolated]) [b]and[/b] enabled in the [SceneTree].\n" +"This is a convenience version of [method is_physics_interpolated] that also " +"checks whether physics interpolation is enabled globally.\n" +"See [member SceneTree.physics_interpolation] and [member ProjectSettings." +"physics/common/physics_interpolation]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Returns [code]true[/code] if physics processing is enabled (see [method " "set_physics_process])." msgstr "" @@ -36707,6 +36834,21 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"When physics interpolation is active, moving a node to a radically different " +"transform (such as placement within a level) can result in a visible glitch " +"as the object is rendered moving from the old to new position over the " +"physics tick.\n" +"This glitch can be prevented by calling [code]reset_physics_interpolation[/" +"code], which temporarily turns off interpolation until the physics tick is " +"complete.\n" +"[constant NOTIFICATION_RESET_PHYSICS_INTERPOLATION] will be received by the " +"node and all children recursively.\n" +"[b]Note:[/b] This function should be called [b]after[/b] moving the node, " +"rather than before." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Sends a remote procedure call request for the given [code]method[/code] to " "peers on the network (and locally), optionally sending all additional " "arguments as arguments to the method called by the RPC. The call request " @@ -36807,6 +36949,14 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Enables or disables physics interpolation per node, offering a finer grain " +"of control than turning physics interpolation on and off globally.\n" +"[b]Note:[/b] This can be especially useful for [Camera]s, where custom " +"interpolation can sometimes give superior results." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Enables or disables physics (i.e. fixed framerate) processing. When a node " "is being processed, it will receive a [constant " "NOTIFICATION_PHYSICS_PROCESS] at a fixed (usually 60 FPS, see [member Engine." @@ -37057,6 +37207,12 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Notification received when [method reset_physics_interpolation] is called on " +"the node or parent nodes." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Inherits pause mode from the node's parent. For the root node, it is " "equivalent to [constant PAUSE_MODE_STOP]. Default." msgstr "" @@ -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 @@ -46677,6 +46845,17 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If [code]true[/code], the renderer will interpolate the transforms of " +"physics objects between the last two transforms, such that smooth motion is " +"seen when physics ticks do not coincide with rendered frames.\n" +"[b]Note:[/b] When moving objects to new positions (rather than the usual " +"physics motion) you may want to temporarily turn off interpolation to " +"prevent a visible glitch. You can do this using the [method Node." +"reset_physics_interpolation] function." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Controls how much physics ticks are synchronized with real time. For 0 or " "less, the ticks are synchronized. Such values are recommended for network " "games, where clock synchronization matters. Higher values cause higher " @@ -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 @@ -51275,6 +51461,13 @@ msgstr "" #: doc/classes/SceneTree.xml msgid "" +"Although physics interpolation would normally be globally turned on and off " +"using [member ProjectSettings.physics/common/physics_interpolation], this " +"property allows control over interpolation at runtime." +msgstr "" + +#: doc/classes/SceneTree.xml +msgid "" "If [code]true[/code], the [SceneTree]'s [member network_peer] refuses new " "incoming connections." msgstr "" @@ -52528,6 +52721,18 @@ msgstr "" #: doc/classes/Spatial.xml msgid "" +"When using physics interpolation, there will be circumstances in which you " +"want to know the interpolated (displayed) transform of a node rather than " +"the standard transform (which may only be accurate to the most recent " +"physics tick).\n" +"This is particularly important for frame-based operations that take place in " +"[method Node._process], rather than [method Node._physics_process]. Examples " +"include [Camera]s focusing on a node, or finding where to fire lasers from " +"on a frame rather than physics tick." +msgstr "" + +#: doc/classes/Spatial.xml +msgid "" "Returns the parent [Spatial], or an empty [Object] if no parent exists or " "parent is not of type [Spatial]." msgstr "" @@ -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 @@ -57056,6 +57298,14 @@ msgid "Returns the total width of all gutters and internal padding." msgstr "" #: doc/classes/TextEdit.xml +msgid "Returns the total amount of lines that could be drawn." +msgstr "" + +#: doc/classes/TextEdit.xml +msgid "Returns the number of visible lines, including wrapped text." +msgstr "" + +#: doc/classes/TextEdit.xml msgid "" "Returns a [String] text with the word under the caret (text cursor) location." msgstr "" @@ -58093,6 +58343,12 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Unmarks [code]theme_type[/code] as being a variation of another theme type. " +"See [method set_type_variation]." +msgstr "" + +#: doc/classes/Theme.xml msgid "Sets the theme's values to a copy of the default theme values." msgstr "" @@ -58233,6 +58489,17 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Returns the name of the base theme type if [code]theme_type[/code] is a " +"valid variation type. Returns an empty string otherwise." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" +"Returns a list of all type variations for the given [code]base_type[/code]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Returns [code]true[/code] if [Color] with [code]name[/code] is in " "[code]node_type[/code].\n" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." @@ -58281,6 +58548,12 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Returns [code]true[/code] if [code]theme_type[/code] is marked as a " +"variation of [code]base_type[/code]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Adds missing and overrides existing definitions with values from the " "[code]other[/code] [Theme].\n" "[b]Note:[/b] This modifies the current theme. If you want to merge two " @@ -58376,6 +58649,20 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Marks [code]theme_type[/code] as a variation of [code]base_type[/code].\n" +"This adds [code]theme_type[/code] as a suggested option for [member Control." +"theme_type_variation] on a [Control] that is of the [code]base_type[/code] " +"class.\n" +"Variations can also be nested, i.e. [code]base_type[/code] can be another " +"variation. If a chain of variations ends with a [code]base_type[/code] " +"matching the class of the [Control], the whole chain is going to be " +"suggested as options.\n" +"[b]Note:[/b] Suggestions only show up if this theme resource is set as the " +"project default theme. See [member ProjectSettings.gui/theme/custom]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "The default font of this [Theme] resource. Used as a fallback value for font " "items defined in this theme, but having invalid values. If this value is " "also invalid, the global default value is used.\n" @@ -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 d277e5da73..dcc8e21951 100644 --- a/doc/translations/ne.po +++ b/doc/translations/ne.po @@ -3327,6 +3327,15 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" +"Hints that a string property can be an enumerated value to pick in a list " +"specified via a hint string such as [code]\"Hello,Something,Else\"[/code].\n" +"Unlike [constant PROPERTY_HINT_ENUM] a property with this hint still accepts " +"arbitrary values and can be empty. The list of values serves to suggest " +"possible values." +msgstr "" + +#: doc/classes/@GlobalScope.xml +msgid "" "Hints that a float property should be edited via an exponential easing " "function. The hint string can include [code]\"attenuation\"[/code] to flip " "the curve horizontally and/or [code]\"inout\"[/code] to also include in/out " @@ -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 @@ -9482,26 +9491,10 @@ msgid "" msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Name of the current device for audio input (see [method " -"capture_get_device_list]). The value [code]\"Default\"[/code] means that the " -"system-wide default audio input is currently used." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Returns the names of all audio input devices detected on the system." msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Sets which audio input device is used for audio capture. On systems with " -"multiple audio inputs (such as analog and USB), this can be used to select " -"the audio input device. Setting the value [code]\"Default\"[/code] will " -"record audio from the system-wide default audio input. If an invalid device " -"name is set, the value will be reverted back to [code]\"Default\"[/code]." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Generates an [AudioBusLayout] using the available buses and effects." msgstr "" @@ -9659,6 +9652,16 @@ msgstr "" #: doc/classes/AudioServer.xml msgid "" +"Name of the current device for audio input (see [method get_device_list]). " +"On systems with multiple audio inputs (such as analog, USB and HDMI audio), " +"this can be used to select the audio input device. The value " +"[code]\"Default\"[/code] will record audio on the system-wide default audio " +"input. If an invalid device name is set, the value will be reverted back to " +"[code]\"Default\"[/code]." +msgstr "" + +#: doc/classes/AudioServer.xml +msgid "" "Name of the current device for audio output (see [method get_device_list]). " "On systems with multiple audio outputs (such as analog, USB and HDMI audio), " "this can be used to select the audio output device. The value " @@ -12734,6 +12737,18 @@ msgstr "" #: doc/classes/CanvasLayer.xml msgid "" +"Hides any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]false[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" +"Shows any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]true[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" "The custom [Viewport] node assigned to the [CanvasLayer]. If [code]null[/" "code], uses the default viewport instead." msgstr "" @@ -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 " @@ -16322,6 +16338,25 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "" +"The name of a theme type variation used by this [Control] to look up its own " +"theme items. When empty, the class name of the node is used (e.g. " +"[code]Button[/code] for the [Button] control), as well as the class names of " +"all parent classes (in order of inheritance).\n" +"When set, this property gives the highest priority to the type of the " +"specified name. This type can in turn extend another type, forming a " +"dependency chain. See [method Theme.set_type_variation]. If the theme item " +"cannot be found using this type or its base types, lookup falls back on the " +"class names.\n" +"[b]Note:[/b] To look up [Control]'s own items use various [code]get_*[/code] " +"methods without specifying [code]theme_type[/code].\n" +"[b]Note:[/b] Theme items are looked for in the tree order, from branch to " +"root, where each [Control] node is checked for its [member theme] property. " +"The earliest match against any type/class name is returned. The project-" +"level Theme and the default Theme are checked last." +msgstr "" + +#: doc/classes/Control.xml msgid "Emitted when the node gains keyboard focus." msgstr "" @@ -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 @@ -34122,6 +34187,15 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"When using [i]physics interpolation[/i], this function allows you to prevent " +"interpolation on an instance in the current physics tick.\n" +"This allows you to move instances instantaneously, and should usually be " +"used when initially placing an instance such as a bullet to prevent " +"graphical glitches." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets all data related to the instances in one go. This is especially useful " "when loading the data from disk or preparing the data from GDNative.\n" "All data is packed in one large float array. An array may look like this: " @@ -34135,6 +34209,18 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"An alternative version of [method MultiMesh.set_as_bulk_array] which can be " +"used with [i]physics interpolation[/i]. This method takes two arrays, and " +"can set the data for the current and previous tick in one go. The renderer " +"will automatically interpolate the data at each frame.\n" +"This is useful for situations where the order of instances may change from " +"physics tick to tick, such as particle systems.\n" +"When the order of instances is coherent, the simpler [method MultiMesh." +"set_as_bulk_array] can still be used with interpolation." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets the color of a specific instance by [i]multiplying[/i] the mesh's " "existing vertex colors.\n" "For the color to take effect, ensure that [member color_format] is non-" @@ -34177,6 +34263,16 @@ msgid "Mesh to be drawn." msgstr "" #: doc/classes/MultiMesh.xml +msgid "" +"Choose whether to use an interpolation method that favors speed or quality.\n" +"When using low physics tick rates (typically below 20) or high rates of " +"object rotation, you may get better results from the high quality setting.\n" +"[b]Note:[/b] Fast quality does not equate to low quality. Except in the " +"special cases mentioned above, the quality should be comparable to high " +"quality." +msgstr "" + +#: doc/classes/MultiMesh.xml msgid "Format of transform used to transform mesh, either 2D or 3D." msgstr "" @@ -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 "" @@ -36525,6 +36633,25 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Returns [code]true[/code] if the physics interpolated flag is set for this " +"Node (see [method set_physics_interpolated]).\n" +"[b]Note:[/b] Interpolation will only be active is both the flag is set " +"[b]and[/b] physics interpolation is enabled within the [SceneTree]. This can " +"be tested using [method is_physics_interpolated_and_enabled]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" +"Returns [code]true[/code] if physics interpolation is enabled (see [method " +"set_physics_interpolated]) [b]and[/b] enabled in the [SceneTree].\n" +"This is a convenience version of [method is_physics_interpolated] that also " +"checks whether physics interpolation is enabled globally.\n" +"See [member SceneTree.physics_interpolation] and [member ProjectSettings." +"physics/common/physics_interpolation]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Returns [code]true[/code] if physics processing is enabled (see [method " "set_physics_process])." msgstr "" @@ -36695,6 +36822,21 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"When physics interpolation is active, moving a node to a radically different " +"transform (such as placement within a level) can result in a visible glitch " +"as the object is rendered moving from the old to new position over the " +"physics tick.\n" +"This glitch can be prevented by calling [code]reset_physics_interpolation[/" +"code], which temporarily turns off interpolation until the physics tick is " +"complete.\n" +"[constant NOTIFICATION_RESET_PHYSICS_INTERPOLATION] will be received by the " +"node and all children recursively.\n" +"[b]Note:[/b] This function should be called [b]after[/b] moving the node, " +"rather than before." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Sends a remote procedure call request for the given [code]method[/code] to " "peers on the network (and locally), optionally sending all additional " "arguments as arguments to the method called by the RPC. The call request " @@ -36795,6 +36937,14 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Enables or disables physics interpolation per node, offering a finer grain " +"of control than turning physics interpolation on and off globally.\n" +"[b]Note:[/b] This can be especially useful for [Camera]s, where custom " +"interpolation can sometimes give superior results." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Enables or disables physics (i.e. fixed framerate) processing. When a node " "is being processed, it will receive a [constant " "NOTIFICATION_PHYSICS_PROCESS] at a fixed (usually 60 FPS, see [member Engine." @@ -37045,6 +37195,12 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Notification received when [method reset_physics_interpolation] is called on " +"the node or parent nodes." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Inherits pause mode from the node's parent. For the root node, it is " "equivalent to [constant PAUSE_MODE_STOP]. Default." msgstr "" @@ -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 @@ -46665,6 +46833,17 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If [code]true[/code], the renderer will interpolate the transforms of " +"physics objects between the last two transforms, such that smooth motion is " +"seen when physics ticks do not coincide with rendered frames.\n" +"[b]Note:[/b] When moving objects to new positions (rather than the usual " +"physics motion) you may want to temporarily turn off interpolation to " +"prevent a visible glitch. You can do this using the [method Node." +"reset_physics_interpolation] function." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Controls how much physics ticks are synchronized with real time. For 0 or " "less, the ticks are synchronized. Such values are recommended for network " "games, where clock synchronization matters. Higher values cause higher " @@ -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 @@ -51263,6 +51449,13 @@ msgstr "" #: doc/classes/SceneTree.xml msgid "" +"Although physics interpolation would normally be globally turned on and off " +"using [member ProjectSettings.physics/common/physics_interpolation], this " +"property allows control over interpolation at runtime." +msgstr "" + +#: doc/classes/SceneTree.xml +msgid "" "If [code]true[/code], the [SceneTree]'s [member network_peer] refuses new " "incoming connections." msgstr "" @@ -52516,6 +52709,18 @@ msgstr "" #: doc/classes/Spatial.xml msgid "" +"When using physics interpolation, there will be circumstances in which you " +"want to know the interpolated (displayed) transform of a node rather than " +"the standard transform (which may only be accurate to the most recent " +"physics tick).\n" +"This is particularly important for frame-based operations that take place in " +"[method Node._process], rather than [method Node._physics_process]. Examples " +"include [Camera]s focusing on a node, or finding where to fire lasers from " +"on a frame rather than physics tick." +msgstr "" + +#: doc/classes/Spatial.xml +msgid "" "Returns the parent [Spatial], or an empty [Object] if no parent exists or " "parent is not of type [Spatial]." msgstr "" @@ -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 @@ -57044,6 +57286,14 @@ msgid "Returns the total width of all gutters and internal padding." msgstr "" #: doc/classes/TextEdit.xml +msgid "Returns the total amount of lines that could be drawn." +msgstr "" + +#: doc/classes/TextEdit.xml +msgid "Returns the number of visible lines, including wrapped text." +msgstr "" + +#: doc/classes/TextEdit.xml msgid "" "Returns a [String] text with the word under the caret (text cursor) location." msgstr "" @@ -58081,6 +58331,12 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Unmarks [code]theme_type[/code] as being a variation of another theme type. " +"See [method set_type_variation]." +msgstr "" + +#: doc/classes/Theme.xml msgid "Sets the theme's values to a copy of the default theme values." msgstr "" @@ -58221,6 +58477,17 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Returns the name of the base theme type if [code]theme_type[/code] is a " +"valid variation type. Returns an empty string otherwise." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" +"Returns a list of all type variations for the given [code]base_type[/code]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Returns [code]true[/code] if [Color] with [code]name[/code] is in " "[code]node_type[/code].\n" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." @@ -58269,6 +58536,12 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Returns [code]true[/code] if [code]theme_type[/code] is marked as a " +"variation of [code]base_type[/code]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Adds missing and overrides existing definitions with values from the " "[code]other[/code] [Theme].\n" "[b]Note:[/b] This modifies the current theme. If you want to merge two " @@ -58364,6 +58637,20 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Marks [code]theme_type[/code] as a variation of [code]base_type[/code].\n" +"This adds [code]theme_type[/code] as a suggested option for [member Control." +"theme_type_variation] on a [Control] that is of the [code]base_type[/code] " +"class.\n" +"Variations can also be nested, i.e. [code]base_type[/code] can be another " +"variation. If a chain of variations ends with a [code]base_type[/code] " +"matching the class of the [Control], the whole chain is going to be " +"suggested as options.\n" +"[b]Note:[/b] Suggestions only show up if this theme resource is set as the " +"project default theme. See [member ProjectSettings.gui/theme/custom]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "The default font of this [Theme] resource. Used as a fallback value for font " "items defined in this theme, but having invalid values. If this value is " "also invalid, the global default value is used.\n" @@ -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 d725a7872e..7095944510 100644 --- a/doc/translations/nl.po +++ b/doc/translations/nl.po @@ -3378,6 +3378,15 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" +"Hints that a string property can be an enumerated value to pick in a list " +"specified via a hint string such as [code]\"Hello,Something,Else\"[/code].\n" +"Unlike [constant PROPERTY_HINT_ENUM] a property with this hint still accepts " +"arbitrary values and can be empty. The list of values serves to suggest " +"possible values." +msgstr "" + +#: doc/classes/@GlobalScope.xml +msgid "" "Hints that a float property should be edited via an exponential easing " "function. The hint string can include [code]\"attenuation\"[/code] to flip " "the curve horizontally and/or [code]\"inout\"[/code] to also include in/out " @@ -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 @@ -9533,26 +9542,10 @@ msgid "" msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Name of the current device for audio input (see [method " -"capture_get_device_list]). The value [code]\"Default\"[/code] means that the " -"system-wide default audio input is currently used." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Returns the names of all audio input devices detected on the system." msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Sets which audio input device is used for audio capture. On systems with " -"multiple audio inputs (such as analog and USB), this can be used to select " -"the audio input device. Setting the value [code]\"Default\"[/code] will " -"record audio from the system-wide default audio input. If an invalid device " -"name is set, the value will be reverted back to [code]\"Default\"[/code]." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Generates an [AudioBusLayout] using the available buses and effects." msgstr "" @@ -9710,6 +9703,16 @@ msgstr "" #: doc/classes/AudioServer.xml msgid "" +"Name of the current device for audio input (see [method get_device_list]). " +"On systems with multiple audio inputs (such as analog, USB and HDMI audio), " +"this can be used to select the audio input device. The value " +"[code]\"Default\"[/code] will record audio on the system-wide default audio " +"input. If an invalid device name is set, the value will be reverted back to " +"[code]\"Default\"[/code]." +msgstr "" + +#: doc/classes/AudioServer.xml +msgid "" "Name of the current device for audio output (see [method get_device_list]). " "On systems with multiple audio outputs (such as analog, USB and HDMI audio), " "this can be used to select the audio output device. The value " @@ -12785,6 +12788,18 @@ msgstr "" #: doc/classes/CanvasLayer.xml msgid "" +"Hides any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]false[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" +"Shows any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]true[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" "The custom [Viewport] node assigned to the [CanvasLayer]. If [code]null[/" "code], uses the default viewport instead." msgstr "" @@ -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 " @@ -16373,6 +16389,25 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "" +"The name of a theme type variation used by this [Control] to look up its own " +"theme items. When empty, the class name of the node is used (e.g. " +"[code]Button[/code] for the [Button] control), as well as the class names of " +"all parent classes (in order of inheritance).\n" +"When set, this property gives the highest priority to the type of the " +"specified name. This type can in turn extend another type, forming a " +"dependency chain. See [method Theme.set_type_variation]. If the theme item " +"cannot be found using this type or its base types, lookup falls back on the " +"class names.\n" +"[b]Note:[/b] To look up [Control]'s own items use various [code]get_*[/code] " +"methods without specifying [code]theme_type[/code].\n" +"[b]Note:[/b] Theme items are looked for in the tree order, from branch to " +"root, where each [Control] node is checked for its [member theme] property. " +"The earliest match against any type/class name is returned. The project-" +"level Theme and the default Theme are checked last." +msgstr "" + +#: doc/classes/Control.xml msgid "Emitted when the node gains keyboard focus." msgstr "" @@ -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 @@ -34176,6 +34241,15 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"When using [i]physics interpolation[/i], this function allows you to prevent " +"interpolation on an instance in the current physics tick.\n" +"This allows you to move instances instantaneously, and should usually be " +"used when initially placing an instance such as a bullet to prevent " +"graphical glitches." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets all data related to the instances in one go. This is especially useful " "when loading the data from disk or preparing the data from GDNative.\n" "All data is packed in one large float array. An array may look like this: " @@ -34189,6 +34263,18 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"An alternative version of [method MultiMesh.set_as_bulk_array] which can be " +"used with [i]physics interpolation[/i]. This method takes two arrays, and " +"can set the data for the current and previous tick in one go. The renderer " +"will automatically interpolate the data at each frame.\n" +"This is useful for situations where the order of instances may change from " +"physics tick to tick, such as particle systems.\n" +"When the order of instances is coherent, the simpler [method MultiMesh." +"set_as_bulk_array] can still be used with interpolation." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets the color of a specific instance by [i]multiplying[/i] the mesh's " "existing vertex colors.\n" "For the color to take effect, ensure that [member color_format] is non-" @@ -34231,6 +34317,16 @@ msgid "Mesh to be drawn." msgstr "" #: doc/classes/MultiMesh.xml +msgid "" +"Choose whether to use an interpolation method that favors speed or quality.\n" +"When using low physics tick rates (typically below 20) or high rates of " +"object rotation, you may get better results from the high quality setting.\n" +"[b]Note:[/b] Fast quality does not equate to low quality. Except in the " +"special cases mentioned above, the quality should be comparable to high " +"quality." +msgstr "" + +#: doc/classes/MultiMesh.xml msgid "Format of transform used to transform mesh, either 2D or 3D." msgstr "" @@ -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 "" @@ -36579,6 +36687,25 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Returns [code]true[/code] if the physics interpolated flag is set for this " +"Node (see [method set_physics_interpolated]).\n" +"[b]Note:[/b] Interpolation will only be active is both the flag is set " +"[b]and[/b] physics interpolation is enabled within the [SceneTree]. This can " +"be tested using [method is_physics_interpolated_and_enabled]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" +"Returns [code]true[/code] if physics interpolation is enabled (see [method " +"set_physics_interpolated]) [b]and[/b] enabled in the [SceneTree].\n" +"This is a convenience version of [method is_physics_interpolated] that also " +"checks whether physics interpolation is enabled globally.\n" +"See [member SceneTree.physics_interpolation] and [member ProjectSettings." +"physics/common/physics_interpolation]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Returns [code]true[/code] if physics processing is enabled (see [method " "set_physics_process])." msgstr "" @@ -36749,6 +36876,21 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"When physics interpolation is active, moving a node to a radically different " +"transform (such as placement within a level) can result in a visible glitch " +"as the object is rendered moving from the old to new position over the " +"physics tick.\n" +"This glitch can be prevented by calling [code]reset_physics_interpolation[/" +"code], which temporarily turns off interpolation until the physics tick is " +"complete.\n" +"[constant NOTIFICATION_RESET_PHYSICS_INTERPOLATION] will be received by the " +"node and all children recursively.\n" +"[b]Note:[/b] This function should be called [b]after[/b] moving the node, " +"rather than before." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Sends a remote procedure call request for the given [code]method[/code] to " "peers on the network (and locally), optionally sending all additional " "arguments as arguments to the method called by the RPC. The call request " @@ -36849,6 +36991,14 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Enables or disables physics interpolation per node, offering a finer grain " +"of control than turning physics interpolation on and off globally.\n" +"[b]Note:[/b] This can be especially useful for [Camera]s, where custom " +"interpolation can sometimes give superior results." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Enables or disables physics (i.e. fixed framerate) processing. When a node " "is being processed, it will receive a [constant " "NOTIFICATION_PHYSICS_PROCESS] at a fixed (usually 60 FPS, see [member Engine." @@ -37099,6 +37249,12 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Notification received when [method reset_physics_interpolation] is called on " +"the node or parent nodes." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Inherits pause mode from the node's parent. For the root node, it is " "equivalent to [constant PAUSE_MODE_STOP]. Default." msgstr "" @@ -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 @@ -46719,6 +46887,17 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If [code]true[/code], the renderer will interpolate the transforms of " +"physics objects between the last two transforms, such that smooth motion is " +"seen when physics ticks do not coincide with rendered frames.\n" +"[b]Note:[/b] When moving objects to new positions (rather than the usual " +"physics motion) you may want to temporarily turn off interpolation to " +"prevent a visible glitch. You can do this using the [method Node." +"reset_physics_interpolation] function." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Controls how much physics ticks are synchronized with real time. For 0 or " "less, the ticks are synchronized. Such values are recommended for network " "games, where clock synchronization matters. Higher values cause higher " @@ -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 @@ -51318,6 +51504,13 @@ msgstr "" #: doc/classes/SceneTree.xml msgid "" +"Although physics interpolation would normally be globally turned on and off " +"using [member ProjectSettings.physics/common/physics_interpolation], this " +"property allows control over interpolation at runtime." +msgstr "" + +#: doc/classes/SceneTree.xml +msgid "" "If [code]true[/code], the [SceneTree]'s [member network_peer] refuses new " "incoming connections." msgstr "" @@ -52571,6 +52764,18 @@ msgstr "" #: doc/classes/Spatial.xml msgid "" +"When using physics interpolation, there will be circumstances in which you " +"want to know the interpolated (displayed) transform of a node rather than " +"the standard transform (which may only be accurate to the most recent " +"physics tick).\n" +"This is particularly important for frame-based operations that take place in " +"[method Node._process], rather than [method Node._physics_process]. Examples " +"include [Camera]s focusing on a node, or finding where to fire lasers from " +"on a frame rather than physics tick." +msgstr "" + +#: doc/classes/Spatial.xml +msgid "" "Returns the parent [Spatial], or an empty [Object] if no parent exists or " "parent is not of type [Spatial]." msgstr "" @@ -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 @@ -57099,6 +57341,14 @@ msgid "Returns the total width of all gutters and internal padding." msgstr "" #: doc/classes/TextEdit.xml +msgid "Returns the total amount of lines that could be drawn." +msgstr "" + +#: doc/classes/TextEdit.xml +msgid "Returns the number of visible lines, including wrapped text." +msgstr "" + +#: doc/classes/TextEdit.xml msgid "" "Returns a [String] text with the word under the caret (text cursor) location." msgstr "" @@ -58136,6 +58386,12 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Unmarks [code]theme_type[/code] as being a variation of another theme type. " +"See [method set_type_variation]." +msgstr "" + +#: doc/classes/Theme.xml msgid "Sets the theme's values to a copy of the default theme values." msgstr "" @@ -58276,6 +58532,17 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Returns the name of the base theme type if [code]theme_type[/code] is a " +"valid variation type. Returns an empty string otherwise." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" +"Returns a list of all type variations for the given [code]base_type[/code]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Returns [code]true[/code] if [Color] with [code]name[/code] is in " "[code]node_type[/code].\n" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." @@ -58324,6 +58591,12 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Returns [code]true[/code] if [code]theme_type[/code] is marked as a " +"variation of [code]base_type[/code]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Adds missing and overrides existing definitions with values from the " "[code]other[/code] [Theme].\n" "[b]Note:[/b] This modifies the current theme. If you want to merge two " @@ -58419,6 +58692,20 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Marks [code]theme_type[/code] as a variation of [code]base_type[/code].\n" +"This adds [code]theme_type[/code] as a suggested option for [member Control." +"theme_type_variation] on a [Control] that is of the [code]base_type[/code] " +"class.\n" +"Variations can also be nested, i.e. [code]base_type[/code] can be another " +"variation. If a chain of variations ends with a [code]base_type[/code] " +"matching the class of the [Control], the whole chain is going to be " +"suggested as options.\n" +"[b]Note:[/b] Suggestions only show up if this theme resource is set as the " +"project default theme. See [member ProjectSettings.gui/theme/custom]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "The default font of this [Theme] resource. Used as a fallback value for font " "items defined in this theme, but having invalid values. If this value is " "also invalid, the global default value is used.\n" @@ -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 ef534544e1..615d1ff53f 100644 --- a/doc/translations/pl.po +++ b/doc/translations/pl.po @@ -11,7 +11,7 @@ # Larix_45 <milarczek2004@gmail.com>, 2020. # Mateusz Grzonka <alpinus4@gmail.com>, 2020. # Michał Borowiec <hello@michal-borowiec.pl>, 2021. -# Suchy Talerz <kacperkubis06@gmail.com>, 2021. +# Suchy Talerz <kacperkubis06@gmail.com>, 2021, 2022. # Seppo Day <piszczatowskis@gmail.com>, 2021. # cerkiewny <mstarzycki@gmail.com>, 2021. # Dominik Mielcarek <fogbpl@gmail.com>, 2021. @@ -19,12 +19,14 @@ # Tomasz Piechocki <t.piechocki@yahoo.com>, 2021. # DeiranZ <jwabik322@gmail.com>, 2022. # Piotr <promantix@gmail.com>, 2022. +# lewando54 <lewando54@gmail.com>, 2022. +# Katarzyna Twardowska <katarina.twardowska@gmail.com>, 2022. msgid "" msgstr "" "Project-Id-Version: Godot Engine class reference\n" "Report-Msgid-Bugs-To: https://github.com/godotengine/godot\n" -"PO-Revision-Date: 2022-01-19 22:07+0000\n" -"Last-Translator: Piotr <promantix@gmail.com>\n" +"PO-Revision-Date: 2022-03-08 06:54+0000\n" +"Last-Translator: Katarzyna Twardowska <katarina.twardowska@gmail.com>\n" "Language-Team: Polish <https://hosted.weblate.org/projects/godot-engine/" "godot-class-reference/pl/>\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" @@ -3800,6 +3802,15 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" +"Hints that a string property can be an enumerated value to pick in a list " +"specified via a hint string such as [code]\"Hello,Something,Else\"[/code].\n" +"Unlike [constant PROPERTY_HINT_ENUM] a property with this hint still accepts " +"arbitrary values and can be empty. The list of values serves to suggest " +"possible values." +msgstr "" + +#: doc/classes/@GlobalScope.xml +msgid "" "Hints that a float property should be edited via an exponential easing " "function. The hint string can include [code]\"attenuation\"[/code] to flip " "the curve horizontally and/or [code]\"inout\"[/code] to also include in/out " @@ -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 @@ -9966,26 +9977,10 @@ msgid "" msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Name of the current device for audio input (see [method " -"capture_get_device_list]). The value [code]\"Default\"[/code] means that the " -"system-wide default audio input is currently used." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Returns the names of all audio input devices detected on the system." msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Sets which audio input device is used for audio capture. On systems with " -"multiple audio inputs (such as analog and USB), this can be used to select " -"the audio input device. Setting the value [code]\"Default\"[/code] will " -"record audio from the system-wide default audio input. If an invalid device " -"name is set, the value will be reverted back to [code]\"Default\"[/code]." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Generates an [AudioBusLayout] using the available buses and effects." msgstr "" @@ -10143,6 +10138,16 @@ msgstr "" #: doc/classes/AudioServer.xml msgid "" +"Name of the current device for audio input (see [method get_device_list]). " +"On systems with multiple audio inputs (such as analog, USB and HDMI audio), " +"this can be used to select the audio input device. The value " +"[code]\"Default\"[/code] will record audio on the system-wide default audio " +"input. If an invalid device name is set, the value will be reverted back to " +"[code]\"Default\"[/code]." +msgstr "" + +#: doc/classes/AudioServer.xml +msgid "" "Name of the current device for audio output (see [method get_device_list]). " "On systems with multiple audio outputs (such as analog, USB and HDMI audio), " "this can be used to select the audio output device. The value " @@ -13232,6 +13237,18 @@ msgstr "" #: doc/classes/CanvasLayer.xml msgid "" +"Hides any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]false[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" +"Shows any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]true[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" "The custom [Viewport] node assigned to the [CanvasLayer]. If [code]null[/" "code], uses the default viewport instead." msgstr "" @@ -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 " @@ -16831,6 +16849,25 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "" +"The name of a theme type variation used by this [Control] to look up its own " +"theme items. When empty, the class name of the node is used (e.g. " +"[code]Button[/code] for the [Button] control), as well as the class names of " +"all parent classes (in order of inheritance).\n" +"When set, this property gives the highest priority to the type of the " +"specified name. This type can in turn extend another type, forming a " +"dependency chain. See [method Theme.set_type_variation]. If the theme item " +"cannot be found using this type or its base types, lookup falls back on the " +"class names.\n" +"[b]Note:[/b] To look up [Control]'s own items use various [code]get_*[/code] " +"methods without specifying [code]theme_type[/code].\n" +"[b]Note:[/b] Theme items are looked for in the tree order, from branch to " +"root, where each [Control] node is checked for its [member theme] property. " +"The earliest match against any type/class name is returned. The project-" +"level Theme and the default Theme are checked last." +msgstr "" + +#: doc/classes/Control.xml msgid "Emitted when the node gains keyboard focus." msgstr "" @@ -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 @@ -34679,6 +34746,15 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"When using [i]physics interpolation[/i], this function allows you to prevent " +"interpolation on an instance in the current physics tick.\n" +"This allows you to move instances instantaneously, and should usually be " +"used when initially placing an instance such as a bullet to prevent " +"graphical glitches." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets all data related to the instances in one go. This is especially useful " "when loading the data from disk or preparing the data from GDNative.\n" "All data is packed in one large float array. An array may look like this: " @@ -34692,6 +34768,18 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"An alternative version of [method MultiMesh.set_as_bulk_array] which can be " +"used with [i]physics interpolation[/i]. This method takes two arrays, and " +"can set the data for the current and previous tick in one go. The renderer " +"will automatically interpolate the data at each frame.\n" +"This is useful for situations where the order of instances may change from " +"physics tick to tick, such as particle systems.\n" +"When the order of instances is coherent, the simpler [method MultiMesh." +"set_as_bulk_array] can still be used with interpolation." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets the color of a specific instance by [i]multiplying[/i] the mesh's " "existing vertex colors.\n" "For the color to take effect, ensure that [member color_format] is non-" @@ -34734,6 +34822,16 @@ msgid "Mesh to be drawn." msgstr "" #: doc/classes/MultiMesh.xml +msgid "" +"Choose whether to use an interpolation method that favors speed or quality.\n" +"When using low physics tick rates (typically below 20) or high rates of " +"object rotation, you may get better results from the high quality setting.\n" +"[b]Note:[/b] Fast quality does not equate to low quality. Except in the " +"special cases mentioned above, the quality should be comparable to high " +"quality." +msgstr "" + +#: doc/classes/MultiMesh.xml msgid "Format of transform used to transform mesh, either 2D or 3D." msgstr "" @@ -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" @@ -37124,6 +37234,25 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Returns [code]true[/code] if the physics interpolated flag is set for this " +"Node (see [method set_physics_interpolated]).\n" +"[b]Note:[/b] Interpolation will only be active is both the flag is set " +"[b]and[/b] physics interpolation is enabled within the [SceneTree]. This can " +"be tested using [method is_physics_interpolated_and_enabled]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" +"Returns [code]true[/code] if physics interpolation is enabled (see [method " +"set_physics_interpolated]) [b]and[/b] enabled in the [SceneTree].\n" +"This is a convenience version of [method is_physics_interpolated] that also " +"checks whether physics interpolation is enabled globally.\n" +"See [member SceneTree.physics_interpolation] and [member ProjectSettings." +"physics/common/physics_interpolation]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Returns [code]true[/code] if physics processing is enabled (see [method " "set_physics_process])." msgstr "" @@ -37294,6 +37423,21 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"When physics interpolation is active, moving a node to a radically different " +"transform (such as placement within a level) can result in a visible glitch " +"as the object is rendered moving from the old to new position over the " +"physics tick.\n" +"This glitch can be prevented by calling [code]reset_physics_interpolation[/" +"code], which temporarily turns off interpolation until the physics tick is " +"complete.\n" +"[constant NOTIFICATION_RESET_PHYSICS_INTERPOLATION] will be received by the " +"node and all children recursively.\n" +"[b]Note:[/b] This function should be called [b]after[/b] moving the node, " +"rather than before." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Sends a remote procedure call request for the given [code]method[/code] to " "peers on the network (and locally), optionally sending all additional " "arguments as arguments to the method called by the RPC. The call request " @@ -37394,6 +37538,14 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Enables or disables physics interpolation per node, offering a finer grain " +"of control than turning physics interpolation on and off globally.\n" +"[b]Note:[/b] This can be especially useful for [Camera]s, where custom " +"interpolation can sometimes give superior results." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Enables or disables physics (i.e. fixed framerate) processing. When a node " "is being processed, it will receive a [constant " "NOTIFICATION_PHYSICS_PROCESS] at a fixed (usually 60 FPS, see [member Engine." @@ -37644,6 +37796,12 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Notification received when [method reset_physics_interpolation] is called on " +"the node or parent nodes." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Inherits pause mode from the node's parent. For the root node, it is " "equivalent to [constant PAUSE_MODE_STOP]. Default." msgstr "" @@ -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 @@ -47312,6 +47482,17 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If [code]true[/code], the renderer will interpolate the transforms of " +"physics objects between the last two transforms, such that smooth motion is " +"seen when physics ticks do not coincide with rendered frames.\n" +"[b]Note:[/b] When moving objects to new positions (rather than the usual " +"physics motion) you may want to temporarily turn off interpolation to " +"prevent a visible glitch. You can do this using the [method Node." +"reset_physics_interpolation] function." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Controls how much physics ticks are synchronized with real time. For 0 or " "less, the ticks are synchronized. Such values are recommended for network " "games, where clock synchronization matters. Higher values cause higher " @@ -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" @@ -51922,6 +52110,13 @@ msgstr "" #: doc/classes/SceneTree.xml msgid "" +"Although physics interpolation would normally be globally turned on and off " +"using [member ProjectSettings.physics/common/physics_interpolation], this " +"property allows control over interpolation at runtime." +msgstr "" + +#: doc/classes/SceneTree.xml +msgid "" "If [code]true[/code], the [SceneTree]'s [member network_peer] refuses new " "incoming connections." msgstr "" @@ -53176,6 +53371,18 @@ msgstr "" #: doc/classes/Spatial.xml msgid "" +"When using physics interpolation, there will be circumstances in which you " +"want to know the interpolated (displayed) transform of a node rather than " +"the standard transform (which may only be accurate to the most recent " +"physics tick).\n" +"This is particularly important for frame-based operations that take place in " +"[method Node._process], rather than [method Node._physics_process]. Examples " +"include [Camera]s focusing on a node, or finding where to fire lasers from " +"on a frame rather than physics tick." +msgstr "" + +#: doc/classes/Spatial.xml +msgid "" "Returns the parent [Spatial], or an empty [Object] if no parent exists or " "parent is not of type [Spatial]." msgstr "" @@ -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 @@ -57715,6 +57959,16 @@ 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." msgstr "" @@ -58758,6 +59012,12 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Unmarks [code]theme_type[/code] as being a variation of another theme type. " +"See [method set_type_variation]." +msgstr "" + +#: doc/classes/Theme.xml msgid "Sets the theme's values to a copy of the default theme values." msgstr "" @@ -58899,6 +59159,18 @@ 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 " "[code]node_type[/code].\n" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." @@ -58949,6 +59221,13 @@ msgid "" 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 " "[code]other[/code] [Theme].\n" @@ -59045,6 +59324,20 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Marks [code]theme_type[/code] as a variation of [code]base_type[/code].\n" +"This adds [code]theme_type[/code] as a suggested option for [member Control." +"theme_type_variation] on a [Control] that is of the [code]base_type[/code] " +"class.\n" +"Variations can also be nested, i.e. [code]base_type[/code] can be another " +"variation. If a chain of variations ends with a [code]base_type[/code] " +"matching the class of the [Control], the whole chain is going to be " +"suggested as options.\n" +"[b]Note:[/b] Suggestions only show up if this theme resource is set as the " +"project default theme. See [member ProjectSettings.gui/theme/custom]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "The default font of this [Theme] resource. Used as a fallback value for font " "items defined in this theme, but having invalid values. If this value is " "also invalid, the global default value is used.\n" @@ -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 b81b137493..eb2e648038 100644 --- a/doc/translations/pt.po +++ b/doc/translations/pt.po @@ -4092,6 +4092,15 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" +"Hints that a string property can be an enumerated value to pick in a list " +"specified via a hint string such as [code]\"Hello,Something,Else\"[/code].\n" +"Unlike [constant PROPERTY_HINT_ENUM] a property with this hint still accepts " +"arbitrary values and can be empty. The list of values serves to suggest " +"possible values." +msgstr "" + +#: doc/classes/@GlobalScope.xml +msgid "" "Hints that a float property should be edited via an exponential easing " "function. The hint string can include [code]\"attenuation\"[/code] to flip " "the curve horizontally and/or [code]\"inout\"[/code] to also include in/out " @@ -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 "" @@ -10263,26 +10274,10 @@ msgid "" msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Name of the current device for audio input (see [method " -"capture_get_device_list]). The value [code]\"Default\"[/code] means that the " -"system-wide default audio input is currently used." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Returns the names of all audio input devices detected on the system." msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Sets which audio input device is used for audio capture. On systems with " -"multiple audio inputs (such as analog and USB), this can be used to select " -"the audio input device. Setting the value [code]\"Default\"[/code] will " -"record audio from the system-wide default audio input. If an invalid device " -"name is set, the value will be reverted back to [code]\"Default\"[/code]." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Generates an [AudioBusLayout] using the available buses and effects." msgstr "" @@ -10440,6 +10435,16 @@ msgstr "" #: doc/classes/AudioServer.xml msgid "" +"Name of the current device for audio input (see [method get_device_list]). " +"On systems with multiple audio inputs (such as analog, USB and HDMI audio), " +"this can be used to select the audio input device. The value " +"[code]\"Default\"[/code] will record audio on the system-wide default audio " +"input. If an invalid device name is set, the value will be reverted back to " +"[code]\"Default\"[/code]." +msgstr "" + +#: doc/classes/AudioServer.xml +msgid "" "Name of the current device for audio output (see [method get_device_list]). " "On systems with multiple audio outputs (such as analog, USB and HDMI audio), " "this can be used to select the audio output device. The value " @@ -13537,6 +13542,18 @@ 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[/" "code], uses the default viewport instead." msgstr "" @@ -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 " @@ -17153,6 +17171,25 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "" +"The name of a theme type variation used by this [Control] to look up its own " +"theme items. When empty, the class name of the node is used (e.g. " +"[code]Button[/code] for the [Button] control), as well as the class names of " +"all parent classes (in order of inheritance).\n" +"When set, this property gives the highest priority to the type of the " +"specified name. This type can in turn extend another type, forming a " +"dependency chain. See [method Theme.set_type_variation]. If the theme item " +"cannot be found using this type or its base types, lookup falls back on the " +"class names.\n" +"[b]Note:[/b] To look up [Control]'s own items use various [code]get_*[/code] " +"methods without specifying [code]theme_type[/code].\n" +"[b]Note:[/b] Theme items are looked for in the tree order, from branch to " +"root, where each [Control] node is checked for its [member theme] property. " +"The earliest match against any type/class name is returned. The project-" +"level Theme and the default Theme are checked last." +msgstr "" + +#: doc/classes/Control.xml msgid "Emitted when the node gains keyboard focus." msgstr "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 @@ -34972,6 +35039,15 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"When using [i]physics interpolation[/i], this function allows you to prevent " +"interpolation on an instance in the current physics tick.\n" +"This allows you to move instances instantaneously, and should usually be " +"used when initially placing an instance such as a bullet to prevent " +"graphical glitches." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets all data related to the instances in one go. This is especially useful " "when loading the data from disk or preparing the data from GDNative.\n" "All data is packed in one large float array. An array may look like this: " @@ -34985,6 +35061,18 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"An alternative version of [method MultiMesh.set_as_bulk_array] which can be " +"used with [i]physics interpolation[/i]. This method takes two arrays, and " +"can set the data for the current and previous tick in one go. The renderer " +"will automatically interpolate the data at each frame.\n" +"This is useful for situations where the order of instances may change from " +"physics tick to tick, such as particle systems.\n" +"When the order of instances is coherent, the simpler [method MultiMesh." +"set_as_bulk_array] can still be used with interpolation." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets the color of a specific instance by [i]multiplying[/i] the mesh's " "existing vertex colors.\n" "For the color to take effect, ensure that [member color_format] is non-" @@ -35027,6 +35115,16 @@ msgid "Mesh to be drawn." msgstr "" #: doc/classes/MultiMesh.xml +msgid "" +"Choose whether to use an interpolation method that favors speed or quality.\n" +"When using low physics tick rates (typically below 20) or high rates of " +"object rotation, you may get better results from the high quality setting.\n" +"[b]Note:[/b] Fast quality does not equate to low quality. Except in the " +"special cases mentioned above, the quality should be comparable to high " +"quality." +msgstr "" + +#: doc/classes/MultiMesh.xml msgid "Format of transform used to transform mesh, either 2D or 3D." msgstr "" @@ -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 "" @@ -37398,6 +37508,25 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Returns [code]true[/code] if the physics interpolated flag is set for this " +"Node (see [method set_physics_interpolated]).\n" +"[b]Note:[/b] Interpolation will only be active is both the flag is set " +"[b]and[/b] physics interpolation is enabled within the [SceneTree]. This can " +"be tested using [method is_physics_interpolated_and_enabled]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" +"Returns [code]true[/code] if physics interpolation is enabled (see [method " +"set_physics_interpolated]) [b]and[/b] enabled in the [SceneTree].\n" +"This is a convenience version of [method is_physics_interpolated] that also " +"checks whether physics interpolation is enabled globally.\n" +"See [member SceneTree.physics_interpolation] and [member ProjectSettings." +"physics/common/physics_interpolation]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Returns [code]true[/code] if physics processing is enabled (see [method " "set_physics_process])." msgstr "" @@ -37568,6 +37697,21 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"When physics interpolation is active, moving a node to a radically different " +"transform (such as placement within a level) can result in a visible glitch " +"as the object is rendered moving from the old to new position over the " +"physics tick.\n" +"This glitch can be prevented by calling [code]reset_physics_interpolation[/" +"code], which temporarily turns off interpolation until the physics tick is " +"complete.\n" +"[constant NOTIFICATION_RESET_PHYSICS_INTERPOLATION] will be received by the " +"node and all children recursively.\n" +"[b]Note:[/b] This function should be called [b]after[/b] moving the node, " +"rather than before." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Sends a remote procedure call request for the given [code]method[/code] to " "peers on the network (and locally), optionally sending all additional " "arguments as arguments to the method called by the RPC. The call request " @@ -37668,6 +37812,14 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Enables or disables physics interpolation per node, offering a finer grain " +"of control than turning physics interpolation on and off globally.\n" +"[b]Note:[/b] This can be especially useful for [Camera]s, where custom " +"interpolation can sometimes give superior results." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Enables or disables physics (i.e. fixed framerate) processing. When a node " "is being processed, it will receive a [constant " "NOTIFICATION_PHYSICS_PROCESS] at a fixed (usually 60 FPS, see [member Engine." @@ -37918,6 +38070,12 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Notification received when [method reset_physics_interpolation] is called on " +"the node or parent nodes." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Inherits pause mode from the node's parent. For the root node, it is " "equivalent to [constant PAUSE_MODE_STOP]. Default." msgstr "" @@ -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 @@ -47542,6 +47712,17 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If [code]true[/code], the renderer will interpolate the transforms of " +"physics objects between the last two transforms, such that smooth motion is " +"seen when physics ticks do not coincide with rendered frames.\n" +"[b]Note:[/b] When moving objects to new positions (rather than the usual " +"physics motion) you may want to temporarily turn off interpolation to " +"prevent a visible glitch. You can do this using the [method Node." +"reset_physics_interpolation] function." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Controls how much physics ticks are synchronized with real time. For 0 or " "less, the ticks are synchronized. Such values are recommended for network " "games, where clock synchronization matters. Higher values cause higher " @@ -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 @@ -52140,6 +52328,13 @@ msgstr "" #: doc/classes/SceneTree.xml msgid "" +"Although physics interpolation would normally be globally turned on and off " +"using [member ProjectSettings.physics/common/physics_interpolation], this " +"property allows control over interpolation at runtime." +msgstr "" + +#: doc/classes/SceneTree.xml +msgid "" "If [code]true[/code], the [SceneTree]'s [member network_peer] refuses new " "incoming connections." msgstr "" @@ -53397,6 +53592,18 @@ msgstr "" #: doc/classes/Spatial.xml msgid "" +"When using physics interpolation, there will be circumstances in which you " +"want to know the interpolated (displayed) transform of a node rather than " +"the standard transform (which may only be accurate to the most recent " +"physics tick).\n" +"This is particularly important for frame-based operations that take place in " +"[method Node._process], rather than [method Node._physics_process]. Examples " +"include [Camera]s focusing on a node, or finding where to fire lasers from " +"on a frame rather than physics tick." +msgstr "" + +#: doc/classes/Spatial.xml +msgid "" "Returns the parent [Spatial], or an empty [Object] if no parent exists or " "parent is not of type [Spatial]." msgstr "" @@ -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 @@ -57947,6 +58191,16 @@ 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." msgstr "" @@ -58985,6 +59239,12 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Unmarks [code]theme_type[/code] as being a variation of another theme type. " +"See [method set_type_variation]." +msgstr "" + +#: doc/classes/Theme.xml msgid "Sets the theme's values to a copy of the default theme values." msgstr "" @@ -59125,6 +59385,18 @@ 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 " "[code]node_type[/code].\n" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." @@ -59172,6 +59444,15 @@ msgid "" 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 " "[code]other[/code] [Theme].\n" @@ -59268,6 +59549,20 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Marks [code]theme_type[/code] as a variation of [code]base_type[/code].\n" +"This adds [code]theme_type[/code] as a suggested option for [member Control." +"theme_type_variation] on a [Control] that is of the [code]base_type[/code] " +"class.\n" +"Variations can also be nested, i.e. [code]base_type[/code] can be another " +"variation. If a chain of variations ends with a [code]base_type[/code] " +"matching the class of the [Control], the whole chain is going to be " +"suggested as options.\n" +"[b]Note:[/b] Suggestions only show up if this theme resource is set as the " +"project default theme. See [member ProjectSettings.gui/theme/custom]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "The default font of this [Theme] resource. Used as a fallback value for font " "items defined in this theme, but having invalid values. If this value is " "also invalid, the global default value is used.\n" @@ -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 ff0825d6a7..fbf4dbeaa6 100644 --- a/doc/translations/pt_BR.po +++ b/doc/translations/pt_BR.po @@ -4303,6 +4303,15 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" +"Hints that a string property can be an enumerated value to pick in a list " +"specified via a hint string such as [code]\"Hello,Something,Else\"[/code].\n" +"Unlike [constant PROPERTY_HINT_ENUM] a property with this hint still accepts " +"arbitrary values and can be empty. The list of values serves to suggest " +"possible values." +msgstr "" + +#: doc/classes/@GlobalScope.xml +msgid "" "Hints that a float property should be edited via an exponential easing " "function. The hint string can include [code]\"attenuation\"[/code] to flip " "the curve horizontally and/or [code]\"inout\"[/code] to also include in/out " @@ -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 "" @@ -10538,26 +10549,10 @@ msgid "" msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Name of the current device for audio input (see [method " -"capture_get_device_list]). The value [code]\"Default\"[/code] means that the " -"system-wide default audio input is currently used." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Returns the names of all audio input devices detected on the system." msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Sets which audio input device is used for audio capture. On systems with " -"multiple audio inputs (such as analog and USB), this can be used to select " -"the audio input device. Setting the value [code]\"Default\"[/code] will " -"record audio from the system-wide default audio input. If an invalid device " -"name is set, the value will be reverted back to [code]\"Default\"[/code]." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Generates an [AudioBusLayout] using the available buses and effects." msgstr "" @@ -10715,6 +10710,16 @@ msgstr "" #: doc/classes/AudioServer.xml msgid "" +"Name of the current device for audio input (see [method get_device_list]). " +"On systems with multiple audio inputs (such as analog, USB and HDMI audio), " +"this can be used to select the audio input device. The value " +"[code]\"Default\"[/code] will record audio on the system-wide default audio " +"input. If an invalid device name is set, the value will be reverted back to " +"[code]\"Default\"[/code]." +msgstr "" + +#: doc/classes/AudioServer.xml +msgid "" "Name of the current device for audio output (see [method get_device_list]). " "On systems with multiple audio outputs (such as analog, USB and HDMI audio), " "this can be used to select the audio output device. The value " @@ -13820,6 +13825,18 @@ 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[/" "code], uses the default viewport instead." msgstr "" @@ -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 " @@ -17470,6 +17488,25 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "" +"The name of a theme type variation used by this [Control] to look up its own " +"theme items. When empty, the class name of the node is used (e.g. " +"[code]Button[/code] for the [Button] control), as well as the class names of " +"all parent classes (in order of inheritance).\n" +"When set, this property gives the highest priority to the type of the " +"specified name. This type can in turn extend another type, forming a " +"dependency chain. See [method Theme.set_type_variation]. If the theme item " +"cannot be found using this type or its base types, lookup falls back on the " +"class names.\n" +"[b]Note:[/b] To look up [Control]'s own items use various [code]get_*[/code] " +"methods without specifying [code]theme_type[/code].\n" +"[b]Note:[/b] Theme items are looked for in the tree order, from branch to " +"root, where each [Control] node is checked for its [member theme] property. " +"The earliest match against any type/class name is returned. The project-" +"level Theme and the default Theme are checked last." +msgstr "" + +#: doc/classes/Control.xml msgid "Emitted when the node gains keyboard focus." msgstr "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 @@ -35343,6 +35410,15 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"When using [i]physics interpolation[/i], this function allows you to prevent " +"interpolation on an instance in the current physics tick.\n" +"This allows you to move instances instantaneously, and should usually be " +"used when initially placing an instance such as a bullet to prevent " +"graphical glitches." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets all data related to the instances in one go. This is especially useful " "when loading the data from disk or preparing the data from GDNative.\n" "All data is packed in one large float array. An array may look like this: " @@ -35356,6 +35432,18 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"An alternative version of [method MultiMesh.set_as_bulk_array] which can be " +"used with [i]physics interpolation[/i]. This method takes two arrays, and " +"can set the data for the current and previous tick in one go. The renderer " +"will automatically interpolate the data at each frame.\n" +"This is useful for situations where the order of instances may change from " +"physics tick to tick, such as particle systems.\n" +"When the order of instances is coherent, the simpler [method MultiMesh." +"set_as_bulk_array] can still be used with interpolation." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets the color of a specific instance by [i]multiplying[/i] the mesh's " "existing vertex colors.\n" "For the color to take effect, ensure that [member color_format] is non-" @@ -35398,6 +35486,16 @@ msgid "Mesh to be drawn." msgstr "" #: doc/classes/MultiMesh.xml +msgid "" +"Choose whether to use an interpolation method that favors speed or quality.\n" +"When using low physics tick rates (typically below 20) or high rates of " +"object rotation, you may get better results from the high quality setting.\n" +"[b]Note:[/b] Fast quality does not equate to low quality. Except in the " +"special cases mentioned above, the quality should be comparable to high " +"quality." +msgstr "" + +#: doc/classes/MultiMesh.xml msgid "Format of transform used to transform mesh, either 2D or 3D." msgstr "" @@ -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 "" @@ -37788,6 +37898,25 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Returns [code]true[/code] if the physics interpolated flag is set for this " +"Node (see [method set_physics_interpolated]).\n" +"[b]Note:[/b] Interpolation will only be active is both the flag is set " +"[b]and[/b] physics interpolation is enabled within the [SceneTree]. This can " +"be tested using [method is_physics_interpolated_and_enabled]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" +"Returns [code]true[/code] if physics interpolation is enabled (see [method " +"set_physics_interpolated]) [b]and[/b] enabled in the [SceneTree].\n" +"This is a convenience version of [method is_physics_interpolated] that also " +"checks whether physics interpolation is enabled globally.\n" +"See [member SceneTree.physics_interpolation] and [member ProjectSettings." +"physics/common/physics_interpolation]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Returns [code]true[/code] if physics processing is enabled (see [method " "set_physics_process])." msgstr "" @@ -37958,6 +38087,21 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"When physics interpolation is active, moving a node to a radically different " +"transform (such as placement within a level) can result in a visible glitch " +"as the object is rendered moving from the old to new position over the " +"physics tick.\n" +"This glitch can be prevented by calling [code]reset_physics_interpolation[/" +"code], which temporarily turns off interpolation until the physics tick is " +"complete.\n" +"[constant NOTIFICATION_RESET_PHYSICS_INTERPOLATION] will be received by the " +"node and all children recursively.\n" +"[b]Note:[/b] This function should be called [b]after[/b] moving the node, " +"rather than before." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Sends a remote procedure call request for the given [code]method[/code] to " "peers on the network (and locally), optionally sending all additional " "arguments as arguments to the method called by the RPC. The call request " @@ -38058,6 +38202,14 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Enables or disables physics interpolation per node, offering a finer grain " +"of control than turning physics interpolation on and off globally.\n" +"[b]Note:[/b] This can be especially useful for [Camera]s, where custom " +"interpolation can sometimes give superior results." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Enables or disables physics (i.e. fixed framerate) processing. When a node " "is being processed, it will receive a [constant " "NOTIFICATION_PHYSICS_PROCESS] at a fixed (usually 60 FPS, see [member Engine." @@ -38308,6 +38460,12 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Notification received when [method reset_physics_interpolation] is called on " +"the node or parent nodes." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Inherits pause mode from the node's parent. For the root node, it is " "equivalent to [constant PAUSE_MODE_STOP]. Default." msgstr "" @@ -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 @@ -47980,6 +48150,17 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If [code]true[/code], the renderer will interpolate the transforms of " +"physics objects between the last two transforms, such that smooth motion is " +"seen when physics ticks do not coincide with rendered frames.\n" +"[b]Note:[/b] When moving objects to new positions (rather than the usual " +"physics motion) you may want to temporarily turn off interpolation to " +"prevent a visible glitch. You can do this using the [method Node." +"reset_physics_interpolation] function." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Controls how much physics ticks are synchronized with real time. For 0 or " "less, the ticks are synchronized. Such values are recommended for network " "games, where clock synchronization matters. Higher values cause higher " @@ -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 @@ -52587,6 +52775,13 @@ msgstr "" #: doc/classes/SceneTree.xml msgid "" +"Although physics interpolation would normally be globally turned on and off " +"using [member ProjectSettings.physics/common/physics_interpolation], this " +"property allows control over interpolation at runtime." +msgstr "" + +#: doc/classes/SceneTree.xml +msgid "" "If [code]true[/code], the [SceneTree]'s [member network_peer] refuses new " "incoming connections." msgstr "" @@ -53848,6 +54043,18 @@ msgstr "" #: doc/classes/Spatial.xml msgid "" +"When using physics interpolation, there will be circumstances in which you " +"want to know the interpolated (displayed) transform of a node rather than " +"the standard transform (which may only be accurate to the most recent " +"physics tick).\n" +"This is particularly important for frame-based operations that take place in " +"[method Node._process], rather than [method Node._physics_process]. Examples " +"include [Camera]s focusing on a node, or finding where to fire lasers from " +"on a frame rather than physics tick." +msgstr "" + +#: doc/classes/Spatial.xml +msgid "" "Returns the parent [Spatial], or an empty [Object] if no parent exists or " "parent is not of type [Spatial]." msgstr "" @@ -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 @@ -58408,6 +58652,16 @@ 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." msgstr "" @@ -59459,6 +59713,12 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Unmarks [code]theme_type[/code] as being a variation of another theme type. " +"See [method set_type_variation]." +msgstr "" + +#: doc/classes/Theme.xml msgid "Sets the theme's values to a copy of the default theme values." msgstr "" @@ -59603,6 +59863,18 @@ 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 " "[code]node_type[/code].\n" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." @@ -59651,6 +59923,13 @@ msgid "" 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 " "[code]other[/code] [Theme].\n" @@ -59747,6 +60026,20 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Marks [code]theme_type[/code] as a variation of [code]base_type[/code].\n" +"This adds [code]theme_type[/code] as a suggested option for [member Control." +"theme_type_variation] on a [Control] that is of the [code]base_type[/code] " +"class.\n" +"Variations can also be nested, i.e. [code]base_type[/code] can be another " +"variation. If a chain of variations ends with a [code]base_type[/code] " +"matching the class of the [Control], the whole chain is going to be " +"suggested as options.\n" +"[b]Note:[/b] Suggestions only show up if this theme resource is set as the " +"project default theme. See [member ProjectSettings.gui/theme/custom]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "The default font of this [Theme] resource. Used as a fallback value for font " "items defined in this theme, but having invalid values. If this value is " "also invalid, the global default value is used.\n" @@ -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 d27baf73b8..e80f0ba009 100644 --- a/doc/translations/ro.po +++ b/doc/translations/ro.po @@ -3347,6 +3347,15 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" +"Hints that a string property can be an enumerated value to pick in a list " +"specified via a hint string such as [code]\"Hello,Something,Else\"[/code].\n" +"Unlike [constant PROPERTY_HINT_ENUM] a property with this hint still accepts " +"arbitrary values and can be empty. The list of values serves to suggest " +"possible values." +msgstr "" + +#: doc/classes/@GlobalScope.xml +msgid "" "Hints that a float property should be edited via an exponential easing " "function. The hint string can include [code]\"attenuation\"[/code] to flip " "the curve horizontally and/or [code]\"inout\"[/code] to also include in/out " @@ -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 @@ -9502,26 +9511,10 @@ msgid "" msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Name of the current device for audio input (see [method " -"capture_get_device_list]). The value [code]\"Default\"[/code] means that the " -"system-wide default audio input is currently used." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Returns the names of all audio input devices detected on the system." msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Sets which audio input device is used for audio capture. On systems with " -"multiple audio inputs (such as analog and USB), this can be used to select " -"the audio input device. Setting the value [code]\"Default\"[/code] will " -"record audio from the system-wide default audio input. If an invalid device " -"name is set, the value will be reverted back to [code]\"Default\"[/code]." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Generates an [AudioBusLayout] using the available buses and effects." msgstr "" @@ -9679,6 +9672,16 @@ msgstr "" #: doc/classes/AudioServer.xml msgid "" +"Name of the current device for audio input (see [method get_device_list]). " +"On systems with multiple audio inputs (such as analog, USB and HDMI audio), " +"this can be used to select the audio input device. The value " +"[code]\"Default\"[/code] will record audio on the system-wide default audio " +"input. If an invalid device name is set, the value will be reverted back to " +"[code]\"Default\"[/code]." +msgstr "" + +#: doc/classes/AudioServer.xml +msgid "" "Name of the current device for audio output (see [method get_device_list]). " "On systems with multiple audio outputs (such as analog, USB and HDMI audio), " "this can be used to select the audio output device. The value " @@ -12754,6 +12757,18 @@ msgstr "" #: doc/classes/CanvasLayer.xml msgid "" +"Hides any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]false[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" +"Shows any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]true[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" "The custom [Viewport] node assigned to the [CanvasLayer]. If [code]null[/" "code], uses the default viewport instead." msgstr "" @@ -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 " @@ -16342,6 +16358,25 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "" +"The name of a theme type variation used by this [Control] to look up its own " +"theme items. When empty, the class name of the node is used (e.g. " +"[code]Button[/code] for the [Button] control), as well as the class names of " +"all parent classes (in order of inheritance).\n" +"When set, this property gives the highest priority to the type of the " +"specified name. This type can in turn extend another type, forming a " +"dependency chain. See [method Theme.set_type_variation]. If the theme item " +"cannot be found using this type or its base types, lookup falls back on the " +"class names.\n" +"[b]Note:[/b] To look up [Control]'s own items use various [code]get_*[/code] " +"methods without specifying [code]theme_type[/code].\n" +"[b]Note:[/b] Theme items are looked for in the tree order, from branch to " +"root, where each [Control] node is checked for its [member theme] property. " +"The earliest match against any type/class name is returned. The project-" +"level Theme and the default Theme are checked last." +msgstr "" + +#: doc/classes/Control.xml msgid "Emitted when the node gains keyboard focus." msgstr "" @@ -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 @@ -34145,6 +34210,15 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"When using [i]physics interpolation[/i], this function allows you to prevent " +"interpolation on an instance in the current physics tick.\n" +"This allows you to move instances instantaneously, and should usually be " +"used when initially placing an instance such as a bullet to prevent " +"graphical glitches." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets all data related to the instances in one go. This is especially useful " "when loading the data from disk or preparing the data from GDNative.\n" "All data is packed in one large float array. An array may look like this: " @@ -34158,6 +34232,18 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"An alternative version of [method MultiMesh.set_as_bulk_array] which can be " +"used with [i]physics interpolation[/i]. This method takes two arrays, and " +"can set the data for the current and previous tick in one go. The renderer " +"will automatically interpolate the data at each frame.\n" +"This is useful for situations where the order of instances may change from " +"physics tick to tick, such as particle systems.\n" +"When the order of instances is coherent, the simpler [method MultiMesh." +"set_as_bulk_array] can still be used with interpolation." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets the color of a specific instance by [i]multiplying[/i] the mesh's " "existing vertex colors.\n" "For the color to take effect, ensure that [member color_format] is non-" @@ -34200,6 +34286,16 @@ msgid "Mesh to be drawn." msgstr "" #: doc/classes/MultiMesh.xml +msgid "" +"Choose whether to use an interpolation method that favors speed or quality.\n" +"When using low physics tick rates (typically below 20) or high rates of " +"object rotation, you may get better results from the high quality setting.\n" +"[b]Note:[/b] Fast quality does not equate to low quality. Except in the " +"special cases mentioned above, the quality should be comparable to high " +"quality." +msgstr "" + +#: doc/classes/MultiMesh.xml msgid "Format of transform used to transform mesh, either 2D or 3D." msgstr "" @@ -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 "" @@ -36548,6 +36656,25 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Returns [code]true[/code] if the physics interpolated flag is set for this " +"Node (see [method set_physics_interpolated]).\n" +"[b]Note:[/b] Interpolation will only be active is both the flag is set " +"[b]and[/b] physics interpolation is enabled within the [SceneTree]. This can " +"be tested using [method is_physics_interpolated_and_enabled]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" +"Returns [code]true[/code] if physics interpolation is enabled (see [method " +"set_physics_interpolated]) [b]and[/b] enabled in the [SceneTree].\n" +"This is a convenience version of [method is_physics_interpolated] that also " +"checks whether physics interpolation is enabled globally.\n" +"See [member SceneTree.physics_interpolation] and [member ProjectSettings." +"physics/common/physics_interpolation]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Returns [code]true[/code] if physics processing is enabled (see [method " "set_physics_process])." msgstr "" @@ -36718,6 +36845,21 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"When physics interpolation is active, moving a node to a radically different " +"transform (such as placement within a level) can result in a visible glitch " +"as the object is rendered moving from the old to new position over the " +"physics tick.\n" +"This glitch can be prevented by calling [code]reset_physics_interpolation[/" +"code], which temporarily turns off interpolation until the physics tick is " +"complete.\n" +"[constant NOTIFICATION_RESET_PHYSICS_INTERPOLATION] will be received by the " +"node and all children recursively.\n" +"[b]Note:[/b] This function should be called [b]after[/b] moving the node, " +"rather than before." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Sends a remote procedure call request for the given [code]method[/code] to " "peers on the network (and locally), optionally sending all additional " "arguments as arguments to the method called by the RPC. The call request " @@ -36818,6 +36960,14 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Enables or disables physics interpolation per node, offering a finer grain " +"of control than turning physics interpolation on and off globally.\n" +"[b]Note:[/b] This can be especially useful for [Camera]s, where custom " +"interpolation can sometimes give superior results." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Enables or disables physics (i.e. fixed framerate) processing. When a node " "is being processed, it will receive a [constant " "NOTIFICATION_PHYSICS_PROCESS] at a fixed (usually 60 FPS, see [member Engine." @@ -37068,6 +37218,12 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Notification received when [method reset_physics_interpolation] is called on " +"the node or parent nodes." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Inherits pause mode from the node's parent. For the root node, it is " "equivalent to [constant PAUSE_MODE_STOP]. Default." msgstr "" @@ -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 @@ -46688,6 +46856,17 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If [code]true[/code], the renderer will interpolate the transforms of " +"physics objects between the last two transforms, such that smooth motion is " +"seen when physics ticks do not coincide with rendered frames.\n" +"[b]Note:[/b] When moving objects to new positions (rather than the usual " +"physics motion) you may want to temporarily turn off interpolation to " +"prevent a visible glitch. You can do this using the [method Node." +"reset_physics_interpolation] function." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Controls how much physics ticks are synchronized with real time. For 0 or " "less, the ticks are synchronized. Such values are recommended for network " "games, where clock synchronization matters. Higher values cause higher " @@ -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 @@ -51286,6 +51472,13 @@ msgstr "" #: doc/classes/SceneTree.xml msgid "" +"Although physics interpolation would normally be globally turned on and off " +"using [member ProjectSettings.physics/common/physics_interpolation], this " +"property allows control over interpolation at runtime." +msgstr "" + +#: doc/classes/SceneTree.xml +msgid "" "If [code]true[/code], the [SceneTree]'s [member network_peer] refuses new " "incoming connections." msgstr "" @@ -52539,6 +52732,18 @@ msgstr "" #: doc/classes/Spatial.xml msgid "" +"When using physics interpolation, there will be circumstances in which you " +"want to know the interpolated (displayed) transform of a node rather than " +"the standard transform (which may only be accurate to the most recent " +"physics tick).\n" +"This is particularly important for frame-based operations that take place in " +"[method Node._process], rather than [method Node._physics_process]. Examples " +"include [Camera]s focusing on a node, or finding where to fire lasers from " +"on a frame rather than physics tick." +msgstr "" + +#: doc/classes/Spatial.xml +msgid "" "Returns the parent [Spatial], or an empty [Object] if no parent exists or " "parent is not of type [Spatial]." msgstr "" @@ -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 @@ -57067,6 +57309,14 @@ msgid "Returns the total width of all gutters and internal padding." msgstr "" #: doc/classes/TextEdit.xml +msgid "Returns the total amount of lines that could be drawn." +msgstr "" + +#: doc/classes/TextEdit.xml +msgid "Returns the number of visible lines, including wrapped text." +msgstr "" + +#: doc/classes/TextEdit.xml msgid "" "Returns a [String] text with the word under the caret (text cursor) location." msgstr "" @@ -58104,6 +58354,12 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Unmarks [code]theme_type[/code] as being a variation of another theme type. " +"See [method set_type_variation]." +msgstr "" + +#: doc/classes/Theme.xml msgid "Sets the theme's values to a copy of the default theme values." msgstr "" @@ -58244,6 +58500,17 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Returns the name of the base theme type if [code]theme_type[/code] is a " +"valid variation type. Returns an empty string otherwise." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" +"Returns a list of all type variations for the given [code]base_type[/code]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Returns [code]true[/code] if [Color] with [code]name[/code] is in " "[code]node_type[/code].\n" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." @@ -58292,6 +58559,12 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Returns [code]true[/code] if [code]theme_type[/code] is marked as a " +"variation of [code]base_type[/code]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Adds missing and overrides existing definitions with values from the " "[code]other[/code] [Theme].\n" "[b]Note:[/b] This modifies the current theme. If you want to merge two " @@ -58387,6 +58660,20 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Marks [code]theme_type[/code] as a variation of [code]base_type[/code].\n" +"This adds [code]theme_type[/code] as a suggested option for [member Control." +"theme_type_variation] on a [Control] that is of the [code]base_type[/code] " +"class.\n" +"Variations can also be nested, i.e. [code]base_type[/code] can be another " +"variation. If a chain of variations ends with a [code]base_type[/code] " +"matching the class of the [Control], the whole chain is going to be " +"suggested as options.\n" +"[b]Note:[/b] Suggestions only show up if this theme resource is set as the " +"project default theme. See [member ProjectSettings.gui/theme/custom]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "The default font of this [Theme] resource. Used as a fallback value for font " "items defined in this theme, but having invalid values. If this value is " "also invalid, the global default value is used.\n" @@ -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 dfde3ad01b..419a3bf547 100644 --- a/doc/translations/ru.po +++ b/doc/translations/ru.po @@ -26,7 +26,7 @@ # Сергей Волков <zerosar4@gmail.com>, 2021. # Alexander Sinitsyn <almoig747@gmail.com>, 2021. # Толя Богомолов <tolya.bogomolov2004@gmail.com>, 2021. -# Rustam Alieskerov <rustam.aleskerov7@gmail.com>, 2021. +# Rustam Alieskerov <rustam.aleskerov7@gmail.com>, 2021, 2022. # Vladimir Svity <development.openworld@gmail.com>, 2021. # SuperProCoolName <minzatov.2004@mail.ru>, 2021. # GameOverCode <thefguyplayeriwbt@gmail.com>, 2021. @@ -38,12 +38,13 @@ # Алексей Зотов <ancrad@yandex.ru>, 2022. # Russkikh Michail <summersay415@gmail.com>, 2022. # Kirill Slesarenok <s.k.s.10.09.2001@gmail.com>, 2022. +# Иван Гай <yfrde615@gmail.com>, 2022. msgid "" msgstr "" "Project-Id-Version: Godot Engine class reference\n" "Report-Msgid-Bugs-To: https://github.com/godotengine/godot\n" -"PO-Revision-Date: 2022-02-14 22:08+0000\n" -"Last-Translator: Kirill Slesarenok <s.k.s.10.09.2001@gmail.com>\n" +"PO-Revision-Date: 2022-03-02 18:39+0000\n" +"Last-Translator: Rustam Alieskerov <rustam.aleskerov7@gmail.com>\n" "Language-Team: Russian <https://hosted.weblate.org/projects/godot-engine/" "godot-class-reference/ru/>\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 @@ -4416,6 +4412,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 "" "Hints that a float property should be edited via an exponential easing " @@ -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 @@ -11121,26 +11127,10 @@ msgid "" msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Name of the current device for audio input (see [method " -"capture_get_device_list]). The value [code]\"Default\"[/code] means that the " -"system-wide default audio input is currently used." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Returns the names of all audio input devices detected on the system." msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Sets which audio input device is used for audio capture. On systems with " -"multiple audio inputs (such as analog and USB), this can be used to select " -"the audio input device. Setting the value [code]\"Default\"[/code] will " -"record audio from the system-wide default audio input. If an invalid device " -"name is set, the value will be reverted back to [code]\"Default\"[/code]." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Generates an [AudioBusLayout] using the available buses and effects." msgstr "" @@ -11298,6 +11288,16 @@ msgstr "" #: doc/classes/AudioServer.xml msgid "" +"Name of the current device for audio input (see [method get_device_list]). " +"On systems with multiple audio inputs (such as analog, USB and HDMI audio), " +"this can be used to select the audio input device. The value " +"[code]\"Default\"[/code] will record audio on the system-wide default audio " +"input. If an invalid device name is set, the value will be reverted back to " +"[code]\"Default\"[/code]." +msgstr "" + +#: doc/classes/AudioServer.xml +msgid "" "Name of the current device for audio output (see [method get_device_list]). " "On systems with multiple audio outputs (such as analog, USB and HDMI audio), " "this can be used to select the audio output device. The value " @@ -14400,6 +14400,24 @@ 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[/" "code], uses the default viewport instead." @@ -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 " @@ -18106,6 +18125,25 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "" +"The name of a theme type variation used by this [Control] to look up its own " +"theme items. When empty, the class name of the node is used (e.g. " +"[code]Button[/code] for the [Button] control), as well as the class names of " +"all parent classes (in order of inheritance).\n" +"When set, this property gives the highest priority to the type of the " +"specified name. This type can in turn extend another type, forming a " +"dependency chain. See [method Theme.set_type_variation]. If the theme item " +"cannot be found using this type or its base types, lookup falls back on the " +"class names.\n" +"[b]Note:[/b] To look up [Control]'s own items use various [code]get_*[/code] " +"methods without specifying [code]theme_type[/code].\n" +"[b]Note:[/b] Theme items are looked for in the tree order, from branch to " +"root, where each [Control] node is checked for its [member theme] property. " +"The earliest match against any type/class name is returned. The project-" +"level Theme and the default Theme are checked last." +msgstr "" + +#: doc/classes/Control.xml msgid "Emitted when the node gains keyboard focus." msgstr "" @@ -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 @@ -36003,6 +36071,15 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"When using [i]physics interpolation[/i], this function allows you to prevent " +"interpolation on an instance in the current physics tick.\n" +"This allows you to move instances instantaneously, and should usually be " +"used when initially placing an instance such as a bullet to prevent " +"graphical glitches." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets all data related to the instances in one go. This is especially useful " "when loading the data from disk or preparing the data from GDNative.\n" "All data is packed in one large float array. An array may look like this: " @@ -36016,6 +36093,18 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"An alternative version of [method MultiMesh.set_as_bulk_array] which can be " +"used with [i]physics interpolation[/i]. This method takes two arrays, and " +"can set the data for the current and previous tick in one go. The renderer " +"will automatically interpolate the data at each frame.\n" +"This is useful for situations where the order of instances may change from " +"physics tick to tick, such as particle systems.\n" +"When the order of instances is coherent, the simpler [method MultiMesh." +"set_as_bulk_array] can still be used with interpolation." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets the color of a specific instance by [i]multiplying[/i] the mesh's " "existing vertex colors.\n" "For the color to take effect, ensure that [member color_format] is non-" @@ -36058,6 +36147,16 @@ msgid "Mesh to be drawn." msgstr "" #: doc/classes/MultiMesh.xml +msgid "" +"Choose whether to use an interpolation method that favors speed or quality.\n" +"When using low physics tick rates (typically below 20) or high rates of " +"object rotation, you may get better results from the high quality setting.\n" +"[b]Note:[/b] Fast quality does not equate to low quality. Except in the " +"special cases mentioned above, the quality should be comparable to high " +"quality." +msgstr "" + +#: doc/classes/MultiMesh.xml msgid "Format of transform used to transform mesh, either 2D or 3D." msgstr "" @@ -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 "" @@ -38450,6 +38561,25 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Returns [code]true[/code] if the physics interpolated flag is set for this " +"Node (see [method set_physics_interpolated]).\n" +"[b]Note:[/b] Interpolation will only be active is both the flag is set " +"[b]and[/b] physics interpolation is enabled within the [SceneTree]. This can " +"be tested using [method is_physics_interpolated_and_enabled]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" +"Returns [code]true[/code] if physics interpolation is enabled (see [method " +"set_physics_interpolated]) [b]and[/b] enabled in the [SceneTree].\n" +"This is a convenience version of [method is_physics_interpolated] that also " +"checks whether physics interpolation is enabled globally.\n" +"See [member SceneTree.physics_interpolation] and [member ProjectSettings." +"physics/common/physics_interpolation]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Returns [code]true[/code] if physics processing is enabled (see [method " "set_physics_process])." msgstr "" @@ -38620,6 +38750,21 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"When physics interpolation is active, moving a node to a radically different " +"transform (such as placement within a level) can result in a visible glitch " +"as the object is rendered moving from the old to new position over the " +"physics tick.\n" +"This glitch can be prevented by calling [code]reset_physics_interpolation[/" +"code], which temporarily turns off interpolation until the physics tick is " +"complete.\n" +"[constant NOTIFICATION_RESET_PHYSICS_INTERPOLATION] will be received by the " +"node and all children recursively.\n" +"[b]Note:[/b] This function should be called [b]after[/b] moving the node, " +"rather than before." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Sends a remote procedure call request for the given [code]method[/code] to " "peers on the network (and locally), optionally sending all additional " "arguments as arguments to the method called by the RPC. The call request " @@ -38720,6 +38865,14 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Enables or disables physics interpolation per node, offering a finer grain " +"of control than turning physics interpolation on and off globally.\n" +"[b]Note:[/b] This can be especially useful for [Camera]s, where custom " +"interpolation can sometimes give superior results." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Enables or disables physics (i.e. fixed framerate) processing. When a node " "is being processed, it will receive a [constant " "NOTIFICATION_PHYSICS_PROCESS] at a fixed (usually 60 FPS, see [member Engine." @@ -38970,6 +39123,12 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Notification received when [method reset_physics_interpolation] is called on " +"the node or parent nodes." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Inherits pause mode from the node's parent. For the root node, it is " "equivalent to [constant PAUSE_MODE_STOP]. Default." msgstr "" @@ -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 @@ -48679,6 +48850,17 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If [code]true[/code], the renderer will interpolate the transforms of " +"physics objects between the last two transforms, such that smooth motion is " +"seen when physics ticks do not coincide with rendered frames.\n" +"[b]Note:[/b] When moving objects to new positions (rather than the usual " +"physics motion) you may want to temporarily turn off interpolation to " +"prevent a visible glitch. You can do this using the [method Node." +"reset_physics_interpolation] function." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Controls how much physics ticks are synchronized with real time. For 0 or " "less, the ticks are synchronized. Such values are recommended for network " "games, where clock synchronization matters. Higher values cause higher " @@ -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 @@ -53336,6 +53525,13 @@ msgstr "" #: doc/classes/SceneTree.xml msgid "" +"Although physics interpolation would normally be globally turned on and off " +"using [member ProjectSettings.physics/common/physics_interpolation], this " +"property allows control over interpolation at runtime." +msgstr "" + +#: doc/classes/SceneTree.xml +msgid "" "If [code]true[/code], the [SceneTree]'s [member network_peer] refuses new " "incoming connections." msgstr "" @@ -54596,6 +54792,18 @@ msgstr "" #: doc/classes/Spatial.xml msgid "" +"When using physics interpolation, there will be circumstances in which you " +"want to know the interpolated (displayed) transform of a node rather than " +"the standard transform (which may only be accurate to the most recent " +"physics tick).\n" +"This is particularly important for frame-based operations that take place in " +"[method Node._process], rather than [method Node._physics_process]. Examples " +"include [Camera]s focusing on a node, or finding where to fire lasers from " +"on a frame rather than physics tick." +msgstr "" + +#: doc/classes/Spatial.xml +msgid "" "Returns the parent [Spatial], or an empty [Object] if no parent exists or " "parent is not of type [Spatial]." msgstr "" @@ -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 @@ -59167,6 +59412,16 @@ 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." msgstr "" @@ -60227,6 +60482,12 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Unmarks [code]theme_type[/code] as being a variation of another theme type. " +"See [method set_type_variation]." +msgstr "" + +#: doc/classes/Theme.xml msgid "Sets the theme's values to a copy of the default theme values." msgstr "" @@ -60369,6 +60630,18 @@ msgid "" 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 "" "Returns [code]true[/code] if [Color] with [code]name[/code] is in " @@ -60424,6 +60697,15 @@ msgid "" 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 " "[code]other[/code] [Theme].\n" @@ -60520,6 +60802,20 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Marks [code]theme_type[/code] as a variation of [code]base_type[/code].\n" +"This adds [code]theme_type[/code] as a suggested option for [member Control." +"theme_type_variation] on a [Control] that is of the [code]base_type[/code] " +"class.\n" +"Variations can also be nested, i.e. [code]base_type[/code] can be another " +"variation. If a chain of variations ends with a [code]base_type[/code] " +"matching the class of the [Control], the whole chain is going to be " +"suggested as options.\n" +"[b]Note:[/b] Suggestions only show up if this theme resource is set as the " +"project default theme. See [member ProjectSettings.gui/theme/custom]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "The default font of this [Theme] resource. Used as a fallback value for font " "items defined in this theme, but having invalid values. If this value is " "also invalid, the global default value is used.\n" @@ -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 8758caf868..7f5375076e 100644 --- a/doc/translations/sk.po +++ b/doc/translations/sk.po @@ -3330,6 +3330,15 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" +"Hints that a string property can be an enumerated value to pick in a list " +"specified via a hint string such as [code]\"Hello,Something,Else\"[/code].\n" +"Unlike [constant PROPERTY_HINT_ENUM] a property with this hint still accepts " +"arbitrary values and can be empty. The list of values serves to suggest " +"possible values." +msgstr "" + +#: doc/classes/@GlobalScope.xml +msgid "" "Hints that a float property should be edited via an exponential easing " "function. The hint string can include [code]\"attenuation\"[/code] to flip " "the curve horizontally and/or [code]\"inout\"[/code] to also include in/out " @@ -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 @@ -9485,26 +9494,10 @@ msgid "" msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Name of the current device for audio input (see [method " -"capture_get_device_list]). The value [code]\"Default\"[/code] means that the " -"system-wide default audio input is currently used." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Returns the names of all audio input devices detected on the system." msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Sets which audio input device is used for audio capture. On systems with " -"multiple audio inputs (such as analog and USB), this can be used to select " -"the audio input device. Setting the value [code]\"Default\"[/code] will " -"record audio from the system-wide default audio input. If an invalid device " -"name is set, the value will be reverted back to [code]\"Default\"[/code]." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Generates an [AudioBusLayout] using the available buses and effects." msgstr "" @@ -9662,6 +9655,16 @@ msgstr "" #: doc/classes/AudioServer.xml msgid "" +"Name of the current device for audio input (see [method get_device_list]). " +"On systems with multiple audio inputs (such as analog, USB and HDMI audio), " +"this can be used to select the audio input device. The value " +"[code]\"Default\"[/code] will record audio on the system-wide default audio " +"input. If an invalid device name is set, the value will be reverted back to " +"[code]\"Default\"[/code]." +msgstr "" + +#: doc/classes/AudioServer.xml +msgid "" "Name of the current device for audio output (see [method get_device_list]). " "On systems with multiple audio outputs (such as analog, USB and HDMI audio), " "this can be used to select the audio output device. The value " @@ -12737,6 +12740,18 @@ msgstr "" #: doc/classes/CanvasLayer.xml msgid "" +"Hides any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]false[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" +"Shows any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]true[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" "The custom [Viewport] node assigned to the [CanvasLayer]. If [code]null[/" "code], uses the default viewport instead." msgstr "" @@ -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 " @@ -16325,6 +16341,25 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "" +"The name of a theme type variation used by this [Control] to look up its own " +"theme items. When empty, the class name of the node is used (e.g. " +"[code]Button[/code] for the [Button] control), as well as the class names of " +"all parent classes (in order of inheritance).\n" +"When set, this property gives the highest priority to the type of the " +"specified name. This type can in turn extend another type, forming a " +"dependency chain. See [method Theme.set_type_variation]. If the theme item " +"cannot be found using this type or its base types, lookup falls back on the " +"class names.\n" +"[b]Note:[/b] To look up [Control]'s own items use various [code]get_*[/code] " +"methods without specifying [code]theme_type[/code].\n" +"[b]Note:[/b] Theme items are looked for in the tree order, from branch to " +"root, where each [Control] node is checked for its [member theme] property. " +"The earliest match against any type/class name is returned. The project-" +"level Theme and the default Theme are checked last." +msgstr "" + +#: doc/classes/Control.xml msgid "Emitted when the node gains keyboard focus." msgstr "" @@ -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 @@ -34128,6 +34193,15 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"When using [i]physics interpolation[/i], this function allows you to prevent " +"interpolation on an instance in the current physics tick.\n" +"This allows you to move instances instantaneously, and should usually be " +"used when initially placing an instance such as a bullet to prevent " +"graphical glitches." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets all data related to the instances in one go. This is especially useful " "when loading the data from disk or preparing the data from GDNative.\n" "All data is packed in one large float array. An array may look like this: " @@ -34141,6 +34215,18 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"An alternative version of [method MultiMesh.set_as_bulk_array] which can be " +"used with [i]physics interpolation[/i]. This method takes two arrays, and " +"can set the data for the current and previous tick in one go. The renderer " +"will automatically interpolate the data at each frame.\n" +"This is useful for situations where the order of instances may change from " +"physics tick to tick, such as particle systems.\n" +"When the order of instances is coherent, the simpler [method MultiMesh." +"set_as_bulk_array] can still be used with interpolation." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets the color of a specific instance by [i]multiplying[/i] the mesh's " "existing vertex colors.\n" "For the color to take effect, ensure that [member color_format] is non-" @@ -34183,6 +34269,16 @@ msgid "Mesh to be drawn." msgstr "" #: doc/classes/MultiMesh.xml +msgid "" +"Choose whether to use an interpolation method that favors speed or quality.\n" +"When using low physics tick rates (typically below 20) or high rates of " +"object rotation, you may get better results from the high quality setting.\n" +"[b]Note:[/b] Fast quality does not equate to low quality. Except in the " +"special cases mentioned above, the quality should be comparable to high " +"quality." +msgstr "" + +#: doc/classes/MultiMesh.xml msgid "Format of transform used to transform mesh, either 2D or 3D." msgstr "" @@ -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 "" @@ -36531,6 +36639,25 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Returns [code]true[/code] if the physics interpolated flag is set for this " +"Node (see [method set_physics_interpolated]).\n" +"[b]Note:[/b] Interpolation will only be active is both the flag is set " +"[b]and[/b] physics interpolation is enabled within the [SceneTree]. This can " +"be tested using [method is_physics_interpolated_and_enabled]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" +"Returns [code]true[/code] if physics interpolation is enabled (see [method " +"set_physics_interpolated]) [b]and[/b] enabled in the [SceneTree].\n" +"This is a convenience version of [method is_physics_interpolated] that also " +"checks whether physics interpolation is enabled globally.\n" +"See [member SceneTree.physics_interpolation] and [member ProjectSettings." +"physics/common/physics_interpolation]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Returns [code]true[/code] if physics processing is enabled (see [method " "set_physics_process])." msgstr "" @@ -36701,6 +36828,21 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"When physics interpolation is active, moving a node to a radically different " +"transform (such as placement within a level) can result in a visible glitch " +"as the object is rendered moving from the old to new position over the " +"physics tick.\n" +"This glitch can be prevented by calling [code]reset_physics_interpolation[/" +"code], which temporarily turns off interpolation until the physics tick is " +"complete.\n" +"[constant NOTIFICATION_RESET_PHYSICS_INTERPOLATION] will be received by the " +"node and all children recursively.\n" +"[b]Note:[/b] This function should be called [b]after[/b] moving the node, " +"rather than before." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Sends a remote procedure call request for the given [code]method[/code] to " "peers on the network (and locally), optionally sending all additional " "arguments as arguments to the method called by the RPC. The call request " @@ -36801,6 +36943,14 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Enables or disables physics interpolation per node, offering a finer grain " +"of control than turning physics interpolation on and off globally.\n" +"[b]Note:[/b] This can be especially useful for [Camera]s, where custom " +"interpolation can sometimes give superior results." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Enables or disables physics (i.e. fixed framerate) processing. When a node " "is being processed, it will receive a [constant " "NOTIFICATION_PHYSICS_PROCESS] at a fixed (usually 60 FPS, see [member Engine." @@ -37051,6 +37201,12 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Notification received when [method reset_physics_interpolation] is called on " +"the node or parent nodes." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Inherits pause mode from the node's parent. For the root node, it is " "equivalent to [constant PAUSE_MODE_STOP]. Default." msgstr "" @@ -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 @@ -46671,6 +46839,17 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If [code]true[/code], the renderer will interpolate the transforms of " +"physics objects between the last two transforms, such that smooth motion is " +"seen when physics ticks do not coincide with rendered frames.\n" +"[b]Note:[/b] When moving objects to new positions (rather than the usual " +"physics motion) you may want to temporarily turn off interpolation to " +"prevent a visible glitch. You can do this using the [method Node." +"reset_physics_interpolation] function." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Controls how much physics ticks are synchronized with real time. For 0 or " "less, the ticks are synchronized. Such values are recommended for network " "games, where clock synchronization matters. Higher values cause higher " @@ -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 @@ -51269,6 +51455,13 @@ msgstr "" #: doc/classes/SceneTree.xml msgid "" +"Although physics interpolation would normally be globally turned on and off " +"using [member ProjectSettings.physics/common/physics_interpolation], this " +"property allows control over interpolation at runtime." +msgstr "" + +#: doc/classes/SceneTree.xml +msgid "" "If [code]true[/code], the [SceneTree]'s [member network_peer] refuses new " "incoming connections." msgstr "" @@ -52522,6 +52715,18 @@ msgstr "" #: doc/classes/Spatial.xml msgid "" +"When using physics interpolation, there will be circumstances in which you " +"want to know the interpolated (displayed) transform of a node rather than " +"the standard transform (which may only be accurate to the most recent " +"physics tick).\n" +"This is particularly important for frame-based operations that take place in " +"[method Node._process], rather than [method Node._physics_process]. Examples " +"include [Camera]s focusing on a node, or finding where to fire lasers from " +"on a frame rather than physics tick." +msgstr "" + +#: doc/classes/Spatial.xml +msgid "" "Returns the parent [Spatial], or an empty [Object] if no parent exists or " "parent is not of type [Spatial]." msgstr "" @@ -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 @@ -57050,6 +57292,14 @@ msgid "Returns the total width of all gutters and internal padding." msgstr "" #: doc/classes/TextEdit.xml +msgid "Returns the total amount of lines that could be drawn." +msgstr "" + +#: doc/classes/TextEdit.xml +msgid "Returns the number of visible lines, including wrapped text." +msgstr "" + +#: doc/classes/TextEdit.xml msgid "" "Returns a [String] text with the word under the caret (text cursor) location." msgstr "" @@ -58087,6 +58337,12 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Unmarks [code]theme_type[/code] as being a variation of another theme type. " +"See [method set_type_variation]." +msgstr "" + +#: doc/classes/Theme.xml msgid "Sets the theme's values to a copy of the default theme values." msgstr "" @@ -58227,6 +58483,17 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Returns the name of the base theme type if [code]theme_type[/code] is a " +"valid variation type. Returns an empty string otherwise." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" +"Returns a list of all type variations for the given [code]base_type[/code]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Returns [code]true[/code] if [Color] with [code]name[/code] is in " "[code]node_type[/code].\n" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." @@ -58275,6 +58542,12 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Returns [code]true[/code] if [code]theme_type[/code] is marked as a " +"variation of [code]base_type[/code]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Adds missing and overrides existing definitions with values from the " "[code]other[/code] [Theme].\n" "[b]Note:[/b] This modifies the current theme. If you want to merge two " @@ -58370,6 +58643,20 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Marks [code]theme_type[/code] as a variation of [code]base_type[/code].\n" +"This adds [code]theme_type[/code] as a suggested option for [member Control." +"theme_type_variation] on a [Control] that is of the [code]base_type[/code] " +"class.\n" +"Variations can also be nested, i.e. [code]base_type[/code] can be another " +"variation. If a chain of variations ends with a [code]base_type[/code] " +"matching the class of the [Control], the whole chain is going to be " +"suggested as options.\n" +"[b]Note:[/b] Suggestions only show up if this theme resource is set as the " +"project default theme. See [member ProjectSettings.gui/theme/custom]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "The default font of this [Theme] resource. Used as a fallback value for font " "items defined in this theme, but having invalid values. If this value is " "also invalid, the global default value is used.\n" @@ -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 780b9a451e..fb2ee3eda8 100644 --- a/doc/translations/sr_Cyrl.po +++ b/doc/translations/sr_Cyrl.po @@ -3341,6 +3341,15 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" +"Hints that a string property can be an enumerated value to pick in a list " +"specified via a hint string such as [code]\"Hello,Something,Else\"[/code].\n" +"Unlike [constant PROPERTY_HINT_ENUM] a property with this hint still accepts " +"arbitrary values and can be empty. The list of values serves to suggest " +"possible values." +msgstr "" + +#: doc/classes/@GlobalScope.xml +msgid "" "Hints that a float property should be edited via an exponential easing " "function. The hint string can include [code]\"attenuation\"[/code] to flip " "the curve horizontally and/or [code]\"inout\"[/code] to also include in/out " @@ -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 @@ -9496,26 +9505,10 @@ msgid "" msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Name of the current device for audio input (see [method " -"capture_get_device_list]). The value [code]\"Default\"[/code] means that the " -"system-wide default audio input is currently used." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Returns the names of all audio input devices detected on the system." msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Sets which audio input device is used for audio capture. On systems with " -"multiple audio inputs (such as analog and USB), this can be used to select " -"the audio input device. Setting the value [code]\"Default\"[/code] will " -"record audio from the system-wide default audio input. If an invalid device " -"name is set, the value will be reverted back to [code]\"Default\"[/code]." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Generates an [AudioBusLayout] using the available buses and effects." msgstr "" @@ -9673,6 +9666,16 @@ msgstr "" #: doc/classes/AudioServer.xml msgid "" +"Name of the current device for audio input (see [method get_device_list]). " +"On systems with multiple audio inputs (such as analog, USB and HDMI audio), " +"this can be used to select the audio input device. The value " +"[code]\"Default\"[/code] will record audio on the system-wide default audio " +"input. If an invalid device name is set, the value will be reverted back to " +"[code]\"Default\"[/code]." +msgstr "" + +#: doc/classes/AudioServer.xml +msgid "" "Name of the current device for audio output (see [method get_device_list]). " "On systems with multiple audio outputs (such as analog, USB and HDMI audio), " "this can be used to select the audio output device. The value " @@ -12748,6 +12751,18 @@ msgstr "" #: doc/classes/CanvasLayer.xml msgid "" +"Hides any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]false[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" +"Shows any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]true[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" "The custom [Viewport] node assigned to the [CanvasLayer]. If [code]null[/" "code], uses the default viewport instead." msgstr "" @@ -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 " @@ -16336,6 +16352,25 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "" +"The name of a theme type variation used by this [Control] to look up its own " +"theme items. When empty, the class name of the node is used (e.g. " +"[code]Button[/code] for the [Button] control), as well as the class names of " +"all parent classes (in order of inheritance).\n" +"When set, this property gives the highest priority to the type of the " +"specified name. This type can in turn extend another type, forming a " +"dependency chain. See [method Theme.set_type_variation]. If the theme item " +"cannot be found using this type or its base types, lookup falls back on the " +"class names.\n" +"[b]Note:[/b] To look up [Control]'s own items use various [code]get_*[/code] " +"methods without specifying [code]theme_type[/code].\n" +"[b]Note:[/b] Theme items are looked for in the tree order, from branch to " +"root, where each [Control] node is checked for its [member theme] property. " +"The earliest match against any type/class name is returned. The project-" +"level Theme and the default Theme are checked last." +msgstr "" + +#: doc/classes/Control.xml msgid "Emitted when the node gains keyboard focus." msgstr "" @@ -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 @@ -34139,6 +34204,15 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"When using [i]physics interpolation[/i], this function allows you to prevent " +"interpolation on an instance in the current physics tick.\n" +"This allows you to move instances instantaneously, and should usually be " +"used when initially placing an instance such as a bullet to prevent " +"graphical glitches." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets all data related to the instances in one go. This is especially useful " "when loading the data from disk or preparing the data from GDNative.\n" "All data is packed in one large float array. An array may look like this: " @@ -34152,6 +34226,18 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"An alternative version of [method MultiMesh.set_as_bulk_array] which can be " +"used with [i]physics interpolation[/i]. This method takes two arrays, and " +"can set the data for the current and previous tick in one go. The renderer " +"will automatically interpolate the data at each frame.\n" +"This is useful for situations where the order of instances may change from " +"physics tick to tick, such as particle systems.\n" +"When the order of instances is coherent, the simpler [method MultiMesh." +"set_as_bulk_array] can still be used with interpolation." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets the color of a specific instance by [i]multiplying[/i] the mesh's " "existing vertex colors.\n" "For the color to take effect, ensure that [member color_format] is non-" @@ -34194,6 +34280,16 @@ msgid "Mesh to be drawn." msgstr "" #: doc/classes/MultiMesh.xml +msgid "" +"Choose whether to use an interpolation method that favors speed or quality.\n" +"When using low physics tick rates (typically below 20) or high rates of " +"object rotation, you may get better results from the high quality setting.\n" +"[b]Note:[/b] Fast quality does not equate to low quality. Except in the " +"special cases mentioned above, the quality should be comparable to high " +"quality." +msgstr "" + +#: doc/classes/MultiMesh.xml msgid "Format of transform used to transform mesh, either 2D or 3D." msgstr "" @@ -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 "" @@ -36542,6 +36650,25 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Returns [code]true[/code] if the physics interpolated flag is set for this " +"Node (see [method set_physics_interpolated]).\n" +"[b]Note:[/b] Interpolation will only be active is both the flag is set " +"[b]and[/b] physics interpolation is enabled within the [SceneTree]. This can " +"be tested using [method is_physics_interpolated_and_enabled]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" +"Returns [code]true[/code] if physics interpolation is enabled (see [method " +"set_physics_interpolated]) [b]and[/b] enabled in the [SceneTree].\n" +"This is a convenience version of [method is_physics_interpolated] that also " +"checks whether physics interpolation is enabled globally.\n" +"See [member SceneTree.physics_interpolation] and [member ProjectSettings." +"physics/common/physics_interpolation]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Returns [code]true[/code] if physics processing is enabled (see [method " "set_physics_process])." msgstr "" @@ -36712,6 +36839,21 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"When physics interpolation is active, moving a node to a radically different " +"transform (such as placement within a level) can result in a visible glitch " +"as the object is rendered moving from the old to new position over the " +"physics tick.\n" +"This glitch can be prevented by calling [code]reset_physics_interpolation[/" +"code], which temporarily turns off interpolation until the physics tick is " +"complete.\n" +"[constant NOTIFICATION_RESET_PHYSICS_INTERPOLATION] will be received by the " +"node and all children recursively.\n" +"[b]Note:[/b] This function should be called [b]after[/b] moving the node, " +"rather than before." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Sends a remote procedure call request for the given [code]method[/code] to " "peers on the network (and locally), optionally sending all additional " "arguments as arguments to the method called by the RPC. The call request " @@ -36812,6 +36954,14 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Enables or disables physics interpolation per node, offering a finer grain " +"of control than turning physics interpolation on and off globally.\n" +"[b]Note:[/b] This can be especially useful for [Camera]s, where custom " +"interpolation can sometimes give superior results." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Enables or disables physics (i.e. fixed framerate) processing. When a node " "is being processed, it will receive a [constant " "NOTIFICATION_PHYSICS_PROCESS] at a fixed (usually 60 FPS, see [member Engine." @@ -37062,6 +37212,12 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Notification received when [method reset_physics_interpolation] is called on " +"the node or parent nodes." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Inherits pause mode from the node's parent. For the root node, it is " "equivalent to [constant PAUSE_MODE_STOP]. Default." msgstr "" @@ -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 @@ -46682,6 +46850,17 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If [code]true[/code], the renderer will interpolate the transforms of " +"physics objects between the last two transforms, such that smooth motion is " +"seen when physics ticks do not coincide with rendered frames.\n" +"[b]Note:[/b] When moving objects to new positions (rather than the usual " +"physics motion) you may want to temporarily turn off interpolation to " +"prevent a visible glitch. You can do this using the [method Node." +"reset_physics_interpolation] function." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Controls how much physics ticks are synchronized with real time. For 0 or " "less, the ticks are synchronized. Such values are recommended for network " "games, where clock synchronization matters. Higher values cause higher " @@ -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 @@ -51280,6 +51466,13 @@ msgstr "" #: doc/classes/SceneTree.xml msgid "" +"Although physics interpolation would normally be globally turned on and off " +"using [member ProjectSettings.physics/common/physics_interpolation], this " +"property allows control over interpolation at runtime." +msgstr "" + +#: doc/classes/SceneTree.xml +msgid "" "If [code]true[/code], the [SceneTree]'s [member network_peer] refuses new " "incoming connections." msgstr "" @@ -52533,6 +52726,18 @@ msgstr "" #: doc/classes/Spatial.xml msgid "" +"When using physics interpolation, there will be circumstances in which you " +"want to know the interpolated (displayed) transform of a node rather than " +"the standard transform (which may only be accurate to the most recent " +"physics tick).\n" +"This is particularly important for frame-based operations that take place in " +"[method Node._process], rather than [method Node._physics_process]. Examples " +"include [Camera]s focusing on a node, or finding where to fire lasers from " +"on a frame rather than physics tick." +msgstr "" + +#: doc/classes/Spatial.xml +msgid "" "Returns the parent [Spatial], or an empty [Object] if no parent exists or " "parent is not of type [Spatial]." msgstr "" @@ -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 @@ -57061,6 +57303,14 @@ msgid "Returns the total width of all gutters and internal padding." msgstr "" #: doc/classes/TextEdit.xml +msgid "Returns the total amount of lines that could be drawn." +msgstr "" + +#: doc/classes/TextEdit.xml +msgid "Returns the number of visible lines, including wrapped text." +msgstr "" + +#: doc/classes/TextEdit.xml msgid "" "Returns a [String] text with the word under the caret (text cursor) location." msgstr "" @@ -58098,6 +58348,12 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Unmarks [code]theme_type[/code] as being a variation of another theme type. " +"See [method set_type_variation]." +msgstr "" + +#: doc/classes/Theme.xml msgid "Sets the theme's values to a copy of the default theme values." msgstr "" @@ -58238,6 +58494,17 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Returns the name of the base theme type if [code]theme_type[/code] is a " +"valid variation type. Returns an empty string otherwise." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" +"Returns a list of all type variations for the given [code]base_type[/code]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Returns [code]true[/code] if [Color] with [code]name[/code] is in " "[code]node_type[/code].\n" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." @@ -58286,6 +58553,12 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Returns [code]true[/code] if [code]theme_type[/code] is marked as a " +"variation of [code]base_type[/code]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Adds missing and overrides existing definitions with values from the " "[code]other[/code] [Theme].\n" "[b]Note:[/b] This modifies the current theme. If you want to merge two " @@ -58381,6 +58654,20 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Marks [code]theme_type[/code] as a variation of [code]base_type[/code].\n" +"This adds [code]theme_type[/code] as a suggested option for [member Control." +"theme_type_variation] on a [Control] that is of the [code]base_type[/code] " +"class.\n" +"Variations can also be nested, i.e. [code]base_type[/code] can be another " +"variation. If a chain of variations ends with a [code]base_type[/code] " +"matching the class of the [Control], the whole chain is going to be " +"suggested as options.\n" +"[b]Note:[/b] Suggestions only show up if this theme resource is set as the " +"project default theme. See [member ProjectSettings.gui/theme/custom]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "The default font of this [Theme] resource. Used as a fallback value for font " "items defined in this theme, but having invalid values. If this value is " "also invalid, the global default value is used.\n" @@ -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 7cc04c7527..708b006742 100644 --- a/doc/translations/sv.po +++ b/doc/translations/sv.po @@ -3330,6 +3330,15 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" +"Hints that a string property can be an enumerated value to pick in a list " +"specified via a hint string such as [code]\"Hello,Something,Else\"[/code].\n" +"Unlike [constant PROPERTY_HINT_ENUM] a property with this hint still accepts " +"arbitrary values and can be empty. The list of values serves to suggest " +"possible values." +msgstr "" + +#: doc/classes/@GlobalScope.xml +msgid "" "Hints that a float property should be edited via an exponential easing " "function. The hint string can include [code]\"attenuation\"[/code] to flip " "the curve horizontally and/or [code]\"inout\"[/code] to also include in/out " @@ -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 @@ -9485,26 +9494,10 @@ msgid "" msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Name of the current device for audio input (see [method " -"capture_get_device_list]). The value [code]\"Default\"[/code] means that the " -"system-wide default audio input is currently used." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Returns the names of all audio input devices detected on the system." msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Sets which audio input device is used for audio capture. On systems with " -"multiple audio inputs (such as analog and USB), this can be used to select " -"the audio input device. Setting the value [code]\"Default\"[/code] will " -"record audio from the system-wide default audio input. If an invalid device " -"name is set, the value will be reverted back to [code]\"Default\"[/code]." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Generates an [AudioBusLayout] using the available buses and effects." msgstr "" @@ -9662,6 +9655,16 @@ msgstr "" #: doc/classes/AudioServer.xml msgid "" +"Name of the current device for audio input (see [method get_device_list]). " +"On systems with multiple audio inputs (such as analog, USB and HDMI audio), " +"this can be used to select the audio input device. The value " +"[code]\"Default\"[/code] will record audio on the system-wide default audio " +"input. If an invalid device name is set, the value will be reverted back to " +"[code]\"Default\"[/code]." +msgstr "" + +#: doc/classes/AudioServer.xml +msgid "" "Name of the current device for audio output (see [method get_device_list]). " "On systems with multiple audio outputs (such as analog, USB and HDMI audio), " "this can be used to select the audio output device. The value " @@ -12737,6 +12740,18 @@ msgstr "" #: doc/classes/CanvasLayer.xml msgid "" +"Hides any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]false[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" +"Shows any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]true[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" "The custom [Viewport] node assigned to the [CanvasLayer]. If [code]null[/" "code], uses the default viewport instead." msgstr "" @@ -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 " @@ -16325,6 +16341,25 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "" +"The name of a theme type variation used by this [Control] to look up its own " +"theme items. When empty, the class name of the node is used (e.g. " +"[code]Button[/code] for the [Button] control), as well as the class names of " +"all parent classes (in order of inheritance).\n" +"When set, this property gives the highest priority to the type of the " +"specified name. This type can in turn extend another type, forming a " +"dependency chain. See [method Theme.set_type_variation]. If the theme item " +"cannot be found using this type or its base types, lookup falls back on the " +"class names.\n" +"[b]Note:[/b] To look up [Control]'s own items use various [code]get_*[/code] " +"methods without specifying [code]theme_type[/code].\n" +"[b]Note:[/b] Theme items are looked for in the tree order, from branch to " +"root, where each [Control] node is checked for its [member theme] property. " +"The earliest match against any type/class name is returned. The project-" +"level Theme and the default Theme are checked last." +msgstr "" + +#: doc/classes/Control.xml msgid "Emitted when the node gains keyboard focus." msgstr "" @@ -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 @@ -34125,6 +34190,15 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"When using [i]physics interpolation[/i], this function allows you to prevent " +"interpolation on an instance in the current physics tick.\n" +"This allows you to move instances instantaneously, and should usually be " +"used when initially placing an instance such as a bullet to prevent " +"graphical glitches." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets all data related to the instances in one go. This is especially useful " "when loading the data from disk or preparing the data from GDNative.\n" "All data is packed in one large float array. An array may look like this: " @@ -34138,6 +34212,18 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"An alternative version of [method MultiMesh.set_as_bulk_array] which can be " +"used with [i]physics interpolation[/i]. This method takes two arrays, and " +"can set the data for the current and previous tick in one go. The renderer " +"will automatically interpolate the data at each frame.\n" +"This is useful for situations where the order of instances may change from " +"physics tick to tick, such as particle systems.\n" +"When the order of instances is coherent, the simpler [method MultiMesh." +"set_as_bulk_array] can still be used with interpolation." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets the color of a specific instance by [i]multiplying[/i] the mesh's " "existing vertex colors.\n" "For the color to take effect, ensure that [member color_format] is non-" @@ -34180,6 +34266,16 @@ msgid "Mesh to be drawn." msgstr "" #: doc/classes/MultiMesh.xml +msgid "" +"Choose whether to use an interpolation method that favors speed or quality.\n" +"When using low physics tick rates (typically below 20) or high rates of " +"object rotation, you may get better results from the high quality setting.\n" +"[b]Note:[/b] Fast quality does not equate to low quality. Except in the " +"special cases mentioned above, the quality should be comparable to high " +"quality." +msgstr "" + +#: doc/classes/MultiMesh.xml msgid "Format of transform used to transform mesh, either 2D or 3D." msgstr "" @@ -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 "" @@ -36528,6 +36636,25 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Returns [code]true[/code] if the physics interpolated flag is set for this " +"Node (see [method set_physics_interpolated]).\n" +"[b]Note:[/b] Interpolation will only be active is both the flag is set " +"[b]and[/b] physics interpolation is enabled within the [SceneTree]. This can " +"be tested using [method is_physics_interpolated_and_enabled]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" +"Returns [code]true[/code] if physics interpolation is enabled (see [method " +"set_physics_interpolated]) [b]and[/b] enabled in the [SceneTree].\n" +"This is a convenience version of [method is_physics_interpolated] that also " +"checks whether physics interpolation is enabled globally.\n" +"See [member SceneTree.physics_interpolation] and [member ProjectSettings." +"physics/common/physics_interpolation]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Returns [code]true[/code] if physics processing is enabled (see [method " "set_physics_process])." msgstr "" @@ -36698,6 +36825,21 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"When physics interpolation is active, moving a node to a radically different " +"transform (such as placement within a level) can result in a visible glitch " +"as the object is rendered moving from the old to new position over the " +"physics tick.\n" +"This glitch can be prevented by calling [code]reset_physics_interpolation[/" +"code], which temporarily turns off interpolation until the physics tick is " +"complete.\n" +"[constant NOTIFICATION_RESET_PHYSICS_INTERPOLATION] will be received by the " +"node and all children recursively.\n" +"[b]Note:[/b] This function should be called [b]after[/b] moving the node, " +"rather than before." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Sends a remote procedure call request for the given [code]method[/code] to " "peers on the network (and locally), optionally sending all additional " "arguments as arguments to the method called by the RPC. The call request " @@ -36798,6 +36940,14 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Enables or disables physics interpolation per node, offering a finer grain " +"of control than turning physics interpolation on and off globally.\n" +"[b]Note:[/b] This can be especially useful for [Camera]s, where custom " +"interpolation can sometimes give superior results." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Enables or disables physics (i.e. fixed framerate) processing. When a node " "is being processed, it will receive a [constant " "NOTIFICATION_PHYSICS_PROCESS] at a fixed (usually 60 FPS, see [member Engine." @@ -37048,6 +37198,12 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Notification received when [method reset_physics_interpolation] is called on " +"the node or parent nodes." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Inherits pause mode from the node's parent. For the root node, it is " "equivalent to [constant PAUSE_MODE_STOP]. Default." msgstr "" @@ -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 @@ -46668,6 +46836,17 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If [code]true[/code], the renderer will interpolate the transforms of " +"physics objects between the last two transforms, such that smooth motion is " +"seen when physics ticks do not coincide with rendered frames.\n" +"[b]Note:[/b] When moving objects to new positions (rather than the usual " +"physics motion) you may want to temporarily turn off interpolation to " +"prevent a visible glitch. You can do this using the [method Node." +"reset_physics_interpolation] function." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Controls how much physics ticks are synchronized with real time. For 0 or " "less, the ticks are synchronized. Such values are recommended for network " "games, where clock synchronization matters. Higher values cause higher " @@ -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 @@ -51266,6 +51452,13 @@ msgstr "" #: doc/classes/SceneTree.xml msgid "" +"Although physics interpolation would normally be globally turned on and off " +"using [member ProjectSettings.physics/common/physics_interpolation], this " +"property allows control over interpolation at runtime." +msgstr "" + +#: doc/classes/SceneTree.xml +msgid "" "If [code]true[/code], the [SceneTree]'s [member network_peer] refuses new " "incoming connections." msgstr "" @@ -52519,6 +52712,18 @@ msgstr "" #: doc/classes/Spatial.xml msgid "" +"When using physics interpolation, there will be circumstances in which you " +"want to know the interpolated (displayed) transform of a node rather than " +"the standard transform (which may only be accurate to the most recent " +"physics tick).\n" +"This is particularly important for frame-based operations that take place in " +"[method Node._process], rather than [method Node._physics_process]. Examples " +"include [Camera]s focusing on a node, or finding where to fire lasers from " +"on a frame rather than physics tick." +msgstr "" + +#: doc/classes/Spatial.xml +msgid "" "Returns the parent [Spatial], or an empty [Object] if no parent exists or " "parent is not of type [Spatial]." msgstr "" @@ -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 @@ -57047,6 +57289,14 @@ msgid "Returns the total width of all gutters and internal padding." msgstr "" #: doc/classes/TextEdit.xml +msgid "Returns the total amount of lines that could be drawn." +msgstr "" + +#: doc/classes/TextEdit.xml +msgid "Returns the number of visible lines, including wrapped text." +msgstr "" + +#: doc/classes/TextEdit.xml msgid "" "Returns a [String] text with the word under the caret (text cursor) location." msgstr "" @@ -58084,6 +58334,12 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Unmarks [code]theme_type[/code] as being a variation of another theme type. " +"See [method set_type_variation]." +msgstr "" + +#: doc/classes/Theme.xml msgid "Sets the theme's values to a copy of the default theme values." msgstr "" @@ -58224,6 +58480,17 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Returns the name of the base theme type if [code]theme_type[/code] is a " +"valid variation type. Returns an empty string otherwise." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" +"Returns a list of all type variations for the given [code]base_type[/code]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Returns [code]true[/code] if [Color] with [code]name[/code] is in " "[code]node_type[/code].\n" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." @@ -58272,6 +58539,12 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Returns [code]true[/code] if [code]theme_type[/code] is marked as a " +"variation of [code]base_type[/code]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Adds missing and overrides existing definitions with values from the " "[code]other[/code] [Theme].\n" "[b]Note:[/b] This modifies the current theme. If you want to merge two " @@ -58367,6 +58640,20 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Marks [code]theme_type[/code] as a variation of [code]base_type[/code].\n" +"This adds [code]theme_type[/code] as a suggested option for [member Control." +"theme_type_variation] on a [Control] that is of the [code]base_type[/code] " +"class.\n" +"Variations can also be nested, i.e. [code]base_type[/code] can be another " +"variation. If a chain of variations ends with a [code]base_type[/code] " +"matching the class of the [Control], the whole chain is going to be " +"suggested as options.\n" +"[b]Note:[/b] Suggestions only show up if this theme resource is set as the " +"project default theme. See [member ProjectSettings.gui/theme/custom]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "The default font of this [Theme] resource. Used as a fallback value for font " "items defined in this theme, but having invalid values. If this value is " "also invalid, the global default value is used.\n" @@ -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 fa12585e9c..684a6a0bc6 100644 --- a/doc/translations/th.po +++ b/doc/translations/th.po @@ -3423,6 +3423,15 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" +"Hints that a string property can be an enumerated value to pick in a list " +"specified via a hint string such as [code]\"Hello,Something,Else\"[/code].\n" +"Unlike [constant PROPERTY_HINT_ENUM] a property with this hint still accepts " +"arbitrary values and can be empty. The list of values serves to suggest " +"possible values." +msgstr "" + +#: doc/classes/@GlobalScope.xml +msgid "" "Hints that a float property should be edited via an exponential easing " "function. The hint string can include [code]\"attenuation\"[/code] to flip " "the curve horizontally and/or [code]\"inout\"[/code] to also include in/out " @@ -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 @@ -9589,26 +9599,10 @@ msgid "" msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Name of the current device for audio input (see [method " -"capture_get_device_list]). The value [code]\"Default\"[/code] means that the " -"system-wide default audio input is currently used." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Returns the names of all audio input devices detected on the system." msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Sets which audio input device is used for audio capture. On systems with " -"multiple audio inputs (such as analog and USB), this can be used to select " -"the audio input device. Setting the value [code]\"Default\"[/code] will " -"record audio from the system-wide default audio input. If an invalid device " -"name is set, the value will be reverted back to [code]\"Default\"[/code]." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Generates an [AudioBusLayout] using the available buses and effects." msgstr "" @@ -9766,6 +9760,16 @@ msgstr "" #: doc/classes/AudioServer.xml msgid "" +"Name of the current device for audio input (see [method get_device_list]). " +"On systems with multiple audio inputs (such as analog, USB and HDMI audio), " +"this can be used to select the audio input device. The value " +"[code]\"Default\"[/code] will record audio on the system-wide default audio " +"input. If an invalid device name is set, the value will be reverted back to " +"[code]\"Default\"[/code]." +msgstr "" + +#: doc/classes/AudioServer.xml +msgid "" "Name of the current device for audio output (see [method get_device_list]). " "On systems with multiple audio outputs (such as analog, USB and HDMI audio), " "this can be used to select the audio output device. The value " @@ -12843,6 +12847,18 @@ msgstr "" #: doc/classes/CanvasLayer.xml msgid "" +"Hides any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]false[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" +"Shows any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]true[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" "The custom [Viewport] node assigned to the [CanvasLayer]. If [code]null[/" "code], uses the default viewport instead." msgstr "" @@ -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 " @@ -16432,6 +16449,25 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "" +"The name of a theme type variation used by this [Control] to look up its own " +"theme items. When empty, the class name of the node is used (e.g. " +"[code]Button[/code] for the [Button] control), as well as the class names of " +"all parent classes (in order of inheritance).\n" +"When set, this property gives the highest priority to the type of the " +"specified name. This type can in turn extend another type, forming a " +"dependency chain. See [method Theme.set_type_variation]. If the theme item " +"cannot be found using this type or its base types, lookup falls back on the " +"class names.\n" +"[b]Note:[/b] To look up [Control]'s own items use various [code]get_*[/code] " +"methods without specifying [code]theme_type[/code].\n" +"[b]Note:[/b] Theme items are looked for in the tree order, from branch to " +"root, where each [Control] node is checked for its [member theme] property. " +"The earliest match against any type/class name is returned. The project-" +"level Theme and the default Theme are checked last." +msgstr "" + +#: doc/classes/Control.xml msgid "Emitted when the node gains keyboard focus." msgstr "" @@ -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 @@ -34260,6 +34326,15 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"When using [i]physics interpolation[/i], this function allows you to prevent " +"interpolation on an instance in the current physics tick.\n" +"This allows you to move instances instantaneously, and should usually be " +"used when initially placing an instance such as a bullet to prevent " +"graphical glitches." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets all data related to the instances in one go. This is especially useful " "when loading the data from disk or preparing the data from GDNative.\n" "All data is packed in one large float array. An array may look like this: " @@ -34273,6 +34348,18 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"An alternative version of [method MultiMesh.set_as_bulk_array] which can be " +"used with [i]physics interpolation[/i]. This method takes two arrays, and " +"can set the data for the current and previous tick in one go. The renderer " +"will automatically interpolate the data at each frame.\n" +"This is useful for situations where the order of instances may change from " +"physics tick to tick, such as particle systems.\n" +"When the order of instances is coherent, the simpler [method MultiMesh." +"set_as_bulk_array] can still be used with interpolation." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets the color of a specific instance by [i]multiplying[/i] the mesh's " "existing vertex colors.\n" "For the color to take effect, ensure that [member color_format] is non-" @@ -34315,6 +34402,16 @@ msgid "Mesh to be drawn." msgstr "" #: doc/classes/MultiMesh.xml +msgid "" +"Choose whether to use an interpolation method that favors speed or quality.\n" +"When using low physics tick rates (typically below 20) or high rates of " +"object rotation, you may get better results from the high quality setting.\n" +"[b]Note:[/b] Fast quality does not equate to low quality. Except in the " +"special cases mentioned above, the quality should be comparable to high " +"quality." +msgstr "" + +#: doc/classes/MultiMesh.xml msgid "Format of transform used to transform mesh, either 2D or 3D." msgstr "" @@ -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 "" @@ -36723,6 +36832,25 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Returns [code]true[/code] if the physics interpolated flag is set for this " +"Node (see [method set_physics_interpolated]).\n" +"[b]Note:[/b] Interpolation will only be active is both the flag is set " +"[b]and[/b] physics interpolation is enabled within the [SceneTree]. This can " +"be tested using [method is_physics_interpolated_and_enabled]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" +"Returns [code]true[/code] if physics interpolation is enabled (see [method " +"set_physics_interpolated]) [b]and[/b] enabled in the [SceneTree].\n" +"This is a convenience version of [method is_physics_interpolated] that also " +"checks whether physics interpolation is enabled globally.\n" +"See [member SceneTree.physics_interpolation] and [member ProjectSettings." +"physics/common/physics_interpolation]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Returns [code]true[/code] if physics processing is enabled (see [method " "set_physics_process])." msgstr "" @@ -36893,6 +37021,21 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"When physics interpolation is active, moving a node to a radically different " +"transform (such as placement within a level) can result in a visible glitch " +"as the object is rendered moving from the old to new position over the " +"physics tick.\n" +"This glitch can be prevented by calling [code]reset_physics_interpolation[/" +"code], which temporarily turns off interpolation until the physics tick is " +"complete.\n" +"[constant NOTIFICATION_RESET_PHYSICS_INTERPOLATION] will be received by the " +"node and all children recursively.\n" +"[b]Note:[/b] This function should be called [b]after[/b] moving the node, " +"rather than before." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Sends a remote procedure call request for the given [code]method[/code] to " "peers on the network (and locally), optionally sending all additional " "arguments as arguments to the method called by the RPC. The call request " @@ -36993,6 +37136,14 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Enables or disables physics interpolation per node, offering a finer grain " +"of control than turning physics interpolation on and off globally.\n" +"[b]Note:[/b] This can be especially useful for [Camera]s, where custom " +"interpolation can sometimes give superior results." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Enables or disables physics (i.e. fixed framerate) processing. When a node " "is being processed, it will receive a [constant " "NOTIFICATION_PHYSICS_PROCESS] at a fixed (usually 60 FPS, see [member Engine." @@ -37243,6 +37394,12 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Notification received when [method reset_physics_interpolation] is called on " +"the node or parent nodes." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Inherits pause mode from the node's parent. For the root node, it is " "equivalent to [constant PAUSE_MODE_STOP]. Default." msgstr "" @@ -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 @@ -46876,6 +47045,17 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If [code]true[/code], the renderer will interpolate the transforms of " +"physics objects between the last two transforms, such that smooth motion is " +"seen when physics ticks do not coincide with rendered frames.\n" +"[b]Note:[/b] When moving objects to new positions (rather than the usual " +"physics motion) you may want to temporarily turn off interpolation to " +"prevent a visible glitch. You can do this using the [method Node." +"reset_physics_interpolation] function." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Controls how much physics ticks are synchronized with real time. For 0 or " "less, the ticks are synchronized. Such values are recommended for network " "games, where clock synchronization matters. Higher values cause higher " @@ -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 @@ -51475,6 +51662,13 @@ msgstr "" #: doc/classes/SceneTree.xml msgid "" +"Although physics interpolation would normally be globally turned on and off " +"using [member ProjectSettings.physics/common/physics_interpolation], this " +"property allows control over interpolation at runtime." +msgstr "" + +#: doc/classes/SceneTree.xml +msgid "" "If [code]true[/code], the [SceneTree]'s [member network_peer] refuses new " "incoming connections." msgstr "" @@ -52728,6 +52922,18 @@ msgstr "" #: doc/classes/Spatial.xml msgid "" +"When using physics interpolation, there will be circumstances in which you " +"want to know the interpolated (displayed) transform of a node rather than " +"the standard transform (which may only be accurate to the most recent " +"physics tick).\n" +"This is particularly important for frame-based operations that take place in " +"[method Node._process], rather than [method Node._physics_process]. Examples " +"include [Camera]s focusing on a node, or finding where to fire lasers from " +"on a frame rather than physics tick." +msgstr "" + +#: doc/classes/Spatial.xml +msgid "" "Returns the parent [Spatial], or an empty [Object] if no parent exists or " "parent is not of type [Spatial]." msgstr "" @@ -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 @@ -57261,6 +57504,16 @@ 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." msgstr "" @@ -58298,6 +58551,12 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Unmarks [code]theme_type[/code] as being a variation of another theme type. " +"See [method set_type_variation]." +msgstr "" + +#: doc/classes/Theme.xml msgid "Sets the theme's values to a copy of the default theme values." msgstr "" @@ -58438,6 +58697,17 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Returns the name of the base theme type if [code]theme_type[/code] is a " +"valid variation type. Returns an empty string otherwise." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" +"Returns a list of all type variations for the given [code]base_type[/code]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Returns [code]true[/code] if [Color] with [code]name[/code] is in " "[code]node_type[/code].\n" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." @@ -58486,6 +58756,12 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Returns [code]true[/code] if [code]theme_type[/code] is marked as a " +"variation of [code]base_type[/code]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Adds missing and overrides existing definitions with values from the " "[code]other[/code] [Theme].\n" "[b]Note:[/b] This modifies the current theme. If you want to merge two " @@ -58581,6 +58857,20 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Marks [code]theme_type[/code] as a variation of [code]base_type[/code].\n" +"This adds [code]theme_type[/code] as a suggested option for [member Control." +"theme_type_variation] on a [Control] that is of the [code]base_type[/code] " +"class.\n" +"Variations can also be nested, i.e. [code]base_type[/code] can be another " +"variation. If a chain of variations ends with a [code]base_type[/code] " +"matching the class of the [Control], the whole chain is going to be " +"suggested as options.\n" +"[b]Note:[/b] Suggestions only show up if this theme resource is set as the " +"project default theme. See [member ProjectSettings.gui/theme/custom]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "The default font of this [Theme] resource. Used as a fallback value for font " "items defined in this theme, but having invalid values. If this value is " "also invalid, the global default value is used.\n" @@ -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 95b59e8579..7a9fb2b1f7 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 <brokenscreen3@gmail.com>, 2021. +# Napstaguy04 <brokenscreen3@gmail.com>, 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 <brokenscreen3@gmail.com>\n" "Language-Team: Tagalog <https://hosted.weblate.org/projects/godot-engine/" "godot-class-reference/tl/>\n" @@ -18,7 +18,7 @@ msgstr "" "Content-Transfer-Encoding: 8-bit\n" "Plural-Forms: nplurals=2; plural=n != 1 && n != 2 && n != 3 && (n % 10 == 4 " "|| n % 10 == 6 || n % 10 == 9);\n" -"X-Generator: Weblate 4.9.1-dev\n" +"X-Generator: Weblate 4.11.1-dev\n" #: doc/tools/make_rst.py msgid "Description" @@ -3402,6 +3402,15 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" +"Hints that a string property can be an enumerated value to pick in a list " +"specified via a hint string such as [code]\"Hello,Something,Else\"[/code].\n" +"Unlike [constant PROPERTY_HINT_ENUM] a property with this hint still accepts " +"arbitrary values and can be empty. The list of values serves to suggest " +"possible values." +msgstr "" + +#: doc/classes/@GlobalScope.xml +msgid "" "Hints that a float property should be edited via an exponential easing " "function. The hint string can include [code]\"attenuation\"[/code] to flip " "the curve horizontally and/or [code]\"inout\"[/code] to also include in/out " @@ -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 "" @@ -9557,26 +9570,10 @@ msgid "" msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Name of the current device for audio input (see [method " -"capture_get_device_list]). The value [code]\"Default\"[/code] means that the " -"system-wide default audio input is currently used." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Returns the names of all audio input devices detected on the system." msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Sets which audio input device is used for audio capture. On systems with " -"multiple audio inputs (such as analog and USB), this can be used to select " -"the audio input device. Setting the value [code]\"Default\"[/code] will " -"record audio from the system-wide default audio input. If an invalid device " -"name is set, the value will be reverted back to [code]\"Default\"[/code]." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Generates an [AudioBusLayout] using the available buses and effects." msgstr "" @@ -9734,6 +9731,16 @@ msgstr "" #: doc/classes/AudioServer.xml msgid "" +"Name of the current device for audio input (see [method get_device_list]). " +"On systems with multiple audio inputs (such as analog, USB and HDMI audio), " +"this can be used to select the audio input device. The value " +"[code]\"Default\"[/code] will record audio on the system-wide default audio " +"input. If an invalid device name is set, the value will be reverted back to " +"[code]\"Default\"[/code]." +msgstr "" + +#: doc/classes/AudioServer.xml +msgid "" "Name of the current device for audio output (see [method get_device_list]). " "On systems with multiple audio outputs (such as analog, USB and HDMI audio), " "this can be used to select the audio output device. The value " @@ -12812,6 +12819,18 @@ msgstr "" #: doc/classes/CanvasLayer.xml msgid "" +"Hides any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]false[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" +"Shows any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]true[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" "The custom [Viewport] node assigned to the [CanvasLayer]. If [code]null[/" "code], uses the default viewport instead." msgstr "" @@ -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 " @@ -16400,6 +16420,25 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "" +"The name of a theme type variation used by this [Control] to look up its own " +"theme items. When empty, the class name of the node is used (e.g. " +"[code]Button[/code] for the [Button] control), as well as the class names of " +"all parent classes (in order of inheritance).\n" +"When set, this property gives the highest priority to the type of the " +"specified name. This type can in turn extend another type, forming a " +"dependency chain. See [method Theme.set_type_variation]. If the theme item " +"cannot be found using this type or its base types, lookup falls back on the " +"class names.\n" +"[b]Note:[/b] To look up [Control]'s own items use various [code]get_*[/code] " +"methods without specifying [code]theme_type[/code].\n" +"[b]Note:[/b] Theme items are looked for in the tree order, from branch to " +"root, where each [Control] node is checked for its [member theme] property. " +"The earliest match against any type/class name is returned. The project-" +"level Theme and the default Theme are checked last." +msgstr "" + +#: doc/classes/Control.xml msgid "Emitted when the node gains keyboard focus." msgstr "" @@ -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 @@ -34200,6 +34269,15 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"When using [i]physics interpolation[/i], this function allows you to prevent " +"interpolation on an instance in the current physics tick.\n" +"This allows you to move instances instantaneously, and should usually be " +"used when initially placing an instance such as a bullet to prevent " +"graphical glitches." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets all data related to the instances in one go. This is especially useful " "when loading the data from disk or preparing the data from GDNative.\n" "All data is packed in one large float array. An array may look like this: " @@ -34213,6 +34291,18 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"An alternative version of [method MultiMesh.set_as_bulk_array] which can be " +"used with [i]physics interpolation[/i]. This method takes two arrays, and " +"can set the data for the current and previous tick in one go. The renderer " +"will automatically interpolate the data at each frame.\n" +"This is useful for situations where the order of instances may change from " +"physics tick to tick, such as particle systems.\n" +"When the order of instances is coherent, the simpler [method MultiMesh." +"set_as_bulk_array] can still be used with interpolation." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets the color of a specific instance by [i]multiplying[/i] the mesh's " "existing vertex colors.\n" "For the color to take effect, ensure that [member color_format] is non-" @@ -34255,6 +34345,16 @@ msgid "Mesh to be drawn." msgstr "" #: doc/classes/MultiMesh.xml +msgid "" +"Choose whether to use an interpolation method that favors speed or quality.\n" +"When using low physics tick rates (typically below 20) or high rates of " +"object rotation, you may get better results from the high quality setting.\n" +"[b]Note:[/b] Fast quality does not equate to low quality. Except in the " +"special cases mentioned above, the quality should be comparable to high " +"quality." +msgstr "" + +#: doc/classes/MultiMesh.xml msgid "Format of transform used to transform mesh, either 2D or 3D." msgstr "" @@ -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 "" @@ -36609,6 +36721,25 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Returns [code]true[/code] if the physics interpolated flag is set for this " +"Node (see [method set_physics_interpolated]).\n" +"[b]Note:[/b] Interpolation will only be active is both the flag is set " +"[b]and[/b] physics interpolation is enabled within the [SceneTree]. This can " +"be tested using [method is_physics_interpolated_and_enabled]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" +"Returns [code]true[/code] if physics interpolation is enabled (see [method " +"set_physics_interpolated]) [b]and[/b] enabled in the [SceneTree].\n" +"This is a convenience version of [method is_physics_interpolated] that also " +"checks whether physics interpolation is enabled globally.\n" +"See [member SceneTree.physics_interpolation] and [member ProjectSettings." +"physics/common/physics_interpolation]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Returns [code]true[/code] if physics processing is enabled (see [method " "set_physics_process])." msgstr "" @@ -36779,6 +36910,21 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"When physics interpolation is active, moving a node to a radically different " +"transform (such as placement within a level) can result in a visible glitch " +"as the object is rendered moving from the old to new position over the " +"physics tick.\n" +"This glitch can be prevented by calling [code]reset_physics_interpolation[/" +"code], which temporarily turns off interpolation until the physics tick is " +"complete.\n" +"[constant NOTIFICATION_RESET_PHYSICS_INTERPOLATION] will be received by the " +"node and all children recursively.\n" +"[b]Note:[/b] This function should be called [b]after[/b] moving the node, " +"rather than before." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Sends a remote procedure call request for the given [code]method[/code] to " "peers on the network (and locally), optionally sending all additional " "arguments as arguments to the method called by the RPC. The call request " @@ -36879,6 +37025,14 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Enables or disables physics interpolation per node, offering a finer grain " +"of control than turning physics interpolation on and off globally.\n" +"[b]Note:[/b] This can be especially useful for [Camera]s, where custom " +"interpolation can sometimes give superior results." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Enables or disables physics (i.e. fixed framerate) processing. When a node " "is being processed, it will receive a [constant " "NOTIFICATION_PHYSICS_PROCESS] at a fixed (usually 60 FPS, see [member Engine." @@ -37129,6 +37283,12 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Notification received when [method reset_physics_interpolation] is called on " +"the node or parent nodes." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Inherits pause mode from the node's parent. For the root node, it is " "equivalent to [constant PAUSE_MODE_STOP]. Default." msgstr "" @@ -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 @@ -46752,6 +46924,17 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If [code]true[/code], the renderer will interpolate the transforms of " +"physics objects between the last two transforms, such that smooth motion is " +"seen when physics ticks do not coincide with rendered frames.\n" +"[b]Note:[/b] When moving objects to new positions (rather than the usual " +"physics motion) you may want to temporarily turn off interpolation to " +"prevent a visible glitch. You can do this using the [method Node." +"reset_physics_interpolation] function." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Controls how much physics ticks are synchronized with real time. For 0 or " "less, the ticks are synchronized. Such values are recommended for network " "games, where clock synchronization matters. Higher values cause higher " @@ -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 @@ -51350,6 +51540,13 @@ msgstr "" #: doc/classes/SceneTree.xml msgid "" +"Although physics interpolation would normally be globally turned on and off " +"using [member ProjectSettings.physics/common/physics_interpolation], this " +"property allows control over interpolation at runtime." +msgstr "" + +#: doc/classes/SceneTree.xml +msgid "" "If [code]true[/code], the [SceneTree]'s [member network_peer] refuses new " "incoming connections." msgstr "" @@ -52603,6 +52800,18 @@ msgstr "" #: doc/classes/Spatial.xml msgid "" +"When using physics interpolation, there will be circumstances in which you " +"want to know the interpolated (displayed) transform of a node rather than " +"the standard transform (which may only be accurate to the most recent " +"physics tick).\n" +"This is particularly important for frame-based operations that take place in " +"[method Node._process], rather than [method Node._physics_process]. Examples " +"include [Camera]s focusing on a node, or finding where to fire lasers from " +"on a frame rather than physics tick." +msgstr "" + +#: doc/classes/Spatial.xml +msgid "" "Returns the parent [Spatial], or an empty [Object] if no parent exists or " "parent is not of type [Spatial]." msgstr "" @@ -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 @@ -57131,6 +57377,14 @@ msgid "Returns the total width of all gutters and internal padding." msgstr "" #: doc/classes/TextEdit.xml +msgid "Returns the total amount of lines that could be drawn." +msgstr "" + +#: doc/classes/TextEdit.xml +msgid "Returns the number of visible lines, including wrapped text." +msgstr "" + +#: doc/classes/TextEdit.xml msgid "" "Returns a [String] text with the word under the caret (text cursor) location." msgstr "" @@ -58171,6 +58425,12 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Unmarks [code]theme_type[/code] as being a variation of another theme type. " +"See [method set_type_variation]." +msgstr "" + +#: doc/classes/Theme.xml msgid "Sets the theme's values to a copy of the default theme values." msgstr "" @@ -58311,6 +58571,17 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Returns the name of the base theme type if [code]theme_type[/code] is a " +"valid variation type. Returns an empty string otherwise." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" +"Returns a list of all type variations for the given [code]base_type[/code]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Returns [code]true[/code] if [Color] with [code]name[/code] is in " "[code]node_type[/code].\n" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." @@ -58359,6 +58630,12 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Returns [code]true[/code] if [code]theme_type[/code] is marked as a " +"variation of [code]base_type[/code]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Adds missing and overrides existing definitions with values from the " "[code]other[/code] [Theme].\n" "[b]Note:[/b] This modifies the current theme. If you want to merge two " @@ -58454,6 +58731,20 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Marks [code]theme_type[/code] as a variation of [code]base_type[/code].\n" +"This adds [code]theme_type[/code] as a suggested option for [member Control." +"theme_type_variation] on a [Control] that is of the [code]base_type[/code] " +"class.\n" +"Variations can also be nested, i.e. [code]base_type[/code] can be another " +"variation. If a chain of variations ends with a [code]base_type[/code] " +"matching the class of the [Control], the whole chain is going to be " +"suggested as options.\n" +"[b]Note:[/b] Suggestions only show up if this theme resource is set as the " +"project default theme. See [member ProjectSettings.gui/theme/custom]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "The default font of this [Theme] resource. Used as a fallback value for font " "items defined in this theme, but having invalid values. If this value is " "also invalid, the global default value is used.\n" @@ -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 f08c6a8e63..39cd3b64ef 100644 --- a/doc/translations/tr.po +++ b/doc/translations/tr.po @@ -4101,6 +4101,15 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" +"Hints that a string property can be an enumerated value to pick in a list " +"specified via a hint string such as [code]\"Hello,Something,Else\"[/code].\n" +"Unlike [constant PROPERTY_HINT_ENUM] a property with this hint still accepts " +"arbitrary values and can be empty. The list of values serves to suggest " +"possible values." +msgstr "" + +#: doc/classes/@GlobalScope.xml +msgid "" "Hints that a float property should be edited via an exponential easing " "function. The hint string can include [code]\"attenuation\"[/code] to flip " "the curve horizontally and/or [code]\"inout\"[/code] to also include in/out " @@ -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 @@ -10258,26 +10268,10 @@ msgid "" msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Name of the current device for audio input (see [method " -"capture_get_device_list]). The value [code]\"Default\"[/code] means that the " -"system-wide default audio input is currently used." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Returns the names of all audio input devices detected on the system." msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Sets which audio input device is used for audio capture. On systems with " -"multiple audio inputs (such as analog and USB), this can be used to select " -"the audio input device. Setting the value [code]\"Default\"[/code] will " -"record audio from the system-wide default audio input. If an invalid device " -"name is set, the value will be reverted back to [code]\"Default\"[/code]." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Generates an [AudioBusLayout] using the available buses and effects." msgstr "" @@ -10435,6 +10429,16 @@ msgstr "" #: doc/classes/AudioServer.xml msgid "" +"Name of the current device for audio input (see [method get_device_list]). " +"On systems with multiple audio inputs (such as analog, USB and HDMI audio), " +"this can be used to select the audio input device. The value " +"[code]\"Default\"[/code] will record audio on the system-wide default audio " +"input. If an invalid device name is set, the value will be reverted back to " +"[code]\"Default\"[/code]." +msgstr "" + +#: doc/classes/AudioServer.xml +msgid "" "Name of the current device for audio output (see [method get_device_list]). " "On systems with multiple audio outputs (such as analog, USB and HDMI audio), " "this can be used to select the audio output device. The value " @@ -13523,6 +13527,18 @@ msgstr "" #: doc/classes/CanvasLayer.xml msgid "" +"Hides any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]false[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" +"Shows any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]true[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" "The custom [Viewport] node assigned to the [CanvasLayer]. If [code]null[/" "code], uses the default viewport instead." msgstr "" @@ -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 " @@ -17119,6 +17136,25 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "" +"The name of a theme type variation used by this [Control] to look up its own " +"theme items. When empty, the class name of the node is used (e.g. " +"[code]Button[/code] for the [Button] control), as well as the class names of " +"all parent classes (in order of inheritance).\n" +"When set, this property gives the highest priority to the type of the " +"specified name. This type can in turn extend another type, forming a " +"dependency chain. See [method Theme.set_type_variation]. If the theme item " +"cannot be found using this type or its base types, lookup falls back on the " +"class names.\n" +"[b]Note:[/b] To look up [Control]'s own items use various [code]get_*[/code] " +"methods without specifying [code]theme_type[/code].\n" +"[b]Note:[/b] Theme items are looked for in the tree order, from branch to " +"root, where each [Control] node is checked for its [member theme] property. " +"The earliest match against any type/class name is returned. The project-" +"level Theme and the default Theme are checked last." +msgstr "" + +#: doc/classes/Control.xml msgid "Emitted when the node gains keyboard focus." msgstr "" @@ -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 @@ -34948,6 +35014,15 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"When using [i]physics interpolation[/i], this function allows you to prevent " +"interpolation on an instance in the current physics tick.\n" +"This allows you to move instances instantaneously, and should usually be " +"used when initially placing an instance such as a bullet to prevent " +"graphical glitches." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets all data related to the instances in one go. This is especially useful " "when loading the data from disk or preparing the data from GDNative.\n" "All data is packed in one large float array. An array may look like this: " @@ -34961,6 +35036,18 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"An alternative version of [method MultiMesh.set_as_bulk_array] which can be " +"used with [i]physics interpolation[/i]. This method takes two arrays, and " +"can set the data for the current and previous tick in one go. The renderer " +"will automatically interpolate the data at each frame.\n" +"This is useful for situations where the order of instances may change from " +"physics tick to tick, such as particle systems.\n" +"When the order of instances is coherent, the simpler [method MultiMesh." +"set_as_bulk_array] can still be used with interpolation." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets the color of a specific instance by [i]multiplying[/i] the mesh's " "existing vertex colors.\n" "For the color to take effect, ensure that [member color_format] is non-" @@ -35003,6 +35090,16 @@ msgid "Mesh to be drawn." msgstr "" #: doc/classes/MultiMesh.xml +msgid "" +"Choose whether to use an interpolation method that favors speed or quality.\n" +"When using low physics tick rates (typically below 20) or high rates of " +"object rotation, you may get better results from the high quality setting.\n" +"[b]Note:[/b] Fast quality does not equate to low quality. Except in the " +"special cases mentioned above, the quality should be comparable to high " +"quality." +msgstr "" + +#: doc/classes/MultiMesh.xml msgid "Format of transform used to transform mesh, either 2D or 3D." msgstr "" @@ -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 "" @@ -37382,6 +37491,25 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Returns [code]true[/code] if the physics interpolated flag is set for this " +"Node (see [method set_physics_interpolated]).\n" +"[b]Note:[/b] Interpolation will only be active is both the flag is set " +"[b]and[/b] physics interpolation is enabled within the [SceneTree]. This can " +"be tested using [method is_physics_interpolated_and_enabled]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" +"Returns [code]true[/code] if physics interpolation is enabled (see [method " +"set_physics_interpolated]) [b]and[/b] enabled in the [SceneTree].\n" +"This is a convenience version of [method is_physics_interpolated] that also " +"checks whether physics interpolation is enabled globally.\n" +"See [member SceneTree.physics_interpolation] and [member ProjectSettings." +"physics/common/physics_interpolation]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Returns [code]true[/code] if physics processing is enabled (see [method " "set_physics_process])." msgstr "" @@ -37552,6 +37680,21 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"When physics interpolation is active, moving a node to a radically different " +"transform (such as placement within a level) can result in a visible glitch " +"as the object is rendered moving from the old to new position over the " +"physics tick.\n" +"This glitch can be prevented by calling [code]reset_physics_interpolation[/" +"code], which temporarily turns off interpolation until the physics tick is " +"complete.\n" +"[constant NOTIFICATION_RESET_PHYSICS_INTERPOLATION] will be received by the " +"node and all children recursively.\n" +"[b]Note:[/b] This function should be called [b]after[/b] moving the node, " +"rather than before." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Sends a remote procedure call request for the given [code]method[/code] to " "peers on the network (and locally), optionally sending all additional " "arguments as arguments to the method called by the RPC. The call request " @@ -37652,6 +37795,14 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Enables or disables physics interpolation per node, offering a finer grain " +"of control than turning physics interpolation on and off globally.\n" +"[b]Note:[/b] This can be especially useful for [Camera]s, where custom " +"interpolation can sometimes give superior results." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Enables or disables physics (i.e. fixed framerate) processing. When a node " "is being processed, it will receive a [constant " "NOTIFICATION_PHYSICS_PROCESS] at a fixed (usually 60 FPS, see [member Engine." @@ -37902,6 +38053,12 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Notification received when [method reset_physics_interpolation] is called on " +"the node or parent nodes." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Inherits pause mode from the node's parent. For the root node, it is " "equivalent to [constant PAUSE_MODE_STOP]. Default." msgstr "" @@ -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 @@ -47559,6 +47728,17 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If [code]true[/code], the renderer will interpolate the transforms of " +"physics objects between the last two transforms, such that smooth motion is " +"seen when physics ticks do not coincide with rendered frames.\n" +"[b]Note:[/b] When moving objects to new positions (rather than the usual " +"physics motion) you may want to temporarily turn off interpolation to " +"prevent a visible glitch. You can do this using the [method Node." +"reset_physics_interpolation] function." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Controls how much physics ticks are synchronized with real time. For 0 or " "less, the ticks are synchronized. Such values are recommended for network " "games, where clock synchronization matters. Higher values cause higher " @@ -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 @@ -52165,6 +52352,13 @@ msgstr "" #: doc/classes/SceneTree.xml msgid "" +"Although physics interpolation would normally be globally turned on and off " +"using [member ProjectSettings.physics/common/physics_interpolation], this " +"property allows control over interpolation at runtime." +msgstr "" + +#: doc/classes/SceneTree.xml +msgid "" "If [code]true[/code], the [SceneTree]'s [member network_peer] refuses new " "incoming connections." msgstr "" @@ -53418,6 +53612,18 @@ msgstr "" #: doc/classes/Spatial.xml msgid "" +"When using physics interpolation, there will be circumstances in which you " +"want to know the interpolated (displayed) transform of a node rather than " +"the standard transform (which may only be accurate to the most recent " +"physics tick).\n" +"This is particularly important for frame-based operations that take place in " +"[method Node._process], rather than [method Node._physics_process]. Examples " +"include [Camera]s focusing on a node, or finding where to fire lasers from " +"on a frame rather than physics tick." +msgstr "" + +#: doc/classes/Spatial.xml +msgid "" "Returns the parent [Spatial], or an empty [Object] if no parent exists or " "parent is not of type [Spatial]." msgstr "" @@ -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 @@ -57955,6 +58198,16 @@ 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." msgstr "" @@ -58995,6 +59248,12 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Unmarks [code]theme_type[/code] as being a variation of another theme type. " +"See [method set_type_variation]." +msgstr "" + +#: doc/classes/Theme.xml msgid "Sets the theme's values to a copy of the default theme values." msgstr "" @@ -59135,6 +59394,18 @@ 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 " "[code]node_type[/code].\n" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." @@ -59183,6 +59454,12 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Returns [code]true[/code] if [code]theme_type[/code] is marked as a " +"variation of [code]base_type[/code]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Adds missing and overrides existing definitions with values from the " "[code]other[/code] [Theme].\n" "[b]Note:[/b] This modifies the current theme. If you want to merge two " @@ -59278,6 +59555,20 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Marks [code]theme_type[/code] as a variation of [code]base_type[/code].\n" +"This adds [code]theme_type[/code] as a suggested option for [member Control." +"theme_type_variation] on a [Control] that is of the [code]base_type[/code] " +"class.\n" +"Variations can also be nested, i.e. [code]base_type[/code] can be another " +"variation. If a chain of variations ends with a [code]base_type[/code] " +"matching the class of the [Control], the whole chain is going to be " +"suggested as options.\n" +"[b]Note:[/b] Suggestions only show up if this theme resource is set as the " +"project default theme. See [member ProjectSettings.gui/theme/custom]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "The default font of this [Theme] resource. Used as a fallback value for font " "items defined in this theme, but having invalid values. If this value is " "also invalid, the global default value is used.\n" @@ -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 0eed155e80..9f268b548f 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 <uniss@ua.fm>\n" +"PO-Revision-Date: 2022-02-16 16:37+0000\n" +"Last-Translator: Yuri Chornoivan <yurchor@ukr.net>\n" "Language-Team: Ukrainian <https://hosted.weblate.org/projects/godot-engine/" "godot-class-reference/uk/>\n" "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 @@ -3480,6 +3478,15 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" +"Hints that a string property can be an enumerated value to pick in a list " +"specified via a hint string such as [code]\"Hello,Something,Else\"[/code].\n" +"Unlike [constant PROPERTY_HINT_ENUM] a property with this hint still accepts " +"arbitrary values and can be empty. The list of values serves to suggest " +"possible values." +msgstr "" + +#: doc/classes/@GlobalScope.xml +msgid "" "Hints that a float property should be edited via an exponential easing " "function. The hint string can include [code]\"attenuation\"[/code] to flip " "the curve horizontally and/or [code]\"inout\"[/code] to also include in/out " @@ -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 @@ -9643,26 +9651,10 @@ msgid "" msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Name of the current device for audio input (see [method " -"capture_get_device_list]). The value [code]\"Default\"[/code] means that the " -"system-wide default audio input is currently used." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Returns the names of all audio input devices detected on the system." msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Sets which audio input device is used for audio capture. On systems with " -"multiple audio inputs (such as analog and USB), this can be used to select " -"the audio input device. Setting the value [code]\"Default\"[/code] will " -"record audio from the system-wide default audio input. If an invalid device " -"name is set, the value will be reverted back to [code]\"Default\"[/code]." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Generates an [AudioBusLayout] using the available buses and effects." msgstr "" @@ -9820,6 +9812,16 @@ msgstr "" #: doc/classes/AudioServer.xml msgid "" +"Name of the current device for audio input (see [method get_device_list]). " +"On systems with multiple audio inputs (such as analog, USB and HDMI audio), " +"this can be used to select the audio input device. The value " +"[code]\"Default\"[/code] will record audio on the system-wide default audio " +"input. If an invalid device name is set, the value will be reverted back to " +"[code]\"Default\"[/code]." +msgstr "" + +#: doc/classes/AudioServer.xml +msgid "" "Name of the current device for audio output (see [method get_device_list]). " "On systems with multiple audio outputs (such as analog, USB and HDMI audio), " "this can be used to select the audio output device. The value " @@ -12903,6 +12905,18 @@ msgstr "" #: doc/classes/CanvasLayer.xml msgid "" +"Hides any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]false[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" +"Shows any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]true[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" "The custom [Viewport] node assigned to the [CanvasLayer]. If [code]null[/" "code], uses the default viewport instead." msgstr "" @@ -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 " @@ -16498,6 +16513,25 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "" +"The name of a theme type variation used by this [Control] to look up its own " +"theme items. When empty, the class name of the node is used (e.g. " +"[code]Button[/code] for the [Button] control), as well as the class names of " +"all parent classes (in order of inheritance).\n" +"When set, this property gives the highest priority to the type of the " +"specified name. This type can in turn extend another type, forming a " +"dependency chain. See [method Theme.set_type_variation]. If the theme item " +"cannot be found using this type or its base types, lookup falls back on the " +"class names.\n" +"[b]Note:[/b] To look up [Control]'s own items use various [code]get_*[/code] " +"methods without specifying [code]theme_type[/code].\n" +"[b]Note:[/b] Theme items are looked for in the tree order, from branch to " +"root, where each [Control] node is checked for its [member theme] property. " +"The earliest match against any type/class name is returned. The project-" +"level Theme and the default Theme are checked last." +msgstr "" + +#: doc/classes/Control.xml msgid "Emitted when the node gains keyboard focus." msgstr "" @@ -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 @@ -34323,6 +34387,15 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"When using [i]physics interpolation[/i], this function allows you to prevent " +"interpolation on an instance in the current physics tick.\n" +"This allows you to move instances instantaneously, and should usually be " +"used when initially placing an instance such as a bullet to prevent " +"graphical glitches." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets all data related to the instances in one go. This is especially useful " "when loading the data from disk or preparing the data from GDNative.\n" "All data is packed in one large float array. An array may look like this: " @@ -34336,6 +34409,18 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"An alternative version of [method MultiMesh.set_as_bulk_array] which can be " +"used with [i]physics interpolation[/i]. This method takes two arrays, and " +"can set the data for the current and previous tick in one go. The renderer " +"will automatically interpolate the data at each frame.\n" +"This is useful for situations where the order of instances may change from " +"physics tick to tick, such as particle systems.\n" +"When the order of instances is coherent, the simpler [method MultiMesh." +"set_as_bulk_array] can still be used with interpolation." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets the color of a specific instance by [i]multiplying[/i] the mesh's " "existing vertex colors.\n" "For the color to take effect, ensure that [member color_format] is non-" @@ -34378,6 +34463,16 @@ msgid "Mesh to be drawn." msgstr "" #: doc/classes/MultiMesh.xml +msgid "" +"Choose whether to use an interpolation method that favors speed or quality.\n" +"When using low physics tick rates (typically below 20) or high rates of " +"object rotation, you may get better results from the high quality setting.\n" +"[b]Note:[/b] Fast quality does not equate to low quality. Except in the " +"special cases mentioned above, the quality should be comparable to high " +"quality." +msgstr "" + +#: doc/classes/MultiMesh.xml msgid "Format of transform used to transform mesh, either 2D or 3D." msgstr "" @@ -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 "" @@ -36753,6 +36860,25 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Returns [code]true[/code] if the physics interpolated flag is set for this " +"Node (see [method set_physics_interpolated]).\n" +"[b]Note:[/b] Interpolation will only be active is both the flag is set " +"[b]and[/b] physics interpolation is enabled within the [SceneTree]. This can " +"be tested using [method is_physics_interpolated_and_enabled]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" +"Returns [code]true[/code] if physics interpolation is enabled (see [method " +"set_physics_interpolated]) [b]and[/b] enabled in the [SceneTree].\n" +"This is a convenience version of [method is_physics_interpolated] that also " +"checks whether physics interpolation is enabled globally.\n" +"See [member SceneTree.physics_interpolation] and [member ProjectSettings." +"physics/common/physics_interpolation]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Returns [code]true[/code] if physics processing is enabled (see [method " "set_physics_process])." msgstr "" @@ -36923,6 +37049,21 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"When physics interpolation is active, moving a node to a radically different " +"transform (such as placement within a level) can result in a visible glitch " +"as the object is rendered moving from the old to new position over the " +"physics tick.\n" +"This glitch can be prevented by calling [code]reset_physics_interpolation[/" +"code], which temporarily turns off interpolation until the physics tick is " +"complete.\n" +"[constant NOTIFICATION_RESET_PHYSICS_INTERPOLATION] will be received by the " +"node and all children recursively.\n" +"[b]Note:[/b] This function should be called [b]after[/b] moving the node, " +"rather than before." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Sends a remote procedure call request for the given [code]method[/code] to " "peers on the network (and locally), optionally sending all additional " "arguments as arguments to the method called by the RPC. The call request " @@ -37023,6 +37164,14 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Enables or disables physics interpolation per node, offering a finer grain " +"of control than turning physics interpolation on and off globally.\n" +"[b]Note:[/b] This can be especially useful for [Camera]s, where custom " +"interpolation can sometimes give superior results." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Enables or disables physics (i.e. fixed framerate) processing. When a node " "is being processed, it will receive a [constant " "NOTIFICATION_PHYSICS_PROCESS] at a fixed (usually 60 FPS, see [member Engine." @@ -37273,6 +37422,12 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Notification received when [method reset_physics_interpolation] is called on " +"the node or parent nodes." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Inherits pause mode from the node's parent. For the root node, it is " "equivalent to [constant PAUSE_MODE_STOP]. Default." msgstr "" @@ -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 @@ -46921,6 +47088,17 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If [code]true[/code], the renderer will interpolate the transforms of " +"physics objects between the last two transforms, such that smooth motion is " +"seen when physics ticks do not coincide with rendered frames.\n" +"[b]Note:[/b] When moving objects to new positions (rather than the usual " +"physics motion) you may want to temporarily turn off interpolation to " +"prevent a visible glitch. You can do this using the [method Node." +"reset_physics_interpolation] function." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Controls how much physics ticks are synchronized with real time. For 0 or " "less, the ticks are synchronized. Such values are recommended for network " "games, where clock synchronization matters. Higher values cause higher " @@ -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 @@ -51520,6 +51705,13 @@ msgstr "" #: doc/classes/SceneTree.xml msgid "" +"Although physics interpolation would normally be globally turned on and off " +"using [member ProjectSettings.physics/common/physics_interpolation], this " +"property allows control over interpolation at runtime." +msgstr "" + +#: doc/classes/SceneTree.xml +msgid "" "If [code]true[/code], the [SceneTree]'s [member network_peer] refuses new " "incoming connections." msgstr "" @@ -52774,6 +52966,18 @@ msgstr "" #: doc/classes/Spatial.xml msgid "" +"When using physics interpolation, there will be circumstances in which you " +"want to know the interpolated (displayed) transform of a node rather than " +"the standard transform (which may only be accurate to the most recent " +"physics tick).\n" +"This is particularly important for frame-based operations that take place in " +"[method Node._process], rather than [method Node._physics_process]. Examples " +"include [Camera]s focusing on a node, or finding where to fire lasers from " +"on a frame rather than physics tick." +msgstr "" + +#: doc/classes/Spatial.xml +msgid "" "Returns the parent [Spatial], or an empty [Object] if no parent exists or " "parent is not of type [Spatial]." msgstr "" @@ -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 @@ -57311,6 +57552,16 @@ 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." msgstr "" @@ -58349,6 +58600,12 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Unmarks [code]theme_type[/code] as being a variation of another theme type. " +"See [method set_type_variation]." +msgstr "" + +#: doc/classes/Theme.xml msgid "Sets the theme's values to a copy of the default theme values." msgstr "" @@ -58490,6 +58747,18 @@ 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 " "[code]node_type[/code].\n" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." @@ -58537,6 +58806,13 @@ msgid "" 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 " "[code]other[/code] [Theme].\n" @@ -58633,6 +58909,20 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Marks [code]theme_type[/code] as a variation of [code]base_type[/code].\n" +"This adds [code]theme_type[/code] as a suggested option for [member Control." +"theme_type_variation] on a [Control] that is of the [code]base_type[/code] " +"class.\n" +"Variations can also be nested, i.e. [code]base_type[/code] can be another " +"variation. If a chain of variations ends with a [code]base_type[/code] " +"matching the class of the [Control], the whole chain is going to be " +"suggested as options.\n" +"[b]Note:[/b] Suggestions only show up if this theme resource is set as the " +"project default theme. See [member ProjectSettings.gui/theme/custom]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "The default font of this [Theme] resource. Used as a fallback value for font " "items defined in this theme, but having invalid values. If this value is " "also invalid, the global default value is used.\n" @@ -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 1c0c455fec..94b26a92d6 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 <revolnoom7801@gmail.com>, 2021. -# IoeCmcomc <hopdaigia2004@gmail.com>, 2021. +# IoeCmcomc <hopdaigia2004@gmail.com>, 2021, 2022. # Hung <hungthitkhia@gmail.com>, 2021. # Giacat Buile <hatconan20024@gmail.com>, 2021. # Quinn Le <quinnsgn@gmail.com>, 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 <quinnsgn@gmail.com>\n" +"PO-Revision-Date: 2022-02-26 10:27+0000\n" +"Last-Translator: IoeCmcomc <hopdaigia2004@gmail.com>\n" "Language-Team: Vietnamese <https://hosted.weblate.org/projects/godot-engine/" "godot-class-reference/vi/>\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" @@ -3756,6 +3757,15 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" +"Hints that a string property can be an enumerated value to pick in a list " +"specified via a hint string such as [code]\"Hello,Something,Else\"[/code].\n" +"Unlike [constant PROPERTY_HINT_ENUM] a property with this hint still accepts " +"arbitrary values and can be empty. The list of values serves to suggest " +"possible values." +msgstr "" + +#: doc/classes/@GlobalScope.xml +msgid "" "Hints that a float property should be edited via an exponential easing " "function. The hint string can include [code]\"attenuation\"[/code] to flip " "the curve horizontally and/or [code]\"inout\"[/code] to also include in/out " @@ -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 @@ -9937,26 +9948,10 @@ msgid "" msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Name of the current device for audio input (see [method " -"capture_get_device_list]). The value [code]\"Default\"[/code] means that the " -"system-wide default audio input is currently used." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Returns the names of all audio input devices detected on the system." msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Sets which audio input device is used for audio capture. On systems with " -"multiple audio inputs (such as analog and USB), this can be used to select " -"the audio input device. Setting the value [code]\"Default\"[/code] will " -"record audio from the system-wide default audio input. If an invalid device " -"name is set, the value will be reverted back to [code]\"Default\"[/code]." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Generates an [AudioBusLayout] using the available buses and effects." msgstr "" @@ -10114,6 +10109,16 @@ msgstr "" #: doc/classes/AudioServer.xml msgid "" +"Name of the current device for audio input (see [method get_device_list]). " +"On systems with multiple audio inputs (such as analog, USB and HDMI audio), " +"this can be used to select the audio input device. The value " +"[code]\"Default\"[/code] will record audio on the system-wide default audio " +"input. If an invalid device name is set, the value will be reverted back to " +"[code]\"Default\"[/code]." +msgstr "" + +#: doc/classes/AudioServer.xml +msgid "" "Name of the current device for audio output (see [method get_device_list]). " "On systems with multiple audio outputs (such as analog, USB and HDMI audio), " "this can be used to select the audio output device. The value " @@ -13198,6 +13203,18 @@ msgstr "" #: doc/classes/CanvasLayer.xml msgid "" +"Hides any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]false[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" +"Shows any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]true[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" "The custom [Viewport] node assigned to the [CanvasLayer]. If [code]null[/" "code], uses the default viewport instead." msgstr "" @@ -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 " @@ -16795,6 +16813,25 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "" +"The name of a theme type variation used by this [Control] to look up its own " +"theme items. When empty, the class name of the node is used (e.g. " +"[code]Button[/code] for the [Button] control), as well as the class names of " +"all parent classes (in order of inheritance).\n" +"When set, this property gives the highest priority to the type of the " +"specified name. This type can in turn extend another type, forming a " +"dependency chain. See [method Theme.set_type_variation]. If the theme item " +"cannot be found using this type or its base types, lookup falls back on the " +"class names.\n" +"[b]Note:[/b] To look up [Control]'s own items use various [code]get_*[/code] " +"methods without specifying [code]theme_type[/code].\n" +"[b]Note:[/b] Theme items are looked for in the tree order, from branch to " +"root, where each [Control] node is checked for its [member theme] property. " +"The earliest match against any type/class name is returned. The project-" +"level Theme and the default Theme are checked last." +msgstr "" + +#: doc/classes/Control.xml msgid "Emitted when the node gains keyboard focus." msgstr "" @@ -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 @@ -34616,6 +34683,15 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"When using [i]physics interpolation[/i], this function allows you to prevent " +"interpolation on an instance in the current physics tick.\n" +"This allows you to move instances instantaneously, and should usually be " +"used when initially placing an instance such as a bullet to prevent " +"graphical glitches." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets all data related to the instances in one go. This is especially useful " "when loading the data from disk or preparing the data from GDNative.\n" "All data is packed in one large float array. An array may look like this: " @@ -34629,6 +34705,18 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"An alternative version of [method MultiMesh.set_as_bulk_array] which can be " +"used with [i]physics interpolation[/i]. This method takes two arrays, and " +"can set the data for the current and previous tick in one go. The renderer " +"will automatically interpolate the data at each frame.\n" +"This is useful for situations where the order of instances may change from " +"physics tick to tick, such as particle systems.\n" +"When the order of instances is coherent, the simpler [method MultiMesh." +"set_as_bulk_array] can still be used with interpolation." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets the color of a specific instance by [i]multiplying[/i] the mesh's " "existing vertex colors.\n" "For the color to take effect, ensure that [member color_format] is non-" @@ -34671,6 +34759,16 @@ msgid "Mesh to be drawn." msgstr "" #: doc/classes/MultiMesh.xml +msgid "" +"Choose whether to use an interpolation method that favors speed or quality.\n" +"When using low physics tick rates (typically below 20) or high rates of " +"object rotation, you may get better results from the high quality setting.\n" +"[b]Note:[/b] Fast quality does not equate to low quality. Except in the " +"special cases mentioned above, the quality should be comparable to high " +"quality." +msgstr "" + +#: doc/classes/MultiMesh.xml msgid "Format of transform used to transform mesh, either 2D or 3D." msgstr "" @@ -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 "" @@ -37048,6 +37158,25 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Returns [code]true[/code] if the physics interpolated flag is set for this " +"Node (see [method set_physics_interpolated]).\n" +"[b]Note:[/b] Interpolation will only be active is both the flag is set " +"[b]and[/b] physics interpolation is enabled within the [SceneTree]. This can " +"be tested using [method is_physics_interpolated_and_enabled]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" +"Returns [code]true[/code] if physics interpolation is enabled (see [method " +"set_physics_interpolated]) [b]and[/b] enabled in the [SceneTree].\n" +"This is a convenience version of [method is_physics_interpolated] that also " +"checks whether physics interpolation is enabled globally.\n" +"See [member SceneTree.physics_interpolation] and [member ProjectSettings." +"physics/common/physics_interpolation]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Returns [code]true[/code] if physics processing is enabled (see [method " "set_physics_process])." msgstr "" @@ -37218,6 +37347,21 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"When physics interpolation is active, moving a node to a radically different " +"transform (such as placement within a level) can result in a visible glitch " +"as the object is rendered moving from the old to new position over the " +"physics tick.\n" +"This glitch can be prevented by calling [code]reset_physics_interpolation[/" +"code], which temporarily turns off interpolation until the physics tick is " +"complete.\n" +"[constant NOTIFICATION_RESET_PHYSICS_INTERPOLATION] will be received by the " +"node and all children recursively.\n" +"[b]Note:[/b] This function should be called [b]after[/b] moving the node, " +"rather than before." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Sends a remote procedure call request for the given [code]method[/code] to " "peers on the network (and locally), optionally sending all additional " "arguments as arguments to the method called by the RPC. The call request " @@ -37318,6 +37462,14 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Enables or disables physics interpolation per node, offering a finer grain " +"of control than turning physics interpolation on and off globally.\n" +"[b]Note:[/b] This can be especially useful for [Camera]s, where custom " +"interpolation can sometimes give superior results." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Enables or disables physics (i.e. fixed framerate) processing. When a node " "is being processed, it will receive a [constant " "NOTIFICATION_PHYSICS_PROCESS] at a fixed (usually 60 FPS, see [member Engine." @@ -37568,6 +37720,12 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Notification received when [method reset_physics_interpolation] is called on " +"the node or parent nodes." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Inherits pause mode from the node's parent. For the root node, it is " "equivalent to [constant PAUSE_MODE_STOP]. Default." msgstr "" @@ -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 @@ -47227,6 +47397,17 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If [code]true[/code], the renderer will interpolate the transforms of " +"physics objects between the last two transforms, such that smooth motion is " +"seen when physics ticks do not coincide with rendered frames.\n" +"[b]Note:[/b] When moving objects to new positions (rather than the usual " +"physics motion) you may want to temporarily turn off interpolation to " +"prevent a visible glitch. You can do this using the [method Node." +"reset_physics_interpolation] function." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Controls how much physics ticks are synchronized with real time. For 0 or " "less, the ticks are synchronized. Such values are recommended for network " "games, where clock synchronization matters. Higher values cause higher " @@ -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 @@ -51831,6 +52019,13 @@ msgstr "" #: doc/classes/SceneTree.xml msgid "" +"Although physics interpolation would normally be globally turned on and off " +"using [member ProjectSettings.physics/common/physics_interpolation], this " +"property allows control over interpolation at runtime." +msgstr "" + +#: doc/classes/SceneTree.xml +msgid "" "If [code]true[/code], the [SceneTree]'s [member network_peer] refuses new " "incoming connections." msgstr "" @@ -53086,6 +53281,18 @@ msgstr "" #: doc/classes/Spatial.xml msgid "" +"When using physics interpolation, there will be circumstances in which you " +"want to know the interpolated (displayed) transform of a node rather than " +"the standard transform (which may only be accurate to the most recent " +"physics tick).\n" +"This is particularly important for frame-based operations that take place in " +"[method Node._process], rather than [method Node._physics_process]. Examples " +"include [Camera]s focusing on a node, or finding where to fire lasers from " +"on a frame rather than physics tick." +msgstr "" + +#: doc/classes/Spatial.xml +msgid "" "Returns the parent [Spatial], or an empty [Object] if no parent exists or " "parent is not of type [Spatial]." msgstr "" @@ -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 @@ -57623,6 +57867,16 @@ 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." msgstr "" @@ -58663,6 +58917,12 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Unmarks [code]theme_type[/code] as being a variation of another theme type. " +"See [method set_type_variation]." +msgstr "" + +#: doc/classes/Theme.xml msgid "Sets the theme's values to a copy of the default theme values." msgstr "" @@ -58803,6 +59063,18 @@ 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 " "[code]node_type[/code].\n" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." @@ -58851,6 +59123,12 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Returns [code]true[/code] if [code]theme_type[/code] is marked as a " +"variation of [code]base_type[/code]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "Adds missing and overrides existing definitions with values from the " "[code]other[/code] [Theme].\n" "[b]Note:[/b] This modifies the current theme. If you want to merge two " @@ -58946,6 +59224,20 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Marks [code]theme_type[/code] as a variation of [code]base_type[/code].\n" +"This adds [code]theme_type[/code] as a suggested option for [member Control." +"theme_type_variation] on a [Control] that is of the [code]base_type[/code] " +"class.\n" +"Variations can also be nested, i.e. [code]base_type[/code] can be another " +"variation. If a chain of variations ends with a [code]base_type[/code] " +"matching the class of the [Control], the whole chain is going to be " +"suggested as options.\n" +"[b]Note:[/b] Suggestions only show up if this theme resource is set as the " +"project default theme. See [member ProjectSettings.gui/theme/custom]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "The default font of this [Theme] resource. Used as a fallback value for font " "items defined in this theme, but having invalid values. If this value is " "also invalid, the global default value is used.\n" @@ -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 fdd36621c7..43706eb180 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 <timothyqiu32@gmail.com>\n" "Language-Team: Chinese (Simplified) <https://hosted.weblate.org/projects/" "godot-engine/godot-class-reference/zh_Hans/>\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" @@ -4182,6 +4182,15 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" +"Hints that a string property can be an enumerated value to pick in a list " +"specified via a hint string such as [code]\"Hello,Something,Else\"[/code].\n" +"Unlike [constant PROPERTY_HINT_ENUM] a property with this hint still accepts " +"arbitrary values and can be empty. The list of values serves to suggest " +"possible values." +msgstr "" + +#: doc/classes/@GlobalScope.xml +msgid "" "Hints that a float property should be edited via an exponential easing " "function. The hint string can include [code]\"attenuation\"[/code] to flip " "the curve horizontally and/or [code]\"inout\"[/code] to also include in/out " @@ -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]." @@ -11778,27 +11783,10 @@ msgstr "" "[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]。" @@ -11972,6 +11960,21 @@ 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]). " "On systems with multiple audio outputs (such as analog, USB and HDMI audio), " @@ -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,15 +15702,32 @@ 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[/" "code], uses the default viewport instead." @@ -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 " @@ -20218,6 +20251,25 @@ msgid "" 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 "" @@ -42590,6 +42757,15 @@ 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 " "when loading the data from disk or preparing the data from GDNative.\n" "All data is packed in one large float array. An array may look like this: " @@ -42610,6 +42786,18 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"An alternative version of [method MultiMesh.set_as_bulk_array] which can be " +"used with [i]physics interpolation[/i]. This method takes two arrays, and " +"can set the data for the current and previous tick in one go. The renderer " +"will automatically interpolate the data at each frame.\n" +"This is useful for situations where the order of instances may change from " +"physics tick to tick, such as particle systems.\n" +"When the order of instances is coherent, the simpler [method MultiMesh." +"set_as_bulk_array] can still be used with interpolation." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets the color of a specific instance by [i]multiplying[/i] the mesh's " "existing vertex colors.\n" "For the color to take effect, ensure that [member color_format] is non-" @@ -42660,6 +42848,16 @@ msgid "Mesh to be drawn." msgstr "将要绘制的网格。" #: doc/classes/MultiMesh.xml +msgid "" +"Choose whether to use an interpolation method that favors speed or quality.\n" +"When using low physics tick rates (typically below 20) or high rates of " +"object rotation, you may get better results from the high quality setting.\n" +"[b]Note:[/b] Fast quality does not equate to low quality. Except in the " +"special cases mentioned above, the quality should be comparable to high " +"quality." +msgstr "" + +#: doc/classes/MultiMesh.xml msgid "Format of transform used to transform mesh, either 2D or 3D." msgstr "用于变换网格的变换格式,可以是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." @@ -45683,6 +45882,25 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Returns [code]true[/code] if the physics interpolated flag is set for this " +"Node (see [method set_physics_interpolated]).\n" +"[b]Note:[/b] Interpolation will only be active is both the flag is set " +"[b]and[/b] physics interpolation is enabled within the [SceneTree]. This can " +"be tested using [method is_physics_interpolated_and_enabled]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" +"Returns [code]true[/code] if physics interpolation is enabled (see [method " +"set_physics_interpolated]) [b]and[/b] enabled in the [SceneTree].\n" +"This is a convenience version of [method is_physics_interpolated] that also " +"checks whether physics interpolation is enabled globally.\n" +"See [member SceneTree.physics_interpolation] and [member ProjectSettings." +"physics/common/physics_interpolation]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Returns [code]true[/code] if physics processing is enabled (see [method " "set_physics_process])." msgstr "" @@ -45919,6 +46137,21 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"When physics interpolation is active, moving a node to a radically different " +"transform (such as placement within a level) can result in a visible glitch " +"as the object is rendered moving from the old to new position over the " +"physics tick.\n" +"This glitch can be prevented by calling [code]reset_physics_interpolation[/" +"code], which temporarily turns off interpolation until the physics tick is " +"complete.\n" +"[constant NOTIFICATION_RESET_PHYSICS_INTERPOLATION] will be received by the " +"node and all children recursively.\n" +"[b]Note:[/b] This function should be called [b]after[/b] moving the node, " +"rather than before." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Sends a remote procedure call request for the given [code]method[/code] to " "peers on the network (and locally), optionally sending all additional " "arguments as arguments to the method called by the RPC. The call request " @@ -46057,6 +46290,14 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Enables or disables physics interpolation per node, offering a finer grain " +"of control than turning physics interpolation on and off globally.\n" +"[b]Note:[/b] This can be especially useful for [Camera]s, where custom " +"interpolation can sometimes give superior results." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Enables or disables physics (i.e. fixed framerate) processing. When a node " "is being processed, it will receive a [constant " "NOTIFICATION_PHYSICS_PROCESS] at a fixed (usually 60 FPS, see [member Engine." @@ -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." @@ -46367,6 +46612,13 @@ msgstr "" "同,它每次节点进入树时都会发送,而不是只发送一次。" #: 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 " "equivalent to [constant PAUSE_MODE_STOP]. Default." @@ -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 -#, fuzzy msgid "Allows changing the polygon geometry from code." -msgstr "通过代码绘制简单的几何形状。" +msgstr "允许通过代码修改多边形形状。" #: doc/classes/OccluderShapePolygon.xml +#, fuzzy 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." @@ -64454,6 +64745,13 @@ msgstr "" #: doc/classes/SceneTree.xml msgid "" +"Although physics interpolation would normally be globally turned on and off " +"using [member ProjectSettings.physics/common/physics_interpolation], this " +"property allows control over interpolation at runtime." +msgstr "" + +#: doc/classes/SceneTree.xml +msgid "" "If [code]true[/code], the [SceneTree]'s [member network_peer] refuses new " "incoming connections." msgstr "" @@ -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." @@ -71440,6 +71841,16 @@ 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." msgstr "返回一个 [String] 文本,该文本中的单词位于 caret(文本光标)的位置。" @@ -72674,6 +73085,12 @@ msgstr "" "[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 "" @@ -72857,6 +73274,19 @@ msgstr "" "[b]注意:[/b][code]node_type[/code]没有生效,在未来的版本中会被删除。" #: doc/classes/Theme.xml +#, fuzzy +msgid "" +"Returns the name of the base theme type if [code]theme_type[/code] is a " +"valid variation type. Returns an empty string otherwise." +msgstr "返回正在播放的场景名称。如果当前没有场景正在播放,返回一个空字符串。" + +#: 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 " "[code]node_type[/code].\n" @@ -72924,6 +73354,14 @@ msgstr "" "如果该主题没有[code]node_type[/code],则返回[code]false[/code]。" #: doc/classes/Theme.xml +#, fuzzy +msgid "" +"Returns [code]true[/code] if [code]theme_type[/code] is marked as a " +"variation of [code]base_type[/code]." +msgstr "" +"如果预加载器包含一个与[code]name[/code]相关的资源,则返回[code]true[/code]。" + +#: doc/classes/Theme.xml msgid "" "Adds missing and overrides existing definitions with values from the " "[code]other[/code] [Theme].\n" @@ -73055,6 +73493,20 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Marks [code]theme_type[/code] as a variation of [code]base_type[/code].\n" +"This adds [code]theme_type[/code] as a suggested option for [member Control." +"theme_type_variation] on a [Control] that is of the [code]base_type[/code] " +"class.\n" +"Variations can also be nested, i.e. [code]base_type[/code] can be another " +"variation. If a chain of variations ends with a [code]base_type[/code] " +"matching the class of the [Control], the whole chain is going to be " +"suggested as options.\n" +"[b]Note:[/b] Suggestions only show up if this theme resource is set as the " +"project default theme. See [member ProjectSettings.gui/theme/custom]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "The default font of this [Theme] resource. Used as a fallback value for font " "items defined in this theme, but having invalid values. If this value is " "also invalid, the global default value is used.\n" @@ -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]按钮的提示信息字符串。" +"如果在 [code]column[/code] 列中存在 ID 为 [code]id[/code] 的按钮,则返回其索" +"引号,否则返回 -1。" #: 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]中按钮的数量。如果没有指定索引,可以用来获取最近添加的" -"按钮的索引。" +#, fuzzy +msgid "Returns the number of buttons in column [code]column[/code]." +msgstr "返回列[code]column[/code]的自定义颜色。" #: doc/classes/TreeItem.xml -#, fuzzy 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 6fb4ff9eb2..9a4f44af62 100644 --- a/doc/translations/zh_TW.po +++ b/doc/translations/zh_TW.po @@ -3435,6 +3435,15 @@ msgstr "" #: doc/classes/@GlobalScope.xml msgid "" +"Hints that a string property can be an enumerated value to pick in a list " +"specified via a hint string such as [code]\"Hello,Something,Else\"[/code].\n" +"Unlike [constant PROPERTY_HINT_ENUM] a property with this hint still accepts " +"arbitrary values and can be empty. The list of values serves to suggest " +"possible values." +msgstr "" + +#: doc/classes/@GlobalScope.xml +msgid "" "Hints that a float property should be edited via an exponential easing " "function. The hint string can include [code]\"attenuation\"[/code] to flip " "the curve horizontally and/or [code]\"inout\"[/code] to also include in/out " @@ -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 @@ -9595,26 +9605,10 @@ msgid "" msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Name of the current device for audio input (see [method " -"capture_get_device_list]). The value [code]\"Default\"[/code] means that the " -"system-wide default audio input is currently used." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Returns the names of all audio input devices detected on the system." msgstr "" #: doc/classes/AudioServer.xml -msgid "" -"Sets which audio input device is used for audio capture. On systems with " -"multiple audio inputs (such as analog and USB), this can be used to select " -"the audio input device. Setting the value [code]\"Default\"[/code] will " -"record audio from the system-wide default audio input. If an invalid device " -"name is set, the value will be reverted back to [code]\"Default\"[/code]." -msgstr "" - -#: doc/classes/AudioServer.xml msgid "Generates an [AudioBusLayout] using the available buses and effects." msgstr "" @@ -9772,6 +9766,16 @@ msgstr "" #: doc/classes/AudioServer.xml msgid "" +"Name of the current device for audio input (see [method get_device_list]). " +"On systems with multiple audio inputs (such as analog, USB and HDMI audio), " +"this can be used to select the audio input device. The value " +"[code]\"Default\"[/code] will record audio on the system-wide default audio " +"input. If an invalid device name is set, the value will be reverted back to " +"[code]\"Default\"[/code]." +msgstr "" + +#: doc/classes/AudioServer.xml +msgid "" "Name of the current device for audio output (see [method get_device_list]). " "On systems with multiple audio outputs (such as analog, USB and HDMI audio), " "this can be used to select the audio output device. The value " @@ -12855,6 +12859,18 @@ msgstr "" #: doc/classes/CanvasLayer.xml msgid "" +"Hides any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]false[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" +"Shows any [CanvasItem] under this [CanvasLayer]. This is equivalent to " +"setting [member visible] to [code]true[/code]." +msgstr "" + +#: doc/classes/CanvasLayer.xml +msgid "" "The custom [Viewport] node assigned to the [CanvasLayer]. If [code]null[/" "code], uses the default viewport instead." msgstr "" @@ -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 " @@ -16450,6 +16467,25 @@ msgid "" msgstr "" #: doc/classes/Control.xml +msgid "" +"The name of a theme type variation used by this [Control] to look up its own " +"theme items. When empty, the class name of the node is used (e.g. " +"[code]Button[/code] for the [Button] control), as well as the class names of " +"all parent classes (in order of inheritance).\n" +"When set, this property gives the highest priority to the type of the " +"specified name. This type can in turn extend another type, forming a " +"dependency chain. See [method Theme.set_type_variation]. If the theme item " +"cannot be found using this type or its base types, lookup falls back on the " +"class names.\n" +"[b]Note:[/b] To look up [Control]'s own items use various [code]get_*[/code] " +"methods without specifying [code]theme_type[/code].\n" +"[b]Note:[/b] Theme items are looked for in the tree order, from branch to " +"root, where each [Control] node is checked for its [member theme] property. " +"The earliest match against any type/class name is returned. The project-" +"level Theme and the default Theme are checked last." +msgstr "" + +#: doc/classes/Control.xml msgid "Emitted when the node gains keyboard focus." msgstr "" @@ -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 @@ -34275,6 +34341,15 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"When using [i]physics interpolation[/i], this function allows you to prevent " +"interpolation on an instance in the current physics tick.\n" +"This allows you to move instances instantaneously, and should usually be " +"used when initially placing an instance such as a bullet to prevent " +"graphical glitches." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets all data related to the instances in one go. This is especially useful " "when loading the data from disk or preparing the data from GDNative.\n" "All data is packed in one large float array. An array may look like this: " @@ -34288,6 +34363,18 @@ msgstr "" #: doc/classes/MultiMesh.xml msgid "" +"An alternative version of [method MultiMesh.set_as_bulk_array] which can be " +"used with [i]physics interpolation[/i]. This method takes two arrays, and " +"can set the data for the current and previous tick in one go. The renderer " +"will automatically interpolate the data at each frame.\n" +"This is useful for situations where the order of instances may change from " +"physics tick to tick, such as particle systems.\n" +"When the order of instances is coherent, the simpler [method MultiMesh." +"set_as_bulk_array] can still be used with interpolation." +msgstr "" + +#: doc/classes/MultiMesh.xml +msgid "" "Sets the color of a specific instance by [i]multiplying[/i] the mesh's " "existing vertex colors.\n" "For the color to take effect, ensure that [member color_format] is non-" @@ -34330,6 +34417,16 @@ msgid "Mesh to be drawn." msgstr "" #: doc/classes/MultiMesh.xml +msgid "" +"Choose whether to use an interpolation method that favors speed or quality.\n" +"When using low physics tick rates (typically below 20) or high rates of " +"object rotation, you may get better results from the high quality setting.\n" +"[b]Note:[/b] Fast quality does not equate to low quality. Except in the " +"special cases mentioned above, the quality should be comparable to high " +"quality." +msgstr "" + +#: doc/classes/MultiMesh.xml msgid "Format of transform used to transform mesh, either 2D or 3D." msgstr "" @@ -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 "" @@ -36704,6 +36813,25 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Returns [code]true[/code] if the physics interpolated flag is set for this " +"Node (see [method set_physics_interpolated]).\n" +"[b]Note:[/b] Interpolation will only be active is both the flag is set " +"[b]and[/b] physics interpolation is enabled within the [SceneTree]. This can " +"be tested using [method is_physics_interpolated_and_enabled]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" +"Returns [code]true[/code] if physics interpolation is enabled (see [method " +"set_physics_interpolated]) [b]and[/b] enabled in the [SceneTree].\n" +"This is a convenience version of [method is_physics_interpolated] that also " +"checks whether physics interpolation is enabled globally.\n" +"See [member SceneTree.physics_interpolation] and [member ProjectSettings." +"physics/common/physics_interpolation]." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Returns [code]true[/code] if physics processing is enabled (see [method " "set_physics_process])." msgstr "" @@ -36874,6 +37002,21 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"When physics interpolation is active, moving a node to a radically different " +"transform (such as placement within a level) can result in a visible glitch " +"as the object is rendered moving from the old to new position over the " +"physics tick.\n" +"This glitch can be prevented by calling [code]reset_physics_interpolation[/" +"code], which temporarily turns off interpolation until the physics tick is " +"complete.\n" +"[constant NOTIFICATION_RESET_PHYSICS_INTERPOLATION] will be received by the " +"node and all children recursively.\n" +"[b]Note:[/b] This function should be called [b]after[/b] moving the node, " +"rather than before." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Sends a remote procedure call request for the given [code]method[/code] to " "peers on the network (and locally), optionally sending all additional " "arguments as arguments to the method called by the RPC. The call request " @@ -36974,6 +37117,14 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Enables or disables physics interpolation per node, offering a finer grain " +"of control than turning physics interpolation on and off globally.\n" +"[b]Note:[/b] This can be especially useful for [Camera]s, where custom " +"interpolation can sometimes give superior results." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Enables or disables physics (i.e. fixed framerate) processing. When a node " "is being processed, it will receive a [constant " "NOTIFICATION_PHYSICS_PROCESS] at a fixed (usually 60 FPS, see [member Engine." @@ -37224,6 +37375,12 @@ msgstr "" #: doc/classes/Node.xml msgid "" +"Notification received when [method reset_physics_interpolation] is called on " +"the node or parent nodes." +msgstr "" + +#: doc/classes/Node.xml +msgid "" "Inherits pause mode from the node's parent. For the root node, it is " "equivalent to [constant PAUSE_MODE_STOP]. Default." msgstr "" @@ -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 @@ -46870,6 +47039,17 @@ msgstr "" #: doc/classes/ProjectSettings.xml msgid "" +"If [code]true[/code], the renderer will interpolate the transforms of " +"physics objects between the last two transforms, such that smooth motion is " +"seen when physics ticks do not coincide with rendered frames.\n" +"[b]Note:[/b] When moving objects to new positions (rather than the usual " +"physics motion) you may want to temporarily turn off interpolation to " +"prevent a visible glitch. You can do this using the [method Node." +"reset_physics_interpolation] function." +msgstr "" + +#: doc/classes/ProjectSettings.xml +msgid "" "Controls how much physics ticks are synchronized with real time. For 0 or " "less, the ticks are synchronized. Such values are recommended for network " "games, where clock synchronization matters. Higher values cause higher " @@ -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 @@ -51469,6 +51656,13 @@ msgstr "" #: doc/classes/SceneTree.xml msgid "" +"Although physics interpolation would normally be globally turned on and off " +"using [member ProjectSettings.physics/common/physics_interpolation], this " +"property allows control over interpolation at runtime." +msgstr "" + +#: doc/classes/SceneTree.xml +msgid "" "If [code]true[/code], the [SceneTree]'s [member network_peer] refuses new " "incoming connections." msgstr "" @@ -52723,6 +52917,18 @@ msgstr "" #: doc/classes/Spatial.xml msgid "" +"When using physics interpolation, there will be circumstances in which you " +"want to know the interpolated (displayed) transform of a node rather than " +"the standard transform (which may only be accurate to the most recent " +"physics tick).\n" +"This is particularly important for frame-based operations that take place in " +"[method Node._process], rather than [method Node._physics_process]. Examples " +"include [Camera]s focusing on a node, or finding where to fire lasers from " +"on a frame rather than physics tick." +msgstr "" + +#: doc/classes/Spatial.xml +msgid "" "Returns the parent [Spatial], or an empty [Object] if no parent exists or " "parent is not of type [Spatial]." msgstr "" @@ -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 @@ -57260,6 +57503,16 @@ 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." msgstr "" @@ -58298,6 +58551,12 @@ msgid "" msgstr "" #: doc/classes/Theme.xml +msgid "" +"Unmarks [code]theme_type[/code] as being a variation of another theme type. " +"See [method set_type_variation]." +msgstr "" + +#: doc/classes/Theme.xml msgid "Sets the theme's values to a copy of the default theme values." msgstr "" @@ -58439,6 +58698,18 @@ 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 " "[code]node_type[/code].\n" "Returns [code]false[/code] if the theme does not have [code]node_type[/code]." @@ -58486,6 +58757,13 @@ msgid "" 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 " "[code]other[/code] [Theme].\n" @@ -58582,6 +58860,20 @@ msgstr "" #: doc/classes/Theme.xml msgid "" +"Marks [code]theme_type[/code] as a variation of [code]base_type[/code].\n" +"This adds [code]theme_type[/code] as a suggested option for [member Control." +"theme_type_variation] on a [Control] that is of the [code]base_type[/code] " +"class.\n" +"Variations can also be nested, i.e. [code]base_type[/code] can be another " +"variation. If a chain of variations ends with a [code]base_type[/code] " +"matching the class of the [Control], the whole chain is going to be " +"suggested as options.\n" +"[b]Note:[/b] Suggestions only show up if this theme resource is set as the " +"project default theme. See [member ProjectSettings.gui/theme/custom]." +msgstr "" + +#: doc/classes/Theme.xml +msgid "" "The default font of this [Theme] resource. Used as a fallback value for font " "items defined in this theme, but having invalid values. If this value is " "also invalid, the global default value is used.\n" @@ -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 |