Commit 91fc5a80 authored by webchick's avatar webchick

#565664 by c960657: Remove t() from 'title' in various test modules' hook_menu().

parent 0fa1e148
......@@ -19,7 +19,7 @@
*/
function file_test_menu() {
$items['file-test/upload'] = array(
'title' => t('Upload test'),
'title' => 'Upload test',
'page callback' => 'drupal_get_form',
'page arguments' => array('_file_test_form'),
'access arguments' => array('access content'),
......
......@@ -6,45 +6,45 @@
*/
function session_test_menu() {
$items['session-test/get'] = array(
'title' => t('Session value'),
'title' => 'Session value',
'page callback' => '_session_test_get',
'access arguments' => array('access content'),
'type' => MENU_CALLBACK,
);
$items['session-test/id'] = array(
'title' => t('Session ID value'),
'title' => 'Session ID',
'page callback' => '_session_test_id',
'access arguments' => array('access content'),
'type' => MENU_CALLBACK,
);
$items['session-test/set/%'] = array(
'title' => t('Set Session value'),
'title' => 'Set session value',
'page callback' => '_session_test_set',
'page arguments' => array(2),
'access arguments' => array('access content'),
'type' => MENU_CALLBACK,
);
$items['session-test/no-set/%'] = array(
'title' => t('Disabled session set value'),
'title' => 'Set session value but do not save session',
'page callback' => '_session_test_no_set',
'page arguments' => array(2),
'access arguments' => array('access content'),
'type' => MENU_CALLBACK,
);
$items['session-test/set-message'] = array(
'title' => t('Session value'),
'title' => 'Set message',
'page callback' => '_session_test_set_message',
'access arguments' => array('access content'),
'type' => MENU_CALLBACK,
);
$items['session-test/set-message-but-dont-save'] = array(
'title' => t('Session value'),
'title' => 'Set message but do not save session',
'page callback' => '_session_test_set_message_but_dont_save',
'access arguments' => array('access content'),
'type' => MENU_CALLBACK,
);
$items['session-test/set-not-started'] = array(
'title' => t('Session value'),
'title' => 'Set message when session is not started',
'page callback' => '_session_test_set_not_started',
'access arguments' => array('access content'),
'type' => MENU_CALLBACK,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment