Skip to content

Commit

Permalink
Initial draft for issue #7
Browse files Browse the repository at this point in the history
  • Loading branch information
dirtycoder committed Dec 8, 2016
1 parent b9120e6 commit 2c906aa
Show file tree
Hide file tree
Showing 9 changed files with 317 additions and 86 deletions.
4 changes: 2 additions & 2 deletions pets/meupet/admin.py
@@ -1,11 +1,11 @@
from django.contrib import admin

from . import models
from meupet import models


class PetAdmin(admin.ModelAdmin):
list_display = ('name', 'kind', 'description', 'status',
'published', 'created', 'modified', 'slug')
'published', 'created', 'modified', 'request_sent')


admin.site.register(models.Pet, PetAdmin)
Expand Down
181 changes: 110 additions & 71 deletions pets/meupet/locale/pt_BR/LC_MESSAGES/django.po
Expand Up @@ -2,250 +2,289 @@
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#
# Translators:
# João Luiz Lorencetti <me@dirtycoder.net>, 2016
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-11-17 11:47-0200\n"
"POT-Creation-Date: 2016-12-07 22:01-0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: João Luiz Lorencetti <me@dirtycoder.net>, 2016\n"
"Language-Team: Portuguese (Brazil) (https://www.transifex.com/cade-meu-bicho/teams/69260/pt_BR/)\n"
"Language-Team: Portuguese (Brazil) (https://www.transifex.com/cade-meu-bicho/"
"teams/69260/pt_BR/)\n"
"Language: pt_BR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: pt_BR\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"

#: pets/meupet/forms.py:21
#: meupet/forms.py:22
msgid "São Paulo"
msgstr "São Paulo"

#: pets/meupet/forms.py:29
#: meupet/forms.py:30
msgid "Costelinha"
msgstr "Costelinha"

#: pets/meupet/forms.py:32
#: meupet/forms.py:33
msgid ""
"It is black and chubby, very shy, disappeared next to the school in "
"downtown.There's a slight flaw in the tail fur."
"It is black and chubby, very shy, disappeared next to the school in downtown."
"There's a slight flaw in the tail fur."
msgstr ""
"É preto e gorduchinho, bastante arisco, desapareceu perto da escola no centro.\n"
"É preto e gorduchinho, bastante arisco, desapareceu perto da escola no "
"centro.\n"
"Tem uma pequena falha no pelo da calda."

#: pets/meupet/forms.py:54
#: meupet/forms.py:55
msgid "Image is larger than the maximum size of 8MB"
msgstr "Imagem é maior do que o tamanho máximo de 8MB"

#: pets/meupet/forms.py:62 pets/meupet/templates/meupet/_pet_form.html:44
#: pets/meupet/templates/meupet/pet_detail.html:83
#: meupet/forms.py:63 meupet/templates/meupet/_pet_form.html:44
#: meupet/templates/meupet/pet_detail.html:83
msgid "City"
msgstr "Cidade"

#: pets/meupet/forms.py:63 pets/meupet/templates/meupet/_pet_form.html:62
#: meupet/forms.py:64 meupet/templates/meupet/_pet_form.html:62
msgid "Kind"
msgstr "Espécie"

#: pets/meupet/forms.py:64 pets/meupet/templates/meupet/_pet_form.html:71
#: pets/meupet/templates/meupet/pet_detail.html:89
#: pets/meupet/templates/meupet/poster.html:37
#: meupet/forms.py:65 meupet/templates/meupet/_pet_form.html:71
#: meupet/templates/meupet/pet_detail.html:89
#: meupet/templates/meupet/poster.html:37
msgid "Size"
msgstr "Tamanho"

#: pets/meupet/forms.py:65 pets/meupet/templates/meupet/_pet_form.html:7
#: meupet/forms.py:66 meupet/templates/meupet/_pet_form.html:7
msgid "Status"
msgstr "Situação"

#: pets/meupet/forms.py:66 pets/meupet/templates/meupet/_pet_form.html:80
#: pets/meupet/templates/meupet/pet_detail.html:96
#: meupet/forms.py:67 meupet/templates/meupet/_pet_form.html:80
#: meupet/templates/meupet/pet_detail.html:96
msgid "Sex"
msgstr "Sexo"

#: pets/meupet/forms.py:78
#: meupet/forms.py:79
msgid "You must select at least one filter"
msgstr "Você precisa selecionar pelo menos um filtro"

#: pets/meupet/models.py:70
#: meupet/models.py:86
msgid "Female"
msgstr "Fêmea"

#: pets/meupet/models.py:71
#: meupet/models.py:87
msgid "Male"
msgstr "Macho"

#: pets/meupet/models.py:77
#: meupet/models.py:93
msgid "Small"
msgstr "Pequeno"

#: pets/meupet/models.py:78
#: meupet/models.py:94
msgid "Medium"
msgstr "Médio"

#: pets/meupet/models.py:79
#: meupet/models.py:95
msgid "Large"
msgstr "Grande"

#: pets/meupet/models.py:86
#: meupet/models.py:102
msgid "Missing"
msgstr "Desaparecido"

#: pets/meupet/models.py:87 pets/meupet/templates/meupet/_sidemenu.html:12
#: pets/meupet/views.py:84
#: meupet/models.py:103 meupet/templates/meupet/_sidemenu.html:12
#: meupet/views.py:84
msgid "For Adoption"
msgstr "Para Adoção"

#: pets/meupet/models.py:88
#: meupet/models.py:104
msgid "Adopted"
msgstr "Adotado"

#: pets/meupet/models.py:89
#: meupet/models.py:105
msgid "Found"
msgstr "Encontrado"

#: pets/meupet/models.py:106 pets/meupet/templates/meupet/pet_detail.html:65
#: meupet/models.py:122 meupet/templates/meupet/pet_detail.html:65
msgid "Maximum image size is 8MB"
msgstr "Tamanho máximo da imagem é 8MB"

#: pets/meupet/templates/meupet/_pet_form.html:16
#: meupet/services.py:15
msgid "Update pet registration"
msgstr ""

#: meupet/templates/meupet/_pet_form.html:16
msgid "Name"
msgstr "Nome"

#: pets/meupet/templates/meupet/_pet_form.html:25
#: meupet/templates/meupet/_pet_form.html:25
msgid "Photo"
msgstr "Foto"

#: pets/meupet/templates/meupet/_pet_form.html:35
#: pets/meupet/templates/meupet/pet_detail.html:78
#: meupet/templates/meupet/_pet_form.html:35
#: meupet/templates/meupet/pet_detail.html:78
msgid "Description"
msgstr "Descrição"

#: pets/meupet/templates/meupet/_pet_form.html:50
#: meupet/templates/meupet/_pet_form.html:50
msgid "Didn't find your city?"
msgstr "Não encontrou sua cidade?"

#: pets/meupet/templates/meupet/_pet_form.html:51
#: meupet/templates/meupet/_pet_form.html:51
msgid "Click here"
msgstr "Clique aqui"

#: pets/meupet/templates/meupet/_pet_form.html:91
#: meupet/templates/meupet/_pet_form.html:91
msgid "Save Changes"
msgstr "Salvar Alterações"

#: pets/meupet/templates/meupet/_pet_form.html:93
#: pets/meupet/templates/meupet/register_pet.html:4
#: meupet/templates/meupet/_pet_form.html:93
#: meupet/templates/meupet/register_pet.html:4
msgid "Register Pet"
msgstr "Registrar Pet"

#: pets/meupet/templates/meupet/_pet_form.html:101
#: meupet/templates/meupet/_pet_form.html:101
msgid "Pet Image"
msgstr "Imagem do Pet"

#: pets/meupet/templates/meupet/_sidemenu.html:4 pets/meupet/views.py:75
#: meupet/templates/meupet/_sidemenu.html:4 meupet/views.py:75
msgctxt "plural"
msgid "Missing"
msgstr "Desaparecidos"

#: pets/meupet/templates/meupet/edit.html:4
#: meupet/templates/meupet/edit.html:4
msgid "Edit Pet"
msgstr "Editar Pet"

#: pets/meupet/templates/meupet/index.html:4
#: meupet/templates/meupet/index.html:4
msgid "Most recent entries"
msgstr "Cadastros mais recentes"

#: pets/meupet/templates/meupet/pet_detail.html:30
#: pets/meupet/templates/meupet/pet_detail.html:136
#: meupet/templates/meupet/pet_detail.html:30
#: meupet/templates/meupet/pet_detail.html:136
msgid "Delete Pet"
msgstr "Apagar Pet"

#: pets/meupet/templates/meupet/pet_detail.html:34
#: meupet/templates/meupet/pet_detail.html:34
msgid "Do you really want to erase this pet?"
msgstr "Deseja realmente apagar esse pet?"

#: pets/meupet/templates/meupet/pet_detail.html:38
#: meupet/templates/meupet/pet_detail.html:38
msgid "Cancel"
msgstr "Cancelar"

#: pets/meupet/templates/meupet/pet_detail.html:42
#: meupet/templates/meupet/pet_detail.html:42
msgid "Delete"
msgstr "Apagar"

#: pets/meupet/templates/meupet/pet_detail.html:63
#: meupet/templates/meupet/pet_detail.html:63
msgid "Add Photo"
msgstr "Adicionar Foto"

#: pets/meupet/templates/meupet/pet_detail.html:68
#: meupet/templates/meupet/pet_detail.html:68
msgid "Submit Image"
msgstr "Enviar Imagem"

#: pets/meupet/templates/meupet/pet_detail.html:102
#: pets/meupet/templates/meupet/poster.html:43
#: meupet/templates/meupet/pet_detail.html:102
#: meupet/templates/meupet/poster.html:43
msgid "Contact"
msgstr "Contato"

#: pets/meupet/templates/meupet/pet_detail.html:108
#: meupet/templates/meupet/pet_detail.html:108
msgid "Share"
msgstr "Compartilhar"

#: pets/meupet/templates/meupet/pet_detail.html:123
#: meupet/templates/meupet/pet_detail.html:123
msgid "Mark as found!"
msgstr "Marcar como encontrado!"

#: pets/meupet/templates/meupet/pet_detail.html:125
#: meupet/templates/meupet/pet_detail.html:125
msgid "Mark as adopted!"
msgstr "Marcar como adotado!"

#: pets/meupet/templates/meupet/pet_detail.html:131
#: meupet/templates/meupet/pet_detail.html:131
msgid "Edit"
msgstr "Editar"

#: pets/meupet/templates/meupet/pet_detail.html:133
#: meupet/templates/meupet/pet_detail.html:133
msgid "Generate Poster"
msgstr "Gerar Cartaz"

#: pets/meupet/templates/meupet/pet_detail.html:145
#: meupet/templates/meupet/pet_detail.html:145
msgid "More photos"
msgstr "Mais fotos"

#: pets/meupet/templates/meupet/poster.html:10
#: meupet/templates/meupet/poster.html:10
msgid "Print"
msgstr "Imprimir"

#: pets/meupet/templates/meupet/poster.html:47
#: meupet/templates/meupet/poster.html:47
msgid "Email"
msgstr "Email"

#: pets/meupet/templates/meupet/poster.html:51
#: meupet/templates/meupet/poster.html:51
msgid "Phone"
msgstr "Telefone"

#: pets/meupet/templates/meupet/poster.html:57
#: meupet/templates/meupet/poster.html:57
msgid "Visit:"
msgstr "Acesse:"

#: pets/meupet/templates/meupet/registered.html:4
#: meupet/templates/meupet/registered.html:4
msgid "Registered Pet"
msgstr "Pet Registrado"

#: pets/meupet/templates/meupet/search.html:4
#: pets/meupet/templates/meupet/search.html:46
#: meupet/templates/meupet/request_action_email.txt:1
#, python-format
msgid "Hello, %(username)s."
msgstr ""

#: meupet/templates/meupet/request_action_email.txt:3
#, python-format
msgid ""
"To keep the site's registrations always updated, we send an email\n"
"every %(days)s days for those who have a pet registered."
msgstr ""

#: meupet/templates/meupet/request_action_email.txt:6
#, python-format
msgid "So we would like to confirm if %(pet)s is still %(status)s."
msgstr ""

#: meupet/templates/meupet/request_action_email.txt:8
#, python-format
msgid ""
"Access the link below to keep the registration active for more %(days)s\n"
"days or update the status of the pet."
msgstr ""

#: meupet/templates/meupet/request_action_email.txt:12
#, python-format
msgid ""
"If no action is taken the registration will be disabled in %(days)s days."
msgstr ""

#: meupet/templates/meupet/request_action_email.txt:14
msgid "Best regards,"
msgstr ""

#: meupet/templates/meupet/search.html:4 meupet/templates/meupet/search.html:46
msgid "Search"
msgstr "Pesquisar"

#: pets/meupet/templates/meupet/search.html:52
#: meupet/templates/meupet/search.html:52
msgid "Result"
msgstr "Resultado"

#: pets/meupet/templates/meupet/search.html:65
#: meupet/templates/meupet/search.html:65
msgid "Details"
msgstr "Detalhes"

#: pets/meupet/templates/meupet/search.html:71
#: meupet/templates/meupet/search.html:71
msgid "No result"
msgstr "Nenhum resultado"

#: pets/meupet/views.py:99
#: meupet/views.py:99
msgid "Please confirm your informations before registering a new pet."
msgstr "Por favor confirme suas informações antes de cadastrar um novo pet."

0 comments on commit 2c906aa

Please sign in to comment.