From: Purodha B Blissenbach Date: Fri, 1 Apr 2011 09:35:44 +0000 (+0000) Subject: Add optional PLURAL parameter to messages 'userrights-changeable-col' and 'userrights... X-Git-Tag: 1.31.0-rc.0~31100 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/journal.php?a=commitdiff_plain;h=e7cb28996ccc1f335327d29e73c9d8fff2436ceb;p=lhc%2Fweb%2Fwiklou.git Add optional PLURAL parameter to messages 'userrights-changeable-col' and 'userrights-unchangeable-col' --- diff --git a/includes/specials/SpecialUserrights.php b/includes/specials/SpecialUserrights.php index f26ca8e429..f5799baa94 100644 --- a/includes/specials/SpecialUserrights.php +++ b/includes/specials/SpecialUserrights.php @@ -537,7 +537,7 @@ class UserrightsPage extends SpecialPage { foreach( $columns as $name => $column ) { if( $column === array() ) continue; - $ret .= Xml::element( 'th', null, wfMsg( 'userrights-' . $name . '-col' ) ); + $ret .= Xml::element( 'th', null, wfMessage( 'userrights-' . $name . '-col', count( $column ) )->parse() ); } $ret.= "\n\n"; foreach( $columns as $column ) {