Closed (fixed)
Project:
Shortcut (from core)
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Jun 2009 at 09:50 UTC
Updated:
24 Feb 2012 at 15:40 UTC
Small patch to remove use of t() in menu.
regards
| Comment | File | Size | Author |
|---|---|---|---|
| shortcut_menu.patch | 793 bytes | pebosi |
Comments
Comment #1
nestor.mata commentedRemoving 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
Comment #2
David_Rothstein commentedThis 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...
Comment #3
nestor.mata commentedImplemented. Will be available in the next version