Index: trunk/extensions/DataTransfer/specials/DT_ImportXML.php |
— | — | @@ -30,11 +30,11 @@ |
31 | 31 | } |
32 | 32 | |
33 | 33 | if ($wgRequest->getCheck('import_file')) { |
34 | | - $text = "<p>" . wfMsg('dt_importxml_importing') . "</p>\n"; |
| 34 | + $text = "<p>" . wfMsg('dt_import_importing') . "</p>\n"; |
35 | 35 | $source = ImportStreamSource::newFromUpload( "xml_file" ); |
36 | 36 | $text .= self::modifyPages($source); |
37 | 37 | } else { |
38 | | - $select_file_label = wfMsg('dt_importxml_selectfile'); |
| 38 | + $select_file_label = wfMsg('dt_import_selectfile', 'XML'); |
39 | 39 | $import_button = wfMsg('import-interwiki-submit'); |
40 | 40 | $text =<<<END |
41 | 41 | <p>$select_file_label</p> |
— | — | @@ -57,7 +57,7 @@ |
58 | 58 | $job_params = array(); |
59 | 59 | global $wgUser; |
60 | 60 | $job_params['user_id'] = $wgUser->getId(); |
61 | | - $job_params['edit_summary'] = wfMsgForContent('dt_importxml_editsummary'); |
| 61 | + $job_params['edit_summary'] = wfMsgForContent('dt_import_editsummary', 'XML'); |
62 | 62 | |
63 | 63 | foreach ($xml_parser->mPages as $page) { |
64 | 64 | $title = Title::newFromText($page->getName()); |
— | — | @@ -68,7 +68,7 @@ |
69 | 69 | } |
70 | 70 | Job::batchInsert( $jobs ); |
71 | 71 | global $wgLang; |
72 | | - $text .= wfMsgExt( 'dt_importxml_success', $wgLang->formatNum( count( $jobs ) ) ); |
| 72 | + $text .= wfMsgExt( 'dt_import_success', $wgLang->formatNum( count( $jobs ) ), 'XML' ); |
73 | 73 | return $text; |
74 | 74 | } |
75 | 75 | } |