#5591: i18n documentation: Incorrect statement about template variables in {%
trans %}
-------------------------------------------+--------------------------------
Reporter: [EMAIL PROTECTED] | Owner: nobody
Status: new | Milestone:
Component: Documentation | Version: SVN
Resolution: | Keywords:
Stage: Accepted | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
-------------------------------------------+--------------------------------
Comment (by nickefford):
Any more info available on this? I am unable to reproduce this.
I tried passing a template variable as the string argument of {{{{% trans
%}}}}, and I also tried embedding a template variable in the string passed
to {{{{% trans %}}}}. In the latter case, the variable is simply ignored,
and in the former case I see a
{{{TemplateSyntaxError}}} with the message {{{only option for 'trans' is
'noop'}}}.
In other words, the docs seem consistent with what I observe - unless I am
being completely dense and not getting the point here (which to be honest
occurs frequently :)
--
Ticket URL: <http://code.djangoproject.com/ticket/5591#comment:2>
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
-~----------~----~----~----~------~----~------~--~---