Skip to content

Commit cd2b120

Browse files
committed
[DATALAD RUNCMD] run codespell throughout fixing typos automagically (but ignoring overall fail due to ambigous ones)
=== Do not change lines below === { "chain": [], "cmd": "codespell -w || :", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^
1 parent 0342feb commit cd2b120

File tree

11 files changed

+15
-15
lines changed

11 files changed

+15
-15
lines changed

documentation/html/components_Records_Search_Header_FilterChips.vue.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ <h1 class="page-title">Source: components/Records/Search/Header/FilterChips.vue<
131131
mixins: [filterChipsUtils],
132132
computed: {
133133
/**
134-
* get the Filtered label that correponds to the name using the map FilterLabel
134+
* get the Filtered label that corresponds to the name using the map FilterLabel
135135
* @returns {Object} - object with the mapping names and labels
136136
*/
137137
getFilteredLabel: function () {

documentation/html/scripts/URI.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1281,7 +1281,7 @@
12811281
var properties = ['protocol', 'username', 'password', 'hostname', 'port'];
12821282
var basedir, i, p;
12831283
if (this._parts.urn) {
1284-
throw new Error('URNs do not have any generally defined hierachical components');
1284+
throw new Error('URNs do not have any generally defined hierarchical components');
12851285
}
12861286
if (this._parts.hostname) {
12871287
return resolved;
@@ -1311,7 +1311,7 @@
13111311
var properties = ['protocol', 'username', 'password', 'hostname', 'port'];
13121312
var common, _base, _this, _base_diff, _this_diff;
13131313
if (this._parts.urn) {
1314-
throw new Error('URNs do not have any generally defined hierachical components');
1314+
throw new Error('URNs do not have any generally defined hierarchical components');
13151315
}
13161316
if (!(base instanceof URI)) {
13171317
base = new URI(base);

src/components/Records/Search/Header/FilterChips.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export default {
3838
mixins: [filterChipsUtils],
3939
computed: {
4040
/**
41-
* get the Filtered label that correponds to the name using the map FilterLabel
41+
* get the Filtered label that corresponds to the name using the map FilterLabel
4242
* @returns {Object} - object with the mapping names and labels
4343
*/
4444
getFilteredLabel: function () {

src/data/extraFilterChips.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"isImplemented": "Is implemented"
1010
},
1111
{
12-
"usesPersistentIdentifier": "Uses persistent identifer"
12+
"usesPersistentIdentifier": "Uses persistent identifier"
1313
},
1414
{
1515
"dataPreservationPolicy": "Data preservation policy"

src/styles/_mixins.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
[1200 - 1800] is where our normal styles apply
3636
1800px + : Big desktop
3737
38-
$breakpoint arguement choices:
38+
$breakpoint argument choices:
3939
- phone
4040
- tab-port
4141
- tab-land

src/views/Static/APIDoc/APIDoc.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
<p
115115
:class="['mb-4 lato-font-medium lato-text-sm',{'lato-text-md':$vuetify.breakpoint.xlOnly }]"
116116
>
117-
Here are some examples of both logging in and quering a record. Each of these queries is for a single FAIRsharing Record with ID of 1.
117+
Here are some examples of both logging in and querying a record. Each of these queries is for a single FAIRsharing Record with ID of 1.
118118
</p>
119119
<p
120120
:class="['mb-4 font-weight-bold lato-font-medium lato-text-sm',{'lato-text-md':$vuetify.breakpoint.xlOnly }]"
@@ -452,7 +452,7 @@ data&lt;-query_con$data
452452
href="https://fairsharing.github.io/JSONschema-documenter/?schema_url=https://api.fairsharing.org/model/standard_reporting_schema.json"
453453
target="_blank"
454454
>
455-
Reporting guidline schema
455+
Reporting guideline schema
456456
</a>
457457
</li>
458458
<li>

tests/fixtures/curationDashboardData.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@
182182
{
183183
"id": "11",
184184
"name": "Amphibian Anatomy Ontology",
185-
"status": "aproved",
185+
"status": "approved",
186186
"maintainers": [
187187
{
188188
"id": "23",
@@ -197,7 +197,7 @@
197197
{
198198
"id": "12345",
199199
"name": "Frog French databases",
200-
"status": "aproved",
200+
"status": "approved",
201201
"maintainers": [
202202
{
203203
"id": "23",

tests/unit/router/routes.spec.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ describe("Routes", () => {
113113
expect(scrollBehavior({})).toBe(false)
114114
})
115115

116-
it("performs harcoded record redirections correctly", async () => {
116+
it("performs hardcoded record redirections correctly", async () => {
117117
// Records for articles
118118
let article = router.options.routes.find((obj) => {
119119
return obj.name === 'article'
@@ -153,7 +153,7 @@ describe("Routes", () => {
153153
expect(licence_with_s.redirect).toEqual( "/licence");
154154
});
155155

156-
it("performs harcoded ontology redirections correctly", async () => {
156+
it("performs hardcoded ontology redirections correctly", async () => {
157157
let assignMock = jest.fn();
158158
delete window.location;
159159
window.location = { assign: assignMock };

tests/unit/views/Organisations/Organisation.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ describe("Organisation", () => {
149149
});
150150
});
151151

152-
it("doesn't display if the organistion is not set in the response", async () => {
152+
it("doesn't display if the organisation is not set in the response", async () => {
153153
graphStub.restore();
154154
graphStub = sinon.stub(GraphClient.prototype, "executeQuery").returns({
155155
error: "error"

tests/unit/views/Records/Record.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ describe("Record.vue", function () {
597597
expect(wrapper.vm.getRecordCardBackground).toBe("#f0f5f9");
598598
});
599599

600-
it("returns state of record maintenance corectly", async () => {
600+
it("returns state of record maintenance correctly", async () => {
601601
record.state.currentRecord.fairsharingRecord = {
602602
metadata: {},
603603
registry: "Policy",

tests/unit/views/Users/Login/LoginFailure.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ let $route = {
2020
name: "OAuth Failure",
2121
path: "/login_failure",
2222
query: {
23-
errors: '{ "message": {"user":{"email":["cant be blank","is invalid"],"username":["cant be blank"]},"login":{}}, "error": true }'
23+
errors: '{ "message": {"user":{"email":["can't be blank","is invalid"],"username":["can't be blank"]},"login":{}}, "error": true }'
2424
}
2525

2626
};

0 commit comments

Comments
 (0)