[Tickets #7670] Re: (cosmetic) in French, max size of attachment contains invalid chars

bugs at horde.org bugs at horde.org
Wed Nov 12 22:34:46 UTC 2008


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

Ticket URL: http://bugs.horde.org/ticket/7670
------------------------------------------------------------------------------
  Ticket             | 7670
  Updated By         | laurent at opensolaris.org
  Summary            | (cosmetic) in French, max size of attachment contains
                     | invalid chars
  Queue              | IMP
  Version            | 4.3
  Type               | Bug
  State              | Not A Bug
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


laurent at opensolaris.org (2008-11-12 17:34) wrote:

Actually, after looking more carefully, I'm not sure it's in the  
translator's part (sorry, only beginning with .po, even though I've  
wanted to look at them for years)

 From what I understand, the number with invalid chars is outside a  
gettext tag:
./templates/compose/compose.html:
       (<gettext>Maximum Attachment Size</gettext>: <tag:attach_size  
/> <gettext>
bytes</gettext>)

attach_size is generated there:
./compose.php:
         $t->set('attach_size',  
number_format($imp_compose->maxAttachmentSize(),
0, $localeinfo['decimal_point'], $localeinfo['thousands_sep']));

And it comes from NLS::getLocaleInfo() which uses PHP's localeconv(),  
so 'thousands_sep' is a PHP constant, right? And I suppose it lacks a  
conversion from ISO8859-1 to UTF-8.





More information about the bugs mailing list