Re: [Django] #28711: unordered_list template filter does not work with lazy translations

2017-10-19 Thread Django
#28711: unordered_list template filter does not work with lazy translations
-+
 Reporter:  Jonas Haag   |Owner:  nobody
 Type:  Bug  |   Status:  closed
Component:  Template system  |  Version:  master
 Severity:  Normal   |   Resolution:  fixed
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+

Comment (by Tim Graham):

 Fixes for regressions are generally backported to the latest stable
 release but as this is such a long standing regression, it doesn't seem
 critical. I'm wary of introducing a different regression this late in
 1.11.x's bug fix period and the patch does not backport cleanly to 1.11
 where Python 2 compatibility is required.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.3e44c3957990e133e013be247621a3a6%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #28711: unordered_list template filter does not work with lazy translations

2017-10-19 Thread Django
#28711: unordered_list template filter does not work with lazy translations
-+
 Reporter:  Jonas Haag   |Owner:  nobody
 Type:  Bug  |   Status:  closed
Component:  Template system  |  Version:  master
 Severity:  Normal   |   Resolution:  fixed
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+

Comment (by Jonas Haag):

 Will this be backported to Django 1.11? IIUC it still receives bug fixes
 until end of this year.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.081a4511661a1b3ddc2f3c47ef56312e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #28711: unordered_list template filter does not work with lazy translations

2017-10-18 Thread Django
#28711: unordered_list template filter does not work with lazy translations
-+
 Reporter:  Jonas Haag   |Owner:  nobody
 Type:  Bug  |   Status:  closed
Component:  Template system  |  Version:  master
 Severity:  Normal   |   Resolution:  fixed
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+

Comment (by Tim Graham ):

 In [changeset:"1399f8ae77f78c5dc8461fe1604d2a58219aa298" 1399f8a]:
 {{{
 #!CommitTicketReference repository=""
 revision="1399f8ae77f78c5dc8461fe1604d2a58219aa298"
 Refs #28711 -- Replaced ugettext_lazy() with gettext_lazy() in a test.

 As per c651331b34b7c3841c126959e6e52879bc6f0834.
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.4dde23cac506a64e794a8b05902c3451%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #28711: unordered_list template filter does not work with lazy translations

2017-10-18 Thread Django
#28711: unordered_list template filter does not work with lazy translations
-+
 Reporter:  Jonas Haag   |Owner:  nobody
 Type:  Bug  |   Status:  closed
Component:  Template system  |  Version:  master
 Severity:  Normal   |   Resolution:  fixed
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+

Comment (by Tim Graham ):

 In [changeset:"a831e4bad0e5f616680955dfd63a38fa49d8086b" a831e4b]:
 {{{
 #!CommitTicketReference repository=""
 revision="a831e4bad0e5f616680955dfd63a38fa49d8086b"
 [2.0.x] Fixed #28711 -- Fixed unordered_list template filter with lazy
 translations.

 Backport of d997ab776477dd9ecb158229b2622c7f1ed93dfb from master
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.1b5e3ea8682f4b275edea73b546f7422%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #28711: unordered_list template filter does not work with lazy translations

2017-10-18 Thread Django
#28711: unordered_list template filter does not work with lazy translations
-+
 Reporter:  Jonas Haag   |Owner:  nobody
 Type:  Bug  |   Status:  closed
Component:  Template system  |  Version:  master
 Severity:  Normal   |   Resolution:  fixed
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+
Changes (by Tim Graham ):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"d997ab776477dd9ecb158229b2622c7f1ed93dfb" d997ab7]:
 {{{
 #!CommitTicketReference repository=""
 revision="d997ab776477dd9ecb158229b2622c7f1ed93dfb"
 Fixed #28711 -- Fixed unordered_list template filter with lazy
 translations.
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.5cd1c527109879c18099b54ab94c7859%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #28711: unordered_list template filter does not work with lazy translations

2017-10-14 Thread Django
#28711: unordered_list template filter does not work with lazy translations
-+
 Reporter:  Jonas Haag   |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Template system  |  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+
Changes (by Claude Paroz):

 * stage:  Unreviewed => Accepted


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.d22424c2c9f12f6b52833845cb2972da%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #28711: unordered_list template filter does not work with lazy translations

2017-10-14 Thread Django
#28711: unordered_list template filter does not work with lazy translations
-+--
 Reporter:  Jonas Haag   |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Template system  |  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Unreviewed
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+--

Comment (by Jonas Haag):

 PR: https://github.com/django/django/pull/9240

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.c76598e57b39c318e9caeb664efa40a9%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #28711: unordered_list template filter does not work with lazy translations

2017-10-14 Thread Django
#28711: unordered_list template filter does not work with lazy translations
-+--
 Reporter:  Jonas Haag   |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Template system  |  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Unreviewed
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+--
Description changed by Jonas Haag:

Old description:

> I would expect that the following assertion holds true:
>
> {{
> from django.utils.translation import ugettext_lazy as _
> from django.template.defaultfilters import unordered_list
>
> assert unordered_list(['', _('lazy')]) == unordered_list(['', 'lazy']))
> }}
>
> I.e., `unordered_list` handles lazy translations as if they were strings.
>
> This used to work in Django < 1.8, more specifically before the patch to
> this ticket: https://code.djangoproject.com/ticket/23260
>
> This bug exists in all versions 1.8–master.
>
> Pull request follows.

New description:

 I would expect that the following assertion holds true:

 {{{
 from django.utils.translation import ugettext_lazy as _
 from django.template.defaultfilters import unordered_list

 assert unordered_list(['', _('lazy')]) == unordered_list(['', 'lazy']))
 }}}

 I.e., `unordered_list` handles lazy translations as if they were strings.

 This used to work in Django < 1.8, more specifically before the patch to
 this ticket: https://code.djangoproject.com/ticket/23260

 This bug exists in all versions 1.8–master.

 Pull request follows.

--

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.6ed42c7182a14bd25862790637e0f315%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


[Django] #28711: unordered_list template filter does not work with lazy translations

2017-10-14 Thread Django
#28711: unordered_list template filter does not work with lazy translations
---+
   Reporter:  Jonas Haag   |  Owner:  nobody
   Type:  Bug  | Status:  new
  Component:  Template system  |Version:  master
   Severity:  Normal   |   Keywords:
   Triage Stage:  Unreviewed   |  Has patch:  1
Needs documentation:  0|Needs tests:  0
Patch needs improvement:  0|  Easy pickings:  0
  UI/UX:  0|
---+
 I would expect that the following assertion holds true:

 {{
 from django.utils.translation import ugettext_lazy as _
 from django.template.defaultfilters import unordered_list

 assert unordered_list(['', _('lazy')]) == unordered_list(['', 'lazy']))
 }}

 I.e., `unordered_list` handles lazy translations as if they were strings.

 This used to work in Django < 1.8, more specifically before the patch to
 this ticket: https://code.djangoproject.com/ticket/23260

 This bug exists in all versions 1.8–master.

 Pull request follows.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/052.4945e507af99aa30b2f94551b3b07e5c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.