Skip to content

Commit

Permalink
[BUGFIX] Fix some typos in the code
Browse files Browse the repository at this point in the history
Resolves: #91103
Releases: master
Change-Id: If342b9bf69574b54d598e342c3bb2773dba582cb
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64224
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Alexander Schnitzler <git@alexanderschnitzler.de>
Reviewed-by: Oliver Bartsch <bo@cedev.de>
Reviewed-by: Jonas Eberle <flightvision@googlemail.com>
Reviewed-by: Christian Eßl <indy.essl@gmail.com>
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Alexander Schnitzler <git@alexanderschnitzler.de>
Tested-by: Oliver Bartsch <bo@cedev.de>
Tested-by: Jonas Eberle <flightvision@googlemail.com>
Tested-by: Christian Eßl <indy.essl@gmail.com>
  • Loading branch information
IndyIndyIndy committed Apr 18, 2020
1 parent fc8d320 commit cd379fd
Show file tree
Hide file tree
Showing 22 changed files with 28 additions and 28 deletions.
Expand Up @@ -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>;
Expand Down
Expand Up @@ -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);
Expand All @@ -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);
Expand Down
Expand Up @@ -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);
}
Expand Down
Expand Up @@ -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;
Expand Down
Expand Up @@ -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';
Expand Down
Expand Up @@ -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 {
Expand Down Expand Up @@ -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();
Expand Down Expand Up @@ -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, {
Expand Down Expand Up @@ -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 => {
Expand All @@ -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
Expand Down
Expand Up @@ -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) {
Expand Down
Expand Up @@ -147,7 +147,7 @@ class Paste {
}

/**
* Send an AJAX requst via the AjaxDataHandler
* Send an AJAX request via the AjaxDataHandler
*
* @param {JQuery} $element
*/
Expand Down
Expand Up @@ -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}
*/
Expand Down
Expand Up @@ -20,7 +20,7 @@ declare global {
}

/**
* Module: TYPO3/CMS/Beuser/Permissons
* Module: TYPO3/CMS/Beuser/Permissions
* Javascript functions regarding the permissions module
*/
class Permissions {
Expand Down
Expand Up @@ -321,7 +321,7 @@ protected function findValidUserForToken(string $token, string $identity, int $e
*
* @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
{
Expand Down
Expand Up @@ -217,7 +217,7 @@ protected function groupAndSortItems(array $allItems, array $definedGroups, arra
// 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];
Expand Down
2 changes: 1 addition & 1 deletion typo3/sysext/backend/Classes/View/PageLayoutView.php
Expand Up @@ -2046,7 +2046,7 @@ protected function isContentEditable(?int $languageId = null)
}

/**
* 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
*/
Expand Down

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion typo3/sysext/beuser/Tests/Unit/Domain/Model/DemandTest.php
Expand Up @@ -117,7 +117,7 @@ public function setLoginNoneExpectedValueForInt()
/**
* @test
*/
public function setLoginxSameExpectedValueForInt()
public function setLoginSameExpectedValueForInt()
{
$login = Demand::LOGIN_SOME;
$this->subject->setLogins($login);
Expand Down
Expand Up @@ -280,7 +280,7 @@ protected function dbTypeDateEvalTimeDataProvider_DbTypeDateTime()
'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',
],
];
}
Expand Down
Expand Up @@ -25,7 +25,7 @@
interface WidgetConfigurationInterface
{
/**
* Returns the unique identifer of a widget
* Returns the unique identifier of a widget
*
* @return string
*/
Expand Down
Expand Up @@ -53,7 +53,7 @@ public function setUp(): void
/**
* @test
*/
public function doesNothingIfWidgetRegistryIsUnkown(): void
public function doesNothingIfWidgetRegistryIsUnknown(): void
{
$this->container->findDefinition(WidgetRegistry::class)->willReturn(false);
$this->container->findTaggedServiceIds('dashboard.widget')->shouldNotBeCalled();
Expand Down Expand Up @@ -90,7 +90,7 @@ public function makesWidgetPublic(): void
/**
* @test
*/
public function registersTaggedWidgetWithMiniumConfigurationInRegistry(): void
public function registersTaggedWidgetWithMinimumConfigurationInRegistry(): void
{
$this->container->findDefinition(WidgetRegistry::class)->willReturn($this->widgetRegistryDefinition->reveal());
$definition = $this->prophesize(Definition::class);
Expand Down
Expand Up @@ -60,7 +60,7 @@ public function __construct()
}

/**
* 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
Expand Down
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion typo3/sysext/workspaces/Documentation/Index.rst
Expand Up @@ -20,7 +20,7 @@ Workspaces and Versioning
Workspace functionality for TYPO3 CMS.

:Keywords:
worspaces
workspaces

:Copyright:
2000-2020
Expand Down
Expand Up @@ -337,7 +337,7 @@
<source><![CDATA[Default language record for record "%s"]]></source>
</trans-unit>
<trans-unit id="integrity.hasIssuesDescription" resname="integrity.hasIssuesDescription">
<source>The integrity check discovered several issues, see status icons infront of each record for further details.</source>
<source>The integrity check discovered several issues, see status icons in front of each record for further details.</source>
</trans-unit>
<trans-unit id="integrity.hasIssuesQuestion" resname="integrity.hasIssuesQuestion">
<source>Do you want to continue?</source>
Expand Down

0 comments on commit cd379fd

Please sign in to comment.