Index: trunk/phase3/includes/specials/SpecialListgrouprights.php |
— | — | @@ -109,14 +109,14 @@ |
110 | 110 | } |
111 | 111 | sort( $r ); |
112 | 112 | if( $add === true ){ |
113 | | - $r[] = wfMsgHTML( 'listgrouprights-addgroup-all' ); |
| 113 | + $r[] = wfMsgExt( 'listgrouprights-addgroup-all', array( 'escape' ) ); |
114 | 114 | } else if( is_array( $add ) && count( $add ) ) { |
115 | | - $r[] = wfMsgHTML( 'listgrouprights-addgroup', $wgLang->listToText( $add ) ); |
| 115 | + $r[] = wfMsgExt( 'listgrouprights-addgroup', array( 'parsemag', 'escape' ), $wgLang->listToText( $add ), count( $add ) ); |
116 | 116 | } |
117 | 117 | if( $remove === true ){ |
118 | | - $r[] = wfMsgHTML( 'listgrouprights-removegroup-all' ); |
| 118 | + $r[] = wfMsgExt( 'listgrouprights-removegroup-all', array( 'escape' ) ); |
119 | 119 | } else if( is_array( $remove ) && count( $remove ) ) { |
120 | | - $r[] = wfMsgHTML( 'listgrouprights-removegroup', $wgLang->listToText( $remove ) ); |
| 120 | + $r[] = wfMsgExt( 'listgrouprights-removegroup', array( 'parsemag', 'escape' ), $wgLang->listToText( $remove ), count( $remove ) ); |
121 | 121 | } |
122 | 122 | if( empty( $r ) ) { |
123 | 123 | return ''; |
Index: trunk/phase3/languages/messages/MessagesEn.php |
— | — | @@ -2026,8 +2026,8 @@ |
2027 | 2027 | 'listgrouprights-helppage' => 'Help:Group rights', |
2028 | 2028 | 'listgrouprights-members' => '(list of members)', |
2029 | 2029 | 'listgrouprights-right-display' => '$1 ($2)', # only translate this message to other languages if you have to change it |
2030 | | -'listgrouprights-addgroup' => 'Can add groups: $1', |
2031 | | -'listgrouprights-removegroup' => 'Can remove groups: $1', |
| 2030 | +'listgrouprights-addgroup' => 'Can add {{PLURAL:$2|group|groups}}: $1', |
| 2031 | +'listgrouprights-removegroup' => 'Can remove {{PLURAL:$2|group|groups}}: $1', |
2032 | 2032 | 'listgrouprights-addgroup-all' => 'Can add all groups', |
2033 | 2033 | 'listgrouprights-removegroup-all' => 'Can remove all groups', |
2034 | 2034 | |