Skip to content

Commit 4282a9e

Browse files
committed
Fix some typos in documentation, comments and messages
The typos were found by `codespell` and `typos`. Signed-off-by: Stefan Weil <sw@weilnetz.de>
1 parent fd10a0a commit 4282a9e

14 files changed

Lines changed: 37 additions & 37 deletions

File tree

ChangeLog

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
9.0.3
2525
- EZB:
2626
- Reduces amount of requests to API.
27-
- Fixed wrong doamin of ezb
27+
- Fixed wrong domain of ezb
2828
9.0.2
2929
- EZB:
3030
- Fixed error: no search results, if someone uses in extended search only jq_term2 or higher. Http_built_query removed elements with null values and the API do not accept the other parameters.
@@ -43,7 +43,7 @@
4343
- Fixed broken code
4444
8.1.0
4545
- EZB: plug-in use now only the xml interface and not the database
46-
- Fixed unsecure url schemes
46+
- Fixed insecure url schemes
4747
- using of standard view helper
4848
- Removed StrlenNp helper function
4949
- removed compare view helper
@@ -54,7 +54,7 @@
5454
- EZB- Details:
5555
- Title history.
5656
- ZDBID and period now in same underlined line like original EZB view.
57-
- Fixed sorting of precursor vom oldes to newest.
57+
- Fixed sorting of precursor from oldest to newest.
5858
- Fixed incomplete list
5959
- added open access policy search link to SHERPA/RoMEO
6060
- fixed keywords
@@ -108,9 +108,9 @@
108108
- DBIS:
109109
- list, new in DBIS: decide to show short or full licence information
110110
- fixed double access information in lists
111-
- better comatibility to TYPO3 8 LTS
111+
- better compatibility to TYPO3 8 LTS
112112
6.0.3
113-
- Class decideIncludeCSS removed --> used deprecated funktions.
113+
- Class decideIncludeCSS removed --> used deprecated functions.
114114
- Typoscript: ezbNoCSS and dbisNoCSS settings removed
115115
- DBIS:
116116
- new in DBIS: Changed Text and date for better reading

Classes/Controller/DbisController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
* All rights reserved
1111
*
12-
* This script is part of the EZB/DBIS-Extention project. The EZB/DBIS-Extention project
12+
* This script is part of the EZB/DBIS-Extension project. The EZB/DBIS-Extension project
1313
* is free software; you can redistribute it and/or modify
1414
* it under the terms of the GNU General Public License as published by
1515
* the Free Software Foundation; either version 2 of the License, or

Classes/Controller/EzbController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
* All rights reserved
1111
*
12-
* This script is part of the EZB/DBIS-Extention project. The EZB/DBIS-Extention project
12+
* This script is part of the EZB/DBIS-Extension project. The EZB/DBIS-Extension project
1313
* is free software; you can redistribute it and/or modify
1414
* it under the terms of the GNU General Public License as published by
1515
* the Free Software Foundation; either version 2 of the License, or

Classes/Domain/Repository/DbisRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*
1212
* All rights reserved
1313
*
14-
* This script is part of the EZB/DBIS-Extention project. The EZB/DBIS-Extention project
14+
* This script is part of the EZB/DBIS-Extension project. The EZB/DBIS-Extension project
1515
* is free software; you can redistribute it and/or modify
1616
* it under the terms of the GNU General Public License as published by
1717
* the Free Software Foundation; either version 2 of the License, or

Classes/Domain/Repository/EzbRepository.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
* All rights reserved
1111
*
12-
* This script is part of the EZB/DBIS-Extention project. The EZB/DBIS-Extention project
12+
* This script is part of the EZB/DBIS-Extension project. The EZB/DBIS-Extension project
1313
* is free software; you can redistribute it and/or modify
1414
* it under the terms of the GNU General Public License as published by
1515
* the Free Software Foundation; either version 2 of the License, or
@@ -317,7 +317,7 @@ public function loadSearch($searchVars, $colors)
317317
$journals['AccessInfos'] = $journals['selected_colors'];
318318
$journals['colors'] = $colors;
319319

320-
//create addtionals parameter for links
320+
//create additional parameters for links
321321
$linkParams = [];
322322
foreach ($searchVars as $key => $value) {
323323
$linkParams['link']['libconnect'][$key] = $value;
@@ -547,7 +547,7 @@ private function getSearchDescription($searchVars)
547547
{
548548
$list = [];
549549

550-
//search terms and theire categories
550+
//search terms and their categories
551551
$jq = '';
552552

553553
if (!empty($searchVars['sword'])) {
@@ -627,7 +627,7 @@ public function getContact()
627627
}
628628

629629
/**
630-
* returns a singel value for parameter colors.
630+
* returns a single value for parameter colors.
631631
*
632632
* @param array $colors
633633
*

Classes/Lib/Dbis.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
* All rights reserved
1111
*
12-
* This script is part of the EZB/DBIS-Extention project. The EZB/DBIS-Extention project
12+
* This script is part of the EZB/DBIS-Extension project. The EZB/DBIS-Extension project
1313
* is free software; you can redistribute it and/or modify
1414
* it under the terms of the GNU General Public License as published by
1515
* the Free Software Foundation; either version 2 of the License, or
@@ -194,7 +194,7 @@ public function getDbliste($fachgebiet, $sort = 'type', $accessFilter = false, $
194194
$params['lett'] = 'f';
195195
$params['gebiete'] = $fachgebiet;
196196
} else {
197-
//notation is a character => own colelction
197+
//notation is a character => own collection
198198
$params['lett'] = 'c';
199199
$params['collid'] = $fachgebiet;
200200
}
@@ -442,7 +442,7 @@ public function getDbDetails($db_id)
442442
'href' => $href
443443
];
444444
} else {
445-
//other links to start resarch
445+
//other links to start research
446446
$details['access_lic'][$type][] = [
447447
'name' => (string)$access,
448448
'href' => $href
@@ -628,7 +628,7 @@ public function search($searchVars = false, $lett = 'fs')
628628

629629
if (isset($response->list_dbs->dbs)) {
630630

631-
//get numer of results
631+
//get number of results
632632
if (isset($response->list_dbs->dbs->attributes()->db_count)) {
633633
$list['db_count'] = (int)$response->list_dbs->dbs->attributes()->db_count;
634634
}

Classes/Lib/Ezb.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
* All rights reserved
1111
*
12-
* This script is part of the EZB/DBIS-Extention project. The EZB/DBIS-Extention project
12+
* This script is part of the EZB/DBIS-Extension project. The EZB/DBIS-Extension project
1313
* is free software; you can redistribute it and/or modify
1414
* it under the terms of the GNU General Public License as published by
1515
* the Free Software Foundation; either version 2 of the License, or
@@ -339,7 +339,7 @@ public function getJournalDetail($journalId)
339339
$warpto = urlencode((string)$period->warpto_link->attributes()->url);
340340
}
341341

342-
//check for uncomplete link
342+
//check for incomplete link
343343
$readme_link = (string)@$period->readme_link->attributes()->url;
344344

345345
if (!empty($readme_link)) {
@@ -382,7 +382,7 @@ public function detailSearchFormFields()
382382
}
383383

384384
/**
385-
* creates search url, contains of the doamin and an array of parameter
385+
* creates search url, contains of the domain and an array of parameter
386386
*
387387
* @param term string
388388
* @param searchVars array
@@ -437,10 +437,10 @@ private function createSearchUrl($searchVars)
437437
}
438438

439439
/**
440-
* Caclulate the sum of all colors
440+
* Calculate the sum of all colors
441441
*
442442
* @param mixed $colors
443-
* @return intger sum
443+
* @return integer sum
444444
*/
445445
private function getColorSum($colors)
446446
{
@@ -582,7 +582,7 @@ public function setShortAccessInfos()
582582
}
583583

584584
/**
585-
* retruns access information
585+
* returns access information
586586
*
587587
* @return array $return
588588
*/

Classes/Lib/Zdb.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ public function getJournalLocationDetails($journalIdentifier, $ZDBID, $genre = '
197197
return false;
198198
}
199199

200-
//as the script is stil running the XML-Object contains all the data necessary for the location information, so continue
200+
//as the script is still running the XML-Object contains all the data necessary for the location information, so continue
201201
/**
202202
* two branches: <ElectronicData> : electronic availability
203203
* <PrintData> : print

Classes/ViewHelpers/TrimedstrlenNpViewHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
use TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithRenderStatic;
88

99
/**
10-
* This class is a view helper that count a trimed string.
10+
* This class is a view helper that count a trimmed string.
1111
*
1212
* @version
1313
*/

Documentation/Configuration/Index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ Default: empty
120120
ZDB: filter location information
121121
================================
122122

123-
Comma seperated list of integer. The values are location states which are dispayed.
123+
Comma separated list of integer. The values are location states which are displayed.
124124

125125
2 = available, 3 = limited availability (moving wall, etc.), 4 = journal not available
126126

0 commit comments

Comments
 (0)