Cleanup the code

kiamlaluno - July 27, 2008 - 15:18
Project:Blog Add-ons
Version:6.x-1.1
Component:Code
Category:task
Priority:normal
Assigned:Chajecki
Status:active
Description

The code should be cleaned a little. Apart the tabs used to indent the lines, there are some code lines like:

<?php
 
'#description' => 'This sets the number of posts on the blogger hope page . ',
?>

#1

Chajecki - October 16, 2008 - 03:45
Assigned to:Anonymous» Chajecki

Thanks.
and I guess that the fix you expect is

<?php
 
'#description' => t('...'),
?>

right?

#2

kiamlaluno - October 17, 2008 - 09:08

The description given in the menu definitions (the ones given by the implementation of hook_menu()) doesn't need to be passed to the function t(), as that is made from the core routines.

What I meant is that the sentence has a space before the last word, and the period; that space should be eliminated.
The same is true for the space after the period.

 
 

Drupal is a registered trademark of Dries Buytaert.