[TYPO3-core] FYI #16532: Field pages.shortcut uses hardcoded form label

Stefano Cecere scecere at krur.com
Wed Nov 24 10:32:55 CET 2010


hi Steffen

you are introducing a language variable that already exists (  
pages.shortcut_mode_formlabel )

your patch could simply be:


Index: t3lib/stddb/tbl_pages.php
===================================================================
--- t3lib/stddb/tbl_pages.php	(Revision 9510)
+++ t3lib/stddb/tbl_pages.php	(Arbeitskopie)
@@ -961,7 +961,7 @@
  			'canNotCollapse' => 1,
  		),
  		'shortcutpage' => array(
-			'showitem' => 'shortcut;Selected shortcut target||Ausgew�hltes  
Verweisziel',
+			'showitem' =>  
'shortcut;LLL:EXT:cms/locallang_tca.xml:pages.shortcut_mode_formlabel',
  			'canNotCollapse' => 1,
  		),
  		'mountpoint' => array(



right?
stefano



On Tue, 23 Nov 2010 14:45:35 +0100, Steffen Gebert  
<steffen at steffen-gebert.de> wrote:

> Hi!
>
> the following change has been committed in rev. 9512
>
> Type: Bugfix
>
> Bugtracker reference:
> http://bugs.typo3.org/view.php?id=16532
>
> Branches:
> trunk
>
> Problem:
> #16015 introduced new order and labels for page properties. The label
> for shortcut (Selected shortcut target / Ausgewähltes Verweisziel) was
> hardcoded and did not use LLL.
>
> Solution:
> Added label
>
> Kind regards
> Steffen
>


-- 
____    ___   __  _ ______________________

   Stefano Cecere
   KRUR.com - creative culture


More information about the TYPO3-team-core mailing list