Double translation in hook_menu
robertDouglass - February 8, 2009 - 22:15
| Project: | Webmail Plus |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
| Issue tags: | ApacheSolr |
Jump to:
Description
<?php
function webmail_plus_solr_menu() {
$items = array();
$items['webmail_plus/solr_search'] = array(
'title' => t('Webmail Plus Email Search'),
'description' => 'Searches email using Solr.',
'access arguments' => array('access webmail_plus'),
'page callback' => 'drupal_get_form',
'page arguments' => array('webmail_plus_solr_search'),
'file' => 'webmail_plus_solr.search.inc',
'type' => MENU_CALLBACK,
);
?>title gets translated by the menu system so the t() is superfluous.

#1