Skip to content

Commit

Permalink
Fix typos (vufind-org#3473)
Browse files Browse the repository at this point in the history
  • Loading branch information
xmorave2 authored Mar 5, 2024
1 parent 63e88ff commit 77e0080
Show file tree
Hide file tree
Showing 81 changed files with 106 additions and 106 deletions.
2 changes: 1 addition & 1 deletion config/vufind/Aleph.ini
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ useradm = MZK50

; adm-Lib -- this is where your items are stored, normally XXX50 where XXX is
; your a prefix that you have defined. This is the library you connect to with
; your circ client. You'll also see it in your cataloging client because the
; your circulation client. You'll also see it in your cataloging client because the
; items will be hanging from it.
admlib = MZK50

Expand Down
2 changes: 1 addition & 1 deletion config/vufind/FeedbackForms.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
# - name: Recipient 2
# email: recipient2@email
#
# response (string) Reponse after form submit (translation key)
# response (string) Response after form submit (translation key)
# senderInfoRequired (boolean) Require sender to fill out name and email fields - deprecated
# senderEmailRequired (boolean) Require sender to fill out email field
# senderNameRequired (boolean) Require sender to fill out name field
Expand Down
6 changes: 3 additions & 3 deletions config/vufind/KohaILSDI.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
; KohaILSDI Driver Config

; This driver differs that it uses the ISL-DI API instead of direct database calls
; It does however, fallback to direct database calls to enhance functionaility
; It does however, fallback to direct database calls to enhance functionality
; that is not available in in the ILS-DI API.

; You must enable ILS-DI in the Web services preferences in Koha
Expand Down Expand Up @@ -36,7 +36,7 @@ dontValidatePasswords = false
; or from field permanent_location (set this to true for this option)
showPermanentLocation = false

; Whethet to show home branch of an item or current holding branch
; Whether to show home branch of an item or current holding branch
showHomebranch = false

; This section controls hold behavior; note that you must also ensure that Holds are
Expand Down Expand Up @@ -74,7 +74,7 @@ extraHoldFields = pickUpLocation
; as a fallback.
defaultPickUpLocation = "MAIN"

; branchcodes for libraries avalaible as pickup locations
; branchcodes for libraries available as pickup locations
pickupLocations[] = MAIN

; Optional help texts that can be displayed on the hold form. Displayed as is;
Expand Down
2 changes: 1 addition & 1 deletion config/vufind/OAuth2Server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Clients:
# be enabled for non-confidential clients.
pkce: true
# Whether the client is confidential (as opposed to a public one such as an
# in-browser app). Only condidential clients can be verified by the client
# in-browser app). Only confidential clients can be verified by the client
# secret.
isConfidential: false
# Hash of a client secret. You can use the following command to get a hash for a
Expand Down
2 changes: 1 addition & 1 deletion config/vufind/geofeatures.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
; config.ini and searches.ini files.

[Basemap]
; Configures the basemap that is used to display geographic featuers.
; Configures the basemap that is used to display geographic features.
; Default basemap configuration is the osm-intl option below, and other
; open source basemap options are provided as examples.
;
Expand Down
2 changes: 1 addition & 1 deletion config/vufind/searchbox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ defaultGroupLabel = false
; searches, if this is a non-empty value, it will override the first
; label provided by the search options, and subsequent options will be
; indented beneath it. If you use an empty value, all options will use
; their existing default labels, and no identation will be applied. This
; their existing default labels, and no indentation will be applied. This
; allows two different approaches to grouping related options, with or
; without option groups (see group[] below).
; group[] = Option group label to wrap around the option(s) represented here; if
Expand Down
2 changes: 1 addition & 1 deletion module/VuFind/src/VuFind/Auth/AbstractBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ public function getUserTable()

/**
* Verify that a username fulfills the username policy. Throws exception if
* the usernmae is invalid.
* the username is invalid.
*
* @param string $username Password to verify
*
Expand Down
2 changes: 1 addition & 1 deletion module/VuFind/src/VuFind/Auth/Database.php
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ protected function validateParams($params, $table)
}

/**
* Create a user row object from given parametes.
* Create a user row object from given parameters.
*
* @param string[] $params Parameters returned from collectParamsFromRequest()
* @param UserTable $table The VuFind user table
Expand Down
2 changes: 1 addition & 1 deletion module/VuFind/src/VuFind/Auth/SIP2.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public function authenticate($request)
}
$result = $mysip->parseACSStatusResponse($msg_result);

// Use result to populate SIP2 setings
// Use result to populate SIP2 settings
$mysip->AO = $result['variable']['AO'][0];
$mysip->AN = $result['variable']['AN'][0];

Expand Down
2 changes: 1 addition & 1 deletion module/VuFind/src/VuFind/Captcha/AbstractBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
abstract class AbstractBase
{
/**
* Get list of URLs with JS dependancies to load for the active CAPTCHA type.
* Get list of URLs with JS dependencies to load for the active CAPTCHA type.
*
* @return array
*/
Expand Down
2 changes: 1 addition & 1 deletion module/VuFind/src/VuFind/Captcha/ReCaptcha.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public function __construct(
}

/**
* Get list of URLs with JS dependancies to load for the active CAPTCHA type.
* Get list of URLs with JS dependencies to load for the active CAPTCHA type.
*
* @return array
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
interface OauthServiceInterface
{
/**
* Authentiate via the OAuth Client Credentials grant type.
* Authenticate via the OAuth Client Credentials grant type.
*
* @param string $oauthUrl URL of thee OAuth service
* @param string $clientId client_id for a client_credentials grant
Expand Down
4 changes: 2 additions & 2 deletions module/VuFind/src/VuFind/Connection/OauthServiceTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ trait OauthServiceTrait
protected $tokenData = null;

/**
* Authentiate via the OAuth Client Credentials grant type.
* Authenticate via the OAuth Client Credentials grant type.
*
* @param string $oauthUrl URL of thee OAuth service
* @param string $clientId client_id for a client_credentials grant
Expand Down Expand Up @@ -164,7 +164,7 @@ protected function oauthServiceTraitError($msg)
/**
* Log a message, if $this->log exists.
*
* @param string $level Loging level
* @param string $level Logging level
* @param string $msg Log message
*
* @return void
Expand Down
4 changes: 2 additions & 2 deletions module/VuFind/src/VuFind/Connection/Oracle.php
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ protected function getDataTypeConstant($data_type)
* @param resource $parsed Result returned by prepare() method.
* @param string $place_holder The colon-prefixed bind variable placeholder
* used in the statement.
* @param string $data The PHP variable to be associatd with
* @param string $data The PHP variable to be associated with
* $place_holder
* @param string $data_type The type of $data (string, integer, float,
* long, date, row_id, clob, or blob)
Expand Down Expand Up @@ -232,7 +232,7 @@ public function bindParam(
* @param resource $parsed Result returned by prepare() method.
* @param string $place_holder The colon-prefixed bind variable placeholder
* used in the statement.
* @param string $data The PHP variable to be associatd with
* @param string $data The PHP variable to be associated with
* $place_holder
* @param string $data_type The type of $data (string, integer, float,
* long, date, row_id, clob, or blob)
Expand Down
2 changes: 1 addition & 1 deletion module/VuFind/src/VuFind/Controller/BrowseController.php
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,7 @@ protected function getAlphabetList()
}

// ALPHABET TO ['value','displayText']
// (value has asterix appended for Solr, but is unmodified for tags)
// (value has asterisk appended for Solr, but is unmodified for tags)
$action = $this->getCurrentAction();
$callback = function ($letter) use ($action) {
// Tag is a special case because it is database-backed; for everything
Expand Down
2 changes: 1 addition & 1 deletion module/VuFind/src/VuFind/Controller/EdsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ protected function processAdvancedExpanders($searchObject = false)
}

/**
* Process the publicationd date range limiter widget
* Process the publication date range limiter widget
*
* @param object $searchObject Saved search object (false if none)
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ public function getStatusAction()
* @return array|bool|\Laminas\View\Model\ViewModel
* @todo Deal with situation that an unlogged in user requests
* an action but the action is no longer valid since they
* already have the content on hold/checked out or do not have acceess
* already have the content on hold/checked out or do not have access
*/
public function holdAction()
{
Expand Down
2 changes: 1 addition & 1 deletion module/VuFind/src/VuFind/Controller/RelaisController.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public function loginAction()

/**
* Given patron data from the catalogLogin() method, return the appropriate
* identifer for use with Relais.
* identifier for use with Relais.
*
* @param array $patron Patron details
*
Expand Down
2 changes: 1 addition & 1 deletion module/VuFind/src/VuFind/Db/Row/ExternalSession.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* PHP version 8
*
* Copyright (C) Villanova University 2010.
* Copyrught (C) The National Library of Finland 2016.
* Copyright (C) The National Library of Finland 2016.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ public function doOverdriveCheckout($overDriveId)
* Places a hold on an item within OverDrive
*
* @param string $overDriveId The overdrive id for the title
* @param string $email The email overdrive should use for notif
* @param string $email The email overdrive should use for notification
*
* @return \stdClass Object with result
*/
Expand Down Expand Up @@ -1038,7 +1038,7 @@ public function getHolds($refresh = true)
$result->status = true;
$result->message = 'hold_place_success_html';
$result->data = $response->holds;
// Check for holds ready for chechout
// Check for holds ready for checkout
foreach ($response->holds as $key => $hold) {
if (
!$hold->autoCheckout
Expand Down
4 changes: 2 additions & 2 deletions module/VuFind/src/VuFind/Form/Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ public function getFormElementConfig(): array
*
* @param array $postParams Posted form data
*
* @return array of reciepients, each consisting of an array with
* @return array of recipients, each consisting of an array with
* name, email or null if not configured
*
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
Expand Down Expand Up @@ -345,7 +345,7 @@ public function getEmailSubject($postParams)
}

/**
* Return reponse that is shown after successful form submit.
* Return response that is shown after successful form submit.
*
* @return string
*/
Expand Down
2 changes: 1 addition & 1 deletion module/VuFind/src/VuFind/Form/Handler/Email.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class Email implements HandlerInterface, LoggerAwareInterface
protected $mailer;

/**
* Contructor
* Constructor
*
* @param RendererInterface $viewRenderer View renderer
* @param Config $config Main config
Expand Down
2 changes: 1 addition & 1 deletion module/VuFind/src/VuFind/ILS/Driver/Aleph.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ class Aleph extends AbstractBase implements
protected $dlfport;

/**
* Statuse considered as available
* Statuses considered as available
*
* @var array
*/
Expand Down
4 changes: 2 additions & 2 deletions module/VuFind/src/VuFind/ILS/Driver/KohaILSDI.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ class KohaILSDI extends AbstractBase implements HttpServiceAwareInterface, Logge
protected $showPermanentLocation;

/**
* Should we show homebranchinstead of holdingbranch
* Should we show homebranch instead of holdingbranch
*
* @var bool
*/
Expand Down Expand Up @@ -284,7 +284,7 @@ protected function initDb()
$this->db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
//Return result set like mysql_fetch_assoc()
$this->db->setAttribute(PDO::ATTR_DEFAULT_FETCH_MODE, PDO::FETCH_ASSOC);
// set communication enoding to utf8
// set communication encoding to utf8
$this->db->exec('SET NAMES utf8');

// Drop the ONLY_FULL_GROUP_BY entry from sql_mode as it breaks this
Expand Down
8 changes: 4 additions & 4 deletions module/VuFind/src/VuFind/ILS/Driver/MultiBackend.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ public function getStatus($id)
$status = $driver->getStatus($this->getLocalId($id));
return $this->addIdPrefixes($status, $source);
}
// Return an empy array if driver is not available; id can point to an ILS
// Return an empty array if driver is not available; id can point to an ILS
// that's not currently configured.
return [];
}
Expand Down Expand Up @@ -269,7 +269,7 @@ public function getHolding($id, array $patron = null, array $options = [])
);
return $this->addIdPrefixes($holdings, $source);
}
// Return an empy array if driver is not available; id can point to an ILS
// Return an empty array if driver is not available; id can point to an ILS
// that's not currently configured.
return [];
}
Expand All @@ -291,7 +291,7 @@ public function getPurchaseHistory($id)
if ($driver = $this->getDriver($source)) {
return $driver->getPurchaseHistory($this->getLocalId($id));
}
// Return an empy array if driver is not available; id can point to an ILS
// Return an empty array if driver is not available; id can point to an ILS
// that's not currently configured.
return [];
}
Expand Down Expand Up @@ -439,7 +439,7 @@ public function getMyProfile($patron)
$source
);
}
// Return an empy array if driver is not available; cat_username can point
// Return an empty array if driver is not available; cat_username can point
// to an ILS that's not currently configured.
return [];
}
Expand Down
2 changes: 1 addition & 1 deletion module/VuFind/src/VuFind/ILS/Driver/PAIA.php
Original file line number Diff line number Diff line change
Expand Up @@ -1075,7 +1075,7 @@ protected function paiaHandleErrors($array)
* PAIA helper function to map session data to return value of patronLogin()
*
* @param array $details Patron details returned by patronLogin
* @param string $password Patron cataloge password
* @param string $password Patron catalogue password
*
* @return mixed
*/
Expand Down
2 changes: 1 addition & 1 deletion module/VuFind/src/VuFind/ILS/Driver/Polaris.php
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ public function getMyTransactions($patron)
{
// duedate, id, barcode, renew (count), request (pending count),
// volume (vol number), publication_year, renewable, message, title, item_id
// polaris apis: PatronItemsOutGet, Patron_RewewBlocksGet
// polaris apis: PatronItemsOutGet
$transactions = [];
$response = $this->makeRequest(
"patron/{$patron['cat_username']}/itemsout/all",
Expand Down
2 changes: 1 addition & 1 deletion module/VuFind/src/VuFind/ILS/Driver/VoyagerRestful.php
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ class VoyagerRestful extends Voyager implements
protected $checkLoans;

/**
* Item locations exluded from item availability check.
* Item locations excluded from item availability check.
*
* @var string
*/
Expand Down
8 changes: 4 additions & 4 deletions module/VuFind/src/VuFind/ILS/Driver/XCNCIP2.php
Original file line number Diff line number Diff line change
Expand Up @@ -1600,7 +1600,7 @@ public function getSuppressedRecords()
}

/**
* Public Function which retrieves Holds, StorageRetrivalRequests, and
* Public Function which retrieves Holds, StorageRetrievalRequests, and
* Consortial settings from the driver ini file.
*
* @param string $function The name of the feature to be checked
Expand Down Expand Up @@ -2473,7 +2473,7 @@ protected function getRequestTypeXml($type, $scope = 'Bibliographic Item')
*
* @param string $id Bibliographic item id
*
* @return string Get BibiographicId XML element string
* @return string Get BibliographicId XML element string
*/
protected function getBibliographicId($id)
{
Expand Down Expand Up @@ -2775,7 +2775,7 @@ protected function parseProblem(string $xmlString): string
*
* @param \SimpleXMLElement $xml XML response
* @param array|string[] $elements Which of Problem subelements
* return in desription - defaulting to full list: ProblemType, ProblemDetail,
* return in description - defaulting to full list: ProblemType, ProblemDetail,
* ProblemElement and ProblemValue
* @param bool $withElementNames Whether to add element names as
* value labels (for example for debug purposes)
Expand Down Expand Up @@ -2891,7 +2891,7 @@ protected function translateMessage(string $message): string
/**
* Invalidate L1 cache for responses
*
* @param string $message NCIP message type - curently only 'LookupUser'
* @param string $message NCIP message type - currently only 'LookupUser'
* @param string $key Cache key (For LookupUser its cat_username)
*
* @return void
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
abstract class AbstractBase implements MetadataVocabularyInterface
{
/**
* This varriable can be overwritten by child classes
* This variable can be overwritten by child classes
* to define which custom field is filled by which generic fields.
*
* @var array
Expand Down
2 changes: 1 addition & 1 deletion module/VuFind/src/VuFind/Recommend/RandomRecommend.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ class RandomRecommend implements RecommendInterface
/**
* Constructor
*
* @param \VuFindSearch\Service $searchService VuFind Search Serive
* @param \VuFindSearch\Service $searchService VuFind Search Service
* @param \VuFind\Search\Params\PluginManager $paramManager Params manager
*/
public function __construct(
Expand Down
Loading

0 comments on commit 77e0080

Please sign in to comment.