From 83a739bd898094af5837d2b29863d8e988929e1b Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 18 Aug 2004 19:57:27 +0000 Subject: - Code improvements by Stefan: made all status messages consistent (and easier to translate). --- modules/story/story.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/story/story.module') diff --git a/modules/story/story.module b/modules/story/story.module index a29e2efc8..8000ed6c2 100644 --- a/modules/story/story.module +++ b/modules/story/story.module @@ -99,7 +99,7 @@ function story_menu() { */ function story_validate(&$node) { if (isset($node->body) && count(explode(' ', $node->body)) < variable_get('minimum_story_size', 0)) { - form_set_error('body', t('The body of your story is too short. You need at least %word_count words to submit your story.', array('%word_count' => variable_get('minimum_story_size', 0)))); + form_set_error('body', t('The body of your story is too short. You need at least %words words to submit your story.', array('%words' => variable_get('minimum_story_size', 0)))); } } -- cgit v1.2.3