Project

General

Profile

Actions

Bug #18712

closed

Hardcoded labels in title-attributes in backends right upper corner icons

Added by Stefano Kowalke over 16 years ago. Updated about 16 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2008-04-27
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.2
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Title attributes from three icons (Shortcut, Clear Cache, Search) in backends upper right corner are hardcoded and not be able to translate.

Solution for "Search":
Replace the hardcoded label in
typo3_src-4.2.0/typo3/classes/class.backendsearchmenu.php
with
$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.search');

Solution for "Clear Cache":
Replace the hardcoded label in
typo3_src-4.2.0/typo3/classes/class.clearcachemenu.php
with
$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:rm.clearCache_clearCache');

Solution for "Shortcut":
Add a new line to
typo3_src-4.2.0/typo3/sysext/lang/locallang_core.xml like
<label index="labels.shortcut">Shortcut</label>

Replace the hardcoded label in
typo3_src-4.2.0/typo3/classes/class.shortcutmenu.php
with
$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:labels.shortcut');
(issue imported from #M8270)


Files

bug_8270_class.backendsearch.php.diff (980 Bytes) bug_8270_class.backendsearch.php.diff Administrator Admin, 2008-04-27 14:50
bug_8270_class.clearcachemenu.diff (898 Bytes) bug_8270_class.clearcachemenu.diff Administrator Admin, 2008-04-27 14:50
bug_8270_class.shortcutmenu.diff (981 Bytes) bug_8270_class.shortcutmenu.diff Administrator Admin, 2008-04-27 14:50
bug_8270_locallang_core.xml.diff (544 Bytes) bug_8270_locallang_core.xml.diff Administrator Admin, 2008-04-27 14:51
bug_8270_improved_class.clearcachemenu.php.diff (3.54 KB) bug_8270_improved_class.clearcachemenu.php.diff Administrator Admin, 2008-05-08 10:15

No data to display

Actions

Also available in: Atom PDF