Index: trunk/extensions/Translate/MessageGroups.php |
— | — | @@ -388,7 +388,11 @@ |
389 | 389 | $this->makeExportArray( $array ), array(), $this->exportLineP |
390 | 390 | ); |
391 | 391 | |
392 | | - return $txt . $this->exportEnd; |
| 392 | + // Remove the last newline, not needed here |
| 393 | + $txt = substr( $txt, 0, -1 ); |
| 394 | + $txt .= $this->exportPrefix . $this->exportEnd; |
| 395 | + |
| 396 | + return $txt; |
393 | 397 | } |
394 | 398 | |
395 | 399 | public function exportToFile( &$array, $code, $authors ) { |