diff --git a/amadeus/settings.py b/amadeus/settings.py index 4bf087d..96314c2 100644 --- a/amadeus/settings.py +++ b/amadeus/settings.py @@ -89,8 +89,8 @@ DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql', 'NAME': 'amadeus', - 'USER': 'postgres', - 'PASSWORD': 'felipe', + 'USER': 'amadeus_admin', + 'PASSWORD': 'amadeus', 'HOST': '127.0.0.1', 'PORT': '5432', } diff --git a/app/locale/pt_BR/LC_MESSAGES/django.po b/app/locale/pt_BR/LC_MESSAGES/django.po new file mode 100644 index 0000000..69c0be9 --- /dev/null +++ b/app/locale/pt_BR/LC_MESSAGES/django.po @@ -0,0 +1,131 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-09-01 16:02-0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#: app/templates/app/base.html:10 +msgid "The Project" +msgstr "" + +#: app/templates/app/base.html:11 +msgid "CCTE Group" +msgstr "" + +#: app/templates/app/base.html:14 +msgid "Hi" +msgstr "" + +#: app/templates/app/base.html:16 +msgid "See Profile" +msgstr "" + +#: app/templates/app/base.html:17 +msgid "Settings" +msgstr "" + +#: app/templates/app/base.html:18 +msgid "Logout" +msgstr "" + +#: app/templates/app/index.html:6 +msgid "You have:" +msgstr "" + +#: app/templates/app/index.html:10 +msgid "Pending Tasks" +msgstr "" + +#: app/templates/app/index.html:14 +msgid "Users Online" +msgstr "" + +#: app/templates/app/index.html:20 +msgid "You can:" +msgstr "" + +#: app/templates/app/index.html:24 app/templates/home_app.html:43 +msgid "Create Course" +msgstr "Criar Curso" + +#: app/templates/app/index.html:29 +msgid "Manage Users" +msgstr "" + +#: app/templates/app/index.html:33 +msgid "Manage Courses" +msgstr "" + +#: app/templates/app/index.html:37 +msgid "Gerenciar Categorias" +msgstr "" + +#: app/templates/app/index.html:45 +msgid "Your course(s):" +msgstr "" + +#: app/templates/app/index.html:46 +msgid "No courses subscribed yet" +msgstr "" + +#: app/templates/app/index.html:56 +msgid "Search course:" +msgstr "" + +#: app/templates/app/index.html:62 +msgid "Search" +msgstr "" + +#: app/templates/app/index.html:67 +msgid "Most popular keywords:" +msgstr "" + +#: app/templates/home_app.html:15 +msgid "Amadeus" +msgstr "Amadeus" + +#: app/templates/home_app.html:31 +msgid "Home" +msgstr "Início" + +#: app/templates/home_app.html:39 +msgid "Pending tasks" +msgstr "Tarefas Pendentes" + +#: app/templates/home_app.html:40 +msgid "Users Online (1)" +msgstr "Pessoas Online (1)" + +#: app/templates/home_app.html:41 +msgid "Course" +msgstr "Curso" + +#: app/templates/home_app.html:44 +msgid "Manage Course" +msgstr "Gerenciar Curso" + +#: app/templates/home_app.html:52 +msgid "Courses" +msgstr "Cursos" + +#: app/templates/home_app.html:68 +msgid "You didn't create any course yet." +msgstr "Você não criou nenhum curso ainda." + +#: app/templates/home_app.html:76 +msgid "Goals" +msgstr "Metas" diff --git a/app/locale/pt_br/LC_MESSAGES/django.po b/app/locale/pt_br/LC_MESSAGES/django.po deleted file mode 100644 index 2cc7cb5..0000000 --- a/app/locale/pt_br/LC_MESSAGES/django.po +++ /dev/null @@ -1,94 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-08-25 13:03-0300\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"Language: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: app/templates/app/base.html:10 -msgid "The Project" -msgstr "" - -#: app/templates/app/base.html:11 -msgid "CCTE Group" -msgstr "" - -#: app/templates/app/base.html:14 -msgid "Hi" -msgstr "" - -#: app/templates/app/base.html:16 -msgid "See Profile" -msgstr "" - -#: app/templates/app/base.html:17 -msgid "Settings" -msgstr "" - -#: app/templates/app/base.html:18 -msgid "Logout" -msgstr "" - -#: app/templates/app/index.html:6 -msgid "You have:" -msgstr "" - -#: app/templates/app/index.html:10 -msgid "Pending Tasks" -msgstr "" - -#: app/templates/app/index.html:14 -msgid "Users Online" -msgstr "" - -#: app/templates/app/index.html:20 -msgid "You can:" -msgstr "" - -#: app/templates/app/index.html:24 -msgid "Create Course" -msgstr "" - -#: app/templates/app/index.html:29 -msgid "Manage Users" -msgstr "" - -#: app/templates/app/index.html:33 -msgid "Manage Courses" -msgstr "" - -#: app/templates/app/index.html:37 -msgid "Gerenciar Categorias" -msgstr "" - -#: app/templates/app/index.html:45 -msgid "Your course(s):" -msgstr "" - -#: app/templates/app/index.html:46 -msgid "No courses subscribed yet" -msgstr "" - -#: app/templates/app/index.html:56 -msgid "Search course:" -msgstr "" - -#: app/templates/app/index.html:62 -msgid "Search" -msgstr "" - -#: app/templates/app/index.html:67 -msgid "Most popular keywords:" -msgstr "" diff --git a/app/templates/home_app.html b/app/templates/home_app.html new file mode 100644 index 0000000..e0567f6 --- /dev/null +++ b/app/templates/home_app.html @@ -0,0 +1,90 @@ +{% extends 'base.html' %} + +{% load i18n %} + +{% block nav %} +
+ +
+{% endblock %} + +{% block breadcrumbs %} +
+
+

{{ user }}

+
+
+
+ +
+{% endblock %} + +{% block sidebar %} + +{% endblock %} + +{% block content %} +

+ +
{% trans 'Courses' %}
+
+

+ + {% if courses|length > 0 %} + {% for course in courses %} + + + {% endfor %} + {% else %} +

{% trans "You didn't create any course yet." %}

+ {% endif %} +{% endblock %} + +{% block rightbar %} +
+

+ +
{% trans 'Goals' %}
+
+

+ + + + + + + + + +
70% de Presenca nas aulas
30/11 - Entrega das notas finais
+
+{% endblock rightbar %} \ No newline at end of file diff --git a/app/views.py b/app/views.py index 110fd2f..3ba9e48 100644 --- a/app/views.py +++ b/app/views.py @@ -1,6 +1,12 @@ from django.shortcuts import render from django.contrib.auth.decorators import login_required +from courses.models import Course + @login_required def index(request): - return render(request, "app/index.html") \ No newline at end of file + context = {} + + context['courses'] = Course.objects.filter(user = request.user) + + return render(request, "home_app.html", context) \ No newline at end of file diff --git a/core/locale/pt_BR/LC_MESSAGES/django.po b/core/locale/pt_BR/LC_MESSAGES/django.po new file mode 100644 index 0000000..654844a --- /dev/null +++ b/core/locale/pt_BR/LC_MESSAGES/django.po @@ -0,0 +1,35 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-09-01 16:02-0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#: core/templates/index.html:29 +msgid "Entrar" +msgstr "" + +#: core/templates/index.html:41 +msgid "Search course:" +msgstr "" + +#: core/templates/index.html:47 +msgid "Search" +msgstr "" + +#: core/templates/index.html:52 +msgid "Most popular keywords:" +msgstr "" diff --git a/core/locale/pt_br/LC_MESSAGES/django.po b/core/locale/pt_br/LC_MESSAGES/django.po deleted file mode 100644 index fe9a76a..0000000 --- a/core/locale/pt_br/LC_MESSAGES/django.po +++ /dev/null @@ -1,38 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-08-25 13:03-0300\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"Language: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: core/templates/base.html:57 -msgid "Project Amadeus" -msgstr "" - -#: core/templates/base.html:97 -msgid "All rights reserved" -msgstr "" - -#: core/templates/index.html:41 -msgid "Search course:" -msgstr "" - -#: core/templates/index.html:47 -msgid "Search" -msgstr "" - -#: core/templates/index.html:52 -msgid "Most popular keywords:" -msgstr "" diff --git a/core/templates/base.html b/core/templates/base.html index edd6a80..3e17f34 100644 --- a/core/templates/base.html +++ b/core/templates/base.html @@ -1,14 +1,19 @@ -{% load static i18n %} +{% load static i18n %} {{ title }} + + + + + {% block style %} {% endblock %} @@ -17,6 +22,8 @@ + + {% block javascript %} @@ -27,7 +34,7 @@ {% endblock %} -
+
{% block breadcrumbs %} {% endblock %} @@ -49,7 +56,5 @@
- - \ No newline at end of file diff --git a/courses/locale/pt_BR/LC_MESSAGES/django.po b/courses/locale/pt_BR/LC_MESSAGES/django.po new file mode 100644 index 0000000..ca3e928 --- /dev/null +++ b/courses/locale/pt_BR/LC_MESSAGES/django.po @@ -0,0 +1,457 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-09-01 16:02-0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#: courses/forms.py:11 courses/forms.py:25 courses/forms.py:55 +#: courses/models.py:7 courses/models.py:20 courses/models.py:44 +#: courses/templates/category/index.html:38 +msgid "Name" +msgstr "" + +#: courses/forms.py:14 +msgid "Category name" +msgstr "" + +#: courses/forms.py:26 +msgid "Objectives" +msgstr "" + +#: courses/forms.py:27 courses/models.py:23 +msgid "Content" +msgstr "" + +#: courses/forms.py:28 +msgid "Number of studets maximum" +msgstr "" + +#: courses/forms.py:29 +msgid "Course registration start date" +msgstr "" + +#: courses/forms.py:30 +msgid "Course registration end date" +msgstr "" + +#: courses/forms.py:31 +msgid "Course start date" +msgstr "" + +#: courses/forms.py:32 +msgid "Course end date" +msgstr "" + +#: courses/forms.py:33 courses/models.py:30 +msgid "Image" +msgstr "" + +#: courses/forms.py:34 courses/models.py:12 courses/models.py:31 +msgid "Category" +msgstr "" + +#: courses/forms.py:37 +msgid "Course name" +msgstr "" + +#: courses/forms.py:38 +msgid "Course objective" +msgstr "" + +#: courses/forms.py:39 +msgid "Course modules" +msgstr "" + +#: courses/forms.py:40 +msgid "Max number of students that a class can have" +msgstr "" + +#: courses/forms.py:41 +msgid "Date that starts the registration period of the course (dd/mm/yyyy)" +msgstr "" + +#: courses/forms.py:42 +msgid "Date that ends the registration period of the course (dd/mm/yyyy)" +msgstr "" + +#: courses/forms.py:43 +msgid "Date that the course starts (dd/mm/yyyy)" +msgstr "" + +#: courses/forms.py:44 +msgid "Date that the course ends (dd/mm/yyyy)" +msgstr "" + +#: courses/forms.py:45 +msgid "Representative image of the course" +msgstr "" + +#: courses/forms.py:46 +msgid "Category which the course belongs" +msgstr "" + +#: courses/forms.py:56 courses/models.py:46 +msgid "Description" +msgstr "" + +#: courses/forms.py:57 +msgid "Is it visible?" +msgstr "" + +#: courses/forms.py:60 +msgid "Module's name" +msgstr "" + +#: courses/forms.py:61 +msgid "Modules's description" +msgstr "" + +#: courses/forms.py:62 +msgid "Is the module visible?" +msgstr "" + +#: courses/models.py:8 courses/models.py:21 courses/models.py:45 +#: courses/templates/category/index.html:39 +msgid "Slug" +msgstr "" + +#: courses/models.py:9 courses/models.py:25 courses/models.py:48 +msgid "Creation Date" +msgstr "" + +#: courses/models.py:13 courses/templates/category/create.html:16 +#: courses/templates/category/delete.html:15 +#: courses/templates/category/index.html:15 +#: courses/templates/category/update.html:16 +#: courses/templates/category/view.html:15 +msgid "Categories" +msgstr "" + +#: courses/models.py:22 +msgid "Objectivies" +msgstr "" + +#: courses/models.py:24 +msgid "Maximum Students" +msgstr "" + +#: courses/models.py:26 +msgid "Register Date (Begin)" +msgstr "" + +#: courses/models.py:27 +msgid "Register Date (End)" +msgstr "" + +#: courses/models.py:28 +msgid "Begin of Course Date" +msgstr "" + +#: courses/models.py:29 +msgid "End of Course Date" +msgstr "" + +#: courses/models.py:32 +msgid "User" +msgstr "" + +#: courses/models.py:36 courses/models.py:49 +msgid "Course" +msgstr "" + +#: courses/models.py:37 courses/templates/course/create.html:16 +#: courses/templates/course/delete.html:15 +#: courses/templates/course/filtered.html:8 +#: courses/templates/course/index.html:15 +#: courses/templates/course/update.html:16 +#: courses/templates/course/view.html:15 +#: courses/templates/module/create.html:17 +#: courses/templates/module/delete.html:16 +#: courses/templates/module/index.html:16 +#: courses/templates/module/update.html:17 +msgid "Courses" +msgstr "" + +#: courses/models.py:47 courses/templates/module/index.html:107 +msgid "Visible" +msgstr "" + +#: courses/models.py:53 +msgid "Module" +msgstr "" + +#: courses/models.py:54 courses/templates/module/index.html:92 +msgid "Modules" +msgstr "" + +#: courses/templates/category/create.html:8 +#: courses/templates/category/delete.html:7 +#: courses/templates/category/index.html:7 +#: courses/templates/category/update.html:8 +#: courses/templates/category/view.html:7 +#: courses/templates/course/create.html:8 +#: courses/templates/course/delete.html:7 courses/templates/course/index.html:7 +#: courses/templates/course/update.html:8 courses/templates/course/view.html:7 +#: courses/templates/module/create.html:8 +#: courses/templates/module/delete.html:7 courses/templates/module/index.html:7 +#: courses/templates/module/update.html:8 +msgid "Home" +msgstr "" + +#: courses/templates/category/create.html:9 +#: courses/templates/category/delete.html:18 +#: courses/templates/category/index.html:18 +#: courses/templates/category/view.html:18 +msgid "Create Category" +msgstr "" + +#: courses/templates/category/create.html:26 +#: courses/templates/category/update.html:26 +#: courses/templates/course/create.html:26 +#: courses/templates/course/update.html:32 +#: courses/templates/module/create.html:52 +#: courses/templates/module/update.html:52 +msgid "All fields are required" +msgstr "" + +#: courses/templates/category/create.html:51 +#: courses/templates/category/update.html:51 +#: courses/templates/course/create.html:51 +#: courses/templates/course/update.html:57 +#: courses/templates/module/create.html:77 +#: courses/templates/module/update.html:77 +msgid "Save" +msgstr "" + +#: courses/templates/category/delete.html:8 +#: courses/templates/category/index.html:8 +msgid "Manage Categories" +msgstr "" + +#: courses/templates/category/delete.html:26 +msgid "Are you sure you want to delete the category" +msgstr "" + +#: courses/templates/category/delete.html:27 +#: courses/templates/course/delete.html:28 +#: courses/templates/module/delete.html:50 +msgid "Yes" +msgstr "" + +#: courses/templates/category/delete.html:28 +#: courses/templates/course/delete.html:29 +#: courses/templates/module/delete.html:51 +msgid "No" +msgstr "" + +#: courses/templates/category/index.html:40 +msgid "Actions" +msgstr "" + +#: courses/templates/category/index.html:59 +msgid "No categories found" +msgstr "" + +#: courses/templates/category/update.html:9 +#: courses/templates/category/view.html:21 +msgid "Edit Category" +msgstr "" + +#: courses/templates/category/view.html:24 +msgid "Remove Category" +msgstr "" + +#: courses/templates/category/view.html:32 +msgid "Name:" +msgstr "" + +#: courses/templates/category/view.html:33 +msgid "Slug:" +msgstr "" + +#: courses/templates/course/create.html:9 +#: courses/templates/course/delete.html:18 +#: courses/templates/course/filtered.html:11 +#: courses/templates/course/index.html:18 courses/templates/course/view.html:25 +#: courses/templates/module/create.html:20 +#: courses/templates/module/delete.html:19 +#: courses/templates/module/index.html:26 +#: courses/templates/module/update.html:20 +msgid "Create Course" +msgstr "" + +#: courses/templates/course/delete.html:27 +msgid "Are you sure you want to delete the couse" +msgstr "" + +#: courses/templates/course/filtered.html:19 +#: courses/templates/course/index.html:26 +msgid "Categories:" +msgstr "" + +#: courses/templates/course/index.html:8 +msgid "Manage Courses" +msgstr "" + +#: courses/templates/course/index.html:80 +msgid "students tops" +msgstr "" + +#: courses/templates/course/index.html:86 +msgid "Subscribe Period:" +msgstr "" + +#: courses/templates/course/index.html:88 courses/templates/course/view.html:59 +#: courses/templates/module/index.html:83 +msgid "Period:" +msgstr "" + +#: courses/templates/course/index.html:104 +msgid "No courses found" +msgstr "" + +#: courses/templates/course/update.html:9 courses/templates/course/view.html:28 +#: courses/templates/module/create.html:26 +#: courses/templates/module/delete.html:25 +#: courses/templates/module/index.html:29 +#: courses/templates/module/update.html:26 +msgid "Edit Course" +msgstr "" + +#: courses/templates/course/update.html:19 +#: courses/templates/course/view.html:21 +#: courses/templates/module/create.html:29 +#: courses/templates/module/delete.html:9 +#: courses/templates/module/delete.html:28 +#: courses/templates/module/index.html:9 courses/templates/module/index.html:22 +#: courses/templates/module/update.html:29 +msgid "Manage Modules" +msgstr "" + +#: courses/templates/course/update.html:22 +#: courses/templates/course/view.html:31 +#: courses/templates/module/create.html:32 +#: courses/templates/module/delete.html:31 +#: courses/templates/module/index.html:32 +#: courses/templates/module/update.html:32 +msgid "Participants" +msgstr "" + +#: courses/templates/course/view.html:18 +#: courses/templates/module/create.html:23 +#: courses/templates/module/delete.html:22 +#: courses/templates/module/index.html:19 +#: courses/templates/module/update.html:23 +msgid "Course Info" +msgstr "" + +#: courses/templates/course/view.html:34 +#: courses/templates/module/create.html:35 +#: courses/templates/module/delete.html:34 +#: courses/templates/module/index.html:35 +#: courses/templates/module/update.html:35 +msgid "Course avaliations" +msgstr "" + +#: courses/templates/course/view.html:37 +#: courses/templates/module/create.html:38 +#: courses/templates/module/delete.html:37 +#: courses/templates/module/index.html:38 +#: courses/templates/module/update.html:38 +msgid "Duplicate Course" +msgstr "" + +#: courses/templates/course/view.html:40 +#: courses/templates/module/create.html:41 +#: courses/templates/module/delete.html:40 +#: courses/templates/module/index.html:41 +#: courses/templates/module/update.html:41 +msgid "Delete Course" +msgstr "" + +#: courses/templates/course/view.html:56 +msgid "Subscribes:" +msgstr "" + +#: courses/templates/course/view.html:66 +msgid "Objectives:" +msgstr "" + +#: courses/templates/course/view.html:69 +msgid "Work Plan:" +msgstr "" + +#: courses/templates/module/create.html:10 +#: courses/templates/module/index.html:70 +msgid "Create Module" +msgstr "" + +#: courses/templates/module/delete.html:49 +msgid "Are you sure you want to delete the module" +msgstr "" + +#: courses/templates/module/index.html:80 +msgid "students maximum" +msgstr "" + +#: courses/templates/module/index.html:109 +msgid "Invisible" +msgstr "" + +#: courses/templates/module/index.html:125 +msgid "No modules found" +msgstr "" + +#: courses/templates/module/update.html:10 +msgid "Edit Module" +msgstr "" + +#: courses/views.py:48 +msgid "Course created successfully!" +msgstr "" + +#: courses/views.py:70 +msgid "Course edited successfully!" +msgstr "" + +#: courses/views.py:92 +msgid "Course deleted successfully!" +msgstr "" + +#: courses/views.py:142 +msgid "Category created successfully!" +msgstr "" + +#: courses/views.py:164 +msgid "Category edited successfully!" +msgstr "" + +#: courses/views.py:185 +msgid "Category deleted successfully!" +msgstr "" + +#: courses/views.py:237 +msgid "Module created successfully!" +msgstr "" + +#: courses/views.py:268 +msgid "Module edited successfully!" +msgstr "" + +#: courses/views.py:291 +msgid "Module deleted successfully!" +msgstr "" diff --git a/courses/locale/pt_br/LC_MESSAGES/django.po b/courses/locale/pt_br/LC_MESSAGES/django.po deleted file mode 100644 index c667f14..0000000 --- a/courses/locale/pt_br/LC_MESSAGES/django.po +++ /dev/null @@ -1,460 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-08-25 13:03-0300\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"Language: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: courses/forms.py:11 courses/forms.py:25 courses/forms.py:55 -#: courses/models.py:7 courses/models.py:20 courses/models.py:44 -#: courses/templates/category/index.html:38 -msgid "Name" -msgstr "" - -#: courses/forms.py:14 -msgid "Category name" -msgstr "" - -#: courses/forms.py:26 -msgid "Objectives" -msgstr "" - -#: courses/forms.py:27 courses/models.py:23 -msgid "Content" -msgstr "" - -#: courses/forms.py:28 -msgid "Number of studets maximum" -msgstr "" - -#: courses/forms.py:29 -msgid "Course registration start date" -msgstr "" - -#: courses/forms.py:30 -msgid "Course registration end date" -msgstr "" - -#: courses/forms.py:31 -msgid "Course start date" -msgstr "" - -#: courses/forms.py:32 -msgid "Course end date" -msgstr "" - -#: courses/forms.py:33 courses/models.py:30 -msgid "Image" -msgstr "" - -#: courses/forms.py:34 courses/models.py:12 courses/models.py:31 -msgid "Category" -msgstr "" - -#: courses/forms.py:37 -msgid "Course name" -msgstr "" - -#: courses/forms.py:38 -msgid "Course objective" -msgstr "" - -#: courses/forms.py:39 -msgid "COurse modules" -msgstr "" - -#: courses/forms.py:40 -msgid "Max number of students that a class can have" -msgstr "" - -#: courses/forms.py:41 -msgid "Date that starts the registration period of the course (dd/mm/yyyy)" -msgstr "" - -#: courses/forms.py:42 -msgid "Date that ends the registration period of the course (dd/mm/yyyy)" -msgstr "" - -#: courses/forms.py:43 -msgid "Date that the course starts (dd/mm/yyyy)" -msgstr "" - -#: courses/forms.py:44 -msgid "Date that the course ends (dd/mm/yyyy)" -msgstr "" - -#: courses/forms.py:45 -msgid "Representative image of the course" -msgstr "" - -#: courses/forms.py:46 -msgid "Category which the course belongs" -msgstr "" - -#: courses/forms.py:56 courses/models.py:46 -msgid "Description" -msgstr "" - -#: courses/forms.py:57 -msgid "Is it visible?" -msgstr "" - -#: courses/forms.py:60 -msgid "Module's name" -msgstr "" - -#: courses/forms.py:61 -msgid "Modules's description" -msgstr "" - -#: courses/forms.py:62 -msgid "Is the module visible?" -msgstr "" - -#: courses/models.py:8 courses/models.py:21 courses/models.py:45 -#: courses/templates/category/index.html:39 -msgid "Slug" -msgstr "" - -#: courses/models.py:9 courses/models.py:25 courses/models.py:48 -msgid "Creation Date" -msgstr "" - -#: courses/models.py:13 courses/templates/category/create.html:16 -#: courses/templates/category/delete.html:15 -#: courses/templates/category/index.html:15 -#: courses/templates/category/update.html:16 -#: courses/templates/category/view.html:15 -msgid "Categories" -msgstr "" - -#: courses/models.py:22 -msgid "Objectivies" -msgstr "" - -#: courses/models.py:24 -msgid "Maximum Students" -msgstr "" - -#: courses/models.py:26 -msgid "Register Date (Begin)" -msgstr "" - -#: courses/models.py:27 -msgid "Register Date (End)" -msgstr "" - -#: courses/models.py:28 -msgid "Begin of Course Date" -msgstr "" - -#: courses/models.py:29 -msgid "End of Course Date" -msgstr "" - -#: courses/models.py:32 -msgid "User" -msgstr "" - -#: courses/models.py:36 courses/models.py:49 -msgid "Course" -msgstr "" - -#: courses/models.py:37 courses/templates/course/create.html:16 -#: courses/templates/course/delete.html:15 -#: courses/templates/course/filtered.html:6 -#: courses/templates/course/index.html:15 -#: courses/templates/course/update.html:16 -#: courses/templates/course/view.html:15 -#: courses/templates/module/create.html:17 -#: courses/templates/module/delete.html:16 -#: courses/templates/module/index.html:16 -#: courses/templates/module/update.html:17 -msgid "Courses" -msgstr "" - -#: courses/models.py:47 courses/templates/module/index.html:107 -msgid "Visible" -msgstr "" - -#: courses/models.py:53 -msgid "Module" -msgstr "" - -#: courses/models.py:54 courses/templates/module/index.html:92 -msgid "Modules" -msgstr "" - -#: courses/templates/category/create.html:8 -#: courses/templates/category/delete.html:7 -#: courses/templates/category/index.html:7 -#: courses/templates/category/update.html:8 -#: courses/templates/category/view.html:7 -#: courses/templates/course/create.html:8 -#: courses/templates/course/delete.html:7 courses/templates/course/index.html:7 -#: courses/templates/course/update.html:8 courses/templates/course/view.html:7 -#: courses/templates/module/create.html:8 -#: courses/templates/module/delete.html:7 courses/templates/module/index.html:7 -#: courses/templates/module/update.html:8 -msgid "Home" -msgstr "" - -#: courses/templates/category/create.html:9 -#: courses/templates/category/delete.html:18 -#: courses/templates/category/index.html:18 -#: courses/templates/category/view.html:18 -msgid "Create Category" -msgstr "" - -#: courses/templates/category/create.html:26 -#: courses/templates/category/update.html:26 -#: courses/templates/course/create.html:26 -#: courses/templates/course/update.html:32 -#: courses/templates/module/create.html:52 -#: courses/templates/module/update.html:52 -msgid "All fields are required" -msgstr "" - -#: courses/templates/category/create.html:51 -#: courses/templates/category/update.html:51 -#: courses/templates/course/create.html:51 -#: courses/templates/course/update.html:57 -#: courses/templates/module/create.html:77 -#: courses/templates/module/update.html:77 -msgid "Save" -msgstr "" - -#: courses/templates/category/delete.html:8 -#: courses/templates/category/index.html:8 -msgid "Manage Categories" -msgstr "" - -#: courses/templates/category/delete.html:26 -msgid "Are you sure you want to delete the category" -msgstr "" - -#: courses/templates/category/delete.html:27 -#: courses/templates/course/delete.html:28 -#: courses/templates/module/delete.html:50 -msgid "Yes" -msgstr "" - -#: courses/templates/category/delete.html:28 -#: courses/templates/course/delete.html:29 -#: courses/templates/module/delete.html:51 -msgid "No" -msgstr "" - -#: courses/templates/category/index.html:40 -msgid "Actions" -msgstr "" - -#: courses/templates/category/index.html:59 -msgid "No categories found" -msgstr "" - -#: courses/templates/category/update.html:9 -#: courses/templates/category/view.html:21 -msgid "Edit Category" -msgstr "" - -#: courses/templates/category/view.html:24 -msgid "Remove Category" -msgstr "" - -#: courses/templates/category/view.html:32 -msgid "Name:" -msgstr "" - -#: courses/templates/category/view.html:33 -msgid "Slug:" -msgstr "" - -#: courses/templates/course/create.html:9 -#: courses/templates/course/delete.html:18 -#: courses/templates/course/filtered.html:9 -#: courses/templates/course/index.html:18 courses/templates/course/view.html:25 -#: courses/templates/module/create.html:20 -#: courses/templates/module/delete.html:19 -#: courses/templates/module/index.html:26 -#: courses/templates/module/update.html:20 -msgid "Create Course" -msgstr "" - -#: courses/templates/course/delete.html:27 -msgid "Are you sure you want to delete the couse" -msgstr "" - -#: courses/templates/course/filtered.html:17 -#: courses/templates/course/index.html:26 -msgid "Categories:" -msgstr "" - -#: courses/templates/course/index.html:8 -msgid "Manage Courses" -msgstr "" - -#: courses/templates/course/index.html:80 -msgid "students tops" -msgstr "" - -#: courses/templates/course/index.html:86 -msgid "Subscribe Period:" -msgstr "" - -#: courses/templates/course/index.html:88 courses/templates/course/view.html:59 -#: courses/templates/module/index.html:83 -msgid "Period:" -msgstr "" - -#: courses/templates/course/index.html:96 -msgid "Subscribe" -msgstr "" - -#: courses/templates/course/index.html:114 -msgid "No courses found" -msgstr "" - -#: courses/templates/course/update.html:9 courses/templates/course/view.html:28 -#: courses/templates/module/create.html:26 -#: courses/templates/module/delete.html:25 -#: courses/templates/module/index.html:29 -#: courses/templates/module/update.html:26 -msgid "Edit Course" -msgstr "" - -#: courses/templates/course/update.html:19 -#: courses/templates/course/view.html:21 -#: courses/templates/module/create.html:29 -#: courses/templates/module/delete.html:9 -#: courses/templates/module/delete.html:28 -#: courses/templates/module/index.html:9 courses/templates/module/index.html:22 -#: courses/templates/module/update.html:29 -msgid "Manage Modules" -msgstr "" - -#: courses/templates/course/update.html:22 -#: courses/templates/course/view.html:31 -#: courses/templates/module/create.html:32 -#: courses/templates/module/delete.html:31 -#: courses/templates/module/index.html:32 -#: courses/templates/module/update.html:32 -msgid "Participants" -msgstr "" - -#: courses/templates/course/view.html:18 -#: courses/templates/module/create.html:23 -#: courses/templates/module/delete.html:22 -#: courses/templates/module/index.html:19 -#: courses/templates/module/update.html:23 -msgid "Course Info" -msgstr "" - -#: courses/templates/course/view.html:34 -#: courses/templates/module/create.html:35 -#: courses/templates/module/delete.html:34 -#: courses/templates/module/index.html:35 -#: courses/templates/module/update.html:35 -msgid "Course avaliations" -msgstr "" - -#: courses/templates/course/view.html:37 -#: courses/templates/module/create.html:38 -#: courses/templates/module/delete.html:37 -#: courses/templates/module/index.html:38 -#: courses/templates/module/update.html:38 -msgid "Duplicate Course" -msgstr "" - -#: courses/templates/course/view.html:40 -#: courses/templates/module/create.html:41 -#: courses/templates/module/delete.html:40 -#: courses/templates/module/index.html:41 -#: courses/templates/module/update.html:41 -msgid "Delete Course" -msgstr "" - -#: courses/templates/course/view.html:56 -msgid "Subscribes:" -msgstr "" - -#: courses/templates/course/view.html:66 -msgid "Objectives:" -msgstr "" - -#: courses/templates/course/view.html:69 -msgid "Work Plan:" -msgstr "" - -#: courses/templates/module/create.html:10 -#: courses/templates/module/index.html:70 -msgid "Create Module" -msgstr "" - -#: courses/templates/module/delete.html:49 -msgid "Are you sure you want to delete the module" -msgstr "" - -#: courses/templates/module/index.html:80 -msgid "students maximum" -msgstr "" - -#: courses/templates/module/index.html:109 -msgid "Invisible" -msgstr "" - -#: courses/templates/module/index.html:125 -msgid "No modules found" -msgstr "" - -#: courses/templates/module/update.html:10 -msgid "Edit Module" -msgstr "" - -#: courses/views.py:49 -msgid "Course created successfully!" -msgstr "" - -#: courses/views.py:71 -msgid "Course edited successfully!" -msgstr "" - -#: courses/views.py:93 -msgid "Course deleted successfully!" -msgstr "" - -#: courses/views.py:143 -msgid "Category created successfully!" -msgstr "" - -#: courses/views.py:165 -msgid "Category edited successfully!" -msgstr "" - -#: courses/views.py:186 -msgid "Category deleted successfully!" -msgstr "" - -#: courses/views.py:238 -msgid "Module created successfully!" -msgstr "" - -#: courses/views.py:269 -msgid "Module edited successfully!" -msgstr "" - -#: courses/views.py:292 -msgid "Module deleted successfully!" -msgstr "" diff --git a/users/locale/pt_BR/LC_MESSAGES/django.po b/users/locale/pt_BR/LC_MESSAGES/django.po new file mode 100644 index 0000000..a497fd2 --- /dev/null +++ b/users/locale/pt_BR/LC_MESSAGES/django.po @@ -0,0 +1,221 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-09-01 16:02-0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#: users/forms.py:10 +msgid "Password" +msgstr "" + +#: users/models.py:10 +msgid "Login" +msgstr "" + +#: users/models.py:13 +msgid "" +"Type a valid username. This fields should only contain letters, numbers and " +"the characteres: @/./+/-/_ ." +msgstr "" + +#: users/models.py:16 +msgid "" +"A short name that will be used to identify you in the platform and to access " +"it" +msgstr "" + +#: users/models.py:17 +msgid "Mail" +msgstr "" + +#: users/models.py:18 +msgid "Name" +msgstr "" + +#: users/models.py:19 +msgid "City" +msgstr "" + +#: users/models.py:20 +msgid "State" +msgstr "" + +#: users/models.py:21 +msgid "Gender" +msgstr "" + +#: users/models.py:21 +msgid "Male" +msgstr "" + +#: users/models.py:21 +msgid "Female" +msgstr "" + +#: users/models.py:22 +msgid "Image" +msgstr "" + +#: users/models.py:23 +msgid "Birth Date" +msgstr "" + +#: users/models.py:24 +msgid "Phone" +msgstr "" + +#: users/models.py:25 users/templates/users/profile.html:42 +msgid "Cpf" +msgstr "" + +#: users/models.py:26 +msgid "Type" +msgstr "" + +#: users/models.py:26 +msgid "Professor" +msgstr "" + +#: users/models.py:26 +msgid "Student" +msgstr "" + +#: users/models.py:27 +msgid "Create Date" +msgstr "" + +#: users/models.py:28 +msgid "Administrador" +msgstr "" + +#: users/models.py:29 +msgid "Active" +msgstr "" + +#: users/models.py:37 +msgid "User" +msgstr "" + +#: users/models.py:38 +msgid "Users" +msgstr "" + +#: users/templates/users/create.html:8 +#: users/templates/users/edit_profile.html:8 users/templates/users/index.html:7 +#: users/templates/users/profile.html:8 users/templates/users/update.html:8 +#: users/templates/users/view.html:7 +msgid "Home" +msgstr "" + +#: users/templates/users/create.html:9 +msgid "New User" +msgstr "" + +#: users/templates/users/create.html:16 users/templates/users/index.html:15 +#: users/templates/users/update.html:16 users/templates/users/view.html:15 +msgid "System Users" +msgstr "" + +#: users/templates/users/create.html:19 users/templates/users/index.html:18 +#: users/templates/users/update.html:19 users/templates/users/view.html:18 +msgid "New Account" +msgstr "" + +#: users/templates/users/create.html:22 users/templates/users/index.html:21 +#: users/templates/users/update.html:22 users/templates/users/view.html:27 +msgid "Send Mail" +msgstr "" + +#: users/templates/users/create.html:32 +#: users/templates/users/edit_profile.html:29 +#: users/templates/users/update.html:32 +msgid "All fields are required" +msgstr "" + +#: users/templates/users/create.html:57 +#: users/templates/users/edit_profile.html:64 +#: users/templates/users/update.html:57 +msgid "Save" +msgstr "" + +#: users/templates/users/edit_profile.html:9 +#: users/templates/users/edit_profile.html:19 +#: users/templates/users/profile.html:19 +msgid "Edit Profile" +msgstr "" + +#: users/templates/users/edit_profile.html:16 +#: users/templates/users/profile.html:9 users/templates/users/profile.html:16 +msgid "Profile" +msgstr "" + +#: users/templates/users/index.html:8 +msgid "Manage Users" +msgstr "" + +#: users/templates/users/index.html:56 users/templates/users/profile.html:32 +#: users/templates/users/view.html:39 +msgid "Administrator" +msgstr "" + +#: users/templates/users/index.html:74 +msgid "No users found" +msgstr "" + +#: users/templates/users/profile.html:36 users/templates/users/view.html:43 +msgid "Mail:" +msgstr "" + +#: users/templates/users/profile.html:39 users/templates/users/view.html:46 +msgid "Phone:" +msgstr "" + +#: users/templates/users/profile.html:45 +msgid "Birth date" +msgstr "" + +#: users/templates/users/update.html:9 +msgid "Edit user" +msgstr "" + +#: users/templates/users/view.html:21 +msgid "View User Account" +msgstr "" + +#: users/templates/users/view.html:24 +msgid "Edit User Account" +msgstr "" + +#: users/templates/users/view.html:49 +msgid "Cpf:" +msgstr "" + +#: users/templates/users/view.html:52 +msgid "Birth date:" +msgstr "" + +#: users/views.py:47 +msgid "User created successfully!" +msgstr "" + +#: users/views.py:76 +msgid "User edited successfully!" +msgstr "" + +#: users/views.py:125 +msgid "Profile edited successfully!" +msgstr "" diff --git a/users/locale/pt_br/LC_MESSAGES/django.po b/users/locale/pt_br/LC_MESSAGES/django.po deleted file mode 100644 index cb9d353..0000000 --- a/users/locale/pt_br/LC_MESSAGES/django.po +++ /dev/null @@ -1,212 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-08-25 13:03-0300\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"Language: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: users/forms.py:10 users/forms.py:26 -msgid "Password" -msgstr "" - -#: users/models.py:10 -msgid "Login" -msgstr "" - -#: users/models.py:13 -msgid "" -"Type a valid username. This fields should only contain letters, numbers and " -"the characteres: @/./+/-/_ ." -msgstr "" - -#: users/models.py:16 -msgid "" -"A short name that will be used to identify you in the platform and to access " -"it" -msgstr "" - -#: users/models.py:17 -msgid "Mail" -msgstr "" - -#: users/models.py:18 -msgid "Name" -msgstr "" - -#: users/models.py:19 -msgid "City" -msgstr "" - -#: users/models.py:20 -msgid "State" -msgstr "" - -#: users/models.py:21 -msgid "Gender" -msgstr "" - -#: users/models.py:21 -msgid "Male" -msgstr "" - -#: users/models.py:21 -msgid "Female" -msgstr "" - -#: users/models.py:22 -msgid "Image" -msgstr "" - -#: users/models.py:23 -msgid "Birth Date" -msgstr "" - -#: users/models.py:24 -msgid "Phone" -msgstr "" - -#: users/models.py:25 users/templates/users/profile.html:42 -msgid "Cpf" -msgstr "" - -#: users/models.py:26 -msgid "Type" -msgstr "" - -#: users/models.py:26 -msgid "Professor" -msgstr "" - -#: users/models.py:26 -msgid "Student" -msgstr "" - -#: users/models.py:27 -msgid "Create Date" -msgstr "" - -#: users/models.py:28 -msgid "Administrador" -msgstr "" - -#: users/models.py:29 -msgid "Active" -msgstr "" - -#: users/models.py:37 -msgid "User" -msgstr "" - -#: users/models.py:38 -msgid "Users" -msgstr "" - -#: users/templates/users/create.html:8 -#: users/templates/users/edit_profile.html:8 users/templates/users/index.html:7 -#: users/templates/users/profile.html:8 users/templates/users/update.html:8 -#: users/templates/users/view.html:7 -msgid "Home" -msgstr "" - -#: users/templates/users/create.html:9 -msgid "New User" -msgstr "" - -#: users/templates/users/create.html:16 users/templates/users/index.html:15 -#: users/templates/users/update.html:16 users/templates/users/view.html:15 -msgid "System Users" -msgstr "" - -#: users/templates/users/create.html:19 users/templates/users/index.html:18 -#: users/templates/users/update.html:19 users/templates/users/view.html:18 -msgid "New Account" -msgstr "" - -#: users/templates/users/create.html:22 users/templates/users/index.html:21 -#: users/templates/users/update.html:22 users/templates/users/view.html:21 -msgid "Send Mail" -msgstr "" - -#: users/templates/users/create.html:32 -#: users/templates/users/edit_profile.html:29 -#: users/templates/users/update.html:32 -msgid "All fields are required" -msgstr "" - -#: users/templates/users/create.html:57 -#: users/templates/users/edit_profile.html:64 -#: users/templates/users/update.html:57 -msgid "Save" -msgstr "" - -#: users/templates/users/edit_profile.html:9 -#: users/templates/users/edit_profile.html:19 -#: users/templates/users/profile.html:19 -msgid "Edit Profile" -msgstr "" - -#: users/templates/users/edit_profile.html:16 -#: users/templates/users/profile.html:9 users/templates/users/profile.html:16 -msgid "Profile" -msgstr "" - -#: users/templates/users/index.html:8 -msgid "Manage Users" -msgstr "" - -#: users/templates/users/index.html:56 users/templates/users/profile.html:32 -#: users/templates/users/view.html:33 -msgid "Administrator" -msgstr "" - -#: users/templates/users/index.html:74 -msgid "No users found" -msgstr "" - -#: users/templates/users/profile.html:36 users/templates/users/view.html:37 -msgid "Mail:" -msgstr "" - -#: users/templates/users/profile.html:39 users/templates/users/view.html:40 -msgid "Phone:" -msgstr "" - -#: users/templates/users/profile.html:45 -msgid "Birth date" -msgstr "" - -#: users/templates/users/update.html:9 -msgid "Edit user" -msgstr "" - -#: users/templates/users/view.html:43 -msgid "Cpf:" -msgstr "" - -#: users/templates/users/view.html:46 -msgid "Birth date:" -msgstr "" - -#: users/views.py:35 -msgid "User created successfully!" -msgstr "" - -#: users/views.py:63 -msgid "User edited successfully!" -msgstr "" - -#: users/views.py:107 -msgid "Profile edited successfully!" -msgstr "" -- libgit2 0.21.2