Commit 69ee68768638172ebcb8ff63d9cb98bfa09557b2
Exists in
master
and in
5 other branches
Merge in dev
Showing
58 changed files
with
2638 additions
and
1030 deletions
Show diff stats
app/locale/he_il/LC_MESSAGES/django.po
... | ... | @@ -1,178 +0,0 @@ |
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-16 02:41-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 | - | |
20 | -#: app/templates/app/base.html:10 | |
21 | -msgid "The Project" | |
22 | -msgstr "" | |
23 | - | |
24 | -#: app/templates/app/base.html:11 | |
25 | -msgid "CCTE Group" | |
26 | -msgstr "" | |
27 | - | |
28 | -#: app/templates/app/base.html:14 | |
29 | -msgid "Hi" | |
30 | -msgstr "" | |
31 | - | |
32 | -#: app/templates/app/base.html:16 | |
33 | -msgid "See Profile" | |
34 | -msgstr "" | |
35 | - | |
36 | -#: app/templates/app/base.html:17 | |
37 | -msgid "Settings" | |
38 | -msgstr "" | |
39 | - | |
40 | -#: app/templates/app/base.html:18 | |
41 | -msgid "Logout" | |
42 | -msgstr "" | |
43 | - | |
44 | -#: app/templates/app/index.html:6 | |
45 | -msgid "You have:" | |
46 | -msgstr "" | |
47 | - | |
48 | -#: app/templates/app/index.html:10 app/templates/home.html:88 | |
49 | -msgid "Pending Tasks" | |
50 | -msgstr "" | |
51 | - | |
52 | -#: app/templates/app/index.html:14 | |
53 | -msgid "Users Online" | |
54 | -msgstr "" | |
55 | - | |
56 | -#: app/templates/app/index.html:20 | |
57 | -msgid "You can:" | |
58 | -msgstr "" | |
59 | - | |
60 | -#: app/templates/app/index.html:24 app/templates/home_professor.html:25 | |
61 | -msgid "Create Course" | |
62 | -msgstr "" | |
63 | - | |
64 | -#: app/templates/app/index.html:29 app/templates/home.html:93 | |
65 | -msgid "Manage Users" | |
66 | -msgstr "" | |
67 | - | |
68 | -#: app/templates/app/index.html:33 app/templates/home.html:96 | |
69 | -msgid "Manage Courses" | |
70 | -msgstr "" | |
71 | - | |
72 | -#: app/templates/app/index.html:37 | |
73 | -msgid "Gerenciar Categorias" | |
74 | -msgstr "" | |
75 | - | |
76 | -#: app/templates/app/index.html:45 | |
77 | -msgid "Your course(s):" | |
78 | -msgstr "" | |
79 | - | |
80 | -#: app/templates/app/index.html:46 | |
81 | -msgid "No courses subscribed yet" | |
82 | -msgstr "" | |
83 | - | |
84 | -#: app/templates/app/index.html:56 | |
85 | -msgid "Search course:" | |
86 | -msgstr "" | |
87 | - | |
88 | -#: app/templates/app/index.html:62 | |
89 | -msgid "Search" | |
90 | -msgstr "" | |
91 | - | |
92 | -#: app/templates/app/index.html:67 | |
93 | -msgid "Most popular keywords:" | |
94 | -msgstr "" | |
95 | - | |
96 | -#: app/templates/home.html:86 | |
97 | -msgid "Home" | |
98 | -msgstr "" | |
99 | - | |
100 | -#: app/templates/home.html:87 app/templates/home_student.html:25 | |
101 | -msgid "Profile" | |
102 | -msgstr "" | |
103 | - | |
104 | -#: app/templates/home.html:90 | |
105 | -msgid "My courses" | |
106 | -msgstr "" | |
107 | - | |
108 | -#: app/templates/home.html:105 app/templates/home_professor.html:33 | |
109 | -msgid "Courses" | |
110 | -msgstr "" | |
111 | - | |
112 | -#: app/templates/home.html:131 | |
113 | -msgid "No pending tasks at the moment." | |
114 | -msgstr "" | |
115 | - | |
116 | -#: app/templates/home_admin_content.html:10 | |
117 | -msgid "Students" | |
118 | -msgstr "" | |
119 | - | |
120 | -#: app/templates/home_admin_content.html:11 | |
121 | -msgid "Beginning" | |
122 | -msgstr "" | |
123 | - | |
124 | -#: app/templates/home_admin_content.html:12 | |
125 | -msgid "End" | |
126 | -msgstr "" | |
127 | - | |
128 | -#: app/templates/home_admin_content.html:15 | |
129 | -msgid "Edit" | |
130 | -msgstr "" | |
131 | - | |
132 | -#: app/templates/home_professor.html:20 app/templates/home_student.html:21 | |
133 | -msgid "Menu" | |
134 | -msgstr "" | |
135 | - | |
136 | -#: app/templates/home_professor.html:24 | |
137 | -msgid "Pending tasks" | |
138 | -msgstr "" | |
139 | - | |
140 | -#: app/templates/home_professor.html:26 | |
141 | -msgid "Manage Course" | |
142 | -msgstr "" | |
143 | - | |
144 | -#: app/templates/home_professor.html:43 | |
145 | -msgid "Students:" | |
146 | -msgstr "" | |
147 | - | |
148 | -#: app/templates/home_professor.html:44 | |
149 | -msgid "Beginning:" | |
150 | -msgstr "" | |
151 | - | |
152 | -#: app/templates/home_professor.html:45 | |
153 | -msgid "End:" | |
154 | -msgstr "" | |
155 | - | |
156 | -#: app/templates/home_professor.html:52 | |
157 | -msgid "You didn't create any course yet." | |
158 | -msgstr "" | |
159 | - | |
160 | -#: app/templates/home_professor.html:58 app/templates/home_student.html:73 | |
161 | -msgid "Goals" | |
162 | -msgstr "" | |
163 | - | |
164 | -#: app/templates/home_student.html:26 | |
165 | -msgid "My Courses" | |
166 | -msgstr "" | |
167 | - | |
168 | -#: app/templates/home_student.html:27 | |
169 | -msgid "Google accounts" | |
170 | -msgstr "" | |
171 | - | |
172 | -#: app/templates/home_student.html:34 | |
173 | -msgid "Notifications" | |
174 | -msgstr "" | |
175 | - | |
176 | -#: app/templates/home_student.html:76 | |
177 | -msgid "Favorites" | |
178 | -msgstr "" |
app/locale/pt_BR/LC_MESSAGES/django.po
... | ... | @@ -8,7 +8,7 @@ msgid "" |
8 | 8 | msgstr "" |
9 | 9 | "Project-Id-Version: PACKAGE VERSION\n" |
10 | 10 | "Report-Msgid-Bugs-To: \n" |
11 | -"POT-Creation-Date: 2016-09-07 00:13-0300\n" | |
11 | +"POT-Creation-Date: 2016-10-26 14:47-0300\n" | |
12 | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
13 | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
14 | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" |
... | ... | @@ -18,161 +18,198 @@ msgstr "" |
18 | 18 | "Content-Transfer-Encoding: 8bit\n" |
19 | 19 | "Plural-Forms: nplurals=2; plural=(n > 1);\n" |
20 | 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 "" | |
21 | +#: app/templates/home.html:69 app/templates/home_professor.html:20 | |
22 | +#: app/templates/home_student.html:21 | |
23 | +msgid "Menu" | |
24 | +msgstr "Menu" | |
28 | 25 | |
29 | -#: app/templates/app/base.html:14 | |
30 | -msgid "Hi" | |
31 | -msgstr "" | |
26 | +#: app/templates/home.html:73 | |
27 | +msgid "Home" | |
28 | +msgstr "Início" | |
32 | 29 | |
33 | -#: app/templates/app/base.html:16 | |
34 | -#, fuzzy | |
35 | -#| msgid "Profile" | |
36 | -msgid "See Profile" | |
30 | +#: app/templates/home.html:74 app/templates/home_student.html:25 | |
31 | +msgid "Profile" | |
37 | 32 | msgstr "Perfil" |
38 | 33 | |
39 | -#: app/templates/app/base.html:17 | |
40 | -msgid "Settings" | |
41 | -msgstr "Configurações" | |
42 | - | |
43 | -#: app/templates/app/base.html:18 | |
44 | -msgid "Logout" | |
45 | -msgstr "Sair" | |
46 | - | |
47 | -#: app/templates/app/index.html:6 | |
48 | -msgid "You have:" | |
49 | -msgstr "" | |
50 | - | |
51 | -#: app/templates/app/index.html:10 | |
34 | +#: app/templates/home.html:76 | |
52 | 35 | #, fuzzy |
53 | -#| msgid "Pending tasks" | |
54 | -msgid "Pending Tasks" | |
55 | -msgstr "Tarefas Pendentes" | |
56 | - | |
57 | -#: app/templates/app/index.html:14 | |
58 | -msgid "Users Online" | |
59 | -msgstr "Usuários Online" | |
60 | - | |
61 | -#: app/templates/app/index.html:20 | |
62 | -msgid "You can:" | |
63 | -msgstr "" | |
36 | +#| msgid "My Courses" | |
37 | +msgid "My courses" | |
38 | +msgstr "Meus Cursos" | |
64 | 39 | |
65 | -#: app/templates/app/index.html:24 app/templates/home_app.html:26 | |
66 | -#: app/templates/home_professor.html:23 | |
67 | -msgid "Create Course" | |
68 | -msgstr "Criar Curso" | |
40 | +#: app/templates/home.html:78 app/templates/home_student.html:27 | |
41 | +#, fuzzy | |
42 | +#| msgid "Courses" | |
43 | +msgid "All Courses" | |
44 | +msgstr "Cursos" | |
69 | 45 | |
70 | -#: app/templates/app/index.html:29 | |
46 | +#: app/templates/home.html:80 | |
71 | 47 | #, fuzzy |
72 | 48 | #| msgid "Manage Course" |
73 | 49 | msgid "Manage Users" |
74 | -msgstr "Gerenciar Curso" | |
50 | +msgstr "Gerenciar Usuários" | |
75 | 51 | |
76 | -#: app/templates/app/index.html:33 | |
52 | +#: app/templates/home.html:84 | |
77 | 53 | #, fuzzy |
78 | 54 | #| msgid "Manage Course" |
79 | 55 | msgid "Manage Courses" |
80 | -msgstr "Gerenciar Curso" | |
81 | - | |
82 | -#: app/templates/app/index.html:37 | |
83 | -msgid "Gerenciar Categorias" | |
84 | -msgstr "" | |
85 | - | |
86 | -#: app/templates/app/index.html:45 | |
87 | -msgid "Your course(s):" | |
88 | -msgstr "" | |
56 | +msgstr "Gerenciar Cursos" | |
89 | 57 | |
90 | -#: app/templates/app/index.html:46 | |
91 | -msgid "No courses subscribed yet" | |
92 | -msgstr "" | |
58 | +#: app/templates/home.html:101 app/templates/home_professor.html:34 | |
59 | +msgid "Courses" | |
60 | +msgstr "Cursos" | |
93 | 61 | |
94 | -#: app/templates/app/index.html:56 | |
95 | -msgid "Search course:" | |
96 | -msgstr "" | |
62 | +#: app/templates/home_admin_content.html:10 | |
63 | +#, fuzzy | |
64 | +#| msgid "Students:" | |
65 | +msgid "Students" | |
66 | +msgstr "Alunos" | |
97 | 67 | |
98 | -#: app/templates/app/index.html:62 | |
99 | -msgid "Search" | |
100 | -msgstr "" | |
68 | +#: app/templates/home_admin_content.html:11 | |
69 | +#, fuzzy | |
70 | +#| msgid "Beginning:" | |
71 | +msgid "Beginning" | |
72 | +msgstr "Começo" | |
101 | 73 | |
102 | -#: app/templates/app/index.html:67 | |
103 | -msgid "Most popular keywords:" | |
104 | -msgstr "" | |
74 | +#: app/templates/home_admin_content.html:12 | |
75 | +#, fuzzy | |
76 | +#| msgid "End:" | |
77 | +msgid "End" | |
78 | +msgstr "Fim:" | |
105 | 79 | |
106 | -#: app/templates/home_app.html:14 app/templates/home_professor.html:9 | |
107 | -#: app/templates/home_student.html:9 | |
108 | -msgid "Home" | |
109 | -msgstr "Início" | |
80 | +#: app/templates/home_admin_content.html:15 | |
81 | +msgid "Edit" | |
82 | +msgstr "Editar" | |
110 | 83 | |
111 | -#: app/templates/home_app.html:22 app/templates/home_professor.html:22 | |
84 | +#: app/templates/home_professor.html:24 | |
112 | 85 | msgid "Pending tasks" |
113 | 86 | msgstr "Tarefas Pendentes" |
114 | 87 | |
115 | -#: app/templates/home_app.html:23 | |
116 | -#, fuzzy | |
117 | -#| msgid "Users Online" | |
118 | -msgid "Users Online (1)" | |
119 | -msgstr "Usuários Online" | |
120 | - | |
121 | -#: app/templates/home_app.html:24 | |
122 | -#, fuzzy | |
123 | -#| msgid "Courses" | |
124 | -msgid "Course" | |
125 | -msgstr "Cursos" | |
88 | +#: app/templates/home_professor.html:25 | |
89 | +msgid "Create Course" | |
90 | +msgstr "Criar Curso" | |
126 | 91 | |
127 | -#: app/templates/home_app.html:27 app/templates/home_professor.html:24 | |
92 | +#: app/templates/home_professor.html:26 | |
128 | 93 | msgid "Manage Course" |
129 | 94 | msgstr "Gerenciar Curso" |
130 | 95 | |
131 | -#: app/templates/home_app.html:35 app/templates/home_professor.html:31 | |
132 | -msgid "Courses" | |
133 | -msgstr "Cursos" | |
134 | - | |
135 | -#: app/templates/home_app.html:51 app/templates/home_professor.html:48 | |
136 | -msgid "You didn't create any course yet." | |
137 | -msgstr "Você não criou nenhum curso ainda." | |
138 | - | |
139 | -#: app/templates/home_app.html:59 app/templates/home_professor.html:54 | |
140 | -#: app/templates/home_student.html:60 | |
141 | -msgid "Goals" | |
142 | -msgstr "Metas" | |
143 | - | |
144 | -#: app/templates/home_professor.html:18 app/templates/home_student.html:18 | |
145 | -msgid "Menu" | |
146 | -msgstr "Menu" | |
147 | - | |
148 | -#: app/templates/home_professor.html:40 | |
96 | +#: app/templates/home_professor.html:44 | |
149 | 97 | msgid "Students:" |
150 | 98 | msgstr "Alunos" |
151 | 99 | |
152 | -#: app/templates/home_professor.html:41 | |
100 | +#: app/templates/home_professor.html:45 | |
153 | 101 | msgid "Beginning:" |
154 | 102 | msgstr "Começo" |
155 | 103 | |
156 | -#: app/templates/home_professor.html:42 | |
104 | +#: app/templates/home_professor.html:46 | |
157 | 105 | msgid "End:" |
158 | -msgstr "Fim" | |
106 | +msgstr "Fim:" | |
159 | 107 | |
160 | -#: app/templates/home_student.html:22 | |
161 | -msgid "Profile" | |
162 | -msgstr "Perfil" | |
108 | +#: app/templates/home_professor.html:53 | |
109 | +msgid "You didn't create any course yet." | |
110 | +msgstr "Você não criou nenhum curso ainda." | |
163 | 111 | |
164 | -#: app/templates/home_student.html:23 | |
112 | +#: app/templates/home_student.html:26 | |
165 | 113 | msgid "My Courses" |
166 | 114 | msgstr "Meus Cursos" |
167 | 115 | |
168 | -#: app/templates/home_student.html:24 | |
116 | +#: app/templates/home_student.html:28 | |
169 | 117 | msgid "Google accounts" |
170 | 118 | msgstr "Contas do Google" |
171 | 119 | |
172 | -#: app/templates/home_student.html:31 | |
120 | +#: app/templates/home_student.html:35 | |
173 | 121 | msgid "Notifications" |
174 | 122 | msgstr "Notificações" |
175 | 123 | |
176 | -#: app/templates/home_student.html:63 | |
177 | -msgid "Favorites" | |
178 | -msgstr "Favoritos" | |
124 | +#: app/templates/home_student.html:48 | |
125 | +msgid "His course has notified a new activity!" | |
126 | +msgstr "Seu curso tem uma nova atividade!" | |
127 | + | |
128 | +#: app/templates/home_student.html:51 app/templates/home_student.html:59 | |
129 | +#: app/templates/home_student.html:67 | |
130 | +msgid "Go" | |
131 | +msgstr "Ir" | |
132 | + | |
133 | +#: app/templates/home_student.html:56 | |
134 | +msgid "His teacher has notified a new material!" | |
135 | +msgstr "Seu professor adicionou um novo material!" | |
136 | + | |
137 | +#: app/templates/home_student.html:64 | |
138 | +msgid "You have a new guardian!" | |
139 | +msgstr "Você tem um novo tutor!" | |
140 | + | |
141 | +#: app/templates/home_teacher_student_content.html:14 | |
142 | +msgid "at" | |
143 | +msgstr "em" | |
144 | + | |
145 | +#: app/templates/home_teacher_student_content.html:15 | |
146 | +msgid "ago" | |
147 | +msgstr "atrás" | |
148 | + | |
149 | +#~ msgid "The Project" | |
150 | +#~ msgstr "O projeto" | |
151 | + | |
152 | +#~ msgid "CCTE Group" | |
153 | +#~ msgstr "Grupo CCTE" | |
154 | + | |
155 | +#~ msgid "Hi" | |
156 | +#~ msgstr "Olá" | |
157 | + | |
158 | +#, fuzzy | |
159 | +#~| msgid "Profile" | |
160 | +#~ msgid "See Profile" | |
161 | +#~ msgstr "Perfil" | |
162 | + | |
163 | +#~ msgid "Settings" | |
164 | +#~ msgstr "Configurações" | |
165 | + | |
166 | +#~ msgid "Logout" | |
167 | +#~ msgstr "Sair" | |
168 | + | |
169 | +#~ msgid "You have:" | |
170 | +#~ msgstr "Você tem:" | |
171 | + | |
172 | +#, fuzzy | |
173 | +#~| msgid "Pending tasks" | |
174 | +#~ msgid "Pending Tasks" | |
175 | +#~ msgstr "Tarefas Pendentes" | |
176 | + | |
177 | +#~ msgid "Users Online" | |
178 | +#~ msgstr "Usuários Online" | |
179 | + | |
180 | +#~ msgid "You can:" | |
181 | +#~ msgstr "Você pode:" | |
182 | + | |
183 | +#~ msgid "Manage Categories" | |
184 | +#~ msgstr "Gerenciar Categorias" | |
185 | + | |
186 | +#~ msgid "Your course(s):" | |
187 | +#~ msgstr "Seus cursos:" | |
188 | + | |
189 | +#~ msgid "No courses subscribed yet" | |
190 | +#~ msgstr "Nenhum curso inscrito ainda" | |
191 | + | |
192 | +#~ msgid "Search course:" | |
193 | +#~ msgstr "Pesquisar curso" | |
194 | + | |
195 | +#~ msgid "Search" | |
196 | +#~ msgstr "Pesquisar" | |
197 | + | |
198 | +#~ msgid "Most popular keywords:" | |
199 | +#~ msgstr "Palavras mais populares:" | |
200 | + | |
201 | +#, fuzzy | |
202 | +#~| msgid "Users Online" | |
203 | +#~ msgid "Users Online (1)" | |
204 | +#~ msgstr "Usuários Online" | |
205 | + | |
206 | +#, fuzzy | |
207 | +#~| msgid "Courses" | |
208 | +#~ msgid "Course" | |
209 | +#~ msgstr "Cursos" | |
210 | + | |
211 | +#~ msgid "Goals" | |
212 | +#~ msgstr "Metas" | |
213 | + | |
214 | +#~ msgid "Favorites" | |
215 | +#~ msgstr "Favoritos" | ... | ... |
app/templates/home.html
app/templates/home_student.html
... | ... | @@ -45,26 +45,26 @@ |
45 | 45 | {% endif %} |
46 | 46 | <div class="panel panel-default"> |
47 | 47 | <div class="panel-body"> |
48 | - His course has notified a new activity! | |
48 | + {% trans 'His course has notified a new activity!' %} | |
49 | 49 | </div> |
50 | 50 | <div class="panel-footer"> |
51 | - Go | |
51 | + {% trans 'Go' %} | |
52 | 52 | </div> |
53 | 53 | </div> |
54 | 54 | <div class="panel panel-default"> |
55 | 55 | <div class="panel-body"> |
56 | - His teacher has notified a new material! | |
56 | + {% trans 'His teacher has notified a new material!' %} | |
57 | 57 | </div> |
58 | 58 | <div class="panel-footer"> |
59 | - Go | |
59 | + {% trans 'Go' %} | |
60 | 60 | </div> |
61 | 61 | </div> |
62 | 62 | <div class="panel panel-default"> |
63 | 63 | <div class="panel-body"> |
64 | - You have a new guardian! | |
64 | + {% trans 'You have a new guardian!' %} | |
65 | 65 | </div> |
66 | 66 | <div class="panel-footer"> |
67 | - Go | |
67 | + {% trans 'Go' %} | |
68 | 68 | </div> |
69 | 69 | </div> |
70 | 70 | {% endblock %} | ... | ... |
core/locale/he_il/LC_MESSAGES/django.po
... | ... | @@ -1,66 +0,0 @@ |
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-16 02:41-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 | - | |
20 | -#: core/templates/base.html:97 | |
21 | -msgid "Log out" | |
22 | -msgstr "" | |
23 | - | |
24 | -#: core/templates/index.html:38 | |
25 | -msgid "Username" | |
26 | -msgstr "" | |
27 | - | |
28 | -#: core/templates/index.html:44 | |
29 | -msgid "Password" | |
30 | -msgstr "" | |
31 | - | |
32 | -#: core/templates/index.html:52 | |
33 | -msgid "Remember Email" | |
34 | -msgstr "" | |
35 | - | |
36 | -#: core/templates/index.html:61 | |
37 | -msgid "Guest" | |
38 | -msgstr "" | |
39 | - | |
40 | -#: core/templates/index.html:64 core/templates/register_user.html:71 | |
41 | -msgid "Login" | |
42 | -msgstr "" | |
43 | - | |
44 | -#: core/templates/index.html:73 | |
45 | -msgid "Sign Up" | |
46 | -msgstr "" | |
47 | - | |
48 | -#: core/templates/register_user.html:29 | |
49 | -msgid "User Register" | |
50 | -msgstr "" | |
51 | - | |
52 | -#: core/templates/register_user.html:68 | |
53 | -msgid "Save" | |
54 | -msgstr "" | |
55 | - | |
56 | -#: core/templates/remember_password.html:27 | |
57 | -msgid "E-mail" | |
58 | -msgstr "" | |
59 | - | |
60 | -#: core/templates/remember_password.html:31 | |
61 | -msgid "Registration" | |
62 | -msgstr "" | |
63 | - | |
64 | -#: core/templates/remember_password.html:35 | |
65 | -msgid "Send" | |
66 | -msgstr "" |
core/locale/pt_BR/LC_MESSAGES/django.po
... | ... | @@ -8,7 +8,7 @@ msgid "" |
8 | 8 | msgstr "" |
9 | 9 | "Project-Id-Version: PACKAGE VERSION\n" |
10 | 10 | "Report-Msgid-Bugs-To: \n" |
11 | -"POT-Creation-Date: 2016-09-07 00:13-0300\n" | |
11 | +"POT-Creation-Date: 2016-10-26 14:47-0300\n" | |
12 | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
13 | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
14 | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" |
... | ... | @@ -17,91 +17,391 @@ msgstr "" |
17 | 17 | "Content-Type: text/plain; charset=UTF-8\n" |
18 | 18 | "Content-Transfer-Encoding: 8bit\n" |
19 | 19 | "Plural-Forms: nplurals=2; plural=(n > 1);\n" |
20 | +#: core/forms.py:12 | |
21 | +msgid "Password" | |
22 | +msgstr "Senha" | |
23 | + | |
24 | +#: core/forms.py:13 | |
25 | +msgid "Password confirmation" | |
26 | +msgstr "Confirmação de senha" | |
27 | + | |
28 | +#: core/forms.py:27 | |
29 | +msgid "There is already a registered User with this e-mail" | |
30 | +msgstr "Já existe um usuário cadastrado com esse e-mail" | |
31 | + | |
32 | +#: core/forms.py:33 | |
33 | +msgid "Please enter a valid date" | |
34 | +msgstr "Por favor, insira uma data válida" | |
35 | + | |
36 | +#: core/forms.py:40 | |
37 | +msgid "There is already a registeres User with this CPF" | |
38 | +msgstr "Já existem usuários cadastrados com este CPF" | |
39 | + | |
40 | +#: core/forms.py:42 | |
41 | +msgid "Please enter a valid CPF" | |
42 | +msgstr "Por favor, insira um CPF válido" | |
43 | + | |
44 | +#: core/forms.py:50 | |
45 | +#, python-format | |
46 | +msgid "The password must contain at least % d characters." | |
47 | +msgstr "A senha deve conter pelo menos % d caracteres" | |
48 | + | |
49 | +#: core/forms.py:55 | |
50 | +msgid "" | |
51 | +"The password must contain at least one letter and at least one digit or a " | |
52 | +"punctuation character." | |
53 | +msgstr "A senha deve conter pelo menos uma letra, um dígito ou caracter de pontuação." | |
54 | + | |
55 | +#: core/forms.py:65 | |
56 | +msgid "The confirmation password is incorrect." | |
57 | +msgstr "A confirmação de senha está incorreta." | |
58 | + | |
59 | +#: core/models.py:8 | |
60 | +msgid "Type" | |
61 | +msgstr "Tipo" | |
20 | 62 | |
21 | -#: core/models.py:15 core/models.py:36 | |
63 | +#: core/models.py:9 | |
64 | +msgid "Icon" | |
65 | +msgstr "" | |
66 | + | |
67 | +#: core/models.py:12 | |
68 | +msgid "Amadeus Mime Type" | |
69 | +msgstr "" | |
70 | + | |
71 | +#: core/models.py:13 | |
72 | +msgid "Amadeus Mime Types" | |
73 | +msgstr "" | |
74 | + | |
75 | +#: core/models.py:27 core/models.py:51 | |
22 | 76 | msgid "Name" |
23 | 77 | msgstr "Nome" |
24 | 78 | |
25 | -#: core/models.py:16 core/models.py:37 | |
26 | -msgid "Created Date" | |
79 | +#: core/models.py:28 core/models.py:52 | |
80 | +msgid "Slug" | |
27 | 81 | msgstr "" |
28 | 82 | |
29 | -#: core/models.py:49 | |
83 | +#: core/models.py:29 core/models.py:53 | |
84 | +msgid "Created Date" | |
85 | +msgstr "Data de criação" | |
86 | + | |
87 | +#: core/models.py:54 | |
88 | +msgid "URL" | |
89 | +msgstr "URL" | |
90 | + | |
91 | +#: core/models.py:67 | |
30 | 92 | msgid "Action_Applied" |
31 | 93 | msgstr "" |
32 | 94 | |
33 | -#: core/models.py:50 | |
95 | +#: core/models.py:68 | |
34 | 96 | msgid "Resource" |
35 | 97 | msgstr "" |
36 | 98 | |
37 | -#: core/models.py:61 | |
38 | -msgid "message" | |
39 | -msgstr "mensagem" | |
99 | +#: core/models.py:89 | |
100 | +msgid "Message" | |
101 | +msgstr "Mensagem" | |
40 | 102 | |
41 | -#: core/models.py:62 | |
42 | -msgid "Actor" | |
103 | +#: core/models.py:90 | |
104 | +#, python-format | |
105 | +msgid "%(class)s_Actor" | |
43 | 106 | msgstr "" |
44 | 107 | |
45 | -#: core/models.py:63 | |
108 | +#: core/models.py:90 | |
109 | +msgid "User" | |
110 | +msgstr "Usuário" | |
111 | + | |
112 | +#: core/models.py:91 | |
46 | 113 | msgid "Read" |
47 | 114 | msgstr "" |
48 | 115 | |
49 | -#: core/models.py:64 | |
116 | +#: core/models.py:92 core/models.py:104 | |
117 | +msgid "Date and Time of action" | |
118 | +msgstr "Data e hora da ação" | |
119 | + | |
120 | +#: core/models.py:93 core/models.py:106 | |
50 | 121 | msgid "Action_Resource" |
51 | 122 | msgstr "" |
52 | 123 | |
53 | -#: core/templates/base.html:56 | |
54 | -msgid "Log out" | |
55 | -msgstr "Sair" | |
124 | +#: core/models.py:94 | |
125 | +#, python-format | |
126 | +msgid "%(class)s_Performer" | |
127 | +msgstr "" | |
128 | + | |
129 | +#: core/models.py:94 | |
130 | +msgid "Perfomer" | |
131 | +msgstr "Ator" | |
132 | + | |
133 | +#: core/models.py:97 | |
134 | +msgid "Notification" | |
135 | +msgstr "Notificação" | |
136 | + | |
137 | +#: core/models.py:98 core/templates/base.html:73 core/templates/guest.html:68 | |
138 | +msgid "Notifications" | |
139 | +msgstr "Notificações" | |
140 | + | |
141 | +#: core/models.py:105 | |
142 | +msgid "Actor" | |
143 | +msgstr "Ator" | |
144 | + | |
145 | +#: core/models.py:109 | |
146 | +msgid "Log" | |
147 | +msgstr "Log" | |
148 | + | |
149 | +#: core/models.py:110 | |
150 | +msgid "Logs" | |
151 | +msgstr "Logs" | |
152 | + | |
153 | +#: core/templates/base.html:80 core/templates/guest.html:75 | |
154 | +msgid "See More" | |
155 | +msgstr "Ver Mais" | |
156 | + | |
157 | +#: core/templates/base.html:87 core/templates/guest.html:81 | |
158 | +msgid "messages" | |
159 | +msgstr "Mensagens" | |
160 | + | |
161 | +#: core/templates/base.html:100 core/templates/guest.html:94 | |
162 | +msgid "Menu" | |
163 | +msgstr "Menu" | |
164 | + | |
165 | +#: core/templates/base.html:104 core/templates/lembrar_senha.html:110 | |
166 | +msgid "Home" | |
167 | +msgstr "Início" | |
168 | + | |
169 | +#: core/templates/base.html:105 | |
170 | +msgid "Profile" | |
171 | +msgstr "Perfil" | |
172 | + | |
173 | +#: core/templates/base.html:107 | |
174 | +msgid "My courses" | |
175 | +msgstr "Meus cursos" | |
176 | + | |
177 | +#: core/templates/base.html:108 | |
178 | +msgid "All Courses" | |
179 | +msgstr "Cursos" | |
180 | + | |
181 | +#: core/templates/base.html:111 | |
182 | +msgid "Manage Users" | |
183 | +msgstr "Gerenciar usuários" | |
184 | + | |
185 | +#: core/templates/base.html:115 | |
186 | +msgid "Manage Courses" | |
187 | +msgstr "Gerenciar cursos" | |
188 | + | |
189 | +#: core/templates/base.html:133 | |
190 | +msgid "Category" | |
191 | +msgstr "Categoria" | |
192 | + | |
193 | +#: core/templates/base.html:137 | |
194 | +msgid "Create Category" | |
195 | +msgstr "Criar categorias" | |
196 | + | |
197 | +#: core/templates/base.html:138 | |
198 | +msgid "List Category" | |
199 | +msgstr "Listar categoria" | |
200 | + | |
201 | +#: core/templates/guest.html:98 | |
202 | +msgid "Register" | |
203 | +msgstr "Cadastrar" | |
56 | 204 | |
57 | -#: core/templates/index.html:30 | |
205 | +#: core/templates/guest.html:123 | |
206 | +msgid "All" | |
207 | +msgstr "Todos" | |
208 | + | |
209 | +#: core/templates/guest.html:141 | |
210 | +msgid "Are you sure you want to subscribe to this course?" | |
211 | +msgstr "Tem certeza que deseja se inscrever neste curso?" | |
212 | + | |
213 | +#: core/templates/guest.html:141 | |
214 | +msgid "Subscribe" | |
215 | +msgstr "Inscrever" | |
216 | + | |
217 | +#: core/templates/guest.html:146 | |
218 | +msgid "Course Name" | |
219 | +msgstr "Nome do curso" | |
220 | + | |
221 | +#: core/templates/guest.html:147 | |
222 | +msgid "Begining" | |
223 | +msgstr "Início" | |
224 | + | |
225 | +#: core/templates/guest.html:148 | |
226 | +msgid "End" | |
227 | +msgstr "Fim" | |
228 | + | |
229 | +#: core/templates/guest.html:149 | |
230 | +msgid "Professor" | |
231 | +msgstr "Professor" | |
232 | + | |
233 | +#: core/templates/guest.html:151 | |
234 | +msgid "Description" | |
235 | +msgstr "Descrição" | |
236 | + | |
237 | +#: core/templates/index.html:39 | |
58 | 238 | msgid "Username" |
59 | -msgstr "Usuário" | |
239 | +msgstr "Login" | |
60 | 240 | |
61 | -#: core/templates/index.html:36 | |
62 | -msgid "Password" | |
241 | +#: core/templates/index.html:45 | |
242 | +msgid "password" | |
63 | 243 | msgstr "Senha" |
64 | 244 | |
65 | -#: core/templates/index.html:44 | |
245 | +#: core/templates/index.html:52 | |
66 | 246 | msgid "Remember Email" |
67 | -msgstr "Lembrar Senha" | |
247 | +msgstr "Lembrar E-mail" | |
248 | + | |
249 | +#: core/templates/index.html:58 | |
250 | +msgid "Login" | |
251 | +msgstr "" | |
68 | 252 | |
69 | -#: core/templates/index.html:53 | |
253 | +#: core/templates/index.html:61 | |
70 | 254 | msgid "Guest" |
71 | 255 | msgstr "Convidado" |
72 | 256 | |
73 | -#: core/templates/index.html:56 | |
74 | -msgid "Login" | |
75 | -msgstr "Entrar" | |
257 | +#: core/templates/index.html:64 | |
258 | +msgid "Forgot your password?" | |
259 | +msgstr "Esqueceu a senha?" | |
76 | 260 | |
77 | -#: core/templates/index.html:65 | |
261 | +#: core/templates/index.html:68 | |
78 | 262 | msgid "Sign Up" |
79 | 263 | msgstr "Cadastrar" |
80 | 264 | |
81 | -#: core/templates/register_user.html:29 | |
265 | +#: core/templates/lembrar_senha.html:40 | |
266 | +msgid "Amadeus Project" | |
267 | +msgstr "Projeto Amadeus" | |
268 | + | |
269 | +#: core/templates/lembrar_senha.html:65 | |
270 | +msgid "Enter" | |
271 | +msgstr "Entrar" | |
272 | + | |
273 | +#: core/templates/lembrar_senha.html:101 | |
274 | +msgid "The Project" | |
275 | +msgstr "O Projeto" | |
276 | + | |
277 | +#: core/templates/lembrar_senha.html:103 | |
278 | +msgid "CCTE Group" | |
279 | +msgstr "Grupo CCTE" | |
280 | + | |
281 | +#: core/templates/lembrar_senha.html:106 core/templates/lembrar_senha.html:111 | |
282 | +msgid "Remember password" | |
283 | +msgstr "Lembrar senha" | |
284 | + | |
285 | +#: core/templates/lembrar_senha.html:117 | |
286 | +msgid "New account" | |
287 | +msgstr "Nova conta" | |
288 | + | |
289 | +#: core/templates/lembrar_senha.html:126 | |
290 | +msgid "Email" | |
291 | +msgstr "E-mail" | |
292 | + | |
293 | +#: core/templates/lembrar_senha.html:128 | |
294 | +msgid "Your Email address (exemple@mail.com)" | |
295 | +msgstr "Seu endereço de e-mail (exemplo@mail.com)" | |
296 | + | |
297 | +#: core/templates/lembrar_senha.html:163 | |
298 | +msgid "Copyright Amadeus. All rights reserved" | |
299 | +msgstr "Copyright Amadeus. Todos os direitos reservados" | |
300 | + | |
301 | +#: core/templates/register_user.html:36 | |
82 | 302 | msgid "User Register" |
83 | -msgstr "Registrar Usuário" | |
303 | +msgstr "Cadastro de usuário" | |
84 | 304 | |
85 | -#: core/templates/register_user.html:53 | |
305 | +#: core/templates/register_user.html:88 | |
86 | 306 | msgid "Save" |
87 | 307 | msgstr "Salvar" |
88 | 308 | |
89 | -#: core/templates/remember_password.html:18 | |
309 | +#: core/templates/register_user.html:91 | |
310 | +msgid "Cancel" | |
311 | +msgstr "Cancelar" | |
312 | + | |
313 | +#: core/templates/registration/passwor_reset_complete.html:25 | |
314 | +msgid "Your password has been set. You can go ahead and go now." | |
315 | +msgstr "Sua senha foi redefinida. Você pode prosseguir." | |
316 | + | |
317 | +#: core/templates/registration/passwor_reset_confirm.html:24 | |
318 | +msgid "" | |
319 | +"Please enter your new password twice so we can verify you typed it in " | |
320 | +"correctly." | |
321 | +msgstr "Por favor, insira uma nova senha duas vezes para verificarmos que digitou corretamente." | |
322 | + | |
323 | +#: core/templates/registration/passwor_reset_confirm.html:28 | |
324 | +msgid "New password:" | |
325 | +msgstr "Nova senha:" | |
326 | + | |
327 | +#: core/templates/registration/passwor_reset_confirm.html:30 | |
328 | +msgid "Confirm password:" | |
329 | +msgstr "Confirmação de senha:" | |
330 | + | |
331 | +#: core/templates/registration/passwor_reset_confirm.html:31 | |
332 | +msgid "Change my password" | |
333 | +msgstr "Mudar senha" | |
334 | + | |
335 | +#: core/templates/registration/passwor_reset_confirm.html:36 | |
336 | +msgid "" | |
337 | +"The password reset link was invalid, possibly because it has already been " | |
338 | +"used. Please request a new password reset." | |
339 | +msgstr "O link de redefinição de senha está inválido, possivelmente porque ele já foi utilizado. Por favor, solicite uma nova redefinição de senha." | |
340 | + | |
341 | +#: core/templates/registration/passwor_reset_done.html:39 | |
342 | +msgid "" | |
343 | +"We have sent instructions to set up your password, if an account exists with " | |
344 | +"the email entered. You should receive them soon." | |
345 | +msgstr "Foi enviado as instruções para redefinição de senha, se a conta existe com o e-mail informado. Você deve receber a mensagem em breve." | |
346 | + | |
347 | +#: core/templates/registration/passwor_reset_done.html:40 | |
348 | +msgid "" | |
349 | +"If you do not receive an email, please make sure you entered the address you " | |
350 | +"registered, and check the spam folder." | |
351 | +msgstr "Se você não recebeu a mensagem, certifique que informou o e-mail corretamente e cheque sua caixa de spam" | |
352 | + | |
353 | +#: core/templates/registration/passwor_reset_done.html:43 | |
354 | +#: core/templates/registration/passwor_reset_form.html:46 | |
355 | +msgid "Back" | |
356 | +msgstr "Voltar" | |
357 | + | |
358 | +#: core/templates/registration/passwor_reset_form.html:39 | |
90 | 359 | msgid "E-mail" |
91 | 360 | msgstr "E-mail" |
92 | 361 | |
93 | -#: core/templates/remember_password.html:22 | |
94 | -msgid "Registration" | |
95 | -msgstr "Registrar" | |
96 | - | |
97 | -#: core/templates/remember_password.html:26 | |
362 | +#: core/templates/registration/passwor_reset_form.html:43 | |
98 | 363 | msgid "Send" |
99 | 364 | msgstr "Enviar" |
100 | 365 | |
101 | -#: core/views.py:31 | |
366 | +#: core/templates/registration/password_reset_subject.txt:2 | |
367 | +#, python-format | |
368 | +msgid "Password reset on %(site_name)s" | |
369 | +msgstr "Senha redefinida em %(site_name)s" | |
370 | + | |
371 | +#: core/tests.py:97 | |
372 | +msgid "Enter a valid email address." | |
373 | +msgstr "Insira um e-mail válido." | |
374 | + | |
375 | +#: core/tests.py:111 core/tests.py:204 | |
376 | +msgid "This field is required." | |
377 | +msgstr "Este campo é obrigatório." | |
378 | + | |
379 | +#: core/views.py:41 | |
102 | 380 | msgid "User successfully registered!" |
103 | -msgstr "Usuario cadastrado com sucesso" | |
381 | +msgstr "Usuário cadastrado com sucesso!" | |
382 | + | |
383 | +#: core/views.py:56 | |
384 | +msgid "Recover your password" | |
385 | +msgstr "Redefina sua senha" | |
386 | + | |
387 | +#: core/views.py:57 | |
388 | +#, python-brace-format | |
389 | +msgid "" | |
390 | +"Hello {0}, \n" | |
391 | +"Recover your password to use your account.\n" | |
392 | +"Number of registration: {1}\n" | |
393 | +"Link for recuver password.\n" | |
394 | +"\n" | |
395 | +"Respectfully,\n" | |
396 | +"Team Amadeus." | |
397 | +msgstr "Olá, {0} \n" | |
398 | +"Redefina a senha para utilizar sua conta.\n" | |
399 | +"Número de registro: {1}\n" | |
400 | +"Link para redefinição de senha.\n" | |
401 | +"\n" | |
402 | +"Atenciosamente,\n" | |
403 | +"Equipe Amadeus." | |
104 | 404 | |
105 | -#: core/views.py:54 | |
106 | -msgid "E-mail or password are incorrect!" | |
107 | -msgstr "O E-mail e/ou a senha estão incorretos" | |
405 | +#: core/views.py:83 | |
406 | +msgid "E-mail or password are incorrect." | |
407 | +msgstr "E-mail ou senha incorretos." | ... | ... |
core/static/css/base/amadeus.css
... | ... | @@ -411,4 +411,9 @@ ul, li { |
411 | 411 | .cards-detail .panel .panel-heading{/*background-color:;*/} |
412 | 412 | .cards-detail .panel .panel-heading h4{color:black;} |
413 | 413 | .course, .subject, .topic{ padding-top: 0px; padding-bottom: 0px; } |
414 | -.course-detail{padding-top: 10px; padding-bottom: 10px;} | |
415 | 414 | \ No newline at end of file |
415 | +.course-detail{padding-top: 10px; padding-bottom: 10px;} | |
416 | + | |
417 | +/* Menu link remove radius */ | |
418 | +.nav-pills > li > a { | |
419 | + border-radius: 0px; | |
420 | +} | |
416 | 421 | \ No newline at end of file | ... | ... |
core/static/img/favicon.ico
No preview for this file type
core/static/js/base/amadeus.js
... | ... | @@ -91,10 +91,15 @@ This functions get the next 5 notifications from the user given a "step"(an amou |
91 | 91 | function getNotifications(step){ |
92 | 92 | $.get('/getNotifications', |
93 | 93 | {'steps':step, 'amount': 5}, function(data){ |
94 | - $("#notification-dropdown").append(data); | |
95 | - $('#notification-see-more').remove(); | |
96 | - var seemore = '<li><a onclick="getNotifications('+(step+5)+')"> <div id="notification-see-more" class="list-group-item"> <div class="row-content"><p class="list-group-item-text">See More</p> </div> </a></li>'; | |
97 | - $("#notification-dropdown").append(seemore); | |
98 | - $("#notification-count").text(step+5); | |
94 | + if(data == "nothing"){ | |
95 | + console.log("No notifications"); | |
96 | + }else{ | |
97 | + $("#notification-dropdown").append(data['html']); | |
98 | + $('#notification-see-more').remove(); | |
99 | + var seemore = '<li><a onclick="getNotifications('+(step+data['amountGotten'])+')"> <div id="notification-see-more" class="list-group-item"> <div class="row-content"><p class="list-group-item-text">See More</p> </div> </a></li>'; | |
100 | + $("#notification-dropdown").append(seemore); | |
101 | + $("#notification-count").text(step+data['amountGotten']); | |
102 | + } | |
103 | + | |
99 | 104 | }); |
100 | 105 | } | ... | ... |
core/templates/base.html
... | ... | @@ -9,7 +9,7 @@ |
9 | 9 | <title>{{ title }}</title> |
10 | 10 | |
11 | 11 | <meta http-equiv="Cache-Control" content="no-cache, no-store" /> |
12 | - <link href="{% static 'img/favicon.ico' %}" rel="shortcut icon" /> | |
12 | + <link href="{% static 'img/topo-amadeus.png' %}" rel="shortcut icon" /> | |
13 | 13 | <!-- Roboto font --> |
14 | 14 | <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Roboto:300,400,500,700" type="text/css"> |
15 | 15 | <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> | ... | ... |
core/templates/guest.html
1 | 1 | <!DOCTYPE html> |
2 | 2 | |
3 | -{% load static i18n %} | |
3 | + | |
4 | 4 | {% load i18n custom_filters %} |
5 | +{% load static i18n %} | |
5 | 6 | |
6 | 7 | <html> |
7 | 8 | <head> |
... | ... | @@ -47,6 +48,7 @@ |
47 | 48 | {% block javascript %} |
48 | 49 | <script type="text/javascript" src="{% static 'js/course.js' %}"></script> |
49 | 50 | {% endblock %} |
51 | + | |
50 | 52 | </head> |
51 | 53 | <body> |
52 | 54 | {% block nav %} |
... | ... | @@ -64,14 +66,14 @@ |
64 | 66 | <li class="" data-toggle="tooltip" data-placement="bottom" title data-original-title="notifications"> |
65 | 67 | <a class="dropdown-toggle" data-toggle="dropdown"> <span id="notification-count" class="badge notification-count">{{notifications.count}}</span><i class="fa fa-bell" aria-hidden="true"></i></a> |
66 | 68 | <ul id="notification-dropdown" class="dropdown-menu"> |
67 | - <li class="dropdown-header">Notifications</li> | |
69 | + <li class="dropdown-header">{% trans 'Notifications' %}</li> | |
68 | 70 | {% include "notifications.html" %} |
69 | 71 | |
70 | 72 | <li> |
71 | 73 | <a onclick="getNotifications(5)"> |
72 | 74 | <div id="notification-see-more" class="list-group-item"> |
73 | 75 | <div class="row-content"> |
74 | - <p class="list-group-item-text">See More</p> | |
76 | + <p class="list-group-item-text">{% trans 'See More' %}</p> | |
75 | 77 | </div> |
76 | 78 | </a> |
77 | 79 | </li> |
... | ... | @@ -90,7 +92,7 @@ |
90 | 92 | {% block sidebar %} |
91 | 93 | <div class="panel panel-primary"> |
92 | 94 | <div class="panel-heading"> |
93 | - <h4>Menu</h4> | |
95 | + <h4>{% trans 'Menu' %}</h4> | |
94 | 96 | </div> |
95 | 97 | <div class="panel-body"> |
96 | 98 | <ul class="nav nav-pills nav-stacked"> |
... | ... | @@ -119,7 +121,7 @@ |
119 | 121 | |
120 | 122 | <div class="col-md-10"> |
121 | 123 | <div class="btn-group btn-group-justified btn-group-raised"> |
122 | - <a href="?category=all" class="btn btn-raised btn-info">Todos</a> | |
124 | + <a href="?category=all" class="btn btn-raised btn-info">{% trans 'All' %}</a> | |
123 | 125 | {% for category in categories %} |
124 | 126 | <a href="?category={{category.name}}" class="btn btn-raised btn-primary">{{category.name}}</a> |
125 | 127 | {% endfor %} |
... | ... | @@ -142,12 +144,12 @@ |
142 | 144 | </div> |
143 | 145 | |
144 | 146 | <div class="panel-body"> |
145 | - <p><b>Course Name: </b>{{course.name}}</p> | |
146 | - <p><b>Begining: </b>{{course.init_date}}</p> | |
147 | - <p><b>End: </b>{{course.end_date}}</p> | |
148 | - <p><b>Professor: </b>{{course.professors.name}}</p> | |
147 | + <p><b>{% trans 'Course Name' %}: </b>{{course.name}}</p> | |
148 | + <p><b>{% trans 'Begining' %}: </b>{{course.init_date}}</p> | |
149 | + <p><b>{% trans 'End' %}: </b>{{course.end_date}}</p> | |
150 | + <p><b>{% trans 'Professor' %}: </b>{{course.professors.name}}</p> | |
149 | 151 | <p> |
150 | - <b>Description:</b> | |
152 | + <b>{% trans 'Description' %}:</b> | |
151 | 153 | <i> |
152 | 154 | {{course.content}} |
153 | 155 | </i> | ... | ... |
core/templates/index.html
... | ... | @@ -42,7 +42,7 @@ |
42 | 42 | </div> |
43 | 43 | <div class="col-md-12 col-xs-12 col-lg-10 col-lg-offset-1 col-sm-12"> |
44 | 44 | <div class="form-group"> |
45 | - <label for="inputPassword" class="control-label"> {% trans 'Password' %}</label> | |
45 | + <label for="inputPassword" class="control-label"> {% trans 'password' %}</label> | |
46 | 46 | <input form="form-login" for="inputSmall" type="password" name="password" class="form-control" id="inputPassword" placeholder="Password"> |
47 | 47 | </div> |
48 | 48 | </div> |
... | ... | @@ -61,7 +61,7 @@ |
61 | 61 | <a class="btn btn-default btn-raised btn-block" href="{% url 'core:guest' %}" formaction="#" style="position: initial;">{% trans 'Guest' %}</a> |
62 | 62 | </div> |
63 | 63 | <div class="col-md-10 col-sm-10 col-xs-10 col-lg-6 col-lg-offset-7 forgotPassword"> |
64 | - <a href="{% url 'core:password_reset' %}">{% trans "Forgot your password?" %}</a> | |
64 | + <a href="{% url 'core:password_reset' %}">{% trans 'Forgot your password?' %}</a> | |
65 | 65 | </div> |
66 | 66 | </div> |
67 | 67 | </div> | ... | ... |
core/templates/lembrar_senha.html
... | ... | @@ -98,23 +98,23 @@ Você deve ter recebido uma cópia da Licença Pública Geral GNU, sob o título |
98 | 98 | |
99 | 99 | <div id="institutional_menu"> |
100 | 100 | |
101 | - <span><a href="/amadeuslms/fProject.do" target="_blank">{% trans 'O Projeto' %}</a></span> | |
101 | + <span><a href="/amadeuslms/fProject.do" target="_blank">{% trans 'The Project' %}</a></span> | |
102 | 102 | <span> | </span> |
103 | - <span><a href="/amadeuslms/fCCTE.do" target="_blank">{% trans 'Grupo CCTE' %}</a></span> | |
103 | + <span><a href="/amadeuslms/fCCTE.do" target="_blank">{% trans 'CCTE Group' %}</a></span> | |
104 | 104 | </div> |
105 | 105 | <div id="pTitle" class="pTitle"> |
106 | - <h2>{% trans 'Lembrar senha' %}</h2> | |
106 | + <h2>{% trans 'Remember password' %}</h2> | |
107 | 107 | </div> |
108 | 108 | <div id="pBreadCrumbs" class="pBreadCrumbs"> |
109 | 109 | <ul id="breadcrumb"> |
110 | - <li><a href="{% url 'home' %}">{% trans 'Página Inicial' %}</a></li> | |
111 | - <li>{%trans 'Lembrar senha' %}</li> | |
110 | + <li><a href="{% url 'home' %}">{% trans 'Home' %}</a></li> | |
111 | + <li>{%trans 'Remember password' %}</li> | |
112 | 112 | </ul> |
113 | 113 | </div> |
114 | 114 | <div id="pLeftMenu" class="pLeftMenu"> |
115 | 115 | <div id="side_menu_1"> |
116 | 116 | <ul id="menu_sessoes"> |
117 | - <li><a href="{% url 'create_account' %}" class="insert">{% trans 'Nova conta' %}</a></li> | |
117 | + <li><a href="{% url 'create_account' %}" class="insert">{% trans 'New account' %}</a></li> | |
118 | 118 | </ul> |
119 | 119 | </div> |
120 | 120 | </div> |
... | ... | @@ -123,9 +123,9 @@ Você deve ter recebido uma cópia da Licença Pública Geral GNU, sob o título |
123 | 123 | |
124 | 124 | |
125 | 125 | <form name="remindPasswordForm" method="post" action="/amadeuslms/remindPassword.do"> |
126 | - <dt>{% trans 'Endereço de e-mail' %}</dt> | |
126 | + <dt>{% trans 'Email' %}</dt> | |
127 | 127 | <dd><input type="text" name="email" value="" class="formfield2" id="username"></dd> |
128 | - <dd class="description">{% trans 'Seu endereço de e-mail (exemplo@mail.com)' %}</dd> | |
128 | + <dd class="description">{% trans 'Your Email address (exemple@mail.com)' %}</dd> | |
129 | 129 | <dt class="field"><input type="submit" name="remindPassword" value="Enviar e-mail" class="button"></dt> |
130 | 130 | </form> |
131 | 131 | <script type="text/javascript" language="JavaScript"> |
... | ... | @@ -160,7 +160,7 @@ Você deve ter recebido uma cópia da Licença Pública Geral GNU, sob o título |
160 | 160 | |
161 | 161 | |
162 | 162 | <div id="footnote"> |
163 | - <dl><dd>{% trans 'Copyright Amadeus. Todos os direitos reservados' %}<dd></dl> | |
163 | + <dl><dd>{% trans 'Copyright Amadeus. All rights reserved' %}<dd></dl> | |
164 | 164 | </div> |
165 | 165 | |
166 | 166 | </div> | ... | ... |
core/templates/notifications.html
... | ... | @@ -14,7 +14,7 @@ |
14 | 14 | <div class="least-content "> {{ notification.datetime|timesince }} </div> |
15 | 15 | </div> |
16 | 16 | <div class="row-content"> |
17 | - <p class="list-group-item-text">{{ notification.message }}</p> | |
17 | + <p class="list-group-item-text">{{notification.actor.username}} {{ notification.message }}</p> | |
18 | 18 | </div> |
19 | 19 | </div> |
20 | 20 | </a> |
... | ... | @@ -30,7 +30,7 @@ |
30 | 30 | |
31 | 31 | <div class="least-content pull-right">{{ notification.datetime|timesince }}</div> |
32 | 32 | |
33 | - <p class="list-group-item-text">{{ notification.message }}</p> | |
33 | + <p class="list-group-item-text">{{notification.actor.username}} {{ notification.message }}</p> | |
34 | 34 | </div> |
35 | 35 | </a> |
36 | 36 | </li> | ... | ... |
core/templates/registration/passwor_reset_email.html
core/templates/registration/password_reset_subject.txt
core/views.py
... | ... | @@ -54,7 +54,7 @@ def remember_password(request): |
54 | 54 | registration = request.POST['registration'] |
55 | 55 | if email and registration: |
56 | 56 | subject = _('Recover your password') |
57 | - message = _('Hello %s, \nRecover your password to use your account.\nNumber of registration: %s\nLink for recuver password.\n\nRespectfully,\nTeam Amadeus.' % (request.user,registration)) | |
57 | + message = _('Hello {0}, \nRecover your password to use your account.\nNumber of registration: {1}\nLink for recuver password.\n\nRespectfully,\nTeam Amadeus.'.format(request.user,registration)) | |
58 | 58 | try: |
59 | 59 | send_mail(subject, message, settings.DEFAULT_FROM_EMAIL, [email],fail_silently=False) |
60 | 60 | context['success'] = 'Email successfully sent' |
... | ... | @@ -101,17 +101,24 @@ def processNotification(self, notificationId): |
101 | 101 | def getNotifications(request): |
102 | 102 | context = {} |
103 | 103 | if request.user.is_authenticated: |
104 | - | |
104 | + amountGotten = 0 #amountOfNotifications actually received | |
105 | 105 | steps = int(request.GET['steps']) |
106 | 106 | amount = int(request.GET['amount']) |
107 | 107 | notifications = Notification.objects.filter(user= request.user, read=False).order_by('-datetime')[steps:steps+amount] |
108 | + if len(notifications) == 0: | |
109 | + return HttpResponse("nothing") | |
110 | + else: | |
111 | + amountGotten = len(notifications) | |
108 | 112 | context['notifications'] = notifications |
109 | 113 | else: #go to login page |
110 | 114 | return HttpResponse('teste') |
111 | 115 | |
112 | 116 | |
113 | 117 | html = render_to_string("notifications.html", context) |
114 | - return HttpResponse(html) | |
118 | + data = {} | |
119 | + data['html'] = html | |
120 | + data['amountGotten'] = amountGotten | |
121 | + return JsonResponse(data) | |
115 | 122 | |
116 | 123 | def guest (request): |
117 | 124 | context = { | ... | ... |
courses/locale/pt_BR/LC_MESSAGES/django.po
... | ... | @@ -8,7 +8,7 @@ msgid "" |
8 | 8 | msgstr "" |
9 | 9 | "Project-Id-Version: PACKAGE VERSION\n" |
10 | 10 | "Report-Msgid-Bugs-To: \n" |
11 | -"POT-Creation-Date: 2016-09-07 00:13-0300\n" | |
11 | +"POT-Creation-Date: 2016-10-26 14:47-0300\n" | |
12 | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
13 | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
14 | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" |
... | ... | @@ -18,290 +18,564 @@ msgstr "" |
18 | 18 | "Content-Transfer-Encoding: 8bit\n" |
19 | 19 | "Plural-Forms: nplurals=2; plural=(n > 1);\n" |
20 | 20 | |
21 | -#: courses/forms.py:11 courses/forms.py:25 courses/forms.py:58 | |
22 | -#: courses/models.py:7 courses/models.py:20 courses/models.py:44 | |
23 | -#: courses/templates/category/index.html:38 | |
21 | +#: courses/forms.py:13 courses/forms.py:56 courses/forms.py:96 | |
22 | +#: courses/forms.py:133 courses/forms.py:153 courses/models.py:14 | |
23 | +#: courses/models.py:26 courses/models.py:39 courses/models.py:75 | |
24 | +#: courses/models.py:103 courses/models.py:165 | |
25 | +#: courses/templates/course/replicate.html:18 | |
26 | +#: courses/templates/subject/form_view_teacher.html:224 | |
27 | +#: courses/templates/subject/form_view_teacher.html:279 | |
24 | 28 | msgid "Name" |
25 | 29 | msgstr "Nome" |
26 | 30 | |
27 | -#: courses/forms.py:14 | |
28 | -msgid "Category name" | |
29 | -msgstr "" | |
31 | +#: courses/forms.py:16 | |
32 | +#, fuzzy | |
33 | +#| msgid "Category name" | |
34 | +msgid "CourseCategory name" | |
35 | +msgstr "Nome da categoria" | |
36 | + | |
37 | +#: courses/forms.py:26 courses/forms.py:42 | |
38 | +msgid "The end date may not be before the start date." | |
39 | +msgstr "A data final não pode anteceder a data inicial." | |
40 | + | |
41 | +#: courses/forms.py:34 | |
42 | +msgid "The course start date must be after the end of registration." | |
43 | +msgstr "A data de início do curso deve ocorrer após as inscrições." | |
30 | 44 | |
31 | -#: courses/forms.py:26 | |
45 | +#: courses/forms.py:57 courses/forms.py:97 | |
46 | +#: courses/templates/course/replicate.html:28 | |
32 | 47 | msgid "Objectives" |
33 | 48 | msgstr "Objetivos" |
34 | 49 | |
35 | -#: courses/forms.py:27 courses/models.py:23 | |
50 | +#: courses/forms.py:58 courses/forms.py:98 courses/models.py:42 | |
51 | +#: courses/templates/course/replicate.html:37 | |
36 | 52 | msgid "Content" |
37 | 53 | msgstr "Conteúdo" |
38 | 54 | |
39 | -#: courses/forms.py:28 | |
55 | +#: courses/forms.py:59 courses/forms.py:99 | |
56 | +#: courses/templates/course/replicate.html:47 | |
40 | 57 | msgid "Number of studets maximum" |
41 | 58 | msgstr "Número máximo de estudantes" |
42 | 59 | |
43 | -#: courses/forms.py:29 | |
60 | +#: courses/forms.py:60 courses/forms.py:100 | |
61 | +#: courses/templates/course/replicate.html:57 | |
44 | 62 | msgid "Course registration start date" |
45 | 63 | msgstr "Início das inscrições" |
46 | 64 | |
47 | -#: courses/forms.py:30 | |
65 | +#: courses/forms.py:61 courses/forms.py:101 | |
66 | +#: courses/templates/course/replicate.html:67 | |
48 | 67 | msgid "Course registration end date" |
49 | 68 | msgstr "Fim da Inscrições" |
50 | 69 | |
51 | -#: courses/forms.py:31 | |
70 | +#: courses/forms.py:62 courses/forms.py:102 | |
71 | +#: courses/templates/course/replicate.html:77 | |
52 | 72 | msgid "Course start date" |
53 | 73 | msgstr "Data de inicio do Curso" |
54 | 74 | |
55 | -#: courses/forms.py:32 | |
75 | +#: courses/forms.py:63 courses/forms.py:103 | |
76 | +#: courses/templates/course/replicate.html:87 | |
56 | 77 | msgid "Course end date" |
57 | 78 | msgstr "Data de termino do curso" |
58 | 79 | |
59 | -#: courses/forms.py:33 courses/models.py:30 | |
80 | +#: courses/forms.py:64 courses/forms.py:104 courses/models.py:49 | |
60 | 81 | msgid "Image" |
61 | 82 | msgstr "Imagem" |
62 | 83 | |
63 | -#: courses/forms.py:34 courses/models.py:12 courses/models.py:31 | |
64 | -msgid "Category" | |
65 | -msgstr "Categoria" | |
84 | +#: courses/forms.py:65 courses/forms.py:105 | |
85 | +#: courses/templates/course/replicate.html:115 | |
86 | +#, fuzzy | |
87 | +#| msgid "Create Category" | |
88 | +msgid "CourseCategory" | |
89 | +msgstr "Criar Categoria" | |
66 | 90 | |
67 | -#: courses/forms.py:37 | |
91 | +#: courses/forms.py:68 courses/forms.py:109 | |
92 | +#: courses/templates/course/replicate.html:23 | |
68 | 93 | msgid "Course name" |
69 | 94 | msgstr "Nome do Curso" |
70 | 95 | |
71 | -#: courses/forms.py:38 | |
96 | +#: courses/forms.py:69 courses/forms.py:110 | |
97 | +#: courses/templates/course/replicate.html:32 | |
72 | 98 | msgid "Course objective" |
73 | 99 | msgstr "Objetivo do Curso" |
74 | 100 | |
75 | -#: courses/forms.py:39 | |
101 | +#: courses/forms.py:70 courses/forms.py:111 | |
102 | +#: courses/templates/course/replicate.html:42 | |
76 | 103 | msgid "Course modules" |
77 | 104 | msgstr "Ḿódulos do curso" |
78 | 105 | |
79 | -#: courses/forms.py:40 | |
106 | +#: courses/forms.py:71 courses/forms.py:112 | |
107 | +#: courses/templates/course/replicate.html:52 | |
80 | 108 | msgid "Max number of students that a class can have" |
81 | 109 | msgstr "Número máximo de estudantes que uma classe pode ter" |
82 | 110 | |
83 | -#: courses/forms.py:41 | |
111 | +#: courses/forms.py:72 courses/forms.py:113 | |
112 | +#: courses/templates/course/replicate.html:62 | |
84 | 113 | msgid "Date that starts the registration period of the course (dd/mm/yyyy)" |
85 | 114 | msgstr "Data do começo do período de inscrição do curso (dia/mês/ano)" |
86 | 115 | |
87 | -#: courses/forms.py:42 | |
116 | +#: courses/forms.py:73 courses/forms.py:114 | |
117 | +#: courses/templates/course/replicate.html:72 | |
88 | 118 | msgid "Date that ends the registration period of the course (dd/mm/yyyy)" |
89 | 119 | msgstr "Data do termino do período de inscrição do curso (dia/mês/ano)" |
90 | 120 | |
91 | -#: courses/forms.py:43 | |
121 | +#: courses/forms.py:74 courses/forms.py:115 | |
122 | +#: courses/templates/course/replicate.html:82 | |
92 | 123 | msgid "Date that the course starts (dd/mm/yyyy)" |
93 | 124 | msgstr "Data que o curso começa (dia/mês/ano)" |
94 | 125 | |
95 | -#: courses/forms.py:44 | |
126 | +#: courses/forms.py:75 courses/forms.py:116 | |
127 | +#: courses/templates/course/replicate.html:92 | |
96 | 128 | msgid "Date that the course ends (dd/mm/yyyy)" |
97 | 129 | msgstr "Data que o curso termina (dia/mês/ano)" |
98 | 130 | |
99 | -#: courses/forms.py:45 | |
131 | +#: courses/forms.py:76 courses/forms.py:117 | |
132 | +#: courses/templates/course/replicate.html:110 | |
100 | 133 | msgid "Representative image of the course" |
101 | 134 | msgstr "Imagem representativa do curso" |
102 | 135 | |
103 | -#: courses/forms.py:46 | |
104 | -msgid "Category which the course belongs" | |
136 | +#: courses/forms.py:77 courses/forms.py:118 | |
137 | +#: courses/templates/course/replicate.html:124 | |
138 | +#, fuzzy | |
139 | +#| msgid "Category which the course belongs" | |
140 | +msgid "CourseCategory which the course belongs" | |
105 | 141 | msgstr "Categoria ao qual o curso pertence" |
106 | 142 | |
107 | -#: courses/forms.py:59 courses/models.py:46 | |
143 | +#: courses/forms.py:106 | |
144 | +#, fuzzy | |
145 | +#| msgid "Maximum Students" | |
146 | +msgid "Student" | |
147 | +msgstr "Quantidade máxima de estudantes" | |
148 | + | |
149 | +#: courses/forms.py:119 | |
150 | +#, fuzzy | |
151 | +#| msgid "Course modules" | |
152 | +msgid "Course's Students" | |
153 | +msgstr "Ḿódulos do curso" | |
154 | + | |
155 | +#: courses/forms.py:134 courses/forms.py:154 courses/models.py:77 | |
156 | +#: courses/models.py:105 courses/models.py:167 | |
157 | +#: courses/templates/course/course_card.html:35 | |
158 | +#: courses/templates/course/view.html:69 | |
159 | +#: courses/templates/course/view.html:164 | |
160 | +#: courses/templates/course/view.html:220 | |
161 | +#: courses/templates/subject/form_view_teacher.html:121 | |
162 | +#: courses/templates/subject/index.html:80 | |
108 | 163 | msgid "Description" |
109 | 164 | msgstr "Descrição" |
110 | 165 | |
111 | -#: courses/forms.py:60 | |
166 | +#: courses/forms.py:135 | |
167 | +#, fuzzy | |
168 | +#| msgid "Course start date" | |
169 | +msgid "Start date" | |
170 | +msgstr "Data de inicio do Curso" | |
171 | + | |
172 | +#: courses/forms.py:136 | |
173 | +#, fuzzy | |
174 | +#| msgid "Course end date" | |
175 | +msgid "End date" | |
176 | +msgstr "Data de termino do curso" | |
177 | + | |
178 | +#: courses/forms.py:137 | |
112 | 179 | msgid "Is it visible?" |
113 | 180 | msgstr "Visível?" |
114 | 181 | |
115 | -#: courses/forms.py:63 | |
116 | -msgid "Module's name" | |
117 | -msgstr "nome do módulo" | |
182 | +#: courses/forms.py:140 | |
183 | +#, fuzzy | |
184 | +#| msgid "Module's name" | |
185 | +msgid "Subjects's name" | |
186 | +msgstr "Nome do módulo" | |
118 | 187 | |
119 | -#: courses/forms.py:64 | |
120 | -msgid "Modules's description" | |
121 | -msgstr "descrição do módulo" | |
188 | +#: courses/forms.py:141 | |
189 | +#, fuzzy | |
190 | +#| msgid "Modules's description" | |
191 | +msgid "Subjects's description" | |
192 | +msgstr "Descrição do módulo" | |
122 | 193 | |
123 | -#: courses/forms.py:65 | |
124 | -msgid "Is the module visible?" | |
125 | -msgstr "" | |
194 | +#: courses/forms.py:142 | |
195 | +msgid "Start date of the subject" | |
196 | +msgstr "Data de início do assunto" | |
126 | 197 | |
127 | -#: courses/models.py:8 courses/models.py:21 courses/models.py:45 | |
128 | -#: courses/templates/category/index.html:39 | |
198 | +#: courses/forms.py:143 | |
199 | +msgid "End date of the subject" | |
200 | +msgstr "Data final do assunto" | |
201 | + | |
202 | +#: courses/forms.py:144 | |
203 | +#, fuzzy | |
204 | +#| msgid "Is the module visible?" | |
205 | +msgid "Is the subject visible?" | |
206 | +msgstr "O módulo é visível?" | |
207 | + | |
208 | +#: courses/forms.py:157 | |
209 | +#, fuzzy | |
210 | +#| msgid "Module's name" | |
211 | +msgid "Topic's name" | |
212 | +msgstr "nome do módulo" | |
213 | + | |
214 | +#: courses/forms.py:158 | |
215 | +#, fuzzy | |
216 | +#| msgid "Modules's description" | |
217 | +msgid "Topic's description" | |
218 | +msgstr "Descrição do módulo" | |
219 | + | |
220 | +#: courses/models.py:15 courses/models.py:27 courses/models.py:40 | |
221 | +#: courses/models.py:76 courses/models.py:104 courses/models.py:166 | |
129 | 222 | msgid "Slug" |
130 | 223 | msgstr "" |
131 | 224 | |
132 | -#: courses/models.py:9 courses/models.py:25 courses/models.py:48 | |
225 | +#: courses/models.py:16 courses/models.py:28 courses/models.py:44 | |
226 | +#: courses/models.py:81 courses/models.py:106 | |
133 | 227 | msgid "Creation Date" |
134 | -msgstr "" | |
228 | +msgstr "Data de criação" | |
135 | 229 | |
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 | |
230 | +#: courses/models.py:19 courses/models.py:31 courses/models.py:50 | |
231 | +#: courses/models.py:84 courses/templates/category/create.html:43 | |
232 | +#: courses/templates/category/index.html:44 | |
233 | +#: courses/templates/category/update.html:43 | |
234 | +#: courses/templates/course/index.html:48 | |
235 | +msgid "Category" | |
236 | +msgstr "Categoria" | |
237 | + | |
238 | +#: courses/models.py:20 courses/models.py:32 | |
141 | 239 | msgid "Categories" |
142 | 240 | msgstr "Categorias" |
143 | 241 | |
144 | -#: courses/models.py:22 | |
242 | +#: courses/models.py:41 | |
145 | 243 | msgid "Objectivies" |
146 | -msgstr "" | |
244 | +msgstr "Objetivos" | |
147 | 245 | |
148 | -#: courses/models.py:24 | |
246 | +#: courses/models.py:43 | |
149 | 247 | msgid "Maximum Students" |
150 | 248 | msgstr "Quantidade máximo de estudantes" |
151 | 249 | |
152 | -#: courses/models.py:26 | |
250 | +#: courses/models.py:45 | |
153 | 251 | msgid "Register Date (Begin)" |
154 | -msgstr "" | |
252 | +msgstr "Data de inscrição (Início)" | |
155 | 253 | |
156 | -#: courses/models.py:27 | |
254 | +#: courses/models.py:46 | |
157 | 255 | msgid "Register Date (End)" |
158 | -msgstr "" | |
256 | +msgstr "Data de inscrição (término)" | |
159 | 257 | |
160 | -#: courses/models.py:28 | |
258 | +#: courses/models.py:47 | |
161 | 259 | msgid "Begin of Course Date" |
162 | -msgstr "" | |
260 | +msgstr "Início do curso" | |
163 | 261 | |
164 | -#: courses/models.py:29 | |
262 | +#: courses/models.py:48 | |
165 | 263 | msgid "End of Course Date" |
166 | -msgstr "" | |
264 | +msgstr "Término do curso" | |
167 | 265 | |
168 | -#: courses/models.py:32 | |
169 | -msgid "User" | |
170 | -msgstr "" | |
266 | +#: courses/models.py:51 courses/models.py:85 | |
267 | +msgid "Professors" | |
268 | +msgstr "Professores" | |
171 | 269 | |
172 | -#: courses/models.py:36 courses/models.py:49 | |
270 | +#: courses/models.py:52 courses/models.py:86 courses/models.py:127 | |
271 | +#: courses/models.py:147 | |
272 | +#, fuzzy | |
273 | +#| msgid "Maximum Students" | |
274 | +msgid "Students" | |
275 | +msgstr "Quantidade máximo de estudantes" | |
276 | + | |
277 | +#: courses/models.py:53 | |
278 | +msgid "Public" | |
279 | +msgstr "Público" | |
280 | + | |
281 | +#: courses/models.py:57 courses/models.py:83 | |
173 | 282 | msgid "Course" |
174 | 283 | msgstr "Curso" |
175 | 284 | |
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/home.html:16 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 | |
285 | +#: courses/models.py:58 courses/templates/course/filtered.html:8 | |
286 | +#: courses/templates/course/home.html:16 | |
186 | 287 | msgid "Courses" |
187 | 288 | msgstr "Cursos" |
188 | 289 | |
189 | -#: courses/models.py:47 courses/templates/module/index.html:107 | |
290 | +#: courses/models.py:78 courses/models.py:110 | |
190 | 291 | msgid "Visible" |
191 | 292 | msgstr "Visível" |
192 | 293 | |
193 | -#: courses/models.py:53 | |
194 | -msgid "Module" | |
195 | -msgstr "Modulo" | |
294 | +#: courses/models.py:79 | |
295 | +#, fuzzy | |
296 | +#| msgid "Begin of Course Date" | |
297 | +msgid "Begin of Subject Date" | |
298 | +msgstr "Início do curso" | |
299 | + | |
300 | +#: courses/models.py:80 | |
301 | +#, fuzzy | |
302 | +#| msgid "End of Course Date" | |
303 | +msgid "End of Subject Date" | |
304 | +msgstr "Término do curso" | |
305 | + | |
306 | +#: courses/models.py:82 courses/models.py:107 | |
307 | +msgid "Date of last update" | |
308 | +msgstr "Data da última atualização" | |
309 | + | |
310 | +#: courses/models.py:90 courses/models.py:108 | |
311 | +msgid "Subject" | |
312 | +msgstr "Assunto" | |
313 | + | |
314 | +#: courses/models.py:91 | |
315 | +#, fuzzy | |
316 | +#| msgid "Objectives" | |
317 | +msgid "Subjects" | |
318 | +msgstr "Objetivos" | |
319 | + | |
320 | +#: courses/models.py:109 | |
321 | +msgid "Owner" | |
322 | +msgstr "Proprietário" | |
196 | 323 | |
197 | -#: courses/models.py:54 courses/templates/module/index.html:92 | |
198 | -msgid "Modules" | |
199 | -msgstr "Modulos" | |
324 | +#: courses/models.py:114 courses/models.py:125 courses/models.py:146 | |
325 | +msgid "Topic" | |
326 | +msgstr "Tópico" | |
327 | + | |
328 | +#: courses/models.py:115 | |
329 | +msgid "Topics" | |
330 | +msgstr "Tópicos" | |
331 | + | |
332 | +#: courses/models.py:126 | |
333 | +msgid "Deliver Date" | |
334 | +msgstr "Data de entrega" | |
335 | + | |
336 | +#: courses/models.py:128 courses/models.py:148 | |
337 | +#, fuzzy | |
338 | +#| msgid "Maximum Students" | |
339 | +msgid "All Students" | |
340 | +msgstr "Quantidade máximo de estudantes" | |
341 | + | |
342 | +#: courses/models.py:151 courses/models.py:156 | |
343 | +#: courses/templates/subject/form_view_student.html:35 | |
344 | +#: courses/templates/subject/form_view_teacher.html:56 | |
345 | +#: courses/templates/subject/form_view_teacher.html:127 | |
346 | +msgid "Material" | |
347 | +msgstr "Material" | |
348 | + | |
349 | +#: courses/models.py:171 | |
350 | +#, fuzzy | |
351 | +#| msgid "Create Category" | |
352 | +msgid "subject category" | |
353 | +msgstr "Criar Categoria" | |
354 | + | |
355 | +#: courses/models.py:172 | |
356 | +#, fuzzy | |
357 | +#| msgid "Categories" | |
358 | +msgid "subject categories" | |
359 | +msgstr "Categorias" | |
200 | 360 | |
201 | 361 | #: 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 | |
362 | +#: courses/templates/category/index.html:9 | |
363 | +#: courses/templates/category/update.html:9 | |
206 | 364 | #: courses/templates/course/create.html:8 |
207 | 365 | #: courses/templates/course/delete.html:7 courses/templates/course/home.html:8 |
208 | -#: courses/templates/course/index.html:7 courses/templates/course/update.html:8 | |
209 | -#: courses/templates/course/view.html:7 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 | |
366 | +#: courses/templates/course/index.html:20 | |
367 | +#: courses/templates/course/replicate.html:8 | |
368 | +#: courses/templates/course/view.html:28 | |
369 | +#: courses/templates/subject/index.html:8 | |
370 | +#: courses/templates/subject/index.html:25 | |
371 | +#: courses/templates/subject_category/index.html:8 | |
372 | +#: courses/templates/topic/index.html:8 | |
212 | 373 | msgid "Home" |
213 | 374 | msgstr "Inicio" |
214 | 375 | |
215 | 376 | #: 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 | |
377 | +#: courses/templates/category/create.html:36 | |
378 | +#: courses/templates/category/create.html:47 | |
379 | +#: courses/templates/category/index.html:37 | |
380 | +#: courses/templates/category/index.html:48 | |
381 | +#: courses/templates/category/update.html:37 | |
382 | +#: courses/templates/category/update.html:47 | |
383 | +#: courses/templates/course/index.html:52 | |
219 | 384 | msgid "Create Category" |
220 | 385 | msgstr "Criar Categoria" |
221 | 386 | |
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 "Todos os campos são obrigatótios" | |
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 | |
387 | +#: courses/templates/category/create.html:16 | |
388 | +#: courses/templates/category/index.html:17 | |
389 | +#: courses/templates/category/update.html:17 | |
390 | +#: courses/templates/course/index.html:16 | |
391 | +#: courses/templates/course/view.html:24 | |
392 | +#: courses/templates/subject/index.html:21 | |
393 | +#: courses/templates/topic/index.html:24 | |
394 | +msgid "Menu" | |
395 | +msgstr "Menu" | |
396 | + | |
397 | +#: courses/templates/category/create.html:20 | |
398 | +#: courses/templates/category/index.html:21 | |
399 | +#: courses/templates/category/update.html:21 | |
400 | +#: courses/templates/course/index.html:21 | |
401 | +#: courses/templates/course/view.html:29 | |
402 | +#: courses/templates/subject/index.html:26 | |
403 | +#: courses/templates/topic/index.html:28 | |
404 | +msgid "Profile" | |
405 | +msgstr "Perfil" | |
406 | + | |
407 | +#: courses/templates/category/create.html:21 | |
408 | +#: courses/templates/category/index.html:22 | |
409 | +#: courses/templates/category/update.html:22 | |
410 | +#: courses/templates/course/view.html:30 courses/templates/topic/index.html:29 | |
411 | +#, fuzzy | |
412 | +#| msgid "Courses" | |
413 | +msgid "My Courses" | |
414 | +msgstr "Meus Cursos" | |
415 | + | |
416 | +#: courses/templates/category/create.html:30 | |
417 | +#: courses/templates/category/index.html:31 | |
418 | +#: courses/templates/category/update.html:31 | |
419 | +#: courses/templates/topic/index.html:37 | |
420 | +msgid "Actions" | |
421 | +msgstr "Ações" | |
422 | + | |
423 | +#: courses/templates/category/create.html:34 | |
424 | +#: courses/templates/category/index.html:35 | |
425 | +#: courses/templates/category/update.html:35 | |
426 | +#: courses/templates/course/replicate.html:9 courses/views.py:133 | |
427 | +#, fuzzy | |
428 | +#| msgid "Duplicate Course" | |
429 | +msgid "Replicate Course" | |
430 | +msgstr "Duplicar curso" | |
431 | + | |
432 | +#: courses/templates/category/create.html:35 | |
433 | +#: courses/templates/category/index.html:36 | |
434 | +#: courses/templates/category/update.html:36 | |
435 | +#: courses/templates/course/create.html:9 | |
436 | +#: courses/templates/course/filtered.html:11 courses/views.py:104 | |
437 | +msgid "Create Course" | |
438 | +msgstr "Criar curso" | |
439 | + | |
440 | +#: courses/templates/category/create.html:48 | |
441 | +#: courses/templates/category/index.html:49 | |
442 | +#: courses/templates/category/update.html:48 | |
443 | +#: courses/templates/course/index.html:53 | |
444 | +#, fuzzy | |
445 | +#| msgid "Edit Category" | |
446 | +msgid "List Category" | |
447 | +msgstr "Editar categoria" | |
448 | + | |
449 | +#: courses/templates/category/create.html:77 | |
450 | +#: courses/templates/category/update.html:90 | |
237 | 451 | msgid "Save" |
238 | 452 | msgstr "Salvar" |
239 | 453 | |
240 | -#: courses/templates/category/delete.html:8 | |
241 | -#: courses/templates/category/index.html:8 | |
242 | -msgid "Manage Categories" | |
243 | -msgstr "" | |
454 | +#: courses/templates/category/delete.html:10 | |
455 | +#, fuzzy | |
456 | +#| msgid "Create Category" | |
457 | +msgid "Delete Category" | |
458 | +msgstr "Criar Categoria" | |
244 | 459 | |
245 | -#: courses/templates/category/delete.html:26 | |
246 | -msgid "Are you sure you want to delete the category" | |
247 | -msgstr "" | |
460 | +#: courses/templates/category/delete.html:17 | |
461 | +#: courses/templates/subject/delete.html:11 | |
462 | +#, fuzzy | |
463 | +#| msgid "Are you sure you want to delete the couse" | |
464 | +msgid "Are you sure you want to delete the subject" | |
465 | +msgstr "Você tem certeza que deseja deletar o curso" | |
248 | 466 | |
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 "Sim" | |
467 | +#: courses/templates/category/delete.html:23 | |
468 | +#: courses/templates/course/course_card.html:57 | |
469 | +#: courses/templates/subject/form_view_teacher.html:352 | |
470 | +msgid "Close" | |
471 | +msgstr "Fechar" | |
254 | 472 | |
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 "Não" | |
473 | +#: courses/templates/category/delete.html:24 | |
474 | +#, fuzzy | |
475 | +#| msgid "Delete Course" | |
476 | +msgid "Delete" | |
477 | +msgstr "Deletar curso" | |
260 | 478 | |
261 | -#: courses/templates/category/index.html:40 | |
262 | -msgid "Actions" | |
263 | -msgstr "" | |
479 | +#: courses/templates/category/index.html:10 | |
480 | +msgid "Manage Categories" | |
481 | +msgstr "Gerenciar categorias" | |
264 | 482 | |
265 | -#: courses/templates/category/index.html:59 | |
266 | -msgid "No categories found" | |
267 | -msgstr "" | |
483 | +#: courses/templates/category/index.html:84 | |
484 | +#: courses/templates/course/update.html:54 | |
485 | +#: courses/templates/subject/update.html:20 | |
486 | +#: courses/templates/topic/update.html:20 | |
487 | +msgid "Update" | |
488 | +msgstr "Atualizar" | |
268 | 489 | |
269 | -#: courses/templates/category/update.html:9 | |
270 | -#: courses/templates/category/view.html:21 | |
490 | +#: courses/templates/category/index.html:85 | |
491 | +#, fuzzy | |
492 | +#| msgid "Remove Category" | |
493 | +msgid "Remover" | |
494 | +msgstr "Remover categoria" | |
495 | + | |
496 | +#: courses/templates/category/update.html:10 | |
271 | 497 | msgid "Edit Category" |
272 | -msgstr "" | |
498 | +msgstr "Editar categoria" | |
273 | 499 | |
274 | -#: courses/templates/category/view.html:24 | |
275 | -msgid "Remove Category" | |
276 | -msgstr "" | |
500 | +#: courses/templates/course/course_card.html:22 | |
501 | +#: courses/templates/course/view.html:56 | |
502 | +#: courses/templates/course/view.html:145 | |
503 | +#: courses/templates/course/view.html:202 | |
504 | +#: courses/templates/subject/form_view_teacher.html:36 | |
505 | +#: courses/templates/subject/index.html:68 | |
506 | +#: courses/templates/topic/index.html:69 | |
507 | +msgid "Replicate" | |
508 | +msgstr "Repetir" | |
509 | + | |
510 | +#: courses/templates/course/course_card.html:23 | |
511 | +#, fuzzy | |
512 | +#| msgid "Are you sure you want to delete the couse" | |
513 | +msgid "Are you sure you want to delete this course?" | |
514 | +msgstr "Você tem certeza que deseja deletar o curso" | |
515 | + | |
516 | +#: courses/templates/course/course_card.html:23 | |
517 | +#: courses/templates/course/view.html:58 | |
518 | +#: courses/templates/course/view.html:146 | |
519 | +#: courses/templates/course/view.html:203 | |
520 | +#: courses/templates/subject/form_view_teacher.html:38 | |
521 | +#: courses/templates/subject/index.html:70 | |
522 | +#: courses/templates/topic/index.html:71 | |
523 | +msgid "Remove" | |
524 | +msgstr "Remover" | |
525 | + | |
526 | +#: courses/templates/course/course_card.html:32 | |
527 | +#: courses/templates/course/view.html:66 | |
528 | +#, fuzzy | |
529 | +#| msgid "Course name" | |
530 | +msgid "Course Name" | |
531 | +msgstr "Nome do Curso" | |
277 | 532 | |
278 | -#: courses/templates/category/view.html:32 | |
279 | -msgid "Name:" | |
280 | -msgstr "" | |
533 | +#: courses/templates/course/course_card.html:33 | |
534 | +#: courses/templates/course/view.html:67 | |
535 | +msgid "Coordinator" | |
536 | +msgstr "Coordenador" | |
537 | + | |
538 | +#: courses/templates/course/course_card.html:49 | |
539 | +#, fuzzy | |
540 | +#| msgid "Duplicate Course" | |
541 | +msgid "Repicate Course" | |
542 | +msgstr "Duplicar Curso" | |
543 | + | |
544 | +#: courses/templates/course/course_card.html:58 | |
545 | +#: courses/templates/course/create.html:55 | |
546 | +#: courses/templates/subject/create.html:20 | |
547 | +#: courses/templates/subject/form_view_teacher.html:353 | |
548 | +#: courses/templates/topic/create.html:20 | |
549 | +#, fuzzy | |
550 | +#| msgid "Create Course" | |
551 | +msgid "Create" | |
552 | +msgstr "Criar curso" | |
281 | 553 | |
282 | -#: courses/templates/category/view.html:33 | |
283 | -msgid "Slug:" | |
554 | +#: courses/templates/course/create.html:29 | |
555 | +#: courses/templates/course/replicate.html:105 | |
556 | +#: courses/templates/course/update.html:28 | |
557 | +msgid "attach_file" | |
284 | 558 | msgstr "" |
285 | 559 | |
286 | -#: courses/templates/course/create.html:9 | |
560 | +#: courses/templates/course/delete.html:17 | |
561 | +#, fuzzy | |
562 | +#| msgid "Are you sure you want to delete the couse" | |
563 | +msgid "Are you sure you want to delete the course" | |
564 | +msgstr "Você tem certeza que deseja deletar o curso" | |
565 | + | |
287 | 566 | #: 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 "" | |
567 | +#: courses/templates/subject/delete.html:12 | |
568 | +msgid "Yes" | |
569 | +msgstr "Sim" | |
296 | 570 | |
297 | -#: courses/templates/course/delete.html:27 | |
298 | -msgid "Are you sure you want to delete the couse" | |
299 | -msgstr "" | |
571 | +#: courses/templates/course/delete.html:19 | |
572 | +#: courses/templates/subject/delete.html:13 | |
573 | +msgid "No" | |
574 | +msgstr "Não" | |
300 | 575 | |
301 | 576 | #: courses/templates/course/filtered.html:19 |
302 | -#: courses/templates/course/index.html:26 | |
303 | 577 | msgid "Categories:" |
304 | -msgstr "" | |
578 | +msgstr "Categorias:" | |
305 | 579 | |
306 | 580 | #: courses/templates/course/home.html:9 |
307 | 581 | #, fuzzy |
... | ... | @@ -309,155 +583,398 @@ msgstr "" |
309 | 583 | msgid "Home Course" |
310 | 584 | msgstr "Curso" |
311 | 585 | |
312 | -#: courses/templates/course/index.html:8 | |
313 | -msgid "Manage Courses" | |
314 | -msgstr "" | |
586 | +#: courses/templates/course/index.html:23 | |
587 | +#: courses/templates/subject/index.html:28 | |
588 | +#, fuzzy | |
589 | +#| msgid "Courses" | |
590 | +msgid "My courses" | |
591 | +msgstr "Cursos" | |
315 | 592 | |
316 | -#: courses/templates/course/index.html:80 | |
317 | -msgid "students tops" | |
318 | -msgstr "" | |
593 | +#: courses/templates/course/index.html:24 | |
594 | +#: courses/templates/course/view.html:31 | |
595 | +#: courses/templates/subject/index.html:29 | |
596 | +#, fuzzy | |
597 | +#| msgid "Courses" | |
598 | +msgid "All Courses" | |
599 | +msgstr "Cursos" | |
319 | 600 | |
320 | -#: courses/templates/course/index.html:86 | |
321 | -msgid "Subscribe Period:" | |
322 | -msgstr "" | |
601 | +#: courses/templates/course/index.html:27 | |
602 | +#: courses/templates/subject/index.html:32 | |
603 | +#, fuzzy | |
604 | +#| msgid "Manage Courses" | |
605 | +msgid "Manage Users" | |
606 | +msgstr "Gerenciar cursos" | |
323 | 607 | |
324 | -#: courses/templates/course/index.html:88 courses/templates/course/view.html:59 | |
325 | -#: courses/templates/module/index.html:83 | |
326 | -msgid "Period:" | |
327 | -msgstr "" | |
608 | +#: courses/templates/course/index.html:31 | |
609 | +#: courses/templates/subject/index.html:36 | |
610 | +msgid "Manage Courses" | |
611 | +msgstr "Gerenciar cursos" | |
328 | 612 | |
329 | 613 | #: courses/templates/course/index.html:104 |
330 | 614 | msgid "No courses found" |
331 | -msgstr "" | |
615 | +msgstr "Nenhum curso encontrado" | |
332 | 616 | |
333 | -#: courses/templates/course/update.html:9 courses/templates/course/view.html:28 | |
334 | -#: courses/templates/module/create.html:26 | |
335 | -#: courses/templates/module/delete.html:25 | |
336 | -#: courses/templates/module/index.html:29 | |
337 | -#: courses/templates/module/update.html:26 | |
338 | -msgid "Edit Course" | |
339 | -msgstr "" | |
617 | +#: courses/templates/course/replicate.html:97 | |
618 | +#, fuzzy | |
619 | +#| msgid "Image" | |
620 | +msgid "Imagem" | |
621 | +msgstr "Imagem" | |
340 | 622 | |
341 | -#: courses/templates/course/update.html:19 | |
342 | -#: courses/templates/course/view.html:21 | |
343 | -#: courses/templates/module/create.html:29 | |
344 | -#: courses/templates/module/delete.html:9 | |
345 | -#: courses/templates/module/delete.html:28 | |
346 | -#: courses/templates/module/index.html:9 courses/templates/module/index.html:22 | |
347 | -#: courses/templates/module/update.html:29 | |
348 | -msgid "Manage Modules" | |
349 | -msgstr "" | |
623 | +#: courses/templates/course/view.html:55 | |
624 | +#: courses/templates/course/view.html:243 | |
625 | +#, fuzzy | |
626 | +#| msgid "Create Course" | |
627 | +msgid "Create Subject" | |
628 | +msgstr "Criar curso" | |
629 | + | |
630 | +#: courses/templates/course/view.html:57 | |
631 | +#: courses/templates/subject/form_view_teacher.html:37 | |
632 | +#: courses/templates/subject/index.html:69 | |
633 | +#: courses/templates/topic/index.html:70 | |
634 | +msgid "Edit" | |
635 | +msgstr "Editar" | |
636 | + | |
637 | +#: courses/templates/course/view.html:83 | |
638 | +msgid "Create a New Subject" | |
639 | +msgstr "Criar novo assunto" | |
640 | + | |
641 | +#: courses/templates/course/view.html:89 | |
642 | +#: courses/templates/subject/form_view_teacher.html:173 | |
643 | +#: courses/templates/subject/form_view_teacher.html:313 | |
644 | +msgid "Cancel" | |
645 | +msgstr "Cancelar" | |
646 | + | |
647 | +#: courses/templates/course/view.html:90 | |
648 | +#: courses/templates/course/view.html:117 | |
649 | +#: courses/templates/course/view.html:260 | |
650 | +#: courses/templates/subject/form_view_teacher.html:206 | |
651 | +#: courses/templates/subject/form_view_teacher.html:258 | |
652 | +msgid "Confirm" | |
653 | +msgstr "Confirmar" | |
654 | + | |
655 | +#: courses/templates/course/view.html:113 | |
656 | +#: courses/templates/course/view.html:256 | |
657 | +#, fuzzy | |
658 | +#| msgid "Are you sure you want to delete the couse" | |
659 | +msgid "Are you sure you want to remove this subject?" | |
660 | +msgstr "Você tem certeza que deseja deletar o curso" | |
350 | 661 | |
351 | -#: courses/templates/course/update.html:22 | |
352 | -#: courses/templates/course/view.html:31 | |
353 | -#: courses/templates/module/create.html:32 | |
354 | -#: courses/templates/module/delete.html:31 | |
355 | -#: courses/templates/module/index.html:32 | |
356 | -#: courses/templates/module/update.html:32 | |
357 | -msgid "Participants" | |
358 | -msgstr "" | |
662 | +#: courses/templates/course/view.html:154 | |
663 | +#: courses/templates/course/view.html:210 | |
664 | +#, fuzzy | |
665 | +#| msgid "Are you sure you want to delete the couse" | |
666 | +msgid "Are you sure you want to subscribe to this subject?" | |
667 | +msgstr "Você tem certeza que deseja deletar o curso" | |
359 | 668 | |
360 | -#: courses/templates/course/view.html:18 | |
361 | -#: courses/templates/module/create.html:23 | |
362 | -#: courses/templates/module/delete.html:22 | |
363 | -#: courses/templates/module/index.html:19 | |
364 | -#: courses/templates/module/update.html:23 | |
365 | -msgid "Course Info" | |
366 | -msgstr "" | |
669 | +#: courses/templates/course/view.html:154 | |
670 | +#: courses/templates/course/view.html:210 | |
671 | +#, fuzzy | |
672 | +#| msgid "Subscribes:" | |
673 | +msgid "Subscribe" | |
674 | +msgstr "Inscrições:" | |
675 | + | |
676 | +#: courses/templates/course/view.html:161 | |
677 | +#: courses/templates/course/view.html:217 | |
678 | +#: courses/templates/subject/index.html:78 | |
679 | +msgid "Professor" | |
680 | +msgstr "Professor" | |
681 | + | |
682 | +#: courses/templates/course/view.html:171 | |
683 | +#: courses/templates/course/view.html:227 | |
684 | +msgid "Begining" | |
685 | +msgstr "Início" | |
686 | + | |
687 | +#: courses/templates/course/view.html:174 | |
688 | +#: courses/templates/course/view.html:230 | |
689 | +#: courses/templates/subject/index.html:88 | |
690 | +msgid "End" | |
691 | +msgstr "Final" | |
692 | + | |
693 | +#: courses/templates/subject/form_view_student.html:45 | |
694 | +#: courses/templates/subject/form_view_teacher.html:83 | |
695 | +#: courses/templates/subject/form_view_teacher.html:94 | |
696 | +#: courses/templates/subject/form_view_teacher.html:153 | |
697 | +#, fuzzy | |
698 | +#| msgid "Objectivies" | |
699 | +msgid "Activities" | |
700 | +msgstr "Objetivos" | |
367 | 701 | |
368 | -#: courses/templates/course/view.html:34 | |
369 | -#: courses/templates/module/create.html:35 | |
370 | -#: courses/templates/module/delete.html:34 | |
371 | -#: courses/templates/module/index.html:35 | |
372 | -#: courses/templates/module/update.html:35 | |
373 | -msgid "Course avaliations" | |
374 | -msgstr "" | |
702 | +#: courses/templates/subject/form_view_teacher.html:62 | |
703 | +#: courses/templates/subject/form_view_teacher.html:133 | |
704 | +msgid "Create a Link" | |
705 | +msgstr "Criar link" | |
375 | 706 | |
376 | -#: courses/templates/course/view.html:37 | |
377 | -#: courses/templates/module/create.html:38 | |
378 | -#: courses/templates/module/delete.html:37 | |
379 | -#: courses/templates/module/index.html:38 | |
380 | -#: courses/templates/module/update.html:38 | |
381 | -msgid "Duplicate Course" | |
382 | -msgstr "" | |
707 | +#: courses/templates/subject/form_view_teacher.html:65 | |
708 | +#: courses/templates/subject/form_view_teacher.html:136 | |
709 | +#, fuzzy | |
710 | +#| msgid "Create Module" | |
711 | +msgid "Create a file" | |
712 | +msgstr "Criar módulos" | |
383 | 713 | |
384 | -#: courses/templates/course/view.html:40 | |
385 | -#: courses/templates/module/create.html:41 | |
386 | -#: courses/templates/module/delete.html:40 | |
387 | -#: courses/templates/module/index.html:41 | |
388 | -#: courses/templates/module/update.html:41 | |
389 | -msgid "Delete Course" | |
390 | -msgstr "" | |
714 | +#: courses/templates/subject/form_view_teacher.html:100 | |
715 | +#, fuzzy | |
716 | +#| msgid "Create Course" | |
717 | +msgid "Create Forum" | |
718 | +msgstr "Criar curso" | |
391 | 719 | |
392 | -#: courses/templates/course/view.html:56 | |
393 | -msgid "Subscribes:" | |
394 | -msgstr "" | |
720 | +#: courses/templates/subject/form_view_teacher.html:101 | |
721 | +#, fuzzy | |
722 | +#| msgid "Create Module" | |
723 | +msgid "Create Poll" | |
724 | +msgstr "Criar módulos" | |
395 | 725 | |
396 | -#: courses/templates/course/view.html:66 | |
397 | -msgid "Objectives:" | |
398 | -msgstr "" | |
726 | +#: courses/templates/subject/form_view_teacher.html:117 | |
727 | +msgid "Name Topic" | |
728 | +msgstr "Nome do tópico" | |
399 | 729 | |
400 | -#: courses/templates/course/view.html:69 | |
401 | -msgid "Work Plan:" | |
402 | -msgstr "" | |
730 | +#: courses/templates/subject/form_view_teacher.html:159 | |
731 | +msgid "Anything" | |
732 | +msgstr "Qualquer coisa" | |
403 | 733 | |
404 | -#: courses/templates/module/create.html:10 | |
405 | -#: courses/templates/module/index.html:70 | |
406 | -msgid "Create Module" | |
407 | -msgstr "" | |
734 | +#: courses/templates/subject/form_view_teacher.html:174 | |
735 | +#: courses/templates/subject/form_view_teacher.html:314 | |
736 | +msgid "Submit" | |
737 | +msgstr "Enviar" | |
408 | 738 | |
409 | -#: courses/templates/module/delete.html:49 | |
410 | -msgid "Are you sure you want to delete the module" | |
411 | -msgstr "" | |
739 | +#: courses/templates/subject/form_view_teacher.html:202 | |
740 | +#, fuzzy | |
741 | +#| msgid "Delete Course" | |
742 | +msgid "Delete your Topic?" | |
743 | +msgstr "Deletar curso" | |
412 | 744 | |
413 | -#: courses/templates/module/index.html:80 | |
414 | -msgid "students maximum" | |
745 | +#: courses/templates/subject/form_view_teacher.html:220 | |
746 | +msgid "Material EMBED" | |
415 | 747 | msgstr "" |
416 | 748 | |
417 | -#: courses/templates/module/index.html:109 | |
418 | -msgid "Invisible" | |
749 | +#: courses/templates/subject/form_view_teacher.html:231 | |
750 | +msgid "Code" | |
419 | 751 | msgstr "" |
420 | 752 | |
421 | -#: courses/templates/module/index.html:125 | |
422 | -msgid "No modules found" | |
423 | -msgstr "" | |
753 | +#: courses/templates/subject/form_view_teacher.html:235 | |
754 | +#, fuzzy | |
755 | +#| msgid "Modules's description" | |
756 | +msgid "Material description" | |
757 | +msgstr "Descrição do módulo" | |
424 | 758 | |
425 | -#: courses/templates/module/update.html:10 | |
426 | -msgid "Edit Module" | |
427 | -msgstr "" | |
759 | +#: courses/templates/subject/form_view_teacher.html:277 | |
760 | +msgid "Proposal Activity" | |
761 | +msgstr "Atividade proposta" | |
428 | 762 | |
429 | -#: courses/views.py:48 | |
430 | -msgid "Course created successfully!" | |
431 | -msgstr "" | |
763 | +#: courses/templates/subject/form_view_teacher.html:285 | |
764 | +#, fuzzy | |
765 | +#| msgid "Description" | |
766 | +msgid "Describe" | |
767 | +msgstr "Descrição" | |
768 | + | |
769 | +#: courses/templates/subject/form_view_teacher.html:291 | |
770 | +msgid "Opening" | |
771 | +msgstr "Abertura" | |
772 | + | |
773 | +#: courses/templates/subject/form_view_teacher.html:297 | |
774 | +msgid "Ending" | |
775 | +msgstr "Final" | |
776 | + | |
777 | +#: courses/templates/subject/form_view_teacher.html:306 | |
778 | +msgid "Send Later" | |
779 | +msgstr "Enviar depois" | |
780 | + | |
781 | +#: courses/templates/subject/form_view_teacher.html:344 | |
782 | +msgid "Forum" | |
783 | +msgstr "Fórum" | |
784 | + | |
785 | +#: courses/templates/subject/index.html:11 | |
786 | +#, fuzzy | |
787 | +#| msgid "Manage Courses" | |
788 | +msgid "Manage Subjects" | |
789 | +msgstr "Gerenciar cursos" | |
790 | + | |
791 | +#: courses/templates/subject/index.html:85 | |
792 | +msgid "Beginning" | |
793 | +msgstr "Início" | |
432 | 794 | |
433 | -#: courses/views.py:70 | |
434 | -msgid "Course edited successfully!" | |
795 | +#: courses/templates/subject/index.html:105 | |
796 | +#, fuzzy | |
797 | +#| msgid "Create Course" | |
798 | +msgid "Create Topic" | |
799 | +msgstr "Criar curso" | |
800 | + | |
801 | +#: courses/templates/subject/poll_item_actions.html:9 | |
802 | +#: courses/templates/subject/poll_item_actions.html:11 | |
803 | +msgid "poll" | |
804 | +msgstr "Enquete" | |
805 | + | |
806 | +#: courses/templates/subject_category/index.html:34 | |
807 | +#, fuzzy | |
808 | +#| msgid "Create Category" | |
809 | +msgid "Create Subject Category" | |
810 | +msgstr "Criar Categoria" | |
811 | + | |
812 | +#: courses/templates/subject_category/index.html:48 | |
813 | +msgid "edit" | |
814 | +msgstr "Editar" | |
815 | + | |
816 | +#: courses/templates/subject_category/index.html:54 | |
817 | +msgid "delete" | |
818 | +msgstr "Deletar" | |
819 | + | |
820 | +#: courses/templates/topic/index.html:12 | |
821 | +#, fuzzy | |
822 | +#| msgid "Manage Categories" | |
823 | +msgid "Manage Topic" | |
824 | +msgstr "Gerenciar categorias" | |
825 | + | |
826 | +#: courses/templates/topic/index.html:41 | |
827 | +msgid "Participants" | |
828 | +msgstr "Participantes" | |
829 | + | |
830 | +#: courses/templates/topic/index.html:42 | |
831 | +#, fuzzy | |
832 | +#| msgid "Duplicate Course" | |
833 | +msgid "Replicate subject" | |
834 | +msgstr "Duplicar curso" | |
835 | + | |
836 | +#: courses/templates/topic/index.html:43 | |
837 | +#, fuzzy | |
838 | +#| msgid "Create Course" | |
839 | +msgid "Create subject" | |
840 | +msgstr "Criar curso" | |
841 | + | |
842 | +#: courses/templates/topic/index.html:44 | |
843 | +#, fuzzy | |
844 | +#| msgid "Edit Course" | |
845 | +msgid "Edit subject" | |
846 | +msgstr "Editar curso" | |
847 | + | |
848 | +#: courses/templates/topic/index.html:45 | |
849 | +msgid "Remove subject" | |
850 | +msgstr "Remover assunto" | |
851 | + | |
852 | +#: courses/templates/topic/index.html:112 | |
853 | +msgid "Atividade.doc" | |
435 | 854 | msgstr "" |
436 | 855 | |
437 | -#: courses/views.py:92 | |
856 | +#: courses/templates/topic/index.html:117 | |
857 | +msgid "Grade" | |
858 | +msgstr "Nota" | |
859 | + | |
860 | +#: courses/templates/topic/index.html:127 | |
861 | +msgid "Send" | |
862 | +msgstr "Enviar" | |
863 | + | |
864 | +#: courses/templates/topic/index.html:150 | |
865 | +#, fuzzy | |
866 | +#| msgid "No categories found" | |
867 | +msgid "No activity found" | |
868 | +msgstr "Nenhuma categoria encontrada" | |
869 | + | |
870 | +#: courses/views.py:265 | |
438 | 871 | msgid "Course deleted successfully!" |
439 | -msgstr "" | |
872 | +msgstr "Curso deletado com sucesso!" | |
873 | + | |
874 | +#: courses/views.py:276 | |
875 | +msgid "Successfully subscribed to the course!" | |
876 | +msgstr "Inscrição no curso realizada com sucesso!" | |
877 | + | |
878 | +#: courses/views.py:278 | |
879 | +msgid "" | |
880 | +"An error has occured. Could not subscribe to this course, try again later" | |
881 | +msgstr "Ocorreu um erro. Não pôde inscrever no curso, tente novamente" | |
440 | 882 | |
441 | -#: courses/views.py:142 | |
883 | +#: courses/views.py:336 | |
442 | 884 | msgid "Category created successfully!" |
443 | -msgstr "" | |
885 | +msgstr "Categoria criada com sucesso!" | |
444 | 886 | |
445 | -#: courses/views.py:164 | |
446 | -msgid "Category edited successfully!" | |
447 | -msgstr "" | |
887 | +#: courses/views.py:349 | |
888 | +#, fuzzy | |
889 | +#| msgid "Category edited successfully!" | |
890 | +msgid "Category updated successfully!" | |
891 | +msgstr "Categoria editada com sucesso!" | |
448 | 892 | |
449 | -#: courses/views.py:185 | |
893 | +#: courses/views.py:374 | |
450 | 894 | msgid "Category deleted successfully!" |
451 | -msgstr "" | |
895 | +msgstr "Categoria deletada com sucesso!" | |
452 | 896 | |
453 | -#: courses/views.py:237 | |
454 | -msgid "Module created successfully!" | |
455 | -msgstr "" | |
897 | +#: courses/views.py:633 | |
898 | +msgid "Successfully subscribed to the subject!" | |
899 | +msgstr "Inscrição no assunto realizada com sucesso!" | |
456 | 900 | |
457 | -#: courses/views.py:268 | |
458 | -msgid "Module edited successfully!" | |
459 | -msgstr "" | |
901 | +#: courses/views.py:635 | |
902 | +msgid "" | |
903 | +"An error has occured. Could not subscribe to this subject, try again later" | |
904 | +msgstr "Ocorreu um erro. Não pôde inscrever no assunto, tente novamente" | |
460 | 905 | |
461 | -#: courses/views.py:291 | |
462 | -msgid "Module deleted successfully!" | |
463 | -msgstr "" | |
906 | +#: courses/views.py:637 | |
907 | +msgid "You're not subscribed in the course yet." | |
908 | +msgstr "Você não está inscrito no curso ainda." | |
909 | + | |
910 | +#~ msgid "User" | |
911 | +#~ msgstr "Usuário" | |
912 | + | |
913 | +#~ msgid "Module" | |
914 | +#~ msgstr "Modulo" | |
915 | + | |
916 | +#~ msgid "Modules" | |
917 | +#~ msgstr "Modulos" | |
918 | + | |
919 | +#~ msgid "All fields are required" | |
920 | +#~ msgstr "Todos os campos são obrigatótios" | |
921 | + | |
922 | +#~ msgid "Are you sure you want to delete the category" | |
923 | +#~ msgstr "Você tem certeza que deseja deletar a categoria" | |
924 | + | |
925 | +#~ msgid "Name:" | |
926 | +#~ msgstr "Nome:" | |
927 | + | |
928 | +#~ msgid "students tops" | |
929 | +#~ msgstr "Melhores estudantes" | |
930 | + | |
931 | +#~ msgid "Subscribe Period:" | |
932 | +#~ msgstr "Inscrever período:" | |
933 | + | |
934 | +#~ msgid "Period:" | |
935 | +#~ msgstr "Período:" | |
936 | + | |
937 | +#~ msgid "Manage Modules" | |
938 | +#~ msgstr "Gerenciar módulos" | |
939 | + | |
940 | +#~ msgid "Course Info" | |
941 | +#~ msgstr "Informações do curso" | |
942 | + | |
943 | +#~ msgid "Course avaliations" | |
944 | +#~ msgstr "Avaliações do curso" | |
945 | + | |
946 | +#~ msgid "Objectives:" | |
947 | +#~ msgstr "Objetivos:" | |
948 | + | |
949 | +#~ msgid "Work Plan:" | |
950 | +#~ msgstr "Plano de trabalho:" | |
951 | + | |
952 | +#~ msgid "Are you sure you want to delete the module" | |
953 | +#~ msgstr "Você tem certeza que deseja deletar o módulo" | |
954 | + | |
955 | +#~ msgid "students maximum" | |
956 | +#~ msgstr "Capacidade de estudantes" | |
957 | + | |
958 | +#~ msgid "Invisible" | |
959 | +#~ msgstr "Invisível" | |
960 | + | |
961 | +#~ msgid "No modules found" | |
962 | +#~ msgstr "Nenhum módulo encontrado" | |
963 | + | |
964 | +#~ msgid "Edit Module" | |
965 | +#~ msgstr "Editar módulo" | |
966 | + | |
967 | +#~ msgid "Course created successfully!" | |
968 | +#~ msgstr "Curso criado com sucesso!" | |
969 | + | |
970 | +#~ msgid "Course edited successfully!" | |
971 | +#~ msgstr "Curso editado com sucesso!" | |
972 | + | |
973 | +#~ msgid "Module created successfully!" | |
974 | +#~ msgstr "Módulo criado com sucesso!" | |
975 | + | |
976 | +#~ msgid "Module edited successfully!" | |
977 | +#~ msgstr "Módulo editado com sucesso!" | |
978 | + | |
979 | +#~ msgid "Module deleted successfully!" | |
980 | +#~ msgstr "Módulo deletado com sucesso!" | ... | ... |
courses/templates/course/course_card.html
... | ... | @@ -29,10 +29,10 @@ |
29 | 29 | </div> |
30 | 30 | <div class="panel-collapse collapseOne-{{course.slug}} collapse in" role="tabpanel" aria-labelledby="headingOne" aria-expanded="true" aria-hidden="false" tabindex="0"> |
31 | 31 | <div class="panel-body"> |
32 | - <p><b>Course Name: </b>{{course.name}}</p> | |
33 | - <p><b>Coordinator: </b>{{course.professors.all.0}}</p> | |
32 | + <p><b>{% trans 'Course Name' %}: </b>{{course.name}}</p> | |
33 | + <p><b>{% trans 'Coordinator' %}: </b>{{course.professors.all.0}}</p> | |
34 | 34 | <p> |
35 | - <b>Description:</b> | |
35 | + <b>{% trans 'Description' %}:</b> | |
36 | 36 | <i> |
37 | 37 | {{course.content}} |
38 | 38 | </i> | ... | ... |
courses/templates/course/index.html
... | ... | @@ -13,7 +13,7 @@ |
13 | 13 | {% block sidebar %} |
14 | 14 | <div class="panel panel-primary"> |
15 | 15 | <div class="panel-heading"> |
16 | - <h4>Menu</h4> | |
16 | + <h4>{% trans 'Menu' %}</h4> | |
17 | 17 | </div> |
18 | 18 | <div class="panel-body"> |
19 | 19 | <ul class="nav nav-pills nav-stacked"> |
... | ... | @@ -45,12 +45,12 @@ |
45 | 45 | {% if user|has_role:'professor' or user|has_role:'system_admin' %} |
46 | 46 | <div class="panel panel-primary"> |
47 | 47 | <div class="panel-heading"> |
48 | - <h3 class="panel-title">Category</h3> | |
48 | + <h3 class="panel-title">{% trans 'Category' %}</h3> | |
49 | 49 | </div> |
50 | 50 | <div class="panel-body"> |
51 | 51 | <ul class="nav nav-pills nav-stacked"> |
52 | - <li><a href="{% url 'course:create_cat' %}">Create Category</a></li> | |
53 | - <li><a href="{% url 'course:manage_cat' %}">List Category</a></li> | |
52 | + <li><a href="{% url 'course:create_cat' %}">{% trans 'Create Category' %}</a></li> | |
53 | + <li><a href="{% url 'course:manage_cat' %}">{% trans 'List Category' %}</a></li> | |
54 | 54 | </ul> |
55 | 55 | </div> |
56 | 56 | </div> | ... | ... |
courses/templates/course/view.html
... | ... | @@ -19,7 +19,7 @@ |
19 | 19 | {% endblock %} |
20 | 20 | |
21 | 21 | {% block sidebar %} |
22 | - <div class="panel panel-primary"> | |
22 | + <div class="panel panel-primary"> | |
23 | 23 | <div class="panel-heading"> |
24 | 24 | <h5>{% trans 'Menu' %}</h5> |
25 | 25 | </div> |
... | ... | @@ -33,7 +33,19 @@ |
33 | 33 | </div> |
34 | 34 | </div> |
35 | 35 | |
36 | - | |
36 | + <div class="panel panel-primary"> | |
37 | + <div class="panel-heading"> | |
38 | + <h5>{% trans 'Categories' %}</h5> | |
39 | + </div> | |
40 | + <div class="panel-body"> | |
41 | + <ul class="nav nav-pills nav-stacked"> | |
42 | + <li {% if category is None %}class="active"{% endif %}><a href="{% url 'course:view' course.slug %}">{% trans 'All' %}</a></li> | |
43 | + {% for cat in categorys_subjects %} | |
44 | + <li {% if category == cat.slug %}class="active"{% endif %}><a href="{% url 'course:view_filter' course.slug cat.slug %}">{{ cat }}</a></li> | |
45 | + {% endfor %} | |
46 | + </ul> | |
47 | + </div> | |
48 | + </div> | |
37 | 49 | {% endblock %} |
38 | 50 | |
39 | 51 | {% block content %} |
... | ... | @@ -63,12 +75,13 @@ |
63 | 75 | </div> |
64 | 76 | </div> |
65 | 77 | <div class="panel-body"> |
66 | - <p><b>Course Name: </b>{{course.name}}</p> | |
67 | - <p><b>Coordinator: </b>{{course.professors}}</p> | |
78 | + <p><b>{% trans 'Course Name' %}: </b>{{ course.name }}</p> | |
79 | + <p><b>{% trans 'Coordinator' %}: </b>{% for professor in course.professors.all %}{% if not forloop.first %},{% endif %} | |
80 | + {{professor}}{% if forloop.last %}.{% endif %}{% endfor %}</p> | |
68 | 81 | <p> |
69 | - <b>Description:</b> | |
82 | + <b>{% trans 'Description' %}:</b> | |
70 | 83 | <i> |
71 | - {{course.description}} | |
84 | + {{ course.objectivies }} | |
72 | 85 | </i> |
73 | 86 | </p> |
74 | 87 | |
... | ... | @@ -122,8 +135,7 @@ |
122 | 135 | </div> |
123 | 136 | </div> |
124 | 137 | <div class="cards-detail"> |
125 | - {% if request.GET.category == 'all' or none or request.GET.category == '' %} | |
126 | - {% for subject in subjects %} | |
138 | + {% for subject in subjects %} | |
127 | 139 | <div class="panel panel-default panel_{{ subject.id }}"> |
128 | 140 | <div class="panel-heading heading_{{subject.id}} subject ui-sortable-handle"> |
129 | 141 | <div class="row"> |
... | ... | @@ -142,8 +154,8 @@ |
142 | 154 | <i class="fa fa-ellipsis-v fa-2x" aria-hidden="true"></i> |
143 | 155 | </button> |
144 | 156 | <ul class="dropdown-menu" aria-labelledby="moreActions"> |
145 | - <li><a href="javascript:void(0)" data-toggle="modal" data-target="#myModal3"><i class="fa fa-pencil fa-fw" aria-hidden="true"></i> Replicate</a></li> | |
146 | - <li><a href="javascript:void(0)" data-toggle="modal" data-target="#removeSubject2"><i class="fa fa-trash fa-fw" aria-hidden="true"></i> Remove</a></li> | |
157 | + <li><a href="javascript:void(0)" data-toggle="modal" data-target="#myModal3"><i class="fa fa-pencil fa-fw" aria-hidden="true"></i> {% trans 'Replicate' %}</a></li> | |
158 | + <li><a href="javascript:void(0)" data-toggle="modal" data-target="#removeSubject2"><i class="fa fa-trash fa-fw" aria-hidden="true"></i> {% trans 'Remove' %}</a></li> | |
147 | 159 | </ul> |
148 | 160 | </div> |
149 | 161 | </div> |
... | ... | @@ -161,6 +173,9 @@ |
161 | 173 | <p><b>{% trans "Professor" %}: </b>{% for professor in subject.professors.all %}{% if not forloop.first %},{% endif %} |
162 | 174 | {{professor}}{% if forloop.last %}.{% endif %}{% endfor %}</p> |
163 | 175 | <p> |
176 | + <b>{% trans 'Category' %}: </b><i>{{ subject.category }}</i> | |
177 | + </p> | |
178 | + <p> | |
164 | 179 | <b>{% trans "Description" %}: </b> |
165 | 180 | <i> |
166 | 181 | {{subject.description}} |
... | ... | @@ -177,65 +192,8 @@ |
177 | 192 | </div> |
178 | 193 | </div> |
179 | 194 | </div> |
180 | - {% endfor %} | |
181 | - {% else %} | |
182 | - {% for subject in subjects_category %} | |
183 | - {% if subject.category.name == request.GET.category %} | |
184 | - <div class="panel panel-info panel_{{ subject.id }}"> | |
185 | - <div class="panel-heading heading_{{subject.id}} subject ui-sortable-handle" role="tab"> | |
186 | - <div class="row"> | |
187 | - <div class="col-md-1 moreAccordion" data-toggle="collapse" data-parent="#accordion-{{subject.slug}}" href=".collapseSubject-{{subject.slug}}" aria-expanded="false" aria-controls="collapseSubject-{{subject.slug}}"> | |
188 | - <button class="btn btn-default btn-sm caret-square"><i class="fa fa-caret-square-o-down fa-2x" aria-hidden="true"></i></button> | |
189 | - </div> | |
190 | - <div class="col-xs-9 col-md-4 titleTopic"> | |
191 | - <a role="button" href="{% url 'course:view_subject' subject.slug %}"> | |
192 | - <h4>{{subject.name}}</h4> | |
193 | - </a> | |
194 | - </div> | |
195 | - {% if user|has_role:'professor' and user in subject.professors or user|has_role:'system_admin' %} | |
196 | - <div class="col-xs-3 col-md-6" id="divMoreActions"> | |
197 | - <div class="btn-group"> | |
198 | - <button class="btn btn-default btn-sm dropdown-toggle" type="button" id="moreActions" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> | |
199 | - <i class="fa fa-ellipsis-v fa-2x" aria-hidden="true"></i> | |
200 | - </button> | |
201 | - <ul class="dropdown-menu" aria-labelledby="moreActions"> | |
202 | - <li><a href="javascript:void(0)" data-toggle="modal" data-target="#myModal3"><i class="fa fa-pencil fa-fw" aria-hidden="true"></i> Replicate</a></li> | |
203 | - <li><a href="javascript:void(0)" data-toggle="modal" data-target="#removeSubject2"><i class="fa fa-trash fa-fw" aria-hidden="true"></i> Remove</a></li> | |
204 | - </ul> | |
205 | - </div> | |
206 | - </div> | |
207 | - {% endif %} | |
208 | - {% if user|show_subject_subscribe:subject %} | |
209 | - <div class="col-xs-3 col-md-2"> | |
210 | - <a onclick="subscribe($(this), '{% url 'course:subscribe_subject' subject.slug %}', {{ subject.id }}, '{% trans 'Are you sure you want to subscribe to this subject?' %}')" class="btn btn-sm btn-primary btn-raised">{% trans 'Subscribe' %}</a> | |
211 | - </div> | |
212 | - {% endif %} | |
213 | - </div> | |
214 | - </div> | |
215 | - <div class="panel-collapse collapseSubject-{{subject.slug}} collapse in" aria-labelledby="heading_{{subject.id}}" aria-expanded="true" aria-hidden="false"> | |
216 | - <div class="panel-body"> | |
217 | - <p><b>{% trans "Professor" %}: </b>{% for professor in subject.professors.all %}{% if not forloop.first %},{% endif %} | |
218 | - {{professor}}{% if forloop.last %}.{% endif %}{% endfor %}</p> | |
219 | - <p> | |
220 | - <b>{% trans "Description" %}: </b> | |
221 | - <i> | |
222 | - {{subject.description}} | |
223 | - </i> | |
224 | - </p> | |
225 | - <div class="row"> | |
226 | - <div class="col-xs-6 col-md-6"> | |
227 | - <p><b>{% trans "Begining" %}: </b>{{subject.init_date}}</p> | |
228 | - </div> | |
229 | - <div class="col-xs-6 col-md-6"> | |
230 | - <p><b>{% trans "End" %}: </b>{{subject.end_date}}</p> | |
231 | - </div> | |
232 | - </div> | |
233 | - </div> | |
234 | - </div> | |
235 | - </div> | |
236 | - {% endif %} | |
237 | - {% endfor %} | |
238 | - {% endif %} | |
195 | + {% endfor %} | |
196 | + | |
239 | 197 | |
240 | 198 | {% if user|has_role:'professor' and user in course.professors.all or user|has_role:'system_admin' %} |
241 | 199 | ... | ... |
courses/templates/subject/form_view_student.html
1 | 1 | {% load static i18n list_topic_foruns permission_tags widget_tweaks professor_access%} |
2 | 2 | |
3 | + | |
3 | 4 | {% block javascript %} |
4 | 5 | <script type="text/javascript" src="{% static 'js/forum.js' %}"></script> |
5 | 6 | <script src="{% static 'js/file.js' %}"></script> |
... | ... | @@ -15,7 +16,7 @@ |
15 | 16 | <button class="btn btn-default btn-sm caret-square"><i class="fa fa-caret-square-o-down fa-2x" aria-hidden="true"></i></button> |
16 | 17 | </div> |
17 | 18 | <div class="col-xs-9 col-md-9 titleTopic"> |
18 | - <a role="button"> | |
19 | + <a href="{% url 'course:view_topic' topic.slug %}" role="button"> | |
19 | 20 | <h4>{{topic}}</h4> |
20 | 21 | </a> |
21 | 22 | </div> |
... | ... | @@ -29,30 +30,7 @@ |
29 | 30 | {{topic.description|linebreaks}} |
30 | 31 | </i> |
31 | 32 | </p> |
32 | - <div class="row"> | |
33 | - <div class="col-xs-6 col-md-6"> | |
34 | - <div class="resource_inline"> | |
35 | - <h4>Material</h4> | |
36 | - </div> | |
37 | - <ul id="list-materials"> | |
38 | - {% list_topic_file request topic %} | |
39 | - {% list_topic_link request topic%} | |
40 | - | |
41 | - </ul> | |
42 | - </div> | |
43 | - <div class="col-xs-4 col-md-4"> | |
44 | - <div class="resource_inline"> | |
45 | - <h4>Activities</h4> | |
46 | - </div> | |
47 | - <ul> | |
48 | - | |
49 | - <div class="foruns_list"> | |
50 | - {% list_topic_foruns request topic %} | |
51 | - </div> | |
52 | - </ul> | |
53 | - </div> | |
54 | - {% list_topic_poll request topic %} | |
55 | - </div> | |
33 | + | |
56 | 34 | </div> |
57 | 35 | </div> |
58 | 36 | </div> | ... | ... |
courses/templates/subject/form_view_teacher.html
... | ... | @@ -91,7 +91,7 @@ |
91 | 91 | </div> |
92 | 92 | <div class="col-xs-4 col-md-4"> |
93 | 93 | <div class="resource_inline"> |
94 | - <h4>Activities</h4> | |
94 | + <h4>{% trans 'Activities' %}</h4> | |
95 | 95 | </div> |
96 | 96 | <div class="resource_inline"> |
97 | 97 | <div class="dropdown"> |
... | ... | @@ -106,31 +106,32 @@ |
106 | 106 | <ul> |
107 | 107 | |
108 | 108 | <div class="foruns_list"> |
109 | + {% list_topic_poll request topic %} | |
109 | 110 | {% list_topic_foruns request topic %} |
110 | 111 | </div> |
111 | 112 | </ul> |
112 | 113 | </div> |
113 | - {% list_topic_poll request topic %} | |
114 | + | |
114 | 115 | </div> |
115 | 116 | <div class="editation" style="display: none"> |
116 | 117 | <div class="form-group"> |
117 | - <label class="control-label" for="focusedInput2">Name Topic</label> | |
118 | + <label class="control-label" for="focusedInput2">{% trans 'Name Topic' %}</label> | |
118 | 119 | <input type="text" class="form-control" value="Topic 1"> |
119 | 120 | </div> |
120 | 121 | <div class="form-group is-empty"> |
121 | - <label class="control-label" for="focusedInput2">Description</label> | |
122 | + <label class="control-label" for="focusedInput2">{% trans 'Description' %}</label> | |
122 | 123 | <textarea class="form-control" rows="3" id="textArea"></textarea> |
123 | 124 | </div> |
124 | 125 | <div class="row"> |
125 | 126 | <div class=" col-xs-6 col-md-4"> |
126 | 127 | <div class="resource_inline"> |
127 | - <h4>Material</h4> | |
128 | + <h4>{% trans 'Material' %}</h4> | |
128 | 129 | </div> |
129 | 130 | <div class="resource_inline"> |
130 | 131 | <div class="dropdown"> |
131 | 132 | <a href="#" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-plus-circle fa-lg" aria-hidden="true"></i></a> |
132 | 133 | <ul class="dropdown-menu" aria-labelledby="dLabel"> |
133 | - <li><a href="javascript:get_modal_link('{% url 'course:links:create_link' topic.slug %}', '#createLinksModal','#divModalLink')">Create a Link</a></li> | |
134 | + <li><a href="javascript:get_modal_link('{% url 'course:links:create_link' topic.slug %}', '#createLinksModal','#divModalLink')">{% trans 'Create a Link' %}</a></li> | |
134 | 135 | <li> |
135 | 136 | <a href="#"> |
136 | 137 | {% trans "Create a file" %} |
... | ... | @@ -150,13 +151,13 @@ |
150 | 151 | </div> |
151 | 152 | <div class="col-xs-4 col-md-offset-1 col-md-4"> |
152 | 153 | <div class="resource_inline"> |
153 | - <h4>Activities</h4> | |
154 | + <h4>{% trans 'Activities' %}</h4> | |
154 | 155 | </div> |
155 | 156 | <div class="resource_inline"> |
156 | 157 | <div class="dropdown"> |
157 | 158 | <a href="#" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-plus-circle fa-lg" aria-hidden="true"></i></a> |
158 | 159 | <ul class="dropdown-menu" aria-labelledby="dLabel"> |
159 | - <li>Qualquer coisa</li> | |
160 | + <li>{% trans 'Anything' %}</li> | |
160 | 161 | </ul> |
161 | 162 | </div> |
162 | 163 | </div> |
... | ... | @@ -170,8 +171,8 @@ |
170 | 171 | </div> |
171 | 172 | <div class="form-group"> |
172 | 173 | <div class="col-md-10"> |
173 | - <button type="button" class="btn btn-raised btn-default edit_card_end">Cancel</button> | |
174 | - <button type="submit" class="btn btn-raised btn-primary edit_card_end">Submit</button> | |
174 | + <button type="button" class="btn btn-raised btn-default edit_card_end">{% trans 'Cancel' %}</button> | |
175 | + <button type="submit" class="btn btn-raised btn-primary edit_card_end">{% trans 'Submit' %}</button> | |
175 | 176 | </div> |
176 | 177 | </div> |
177 | 178 | </div> |
... | ... | @@ -236,13 +237,13 @@ |
236 | 237 | </div> |
237 | 238 | </div> |
238 | 239 | <div class="form-group is-empty"> |
239 | - <label for="number" class="col-md-2 control-label">{% trans 'Height' %}</label> | |
240 | + <label for="number" class="col-md-2 control-label">Height</label> | |
240 | 241 | <div class="col-md-4"> |
241 | 242 | <input type="number" class="form-control" id="inputNumber" placeholder="Heiht"> |
242 | 243 | </div> |
243 | 244 | </div> |
244 | 245 | <div class="form-group is-empty"> |
245 | - <label for="number" class="col-md-2 control-label">{% trans 'Weight' %}</label> | |
246 | + <label for="number" class="col-md-2 control-label">Weight</label> | |
246 | 247 | <div class="col-md-4"> |
247 | 248 | <input type="number" class="form-control" id="inputNumber" placeholder="Weight"> |
248 | 249 | </div> |
... | ... | @@ -274,7 +275,7 @@ |
274 | 275 | <form class="form-horizontal"> |
275 | 276 | |
276 | 277 | <fieldset> |
277 | - <legend>{% trans 'Atividade Proposta' %}</legend> | |
278 | + <legend>{% trans 'Proposal Activity' %}</legend> | |
278 | 279 | <div class="form-group is-empty"> |
279 | 280 | <label for="NameIn" class="col-md-2 control-label">{% trans 'Name' %}:</label> |
280 | 281 | <div class="col-md-10"> | ... | ... |
courses/templates/subject/index.html
courses/templates/topic/index.html
... | ... | @@ -2,6 +2,15 @@ |
2 | 2 | |
3 | 3 | {% load static i18n permission_tags professor_access %} |
4 | 4 | |
5 | + | |
6 | +{% block javascript %} | |
7 | + <script type="text/javascript" src="{% static 'js/forum.js' %}"></script> | |
8 | + <script src="{% static 'js/file.js' %}"></script> | |
9 | + <script type="text/javascript" src="{% static 'js/material.js' %}"></script> | |
10 | + <script type = "text/javascript" src="{% static 'links.js' %}"></script> | |
11 | +{% endblock %} | |
12 | + | |
13 | + | |
5 | 14 | {% block breadcrumbs %} |
6 | 15 | |
7 | 16 | <ol class="breadcrumb"> |
... | ... | @@ -31,22 +40,7 @@ |
31 | 40 | </div> |
32 | 41 | </div> |
33 | 42 | |
34 | - {% if user|has_role:'professor' %} | |
35 | - <div class="panel panel-primary "> | |
36 | - <div class="panel-heading"> | |
37 | - <h3 class="panel-title">{% trans 'Actions' %}</h3> | |
38 | - </div> | |
39 | - <div class="panel-body"> | |
40 | - <ul class="nav nav-pills nav-stacked"> | |
41 | - <li><a href="javascript:void(0)">{% trans 'Participants' %}</a></li> | |
42 | - <li><a href="javascript:void(0)">{% trans 'Replicate subject' %}</a></li> | |
43 | - <li><a href="javascript:void(0)">{% trans 'Create subject' %}</a></li> | |
44 | - <li><a href="javascript:void(0)">{% trans 'Edit subject' %}</a></li> | |
45 | - <li><a href="javascript:void(0)">{% trans 'Remove subject' %}</a></li> | |
46 | - </ul> | |
47 | - </div> | |
48 | - </div> | |
49 | - {% endif %} | |
43 | + | |
50 | 44 | |
51 | 45 | {% endblock %} |
52 | 46 | |
... | ... | @@ -56,7 +50,7 @@ |
56 | 50 | <div class="panel-heading"> |
57 | 51 | <div class="row"> |
58 | 52 | <div class="col-md-10 col-sm-7"> |
59 | - <h3>{{subject}}</h3> | |
53 | + <h3> {{topic.name}} </h3> | |
60 | 54 | </div> |
61 | 55 | <div class="col-xs-4 col-md-2 divMoreActions"> |
62 | 56 | {% professor_subject subject user as permissions%} |
... | ... | @@ -66,9 +60,15 @@ |
66 | 60 | <i class="fa fa-ellipsis-v fa-2x" aria-hidden="true"></i> |
67 | 61 | </button> |
68 | 62 | <ul class="dropdown-menu pull-right" aria-labelledby="moreActions"> |
69 | - <li><a href="javascript:void(0)" data-toggle="modal" data-target="#myModal4"><i class="fa fa-files-o fa-fw" aria-hidden="true"></i> {% trans "Replicate" %}</a></li> | |
70 | - <li><a href="{% url 'course:update_subject' subject.slug %}" data-toggle="modal" data-target="#editSubject"><i class="fa fa-pencil fa-fw" aria-hidden="true"></i> {% trans "Edit" %}</a></li> | |
71 | - <li><a href="{% url 'course:delete_subject' subject.slug %}" data-toggle="modal" data-target="#removeSubject"><i class="fa fa-trash fa-fw" aria-hidden="true"></i> {% trans "Remove" %}</a></li> | |
63 | + <li> | |
64 | + <a href="javascript:void(0)" data-toggle="modal" data-target="#myModal4"><i class="fa fa-files-o fa-fw" aria-hidden="true"></i> {% trans "Replicate" %}</a> | |
65 | + </li> | |
66 | + <li> | |
67 | + <a href="{% url 'course:update_subject' subject.slug %}" data-toggle="modal" data-target="#editSubject"><i class="fa fa-pencil fa-fw" aria-hidden="true"></i> {% trans "Edit" %}</a> | |
68 | + </li> | |
69 | + <li> | |
70 | + <a href="{% url 'course:delete_subject' subject.slug %}" data-toggle="modal" data-target="#removeSubject"><i class="fa fa-trash fa-fw" aria-hidden="true"></i> {% trans "Remove" %}</a> | |
71 | + </li> | |
72 | 72 | </ul> |
73 | 73 | </div> |
74 | 74 | {% endif %} |
... | ... | @@ -77,25 +77,22 @@ |
77 | 77 | </div> |
78 | 78 | <div class="panel-body"> |
79 | 79 | <p> |
80 | - {{subject.description|linebreaks}} | |
80 | + {{topic.description|linebreaks}} | |
81 | 81 | </p> |
82 | 82 | </div> |
83 | 83 | </div> |
84 | 84 | <div class="panel panel-default"> |
85 | 85 | <div class="panel-body"> |
86 | - {% for activit in activitys %} | |
86 | + {% include "topic/topic_card_student.html" %} | |
87 | + {% comment %} | |
88 | + | |
89 | + | |
90 | + <!--{% for activit in activitys %} | |
87 | 91 | <form class="form-horizontal" enctype='multipart/form-data'>{% csrf_token %} |
88 | 92 | <fieldset> |
89 | 93 | <legend>{{activit.name}}</legend> |
90 | 94 | |
91 | - <div class="container-fluid"> | |
92 | - <div class="row"> | |
93 | - <div class="col-md-8"> | |
94 | - <div class="form-group is-empty"> | |
95 | - <input type="text" class="form-control col-md-4" placeholder="Search Student"> | |
96 | - </div> | |
97 | - </div> | |
98 | - </div> | |
95 | + | |
99 | 96 | {% for student in students_activit %} |
100 | 97 | <div class="panel-group" id="accordion"> |
101 | 98 | <div class="panel panel-info"> |
... | ... | @@ -114,17 +111,17 @@ |
114 | 111 | {% professor_subject subject user as permi_test%} |
115 | 112 | {% if permi_test %} |
116 | 113 | <div class="col-md-4"> |
117 | - <label> {% trans 'Nota' %}:</label> | |
114 | + <label> {% trans 'Grade' %}:</label> | |
118 | 115 | <input type="number" step="0.01"> |
119 | 116 | </div> |
120 | 117 | {% else %} |
121 | 118 | <div class="col-md-4"> |
122 | - <!--<input type="hidden" name="id" value=""> | |
123 | - <input type="hidden" name="student" value="">--> | |
119 | + <input type="hidden" name="id" value=""> | |
120 | + <input type="hidden" name="student" value=""> | |
124 | 121 | <div class="form-group {% if form.pdf.errors %} has-error {% endif %}"> |
125 | 122 | {{ form.as_p }} |
126 | 123 | </div> |
127 | - <button type="submit" class="btn btn-success" id="send_button">{% trans 'Enviar' %}</button> | |
124 | + <button type="submit" class="btn btn-success" id="send_button">{% trans 'Send' %}</button> | |
128 | 125 | </div> |
129 | 126 | {% endif %} |
130 | 127 | </div> |
... | ... | @@ -135,26 +132,15 @@ |
135 | 132 | {% endfor %} |
136 | 133 | </div> |
137 | 134 | </fieldset> |
138 | - </form> | |
135 | + </form>--> | |
136 | +{% endcomment %} | |
137 | + | |
139 | 138 | |
140 | - <ul class="pagination pagination-sm"> | |
141 | - <li class="disabled"><a href="javascript:void(0)">«</a></li> | |
142 | - <li class="active"><a href="javascript:void(0)">1</a></li> | |
143 | - <li><a href="javascript:void(0)">2</a></li> | |
144 | - <li><a href="javascript:void(0)">3</a></li> | |
145 | - <li><a href="javascript:void(0)">4</a></li> | |
146 | - <li><a href="javascript:void(0)">5</a></li> | |
147 | - <li><a href="javascript:void(0)">»</a></li> | |
148 | -</ul> | |
149 | -{% empty %} | |
150 | - {% trans 'No activity found' %} | |
151 | -{% endfor %} | |
152 | 139 | |
153 | 140 | |
154 | - | |
155 | -</div> | |
141 | + </div> | |
156 | 142 | |
157 | 143 | |
158 | -</div> | |
144 | + </div> | |
159 | 145 | </div> |
160 | 146 | {% endblock %} | ... | ... |
... | ... | @@ -0,0 +1,28 @@ |
1 | +{% load static i18n list_topic_foruns permission_tags widget_tweaks professor_access%} | |
2 | + | |
3 | + | |
4 | +<div class="row"> | |
5 | + <div class="col-xs-6 col-md-6"> | |
6 | + <div class="resource_inline"> | |
7 | + <h4>{% trans "Materials" %}</h4> | |
8 | + </div> | |
9 | + | |
10 | + <ul id="list-materials"> | |
11 | + {% list_topic_file request topic %} | |
12 | + {% list_topic_link request topic%} | |
13 | + | |
14 | + </ul> | |
15 | + </div> | |
16 | + <div class="col-xs-4 col-md-4"> | |
17 | + <div class="resource_inline"> | |
18 | + <h4>{% trans "Activities" %}</h4> | |
19 | + </div> | |
20 | + <ul> | |
21 | + <div class="foruns_list"> | |
22 | + {% list_topic_poll request topic %} | |
23 | + {% list_topic_foruns request topic %} | |
24 | + </div> | |
25 | + </ul> | |
26 | + </div> | |
27 | + | |
28 | +</div> | |
0 | 29 | \ No newline at end of file | ... | ... |
courses/urls.py
... | ... | @@ -6,7 +6,10 @@ urlpatterns = [ |
6 | 6 | url(r'^create/$', views.CreateCourseView.as_view(), name='create'), |
7 | 7 | url(r'^replicate_course/(?P<slug>[\w_-]+)/$', views.ReplicateCourseView.as_view(), name='replicate_course'), |
8 | 8 | url(r'^edit/(?P<slug>[\w_-]+)/$', views.UpdateCourseView.as_view(), name='update'), |
9 | - url(r'^(?P<slug>[\w_-]+)/$', views.CourseView.as_view(), name='view'), | |
9 | + url(r'^(?P<slug>[\w_-]+)/', include([ | |
10 | + url(r'^$', views.CourseView.as_view(), name='view'), | |
11 | + url(r'^(?P<category>[\w_-]+)/$', views.CourseView.as_view(), name='view_filter') | |
12 | + ])), | |
10 | 13 | url(r'^delete/(?P<slug>[\w_-]+)/$', views.DeleteCourseView.as_view(), name='delete'), |
11 | 14 | url(r'^subscribe/(?P<slug>[\w_-]+)/$', views.subscribe_course, name='subscribe'), |
12 | 15 | url(r'^category/(?P<slug>[\w_-]+)/$', views.FilteredView.as_view(), name='filter'), | ... | ... |
courses/views.py
... | ... | @@ -18,7 +18,7 @@ from core.mixins import NotificationMixin |
18 | 18 | from users.models import User |
19 | 19 | from files.forms import FileForm |
20 | 20 | from files.models import TopicFile |
21 | - | |
21 | +from courses.models import Material | |
22 | 22 | from django.urls import reverse |
23 | 23 | |
24 | 24 | from datetime import date |
... | ... | @@ -211,12 +211,19 @@ class CourseView( NotificationMixin, generic.DetailView): |
211 | 211 | context = super(CourseView, self).get_context_data(**kwargs) |
212 | 212 | course = get_object_or_404(Course, slug = self.kwargs.get('slug')) |
213 | 213 | |
214 | + category_sub = self.kwargs.get('category', None) | |
215 | + | |
214 | 216 | if has_role(self.request.user,'system_admin'): |
215 | 217 | subjects = course.subjects.all() |
216 | 218 | elif has_role(self.request.user,'professor'): |
217 | 219 | subjects = course.subjects.filter(professors__in=[self.request.user]) |
218 | 220 | elif has_role(self.request.user, 'student') or self.request.user is None: |
219 | 221 | subjects = course.subjects.filter(visible=True) |
222 | + | |
223 | + if not category_sub is None: | |
224 | + cat = get_object_or_404(CategorySubject, slug = category_sub) | |
225 | + subjects = subjects.filter(category = cat) | |
226 | + | |
220 | 227 | context['subjects'] = subjects |
221 | 228 | |
222 | 229 | if has_role(self.request.user,'system_admin'): |
... | ... | @@ -238,13 +245,7 @@ class CourseView( NotificationMixin, generic.DetailView): |
238 | 245 | |
239 | 246 | subjects_category = Subject.objects.filter(category__name = self.request.GET.get('category')) |
240 | 247 | |
241 | - none = None | |
242 | - q = self.request.GET.get('category', None) | |
243 | - if q is None: | |
244 | - none = True | |
245 | - context['none'] = none | |
246 | - | |
247 | - context['subjects_category'] = subjects_category | |
248 | + context['category'] = category_sub | |
248 | 249 | context['categorys_subjects'] = categorys_subjects |
249 | 250 | context['courses'] = courses |
250 | 251 | context['course'] = course |
... | ... | @@ -457,11 +458,13 @@ class TopicsView(LoginRequiredMixin, generic.ListView): |
457 | 458 | context = super(TopicsView, self).get_context_data(**kwargs) |
458 | 459 | activitys = Activity.objects.filter(topic__name = topic.name) |
459 | 460 | students_activit = User.objects.filter(activities__in = Activity.objects.all()) |
460 | - | |
461 | + materials = Material.objects.filter(topic = topic) | |
462 | + print(materials) | |
461 | 463 | context['topic'] = topic |
462 | 464 | context['subject'] = topic.subject |
463 | 465 | context['activitys'] = activitys |
464 | 466 | context['students_activit'] = students_activit |
467 | + context['materials'] = materials | |
465 | 468 | context['form'] = ActivityForm |
466 | 469 | |
467 | 470 | return context | ... | ... |
... | ... | @@ -0,0 +1,167 @@ |
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-10-26 14:47-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 | +#: exam/forms.py:18 exam/forms.py:22 | |
22 | +msgid "It is required one these fields." | |
23 | +msgstr "" | |
24 | + | |
25 | +#: exam/forms.py:33 | |
26 | +msgid "Start date to resolve the exam" | |
27 | +msgstr "" | |
28 | + | |
29 | +#: exam/forms.py:35 | |
30 | +msgid "Maximum date permited to resolve the exam" | |
31 | +msgstr "" | |
32 | + | |
33 | +#: exam/models.py:9 | |
34 | +msgid "Begin of Course Date" | |
35 | +msgstr "" | |
36 | + | |
37 | +#: exam/models.py:10 | |
38 | +msgid "Exibe?" | |
39 | +msgstr "" | |
40 | + | |
41 | +#: exam/models.py:13 exam/models.py:35 | |
42 | +msgid "Exam" | |
43 | +msgstr "" | |
44 | + | |
45 | +#: exam/models.py:14 | |
46 | +msgid "Exams" | |
47 | +msgstr "" | |
48 | + | |
49 | +#: exam/models.py:21 exam/models.py:27 | |
50 | +msgid "Answer" | |
51 | +msgstr "" | |
52 | + | |
53 | +#: exam/models.py:22 | |
54 | +msgid "Order" | |
55 | +msgstr "" | |
56 | + | |
57 | +#: exam/models.py:23 exam/models.py:28 | |
58 | +msgid "Answers" | |
59 | +msgstr "" | |
60 | + | |
61 | +#: exam/models.py:34 | |
62 | +msgid "Answered" | |
63 | +msgstr "" | |
64 | + | |
65 | +#: exam/models.py:36 | |
66 | +msgid "Answers Students" | |
67 | +msgstr "" | |
68 | + | |
69 | +#: exam/models.py:37 | |
70 | +msgid "Student" | |
71 | +msgstr "" | |
72 | + | |
73 | +#: exam/models.py:38 | |
74 | +msgid "Answered Date" | |
75 | +msgstr "" | |
76 | + | |
77 | +#: exam/models.py:41 | |
78 | +msgid "Answer Stundent" | |
79 | +msgstr "" | |
80 | + | |
81 | +#: exam/models.py:42 | |
82 | +msgid "Answers Student" | |
83 | +msgstr "" | |
84 | + | |
85 | +#: exam/templates/exam/create.html:9 | |
86 | +msgid "New Exam" | |
87 | +msgstr "" | |
88 | + | |
89 | +#: exam/templates/exam/create.html:14 exam/templates/exam/create.html:16 | |
90 | +msgid "Exam Name" | |
91 | +msgstr "" | |
92 | + | |
93 | +#: exam/templates/exam/create.html:20 | |
94 | +msgid "Exam's begin date" | |
95 | +msgstr "" | |
96 | + | |
97 | +#: exam/templates/exam/create.html:22 | |
98 | +msgid "Begin Date" | |
99 | +msgstr "" | |
100 | + | |
101 | +#: exam/templates/exam/create.html:26 | |
102 | +msgid "Exam's end date" | |
103 | +msgstr "" | |
104 | + | |
105 | +#: exam/templates/exam/create.html:28 | |
106 | +msgid "End Date" | |
107 | +msgstr "" | |
108 | + | |
109 | +#: exam/templates/exam/create.html:35 | |
110 | +msgid "Allow submissions after deadline?" | |
111 | +msgstr "" | |
112 | + | |
113 | +#: exam/templates/exam/create.html:44 exam/templates/exam/create.html:47 | |
114 | +msgid "Question Type" | |
115 | +msgstr "" | |
116 | + | |
117 | +#: exam/templates/exam/create.html:48 | |
118 | +msgid "Multiple Choice" | |
119 | +msgstr "" | |
120 | + | |
121 | +#: exam/templates/exam/create.html:49 | |
122 | +msgid "True or False" | |
123 | +msgstr "" | |
124 | + | |
125 | +#: exam/templates/exam/create.html:50 | |
126 | +msgid "Gap Filling" | |
127 | +msgstr "" | |
128 | + | |
129 | +#: exam/templates/exam/create.html:51 | |
130 | +msgid "Discursive Question" | |
131 | +msgstr "" | |
132 | + | |
133 | +#: exam/templates/exam/create.html:57 | |
134 | +msgid "add question" | |
135 | +msgstr "" | |
136 | + | |
137 | +#: exam/templates/exam/create.html:62 | |
138 | +msgid "Create" | |
139 | +msgstr "" | |
140 | + | |
141 | +#: exam/templates/exam/discursive_question.html:2 | |
142 | +#: exam/templates/exam/discursive_question.html:4 | |
143 | +#: exam/templates/exam/multiple_choice_question.html:5 | |
144 | +#: exam/templates/exam/true_or_false_question.html:20 | |
145 | +#: exam/templates/exam/true_or_false_question.html:25 | |
146 | +msgid "Question" | |
147 | +msgstr "" | |
148 | + | |
149 | +#: exam/templates/exam/gap_filling_question.html:2 | |
150 | +msgid "Gap Filling Question" | |
151 | +msgstr "" | |
152 | + | |
153 | +#: exam/templates/exam/multiple_choice_question.html:15 | |
154 | +msgid "Alternatives" | |
155 | +msgstr "" | |
156 | + | |
157 | +#: exam/templates/exam/true_or_false_answer.html:9 | |
158 | +msgid "Write your alternative" | |
159 | +msgstr "" | |
160 | + | |
161 | +#: exam/templates/exam/true_or_false_question.html:37 | |
162 | +msgid "Alternatives: T/F" | |
163 | +msgstr "" | |
164 | + | |
165 | +#: exam/templates/exam/true_or_false_question.html:45 | |
166 | +msgid "New Alternative" | |
167 | +msgstr "" | ... | ... |
exam/templates/exam/create.html.py
... | ... | @@ -74,9 +74,7 @@ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX |
74 | 74 | XXXXXXXXXXXXXXXXXXXXXXXXX X XXXXXX |
75 | 75 | XXX |
76 | 76 | XXX |
77 | - | |
78 | 77 | XXX XXXXXXXXXXXXXXXX X XX |
79 | - | |
80 | 78 | XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XX X |
81 | 79 | XXX XXXXXXX X XXXXX XXXXXXXXXXXX XXXXXXXXXXXXXXXX X |
82 | 80 | XXXXXXXXX X |
... | ... | @@ -85,12 +83,9 @@ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XX X |
85 | 83 | XXXXXXXXXX X |
86 | 84 | XXXXXXXXX |
87 | 85 | XXXXXXXXXXXXXXXXXXXXXXXXXXXXX |
88 | - | |
89 | 86 | XXXXXXXXXXXXXXXXXXX |
90 | 87 | XXX |
91 | - | |
92 | 88 | XXX XXXXXXXXXXXXXXXXXX X XX |
93 | - | |
94 | 89 | XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XX X |
95 | 90 | XXX XXXXXXX X XXXXX XXXXXXXXXXXX XXXXXXXXXXXXXXXX X |
96 | 91 | XXXXXXXXX X |
... | ... | @@ -104,10 +99,8 @@ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XX X |
104 | 99 | XXXXXXXXXX X |
105 | 100 | XXXXXXXXX |
106 | 101 | XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX |
107 | - | |
108 | 102 | XXXXXXXXXXXXXXXXXXXXX |
109 | 103 | XXX |
110 | - | |
111 | 104 | XXXXXXXXXXXX X |
112 | 105 | XX XXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXX |
113 | 106 | XXX | ... | ... |
exam/templates/exam/gap_filling_question.html.py
exam/templates/exam/multiple_choice_question.html
exam/templates/exam/multiple_choice_question.html.py
1 | +BBBB BBBB | |
2 | + | |
1 | 3 | XXXX XXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXX |
2 | 4 | |
3 | - XXXXXX XXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX | |
5 | + XXXXXX XXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXX XXXXXXXXXXXXXXX gettext(u'Question') XXXXXXXX | |
4 | 6 | |
5 | 7 | |
6 | 8 | XXXX XXXXXXXXXXXXXXXXXX |
... | ... | @@ -10,7 +12,7 @@ XXXX XXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXX |
10 | 12 | |
11 | 13 | XXXXXX |
12 | 14 | XXXX XXXXXXXXXXXXXXXXXXX |
13 | - XXXXXX XXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX | |
15 | + XXXXXX XXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXX XXXXXXXXXXXXXXX gettext(u'Alternatives') XXXXXXXX | |
14 | 16 | XXXX XXXXXXXXXXXXXXXXX XXXXXXXXXXXX |
15 | 17 | XXXX XXXXXXXXXXXX XXXXXXXXXXXXXXX |
16 | 18 | XXXXXXX |
... | ... | @@ -29,7 +31,7 @@ XXXXXX |
29 | 31 | XXXX XXX XXXXXXXXXXX XXXXXX XXX |
30 | 32 | XXXX XXXXXXXXXXXXXXXXXXX |
31 | 33 | XXXX XXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXX |
32 | - XXXXXXX XXXXXXXXXXXXX XXXXXXXXXX XXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXX | |
34 | + XXXXXXX XXXXXXXXXXXXX XXXXXXXXXX XXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXX XXXXX XXXX XXXXXXXXXXXX XXXXXXXXXXX | |
33 | 35 | XXXXXX |
34 | 36 | XXXXXX |
35 | 37 | XXXX XXXXXXXXXXXXXXXXXXX | ... | ... |
... | ... | @@ -0,0 +1,88 @@ |
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-10-26 14:47-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 | +#: files/forms.py:12 files/forms.py:29 | |
22 | +msgid "File too large (Max 10MB)" | |
23 | +msgstr "" | |
24 | + | |
25 | +#: files/models.py:20 | |
26 | +msgid "Professors" | |
27 | +msgstr "" | |
28 | + | |
29 | +#: files/models.py:21 | |
30 | +msgid "Description" | |
31 | +msgstr "" | |
32 | + | |
33 | +#: files/models.py:22 files/models.py:27 | |
34 | +msgid "File" | |
35 | +msgstr "" | |
36 | + | |
37 | +#: files/models.py:23 | |
38 | +msgid "Type file" | |
39 | +msgstr "" | |
40 | + | |
41 | +#: files/models.py:28 | |
42 | +msgid "Files" | |
43 | +msgstr "" | |
44 | + | |
45 | +#: files/templates/files/create_file.html:10 | |
46 | +msgid "Add File" | |
47 | +msgstr "" | |
48 | + | |
49 | +#: files/templates/files/create_file.html:38 | |
50 | +#: files/templates/files/update_file.html:40 | |
51 | +msgid "Choose your file..." | |
52 | +msgstr "" | |
53 | + | |
54 | +#: files/templates/files/create_file.html:68 | |
55 | +#: files/templates/files/update_file.html:73 | |
56 | +msgid "The file size shouldnt exceed 10MB" | |
57 | +msgstr "" | |
58 | + | |
59 | +#: files/templates/files/create_file.html:74 | |
60 | +#: files/templates/files/delete_file.html:34 | |
61 | +#: files/templates/files/update_file.html:79 | |
62 | +msgid "Close" | |
63 | +msgstr "" | |
64 | + | |
65 | +#: files/templates/files/create_file.html:75 | |
66 | +#: files/templates/files/update_file.html:80 | |
67 | +msgid "Submit" | |
68 | +msgstr "" | |
69 | + | |
70 | +#: files/templates/files/delete_file.html:12 | |
71 | +msgid "Delete File" | |
72 | +msgstr "" | |
73 | + | |
74 | +#: files/templates/files/delete_file.html:30 | |
75 | +msgid "Are you sure to delete " | |
76 | +msgstr "" | |
77 | + | |
78 | +#: files/templates/files/delete_file.html:35 | |
79 | +msgid "Delete" | |
80 | +msgstr "" | |
81 | + | |
82 | +#: files/templates/files/update_file.html:12 | |
83 | +msgid "Edit File" | |
84 | +msgstr "" | |
85 | + | |
86 | +#: files/templates/files/update_file.html:48 | |
87 | +msgid "See current file" | |
88 | +msgstr "" | ... | ... |
files/templates/files/create_file.html.py
... | ... | @@ -65,14 +65,14 @@ XXXX XXXXXXXXXXXXX |
65 | 65 | |
66 | 66 | XXXX XXXXXXXXXXXXXXXXXXX |
67 | 67 | XXXX XXXXXXXXXXXXXXXX XXXXXXXXXXXXX |
68 | - XXXXXXXXX XXXX XXXX XXXXXXXXX XXXXXX XXXXXXXXXXXX | |
68 | + XXXXXX gettext(u'The file size shouldnt exceed 10MB') XXXXXXXX | |
69 | 69 | XXXXXX |
70 | 70 | XXXXXX |
71 | 71 | |
72 | 72 | XXXX XXXXXXXXXXXXXXXXXXX |
73 | 73 | XXXX XXXXXXXXXXXXXXXXXX |
74 | 74 | XXXXXXX XXXXXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXX gettext(u'Close') XXXXXXXXX |
75 | - XXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXX | |
75 | + XXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXXXX XXXXXXXXXXXXXX gettext(u'Submit') XXXXXXXXX | |
76 | 76 | XXXXXX |
77 | 77 | XXXXXX |
78 | 78 | XXXXXXXXXXX | ... | ... |
files/templates/files/delete_file.html.py
... | ... | @@ -32,7 +32,7 @@ XXXX XXXXXXXXXXXXXXXXXXXX |
32 | 32 | XXXX XXXXXXXXXXXXXXXXXXX |
33 | 33 | XXXX XXXXXXXXXXXXXXXXXX |
34 | 34 | XXXXXXX XXXXXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXX gettext(u'Close') XXXXXXXXX |
35 | - XXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXX | |
35 | + XXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXXXX XXXXXXXXXXXXXX gettext(u'Delete') XXXXXXXXX | |
36 | 36 | XXXXXX |
37 | 37 | XXXXXX |
38 | 38 | XXXXXXXXXXX | ... | ... |
files/templates/files/update_file.html.py
... | ... | @@ -70,14 +70,14 @@ XXXX XXXXXXXXXXXXXXXXXXXX |
70 | 70 | |
71 | 71 | XXXX XXXXXXXXXXXXXXXXXXX |
72 | 72 | XXXX XXXXXXXXXXXXXXXX XXXXXXXXXXXXX |
73 | - XXXXXXXXX XXXX XXXX XXXXXXXXX XXXXXX XXXXXXXXXXXX | |
73 | + XXXXXX gettext(u'The file size shouldnt exceed 10MB') XXXXXXXX | |
74 | 74 | XXXXXX |
75 | 75 | XXXXXX |
76 | 76 | |
77 | 77 | XXXX XXXXXXXXXXXXXXXXXXX |
78 | 78 | XXXX XXXXXXXXXXXXXXXXXX |
79 | 79 | XXXXXXX XXXXXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXX gettext(u'Close') XXXXXXXXX |
80 | - XXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXX | |
80 | + XXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXXXX XXXXXXXXXXXXXX gettext(u'Submit') XXXXXXXXX | |
81 | 81 | XXXXXX |
82 | 82 | XXXXXX |
83 | 83 | XXXXXXXXXXX | ... | ... |
... | ... | @@ -0,0 +1,250 @@ |
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-10-26 14:47-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 | +#: forum/forms.py:11 | |
22 | +msgid "Title" | |
23 | +msgstr "" | |
24 | + | |
25 | +#: forum/forms.py:12 forum/models.py:14 | |
26 | +#: forum/templates/forum/forum_list.html:23 | |
27 | +#: forum/templates/forum/forum_view.html:58 | |
28 | +#: forum/templates/forum/render_forum.html:4 | |
29 | +msgid "Description" | |
30 | +msgstr "" | |
31 | + | |
32 | +#: forum/forms.py:13 | |
33 | +msgid "Limit Date" | |
34 | +msgstr "" | |
35 | + | |
36 | +#: forum/forms.py:16 | |
37 | +msgid "Forum title" | |
38 | +msgstr "" | |
39 | + | |
40 | +#: forum/forms.py:17 | |
41 | +msgid "What is this forum about?" | |
42 | +msgstr "" | |
43 | + | |
44 | +#: forum/forms.py:18 | |
45 | +msgid "Limit date for students post on this forum" | |
46 | +msgstr "" | |
47 | + | |
48 | +#: forum/forms.py:33 forum/forms.py:46 | |
49 | +msgid "Message" | |
50 | +msgstr "" | |
51 | + | |
52 | +#: forum/models.py:15 forum/models.py:33 forum/models.py:61 | |
53 | +msgid "Modification Date" | |
54 | +msgstr "" | |
55 | + | |
56 | +#: forum/models.py:16 | |
57 | +msgid "Create Date" | |
58 | +msgstr "" | |
59 | + | |
60 | +#: forum/models.py:19 forum/models.py:35 | |
61 | +#: forum/templates/forum/forum_view.html:16 | |
62 | +#: forum/templates/forum/forum_view.html:116 | |
63 | +msgid "Forum" | |
64 | +msgstr "" | |
65 | + | |
66 | +#: forum/models.py:20 | |
67 | +msgid "Foruns" | |
68 | +msgstr "" | |
69 | + | |
70 | +#: forum/models.py:31 forum/models.py:58 | |
71 | +msgid "Autor" | |
72 | +msgstr "" | |
73 | + | |
74 | +#: forum/models.py:32 | |
75 | +msgid "Post message" | |
76 | +msgstr "" | |
77 | + | |
78 | +#: forum/models.py:34 | |
79 | +msgid "Post Date" | |
80 | +msgstr "" | |
81 | + | |
82 | +#: forum/models.py:38 forum/models.py:59 | |
83 | +msgid "Post" | |
84 | +msgstr "" | |
85 | + | |
86 | +#: forum/models.py:39 | |
87 | +msgid "Posts" | |
88 | +msgstr "" | |
89 | + | |
90 | +#: forum/models.py:60 | |
91 | +msgid "Answer message" | |
92 | +msgstr "" | |
93 | + | |
94 | +#: forum/models.py:62 | |
95 | +msgid "Answer Date" | |
96 | +msgstr "" | |
97 | + | |
98 | +#: forum/models.py:65 | |
99 | +msgid "Post Answer" | |
100 | +msgstr "" | |
101 | + | |
102 | +#: forum/models.py:66 | |
103 | +msgid "Post Answers" | |
104 | +msgstr "" | |
105 | + | |
106 | +#: forum/templates/forum/forum_list.html:16 | |
107 | +#: forum/templates/forum/forum_view.html:44 | |
108 | +#: forum/templates/post/post_list.html:20 | |
109 | +#: forum/templates/post/post_load_more_render.html:20 | |
110 | +#: forum/templates/post/post_render.html:18 | |
111 | +#: forum/templates/post_answers/post_answer_list.html:17 | |
112 | +#: forum/templates/post_answers/post_answer_load_more_render.html:17 | |
113 | +#: forum/templates/post_answers/post_answer_render.html:15 | |
114 | +msgid "Edit" | |
115 | +msgstr "" | |
116 | + | |
117 | +#: forum/templates/forum/forum_list.html:17 | |
118 | +#: forum/templates/forum/forum_view.html:45 | |
119 | +msgid "Are you sure you want to delete this forum?" | |
120 | +msgstr "" | |
121 | + | |
122 | +#: forum/templates/forum/forum_list.html:17 | |
123 | +#: forum/templates/forum/forum_view.html:45 | |
124 | +msgid "Delete" | |
125 | +msgstr "" | |
126 | + | |
127 | +#: forum/templates/forum/forum_list.html:24 | |
128 | +#: forum/templates/forum/forum_view.html:59 | |
129 | +#: forum/templates/forum/render_forum.html:5 | |
130 | +msgid "Opened in" | |
131 | +msgstr "" | |
132 | + | |
133 | +#: forum/templates/forum/forum_list.html:59 | |
134 | +#: forum/templates/forum/forum_view.html:91 | |
135 | +#: forum/templates/post_answers/post_answer_form.html:38 | |
136 | +msgid "send" | |
137 | +msgstr "" | |
138 | + | |
139 | +#: forum/templates/forum/forum_view.html:13 | |
140 | +msgid "Home" | |
141 | +msgstr "" | |
142 | + | |
143 | +#: forum/templates/forum/forum_view.html:27 | |
144 | +msgid "Menu" | |
145 | +msgstr "" | |
146 | + | |
147 | +#: forum/templates/forum/forum_view.html:31 | |
148 | +msgid "Profile" | |
149 | +msgstr "" | |
150 | + | |
151 | +#: forum/templates/forum/forum_view.html:32 | |
152 | +msgid "My Courses" | |
153 | +msgstr "" | |
154 | + | |
155 | +#: forum/templates/forum/forum_view.html:40 | |
156 | +msgid "Actions" | |
157 | +msgstr "" | |
158 | + | |
159 | +#: forum/templates/forum/forum_view.html:44 | |
160 | +msgid "Forum edited successfully!" | |
161 | +msgstr "" | |
162 | + | |
163 | +#: forum/templates/forum/forum_view.html:124 | |
164 | +msgid "Close" | |
165 | +msgstr "" | |
166 | + | |
167 | +#: forum/templates/forum/forum_view.html:125 | |
168 | +msgid "Update" | |
169 | +msgstr "" | |
170 | + | |
171 | +#: forum/templates/post/post_list.html:11 | |
172 | +#: forum/templates/post/post_load_more_render.html:11 | |
173 | +#: forum/templates/post/post_render.html:9 | |
174 | +msgid "reply" | |
175 | +msgstr "" | |
176 | + | |
177 | +#: forum/templates/post/post_list.html:20 | |
178 | +#: forum/templates/post/post_load_more_render.html:20 | |
179 | +#: forum/templates/post/post_render.html:18 | |
180 | +msgid "Post edited successfully!" | |
181 | +msgstr "" | |
182 | + | |
183 | +#: forum/templates/post/post_list.html:21 | |
184 | +#: forum/templates/post/post_load_more_render.html:21 | |
185 | +#: forum/templates/post/post_render.html:19 | |
186 | +#: forum/templates/post_answers/post_answer_list.html:18 | |
187 | +#: forum/templates/post_answers/post_answer_load_more_render.html:18 | |
188 | +#: forum/templates/post_answers/post_answer_render.html:16 | |
189 | +msgid "Remove" | |
190 | +msgstr "" | |
191 | + | |
192 | +#: forum/templates/post/post_list.html:30 | |
193 | +#: forum/templates/post/post_load_more_render.html:30 | |
194 | +#: forum/templates/post/post_render.html:28 | |
195 | +#: forum/templates/post_answers/post_answer_list.html:26 | |
196 | +#: forum/templates/post_answers/post_answer_load_more_render.html:26 | |
197 | +#: forum/templates/post_answers/post_answer_render.html:24 | |
198 | +msgid "ago" | |
199 | +msgstr "" | |
200 | + | |
201 | +#: forum/templates/post/post_list.html:32 | |
202 | +#: forum/templates/post/post_load_more_render.html:32 | |
203 | +#: forum/templates/post/post_render.html:30 | |
204 | +#: forum/templates/post_answers/post_answer_list.html:28 | |
205 | +#: forum/templates/post_answers/post_answer_load_more_render.html:28 | |
206 | +#: forum/templates/post_answers/post_answer_render.html:26 | |
207 | +msgid "Edited" | |
208 | +msgstr "" | |
209 | + | |
210 | +#: forum/templates/post/post_list.html:54 forum/views.py:196 | |
211 | +msgid "Load more posts" | |
212 | +msgstr "" | |
213 | + | |
214 | +#: forum/templates/post/post_update_form.html:32 | |
215 | +#: forum/templates/post_answers/post_answer_form.html:32 | |
216 | +msgid "Cancel" | |
217 | +msgstr "" | |
218 | + | |
219 | +#: forum/templates/post/post_update_form.html:33 | |
220 | +#: forum/templates/post_answers/post_answer_form.html:33 | |
221 | +msgid "Save changes" | |
222 | +msgstr "" | |
223 | + | |
224 | +#: forum/templates/post_answers/post_answer_list.html:17 | |
225 | +#: forum/templates/post_answers/post_answer_load_more_render.html:17 | |
226 | +#: forum/templates/post_answers/post_answer_render.html:15 | |
227 | +msgid "Answer edited sucessfully!" | |
228 | +msgstr "" | |
229 | + | |
230 | +#: forum/templates/post_answers/post_answer_list.html:18 | |
231 | +#: forum/templates/post_answers/post_answer_load_more_render.html:18 | |
232 | +#: forum/templates/post_answers/post_answer_render.html:16 | |
233 | +msgid "Are you sure you want to delete this answer?" | |
234 | +msgstr "" | |
235 | + | |
236 | +#: forum/templates/post_answers/post_answer_list.html:42 forum/views.py:295 | |
237 | +msgid "Load more answers" | |
238 | +msgstr "" | |
239 | + | |
240 | +#: forum/views.py:130 | |
241 | +msgid "Forum deleted successfully." | |
242 | +msgstr "" | |
243 | + | |
244 | +#: forum/views.py:253 | |
245 | +msgid "Post deleted successfully." | |
246 | +msgstr "" | |
247 | + | |
248 | +#: forum/views.py:365 | |
249 | +msgid "Post answer deleted successfully." | |
250 | +msgstr "" | ... | ... |
forum/templates/forum/forum_list.html.py
... | ... | @@ -56,7 +56,7 @@ XXXXX XXXXXXXXXXXXXX XXXXXXXXXXXXX XXXXXXXXBBB BBBBBBBBBBBBBBBBBBBBBBBBBBX XXXXX |
56 | 56 | BBBBB |
57 | 57 | XXXXX XXXXXXXXXXXXXXXXXXXXXXXX |
58 | 58 | XXXXXXX XXXXXXXXXXXXX XXXXXXXXXX XXXXXXX XXXXXXXXXXXXXX |
59 | - XX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX | |
59 | + XX XXXXXXXXXXXXXXXXXXXXXXX gettext(u'send') XXXX | |
60 | 60 | XXXXXXXXX |
61 | 61 | XXXXXXX |
62 | 62 | XXXXXX | ... | ... |
forum/templates/forum/forum_view.html.py
... | ... | @@ -34,7 +34,7 @@ BBBBB BBBBBBB |
34 | 34 | XXXXXX |
35 | 35 | XXXXXX |
36 | 36 | |
37 | - BB BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB BB BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB BBB BBBBBBBBBBBB BB BBBBBBBBB | |
37 | + BB BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB BB BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB BBB BBBBBBBBBBBB BB BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB | |
38 | 38 | XXXX XXXXXXXXXXXX XXXXXXXXXXXXX XXXXXXXXXXXX |
39 | 39 | XXXX XXXXXXXXXXXXXXXXXXXXXX |
40 | 40 | XXX XXXXXXXXXXXXXXXXXXXX gettext(u'Actions') XXXXX |
... | ... | @@ -88,7 +88,7 @@ BBBBB BBBBBBB |
88 | 88 | BBBBB |
89 | 89 | XXXXX XXXXXXXXXXXXXXXXXXXXXXXX |
90 | 90 | XXXXXXX XXXXXXXXXXXXX XXXXXXXXXX XXXXXXX XXXXXXXXXXXXXX |
91 | - XX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX | |
91 | + XX XXXXXXXXXXXXXXXXXXXXXXX gettext(u'send') XXXX | |
92 | 92 | XXXXXXXXX |
93 | 93 | XXXXXXX |
94 | 94 | XXXXXX | ... | ... |
forum/templates/post/post_list.html.py
... | ... | @@ -8,7 +8,7 @@ BB BBBBBBBBBBBB B B |
8 | 8 | |
9 | 9 | XXXX XXXXXXXXXXXXXXXXXXX |
10 | 10 | XX XXXXXXXXXXXXXXXXXXXXXXXXXXX XBBB BBBBBBBBBBBBBBBBBBBBBBBBBXXXXX |
11 | - XX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX | |
11 | + XX XXXXXXXXXXXXXXXXXXXXXXX gettext(u'reply') XXXX | |
12 | 12 | XXXX |
13 | 13 | BB BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB BB BBBBBBBBBBBB BB BBBBBBBBB |
14 | 14 | BBBBBBBBBB | ... | ... |
... | ... | @@ -0,0 +1,50 @@ |
1 | +BBBB BBBB BBBBBBBBBBBBBBB BBBBBBBBBBBBBBBB | |
2 | + | |
3 | +BB BBBBBBBBBBBB B B | |
4 | + BBB BBBB BB BBBBB | |
5 | + XXXX XXXXXXXXXX XXXXXXXX | |
6 | + XXXX XXXXXXXXXX XXXXXXXXXXXXXXXX XXXXXXXXXXX | |
7 | + XXX XXXXXXXXXXXXXXXXXX | |
8 | + | |
9 | + XXXX XXXXXXXXXXXXXXXXXXX | |
10 | + XX XXXXXXXXXXXXXXXXXXXXXXXXXXX XBBB BBBBBBBBBBBBBBBBBBBBBBBBBXXXXX | |
11 | + XX XXXXXXXXXXXXXXXXXXXXXXX gettext(u'reply') XXXX | |
12 | + XXXX | |
13 | + BB BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB BB BBBBBBBBBBBB BB BBBBBBBBB | |
14 | + BBBBBBBBBB | |
15 | + XXXX XXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXX | |
16 | + XX XXXXXXXXXX XXXXXXXXXXX XXXXXX XXXXXXXXXXXXXXXX XXXXXXXXXXXXX XXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXX | |
17 | + XX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX | |
18 | + XXXX | |
19 | + XXX XXXXXXXXXXXXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX | |
20 | + XXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXBBB BBBBBBBBBBBBBBBBBBBBBBBBBB BBBBBBBXX XXX X gettext(u'Post edited successfully!') XXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX gettext(u'Edit') XXXXXXXXX | |
21 | + XXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXBBB BBBBBBBBBBBBBBBBBBBBBBBBBB BBBBBBBXX XXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX gettext(u'Remove') XXXXXXXXX | |
22 | + XXXXX | |
23 | + XXXXXX | |
24 | + BBBBB | |
25 | + XXXXXX | |
26 | + XXXXX | |
27 | + XXXX XXXXXXXXXXXXXXXXXXXXX | |
28 | + XXXX XXXXXXXXXXXXXXXXXX | |
29 | + XX XXXXXXXXXXXXXXXXXXXXX | |
30 | + XX XXXXXXXXX XXXXXXXXXXXXXXXX FFFFFFFFF gettext(u'ago') | |
31 | + BB BBBBBBBBBBBBBBBB | |
32 | + XXXX X gettext(u'Edited') XXXXX | |
33 | + BBBBB | |
34 | + XXXX | |
35 | + XXXXXX | |
36 | + XX XXXXXXXXXXXXXXXXXXXXXFFFFFFFFFFXXXX | |
37 | + XXXXXX | |
38 | + XXXX XXXXXXXXXXXXXXXXXXXXXXXXXX | |
39 | + XXXX XXXXXXXXXXXXXXXXXXXX | |
40 | + BBBBBBBBBBBBBBBB BBBBBBB BBBB | |
41 | + XXXXXX | |
42 | + XXXX XXXXXXXXXXXX XXXXXXXXXXXXX XXXXXXXXXXXXXXXX XXXXXXXXXXXX XXXXXXXXXXXXXXX XXXXXX | |
43 | + XXXXXXXX | |
44 | + XXXXX XXXXXXXXX XXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXX | |
45 | + XXXXXXXXX | |
46 | + XXXXXX | |
47 | + XXXXXX | |
48 | + XXXXXX | |
49 | + BBBBBB | |
50 | +BBBBB | |
0 | 51 | \ No newline at end of file | ... | ... |
forum/templates/post/post_render.html.py
1 | 1 | BBBB BBBB BBBBBBBBBBBBBBB BBBBBBBBBBBBBBBB |
2 | 2 | |
3 | -XXXX XXXXXXXXXXXX | |
3 | +XXXX XXXXXXXXXX XXXXXXXXXX | |
4 | 4 | XXXX XXXXXXXXXX XXXXXXXXXXXXXXXX XXXXXXXXXXX |
5 | 5 | XXX XXXXXXXXXXXXXXXXXX |
6 | 6 | |
7 | 7 | XXXX XXXXXXXXXXXXXXXXXXX |
8 | 8 | XX XXXXXXXXXXXXXXXXXXXXXXXXXXX XBBB BBBBBBBBBBBBBBBBBBBBBBBBBXXXXX |
9 | - XX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX | |
9 | + XX XXXXXXXXXXXXXXXXXXXXXXX gettext(u'reply') XXXX | |
10 | 10 | XXXX |
11 | 11 | BB BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB BB BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB BBB BBBBBBBBBBBB BB BBBBBBBBB |
12 | 12 | BBBBBBBBBB |
... | ... | @@ -15,7 +15,7 @@ XXXX XXXXXXXXXXXX |
15 | 15 | XX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX |
16 | 16 | XXXX |
17 | 17 | XXX XXXXXXXXXXXXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX |
18 | - XXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXBBB BBBBBBBBBBBBBBBBBBBBBBBBBB BBBBBBBXX XXX X gettext(u'Post edited successfully!') XXXXXXXXX | |
18 | + XXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXBBB BBBBBBBBBBBBBBBBBBBBBBBBBB BBBBBBBXX XXX X gettext(u'Post edited successfully!') XXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX gettext(u'Edit') XXXXXXXXX | |
19 | 19 | XXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXBBB BBBBBBBBBBBBBBBBBBBBBBBBBB BBBBBBBXX XXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX gettext(u'Remove') XXXXXXXXX |
20 | 20 | XXXXX |
21 | 21 | XXXXXX |
... | ... | @@ -26,7 +26,7 @@ XXXX XXXXXXXXXXXX |
26 | 26 | XXXX XXXXXXXXXXXXXXXXXX |
27 | 27 | XX XXXXXXXXXXXXXXXXXXXXX |
28 | 28 | XX XXXXXXXXX XXXXXXXXXXXXXXXX FFFFFFFFF gettext(u'ago') |
29 | - BB BBBBBBBBBBBBBB BB BBBBBBBBBBBBBBBBBBBBB | |
29 | + BB BBBBBBBBBBBBBBBB | |
30 | 30 | XXXX X gettext(u'Edited') XXXXX |
31 | 31 | BBBBB |
32 | 32 | XXXX | ... | ... |
forum/templates/post_answers/post_answer_form.html.py
... | ... | @@ -35,7 +35,7 @@ XXXXX XXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXX XXXXXXXXBB BBBBBBBBB BBBBBBBBBBBBBB |
35 | 35 | BBBB |
36 | 36 | XXXXX XXXXXXXXXXXXXXXXXXXXXXXX |
37 | 37 | XXXXXXX XXXXXXXXXXXXX XXXXXXXXXX XXXXXXX XXXXXXXXXXXXXX |
38 | - XX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX | |
38 | + XX XXXXXXXXXXXXXXXXXXXXXXX gettext(u'send') XXXX | |
39 | 39 | XXXXXXXXX |
40 | 40 | XXXXXXX |
41 | 41 | BBBBB | ... | ... |
forum/templates/post_answers/post_answer_load_more_render.html.py
0 → 100644
... | ... | @@ -0,0 +1,38 @@ |
1 | +BBBB BBBB BBBBBBBBBBBBBBB | |
2 | + | |
3 | +BB BBBBBBBBBBBBBB B B | |
4 | + BBB BBBBBB BB BBBBBBB | |
5 | + XXXX XXXXXXXXXXXXXXX | |
6 | + XXXX XXXXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXX | |
7 | + XXXX XXXXXXXXXXXXXXXX XXXXXXXXXXX | |
8 | + XXX XXXXXXXXXXXXXXXXXX | |
9 | + | |
10 | + BB BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB BB BBBBBBBBBBBB BB BBBBBBBBBBB | |
11 | + XXXX XXXXXXXXXXXXXXXXXXX | |
12 | + XXXX XXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXX | |
13 | + XX XXXXXXXXXX XXXXXXXXXXX XXXXXX XXXXXXXXXXXXXXXX XXXXXXXXXXXXX XXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXX | |
14 | + XX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX | |
15 | + XXXX | |
16 | + XXX XXXXXXXXXXXXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX | |
17 | + XXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXBBB BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB BBBBBBBBBXX XXX X gettext(u'Answer edited sucessfully!') XXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX gettext(u'Edit') XXXXXXXXX | |
18 | + XXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXBBB BBBBBBBBBBBBBBBBBBBBBBBBBBBB BBBBBBBBBXX XXX X gettext(u'Are you sure you want to delete this answer?') XXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX gettext(u'Remove') XXXXXXXXX | |
19 | + XXXXX | |
20 | + XXXXXX | |
21 | + XXXXXX | |
22 | + BBBBB | |
23 | + XXXXX | |
24 | + XXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXX | |
25 | + XXXX XXXXXXXXXXXXXXXXXX | |
26 | + XX XXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXX XXXXXXXXXXXXXXXX FFFFFFFFF gettext(u'ago') | |
27 | + BB BBBBBBBBBBBBBBBBBB | |
28 | + XXXX X gettext(u'Edited') XXXXX | |
29 | + BBBBB | |
30 | + XXXX | |
31 | + XXXXXX | |
32 | + XX XXXXXXXXXXXXXXXXXXXXXFFFFFFFFFFXXXX | |
33 | + XXXXXX | |
34 | + XXXXXX | |
35 | + XXXXXX | |
36 | + XXXXXX | |
37 | + BBBBBB | |
38 | +BBBBB | |
0 | 39 | \ No newline at end of file | ... | ... |
forum/templates/post_answers/post_answer_render.html.py
... | ... | @@ -0,0 +1,53 @@ |
1 | +from bs4 import BeautifulSoup | |
2 | +from urllib.request import urlopen | |
3 | +import urllib.request | |
4 | + | |
5 | + | |
6 | +def make_soup(url): | |
7 | + try: | |
8 | + html = urlopen(url).read() | |
9 | + return BeautifulSoup(html,"lxml") | |
10 | + except urllib.error.HTTPError as e: | |
11 | + return "Use default image" | |
12 | + | |
13 | +def get_images(url): | |
14 | + try: | |
15 | + soup = make_soup(url) | |
16 | + except: | |
17 | + return("Use default image") | |
18 | + if soup == None or type(soup) == str: | |
19 | + return "Use default image" | |
20 | + images = [img for img in soup.findAll('img')] | |
21 | + image_links = [each.get('src') for each in images] | |
22 | + contador = 0 | |
23 | + for each in image_links: | |
24 | + booleano = False | |
25 | + if each != "": | |
26 | + if each == None: | |
27 | + continue | |
28 | + if 'jpg' in each: | |
29 | + booleano = True | |
30 | + pos = each.index("jpg") | |
31 | + each = each[0:pos+3] | |
32 | + elif 'png' in each: | |
33 | + booleano = True | |
34 | + pos = each.index("png") | |
35 | + each = each[0:pos+3] | |
36 | + elif 'jpeg' in each: | |
37 | + booleano = True | |
38 | + pos = each.index('jpeg') | |
39 | + each = each[0:pos+4] | |
40 | + if not booleano: | |
41 | + continue | |
42 | + | |
43 | + if each[0] + each[1] == '//' or each[0] == '/': | |
44 | + each = 'http:'+each | |
45 | + if each[0:4] != 'http' and each[0:5] != 'https': | |
46 | + each = url[0:url.index('/',8)] + each | |
47 | + contador += 1 | |
48 | + caminho = "" | |
49 | + filename=each.split('/')[-1] | |
50 | + try: | |
51 | + urllib.request.urlretrieve(each,"%s"%(caminho)+str(contador)+filename) | |
52 | + except Exception: | |
53 | + continue | ... | ... |
... | ... | @@ -0,0 +1,81 @@ |
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-10-26 14:47-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 | +#: links/forms.py:10 | |
22 | +msgid "Please enter a valid URL" | |
23 | +msgstr "" | |
24 | + | |
25 | +#: links/templates/links/create_link.html:9 | |
26 | +msgid "Create a New Link" | |
27 | +msgstr "" | |
28 | + | |
29 | +#: links/templates/links/create_link.html:34 | |
30 | +#: links/templates/links/delete_link.html:15 | |
31 | +#: links/templates/links/update_link.html:25 | |
32 | +msgid "Cancel" | |
33 | +msgstr "" | |
34 | + | |
35 | +#: links/templates/links/delete_link.html:11 | |
36 | +msgid "Do you really want to delete this link?" | |
37 | +msgstr "" | |
38 | + | |
39 | +#: links/templates/links/delete_link.html:16 | |
40 | +msgid "Confirm" | |
41 | +msgstr "" | |
42 | + | |
43 | +#: links/templates/links/update_link.html:8 | |
44 | +msgid "Links" | |
45 | +msgstr "" | |
46 | + | |
47 | +#: links/templates/links/update_link.html:13 | |
48 | +msgid "Name" | |
49 | +msgstr "" | |
50 | + | |
51 | +#: links/templates/links/update_link.html:17 | |
52 | +msgid "URL" | |
53 | +msgstr "" | |
54 | + | |
55 | +#: links/templates/links/update_link.html:21 | |
56 | +msgid "Descrição" | |
57 | +msgstr "" | |
58 | + | |
59 | +#: links/templates/links/update_link.html:26 | |
60 | +msgid "Submit" | |
61 | +msgstr "" | |
62 | + | |
63 | +#: links/templates/links/view_link.html:8 | |
64 | +msgid "Link" | |
65 | +msgstr "" | |
66 | + | |
67 | +#: links/templates/links/view_link.html:17 | |
68 | +msgid "Read more" | |
69 | +msgstr "" | |
70 | + | |
71 | +#: links/views.py:28 | |
72 | +msgid "Link created successfully!" | |
73 | +msgstr "" | |
74 | + | |
75 | +#: links/views.py:50 | |
76 | +msgid "Link deleted Successfully!" | |
77 | +msgstr "" | |
78 | + | |
79 | +#: links/views.py:69 | |
80 | +msgid "Link updated successfully!" | |
81 | +msgstr "" | ... | ... |
links/templates/links/create_link.html.py
... | ... | @@ -6,12 +6,22 @@ XXXX XXXXXXXXXXXX XXXXX XXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXX XXXXXXXXXXXXX XXXXXX |
6 | 6 | XXXX XXXXXXXXXXXXXXXXXXXXXX |
7 | 7 | XXXX XXXXXXXXXXXXXXXXXXXXX |
8 | 8 | XXXXXXX XXXXXXXXXXXXX XXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX |
9 | - XXX XXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXX X XXX XXXXXXXXX | |
9 | + XXX XXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXX gettext(u'Create a New Link') XXXXX | |
10 | 10 | XXXXXX |
11 | 11 | XXXX XXXXXXXXXXXXXXXXXXX |
12 | 12 | XXXX XXXX XXX |
13 | 13 | XXXXX XXXXXXXXXXXXX XXXXXXXXX XXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX |
14 | 14 | BBBBBBBBBB |
15 | + BB BBBBBBBB | |
16 | + BBB BBBBBBB BB BBBBBBBB | |
17 | + XXXX XXXXXXXXXXXX XXXXXX XXXXXXXXXXXXXXXXXX XXXXXXXXXXXXX | |
18 | + XXXXXXX XXXXXXXXXXXXX XXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXX | |
19 | + XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX | |
20 | + XXXXXXXXX | |
21 | + XXXXXXX | |
22 | + XXXXXX | |
23 | + BBBBBB | |
24 | + BBBBB | |
15 | 25 | BBB BBBBB BB BBBB |
16 | 26 | BB BBBBBBBBBBBBBBBBBBBB |
17 | 27 | XXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXX |
... | ... | @@ -21,8 +31,8 @@ XXXX XXXXXXXXXXXX XXXXX XXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXX XXXXXXXXXXXXX XXXXXX |
21 | 31 | BBBBBBBBBBBB BBBBB BBBBBBBBBBBBBBBBBBBB |
22 | 32 | BBBBBB |
23 | 33 | XXXX XXXXXXXXXXXXXXXXXXX |
24 | - XX XXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX | |
25 | - XXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXX | |
34 | + XX XXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXX gettext(u'Cancel') XXXX | |
35 | + XXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXXXX XXXXXXXXXXXXXXXX XXXXX XXXXXXXX XXXXXXXXXXX | |
26 | 36 | XXXXXX |
27 | 37 | XXXX XXXX XXXX XXX |
28 | 38 | XXXXXX | ... | ... |
links/templates/links/delete_link.html.py
1 | +BBBB BBBBBBBBBBBBB BBBB | |
1 | 2 | XXXX XXXXX XXXXXX XXXX XXX |
2 | 3 | XXXX XXXXXXXXXXXXX XXXXXXXXXXXXXXXX |
3 | 4 | XXXX XXXXXXXXXXXXXXXXXXXXX |
... | ... | @@ -7,12 +8,12 @@ XXXX XXXXXXXXXXXXX XXXXXXXXXXXXXXXX |
7 | 8 | XXX XXXXXXXXXXXXXXXXXXXXXXXXX |
8 | 9 | XXXXXX |
9 | 10 | XXXX XXXXXXXXXXXXXXXXXXX |
10 | - XXXXX XXX XXXXXX XXXX XX XXXXXX XXXX XXXXXXXXX | |
11 | + XXX gettext(u'Do you really want to delete this link?') XXXX | |
11 | 12 | XXXXXX |
12 | 13 | XXXX XXXXXXXXXXXXXXXXXXXXX |
13 | 14 | XXXX XXX |
14 | - XXXXXXX XXXXXXXXXXXXX XXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX | |
15 | - XX XXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXX XXXXXXXXXX XXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX | |
15 | + XXXXXXX XXXXXXXXXXXXX XXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXX gettext(u'Cancel') XXXXXXXXX | |
16 | + XX XXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXX XXXXXXXXXX XXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXX gettext(u'Confirm') XXXXXXXXXXXXX | |
16 | 17 | |
17 | 18 | XXXXXX |
18 | 19 | XXXXXX | ... | ... |
links/templates/links/update_link.html.py
1 | +BBBB BBBBBBBBBBBBB BBBB | |
1 | 2 | XXXX XXXXX XXXX XXXXXXX |
2 | 3 | XXXX XXXXXXXXXXXX XXXXX XXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXX XXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX |
3 | 4 | XXXX XXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXX |
4 | 5 | XXXX XXXXXXXXXXXXXXXXXXXXXX |
5 | 6 | XXXX XXXXXXXXXXXXXXXXXXXXX |
6 | 7 | XXXXXXX XXXXXXXXXXXXX XXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX |
7 | - XXX XXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXX | |
8 | + XXX XXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXX gettext(u'Links') XXXXX | |
8 | 9 | XXXXXX |
9 | 10 | XXXX XXXXXXXXXXXXXXXXXXX |
10 | 11 | XXXX XXXX XXX |
11 | 12 | XXXX XXXXXXXXXXXXXXXXXXX |
12 | - XXXXXX XXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX | |
13 | + XXXXXX XXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXX gettext(u'Name') XXXXXXXX | |
13 | 14 | XXXXXX XXXXXXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXX |
14 | 15 | XXXXXX |
15 | 16 | XXXX XXXXXXXXXXXXXXXXXXX |
16 | - XXXXXX XXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX | |
17 | + XXXXXX XXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXX gettext(u'URL') XXXXXXXX | |
17 | 18 | XXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXX |
18 | 19 | XXXXXX |
19 | 20 | XXXX XXXXXXXXXXXXXXXXX XXXXXXXXXX |
20 | - XXXXXX XXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX | |
21 | + XXXXXX XXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXX gettext(u'Descrição') XXXXXXXX | |
21 | 22 | XXXXXXXXX XXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXX |
22 | 23 | XXXXXX |
23 | 24 | XXXX XXXXXXXXXXXXXXXXXXX |
24 | - XX XXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX | |
25 | - XX XXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXX | |
25 | + XX XXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXX gettext(u'Cancel') XXXX | |
26 | + XX XXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXXXXX gettext(u'Submit') XXXX | |
26 | 27 | XXXXXX |
27 | 28 | XXXX XXXX XXXX XXX |
28 | 29 | XXXXXX | ... | ... |
links/templates/links/view_link.html.py
... | ... | @@ -5,7 +5,7 @@ XXXX XXXXXXXXXXXX XXXXX XXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXX XXXXXXXXXXXXX X |
5 | 5 | XXXX XXXXXXXXXXXXXXXXXXXXXX |
6 | 6 | XXXX XXXXXXXXXXXXXXXXXXXXX |
7 | 7 | XXXXXXX XXXXXXXXXXXXX XXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX |
8 | - XXX XXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXX | |
8 | + XXX XXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXX gettext(u'Link') XXXXX | |
9 | 9 | XXXXXX |
10 | 10 | XXXX XXXXXXXXXXXXXXXXXXX |
11 | 11 | XXXX XXXX XXX |
... | ... | @@ -14,7 +14,7 @@ XXXX XXXXXXXXXXXX XXXXX XXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXX XXXXXXXXXXXXX X |
14 | 14 | XXXX XXXXXXXXXXXXXXXXXXX |
15 | 15 | XX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX |
16 | 16 | XX XXXXXXXXXXXXXXXXXX XXXXXXXXXXX |
17 | - XX XXXXXXX XXXXXXXXXX XXXXXXXXXXXXXXXXX XXXXXXXX | |
17 | + XX XXXXXXX XXXXXXXXXX XXXXXXXXXXXXX gettext(u'Read more') XXXX | |
18 | 18 | XXXXXX |
19 | 19 | XXXXXXXXXX |
20 | 20 | XXXX XXXX XXXX XXX | ... | ... |
... | ... | @@ -0,0 +1,131 @@ |
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-10-26 14:47-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 | +#: poll/forms.py:18 poll/forms.py:22 | |
22 | +msgid "It is required one these fields." | |
23 | +msgstr "" | |
24 | + | |
25 | +#: poll/models.py:11 poll/models.py:32 | |
26 | +msgid "Poll" | |
27 | +msgstr "" | |
28 | + | |
29 | +#: poll/models.py:12 | |
30 | +msgid "Polls" | |
31 | +msgstr "" | |
32 | + | |
33 | +#: poll/models.py:18 poll/models.py:24 poll/templates/poll/answer.html:11 | |
34 | +#: poll/templates/poll/answer_student.html:27 | |
35 | +#: poll/templates/poll/create.html:68 poll/templates/poll/create.html:85 | |
36 | +#: poll/templates/poll/view.html:33 | |
37 | +msgid "Answer" | |
38 | +msgstr "" | |
39 | + | |
40 | +#: poll/models.py:19 | |
41 | +msgid "Order" | |
42 | +msgstr "" | |
43 | + | |
44 | +#: poll/models.py:20 poll/models.py:25 | |
45 | +msgid "Answers" | |
46 | +msgstr "" | |
47 | + | |
48 | +#: poll/models.py:31 | |
49 | +msgid "Answered" | |
50 | +msgstr "" | |
51 | + | |
52 | +#: poll/models.py:33 | |
53 | +msgid "Answers Students" | |
54 | +msgstr "" | |
55 | + | |
56 | +#: poll/models.py:34 | |
57 | +msgid "Student" | |
58 | +msgstr "" | |
59 | + | |
60 | +#: poll/models.py:35 | |
61 | +msgid "Answered Date" | |
62 | +msgstr "" | |
63 | + | |
64 | +#: poll/models.py:38 | |
65 | +msgid "Answer Stundent" | |
66 | +msgstr "" | |
67 | + | |
68 | +#: poll/models.py:39 | |
69 | +msgid "Answers Student" | |
70 | +msgstr "" | |
71 | + | |
72 | +#: poll/templates/poll/answer.html:12 poll/templates/poll/create.html:69 | |
73 | +#: poll/templates/poll/create.html:86 | |
74 | +msgid "Possible answer for the question" | |
75 | +msgstr "" | |
76 | + | |
77 | +#: poll/templates/poll/create.html:22 | |
78 | +msgid "Create a Poll" | |
79 | +msgstr "" | |
80 | + | |
81 | +#: poll/templates/poll/create.html:38 | |
82 | +msgid "Question?" | |
83 | +msgstr "" | |
84 | + | |
85 | +#: poll/templates/poll/create.html:39 | |
86 | +msgid "A Question to be answered" | |
87 | +msgstr "" | |
88 | + | |
89 | +#: poll/templates/poll/create.html:154 | |
90 | +msgid "Close" | |
91 | +msgstr "" | |
92 | + | |
93 | +#: poll/templates/poll/create.html:157 | |
94 | +msgid "Create" | |
95 | +msgstr "" | |
96 | + | |
97 | +#: poll/templates/poll/remove.html:7 | |
98 | +msgid "Delete Poll" | |
99 | +msgstr "" | |
100 | + | |
101 | +#: poll/templates/poll/remove.html:15 | |
102 | +msgid "Are you sure you want to delete the subject" | |
103 | +msgstr "" | |
104 | + | |
105 | +#: poll/templates/poll/remove.html:19 | |
106 | +msgid "Delete" | |
107 | +msgstr "" | |
108 | + | |
109 | +#: poll/templates/poll/update.html:7 | |
110 | +msgid "Update a Poll" | |
111 | +msgstr "" | |
112 | + | |
113 | +#: poll/templates/poll/update.html:12 | |
114 | +msgid "Update" | |
115 | +msgstr "" | |
116 | + | |
117 | +#: poll/templates/poll/view.html:17 | |
118 | +msgid "Limit date:" | |
119 | +msgstr "" | |
120 | + | |
121 | +#: poll/templates/poll/view.html:20 | |
122 | +msgid "Status:" | |
123 | +msgstr "" | |
124 | + | |
125 | +#: poll/templates/poll/view.html:22 | |
126 | +msgid "Poll answered" | |
127 | +msgstr "" | |
128 | + | |
129 | +#: poll/templates/poll/view.html:24 | |
130 | +msgid "Poll don't yet answered" | |
131 | +msgstr "" | ... | ... |
requirements.txt
users/locale/pt_BR/LC_MESSAGES/django.po
... | ... | @@ -8,7 +8,7 @@ msgid "" |
8 | 8 | msgstr "" |
9 | 9 | "Project-Id-Version: PACKAGE VERSION\n" |
10 | 10 | "Report-Msgid-Bugs-To: \n" |
11 | -"POT-Creation-Date: 2016-09-07 00:13-0300\n" | |
11 | +"POT-Creation-Date: 2016-10-26 14:47-0300\n" | |
12 | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
13 | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
14 | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" |
... | ... | @@ -18,15 +18,19 @@ msgstr "" |
18 | 18 | "Content-Transfer-Encoding: 8bit\n" |
19 | 19 | "Plural-Forms: nplurals=2; plural=(n > 1);\n" |
20 | 20 | |
21 | -#: users/forms.py:10 | |
22 | -msgid "Password" | |
23 | -msgstr "Senha" | |
21 | +#: users/forms.py:60 | |
22 | +msgid "Please enter a valid CPF" | |
23 | +msgstr "Por favor, insira um CPF válido" | |
24 | + | |
25 | +#: users/forms.py:67 | |
26 | +msgid "Please enter a valid date" | |
27 | +msgstr "Por favor, insira uma data válida" | |
24 | 28 | |
25 | -#: users/models.py:10 | |
29 | +#: users/models.py:11 users/templates/users/profile.html:61 | |
26 | 30 | msgid "Login" |
27 | -msgstr "Entrar" | |
31 | +msgstr "Login" | |
28 | 32 | |
29 | -#: users/models.py:13 | |
33 | +#: users/models.py:14 | |
30 | 34 | msgid "" |
31 | 35 | "Type a valid username. This fields should only contain letters, numbers and " |
32 | 36 | "the characteres: @/./+/-/_ ." |
... | ... | @@ -34,223 +38,369 @@ msgstr "" |
34 | 38 | "Digite um nome de usuário válido. Esse campo deve conter apenas letras, " |
35 | 39 | "números e os caracteres: @/./+/-/_ ." |
36 | 40 | |
37 | -#: users/models.py:16 | |
41 | +#: users/models.py:17 | |
38 | 42 | msgid "" |
39 | 43 | "A short name that will be used to identify you in the platform and to access " |
40 | 44 | "it" |
41 | 45 | msgstr "" |
46 | +"Um nome curto que será usado para se identificar no acesso à plataforma" | |
42 | 47 | |
43 | -#: users/models.py:17 | |
48 | +#: users/models.py:18 | |
44 | 49 | msgid "Mail" |
45 | 50 | msgstr "Email" |
46 | 51 | |
47 | -#: users/models.py:18 users/templates/list_users.html:50 | |
52 | +#: users/models.py:19 users/templates/list_users.html:67 | |
48 | 53 | msgid "Name" |
49 | 54 | msgstr "Nome" |
50 | 55 | |
51 | -#: users/models.py:19 | |
56 | +#: users/models.py:20 | |
52 | 57 | msgid "City" |
53 | 58 | msgstr "Cidade" |
54 | 59 | |
55 | -#: users/models.py:20 | |
60 | +#: users/models.py:21 | |
56 | 61 | msgid "State" |
57 | 62 | msgstr "Estado" |
58 | 63 | |
59 | -#: users/models.py:21 | |
64 | +#: users/models.py:22 users/templates/users/profile.html:105 | |
60 | 65 | msgid "Gender" |
61 | -msgstr "Genero" | |
66 | +msgstr "Gênero" | |
62 | 67 | |
63 | -#: users/models.py:21 | |
68 | +#: users/models.py:22 | |
64 | 69 | msgid "Male" |
65 | 70 | msgstr "Masculino" |
66 | 71 | |
67 | -#: users/models.py:21 | |
72 | +#: users/models.py:22 | |
68 | 73 | msgid "Female" |
69 | 74 | msgstr "Feminino" |
70 | 75 | |
71 | -#: users/models.py:22 | |
76 | +#: users/models.py:23 | |
72 | 77 | msgid "Image" |
73 | 78 | msgstr "Imagem" |
74 | 79 | |
75 | -#: users/models.py:23 | |
80 | +#: users/models.py:24 users/templates/users/profile.html:109 | |
76 | 81 | msgid "Birth Date" |
77 | 82 | msgstr "Data de nascimento" |
78 | 83 | |
79 | -#: users/models.py:24 | |
84 | +#: users/models.py:25 | |
80 | 85 | msgid "Phone" |
81 | 86 | msgstr "Telefone" |
82 | 87 | |
83 | -#: users/models.py:25 users/templates/users/profile.html:42 | |
88 | +#: users/models.py:26 | |
84 | 89 | msgid "Cpf" |
85 | -msgstr "Cpf" | |
90 | +msgstr "CPF" | |
86 | 91 | |
87 | -#: users/models.py:26 | |
92 | +#: users/models.py:27 | |
88 | 93 | msgid "Type" |
89 | 94 | msgstr "Tipo" |
90 | 95 | |
91 | -#: users/models.py:26 | |
96 | +#: users/models.py:27 | |
92 | 97 | msgid "Professor" |
93 | 98 | msgstr "Professor" |
94 | 99 | |
95 | -#: users/models.py:26 | |
100 | +#: users/models.py:27 users/templates/users/profile.html:81 | |
96 | 101 | msgid "Student" |
97 | 102 | msgstr "Aluno" |
98 | 103 | |
99 | -#: users/models.py:27 | |
104 | +#: users/models.py:28 | |
105 | +msgid "Titration" | |
106 | +msgstr "Título" | |
107 | + | |
108 | +#: users/models.py:29 | |
109 | +msgid "Year of titration" | |
110 | +msgstr "Ano do título" | |
111 | + | |
112 | +#: users/models.py:30 | |
113 | +msgid "Institution where he had titration" | |
114 | +msgstr "Instituição o qual obteve o título" | |
115 | + | |
116 | +#: users/models.py:31 users/templates/users/profile.html:135 | |
117 | +msgid "Curriculum" | |
118 | +msgstr "Currículo" | |
119 | + | |
120 | +#: users/models.py:32 | |
100 | 121 | msgid "Create Date" |
101 | 122 | msgstr "Data de criação" |
102 | 123 | |
103 | -#: users/models.py:28 | |
124 | +#: users/models.py:33 | |
104 | 125 | msgid "Administrador" |
105 | 126 | msgstr "Administrador" |
106 | 127 | |
107 | -#: users/models.py:29 | |
128 | +#: users/models.py:34 | |
108 | 129 | msgid "Active" |
109 | 130 | msgstr "Ativo" |
110 | 131 | |
111 | -#: users/models.py:37 | |
132 | +#: users/models.py:42 | |
112 | 133 | msgid "User" |
113 | 134 | msgstr "Usuário" |
114 | 135 | |
115 | -#: users/models.py:38 | |
136 | +#: users/models.py:43 | |
116 | 137 | msgid "Users" |
117 | 138 | msgstr "Usuários" |
118 | 139 | |
119 | -#: users/templates/list_users.html:9 users/templates/users/create.html:8 | |
120 | -#: users/templates/users/edit_profile.html:8 users/templates/users/index.html:7 | |
121 | -#: users/templates/users/profile.html:8 users/templates/users/update.html:8 | |
140 | +#: users/templates/list_users.html:15 users/templates/users/profile.html:17 | |
141 | +msgid "Menu" | |
142 | +msgstr "Menu" | |
143 | + | |
144 | +#: users/templates/list_users.html:19 users/templates/users/index.html:7 | |
122 | 145 | #: users/templates/users/view.html:7 |
123 | 146 | msgid "Home" |
124 | 147 | msgstr "Início" |
125 | 148 | |
126 | -#: users/templates/list_users.html:10 users/templates/users/index.html:8 | |
127 | -msgid "Manage Users" | |
128 | -msgstr "Gerenciar Usuários" | |
129 | - | |
130 | -#: users/templates/list_users.html:23 | |
149 | +#: users/templates/list_users.html:20 | |
131 | 150 | msgid "Add user" |
132 | 151 | msgstr "Adicionar usuário" |
133 | 152 | |
134 | -#: users/templates/list_users.html:24 | |
153 | +#: users/templates/list_users.html:21 | |
135 | 154 | msgid "Send email" |
136 | 155 | msgstr "Enviar e-mail" |
137 | 156 | |
138 | -#: users/templates/list_users.html:34 | |
157 | +#: users/templates/list_users.html:41 | |
139 | 158 | msgid "Search..." |
140 | 159 | msgstr "Pesquisar..." |
141 | 160 | |
142 | -#: users/templates/list_users.html:37 | |
161 | +#: users/templates/list_users.html:45 | |
143 | 162 | msgid "Search" |
144 | 163 | msgstr "Pesquisar" |
145 | 164 | |
146 | -#: users/templates/list_users.html:51 | |
147 | -#: users/templates/users/edit_profile.html:16 | |
148 | -#: users/templates/users/profile.html:9 users/templates/users/profile.html:16 | |
165 | +#: users/templates/list_users.html:68 | |
149 | 166 | msgid "Profile" |
150 | 167 | msgstr "Perfil" |
151 | 168 | |
152 | -#: users/templates/list_users.html:52 | |
169 | +#: users/templates/list_users.html:69 users/templates/users/profile.html:65 | |
153 | 170 | msgid "Email" |
154 | 171 | msgstr "Email" |
155 | 172 | |
156 | -#: users/templates/list_users.html:53 | |
173 | +#: users/templates/list_users.html:70 | |
157 | 174 | msgid "Contact" |
158 | 175 | msgstr "Contato" |
159 | 176 | |
160 | -#: users/templates/list_users.html:55 | |
177 | +#: users/templates/list_users.html:72 | |
161 | 178 | msgid "Edit" |
162 | 179 | msgstr "Editar" |
163 | 180 | |
164 | -#: users/templates/list_users.html:56 | |
181 | +#: users/templates/list_users.html:73 users/templates/list_users.html:91 | |
165 | 182 | msgid "Delete" |
166 | 183 | msgstr "Apagar" |
167 | 184 | |
168 | -#: users/templates/list_users.html:66 users/templates/users/index.html:74 | |
185 | +#: users/templates/list_users.html:84 | |
186 | +msgid "Confirm delete" | |
187 | +msgstr "Confirmar" | |
188 | + | |
189 | +#: users/templates/list_users.html:87 | |
190 | +msgid "Are you sure you want to delete the user" | |
191 | +msgstr "Você tem certeza que deseja deletar o usuário" | |
192 | + | |
193 | +#: users/templates/list_users.html:90 | |
194 | +#: users/templates/users/change_password.html:47 | |
195 | +#: users/templates/users/create.html:130 | |
196 | +#: users/templates/users/edit_profile.html:79 | |
197 | +#: users/templates/users/remove_account.html:35 | |
198 | +#: users/templates/users/update.html:83 | |
199 | +msgid "Cancel" | |
200 | +msgstr "Cancelar" | |
201 | + | |
202 | +#: users/templates/list_users.html:103 users/templates/users/index.html:74 | |
169 | 203 | msgid "No users found" |
170 | 204 | msgstr "Nenhum usuário encontrado" |
171 | 205 | |
172 | -#: users/templates/users/create.html:9 | |
173 | -msgid "New User" | |
174 | -msgstr "Novo usuário" | |
206 | +#: users/templates/users/change_password.html:31 | |
207 | +#, fuzzy | |
208 | +#| msgid "Password" | |
209 | +msgid "Current Password" | |
210 | +msgstr "Senha" | |
211 | + | |
212 | +#: users/templates/users/change_password.html:35 | |
213 | +#, fuzzy | |
214 | +#| msgid "Password" | |
215 | +msgid "New Password" | |
216 | +msgstr "Senha" | |
175 | 217 | |
176 | -#: users/templates/users/create.html:16 users/templates/users/index.html:15 | |
177 | -#: users/templates/users/update.html:16 users/templates/users/view.html:15 | |
218 | +#: users/templates/users/change_password.html:39 | |
219 | +msgid "Confirmation" | |
220 | +msgstr "Confirmação" | |
221 | + | |
222 | +#: users/templates/users/change_password.html:44 | |
223 | +#: users/templates/users/create.html:127 | |
224 | +#: users/templates/users/edit_profile.html:76 | |
225 | +#: users/templates/users/update.html:80 | |
226 | +msgid "Save" | |
227 | +msgstr "Salvar" | |
228 | + | |
229 | +#: users/templates/users/create.html:51 | |
230 | +#: users/templates/users/edit_profile.html:39 | |
231 | +#: users/templates/users/update.html:42 | |
232 | +msgid "Choose your photo..." | |
233 | +msgstr "Envie sua foto..." | |
234 | + | |
235 | +#: users/templates/users/create.html:67 | |
236 | +msgid "Choose your file..." | |
237 | +msgstr "Envie um arquivo..." | |
238 | + | |
239 | +#: users/templates/users/index.html:8 | |
240 | +msgid "Manage Users" | |
241 | +msgstr "Gerenciar Usuários" | |
242 | + | |
243 | +#: users/templates/users/index.html:15 users/templates/users/view.html:15 | |
178 | 244 | msgid "System Users" |
179 | 245 | msgstr "Usuários do sistema" |
180 | 246 | |
181 | -#: users/templates/users/create.html:19 users/templates/users/index.html:18 | |
182 | -#: users/templates/users/update.html:19 users/templates/users/view.html:18 | |
247 | +#: users/templates/users/index.html:18 users/templates/users/view.html:18 | |
183 | 248 | msgid "New Account" |
184 | -msgstr "" | |
249 | +msgstr "Nova conta" | |
185 | 250 | |
186 | -#: users/templates/users/create.html:22 users/templates/users/index.html:21 | |
187 | -#: users/templates/users/update.html:22 users/templates/users/view.html:27 | |
251 | +#: users/templates/users/index.html:21 users/templates/users/view.html:27 | |
188 | 252 | msgid "Send Mail" |
189 | -msgstr "" | |
253 | +msgstr "Enviar email" | |
190 | 254 | |
191 | -#: users/templates/users/create.html:32 | |
192 | -#: users/templates/users/edit_profile.html:29 | |
193 | -#: users/templates/users/update.html:32 | |
194 | -msgid "All fields are required" | |
195 | -msgstr "" | |
255 | +#: users/templates/users/index.html:56 users/templates/users/view.html:39 | |
256 | +msgid "Administrator" | |
257 | +msgstr "Administrador" | |
196 | 258 | |
197 | -#: users/templates/users/create.html:57 | |
198 | -#: users/templates/users/edit_profile.html:64 | |
199 | -#: users/templates/users/update.html:57 | |
200 | -msgid "Save" | |
201 | -msgstr "" | |
259 | +#: users/templates/users/profile.html:21 | |
260 | +#, fuzzy | |
261 | +#| msgid "Home" | |
262 | +msgid "Home page" | |
263 | +msgstr "Início" | |
202 | 264 | |
203 | -#: users/templates/users/edit_profile.html:9 | |
204 | -#: users/templates/users/edit_profile.html:19 | |
205 | -#: users/templates/users/profile.html:19 | |
265 | +#: users/templates/users/profile.html:22 | |
266 | +#, fuzzy | |
267 | +#| msgid "Edit Profile" | |
268 | +msgid "View Profile" | |
269 | +msgstr "Editar perfil" | |
270 | + | |
271 | +#: users/templates/users/profile.html:23 | |
206 | 272 | msgid "Edit Profile" |
207 | -msgstr "" | |
273 | +msgstr "Editar perfil" | |
208 | 274 | |
209 | -#: users/templates/users/index.html:56 users/templates/users/profile.html:32 | |
210 | -#: users/templates/users/view.html:39 | |
211 | -msgid "Administrator" | |
212 | -msgstr "" | |
275 | +#: users/templates/users/profile.html:24 | |
276 | +#, fuzzy | |
277 | +#| msgid "Password" | |
278 | +msgid "Change Password" | |
279 | +msgstr "Senha" | |
213 | 280 | |
214 | -#: users/templates/users/profile.html:36 users/templates/users/view.html:43 | |
215 | -msgid "Mail:" | |
216 | -msgstr "" | |
281 | +#: users/templates/users/profile.html:25 | |
282 | +#, fuzzy | |
283 | +#| msgid "New Account" | |
284 | +msgid "Remove account" | |
285 | +msgstr "Nova conta" | |
217 | 286 | |
218 | -#: users/templates/users/profile.html:39 users/templates/users/view.html:46 | |
219 | -msgid "Phone:" | |
220 | -msgstr "" | |
287 | +#: users/templates/users/profile.html:53 | |
288 | +#, fuzzy | |
289 | +#| msgid "State" | |
290 | +msgid "Status" | |
291 | +msgstr "Estado" | |
221 | 292 | |
222 | -#: users/templates/users/profile.html:45 | |
223 | -msgid "Birth date" | |
224 | -msgstr "" | |
293 | +#: users/templates/users/profile.html:77 | |
294 | +msgid "User role" | |
295 | +msgstr "Tipo de usuário" | |
225 | 296 | |
226 | -#: users/templates/users/update.html:9 | |
227 | -msgid "Edit user" | |
228 | -msgstr "" | |
297 | +#: users/templates/users/profile.html:79 | |
298 | +msgid "Teacher" | |
299 | +msgstr "Professor" | |
300 | + | |
301 | +#: users/templates/users/profile.html:86 | |
302 | +msgid "CPF" | |
303 | +msgstr "CPF" | |
304 | + | |
305 | +#: users/templates/users/profile.html:91 | |
306 | +msgid "doesn't posssess CPF" | |
307 | +msgstr "Não possui CPF" | |
308 | + | |
309 | +#: users/templates/users/profile.html:96 | |
310 | +msgid "Phone Number" | |
311 | +msgstr "Telefone" | |
312 | + | |
313 | +#: users/templates/users/profile.html:100 | |
314 | +msgid "doesn't posssess Phone" | |
315 | +msgstr "Não possui telefone" | |
316 | + | |
317 | +#: users/templates/users/profile.html:113 | |
318 | +msgid "State and City" | |
319 | +msgstr "Estado e cidade" | |
320 | + | |
321 | +#: users/templates/users/profile.html:117 | |
322 | +msgid "Title" | |
323 | +msgstr "Título" | |
324 | + | |
325 | +#: users/templates/users/profile.html:121 | |
326 | +msgid "Year" | |
327 | +msgstr "Ano" | |
328 | + | |
329 | +#: users/templates/users/profile.html:125 | |
330 | +msgid "Institution" | |
331 | +msgstr "Instituição" | |
332 | + | |
333 | +#: users/templates/users/profile.html:129 | |
334 | +msgid "Didn't inform institution" | |
335 | +msgstr "Não informou a instituição" | |
336 | + | |
337 | +#: users/templates/users/profile.html:139 | |
338 | +msgid "Didn't upload any curriculum" | |
339 | +msgstr "Não enviou nenhum currículo" | |
340 | + | |
341 | +#: users/templates/users/remove_account.html:28 | |
342 | +msgid "Are you sure you want delete this account?" | |
343 | +msgstr "Voce tem certeza que deseja remover esta conta?" | |
344 | + | |
345 | +#: users/templates/users/remove_account.html:29 | |
346 | +msgid "" | |
347 | +"All data will be lost and havent how recover it." | |
348 | +msgstr "Todos os seus dados serão removidos e não haverá como recupera-los posteriormente." | |
349 | + | |
350 | +#: users/templates/users/remove_account.html:32 | |
351 | +msgid "Remove" | |
352 | +msgstr "Remover" | |
229 | 353 | |
230 | 354 | #: users/templates/users/view.html:21 |
231 | 355 | msgid "View User Account" |
232 | -msgstr "" | |
356 | +msgstr "Visualizar perfil" | |
233 | 357 | |
234 | 358 | #: users/templates/users/view.html:24 |
235 | 359 | msgid "Edit User Account" |
236 | -msgstr "" | |
360 | +msgstr "Editar perfil" | |
361 | + | |
362 | +#: users/templates/users/view.html:43 | |
363 | +msgid "Mail:" | |
364 | +msgstr "E-mail" | |
365 | + | |
366 | +#: users/templates/users/view.html:46 | |
367 | +msgid "Phone:" | |
368 | +msgstr "Telefone" | |
237 | 369 | |
238 | 370 | #: users/templates/users/view.html:49 |
239 | 371 | msgid "Cpf:" |
240 | -msgstr "" | |
372 | +msgstr "CPF" | |
241 | 373 | |
242 | 374 | #: users/templates/users/view.html:52 |
243 | 375 | msgid "Birth date:" |
244 | -msgstr "" | |
376 | +msgstr "Data de nascimento:" | |
245 | 377 | |
246 | -#: users/views.py:54 | |
378 | +#: users/views.py:55 | |
247 | 379 | msgid "User created successfully!" |
248 | -msgstr "" | |
380 | +msgstr "Usuário criado com sucesso!" | |
249 | 381 | |
250 | -#: users/views.py:83 | |
382 | +#: users/views.py:84 | |
251 | 383 | msgid "User edited successfully!" |
252 | -msgstr "" | |
384 | +msgstr "Usuário editado com sucesso!" | |
253 | 385 | |
254 | -#: users/views.py:132 users/views.py:149 | |
386 | +#: users/views.py:101 | |
387 | +#, fuzzy | |
388 | +#| msgid "User edited successfully!" | |
389 | +msgid "User deleted Successfully!" | |
390 | +msgstr "Usuário editado com sucesso!" | |
391 | + | |
392 | +#: users/views.py:126 | |
255 | 393 | msgid "Profile edited successfully!" |
256 | -msgstr "" | |
394 | +msgstr "Perfil editado com sucesso!" | |
395 | + | |
396 | +#~ msgid "New User" | |
397 | +#~ msgstr "Novo usuário" | |
398 | + | |
399 | +#~ msgid "All fields are required" | |
400 | +#~ msgstr "Todos os campos são obrigatórios" | |
401 | + | |
402 | +#~ msgid "Birth date" | |
403 | +#~ msgstr "Data de nascimento" | |
404 | + | |
405 | +#~ msgid "Edit user" | |
406 | +#~ msgstr "Editar usuário" | ... | ... |
users/templates/list_users.html
users/templates/users/profile.html
... | ... | @@ -54,7 +54,7 @@ |
54 | 54 | <td></td> |
55 | 55 | </tr> |
56 | 56 | <tr> |
57 | - <td>{% trans "Nome" %}:</td> | |
57 | + <td>{% trans "Name" %}:</td> | |
58 | 58 | <td>{{user}}</td> |
59 | 59 | </tr> |
60 | 60 | <tr> |
... | ... | @@ -74,7 +74,7 @@ |
74 | 74 | <table class="table table-hover table-edited"> |
75 | 75 | <tbody> |
76 | 76 | <tr> |
77 | - <td>{% trans "Tipo de Usuário" %}:</td> | |
77 | + <td>{% trans "User role" %}:</td> | |
78 | 78 | {% if user.type_profile == 1 %} |
79 | 79 | <td>{% trans "Teacher" %}</td> |
80 | 80 | {% else %} | ... | ... |
users/templates/users/remove_account.html
... | ... | @@ -25,8 +25,8 @@ |
25 | 25 | <div class="row"> |
26 | 26 | <div class="col-md-12"> |
27 | 27 | <div class="well well-lg"> |
28 | - <h2>{% trans 'Voce tem certeza que deseja remover esta conta?' %}</h2> | |
29 | - <p>{% trans 'Todos os seus dados serão removidos e não haverá como recupera-los posteriormente.' %}</p> | |
28 | + <h2>{% trans 'Are you sure you want delete this account?' %}</h2> | |
29 | + <p>{% trans 'All data will be lost and havent how recover it.' %}</p> | |
30 | 30 | <div class="row"> |
31 | 31 | <div class="col-md-3 col-sm-2 col-xs-2"> |
32 | 32 | <a href="#" class="btn btn-raised btn-block btn-success" >{% trans 'Remove' %}</a> | ... | ... |