[imp] Drafts, trash, sent mail translations ?

Sébastien Abeilhou sebastien.abeilhou at ac-toulouse.fr
Tue Apr 10 14:18:27 UTC 2007


Hello, 
I need to translate in imp sent-mail, drafts and trash folders in the
treeview
 
I found in the source code (imp/lib/IMAP/Tree.php) the sequence around the
line 119)
 
/* Convert 'INBOX' to localized name. */
        $this->_tree['INBOX']['l'] = _("Inbox");
 
And i add these lines
 
/* Convert 'Trash' to localized name. */
        $this->_tree['Trash']['l'] = _("Trash");
/* Convert 'sent-mail to localized name. */
        $this->_tree['sent-mail']['l'] = _("Sent folder");
/* Convert 'INBOX' to localized name. */
        $this->_tree['Drafts']['l'] = _("Drafts folder");
 
And add in the the file imp/po/fr_FR the right label.
 
Does it correct ?
 
Is it planned to add this possibility in imp future release ? (more properly
of course :))
 
Regards, 
 
Sébastien.
 
 


 <http://syszone.in.orion.education.fr/wiki/FiltrageSMTP> 


More information about the imp mailing list