diff --git a/htdocs/translate.class.php b/htdocs/translate.class.php index 361f4177057..0ef6958cd95 100644 --- a/htdocs/translate.class.php +++ b/htdocs/translate.class.php @@ -172,7 +172,7 @@ class Translate { if ($ligne[0] != "\n" && $ligne[0] != " " && $ligne[0] != "#") { $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]
"; if (! $this->getTransFromTab($key)) {