Fix various typos

Fixes user-facing and non-user-facing typos

Found via `codespell -S "./vendor" -L ontext,rememberable,ridiculus,varius`
This commit is contained in:
luzpaz 2025-10-15 11:15:47 +00:00
parent 688a8e3561
commit 7d9739349b
20 changed files with 25 additions and 25 deletions

View file

@ -94,7 +94,7 @@ module Admin
elsif user.add_role @role.name, role_resource
flash[:notice] = "Successfully added role #{@role.name} to user #{user.email}"
else
flash[:error] = "Coud not add role #{@role.name} to #{user.email}"
flash[:error] = "Could not add role #{@role.name} to #{user.email}"
end
respond_to do |format|

View file

@ -59,7 +59,7 @@ module Admin
return unless @conference.sponsorship_levels.empty?
redirect_to admin_conference_sponsorship_levels_path(conference_id: @conference.short_title),
alert: 'You need to create atleast one sponsorship level to add a sponsor'
alert: 'You need to create at least one sponsorship level to add a sponsor'
end
end
end

View file

@ -45,7 +45,7 @@ module Admin
end
elsif @version.event == 'create' && @version.item
# if @version represets a create event and is not currently deleted
# if @version represents a create event and is not currently deleted
@version.item.destroy
flash[:notice] = 'The selected change was successfully reverted'

View file

@ -39,7 +39,7 @@ class SchedulesController < ApplicationController
@current_day = @conference.current_conference_day
@day = @current_day.present? ? @current_day : @dates.first
if @current_day
# the schedule takes you to the current time if it is beetween the start and the end time.
# the schedule takes you to the current time if it is between the start and the end time.
@hour_column = @conference.hours_from_start_time(@conf_start, @conference.end_hour)
end
# Ids of the @event_schedules of confrmed self_organized tracks along with the selected_schedule_id