[TYPO3-core] RFC #8990: Labels 'TEMP' and 'RECYCLER' are hardcoded
Stefano Kowalke
blueduck at gmx.net
Mon Jul 21 12:19:56 CEST 2008
Oliver Klee wrote:
> Hi Stefano,
>
> well done! +1 with the changes Bernhard suggested and the followings
> nits changed:
>
>> if ($title=='_recycler_') {
>> $icon = 'gfx/i/recycler.gif';
>> - $title='<b>RECYCLER</b>';
>> + $title='<b>' . $GLOBALS['LANG']->getLL('recycler', true) . '</b>';
>
> While you're changing this line, I propose to change the <b> to the
> semantic <strong>. (That's your decision.)
>
Its a good idea. I will change this to <strong>.
>> }
>> - $icon = $theFile['writable'] ?
>> 'gfx/i/_icon_'.$webpath.'folders_ro.gif' : $icon;
>> + $icon = $theFile['writable'] ? 'gfx/i/_icon_' . $webpath .
>> 'folders_ro.gif' : $icon;
>>
>> - return Array($title,$icon,$path);
>> + return Array($title, $icon, $path);
>
> Array -> array
OK
>
>> Index: typo3/sysext/lang/locallang_mod_file_list.xml
>> ===================================================================
>> --- typo3/sysext/lang/locallang_mod_file_list.xml (revision 3886)
>> +++ typo3/sysext/lang/locallang_mod_file_list.xml (working copy)
>> @@ -21,6 +21,8 @@
>> <label index="c_rw">RW</label>
>> <label index="c__REF_">Ref</label>
>> <label index="files">files</label>
>> + <label index="temp">TEMPORARY FILES</label>
>> + <label index="recycler">RECYCLER</label>
>
> I find this all-capitals style not very nice-looking. What about using
> the opportunity and changing this to "Temporary files" and "Recycler"?
> (That's also a matter of taste and your decision.)
There is nothing to be said against it. Just convert the uppercase 'TEMP'
to 'TEMPORARY FILES' and take the hardcoded 'RECYCLER'.
But good to talking about this. I would suggest to change 'RECYCLER'
to 'Trash'. What do you think?
Cheers
Stefano
--
Seit dem 1.1.2008 werden Daten zu jeder E-Mail verdachtsunabhängig gespeichert!
Weitere Informationen: www.vorratsdatenspeicherung.de
GPG-ID: 0x2B08936D
Key-Fingerprint: 7F31 BCF0 70C0 B3B1 1235 07E9 1777 D7A0 2B08 936D
More information about the TYPO3-team-core
mailing list