Commit cd379fdc authored by Christian Eßl's avatar Christian Eßl
Browse files

[BUGFIX] Fix some typos in the code

Resolves: #91103
Releases: master
Change-Id: If342b9bf69574b54d598e342c3bb2773dba582cb
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64224

Reviewed-by: Oliver Klee's avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarAlexander Schnitzler <git@alexanderschnitzler.de>
Reviewed-by: Oliver Bartsch's avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: Jonas Eberle's avatarJonas Eberle <flightvision@googlemail.com>
Reviewed-by: default avatarChristian Eßl <indy.essl@gmail.com>
Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarAlexander Schnitzler <git@alexanderschnitzler.de>
Tested-by: Oliver Bartsch's avatarOliver Bartsch <bo@cedev.de>
Tested-by: Jonas Eberle's avatarJonas Eberle <flightvision@googlemail.com>
Tested-by: default avatarChristian Eßl <indy.essl@gmail.com>
parent fc8d3200
......@@ -15,7 +15,7 @@ import {AbstractAction} from './AbstractAction';
import Icons = require('../Icons');
/**
* Action used when an operation execution time is unkown.
* Action used when an operation execution time is unknown.
*/
class DeferredAction extends AbstractAction {
protected callback: () => Promise<any>;
......
......@@ -325,7 +325,7 @@ class ContextMenuActions {
* Paste db record after another
*
* @param {string} table any db table except sys_file
* @param {number} uid uid of the record after which record from the cliboard will be pasted
* @param {number} uid uid of the record after which record from the clipboard will be pasted
*/
public static pasteAfter(table: string, uid: number): void {
ContextMenuActions.pasteInto.bind($(this))(table, -uid);
......@@ -335,7 +335,7 @@ class ContextMenuActions {
* Paste page into another page
*
* @param {string} table any db table except sys_file
* @param {number} uid uid of the record after which record from the cliboard will be pasted
* @param {number} uid uid of the record after which record from the clipboard will be pasted
*/
public static pasteInto(table: string, uid: number): void {
const $anchorElement = $(this);
......
......@@ -647,7 +647,7 @@ class FileQueueItem {
*/
public showFileInfo(fileInfo: UploadedFile): void {
this.removeProgress();
// add spacing cells when clibboard and/or extended view is enabled
// add spacing cells when clipboard and/or extended view is enabled
for (let i = 7; i < this.dragUploader.fileListColumnCount; i++) {
$('<td />').text('').appendTo(this.$row);
}
......
......@@ -59,7 +59,7 @@ enum ProposalModes {
*
* For new and existing records, the toggle switch will allow editors to modify the slug
* - for new records, we only need to see if that is already in use or not (uniqueInSite), if it is taken, show a message.
* - for existing records, we also check for conflicts, and check if we have subpges, or if we want to add a redirect (todo)
* - for existing records, we also check for conflicts, and check if we have subpages, or if we want to add a redirect (todo)
*/
class SlugElement {
private options: FieldOptions = null;
......
......@@ -47,7 +47,7 @@ export class GridEditor {
protected field: JQuery;
protected data: any[];
protected nameLabel: string = 'name';
protected columnLabel: string = 'columen label';
protected columnLabel: string = 'column label';
protected targetElement: JQuery;
protected defaultCell: object = {spanned: 0, rowspan: 1, colspan: 1, name: '', colpos: '', column: undefined};
protected selectorEditor: string = '.t3js-grideditor';
......
......@@ -285,7 +285,7 @@ class ImageManipulation {
/**
* @method init
* @desc Initializes the cropper UI and sets up all the event indings for the UI
* @desc Initializes the cropper UI and sets up all the event bindings for the UI
* @private
*/
private init(): void {
......@@ -320,7 +320,7 @@ class ImageManipulation {
/**
* Is the current cropVariantTrigger is active, bail out.
* Bootstrap doesn't provide this functionality when collapsing the Collaps panels
* Bootstrap doesn't provide this functionality when collapsing the Collapse panels
*/
if ($(e.currentTarget).hasClass('is-active')) {
e.stopPropagation();
......@@ -405,7 +405,7 @@ class ImageManipulation {
* Initialise the cropper
*
* Note: We use the extraneous jQuery object here, as CropperJS won't work inside the <iframe>
* The top.require is now inlined @see ImageManipulationElemen.php:143
* The top.require is now inlined @see ImageManipulationElement.php:143
* TODO: Find a better solution for cross iframe communications
*/
this.cropper = (top.$(image) as any).cropper($.extend(this.defaultOpts, {
......@@ -667,7 +667,7 @@ class ImageManipulation {
* @method initCoverAreas
* @desc Initialise cover areas inside the cropper container
* @param {JQuery} container - The container element to append the cover areas
* @param {Array<Area>} coverAreas - An array of areas to construxt the cover area elements from
* @param {Array<Area>} coverAreas - An array of areas to construct the cover area elements from
*/
private initCoverAreas(container: JQuery, coverAreas: Area[]): void {
coverAreas.forEach((coverArea: Area): void => {
......@@ -684,7 +684,7 @@ class ImageManipulation {
/**
* @method updatePreviewThumbnail
* @desc Sync the croping (and focus area) to the preview thumbnail
* @desc Sync the cropping (and focus area) to the preview thumbnail
* @param {CropVariant} cropVariant - The crop variant to preview in the thumbnail
* @param {JQuery} cropVariantTrigger - The crop variant element containing the thumbnail
* @private
......
......@@ -171,7 +171,7 @@ class DragDrop {
$droppableElement.removeClass(DragDrop.dropPossibleHoverClass);
// send an AJAX requst via the AjaxDataHandler
// send an AJAX request via the AjaxDataHandler
const contentElementUid: number = parseInt($draggableElement.data('uid'), 10);
if (typeof(contentElementUid) === 'number' && contentElementUid > 0) {
......
......@@ -147,7 +147,7 @@ class Paste {
}
/**
* Send an AJAX requst via the AjaxDataHandler
* Send an AJAX request via the AjaxDataHandler
*
* @param {JQuery} $element
*/
......
......@@ -182,7 +182,7 @@ class Persistent {
* Helper function used to set a value which could have been a flat object key data["my.foo.bar"] to
* data[my][foo][bar] is called recursively by itself
*
* @param {Object} data the data to be uased as base
* @param {Object} data the data to be used as base
* @param {String} keyParts the keyParts for the subtree
* @returns {Object}
*/
......
......@@ -20,7 +20,7 @@ declare global {
}
/**
* Module: TYPO3/CMS/Beuser/Permissons
* Module: TYPO3/CMS/Beuser/Permissions
* Javascript functions regarding the permissions module
*/
class Permissions {
......
......@@ -321,7 +321,7 @@ class PasswordReset implements LoggerAwareInterface
*
* @param ServerRequestInterface $request
* @param Context $context current context
* @return bool whether the password was resetted or not
* @return bool whether the password was reset or not
*/
public function resetPassword(ServerRequestInterface $request, Context $context): bool
{
......
......@@ -217,7 +217,7 @@ class TcaSelectItems extends AbstractItemProvider implements FormDataProviderInt
// Extract --div-- into itemGroups
foreach ($allItems as $key => $item) {
if ($item[1] === '--div--') {
// A divider is added as a group (existing groups will get their label overriden)
// A divider is added as a group (existing groups will get their label overridden)
if (isset($item[3])) {
$currentGroup = $item[3];
$itemGroups[$currentGroup] = $item[0];
......
......@@ -2046,7 +2046,7 @@ class PageLayoutView implements LoggerAwareInterface
}
/**
* Check if current user has modification and access permissons for content set
* Check if current user has modification and access permissions for content set
*
* @return bool
*/
......
......@@ -117,7 +117,7 @@ class DemandTest extends UnitTestCase
/**
* @test
*/
public function setLoginxSameExpectedValueForInt()
public function setLoginSameExpectedValueForInt()
{
$login = Demand::LOGIN_SOME;
$this->subject->setLogins($login);
......
......@@ -280,7 +280,7 @@ class ElementsBasicInputDateCest extends AbstractElementsBasicCest
'expectedValue' => '12:09:04',
'expectedInternalValue' => '1970-01-01T12:09:04Z',
'expectedValueAfterSave' => '1970-01-01T12:09:04+00:00',
'comment' => 'inputdatetime_6 eval=timesec additon input',
'comment' => 'inputdatetime_6 eval=timesec addition input',
],
];
}
......
......@@ -25,7 +25,7 @@ namespace TYPO3\CMS\Dashboard\Widgets;
interface WidgetConfigurationInterface
{
/**
* Returns the unique identifer of a widget
* Returns the unique identifier of a widget
*
* @return string
*/
......
......@@ -53,7 +53,7 @@ class DashboardWidgetPassTest extends UnitTestCase
/**
* @test
*/
public function doesNothingIfWidgetRegistryIsUnkown(): void
public function doesNothingIfWidgetRegistryIsUnknown(): void
{
$this->container->findDefinition(WidgetRegistry::class)->willReturn(false);
$this->container->findTaggedServiceIds('dashboard.widget')->shouldNotBeCalled();
......@@ -90,7 +90,7 @@ class DashboardWidgetPassTest extends UnitTestCase
/**
* @test
*/
public function registersTaggedWidgetWithMiniumConfigurationInRegistry(): void
public function registersTaggedWidgetWithMinimumConfigurationInRegistry(): void
{
$this->container->findDefinition(WidgetRegistry::class)->willReturn($this->widgetRegistryDefinition->reveal());
$definition = $this->prophesize(Definition::class);
......
......@@ -60,7 +60,7 @@ class StageChangeNotification
}
/**
* Send an email notification to users in workspace in multiple languages, depending on each BE users' langauge
* Send an email notification to users in workspace in multiple languages, depending on each BE users' language
* preference.
*
* @param array $workspaceRecord
......
......@@ -177,7 +177,7 @@ can be chosen from among "Owners" and "Members". They are called
Defining the notification settings of a custom stage
The notitication settings for a custom stage are mostly the same
The notification settings for a custom stage are mostly the same
as for the default stages, except that the "Responsible persons"
can also be chosen in the predefined list of users to notify
and that a "Default mail comment" can be defined for that stage.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment