From d0ab580214d0d3b909c4e74467f8fc5f444ffeaf Mon Sep 17 00:00:00 2001
From: Josh Soref <2119212+jsoref@users.noreply.github.com>
Date: Thu, 29 Feb 2024 10:18:05 -0500
Subject: [PATCH] Fix some spelling errors (part 8) (#12509)
* spelling: announcement
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: available
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: capybara
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: case-sensitive
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: counts
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: decidim
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: highlighted
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: message
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: occurred
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: participatory
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: preferably
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: sent
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: succeed
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: successfully
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: themselves
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: transferring
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
---------
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
---
.../spec/types/integration_schema_spec.rb | 4 ++--
.../app/helpers/decidim/admin/newsletters_helper.rb | 2 +-
.../import_participatory_space_private_user_csv_job.rb | 2 +-
.../admin/shared/landing_page/_content_blocks.html.erb | 2 +-
decidim-admin/config/locales/en.yml | 2 +-
.../spec/controllers/conflicts_controller_spec.rb | 2 +-
.../api/test/shared_examples/statistics_examples.rb | 2 +-
.../serializers/decidim/assemblies/assembly_serializer.rb | 2 +-
decidim-assemblies/config/locales/en.yml | 2 +-
.../decidim/assemblies/assembly_serializer_spec.rb | 2 +-
decidim-assemblies/spec/types/integration_schema_spec.rb | 4 ++--
decidim-blogs/spec/types/integration_schema_spec.rb | 4 ++--
decidim-budgets/spec/types/integration_schema_spec.rb | 4 ++--
decidim-conferences/spec/types/integration_schema_spec.rb | 4 ++--
decidim-core/app/models/decidim/newsletter.rb | 2 +-
.../app/models/decidim/push_notification_message.rb | 2 +-
decidim-core/config/locales/en.yml | 8 ++++----
decidim-core/lib/decidim/core.rb | 2 +-
decidim-core/spec/cells/decidim/notification_cell_spec.rb | 2 +-
.../spec/events/decidim/change_nickname_event_spec.rb | 2 +-
decidim-core/spec/models/decidim/action_log_spec.rb | 2 +-
.../spec/services/decidim/html_truncation_spec.rb | 2 +-
decidim-core/spec/system/notifications_spec.rb | 4 ++--
decidim-core/spec/types/decidim_spec.rb | 2 +-
decidim-core/spec/types/hashtags_spec.rb | 2 +-
decidim-core/spec/types/metrics_spec.rb | 2 +-
decidim-core/spec/types/organization_spec.rb | 2 +-
decidim-debates/spec/types/integration_schema_spec.rb | 4 ++--
.../app/helpers/decidim/design/tab_panels_helper.rb | 2 +-
.../lib/decidim/dev/assets/assemblies_with_null.json | 2 +-
.../lib/decidim/dev/test/rspec_support/tom_select.rb | 2 +-
.../lib/decidim/generators/install_generator.rb | 2 +-
decidim-initiatives/config/locales/en.yml | 2 +-
.../admin/admin_manages_initiative_components_spec.rb | 2 +-
decidim-initiatives/spec/types/integration_schema_spec.rb | 4 ++--
decidim-meetings/spec/commands/leave_meeting_spec.rb | 2 +-
decidim-meetings/spec/system/explore_meetings_spec.rb | 2 +-
decidim-meetings/spec/types/integration_schema_spec.rb | 6 +++---
decidim-pages/spec/types/integration_schema_spec.rb | 4 ++--
.../participatory_process_importer.rb | 4 ++--
.../spec/shared/manage_landing_page_examples.rb | 2 +-
...nages_participatory_process_group_landing_page_spec.rb | 2 +-
.../spec/types/integration_schema_spec.rb | 2 +-
.../lib/decidim/proposals/markdown_to_proposals.rb | 4 ++--
.../admin_manages_proposal_answer_imports_examples.rb | 4 ++--
.../spec/system/admin/import_proposals_spec.rb | 2 +-
decidim-proposals/spec/system/edit_proposal_spec.rb | 2 +-
decidim-proposals/spec/types/integration_schema_spec.rb | 4 ++--
.../sortitions/admin/participatory_space_proposals.rb | 2 +-
decidim-sortitions/spec/types/integration_schema_spec.rb | 4 ++--
decidim-surveys/spec/types/integration_schema_spec.rb | 4 ++--
decidim-verifications/config/locales/en.yml | 6 +++---
.../verifications/managed_user_error_event_spec.rb | 4 ++--
.../spec/system/sms/code_verification_spec.rb | 2 +-
docs/modules/customize/pages/social_shares.adoc | 2 +-
docs/modules/develop/pages/maps.adoc | 6 +++---
docs/modules/develop/pages/modules.adoc | 2 +-
docs/modules/develop/pages/troubleshooting_metrics.adoc | 2 +-
docs/modules/services/pages/maps.adoc | 2 +-
59 files changed, 84 insertions(+), 84 deletions(-)
diff --git a/decidim-accountability/spec/types/integration_schema_spec.rb b/decidim-accountability/spec/types/integration_schema_spec.rb
index 1edb2e34c8bb..3812fbea1c7f 100644
--- a/decidim-accountability/spec/types/integration_schema_spec.rb
+++ b/decidim-accountability/spec/types/integration_schema_spec.rb
@@ -187,7 +187,7 @@
)
end
- it "executes sucessfully" do
+ it "executes successfully" do
expect { response }.not_to raise_error
end
@@ -294,7 +294,7 @@
)
end
- it "executes sucessfully" do
+ it "executes successfully" do
expect { response }.not_to raise_error
end
diff --git a/decidim-admin/app/helpers/decidim/admin/newsletters_helper.rb b/decidim-admin/app/helpers/decidim/admin/newsletters_helper.rb
index 96746e2233f6..f65ab7702f61 100644
--- a/decidim-admin/app/helpers/decidim/admin/newsletters_helper.rb
+++ b/decidim-admin/app/helpers/decidim/admin/newsletters_helper.rb
@@ -65,7 +65,7 @@ def sent_to_users(newsletter)
def sent_to_spaces(newsletter)
html = "
"
- newsletter.sended_to_partipatory_spaces.try(:each) do |type|
+ newsletter.sent_to_participatory_spaces.try(:each) do |type|
next if type["ids"].blank?
html += t("index.segmented_to", scope: "decidim.admin.newsletters", subject: t("activerecord.models.decidim/#{type["manifest_name"].singularize}.other"))
diff --git a/decidim-admin/app/jobs/decidim/admin/import_participatory_space_private_user_csv_job.rb b/decidim-admin/app/jobs/decidim/admin/import_participatory_space_private_user_csv_job.rb
index d96e914e7708..a26273396bb5 100644
--- a/decidim-admin/app/jobs/decidim/admin/import_participatory_space_private_user_csv_job.rb
+++ b/decidim-admin/app/jobs/decidim/admin/import_participatory_space_private_user_csv_job.rb
@@ -17,7 +17,7 @@ def perform(email, user_name, privatable_to, current_user)
private_user_form = ParticipatorySpacePrivateUserForm.from_params(params, privatable_to:)
.with_context(
current_user:,
- current_particiaptory_space: privatable_to
+ current_participatory_space: privatable_to
)
Decidim::Admin::CreateParticipatorySpacePrivateUser.call(private_user_form, current_user, privatable_to, via_csv: true)
diff --git a/decidim-admin/app/views/decidim/admin/shared/landing_page/_content_blocks.html.erb b/decidim-admin/app/views/decidim/admin/shared/landing_page/_content_blocks.html.erb
index 702e6459f4d0..b9b620e99a4d 100644
--- a/decidim-admin/app/views/decidim/admin/shared/landing_page/_content_blocks.html.erb
+++ b/decidim-admin/app/views/decidim/admin/shared/landing_page/_content_blocks.html.erb
@@ -40,7 +40,7 @@
<%= inactive_content_blocks_title %>
-
+
<% inactive_blocks.each do |content_block_or_manifest| %>
<%= cell resource_content_block_cell, content_block_or_manifest %>
<% end %>
diff --git a/decidim-admin/config/locales/en.yml b/decidim-admin/config/locales/en.yml
index d7c1c9c1c592..8461ca816727 100644
--- a/decidim-admin/config/locales/en.yml
+++ b/decidim-admin/config/locales/en.yml
@@ -355,7 +355,7 @@ en:
title: Verification conflicts
transfer:
email: Email
- error: There was a problem transfering the current participant to managed participant.
+ error: There was a problem transferring the current participant to managed participant.
name: Name
reason: Reason
success: The current transfer has been successfully completed.
diff --git a/decidim-admin/spec/controllers/conflicts_controller_spec.rb b/decidim-admin/spec/controllers/conflicts_controller_spec.rb
index 839a759dd582..6cec851fc926 100644
--- a/decidim-admin/spec/controllers/conflicts_controller_spec.rb
+++ b/decidim-admin/spec/controllers/conflicts_controller_spec.rb
@@ -69,7 +69,7 @@ module Admin
}
}
- expect(flash[:alert]).to eq("There was a problem transfering the current participant to managed participant.")
+ expect(flash[:alert]).to eq("There was a problem transferring the current participant to managed participant.")
end
end
end
diff --git a/decidim-api/lib/decidim/api/test/shared_examples/statistics_examples.rb b/decidim-api/lib/decidim/api/test/shared_examples/statistics_examples.rb
index c5acb8dc166c..01802c600dbf 100644
--- a/decidim-api/lib/decidim/api/test/shared_examples/statistics_examples.rb
+++ b/decidim-api/lib/decidim/api/test/shared_examples/statistics_examples.rb
@@ -21,7 +21,7 @@
}
end
- it "executes sucessfully" do
+ it "executes successfully" do
expect { response }.not_to raise_error
end
diff --git a/decidim-assemblies/app/serializers/decidim/assemblies/assembly_serializer.rb b/decidim-assemblies/app/serializers/decidim/assemblies/assembly_serializer.rb
index 7449a6c0c5d3..15d692506a84 100644
--- a/decidim-assemblies/app/serializers/decidim/assemblies/assembly_serializer.rb
+++ b/decidim-assemblies/app/serializers/decidim/assemblies/assembly_serializer.rb
@@ -33,7 +33,7 @@ def serialize
local_area: assembly.local_area,
target: assembly.target,
decidim_scope_id: assembly.decidim_scope_id,
- paticipatory_scope: assembly.participatory_scope,
+ paticipatory_scope: assembly.participatory_scope, # intentionally misspelled
participatory_structure: assembly.participatory_structure,
show_statistics: assembly.show_statistics,
scopes_enabled: assembly.scopes_enabled,
diff --git a/decidim-assemblies/config/locales/en.yml b/decidim-assemblies/config/locales/en.yml
index ad160f20fb43..17b6d30dd062 100644
--- a/decidim-assemblies/config/locales/en.yml
+++ b/decidim-assemblies/config/locales/en.yml
@@ -311,7 +311,7 @@ en:
form:
existing_user: Existing participant
explanation: 'Guidance for image:'
- image_guide: Preferrably a portrait image that does not have any text.
+ image_guide: Preferably a portrait image that does not have any text.
non_user: Non participant
non_user_avatar_help: You should get the consent of the persons before publishing them as a member.
select_a_position: Select a position
diff --git a/decidim-assemblies/spec/serializers/decidim/assemblies/assembly_serializer_spec.rb b/decidim-assemblies/spec/serializers/decidim/assemblies/assembly_serializer_spec.rb
index 9a585fb084cc..cd11397937c4 100644
--- a/decidim-assemblies/spec/serializers/decidim/assemblies/assembly_serializer_spec.rb
+++ b/decidim-assemblies/spec/serializers/decidim/assemblies/assembly_serializer_spec.rb
@@ -31,7 +31,7 @@ module Decidim::Assemblies
expect(serialized).to include(local_area: resource.local_area)
expect(serialized).to include(target: resource.target)
expect(serialized).to include(decidim_scope_id: resource.decidim_scope_id)
- expect(serialized).to include(paticipatory_scope: resource.participatory_scope)
+ expect(serialized).to include(participatory_scope: resource.participatory_scope)
expect(serialized).to include(participatory_structure: resource.participatory_structure)
expect(serialized).to include(show_statistics: resource.show_statistics)
expect(serialized).to include(scopes_enabled: resource.scopes_enabled)
diff --git a/decidim-assemblies/spec/types/integration_schema_spec.rb b/decidim-assemblies/spec/types/integration_schema_spec.rb
index 38f11e41102e..d179ef8afd65 100644
--- a/decidim-assemblies/spec/types/integration_schema_spec.rb
+++ b/decidim-assemblies/spec/types/integration_schema_spec.rb
@@ -213,7 +213,7 @@
end
describe "valid query" do
- it "executes sucessfully" do
+ it "executes successfully" do
expect { response }.not_to raise_error
end
@@ -367,7 +367,7 @@
)
end
- it "executes sucessfully" do
+ it "executes successfully" do
expect { response }.not_to raise_error
end
diff --git a/decidim-blogs/spec/types/integration_schema_spec.rb b/decidim-blogs/spec/types/integration_schema_spec.rb
index 0ae701a3ea29..cfb058eee54f 100644
--- a/decidim-blogs/spec/types/integration_schema_spec.rb
+++ b/decidim-blogs/spec/types/integration_schema_spec.rb
@@ -135,7 +135,7 @@
end
context "when unfiltered" do
- it "executes sucessfully" do
+ it "executes successfully" do
expect { response }.not_to raise_error
end
@@ -306,7 +306,7 @@
)
end
- it "executes sucessfully" do
+ it "executes successfully" do
expect { response }.not_to raise_error
end
diff --git a/decidim-budgets/spec/types/integration_schema_spec.rb b/decidim-budgets/spec/types/integration_schema_spec.rb
index 13c9b2acce2f..13df6c2d71ce 100644
--- a/decidim-budgets/spec/types/integration_schema_spec.rb
+++ b/decidim-budgets/spec/types/integration_schema_spec.rb
@@ -116,7 +116,7 @@
)
end
- it "executes sucessfully" do
+ it "executes successfully" do
expect { response }.not_to raise_error
end
@@ -178,7 +178,7 @@
)
end
- it "executes sucessfully" do
+ it "executes successfully" do
expect { response }.not_to raise_error
end
diff --git a/decidim-conferences/spec/types/integration_schema_spec.rb b/decidim-conferences/spec/types/integration_schema_spec.rb
index 9a8c4dbcb456..a67afde1a956 100644
--- a/decidim-conferences/spec/types/integration_schema_spec.rb
+++ b/decidim-conferences/spec/types/integration_schema_spec.rb
@@ -124,7 +124,7 @@
end
describe "valid query" do
- it "executes sucessfully" do
+ it "executes successfully" do
expect { response }.not_to raise_error
end
@@ -217,7 +217,7 @@
)
end
- it "executes sucessfully" do
+ it "executes successfully" do
expect { response }.not_to raise_error
end
diff --git a/decidim-core/app/models/decidim/newsletter.rb b/decidim-core/app/models/decidim/newsletter.rb
index bf3eb04ff6fe..b497f027f49a 100644
--- a/decidim-core/app/models/decidim/newsletter.rb
+++ b/decidim-core/app/models/decidim/newsletter.rb
@@ -46,7 +46,7 @@ def sended_to_participants?
extended_data["send_to_participants"]
end
- def sended_to_partipatory_spaces
+ def sent_to_participatory_spaces
extended_data["participatory_space_types"]
end
diff --git a/decidim-core/app/models/decidim/push_notification_message.rb b/decidim-core/app/models/decidim/push_notification_message.rb
index bca1a5c702d9..cbf9a82b2f0d 100644
--- a/decidim-core/app/models/decidim/push_notification_message.rb
+++ b/decidim-core/app/models/decidim/push_notification_message.rb
@@ -1,7 +1,7 @@
# frozen_string_literal: true
module Decidim
- # A messsage from a conversation that will be sent as a push notification
+ # A message from a conversation that will be sent as a push notification
class PushNotificationMessage
class InvalidActionError < StandardError; end
diff --git a/decidim-core/config/locales/en.yml b/decidim-core/config/locales/en.yml
index 27f5d2404c6b..4cd5b6c92178 100644
--- a/decidim-core/config/locales/en.yml
+++ b/decidim-core/config/locales/en.yml
@@ -817,9 +817,9 @@ en:
email_subject: A user group has updated its profile
notification_title: The %{user_group_name} user group has updated its profile, leaving it unverified. You can now verify it in the admin panel.
nickname_event:
- notification_body: We have corrected the way nicknames are used so that there are no duplicates, and that is why we have removed the case sensitive rule.
Your nickname was created after another one with the same name, so we have automatically renamed it. You can change it from your account settings.
+ notification_body: We have corrected the way nicknames are used so that there are no duplicates, and that is why we have removed the case-sensitive rule.
Your nickname was created after another one with the same name, so we have automatically renamed it. You can change it from your account settings.
notification_event:
- notification_title: An event occured to %{resource_title}.
+ notification_title: An event occurred to %{resource_title}.
reports:
resource_hidden:
email_intro: An administrator removed your %{resource_type} because it has been reported as %{report_reasons}.
@@ -898,14 +898,14 @@ en:
file:
explanation: 'Guidance for file:'
message_1: Has to be an image or a document.
- message_2: For images, use preferrably landscape images, the service crops the image.
+ message_2: For images, use preferably landscape images, the service crops the image.
icon:
explanation: 'Guidance for icon:'
message_1: Has to be a square image.
message_2: The recommended size for this image is 512x512.
image:
explanation: 'Guidance for image:'
- message_1: Preferrably a landscape image that does not have any text.
+ message_1: Preferably a landscape image that does not have any text.
message_2: The service crops the image.
file_validation:
allowed_file_extensions: 'Allowed file extensions: %{extensions}'
diff --git a/decidim-core/lib/decidim/core.rb b/decidim-core/lib/decidim/core.rb
index c248e0010487..823563c5f280 100644
--- a/decidim-core/lib/decidim/core.rb
+++ b/decidim-core/lib/decidim/core.rb
@@ -827,7 +827,7 @@ def self.register_assets_path(path)
end
# Checks if a particular decidim gem is installed and needed by this
- # particular instance. Preferrably this happens through bundler by inspecting
+ # particular instance. Preferably this happens through bundler by inspecting
# the Gemfile of the instance but when Decidim is used without bundler, this
# will check:
# 1. If the gem is globally available or not in the loaded specs, i.e. the
diff --git a/decidim-core/spec/cells/decidim/notification_cell_spec.rb b/decidim-core/spec/cells/decidim/notification_cell_spec.rb
index 73db0020a473..2286e57e5c5f 100644
--- a/decidim-core/spec/cells/decidim/notification_cell_spec.rb
+++ b/decidim-core/spec/cells/decidim/notification_cell_spec.rb
@@ -15,7 +15,7 @@
context "when resource exists" do
it "Resource title is present" do
- expect(my_cell.notification_title).to include("An event occured")
+ expect(my_cell.notification_title).to include("An event occurred")
end
end
diff --git a/decidim-core/spec/events/decidim/change_nickname_event_spec.rb b/decidim-core/spec/events/decidim/change_nickname_event_spec.rb
index 3109cf63bc57..27832e1183ec 100644
--- a/decidim-core/spec/events/decidim/change_nickname_event_spec.rb
+++ b/decidim-core/spec/events/decidim/change_nickname_event_spec.rb
@@ -11,7 +11,7 @@
describe "notification_title" do
it "is generated correctly" do
- expect(subject.notification_title).to include("We have corrected the way nicknames are used so that there are no duplicates, and that is why we have removed the case sensitive rule.
Your nickname was created after another one with the same name, so we have automatically renamed it. You can change it from your account settings.")
+ expect(subject.notification_title).to include("We have corrected the way nicknames are used so that there are no duplicates, and that is why we have removed the case-sensitive rule.
Your nickname was created after another one with the same name, so we have automatically renamed it. You can change it from your account settings.")
end
end
end
diff --git a/decidim-core/spec/models/decidim/action_log_spec.rb b/decidim-core/spec/models/decidim/action_log_spec.rb
index 87d821e0f35c..dbcff0444d29 100644
--- a/decidim-core/spec/models/decidim/action_log_spec.rb
+++ b/decidim-core/spec/models/decidim/action_log_spec.rb
@@ -190,7 +190,7 @@
it { is_expected.to be_falsey }
end
- context "when there is no particiaptory space" do
+ context "when there is no participatory space" do
before do
action_log.participatory_space.delete
end
diff --git a/decidim-core/spec/services/decidim/html_truncation_spec.rb b/decidim-core/spec/services/decidim/html_truncation_spec.rb
index 45602a797de3..d6da7d4e3356 100644
--- a/decidim-core/spec/services/decidim/html_truncation_spec.rb
+++ b/decidim-core/spec/services/decidim/html_truncation_spec.rb
@@ -56,7 +56,7 @@
describe "count tail" do
let(:count_tail) { true }
- it "countas tail" do
+ it "counts tail" do
expect(subject).to eq(text.truncate(max_length, omission: options[:tail]).to_s)
end
end
diff --git a/decidim-core/spec/system/notifications_spec.rb b/decidim-core/spec/system/notifications_spec.rb
index eab06179e22e..7b77ecabc19b 100644
--- a/decidim-core/spec/system/notifications_spec.rb
+++ b/decidim-core/spec/system/notifications_spec.rb
@@ -27,7 +27,7 @@
expect(page).to have_current_path decidim.notifications_path
expect(page).to have_no_content("No notifications yet")
- expect(page).to have_content("An event occured")
+ expect(page).to have_content("An event occurred")
end
context "when the resource has been deleted" do
@@ -89,7 +89,7 @@
end
context "when setting a single notification as read" do
- let(:notification_title) { "An event occured to #{translated resource.title}" }
+ let(:notification_title) { "An event occurred to #{translated resource.title}" }
it "hides the notification from the page" do
expect(page).to have_content(decidim_sanitize_translated(notification_title))
diff --git a/decidim-core/spec/types/decidim_spec.rb b/decidim-core/spec/types/decidim_spec.rb
index 670a9f22ddf9..8819d11b35db 100644
--- a/decidim-core/spec/types/decidim_spec.rb
+++ b/decidim-core/spec/types/decidim_spec.rb
@@ -21,7 +21,7 @@
end
describe "valid query" do
- it "executes sucessfully" do
+ it "executes successfully" do
expect { response }.not_to raise_error
end
diff --git a/decidim-core/spec/types/hashtags_spec.rb b/decidim-core/spec/types/hashtags_spec.rb
index 805cc245165f..177fc8fb5f43 100644
--- a/decidim-core/spec/types/hashtags_spec.rb
+++ b/decidim-core/spec/types/hashtags_spec.rb
@@ -20,7 +20,7 @@
end
describe "valid query" do
- it "executes sucessfully" do
+ it "executes successfully" do
expect { response }.not_to raise_error
end
diff --git a/decidim-core/spec/types/metrics_spec.rb b/decidim-core/spec/types/metrics_spec.rb
index b8ea64a8a436..105eae66dd88 100644
--- a/decidim-core/spec/types/metrics_spec.rb
+++ b/decidim-core/spec/types/metrics_spec.rb
@@ -25,7 +25,7 @@
end
describe "valid query" do
- it "executes sucessfully" do
+ it "executes successfully" do
expect { response }.not_to raise_error
end
diff --git a/decidim-core/spec/types/organization_spec.rb b/decidim-core/spec/types/organization_spec.rb
index e0ce4ac6d2ec..ea6a124a9d5b 100644
--- a/decidim-core/spec/types/organization_spec.rb
+++ b/decidim-core/spec/types/organization_spec.rb
@@ -24,7 +24,7 @@
end
describe "valid query" do
- it "executes sucessfully" do
+ it "executes successfully" do
expect { response }.not_to raise_error
end
diff --git a/decidim-debates/spec/types/integration_schema_spec.rb b/decidim-debates/spec/types/integration_schema_spec.rb
index b898dfaa1941..c5ec198db4a2 100644
--- a/decidim-debates/spec/types/integration_schema_spec.rb
+++ b/decidim-debates/spec/types/integration_schema_spec.rb
@@ -102,7 +102,7 @@
)
end
- it "executes sucessfully" do
+ it "executes successfully" do
expect { response }.not_to raise_error
end
@@ -156,7 +156,7 @@
)
end
- it "executes sucessfully" do
+ it "executes successfully" do
expect { response }.not_to raise_error
end
diff --git a/decidim-design/app/helpers/decidim/design/tab_panels_helper.rb b/decidim-design/app/helpers/decidim/design/tab_panels_helper.rb
index c09b5b45ffea..a0bac9a4dc59 100644
--- a/decidim-design/app/helpers/decidim/design/tab_panels_helper.rb
+++ b/decidim-design/app/helpers/decidim/design/tab_panels_helper.rb
@@ -61,7 +61,7 @@ def tab_panels_sections
text: "Announcement",
icon: resource_type_icon_key("documents"),
method: :cell,
- args: ["decidim/announcement", "I am an annoucement"]
+ args: ["decidim/announcement", "I am an announcement"]
}
]
)
diff --git a/decidim-dev/lib/decidim/dev/assets/assemblies_with_null.json b/decidim-dev/lib/decidim/dev/assets/assemblies_with_null.json
index af6ac9b1453c..532a736f54a6 100644
--- a/decidim-dev/lib/decidim/dev/assets/assemblies_with_null.json
+++ b/decidim-dev/lib/decidim/dev/assets/assemblies_with_null.json
@@ -48,7 +48,7 @@
"es": "Incidunt provident doloremque."
},
"decidim_scope_id": null,
- "paticipatory_scope": {
+ "participatory_scope": {
"ca": "Assumenda.",
"en": "Quidem.",
"es": "Aspernatur."
diff --git a/decidim-dev/lib/decidim/dev/test/rspec_support/tom_select.rb b/decidim-dev/lib/decidim/dev/test/rspec_support/tom_select.rb
index da5147c32fdf..fc336562147e 100644
--- a/decidim-dev/lib/decidim/dev/test/rspec_support/tom_select.rb
+++ b/decidim-dev/lib/decidim/dev/test/rspec_support/tom_select.rb
@@ -3,7 +3,7 @@
# https://github.com/orchidjs/tom-select/discussions/71#discussioncomment-641757
module Capybara
module TomSelect
- # A helper for Capyabara tests that need to set values from a tom-select.js input.
+ # A helper for Capybara tests that need to set values from a tom-select.js input.
#
# This is a really hacky approach using execute_javascript, but it works. Not sure if there is
# a better way, we could try actually interacting with the on-screen tom-select-provided UI,
diff --git a/decidim-generators/lib/decidim/generators/install_generator.rb b/decidim-generators/lib/decidim/generators/install_generator.rb
index 49660b6358f9..fc97751affea 100644
--- a/decidim-generators/lib/decidim/generators/install_generator.rb
+++ b/decidim-generators/lib/decidim/generators/install_generator.rb
@@ -186,7 +186,7 @@ def recreate_db
rails "db:test:prepare"
end
- # Runs rails commands in a subprocess, and aborts if it does not suceeed
+ # Runs rails commands in a subprocess, and aborts if it does not succeed
def rails(*)
abort unless system("bin/rails", *)
end
diff --git a/decidim-initiatives/config/locales/en.yml b/decidim-initiatives/config/locales/en.yml
index fd2e22f4fc54..b06305c40ba4 100644
--- a/decidim-initiatives/config/locales/en.yml
+++ b/decidim-initiatives/config/locales/en.yml
@@ -102,7 +102,7 @@ en:
title_or_description_or_id_string_or_author_name_or_author_nickname_cont: Search %{collection} by title, description, ID or author name.
initiatives_settings:
update:
- error: An error has occured.
+ error: An error has occurred.
success: The initiatives settings have been successfully updated.
menu:
attachments: Attachments
diff --git a/decidim-initiatives/spec/system/admin/admin_manages_initiative_components_spec.rb b/decidim-initiatives/spec/system/admin/admin_manages_initiative_components_spec.rb
index 4360894d2025..65642e05ec19 100644
--- a/decidim-initiatives/spec/system/admin/admin_manages_initiative_components_spec.rb
+++ b/decidim-initiatives/spec/system/admin/admin_manages_initiative_components_spec.rb
@@ -67,7 +67,7 @@
end
end
- it "sucessfully displays initial values in the form" do
+ it "successfully displays initial values in the form" do
within ".global-settings" do
expect(all("input[type=checkbox]").last).to be_checked
end
diff --git a/decidim-initiatives/spec/types/integration_schema_spec.rb b/decidim-initiatives/spec/types/integration_schema_spec.rb
index 88e79dce5d31..8a19a8c24edd 100644
--- a/decidim-initiatives/spec/types/integration_schema_spec.rb
+++ b/decidim-initiatives/spec/types/integration_schema_spec.rb
@@ -138,7 +138,7 @@
end
describe "valid query" do
- it "executes sucessfully" do
+ it "executes successfully" do
expect { response }.not_to raise_error
end
@@ -229,7 +229,7 @@
)
end
- it "executes sucessfully" do
+ it "executes successfully" do
expect { response }.not_to raise_error
end
diff --git a/decidim-meetings/spec/commands/leave_meeting_spec.rb b/decidim-meetings/spec/commands/leave_meeting_spec.rb
index 923b2395f639..aeabd117114d 100644
--- a/decidim-meetings/spec/commands/leave_meeting_spec.rb
+++ b/decidim-meetings/spec/commands/leave_meeting_spec.rb
@@ -35,7 +35,7 @@ module Decidim::Meetings
meeting.questionnaire.destroy
end
- it "allows the user to leave successully" do
+ it "allows the user to leave successfully" do
expect { subject.call }.to broadcast(:ok)
end
end
diff --git a/decidim-meetings/spec/system/explore_meetings_spec.rb b/decidim-meetings/spec/system/explore_meetings_spec.rb
index 37e56f40c56e..4e0060f7d90c 100644
--- a/decidim-meetings/spec/system/explore_meetings_spec.rb
+++ b/decidim-meetings/spec/system/explore_meetings_spec.rb
@@ -40,7 +40,7 @@
visit_component
end
- context "when meetings mounted under paraticipatory process" do
+ context "when meetings mounted under participatory process" do
let(:participatory_space) { create(:participatory_process, organization:) }
it "properly saves the shortened link" do
diff --git a/decidim-meetings/spec/types/integration_schema_spec.rb b/decidim-meetings/spec/types/integration_schema_spec.rb
index b3b5f7acaef0..d5f7fc6c3455 100644
--- a/decidim-meetings/spec/types/integration_schema_spec.rb
+++ b/decidim-meetings/spec/types/integration_schema_spec.rb
@@ -175,7 +175,7 @@
)
end
- it "executes sucessfully" do
+ it "executes successfully" do
expect { response }.not_to raise_error
end
@@ -269,7 +269,7 @@
)
end
- it "executes sucessfully" do
+ it "executes successfully" do
expect { response }.not_to raise_error
end
@@ -278,7 +278,7 @@
context "when minutes is not visible" do
let(:closing_visible) { false }
- it "executes sucessfully" do
+ it "executes successfully" do
expect { response }.not_to raise_error
end
diff --git a/decidim-pages/spec/types/integration_schema_spec.rb b/decidim-pages/spec/types/integration_schema_spec.rb
index b130ddd7bc00..9b8e21eb13c8 100644
--- a/decidim-pages/spec/types/integration_schema_spec.rb
+++ b/decidim-pages/spec/types/integration_schema_spec.rb
@@ -59,7 +59,7 @@
)
end
- it "executes sucessfully" do
+ it "executes successfully" do
expect { response }.not_to raise_error
end
@@ -85,7 +85,7 @@
)
end
- it "executes sucessfully" do
+ it "executes successfully" do
expect { response }.not_to raise_error
end
diff --git a/decidim-participatory_processes/app/serializers/decidim/participatory_processes/participatory_process_importer.rb b/decidim-participatory_processes/app/serializers/decidim/participatory_processes/participatory_process_importer.rb
index 6b5d9319dc58..7fe0d89502e8 100644
--- a/decidim-participatory_processes/app/serializers/decidim/participatory_processes/participatory_process_importer.rb
+++ b/decidim-participatory_processes/app/serializers/decidim/participatory_processes/participatory_process_importer.rb
@@ -14,8 +14,8 @@ def initialize(organization, user)
# attributes - The Hash of attributes to create the ParticipatoryProcess with.
# user - The user that performs the action.
# opts - The options MUST contain:
- # - title: The +title+ for the new PartidicpatoryProcess
- # - slug: The +slug+ for the new PartidicpatoryProcess
+ # - title: The +title+ for the new ParticipatoryProcess
+ # - slug: The +slug+ for the new ParticipatoryProcess
#
# Returns a ParticipatoryProcess.
def import(attributes, _user, opts)
diff --git a/decidim-participatory_processes/spec/shared/manage_landing_page_examples.rb b/decidim-participatory_processes/spec/shared/manage_landing_page_examples.rb
index 1268dfb4bf52..0dc21f118f4f 100644
--- a/decidim-participatory_processes/spec/shared/manage_landing_page_examples.rb
+++ b/decidim-participatory_processes/spec/shared/manage_landing_page_examples.rb
@@ -48,7 +48,7 @@
end
end
- first("ul.js-list-availables li").drag_to(find("ul.js-list-actives"))
+ first("ul.js-list-available li").drag_to(find("ul.js-list-actives"))
sleep(2)
end.to change(active_content_blocks, :count).by(1)
end
diff --git a/decidim-participatory_processes/spec/system/admin/admin_manages_participatory_process_group_landing_page_spec.rb b/decidim-participatory_processes/spec/system/admin/admin_manages_participatory_process_group_landing_page_spec.rb
index c2df330c703c..abb41426b711 100644
--- a/decidim-participatory_processes/spec/system/admin/admin_manages_participatory_process_group_landing_page_spec.rb
+++ b/decidim-participatory_processes/spec/system/admin/admin_manages_participatory_process_group_landing_page_spec.rb
@@ -50,7 +50,7 @@ def edit_content_block_path(resource, content_block)
end
end
- first("ul.js-list-availables li").drag_to(find("ul.js-list-actives"))
+ first("ul.js-list-available li").drag_to(find("ul.js-list-actives"))
sleep(2)
end.to change(active_content_blocks, :count).by(1)
end
diff --git a/decidim-participatory_processes/spec/types/integration_schema_spec.rb b/decidim-participatory_processes/spec/types/integration_schema_spec.rb
index d8d3ae95b6ff..16592513b5dc 100644
--- a/decidim-participatory_processes/spec/types/integration_schema_spec.rb
+++ b/decidim-participatory_processes/spec/types/integration_schema_spec.rb
@@ -202,7 +202,7 @@
end
describe "valid query" do
- it "executes sucessfully" do
+ it "executes successfully" do
expect { response }.not_to raise_error(StandardError)
end
diff --git a/decidim-proposals/lib/decidim/proposals/markdown_to_proposals.rb b/decidim-proposals/lib/decidim/proposals/markdown_to_proposals.rb
index bcf6de83ab6c..d7ce28598065 100644
--- a/decidim-proposals/lib/decidim/proposals/markdown_to_proposals.rb
+++ b/decidim-proposals/lib/decidim/proposals/markdown_to_proposals.rb
@@ -42,7 +42,7 @@ def parse(document)
# Block-level calls ######################
# Recarpet callback to process headers.
- # Creates Paricipatory Text Proposals at Section and Subsection levels.
+ # Creates Participatory Text Proposals at Section and Subsection levels.
def header(title, level)
participatory_text_level = if level > 1
Decidim::Proposals::ParticipatoryTextSection::LEVELS[:sub_section]
@@ -57,7 +57,7 @@ def header(title, level)
end
# Recarpet callback to process paragraphs.
- # Creates Paricipatory Text Proposals at Article level.
+ # Creates Participatory Text Proposals at Article level.
def paragraph(text)
return if text.blank?
diff --git a/decidim-proposals/spec/shared/admin_manages_proposal_answer_imports_examples.rb b/decidim-proposals/spec/shared/admin_manages_proposal_answer_imports_examples.rb
index be48235f018c..3e1a89332e23 100644
--- a/decidim-proposals/spec/shared/admin_manages_proposal_answer_imports_examples.rb
+++ b/decidim-proposals/spec/shared/admin_manages_proposal_answer_imports_examples.rb
@@ -16,7 +16,7 @@
expect(page).to have_content("There is an error in this field")
end
- it "adds proposal answers after succesfully import" do
+ it "adds proposal answers after successfully import" do
File.write(json_file, JSON.pretty_generate(answers))
dynamically_attach_file(:import_file, json_file)
@@ -55,7 +55,7 @@
end
end
- it "adds proposal answers after succesfully import" do
+ it "adds proposal answers after successfully import" do
File.write(json_file, JSON.pretty_generate(answers))
dynamically_attach_file(:import_file, json_file)
diff --git a/decidim-proposals/spec/system/admin/import_proposals_spec.rb b/decidim-proposals/spec/system/admin/import_proposals_spec.rb
index 63c4c84b0943..5fbe17446af4 100644
--- a/decidim-proposals/spec/system/admin/import_proposals_spec.rb
+++ b/decidim-proposals/spec/system/admin/import_proposals_spec.rb
@@ -37,7 +37,7 @@
expect(Decidim::Proposals::Proposal.count).to eq(0)
end
- it "creates proposals after succesfully import" do
+ it "creates proposals after successfully import" do
dynamically_attach_file(:proposals_file_import_file, Decidim::Dev.asset("import_proposals.csv"))
click_on "Import"
expect(page).to have_content("3 proposals successfully imported")
diff --git a/decidim-proposals/spec/system/edit_proposal_spec.rb b/decidim-proposals/spec/system/edit_proposal_spec.rb
index 9d7a274f06a1..3c199483aa46 100644
--- a/decidim-proposals/spec/system/edit_proposal_spec.rb
+++ b/decidim-proposals/spec/system/edit_proposal_spec.rb
@@ -94,7 +94,7 @@
click_on "Edit documents"
within ".upload-modal" do
expect(page).to have_content("Has to be an image or a document")
- expect(page).to have_content("For images, use preferrably landscape images, the service crops the image")
+ expect(page).to have_content("For images, use preferably landscape images, the service crops the image")
within "[data-filename='city.jpeg']" do
find("input[type='text']").set(attachment_image_title)
end
diff --git a/decidim-proposals/spec/types/integration_schema_spec.rb b/decidim-proposals/spec/types/integration_schema_spec.rb
index 3ee62a45161c..3e08c4ba2ece 100644
--- a/decidim-proposals/spec/types/integration_schema_spec.rb
+++ b/decidim-proposals/spec/types/integration_schema_spec.rb
@@ -192,7 +192,7 @@
)
end
- it "executes sucessfully" do
+ it "executes successfully" do
expect { response }.not_to raise_error
end
end
@@ -295,7 +295,7 @@
)
end
- it "executes sucessfully" do
+ it "executes successfully" do
expect { response }.not_to raise_error
end
diff --git a/decidim-sortitions/app/queries/decidim/sortitions/admin/participatory_space_proposals.rb b/decidim-sortitions/app/queries/decidim/sortitions/admin/participatory_space_proposals.rb
index 0b8c326db32b..f8b7cd55472c 100644
--- a/decidim-sortitions/app/queries/decidim/sortitions/admin/participatory_space_proposals.rb
+++ b/decidim-sortitions/app/queries/decidim/sortitions/admin/participatory_space_proposals.rb
@@ -18,7 +18,7 @@ def initialize(sortition)
@request_timestamp = sortition.request_timestamp
end
- # Given a particpiatory process retrieves its proposals
+ # Given a participatory process retrieves its proposals
#
# Returns an ActiveRecord::Relation.
def query
diff --git a/decidim-sortitions/spec/types/integration_schema_spec.rb b/decidim-sortitions/spec/types/integration_schema_spec.rb
index 4ed9a03b85ba..41789db62d03 100644
--- a/decidim-sortitions/spec/types/integration_schema_spec.rb
+++ b/decidim-sortitions/spec/types/integration_schema_spec.rb
@@ -96,7 +96,7 @@
)
end
- it "executes sucessfully" do
+ it "executes successfully" do
expect { response }.not_to raise_error
end
@@ -138,7 +138,7 @@
)
end
- it "executes sucessfully" do
+ it "executes successfully" do
expect { response }.not_to raise_error
end
diff --git a/decidim-surveys/spec/types/integration_schema_spec.rb b/decidim-surveys/spec/types/integration_schema_spec.rb
index dc20dfaa05a2..d95905f20ecc 100644
--- a/decidim-surveys/spec/types/integration_schema_spec.rb
+++ b/decidim-surveys/spec/types/integration_schema_spec.rb
@@ -116,7 +116,7 @@
)
end
- it "executes sucessfully" do
+ it "executes successfully" do
expect { response }.not_to raise_error
end
@@ -171,7 +171,7 @@
)
end
- it "executes sucessfully" do
+ it "executes successfully" do
expect { response }.not_to raise_error
end
diff --git a/decidim-verifications/config/locales/en.yml b/decidim-verifications/config/locales/en.yml
index ac0466c19d3b..acb5698c1d1d 100644
--- a/decidim-verifications/config/locales/en.yml
+++ b/decidim-verifications/config/locales/en.yml
@@ -89,10 +89,10 @@ en:
events:
verifications:
verify_with_managed_user:
- email_intro: The participant %{resource_title} has tried to verify themself with the data of another participant (%{managed_user_name}).
+ email_intro: The participant %{resource_title} has tried to verify themselves with the data of another participant (%{managed_user_name}).
email_outro: Check the Verifications's conflicts list and contact the participant to verify their details and solve the issue.
email_subject: Failed verification attempt against another participant
- notification_title: The participant %{resource_title} has tried to verify themself with the data of another participant (%{managed_user_name}).
+ notification_title: The participant %{resource_title} has tried to verify themselves with the data of another participant (%{managed_user_name}).
verifications:
authorizations:
authorization_metadata:
@@ -269,7 +269,7 @@ en:
error: There was a problem with your request.
success: Thanks! We have sent an SMS to your phone.
destroy:
- success: Verification code sucessfully reset. Please re-enter your phone number.
+ success: Verification code successfully reset. Please re-enter your phone number.
edit:
confirm_destroy: Are you sure you want to reset the verification code?
destroy: Reset verification code
diff --git a/decidim-verifications/spec/events/decidim/verifications/managed_user_error_event_spec.rb b/decidim-verifications/spec/events/decidim/verifications/managed_user_error_event_spec.rb
index 6a852c66079b..7ea6bad18b5e 100644
--- a/decidim-verifications/spec/events/decidim/verifications/managed_user_error_event_spec.rb
+++ b/decidim-verifications/spec/events/decidim/verifications/managed_user_error_event_spec.rb
@@ -12,9 +12,9 @@
let(:resource_title) { resource.current_user.name }
let(:resource_path) { "/profiles/#{resource.current_user.nickname}" }
let(:resource_url) { "http://#{organization_host}/profiles/#{resource.current_user.nickname}" }
- let(:notification_title) { "The participant #{resource.current_user.name} has tried to verify themself with the data of another participant (#{resource.managed_user.name})." }
+ let(:notification_title) { "The participant #{resource.current_user.name} has tried to verify themselves with the data of another participant (#{resource.managed_user.name})." }
let(:email_subject) { "Failed verification attempt against another participant" }
- let(:email_intro) { "The participant #{resource.current_user.name} has tried to verify themself with the data of another participant (#{resource.managed_user.name})." }
+ let(:email_intro) { "The participant #{resource.current_user.name} has tried to verify themselves with the data of another participant (#{resource.managed_user.name})." }
let(:email_outro) { "Check the Verifications's conflicts list and contact the participant to verify their details and solve the issue." }
it_behaves_like "a simple event email"
diff --git a/decidim-verifications/spec/system/sms/code_verification_spec.rb b/decidim-verifications/spec/system/sms/code_verification_spec.rb
index c637e516b6ba..bdab3968033f 100644
--- a/decidim-verifications/spec/system/sms/code_verification_spec.rb
+++ b/decidim-verifications/spec/system/sms/code_verification_spec.rb
@@ -75,7 +75,7 @@
it "deletes the verification and asks the user again" do
accept_confirm { click_on "Reset verification code" }
- expect(page).to have_content("Verification code sucessfully reset. Please re-enter your phone number.")
+ expect(page).to have_content("Verification code successfully reset. Please re-enter your phone number.")
expect(Decidim::Authorization.count).to eq(0)
end
diff --git a/docs/modules/customize/pages/social_shares.adoc b/docs/modules/customize/pages/social_shares.adoc
index fad41eb9878f..4fc32614a91d 100644
--- a/docs/modules/customize/pages/social_shares.adoc
+++ b/docs/modules/customize/pages/social_shares.adoc
@@ -28,7 +28,7 @@ The format of this variable is as follows
DECIDIM_SOCIAL_SHARE_SERVICES="Facebook, X"
----
-NOTE: Services names are case sensitive.
+NOTE: Services names are case-sensitive.
== Default services
diff --git a/docs/modules/develop/pages/maps.adoc b/docs/modules/develop/pages/maps.adoc
index 719ec4a00175..a297442f37f7 100644
--- a/docs/modules/develop/pages/maps.adoc
+++ b/docs/modules/develop/pages/maps.adoc
@@ -6,7 +6,7 @@ If you want to create your own provider integration, you will need to find a ser
* https://en.wikipedia.org/wiki/Geocoding[A geocoding server] in order to turn user entered addresses into https://en.wikipedia.org/wiki/Geographic_coordinate_system[geocoordinates].
* https://en.wikipedia.org/wiki/Autocomplete[A geocoding autocompletion server] in order to suggest and predict addresses based on the user input and turning these suggested addresses into https://en.wikipedia.org/wiki/Geographic_coordinate_system[geocoordinates].
-* https://en.wikipedia.org/wiki/Tile_Map_Service[A map tile server] for the dynamic maps, preferrably one that is compatible with the default https://leafletjs.com/[Leaflet] map library.
+* https://en.wikipedia.org/wiki/Tile_Map_Service[A map tile server] for the dynamic maps, preferably one that is compatible with the default https://leafletjs.com/[Leaflet] map library.
* https://wiki.openstreetmap.org/wiki/Static_map_images[A static map image server] for the static map images e.g.
on the proposal pages.
This service is optional as Decidim will use the dynamic map tiles to generate a similar map element if the static map image cannot be provided.
@@ -118,7 +118,7 @@ Please refer to the Geocoder gem's https://github.com/alexreisner/geocoder/blob/
=== Defining the geocoding autocompletion maps utility
-For the geocoding autocompletion map functionality, you should preferrably use a service provider that is compatible with https://github.com/komoot/photon[Photon] which is already integrated with Decidim.
+For the geocoding autocompletion map functionality, you should preferably use a service provider that is compatible with https://github.com/komoot/photon[Photon] which is already integrated with Decidim.
If this is not possible, you can also create a custom geocoding autocompletion maps utility for your own service provider by defining the following empty class to start with:
@@ -404,7 +404,7 @@ L.tileLayer(
=== Defining the static maps utility
-For the static map functionality, you should preferrably use a service provider that is compatible with https://github.com/jperelli/osm-static-maps[osm-static-maps] which is already integrated with Decidim.
+For the static map functionality, you should preferably use a service provider that is compatible with https://github.com/jperelli/osm-static-maps[osm-static-maps] which is already integrated with Decidim.
If this is not possible, you can also create a custom static maps utility for your own service provider by defining the following empty class to start with:
diff --git a/docs/modules/develop/pages/modules.adoc b/docs/modules/develop/pages/modules.adoc
index 222bf4ca96ac..8fad09e977d4 100644
--- a/docs/modules/develop/pages/modules.adoc
+++ b/docs/modules/develop/pages/modules.adoc
@@ -140,7 +140,7 @@ module Decidim
root to: "authorizations#new"
end
- # This is a Dedicim::Verifications specific initializer
+ # This is a Decidim::Verifications specific initializer
initializer "decidim_verifications_my_verifier.verification_workflow" do |_app|
Decidim::Verifications.register_workflow(:my_verifier) do |workflow|
workflow.engine = Decidim::Verifications::MyVerifier::Engine
diff --git a/docs/modules/develop/pages/troubleshooting_metrics.adoc b/docs/modules/develop/pages/troubleshooting_metrics.adoc
index 8ce363688028..1af5352188dc 100644
--- a/docs/modules/develop/pages/troubleshooting_metrics.adoc
+++ b/docs/modules/develop/pages/troubleshooting_metrics.adoc
@@ -11,7 +11,7 @@ We have identified two main problems:
=== Metrics generation crashing
-We have identified only one culprit here: "orphans" records, meaning records whose related component or participatory space cannot be found in the database. This is because in a previous decidim release `PartipatorySpaces` could be deleted but they were not deleted properly. So any application that has deleted a participatory space in the past, will probably have unrelated records that will make some metrics calculation crash.
+We have identified only one culprit here: "orphans" records, meaning records whose related component or participatory space cannot be found in the database. This is because in a previous decidim release `ParticipatorySpaces` could be deleted but they were not deleted properly. So any application that has deleted a participatory space in the past, will probably have unrelated records that will make some metrics calculation crash.
=== Peaks in generated metrics
diff --git a/docs/modules/services/pages/maps.adoc b/docs/modules/services/pages/maps.adoc
index a14eb0b2786c..27350b3f532a 100644
--- a/docs/modules/services/pages/maps.adoc
+++ b/docs/modules/services/pages/maps.adoc
@@ -191,7 +191,7 @@ Decidim works fine when some of the services are disabled individually but obvio
=== Global geocoder configurations
-In the Dedicim initialiser (`config/initializers/decidim.rb`) you will also see a commented section for the global geocoder configurations commented as follows:
+In the Decidim initialiser (`config/initializers/decidim.rb`) you will also see a commented section for the global geocoder configurations commented as follows:
[source,ruby]
----