diff options
Diffstat (limited to 'modules/locale/locale.module')
-rw-r--r-- | modules/locale/locale.module | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/modules/locale/locale.module b/modules/locale/locale.module index 63eecc0eb..0c0c6da76 100644 --- a/modules/locale/locale.module +++ b/modules/locale/locale.module @@ -76,6 +76,8 @@ function locale_menu() { 'page callback' => 'drupal_get_form', 'page arguments' => array('locale_languages_overview_form'), 'access arguments' => array('administer languages'), + 'file' => 'locale.inc', + 'file path' => 'includes', ); $items['admin/config/regional/language/overview'] = array( 'title' => 'List', @@ -88,6 +90,8 @@ function locale_menu() { 'access arguments' => array('administer languages'), 'weight' => 5, 'type' => MENU_LOCAL_ACTION, + 'file' => 'locale.inc', + 'file path' => 'includes', ); $items['admin/config/regional/language/configure'] = array( 'title' => 'Configure', @@ -95,6 +99,8 @@ function locale_menu() { 'page arguments' => array('locale_languages_configure_form'), 'access arguments' => array('administer languages'), 'weight' => 10, + 'file' => 'locale.inc', + 'file path' => 'includes', 'type' => MENU_LOCAL_TASK, ); $items['admin/config/regional/language/edit/%'] = array( @@ -102,6 +108,8 @@ function locale_menu() { 'page callback' => 'drupal_get_form', 'page arguments' => array('locale_languages_edit_form', 5), 'access arguments' => array('administer languages'), + 'file' => 'locale.inc', + 'file path' => 'includes', 'type' => MENU_CALLBACK, ); $items['admin/config/regional/language/delete/%'] = array( @@ -109,6 +117,8 @@ function locale_menu() { 'page callback' => 'drupal_get_form', 'page arguments' => array('locale_languages_delete_form', 5), 'access arguments' => array('administer languages'), + 'file' => 'locale.inc', + 'file path' => 'includes', 'type' => MENU_CALLBACK, ); @@ -116,8 +126,11 @@ function locale_menu() { $items['admin/config/regional/translate'] = array( 'title' => 'Translate interface', 'description' => 'Translate the built in interface and optionally other text.', - 'page callback' => 'locale_translate_overview_screen', // not a form, just a table + 'page callback' => 'locale_inc_callback', + 'page arguments' => array('locale_translate_overview_screen'), // not a form, just a table 'access arguments' => array('translate interface'), + 'file' => 'locale.inc', + 'file path' => 'includes', ); $items['admin/config/regional/translate/overview'] = array( 'title' => 'Overview', @@ -130,6 +143,8 @@ function locale_menu() { 'type' => MENU_LOCAL_TASK, 'page callback' => 'locale_translate_seek_screen', // search results and form concatenated 'access arguments' => array('translate interface'), + 'file' => 'locale.inc', + 'file path' => 'includes', ); $items['admin/config/regional/translate/import'] = array( 'title' => 'Import', @@ -138,6 +153,8 @@ function locale_menu() { 'access arguments' => array('translate interface'), 'weight' => 20, 'type' => MENU_LOCAL_TASK, + 'file' => 'locale.inc', + 'file path' => 'includes', ); $items['admin/config/regional/translate/export'] = array( 'title' => 'Export', @@ -145,6 +162,8 @@ function locale_menu() { 'access arguments' => array('translate interface'), 'weight' => 30, 'type' => MENU_LOCAL_TASK, + 'file' => 'locale.inc', + 'file path' => 'includes', ); $items['admin/config/regional/translate/edit/%'] = array( 'title' => 'Edit string', @@ -152,6 +171,8 @@ function locale_menu() { 'page arguments' => array('locale_translate_edit_form', 5), 'access arguments' => array('translate interface'), 'type' => MENU_CALLBACK, + 'file' => 'locale.inc', + 'file path' => 'includes', ); $items['admin/config/regional/translate/delete/%'] = array( 'title' => 'Delete string', @@ -159,6 +180,8 @@ function locale_menu() { 'page arguments' => array(5), 'access arguments' => array('translate interface'), 'type' => MENU_CALLBACK, + 'file' => 'locale.inc', + 'file path' => 'includes', ); return $items; |