Index: trunk/extensions/Translate/utils/TranslationHelpers.php |
— | — | @@ -559,7 +559,7 @@ |
560 | 560 | self::reportTranslationServiceFailure( $serviceName ); |
561 | 561 | break; // Too slow, back off |
562 | 562 | } elseif ( $response->responseStatus !== 200 ) { |
563 | | - error_log( __METHOD__ . " with ($serviceName ($candidate|$code)): " . $response->responseDetails ); |
| 563 | + error_log( __METHOD__ . " (HTTP {$response->responseStatus}) with ($serviceName ($candidate|$code)): " . $response->responseDetails ); |
564 | 564 | } else { |
565 | 565 | $sug = Sanitizer::decodeCharReferences( $response->responseData->translatedText ); |
566 | 566 | $sug = trim( $sug ); |
— | — | @@ -778,9 +778,8 @@ |
779 | 779 | } |
780 | 780 | } |
781 | 781 | } |
782 | | - |
| 782 | + return "<hr />$out"; |
783 | 783 | } |
784 | | - return "<hr />$out"; |
785 | 784 | } |
786 | 785 | } |
787 | 786 | |