From: Chad Horohoe Date: Sun, 17 Aug 2008 15:45:08 +0000 (+0000) Subject: {{PLURAL}}-ize 'siteusers' X-Git-Tag: 1.31.0-rc.0~45854 X-Git-Url: https://git.cyclocoop.org/%27.%24link.%27?a=commitdiff_plain;h=ffee8d25db0d93d2a4d9451e32b7fb551f18ab4d;p=lhc%2Fweb%2Fwiklou.git {{PLURAL}}-ize 'siteusers' --- diff --git a/includes/Credits.php b/includes/Credits.php index 4bbac250c6..8f22c446cb 100644 --- a/includes/Credits.php +++ b/includes/Credits.php @@ -144,7 +144,7 @@ function getContributorCredits($article, $cnt, $showIfMax) { # "ThisSite user(s) A, B and C" if (!empty($user)) { - $user = wfMsg('siteusers', $user); + $user = wfMsg('siteusers', array( $user, count($contributors) ) ); } # This is the big list, all mooshed together. We sift for blank strings diff --git a/languages/messages/MessagesEn.php b/languages/messages/MessagesEn.php index 838eee322c..fa42700eb9 100644 --- a/languages/messages/MessagesEn.php +++ b/languages/messages/MessagesEn.php @@ -2758,7 +2758,7 @@ You can view its source.', 'lastmodifiedatby' => 'This page was last modified $2, $1 by $3.', # $1 date, $2 time, $3 user 'othercontribs' => 'Based on work by $1.', 'others' => 'others', -'siteusers' => '{{SITENAME}} user(s) $1', +'siteusers' => '{{SITENAME}} {{PLURAL:$2|user|users}} $1', 'creditspage' => 'Page credits', 'nocredits' => 'There is no credits info available for this page.',