Skip to content

Commit

Permalink
Translating login/logout texts and updating translations - closes Tra…
Browse files Browse the repository at this point in the history
  • Loading branch information
LuanP committed Dec 5, 2013
1 parent 722896c commit e1998fe
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 9 deletions.
Binary file modified src/locale/pt_BR/LC_MESSAGES/django.mo
Binary file not shown.
22 changes: 15 additions & 7 deletions src/locale/pt_BR/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-12-05 15:52+0000\n"
"POT-Creation-Date: 2013-12-05 17:12+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -899,27 +899,35 @@ msgstr "Novo Tíquete"
msgid "View Tickets"
msgstr "Visualizar Tiquetes"

#: templates/base.html:112
#: templates/base.html:99
msgid "Login"
msgstr "Entrar"

#: templates/base.html:113
msgid "My Profile"
msgstr "Meu Perfil"

#: templates/base.html:124 templates/base.html.py:127
#: templates/base.html:114
msgid "Logout"
msgstr "Sair"

#: templates/base.html:126 templates/base.html.py:129
msgid "Search here..."
msgstr "Pesquise aqui..."

#: templates/base.html:140
#: templates/base.html:142
msgid "The login has failed. Please, try again."
msgstr "O login falhou. Por favor, tente novamente."

#: templates/base.html:165
#: templates/base.html:167
msgid "Last email imported at"
msgstr "Último e-mail importado em"

#: templates/base.html:170
#: templates/base.html:172
msgid "The contents of this site is published under license"
msgstr "O conteúdo deste site está publicado sob a licença"

#: templates/base.html:172
#: templates/base.html:174
msgid "Creative Commons - attribution, non-commercial"
msgstr "Creative Commons - atribuição e não-comercial"

Expand Down
6 changes: 4 additions & 2 deletions src/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@
<ul class="nav navbar-nav navbar-right">
{% if not user.is_authenticated %}
<li><a href="{% url 'signup' %}">{% trans "Register" %}</a></li>
<li>{% browserid_login text='Login' %}</li>
{% trans 'Login' as login_text %}
<li>{% browserid_login text=login_text %}</li>
{% else %}
<li id="user-menu" class="dropdown">
<a href="#" class="dropdown-toggle user" data-toggle="dropdown">{% gravatar user.email 40 %} <b class="caret"></b>&nbsp;&nbsp;</a>
Expand All @@ -110,7 +111,8 @@
</div>
<div>
<a class="btn btn-info pull-left" href="{% url 'user_profile' user.username %}">{% trans "My Profile" %}</a>
{% browserid_logout text='Logout' link_class='btn btn-default pull-right' %}
{% trans 'Logout' as logout_text %}
{% browserid_logout text=logout_text link_class='btn btn-default pull-right' %}
</div>
</div>
</li>
Expand Down

0 comments on commit e1998fe

Please sign in to comment.