Commit 6c7f0db840fbb9e2979c2d71895fce7ed1c0f0a4
1 parent
1302101d
Exists in
master
and in
39 other branches
minor changes in planet template and updating translations - #87
Showing
3 changed files
with
20 additions
and
17 deletions
Show diff stats
src/locale/pt_BR/LC_MESSAGES/django.mo
No preview for this file type
src/locale/pt_BR/LC_MESSAGES/django.po
@@ -7,7 +7,7 @@ msgid "" | @@ -7,7 +7,7 @@ msgid "" | ||
7 | msgstr "" | 7 | msgstr "" |
8 | "Project-Id-Version: PACKAGE VERSION\n" | 8 | "Project-Id-Version: PACKAGE VERSION\n" |
9 | "Report-Msgid-Bugs-To: \n" | 9 | "Report-Msgid-Bugs-To: \n" |
10 | -"POT-Creation-Date: 2013-12-10 11:38+0000\n" | 10 | +"POT-Creation-Date: 2013-12-10 12:05+0000\n" |
11 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | 11 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
12 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | 12 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
13 | "Language-Team: LANGUAGE <LL@li.org>\n" | 13 | "Language-Team: LANGUAGE <LL@li.org>\n" |
@@ -422,23 +422,19 @@ msgstr "em" | @@ -422,23 +422,19 @@ msgstr "em" | ||
422 | msgid "Read original" | 422 | msgid "Read original" |
423 | msgstr "Leia o original" | 423 | msgstr "Leia o original" |
424 | 424 | ||
425 | -#: planet/templates/feedzilla/base.html:4 | ||
426 | -msgid "Community Blogs" | ||
427 | -msgstr "Blogs da comunidade" | 425 | +#: planet/templates/feedzilla/base.html:5 |
426 | +msgid "Planet - Community Blogs" | ||
427 | +msgstr "Planet - Blogs da comunidade" | ||
428 | 428 | ||
429 | -#: planet/templates/feedzilla/base.html:7 templates/base.html:76 | ||
430 | -msgid "Planet" | ||
431 | -msgstr "" | ||
432 | - | ||
433 | -#: planet/templates/feedzilla/base.html:17 | 429 | +#: planet/templates/feedzilla/base.html:15 |
434 | msgid "Tags" | 430 | msgid "Tags" |
435 | msgstr "Etiquetas" | 431 | msgstr "Etiquetas" |
436 | 432 | ||
437 | -#: planet/templates/feedzilla/base.html:21 | 433 | +#: planet/templates/feedzilla/base.html:19 |
438 | msgid "Source Blogs" | 434 | msgid "Source Blogs" |
439 | msgstr "Blogs de origem" | 435 | msgstr "Blogs de origem" |
440 | 436 | ||
441 | -#: planet/templates/feedzilla/base.html:24 | 437 | +#: planet/templates/feedzilla/base.html:23 |
442 | #: planet/templates/feedzilla/submit_blog.html:5 | 438 | #: planet/templates/feedzilla/submit_blog.html:5 |
443 | msgid "Submit a blog" | 439 | msgid "Submit a blog" |
444 | msgstr "Sugerir um blog" | 440 | msgstr "Sugerir um blog" |
@@ -943,6 +939,10 @@ msgstr "Não encontrado. Continue procurando! :)" | @@ -943,6 +939,10 @@ msgstr "Não encontrado. Continue procurando! :)" | ||
943 | msgid "Ooopz... something went wrong!" | 939 | msgid "Ooopz... something went wrong!" |
944 | msgstr "Opa... algo saiu errado!" | 940 | msgstr "Opa... algo saiu errado!" |
945 | 941 | ||
942 | +#: templates/base.html:76 | ||
943 | +msgid "Planet" | ||
944 | +msgstr "" | ||
945 | + | ||
946 | #: templates/base.html:79 | 946 | #: templates/base.html:79 |
947 | msgid "Contribute" | 947 | msgid "Contribute" |
948 | msgstr "Contribua" | 948 | msgstr "Contribua" |
@@ -1039,6 +1039,9 @@ msgstr "Vontade de ajudar" | @@ -1039,6 +1039,9 @@ msgstr "Vontade de ajudar" | ||
1039 | msgid "INTERLEGIS COMMUNITIES" | 1039 | msgid "INTERLEGIS COMMUNITIES" |
1040 | msgstr "COMUNIDADES INTERLEGIS" | 1040 | msgstr "COMUNIDADES INTERLEGIS" |
1041 | 1041 | ||
1042 | +#~ msgid "Community Blogs" | ||
1043 | +#~ msgstr "Blogs da comunidade" | ||
1044 | + | ||
1042 | #~ msgid "Mailing List Subscriptions" | 1045 | #~ msgid "Mailing List Subscriptions" |
1043 | #~ msgstr "Inscrições em listas de e-mails" | 1046 | #~ msgstr "Inscrições em listas de e-mails" |
1044 | 1047 |
src/planet/templates/feedzilla/base.html
1 | {% extends 'base.html' %} | 1 | {% extends 'base.html' %} |
2 | {% load i18n feedzilla_tags %} | 2 | {% load i18n feedzilla_tags %} |
3 | 3 | ||
4 | -{% block title %}{% trans "Community Blogs" %}{% endblock %} | ||
5 | - | ||
6 | {% block main-content %} | 4 | {% block main-content %} |
7 | - <h2>{% trans 'Planet' %}</h2> | 5 | + <h2>{% trans 'Planet - Community Blogs' %}</h2> |
8 | <hr/> | 6 | <hr/> |
9 | 7 | ||
10 | <div id="planet" class="row"> | 8 | <div id="planet" class="row"> |
@@ -20,9 +18,11 @@ | @@ -20,9 +18,11 @@ | ||
20 | <div class="well"> | 18 | <div class="well"> |
21 | <h3>{% trans 'Source Blogs' %}</h3> | 19 | <h3>{% trans 'Source Blogs' %}</h3> |
22 | {% feedzilla_donor_list order_by="title" %} | 20 | {% feedzilla_donor_list order_by="title" %} |
23 | - <div class="text-center"> | ||
24 | - <a class="btn btn-primary" href="{% url "feedzilla_submit_blog" %}">{% trans "Submit a blog" %}</a> | ||
25 | - </div> | 21 | + {% if user.is_authenticated %} |
22 | + <div class="text-center"> | ||
23 | + <a class="btn btn-primary" href="{% url "feedzilla_submit_blog" %}">{% trans "Submit a blog" %}</a> | ||
24 | + </div> | ||
25 | + {% endif %} | ||
26 | </div> | 26 | </div> |
27 | </div> | 27 | </div> |
28 | </div> | 28 | </div> |