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
4137578369

+ 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.
 		</member>
 		<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>
 	</members>
 	<constants>

+ 1 - 1
editor/editor_export.cpp

@@ -240,7 +240,7 @@ bool EditorExportPlatform::fill_log_messages(RichTextLabel *p_log, Error p_err)
 		} else {
 			p_log->add_image(EditorNode::get_singleton()->get_gui_base()->get_icon("StatusSuccess", "EditorIcons"), 16 * EDSCALE, 16 * EDSCALE, RichTextLabel::INLINE_ALIGN_CENTER);
 			p_log->add_text(" ");
-			p_log->add_text(TTR("Completed sucessfully."));
+			p_log->add_text(TTR("Completed successfully."));
 			if (msg_count > 0) {
 				has_messages = true;
 			}

+ 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
 		// 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) {
 			GDMonoClass *native_top = p_native_base;

+ 1 - 1
scene/2d/navigation_2d.cpp

@@ -60,7 +60,7 @@ void Navigation2D::_notification(int p_what) {
 		} break;
 			// FIXME 3.5 with this old navigation 2d node only
 			// if the node gets deleted this exit causes annoying error prints in debug
-			// It tries to deactive a map that itself has send a free command to the server.
+			// It tries to deactivate a map that itself has sent a free command to the server.
 			//case NOTIFICATION_EXIT_TREE: {
 			//	Navigation2DServer::get_singleton()->map_set_active(map, false);
 			//} break;

+ 1 - 1
scene/3d/navigation.cpp

@@ -125,7 +125,7 @@ void Navigation::_notification(int p_what) {
 		case NOTIFICATION_EXIT_TREE: {
 			// FIXME 3.5 with this old navigation node only
 			// if the node gets deleted this exit causes annoying error prints in debug
-			// It tries to deactive a map that itself has send a free command to the server.
+			// It tries to deactivate a map that itself has sent a free command to the server.
 			//NavigationServer::get_singleton()->map_set_active(map, false);
 		} break;
 	}