* Internationalization (i18n) package.
*/
+/**
+ * Implements hook_help().
+ */
+function i18n_forum_help($path, $arg) {
+ if ($path == 'admin/structure/forum') {
+ $vid = variable_get('forum_nav_vocabulary', 0);
+ $vocabulary = taxonomy_vocabulary_load($vid);
+ $name = $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('admin/structure/taxonomy/' . $name . '/edit'), '@translate' => url('admin/structure/taxonomy/' . $name . '/translate'), '@list' => url('admin/structure/taxonomy/' . $name . '/list')));
+ }
+}
/**
* Implements hook_node_view().
- *
+ *
* Localize breadcrumb for forum nodes.
*/
function i18n_forum_node_view($node, $view_mode, $langcode) {