summaryrefslogtreecommitdiff
path: root/doc/translations/th.po
diff options
context:
space:
mode:
Diffstat (limited to 'doc/translations/th.po')
-rw-r--r--doc/translations/th.po308
1 files changed, 255 insertions, 53 deletions
diff --git a/doc/translations/th.po b/doc/translations/th.po
index 924f45c368..712c89e797 100644
--- a/doc/translations/th.po
+++ b/doc/translations/th.po
@@ -9,12 +9,13 @@
# Kongfa Warorot <gongpha@hotmail.com>, 2020.
# PT 07 <porton555@gmail.com>, 2021.
# SysError_ <ictsanook@hotmail.com>, 2021.
+# Kanda Ninthfish <akkhaporn@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-12-10 10:42+0000\n"
-"Last-Translator: SysError_ <ictsanook@hotmail.com>\n"
+"PO-Revision-Date: 2022-04-18 06:11+0000\n"
+"Last-Translator: Kanda Ninthfish <akkhaporn@gmail.com>\n"
"Language-Team: Thai <https://hosted.weblate.org/projects/godot-engine/godot-"
"class-reference/th/>\n"
"Language: th\n"
@@ -22,7 +23,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.12-dev\n"
#: doc/tools/make_rst.py
msgid "Description"
@@ -38,7 +39,7 @@ msgstr "คุณสมบัติ"
#: doc/tools/make_rst.py
msgid "Methods"
-msgstr "เมธอด"
+msgstr "วิธีการ"
#: doc/tools/make_rst.py
msgid "Theme Properties"
@@ -71,23 +72,23 @@ msgstr "รายละเอียดของคุณสมบัติ"
#: doc/tools/make_rst.py
msgid "Inherits:"
-msgstr ""
+msgstr "สืบทอด:"
#: doc/tools/make_rst.py
msgid "Inherited By:"
-msgstr ""
+msgstr "สืบทอดโดย:"
#: doc/tools/make_rst.py
msgid "(overrides %s)"
-msgstr ""
+msgstr "(แทนที่ %s)"
#: doc/tools/make_rst.py
msgid "Default"
-msgstr ""
+msgstr "ค่าเริ่มต้น"
#: doc/tools/make_rst.py
msgid "Setter"
-msgstr ""
+msgstr "Setter"
#: doc/tools/make_rst.py
msgid "value"
@@ -95,7 +96,7 @@ msgstr ""
#: doc/tools/make_rst.py
msgid "Getter"
-msgstr ""
+msgstr "Getter"
#: doc/tools/make_rst.py
msgid ""
@@ -3563,7 +3564,7 @@ msgid "The property is a translatable string."
msgstr ""
#: doc/classes/@GlobalScope.xml
-msgid "Used to group properties together in the editor."
+msgid "Used to group properties together in the editor. See [EditorInspector]."
msgstr ""
#: doc/classes/@GlobalScope.xml
@@ -7091,8 +7092,9 @@ msgstr ""
#: doc/classes/Array.xml
msgid ""
-"Removes the first occurrence of a value from the array. To remove an element "
-"by index, use [method remove] instead.\n"
+"Removes the first occurrence of a value from the array. If the value does "
+"not exist in the array, nothing happens. To remove an element by index, use "
+"[method remove] instead.\n"
"[b]Note:[/b] This method acts in-place and doesn't return a value.\n"
"[b]Note:[/b] On large arrays, this method will be slower if the removed "
"element is close to the beginning of the array (index 0). This is because "
@@ -11820,8 +11822,8 @@ msgstr ""
#: doc/classes/Camera.xml
msgid ""
"The camera's size measured as 1/2 the width or height. Only applicable in "
-"orthogonal mode. Since [member keep_aspect] locks on axis, [code]size[/code] "
-"sets the other axis' size length."
+"orthogonal and frustum modes. Since [member keep_aspect] locks on axis, "
+"[code]size[/code] sets the other axis' size length."
msgstr ""
#: doc/classes/Camera.xml
@@ -12621,8 +12623,11 @@ msgstr ""
#: doc/classes/CanvasItem.xml
msgid ""
-"If [code]enable[/code] is [code]true[/code], the node won't inherit its "
-"transform from parent canvas items."
+"If [code]enable[/code] is [code]true[/code], this [CanvasItem] will [i]not[/"
+"i] inherit its transform from parent [CanvasItem]s. Its draw order will also "
+"be changed to make it draw on top of other [CanvasItem]s that are not set as "
+"top-level. The [CanvasItem] will effectively act as if it was placed as a "
+"child of a bare [Node]. See also [method is_set_as_toplevel]."
msgstr ""
#: doc/classes/CanvasItem.xml
@@ -13711,7 +13716,10 @@ msgid ""
"number of 2D collision [Shape2D]s. Each shape must be assigned to a [i]shape "
"owner[/i]. The CollisionObject2D can have any number of shape owners. Shape "
"owners are not nodes and do not appear in the editor, but are accessible "
-"through code using the [code]shape_owner_*[/code] methods."
+"through code using the [code]shape_owner_*[/code] methods.\n"
+"[b]Note:[/b] Only collisions between objects within the same canvas "
+"([Viewport] canvas or [CanvasLayer]) are supported. The behavior of "
+"collisions between objects in different canvases is undefined."
msgstr ""
#: doc/classes/CollisionObject2D.xml
@@ -20587,18 +20595,34 @@ msgid ""
msgstr ""
#: doc/classes/EditorInspector.xml
-msgid "A tab used to edit properties of the selected node."
+msgid "A control used to edit properties of an object."
msgstr ""
#: doc/classes/EditorInspector.xml
msgid ""
-"The editor inspector is by default located on the right-hand side of the "
-"editor. It's used to edit the properties of the selected node. For example, "
-"you can select a node such as [Sprite] then edit its transform through the "
-"inspector tool. The editor inspector is an essential tool in the game "
-"development workflow.\n"
-"[b]Note:[/b] This class shouldn't be instantiated directly. Instead, access "
-"the singleton using [method EditorInterface.get_inspector]."
+"This is the control that implements property editing in the editor's "
+"Settings dialogs, the Inspector dock, etc. To get the [EditorInspector] used "
+"in the editor's Inspector dock, use [method EditorInterface.get_inspector].\n"
+"[EditorInspector] will show properties in the same order as the array "
+"returned by [method Object.get_property_list].\n"
+"If a property's name is path-like (i.e. if it contains forward slashes), "
+"[EditorInspector] will create nested sections for \"directories\" along the "
+"path. For example, if a property is named [code]highlighting/gdscript/"
+"node_path_color[/code], it will be shown as \"Node Path Color\" inside the "
+"\"GDScript\" section nested inside the \"Highlighting\" section.\n"
+"If a property has [constant @GlobalScope.PROPERTY_USAGE_GROUP] usage, it "
+"will group subsequent properties whose name starts with the property's hint "
+"string. The group ends when a property does not start with that hint string "
+"or when a new group starts. An empty group name effectively ends the current "
+"group. [EditorInspector] will create a top-level section for each group. For "
+"example, if a property with group usage is named [code]Collide With[/code] "
+"and its hint string is [code]collide_with_[/code], a subsequent "
+"[code]collide_with_area[/code] property will be shown as \"Area\" inside the "
+"\"Collide With\" section.\n"
+"[b]Note:[/b] Unlike sections created from path-like property names, "
+"[EditorInspector] won't capitalize the name for sections created from "
+"groups. So properties with group usage usually use capitalized names instead "
+"of snake_cased names."
msgstr ""
#: doc/classes/EditorInspector.xml
@@ -21773,6 +21797,14 @@ msgid ""
"[/codeblock]"
msgstr ""
+#: modules/gltf/doc_classes/EditorSceneImporterGLTF.xml
+msgid ""
+"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF "
+"loading and saving is [i]not[/i] available in exported projects. References "
+"to [EditorSceneImporterGLTF] within a script will cause an error in an "
+"exported project."
+msgstr ""
+
#: doc/classes/EditorScenePostImport.xml
msgid "Post-processes scenes after import."
msgstr ""
@@ -25672,6 +25704,50 @@ msgstr ""
msgid "Represents the size of the [enum Subdiv] enum."
msgstr ""
+#: modules/gltf/doc_classes/GLTFAccessor.xml
+msgid ""
+"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF "
+"loading and saving is [i]not[/i] available in exported projects. References "
+"to [GLTFAccessor] within a script will cause an error in an exported project."
+msgstr ""
+
+#: modules/gltf/doc_classes/GLTFAnimation.xml
+msgid ""
+"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF "
+"loading and saving is [i]not[/i] available in exported projects. References "
+"to [GLTFAnimation] within a script will cause an error in an exported "
+"project."
+msgstr ""
+
+#: modules/gltf/doc_classes/GLTFBufferView.xml
+msgid ""
+"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF "
+"loading and saving is [i]not[/i] available in exported projects. References "
+"to [GLTFBufferView] within a script will cause an error in an exported "
+"project."
+msgstr ""
+
+#: modules/gltf/doc_classes/GLTFCamera.xml
+msgid ""
+"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF "
+"loading and saving is [i]not[/i] available in exported projects. References "
+"to [GLTFCamera] within a script will cause an error in an exported project."
+msgstr ""
+
+#: modules/gltf/doc_classes/GLTFDocument.xml
+msgid ""
+"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF "
+"loading and saving is [i]not[/i] available in exported projects. References "
+"to [GLTFDocument] within a script will cause an error in an exported project."
+msgstr ""
+
+#: modules/gltf/doc_classes/GLTFLight.xml
+msgid ""
+"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF "
+"loading and saving is [i]not[/i] available in exported projects. References "
+"to [GLTFLight] within a script will cause an error in an exported project."
+msgstr ""
+
#: modules/gltf/doc_classes/GLTFLight.xml
msgid ""
"The [Color] of the light. Defaults to white. A black color causes the light "
@@ -25721,6 +25797,49 @@ msgid ""
"and [DirectionalLight] respectively."
msgstr ""
+#: modules/gltf/doc_classes/GLTFMesh.xml
+msgid ""
+"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF "
+"loading and saving is [i]not[/i] available in exported projects. References "
+"to [GLTFMesh] within a script will cause an error in an exported project."
+msgstr ""
+
+#: modules/gltf/doc_classes/GLTFNode.xml
+msgid ""
+"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF "
+"loading and saving is [i]not[/i] available in exported projects. References "
+"to [GLTFNode] within a script will cause an error in an exported project."
+msgstr ""
+
+#: modules/gltf/doc_classes/GLTFSkeleton.xml
+msgid ""
+"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF "
+"loading and saving is [i]not[/i] available in exported projects. References "
+"to [GLTFSkeleton] within a script will cause an error in an exported project."
+msgstr ""
+
+#: modules/gltf/doc_classes/GLTFSpecGloss.xml
+msgid ""
+"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF "
+"loading and saving is [i]not[/i] available in exported projects. References "
+"to [GLTFSpecGloss] within a script will cause an error in an exported "
+"project."
+msgstr ""
+
+#: modules/gltf/doc_classes/GLTFState.xml
+msgid ""
+"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF "
+"loading and saving is [i]not[/i] available in exported projects. References "
+"to [GLTFState] within a script will cause an error in an exported project."
+msgstr ""
+
+#: modules/gltf/doc_classes/GLTFTexture.xml
+msgid ""
+"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF "
+"loading and saving is [i]not[/i] available in exported projects. References "
+"to [GLTFTexture] within a script will cause an error in an exported project."
+msgstr ""
+
#: modules/mono/doc_classes/GodotSharp.xml
msgid "Bridge between Godot and the Mono runtime (Mono-enabled builds only)."
msgstr ""
@@ -32689,7 +32808,7 @@ msgid ""
"be within the text's length."
msgstr ""
-#: doc/classes/LineEdit.xml
+#: doc/classes/LineEdit.xml doc/classes/RichTextLabel.xml
msgid "Clears the current selection."
msgstr ""
@@ -32708,6 +32827,18 @@ msgid ""
"characters."
msgstr ""
+#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml
+msgid "Returns the selection begin column."
+msgstr ""
+
+#: doc/classes/LineEdit.xml doc/classes/TextEdit.xml
+msgid "Returns the selection end column."
+msgstr ""
+
+#: doc/classes/LineEdit.xml
+msgid "Returns [code]true[/code] if the user has selected text."
+msgstr ""
+
#: doc/classes/LineEdit.xml
msgid "Executes a given action as defined in the [enum MenuItems] enum."
msgstr ""
@@ -36464,7 +36595,7 @@ msgstr ""
#: doc/classes/Node.xml
msgid "Nodes and Scenes"
-msgstr ""
+msgstr "โหนดและฉาก"
#: doc/classes/Node.xml
msgid "All Demos"
@@ -38184,7 +38315,10 @@ msgid ""
msgstr ""
#: doc/classes/Object.xml
-msgid "Returns the object's metadata entry for the given [code]name[/code]."
+msgid ""
+"Returns the object's metadata entry for the given [code]name[/code].\n"
+"Throws error if the entry does not exist, unless [code]default[/code] is not "
+"[code]null[/code] (in which case the default value will be returned)."
msgstr ""
#: doc/classes/Object.xml
@@ -40397,6 +40531,14 @@ msgid ""
"[b]Note:[/b] Only available in editor builds."
msgstr ""
+#: modules/gltf/doc_classes/PackedSceneGLTF.xml
+msgid ""
+"[b]Note:[/b] This class is only compiled in editor builds. Run-time glTF "
+"loading and saving is [i]not[/i] available in exported projects. References "
+"to [PackedSceneGLTF] within a script will cause an error in an exported "
+"project."
+msgstr ""
+
#: doc/classes/PacketPeer.xml
msgid "Abstraction and base class for packet-based protocols."
msgstr ""
@@ -46105,7 +46247,7 @@ msgstr ""
#: doc/classes/ProjectSettings.xml
msgid ""
"Allows the window to be resizable by default.\n"
-"[b]Note:[/b] This setting is ignored on iOS and Android."
+"[b]Note:[/b] This setting is ignored on iOS."
msgstr ""
#: doc/classes/ProjectSettings.xml
@@ -46757,7 +46899,7 @@ msgid "Optional name for the 3D render layer 13."
msgstr ""
#: doc/classes/ProjectSettings.xml
-msgid "Optional name for the 3D render layer 14"
+msgid "Optional name for the 3D render layer 14."
msgstr ""
#: doc/classes/ProjectSettings.xml
@@ -48027,16 +48169,24 @@ msgstr ""
#: doc/classes/ProjectSettings.xml
msgid ""
-"If [code]true[/code], forces vertex shading for all rendering. This can "
-"increase performance a lot, but also reduces quality immensely. Can be used "
-"to optimize performance on low-end mobile devices."
+"If [code]true[/code], forces vertex shading for all 3D [SpatialMaterial] and "
+"[ShaderMaterial] rendering. This can be used to improve performance on low-"
+"end mobile devices. The downside is that shading becomes much less accurate, "
+"with visible linear interpolation between vertices that are joined together. "
+"This can be compensated by ensuring meshes have a sufficient level of "
+"subdivision (but not too much, to avoid reducing performance). Some material "
+"features are also not supported when vertex shading is enabled.\n"
+"See also [member SpatialMaterial.flags_vertex_lighting] which can be used to "
+"enable vertex shading on specific materials only.\n"
+"[b]Note:[/b] This setting does not affect unshaded materials."
msgstr ""
#: doc/classes/ProjectSettings.xml
msgid ""
"Lower-end override for [member rendering/quality/shading/"
"force_vertex_shading] on mobile devices, due to performance concerns or "
-"driver support."
+"driver support. If lighting looks broken after exporting the project to a "
+"mobile platform, try disabling this setting."
msgstr ""
#: doc/classes/ProjectSettings.xml
@@ -50072,6 +50222,11 @@ msgid ""
msgstr ""
#: doc/classes/RichTextLabel.xml
+#, fuzzy
+msgid "Returns the current selection text. Does not include BBCodes."
+msgstr "คืนค่าการกำหนดค่าของลำโพง"
+
+#: doc/classes/RichTextLabel.xml
msgid ""
"Returns the total number of characters from text tags. Does not include "
"BBCodes."
@@ -52363,14 +52518,23 @@ msgstr ""
#: doc/classes/Semaphore.xml
msgid ""
-"Lowers the [Semaphore], allowing one more thread in. Returns [constant OK] "
-"on success, [constant ERR_BUSY] otherwise."
+"Lowers the [Semaphore], allowing one more thread in.\n"
+"[b]Note:[/b] This method internals' can't possibly fail, but an error code "
+"is returned for backwards compatibility, which will always be [constant OK]."
+msgstr ""
+
+#: doc/classes/Semaphore.xml
+msgid ""
+"Like [method wait], but won't block, so if the value is zero, fails "
+"immediately and returns [constant ERR_BUSY]. If non-zero, it returns "
+"[constant OK] to report success."
msgstr ""
#: doc/classes/Semaphore.xml
msgid ""
-"Tries to wait for the [Semaphore], if its value is zero, blocks until non-"
-"zero. Returns [constant OK] on success, [constant ERR_BUSY] otherwise."
+"Waits for the [Semaphore], if its value is zero, blocks until non-zero.\n"
+"[b]Note:[/b] This method internals' can't possibly fail, but an error code "
+"is returned for backwards compatibility, which will always be [constant OK]."
msgstr ""
#: doc/classes/Separator.xml
@@ -53816,7 +53980,21 @@ msgstr ""
#: doc/classes/SpatialMaterial.xml
msgid ""
"If [code]true[/code], lighting is calculated per vertex rather than per "
-"pixel. This may increase performance on low-end devices."
+"pixel. This may increase performance on low-end devices, especially for "
+"meshes with a lower polygon count. The downside is that shading becomes much "
+"less accurate, with visible linear interpolation between vertices that are "
+"joined together. This can be compensated by ensuring meshes have a "
+"sufficient level of subdivision (but not too much, to avoid reducing "
+"performance). Some material features are also not supported when vertex "
+"shading is enabled.\n"
+"See also [member ProjectSettings.rendering/quality/shading/"
+"force_vertex_shading] which can globally enable vertex shading on all "
+"materials.\n"
+"[b]Note:[/b] By default, vertex shading is enforced on mobile platforms by "
+"[member ProjectSettings.rendering/quality/shading/force_vertex_shading]'s "
+"[code]mobile[/code] override.\n"
+"[b]Note:[/b] [member flags_vertex_lighting] has no effect if [member "
+"flags_unshaded] is [code]true[/code]."
msgstr ""
#: doc/classes/SpatialMaterial.xml
@@ -54620,7 +54798,10 @@ msgid ""
"the text alignment to right.\n"
"See [Range] class for more options over the [SpinBox].\n"
"[b]Note:[/b] [SpinBox] relies on an underlying [LineEdit] node. To theme a "
-"[SpinBox]'s background, add theme items for [LineEdit] and customize them."
+"[SpinBox]'s background, add theme items for [LineEdit] and customize them.\n"
+"[b]Note:[/b] If you want to implement drag and drop for the underlying "
+"[LineEdit], you can use [method Control.set_drag_forwarding] on the node "
+"returned by [method get_line_edit]."
msgstr ""
#: doc/classes/SpinBox.xml
@@ -55941,7 +56122,6 @@ msgid ""
"print(\"1.7\".is_valid_float()) # Prints \"True\"\n"
"print(\"24\".is_valid_float()) # Prints \"True\"\n"
"print(\"7e3\".is_valid_float()) # Prints \"True\"\n"
-"print(\"24\".is_valid_float()) # Prints \"True\"\n"
"print(\"Hello\".is_valid_float()) # Prints \"False\"\n"
"[/codeblock]"
msgstr ""
@@ -56212,9 +56392,9 @@ msgstr ""
#: doc/classes/String.xml
msgid ""
"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"
+"S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) of "
+"this string compared to another. A result of 1.0 means totally similar, "
+"while 0.0 means totally dissimilar.\n"
"[codeblock]\n"
"print(\"ABC123\".similarity(\"ABC123\")) # Prints \"1\"\n"
"print(\"ABC123\".similarity(\"XYZ456\")) # Prints \"0\"\n"
@@ -57687,10 +57867,6 @@ msgid ""
msgstr ""
#: doc/classes/TextEdit.xml
-msgid "Returns the selection begin column."
-msgstr ""
-
-#: doc/classes/TextEdit.xml
msgid "Returns the selection begin line."
msgstr ""
@@ -57699,10 +57875,6 @@ msgid "Returns the text inside the selection."
msgstr ""
#: doc/classes/TextEdit.xml
-msgid "Returns the selection end column."
-msgstr ""
-
-#: doc/classes/TextEdit.xml
msgid "Returns the selection end line."
msgstr ""
@@ -58725,6 +58897,14 @@ msgid ""
msgstr ""
#: doc/classes/Theme.xml
+msgid ""
+"Adds an empty theme type for every valid data type.\n"
+"[b]Note:[/b] Empty types are not saved with the theme. This method only "
+"exists to perform in-memory changes to the resource. Use available "
+"[code]set_*[/code] methods to add theme items."
+msgstr ""
+
+#: doc/classes/Theme.xml
msgid "Clears all values on the theme."
msgstr ""
@@ -58984,6 +59164,13 @@ msgstr ""
#: doc/classes/Theme.xml
msgid ""
+"Removes the theme type, gracefully discarding defined theme items. If the "
+"type is a variation, this information is also erased. If the type is a base "
+"for type variations, those variations lose their base."
+msgstr ""
+
+#: doc/classes/Theme.xml
+msgid ""
"Renames the [Color] at [code]old_name[/code] to [code]name[/code] if the "
"theme has [code]node_type[/code]. If [code]name[/code] is already taken, "
"this method fails."
@@ -71697,6 +71884,11 @@ msgid ""
msgstr ""
#: modules/websocket/doc_classes/WebSocketServer.xml
+msgid ""
+"Sets additional headers to be sent to clients during the HTTP handshake."
+msgstr ""
+
+#: modules/websocket/doc_classes/WebSocketServer.xml
msgid "Stops the server and clear its state."
msgstr ""
@@ -71792,6 +71984,9 @@ msgid ""
"\n"
" webxr_interface = ARVRServer.find_interface(\"WebXR\")\n"
" if webxr_interface:\n"
+" # Map to the standard button/axis ids when possible.\n"
+" webxr_interface.xr_standard_mapping = true\n"
+"\n"
" # WebXR uses a lot of asynchronous callbacks, so we connect to "
"various\n"
" # signals in order to receive them.\n"
@@ -72017,6 +72212,13 @@ msgstr ""
#: modules/webxr/doc_classes/WebXRInterface.xml
msgid ""
+"If set to true, the button and axes ids will be converted to match the "
+"standard ids used by other AR/VR interfaces, when possible.\n"
+"Otherwise, the ids will be passed through unaltered from WebXR."
+msgstr ""
+
+#: modules/webxr/doc_classes/WebXRInterface.xml
+msgid ""
"Emitted to indicate that the reference space has been reset or "
"reconfigured.\n"
"When (or whether) this is emitted depends on the user's browser or device, "