summaryrefslogtreecommitdiff
path: root/modules/story/story.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-08-18 19:57:27 +0000
committerDries Buytaert <dries@buytaert.net>2004-08-18 19:57:27 +0000
commit83a739bd898094af5837d2b29863d8e988929e1b (patch)
tree957c07dd7b93fd1d074bb8609b22fe1e0c4f3992 /modules/story/story.module
parent0e36182c967685a55e02e48178f1d6cb64ad815e (diff)
downloadbrdo-83a739bd898094af5837d2b29863d8e988929e1b.tar.gz
brdo-83a739bd898094af5837d2b29863d8e988929e1b.tar.bz2
- Code improvements by Stefan: made all status messages consistent (and easier to translate).
Diffstat (limited to 'modules/story/story.module')
-rw-r--r--modules/story/story.module2
1 files changed, 1 insertions, 1 deletions
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))));
}
}