summaryrefslogtreecommitdiff
path: root/modules/cloud.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/cloud.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/cloud.module')
-rw-r--r--modules/cloud.module6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/cloud.module b/modules/cloud.module
index 78bd24b88..f7d886154 100644
--- a/modules/cloud.module
+++ b/modules/cloud.module
@@ -143,14 +143,14 @@ function cloud_list($limit = 10) {
$hour = floor((time() - $site->timestamp) / 3600);
if ($hour < 12) {
if ($hour == 0) {
- $output .= "<br />". t("Updated &lt; 1 hours ago:");
+ $output .= "<br />". t("Updated less than one hour ago:");
}
else {
- $output .= "<br />". t("Updated %a ago:", array("%a" => format_plural($hour, "hour", "hours")));
+ $output .= "<br />". format_plural($hour, "Updated an hour ago:", "Updated %count hours ago:");
}
}
else if ($list) {
- $output .= "<br />". t("Updated more than %a ago:", array("%a" => format_plural($hour, "hour", "hours")));
+ $output .= "<br />". format_plural($hour, "Updated more than an hour ago:", "Updated more than %count hours ago:");
$list = 0;
}
}