From 41375783691c7ff4d8a31d3dfc8701155f648c47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Sun, 19 Jun 2022 13:47:53 +0200 Subject: [PATCH] Fix typos with codespell Using codespell 2.2-dev from current git. Fix a couple incorrect uses of gendered pronouns. --- doc/classes/InputEventJoypadButton.xml | 2 +- editor/editor_export.cpp | 2 +- modules/mono/mono_gd/gd_mono_class.cpp | 2 +- scene/2d/navigation_2d.cpp | 2 +- scene/3d/navigation.cpp | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/classes/InputEventJoypadButton.xml b/doc/classes/InputEventJoypadButton.xml index a1daaf63528..5cb84d267c2 100644 --- a/doc/classes/InputEventJoypadButton.xml +++ b/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. - 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]. diff --git a/editor/editor_export.cpp b/editor/editor_export.cpp index 61c99982fd3..1780bae5cd5 100644 --- a/editor/editor_export.cpp +++ b/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; } diff --git a/modules/mono/mono_gd/gd_mono_class.cpp b/modules/mono/mono_gd/gd_mono_class.cpp index cb875bb4b79..0594fd3f354 100644 --- a/modules/mono/mono_gd/gd_mono_class.cpp +++ b/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; diff --git a/scene/2d/navigation_2d.cpp b/scene/2d/navigation_2d.cpp index 6b952bf97ab..cb9527b290c 100644 --- a/scene/2d/navigation_2d.cpp +++ b/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; diff --git a/scene/3d/navigation.cpp b/scene/3d/navigation.cpp index 3ea67bcb6be..694b41fd77c 100644 --- a/scene/3d/navigation.cpp +++ b/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; }