Index: trunk/extensions/PageTriage/SpecialPageTriage.php |
— | — | @@ -186,8 +186,8 @@ |
187 | 187 | var nsOptions = ''; |
188 | 188 | for ( var key in wgFormattedNamespaces ) { |
189 | 189 | if ( wgFormattedNamespaces[key] == '' ) { |
190 | | - nsOptions += String('<option value="' + String(key) + '">Article</option>'); |
191 | | - } else { |
| 190 | + nsOptions += String('<option value="' + String(key) + '">' + gM( 'pagetriage-filter-ns-article' ) + '</option>'); |
| 191 | + } else if( key > 0 ) { |
192 | 192 | nsOptions += String('<option value="' + String(key) + '">' + wgFormattedNamespaces[key] + '</option>'); |
193 | 193 | } |
194 | 194 | } |
Index: trunk/extensions/PageTriage/PageTriage.i18n.php |
— | — | @@ -51,7 +51,8 @@ |
52 | 52 | 'pagetriage-filter-blocked' => 'Are by blocked users', |
53 | 53 | 'pagetriage-filter-set-button' => 'Set Filters', |
54 | 54 | 'pagetriage-stats-untriaged-age' => 'Article Ages: Average: $1, Oldest: $2', |
55 | | - 'pagetriage-stats-less-than-a-day' => 'less than one day' |
| 55 | + 'pagetriage-stats-less-than-a-day' => 'less than one day', |
| 56 | + 'pagetriage-filter-ns-article' => 'Article', |
56 | 57 | ); |
57 | 58 | |
58 | 59 | /** |
— | — | @@ -95,5 +96,6 @@ |
96 | 97 | 'pagetriage-filter-blocked' => 'Checkbox text for articles by blocked users', |
97 | 98 | 'pagetriage-filter-set-button' => 'Button text for the set filter button', |
98 | 99 | 'pagetriage-stats-untriaged-age' => 'Navigation text displaying triage stats', |
99 | | - 'pagetriage-stats-less-than-a-day' => 'show this message if the article age is less than one day, part of variable $1 and $2 of {{msg-pagetriage|pagetriage-stats-untriaged-age}} ' |
| 100 | + 'pagetriage-stats-less-than-a-day' => 'show this message if the article age is less than one day, part of variable $1 and $2 of {{msg-pagetriage|pagetriage-stats-untriaged-age}} ', |
| 101 | + 'pagetriage-filter-ns-article' => 'The name of the main article namespace', |
100 | 102 | ); |
Index: trunk/extensions/PageTriage/PageTriage.php |
— | — | @@ -200,6 +200,7 @@ |
201 | 201 | 'ext.pageTriage.views/ext.pageTriage.listStatsNav.css' |
202 | 202 | ), |
203 | 203 | 'messages' => array( |
| 204 | + 'days', |
204 | 205 | 'pagetriage-hist', |
205 | 206 | 'pagetriage-bytes', |
206 | 207 | 'pagetriage-edits', |
— | — | @@ -238,7 +239,7 @@ |
239 | 240 | 'pagetriage-filter-set-button', |
240 | 241 | 'pagetriage-stats-untriaged-age', |
241 | 242 | 'pagetriage-stats-less-than-a-day', |
242 | | - 'days', |
| 243 | + 'pagetriage-filter-ns-article', |
243 | 244 | ) |
244 | 245 | ); |
245 | 246 | |