Skip to content

Commit 0106708

Browse files
authored
Merge pull request #1338 from cclauss/codespell
Fix typos discovered by codespell
2 parents 0e5f729 + cd797e8 commit 0106708

17 files changed

Lines changed: 22 additions & 22 deletions

File tree

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
# Contributing to TeSS
33

4-
While TeSS was originally developed to serve as the training portal for [ELIXIR](https://www.elixir-europe.org/), it endeavours to be a generic training platform that can be easily customized and re-used in other communities.
4+
While TeSS was originally developed to serve as the training portal for [ELIXIR](https://www.elixir-europe.org/), it endeavours to be a generic training platform that can be easily customized and reused in other communities.
55
To that end we welcome and encourage new contributors to get involved and help to shape and improve TeSS. This document discusses and explains different ways you can contribute to TeSS.
66
You can find a code checklist at the end of this document to summarize the important points.
77

app/assets/javascripts/map.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ var EventsMap = {
356356
var getTab = function () {
357357
var tab = window.location.hash;
358358
if (tab) {
359-
return tab.substring(1) /* stip hash */
359+
return tab.substring(1) /* strip hash */
360360
} else {
361361
return ''
362362
}

app/assets/stylesheets/application.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ ul.unstyled {
493493
border: none;
494494
}
495495

496-
/* The max width is dependant on the container (more info below) */
496+
/* The max width is dependent on the container (more info below) */
497497
.popover {
498498
max-width: 500px !important; /* Max Width of the popover (depending on the container!) */
499499
}

app/models/event.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ def geocoding_cache_lookup
388388
redis = Redis.new(url: TeSS::Config.redis_url)
389389
if redis.exists?(location)
390390
self.latitude, self.longitude = JSON.parse(redis.get(location))
391-
Rails.logger.info("Re-using: #{location}")
391+
Rails.logger.info("Reusing: #{location}")
392392
end
393393
rescue Redis::BaseError => e
394394
raise e unless Rails.env.production?

app/views/common/_topic_suggestions.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</div>
1010
</div>
1111
<div class="col-md-10 latest_suggestion_description">
12-
<%= sugestion.material.description %>
12+
<%= suggestion.material.description %>
1313
</div>
1414
</div>
1515
<div class="row">

app/views/content_providers/partials/_content_provider_info.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Variable that should be available
99
<div class="nav-block">
1010
<p>
1111
<%# Link to either external content provider's page or to the content provider's object in TeSS,
12-
based on which controller/view is currenlty active %>
12+
based on which controller/view is currently active %>
1313
<%
1414
if controller_name == 'content_providers'
1515
url = content_provider.url

app/workers/edit_suggestion_worker.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ class EditSuggestionWorker
22
include Sidekiq::Worker
33

44
# TODO: Should a random time delay go in here such that the chastisement of
5-
# TODO: BioPortal is somewhat mimimised?
5+
# TODO: BioPortal is somewhat minimised?
66
def perform(arg_array)
77
suggestible_id, suggestible_type = arg_array
88
logger.debug "ID: #{suggestible_id}"

config/initializers/friendly_id.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
# MyModel.find('foo')
3232
#
3333
# This is significantly more convenient but may not be appropriate for
34-
# all applications, so you must explicity opt-in to this behavior. You can
34+
# all applications, so you must explicitly opt-in to this behavior. You can
3535
# always also configure it on a per-model basis if you prefer.
3636
#
3737
# Something else to consider is that using the :finders addon boosts

config/locales/en.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ en:
716716
keywords: "Provide words or terms that clearly identify the learning path's topics."
717717
licence: 'Select the licence for the learning path.'
718718
objectives: >
719-
Describe the knowledge, skills or abilities that students should acquire throught the completion or use of the
719+
Describe the knowledge, skills or abilities that students should acquire through the completion or use of the
720720
learning path.
721721
other_types: 'Enter the types of resources that are not included on the above list.'
722722
part_of: 'Describe the larger service of training to which this learning path belongs.'

lib/ingestors/github_ingestor.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def fetch_licence(licence)
155155
end
156156

157157
# DOI – Fetches DOI from various sources in a repo
158-
# I chose to only read the `README.md` as it seems to have the DOI badge almost everytime.
158+
# I chose to only read the `README.md` as it seems to have the DOI badge almost every time.
159159
# Whereas enabling the fetching of CITATION.cff or CITATION.md would result in increasing
160160
# the number of api request.
161161
def fetch_doi(full_name)

0 commit comments

Comments
 (0)