Skip to content

Commit fc1986a

Browse files
authored
Prepare for 0.5.0 (#29)
1 parent e3bbffc commit fc1986a

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

Changelog.md

+7
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

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

5+
## 0.5.0
6+
7+
### Added
8+
9+
- Support for php-translation/common: 0.3
10+
- Added the "name" attribute on the "unit" node for XLIFF 2.0.
11+
512
## 0.4.0
613

714
### Added

src/Loader/XliffLoader.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,8 @@ private function getXmlErrors($internalErrors)
151151
{
152152
$errors = [];
153153
foreach (libxml_get_errors() as $error) {
154-
$errors[] = sprintf('[%s %s] %s (in %s - line %d, column %d)',
154+
$errors[] = sprintf(
155+
'[%s %s] %s (in %s - line %d, column %d)',
155156
LIBXML_ERR_WARNING == $error->level ? 'WARNING' : 'ERROR',
156157
$error->code,
157158
trim($error->message),

0 commit comments

Comments
 (0)