diff --git a/htdocs/translate.class.php b/htdocs/translate.class.php
index 090bd92bde6..84953294863 100644
--- a/htdocs/translate.class.php
+++ b/htdocs/translate.class.php
@@ -55,7 +55,7 @@ Class Translate {
if ($ligne[0] != "\n" && $ligne[0] != " " && $ligne[0] != "#") {
$tab=split('=',$ligne,2);
//print "Ligne=$ligne
Found a string for $tab[0] with value $tab[1]
";
- $this->tab_translate[$tab[0]]=$tab[1];
+ $this->tab_translate[$tab[0]]=trim($tab[1]);
}
}
fclose($fp);