Index: trunk/extensions/EditUser/EditUser.i18n.php |
— | — | @@ -18,6 +18,14 @@ |
19 | 19 | 'edituser-dosearch' => 'Search', |
20 | 20 | ); |
21 | 21 | |
| 22 | +/** Breton (Brezhoneg) |
| 23 | + * @author Fulup |
| 24 | + */ |
| 25 | +$messages['br'] = array( |
| 26 | + 'edituser-username' => 'Anv', |
| 27 | + 'edituser-dosearch' => 'Klask', |
| 28 | +); |
| 29 | + |
22 | 30 | /* Finnish |
23 | 31 | * @author Jack Phoenix |
24 | 32 | */ |
— | — | @@ -28,6 +36,17 @@ |
29 | 37 | 'edituser-dosearch' => 'Hae', |
30 | 38 | ); |
31 | 39 | |
| 40 | +/** French (Français) |
| 41 | + * @author Grondin |
| 42 | + */ |
| 43 | +$messages['fr'] = array( |
| 44 | + 'edituser-desc' => "Permet aux utilisateurs disposant de certains privilèges d'éditer les préférences des autres utilisateurs.", |
| 45 | + 'edituser' => "Éditer l'utilisateur", |
| 46 | + 'edituser-logout' => 'Ferme la session utilisateur', |
| 47 | + 'edituser-username' => 'Nom', |
| 48 | + 'edituser-dosearch' => 'Rechercher', |
| 49 | +); |
| 50 | + |
32 | 51 | /** Dutch (Nederlands) |
33 | 52 | * @author Siebrand |
34 | 53 | */ |
— | — | @@ -38,4 +57,3 @@ |
39 | 58 | 'edituser-username' => 'Naam', |
40 | 59 | 'edituser-dosearch' => 'Zoeken', |
41 | 60 | ); |
42 | | - |
Index: trunk/extensions/UsageStatistics/SpecialUserStats_body.php |
— | — | @@ -217,9 +217,15 @@ |
218 | 218 | $csv_pages .= "$pages,"; |
219 | 219 | } |
220 | 220 | } |
221 | | - $wgOut->AddWikiText("== Individual user $type edits statistics =="); |
| 221 | + if ($type == 'cumulative') { |
| 222 | + $nature = wfMsg('usagestatisticscumulative-text'); |
| 223 | + } |
| 224 | + else { |
| 225 | + $nature = wfMsg ('usagestatisticsincremental-text'); |
| 226 | + } |
| 227 | + $wgOut->AddWikiText("== ". wfMsg ('usagestatistics-editindividual', $nature) ." =="); |
222 | 228 | $wgOut->AddWikiText("<pre>$csv$csv_edits</pre>"); |
223 | | - $wgOut->AddWikiText("== Individual user $type pages statistics =="); |
| 229 | + $wgOut->AddWikiText("== ". wfMsg ('usagestatistics-editpages', $nature) ." =="); |
224 | 230 | $wgOut->AddWikiText("<pre>$csv$csv_pages</pre>"); |
225 | 231 | |
226 | 232 | return; |
— | — | @@ -272,7 +278,7 @@ |
273 | 279 | cal2.showNavigationDropdowns(); |
274 | 280 | </SCRIPT> |
275 | 281 | <A HREF='#' onClick=\"cal2.select(document.forms[0].end,'anchor2','MM/dd/yyyy'); return false;\" NAME='anchor2' |
276 | | -ID='anchor2'>select</A> |
| 282 | +ID='anchor2'>". wfMsg('usagestatisticscalselect')."</A> |
277 | 283 | </td> |
278 | 284 | </tr> |
279 | 285 | </table> |
Index: trunk/extensions/UsageStatistics/SpecialUserStats.i18n.php |
— | — | @@ -10,6 +10,7 @@ |
11 | 11 | $messages['en'] = array( |
12 | 12 | 'specialuserstats' => 'Usage Statistics', |
13 | 13 | 'usagestatistics' => 'Usage Statistics', |
| 14 | + 'usagestatistics-desc' => 'Show individual user and overall wiki usage statistics', |
14 | 15 | 'usagestatisticsfor' => '<h2>Usage statistics for [[:user:$1|$1]]</h2>', |
15 | 16 | 'usagestatisticsallusers' => 'All Users', |
16 | 17 | 'usagestatisticsinterval' => 'Interval', |
— | — | @@ -24,8 +25,12 @@ |
25 | 26 | 'usagestatisticsintervalweek' => 'Week', |
26 | 27 | 'usagestatisticsintervalmonth' => 'Month', |
27 | 28 | 'usagestatisticsincremental' => 'Incremental', |
| 29 | + 'usagestatisticsincremental-text' => 'incremental', |
28 | 30 | 'usagestatisticscumulative' => 'Cumulative', |
| 31 | + 'usagestatisticscumulative-text' => 'cumulative', |
29 | 32 | 'usagestatisticscalselect' => 'Select', |
| 33 | + 'usagestatistics-editindividual' => 'Individual user $1 edits statistics', |
| 34 | + 'usagestatistics-editpages' => ' Individual user $1 pages statistics', |
30 | 35 | ); |
31 | 36 | |
32 | 37 | /** Arabic (العربية) |
— | — | @@ -97,6 +102,15 @@ |
98 | 103 | 'usagestatisticsbadstartend' => '<b>Невалидна <i>Начална</i> и/или <i>Крайна</i> дата!</b>', |
99 | 104 | ); |
100 | 105 | |
| 106 | +/** Breton (Brezhoneg) |
| 107 | + * @author Fulup |
| 108 | + */ |
| 109 | +$messages['br'] = array( |
| 110 | + 'usagestatisticsintervalday' => 'Deiz', |
| 111 | + 'usagestatisticsintervalweek' => 'Sizhun', |
| 112 | + 'usagestatisticsintervalmonth' => 'Miz', |
| 113 | +); |
| 114 | + |
101 | 115 | /** Deutsch (German) |
102 | 116 | * @author Katharina Wolkwitz |
103 | 117 | */ |
— | — | @@ -145,18 +159,29 @@ |
146 | 160 | * @author Grondin |
147 | 161 | */ |
148 | 162 | $messages['fr'] = array( |
149 | | - 'specialuserstats' => "Statistiques d'utilisation", |
150 | | - 'usagestatistics' => 'Statistiques Utilisation', |
151 | | - 'usagestatisticsfor' => '<h2>Statistiques Utilisation pour [[:user:$1|$1]]</h2>', |
152 | | - 'usagestatisticsallusers' => 'Tous les utilisateurs', |
153 | | - 'usagestatisticsinterval' => 'Intervalle', |
154 | | - 'usagestatisticstype' => 'Type', |
155 | | - 'usagestatisticsstart' => 'Date de début', |
156 | | - 'usagestatisticsend' => 'Date de fin', |
157 | | - 'usagestatisticssubmit' => 'Générer les statistiques', |
158 | | - 'usagestatisticsnostart' => '* <font color=red>Entrer une date de début</font>', |
159 | | - 'usagestatisticsnoend' => '* <font color=red>Entrer une date de fin</font>', |
160 | | - 'usagestatisticsbadstartend' => '<b>Mauvais format de date de <i>début</i> ou de <i>fin</i> !</b>', |
| 163 | + 'specialuserstats' => "Statistiques d'utilisation", |
| 164 | + 'usagestatistics' => 'Statistiques Utilisation', |
| 165 | + 'usagestatistics-desc' => 'Affiche les statistiques individuelles des utilisateurs ainsi que l’utilisation sur l’ensemble du wiki.', |
| 166 | + 'usagestatisticsfor' => '<h2>Statistiques Utilisation pour [[:user:$1|$1]]</h2>', |
| 167 | + 'usagestatisticsallusers' => 'Tous les utilisateurs', |
| 168 | + 'usagestatisticsinterval' => 'Intervalle', |
| 169 | + 'usagestatisticstype' => 'Type', |
| 170 | + 'usagestatisticsstart' => 'Date de début', |
| 171 | + 'usagestatisticsend' => 'Date de fin', |
| 172 | + 'usagestatisticssubmit' => 'Générer les statistiques', |
| 173 | + 'usagestatisticsnostart' => '* <font color=red>Entrer une date de début</font>', |
| 174 | + 'usagestatisticsnoend' => '* <font color=red>Entrer une date de fin</font>', |
| 175 | + 'usagestatisticsbadstartend' => '<b>Mauvais format de date de <i>début</i> ou de <i>fin</i> !</b>', |
| 176 | + 'usagestatisticsintervalday' => 'Jour', |
| 177 | + 'usagestatisticsintervalweek' => 'Semaine', |
| 178 | + 'usagestatisticsintervalmonth' => 'Mois', |
| 179 | + 'usagestatisticsincremental' => 'Incrémentale', |
| 180 | + 'usagestatisticsincremental-text' => 'incrémentales', |
| 181 | + 'usagestatisticscumulative' => 'Cumulative', |
| 182 | + 'usagestatisticscumulative-text' => 'cumulatives', |
| 183 | + 'usagestatisticscalselect' => 'Sélectionner', |
| 184 | + 'usagestatistics-editindividual' => 'Éditions statistiques $1 par utilisateur', |
| 185 | + 'usagestatistics-editpages' => 'Statistiques $1 des pages par seul utilisateur', |
161 | 186 | ); |
162 | 187 | |
163 | 188 | /** Galician (Galego) |
Index: trunk/extensions/UsageStatistics/SpecialUserStats.php |
— | — | @@ -2,12 +2,13 @@ |
3 | 3 | if (!defined('MEDIAWIKI')) die(); |
4 | 4 | |
5 | 5 | $wgExtensionCredits['specialpage'][] = array( |
6 | | - 'name' => 'UserStats', |
7 | | - 'version' => 'v1.3', |
8 | | - 'author' => 'Paul Grinberg', |
9 | | - 'email' => 'gri6507 at yahoo dot com', |
10 | | - 'url' => 'http://www.mediawiki.org/wiki/Extension:Usage_Statistics', |
11 | | - 'description' => 'Show individual user and overall wiki usage statistics' |
| 6 | + 'name' => 'UserStats', |
| 7 | + 'version' => '1.3', |
| 8 | + 'author' => 'Paul Grinberg', |
| 9 | + 'email' => 'gri6507 at yahoo dot com', |
| 10 | + 'url' => 'http://www.mediawiki.org/wiki/Extension:Usage_Statistics', |
| 11 | + 'description' => 'Show individual user and overall wiki usage statistics', |
| 12 | + 'descriptionmsg' => 'usagestatistics-desc', |
12 | 13 | ); |
13 | 14 | |
14 | 15 | $wgAutoloadClasses['SpecialUserStats'] = dirname(__FILE__) . '/SpecialUserStats_body.php'; |