Commit 2ce5e652 by SergeiKutanov

code style fixed

parent 08cf7e7b
...@@ -175,7 +175,6 @@ class MessageController extends Controller ...@@ -175,7 +175,6 @@ class MessageController extends Controller
$translated = file_get_contents($fileName); $translated = file_get_contents($fileName);
preg_match_all('/(?<=msgid ").*(?="\nmsgstr)/', $translated, $keys); preg_match_all('/(?<=msgid ").*(?="\nmsgstr)/', $translated, $keys);
preg_match_all('/(?<=msgstr ").*(?="\n\n)/', $translated, $values); preg_match_all('/(?<=msgstr ").*(?="\n\n)/', $translated, $values);
$translated = array_combine($keys[0], $values[0]); $translated = array_combine($keys[0], $values[0]);
} else { } else {
$translated = require($fileName); $translated = require($fileName);
......
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