mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-18 14:33:49 +01:00
Traduction de LSForm.maildir
This commit is contained in:
parent
acf765f8c9
commit
35c7d32e6d
1 changed files with 7 additions and 7 deletions
|
@ -140,17 +140,17 @@ 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(_("The mailbox has been stored in the database."));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
LSdebug($this -> name." - LSformElement_maildir->toDo() : Nom d'archivage incorrect.");
|
LSdebug($this -> name." - LSformElement_maildir->toDo() : Incorrect archive name.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
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(_("The mailbox has been deleted."));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
@ -158,23 +158,23 @@ 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(_("The mailbox has been moved."));
|
||||||
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(_("The mailbox has been created."));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
LSdebug($this -> name.' - LSformElement_maildir->toDo() : Action inconnu.');
|
LSdebug($this -> name.' - LSformElement_maildir->toDo() : Unknown action.');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
LSdebug($this -> name.' - LSformElement_maildir->toDo() : Rien à faire.');
|
LSdebug($this -> name.' - LSformElement_maildir->toDo() : Nothing to do.');
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue