diff --git a/app/locale/pt_BR/LC_MESSAGES/django.po b/app/locale/pt_BR/LC_MESSAGES/django.po index 7254c14..2b31809 100644 --- a/app/locale/pt_BR/LC_MESSAGES/django.po +++ b/app/locale/pt_BR/LC_MESSAGES/django.po @@ -20,15 +20,15 @@ msgstr "" #: app/templates/app/base.html:10 msgid "The Project" -msgstr "" +msgstr "O projeto" #: app/templates/app/base.html:11 msgid "CCTE Group" -msgstr "" +msgstr "Grupo CCTE" #: app/templates/app/base.html:14 msgid "Hi" -msgstr "" +msgstr "Olá" #: app/templates/app/base.html:16 #, fuzzy @@ -46,7 +46,7 @@ msgstr "Sair" #: app/templates/app/index.html:6 msgid "You have:" -msgstr "" +msgstr "Você tem:" #: app/templates/app/index.html:10 #, fuzzy @@ -60,7 +60,7 @@ msgstr "Usuários Online" #: app/templates/app/index.html:20 msgid "You can:" -msgstr "" +msgstr "Você pode:" #: app/templates/app/index.html:24 app/templates/home_app.html:26 #: app/templates/home_professor.html:23 @@ -80,28 +80,28 @@ msgid "Manage Courses" msgstr "Gerenciar Curso" #: app/templates/app/index.html:37 -msgid "Gerenciar Categorias" -msgstr "" +msgid "Manage Categories" +msgstr "Gerenciar Categorias" #: app/templates/app/index.html:45 msgid "Your course(s):" -msgstr "" +msgstr "Seus cursos:" #: app/templates/app/index.html:46 msgid "No courses subscribed yet" -msgstr "" +msgstr "Nenhum curso inscrito ainda" #: app/templates/app/index.html:56 msgid "Search course:" -msgstr "" +msgstr "Pesquisar curso" #: app/templates/app/index.html:62 msgid "Search" -msgstr "" +msgstr "Pesquisar" #: app/templates/app/index.html:67 msgid "Most popular keywords:" -msgstr "" +msgstr "Palavras mais populares:" #: app/templates/home_app.html:14 app/templates/home_professor.html:9 #: app/templates/home_student.html:9 @@ -155,7 +155,7 @@ msgstr "Começo" #: app/templates/home_professor.html:42 msgid "End:" -msgstr "Fim" +msgstr "Fim:" #: app/templates/home_student.html:22 msgid "Profile" diff --git a/app/templates/home.html b/app/templates/home.html index 55af9b2..e15b5f4 100644 --- a/app/templates/home.html +++ b/app/templates/home.html @@ -66,7 +66,7 @@ {% block sidebar %}
-

Menu

+

{% trans 'Menu' %}

diff --git a/core/templates/registration/passwor_reset_email.html b/core/templates/registration/passwor_reset_email.html index 336d504..73774c3 100644 --- a/core/templates/registration/passwor_reset_email.html +++ b/core/templates/registration/passwor_reset_email.html @@ -1,3 +1,5 @@ +{% load static i18n %} + {% trans 'To initiate the password reset process for your {{ user.get_username }} TestSite Account, click the link below:' %} diff --git a/core/templates/registration/password_reset_subject.txt b/core/templates/registration/password_reset_subject.txt index 40ef3f2..36292d6 100644 --- a/core/templates/registration/password_reset_subject.txt +++ b/core/templates/registration/password_reset_subject.txt @@ -1,3 +1,3 @@ {% load i18n %}{% autoescape off %} -{% blocktrans %}{% trans 'Password reset on' %} {{ site_name }}{% endblocktrans %} +{% blocktrans %}Password reset on {{ site_name }}{% endblocktrans %} {% endautoescape %} diff --git a/core/views.py b/core/views.py index 28bb7ce..255182d 100644 --- a/core/views.py +++ b/core/views.py @@ -54,7 +54,7 @@ def remember_password(request): registration = request.POST['registration'] if email and registration: subject = _('Recover your password') - message = _('Hello %s, \nRecover your password to use your account.\nNumber of registration: %s\nLink for recuver password.\n\nRespectfully,\nTeam Amadeus.' % (request.user,registration)) + message = _('Hello {0}, \nRecover your password to use your account.\nNumber of registration: {1}\nLink for recuver password.\n\nRespectfully,\nTeam Amadeus.'.format(request.user,registration)) try: send_mail(subject, message, settings.DEFAULT_FROM_EMAIL, [email],fail_silently=False) context['success'] = 'Email successfully sent' diff --git a/courses/locale/pt_BR/LC_MESSAGES/django.po b/courses/locale/pt_BR/LC_MESSAGES/django.po index a29320f..e8c9979 100644 --- a/courses/locale/pt_BR/LC_MESSAGES/django.po +++ b/courses/locale/pt_BR/LC_MESSAGES/django.po @@ -26,7 +26,7 @@ msgstr "Nome" #: courses/forms.py:14 msgid "Category name" -msgstr "" +msgstr "Nome da categoria" #: courses/forms.py:26 msgid "Objectives" @@ -122,7 +122,7 @@ msgstr "descrição do módulo" #: courses/forms.py:65 msgid "Is the module visible?" -msgstr "" +msgstr "O módulo é visível?" #: courses/models.py:8 courses/models.py:21 courses/models.py:45 #: courses/templates/category/index.html:39 @@ -131,7 +131,7 @@ msgstr "" #: courses/models.py:9 courses/models.py:25 courses/models.py:48 msgid "Creation Date" -msgstr "" +msgstr "Data de criação" #: courses/models.py:13 courses/templates/category/create.html:16 #: courses/templates/category/delete.html:15 @@ -143,7 +143,7 @@ msgstr "Categorias" #: courses/models.py:22 msgid "Objectivies" -msgstr "" +msgstr "Objetivos" #: courses/models.py:24 msgid "Maximum Students" @@ -151,23 +151,23 @@ msgstr "Quantidade máximo de estudantes" #: courses/models.py:26 msgid "Register Date (Begin)" -msgstr "" +msgstr "Data de inscrição (Início)" #: courses/models.py:27 msgid "Register Date (End)" -msgstr "" +msgstr "Data de inscrição (término)" #: courses/models.py:28 msgid "Begin of Course Date" -msgstr "" +msgstr "Início do curso" #: courses/models.py:29 msgid "End of Course Date" -msgstr "" +msgstr "Término do curso" #: courses/models.py:32 msgid "User" -msgstr "" +msgstr "Usuário" #: courses/models.py:36 courses/models.py:49 msgid "Course" @@ -240,11 +240,11 @@ msgstr "Salvar" #: courses/templates/category/delete.html:8 #: courses/templates/category/index.html:8 msgid "Manage Categories" -msgstr "" +msgstr "Gerenciar categorias" #: courses/templates/category/delete.html:26 msgid "Are you sure you want to delete the category" -msgstr "" +msgstr "Você tem certeza que deseja deletar a categoria" #: courses/templates/category/delete.html:27 #: courses/templates/course/delete.html:28 @@ -260,24 +260,24 @@ msgstr "Não" #: courses/templates/category/index.html:40 msgid "Actions" -msgstr "" +msgstr "Ações" #: courses/templates/category/index.html:59 msgid "No categories found" -msgstr "" +msgstr "Nenhuma categoria encontrada" #: courses/templates/category/update.html:9 #: courses/templates/category/view.html:21 msgid "Edit Category" -msgstr "" +msgstr "Editar categoria" #: courses/templates/category/view.html:24 msgid "Remove Category" -msgstr "" +msgstr "Remover categoria" #: courses/templates/category/view.html:32 msgid "Name:" -msgstr "" +msgstr "Nome:" #: courses/templates/category/view.html:33 msgid "Slug:" @@ -292,16 +292,16 @@ msgstr "" #: courses/templates/module/index.html:26 #: courses/templates/module/update.html:20 msgid "Create Course" -msgstr "" +msgstr "Criar curso" #: courses/templates/course/delete.html:27 msgid "Are you sure you want to delete the couse" -msgstr "" +msgstr "Você tem certeza que deseja deletar o curso" #: courses/templates/course/filtered.html:19 #: courses/templates/course/index.html:26 msgid "Categories:" -msgstr "" +msgstr "Categorias:" #: courses/templates/course/home.html:9 #, fuzzy @@ -311,24 +311,24 @@ msgstr "Curso" #: courses/templates/course/index.html:8 msgid "Manage Courses" -msgstr "" +msgstr "Gerenciar cursos" #: courses/templates/course/index.html:80 msgid "students tops" -msgstr "" +msgstr "Melhores estudantes" #: courses/templates/course/index.html:86 msgid "Subscribe Period:" -msgstr "" +msgstr "Inscrever período:" #: courses/templates/course/index.html:88 courses/templates/course/view.html:59 #: courses/templates/module/index.html:83 msgid "Period:" -msgstr "" +msgstr "Período:" #: courses/templates/course/index.html:104 msgid "No courses found" -msgstr "" +msgstr "Nenhum curso encontrado" #: courses/templates/course/update.html:9 courses/templates/course/view.html:28 #: courses/templates/module/create.html:26 @@ -336,7 +336,7 @@ msgstr "" #: courses/templates/module/index.html:29 #: courses/templates/module/update.html:26 msgid "Edit Course" -msgstr "" +msgstr "Editar curso" #: courses/templates/course/update.html:19 #: courses/templates/course/view.html:21 @@ -346,7 +346,7 @@ msgstr "" #: courses/templates/module/index.html:9 courses/templates/module/index.html:22 #: courses/templates/module/update.html:29 msgid "Manage Modules" -msgstr "" +msgstr "Gerenciar módulos" #: courses/templates/course/update.html:22 #: courses/templates/course/view.html:31 @@ -355,7 +355,7 @@ msgstr "" #: courses/templates/module/index.html:32 #: courses/templates/module/update.html:32 msgid "Participants" -msgstr "" +msgstr "Participantes" #: courses/templates/course/view.html:18 #: courses/templates/module/create.html:23 @@ -363,7 +363,7 @@ msgstr "" #: courses/templates/module/index.html:19 #: courses/templates/module/update.html:23 msgid "Course Info" -msgstr "" +msgstr "Informações do curso" #: courses/templates/course/view.html:34 #: courses/templates/module/create.html:35 @@ -371,7 +371,7 @@ msgstr "" #: courses/templates/module/index.html:35 #: courses/templates/module/update.html:35 msgid "Course avaliations" -msgstr "" +msgstr "Avaliações do curso" #: courses/templates/course/view.html:37 #: courses/templates/module/create.html:38 @@ -379,7 +379,7 @@ msgstr "" #: courses/templates/module/index.html:38 #: courses/templates/module/update.html:38 msgid "Duplicate Course" -msgstr "" +msgstr "Duplicar curso" #: courses/templates/course/view.html:40 #: courses/templates/module/create.html:41 @@ -387,77 +387,77 @@ msgstr "" #: courses/templates/module/index.html:41 #: courses/templates/module/update.html:41 msgid "Delete Course" -msgstr "" +msgstr "Deletar curso" #: courses/templates/course/view.html:56 msgid "Subscribes:" -msgstr "" +msgstr "Inscrições:" #: courses/templates/course/view.html:66 msgid "Objectives:" -msgstr "" +msgstr "Objetivos:" #: courses/templates/course/view.html:69 msgid "Work Plan:" -msgstr "" +msgstr "Plano de trabalho:" #: courses/templates/module/create.html:10 #: courses/templates/module/index.html:70 msgid "Create Module" -msgstr "" +msgstr "Criar módulos" #: courses/templates/module/delete.html:49 msgid "Are you sure you want to delete the module" -msgstr "" +msgstr "Você tem certeza que deseja deletar o módulo" #: courses/templates/module/index.html:80 msgid "students maximum" -msgstr "" +msgstr "Capacidade de estudantes" #: courses/templates/module/index.html:109 msgid "Invisible" -msgstr "" +msgstr "Invisível" #: courses/templates/module/index.html:125 msgid "No modules found" -msgstr "" +msgstr "Nenhum módulo encontrado" #: courses/templates/module/update.html:10 msgid "Edit Module" -msgstr "" +msgstr "Editar módulo" #: courses/views.py:48 msgid "Course created successfully!" -msgstr "" +msgstr "Curso criado com sucesso!" #: courses/views.py:70 msgid "Course edited successfully!" -msgstr "" +msgstr "Curso editado com sucesso!" #: courses/views.py:92 msgid "Course deleted successfully!" -msgstr "" +msgstr "Curso deletado com sucesso!" #: courses/views.py:142 msgid "Category created successfully!" -msgstr "" +msgstr "Categoria criada com sucesso!" #: courses/views.py:164 msgid "Category edited successfully!" -msgstr "" +msgstr "Categoria editada com sucesso!" #: courses/views.py:185 msgid "Category deleted successfully!" -msgstr "" +msgstr "Categoria deletada com sucesso!" #: courses/views.py:237 msgid "Module created successfully!" -msgstr "" +msgstr "Módulo criado com sucesso!" #: courses/views.py:268 msgid "Module edited successfully!" -msgstr "" +msgstr "Módulo editado com sucesso!" #: courses/views.py:291 msgid "Module deleted successfully!" -msgstr "" +msgstr "Módulo deletado com sucesso!" diff --git a/courses/templates/course/course_card.html b/courses/templates/course/course_card.html index f0935b0..af3fadd 100644 --- a/courses/templates/course/course_card.html +++ b/courses/templates/course/course_card.html @@ -29,10 +29,10 @@
-

Course Name: {{course.name}}

-

Coordinator: {{course.professors.all.0}}

+

{% trans 'Course Name' %}: {{course.name}}

+

{% trans 'Coordinator' %}: {{course.professors.all.0}}

- Description: + {% trans 'Description' %}: {{course.content}} diff --git a/courses/templates/course/index.html b/courses/templates/course/index.html index d3bb74f..39082ed 100644 --- a/courses/templates/course/index.html +++ b/courses/templates/course/index.html @@ -13,7 +13,7 @@ {% block sidebar %}

-

Menu

+

{% trans 'Menu' %}

diff --git a/courses/templates/course/view.html b/courses/templates/course/view.html index 6825163..1dd7a44 100644 --- a/courses/templates/course/view.html +++ b/courses/templates/course/view.html @@ -63,10 +63,10 @@
-

Course Name: {{course.name}}

-

Coordinator: {{course.professors}}

+

{% trans 'Course Name' %}: {{course.name}}

+

{% trans 'Coordinator' %}: {{course.professors}}

- Description: + {% trans 'Description' %}: {{course.description}} @@ -142,8 +142,8 @@

@@ -199,8 +199,8 @@ diff --git a/courses/templates/subject/form_view_student.html b/courses/templates/subject/form_view_student.html index 37356e7..c57cb56 100644 --- a/courses/templates/subject/form_view_student.html +++ b/courses/templates/subject/form_view_student.html @@ -32,7 +32,7 @@
-

Material

+

{% trans 'Material' %}

-

Activities

+

{% trans 'Activities' %}

-

Activities

+

{% trans 'Activities' %}