Index: trunk/extensions/AntiSpoof/AntiSpoof.i18n.php |
— | — | @@ -9,12 +9,13 @@ |
10 | 10 | |
11 | 11 | $messages['en'] = array( |
12 | 12 | 'antispoof-desc' => 'Blocks the creation of accounts with mixed-script, confusing and similar usernames', |
13 | | - 'antispoof-name-conflict' => 'The name "$1" is too similar to existing accounts: "$2". |
| 13 | + 'antispoof-name-conflict' => 'The name "$1" is too similar to existing $2. |
14 | 14 | Please choose another name.', |
15 | | - 'antispoof-name-conflict2' => '$1 $2', |
16 | | - 'antispoof-name-conflict3' => '$1 $2 $3', |
17 | | - 'antispoof-name-conflict4' => '$1 $2 $3 $4', |
18 | | - 'antispoof-name-conflict5' => '$1 $2 $3 $4 $5', |
| 15 | + 'antispoof-name-conflict1' => 'account: "$1"', |
| 16 | + 'antispoof-name-conflict2' => 'accounts: "$1", "$2"', |
| 17 | + 'antispoof-name-conflict3' => 'accounts: "$1", "$2", "$3"', |
| 18 | + 'antispoof-name-conflict4' => 'accounts: "$1", "$2", "$3", "$4"', |
| 19 | + 'antispoof-name-conflict5' => 'accounts: "$1", "$2", "$3", "$4", "$5"', |
19 | 20 | 'antispoof-name-illegal' => 'The name "$1" is not allowed to prevent confusing or spoofed usernames: $2. |
20 | 21 | Please choose another name.', |
21 | 22 | 'antispoof-badtype' => 'Bad data type', |
Index: trunk/extensions/AntiSpoof/AntiSpoof.php |
— | — | @@ -90,7 +90,8 @@ |
91 | 91 | $numConflicts = count( $conflict ); |
92 | 92 | switch ( $numConflicts ) { |
93 | 93 | case 1: |
94 | | - $message = wfMsg( 'antispoof-name-conflict', $name, $conflict['0'] ); |
| 94 | + $message = wfMsg( 'antispoof-name-conflict', $name, |
| 95 | + wfMsg( 'antispoof-name-conflict1', $conflict['0'] ) ); |
95 | 96 | break; |
96 | 97 | case 2: |
97 | 98 | $message = wfMsg( 'antispoof-name-conflict', $name, |