[imp] Re: Lowercase "INBOX" in the menu

Veronique Marchand veronique at talafone.com
Wed Jun 11 14:43:21 PDT 2003


Yes, that worked! Thank you so very much! :) I still don't have it in the
folders list either (trying to get a work around at the moment, but I figure
that if you guys didn't find it I probably won't either...) but it shouldn't
be too much of a problem now.
Thanks again! \m/

> Hello Veronique,
>
> maybe there's a way to start doing this.
> We tried it here, and after some hacking
> we made something similar.
>
> First you have to be sure that the right
> lines were edited in the en_US.po file:
>
> msgid "INBOX"
> msgstr "Inbox"
>
> Is that what you have done actually?
>
> After that you should add the gettext()
> function in four files, around the
> $imp['label'] attribute, as follows:
>
> - imp/templates/message/navbar.inc:
> - imp/templates/message/navbar_aux_top.inc
> - imp/templates/mailbox/header.inc
>
>     - gettext() is the same as _()
>
>     - every instance of $imp['label']
>       must be changed to _($imp['label'])
>
> - imp/lib/IMP.php
>     - in this case the attribute to
>       be changed is $label, as follows:
>
>       htmlspecialchars( _($label) )
>
> I couldn't help changing it in the folders.php page.
>
> Have a good time!
> Jessian



More information about the imp mailing list