Index: trunk/extensions/Lingo/LingoBasicBackend.php |
— | — | @@ -31,13 +31,13 @@ |
32 | 32 | // Get Terminology page |
33 | 33 | $title = Title::newFromText( $page ); |
34 | 34 | if ( $title->getInterwiki() ) { |
35 | | - $this->getMessageLog()->addError( wfMsgReplaceArgs( wfMsgForContent( 'lingo-terminologypagenotlocal' ), array($page) ) ); |
| 35 | + $this->getMessageLog()->addError( wfMsgForContent( 'lingo-terminologypagenotlocal' , array($page) ) ); |
36 | 36 | return false; |
37 | 37 | } |
38 | 38 | |
39 | 39 | $rev = Revision::newFromTitle( $title ); |
40 | 40 | if ( !$rev ) { |
41 | | - $this->getMessageLog()->addWarning( wfMsgReplaceArgs( wfMsgForContent( 'lingo-noterminologypage' ), array($page) ) ); |
| 41 | + $this->getMessageLog()->addWarning( wfMsgForContent( 'lingo-noterminologypage' , array($page) ) ); |
42 | 42 | return false; |
43 | 43 | } |
44 | 44 | |
Index: trunk/extensions/Lingo/Lingo.i18n.php |
— | — | @@ -11,8 +11,8 @@ |
12 | 12 | $messages['en'] = array( |
13 | 13 | 'lingo-desc' => 'Provides hover-over tool tips on pages from words defined on the [[$1]] page', |
14 | 14 | 'lingo-terminologypagename' => 'Terminology', |
15 | | - 'lingo-noterminologypage' => 'Page "$1" does not exist.', |
16 | | - 'lingo-terminologypagenotlocal' => 'Page "$1" is not a local page.', |
| 15 | + 'lingo-noterminologypage' => "Page '$1' does not exist.", |
| 16 | + 'lingo-terminologypagenotlocal' => "Page '$1' is not a local page.", |
17 | 17 | |
18 | 18 | ); |
19 | 19 | |