Like documented from Drupal, '#title', and '#description' given in the implementation of hook_menu() don't need to contain strings passed through t() because the core module responsible for the creation of the Drupal menu system will pass them to t() before to use them.

With the implementation of hook_menu() given by the project module, the function will be called twice: one from the module, and one from the core code.

Comments

avpaderno’s picture

This is clearly stated in Menu item title and description callbacks, localization, where there is written Titles and Descriptions should no longer be wrapped in t().

Zohar.Babin’s picture

Status: Active » Fixed

fixed in 6.x-1.4

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.