Small patch to remove use of t() in menu.

regards

CommentFileSizeAuthor
shortcut_menu.patch793 bytespebosi

Comments

nestor.mata’s picture

Status: Needs review » Closed (won't fix)

Removing the use of t() function is actually against the recommendations of Drupal, this would eliminate support for internationalization.
The use is also promoted in the guides http://api.drupal.org/api/drupal/developer--topics--forms_api_reference....

Will not fix, it is the way has to be.

~Nestor

David_Rothstein’s picture

Status: Closed (won't fix) » Reviewed & tested by the community

This patch is actually correct.

In Drupal 6 and higher, titles and descriptions should not be translated in hook_menu(), since they are translated later on display. See http://api.drupal.org/api/drupal/developer--hooks--core.php/function/hoo...

nestor.mata’s picture

Status: Reviewed & tested by the community » Fixed

Implemented. Will be available in the next version

Status: Fixed » Closed (fixed)

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