Fix: Correction bug laissant un retour chariot dans les chaines traduites.
This commit is contained in:
parent
2b2d1d4788
commit
6a1e6f84ab
@ -55,7 +55,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);
|
||||||
//print "Ligne=$ligne<br>Found a string for $tab[0] with value $tab[1]<br>";
|
//print "Ligne=$ligne<br>Found a string for $tab[0] with value $tab[1]<br>";
|
||||||
$this->tab_translate[$tab[0]]=$tab[1];
|
$this->tab_translate[$tab[0]]=trim($tab[1]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
fclose($fp);
|
fclose($fp);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user