From ffee8d25db0d93d2a4d9451e32b7fb551f18ab4d Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Sun, 17 Aug 2008 15:45:08 +0000 Subject: [PATCH] {{PLURAL}}-ize 'siteusers' --- includes/Credits.php | 2 +- languages/messages/MessagesEn.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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.', -- 2.20.1