Index: trunk/extensions/SocialProfile/UserProfile/UserProfilePage.php |
— | — | @@ -145,15 +145,15 @@ |
146 | 146 | </div> |
147 | 147 | <div class="cleared"></div> |
148 | 148 | <div class="profile-info-container bold-fix">'. |
149 | | - $this->getUserStatsRow(wfMsg('user-stats-edits'), $stats_data['edits']). |
150 | | - $this->getUserStatsRow(wfMsg('user-stats-votes'), $stats_data['votes']). |
151 | | - $this->getUserStatsRow(wfMsg('user-stats-comments'), $stats_data['comments']). |
152 | | - $this->getUserStatsRow(wfMsg('user-stats-recruits'), $stats_data['recruits']). |
153 | | - $this->getUserStatsRow(wfMsg('user-stats-poll-votes'), $stats_data['poll_votes']). |
154 | | - $this->getUserStatsRow(wfMsg('user-stats-picture-game-votes'), $stats_data['picture_game_votes']). |
155 | | - $this->getUserStatsRow(wfMsg('user-stats-quiz-points'), $stats_data['quiz_points']); |
| 149 | + $this->getUserStatsRow( wfMsg( 'user-stats-edits', $stats_data['edits'] ), $stats_data['edits'] ) . |
| 150 | + $this->getUserStatsRow( wfMsg( 'user-stats-votes', $stats_data['votes'] ), $stats_data['votes'] ) . |
| 151 | + $this->getUserStatsRow( wfMsg( 'user-stats-comments', $stats_data['comments'] ), $stats_data['comments'] ) . |
| 152 | + $this->getUserStatsRow( wfMsg( 'user-stats-recruits', $stats_data['recruits'] ), $stats_data['recruits'] ) . |
| 153 | + $this->getUserStatsRow( wfMsg( 'user-stats-poll-votes', $stats_data['poll_votes'] ), $stats_data['poll_votes'] ) . |
| 154 | + $this->getUserStatsRow( wfMsg( 'user-stats-picture-game-votes', $stats_data['picture_game_votes']), $stats_data['picture_game_votes'] ) . |
| 155 | + $this->getUserStatsRow( wfMsg( 'user-stats-quiz-points', $stats_data['quiz_points'] ), $stats_data['quiz_points'] ); |
156 | 156 | if( $stats_data['currency'] != '10,000' ) |
157 | | - $output .= $this->getUserStatsRow( wfMsg('user-stats-pick-points'), $stats_data['currency'] ); |
| 157 | + $output .= $this->getUserStatsRow( wfMsg( 'user-stats-pick-points', $stats_data['currency'] ), $stats_data['currency'] ); |
158 | 158 | $output .= '</div>'; |
159 | 159 | } |
160 | 160 | |
Index: trunk/extensions/SocialProfile/UserProfile/UserProfile.i18n.php |
— | — | @@ -33,14 +33,14 @@ |
34 | 34 | 'user-send-gift' => 'Send a gift', |
35 | 35 | 'user-contributions' => 'Contributions', |
36 | 36 | 'user-stats-title' => 'Statistics', |
37 | | - 'user-stats-edits' => 'Edits', |
38 | | - 'user-stats-votes' => 'Votes', |
39 | | - 'user-stats-comments' => 'Comments', |
40 | | - 'user-stats-recruits' => 'Recruits', |
41 | | - 'user-stats-poll-votes' => 'Poll votes', |
42 | | - 'user-stats-picture-game-votes' => 'Picture game votes', |
43 | | - 'user-stats-quiz-points' => 'Quiz points', |
44 | | - 'user-stats-pick-points' => 'Pick \'em points', |
| 37 | + 'user-stats-edits' => '{{PLURAL:$1|Edit|Edits}}', |
| 38 | + 'user-stats-votes' => '{{PLURAL:$1|Vote|Votes}}', |
| 39 | + 'user-stats-comments' => '{{PLURAL:$1|Comment|Comments}}', |
| 40 | + 'user-stats-recruits' => '{{PLURAL:$1|Recruit|Recruits}}', |
| 41 | + 'user-stats-poll-votes' => 'Poll {{PLURAL:$1|vote|votes}}', |
| 42 | + 'user-stats-picture-game-votes' => 'Picture game {{PLURAL:$1|vote|votes}}', |
| 43 | + 'user-stats-quiz-points' => 'Quiz {{PLURAL:$1|point|points}}', |
| 44 | + 'user-stats-pick-points' => 'Pick \'em {{PLURAL:$1|point|points}}', |
45 | 45 | 'other-info-title' => 'Other information', |
46 | 46 | 'user-friends-title' => 'Friends', |
47 | 47 | 'user-foes-title' => 'Foes', |