From 3ac9679a3660a54f04c8cba3061517e72752a751 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20E=C3=9Fl?= <indy.essl@gmail.com> Date: Thu, 20 Feb 2020 19:20:36 +0100 Subject: [PATCH] [TASK] Fix some wrong spelling related to the word "exist" Fixed some wrong spelling related to the word "exist" in several places, including docs, language files, error messages and comments. Resolves: #90451 Releases: master Change-Id: I8f1642a259fa76f1c3311042def04374fa66ade5 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63333 Tested-by: TYPO3com <noreply@typo3.com> Tested-by: Benni Mack <benni@typo3.org> Reviewed-by: Benni Mack <benni@typo3.org> --- .../core/Classes/Configuration/FlexForm/FlexFormTools.php | 2 +- typo3/sysext/core/Classes/Package/PackageManager.php | 2 +- ...ingCoreTypoScriptWithTxtFileExtensionHasBeenDeprecated.rst | 2 +- ...lementSymfonyExpressionLanguageForTypoScriptConditions.rst | 4 ++-- .../Classes/Domain/Configuration/ConfigurationService.php | 2 +- typo3/sysext/form/Resources/Private/Language/Database.xlf | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/typo3/sysext/core/Classes/Configuration/FlexForm/FlexFormTools.php b/typo3/sysext/core/Classes/Configuration/FlexForm/FlexFormTools.php index 6e1924d81292..b1f9e6d01311 100644 --- a/typo3/sysext/core/Classes/Configuration/FlexForm/FlexFormTools.php +++ b/typo3/sysext/core/Classes/Configuration/FlexForm/FlexFormTools.php @@ -500,7 +500,7 @@ class FlexFormTools $dataStructureIdentifier['dataStructureKey'] = 'default'; } else { // The value of the ds_pointerField field points to a key in the ds array that does - // not exists, and there is no fallback either. This can happen if an extension brings + // not exist, and there is no fallback either. This can happen if an extension brings // new flex form definitions and that extension is unloaded later. "Old" records of the // extension could then still point to the no longer existing key in ds. We throw a // specific exception here to give controllers an opportunity to catch this case. diff --git a/typo3/sysext/core/Classes/Package/PackageManager.php b/typo3/sysext/core/Classes/Package/PackageManager.php index 31d7f435ddd7..46c5b48e3990 100644 --- a/typo3/sysext/core/Classes/Package/PackageManager.php +++ b/typo3/sysext/core/Classes/Package/PackageManager.php @@ -742,7 +742,7 @@ class PackageManager implements SingletonInterface $fileDescription .= "# should, however, never become necessary if you use the package commands.\n"; if (!@is_writable($this->packageStatesPathAndFilename)) { - // If file does not exists try to create it + // If file does not exist, try to create it $fileHandle = @fopen($this->packageStatesPathAndFilename, 'x'); if (!$fileHandle) { throw new Exception\PackageStatesFileNotWritableException( diff --git a/typo3/sysext/core/Documentation/Changelog/9.3/Deprecation-81686-AccessingCoreTypoScriptWithTxtFileExtensionHasBeenDeprecated.rst b/typo3/sysext/core/Documentation/Changelog/9.3/Deprecation-81686-AccessingCoreTypoScriptWithTxtFileExtensionHasBeenDeprecated.rst index 2b60d0b8e3b2..010d3d67ba5b 100644 --- a/typo3/sysext/core/Documentation/Changelog/9.3/Deprecation-81686-AccessingCoreTypoScriptWithTxtFileExtensionHasBeenDeprecated.rst +++ b/typo3/sysext/core/Documentation/Changelog/9.3/Deprecation-81686-AccessingCoreTypoScriptWithTxtFileExtensionHasBeenDeprecated.rst @@ -11,7 +11,7 @@ Description TYPO3 Core TypoScript files were renamed from :file:`.txt` extension to :file:`.typoscript` and :file:`.tsconfig`. The backward compatibility layer has been introduced for :typoscript:`<INCLUDE_TYPOSCRIPT` inclusion. -If including file with :file:`.txt` does not exists, then TYPO3 will try to load a file with :file:`.typoscript` extension. +If including file with :file:`.txt` does not exist, then TYPO3 will try to load a file with :file:`.typoscript` extension. Impact diff --git a/typo3/sysext/core/Documentation/Changelog/9.4/Feature-85829-ImplementSymfonyExpressionLanguageForTypoScriptConditions.rst b/typo3/sysext/core/Documentation/Changelog/9.4/Feature-85829-ImplementSymfonyExpressionLanguageForTypoScriptConditions.rst index e88a44fb9001..b40f6164490d 100644 --- a/typo3/sysext/core/Documentation/Changelog/9.4/Feature-85829-ImplementSymfonyExpressionLanguageForTypoScriptConditions.rst +++ b/typo3/sysext/core/Documentation/Changelog/9.4/Feature-85829-ImplementSymfonyExpressionLanguageForTypoScriptConditions.rst @@ -208,7 +208,7 @@ The following functions are only available in **frontend** context: | | | `[session("session:foo|bar") == 1234567]` | +--------------------+------------+-----------------------------------------------------------------+ | site | String | get value from site configuration, or null if | -| | | no site was found or property does not exists | +| | | no site was found or property does not exist | | | | | | | | Example, matches if site identifier = foo | | | | `[site("identifier") == "foo"]` | @@ -217,7 +217,7 @@ The following functions are only available in **frontend** context: | | | `[site("base") == "http://localhost"]` | +--------------------+------------+-----------------------------------------------------------------+ | siteLanguage | String | get value from siteLanguage configuration, or | -| | | null if no site was found or property not exists | +| | | null if no site was found or property does not exist | | | | | | | | Example, match if siteLanguage locale = foo | | | | `[siteLanguage("locale") == "de_CH"]` | diff --git a/typo3/sysext/form/Classes/Domain/Configuration/ConfigurationService.php b/typo3/sysext/form/Classes/Domain/Configuration/ConfigurationService.php index bdfbbd5134bf..6ef715e43369 100644 --- a/typo3/sysext/form/Classes/Domain/Configuration/ConfigurationService.php +++ b/typo3/sysext/form/Classes/Domain/Configuration/ConfigurationService.php @@ -560,7 +560,7 @@ class ConfigurationService implements SingletonInterface $formElementType = $validationDto->getFormElementType(); if (!$this->isFormElementTypeDefinedInFormSetup($validationDto)) { - $message = 'Form element type "%s" does not exists in prototype configuration "%s"'; + $message = 'Form element type "%s" does not exist in prototype configuration "%s"'; throw new PropertyException( sprintf($message, $formElementType, $validationDto->getPrototypeName()), 1528633967 diff --git a/typo3/sysext/form/Resources/Private/Language/Database.xlf b/typo3/sysext/form/Resources/Private/Language/Database.xlf index 828abd4b1fbf..3f1300475419 100644 --- a/typo3/sysext/form/Resources/Private/Language/Database.xlf +++ b/typo3/sysext/form/Resources/Private/Language/Database.xlf @@ -40,7 +40,7 @@ <source>"%s" (no read access).</source> </trans-unit> <trans-unit id="tt_content.preview.notExistingdPersistenceIdentifier" resname="tt_content.preview.notExistingdPersistenceIdentifier" xml:space="preserve"> - <source>The form "%s" does not exists.</source> + <source>The form "%s" does not exist.</source> </trans-unit> <trans-unit id="tt_content.preview.invalidFrameworkConfiguration" resname="tt_content.preview.invalidFrameworkConfiguration" xml:space="preserve"> <source>"%s" (Invalid ext:form configuration).</source> -- GitLab