summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-03-01 07:30:24 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-03-01 07:30:24 +0000
commita9078d2f99979f76644dceb4ef3788ff7c9e56e8 (patch)
treef54b2c961106b099e7bc4dd24524a48e6cff967e
parent3fed6c722cf5f66515cd82c765039fcd179aee0e (diff)
downloadbrdo-a9078d2f99979f76644dceb4ef3788ff7c9e56e8.tar.gz
brdo-a9078d2f99979f76644dceb4ef3788ff7c9e56e8.tar.bz2
#369002 by toddy: Use format_plural() for search keyword length error.
-rw-r--r--modules/search/search.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/search/search.module b/modules/search/search.module
index 4f13ec030..d3f2bac05 100644
--- a/modules/search/search.module
+++ b/modules/search/search.module
@@ -952,7 +952,7 @@ function do_search($keywords, $type, $join1 = '', $where1 = '1 = 1', $arguments1
$query = search_parse_query($keywords);
if ($query[2] == '') {
- form_set_error('keys', t('You must include at least one positive keyword with @count characters or more.', array('@count' => variable_get('minimum_word_size', 3))));
+ form_set_error('keys', format_plural(variable_get('minimum_word_size', 3), 'You must include at least one positive keyword with 1 character or more.', 'You must include at least one positive keyword with @count characters or more.'));
}
if ($query[6]) {
if ($query[6] == 'or') {