[imp] [patch] localization of INBOX in folder navigator
Malte Wedel
ich at malte.de
Tue Jun 15 07:36:52 PDT 2004
Hello,
here is another patch for localization of INBOX for imp/folders.php. This time
I
keep my fingers out of the framework classes (I still think the IMAP-Tree is
the right place to do this mapping, but I can not yet understand the
implications of changes there).
Regards,
Malte
-------------- next part --------------
--- folders.php.orig Tue Jun 15 15:56:16 2004
+++ folders.php Tue Jun 15 16:14:28 2004
@@ -283,6 +283,11 @@
/* Start iterating through the list of mailboxes, displaying them. */
$mailbox = $imptree->reset();
do {
+ // if current mailbox is the INBOX, change label to localized name
+ if ($mailbox['value'] == 'INBOX') {
+ $mailbox['label'] = _("Inbox");
+ }
+
$msgs_info = $row = array();
$row['msgs'] = $row['new'] = ' ';
More information about the imp
mailing list