#10642: The 'default' template filter should translate the argument given as
placeholder
-------------------------------------+-------------------------------------
               Reporter:  knutin     |        Owner:  nobody
                   Type:             |       Status:  closed
  Uncategorized                      |    Component:  Template system
              Milestone:             |     Severity:  Normal
                Version:  1.0        |     Keywords:
             Resolution:             |    Has patch:  0
  worksforme                         |  Needs tests:  0
           Triage Stage:  Design     |
  decision needed                    |
    Needs documentation:  0          |
Patch needs improvement:  0          |
-------------------------------------+-------------------------------------
Changes (by SmileyChris):

 * status:  new => closed
 * resolution:   => worksforme
 * type:   => Uncategorized
 * severity:   => Normal


Comment:

 The description isn't very clear to me, but isn't this possible already?

 `{{ object|default:_('placeholder') }}` should work
 [http://docs.djangoproject.com/en/dev/topics/i18n/internationalization
 /#other-tags just fine].

 Perhaps I'm missing what is being asked here, in which case please reopen
 with clarification.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/10642#comment:4>
Django <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.

Reply via email to