mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-11-10 09:02:45 +08:00
Small fixes
This commit is contained in:
parent
0948a11a4a
commit
f03bc36678
2 changed files with 8 additions and 2 deletions
|
@ -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];
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue