Re: [Django] #22900: ugettext_lazy with arguments causes RuntimeError

2018-06-09 Thread Django
#22900: ugettext_lazy with arguments causes RuntimeError
--+
 Reporter:  Karmo Rosental|Owner:  nobody
 Type:  Cleanup/optimization  |   Status:  closed
Component:  Documentation |  Version:  1.7
 Severity:  Normal|   Resolution:  fixed
 Keywords:| Triage Stage:  Accepted
Has patch:  0 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+
Changes (by Claude Paroz):

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


Comment:

 I guess that the `format_lazy` addition in docs should now be sufficient.

-- 
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/064.ffd1928eb12d053563cc658151b969cc%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #22900: ugettext_lazy with arguments causes RuntimeError

2016-08-19 Thread Django
#22900: ugettext_lazy with arguments causes RuntimeError
--+
 Reporter:  Karmux|Owner:  nobody
 Type:  Cleanup/optimization  |   Status:  new
Component:  Documentation |  Version:  1.7
 Severity:  Normal|   Resolution:
 Keywords:| Triage Stage:  Accepted
Has patch:  0 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+

Comment (by claudep):

 I think the section in
 https://docs.djangoproject.com/en/1.10/topics/i18n/translation/#working-
 with-lazy-translation-objects will need to be updated, particularly after
 `format_lazy` will be added (#26866 / #27067).

--
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/064.7cdb607612b855675c3e4b9d7111ce4a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #22900: ugettext_lazy with arguments causes RuntimeError

2016-08-18 Thread Django
#22900: ugettext_lazy with arguments causes RuntimeError
--+
 Reporter:  Karmux|Owner:  nobody
 Type:  Cleanup/optimization  |   Status:  new
Component:  Documentation |  Version:  1.7
 Severity:  Normal|   Resolution:
 Keywords:| Triage Stage:  Accepted
Has patch:  0 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+

Comment (by timgraham):

 Claude, do you think we need a documentation enhancement now that we have
 the "The translation infrastructure cannot be initialized before the apps
 registry is ready. Check that you don't make non-lazy gettext calls at
 import time." error message? If so, maybe you could suggest a location for
 that documentation and retitle the ticket to make it more suitable for
 beginners to contribute?

--
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/064.7b2ca637509755a622b407b04a4e076c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #22900: ugettext_lazy with arguments causes RuntimeError

2014-12-18 Thread Django
#22900: ugettext_lazy with arguments causes RuntimeError
--+
 Reporter:  Karmux|Owner:  nobody
 Type:  Cleanup/optimization  |   Status:  new
Component:  Documentation |  Version:  1.7
 Severity:  Normal|   Resolution:
 Keywords:| Triage Stage:  Accepted
Has patch:  0 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+
Changes (by timgraham):

 * type:  New feature => Cleanup/optimization
 * version:  1.7-beta-2 => 1.7
 * component:  Internationalization => Documentation


--
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/064.2a6900c8324793040e74996d561573c5%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #22900: ugettext_lazy with arguments causes RuntimeError

2014-06-29 Thread Django
#22900: ugettext_lazy with arguments causes RuntimeError
-+-
 Reporter:  Karmux   |Owner:  nobody
 Type:  New feature  |   Status:  new
Component:   |  Version:
  Internationalization   |  1.7-beta-2
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by aaugustin):

 * keywords:  app-loading =>


Comment:

 This code was silently doing the wrong thing in Django < 1.7. Now it's
 failing loudly. That's an intended and documented consequence of the app-
 loading refactor.

-- 
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/064.180930e164916de35622947c42057974%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #22900: ugettext_lazy with arguments causes RuntimeError

2014-06-25 Thread Django
#22900: ugettext_lazy with arguments causes RuntimeError
-+-
 Reporter:  Karmux   |Owner:  nobody
 Type:  New feature  |   Status:  new
Component:   |  Version:
  Internationalization   |  1.7-beta-2
 Severity:  Normal   |   Resolution:
 Keywords:  app-loading  | Triage Stage:  Accepted
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by claudep):

 * type:  Uncategorized => New feature
 * component:  Translations => Internationalization
 * stage:  Unreviewed => Accepted


Comment:

 This is expected behavior with the current implementation, the `%` (mod)
 operator on lazy strings does produce the final string.
 We might experiment with delaying the translation in this case and find
 out (a) if it's possible and (b) if the behavior change is not too much
 backwards incompatible.
 At the very least, we could improve the documentation.

-- 
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/064.3a8740aa5dfa48a7228dfaf5d2f1d5fa%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #22900: ugettext_lazy with arguments causes RuntimeError

2014-06-25 Thread Django
#22900: ugettext_lazy with arguments causes RuntimeError
---+--
 Reporter:  Karmux |Owner:  nobody
 Type:  Uncategorized  |   Status:  new
Component:  Translations   |  Version:  1.7-beta-2
 Severity:  Normal |   Resolution:
 Keywords:  app-loading| Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--

Comment (by timo):

 Note this will raise a different message on master due to
 9618d68b345fe69c787f8426b07e920e647e05f3.

-- 
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/064.db020cbbabeb81292d3f878b910314e2%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #22900: ugettext_lazy with arguments causes RuntimeError

2014-06-25 Thread Django
#22900: ugettext_lazy with arguments causes RuntimeError
---+--
 Reporter:  Karmux |Owner:  nobody
 Type:  Uncategorized  |   Status:  new
Component:  Translations   |  Version:  1.7-beta-2
 Severity:  Normal |   Resolution:
 Keywords:  app-loading| Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--
Changes (by aaugustin):

 * keywords:   => app-loading
 * needs_better_patch:   => 0
 * needs_tests:   => 0
 * needs_docs:   => 0


-- 
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/064.c665ef0be1a5bdcefb67939f1d8e7fad%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.