Skip to content

Commit f0f0934

Browse files
authored
Update DataProvider.php
1 parent 01bb21d commit f0f0934

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

app/code/Magento/Translation/Model/Js/DataProvider.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* Copyright © 2013-2017 Magento, Inc. All rights reserved.
3+
* Copyright © 2016 Magento. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
66

@@ -111,8 +111,9 @@ public function getData($themePath)
111111
$dictionary[$phrase] = $translatedPhrase;
112112
}
113113
} catch (\Exception $e) {
114-
throw new LocalizedException(sprintf(__('Error while translating phrase "%s" in file %s.'),
115-
$phrase, $filePath[0]));
114+
throw new LocalizedException(
115+
sprintf(__('Error while translating phrase "%s" in file %s.'), $phrase, $filePath[0])
116+
);
116117
}
117118
}
118119
}

0 commit comments

Comments
 (0)