Index: trunk/extensions/Configure/Configure.diff.php |
— | — | @@ -299,7 +299,7 @@ |
300 | 300 | $boolop = array_shift( $conds ); |
301 | 301 | $boolop = $opToName[$boolop]; |
302 | 302 | |
303 | | - $val[] = "$group: ".wfMsg( "configure-boolop-description-$boolop" ); |
| 303 | + $val[] = "$group: " . wfMsg( "configure-boolop-description-$boolop" ); |
304 | 304 | } else { |
305 | 305 | $conds = array( $conds ); |
306 | 306 | } |
— | — | @@ -307,7 +307,7 @@ |
308 | 308 | // Analyse each individual one... |
309 | 309 | foreach( $conds as $cond ) { |
310 | 310 | if ($cond == array( APCOND_AGE, -1 ) ) { |
311 | | - $val[] = "$group: ".wfMsg( 'configure-autopromote-noconds' ); |
| 311 | + $val[] = "$group: " . wfMsg( 'configure-autopromote-noconds' ); |
312 | 312 | continue; |
313 | 313 | } |
314 | 314 | |
— | — | @@ -318,8 +318,9 @@ |
319 | 319 | |
320 | 320 | |
321 | 321 | $argSummary = implode( ', ', $cond ); |
| 322 | + $count = count( $cond ); |
322 | 323 | |
323 | | - $val[] = "$group: ".wfMsg( "configure-condition-description-$name", $argSummary ); |
| 324 | + $val[] = "$group: ".wfMsgExt( "configure-condition-description-$name", array( 'parsemag' ), $argSummary, $count ); |
324 | 325 | } |
325 | 326 | } |
326 | 327 | } else { |
Index: trunk/extensions/Configure/Configure.i18n.php |
— | — | @@ -190,7 +190,7 @@ |
191 | 191 | 'configure-autopromote-noconds' => 'No prerequisites', |
192 | 192 | |
193 | 193 | 'configure-condition-description-1' => 'Minimum edit count of $1', |
194 | | - 'configure-condition-description-2' => 'Minimum account age of $1 seconds', |
| 194 | + 'configure-condition-description-2' => 'Minimum account age of $1 {{PLURAL:$1|second|seconds}}', |
195 | 195 | 'configure-condition-description-3' => 'Email confirmed', |
196 | 196 | 'configure-condition-description-4' => 'In all of the groups $1', |
197 | 197 | |