[Tickets #5674] 'fwd:' string is translated

bugs at bugs.horde.org bugs at bugs.horde.org
Mon Aug 27 10:45:03 UTC 2007


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=5674
-----------------------------------------------------------------------
 Ticket             | 5674
 Created By         | ensc+horde at cvg.de
 Summary            | 'fwd:' string is translated
 Queue              | IMP
 Version            | 4.1.4
 Type               | Bug
 State              | Unconfirmed
 Priority           | 1. Low
 Owners             | 
-----------------------------------------------------------------------


ensc+horde at cvg.de (2007-08-27 03:45) wrote:

compose.php uses an i18n'able variant of the 'Fwd:' tag which indicates a
forwarded message:

| $header['subject'] = _("Fwd:");

Although not explicitly stated in RFC850, this is similarly to the 'Re:'
tag which is expected as-is but not as an translated string.

E.g. 'compose.php' expects the english tag to decide whether a new tag
shall be added:

| foreach (array('fwd:', 'fw:', '(fwd)', '[fwd]') as $signal) {


Using internationalized strings there results into subjects like

|  "Fwd: WG: Fwd: P.ep: VS: 


Hence, there should not be used _("Fwd:") but plain "Fwd:" and 'Fwd:'
should be moved out of the _(...) in 

| $header['subject'] = sprintf(_("Fwd: %u Forwarded Messages"),
count($msglist));




More information about the bugs mailing list