summaryrefslogtreecommitdiff
path: root/modules/cloud.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-09-18 18:39:15 +0000
committerDries Buytaert <dries@buytaert.net>2001-09-18 18:39:15 +0000
commitca85a56f1b4db802a72b4def5b20ba9dafb5e0e2 (patch)
treecf3231d532cd1ceeb6dfb259c52ee152fc66fd7b /modules/cloud.module
parentc5a349ca5140dec738903afe7f6e0deda604d013 (diff)
downloadbrdo-ca85a56f1b4db802a72b4def5b20ba9dafb5e0e2.tar.gz
brdo-ca85a56f1b4db802a72b4def5b20ba9dafb5e0e2.tar.bz2
- Fixed 2 typos in the user module. Thanks Axel and Remco.
- Applied (modified versions of) Alexander's patches on the development branch.
Diffstat (limited to 'modules/cloud.module')
-rw-r--r--modules/cloud.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/cloud.module b/modules/cloud.module
index 75e9fb63e..381319e1a 100644
--- a/modules/cloud.module
+++ b/modules/cloud.module
@@ -122,10 +122,10 @@ function cloud_list($limit = 10) {
if ($hour != floor((time() - $site->timestamp) / 3600)) {
$hour = floor((time() - $site->timestamp) / 3600);
if ($hour < 12) {
- $output .= "<p />Updated ". format_plural($hour, "hour", "hours") ." ago:";
+ $output .= "<p />". strtr(t("Updated %a ago:"), array("%a" => format_plural($hour, "hour", "hours")));
}
else if ($list) {
- $output .= "<p />Updated ". format_plural($hour, "+ hour", "+ hours") ." ago:";
+ $output .= "<p />". strtr(t("Updated more than %a ago:"), array("%a" => format_plural($hour, "hour", "hours")));
$list = 0;
}
}