On gère les fichiers lang qui ont espace autour du =
This commit is contained in:
parent
dd95fbb783
commit
361b737cd2
@ -172,7 +172,7 @@ class Translate {
|
|||||||
if ($ligne[0] != "\n" && $ligne[0] != " " && $ligne[0] != "#")
|
if ($ligne[0] != "\n" && $ligne[0] != " " && $ligne[0] != "#")
|
||||||
{
|
{
|
||||||
$tab=split('=',$ligne,2);
|
$tab=split('=',$ligne,2);
|
||||||
$key=$tab[0]; $value='';
|
$key=trim($tab[0]); $value='';
|
||||||
//print "Domain=$domain, found a string for $tab[0] with value $tab[1]<br>";
|
//print "Domain=$domain, found a string for $tab[0] with value $tab[1]<br>";
|
||||||
if (! $this->getTransFromTab($key))
|
if (! $this->getTransFromTab($key))
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user