mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
Sieve filters (beta)
This commit is contained in:
parent
94789632f0
commit
929bffccef
45 changed files with 1599 additions and 403 deletions
|
|
@ -33,7 +33,7 @@ function mergeLangStructure($aFromLang, $aEngLang, &$iCount = 0)
|
|||
function saveLangStructure($sLangFile, $aLang)
|
||||
{
|
||||
$aResultLines = array();
|
||||
$aResultLines[] = '; '.$sLangFile;
|
||||
// $aResultLines[] = '; '.$sLangFile;
|
||||
|
||||
foreach ($aLang as $sSectionKey => $aSectionValue)
|
||||
{
|
||||
|
|
@ -62,7 +62,7 @@ foreach ($aFiles as $sFile)
|
|||
$aNextLang = \getLangStructure($sFileName);
|
||||
$aNewLang = \mergeLangStructure($aNextLang, $aEngLang, $iCount);
|
||||
|
||||
if (\json_encode($aNextLang) === \json_encode($aNewLang))
|
||||
if (0 === $iCount)
|
||||
{
|
||||
echo $sFileName.': ok'.$sNL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue