Index: trunk/extensions/Translate/tag/PageTranslationHooks.php |
— | — | @@ -321,7 +321,7 @@ |
322 | 322 | public static function preventUnknownTranslations( Title $title, User $user, $action, &$result ) { |
323 | 323 | $handle = new MessageHandle( $title ); |
324 | 324 | if ( $handle->isPageTranslation() && $action === 'edit' && !$handle->isValid() ) { |
325 | | - $result = array( wfMsg( 'tpt-unknown-page' ) ); |
| 325 | + $result = array( 'tpt-unknown-page' ); |
326 | 326 | return false; |
327 | 327 | } |
328 | 328 | |