Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[!!!][TASK] Remove language related JavaScript files
The "language" extension has two JavaScript files left: - Typo3Lang.js, was required for ExtJS, which has been removed some time ago. - Lang.js, is a RequireJS module that mimics the behavior of Typo3Lang. As the desired functionality may be achieved with plain PHP, the module is rendered obsolete and gets removed. Resolves: #84148 Releases: master Change-Id: Ice3df96195bb435da8df1004d1e9304ec7601d26 Reviewed-on: https://review.typo3.org/56023 Tested-by: TYPO3com <no-reply@typo3.com> Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com> Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com> Reviewed-by: Benni Mack <benni@typo3.org> Tested-by: Benni Mack <benni@typo3.org>
- Loading branch information
1 parent
e10bee1
commit 64f8e8d
Showing
8 changed files
with
108 additions
and
131 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
...n/Changelog/master/Breaking-84148-RequireJSModuleForLanguageHandlingRemoved.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
.. include:: ../../Includes.txt | ||
|
||
================================================================= | ||
Breaking: #84148 - RequireJS module for language handling removed | ||
================================================================= | ||
|
||
See :issue:`84148` | ||
|
||
Description | ||
=========== | ||
|
||
Since the removal of ExtJS, the JavaScript files that handle the localization of labels in backend modules became obsolete and are removed. | ||
|
||
|
||
Impact | ||
====== | ||
|
||
Depending on the RequireJS module :js:`TYPO3/CMS/Lang/Lang` will result in `404` errors, as the module has been removed. | ||
|
||
|
||
Affected Installations | ||
====================== | ||
|
||
Every 3rd party extension depending on :js:`TYPO3/CMS/Lang/Lang` is affected. | ||
|
||
|
||
Migration | ||
========= | ||
|
||
Remove the module from the affected RequireJS modules. The labels are now prepared by the PageRenderer and passed | ||
to :js:`TYPO3.lang` without the need of additional JavaScript. | ||
|
||
.. index:: Backend, JavaScript, NotScanned |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
71 changes: 0 additions & 71 deletions
71
typo3/sysext/lang/Resources/Public/JavaScript/Typo3Lang.js
This file was deleted.
Oops, something went wrong.