[dev] lib/MIME/Headers.php : unneeded NLS conversion of mail
header in listHeaders() ?
Jan Schneider
jan at horde.org
Mon Dec 15 08:19:46 PST 2003
Zitat von Etienne Goyer <etienne.goyer at linuxquebec.com>:
> Hi there,
>
> I noticed something about lib/MIME/Headers.php, in function
> listHeaders() at line 476 :
>
>
> function listHeaders()
> {
> return array(
> /* RFC 2369 */
> 'list-help' => _("List-Help"),
> 'list-unsubscribe' => _("List-Unsubscribe"),
> 'list-subscribe' => _("List-Subscribe"),
> 'list-owner' => _("List-Owner"),
> 'list-post' => _("List-Post"),
> 'list-archive' => _("List-Archive"),
> /* RFC 2919 */
> 'list-id' => _("List-Id")
> );
> }
>
>
> List header strings is going thru the NLS conversion with _(). I am not
> quite sure if this is appropriate or not as email are pretty much the
> same whatever the language of the sender ... Thoughts ?
>
> If this _not_ an error, the current horde/po/fr_FR.po would have to
> fixed (along with most .po files there) ast it translate the headers.
This is not an error. You translate other headers like "Subject:" and
"From:" too, no?
Jan.
--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft
More information about the dev
mailing list