Index: trunk/phase3/includes/media/Bitmap.php |
— | — | @@ -507,7 +507,7 @@ |
508 | 508 | if ( !isset( $typemap[$params['mimeType']] ) ) { |
509 | 509 | $err = 'Image type not supported'; |
510 | 510 | wfDebug( "$err\n" ); |
511 | | - $errMsg = wfMsg ( 'thumbnail_image-type' ); |
| 511 | + $errMsg = wfMsg( 'thumbnail_image-type' ); |
512 | 512 | return $this->getMediaTransformError( $params, $errMsg ); |
513 | 513 | } |
514 | 514 | list( $loader, $colorStyle, $saveType ) = $typemap[$params['mimeType']]; |
— | — | @@ -515,14 +515,14 @@ |
516 | 516 | if ( !function_exists( $loader ) ) { |
517 | 517 | $err = "Incomplete GD library configuration: missing function $loader"; |
518 | 518 | wfDebug( "$err\n" ); |
519 | | - $errMsg = wfMsg ( 'thumbnail_gd-library', $loader ); |
| 519 | + $errMsg = wfMsg( 'thumbnail_gd-library', $loader ); |
520 | 520 | return $this->getMediaTransformError( $params, $errMsg ); |
521 | 521 | } |
522 | 522 | |
523 | 523 | if ( !file_exists( $params['srcPath'] ) ) { |
524 | 524 | $err = "File seems to be missing: {$params['srcPath']}"; |
525 | 525 | wfDebug( "$err\n" ); |
526 | | - $errMsg = wfMsg ( 'thumbnail_image-missing', $params['srcPath'] ); |
| 526 | + $errMsg = wfMsg( 'thumbnail_image-missing', $params['srcPath'] ); |
527 | 527 | return $this->getMediaTransformError( $params, $errMsg ); |
528 | 528 | } |
529 | 529 | |