From 6a1e6f84abfcc1bf8c4bbd74ab2d9cd691419573 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 25 Jul 2004 16:25:29 +0000 Subject: [PATCH] Fix: Correction bug laissant un retour chariot dans les chaines traduites. --- htdocs/translate.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);