summaryrefslogtreecommitdiff
path: root/modules/throttle/throttle.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-01-21 22:44:25 +0000
committerDries Buytaert <dries@buytaert.net>2003-01-21 22:44:25 +0000
commit9a23223e253d95377123a9b4b49a54cc8cdbe744 (patch)
treef3817e25046234ada392e4c5ed1aa0d1177db454 /modules/throttle/throttle.module
parentef0acbf2ddbfdfb8d639c317b82fa40daa6e1c5b (diff)
downloadbrdo-9a23223e253d95377123a9b4b49a54cc8cdbe744.tar.gz
brdo-9a23223e253d95377123a9b4b49a54cc8cdbe744.tar.bz2
- Applied Ori's format_plural() patch; see mailing list for details.
NOTE: some modules in the contributions repository might need to be updated.
Diffstat (limited to 'modules/throttle/throttle.module')
-rw-r--r--modules/throttle/throttle.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/throttle/throttle.module b/modules/throttle/throttle.module
index 4756fb2bc..ed95241eb 100644
--- a/modules/throttle/throttle.module
+++ b/modules/throttle/throttle.module
@@ -130,7 +130,7 @@ function throttle_display_throttle_block() {
$output .= "Probability: $probability%<br />\n";
if ($recent_activity["hits"]) {
$output .= "<br />This site has served ";
- $output .= format_plural($recent_activity["hits"] , " page", " pages");
+ $output .= format_plural($recent_activity["hits"] , "1 page", "%count pages");
$output .= " in the past minute.";
}
}