Index: trunk/extensions/ContributionScores/ContributionScores_body.php |
— | — | @@ -103,15 +103,15 @@ |
104 | 104 | array(0,50)); |
105 | 105 | } |
106 | 106 | |
107 | | - $wgOut->addWikiText (wfMsgForContent('contributionscores-info')); |
| 107 | + $wgOut->addWikiText (wfMsg('contributionscores-info')); |
108 | 108 | |
109 | 109 | foreach ( $contribScoreReports as $scoreReport) { |
110 | 110 | if ( $scoreReport[0] > 0 ) { |
111 | | - $reportTitle = wfMsgForContent('contributionscores-days', $scoreReport[0]); |
| 111 | + $reportTitle = wfMsg('contributionscores-days', $scoreReport[0]); |
112 | 112 | } else { |
113 | | - $reportTitle = wfMsgForContent('contributionscores-allrevisions'); |
| 113 | + $reportTitle = wfMsg('contributionscores-allrevisions'); |
114 | 114 | } |
115 | | - $reportTitle .= " " . wfMsgForContent('contributionscores-top', $scoreReport[1]); |
| 115 | + $reportTitle .= " " . wfMsg('contributionscores-top', $scoreReport[1]); |
116 | 116 | $wgOut->addWikiText ("== $reportTitle ==\n"); |
117 | 117 | $wgOut->addHtml( $this->genContributionScoreTable($scoreReport[0],$scoreReport[1])); |
118 | 118 | } |
Index: trunk/extensions/ContributionScores/ContributionScores.i18n.php |
— | — | @@ -55,7 +55,18 @@ |
56 | 56 | 'contributionscores-days' => '最近$1天', |
57 | 57 | 'contributionscores-allrevisions' => '全部修訂' |
58 | 58 | ), |
59 | | - |
| 59 | + 'es' => array( |
| 60 | + 'contributionscores' => 'Puntuaciones por contribuir', |
| 61 | + 'contributionscores-info' => "Las puntuaciones son calculadas siguiendo:\n". |
| 62 | + "*1 punto por cada p�gina �nica editada\n". |
| 63 | + "*Ra�z cuadrada de (Ediciones totales efectuadas) - (P�ginas totales �nicas) x 2\n". |
| 64 | + "Las puntuaciones son calculadas de esta manera considerando la diversidad sobre el volumen de edici�n.". |
| 65 | + "B�sicamente, esta puntuaci�n mide fundamentalmente las p�ginas �nicas editadas, considerando que un alto ". |
| 66 | + "volumen de edici�n supone que es un art�culo de mayor calidad.", |
| 67 | + 'contributionscores-top' => '(Top $1)', |
| 68 | + 'contributionscores-days' => '�ltimos $1 d�as', |
| 69 | + 'contributionscores-allrevisions' => 'Estad�sticas globales' |
| 70 | + ), |
60 | 71 | ); |
61 | 72 | |
62 | 73 | $allMessages['zh'] = $allMessages['zh-hans']; |