Commit a9902b5c authored by Sebastian Michaelsen's avatar Sebastian Michaelsen Committed by Nicole Cordes
Browse files

[TASK] Use "an" instead of "a" where appropriate

In english you have to use "an" before any spoken vowel.

Resolves: #68326
Releases: master
Change-Id: I2f8996d14eb532bd297b7035a6daaee4fea3f140
Reviewed-on: http://review.typo3.org/41651


Reviewed-by: default avatarHelmut Hummel <helmut.hummel@typo3.org>
Tested-by: default avatarHelmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Nicole Cordes's avatarNicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes's avatarNicole Cordes <typo3@cordes.co>
parent 793191c7
......@@ -1133,7 +1133,7 @@ class TypoScriptParser {
// an additional empty line, remove this again
$skipNextLineIfEmpty = TRUE;
} else {
// If this is not a ending commented include statement this line goes into the file content
// If this is not an ending commented include statement this line goes into the file content
$fileContent[] = $line;
}
}
......
......@@ -25,7 +25,7 @@ class ArrayUtility {
* Comparison is type strict:
* - For a given needle of type string, integer, array or boolean,
* value and value type must match to occur in result array
* - For a given object, a object within the array must be a reference to
* - For a given object, an object within the array must be a reference to
* the same object to match (not just different instance of same class)
*
* Example:
......
......@@ -795,7 +795,7 @@ class ExtensionManagementUtility {
}
/**
* Adds a ExtJS module (main or sub) to the backend interface
* Adds an ExtJS module (main or sub) to the backend interface
* FOR USE IN ext_tables.php FILES
*
* @static
......
......@@ -29,7 +29,7 @@ class PhpOptionsUtility {
}
/**
* Cast a on/off php ini value to boolean
* Cast an on/off php ini value to boolean
*
* @param string $configOption
* @return bool TRUE if the given option is enabled, FALSE if disabled
......
......@@ -263,7 +263,7 @@ return array(
'basicoverlayPalette' => array(
'showitem' => 'title,description',
),
// Used for everything that is an image (because it has a link and a alternative text)
// Used for everything that is an image (because it has a link and an alternative text)
'imageoverlayPalette' => array(
'showitem' => '
title,alternative,--linebreak--,
......
<f:layout name="Default" />
This template displays a EDIT form for the current domain object.
This template displays an EDIT form for the current domain object.
If you modify this template, do not forget to change the overwrite settings
in /Configuration/ExtensionBuilder/settings.yaml:
......
......@@ -56,7 +56,7 @@ class PreparedStatementTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
}
/**
* Create a object fo the subject to be tested.
* Create an object fo the subject to be tested.
*
* @param string $query
* @return \TYPO3\CMS\Core\Database\PreparedStatement
......
......@@ -137,7 +137,7 @@ class RendererRegistryTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
*/
public function getRendererReturnsCorrectInstance() {
$this->markTestSkipped('Test triggers a error this is known PHP bug - http://stackoverflow.com/questions/3235387/usort-array-was-modified-by-the-user-comparison-function)');
$this->markTestSkipped('Test triggers an error. This is a known PHP bug (http://stackoverflow.com/questions/3235387/usort-array-was-modified-by-the-user-comparison-function)');
$rendererClass1 = $this->getUniqueId('myVideoRenderer');
$rendererObject1 = $this->getMock(\TYPO3\CMS\Core\Resource\Rendering\FileRendererInterface::class, array('getPriority', 'canRender', 'render'), array(), $rendererClass1);
......
......@@ -247,7 +247,7 @@ imgObjNum
Rendering of the individual images
The register "IMAGE\_NUM" is set with the number of image being
rendered for each rendering of a image-object. Starting with zero.
rendered for each rendering of an image-object. Starting with zero.
The image-object should not be of type GIFBUILDER!
......
......@@ -2132,7 +2132,7 @@ class DatabaseConnection extends \TYPO3\CMS\Core\Database\DatabaseConnection {
break;
case 'adodb':
// Check if method exists for the current $res object.
// If a table exists in TCA but not in the db, a error
// If a table exists in TCA but not in the db, an error
// occurred because $res is not a valid object.
if (method_exists($res, 'FetchRow')) {
$output = $res->FetchRow();
......@@ -2200,7 +2200,7 @@ class DatabaseConnection extends \TYPO3\CMS\Core\Database\DatabaseConnection {
break;
case 'adodb':
// Check if method exists for the current $res object.
// If a table exists in TCA but not in the db, a error
// If a table exists in TCA but not in the db, an error
// occurred because $res is not a valid object.
if (method_exists($res, 'FetchRow')) {
$output = $res->FetchRow();
......
......@@ -15,7 +15,7 @@ namespace TYPO3\CMS\Extbase\DomainObject;
*/
/**
* A abstract Value Object. A Value Object is an object that describes some characteristic
* An abstract Value Object. A Value Object is an object that describes some characteristic
* or attribute (e.g. a color) but carries no concept of identity.
*/
abstract class AbstractValueObject extends \TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject {
......
......@@ -31,7 +31,7 @@ class Container implements \TYPO3\CMS\Core\SingletonInterface {
/**
* registered alternative implementations of a class
* e.g. used to know the class for a AbstractClass or a Dependency
* e.g. used to know the class for an AbstractClass or a Dependency
*
* @var array
*/
......@@ -262,7 +262,7 @@ class Container implements \TYPO3\CMS\Core\SingletonInterface {
/**
* register a classname that should be used if a dependency is required.
* e.g. used to define default class for a interface
* e.g. used to define default class for an interface
*
* @param string $className
* @param string $alternativeClassName
......
......@@ -327,7 +327,7 @@ class Backend implements \TYPO3\CMS\Extbase\Persistence\Generic\BackendInterface
if ($propertyValue instanceof \TYPO3\CMS\Extbase\Persistence\ObjectStorage) {
$cleanProperty = $object->_getCleanProperty($propertyName);
// objectstorage needs to be persisted if the object is new, the objectstorge is dirty, meaning it has
// been changed after initial build, or a empty objectstorge is present and the cleanstate objectstorage
// been changed after initial build, or an empty objectstorge is present and the cleanstate objectstorage
// has childelements, meaning all elements should been removed from the objectstorage
if ($object->_isNew() || $propertyValue->_isDirty() || ($propertyValue->count() === 0 && $cleanProperty && $cleanProperty->count() > 0)) {
$this->persistObjectStorage($propertyValue, $object, $propertyName, $row);
......@@ -384,7 +384,7 @@ class Backend implements \TYPO3\CMS\Extbase\Persistence\Generic\BackendInterface
}
/**
* Persists a an object storage. Objects of a 1:n or m:n relation are queued and processed with the parent object. A 1:1 relation
* Persists an object storage. Objects of a 1:n or m:n relation are queued and processed with the parent object. A 1:1 relation
* gets persisted immediately. Objects which were removed from the property were detached from the parent object. They will not be
* deleted by default. You have to annotate the property with "@cascade remove" if you want them to be deleted as well.
*
......
......@@ -152,7 +152,7 @@ class QueryObjectModelFactory implements \TYPO3\CMS\Core\SingletonInterface {
/**
* Evaluates to the upper-case string value (or values, if multi-valued) of an operand.
*
* @param PropertyValueInterface $operand the operand whose value is converted to a upper-case string; non-null
* @param PropertyValueInterface $operand the operand whose value is converted to an upper-case string; non-null
* @return \TYPO3\CMS\Extbase\Persistence\Generic\Qom\UpperCaseInterface the operand; non-null
* @throws \TYPO3\CMS\Extbase\Persistence\Generic\Exception\RepositoryException if the operation otherwise fails
*/
......
......@@ -42,7 +42,7 @@ class UpperCase implements UpperCaseInterface {
}
/**
* Gets the operand whose value is converted to a upper-case string.
* Gets the operand whose value is converted to an upper-case string.
*
* @return PropertyValueInterface the operand; non-null
*/
......
......@@ -26,7 +26,7 @@ namespace TYPO3\CMS\Extbase\Persistence\Generic\Qom;
interface UpperCaseInterface extends PropertyValueInterface {
/**
* Gets the operand whose value is converted to a upper-case string.
* Gets the operand whose value is converted to an upper-case string.
*
* @return PropertyValueInterface the operand; non-null
*/
......
......@@ -22,7 +22,7 @@ namespace TYPO3\CMS\Extbase\Property\TypeConverter;
* */
/**
* Converter which transforms simple types to a ObjectStorage.
* Converter which transforms simple types to an ObjectStorage.
*
* @api
* @todo Implement functionality for converting collection properties.
......
......@@ -21,7 +21,7 @@ use TYPO3\CMS\Extbase\Validation\Exception\NoSuchValidatorException;
use TYPO3\CMS\Extbase\Validation\Validator\ConjunctionValidator;
/**
* Validator resolver to automatically find a appropriate validator for a given subject
* Validator resolver to automatically find an appropriate validator for a given subject
*/
class ValidatorResolver implements \TYPO3\CMS\Core\SingletonInterface {
......
......@@ -139,7 +139,7 @@ class t3lib_object_tests_serializable implements \Serializable {
}
/**
* class which implements a Interface
* class which implements an Interface
*/
class t3lib_object_tests_someimplementation implements \t3lib_object_tests_someinterface {
......@@ -153,7 +153,7 @@ class t3lib_object_tests_b_child_someimplementation extends \t3lib_object_tests_
}
/**
* class which depends on a Interface
* class which depends on an Interface
*/
class t3lib_object_tests_needsinterface {
......
......@@ -214,7 +214,7 @@ class Extension extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity {
}
/**
* Returns category index from a given string or a integer.
* Returns category index from a given string or an integer.
* Fallback to 4 - 'misc' in case string is not found or integer ist out of range.
*
* @param string|int $category Category string or integer
......
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