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

Jessian jessian at usp.br
Wed Jun 11 08:43:46 PDT 2003


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