Index: trunk/extensions/RecordAdmin/RecordAdmin_body.php |
— | — | @@ -165,7 +165,7 @@ |
166 | 166 | $rtitle = Title::newFromText( $record ); |
167 | 167 | $article = new Article( $rtitle ); |
168 | 168 | $text = $article->fetchContent(); |
169 | | - $wgOut->addWikiText( "== " . wfMsg( 'recordadmin-edit', $rtitle->getPrefixedText() ) . " ==\n" ); |
| 169 | + $wgOut->addWikiText( "== " . wfMsg( 'recordadmin-edit', $rtitle->getPrefixedText(), $type ) . " ==\n" ); |
170 | 170 | |
171 | 171 | # Update article if form posted |
172 | 172 | if ( count( $posted ) && $rtitle->userCan( 'edit', false ) ) { |
Index: trunk/extensions/RecordAdmin/RecordAdmin.i18n.php |
— | — | @@ -35,7 +35,7 @@ |
36 | 36 | 'recordadmin-buttonreset' => 'Reset', |
37 | 37 | 'recordadmin-searchresult' => 'Search results', |
38 | 38 | 'recordadmin-nomatch' => 'No matching records found!', |
39 | | - 'recordadmin-edit' => 'Editing "$1"', |
| 39 | + 'recordadmin-edit' => 'Editing $2 record "$1"', |
40 | 40 | 'recordadmin-typeupdated' => '$1 properties updated', |
41 | 41 | 'recordadmin-updatesuccess' => '$1 updated', |
42 | 42 | 'recordadmin-updateerror' => 'An error occurred during update', |