- LSformElement_maildir : Oubli de l'utilisation de get_text pour l'affichage

des messages de confirmations.
This commit is contained in:
Benjamin Renard 2009-02-14 18:13:33 +00:00
parent 32a6e04030
commit acf765f8c9

View file

@ -140,7 +140,7 @@ class LSformElement_maildir extends LSformElement_text {
$newname=getFData($this -> params['html_options']['archiveNameFormat'],$this -> _toDo['old']); $newname=getFData($this -> params['html_options']['archiveNameFormat'],$this -> _toDo['old']);
if ($newname) { if ($newname) {
if (renameMaildirByFTP($this -> _toDo['old'],$newname)) { if (renameMaildirByFTP($this -> _toDo['old'],$newname)) {
LSsession :: addInfo("La boîte mail a été archivée."); LSsession :: addInfo(_("La boîte mail a été archivée."));
return true; return true;
} }
return; return;
@ -150,7 +150,7 @@ class LSformElement_maildir extends LSformElement_text {
} }
else { else {
if (removeMaildirByFTP(null,$this -> _toDo['old'])) { if (removeMaildirByFTP(null,$this -> _toDo['old'])) {
LSsession :: addInfo("La boîte mail a été supprimée."); LSsession :: addInfo(_("La boîte mail a été supprimée."));
return true; return true;
} }
return; return;
@ -158,14 +158,14 @@ class LSformElement_maildir extends LSformElement_text {
break; break;
case 'modify': case 'modify':
if (renameMaildirByFTP($this -> _toDo['old'],$this -> _toDo['new'])) { if (renameMaildirByFTP($this -> _toDo['old'],$this -> _toDo['new'])) {
LSsession :: addInfo("La boîte mail a été déplacée."); LSsession :: addInfo(_("La boîte mail a été déplacée."));
return true; return true;
} }
return; return;
break; break;
case 'create': case 'create':
if (createMaildirByFTP(null,$this -> _toDo['new'])) { if (createMaildirByFTP(null,$this -> _toDo['new'])) {
LSsession :: addInfo("La boîte mail a été créée."); LSsession :: addInfo(_("La boîte mail a été créée."));
return true; return true;
} }
return; return;