diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-08-18 19:57:27 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-08-18 19:57:27 +0000 |
commit | 83a739bd898094af5837d2b29863d8e988929e1b (patch) | |
tree | 957c07dd7b93fd1d074bb8609b22fe1e0c4f3992 /modules/forum/forum.module | |
parent | 0e36182c967685a55e02e48178f1d6cb64ad815e (diff) | |
download | brdo-83a739bd898094af5837d2b29863d8e988929e1b.tar.gz brdo-83a739bd898094af5837d2b29863d8e988929e1b.tar.bz2 |
- Code improvements by Stefan: made all status messages consistent (and easier to translate).
Diffstat (limited to 'modules/forum/forum.module')
-rw-r--r-- | modules/forum/forum.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/forum/forum.module b/modules/forum/forum.module index 017e5e813..5d633de70 100644 --- a/modules/forum/forum.module +++ b/modules/forum/forum.module @@ -242,7 +242,7 @@ function forum_validate(&$node) { if (db_result(db_query('SELECT COUNT(*) FROM {term_data} WHERE tid = %d AND vid = %d', $term, $vocabulary))) { if (in_array($term, $containers)) { $term = taxonomy_get_term($term); - form_set_error('taxonomy', t('The item \'%forum\' is only a container for forums. Please select one of the forums below it.', array('%forum' => $term->name))); + form_set_error('taxonomy', t('The item %forum is only a container for forums. Please select one of the forums below it.', array('%forum' => "<em>$term->name</em>"))); } else { $node->tid = $term; |