mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Fix translations
This commit is contained in:
parent
b64fedfacd
commit
2052137eb1
26 changed files with 55 additions and 41 deletions
|
|
@ -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'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue