Index: trunk/extensions/PageSchemas/specials/GeneratePages.php |
— | — | @@ -21,10 +21,11 @@ |
22 | 22 | $this->generate_pages($param); |
23 | 23 | |
24 | 24 | } |
| 25 | + $generate_page_text = wfMsg( 'ps-generate-pages' ); |
25 | 26 | $text =<<< END |
26 | 27 | <form method="post"> |
27 | 28 | <input type="hidden" name="param" value="$category" /><br /> |
28 | | - <input type="submit" value="Generate Pages" /> |
| 29 | + <input type="submit" value="$generate_page_text" /> |
29 | 30 | </form> |
30 | 31 | |
31 | 32 | END; |
— | — | @@ -34,7 +35,7 @@ |
35 | 36 | |
36 | 37 | function generate_pages ( $categoryName ) { |
37 | 38 | global $wgRequest, $wgOut; |
38 | | - $pageSchema = new PageSchema( $categoryName ); |
| 39 | + $pageSchema = new PSSchema( $categoryName ); |
39 | 40 | $pageSchema->generateAllPages(); |
40 | 41 | |
41 | 42 | |