function i18n_forum_help in Internationalization 7
Implements hook_help().
File
- i18n_forum/
i18n_forum.module, line 13 - i18n forum module
Code
function i18n_forum_help($path, $arg) {
if ($path == 'admin/structure/forum' && ($vocabulary = i18n_forum_vocabulary())) {
$base_path = 'admin/structure/taxonomy/' . $vocabulary->machine_name;
return t('To translate the forum, <a href="@edit">edit and make it translatable</a>, then <a href="@translate">translate the forum</a> and <a href="@list">its containers and sub-forums</a> on the taxonomy administration page.', array(
'@edit' => url($base_path . '/edit'),
'@translate' => url($base_path . '/translate'),
'@list' => url($base_path . '/list'),
));
}
}