Small fixes

This commit is contained in:
RainLoop Team 2014-01-21 16:51:57 +04:00
parent 0948a11a4a
commit f03bc36678
2 changed files with 8 additions and 2 deletions

View file

@ -551,6 +551,12 @@ class Utils
public static function MimeContentType($sFileName)
{
$sResult = 'application/octet-stream';
$sFileName = \trim(\strtolower($sFileName));
if ('winmail.dat' === $sFileName)
{
return 'application/ms-tnef';
}
$aMimeTypes = array(
@ -715,7 +721,7 @@ class Utils
);
$sExt = \strtolower(\MailSo\Base\Utils::GetFileExtension($sFileName));
$sExt = \MailSo\Base\Utils::GetFileExtension($sFileName);
if (0 < \strlen($sExt) && isset($aMimeTypes[$sExt]))
{
$sResult = $aMimeTypes[$sExt];

View file

@ -99,7 +99,7 @@ BUTTON_REPLY = "Répondre"
BUTTON_REPLY_ALL = "Répondre à tous"
BUTTON_FORWARD = "Transférer"
BUTTON_FORWARD_AS_ATTACHMENT = "Transférer comme pièce-jointe"
BUTTON_EDIT_AS_NEW = "Edit as New"
BUTTON_EDIT_AS_NEW = "Editer comme nouveau"
BUTTON_SHOW_IMAGES = "Afficher les images"
BUTTON_NOTIFY_READ_RECEIPT = "L'expéditeur a demandé à être prévenu lorsque vous lirez ce message."
BUTTON_IN_NEW_WINDOW = "Voir dans une nouvelle fenêtre"