Skip to content

Commit b432e10

Browse files
committed
Merge pull request godotengine#109791 from Talkashie/master
Typo cleanup pass
2 parents ac77039 + 3ff4e29 commit b432e10

19 files changed

+97
-97
lines changed

core/input/input_map.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -896,7 +896,7 @@ void InputMap::load_default() {
896896
}
897897

898898
InputMap::InputMap() {
899-
ERR_FAIL_COND_MSG(singleton, "Singleton in InputMap already exist.");
899+
ERR_FAIL_COND_MSG(singleton, "Singleton in InputMap already exists.");
900900
singleton = this;
901901
}
902902

core/io/ip.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ IP *IP::get_singleton() {
331331
IP *(*IP::_create)() = nullptr;
332332

333333
IP *IP::create() {
334-
ERR_FAIL_COND_V_MSG(singleton, nullptr, "IP singleton already exist.");
334+
ERR_FAIL_COND_V_MSG(singleton, nullptr, "IP singleton already exists.");
335335
ERR_FAIL_NULL_V(_create, nullptr);
336336
return _create();
337337
}

doc/classes/Control.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1469,7 +1469,7 @@
14691469
Right-to-left layout direction.
14701470
</constant>
14711471
<constant name="LAYOUT_DIRECTION_SYSTEM_LOCALE" value="4" enum="LayoutDirection">
1472-
Automatic layout direction, determined from the system locale. Right-to-left layout direction is automatically used for languages that require it such as Arabic and Hebrew, but only if a valid translation file is loaded for the given language.. For all other languages (or if no valid translation file is found by Godot), left-to-right layout direction is used. If using [TextServerFallback] ([member ProjectSettings.internationalization/rendering/text_driver]), left-to-right layout direction is always used regardless of the language.
1472+
Automatic layout direction, determined from the system locale. Right-to-left layout direction is automatically used for languages that require it such as Arabic and Hebrew, but only if a valid translation file is loaded for the given language. For all other languages (or if no valid translation file is found by Godot), left-to-right layout direction is used. If using [TextServerFallback] ([member ProjectSettings.internationalization/rendering/text_driver]), left-to-right layout direction is always used regardless of the language.
14731473
</constant>
14741474
<constant name="LAYOUT_DIRECTION_MAX" value="5" enum="LayoutDirection">
14751475
Represents the size of the [enum LayoutDirection] enum.

drivers/accesskit/accessibility_driver_accesskit.cpp

Lines changed: 63 additions & 63 deletions
Large diffs are not rendered by default.

drivers/apple_embedded/display_server_apple_embedded.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
#if defined(GLES3_ENABLED)
113113
bool fallback_to_opengl3 = GLOBAL_GET("rendering/rendering_device/fallback_to_opengl3");
114114
if (fallback_to_opengl3 && rendering_driver != "opengl3") {
115-
WARN_PRINT("Your device seem not to support MoltenVK or Metal, switching to OpenGL 3.");
115+
WARN_PRINT("Your device does not seem to support MoltenVK or Metal, switching to OpenGL 3.");
116116
rendering_driver = "opengl3";
117117
OS::get_singleton()->set_current_rendering_method("gl_compatibility");
118118
OS::get_singleton()->set_current_rendering_driver_name(rendering_driver);

drivers/d3d12/rendering_device_driver_d3d12.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3716,7 +3716,7 @@ void RenderingDeviceDriverD3D12::_command_bind_uniform_set(CommandBufferID p_cmd
37163716
if (unlikely(frame_heap_walkers.resources->get_free_handles() < num_resource_descs)) {
37173717
if (!frames[frame_idx].desc_heaps_exhausted_reported.resources) {
37183718
frames[frame_idx].desc_heaps_exhausted_reported.resources = true;
3719-
ERR_FAIL_MSG("Cannot bind uniform set because there's no enough room in current frame's RESOURCES descriptor heap.\n"
3719+
ERR_FAIL_MSG("Cannot bind uniform set because there's not enough room in the current frame's RESOURCES descriptor heap.\n"
37203720
"Please increase the value of the rendering/rendering_device/d3d12/max_resource_descriptors_per_frame project setting.");
37213721
} else {
37223722
return;
@@ -3771,7 +3771,7 @@ void RenderingDeviceDriverD3D12::_command_bind_uniform_set(CommandBufferID p_cmd
37713771
if (unlikely(frame_heap_walkers.samplers->get_free_handles() < num_sampler_descs)) {
37723772
if (!frames[frame_idx].desc_heaps_exhausted_reported.samplers) {
37733773
frames[frame_idx].desc_heaps_exhausted_reported.samplers = true;
3774-
ERR_FAIL_MSG("Cannot bind uniform set because there's no enough room in current frame's SAMPLERS descriptors heap.\n"
3774+
ERR_FAIL_MSG("Cannot bind uniform set because there's not enough room in the current frame's SAMPLERS descriptors heap.\n"
37753775
"Please increase the value of the rendering/rendering_device/d3d12/max_sampler_descriptors_per_frame project setting.");
37763776
} else {
37773777
return;
@@ -3846,7 +3846,7 @@ void RenderingDeviceDriverD3D12::command_clear_buffer(CommandBufferID p_cmd_buff
38463846
if (!frames[frame_idx].desc_heaps_exhausted_reported.resources) {
38473847
frames[frame_idx].desc_heaps_exhausted_reported.resources = true;
38483848
ERR_FAIL_MSG(
3849-
"Cannot clear buffer because there's no enough room in current frame's RESOURCE descriptors heap.\n"
3849+
"Cannot clear buffer because there's not enough room in the current frame's RESOURCE descriptors heap.\n"
38503850
"Please increase the value of the rendering/rendering_device/d3d12/max_resource_descriptors_per_frame project setting.");
38513851
} else {
38523852
return;
@@ -3856,7 +3856,7 @@ void RenderingDeviceDriverD3D12::command_clear_buffer(CommandBufferID p_cmd_buff
38563856
if (!frames[frame_idx].desc_heaps_exhausted_reported.aux) {
38573857
frames[frame_idx].desc_heaps_exhausted_reported.aux = true;
38583858
ERR_FAIL_MSG(
3859-
"Cannot clear buffer because there's no enough room in current frame's AUX descriptors heap.\n"
3859+
"Cannot clear buffer because there's not enough room in the current frame's AUX descriptors heap.\n"
38603860
"Please increase the value of the rendering/rendering_device/d3d12/max_misc_descriptors_per_frame project setting.");
38613861
} else {
38623862
return;
@@ -4001,7 +4001,7 @@ void RenderingDeviceDriverD3D12::command_clear_color_texture(CommandBufferID p_c
40014001
if (!frames[frame_idx].desc_heaps_exhausted_reported.rtv) {
40024002
frames[frame_idx].desc_heaps_exhausted_reported.rtv = true;
40034003
ERR_FAIL_MSG(
4004-
"Cannot clear texture because there's no enough room in current frame's RENDER TARGET descriptors heap.\n"
4004+
"Cannot clear texture because there's not enough room in the current frame's RENDER TARGET descriptors heap.\n"
40054005
"Please increase the value of the rendering/rendering_device/d3d12/max_misc_descriptors_per_frame project setting.");
40064006
} else {
40074007
return;
@@ -4036,7 +4036,7 @@ void RenderingDeviceDriverD3D12::command_clear_color_texture(CommandBufferID p_c
40364036
if (!frames[frame_idx].desc_heaps_exhausted_reported.resources) {
40374037
frames[frame_idx].desc_heaps_exhausted_reported.resources = true;
40384038
ERR_FAIL_MSG(
4039-
"Cannot clear texture because there's no enough room in current frame's RESOURCE descriptors heap.\n"
4039+
"Cannot clear texture because there's not enough room in the current frame's RESOURCE descriptors heap.\n"
40404040
"Please increase the value of the rendering/rendering_device/d3d12/max_resource_descriptors_per_frame project setting.");
40414041
} else {
40424042
return;
@@ -4046,7 +4046,7 @@ void RenderingDeviceDriverD3D12::command_clear_color_texture(CommandBufferID p_c
40464046
if (!frames[frame_idx].desc_heaps_exhausted_reported.aux) {
40474047
frames[frame_idx].desc_heaps_exhausted_reported.aux = true;
40484048
ERR_FAIL_MSG(
4049-
"Cannot clear texture because there's no enough room in current frame's AUX descriptors heap.\n"
4049+
"Cannot clear texture because there's not enough room in the current frame's AUX descriptors heap.\n"
40504050
"Please increase the value of the rendering/rendering_device/d3d12/max_misc_descriptors_per_frame project setting.");
40514051
} else {
40524052
return;
@@ -4540,7 +4540,7 @@ void RenderingDeviceDriverD3D12::command_next_render_subpass(CommandBufferID p_c
45404540
if (frames[frame_idx].desc_heap_walkers.rtv.is_at_eof()) {
45414541
if (!frames[frame_idx].desc_heaps_exhausted_reported.rtv) {
45424542
frames[frame_idx].desc_heaps_exhausted_reported.rtv = true;
4543-
ERR_FAIL_MSG("Cannot begin subpass because there's no enough room in current frame's RENDER TARGET descriptors heap.\n"
4543+
ERR_FAIL_MSG("Cannot begin subpass because there's not enough room in the current frame's RENDER TARGET descriptors heap.\n"
45444544
"Please increase the value of the rendering/rendering_device/d3d12/max_misc_descriptors_per_frame project setting.");
45454545
} else {
45464546
return;

drivers/gles3/storage/material_storage.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -861,7 +861,7 @@ void MaterialData::update_textures(const HashMap<StringName, Variant> &p_paramet
861861
GlobalShaderUniforms::Variable *v = material_storage->global_shader_uniforms.variables.getptr(uniform_name);
862862
if (v) {
863863
if (v->buffer_index >= 0) {
864-
WARN_PRINT("Shader uses global parameter texture '" + String(uniform_name) + "', but it changed type and is no longer a texture!.");
864+
WARN_PRINT("Shader uses global parameter texture '" + String(uniform_name) + "', but it changed type and is no longer a texture!");
865865

866866
} else {
867867
HashMap<StringName, uint64_t>::Iterator E = used_global_textures.find(uniform_name);

drivers/gles3/storage/particles_storage.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1282,7 +1282,7 @@ GLuint ParticlesStorage::particles_collision_get_heightfield_framebuffer(RID p_p
12821282
#ifdef DEBUG_ENABLED
12831283
GLenum status = glCheckFramebufferStatus(GL_FRAMEBUFFER);
12841284
if (status != GL_FRAMEBUFFER_COMPLETE) {
1285-
WARN_PRINT("Could create heightmap texture status: " + GLES3::TextureStorage::get_singleton()->get_framebuffer_error(status));
1285+
WARN_PRINT("Could not create heightmap texture, status: " + GLES3::TextureStorage::get_singleton()->get_framebuffer_error(status));
12861286
}
12871287
#endif
12881288
GLES3::Utilities::get_singleton()->texture_allocated_data(particles_collision->heightfield_texture, size.x * size.y * 4, "Particles collision heightfield texture");

editor/shader/visual_shader_editor_plugin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5999,7 +5999,7 @@ void VisualShaderEditor::_varying_validate() {
59995999
error += TTR("Invalid name for varying.");
60006000
has_error = true;
60016001
} else if (visual_shader->has_varying(varname)) {
6002-
error += TTR("Varying with that name is already exist.");
6002+
error += TTR("Varying with that name already exists.");
60036003
has_error = true;
60046004
}
60056005

main/performance.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ void Performance::add_custom_monitor(const StringName &p_id, const Callable &p_c
529529
}
530530

531531
void Performance::remove_custom_monitor(const StringName &p_id) {
532-
ERR_FAIL_COND_MSG(!has_custom_monitor(p_id), "Custom monitor with id '" + String(p_id) + "' doesn't exists.");
532+
ERR_FAIL_COND_MSG(!has_custom_monitor(p_id), "Custom monitor with id '" + String(p_id) + "' doesn't exist.");
533533
_monitor_map.erase(p_id);
534534
_monitor_modification_time = OS::get_singleton()->get_ticks_usec();
535535
}
@@ -539,7 +539,7 @@ bool Performance::has_custom_monitor(const StringName &p_id) {
539539
}
540540

541541
Variant Performance::get_custom_monitor(const StringName &p_id) {
542-
ERR_FAIL_COND_V_MSG(!has_custom_monitor(p_id), Variant(), "Custom monitor with id '" + String(p_id) + "' doesn't exists.");
542+
ERR_FAIL_COND_V_MSG(!has_custom_monitor(p_id), Variant(), "Custom monitor with id '" + String(p_id) + "' doesn't exist.");
543543
bool error;
544544
String error_message;
545545
Variant return_value = _monitor_map[p_id].call(error, error_message);

0 commit comments

Comments
 (0)