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 | msgstr "" |
8 | 8 | "Project-Id-Version: PACKAGE VERSION\n" |
9 | 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 | 11 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
12 | 12 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
13 | 13 | "Language-Team: LANGUAGE <LL@li.org>\n" |
... | ... | @@ -422,23 +422,19 @@ msgstr "em" |
422 | 422 | msgid "Read original" |
423 | 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 | 430 | msgid "Tags" |
435 | 431 | msgstr "Etiquetas" |
436 | 432 | |
437 | -#: planet/templates/feedzilla/base.html:21 | |
433 | +#: planet/templates/feedzilla/base.html:19 | |
438 | 434 | msgid "Source Blogs" |
439 | 435 | msgstr "Blogs de origem" |
440 | 436 | |
441 | -#: planet/templates/feedzilla/base.html:24 | |
437 | +#: planet/templates/feedzilla/base.html:23 | |
442 | 438 | #: planet/templates/feedzilla/submit_blog.html:5 |
443 | 439 | msgid "Submit a blog" |
444 | 440 | msgstr "Sugerir um blog" |
... | ... | @@ -943,6 +939,10 @@ msgstr "Não encontrado. Continue procurando! :)" |
943 | 939 | msgid "Ooopz... something went wrong!" |
944 | 940 | msgstr "Opa... algo saiu errado!" |
945 | 941 | |
942 | +#: templates/base.html:76 | |
943 | +msgid "Planet" | |
944 | +msgstr "" | |
945 | + | |
946 | 946 | #: templates/base.html:79 |
947 | 947 | msgid "Contribute" |
948 | 948 | msgstr "Contribua" |
... | ... | @@ -1039,6 +1039,9 @@ msgstr "Vontade de ajudar" |
1039 | 1039 | msgid "INTERLEGIS COMMUNITIES" |
1040 | 1040 | msgstr "COMUNIDADES INTERLEGIS" |
1041 | 1041 | |
1042 | +#~ msgid "Community Blogs" | |
1043 | +#~ msgstr "Blogs da comunidade" | |
1044 | + | |
1042 | 1045 | #~ msgid "Mailing List Subscriptions" |
1043 | 1046 | #~ msgstr "Inscrições em listas de e-mails" |
1044 | 1047 | ... | ... |
src/planet/templates/feedzilla/base.html
1 | 1 | {% extends 'base.html' %} |
2 | 2 | {% load i18n feedzilla_tags %} |
3 | 3 | |
4 | -{% block title %}{% trans "Community Blogs" %}{% endblock %} | |
5 | - | |
6 | 4 | {% block main-content %} |
7 | - <h2>{% trans 'Planet' %}</h2> | |
5 | + <h2>{% trans 'Planet - Community Blogs' %}</h2> | |
8 | 6 | <hr/> |
9 | 7 | |
10 | 8 | <div id="planet" class="row"> |
... | ... | @@ -20,9 +18,11 @@ |
20 | 18 | <div class="well"> |
21 | 19 | <h3>{% trans 'Source Blogs' %}</h3> |
22 | 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 | 26 | </div> |
27 | 27 | </div> |
28 | 28 | </div> | ... | ... |