follow up to r114081: qqq, and to r114082: match rename
authorJeroen De Dauw <jeroendedauw@users.mediawiki.org>
Sun, 18 Mar 2012 16:27:37 +0000 (16:27 +0000)
committerJeroen De Dauw <jeroendedauw@users.mediawiki.org>
Sun, 18 Mar 2012 16:27:37 +0000 (16:27 +0000)
includes/specials/SpecialCachedPage.php
languages/messages/MessagesQqq.php

index 6a2a21a..11d9185 100644 (file)
@@ -94,7 +94,7 @@ abstract class SpecialCachedPage extends SpecialPage {
                if ( $this->cacheExpiry < 1000000000 ) {
                        $message = $this->msg(
                                'cachedspecial-viewing-cached-ttl',
-                               $this->getLanguage()->duration( $this->cacheExpiry )
+                               $this->getLanguage()->formatDuration( $this->cacheExpiry )
                        )->escaped();
                }
                else {
index 7b48dde..1debf78 100644 (file)
@@ -4640,5 +4640,7 @@ $4 is the gender of the target user.',
 * $1 is an unknown warning.',
 'api-error-uploaddisabled'                => 'API error message that can be used for client side localisation of API errors.',
 'api-error-verification-error'            => 'The word "extension" refers to the part behind the last dot in a file name, that by convention gives a hint about the kind of data format which a files contents are in.',
-
+'cachedspecial-viewing-cached-ttl' => 'Message notifying they are watching a cached page. $1 is a duration (ie "1 hour and 30 minutes")',
+'cachedspecial-viewing-cached-ts' => 'Message notifying they are watching a cached page.',
+'cachedspecial-refresh-now' => 'Link text pointing to the most recent version of the page.',
 );