Skip to content

Commit

Permalink
Prepare for 0.5.0 (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyholm committed Mar 23, 2018
1 parent e3bbffc commit fc1986a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions Changelog.md
Expand Up @@ -2,6 +2,13 @@

The change log describes what is "Added", "Removed", "Changed" or "Fixed" between each release.

## 0.5.0

### Added

- Support for php-translation/common: 0.3
- Added the "name" attribute on the "unit" node for XLIFF 2.0.

## 0.4.0

### Added
Expand Down
3 changes: 2 additions & 1 deletion src/Loader/XliffLoader.php
Expand Up @@ -151,7 +151,8 @@ private function getXmlErrors($internalErrors)
{
$errors = [];
foreach (libxml_get_errors() as $error) {
$errors[] = sprintf('[%s %s] %s (in %s - line %d, column %d)',
$errors[] = sprintf(
'[%s %s] %s (in %s - line %d, column %d)',
LIBXML_ERR_WARNING == $error->level ? 'WARNING' : 'ERROR',
$error->code,
trim($error->message),
Expand Down

0 comments on commit fc1986a

Please sign in to comment.