From 9a23223e253d95377123a9b4b49a54cc8cdbe744 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 21 Jan 2003 22:44:25 +0000 Subject: - Applied Ori's format_plural() patch; see mailing list for details. NOTE: some modules in the contributions repository might need to be updated. --- modules/cloud.module | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/cloud.module') 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 .= "
". t("Updated < 1 hours ago:"); + $output .= "
". t("Updated less than one hour ago:"); } else { - $output .= "
". t("Updated %a ago:", array("%a" => format_plural($hour, "hour", "hours"))); + $output .= "
". format_plural($hour, "Updated an hour ago:", "Updated %count hours ago:"); } } else if ($list) { - $output .= "
". t("Updated more than %a ago:", array("%a" => format_plural($hour, "hour", "hours"))); + $output .= "
". format_plural($hour, "Updated more than an hour ago:", "Updated more than %count hours ago:"); $list = 0; } } -- cgit v1.2.3