Commit 62501a735dc58980bb1c59cc4038a23ffb6d94f0
1 parent
cc35593c
Exists in
master
and in
39 other branches
Fixing translation problems
Showing
3 changed files
with
5 additions
and
6 deletions
Show diff stats
src/colab/deprecated/templates/open-data.html
@@ -11,8 +11,7 @@ | @@ -11,8 +11,7 @@ | ||
11 | system (you must be registered in order to create a ticket).{% endblocktrans %}</p> | 11 | system (you must be registered in order to create a ticket).{% endblocktrans %}</p> |
12 | 12 | ||
13 | <h3>{% trans "Performing searches via the API" %}</h3> | 13 | <h3>{% trans "Performing searches via the API" %}</h3> |
14 | - <p>{% trans "The Colab API searches works through an HTTP/REST always | ||
15 | - returning JSON objects with result." %} </p> | 14 | + <p>{% trans "The Colab API searches works through an HTTP/REST always returning JSON objects with result." %} </p> |
16 | <p>{% trans "The base URL used for the search is:" %} | 15 | <p>{% trans "The base URL used for the search is:" %} |
17 | <a href="/api/search/">http://colab.interlegis.leg.br/api/search/</a></p> | 16 | <a href="/api/search/">http://colab.interlegis.leg.br/api/search/</a></p> |
18 | 17 |
src/colab/deprecated/templates/user-profile.html
@@ -9,7 +9,7 @@ | @@ -9,7 +9,7 @@ | ||
9 | {% block main-content %} | 9 | {% block main-content %} |
10 | {% if not user_profile %} | 10 | {% if not user_profile %} |
11 | <span class="notice span-24"> | 11 | <span class="notice span-24"> |
12 | - <b>{% trans "User not registered." %}</b> {% trans "You are own this profile?" %} | 12 | + <b>{% trans "User not registered." %}</b> {% trans "Is that you?" %} |
13 | <a href="{% url 'signup' %}">{% trans "Click here and sign up." %}</a> | 13 | <a href="{% url 'signup' %}">{% trans "Click here and sign up." %}</a> |
14 | </span> | 14 | </span> |
15 | 15 | ||
@@ -17,8 +17,8 @@ | @@ -17,8 +17,8 @@ | ||
17 | 17 | ||
18 | {% ifequal request.user.username user_profile.user.username %} | 18 | {% ifequal request.user.username user_profile.user.username %} |
19 | <span class="success span-24"> | 19 | <span class="success span-24"> |
20 | - {% trans "Hey, look you here! Want to " %} | ||
21 | - <a href="{% url 'user_profile_update' request.user %}">{% trans "edit your profile" %}</a>? | 20 | + {% trans "Hey, look at you! Do you want to " %} |
21 | + <a href="{% url 'user_profile_update' request.user %}">{% trans "update your profile" %}</a>? | ||
22 | </span> | 22 | </span> |
23 | {% endifequal %} | 23 | {% endifequal %} |
24 | 24 |
src/super_archives/templatetags/form_field.py
@@ -52,7 +52,7 @@ class RenderFormField(template.Node): | @@ -52,7 +52,7 @@ class RenderFormField(template.Node): | ||
52 | else: | 52 | else: |
53 | form_field_tag = default_value | 53 | form_field_tag = default_value |
54 | 54 | ||
55 | - return u"""<p class="%s">%s: %s %s</p>""" % ( | 55 | + return u"""<p class="%s">%s %s %s</p>""" % ( |
56 | class_, | 56 | class_, |
57 | form_field.label_tag(), | 57 | form_field.label_tag(), |
58 | form_field_tag, | 58 | form_field_tag, |