#4539: translation.ugettext loses variable content from blocktrans
------------------------------------------+---------------------------------
Reporter: [EMAIL PROTECTED] | Owner: nobody
Status: new | Component:
Internationalization
Version: SVN | Resolution:
Keywords: blocktrans | Stage: Accepted
Has_patch: 1 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
------------------------------------------+---------------------------------
Comment (by mtredinnick):
This doesn't look like the right solution. context.push() doesn't clean
out the context; it only adds a marker, in effect, so that we can remove
(pop) any new content added since that point. The existing content is
still accessible.
So this patch doesn't look like it's getting to the heart of the problem,
which is why the variables are resolving to blank in the first place if
they exist in the context.
--
Ticket URL: <http://code.djangoproject.com/ticket/4539#comment:4>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---