[Django] #28191: 'oder' instead of 'or' in exception message

9 views
Skip to first unread message

Django

unread,
May 10, 2017, 9:57:03 AM5/10/17
to django-...@googlegroups.com
#28191: 'oder' instead of 'or' in exception message
-------------------------------------+-------------------------------------
Reporter: Ondřej | Owner: nobody
Krsička |
Type: Bug | Status: new
Component: | Version: 1.9
Internationalization |
Severity: Normal | Keywords: translation
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 1 |
-------------------------------------+-------------------------------------
version of Python: 2.7.12
**'elif', 'else' oder 'endif'**
{{{

Template error:
In template
/home/krsion/Plocha/rtd/rtd/readthedocs.org/readthedocs/donate/templates/donate/create.html,
error at line 50
Invalid block tag on line 50: 'continue', expected 'elif', 'else' oder
'endif'. Did you forget to register or load this tag? 40 : payment
is processed directly through <a href="https://stripe.com">Stripe</a>.
41 : </p>
42 :
43 : <form action="" method="post" id="donate-payment"
class="payment">
44 : {% csrf_token %}
45 :
46 : {{ form.non_field_errors }}
47 :
48 : {% for field in form.fields_with_cc_group %}
49 : {% if field.name == 'dollars_select' %}
50 : {% continue %}
51 : {% endif %}
52 : {% if field.is_cc_group %}
53 : <div class="subscription-card">
54 : {% for groupfield in field.fields %}
55 : {% include 'core/ko_form_field.html' with
field=groupfield %}
56 : {% endfor %}
57 : </div>
58 : {% elif field.name == 'logo_url' or field.name == 'site_url'
%}
59 : <div data-bind="visible: urls_enabled">
60 : {% include 'core/ko_form_field.html' with field=field %}

}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/28191>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
May 10, 2017, 12:39:16 PM5/10/17
to django-...@googlegroups.com
#28191: 'or' is translated in "Invalid block tag" exception message
---------------------------------+--------------------------------------
Reporter: Ondřej Krsička | Owner: nobody
Type: Bug | Status: closed
Component: Template system | Version: 1.9
Severity: Normal | Resolution: duplicate
Keywords: translation | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
---------------------------------+--------------------------------------
Changes (by Tim Graham):

* status: new => closed
* resolution: => duplicate
* component: Internationalization => Template system


Comment:

Looks like a duplicate of #26403, fixed in Django 1.10.

--
Ticket URL: <https://code.djangoproject.com/ticket/28191#comment:1>

Reply all
Reply to author
Forward
0 new messages