New: On peut mettre des \n dans les fichiers traduction
This commit is contained in:
parent
ceb10ce850
commit
d4857f070d
@ -173,7 +173,7 @@ class Translate {
|
|||||||
//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))
|
||||||
{
|
{
|
||||||
if (isset($tab[1])) $value=ereg_replace('\\\n',"\n",$tab[1]);
|
if (isset($tab[1])) $value=trim(ereg_replace('\\\n',"\n",$tab[1]));
|
||||||
$this->setTransFromTab($key,$value);
|
$this->setTransFromTab($key,$value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user