Le dimanche 26 mai 2013 à 01:19 -0700, Florian Apolloner a écrit : > Hi, > > On Sunday, May 19, 2013 8:18:48 PM UTC+2, Claude Paroz wrote: > I'm not completely sure. The narrow space should certainly be > used between a number and its unit symbol (kg, cm, Mb, etc.). > So your proposal is at least valid for a part of the patch. > However, for "5 hours, 4 minutes", I'm not sure it's the same > rule. I'd suggest you add references on the ticket and then > fix the parts that need to be fixed. > > Hmm, how do you suggest fixing it? adding a new function > avoid_narrow_wrapping and changing everything in defaultfilters, or… > (I am asking cause the current fix confuses me, since you didn't touch > the translations [eg > https://github.com/django/django/commit/7d77e9786a118dd95a268872dd9d36664066b96a#L3R825 > ] but just replace the space later on).
Let's continue the discussion on the ticket. But basically, I would add an optional parameter to avoid_wrapping to be able to specify the separator character. Claude -- www.2xlibre.net -- You received this message because you are subscribed to the Google Groups "Django developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-developers?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
