summaryrefslogtreecommitdiff
path: root/modules/translation
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-06-30 19:46:58 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-06-30 19:46:58 +0000
commit9e6ef53c2c3f15ad580ebfe71b53899eb4683c11 (patch)
tree99f55c2dbe3537f9be7c8750424371f688e2f7b8 /modules/translation
parent0995d62be320ced7c533d805fe887d78741bfbb8 (diff)
downloadbrdo-9e6ef53c2c3f15ad580ebfe71b53899eb4683c11.tar.gz
brdo-9e6ef53c2c3f15ad580ebfe71b53899eb4683c11.tar.bz2
#154064 by pwolanin: get hook_help() up to speed to menu changes, allowing router path based lookups, and also full path argument lookup with a passed argument array
Diffstat (limited to 'modules/translation')
-rw-r--r--modules/translation/translation.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/translation/translation.module b/modules/translation/translation.module
index d874347b4..674492d98 100644
--- a/modules/translation/translation.module
+++ b/modules/translation/translation.module
@@ -28,8 +28,8 @@ define ('TRANSLATION_ENABLED', 2);
/**
* Implementation of hook_help().
*/
-function translation_help($section) {
- switch ($section) {
+function translation_help($path, $arg) {
+ switch ($path) {
case 'admin/help#translation':
$output = '<p>'. t('The <em>translation</em> module allows content translation for multilingual sites.') .'</p>';
$output .= '<p>'. t('For more information please read the configuration and customization handbook <a href="@translation">Translation page</a>.', array('@translation' => 'http://drupal.org/handbook/modules/translation/')) .'</p>';