diff --git a/htdocs/translate.class.php b/htdocs/translate.class.php index 1e5b8149cbf..b6d3e59e995 100644 --- a/htdocs/translate.class.php +++ b/htdocs/translate.class.php @@ -173,7 +173,7 @@ class Translate { //print "Domain=$domain, found a string for $tab[0] with value $tab[1]
"; 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); } }