Index: trunk/extensions/Quiz/Quiz.i18n.php |
— | — | @@ -42,8 +42,8 @@ |
43 | 43 | |
44 | 44 | $messages['en'] = array( |
45 | 45 | 'quiz_desc' => 'Allows creation of quizzes', |
46 | | - 'quiz_addedPoints' => "Point(s) added for a correct answer", |
47 | | - 'quiz_cutoffPoints' => "Point(s) subtracted for a wrong answer", |
| 46 | + 'quiz_addedPoints' => "{{PLURAL:$1|Point|Points}} added for a correct answer", |
| 47 | + 'quiz_cutoffPoints' => "{{PLURAL:$1|Point|Points}} for a wrong answer", |
48 | 48 | 'quiz_ignoreCoef' => "Ignore the questions' coefficients", |
49 | 49 | 'quiz_shuffle' => "Shuffle questions", |
50 | 50 | 'quiz_colorRight' => "Right", |
Index: trunk/extensions/Quiz/Quiz.php |
— | — | @@ -246,9 +246,9 @@ |
247 | 247 | # Determine the content of the settings table. |
248 | 248 | $settings = array_fill(0, 4, ""); |
249 | 249 | if(!$this->mDisplaySimple) { |
250 | | - $settings[0] .= "<td>".wfMsgHtml('quiz_addedPoints').":</td>" . |
| 250 | + $settings[0] .= "<td>".wfMsgHtml( 'quiz_addedPoints', $this->mAddedPoints ).":</td>" . |
251 | 251 | "<td><input class=\"numerical\" type=\"text\" name=\"addedPoints\" value=\"$this->mAddedPoints\"/> </td>"; |
252 | | - $settings[1] .= "<td>".wfMsgHtml('quiz_cutoffPoints').":</td>" . |
| 252 | + $settings[1] .= "<td>".wfMsgHtml('quiz_cutoffPoints', $this->mCutoffPoints ).":</td>" . |
253 | 253 | "<td><input class=\"numerical\" type=\"text\" name=\"cutoffPoints\" value=\"$this->mCutoffPoints\"/></td>"; |
254 | 254 | $bChecked = ($this->mIgnoringCoef)? "checked=\"checked\"" : ""; |
255 | 255 | $settings[2] .= "<td>".wfMsgHtml('quiz_ignoreCoef').":</td>" . |