Commit a937e970 by SergeiKutanov

fixes for previous solution

parent 92cfdb33
......@@ -188,7 +188,9 @@ class MessageController extends Controller
$merged = [];
$untranslated = [];
foreach ($messages as $message) {
$message = preg_replace('/\"/', '\"', $message);
if($format === 'po'){
$message = preg_replace('/\"/', '\"', $message);
}
if (array_key_exists($message, $translated) && strlen($translated[$message]) > 0) {
$merged[$message] = $translated[$message];
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment