From 2857b91385b566667f6a321554047286f1f13ecf Mon Sep 17 00:00:00 2001 From: Septian Date: Wed, 19 Jul 2023 19:56:06 +0700 Subject: [PATCH] Fix many typos in documentation --- doc/classes/CodeEdit.xml | 2 +- doc/classes/Dictionary.xml | 2 +- doc/classes/EditorVCSInterface.xml | 2 +- doc/classes/FontFile.xml | 2 +- doc/classes/Image.xml | 4 ++-- doc/classes/Node3D.xml | 2 +- doc/classes/PackedByteArray.xml | 2 +- doc/classes/ProjectSettings.xml | 2 +- doc/classes/RenderingDevice.xml | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/doc/classes/CodeEdit.xml b/doc/classes/CodeEdit.xml index ab63d66aba0..db825634bcf 100644 --- a/doc/classes/CodeEdit.xml +++ b/doc/classes/CodeEdit.xml @@ -435,7 +435,7 @@ - Submits all completion options added with [method add_code_completion_option]. Will try to force the autoccomplete menu to popup, if [param force] is [code]true[/code]. + Submits all completion options added with [method add_code_completion_option]. Will try to force the autocomplete menu to popup, if [param force] is [code]true[/code]. [b]Note:[/b] This will replace all current candidates. diff --git a/doc/classes/Dictionary.xml b/doc/classes/Dictionary.xml index 3f165c2ac53..b39c5c96999 100644 --- a/doc/classes/Dictionary.xml +++ b/doc/classes/Dictionary.xml @@ -261,7 +261,7 @@ [/csharp] [/codeblocks] [b]Note:[/b] Dictionaries with the same entries but in a different order will not have the same hash. - [b]Note:[/b] Dictionaries with equal hash values are [i]not[/i] guaranteed to be the same, because of hash collisions. On the countrary, dictionaries with different hash values are guaranteed to be different. + [b]Note:[/b] Dictionaries with equal hash values are [i]not[/i] guaranteed to be the same, because of hash collisions. On the contrary, dictionaries with different hash values are guaranteed to be different. diff --git a/doc/classes/EditorVCSInterface.xml b/doc/classes/EditorVCSInterface.xml index 0acc53fa58a..baf69f2c6de 100644 --- a/doc/classes/EditorVCSInterface.xml +++ b/doc/classes/EditorVCSInterface.xml @@ -240,7 +240,7 @@ - Pops up an error message in the edior which is shown as coming from the underlying VCS. Use this to show VCS specific error messages. + Pops up an error message in the editor which is shown as coming from the underlying VCS. Use this to show VCS specific error messages. diff --git a/doc/classes/FontFile.xml b/doc/classes/FontFile.xml index 2bd964053b8..ba4761e900f 100644 --- a/doc/classes/FontFile.xml +++ b/doc/classes/FontFile.xml @@ -134,7 +134,7 @@ - Recturns an active face index in the TrueType / OpenType collection. + Returns an active face index in the TrueType / OpenType collection. diff --git a/doc/classes/Image.xml b/doc/classes/Image.xml index 3150d0f08fa..81954dd7de5 100644 --- a/doc/classes/Image.xml +++ b/doc/classes/Image.xml @@ -679,13 +679,13 @@ - [url=https://en.wikipedia.org/wiki/Adaptive_scalable_texture_compression]Adaptive Scalable Texutre Compression[/url]. This implements the 4x4 (high quality) mode. + [url=https://en.wikipedia.org/wiki/Adaptive_scalable_texture_compression]Adaptive Scalable Texture Compression[/url]. This implements the 4x4 (high quality) mode. Same format as [constant FORMAT_ASTC_4x4], but with the hint to let the GPU know it is used for HDR. - [url=https://en.wikipedia.org/wiki/Adaptive_scalable_texture_compression]Adaptive Scalable Texutre Compression[/url]. This implements the 8x8 (low quality) mode. + [url=https://en.wikipedia.org/wiki/Adaptive_scalable_texture_compression]Adaptive Scalable Texture Compression[/url]. This implements the 8x8 (low quality) mode. Same format as [constant FORMAT_ASTC_8x8], but with the hint to let the GPU know it is used for HDR. diff --git a/doc/classes/Node3D.xml b/doc/classes/Node3D.xml index ea4c6366f2f..b5ead07a104 100644 --- a/doc/classes/Node3D.xml +++ b/doc/classes/Node3D.xml @@ -291,7 +291,7 @@ Access to the node rotation as a [Quaternion]. This property is ideal for tweening complex rotations. - Rotation part of the local transformation in radians, specified in terms of Euler angles. The angles construct a rotaton in the order specified by the [member rotation_order] property. + Rotation part of the local transformation in radians, specified in terms of Euler angles. The angles construct a rotation in the order specified by the [member rotation_order] property. [b]Note:[/b] In the mathematical sense, rotation is a matrix and not a vector. The three Euler angles, which are the three independent parameters of the Euler-angle parametrization of the rotation matrix, are stored in a [Vector3] data structure not because the rotation is a vector, but only because [Vector3] exists as a convenient data-structure to store 3 floating-point numbers. Therefore, applying affine operations on the rotation "vector" is not meaningful. [b]Note:[/b] This property is edited in the inspector in degrees. If you want to use degrees in a script, use [member rotation_degrees]. diff --git a/doc/classes/PackedByteArray.xml b/doc/classes/PackedByteArray.xml index 51f353c17a1..60d3a55711d 100644 --- a/doc/classes/PackedByteArray.xml +++ b/doc/classes/PackedByteArray.xml @@ -346,7 +346,7 @@ - Returns [code]true[/code] if a valid [Variant] value can be decoded at the [param byte_offset]. Returns [code]false[/code] othewrise or when the value is [Object]-derived and [param allow_objects] is [code]false[/code]. + Returns [code]true[/code] if a valid [Variant] value can be decoded at the [param byte_offset]. Returns [code]false[/code] otherwise or when the value is [Object]-derived and [param allow_objects] is [code]false[/code]. diff --git a/doc/classes/ProjectSettings.xml b/doc/classes/ProjectSettings.xml index 0c78525e458..90a11a10323 100644 --- a/doc/classes/ProjectSettings.xml +++ b/doc/classes/ProjectSettings.xml @@ -819,7 +819,7 @@ Name of the .NET assembly. This name is used as the name of the [code].csproj[/code] and [code].sln[/code] files. By default, it's set to the name of the project ([member application/config/name]) allowing to change it in the future without affecting the .NET assembly. - Number of times to attempt assembly reloading after rebuilding .NET assembies. Effectively also the timeout in seconds to wait for unloading of script assemblies to finish. + Number of times to attempt assembly reloading after rebuilding .NET assemblies. Effectively also the timeout in seconds to wait for unloading of script assemblies to finish. Directory that contains the [code].sln[/code] file. By default, the [code].sln[/code] files is in the root of the project directory, next to the [code]project.godot[/code] and [code].csproj[/code] files. diff --git a/doc/classes/RenderingDevice.xml b/doc/classes/RenderingDevice.xml index 73507b10a70..40a6ad9787f 100644 --- a/doc/classes/RenderingDevice.xml +++ b/doc/classes/RenderingDevice.xml @@ -214,7 +214,7 @@ - High-level variant of [method draw_list_begin], with the parameters automtaically being adjusted for drawing onto the window specified by the [param screen] ID. + High-level variant of [method draw_list_begin], with the parameters automatically being adjusted for drawing onto the window specified by the [param screen] ID. [b]Note:[/b] Cannot be used with local RenderingDevices, as these don't have a screen. If called on a local RenderingDevice, [method draw_list_begin_for_screen] returns [constant INVALID_ID].