Commit e1998fe7e302374fb463d7c0f1c8475d0ccd3c39
1 parent
722896cc
Exists in
master
and in
39 other branches
Translating login/logout texts and updating translations - closes #109
Showing
3 changed files
with
19 additions
and
9 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-05 15:52+0000\n" | |
| 10 | +"POT-Creation-Date: 2013-12-05 17:12+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" |
| ... | ... | @@ -899,27 +899,35 @@ msgstr "Novo Tíquete" |
| 899 | 899 | msgid "View Tickets" |
| 900 | 900 | msgstr "Visualizar Tiquetes" |
| 901 | 901 | |
| 902 | -#: templates/base.html:112 | |
| 902 | +#: templates/base.html:99 | |
| 903 | +msgid "Login" | |
| 904 | +msgstr "Entrar" | |
| 905 | + | |
| 906 | +#: templates/base.html:113 | |
| 903 | 907 | msgid "My Profile" |
| 904 | 908 | msgstr "Meu Perfil" |
| 905 | 909 | |
| 906 | -#: templates/base.html:124 templates/base.html.py:127 | |
| 910 | +#: templates/base.html:114 | |
| 911 | +msgid "Logout" | |
| 912 | +msgstr "Sair" | |
| 913 | + | |
| 914 | +#: templates/base.html:126 templates/base.html.py:129 | |
| 907 | 915 | msgid "Search here..." |
| 908 | 916 | msgstr "Pesquise aqui..." |
| 909 | 917 | |
| 910 | -#: templates/base.html:140 | |
| 918 | +#: templates/base.html:142 | |
| 911 | 919 | msgid "The login has failed. Please, try again." |
| 912 | 920 | msgstr "O login falhou. Por favor, tente novamente." |
| 913 | 921 | |
| 914 | -#: templates/base.html:165 | |
| 922 | +#: templates/base.html:167 | |
| 915 | 923 | msgid "Last email imported at" |
| 916 | 924 | msgstr "Último e-mail importado em" |
| 917 | 925 | |
| 918 | -#: templates/base.html:170 | |
| 926 | +#: templates/base.html:172 | |
| 919 | 927 | msgid "The contents of this site is published under license" |
| 920 | 928 | msgstr "O conteúdo deste site está publicado sob a licença" |
| 921 | 929 | |
| 922 | -#: templates/base.html:172 | |
| 930 | +#: templates/base.html:174 | |
| 923 | 931 | msgid "Creative Commons - attribution, non-commercial" |
| 924 | 932 | msgstr "Creative Commons - atribuição e não-comercial" |
| 925 | 933 | ... | ... |
src/templates/base.html
| ... | ... | @@ -96,7 +96,8 @@ |
| 96 | 96 | <ul class="nav navbar-nav navbar-right"> |
| 97 | 97 | {% if not user.is_authenticated %} |
| 98 | 98 | <li><a href="{% url 'signup' %}">{% trans "Register" %}</a></li> |
| 99 | - <li>{% browserid_login text='Login' %}</li> | |
| 99 | + {% trans 'Login' as login_text %} | |
| 100 | + <li>{% browserid_login text=login_text %}</li> | |
| 100 | 101 | {% else %} |
| 101 | 102 | <li id="user-menu" class="dropdown"> |
| 102 | 103 | <a href="#" class="dropdown-toggle user" data-toggle="dropdown">{% gravatar user.email 40 %} <b class="caret"></b> </a> |
| ... | ... | @@ -110,7 +111,8 @@ |
| 110 | 111 | </div> |
| 111 | 112 | <div> |
| 112 | 113 | <a class="btn btn-info pull-left" href="{% url 'user_profile' user.username %}">{% trans "My Profile" %}</a> |
| 113 | - {% browserid_logout text='Logout' link_class='btn btn-default pull-right' %} | |
| 114 | + {% trans 'Logout' as logout_text %} | |
| 115 | + {% browserid_logout text=logout_text link_class='btn btn-default pull-right' %} | |
| 114 | 116 | </div> |
| 115 | 117 | </div> |
| 116 | 118 | </li> | ... | ... |