[TYPO3-core] RFC #11449: Forgotten text in backend.php
Xavier Perseguers
typo3 at perseguers.ch
Tue Jun 30 07:18:46 CEST 2009
Hi,
I did not read the other corresponding RFC with text switchtouser but
why does it read like that? I mean it should be proper cased with
switchToUser and switchToUserShort or switch_to_user and
switch_to_user_short, shouldn't it?
Xavier
Christopher Stelmaszyk wrote:
> Hi!
>
> This is a SVN patch request.
>
> Type: nobrainer
>
> Branches: trunk
>
> BT reference:
> http://bugs.typo3.org/view.php?id=11449
>
> Problem:
> One text-label was forgotten.
>
> Solution:
> See below.
>
> Kind regards
>
> Christopher
>
>
>
>
>
> Index: typo3/sysext/lang/locallang_misc.xml
> ===================================================================
> --- typo3/sysext/lang/locallang_misc.xml (revision 5665)
> +++ typo3/sysext/lang/locallang_misc.xml (working copy)
> @@ -71,6 +71,7 @@
> <label index="synchronizeWithOriginalLanguage">Synchronize with original
> language</label>
> <label index="pageTree_filter">Filter</label>
> <label index="switchtouser">Switch to User</label>
> + <label index="switchtousershort">SU:</label>
> </languageKey>
> </data>
> </T3locallang>
> Index: typo3/backend.php
> ===================================================================
> --- typo3/backend.php (revision 5665)
> +++ typo3/backend.php (working copy)
> @@ -312,7 +312,8 @@
> // superuser mode
> if($BE_USER->user['ses_backuserid']) {
> $username = ' su-user">'.$icon.
> - '<span
> title="'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_misc.xml:switchtouser').'">SU:
> </span>'.
> + '<span title="' .
> $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_misc.xml:switchtouser') . '">'
> .
> +
> $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_misc.xml:switchtousershort') .
> ' </span>' .
> '<span>'.htmlspecialchars($label).'</span>';
> }
>
>
--
Xavier Perseguers
http://xavier.perseguers.ch/en
One contribution a day keeps the fork away
More information about the TYPO3-team-core
mailing list