Permalink
Browse files

More i18n messages and translations

  • Loading branch information...
1 parent 9d9fd0b commit 5d051ae24cf0afaf745339e7da3bda60937a4d5b Osvaldo Santana committed Aug 19, 2012
@@ -1,15 +1,17 @@
{% extends "base.html" %}
-{% load bootstrap_toolkit %}
+{% load i18n %}{% load bootstrap_toolkit %}
+
{% block css %}
<style type="text/css">
#id_address{height:60px;}
#id_relation_with_community{height:60px;}
</style>
{% endblock css %}
+
{% block title %}{{ flatpage.title }}{% endblock %}
{% block content %}
- <h1>Atualização dos dados de associado</h1>
+ <h1>{% trans "Update member information" %}</h1>
<div class="row">
<form action="" method="post" accept-charset="utf-8" class="form-horizontal">
{% csrf_token %}
@@ -20,7 +22,7 @@
<fieldset>
{{ member_form|as_bootstrap:"horizontal" }}
<div class='form-actions'>
- <button type="submit" class="btn btn-primary">Salvar</button>
+ <button type="submit" class="btn btn-primary">{% trans "Submit" %}</button>
</div>
</fieldset>
</form>
@@ -1,16 +1,17 @@
{% extends "base.html" %}
-{% block title %}Members{% endblock %}
+{% load i18n %}
+{% block title %}{% trans "Members" %}{% endblock %}
{% block content %}
- <h1>Members</h1>
-
+ <h1>{% trans "Members" %}</h1>
+
<div class="row">
<div class="span9">
<table class="table table-striped">
<thead>
<tr>
- <th>Name</th>
- <th>Category</th>
+ <th>{% trans "Name" %}</th>
+ <th>{% trans "Category" %}</th>
</tr>
</thead>
<tbody>
@@ -23,25 +24,25 @@
</tbody>
</table>
</div>
-
+
<div class="span3">
<div class="well">
- <h3>Search members:</h3>
+ <h3>{% trans "Search members:" %}</h3>
<form class="form-search">
<input type="text" name="q" value= "{{ q }}" class="input-medium search-query">
- <button type="submit" class="btn">Search</button>
+ <button type="submit" class="btn">{% trans "Search" %}</button>
</form>
-
- <h3>Filter by category:</h3>
+
+ <h3>{% trans "Filter by category:" %}</h3>
<ul>
{% if q %}
<li><a href="?q={{ q|urlencode }}">All</a></li>
- <li><a href="?q={{ q|urlencode }}&category=1">Student</a></li>
- <li><a href="?q={{ q|urlencode }}&category=2">Member</a></li>
+ <li><a href="?q={{ q|urlencode }}&category=1">{% trans "Student" %}</a></li>
+ <li><a href="?q={{ q|urlencode }}&category=2">{% trans "Member" %}</a></li>
{% else %}
<li><a href="?{{ q|urlencode:"=" }}">All</a></li>
- <li><a href="?category=1">Student</a></li>
- <li><a href="?category=2">Member</a></li>
+ <li><a href="?category=1">{% trans "Student" %}</a></li>
+ <li><a href="?category=2">{% trans "Member" %}</a></li>
{% endif %}
</ul>
</div>
@@ -1,6 +1,5 @@
{% extends "base.html" %}
-{% load i18n %}
-{% load bootstrap_toolkit %}
+{% load i18n %}{% load bootstrap_toolkit %}
{% block title %}{{ flatpage.title }}{% endblock %}
@@ -14,7 +13,7 @@
{{ user_form|as_bootstrap:"horizontal" }}
{{ member_form|as_bootstrap:"horizontal" }}
<div class='form-actions'>
- <button type="submit" class="btn btn-primary">Salvar</button>
+ <button type="submit" class="btn btn-primary">{% trans "Submit" %}</button>
</div>
</fieldset>
</form>
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{% load bootstrap_toolkit %}
+{% load i18n %}{% load bootstrap_toolkit %}
{% block title %}{{ flatpage.title }}{% endblock %}
{% block content %}
@@ -11,7 +11,7 @@
<fieldset>
{{ form|as_bootstrap:"horizontal" }}
<div class='form-actions'>
- <button type="submit" class="btn btn-primary">Signup</button>
+ <button type="submit" class="btn btn-primary">{% trans "Signup" %}</button>
</div>
</fieldset>
</div>
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: associados 0.1\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2012-08-18 02:05-0300\n"
+"POT-Creation-Date: 2012-08-19 17:58-0300\n"
"PO-Revision-Date: 2012-08-18 01:04-0300\n"
"Last-Translator: Osvaldo Santana Neto <osantana@python.org.br>\n"
"Language-Team: Brazilian Portuguese <pt_BR@li.org>\n"
@@ -17,66 +17,103 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1)\n"
-#: app/members/forms.py:11 app/members/models.py:10 app/members/models.py:21
-msgid "Name"
-msgstr "Nome"
-
-#: app/members/forms.py:12
-msgid "E-Mail"
-msgstr "E-Mail"
-
-#: app/members/forms.py:50 app/members/models.py:46
+#: app/members/forms.py:18 app/members/models.py:50
msgid "CPF"
msgstr "CPF"
-#: app/members/forms.py:51 app/members/models.py:47
+#: app/members/forms.py:19 app/members/models.py:51
msgid "Phone"
msgstr "Fone"
-#: app/members/forms.py:52
+#: app/members/forms.py:20
msgid "Organization"
msgstr "Organização"
-#: app/members/forms.py:53
+#: app/members/forms.py:21
msgid "City"
msgstr "Cidade"
-#: app/members/forms.py:54 app/members/models.py:20
+#: app/members/forms.py:22 app/members/models.py:24
msgid "State"
msgstr "Estado"
-#: app/members/models.py:48
+#: app/members/models.py:14 app/members/models.py:25
+#: app/members/templates/members/member_list.html:13
+msgid "Name"
+msgstr "Nome"
+
+#: app/members/models.py:52
msgid "Address"
msgstr "Endereço"
-#: app/members/models.py:50
+#: app/members/models.py:54
msgid "Public Key"
msgstr "Chave Pública"
-#: app/members/models.py:52
+#: app/members/models.py:56
msgid "Relation with community"
msgstr "Relação com a comunidade"
-#: app/members/models.py:53
+#: app/members/models.py:57
msgid "Mailing"
msgstr "Correspondência"
-#: app/members/models.py:54
+#: app/members/models.py:58
msgid "Partner"
msgstr "Parceiro"
-#: app/members/templates/members/member_register.html:8
-msgid "Python Brazil Association Registration"
-msgstr "Pagamento do registro na Associação Python Brasil"
+#: app/members/templates/members/member_form.html:14
+msgid "Update member information"
+msgstr "Atualizar informações do associado"
+#: app/members/templates/members/member_form.html:25
#: app/members/templates/members/member_register.html:17
msgid "Submit"
msgstr "Enviar"
+#: app/members/templates/members/member_list.html:3
+#: app/members/templates/members/member_list.html:6
+msgid "Members"
+msgstr "Associados"
+
+#: app/members/templates/members/member_list.html:14
+msgid "Category"
+msgstr "Categoria"
+
+#: app/members/templates/members/member_list.html:30
+msgid "Search members:"
+msgstr "Buscar associados:"
+
+#: app/members/templates/members/member_list.html:33
+msgid "Search"
+msgstr "Buscar"
+
+#: app/members/templates/members/member_list.html:36
+msgid "Filter by category:"
+msgstr "Filtrar por categoria:"
+
+#: app/members/templates/members/member_list.html:40
+#: app/members/templates/members/member_list.html:44
+msgid "Student"
+msgstr "Estudante"
+
+#: app/members/templates/members/member_list.html:41
+#: app/members/templates/members/member_list.html:45
+msgid "Member"
+msgstr "Associado"
+
+#: app/members/templates/members/member_register.html:8
+msgid "Python Brazil Association Registration"
+msgstr "Pagamento do registro na Associação Python Brasil"
+
#: app/members/templates/members/member_register.html:22
msgid "You are already registered!"
msgstr "Você já está registrado!"
+#: app/members/templates/members/member_signup.html:14
+msgid "Signup"
+msgstr "Registrar"
+
#: app/payment/views.py:25
msgid "Brazilian Python Association registration payment"
msgstr "Pagamento do registro na Associação Python Brasil"

0 comments on commit 5d051ae

Please sign in to comment.