Skip to content

Commit

Permalink
[TASK] Correct deprecation notice in LocalizationUtility
Browse files Browse the repository at this point in the history
Resolves: #100731
Related: #100721
Releases: main
Change-Id: Id8ffc819a9ec908fc8f11750821efa2a484e6d49
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78811
Tested-by: core-ci <typo3@b13.com>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Stefan Bürk <stefan@buerk.tech>
Tested-by: Oliver Klee <typo3-coding@oliverklee.de>
Tested-by: Stefan Bürk <stefan@buerk.tech>
  • Loading branch information
brotkrueml authored and sbuerk committed Apr 24, 2023
1 parent 3f23c28 commit f25c7e2
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -48,7 +48,7 @@ class LocalizationUtility
* @param string|null $extensionName The name of the extension
* @param array|null $arguments The arguments of the extension, being passed over to sprintf
* @param Locale|string|null $languageKey The language key or null for using the current language from the system
* @param string[]|null $alternativeLanguageKeys The alternative language keys if no translation was found. @deprecated will be removed in TYPO3 v12.0
* @param string[]|null $alternativeLanguageKeys The alternative language keys if no translation was found. @deprecated will be removed in TYPO3 v13.0
* @return string|null The value from LOCAL_LANG or null if no translation was found.
*/
public static function translate(string $key, ?string $extensionName = null, array $arguments = null, Locale|string $languageKey = null, array $alternativeLanguageKeys = null): ?string
Expand Down

0 comments on commit f25c7e2

Please sign in to comment.