Skip to content

Commit

Permalink
Fix some typos in configuration, documentation and code comments
Browse files Browse the repository at this point in the history
Most of them were found using `codespell` and `typos`.

Signed-off-by: Stefan Weil <[email protected]>
  • Loading branch information
stweil committed Oct 17, 2024
1 parent 6eb65e3 commit baab07c
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Classes/Common/MetsDocument.php
Original file line number Diff line number Diff line change
Expand Up @@ -1508,7 +1508,7 @@ private function getPhysicalElements(array $elementNodes, array $fileUse): array
}
}

// Get track info wtih begin end extent time for later assignment with musical
// Get track info with begin end extent time for later assignment with musical
if ((string) $elementNode['TYPE'] === 'track') {
foreach ($elementNode->children('http://www.loc.gov/METS/')->fptr as $fptr) {
if (isset($fptr->area) && ((string) $fptr->area->attributes()->BETYPE === 'TIME')) {
Expand Down
2 changes: 1 addition & 1 deletion Classes/Controller/AbstractController.php
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ protected function buildSimplePagination(PaginationInterface $pagination, Pagina
$lastStartRecordNumberGrid = $startRecordNumber; // save last $startRecordNumber for LastPage button

// array with label as screen/pagination page number
// and startRecordNumer for correct structure of the link
// and startRecordNumber for correct structure of the link
//<f:link.action action="{action}"
// addQueryString="true"
// argumentsToBeExcludedFromQueryString="{0: 'tx_dlf[page]'}"
Expand Down
4 changes: 2 additions & 2 deletions Classes/Task/BaseTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -367,11 +367,11 @@ public function setOptimize(bool $optimize): void
}

/**
* Generates and adds flash messages based on a string seperated by PHP_EOL.
* Generates and adds flash messages based on a string separated by PHP_EOL.
*
* @access protected
*
* @param string $message Messages seperated by PHP_EOL
* @param string $message Messages separated by PHP_EOL
* @param int $severity
*
* @return void
Expand Down
4 changes: 2 additions & 2 deletions Configuration/Services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ services:
Kitodo\Dlf\Command\SuggestBuildCommand:
tags:
- name: console.command
command: 'kitodo:suggestBuld'
command: 'kitodo:suggestBuild'

Kitodo\Dlf\Validation\DOMDocumentValidationStack:
autowire: false
Expand All @@ -44,4 +44,4 @@ services:
autowire: false

Kitodo\Dlf\Validation\XmlSchemesValidator:
autowire: false
autowire: false
4 changes: 2 additions & 2 deletions Documentation/Developers/Embedded3DViewer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ Placeholders can be used within the file which is define under the ``base`` key
:description: The fileserver where your resource is hosted. For example "https://example.com/my-model.glb".

- :field: modelPath
:description: Part of the ``modelUrl`` where your resource is hosted. For example, if your resource ist hosted at "https://example.com/my-model.glb", the value would be "https://example.com/static/models/".
:description: Part of the ``modelUrl`` where your resource is hosted. For example, if your resource is hosted at "https://example.com/my-model.glb", the value would be "https://example.com/static/models/".

- :field: modelResource
:description: Resource part of the ``modelUrl`` with the filename to be loaded from the endpoint. For example, if your resource ist hosted at "https://example.com/my-model.glb", the value would be "my-model.glb".
:description: Resource part of the ``modelUrl`` with the filename to be loaded from the endpoint. For example, if your resource is hosted at "https://example.com/my-model.glb", the value would be "my-model.glb".

0 comments on commit baab07c

Please sign in to comment.