29
0
mirror of https://github.com/joomla/joomla-cms.git synced 2024-06-25 23:02:55 +00:00

s/typo/spelling (#29808)

* s/typo/spelling

* revert
This commit is contained in:
Phil Taylor 2020-06-28 19:54:18 +01:00 committed by GitHub
parent af9be59d08
commit 33e51f17d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
67 changed files with 89 additions and 89 deletions

View File

@ -37,7 +37,7 @@ function admin_postinstall_languageaccess340_condition()
if (isset($numRows) && $numRows != 0)
{
// We have rows here so we have at minumum one row with access set to 0
// We have rows here so we have at minimum one row with access set to 0
return true;
}

View File

@ -65,7 +65,7 @@ class HtmlView extends BaseHtmlView
protected $canDo;
/**
* Is there a content type associated with this category aias
* Is there a content type associated with this category alias
*
* @var boolean
* @since 4.0.0

View File

@ -74,7 +74,7 @@ class ApplicationModel extends FormModel
* JConfig. If configuration data has been saved in the session, that
* data will be merged into the original data, overwriting it.
*
* @return array An array containg all global config data.
* @return array An array containing all global config data.
*
* @since 1.6
*/
@ -1053,7 +1053,7 @@ class ApplicationModel extends FormModel
* @to do: incorrect info
* When creating a new item (not saving) it uses the calculated permissions from the component (item <-> component <-> global config).
* But if we have a section too (item <-> section(s) <-> component <-> global config) this is not correct.
* Also, currently it uses the component permission, but should use the calculated permissions for achild of the component/section.
* Also, currently it uses the component permission, but should use the calculated permissions for a child of the component/section.
*/
// If not in global config we need the parent_id asset to calculate permissions.
@ -1148,21 +1148,21 @@ class ApplicationModel extends FormModel
$result['text'] = Text::_('JLIB_RULES_ALLOWED_INHERITED');
}
// Second part: Overwrite the calculated permissions labels if there is an explicity permission in the current group.
// Second part: Overwrite the calculated permissions labels if there is an explicit permission in the current group.
/**
* @to do: incorect info
* @to do: incorrect info
* If a component has a permission that doesn't exists in global config (ex: frontend editing in com_modules) by default
* we get "Not Allowed (Inherited)" when we should get "Not Allowed (Default)".
*/
// If there is an explicity permission "Not Allowed". Calculated permission is "Not Allowed".
// If there is an explicit permission "Not Allowed". Calculated permission is "Not Allowed".
if ($assetRule === false)
{
$result['class'] = 'badge badge-danger';
$result['text'] = Text::_('JLIB_RULES_NOT_ALLOWED');
}
// If there is an explicity permission is "Allowed". Calculated permission is "Allowed".
// If there is an explicit permission is "Allowed". Calculated permission is "Allowed".
elseif ($assetRule === true)
{
$result['class'] = 'badge badge-success';

View File

@ -117,7 +117,7 @@ class ArticleModel extends AdminModel implements WorkflowModelInterface
}
/**
* Function that can be overriden to do any data cleanup after batch copying data
* Function that can be overridden to do any data cleanup after batch copying data
*
* @param TableInterface $table The table object containing the newly created item
* @param integer $newId The id of the new item

View File

@ -267,7 +267,7 @@ class DatabaseModel extends InstallerModel
/*
* Finally, if the schema updates succeeded, make sure the database table is
* converted to utf8mb4 or, if not suported by the server, compatible to it.
* converted to utf8mb4 or, if not supported by the server, compatible to it.
*/
$statusArray = $changeSet['changeset']->getStatus();

View File

@ -117,7 +117,7 @@ class InstallerModel extends ListModel
}
// Process ordering.
// Sort array object by selected ordering and selected direction. Sort is case insensative and using locale sorting.
// Sort array object by selected ordering and selected direction. Sort is case insensitive and using locale sorting.
$result = ArrayHelper::sortObjects($result, $listOrder, strtolower($listDirn) == 'desc' ? -1 : 1, false, true);
// Process pagination.

View File

@ -90,7 +90,7 @@ namespace Joomla\CMS\Filesystem
if (!class_exists('File'))
{
/**
* JFile mock class proxing behaviour in the post-upgrade script to that of either native PHP or restore.php
* JFile mock class proxying behaviour in the post-upgrade script to that of either native PHP or restore.php
*
* @since 3.5.1
*/
@ -131,7 +131,7 @@ namespace Joomla\CMS\Filesystem
if (!class_exists('Folder'))
{
/**
* Folder mock class proxing behaviour in the post-upgrade script to that of either native PHP or restore.php
* Folder mock class proxying behaviour in the post-upgrade script to that of either native PHP or restore.php
*
* @since 3.5.1
*/
@ -174,7 +174,7 @@ namespace Joomla\CMS\Language
if (!class_exists('Text'))
{
/**
* Text mock class proxing behaviour in the post-upgrade script to that of either native PHP or restore.php
* Text mock class proxying behaviour in the post-upgrade script to that of either native PHP or restore.php
*
* @since 3.5.1
*/

View File

@ -1494,7 +1494,7 @@ ENDDATA;
}
/**
* Method to get details URLs from a colletion update site for given extension and Joomla target version.
* Method to get details URLs from a collection update site for given extension and Joomla target version.
*
* @param array $updateSiteInfo The update site and extension information record to process
* @param string $joomlaTargetVersion The Joomla! version to test against,

View File

@ -36,7 +36,7 @@ class InstalledModel extends ListModel
protected $user = null;
/**
* @var boolean|\JExeption True, if FTP settings should be shown, or an exeption
* @var boolean|\JExeption True, if FTP settings should be shown, or an exception
*/
protected $ftp = null;

View File

@ -59,7 +59,7 @@ class TemplateModel extends AdminModel
/**
* Method to get the record form.
*
* @param array $data An optional array of data for the form to interogate.
* @param array $data An optional array of data for the form to interrogate.
* @param boolean $loadData True if the form is to load its own data (default case), false if not.
*
* @return \Joomla\CMS\Form\Form|bool A JForm object on success, false on failure

View File

@ -134,7 +134,7 @@ class MenusHelper extends ContentHelper
* @param integer $mode An optional mode. If parent ID is set and mode=2, the parent and children are excluded from the list.
* @param array $published An optional array of states
* @param array $languages Optional array of specify which languages we want to filter
* @param int $clientId Optional client id - viz 0 = site, 1 = administrator, can be NULL for all (used only if menutype not givein)
* @param int $clientId Optional client id - viz 0 = site, 1 = administrator, can be NULL for all (used only if menutype not given)
*
* @return array
*

View File

@ -19,7 +19,7 @@ use Joomla\CMS\Toolbar\Toolbar;
use Joomla\CMS\Toolbar\ToolbarHelper;
/**
* The HTML Menus Menu Item TYpes View.
* The HTML Menus Menu Item Types View.
*
* @since 1.6
*/

View File

@ -377,7 +377,7 @@ class ModulesModel extends ListModel
{
$query->having('MIN(' . $db->quoteName('mm.menuid') . ') IS NULL');
}
// If user selected the modules assigned to some particlar page (menu item).
// If user selected the modules assigned to some particular page (menu item).
else
{
// Modules in "All" pages.

View File

@ -43,7 +43,7 @@ $container = \Joomla\CMS\Factory::getContainer();
* Alias the session service keys to the web session service as that is the primary session backend for this application
*
* In addition to aliasing "common" service keys, we also create aliases for the PHP classes to ensure autowiring objects
* is supported. This includes aliases for aliased class names, and the keys for alised class names should be considered
* is supported. This includes aliases for aliased class names, and the keys for aliased class names should be considered
* deprecated to be removed when the class name alias is removed as well.
*/
$container->alias('session.web', 'session.web.administrator')

View File

@ -240,7 +240,7 @@ class JHtmlAtum
}
/**
* Determinates if the given string is a color hex value
* Determines if the given string is a color hex value
*
* @param string $hex The string to test
*

View File

@ -101,7 +101,7 @@ class TemplatesModel extends FormModel
$lang->load('tpl_' . $template, JPATH_BASE)
|| $lang->load('tpl_' . $template, JPATH_BASE . '/templates/' . $template);
// Look for com_config.xml, which contains fileds to display
// Look for com_config.xml, which contains fields to display
$formFile = Path::clean(JPATH_BASE . '/templates/' . $template . '/com_config.xml');
if (!file_exists($formFile))

View File

@ -102,7 +102,7 @@ class ArticleController extends FormController
if ($allow === null)
{
// In the absense of better information, revert to the component permissions.
// In the absence of better information, revert to the component permissions.
return parent::allowAdd();
}
else

View File

@ -333,7 +333,7 @@ class ArticlesModel extends ListModel
{
/**
* If category is archived then article has to be published or archived.
* Or categogy is published then article has to be archived.
* Or category is published then article has to be archived.
*/
$query->where('((' . $db->quoteName('c.published') . ' = 2 AND ' . $db->quoteName('a.state') . ' > :conditionUnpublished)'
. ' OR (' . $db->quoteName('c.published') . ' = 1 AND ' . $db->quoteName('a.state') . ' = :conditionArchived))'

View File

@ -51,7 +51,7 @@ $container->registerServiceProvider(new \Joomla\CMS\Installation\Service\Provide
* Alias the session service keys to the web session service as that is the primary session backend for this application
*
* In addition to aliasing "common" service keys, we also create aliases for the PHP classes to ensure autowiring objects
* is supported. This includes aliases for aliased class names, and the keys for alised class names should be considered
* is supported. This includes aliases for aliased class names, and the keys for aliased class names should be considered
* deprecated to be removed when the class name alias is removed as well.
*/
$container->alias('session.web', 'session.web.installation')

View File

@ -142,7 +142,7 @@ final class InstallationApplication extends CMSApplication
$guesses = array();
foreach ($orphans as $key => $occurance)
foreach ($orphans as $key => $occurence)
{
$guess = str_replace('_', ' ', $key);

View File

@ -48,13 +48,13 @@ class ExtensionRemoveCommand extends AbstractCommand
private $ioStyle;
/**
* Exit Code for extenions remove abort
* Exit Code for extensions remove abort
* @since
*/
public const REMOVE_ABORT = 3;
/**
* Exit Code for extenions remove failure
* Exit Code for extensions remove failure
* @since
*/
public const REMOVE_FAILED = 1;
@ -72,19 +72,19 @@ class ExtensionRemoveCommand extends AbstractCommand
public const REMOVE_INVALID_TYPE = 6;
/**
* Exit Code for extenions locked remove failure
* Exit Code for extensions locked remove failure
* @since
*/
public const REMOVE_LOCKED = 4;
/**
* Exit Code for extenions not found
* Exit Code for extensions not found
* @since
*/
public const REMOVE_NOT_FOUND = 2;
/**
* Exit Code for extenions remove success
* Exit Code for extensions remove success
* @since
*/
public const REMOVE_SUCCESSFUL = 0;

View File

@ -221,7 +221,7 @@ class SetConfigurationCommand extends AbstractCommand
{
$app = $this->getApplication();
// Check db connection encription properties
// Check db connection encryption properties
$model = $app->bootComponent('com_config')->getMVCFactory($app)->createModel('Application', 'Administrator');
if (!$model->save($options))
@ -338,7 +338,7 @@ class SetConfigurationCommand extends AbstractCommand
$app = $this->getApplication();
// Check db connection encription properties
// Check db connection encryption properties
$model = $app->bootComponent('com_config')->getMVCFactory($app)->createModel('Application', 'Administrator');
if (!$model->validateDbConnection($options))

View File

@ -142,7 +142,7 @@ class Base32
// Remove the extra 0's we added
$str = preg_replace('/000(.{5})/', '$1', $str);
// Unpad if nessicary
// Unpad if necessary
$length = \strlen($str);
$rbits = $length & 7;
@ -212,7 +212,7 @@ class Base32
* Used with array_map to map the characters from a base32
* character set directly into a binary string
*
* @param string $chr The caracter to map
* @param string $chr The character to map
*
* @return string String of 0's and 1's
*

View File

@ -99,7 +99,7 @@ class Patcher
}
/**
* Reset the pacher
* Reset the patcher
*
* @return FilesystemPatcher This object for chaining
*

View File

@ -13,7 +13,7 @@ namespace Joomla\CMS\Form\Field;
use Joomla\CMS\Language\Text;
/**
* Field to load a list of posible item count limits
* Field to load a list of possible item count limits
*
* @since 3.2
*/

View File

@ -65,7 +65,7 @@ class SubformField extends FormField
protected $groupByFieldset = false;
/**
* Which buttons to show in miltiple mode
* Which buttons to show in multiple mode
* @var array $buttons
*/
protected $buttons = array('add' => true, 'remove' => true, 'move' => true);

View File

@ -369,7 +369,7 @@ abstract class Bootstrap
}
/**
* Add javascript support for Bootstrap accordians and insert the accordian
* Add javascript support for Bootstrap accordions and insert the accordion
*
* @param string $selector The ID selector for the tooltip.
* @param array $params An array of options for the tooltip.
@ -420,7 +420,7 @@ abstract class Bootstrap
/**
* Close the current accordion
*
* @return string HTML to close the accordian
* @return string HTML to close the accordion
*
* @since 3.0
*/

View File

@ -133,7 +133,7 @@ class ContentHelper
$relationsAll = $db->setQuery($query)->loadObjectList();
// Loop through the DB data overwritting the above zeros with the found count
// Loop through the DB data overwriting the above zeros with the found count
foreach ($relationsAll as $relation)
{
// Sanity check in case someone removes the state IN above ... and some views may start throwing warnings

View File

@ -764,7 +764,7 @@ class TagsHelper extends CMSHelper
*
* @param TableInterface $table Table being processed
* @param array $newTags Array of new tags
* @param boolean $replace Flag indicating if all exising tags should be replaced
* @param boolean $replace Flag indicating if all existing tags should be replaced
*
* @return boolean
*
@ -1003,7 +1003,7 @@ class TagsHelper extends CMSHelper
* @param integer $ucmId Id of the #__ucm_content item being tagged
* @param TableInterface $table Table object being tagged
* @param array $tags Array of tags to be applied.
* @param boolean $replace Flag indicating if all exising tags should be replaced
* @param boolean $replace Flag indicating if all existing tags should be replaced
*
* @return boolean true on success, otherwise false.
*

View File

@ -169,7 +169,7 @@ class CurlTransport extends AbstractTransport implements TransportInterface
$options[$key] = $value;
}
// Authentification, if needed
// Authentication, if needed
if ($this->getOption('userauth') && $this->getOption('passwordauth'))
{
$options[CURLOPT_USERPWD] = $this->getOption('userauth') . ':' . $this->getOption('passwordauth');

View File

@ -121,7 +121,7 @@ class SocketTransport extends AbstractTransport implements TransportInterface
$request[] = $data;
}
// Authentification, if needed
// Authentication, if needed
if ($this->getOption('userauth') && $this->getOption('passwordauth'))
{
$request[] = 'Authorization: Basic ' . base64_encode($this->getOption('userauth') . ':' . $this->getOption('passwordauth'));

View File

@ -143,7 +143,7 @@ class StreamTransport extends AbstractTransport implements TransportInterface
)
);
// Authentification, if needed
// Authentication, if needed
if ($uri instanceof Uri && $this->getOption('userauth') && $this->getOption('passwordauth'))
{
$uri->setUser($this->getOption('userauth'));

View File

@ -89,7 +89,7 @@ abstract class InstallerHelper
return false;
}
// Convert keys of headers to lowercase, to accomodate for case variations
// Convert keys of headers to lowercase, to accommodate for case variations
$headers = array_change_key_case($response->headers, CASE_LOWER);
if (302 == $response->code && !empty($headers['location']))

View File

@ -16,7 +16,7 @@ use Joomla\Database\ParameterType;
use Joomla\Registry\Registry;
/**
* Utitlity class for associations in multilang
* Utility class for associations in multilang
*
* @since 3.1
*/

View File

@ -83,7 +83,7 @@ class FileLayout extends BaseLayout
$this->setLayoutId($layoutId);
$this->basePath = $basePath;
// Init Enviroment
// Init Environment
$this->setComponent($this->options->get('component', 'auto'));
$this->setClient($this->options->get('client', 'auto'));
}

View File

@ -426,7 +426,7 @@ class AdminController extends BaseController
/**
* Method to run Transition by id of item.
*
* @return boolean Indicates whether the transition was succesful.
* @return boolean Indicates whether the transition was successful.
*
* @since 4.0.0
*/

View File

@ -663,7 +663,7 @@ class FormController extends BaseController implements FormFactoryAwareInterface
}
/**
* We need the filtered value of calendar fields because the UTC normalision is
* We need the filtered value of calendar fields because the UTC normalisation is
* done in the filter and on output. This would apply the Timezone offset on
* reload. We set the calendar values we save to the processed date.
*/
@ -863,7 +863,7 @@ class FormController extends BaseController implements FormFactoryAwareInterface
$form = $model->getForm($data, false);
/**
* We need the filtered value of calendar fields because the UTC normalision is
* We need the filtered value of calendar fields because the UTC normalisation is
* done in the filter and on output. This would apply the Timezone offset on
* reload. We set the calendar values we save to the processed date.
*/

View File

@ -535,7 +535,7 @@ abstract class AdminModel extends FormModel
}
/**
* Function that can be overriden to do any data cleanup after batch copying data
* Function that can be overridden to do any data cleanup after batch copying data
*
* @param \JTableInterface $table The table object containing the newly created item
* @param integer $newId The id of the new item

View File

@ -149,7 +149,7 @@ abstract class BaseDatabaseModel extends BaseModel implements DatabaseModelInter
*
* Note: Current implementation of this method assumes that getListQuery() returns a set of unique rows,
* thus it uses SELECT COUNT(*) to count the rows. In cases that getListQuery() uses DISTINCT
* then either this method must be overriden by a custom implementation at the derived Model Class
* then either this method must be overridden by a custom implementation at the derived Model Class
* or a GROUP BY clause should be used to make the set unique.
*
* @param DatabaseQuery|string $query The query.

View File

@ -86,7 +86,7 @@ abstract class BaseModel extends CMSObject implements ModelInterface, StatefulMo
* @return array An array with directory elements. If prefix is equal to '', all directories are returned.
*
* @since 3.0
* @deprecated 5.0 See LeagcyModelLoaderTrait\getInstance
* @deprecated 5.0 See LegacyModelLoaderTrait\getInstance
*/
public static function addIncludePath($path = '', $prefix = '')
{

View File

@ -375,7 +375,7 @@ trait WorkflowBehaviorTrait
/**
* Try to load a workflow stage for newly created items
* which does not have a workflow assinged yet. If the category is not the
* which does not have a workflow assigned yet. If the category is not the
* carrier, overwrite it on your model and deliver your own carrier.
*
* @param Form $form A Form object.

View File

@ -197,7 +197,7 @@ class Mail extends PHPMailer
{
if (\is_array($from))
{
// If $from is an array we assume it has an adress and a name
// If $from is an array we assume it has an address and a name
if (isset($from[2]))
{
// If it is an array with entries, use them
@ -414,7 +414,7 @@ class Mail extends PHPMailer
*
* @since 3.0.1
* @throws \InvalidArgumentException if the argument array counts do not match
* @throws phpmailerException if setting the attatchment failed and exception throwing is enabled
* @throws phpmailerException if setting the attachment failed and exception throwing is enabled
*/
public function addAttachment($path, $name = '', $encoding = 'base64', $type = 'application/octet-stream', $disposition = 'attachment')
{

View File

@ -307,7 +307,7 @@ class MysqlChangeItem extends ChangeItem
/**
* Make check query for column changes/modifications tolerant
* for automatic type changes of text columns, e.g. from TEXT
* to MEDIUMTEXT, after comnversion from utf8 to utf8mb4, and
* to MEDIUMTEXT, after conversion from utf8 to utf8mb4, and
* fix integer (int or tinyint) columns without display length
* for MySQL 8.
*

View File

@ -40,7 +40,7 @@ class CustomButton extends ToolbarButton
* Fetch the HTML for the button
*
* @param string $type Button type, unused string.
* @param string $html HTML strng for the button
* @param string $html HTML string for the button
* @param string $id CSS id for the button
*
* @return string HTML string for the button

View File

@ -446,7 +446,7 @@ trait CoreButtonsTrait
*
* @param string $component The name of the component, eg, com_content.
* @param string $text The text of this button.
* @param string $path An alternative path for the configuation xml relative to JPATH_SITE.
* @param string $path An alternative path for the configuration xml relative to JPATH_SITE.
*
* @return LinkButton
*

View File

@ -585,7 +585,7 @@ abstract class ToolbarHelper
* @param integer $height The height of the popup. [UNUSED]
* @param integer $width The width of the popup. [UNUSED]
* @param string $alt The name of the button.
* @param string $path An alternative path for the configuation xml relative to JPATH_SITE.
* @param string $path An alternative path for the configuration xml relative to JPATH_SITE.
*
* @return void
*

View File

@ -131,7 +131,7 @@ trait WorkflowPluginTrait
* Check if the context is listed in the whitelist or in the blacklist and return the result
*
* @param string $context Context to check
* @param string $functionality The funcationality
* @param string $functionality The functionality
*
* @return boolean
*/

View File

@ -343,7 +343,7 @@ abstract class ArticlesCategoryHelper
* the html intact as possible with all tags properly closed.
*
* @param string $html The content of the introtext to be truncated
* @param integer $maxLength The maximum number of charactes to render
* @param integer $maxLength The maximum number of characters to render
*
* @return string The truncated string
*

View File

@ -57,7 +57,7 @@ use Joomla\CMS\Language\Text;
</li>
<?php elseif ($show_last) :
$breadcrumbItem = '<span itemprop="name">' . $item->name . '</span>';
// Render last item if reqd. ?>
// Render last item if required. ?>
<li aria-current="page" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem" class="mod-breadcrumbs__item breadcrumb-item active"><?php echo $breadcrumbItem; ?>
<meta itemprop="position" content="<?php echo $key + 1; ?>">
</li>

View File

@ -597,7 +597,7 @@ class PlgActionlogJoomla extends ActionLogPlugin
*
* @param array $user Holds the new user data.
* @param boolean $isnew True if a new user is stored.
* @param boolean $success True if user was succesfully stored in the database.
* @param boolean $success True if user was successfully stored in the database.
* @param string $msg Message.
*
* @return void
@ -669,7 +669,7 @@ class PlgActionlogJoomla extends ActionLogPlugin
* Method is called after user data is deleted from the database
*
* @param array $user Holds the user data
* @param boolean $success True if user was succesfully stored in the database
* @param boolean $success True if user was successfully stored in the database
* @param string $msg Message
*
* @return void
@ -747,7 +747,7 @@ class PlgActionlogJoomla extends ActionLogPlugin
* Method is called after user data is deleted from the database
*
* @param array $group Holds the group data
* @param boolean $success True if user was succesfully stored in the database
* @param boolean $success True if user was successfully stored in the database
* @param string $msg Message
*
* @return void

View File

@ -239,7 +239,7 @@ class PlgAuthenticationCookie extends CMSPlugin
}
/**
* We set the authentication cookie only after login is successfullly finished.
* We set the authentication cookie only after login is successfully finished.
* We set a new cookie either for a user with no cookies or one
* where the user used a cookie to authenticate.
*

View File

@ -1075,7 +1075,7 @@ class PlgEditorTinymce extends CMSPlugin
}
/**
* Array helper funtion to remove specific arrays by key-value
* Array helper function to remove specific arrays by key-value
*
* @param array $array the parent array
* @param string $key the key

View File

@ -94,7 +94,7 @@ class PlgExtensionFinder extends CMSPlugin
/**
* Get an object of information if the handled extension is a language
*
* @param integer $eid Extensuon id
* @param integer $eid Extension id
*
* @return object
*

View File

@ -52,7 +52,7 @@ class PlgFieldsMedia extends \Joomla\Component\Fields\Administrator\Plugin\Field
*
* @return void
*
* @since __DEPLOAY_VERSION__
* @since __DEPLOY_VERSION__
*/
public function onCustomFieldsBeforePrepareField($context, $item, $field)
{
@ -73,7 +73,7 @@ class PlgFieldsMedia extends \Joomla\Component\Fields\Administrator\Plugin\Field
*
* @return array The checked value
*
* @since __DEPLOAY_VERSION__
* @since __DEPLOY_VERSION__
*/
private function checkValue($value)
{

View File

@ -139,7 +139,7 @@ class PlgFinderNewsfeeds extends Adapter
* Smart Search after save content method.
* Reindexes the link information for a newsfeed that has been saved.
* It also makes adjustments if the access level of a newsfeed item or
* the category to which it belongs has beend changed.
* the category to which it belongs has changed.
*
* @param string $context The context of the content passed to the plugin.
* @param Table $row A Table object.

View File

@ -180,7 +180,7 @@ class PlgInstallerOverride extends CMSPlugin
/**
* Last process of this plugin.
*
* @param array $result Result aray.
* @param array $result Result array.
*
* @return void
*

View File

@ -377,7 +377,7 @@ class PlgSampledataBlog extends CMSPlugin
$menuTypes[] = $menuTable->menutype;
}
// Storing IDs in UserState for later useage.
// Storing IDs in UserState for later usage.
$this->app->setUserState('sampledata.blog.menutypes', $menuTypes);
// Get previously entered Data from UserStates.

View File

@ -275,7 +275,7 @@ class PlgSystemActionLogs extends CMSPlugin
}
catch (Exception $exc)
{
// If we failed to execite
// If we failed to execute
$db->unlockTables();
$result = false;
}

View File

@ -65,7 +65,7 @@ abstract class AbstractDataCollector extends DataCollector implements Renderable
}
/**
* Returns the default data formater
* Returns the default data formatter
*
* @since 4.0.0
* @return DataFormatter

View File

@ -108,7 +108,7 @@ class PlgSystemLogrotation extends CMSPlugin
}
catch (Exception $exc)
{
// If we failed to execite
// If we failed to execute
$db->unlockTables();
$result = false;
}

View File

@ -230,7 +230,7 @@ class PlgSystemPrivacyconsent extends CMSPlugin
* Method is called after user data is deleted from the database
*
* @param array $user Holds the user data
* @param boolean $success True if user was succesfully stored in the database
* @param boolean $success True if user was successfully stored in the database
* @param string $msg Message
*
* @return void
@ -415,7 +415,7 @@ class PlgSystemPrivacyconsent extends CMSPlugin
/**
* Get privacy article ID. If the site is a multilingual website and there is associated article for the
* current language, ID of the associlated article will be returned
* current language, ID of the associated article will be returned
*
* @return integer
*

View File

@ -127,7 +127,7 @@ class PlgSystemUpdatenotification extends CMSPlugin
}
catch (Exception $exc)
{
// If we failed to execite
// If we failed to execute
$db->unlockTables();
$result = false;
}

View File

@ -218,7 +218,7 @@ class PlgTwofactorauthTotp extends CMSPlugin
return false;
}
// Check succeedeed; return an OTP configuration object
// Check succeeded; return an OTP configuration object
$otpConfig = (object) array(
'method' => 'totp',
'config' => array(

View File

@ -186,7 +186,7 @@ class PlgTwofactorauthYubikey extends CMSPlugin
// Remove the last 32 digits and store the rest in the user configuration parameters
$yubikey = substr($data['securitycode'], 0, -32);
// Check succeedeed; return an OTP configuration object
// Check succeeded; return an OTP configuration object
$otpConfig = (object) array(
'method' => $this->methodName,
'config' => array(
@ -292,7 +292,7 @@ class PlgTwofactorauthYubikey extends CMSPlugin
// servers must reply positively for the OTP to validate)
$uri->setVar('sl', 50);
// Timeou waiting for YubiCloud servers to reply: 5 seconds.
// Timeout waiting for YubiCloud servers to reply: 5 seconds.
$uri->setVar('timeout', 5);
try

View File

@ -382,7 +382,7 @@ class PlgUserProfile extends CMSPlugin
if (Date::getInstance('now') < $date)
{
// Throw an exception if dob is greather than now.
// Throw an exception if dob is greater than now.
throw new InvalidArgumentException(Text::_('PLG_USER_PROFILE_ERROR_INVALID_DOB_FUTURE_DATE'));
}
}

View File

@ -427,7 +427,7 @@ class PlgUserToken extends CMSPlugin
* This event is called after the user data is deleted from the database.
*
* @param array $user Holds the user data
* @param boolean $success True if user was succesfully stored in the database
* @param boolean $success True if user was successfully stored in the database
* @param string $msg Message
*
* @return void

View File

@ -99,7 +99,7 @@ class PlgWorkflowNotification extends CMSPlugin implements SubscriberInterface
}
/**
* Send a Notification to defined users a transion is performed
* Send a Notification to defined users a transition is performed
*
* @param string $context The context for the content passed to the plugin.
* @param array $pks A list of primary key ids of the content that has changed stage.