From: Raimond Spekking Date: Fri, 14 Mar 2008 05:56:40 +0000 (+0000) Subject: * Use PLURAL for 'search-result-size' X-Git-Tag: 1.31.0-rc.0~49116 X-Git-Url: https://git.cyclocoop.org/?a=commitdiff_plain;h=0f1ef92dd9bd3dc2632a2a96210a2344af862a76;p=lhc%2Fweb%2Fwiklou.git * Use PLURAL for 'search-result-size' --- diff --git a/includes/SpecialSearch.php b/includes/SpecialSearch.php index 41a38bec48..d010ddd4e6 100644 --- a/includes/SpecialSearch.php +++ b/includes/SpecialSearch.php @@ -360,7 +360,7 @@ class SpecialSearch { } $text = $revision->getText(); - $size = wfMsgHtml( 'search-result-size', + $size = wfMsgExt( 'search-result-size', array( 'parsemag' ), $sk->formatSize( strlen( $text ) ), str_word_count( $text ) ); $date = $wgLang->timeanddate( $revision->getTimestamp() ); diff --git a/languages/messages/MessagesEn.php b/languages/messages/MessagesEn.php index e06374daad..da0829f4f3 100644 --- a/languages/messages/MessagesEn.php +++ b/languages/messages/MessagesEn.php @@ -1218,7 +1218,7 @@ Make sure that this change will maintain historical page continuity. 'prevn' => 'previous $1', 'nextn' => 'next $1', 'viewprevnext' => 'View ($1) ($2) ($3)', -'search-result-size' => "$1 ($2 words)", +'search-result-size' => "$1 ({{PLURAL:$2|1 word|$2 words}})", 'search-result-score' => "Relevance: $1%", 'showingresults' => "Showing below up to {{PLURAL:$1|'''1''' result|'''$1''' results}} starting with #'''$2'''.", 'showingresultsnum' => "Showing below {{PLURAL:$3|'''1''' result|'''$3''' results}} starting with #'''$2'''.",