[TASK] Refactor TYPO3.l10n localize handling
authorLaurent Cherpit <laurent.cherpit@gmail.com>
Sat, 9 Jul 2011 20:41:14 +0000 (22:41 +0200)
committerXavier Perseguers <typo3@perseguers.ch>
Sun, 10 Jul 2011 14:00:54 +0000 (16:00 +0200)
commit0a4481fbe67b2fa28fd51ea71e971bb7fddd051b
tree93b30ac6b53ba929aebc8f58f22de16083597281
parent4706074bfe20d88db47a80792e86ed5ad6d6b7e7
[TASK] Refactor TYPO3.l10n localize handling

- Change inclusion Order of the sysext/lang/res/js/be/typo3lang.js jsFile.
- Change TYPO3.l10n to sanitize TYPO3.lang array to store only string on it.
  Therefore use a private array to store a copy of lang objects with will
  be accessed via TYPO3.l10n.localize.

Change-Id: Ie05cd5baf39d8366328f8aa6193e39816721ee1c
Resolves: #28057
Reviewed-on: http://review.typo3.org/3227
Reviewed-by: Sebastian Kurfuerst
Tested-by: Sebastian Kurfuerst
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
t3lib/class.t3lib_pagerenderer.php
typo3/sysext/lang/res/js/be/typo3lang.js