Fix some typos in comments and documentation (most found by codespell)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
b074f7dded
commit
a57a4d68e1
|
@ -11,7 +11,7 @@ Usage: sphinx.sh <command> [options]
|
|||
|
||||
Commands:
|
||||
i, install Install Sphinx in a virtualenv
|
||||
s, serve Serve documentation. Options are forwared to sphinx-autobuild.
|
||||
s, serve Serve documentation. Options are forwarded to sphinx-autobuild.
|
||||
-H <host> Server host
|
||||
-p <port> Server port
|
||||
-a Write all files (from sphinx-build)
|
||||
|
|
|
@ -81,7 +81,7 @@ class BaseCommand extends Command
|
|||
/**
|
||||
* Initialize the extbase repository based on the given storagePid.
|
||||
*
|
||||
* TYPO3 10+: Find a better solution e.g. based on Symfonie Dependancy Injection.
|
||||
* TYPO3 10+: Find a better solution e.g. based on Symfonie Dependency Injection.
|
||||
*
|
||||
* @param int $storagePid The storage pid
|
||||
*
|
||||
|
|
|
@ -767,7 +767,7 @@ abstract class Doc
|
|||
protected abstract function init($location);
|
||||
|
||||
/**
|
||||
* Reuse any document object that might have been already loaded to determine wether document is METS or IIIF
|
||||
* Reuse any document object that might have been already loaded to determine whether document is METS or IIIF
|
||||
*
|
||||
* @access protected
|
||||
*
|
||||
|
|
|
@ -219,7 +219,7 @@ final class IiifManifest extends Doc
|
|||
protected $useGrps = [];
|
||||
|
||||
/**
|
||||
* IiifManifest also populates the physical stucture array entries for matching
|
||||
* IiifManifest also populates the physical structure array entries for matching
|
||||
* 'fileGrp's. To do that, the configuration has to be loaded; afterwards configured
|
||||
* 'fileGrp's for thumbnails, downloads, audio, fulltext and the 'fileGrp's for images
|
||||
* can be requested with this method.
|
||||
|
@ -452,7 +452,7 @@ final class IiifManifest extends Doc
|
|||
if (!$recursive) {
|
||||
$details = $this->getLogicalStructureInfo($logUnits[0]);
|
||||
} else {
|
||||
// cache the ranges - they might occure multiple times in the structures "tree" - with full data as well as referenced as id
|
||||
// cache the ranges - they might occur multiple times in the structures "tree" - with full data as well as referenced as id
|
||||
$processedStructures = [];
|
||||
foreach ($logUnits as $logUnit) {
|
||||
if (array_search($logUnit->getId(), $processedStructures) == false) {
|
||||
|
|
|
@ -17,7 +17,7 @@ use Kitodo\Dlf\Common\SolrSearchResult\Page;
|
|||
use Kitodo\Dlf\Common\SolrSearchResult\Region;
|
||||
|
||||
/**
|
||||
* ResultDocument class for the 'dlf' extension. It keeps te result of the search in the SOLR index.
|
||||
* ResultDocument class for the 'dlf' extension. It keeps the result of the search in the SOLR index.
|
||||
*
|
||||
* @author Beatrycze Volk <beatrycze.volk@slub-dresden.de>
|
||||
* @package TYPO3
|
||||
|
|
|
@ -86,7 +86,7 @@ class BasketController extends AbstractController
|
|||
}
|
||||
|
||||
/**
|
||||
* Different actions which depends on the choosen action (form)
|
||||
* Different actions which depends on the chosen action (form)
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
|
@ -217,7 +217,7 @@ class BasketController extends AbstractController
|
|||
|
||||
$basket = $this->basketRepository->findOneBySessionId($sessionId);
|
||||
}
|
||||
// session doesnt exists
|
||||
// session does not exist
|
||||
if ($basket === null) {
|
||||
// create new basket in db
|
||||
$basket = GeneralUtility::makeInstance(Basket::class);
|
||||
|
|
|
@ -202,7 +202,7 @@ class PageViewController extends AbstractController
|
|||
$annotationContainers = [];
|
||||
/*
|
||||
* TODO Analyzing the annotations on the server side requires loading the annotation lists / pages
|
||||
* just to determine wether they contain text annotations for painting. This will take time and lead to a bad user experience.
|
||||
* just to determine whether they contain text annotations for painting. This will take time and lead to a bad user experience.
|
||||
* It would be better to link every annotation and analyze the data on the client side.
|
||||
*
|
||||
* On the other hand, server connections are potentially better than client connections. Downloading annotation lists
|
||||
|
|
|
@ -180,7 +180,7 @@ Update CSP
|
|||
----------
|
||||
|
||||
In Kitodo.Presentation 4.0, the way how static images are loaded has changed.
|
||||
Plase make sure that ``blob:`` URLs are not forbidden by your Content Security Policy.
|
||||
Please make sure that ``blob:`` URLs are not forbidden by your Content Security Policy.
|
||||
|
||||
Other Changes
|
||||
-------------
|
||||
|
|
|
@ -107,7 +107,7 @@ The command `kitodo:index` is used for indexing a single document::
|
|||
:Required:
|
||||
no
|
||||
:Description:
|
||||
Do not output any message. Usefull when using a wrapper script. The
|
||||
Do not output any message. Useful when using a wrapper script. The
|
||||
script may check the return value of the CLI job. This is always 0 on
|
||||
success and 1 on failure.
|
||||
:Example:
|
||||
|
@ -215,7 +215,7 @@ collections or even to reindex all documents on the given page.::
|
|||
:Required:
|
||||
no
|
||||
:Description:
|
||||
Do not output any message. Usefull when using a wrapper script. The
|
||||
Do not output any message. Useful when using a wrapper script. The
|
||||
script may check the return value of the CLI job. This is always 0 on
|
||||
success and 1 on failure.
|
||||
:Example:
|
||||
|
@ -332,7 +332,7 @@ OAI-PMH base URL (e.g. https://digital.slub-dresden.de/oai/).
|
|||
:Required:
|
||||
no
|
||||
:Description:
|
||||
Do not output any message. Usefull when using a wrapper script. The
|
||||
Do not output any message. Useful when using a wrapper script. The
|
||||
script may check the return value of the CLI job. This is always 0 on
|
||||
success and 1 on failure.
|
||||
:Example:
|
||||
|
|
|
@ -208,7 +208,7 @@ function DlfAnnotationControl(map, image, annotationContainers) {
|
|||
.text(this.dic['annotations-on'])
|
||||
.attr('title', this.dic['annotations-on']);
|
||||
|
||||
// if annotation is activated via cookie than run activation methode
|
||||
// if annotation is activated via cookie then run activation method
|
||||
if (dlfUtils.getCookie("tx-dlf-pageview-annotation-select") === 'enabled') {
|
||||
// activate the annotation behavior
|
||||
this.activate(anchorEl);
|
||||
|
|
|
@ -322,7 +322,7 @@ dlfViewerFullTextControl.prototype.addActiveBehaviourForSwitchOff = function() {
|
|||
.text(this.dic['fulltext-on'])
|
||||
.attr('title', this.dic['fulltext-on']);
|
||||
|
||||
// if fulltext is activated via cookie than run activation methode
|
||||
// if fulltext is activated via cookie then run activation method
|
||||
if (dlfUtils.getCookie("tx-dlf-pageview-fulltext-select") === 'enabled') {
|
||||
// activate the fulltext behavior
|
||||
this.activate();
|
||||
|
|
Loading…
Reference in New Issue