Fix translations

This commit is contained in:
RainLoop Team 2016-05-10 22:52:40 +03:00
parent b64fedfacd
commit 2052137eb1
26 changed files with 55 additions and 41 deletions

View file

@ -1341,6 +1341,10 @@ class ServiceActions
foreach ($aLangKeys as $sKey)
{
$sString = isset($aResultLang[$sKey]) ? $aResultLang[$sKey] : $sKey;
if (\is_array($sString))
{
$sString = \implode("\n", $sString);
}
$sLangJs .= '"'.\str_replace('"', '\\"', \str_replace('\\', '\\\\', $sKey)).'":'
.'"'.\str_replace(array("\r", "\n", "\t"), array('\r', '\n', '\t'),