Browse Source

Fix typos with codespell

Using codespell 2.2-dev from current git.

Fix a couple incorrect uses of gendered pronouns.
Rémi Verschelde 3 years ago
parent
commit
afe8492241
66 changed files with 69 additions and 69 deletions
  1. 1 1
      CHANGELOG.md
  2. 1 1
      core/command_queue_mt.h
  3. 1 1
      core/compressed_translation.h
  4. 1 1
      core/io/marshalls.cpp
  5. 2 2
      core/math/face3.h
  6. 1 1
      core/pool_allocator.h
  7. 1 1
      doc/classes/BakedLightmap.xml
  8. 1 1
      doc/classes/InputEventJoypadButton.xml
  9. 1 1
      doc/translations/ar.po
  10. 1 1
      doc/translations/ca.po
  11. 1 1
      doc/translations/classes.pot
  12. 1 1
      doc/translations/cs.po
  13. 1 1
      doc/translations/de.po
  14. 1 1
      doc/translations/el.po
  15. 1 1
      doc/translations/es.po
  16. 1 1
      doc/translations/fa.po
  17. 1 1
      doc/translations/fi.po
  18. 1 1
      doc/translations/fil.po
  19. 1 1
      doc/translations/fr.po
  20. 1 1
      doc/translations/gl.po
  21. 1 1
      doc/translations/hi.po
  22. 1 1
      doc/translations/hu.po
  23. 1 1
      doc/translations/id.po
  24. 1 1
      doc/translations/is.po
  25. 1 1
      doc/translations/it.po
  26. 1 1
      doc/translations/ja.po
  27. 1 1
      doc/translations/ko.po
  28. 1 1
      doc/translations/lv.po
  29. 1 1
      doc/translations/mr.po
  30. 1 1
      doc/translations/nb.po
  31. 1 1
      doc/translations/nl.po
  32. 1 1
      doc/translations/pl.po
  33. 1 1
      doc/translations/pt.po
  34. 1 1
      doc/translations/pt_BR.po
  35. 1 1
      doc/translations/ro.po
  36. 1 1
      doc/translations/ru.po
  37. 1 1
      doc/translations/sk.po
  38. 1 1
      doc/translations/sr_Cyrl.po
  39. 1 1
      doc/translations/sv.po
  40. 1 1
      doc/translations/th.po
  41. 1 1
      doc/translations/tl.po
  42. 1 1
      doc/translations/tr.po
  43. 1 1
      doc/translations/uk.po
  44. 1 1
      doc/translations/vi.po
  45. 1 1
      doc/translations/zh_CN.po
  46. 1 1
      doc/translations/zh_TW.po
  47. 1 1
      drivers/gles3/rasterizer_scene_gles3.cpp
  48. 1 1
      drivers/gles3/shaders/scene.glsl
  49. 1 1
      editor/editor_audio_buses.cpp
  50. 1 1
      editor/editor_file_system.cpp
  51. 1 1
      editor/editor_inspector.cpp
  52. 1 1
      editor/rename_dialog.cpp
  53. 1 1
      main/tests/test_math.cpp
  54. 1 1
      modules/camera/camera_osx.h
  55. 1 1
      modules/camera/camera_osx.mm
  56. 1 1
      modules/gdnative/include/nativescript/godot_nativescript.h
  57. 1 1
      modules/mono/mono_gd/gd_mono_class.cpp
  58. 1 1
      modules/visual_script/visual_script_flow_control.cpp
  59. 2 2
      platform/x11/os_x11.cpp
  60. 1 1
      scene/animation/animation_player.cpp
  61. 1 1
      scene/animation/animation_tree.cpp
  62. 1 1
      scene/main/viewport.cpp
  63. 1 1
      scene/resources/resource_format_text.cpp
  64. 2 2
      servers/physics/joints/generic_6dof_joint_sw.h
  65. 1 1
      servers/physics/joints/slider_joint_sw.cpp
  66. 1 1
      servers/visual_server.cpp

+ 1 - 1
CHANGELOG.md

@@ -29,7 +29,7 @@ See the [release announcement](https://godotengine.org/article/maintenance-relea
 
 
 - Print every file exported with `PCKPacker.flush()`'s verbose parameter ([GH-58520](https://github.com/godotengine/godot/pull/58520)).
 - Print every file exported with `PCKPacker.flush()`'s verbose parameter ([GH-58520](https://github.com/godotengine/godot/pull/58520)).
 - Fix `UndoRedo::create_action()` invalid memory usage ([GH-58652](https://github.com/godotengine/godot/pull/58652)).
 - Fix `UndoRedo::create_action()` invalid memory usage ([GH-58652](https://github.com/godotengine/godot/pull/58652)).
-- Revert "Fix ProjectSettings `has_setting()` when used on a overriden setting with feature tags" ([GH-58859](https://github.com/godotengine/godot/pull/58859)).
+- Revert "Fix ProjectSettings `has_setting()` when used on a overridden setting with feature tags" ([GH-58859](https://github.com/godotengine/godot/pull/58859)).
 - Fix crash on `Input.get_joy_button_index_from_string` and `Input.get_joy_axis_index_from_string` for non-existing key ([GH-59195](https://github.com/godotengine/godot/pull/59195)).
 - Fix crash on `Input.get_joy_button_index_from_string` and `Input.get_joy_axis_index_from_string` for non-existing key ([GH-59195](https://github.com/godotengine/godot/pull/59195)).
 
 
 #### GUI
 #### GUI

+ 1 - 1
core/command_queue_mt.h

@@ -299,7 +299,7 @@ class CommandQueueMT {
 	DECL_CMD(0)
 	DECL_CMD(0)
 	SPACE_SEP_LIST(DECL_CMD, 13)
 	SPACE_SEP_LIST(DECL_CMD, 13)
 
 
-	/* comands that return */
+	/* commands that return */
 	DECL_CMD_RET(0)
 	DECL_CMD_RET(0)
 	SPACE_SEP_LIST(DECL_CMD_RET, 13)
 	SPACE_SEP_LIST(DECL_CMD_RET, 13)
 
 

+ 1 - 1
core/compressed_translation.h

@@ -38,7 +38,7 @@ class PHashTranslation : public Translation {
 
 
 	//this translation uses a sort of modified perfect hash algorithm
 	//this translation uses a sort of modified perfect hash algorithm
 	//it requires hashing strings twice and then does a binary search,
 	//it requires hashing strings twice and then does a binary search,
-	//so it's slower, but at the same time it has an extreemly high chance
+	//so it's slower, but at the same time it has an extremely high chance
 	//of catching untranslated strings
 	//of catching untranslated strings
 
 
 	//load/store friendly types
 	//load/store friendly types

+ 1 - 1
core/io/marshalls.cpp

@@ -765,7 +765,7 @@ static void _encode_string(const String &p_string, uint8_t *&buf, int &r_len) {
 }
 }
 
 
 Error encode_variant(const Variant &p_variant, uint8_t *r_buffer, int &r_len, bool p_full_objects, int p_depth) {
 Error encode_variant(const Variant &p_variant, uint8_t *r_buffer, int &r_len, bool p_full_objects, int p_depth) {
-	ERR_FAIL_COND_V_MSG(p_depth > Variant::MAX_RECURSION_DEPTH, ERR_OUT_OF_MEMORY, "Potential inifite recursion detected. Bailing.");
+	ERR_FAIL_COND_V_MSG(p_depth > Variant::MAX_RECURSION_DEPTH, ERR_OUT_OF_MEMORY, "Potential infinite recursion detected. Bailing.");
 	uint8_t *buf = r_buffer;
 	uint8_t *buf = r_buffer;
 
 
 	r_len = 0;
 	r_len = 0;

+ 2 - 2
core/math/face3.h

@@ -50,8 +50,8 @@ public:
 	/**
 	/**
 	 *
 	 *
 	 * @param p_plane plane used to split the face
 	 * @param p_plane plane used to split the face
-	 * @param p_res array of at least 3 faces, amount used in functio return
-	 * @param p_is_point_over array of at least 3 booleans, determining which face is over the plane, amount used in functio return
+	 * @param p_res array of at least 3 faces, amount used in function return
+	 * @param p_is_point_over array of at least 3 booleans, determining which face is over the plane, amount used in function return
 	 * @param _epsilon constant used for numerical error rounding, to add "thickness" to the plane (so coplanar points can happen)
 	 * @param _epsilon constant used for numerical error rounding, to add "thickness" to the plane (so coplanar points can happen)
 	 * @return amount of faces generated by the split, either 0 (means no split possible), 2 or 3
 	 * @return amount of faces generated by the split, either 0 (means no split possible), 2 or 3
 	 */
 	 */

+ 1 - 1
core/pool_allocator.h

@@ -37,7 +37,7 @@
 	@author Juan Linietsky <[email protected]>
 	@author Juan Linietsky <[email protected]>
  * Generic Pool Allocator.
  * Generic Pool Allocator.
  * This is a generic memory pool allocator, with locking, compacting and alignment. (@TODO alignment)
  * This is a generic memory pool allocator, with locking, compacting and alignment. (@TODO alignment)
- * It used as a standard way to manage alloction in a specific region of memory, such as texture memory,
+ * It used as a standard way to manage allocation in a specific region of memory, such as texture memory,
  * audio sample memory, or just any kind of memory overall.
  * audio sample memory, or just any kind of memory overall.
  * (@TODO) abstraction should be greater, because in many platforms, you need to manage a nonreachable memory.
  * (@TODO) abstraction should be greater, because in many platforms, you need to manage a nonreachable memory.
 */
 */

+ 1 - 1
doc/classes/BakedLightmap.xml

@@ -81,7 +81,7 @@
 			The calculated light data.
 			The calculated light data.
 		</member>
 		</member>
 		<member name="quality" type="int" setter="set_bake_quality" getter="get_bake_quality" enum="BakedLightmap.BakeQuality" default="1">
 		<member name="quality" type="int" setter="set_bake_quality" getter="get_bake_quality" enum="BakedLightmap.BakeQuality" default="1">
-			Determines the amount of samples per texel used in indrect light baking. The amount of samples for each quality level can be configured in the project settings.
+			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 project settings.
 		</member>
 		</member>
 		<member name="use_color" type="bool" setter="set_use_color" getter="is_using_color" default="true">
 		<member name="use_color" type="bool" setter="set_use_color" getter="is_using_color" default="true">
 			Store full color values in the lightmap textures. When disabled, lightmap textures will store a single brightness channel. Can be disabled to reduce disk usage if the scene contains only white lights or you don't mind losing color information in indirect lighting.
 			Store full color values in the lightmap textures. When disabled, lightmap textures will store a single brightness channel. Can be disabled to reduce disk usage if the scene contains only white lights or you don't mind losing color information in indirect lighting.

+ 1 - 1
doc/classes/InputEventJoypadButton.xml

@@ -19,7 +19,7 @@
 			If [code]true[/code], the button's state is pressed. If [code]false[/code], the button's state is released.
 			If [code]true[/code], the button's state is pressed. If [code]false[/code], the button's state is released.
 		</member>
 		</member>
 		<member name="pressure" type="float" setter="set_pressure" getter="get_pressure" default="0.0">
 		<member name="pressure" type="float" setter="set_pressure" getter="get_pressure" default="0.0">
-			Represents the pressure the user puts on the button with his finger, if the controller supports it. Ranges from [code]0[/code] to [code]1[/code].
+			Represents the pressure the user puts on the button with their finger, if the controller supports it. Ranges from [code]0[/code] to [code]1[/code].
 		</member>
 		</member>
 	</members>
 	</members>
 	<constants>
 	<constants>

+ 1 - 1
doc/translations/ar.po

@@ -29095,7 +29095,7 @@ msgstr ""
 
 
 #: doc/classes/InputEventJoypadButton.xml
 #: doc/classes/InputEventJoypadButton.xml
 msgid ""
 msgid ""
-"Represents the pressure the user puts on the button with his finger, if the "
+"Represents the pressure the user puts on the button with their finger, if the "
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 msgstr ""
 msgstr ""
 
 

+ 1 - 1
doc/translations/ca.po

@@ -29042,7 +29042,7 @@ msgstr ""
 
 
 #: doc/classes/InputEventJoypadButton.xml
 #: doc/classes/InputEventJoypadButton.xml
 msgid ""
 msgid ""
-"Represents the pressure the user puts on the button with his finger, if the "
+"Represents the pressure the user puts on the button with their finger, if the "
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 msgstr ""
 msgstr ""
 
 

+ 1 - 1
doc/translations/classes.pot

@@ -28862,7 +28862,7 @@ msgstr ""
 
 
 #: doc/classes/InputEventJoypadButton.xml
 #: doc/classes/InputEventJoypadButton.xml
 msgid ""
 msgid ""
-"Represents the pressure the user puts on the button with his finger, if the "
+"Represents the pressure the user puts on the button with their finger, if the "
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 msgstr ""
 msgstr ""
 
 

+ 1 - 1
doc/translations/cs.po

@@ -29533,7 +29533,7 @@ msgstr ""
 
 
 #: doc/classes/InputEventJoypadButton.xml
 #: doc/classes/InputEventJoypadButton.xml
 msgid ""
 msgid ""
-"Represents the pressure the user puts on the button with his finger, if the "
+"Represents the pressure the user puts on the button with their finger, if the "
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 msgstr ""
 msgstr ""
 
 

+ 1 - 1
doc/translations/de.po

@@ -31228,7 +31228,7 @@ msgstr ""
 
 
 #: doc/classes/InputEventJoypadButton.xml
 #: doc/classes/InputEventJoypadButton.xml
 msgid ""
 msgid ""
-"Represents the pressure the user puts on the button with his finger, if the "
+"Represents the pressure the user puts on the button with their finger, if the "
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 msgstr ""
 msgstr ""
 
 

+ 1 - 1
doc/translations/el.po

@@ -29017,7 +29017,7 @@ msgstr ""
 
 
 #: doc/classes/InputEventJoypadButton.xml
 #: doc/classes/InputEventJoypadButton.xml
 msgid ""
 msgid ""
-"Represents the pressure the user puts on the button with his finger, if the "
+"Represents the pressure the user puts on the button with their finger, if the "
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 msgstr ""
 msgstr ""
 
 

+ 1 - 1
doc/translations/es.po

@@ -38638,7 +38638,7 @@ msgstr ""
 
 
 #: doc/classes/InputEventJoypadButton.xml
 #: doc/classes/InputEventJoypadButton.xml
 msgid ""
 msgid ""
-"Represents the pressure the user puts on the button with his finger, if the "
+"Represents the pressure the user puts on the button with their finger, if the "
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 msgstr ""
 msgstr ""
 "Representa la presión que el usuario ejerce sobre el botón con su dedo, si "
 "Representa la presión que el usuario ejerce sobre el botón con su dedo, si "

+ 1 - 1
doc/translations/fa.po

@@ -29436,7 +29436,7 @@ msgstr ""
 
 
 #: doc/classes/InputEventJoypadButton.xml
 #: doc/classes/InputEventJoypadButton.xml
 msgid ""
 msgid ""
-"Represents the pressure the user puts on the button with his finger, if the "
+"Represents the pressure the user puts on the button with their finger, if the "
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 msgstr ""
 msgstr ""
 
 

+ 1 - 1
doc/translations/fi.po

@@ -29020,7 +29020,7 @@ msgstr ""
 
 
 #: doc/classes/InputEventJoypadButton.xml
 #: doc/classes/InputEventJoypadButton.xml
 msgid ""
 msgid ""
-"Represents the pressure the user puts on the button with his finger, if the "
+"Represents the pressure the user puts on the button with their finger, if the "
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 msgstr ""
 msgstr ""
 
 

+ 1 - 1
doc/translations/fil.po

@@ -28997,7 +28997,7 @@ msgstr ""
 
 
 #: doc/classes/InputEventJoypadButton.xml
 #: doc/classes/InputEventJoypadButton.xml
 msgid ""
 msgid ""
-"Represents the pressure the user puts on the button with his finger, if the "
+"Represents the pressure the user puts on the button with their finger, if the "
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 msgstr ""
 msgstr ""
 
 

+ 1 - 1
doc/translations/fr.po

@@ -31229,7 +31229,7 @@ msgstr ""
 
 
 #: doc/classes/InputEventJoypadButton.xml
 #: doc/classes/InputEventJoypadButton.xml
 msgid ""
 msgid ""
-"Represents the pressure the user puts on the button with his finger, if the "
+"Represents the pressure the user puts on the button with their finger, if the "
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 msgstr ""
 msgstr ""
 
 

+ 1 - 1
doc/translations/gl.po

@@ -28869,7 +28869,7 @@ msgstr ""
 
 
 #: doc/classes/InputEventJoypadButton.xml
 #: doc/classes/InputEventJoypadButton.xml
 msgid ""
 msgid ""
-"Represents the pressure the user puts on the button with his finger, if the "
+"Represents the pressure the user puts on the button with their finger, if the "
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 msgstr ""
 msgstr ""
 
 

+ 1 - 1
doc/translations/hi.po

@@ -28867,7 +28867,7 @@ msgstr ""
 
 
 #: doc/classes/InputEventJoypadButton.xml
 #: doc/classes/InputEventJoypadButton.xml
 msgid ""
 msgid ""
-"Represents the pressure the user puts on the button with his finger, if the "
+"Represents the pressure the user puts on the button with their finger, if the "
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 msgstr ""
 msgstr ""
 
 

+ 1 - 1
doc/translations/hu.po

@@ -28884,7 +28884,7 @@ msgstr ""
 
 
 #: doc/classes/InputEventJoypadButton.xml
 #: doc/classes/InputEventJoypadButton.xml
 msgid ""
 msgid ""
-"Represents the pressure the user puts on the button with his finger, if the "
+"Represents the pressure the user puts on the button with their finger, if the "
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 msgstr ""
 msgstr ""
 
 

+ 1 - 1
doc/translations/id.po

@@ -29203,7 +29203,7 @@ msgstr ""
 
 
 #: doc/classes/InputEventJoypadButton.xml
 #: doc/classes/InputEventJoypadButton.xml
 msgid ""
 msgid ""
-"Represents the pressure the user puts on the button with his finger, if the "
+"Represents the pressure the user puts on the button with their finger, if the "
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 msgstr ""
 msgstr ""
 
 

+ 1 - 1
doc/translations/is.po

@@ -28868,7 +28868,7 @@ msgstr ""
 
 
 #: doc/classes/InputEventJoypadButton.xml
 #: doc/classes/InputEventJoypadButton.xml
 msgid ""
 msgid ""
-"Represents the pressure the user puts on the button with his finger, if the "
+"Represents the pressure the user puts on the button with their finger, if the "
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 msgstr ""
 msgstr ""
 
 

+ 1 - 1
doc/translations/it.po

@@ -29860,7 +29860,7 @@ msgstr ""
 
 
 #: doc/classes/InputEventJoypadButton.xml
 #: doc/classes/InputEventJoypadButton.xml
 msgid ""
 msgid ""
-"Represents the pressure the user puts on the button with his finger, if the "
+"Represents the pressure the user puts on the button with their finger, if the "
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 msgstr ""
 msgstr ""
 
 

+ 1 - 1
doc/translations/ja.po

@@ -31896,7 +31896,7 @@ msgstr ""
 
 
 #: doc/classes/InputEventJoypadButton.xml
 #: doc/classes/InputEventJoypadButton.xml
 msgid ""
 msgid ""
-"Represents the pressure the user puts on the button with his finger, if the "
+"Represents the pressure the user puts on the button with their finger, if the "
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 msgstr ""
 msgstr ""
 
 

+ 1 - 1
doc/translations/ko.po

@@ -29235,7 +29235,7 @@ msgstr ""
 
 
 #: doc/classes/InputEventJoypadButton.xml
 #: doc/classes/InputEventJoypadButton.xml
 msgid ""
 msgid ""
-"Represents the pressure the user puts on the button with his finger, if the "
+"Represents the pressure the user puts on the button with their finger, if the "
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 msgstr ""
 msgstr ""
 
 

+ 1 - 1
doc/translations/lv.po

@@ -29011,7 +29011,7 @@ msgstr ""
 
 
 #: doc/classes/InputEventJoypadButton.xml
 #: doc/classes/InputEventJoypadButton.xml
 msgid ""
 msgid ""
-"Represents the pressure the user puts on the button with his finger, if the "
+"Represents the pressure the user puts on the button with their finger, if the "
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 msgstr ""
 msgstr ""
 
 

+ 1 - 1
doc/translations/mr.po

@@ -28867,7 +28867,7 @@ msgstr ""
 
 
 #: doc/classes/InputEventJoypadButton.xml
 #: doc/classes/InputEventJoypadButton.xml
 msgid ""
 msgid ""
-"Represents the pressure the user puts on the button with his finger, if the "
+"Represents the pressure the user puts on the button with their finger, if the "
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 msgstr ""
 msgstr ""
 
 

+ 1 - 1
doc/translations/nb.po

@@ -28877,7 +28877,7 @@ msgstr ""
 
 
 #: doc/classes/InputEventJoypadButton.xml
 #: doc/classes/InputEventJoypadButton.xml
 msgid ""
 msgid ""
-"Represents the pressure the user puts on the button with his finger, if the "
+"Represents the pressure the user puts on the button with their finger, if the "
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 msgstr ""
 msgstr ""
 
 

+ 1 - 1
doc/translations/nl.po

@@ -29045,7 +29045,7 @@ msgstr ""
 
 
 #: doc/classes/InputEventJoypadButton.xml
 #: doc/classes/InputEventJoypadButton.xml
 msgid ""
 msgid ""
-"Represents the pressure the user puts on the button with his finger, if the "
+"Represents the pressure the user puts on the button with their finger, if the "
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 msgstr ""
 msgstr ""
 
 

+ 1 - 1
doc/translations/pl.po

@@ -29485,7 +29485,7 @@ msgstr ""
 
 
 #: doc/classes/InputEventJoypadButton.xml
 #: doc/classes/InputEventJoypadButton.xml
 msgid ""
 msgid ""
-"Represents the pressure the user puts on the button with his finger, if the "
+"Represents the pressure the user puts on the button with their finger, if the "
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 msgstr ""
 msgstr ""
 
 

+ 1 - 1
doc/translations/pt.po

@@ -28907,7 +28907,7 @@ msgstr ""
 
 
 #: doc/classes/InputEventJoypadButton.xml
 #: doc/classes/InputEventJoypadButton.xml
 msgid ""
 msgid ""
-"Represents the pressure the user puts on the button with his finger, if the "
+"Represents the pressure the user puts on the button with their finger, if the "
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 msgstr ""
 msgstr ""
 
 

+ 1 - 1
doc/translations/pt_BR.po

@@ -30037,7 +30037,7 @@ msgstr ""
 
 
 #: doc/classes/InputEventJoypadButton.xml
 #: doc/classes/InputEventJoypadButton.xml
 msgid ""
 msgid ""
-"Represents the pressure the user puts on the button with his finger, if the "
+"Represents the pressure the user puts on the button with their finger, if the "
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 msgstr ""
 msgstr ""
 
 

+ 1 - 1
doc/translations/ro.po

@@ -29010,7 +29010,7 @@ msgstr ""
 
 
 #: doc/classes/InputEventJoypadButton.xml
 #: doc/classes/InputEventJoypadButton.xml
 msgid ""
 msgid ""
-"Represents the pressure the user puts on the button with his finger, if the "
+"Represents the pressure the user puts on the button with their finger, if the "
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 msgstr ""
 msgstr ""
 
 

+ 1 - 1
doc/translations/ru.po

@@ -30780,7 +30780,7 @@ msgstr ""
 
 
 #: doc/classes/InputEventJoypadButton.xml
 #: doc/classes/InputEventJoypadButton.xml
 msgid ""
 msgid ""
-"Represents the pressure the user puts on the button with his finger, if the "
+"Represents the pressure the user puts on the button with their finger, if the "
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 msgstr ""
 msgstr ""
 
 

+ 1 - 1
doc/translations/sk.po

@@ -28998,7 +28998,7 @@ msgstr ""
 
 
 #: doc/classes/InputEventJoypadButton.xml
 #: doc/classes/InputEventJoypadButton.xml
 msgid ""
 msgid ""
-"Represents the pressure the user puts on the button with his finger, if the "
+"Represents the pressure the user puts on the button with their finger, if the "
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 msgstr ""
 msgstr ""
 
 

+ 1 - 1
doc/translations/sr_Cyrl.po

@@ -29008,7 +29008,7 @@ msgstr ""
 
 
 #: doc/classes/InputEventJoypadButton.xml
 #: doc/classes/InputEventJoypadButton.xml
 msgid ""
 msgid ""
-"Represents the pressure the user puts on the button with his finger, if the "
+"Represents the pressure the user puts on the button with their finger, if the "
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 msgstr ""
 msgstr ""
 
 

+ 1 - 1
doc/translations/sv.po

@@ -28869,7 +28869,7 @@ msgstr ""
 
 
 #: doc/classes/InputEventJoypadButton.xml
 #: doc/classes/InputEventJoypadButton.xml
 msgid ""
 msgid ""
-"Represents the pressure the user puts on the button with his finger, if the "
+"Represents the pressure the user puts on the button with their finger, if the "
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 msgstr ""
 msgstr ""
 
 

+ 1 - 1
doc/translations/th.po

@@ -29111,7 +29111,7 @@ msgstr ""
 
 
 #: doc/classes/InputEventJoypadButton.xml
 #: doc/classes/InputEventJoypadButton.xml
 msgid ""
 msgid ""
-"Represents the pressure the user puts on the button with his finger, if the "
+"Represents the pressure the user puts on the button with their finger, if the "
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 msgstr ""
 msgstr ""
 
 

+ 1 - 1
doc/translations/tl.po

@@ -28941,7 +28941,7 @@ msgstr ""
 
 
 #: doc/classes/InputEventJoypadButton.xml
 #: doc/classes/InputEventJoypadButton.xml
 msgid ""
 msgid ""
-"Represents the pressure the user puts on the button with his finger, if the "
+"Represents the pressure the user puts on the button with their finger, if the "
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 msgstr ""
 msgstr ""
 
 

+ 1 - 1
doc/translations/tr.po

@@ -29800,7 +29800,7 @@ msgstr ""
 
 
 #: doc/classes/InputEventJoypadButton.xml
 #: doc/classes/InputEventJoypadButton.xml
 msgid ""
 msgid ""
-"Represents the pressure the user puts on the button with his finger, if the "
+"Represents the pressure the user puts on the button with their finger, if the "
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 msgstr ""
 msgstr ""
 
 

+ 1 - 1
doc/translations/uk.po

@@ -29149,7 +29149,7 @@ msgstr ""
 
 
 #: doc/classes/InputEventJoypadButton.xml
 #: doc/classes/InputEventJoypadButton.xml
 msgid ""
 msgid ""
-"Represents the pressure the user puts on the button with his finger, if the "
+"Represents the pressure the user puts on the button with their finger, if the "
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 msgstr ""
 msgstr ""
 
 

+ 1 - 1
doc/translations/vi.po

@@ -29338,7 +29338,7 @@ msgstr ""
 
 
 #: doc/classes/InputEventJoypadButton.xml
 #: doc/classes/InputEventJoypadButton.xml
 msgid ""
 msgid ""
-"Represents the pressure the user puts on the button with his finger, if the "
+"Represents the pressure the user puts on the button with their finger, if the "
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 msgstr ""
 msgstr ""
 
 

+ 1 - 1
doc/translations/zh_CN.po

@@ -36150,7 +36150,7 @@ msgstr ""
 
 
 #: doc/classes/InputEventJoypadButton.xml
 #: doc/classes/InputEventJoypadButton.xml
 msgid ""
 msgid ""
-"Represents the pressure the user puts on the button with his finger, if the "
+"Represents the pressure the user puts on the button with their finger, if the "
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 msgstr ""
 msgstr ""
 "如果控制器支持,则表示用户用手指在按钮上施加的压力。范围从 [code]0[/code] 到 "
 "如果控制器支持,则表示用户用手指在按钮上施加的压力。范围从 [code]0[/code] 到 "

+ 1 - 1
doc/translations/zh_TW.po

@@ -29127,7 +29127,7 @@ msgstr ""
 
 
 #: doc/classes/InputEventJoypadButton.xml
 #: doc/classes/InputEventJoypadButton.xml
 msgid ""
 msgid ""
-"Represents the pressure the user puts on the button with his finger, if the "
+"Represents the pressure the user puts on the button with their finger, if the "
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 "controller supports it. Ranges from [code]0[/code] to [code]1[/code]."
 msgstr ""
 msgstr ""
 
 

+ 1 - 1
drivers/gles3/rasterizer_scene_gles3.cpp

@@ -1213,7 +1213,7 @@ bool RasterizerSceneGLES3::_setup_material(RasterizerStorageGLES3::Material *p_m
 		glBindTexture(target, tex);
 		glBindTexture(target, tex);
 
 
 		if (t && storage->config.srgb_decode_supported) {
 		if (t && storage->config.srgb_decode_supported) {
-			//if SRGB decode extension is present, simply switch the texture to whathever is needed
+			//if SRGB decode extension is present, simply switch the texture to whatever is needed
 			bool must_srgb = false;
 			bool must_srgb = false;
 
 
 			if (t->srgb && (texture_hints[i] == ShaderLanguage::ShaderNode::Uniform::HINT_ALBEDO || texture_hints[i] == ShaderLanguage::ShaderNode::Uniform::HINT_BLACK_ALBEDO)) {
 			if (t->srgb && (texture_hints[i] == ShaderLanguage::ShaderNode::Uniform::HINT_ALBEDO || texture_hints[i] == ShaderLanguage::ShaderNode::Uniform::HINT_BLACK_ALBEDO)) {

+ 1 - 1
drivers/gles3/shaders/scene.glsl

@@ -1768,7 +1768,7 @@ void main() {
 		discard;
 		discard;
 #endif
 #endif
 
 
-	//lay out everything, whathever is unused is optimized away anyway
+	//lay out everything, whatever is unused is optimized away anyway
 	highp vec3 vertex = vertex_interp;
 	highp vec3 vertex = vertex_interp;
 	vec3 view = -normalize(vertex_interp);
 	vec3 view = -normalize(vertex_interp);
 	vec3 albedo = vec3(1.0);
 	vec3 albedo = vec3(1.0);

+ 1 - 1
editor/editor_audio_buses.cpp

@@ -324,7 +324,7 @@ float EditorAudioBus::_normalized_volume_to_scaled_db(float normalized) {
 	/* There are three different formulas for the conversion from normalized
 	/* There are three different formulas for the conversion from normalized
 	 * values to relative decibal values.
 	 * values to relative decibal values.
 	 * One formula is an exponential graph which intends to counteract
 	 * One formula is an exponential graph which intends to counteract
-	 * the logorithmic nature of human hearing. This is an approximation
+	 * the logarithmic nature of human hearing. This is an approximation
 	 * of the behaviour of a 'logarithmic potentiometer' found on most
 	 * of the behaviour of a 'logarithmic potentiometer' found on most
 	 * musical instruments and also emulated in popular software.
 	 * musical instruments and also emulated in popular software.
 	 * The other two equations are hand-tuned linear tapers that intend to
 	 * The other two equations are hand-tuned linear tapers that intend to

+ 1 - 1
editor/editor_file_system.cpp

@@ -1544,7 +1544,7 @@ Error EditorFileSystem::_reimport_group(const String &p_group_file, const Vector
 			for (List<String>::Element *E = sk.front(); E; E = E->next()) {
 			for (List<String>::Element *E = sk.front(); E; E = E->next()) {
 				String param = E->get();
 				String param = E->get();
 				Variant value = config->get_value("params", param);
 				Variant value = config->get_value("params", param);
-				//override with whathever is in file
+				//override with whatever is in file
 				source_file_options[p_files[i]][param] = value;
 				source_file_options[p_files[i]][param] = value;
 			}
 			}
 		}
 		}

+ 1 - 1
editor/editor_inspector.cpp

@@ -1697,7 +1697,7 @@ void EditorInspector::update_tree() {
 						if (F->get().label != String()) {
 						if (F->get().label != String()) {
 							ep->set_label(F->get().label);
 							ep->set_label(F->get().label);
 						} else {
 						} else {
-							//use existin one
+							//use existing one
 							ep->set_label(name);
 							ep->set_label(name);
 						}
 						}
 						for (int i = 0; i < F->get().properties.size(); i++) {
 						for (int i = 0; i < F->get().properties.size(); i++) {

+ 1 - 1
editor/rename_dialog.cpp

@@ -535,7 +535,7 @@ String RenameDialog::_postprocess(const String &subject) {
 		// To Lowercase
 		// To Lowercase
 		result = result.to_lower();
 		result = result.to_lower();
 	} else if (case_id == 2) {
 	} else if (case_id == 2) {
-		// To Upercase
+		// To Uppercase
 		result = result.to_upper();
 		result = result.to_upper();
 	}
 	}
 
 

+ 1 - 1
main/tests/test_math.cpp

@@ -319,7 +319,7 @@ public:
 						curly_stack++;
 						curly_stack++;
 						break;
 						break;
 					} else {
 					} else {
-						break; //whathever else
+						break; //whatever else
 					}
 					}
 				}
 				}
 
 

+ 1 - 1
modules/camera/camera_osx.h

@@ -32,7 +32,7 @@
 #define CAMERAOSX_H
 #define CAMERAOSX_H
 
 
 ///@TODO this is a near duplicate of CameraIOS, we should find a way to combine those to minimize code duplication!!!!
 ///@TODO this is a near duplicate of CameraIOS, we should find a way to combine those to minimize code duplication!!!!
-// If you fix something here, make sure you fix it there as wel!
+// If you fix something here, make sure you fix it there as well!
 
 
 #include "servers/camera_server.h"
 #include "servers/camera_server.h"
 
 

+ 1 - 1
modules/camera/camera_osx.mm

@@ -29,7 +29,7 @@
 /*************************************************************************/
 /*************************************************************************/
 
 
 ///@TODO this is a near duplicate of CameraIOS, we should find a way to combine those to minimize code duplication!!!!
 ///@TODO this is a near duplicate of CameraIOS, we should find a way to combine those to minimize code duplication!!!!
-// If you fix something here, make sure you fix it there as wel!
+// If you fix something here, make sure you fix it there as well!
 
 
 #include "camera_osx.h"
 #include "camera_osx.h"
 #include "servers/camera/camera_feed.h"
 #include "servers/camera/camera_feed.h"

+ 1 - 1
modules/gdnative/include/nativescript/godot_nativescript.h

@@ -145,7 +145,7 @@ typedef struct {
 } godot_method_attributes;
 } godot_method_attributes;
 
 
 typedef struct {
 typedef struct {
-	// instance pointer, method data, user data, num args, args - return result as varaint
+	// instance pointer, method data, user data, num args, args - return result as variant
 	GDCALLINGCONV godot_variant (*method)(godot_object *, void *, void *, int, godot_variant **);
 	GDCALLINGCONV godot_variant (*method)(godot_object *, void *, void *, int, godot_variant **);
 	void *method_data;
 	void *method_data;
 	GDCALLINGCONV void (*free_func)(void *);
 	GDCALLINGCONV void (*free_func)(void *);

+ 1 - 1
modules/mono/mono_gd/gd_mono_class.cpp

@@ -187,7 +187,7 @@ void GDMonoClass::fetch_methods_with_godot_api_checks(GDMonoClass *p_native_base
 
 
 #ifdef DEBUG_ENABLED
 #ifdef DEBUG_ENABLED
 		// For debug builds, we also fetched from native base classes as well before if this is not a native base class.
 		// For debug builds, we also fetched from native base classes as well before if this is not a native base class.
-		// This allows us to warn the user here if he is using snake_case by mistake.
+		// This allows us to warn the user here if they are using snake_case by mistake.
 
 
 		if (p_native_base != this) {
 		if (p_native_base != this) {
 			GDMonoClass *native_top = p_native_base;
 			GDMonoClass *native_top = p_native_base;

+ 1 - 1
modules/visual_script/visual_script_flow_control.cpp

@@ -778,7 +778,7 @@ public:
 			}
 			}
 
 
 			if (!ResourceCache::has(script)) {
 			if (!ResourceCache::has(script)) {
-				//if the script is not in use by anyone, we can safely assume whathever we got is not casting to it.
+				//if the script is not in use by anyone, we can safely assume whatever we got is not casting to it.
 				return 1;
 				return 1;
 			}
 			}
 			Ref<Script> cast_script = Ref<Resource>(ResourceCache::get(script));
 			Ref<Script> cast_script = Ref<Resource>(ResourceCache::get(script));

+ 2 - 2
platform/x11/os_x11.cpp

@@ -2598,7 +2598,7 @@ void OS_X11::process_xevents() {
 				window_focused = false;
 				window_focused = false;
 
 
 				if (mouse_mode_grab) {
 				if (mouse_mode_grab) {
-					//dear X11, I try, I really try, but you never work, you do whathever you want.
+					//dear X11, I try, I really try, but you never work, you do whatever you want.
 					if (mouse_mode == MOUSE_MODE_CAPTURED) {
 					if (mouse_mode == MOUSE_MODE_CAPTURED) {
 						// Show the cursor if we're in captured mode so it doesn't look weird.
 						// Show the cursor if we're in captured mode so it doesn't look weird.
 						XUndefineCursor(x11_display, x11_window);
 						XUndefineCursor(x11_display, x11_window);
@@ -3834,7 +3834,7 @@ Error OS_X11::move_to_trash(const String &p_path) {
 		DirAccessRef dir_access = DirAccess::create(DirAccess::ACCESS_FILESYSTEM);
 		DirAccessRef dir_access = DirAccess::create(DirAccess::ACCESS_FILESYSTEM);
 		Error err = dir_access->make_dir_recursive(trash_path);
 		Error err = dir_access->make_dir_recursive(trash_path);
 
 
-		// Issue an error if trash can is not created proprely.
+		// Issue an error if trash can is not created properly.
 		ERR_FAIL_COND_V_MSG(err != OK, err, "Could not create the trash path \"" + trash_path + "\"");
 		ERR_FAIL_COND_V_MSG(err != OK, err, "Could not create the trash path \"" + trash_path + "\"");
 		err = dir_access->make_dir_recursive(trash_path + "/files");
 		err = dir_access->make_dir_recursive(trash_path + "/files");
 		ERR_FAIL_COND_V_MSG(err != OK, err, "Could not create the trash path \"" + trash_path + "/files\"");
 		ERR_FAIL_COND_V_MSG(err != OK, err, "Could not create the trash path \"" + trash_path + "/files\"");

+ 1 - 1
scene/animation/animation_player.cpp

@@ -605,7 +605,7 @@ void AnimationPlayer::_animation_process_animation(AnimationData *p_anim, float
 				}
 				}
 
 
 				if (p_seeked) {
 				if (p_seeked) {
-					//find whathever should be playing
+					//find whatever should be playing
 					int idx = a->track_find_key(i, p_time);
 					int idx = a->track_find_key(i, p_time);
 					if (idx < 0) {
 					if (idx < 0) {
 						continue;
 						continue;

+ 1 - 1
scene/animation/animation_tree.cpp

@@ -1011,7 +1011,7 @@ void AnimationTree::_process_graph(float p_delta) {
 						TrackCacheAudio *t = static_cast<TrackCacheAudio *>(track);
 						TrackCacheAudio *t = static_cast<TrackCacheAudio *>(track);
 
 
 						if (seeked) {
 						if (seeked) {
-							//find whathever should be playing
+							//find whatever should be playing
 							int idx = a->track_find_key(i, time);
 							int idx = a->track_find_key(i, time);
 							if (idx < 0) {
 							if (idx < 0) {
 								continue;
 								continue;

+ 1 - 1
scene/main/viewport.cpp

@@ -2420,7 +2420,7 @@ void Viewport::_gui_input_event(Ref<InputEvent> p_event) {
 		//if (from && p_event->is_pressed() && !p_event->get_alt() && !p_event->get_metakey() && !p_event->key->get_command()) {
 		//if (from && p_event->is_pressed() && !p_event->get_alt() && !p_event->get_metakey() && !p_event->key->get_command()) {
 
 
 		Ref<InputEventKey> k = p_event;
 		Ref<InputEventKey> k = p_event;
-		//need to check for mods, otherwise any combination of alt/ctrl/shift+<up/down/left/righ/etc> is handled here when it shouldn't be.
+		//need to check for mods, otherwise any combination of alt/ctrl/shift+<up/down/left/right/etc> is handled here when it shouldn't be.
 		bool mods = k.is_valid() && (k->get_control() || k->get_alt() || k->get_shift() || k->get_metakey());
 		bool mods = k.is_valid() && (k->get_control() || k->get_alt() || k->get_shift() || k->get_metakey());
 
 
 		if (from && p_event->is_pressed()) {
 		if (from && p_event->is_pressed()) {

+ 1 - 1
scene/resources/resource_format_text.cpp

@@ -1221,7 +1221,7 @@ String ResourceFormatLoaderText::get_resource_type(const String &p_path) const {
 		return String();
 		return String();
 	}
 	}
 
 
-	//for anyhting else must test..
+	//for anything else must test..
 
 
 	FileAccess *f = FileAccess::open(p_path, FileAccess::READ);
 	FileAccess *f = FileAccess::open(p_path, FileAccess::READ);
 	if (!f) {
 	if (!f) {

+ 2 - 2
servers/physics/joints/generic_6dof_joint_sw.h

@@ -311,12 +311,12 @@ public:
 		m_angularLimits[2].m_hiLimit = angularUpper.z;
 		m_angularLimits[2].m_hiLimit = angularUpper.z;
 	}
 	}
 
 
-	//! Retrieves the angular limit informacion
+	//! Retrieves the angular limit information
 	G6DOFRotationalLimitMotorSW *getRotationalLimitMotor(int index) {
 	G6DOFRotationalLimitMotorSW *getRotationalLimitMotor(int index) {
 		return &m_angularLimits[index];
 		return &m_angularLimits[index];
 	}
 	}
 
 
-	//! Retrieves the limit informacion
+	//! Retrieves the limit information
 	G6DOFTranslationalLimitMotorSW *getTranslationalLimitMotor() {
 	G6DOFTranslationalLimitMotorSW *getTranslationalLimitMotor() {
 		return &m_linearLimits;
 		return &m_linearLimits;
 	}
 	}

+ 1 - 1
servers/physics/joints/slider_joint_sw.cpp

@@ -201,7 +201,7 @@ void SliderJointSW::solve(real_t p_step) {
 		real_t softness = (i) ? m_softnessOrthoLin : (m_solveLinLim ? m_softnessLimLin : m_softnessDirLin);
 		real_t softness = (i) ? m_softnessOrthoLin : (m_solveLinLim ? m_softnessLimLin : m_softnessDirLin);
 		real_t restitution = (i) ? m_restitutionOrthoLin : (m_solveLinLim ? m_restitutionLimLin : m_restitutionDirLin);
 		real_t restitution = (i) ? m_restitutionOrthoLin : (m_solveLinLim ? m_restitutionLimLin : m_restitutionDirLin);
 		real_t damping = (i) ? m_dampingOrthoLin : (m_solveLinLim ? m_dampingLimLin : m_dampingDirLin);
 		real_t damping = (i) ? m_dampingOrthoLin : (m_solveLinLim ? m_dampingLimLin : m_dampingDirLin);
-		// calcutate and apply impulse
+		// calculate and apply impulse
 		real_t normalImpulse = softness * (restitution * depth / p_step - damping * rel_vel) * m_jacLinDiagABInv[i];
 		real_t normalImpulse = softness * (restitution * depth / p_step - damping * rel_vel) * m_jacLinDiagABInv[i];
 		Vector3 impulse_vector = normal * normalImpulse;
 		Vector3 impulse_vector = normal * normalImpulse;
 		A->apply_impulse(m_relPosA, impulse_vector);
 		A->apply_impulse(m_relPosA, impulse_vector);

+ 1 - 1
servers/visual_server.cpp

@@ -357,7 +357,7 @@ Vector2 VisualServer::norm_to_oct(const Vector3 v) {
 }
 }
 
 
 // Maps normalized tangent vector to an octahedron projected onto the cartesian plane
 // Maps normalized tangent vector to an octahedron projected onto the cartesian plane
-// Encodes the tangent vector sign in the second componenet of the returned Vector2 for use in shaders
+// Encodes the tangent vector sign in the second component of the returned Vector2 for use in shaders
 // high_precision specifies whether the encoding will be 32 bit (true) or 16 bit (false)
 // high_precision specifies whether the encoding will be 32 bit (true) or 16 bit (false)
 // Resulting 2D vector in range [-1, 1]
 // Resulting 2D vector in range [-1, 1]
 // See http://jcgt.org/published/0003/02/01/ for details
 // See http://jcgt.org/published/0003/02/01/ for details