Skip to content

Commit bfd61b2

Browse files
committed
Fix typos discovered by codespell
1 parent e7f235a commit bfd61b2

66 files changed

Lines changed: 93 additions & 93 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ Frequently asked questions
527527
- What are the naming conventions for Angular?
528528
- See [the official angular style guide](https://angular.io/styleguide)
529529
- Why is the size of my app larger in development?
530-
- The production build uses a whole host of techniques (ahead-of-time compilation, rollup to remove unreachable code, minification, etc.) to reduce the size, that aren't used during development in the intrest of build speed.
530+
- The production build uses a whole host of techniques (ahead-of-time compilation, rollup to remove unreachable code, minification, etc.) to reduce the size, that aren't used during development in the interest of build speed.
531531
- node-pre-gyp ERR in yarn install (Windows)
532532
- install Python x86 version between 2.5 and 3.0 on windows. See [this issue](https://github.com/AngularClass/angular2-webpack-starter/issues/626)
533533
- How do I handle merge conflicts in yarn.lock?

config/config.example.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ cache:
5959
# Set to true to see all cache hits/misses/refreshes in your console logs. Useful for debugging SSR caching issues.
6060
debug: false
6161
# When enabled (i.e. max > 0), known bots will be sent pages from a server side cache specific for bots.
62-
# (Keep in mind, bot detection cannot be guarranteed. It is possible some bots will bypass this cache.)
62+
# (Keep in mind, bot detection cannot be guaranteed. It is possible some bots will bypass this cache.)
6363
botCache:
6464
# Maximum number of pages to cache for known bots. Set to zero (0) to disable server side caching for bots.
6565
# Default is 1000, which means the 1000 most recently accessed public pages will be cached.

cypress/e2e/homepage-statistics.cy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ describe('Site Statistics Page', () => {
1717

1818
cy.visit('/statistics');
1919

20-
// <ds-site-statistics-page> tag must be visable
20+
// <ds-site-statistics-page> tag must be visible
2121
cy.get('ds-site-statistics-page').should('be.visible');
2222

2323
// Verify / wait until "Total Visits" table's *last* label is non-empty

cypress/e2e/login-modal.cy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ describe('Login Modal', () => {
142142
page.submitLoginAndPasswordByPressingButton(Cypress.env('DSPACE_TEST_ADMIN_USER'), Cypress.env('DSPACE_TEST_ADMIN_PASSWORD'));
143143
cy.get('ds-log-in').should('not.exist');
144144

145-
// Open user menu, verify user menu accesibility
145+
// Open user menu, verify user menu accessibility
146146
page.openUserMenu();
147147
cy.get('ds-user-menu').should('be.visible');
148148
testA11y('ds-user-menu');

cypress/e2e/pagenotfound.cy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { testA11y } from 'cypress/support/utils';
22

33
describe('PageNotFound', () => {
4-
it('should contain element ds-pagenotfound when navigating to page that doesnt exist', () => {
4+
it('should contain element ds-pagenotfound when navigating to page that does not exist', () => {
55
// request an invalid page (UUIDs at root path aren't valid)
66
cy.visit('/e9019a69-d4f1-4773-b6a3-bd362caa46f2', { failOnStatusCode: false });
77
cy.get('ds-pagenotfound').should('be.visible');

cypress/e2e/submission.cy.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ describe('New Submission page', () => {
3434
// Author & Subject fields have invalid "aria-multiline" attrs.
3535
// See https://github.com/DSpace/dspace-angular/issues/1272
3636
'aria-allowed-attr': { enabled: false },
37-
// All panels are accordians & fail "aria-required-children" and "nested-interactive".
37+
// All panels are accordions & fail "aria-required-children" and "nested-interactive".
3838
// Seem to require updating ng-bootstrap and https://github.com/DSpace/dspace-angular/issues/2216
3939
'aria-required-children': { enabled: false },
4040
'nested-interactive': { enabled: false },
@@ -192,7 +192,7 @@ describe('New Submission page', () => {
192192
testA11y('ds-submission-edit',
193193
{
194194
rules: {
195-
// All panels are accordians & fail "aria-required-children" and "nested-interactive".
195+
// All panels are accordions & fail "aria-required-children" and "nested-interactive".
196196
// Seem to require updating ng-bootstrap and https://github.com/DSpace/dspace-angular/issues/2216
197197
'aria-required-children': { enabled: false },
198198
'nested-interactive': { enabled: false },

docs/Configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ DSPACE_APP_CONFIG_PATH=/usr/local/dspace/config/config.yml
1515
Configuration options can be overridden by setting environment variables.
1616

1717
## Nodejs server
18-
When you start dspace-angular on node, it spins up an http server on which it listens for incoming connections. You can define the ip address and port the server should bind itsself to, and if ssl should be enabled not. By default it listens on `localhost:4000`. If you want it to listen on all your network connections, configure it to bind itself to `0.0.0.0`.
18+
When you start dspace-angular on node, it spins up an http server on which it listens for incoming connections. You can define the ip address and port the server should bind itself to, and if ssl should be enabled not. By default it listens on `localhost:4000`. If you want it to listen on all your network connections, configure it to bind itself to `0.0.0.0`.
1919

2020
To change this configuration, change the options `ui.host`, `ui.port` and `ui.ssl` in the appropriate configuration file (see above):
2121

scripts/merge-i18n-files.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ parseCliInput();
3838
function parseCliInput() {
3939
program
4040
.option('-d, --output-dir <output-dir>', 'output dir when running script on all language files', projectRoot(LANGUAGE_FILES_LOCATION))
41-
.option('-s, --source-dir <source-dir>', 'source dir of transalations to be merged')
41+
.option('-s, --source-dir <source-dir>', 'source dir of translations to be merged')
4242
.usage('(-s <source-dir> [-d <output-dir>])')
4343
.parse(process.argv);
4444

server.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export function app() {
9999
* If production mode is enabled in the environment file:
100100
* - Enable Angular's production mode
101101
* - Initialize caching of SSR rendered pages (if enabled in config.yml)
102-
* - Enable compression for SSR reponses. See [compression](https://github.com/expressjs/compression)
102+
* - Enable compression for SSR responses. See [compression](https://github.com/expressjs/compression)
103103
*/
104104
if (environment.production) {
105105
enableProdMode();
@@ -428,7 +428,7 @@ function checkCacheForRequest(cacheName: string, cache: LRU<string, any>, req, r
428428
if (environment.cache.serverSide.debug) { console.log(`CACHE EXPIRED FOR ${key} in ${cacheName} cache. Re-rendering...`); }
429429
// Update cached copy by rerendering server-side
430430
// NOTE: In this scenario the currently cached copy will be returned to the current user.
431-
// This re-render is peformed behind the scenes to update cached copy for next user.
431+
// This re-render is performed behind the scenes to update cached copy for next user.
432432
serverSideRender(req, res, next, false);
433433
}
434434
} else {

src/app/admin/admin-ldn-services/ldn-services-model/ldn-service-status.model.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* List of services statuses
33
*/
44
export enum LdnServiceStatus {
5-
UNKOWN,
5+
UNKNOWN,
66
DISABLED,
77
ENABLED,
88
}

0 commit comments

Comments
 (0)