diff --git a/htdocs/core/class/html.formfile.class.php b/htdocs/core/class/html.formfile.class.php
index 804a15de39a..60ed409fc7f 100644
--- a/htdocs/core/class/html.formfile.class.php
+++ b/htdocs/core/class/html.formfile.class.php
@@ -805,7 +805,7 @@ class FormFile
'.img_picto('', 'listlight').'
';
$tmpout='';
-
+
// Loop on each file found
foreach($file_list as $file)
{
@@ -828,7 +828,7 @@ class FormFile
$ext=pathinfo($file["name"], PATHINFO_EXTENSION);
if (empty($this->infofiles[$ext])) $this->infofiles['extensions'][$ext]=1;
else $this->infofiles['extensions'][$ext]++;
-
+
// Preview
$urladvanced = getAdvancedPreviewUrl($modulepart, $relativepath);
if ($urladvanced) $tmpout.= '- '.img_picto('','detail').' '.$langs->trans("Preview").' '.$ext.'
';
@@ -838,9 +838,8 @@ class FormFile
if (preg_match('/text/',$mime)) $tmpout.= ' target="_blank"';
$tmpout.= '>';
$tmpout.=img_mime($relativepath, $file["name"]).' ';
- $tmpout.= $langs->trans("Download ".$ext);
+ $tmpout.= $langs->trans("Download").' '.$ext;
$tmpout.= ''."\n";
-
}
$out.=$tmpout;
$out.='