Commit afe9a1573e4689234b9eafd19874006ed1d2de60
1 parent
c6726b8f
Exists in
master
and in
5 other branches
Resitro de usuário
Showing
11 changed files
with
1152 additions
and
1124 deletions
Show diff stats
amadeus/settings.py
1 | - | |
2 | -""" | |
3 | -Django settings for amadeus project. | |
4 | - | |
5 | -Generated by 'django-admin startproject' using Django 1.9.7. | |
6 | - | |
7 | -For more information on this file, see | |
8 | -https://docs.djangoproject.com/en/1.9/topics/settings/ | |
9 | - | |
10 | -For the full list of settings and their values, see | |
11 | -https://docs.djangoproject.com/en/1.9/ref/settings/ | |
12 | -""" | |
13 | - | |
14 | -import os | |
15 | - | |
16 | -# Build paths inside the project like this: os.path.join(BASE_DIR, ...) | |
17 | -BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) | |
18 | - | |
19 | - | |
20 | -# Quick-start development settings - unsuitable for production | |
21 | -# See https://docs.djangoproject.com/en/1.9/howto/deployment/checklist/ | |
22 | - | |
23 | -# SECURITY WARNING: keep the secret key used in production secret! | |
24 | -SECRET_KEY = '$=8)c!5)iha85a&8q4+kv1pyg0yl7_xe_x^z=2cn_1d7r0hny4' | |
25 | - | |
26 | -# SECURITY WARNING: don't run with debug turned on in production! | |
27 | -DEBUG = True | |
28 | - | |
29 | -ALLOWED_HOSTS = [] | |
30 | - | |
31 | - | |
32 | -# Application definition | |
33 | - | |
34 | -INSTALLED_APPS = [ | |
35 | - 'django.contrib.admin', | |
36 | - 'django.contrib.auth', | |
37 | - 'django.contrib.contenttypes', | |
38 | - 'django.contrib.sessions', | |
39 | - 'django.contrib.messages', | |
40 | - 'django.contrib.staticfiles', | |
41 | - | |
42 | - 'widget_tweaks', | |
43 | - 'rolepermissions', | |
44 | - 'rest_framework', | |
45 | - | |
46 | - 'core', | |
47 | - 'app', | |
48 | - 'courses', | |
49 | - 'users', | |
50 | -] | |
51 | - | |
52 | -MIDDLEWARE_CLASSES = [ | |
53 | - 'django.middleware.security.SecurityMiddleware', | |
54 | - 'django.contrib.sessions.middleware.SessionMiddleware', | |
55 | - 'django.middleware.common.CommonMiddleware', | |
56 | - 'django.middleware.csrf.CsrfViewMiddleware', | |
57 | - 'django.contrib.auth.middleware.AuthenticationMiddleware', | |
58 | - 'django.contrib.auth.middleware.SessionAuthenticationMiddleware', | |
59 | - 'django.contrib.messages.middleware.MessageMiddleware', | |
60 | - 'django.middleware.clickjacking.XFrameOptionsMiddleware', | |
61 | - 'django.middleware.locale.LocaleMiddleware', | |
62 | -] | |
63 | - | |
64 | -ROOT_URLCONF = 'amadeus.urls' | |
65 | - | |
66 | -TEMPLATES = [ | |
67 | - { | |
68 | - 'BACKEND': 'django.template.backends.django.DjangoTemplates', | |
69 | - 'DIRS': [], | |
70 | - 'APP_DIRS': True, | |
71 | - 'OPTIONS': { | |
72 | - 'context_processors': [ | |
73 | - 'django.template.context_processors.debug', | |
74 | - 'django.template.context_processors.request', | |
75 | - 'django.contrib.auth.context_processors.auth', | |
76 | - 'django.contrib.messages.context_processors.messages', | |
77 | - ], | |
78 | - }, | |
79 | - }, | |
80 | -] | |
81 | - | |
82 | -WSGI_APPLICATION = 'amadeus.wsgi.application' | |
83 | - | |
84 | - | |
85 | -# Database | |
86 | -# https://docs.djangopr/*oject.com/en/1.9/ref/settings/#databases | |
87 | - | |
88 | -DATABASES = { | |
89 | - 'default': { | |
90 | - 'ENGINE': 'django.db.backends.postgresql', | |
91 | - 'NAME': 'amadeus', | |
92 | - 'USER': 'amadeus_admin', | |
93 | - 'PASSWORD': 'amadeus', | |
94 | - 'HOST': '127.0.0.1', | |
95 | - 'PORT': '5432', | |
96 | - } | |
97 | -} | |
98 | - | |
99 | -#superuser: admin pass: amadeus2358 | |
100 | - | |
101 | -# Password validation | |
102 | -# https://docs.djangoproject.com/en/1.9/ref/settings/#auth-password-validators | |
103 | - | |
104 | -AUTH_PASSWORD_VALIDATORS = [ | |
105 | - { | |
106 | - 'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator', | |
107 | - }, | |
108 | - { | |
109 | - 'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator', | |
110 | - }, | |
111 | - { | |
112 | - 'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator', | |
113 | - }, | |
114 | - { | |
115 | - 'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator', | |
116 | - }, | |
117 | -] | |
118 | - | |
119 | - | |
120 | -# Internationalization | |
121 | -# https://docs.djangoproject.com/en/1.9/topics/i18n/ | |
122 | - | |
123 | -LANGUAGE_CODE = 'pt-br' | |
124 | - | |
125 | -TIME_ZONE = 'America/Recife' | |
126 | - | |
127 | -USE_I18N = True | |
128 | - | |
129 | -USE_L10N = True | |
130 | - | |
131 | -USE_TZ = True | |
132 | - | |
133 | - | |
134 | -# Static files (CSS, JavaScript, Images) | |
135 | -# https://docs.djangoproject.com/en/1.9/howto/static-files/ | |
136 | - | |
137 | -STATIC_URL = '/static/' | |
138 | - | |
139 | -# Files | |
140 | -MEDIA_ROOT = os.path.join(os.path.dirname(BASE_DIR), 'uploads') | |
141 | -MEDIA_URL = '/uploads/' | |
142 | - | |
143 | -# Users | |
144 | -LOGIN_REDIRECT_URL = 'app:index' | |
145 | -LOGIN_URL = 'home' | |
146 | -AUTH_USER_MODEL = 'users.User' | |
147 | -AUTHENTICATION_BACKENDS = [ | |
148 | - 'django.contrib.auth.backends.ModelBackend', | |
149 | -] | |
150 | -ROLEPERMISSIONS_MODULE = 'amadeus.roles' | |
151 | - | |
152 | - | |
1 | + | |
2 | +""" | |
3 | +Django settings for amadeus project. | |
4 | + | |
5 | +Generated by 'django-admin startproject' using Django 1.9.7. | |
6 | + | |
7 | +For more information on this file, see | |
8 | +https://docs.djangoproject.com/en/1.9/topics/settings/ | |
9 | + | |
10 | +For the full list of settings and their values, see | |
11 | +https://docs.djangoproject.com/en/1.9/ref/settings/ | |
12 | +""" | |
13 | + | |
14 | +import os | |
15 | + | |
16 | +# Build paths inside the project like this: os.path.join(BASE_DIR, ...) | |
17 | +BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) | |
18 | + | |
19 | + | |
20 | +# Quick-start development settings - unsuitable for production | |
21 | +# See https://docs.djangoproject.com/en/1.9/howto/deployment/checklist/ | |
22 | + | |
23 | +# SECURITY WARNING: keep the secret key used in production secret! | |
24 | +SECRET_KEY = '$=8)c!5)iha85a&8q4+kv1pyg0yl7_xe_x^z=2cn_1d7r0hny4' | |
25 | + | |
26 | +# SECURITY WARNING: don't run with debug turned on in production! | |
27 | +DEBUG = True | |
28 | + | |
29 | +ALLOWED_HOSTS = [] | |
30 | + | |
31 | + | |
32 | +# Application definition | |
33 | + | |
34 | +INSTALLED_APPS = [ | |
35 | + 'django.contrib.admin', | |
36 | + 'django.contrib.auth', | |
37 | + 'django.contrib.contenttypes', | |
38 | + 'django.contrib.sessions', | |
39 | + 'django.contrib.messages', | |
40 | + 'django.contrib.staticfiles', | |
41 | + | |
42 | + 'widget_tweaks', | |
43 | + 'rolepermissions', | |
44 | + 'rest_framework', | |
45 | + | |
46 | + 'core', | |
47 | + 'app', | |
48 | + 'courses', | |
49 | + 'users', | |
50 | +] | |
51 | + | |
52 | +MIDDLEWARE_CLASSES = [ | |
53 | + 'django.middleware.security.SecurityMiddleware', | |
54 | + 'django.contrib.sessions.middleware.SessionMiddleware', | |
55 | + 'django.middleware.common.CommonMiddleware', | |
56 | + 'django.middleware.csrf.CsrfViewMiddleware', | |
57 | + 'django.contrib.auth.middleware.AuthenticationMiddleware', | |
58 | + 'django.contrib.auth.middleware.SessionAuthenticationMiddleware', | |
59 | + 'django.contrib.messages.middleware.MessageMiddleware', | |
60 | + 'django.middleware.clickjacking.XFrameOptionsMiddleware', | |
61 | + 'django.middleware.locale.LocaleMiddleware', | |
62 | +] | |
63 | + | |
64 | +ROOT_URLCONF = 'amadeus.urls' | |
65 | + | |
66 | +TEMPLATES = [ | |
67 | + { | |
68 | + 'BACKEND': 'django.template.backends.django.DjangoTemplates', | |
69 | + 'DIRS': [], | |
70 | + 'APP_DIRS': True, | |
71 | + 'OPTIONS': { | |
72 | + 'context_processors': [ | |
73 | + 'django.template.context_processors.debug', | |
74 | + 'django.template.context_processors.request', | |
75 | + 'django.contrib.auth.context_processors.auth', | |
76 | + 'django.contrib.messages.context_processors.messages', | |
77 | + ], | |
78 | + }, | |
79 | + }, | |
80 | +] | |
81 | + | |
82 | +WSGI_APPLICATION = 'amadeus.wsgi.application' | |
83 | + | |
84 | + | |
85 | +# Database | |
86 | +# https://docs.djangopr/*oject.com/en/1.9/ref/settings/#databases | |
87 | + | |
88 | +DATABASES = { | |
89 | + 'default': { | |
90 | + 'ENGINE': 'django.db.backends.postgresql', | |
91 | + 'NAME': 'amadeus', | |
92 | + 'USER': 'amadeus_admin', | |
93 | + 'PASSWORD': 'amadeus', | |
94 | + 'HOST': '127.0.0.1', | |
95 | + 'PORT': '5432', | |
96 | + } | |
97 | +} | |
98 | + | |
99 | + | |
100 | +#superuser: admin pass: amadeus2358 | |
101 | + | |
102 | +# Password validation | |
103 | +# https://docs.djangoproject.com/en/1.9/ref/settings/#auth-password-validators | |
104 | + | |
105 | +AUTH_PASSWORD_VALIDATORS = [ | |
106 | + { | |
107 | + 'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator', | |
108 | + }, | |
109 | + { | |
110 | + 'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator', | |
111 | + }, | |
112 | + { | |
113 | + 'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator', | |
114 | + }, | |
115 | + { | |
116 | + 'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator', | |
117 | + }, | |
118 | +] | |
119 | + | |
120 | + | |
121 | +# Internationalization | |
122 | +# https://docs.djangoproject.com/en/1.9/topics/i18n/ | |
123 | + | |
124 | +LANGUAGE_CODE = 'pt-br' | |
125 | + | |
126 | +TIME_ZONE = 'America/Recife' | |
127 | + | |
128 | +USE_I18N = True | |
129 | + | |
130 | +USE_L10N = True | |
131 | + | |
132 | +USE_TZ = True | |
133 | + | |
134 | + | |
135 | +# Static files (CSS, JavaScript, Images) | |
136 | +# https://docs.djangoproject.com/en/1.9/howto/static-files/ | |
137 | + | |
138 | +STATIC_URL = '/static/' | |
139 | + | |
140 | +# Files | |
141 | +MEDIA_ROOT = os.path.join(os.path.dirname(BASE_DIR), 'uploads') | |
142 | +MEDIA_URL = '/uploads/' | |
143 | + | |
144 | +# Users | |
145 | +LOGIN_REDIRECT_URL = 'app:index' | |
146 | +LOGIN_URL = 'home' | |
147 | +AUTH_USER_MODEL = 'users.User' | |
148 | +AUTHENTICATION_BACKENDS = [ | |
149 | + 'django.contrib.auth.backends.ModelBackend', | |
150 | +] | |
151 | +ROLEPERMISSIONS_MODULE = 'amadeus.roles' | |
152 | + | |
153 | + | |
153 | 154 | #https://github.com/squ1b3r/Djaneiro |
154 | 155 | \ No newline at end of file | ... | ... |
amadeus/urls.py
1 | - | |
2 | -"""amadeus URL Configuration | |
3 | - | |
4 | -The `urlpatterns` list routes URLs to views. For more information please see: | |
5 | - https://docs.djangoproject.com/en/1.9/topics/http/urls/ | |
6 | -Examples: | |
7 | -Function views | |
8 | - 1. Add an import: from my_app import views | |
9 | - 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') | |
10 | -Class-based views | |
11 | - 1. Add an import: from other_app.views import Home | |
12 | - 2. Add a URL to urlpatterns: url(r'^$', Home.as_view(), name='home') | |
13 | -Including another URLconf | |
14 | - 1. Import the include() function: from django.conf.urls import url, include | |
15 | - 2. Add a URL to urlpatterns: url(r'^blog/', include('blog.urls')) | |
16 | -""" | |
17 | -from django.conf import settings | |
18 | -from django.conf.urls import include, url | |
19 | -from django.conf.urls.static import static | |
20 | -from django.contrib import admin | |
21 | - | |
22 | -urlpatterns = [ | |
23 | - url(r'^app/', include('app.urls', namespace = 'app')), | |
24 | - url(r'^course/', include('courses.urls', namespace = 'course')), | |
25 | - url(r'^users/', include('users.urls', namespace = 'users')), | |
26 | - url(r'^admin/', admin.site.urls), | |
27 | - url(r'^', include('core.urls', namespace = 'core')), | |
28 | -] | |
29 | - | |
30 | -urlpatterns += static(settings.MEDIA_URL, document_root = settings.MEDIA_ROOT) | |
1 | + | |
2 | +"""amadeus URL Configuration | |
3 | + | |
4 | +The `urlpatterns` list routes URLs to views. For more information please see: | |
5 | + https://docs.djangoproject.com/en/1.9/topics/http/urls/ | |
6 | +Examples: | |
7 | +Function views | |
8 | + 1. Add an import: from my_app import views | |
9 | + 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') | |
10 | +Class-based views | |
11 | + 1. Add an import: from other_app.views import Home | |
12 | + 2. Add a URL to urlpatterns: url(r'^$', Home.as_view(), name='home') | |
13 | +Including another URLconf | |
14 | + 1. Import the include() function: from django.conf.urls import url, include | |
15 | + 2. Add a URL to urlpatterns: url(r'^blog/', include('blog.urls')) | |
16 | +""" | |
17 | +from django.conf import settings | |
18 | +from django.conf.urls import include, url | |
19 | +from django.conf.urls.static import static | |
20 | +from django.contrib import admin | |
21 | + | |
22 | +urlpatterns = [ | |
23 | + url(r'^app/', include('app.urls', namespace = 'app')), | |
24 | + url(r'^course/', include('courses.urls', namespace = 'course')), | |
25 | + url(r'^users/', include('users.urls', namespace = 'users')), | |
26 | + url(r'^admin/', admin.site.urls), | |
27 | + url(r'^', include('core.urls', namespace = 'core')), | |
28 | +] | |
29 | + | |
30 | +urlpatterns += static(settings.MEDIA_URL, document_root = settings.MEDIA_ROOT) | ... | ... |
app/locale/pt_BR/LC_MESSAGES/django.po
1 | -# SOME DESCRIPTIVE TITLE. | |
2 | -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER | |
3 | -# This file is distributed under the same license as the PACKAGE package. | |
4 | -# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | |
5 | -# | |
6 | -#, fuzzy | |
7 | -msgid "" | |
8 | -msgstr "" | |
9 | -"Project-Id-Version: PACKAGE VERSION\n" | |
10 | -"Report-Msgid-Bugs-To: \n" | |
11 | -"POT-Creation-Date: 2016-09-01 22:44-0300\n" | |
12 | -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | |
13 | -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | |
14 | -"Language-Team: LANGUAGE <LL@li.org>\n" | |
15 | -"Language: \n" | |
16 | -"MIME-Version: 1.0\n" | |
17 | -"Content-Type: text/plain; charset=UTF-8\n" | |
18 | -"Content-Transfer-Encoding: 8bit\n" | |
19 | -"Plural-Forms: nplurals=2; plural=(n > 1);\n" | |
20 | - | |
21 | -#: app/templates/app/base.html:10 | |
22 | -msgid "The Project" | |
23 | -msgstr "" | |
24 | - | |
25 | -#: app/templates/app/base.html:11 | |
26 | -msgid "CCTE Group" | |
27 | -msgstr "" | |
28 | - | |
29 | -#: app/templates/app/base.html:14 | |
30 | -msgid "Hi" | |
31 | -msgstr "" | |
32 | - | |
33 | -#: app/templates/app/base.html:16 | |
34 | -msgid "See Profile" | |
35 | -msgstr "" | |
36 | - | |
37 | -#: app/templates/app/base.html:17 | |
38 | -msgid "Settings" | |
39 | -msgstr "" | |
40 | - | |
41 | -#: app/templates/app/base.html:18 | |
42 | -msgid "Logout" | |
43 | -msgstr "" | |
44 | - | |
45 | -#: app/templates/app/index.html:6 | |
46 | -msgid "You have:" | |
47 | -msgstr "" | |
48 | - | |
49 | -#: app/templates/app/index.html:10 | |
50 | -msgid "Pending Tasks" | |
51 | -msgstr "" | |
52 | - | |
53 | -#: app/templates/app/index.html:14 | |
54 | -msgid "Users Online" | |
55 | -msgstr "" | |
56 | - | |
57 | -#: app/templates/app/index.html:20 | |
58 | -msgid "You can:" | |
59 | -msgstr "" | |
60 | - | |
61 | -#: app/templates/app/index.html:24 app/templates/home_app.html:26 | |
62 | -msgid "Create Course" | |
63 | -msgstr "Criar Curso" | |
64 | - | |
65 | -#: app/templates/app/index.html:29 | |
66 | -msgid "Manage Users" | |
67 | -msgstr "" | |
68 | - | |
69 | -#: app/templates/app/index.html:33 | |
70 | -msgid "Manage Courses" | |
71 | -msgstr "" | |
72 | - | |
73 | -#: app/templates/app/index.html:37 | |
74 | -msgid "Gerenciar Categorias" | |
75 | -msgstr "" | |
76 | - | |
77 | -#: app/templates/app/index.html:45 | |
78 | -msgid "Your course(s):" | |
79 | -msgstr "" | |
80 | - | |
81 | -#: app/templates/app/index.html:46 | |
82 | -msgid "No courses subscribed yet" | |
83 | -msgstr "" | |
84 | - | |
85 | -#: app/templates/app/index.html:56 | |
86 | -msgid "Search course:" | |
87 | -msgstr "" | |
88 | - | |
89 | -#: app/templates/app/index.html:62 | |
90 | -msgid "Search" | |
91 | -msgstr "" | |
92 | - | |
93 | -#: app/templates/app/index.html:67 | |
94 | -msgid "Most popular keywords:" | |
95 | -msgstr "" | |
96 | - | |
97 | -#: app/templates/home_app.html:14 | |
98 | -msgid "Home" | |
99 | -msgstr "Início" | |
100 | - | |
101 | -#: app/templates/home_app.html:22 | |
102 | -msgid "Pending tasks" | |
103 | -msgstr "Tarefas Pendentes" | |
104 | - | |
105 | -#: app/templates/home_app.html:23 | |
106 | -msgid "Users Online (1)" | |
107 | -msgstr "Pessoas Online (1)" | |
108 | - | |
109 | -#: app/templates/home_app.html:24 | |
110 | -msgid "Course" | |
111 | -msgstr "Curso" | |
112 | - | |
113 | -#: app/templates/home_app.html:27 | |
114 | -msgid "Manage Course" | |
115 | -msgstr "Gerenciar Curso" | |
116 | - | |
117 | -#: app/templates/home_app.html:35 | |
118 | -msgid "Courses" | |
119 | -msgstr "Cursos" | |
120 | - | |
121 | -#: app/templates/home_app.html:51 | |
122 | -msgid "You didn't create any course yet." | |
123 | -msgstr "Você não criou nenhum curso ainda." | |
124 | - | |
125 | -#: app/templates/home_app.html:59 | |
126 | -msgid "Goals" | |
127 | -msgstr "Metas" | |
128 | - | |
129 | -#~ msgid "Amadeus" | |
130 | -#~ msgstr "Amadeus" | |
1 | +# SOME DESCRIPTIVE TITLE. | |
2 | +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER | |
3 | +# This file is distributed under the same license as the PACKAGE package. | |
4 | +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | |
5 | +# | |
6 | +#, fuzzy | |
7 | +msgid "" | |
8 | +msgstr "" | |
9 | +"Project-Id-Version: PACKAGE VERSION\n" | |
10 | +"Report-Msgid-Bugs-To: \n" | |
11 | +"POT-Creation-Date: 2016-09-01 22:44-0300\n" | |
12 | +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | |
13 | +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | |
14 | +"Language-Team: LANGUAGE <LL@li.org>\n" | |
15 | +"Language: \n" | |
16 | +"MIME-Version: 1.0\n" | |
17 | +"Content-Type: text/plain; charset=UTF-8\n" | |
18 | +"Content-Transfer-Encoding: 8bit\n" | |
19 | +"Plural-Forms: nplurals=2; plural=(n > 1);\n" | |
20 | + | |
21 | +#: app/templates/app/base.html:10 | |
22 | +msgid "The Project" | |
23 | +msgstr "" | |
24 | + | |
25 | +#: app/templates/app/base.html:11 | |
26 | +msgid "CCTE Group" | |
27 | +msgstr "" | |
28 | + | |
29 | +#: app/templates/app/base.html:14 | |
30 | +msgid "Hi" | |
31 | +msgstr "" | |
32 | + | |
33 | +#: app/templates/app/base.html:16 | |
34 | +msgid "See Profile" | |
35 | +msgstr "" | |
36 | + | |
37 | +#: app/templates/app/base.html:17 | |
38 | +msgid "Settings" | |
39 | +msgstr "" | |
40 | + | |
41 | +#: app/templates/app/base.html:18 | |
42 | +msgid "Logout" | |
43 | +msgstr "" | |
44 | + | |
45 | +#: app/templates/app/index.html:6 | |
46 | +msgid "You have:" | |
47 | +msgstr "" | |
48 | + | |
49 | +#: app/templates/app/index.html:10 | |
50 | +msgid "Pending Tasks" | |
51 | +msgstr "" | |
52 | + | |
53 | +#: app/templates/app/index.html:14 | |
54 | +msgid "Users Online" | |
55 | +msgstr "" | |
56 | + | |
57 | +#: app/templates/app/index.html:20 | |
58 | +msgid "You can:" | |
59 | +msgstr "" | |
60 | + | |
61 | +#: app/templates/app/index.html:24 app/templates/home_app.html:26 | |
62 | +msgid "Create Course" | |
63 | +msgstr "Criar Curso" | |
64 | + | |
65 | +#: app/templates/app/index.html:29 | |
66 | +msgid "Manage Users" | |
67 | +msgstr "" | |
68 | + | |
69 | +#: app/templates/app/index.html:33 | |
70 | +msgid "Manage Courses" | |
71 | +msgstr "" | |
72 | + | |
73 | +#: app/templates/app/index.html:37 | |
74 | +msgid "Gerenciar Categorias" | |
75 | +msgstr "" | |
76 | + | |
77 | +#: app/templates/app/index.html:45 | |
78 | +msgid "Your course(s):" | |
79 | +msgstr "" | |
80 | + | |
81 | +#: app/templates/app/index.html:46 | |
82 | +msgid "No courses subscribed yet" | |
83 | +msgstr "" | |
84 | + | |
85 | +#: app/templates/app/index.html:56 | |
86 | +msgid "Search course:" | |
87 | +msgstr "" | |
88 | + | |
89 | +#: app/templates/app/index.html:62 | |
90 | +msgid "Search" | |
91 | +msgstr "" | |
92 | + | |
93 | +#: app/templates/app/index.html:67 | |
94 | +msgid "Most popular keywords:" | |
95 | +msgstr "" | |
96 | + | |
97 | +#: app/templates/home_app.html:14 | |
98 | +msgid "Home" | |
99 | +msgstr "Início" | |
100 | + | |
101 | +#: app/templates/home_app.html:22 | |
102 | +msgid "Pending tasks" | |
103 | +msgstr "Tarefas Pendentes" | |
104 | + | |
105 | +#: app/templates/home_app.html:23 | |
106 | +msgid "Users Online (1)" | |
107 | +msgstr "Pessoas Online (1)" | |
108 | + | |
109 | +#: app/templates/home_app.html:24 | |
110 | +msgid "Course" | |
111 | +msgstr "Curso" | |
112 | + | |
113 | +#: app/templates/home_app.html:27 | |
114 | +msgid "Manage Course" | |
115 | +msgstr "Gerenciar Curso" | |
116 | + | |
117 | +#: app/templates/home_app.html:35 | |
118 | +msgid "Courses" | |
119 | +msgstr "Cursos" | |
120 | + | |
121 | +#: app/templates/home_app.html:51 | |
122 | +msgid "You didn't create any course yet." | |
123 | +msgstr "Você não criou nenhum curso ainda." | |
124 | + | |
125 | +#: app/templates/home_app.html:59 | |
126 | +msgid "Goals" | |
127 | +msgstr "Metas" | |
128 | + | |
129 | +#~ msgid "Amadeus" | |
130 | +#~ msgstr "Amadeus" | ... | ... |
app/templates/home_app.html
1 | -{% extends 'base.html' %} | |
2 | - | |
3 | -{% load i18n %} | |
4 | - | |
5 | -{% block breadcrumbs %} | |
6 | - <div class="row"> | |
7 | - <div class="col-md-12"> | |
8 | - <h4>{{ user }}</h4> | |
9 | - </div> | |
10 | - </div> | |
11 | - <div class="row"> | |
12 | - <div class="col-md-12"> | |
13 | - <ul class="breadcrumb" style="margin-bottom: 5px;"> | |
14 | - <li><a href="{% url 'core:index' %}">{% trans 'Home' %}</a></li> | |
15 | - </ul> | |
16 | - </div> | |
17 | - </div> | |
18 | -{% endblock %} | |
19 | - | |
20 | -{% block sidebar %} | |
21 | - <div class="btn-group-vertical"> | |
22 | - <a href="javascript:void(0)" class="btn btn-raised">{% trans 'Pending tasks' %}</a> | |
23 | - <a href="javascript:void(0)" class="btn btn-raised" type="button" data-container="body" data-toggle="popover" data-placement="right" data-content="Gerson Rodriguez" >{% trans 'Users Online (1)' %}</a> | |
24 | - <a href="javascript:void(0)" class="btn btn-raised" button id="dLabel" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">{% trans 'Course' %} <span class="caret"></span></a> | |
25 | - <ul class="dropdown-menu" aria-labelledby="dLabel"> | |
26 | - <a href="{% url 'course:create' %}" class="btn btn">{% trans 'Create Course' %}</a> | |
27 | - <a href="{% url 'course:manage' %}" class="btn btn">{% trans 'Manage Course' %}</a> | |
28 | - </ul> | |
29 | - </div> | |
30 | -{% endblock %} | |
31 | - | |
32 | -{% block content %} | |
33 | - <h4> | |
34 | - <strong> | |
35 | - <center>{% trans 'Courses' %}</center> | |
36 | - </strong> | |
37 | - </h4> | |
38 | - | |
39 | - {% if courses|length > 0 %} | |
40 | - {% for course in courses %} | |
41 | - <button type="button" class="btn btn-primary" data-toggle="modal" data-target=".bs-{{ course.slug }}-modal-sm">{{ course }}</button> | |
42 | - <div class="modal fade bs-{{ course.slug }}-modal-sm" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel"> | |
43 | - <div class="modal-dialog modal-sm" role="document"> | |
44 | - <div class="modal-content"> | |
45 | - <p> {{ course }}</p> | |
46 | - </div> | |
47 | - </div> | |
48 | - </div> | |
49 | - {% endfor %} | |
50 | - {% else %} | |
51 | - <p>{% trans "You didn't create any course yet." %}</p> | |
52 | - {% endif %} | |
53 | -{% endblock %} | |
54 | - | |
55 | -{% block rightbar %} | |
56 | - <div class="bs-callout bs-callout-info" id="callout-helper-context-color-specificity"> | |
57 | - <h4> | |
58 | - <strong> | |
59 | - <center>{% trans 'Goals' %}</center> | |
60 | - </strong> | |
61 | - </h4> | |
62 | - <table class="table"> | |
63 | - <tr> | |
64 | - <th scope="row"><input type="checkbox"/></th> | |
65 | - <td>70% de Presenca nas aulas</td> | |
66 | - </tr> | |
67 | - <tr> | |
68 | - <th scope="row"><input type="checkbox"/></th> | |
69 | - <td>30/11 - Entrega das notas finais</td> | |
70 | - </tr> | |
71 | - </table> | |
72 | - </div> | |
73 | -{% endblock rightbar %} | |
1 | +{% extends 'base.html' %} | |
2 | + | |
3 | +{% load i18n %} | |
4 | + | |
5 | +{% block breadcrumbs %} | |
6 | + <div class="row"> | |
7 | + <div class="col-md-12"> | |
8 | + <h4>{{ user }}</h4> | |
9 | + </div> | |
10 | + </div> | |
11 | + <div class="row"> | |
12 | + <div class="col-md-12"> | |
13 | + <ul class="breadcrumb" style="margin-bottom: 5px;"> | |
14 | + <li><a href="{% url 'core:index' %}">{% trans 'Home' %}</a></li> | |
15 | + </ul> | |
16 | + </div> | |
17 | + </div> | |
18 | +{% endblock %} | |
19 | + | |
20 | +{% block sidebar %} | |
21 | + <div class="btn-group-vertical"> | |
22 | + <a href="javascript:void(0)" class="btn btn-raised">{% trans 'Pending tasks' %}</a> | |
23 | + <a href="javascript:void(0)" class="btn btn-raised" type="button" data-container="body" data-toggle="popover" data-placement="right" data-content="Gerson Rodriguez" >{% trans 'Users Online (1)' %}</a> | |
24 | + <a href="javascript:void(0)" class="btn btn-raised" button id="dLabel" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">{% trans 'Course' %} <span class="caret"></span></a> | |
25 | + <ul class="dropdown-menu" aria-labelledby="dLabel"> | |
26 | + <a href="{% url 'course:create' %}" class="btn btn">{% trans 'Create Course' %}</a> | |
27 | + <a href="{% url 'course:manage' %}" class="btn btn">{% trans 'Manage Course' %}</a> | |
28 | + </ul> | |
29 | + </div> | |
30 | +{% endblock %} | |
31 | + | |
32 | +{% block content %} | |
33 | + <h4> | |
34 | + <strong> | |
35 | + <center>{% trans 'Courses' %}</center> | |
36 | + </strong> | |
37 | + </h4> | |
38 | + | |
39 | + {% if courses|length > 0 %} | |
40 | + {% for course in courses %} | |
41 | + <button type="button" class="btn btn-primary" data-toggle="modal" data-target=".bs-{{ course.slug }}-modal-sm">{{ course }}</button> | |
42 | + <div class="modal fade bs-{{ course.slug }}-modal-sm" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel"> | |
43 | + <div class="modal-dialog modal-sm" role="document"> | |
44 | + <div class="modal-content"> | |
45 | + <p> {{ course }}</p> | |
46 | + </div> | |
47 | + </div> | |
48 | + </div> | |
49 | + {% endfor %} | |
50 | + {% else %} | |
51 | + <p>{% trans "You didn't create any course yet." %}</p> | |
52 | + {% endif %} | |
53 | +{% endblock %} | |
54 | + | |
55 | +{% block rightbar %} | |
56 | + <div class="bs-callout bs-callout-info" id="callout-helper-context-color-specificity"> | |
57 | + <h4> | |
58 | + <strong> | |
59 | + <center>{% trans 'Goals' %}</center> | |
60 | + </strong> | |
61 | + </h4> | |
62 | + <table class="table"> | |
63 | + <tr> | |
64 | + <th scope="row"><input type="checkbox"/></th> | |
65 | + <td>70% de Presenca nas aulas</td> | |
66 | + </tr> | |
67 | + <tr> | |
68 | + <th scope="row"><input type="checkbox"/></th> | |
69 | + <td>30/11 - Entrega das notas finais</td> | |
70 | + </tr> | |
71 | + </table> | |
72 | + </div> | |
73 | +{% endblock rightbar %} | ... | ... |
courses/locale/pt_BR/LC_MESSAGES/django.po
1 | -# SOME DESCRIPTIVE TITLE. | |
2 | -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER | |
3 | -# This file is distributed under the same license as the PACKAGE package. | |
4 | -# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | |
5 | -# | |
6 | -#, fuzzy | |
7 | -msgid "" | |
8 | -msgstr "" | |
9 | -"Project-Id-Version: PACKAGE VERSION\n" | |
10 | -"Report-Msgid-Bugs-To: \n" | |
11 | -"POT-Creation-Date: 2016-09-01 22:44-0300\n" | |
12 | -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | |
13 | -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | |
14 | -"Language-Team: LANGUAGE <LL@li.org>\n" | |
15 | -"Language: \n" | |
16 | -"MIME-Version: 1.0\n" | |
17 | -"Content-Type: text/plain; charset=UTF-8\n" | |
18 | -"Content-Transfer-Encoding: 8bit\n" | |
19 | -"Plural-Forms: nplurals=2; plural=(n > 1);\n" | |
20 | - | |
21 | -#: courses/forms.py:11 courses/forms.py:25 courses/forms.py:55 | |
22 | -#: courses/models.py:7 courses/models.py:20 courses/models.py:44 | |
23 | -#: courses/templates/category/index.html:38 | |
24 | -msgid "Name" | |
25 | -msgstr "" | |
26 | - | |
27 | -#: courses/forms.py:14 | |
28 | -msgid "Category name" | |
29 | -msgstr "" | |
30 | - | |
31 | -#: courses/forms.py:26 | |
32 | -msgid "Objectives" | |
33 | -msgstr "" | |
34 | - | |
35 | -#: courses/forms.py:27 courses/models.py:23 | |
36 | -msgid "Content" | |
37 | -msgstr "" | |
38 | - | |
39 | -#: courses/forms.py:28 | |
40 | -msgid "Number of studets maximum" | |
41 | -msgstr "" | |
42 | - | |
43 | -#: courses/forms.py:29 | |
44 | -msgid "Course registration start date" | |
45 | -msgstr "" | |
46 | - | |
47 | -#: courses/forms.py:30 | |
48 | -msgid "Course registration end date" | |
49 | -msgstr "" | |
50 | - | |
51 | -#: courses/forms.py:31 | |
52 | -msgid "Course start date" | |
53 | -msgstr "" | |
54 | - | |
55 | -#: courses/forms.py:32 | |
56 | -msgid "Course end date" | |
57 | -msgstr "" | |
58 | - | |
59 | -#: courses/forms.py:33 courses/models.py:30 | |
60 | -msgid "Image" | |
61 | -msgstr "" | |
62 | - | |
63 | -#: courses/forms.py:34 courses/models.py:12 courses/models.py:31 | |
64 | -msgid "Category" | |
65 | -msgstr "" | |
66 | - | |
67 | -#: courses/forms.py:37 | |
68 | -msgid "Course name" | |
69 | -msgstr "" | |
70 | - | |
71 | -#: courses/forms.py:38 | |
72 | -msgid "Course objective" | |
73 | -msgstr "" | |
74 | - | |
75 | -#: courses/forms.py:39 | |
76 | -msgid "Course modules" | |
77 | -msgstr "" | |
78 | - | |
79 | -#: courses/forms.py:40 | |
80 | -msgid "Max number of students that a class can have" | |
81 | -msgstr "" | |
82 | - | |
83 | -#: courses/forms.py:41 | |
84 | -msgid "Date that starts the registration period of the course (dd/mm/yyyy)" | |
85 | -msgstr "" | |
86 | - | |
87 | -#: courses/forms.py:42 | |
88 | -msgid "Date that ends the registration period of the course (dd/mm/yyyy)" | |
89 | -msgstr "" | |
90 | - | |
91 | -#: courses/forms.py:43 | |
92 | -msgid "Date that the course starts (dd/mm/yyyy)" | |
93 | -msgstr "" | |
94 | - | |
95 | -#: courses/forms.py:44 | |
96 | -msgid "Date that the course ends (dd/mm/yyyy)" | |
97 | -msgstr "" | |
98 | - | |
99 | -#: courses/forms.py:45 | |
100 | -msgid "Representative image of the course" | |
101 | -msgstr "" | |
102 | - | |
103 | -#: courses/forms.py:46 | |
104 | -msgid "Category which the course belongs" | |
105 | -msgstr "" | |
106 | - | |
107 | -#: courses/forms.py:56 courses/models.py:46 | |
108 | -msgid "Description" | |
109 | -msgstr "" | |
110 | - | |
111 | -#: courses/forms.py:57 | |
112 | -msgid "Is it visible?" | |
113 | -msgstr "" | |
114 | - | |
115 | -#: courses/forms.py:60 | |
116 | -msgid "Module's name" | |
117 | -msgstr "" | |
118 | - | |
119 | -#: courses/forms.py:61 | |
120 | -msgid "Modules's description" | |
121 | -msgstr "" | |
122 | - | |
123 | -#: courses/forms.py:62 | |
124 | -msgid "Is the module visible?" | |
125 | -msgstr "" | |
126 | - | |
127 | -#: courses/models.py:8 courses/models.py:21 courses/models.py:45 | |
128 | -#: courses/templates/category/index.html:39 | |
129 | -msgid "Slug" | |
130 | -msgstr "" | |
131 | - | |
132 | -#: courses/models.py:9 courses/models.py:25 courses/models.py:48 | |
133 | -msgid "Creation Date" | |
134 | -msgstr "" | |
135 | - | |
136 | -#: courses/models.py:13 courses/templates/category/create.html:16 | |
137 | -#: courses/templates/category/delete.html:15 | |
138 | -#: courses/templates/category/index.html:15 | |
139 | -#: courses/templates/category/update.html:16 | |
140 | -#: courses/templates/category/view.html:15 | |
141 | -msgid "Categories" | |
142 | -msgstr "" | |
143 | - | |
144 | -#: courses/models.py:22 | |
145 | -msgid "Objectivies" | |
146 | -msgstr "" | |
147 | - | |
148 | -#: courses/models.py:24 | |
149 | -msgid "Maximum Students" | |
150 | -msgstr "" | |
151 | - | |
152 | -#: courses/models.py:26 | |
153 | -msgid "Register Date (Begin)" | |
154 | -msgstr "" | |
155 | - | |
156 | -#: courses/models.py:27 | |
157 | -msgid "Register Date (End)" | |
158 | -msgstr "" | |
159 | - | |
160 | -#: courses/models.py:28 | |
161 | -msgid "Begin of Course Date" | |
162 | -msgstr "" | |
163 | - | |
164 | -#: courses/models.py:29 | |
165 | -msgid "End of Course Date" | |
166 | -msgstr "" | |
167 | - | |
168 | -#: courses/models.py:32 | |
169 | -msgid "User" | |
170 | -msgstr "" | |
171 | - | |
172 | -#: courses/models.py:36 courses/models.py:49 | |
173 | -msgid "Course" | |
174 | -msgstr "" | |
175 | - | |
176 | -#: courses/models.py:37 courses/templates/course/create.html:16 | |
177 | -#: courses/templates/course/delete.html:15 | |
178 | -#: courses/templates/course/filtered.html:8 | |
179 | -#: courses/templates/course/index.html:15 | |
180 | -#: courses/templates/course/update.html:16 | |
181 | -#: courses/templates/course/view.html:15 | |
182 | -#: courses/templates/module/create.html:17 | |
183 | -#: courses/templates/module/delete.html:16 | |
184 | -#: courses/templates/module/index.html:16 | |
185 | -#: courses/templates/module/update.html:17 | |
186 | -msgid "Courses" | |
187 | -msgstr "" | |
188 | - | |
189 | -#: courses/models.py:47 courses/templates/module/index.html:107 | |
190 | -msgid "Visible" | |
191 | -msgstr "" | |
192 | - | |
193 | -#: courses/models.py:53 | |
194 | -msgid "Module" | |
195 | -msgstr "" | |
196 | - | |
197 | -#: courses/models.py:54 courses/templates/module/index.html:92 | |
198 | -msgid "Modules" | |
199 | -msgstr "" | |
200 | - | |
201 | -#: courses/templates/category/create.html:8 | |
202 | -#: courses/templates/category/delete.html:7 | |
203 | -#: courses/templates/category/index.html:7 | |
204 | -#: courses/templates/category/update.html:8 | |
205 | -#: courses/templates/category/view.html:7 | |
206 | -#: courses/templates/course/create.html:8 | |
207 | -#: courses/templates/course/delete.html:7 courses/templates/course/index.html:7 | |
208 | -#: courses/templates/course/update.html:8 courses/templates/course/view.html:7 | |
209 | -#: courses/templates/module/create.html:8 | |
210 | -#: courses/templates/module/delete.html:7 courses/templates/module/index.html:7 | |
211 | -#: courses/templates/module/update.html:8 | |
212 | -msgid "Home" | |
213 | -msgstr "" | |
214 | - | |
215 | -#: courses/templates/category/create.html:9 | |
216 | -#: courses/templates/category/delete.html:18 | |
217 | -#: courses/templates/category/index.html:18 | |
218 | -#: courses/templates/category/view.html:18 | |
219 | -msgid "Create Category" | |
220 | -msgstr "" | |
221 | - | |
222 | -#: courses/templates/category/create.html:26 | |
223 | -#: courses/templates/category/update.html:26 | |
224 | -#: courses/templates/course/create.html:26 | |
225 | -#: courses/templates/course/update.html:32 | |
226 | -#: courses/templates/module/create.html:52 | |
227 | -#: courses/templates/module/update.html:52 | |
228 | -msgid "All fields are required" | |
229 | -msgstr "" | |
230 | - | |
231 | -#: courses/templates/category/create.html:51 | |
232 | -#: courses/templates/category/update.html:51 | |
233 | -#: courses/templates/course/create.html:51 | |
234 | -#: courses/templates/course/update.html:57 | |
235 | -#: courses/templates/module/create.html:77 | |
236 | -#: courses/templates/module/update.html:77 | |
237 | -msgid "Save" | |
238 | -msgstr "" | |
239 | - | |
240 | -#: courses/templates/category/delete.html:8 | |
241 | -#: courses/templates/category/index.html:8 | |
242 | -msgid "Manage Categories" | |
243 | -msgstr "" | |
244 | - | |
245 | -#: courses/templates/category/delete.html:26 | |
246 | -msgid "Are you sure you want to delete the category" | |
247 | -msgstr "" | |
248 | - | |
249 | -#: courses/templates/category/delete.html:27 | |
250 | -#: courses/templates/course/delete.html:28 | |
251 | -#: courses/templates/module/delete.html:50 | |
252 | -msgid "Yes" | |
253 | -msgstr "" | |
254 | - | |
255 | -#: courses/templates/category/delete.html:28 | |
256 | -#: courses/templates/course/delete.html:29 | |
257 | -#: courses/templates/module/delete.html:51 | |
258 | -msgid "No" | |
259 | -msgstr "" | |
260 | - | |
261 | -#: courses/templates/category/index.html:40 | |
262 | -msgid "Actions" | |
263 | -msgstr "" | |
264 | - | |
265 | -#: courses/templates/category/index.html:59 | |
266 | -msgid "No categories found" | |
267 | -msgstr "" | |
268 | - | |
269 | -#: courses/templates/category/update.html:9 | |
270 | -#: courses/templates/category/view.html:21 | |
271 | -msgid "Edit Category" | |
272 | -msgstr "" | |
273 | - | |
274 | -#: courses/templates/category/view.html:24 | |
275 | -msgid "Remove Category" | |
276 | -msgstr "" | |
277 | - | |
278 | -#: courses/templates/category/view.html:32 | |
279 | -msgid "Name:" | |
280 | -msgstr "" | |
281 | - | |
282 | -#: courses/templates/category/view.html:33 | |
283 | -msgid "Slug:" | |
284 | -msgstr "" | |
285 | - | |
286 | -#: courses/templates/course/create.html:9 | |
287 | -#: courses/templates/course/delete.html:18 | |
288 | -#: courses/templates/course/filtered.html:11 | |
289 | -#: courses/templates/course/index.html:18 courses/templates/course/view.html:25 | |
290 | -#: courses/templates/module/create.html:20 | |
291 | -#: courses/templates/module/delete.html:19 | |
292 | -#: courses/templates/module/index.html:26 | |
293 | -#: courses/templates/module/update.html:20 | |
294 | -msgid "Create Course" | |
295 | -msgstr "" | |
296 | - | |
297 | -#: courses/templates/course/delete.html:27 | |
298 | -msgid "Are you sure you want to delete the couse" | |
299 | -msgstr "" | |
300 | - | |
301 | -#: courses/templates/course/filtered.html:19 | |
302 | -#: courses/templates/course/index.html:26 | |
303 | -msgid "Categories:" | |
304 | -msgstr "" | |
305 | - | |
306 | -#: courses/templates/course/index.html:8 | |
307 | -msgid "Manage Courses" | |
308 | -msgstr "" | |
309 | - | |
310 | -#: courses/templates/course/index.html:80 | |
311 | -msgid "students tops" | |
312 | -msgstr "" | |
313 | - | |
314 | -#: courses/templates/course/index.html:86 | |
315 | -msgid "Subscribe Period:" | |
316 | -msgstr "" | |
317 | - | |
318 | -#: courses/templates/course/index.html:88 courses/templates/course/view.html:59 | |
319 | -#: courses/templates/module/index.html:83 | |
320 | -msgid "Period:" | |
321 | -msgstr "" | |
322 | - | |
323 | -#: courses/templates/course/index.html:104 | |
324 | -msgid "No courses found" | |
325 | -msgstr "" | |
326 | - | |
327 | -#: courses/templates/course/update.html:9 courses/templates/course/view.html:28 | |
328 | -#: courses/templates/module/create.html:26 | |
329 | -#: courses/templates/module/delete.html:25 | |
330 | -#: courses/templates/module/index.html:29 | |
331 | -#: courses/templates/module/update.html:26 | |
332 | -msgid "Edit Course" | |
333 | -msgstr "" | |
334 | - | |
335 | -#: courses/templates/course/update.html:19 | |
336 | -#: courses/templates/course/view.html:21 | |
337 | -#: courses/templates/module/create.html:29 | |
338 | -#: courses/templates/module/delete.html:9 | |
339 | -#: courses/templates/module/delete.html:28 | |
340 | -#: courses/templates/module/index.html:9 courses/templates/module/index.html:22 | |
341 | -#: courses/templates/module/update.html:29 | |
342 | -msgid "Manage Modules" | |
343 | -msgstr "" | |
344 | - | |
345 | -#: courses/templates/course/update.html:22 | |
346 | -#: courses/templates/course/view.html:31 | |
347 | -#: courses/templates/module/create.html:32 | |
348 | -#: courses/templates/module/delete.html:31 | |
349 | -#: courses/templates/module/index.html:32 | |
350 | -#: courses/templates/module/update.html:32 | |
351 | -msgid "Participants" | |
352 | -msgstr "" | |
353 | - | |
354 | -#: courses/templates/course/view.html:18 | |
355 | -#: courses/templates/module/create.html:23 | |
356 | -#: courses/templates/module/delete.html:22 | |
357 | -#: courses/templates/module/index.html:19 | |
358 | -#: courses/templates/module/update.html:23 | |
359 | -msgid "Course Info" | |
360 | -msgstr "" | |
361 | - | |
362 | -#: courses/templates/course/view.html:34 | |
363 | -#: courses/templates/module/create.html:35 | |
364 | -#: courses/templates/module/delete.html:34 | |
365 | -#: courses/templates/module/index.html:35 | |
366 | -#: courses/templates/module/update.html:35 | |
367 | -msgid "Course avaliations" | |
368 | -msgstr "" | |
369 | - | |
370 | -#: courses/templates/course/view.html:37 | |
371 | -#: courses/templates/module/create.html:38 | |
372 | -#: courses/templates/module/delete.html:37 | |
373 | -#: courses/templates/module/index.html:38 | |
374 | -#: courses/templates/module/update.html:38 | |
375 | -msgid "Duplicate Course" | |
376 | -msgstr "" | |
377 | - | |
378 | -#: courses/templates/course/view.html:40 | |
379 | -#: courses/templates/module/create.html:41 | |
380 | -#: courses/templates/module/delete.html:40 | |
381 | -#: courses/templates/module/index.html:41 | |
382 | -#: courses/templates/module/update.html:41 | |
383 | -msgid "Delete Course" | |
384 | -msgstr "" | |
385 | - | |
386 | -#: courses/templates/course/view.html:56 | |
387 | -msgid "Subscribes:" | |
388 | -msgstr "" | |
389 | - | |
390 | -#: courses/templates/course/view.html:66 | |
391 | -msgid "Objectives:" | |
392 | -msgstr "" | |
393 | - | |
394 | -#: courses/templates/course/view.html:69 | |
395 | -msgid "Work Plan:" | |
396 | -msgstr "" | |
397 | - | |
398 | -#: courses/templates/module/create.html:10 | |
399 | -#: courses/templates/module/index.html:70 | |
400 | -msgid "Create Module" | |
401 | -msgstr "" | |
402 | - | |
403 | -#: courses/templates/module/delete.html:49 | |
404 | -msgid "Are you sure you want to delete the module" | |
405 | -msgstr "" | |
406 | - | |
407 | -#: courses/templates/module/index.html:80 | |
408 | -msgid "students maximum" | |
409 | -msgstr "" | |
410 | - | |
411 | -#: courses/templates/module/index.html:109 | |
412 | -msgid "Invisible" | |
413 | -msgstr "" | |
414 | - | |
415 | -#: courses/templates/module/index.html:125 | |
416 | -msgid "No modules found" | |
417 | -msgstr "" | |
418 | - | |
419 | -#: courses/templates/module/update.html:10 | |
420 | -msgid "Edit Module" | |
421 | -msgstr "" | |
422 | - | |
423 | -#: courses/views.py:48 | |
424 | -msgid "Course created successfully!" | |
425 | -msgstr "" | |
426 | - | |
427 | -#: courses/views.py:70 | |
428 | -msgid "Course edited successfully!" | |
429 | -msgstr "" | |
430 | - | |
431 | -#: courses/views.py:92 | |
432 | -msgid "Course deleted successfully!" | |
433 | -msgstr "" | |
434 | - | |
435 | -#: courses/views.py:142 | |
436 | -msgid "Category created successfully!" | |
437 | -msgstr "" | |
438 | - | |
439 | -#: courses/views.py:164 | |
440 | -msgid "Category edited successfully!" | |
441 | -msgstr "" | |
442 | - | |
443 | -#: courses/views.py:185 | |
444 | -msgid "Category deleted successfully!" | |
445 | -msgstr "" | |
446 | - | |
447 | -#: courses/views.py:237 | |
448 | -msgid "Module created successfully!" | |
449 | -msgstr "" | |
450 | - | |
451 | -#: courses/views.py:268 | |
452 | -msgid "Module edited successfully!" | |
453 | -msgstr "" | |
454 | - | |
455 | -#: courses/views.py:291 | |
456 | -msgid "Module deleted successfully!" | |
457 | -msgstr "" | |
1 | +# SOME DESCRIPTIVE TITLE. | |
2 | +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER | |
3 | +# This file is distributed under the same license as the PACKAGE package. | |
4 | +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | |
5 | +# | |
6 | +#, fuzzy | |
7 | +msgid "" | |
8 | +msgstr "" | |
9 | +"Project-Id-Version: PACKAGE VERSION\n" | |
10 | +"Report-Msgid-Bugs-To: \n" | |
11 | +"POT-Creation-Date: 2016-09-01 22:44-0300\n" | |
12 | +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | |
13 | +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | |
14 | +"Language-Team: LANGUAGE <LL@li.org>\n" | |
15 | +"Language: \n" | |
16 | +"MIME-Version: 1.0\n" | |
17 | +"Content-Type: text/plain; charset=UTF-8\n" | |
18 | +"Content-Transfer-Encoding: 8bit\n" | |
19 | +"Plural-Forms: nplurals=2; plural=(n > 1);\n" | |
20 | + | |
21 | +#: courses/forms.py:11 courses/forms.py:25 courses/forms.py:55 | |
22 | +#: courses/models.py:7 courses/models.py:20 courses/models.py:44 | |
23 | +#: courses/templates/category/index.html:38 | |
24 | +msgid "Name" | |
25 | +msgstr "" | |
26 | + | |
27 | +#: courses/forms.py:14 | |
28 | +msgid "Category name" | |
29 | +msgstr "" | |
30 | + | |
31 | +#: courses/forms.py:26 | |
32 | +msgid "Objectives" | |
33 | +msgstr "" | |
34 | + | |
35 | +#: courses/forms.py:27 courses/models.py:23 | |
36 | +msgid "Content" | |
37 | +msgstr "" | |
38 | + | |
39 | +#: courses/forms.py:28 | |
40 | +msgid "Number of studets maximum" | |
41 | +msgstr "" | |
42 | + | |
43 | +#: courses/forms.py:29 | |
44 | +msgid "Course registration start date" | |
45 | +msgstr "" | |
46 | + | |
47 | +#: courses/forms.py:30 | |
48 | +msgid "Course registration end date" | |
49 | +msgstr "" | |
50 | + | |
51 | +#: courses/forms.py:31 | |
52 | +msgid "Course start date" | |
53 | +msgstr "" | |
54 | + | |
55 | +#: courses/forms.py:32 | |
56 | +msgid "Course end date" | |
57 | +msgstr "" | |
58 | + | |
59 | +#: courses/forms.py:33 courses/models.py:30 | |
60 | +msgid "Image" | |
61 | +msgstr "" | |
62 | + | |
63 | +#: courses/forms.py:34 courses/models.py:12 courses/models.py:31 | |
64 | +msgid "Category" | |
65 | +msgstr "" | |
66 | + | |
67 | +#: courses/forms.py:37 | |
68 | +msgid "Course name" | |
69 | +msgstr "" | |
70 | + | |
71 | +#: courses/forms.py:38 | |
72 | +msgid "Course objective" | |
73 | +msgstr "" | |
74 | + | |
75 | +#: courses/forms.py:39 | |
76 | +msgid "Course modules" | |
77 | +msgstr "" | |
78 | + | |
79 | +#: courses/forms.py:40 | |
80 | +msgid "Max number of students that a class can have" | |
81 | +msgstr "" | |
82 | + | |
83 | +#: courses/forms.py:41 | |
84 | +msgid "Date that starts the registration period of the course (dd/mm/yyyy)" | |
85 | +msgstr "" | |
86 | + | |
87 | +#: courses/forms.py:42 | |
88 | +msgid "Date that ends the registration period of the course (dd/mm/yyyy)" | |
89 | +msgstr "" | |
90 | + | |
91 | +#: courses/forms.py:43 | |
92 | +msgid "Date that the course starts (dd/mm/yyyy)" | |
93 | +msgstr "" | |
94 | + | |
95 | +#: courses/forms.py:44 | |
96 | +msgid "Date that the course ends (dd/mm/yyyy)" | |
97 | +msgstr "" | |
98 | + | |
99 | +#: courses/forms.py:45 | |
100 | +msgid "Representative image of the course" | |
101 | +msgstr "" | |
102 | + | |
103 | +#: courses/forms.py:46 | |
104 | +msgid "Category which the course belongs" | |
105 | +msgstr "" | |
106 | + | |
107 | +#: courses/forms.py:56 courses/models.py:46 | |
108 | +msgid "Description" | |
109 | +msgstr "" | |
110 | + | |
111 | +#: courses/forms.py:57 | |
112 | +msgid "Is it visible?" | |
113 | +msgstr "" | |
114 | + | |
115 | +#: courses/forms.py:60 | |
116 | +msgid "Module's name" | |
117 | +msgstr "" | |
118 | + | |
119 | +#: courses/forms.py:61 | |
120 | +msgid "Modules's description" | |
121 | +msgstr "" | |
122 | + | |
123 | +#: courses/forms.py:62 | |
124 | +msgid "Is the module visible?" | |
125 | +msgstr "" | |
126 | + | |
127 | +#: courses/models.py:8 courses/models.py:21 courses/models.py:45 | |
128 | +#: courses/templates/category/index.html:39 | |
129 | +msgid "Slug" | |
130 | +msgstr "" | |
131 | + | |
132 | +#: courses/models.py:9 courses/models.py:25 courses/models.py:48 | |
133 | +msgid "Creation Date" | |
134 | +msgstr "" | |
135 | + | |
136 | +#: courses/models.py:13 courses/templates/category/create.html:16 | |
137 | +#: courses/templates/category/delete.html:15 | |
138 | +#: courses/templates/category/index.html:15 | |
139 | +#: courses/templates/category/update.html:16 | |
140 | +#: courses/templates/category/view.html:15 | |
141 | +msgid "Categories" | |
142 | +msgstr "" | |
143 | + | |
144 | +#: courses/models.py:22 | |
145 | +msgid "Objectivies" | |
146 | +msgstr "" | |
147 | + | |
148 | +#: courses/models.py:24 | |
149 | +msgid "Maximum Students" | |
150 | +msgstr "" | |
151 | + | |
152 | +#: courses/models.py:26 | |
153 | +msgid "Register Date (Begin)" | |
154 | +msgstr "" | |
155 | + | |
156 | +#: courses/models.py:27 | |
157 | +msgid "Register Date (End)" | |
158 | +msgstr "" | |
159 | + | |
160 | +#: courses/models.py:28 | |
161 | +msgid "Begin of Course Date" | |
162 | +msgstr "" | |
163 | + | |
164 | +#: courses/models.py:29 | |
165 | +msgid "End of Course Date" | |
166 | +msgstr "" | |
167 | + | |
168 | +#: courses/models.py:32 | |
169 | +msgid "User" | |
170 | +msgstr "" | |
171 | + | |
172 | +#: courses/models.py:36 courses/models.py:49 | |
173 | +msgid "Course" | |
174 | +msgstr "" | |
175 | + | |
176 | +#: courses/models.py:37 courses/templates/course/create.html:16 | |
177 | +#: courses/templates/course/delete.html:15 | |
178 | +#: courses/templates/course/filtered.html:8 | |
179 | +#: courses/templates/course/index.html:15 | |
180 | +#: courses/templates/course/update.html:16 | |
181 | +#: courses/templates/course/view.html:15 | |
182 | +#: courses/templates/module/create.html:17 | |
183 | +#: courses/templates/module/delete.html:16 | |
184 | +#: courses/templates/module/index.html:16 | |
185 | +#: courses/templates/module/update.html:17 | |
186 | +msgid "Courses" | |
187 | +msgstr "" | |
188 | + | |
189 | +#: courses/models.py:47 courses/templates/module/index.html:107 | |
190 | +msgid "Visible" | |
191 | +msgstr "" | |
192 | + | |
193 | +#: courses/models.py:53 | |
194 | +msgid "Module" | |
195 | +msgstr "" | |
196 | + | |
197 | +#: courses/models.py:54 courses/templates/module/index.html:92 | |
198 | +msgid "Modules" | |
199 | +msgstr "" | |
200 | + | |
201 | +#: courses/templates/category/create.html:8 | |
202 | +#: courses/templates/category/delete.html:7 | |
203 | +#: courses/templates/category/index.html:7 | |
204 | +#: courses/templates/category/update.html:8 | |
205 | +#: courses/templates/category/view.html:7 | |
206 | +#: courses/templates/course/create.html:8 | |
207 | +#: courses/templates/course/delete.html:7 courses/templates/course/index.html:7 | |
208 | +#: courses/templates/course/update.html:8 courses/templates/course/view.html:7 | |
209 | +#: courses/templates/module/create.html:8 | |
210 | +#: courses/templates/module/delete.html:7 courses/templates/module/index.html:7 | |
211 | +#: courses/templates/module/update.html:8 | |
212 | +msgid "Home" | |
213 | +msgstr "" | |
214 | + | |
215 | +#: courses/templates/category/create.html:9 | |
216 | +#: courses/templates/category/delete.html:18 | |
217 | +#: courses/templates/category/index.html:18 | |
218 | +#: courses/templates/category/view.html:18 | |
219 | +msgid "Create Category" | |
220 | +msgstr "" | |
221 | + | |
222 | +#: courses/templates/category/create.html:26 | |
223 | +#: courses/templates/category/update.html:26 | |
224 | +#: courses/templates/course/create.html:26 | |
225 | +#: courses/templates/course/update.html:32 | |
226 | +#: courses/templates/module/create.html:52 | |
227 | +#: courses/templates/module/update.html:52 | |
228 | +msgid "All fields are required" | |
229 | +msgstr "" | |
230 | + | |
231 | +#: courses/templates/category/create.html:51 | |
232 | +#: courses/templates/category/update.html:51 | |
233 | +#: courses/templates/course/create.html:51 | |
234 | +#: courses/templates/course/update.html:57 | |
235 | +#: courses/templates/module/create.html:77 | |
236 | +#: courses/templates/module/update.html:77 | |
237 | +msgid "Save" | |
238 | +msgstr "" | |
239 | + | |
240 | +#: courses/templates/category/delete.html:8 | |
241 | +#: courses/templates/category/index.html:8 | |
242 | +msgid "Manage Categories" | |
243 | +msgstr "" | |
244 | + | |
245 | +#: courses/templates/category/delete.html:26 | |
246 | +msgid "Are you sure you want to delete the category" | |
247 | +msgstr "" | |
248 | + | |
249 | +#: courses/templates/category/delete.html:27 | |
250 | +#: courses/templates/course/delete.html:28 | |
251 | +#: courses/templates/module/delete.html:50 | |
252 | +msgid "Yes" | |
253 | +msgstr "" | |
254 | + | |
255 | +#: courses/templates/category/delete.html:28 | |
256 | +#: courses/templates/course/delete.html:29 | |
257 | +#: courses/templates/module/delete.html:51 | |
258 | +msgid "No" | |
259 | +msgstr "" | |
260 | + | |
261 | +#: courses/templates/category/index.html:40 | |
262 | +msgid "Actions" | |
263 | +msgstr "" | |
264 | + | |
265 | +#: courses/templates/category/index.html:59 | |
266 | +msgid "No categories found" | |
267 | +msgstr "" | |
268 | + | |
269 | +#: courses/templates/category/update.html:9 | |
270 | +#: courses/templates/category/view.html:21 | |
271 | +msgid "Edit Category" | |
272 | +msgstr "" | |
273 | + | |
274 | +#: courses/templates/category/view.html:24 | |
275 | +msgid "Remove Category" | |
276 | +msgstr "" | |
277 | + | |
278 | +#: courses/templates/category/view.html:32 | |
279 | +msgid "Name:" | |
280 | +msgstr "" | |
281 | + | |
282 | +#: courses/templates/category/view.html:33 | |
283 | +msgid "Slug:" | |
284 | +msgstr "" | |
285 | + | |
286 | +#: courses/templates/course/create.html:9 | |
287 | +#: courses/templates/course/delete.html:18 | |
288 | +#: courses/templates/course/filtered.html:11 | |
289 | +#: courses/templates/course/index.html:18 courses/templates/course/view.html:25 | |
290 | +#: courses/templates/module/create.html:20 | |
291 | +#: courses/templates/module/delete.html:19 | |
292 | +#: courses/templates/module/index.html:26 | |
293 | +#: courses/templates/module/update.html:20 | |
294 | +msgid "Create Course" | |
295 | +msgstr "" | |
296 | + | |
297 | +#: courses/templates/course/delete.html:27 | |
298 | +msgid "Are you sure you want to delete the couse" | |
299 | +msgstr "" | |
300 | + | |
301 | +#: courses/templates/course/filtered.html:19 | |
302 | +#: courses/templates/course/index.html:26 | |
303 | +msgid "Categories:" | |
304 | +msgstr "" | |
305 | + | |
306 | +#: courses/templates/course/index.html:8 | |
307 | +msgid "Manage Courses" | |
308 | +msgstr "" | |
309 | + | |
310 | +#: courses/templates/course/index.html:80 | |
311 | +msgid "students tops" | |
312 | +msgstr "" | |
313 | + | |
314 | +#: courses/templates/course/index.html:86 | |
315 | +msgid "Subscribe Period:" | |
316 | +msgstr "" | |
317 | + | |
318 | +#: courses/templates/course/index.html:88 courses/templates/course/view.html:59 | |
319 | +#: courses/templates/module/index.html:83 | |
320 | +msgid "Period:" | |
321 | +msgstr "" | |
322 | + | |
323 | +#: courses/templates/course/index.html:104 | |
324 | +msgid "No courses found" | |
325 | +msgstr "" | |
326 | + | |
327 | +#: courses/templates/course/update.html:9 courses/templates/course/view.html:28 | |
328 | +#: courses/templates/module/create.html:26 | |
329 | +#: courses/templates/module/delete.html:25 | |
330 | +#: courses/templates/module/index.html:29 | |
331 | +#: courses/templates/module/update.html:26 | |
332 | +msgid "Edit Course" | |
333 | +msgstr "" | |
334 | + | |
335 | +#: courses/templates/course/update.html:19 | |
336 | +#: courses/templates/course/view.html:21 | |
337 | +#: courses/templates/module/create.html:29 | |
338 | +#: courses/templates/module/delete.html:9 | |
339 | +#: courses/templates/module/delete.html:28 | |
340 | +#: courses/templates/module/index.html:9 courses/templates/module/index.html:22 | |
341 | +#: courses/templates/module/update.html:29 | |
342 | +msgid "Manage Modules" | |
343 | +msgstr "" | |
344 | + | |
345 | +#: courses/templates/course/update.html:22 | |
346 | +#: courses/templates/course/view.html:31 | |
347 | +#: courses/templates/module/create.html:32 | |
348 | +#: courses/templates/module/delete.html:31 | |
349 | +#: courses/templates/module/index.html:32 | |
350 | +#: courses/templates/module/update.html:32 | |
351 | +msgid "Participants" | |
352 | +msgstr "" | |
353 | + | |
354 | +#: courses/templates/course/view.html:18 | |
355 | +#: courses/templates/module/create.html:23 | |
356 | +#: courses/templates/module/delete.html:22 | |
357 | +#: courses/templates/module/index.html:19 | |
358 | +#: courses/templates/module/update.html:23 | |
359 | +msgid "Course Info" | |
360 | +msgstr "" | |
361 | + | |
362 | +#: courses/templates/course/view.html:34 | |
363 | +#: courses/templates/module/create.html:35 | |
364 | +#: courses/templates/module/delete.html:34 | |
365 | +#: courses/templates/module/index.html:35 | |
366 | +#: courses/templates/module/update.html:35 | |
367 | +msgid "Course avaliations" | |
368 | +msgstr "" | |
369 | + | |
370 | +#: courses/templates/course/view.html:37 | |
371 | +#: courses/templates/module/create.html:38 | |
372 | +#: courses/templates/module/delete.html:37 | |
373 | +#: courses/templates/module/index.html:38 | |
374 | +#: courses/templates/module/update.html:38 | |
375 | +msgid "Duplicate Course" | |
376 | +msgstr "" | |
377 | + | |
378 | +#: courses/templates/course/view.html:40 | |
379 | +#: courses/templates/module/create.html:41 | |
380 | +#: courses/templates/module/delete.html:40 | |
381 | +#: courses/templates/module/index.html:41 | |
382 | +#: courses/templates/module/update.html:41 | |
383 | +msgid "Delete Course" | |
384 | +msgstr "" | |
385 | + | |
386 | +#: courses/templates/course/view.html:56 | |
387 | +msgid "Subscribes:" | |
388 | +msgstr "" | |
389 | + | |
390 | +#: courses/templates/course/view.html:66 | |
391 | +msgid "Objectives:" | |
392 | +msgstr "" | |
393 | + | |
394 | +#: courses/templates/course/view.html:69 | |
395 | +msgid "Work Plan:" | |
396 | +msgstr "" | |
397 | + | |
398 | +#: courses/templates/module/create.html:10 | |
399 | +#: courses/templates/module/index.html:70 | |
400 | +msgid "Create Module" | |
401 | +msgstr "" | |
402 | + | |
403 | +#: courses/templates/module/delete.html:49 | |
404 | +msgid "Are you sure you want to delete the module" | |
405 | +msgstr "" | |
406 | + | |
407 | +#: courses/templates/module/index.html:80 | |
408 | +msgid "students maximum" | |
409 | +msgstr "" | |
410 | + | |
411 | +#: courses/templates/module/index.html:109 | |
412 | +msgid "Invisible" | |
413 | +msgstr "" | |
414 | + | |
415 | +#: courses/templates/module/index.html:125 | |
416 | +msgid "No modules found" | |
417 | +msgstr "" | |
418 | + | |
419 | +#: courses/templates/module/update.html:10 | |
420 | +msgid "Edit Module" | |
421 | +msgstr "" | |
422 | + | |
423 | +#: courses/views.py:48 | |
424 | +msgid "Course created successfully!" | |
425 | +msgstr "" | |
426 | + | |
427 | +#: courses/views.py:70 | |
428 | +msgid "Course edited successfully!" | |
429 | +msgstr "" | |
430 | + | |
431 | +#: courses/views.py:92 | |
432 | +msgid "Course deleted successfully!" | |
433 | +msgstr "" | |
434 | + | |
435 | +#: courses/views.py:142 | |
436 | +msgid "Category created successfully!" | |
437 | +msgstr "" | |
438 | + | |
439 | +#: courses/views.py:164 | |
440 | +msgid "Category edited successfully!" | |
441 | +msgstr "" | |
442 | + | |
443 | +#: courses/views.py:185 | |
444 | +msgid "Category deleted successfully!" | |
445 | +msgstr "" | |
446 | + | |
447 | +#: courses/views.py:237 | |
448 | +msgid "Module created successfully!" | |
449 | +msgstr "" | |
450 | + | |
451 | +#: courses/views.py:268 | |
452 | +msgid "Module edited successfully!" | |
453 | +msgstr "" | |
454 | + | |
455 | +#: courses/views.py:291 | |
456 | +msgid "Module deleted successfully!" | |
457 | +msgstr "" | ... | ... |
db.sqlite3
No preview for this file type
users/locale/pt_BR/LC_MESSAGES/django.po
1 | -# SOME DESCRIPTIVE TITLE. | |
2 | -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER | |
3 | -# This file is distributed under the same license as the PACKAGE package. | |
4 | -# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | |
5 | -# | |
6 | -#, fuzzy | |
7 | -msgid "" | |
8 | -msgstr "" | |
9 | -"Project-Id-Version: PACKAGE VERSION\n" | |
10 | -"Report-Msgid-Bugs-To: \n" | |
11 | -"POT-Creation-Date: 2016-09-01 22:44-0300\n" | |
12 | -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | |
13 | -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | |
14 | -"Language-Team: LANGUAGE <LL@li.org>\n" | |
15 | -"Language: \n" | |
16 | -"MIME-Version: 1.0\n" | |
17 | -"Content-Type: text/plain; charset=UTF-8\n" | |
18 | -"Content-Transfer-Encoding: 8bit\n" | |
19 | -"Plural-Forms: nplurals=2; plural=(n > 1);\n" | |
20 | - | |
21 | -#: users/forms.py:10 | |
22 | -msgid "Password" | |
23 | -msgstr "" | |
24 | - | |
25 | -#: users/models.py:10 | |
26 | -msgid "Login" | |
27 | -msgstr "" | |
28 | - | |
29 | -#: users/models.py:13 | |
30 | -msgid "" | |
31 | -"Type a valid username. This fields should only contain letters, numbers and " | |
32 | -"the characteres: @/./+/-/_ ." | |
33 | -msgstr "" | |
34 | - | |
35 | -#: users/models.py:16 | |
36 | -msgid "" | |
37 | -"A short name that will be used to identify you in the platform and to access " | |
38 | -"it" | |
39 | -msgstr "" | |
40 | - | |
41 | -#: users/models.py:17 | |
42 | -msgid "Mail" | |
43 | -msgstr "" | |
44 | - | |
45 | -#: users/models.py:18 | |
46 | -msgid "Name" | |
47 | -msgstr "" | |
48 | - | |
49 | -#: users/models.py:19 | |
50 | -msgid "City" | |
51 | -msgstr "" | |
52 | - | |
53 | -#: users/models.py:20 | |
54 | -msgid "State" | |
55 | -msgstr "" | |
56 | - | |
57 | -#: users/models.py:21 | |
58 | -msgid "Gender" | |
59 | -msgstr "" | |
60 | - | |
61 | -#: users/models.py:21 | |
62 | -msgid "Male" | |
63 | -msgstr "" | |
64 | - | |
65 | -#: users/models.py:21 | |
66 | -msgid "Female" | |
67 | -msgstr "" | |
68 | - | |
69 | -#: users/models.py:22 | |
70 | -msgid "Image" | |
71 | -msgstr "" | |
72 | - | |
73 | -#: users/models.py:23 | |
74 | -msgid "Birth Date" | |
75 | -msgstr "" | |
76 | - | |
77 | -#: users/models.py:24 | |
78 | -msgid "Phone" | |
79 | -msgstr "" | |
80 | - | |
81 | -#: users/models.py:25 users/templates/users/profile.html:42 | |
82 | -msgid "Cpf" | |
83 | -msgstr "" | |
84 | - | |
85 | -#: users/models.py:26 | |
86 | -msgid "Type" | |
87 | -msgstr "" | |
88 | - | |
89 | -#: users/models.py:26 | |
90 | -msgid "Professor" | |
91 | -msgstr "" | |
92 | - | |
93 | -#: users/models.py:26 | |
94 | -msgid "Student" | |
95 | -msgstr "" | |
96 | - | |
97 | -#: users/models.py:27 | |
98 | -msgid "Create Date" | |
99 | -msgstr "" | |
100 | - | |
101 | -#: users/models.py:28 | |
102 | -msgid "Administrador" | |
103 | -msgstr "" | |
104 | - | |
105 | -#: users/models.py:29 | |
106 | -msgid "Active" | |
107 | -msgstr "" | |
108 | - | |
109 | -#: users/models.py:37 | |
110 | -msgid "User" | |
111 | -msgstr "" | |
112 | - | |
113 | -#: users/models.py:38 | |
114 | -msgid "Users" | |
115 | -msgstr "" | |
116 | - | |
117 | -#: users/templates/list_users.html:14 users/templates/users/create.html:8 | |
118 | -#: users/templates/users/edit_profile.html:8 users/templates/users/index.html:7 | |
119 | -#: users/templates/users/profile.html:8 users/templates/users/update.html:8 | |
120 | -#: users/templates/users/view.html:7 | |
121 | -msgid "Home" | |
122 | -msgstr "Início" | |
123 | - | |
124 | -#: users/templates/list_users.html:15 users/templates/users/index.html:8 | |
125 | -msgid "Manage Users" | |
126 | -msgstr "Gerenciar Usuários" | |
127 | - | |
128 | -#: users/templates/list_users.html:23 | |
129 | -msgid "Add user" | |
130 | -msgstr "Adicionar usuário" | |
131 | - | |
132 | -#: users/templates/list_users.html:24 | |
133 | -msgid "Send email" | |
134 | -msgstr "Enviar e-mail" | |
135 | - | |
136 | -#: users/templates/users/create.html:9 | |
137 | -msgid "New User" | |
138 | -msgstr "" | |
139 | - | |
140 | -#: users/templates/users/create.html:16 users/templates/users/index.html:15 | |
141 | -#: users/templates/users/update.html:16 users/templates/users/view.html:15 | |
142 | -msgid "System Users" | |
143 | -msgstr "" | |
144 | - | |
145 | -#: users/templates/users/create.html:19 users/templates/users/index.html:18 | |
146 | -#: users/templates/users/update.html:19 users/templates/users/view.html:18 | |
147 | -msgid "New Account" | |
148 | -msgstr "" | |
149 | - | |
150 | -#: users/templates/users/create.html:22 users/templates/users/index.html:21 | |
151 | -#: users/templates/users/update.html:22 users/templates/users/view.html:27 | |
152 | -msgid "Send Mail" | |
153 | -msgstr "" | |
154 | - | |
155 | -#: users/templates/users/create.html:32 | |
156 | -#: users/templates/users/edit_profile.html:29 | |
157 | -#: users/templates/users/update.html:32 | |
158 | -msgid "All fields are required" | |
159 | -msgstr "" | |
160 | - | |
161 | -#: users/templates/users/create.html:57 | |
162 | -#: users/templates/users/edit_profile.html:64 | |
163 | -#: users/templates/users/update.html:57 | |
164 | -msgid "Save" | |
165 | -msgstr "" | |
166 | - | |
167 | -#: users/templates/users/edit_profile.html:9 | |
168 | -#: users/templates/users/edit_profile.html:19 | |
169 | -#: users/templates/users/profile.html:19 | |
170 | -msgid "Edit Profile" | |
171 | -msgstr "" | |
172 | - | |
173 | -#: users/templates/users/edit_profile.html:16 | |
174 | -#: users/templates/users/profile.html:9 users/templates/users/profile.html:16 | |
175 | -msgid "Profile" | |
176 | -msgstr "" | |
177 | - | |
178 | -#: users/templates/users/index.html:56 users/templates/users/profile.html:32 | |
179 | -#: users/templates/users/view.html:39 | |
180 | -msgid "Administrator" | |
181 | -msgstr "" | |
182 | - | |
183 | -#: users/templates/users/index.html:74 | |
184 | -msgid "No users found" | |
185 | -msgstr "" | |
186 | - | |
187 | -#: users/templates/users/profile.html:36 users/templates/users/view.html:43 | |
188 | -msgid "Mail:" | |
189 | -msgstr "" | |
190 | - | |
191 | -#: users/templates/users/profile.html:39 users/templates/users/view.html:46 | |
192 | -msgid "Phone:" | |
193 | -msgstr "" | |
194 | - | |
195 | -#: users/templates/users/profile.html:45 | |
196 | -msgid "Birth date" | |
197 | -msgstr "" | |
198 | - | |
199 | -#: users/templates/users/update.html:9 | |
200 | -msgid "Edit user" | |
201 | -msgstr "" | |
202 | - | |
203 | -#: users/templates/users/view.html:21 | |
204 | -msgid "View User Account" | |
205 | -msgstr "" | |
206 | - | |
207 | -#: users/templates/users/view.html:24 | |
208 | -msgid "Edit User Account" | |
209 | -msgstr "" | |
210 | - | |
211 | -#: users/templates/users/view.html:49 | |
212 | -msgid "Cpf:" | |
213 | -msgstr "" | |
214 | - | |
215 | -#: users/templates/users/view.html:52 | |
216 | -msgid "Birth date:" | |
217 | -msgstr "" | |
218 | - | |
219 | -#: users/views.py:47 | |
220 | -msgid "User created successfully!" | |
221 | -msgstr "" | |
222 | - | |
223 | -#: users/views.py:76 | |
224 | -msgid "User edited successfully!" | |
225 | -msgstr "" | |
226 | - | |
227 | -#: users/views.py:125 | |
228 | -msgid "Profile edited successfully!" | |
229 | -msgstr "" | |
1 | +# SOME DESCRIPTIVE TITLE. | |
2 | +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER | |
3 | +# This file is distributed under the same license as the PACKAGE package. | |
4 | +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | |
5 | +# | |
6 | +#, fuzzy | |
7 | +msgid "" | |
8 | +msgstr "" | |
9 | +"Project-Id-Version: PACKAGE VERSION\n" | |
10 | +"Report-Msgid-Bugs-To: \n" | |
11 | +"POT-Creation-Date: 2016-09-01 22:44-0300\n" | |
12 | +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | |
13 | +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | |
14 | +"Language-Team: LANGUAGE <LL@li.org>\n" | |
15 | +"Language: \n" | |
16 | +"MIME-Version: 1.0\n" | |
17 | +"Content-Type: text/plain; charset=UTF-8\n" | |
18 | +"Content-Transfer-Encoding: 8bit\n" | |
19 | +"Plural-Forms: nplurals=2; plural=(n > 1);\n" | |
20 | + | |
21 | +#: users/forms.py:10 | |
22 | +msgid "Password" | |
23 | +msgstr "" | |
24 | + | |
25 | +#: users/models.py:10 | |
26 | +msgid "Login" | |
27 | +msgstr "" | |
28 | + | |
29 | +#: users/models.py:13 | |
30 | +msgid "" | |
31 | +"Type a valid username. This fields should only contain letters, numbers and " | |
32 | +"the characteres: @/./+/-/_ ." | |
33 | +msgstr "" | |
34 | + | |
35 | +#: users/models.py:16 | |
36 | +msgid "" | |
37 | +"A short name that will be used to identify you in the platform and to access " | |
38 | +"it" | |
39 | +msgstr "" | |
40 | + | |
41 | +#: users/models.py:17 | |
42 | +msgid "Mail" | |
43 | +msgstr "" | |
44 | + | |
45 | +#: users/models.py:18 | |
46 | +msgid "Name" | |
47 | +msgstr "" | |
48 | + | |
49 | +#: users/models.py:19 | |
50 | +msgid "City" | |
51 | +msgstr "" | |
52 | + | |
53 | +#: users/models.py:20 | |
54 | +msgid "State" | |
55 | +msgstr "" | |
56 | + | |
57 | +#: users/models.py:21 | |
58 | +msgid "Gender" | |
59 | +msgstr "" | |
60 | + | |
61 | +#: users/models.py:21 | |
62 | +msgid "Male" | |
63 | +msgstr "" | |
64 | + | |
65 | +#: users/models.py:21 | |
66 | +msgid "Female" | |
67 | +msgstr "" | |
68 | + | |
69 | +#: users/models.py:22 | |
70 | +msgid "Image" | |
71 | +msgstr "" | |
72 | + | |
73 | +#: users/models.py:23 | |
74 | +msgid "Birth Date" | |
75 | +msgstr "" | |
76 | + | |
77 | +#: users/models.py:24 | |
78 | +msgid "Phone" | |
79 | +msgstr "" | |
80 | + | |
81 | +#: users/models.py:25 users/templates/users/profile.html:42 | |
82 | +msgid "Cpf" | |
83 | +msgstr "" | |
84 | + | |
85 | +#: users/models.py:26 | |
86 | +msgid "Type" | |
87 | +msgstr "" | |
88 | + | |
89 | +#: users/models.py:26 | |
90 | +msgid "Professor" | |
91 | +msgstr "" | |
92 | + | |
93 | +#: users/models.py:26 | |
94 | +msgid "Student" | |
95 | +msgstr "" | |
96 | + | |
97 | +#: users/models.py:27 | |
98 | +msgid "Create Date" | |
99 | +msgstr "" | |
100 | + | |
101 | +#: users/models.py:28 | |
102 | +msgid "Administrador" | |
103 | +msgstr "" | |
104 | + | |
105 | +#: users/models.py:29 | |
106 | +msgid "Active" | |
107 | +msgstr "" | |
108 | + | |
109 | +#: users/models.py:37 | |
110 | +msgid "User" | |
111 | +msgstr "" | |
112 | + | |
113 | +#: users/models.py:38 | |
114 | +msgid "Users" | |
115 | +msgstr "" | |
116 | + | |
117 | +#: users/templates/list_users.html:14 users/templates/users/create.html:8 | |
118 | +#: users/templates/users/edit_profile.html:8 users/templates/users/index.html:7 | |
119 | +#: users/templates/users/profile.html:8 users/templates/users/update.html:8 | |
120 | +#: users/templates/users/view.html:7 | |
121 | +msgid "Home" | |
122 | +msgstr "Início" | |
123 | + | |
124 | +#: users/templates/list_users.html:15 users/templates/users/index.html:8 | |
125 | +msgid "Manage Users" | |
126 | +msgstr "Gerenciar Usuários" | |
127 | + | |
128 | +#: users/templates/list_users.html:23 | |
129 | +msgid "Add user" | |
130 | +msgstr "Adicionar usuário" | |
131 | + | |
132 | +#: users/templates/list_users.html:24 | |
133 | +msgid "Send email" | |
134 | +msgstr "Enviar e-mail" | |
135 | + | |
136 | +#: users/templates/users/create.html:9 | |
137 | +msgid "New User" | |
138 | +msgstr "" | |
139 | + | |
140 | +#: users/templates/users/create.html:16 users/templates/users/index.html:15 | |
141 | +#: users/templates/users/update.html:16 users/templates/users/view.html:15 | |
142 | +msgid "System Users" | |
143 | +msgstr "" | |
144 | + | |
145 | +#: users/templates/users/create.html:19 users/templates/users/index.html:18 | |
146 | +#: users/templates/users/update.html:19 users/templates/users/view.html:18 | |
147 | +msgid "New Account" | |
148 | +msgstr "" | |
149 | + | |
150 | +#: users/templates/users/create.html:22 users/templates/users/index.html:21 | |
151 | +#: users/templates/users/update.html:22 users/templates/users/view.html:27 | |
152 | +msgid "Send Mail" | |
153 | +msgstr "" | |
154 | + | |
155 | +#: users/templates/users/create.html:32 | |
156 | +#: users/templates/users/edit_profile.html:29 | |
157 | +#: users/templates/users/update.html:32 | |
158 | +msgid "All fields are required" | |
159 | +msgstr "" | |
160 | + | |
161 | +#: users/templates/users/create.html:57 | |
162 | +#: users/templates/users/edit_profile.html:64 | |
163 | +#: users/templates/users/update.html:57 | |
164 | +msgid "Save" | |
165 | +msgstr "" | |
166 | + | |
167 | +#: users/templates/users/edit_profile.html:9 | |
168 | +#: users/templates/users/edit_profile.html:19 | |
169 | +#: users/templates/users/profile.html:19 | |
170 | +msgid "Edit Profile" | |
171 | +msgstr "" | |
172 | + | |
173 | +#: users/templates/users/edit_profile.html:16 | |
174 | +#: users/templates/users/profile.html:9 users/templates/users/profile.html:16 | |
175 | +msgid "Profile" | |
176 | +msgstr "" | |
177 | + | |
178 | +#: users/templates/users/index.html:56 users/templates/users/profile.html:32 | |
179 | +#: users/templates/users/view.html:39 | |
180 | +msgid "Administrator" | |
181 | +msgstr "" | |
182 | + | |
183 | +#: users/templates/users/index.html:74 | |
184 | +msgid "No users found" | |
185 | +msgstr "" | |
186 | + | |
187 | +#: users/templates/users/profile.html:36 users/templates/users/view.html:43 | |
188 | +msgid "Mail:" | |
189 | +msgstr "" | |
190 | + | |
191 | +#: users/templates/users/profile.html:39 users/templates/users/view.html:46 | |
192 | +msgid "Phone:" | |
193 | +msgstr "" | |
194 | + | |
195 | +#: users/templates/users/profile.html:45 | |
196 | +msgid "Birth date" | |
197 | +msgstr "" | |
198 | + | |
199 | +#: users/templates/users/update.html:9 | |
200 | +msgid "Edit user" | |
201 | +msgstr "" | |
202 | + | |
203 | +#: users/templates/users/view.html:21 | |
204 | +msgid "View User Account" | |
205 | +msgstr "" | |
206 | + | |
207 | +#: users/templates/users/view.html:24 | |
208 | +msgid "Edit User Account" | |
209 | +msgstr "" | |
210 | + | |
211 | +#: users/templates/users/view.html:49 | |
212 | +msgid "Cpf:" | |
213 | +msgstr "" | |
214 | + | |
215 | +#: users/templates/users/view.html:52 | |
216 | +msgid "Birth date:" | |
217 | +msgstr "" | |
218 | + | |
219 | +#: users/views.py:47 | |
220 | +msgid "User created successfully!" | |
221 | +msgstr "" | |
222 | + | |
223 | +#: users/views.py:76 | |
224 | +msgid "User edited successfully!" | |
225 | +msgstr "" | |
226 | + | |
227 | +#: users/views.py:125 | |
228 | +msgid "Profile edited successfully!" | |
229 | +msgstr "" | ... | ... |
users/migrations/0007_auto_20160825_1801.py
1 | -# -*- coding: utf-8 -*- | |
2 | -# Generated by Django 1.10 on 2016-08-25 21:01 | |
3 | -from __future__ import unicode_literals | |
4 | - | |
5 | -import django.core.validators | |
6 | -from django.db import migrations, models | |
7 | -import re | |
8 | - | |
9 | - | |
10 | -class Migration(migrations.Migration): | |
11 | - | |
12 | - dependencies = [ | |
13 | - ('users', '0006_auto_20160815_0922'), | |
14 | - ] | |
15 | - | |
16 | - operations = [ | |
17 | - migrations.AlterField( | |
18 | - model_name='user', | |
19 | - name='username', | |
20 | - field=models.CharField(help_text='A short name that will be used to identify you in the platform and to access it', max_length=35, unique=True, validators=[django.core.validators.RegexValidator(re.compile(b'^[\\w.@+-]+$'), 'Type a valid username. This fields should only contain letters, numbers and the characteres: @/./+/-/_ .', b'invalid')], verbose_name='Login'), | |
21 | - ), | |
22 | - ] | |
1 | +# -*- coding: utf-8 -*- | |
2 | +# Generated by Django 1.10 on 2016-08-25 21:01 | |
3 | +from __future__ import unicode_literals | |
4 | + | |
5 | +import django.core.validators | |
6 | +from django.db import migrations, models | |
7 | +import re | |
8 | + | |
9 | + | |
10 | +class Migration(migrations.Migration): | |
11 | + | |
12 | + dependencies = [ | |
13 | + ('users', '0006_auto_20160815_0922'), | |
14 | + ] | |
15 | + | |
16 | + operations = [ | |
17 | + migrations.AlterField( | |
18 | + model_name='user', | |
19 | + name='username', | |
20 | + field=models.CharField(help_text='A short name that will be used to identify you in the platform and to access it', max_length=35, unique=True, validators=[django.core.validators.RegexValidator(re.compile(b'^[\\w.@+-]+$'), 'Type a valid username. This fields should only contain letters, numbers and the characteres: @/./+/-/_ .', b'invalid')], verbose_name='Login'), | |
21 | + ), | |
22 | + ] | ... | ... |
... | ... | @@ -0,0 +1,27 @@ |
1 | +# -*- coding: utf-8 -*- | |
2 | +# Generated by Django 1.10 on 2016-09-03 00:23 | |
3 | +from __future__ import unicode_literals | |
4 | + | |
5 | +import django.core.validators | |
6 | +from django.db import migrations, models | |
7 | +import re | |
8 | + | |
9 | + | |
10 | +class Migration(migrations.Migration): | |
11 | + | |
12 | + dependencies = [ | |
13 | + ('users', '0007_auto_20160825_1801'), | |
14 | + ] | |
15 | + | |
16 | + operations = [ | |
17 | + migrations.AlterField( | |
18 | + model_name='user', | |
19 | + name='type_profile', | |
20 | + field=models.IntegerField(blank=True, choices=[(1, 'Professor'), (2, 'Student')], default=2, null=True, verbose_name='Type'), | |
21 | + ), | |
22 | + migrations.AlterField( | |
23 | + model_name='user', | |
24 | + name='username', | |
25 | + field=models.CharField(help_text='A short name that will be used to identify you in the platform and to access it', max_length=35, unique=True, validators=[django.core.validators.RegexValidator(re.compile('^[\\w.@+-]+$', 32), 'Type a valid username. This fields should only contain letters, numbers and the characteres: @/./+/-/_ .', 'invalid')], verbose_name='Login'), | |
26 | + ), | |
27 | + ] | ... | ... |
users/models.py
... | ... | @@ -23,7 +23,7 @@ class User(AbstractBaseUser, PermissionsMixin): |
23 | 23 | birth_date = models.DateField(_('Birth Date'), null = True, blank = True) |
24 | 24 | phone = models.CharField(_('Phone'), max_length = 30, blank = True) |
25 | 25 | cpf = models.CharField(_('Cpf'), max_length = 15, blank = True) |
26 | - type_profile = models.IntegerField(_('Type'), null = True, blank = True, choices = ((1, _('Professor')), (2, _('Student')))) | |
26 | + type_profile = models.IntegerField(_('Type'), null = True, blank = True, choices = ((1, _('Professor')), (2, _('Student'))), default=2) | |
27 | 27 | date_created = models.DateTimeField(_('Create Date'), auto_now_add = True) |
28 | 28 | is_staff = models.BooleanField(_('Administrador'), default = False) |
29 | 29 | is_active = models.BooleanField(_('Active'), default = True) | ... | ... |
users/templates/list_users.html
1 | -{% extends 'base.html' %} | |
2 | - | |
3 | -{% load i18n %} | |
4 | - | |
5 | -{% block breadcrumbs %} | |
6 | - <div class="row"> | |
7 | - <div class="col-md-12"> | |
8 | - <h4>{% trans 'Manage Users' %}</h4> | |
9 | - </div> | |
10 | - </div> | |
11 | - <div class="row"> | |
12 | - <div class="col-md-12"> | |
13 | - <ul class="breadcrumb" style="margin-bottom: 5px;"> | |
14 | - <li><a href="{% url 'app:index' %}">{% trans 'Home' %}</a></li> | |
15 | - <li class="active">{% trans 'Manage Users' %}</li> | |
16 | - </ul> | |
17 | - </div> | |
18 | - </div> | |
19 | -{% endblock %} | |
20 | - | |
21 | -{% block sidebar %} | |
22 | - <div class="btn-group-vertical"> | |
23 | - <a href="{% url 'users:create' %}" class="btn btn-raised">{% trans 'Add user' %}</a> | |
24 | - <a href="javascript:void(0)" class="btn btn-raised">{% trans 'Send email' %}</a> | |
25 | - </div> | |
26 | -{% endblock %} | |
27 | - | |
28 | -{% block content %} | |
29 | - <input type="text" class="form-control" name="search" placeholder="search.."> | |
30 | -{% endblock %} | |
1 | +{% extends 'base.html' %} | |
2 | + | |
3 | +{% load i18n %} | |
4 | + | |
5 | +{% block breadcrumbs %} | |
6 | + <div class="row"> | |
7 | + <div class="col-md-12"> | |
8 | + <h4>{% trans 'Manage Users' %}</h4> | |
9 | + </div> | |
10 | + </div> | |
11 | + <div class="row"> | |
12 | + <div class="col-md-12"> | |
13 | + <ul class="breadcrumb" style="margin-bottom: 5px;"> | |
14 | + <li><a href="{% url 'app:index' %}">{% trans 'Home' %}</a></li> | |
15 | + <li class="active">{% trans 'Manage Users' %}</li> | |
16 | + </ul> | |
17 | + </div> | |
18 | + </div> | |
19 | +{% endblock %} | |
20 | + | |
21 | +{% block sidebar %} | |
22 | + <div class="btn-group-vertical"> | |
23 | + <a href="{% url 'users:create' %}" class="btn btn-raised">{% trans 'Add user' %}</a> | |
24 | + <a href="javascript:void(0)" class="btn btn-raised">{% trans 'Send email' %}</a> | |
25 | + </div> | |
26 | +{% endblock %} | |
27 | + | |
28 | +{% block content %} | |
29 | + <input type="text" class="form-control" name="search" placeholder="search.."> | |
30 | +{% endblock %} | ... | ... |