mirror of
https://github.com/itflow-org/itflow
synced 2026-08-18 13:35:12 +00:00
Bump ImapEngine from 1.25.1 to 1.25.2
This commit is contained in:
@@ -158,6 +158,12 @@ class XliffFileLoader implements LoaderInterface
|
||||
$xml = simplexml_import_dom($dom);
|
||||
$encoding = $dom->encoding ? strtoupper($dom->encoding) : null;
|
||||
|
||||
$xml->registerXPathNamespace('mda', 'urn:oasis:names:tc:xliff:metadata:2.0');
|
||||
|
||||
foreach ($xml->xpath('//mda:meta') as $meta) {
|
||||
$catalogue->setCatalogueMetadata($meta->attributes()['type'] ?? '', (string) $meta, $domain);
|
||||
}
|
||||
|
||||
$xml->registerXPathNamespace('xliff', 'urn:oasis:names:tc:xliff:document:2.0');
|
||||
|
||||
foreach ($xml->xpath('//xliff:unit') as $unit) {
|
||||
|
||||
Reference in New Issue
Block a user