Commit f14c61f3373e3389a47df524d833c385022426d9
1 parent
6b0724d0
Exists in
master
and in
2 other branches
Adjusting image bugs in news
Showing
32 changed files
with
309 additions
and
205 deletions
Show diff stats
amadeus/locale/pt_BR/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid "" | @@ -8,7 +8,7 @@ msgid "" | ||
8 | msgstr "" | 8 | msgstr "" |
9 | "Project-Id-Version: PACKAGE VERSION\n" | 9 | "Project-Id-Version: PACKAGE VERSION\n" |
10 | "Report-Msgid-Bugs-To: \n" | 10 | "Report-Msgid-Bugs-To: \n" |
11 | -"POT-Creation-Date: 2017-08-30 22:41-0300\n" | 11 | +"POT-Creation-Date: 2017-09-02 01:44-0300\n" |
12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
14 | "Language-Team: LANGUAGE <LL@li.org>\n" | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" |
amadeus/static/js/crop_news.js
1 | $(function () { | 1 | $(function () { |
2 | - | ||
3 | /* Script para abrir o modal com a imagem selecionada */ | 2 | /* Script para abrir o modal com a imagem selecionada */ |
4 | $("#id_image").change(function () { | 3 | $("#id_image").change(function () { |
4 | + var max_size = 2*1024*1024; | ||
5 | + var submit_btn = $("#news-form").find("input[type='submit']"); | ||
6 | + var mimeTypes = $(this).data('mimetypes'); | ||
7 | + var errors = 0; | ||
8 | + | ||
9 | + $(".client-file-errors").hide(); | ||
10 | + $(".size").hide(); | ||
11 | + $(".format").hide(); | ||
12 | + $(submit_btn).prop('disable', false); | ||
13 | + $(submit_btn).prop('disabled', false); | ||
14 | + | ||
5 | if (this.files && this.files[0]) { | 15 | if (this.files && this.files[0]) { |
6 | - var reader = new FileReader(); | ||
7 | - reader.onload = function (e) { | ||
8 | - $("#image").attr("src", e.target.result); | ||
9 | - $("#modalCrop").modal("show"); | 16 | + if (this.files[0].size > max_size) { |
17 | + $(submit_btn).prop('disable', true); | ||
18 | + $(submit_btn).prop('disabled', true); | ||
19 | + | ||
20 | + $(".client-file-errors").show(); | ||
21 | + $(".size").show(); | ||
22 | + | ||
23 | + errors++; | ||
24 | + } | ||
25 | + | ||
26 | + if (!mimeTypes.includes(this.files[0].type)) { | ||
27 | + $(submit_btn).prop('disable', true); | ||
28 | + $(submit_btn).prop('disabled', true); | ||
29 | + | ||
30 | + $(".client-file-errors").show(); | ||
31 | + $(".format").show(); | ||
32 | + | ||
33 | + errors++; | ||
34 | + } | ||
35 | + | ||
36 | + if (errors == 0) { | ||
37 | + var reader = new FileReader(); | ||
38 | + reader.onload = function (e) { | ||
39 | + $("#image").attr("src", e.target.result); | ||
40 | + $("#modalCrop").modal("show"); | ||
41 | + } | ||
42 | + reader.readAsDataURL(this.files[0]); | ||
10 | } | 43 | } |
11 | - reader.readAsDataURL(this.files[0]); | ||
12 | } | 44 | } |
13 | }); | 45 | }); |
14 | 46 |
amadeus/static/js/resources.js
@@ -143,9 +143,6 @@ function FileSelectHandler(e) { | @@ -143,9 +143,6 @@ function FileSelectHandler(e) { | ||
143 | $(submit_btn).prop('disable', false); | 143 | $(submit_btn).prop('disable', false); |
144 | $(submit_btn).prop('disabled', false); | 144 | $(submit_btn).prop('disabled', false); |
145 | 145 | ||
146 | - console.log($(e.target).data('mimetypes')); | ||
147 | - console.log(mimeTypes); | ||
148 | - | ||
149 | // process all File objects | 146 | // process all File objects |
150 | for (var i = 0, f; f = files[i]; i++) { | 147 | for (var i = 0, f; f = files[i]; i++) { |
151 | 148 |
analytics/locale/pt_BR/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid "" | @@ -8,7 +8,7 @@ msgid "" | ||
8 | msgstr "" | 8 | msgstr "" |
9 | "Project-Id-Version: PACKAGE VERSION\n" | 9 | "Project-Id-Version: PACKAGE VERSION\n" |
10 | "Report-Msgid-Bugs-To: \n" | 10 | "Report-Msgid-Bugs-To: \n" |
11 | -"POT-Creation-Date: 2017-08-30 22:41-0300\n" | 11 | +"POT-Creation-Date: 2017-09-02 01:44-0300\n" |
12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
14 | "Language-Team: LANGUAGE <LL@li.org>\n" | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" |
api/locale/pt_BR/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid "" | @@ -8,7 +8,7 @@ msgid "" | ||
8 | msgstr "" | 8 | msgstr "" |
9 | "Project-Id-Version: PACKAGE VERSION\n" | 9 | "Project-Id-Version: PACKAGE VERSION\n" |
10 | "Report-Msgid-Bugs-To: \n" | 10 | "Report-Msgid-Bugs-To: \n" |
11 | -"POT-Creation-Date: 2017-08-30 22:41-0300\n" | 11 | +"POT-Creation-Date: 2017-09-02 01:44-0300\n" |
12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
14 | "Language-Team: LANGUAGE <LL@li.org>\n" | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" |
bulletin/locale/pt_BR/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid "" | @@ -8,7 +8,7 @@ msgid "" | ||
8 | msgstr "" | 8 | msgstr "" |
9 | "Project-Id-Version: PACKAGE VERSION\n" | 9 | "Project-Id-Version: PACKAGE VERSION\n" |
10 | "Report-Msgid-Bugs-To: \n" | 10 | "Report-Msgid-Bugs-To: \n" |
11 | -"POT-Creation-Date: 2017-08-30 22:41-0300\n" | 11 | +"POT-Creation-Date: 2017-09-02 01:44-0300\n" |
12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
14 | "Language-Team: LANGUAGE <LL@li.org>\n" | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" |
categories/locale/pt_BR/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid "" | @@ -8,7 +8,7 @@ msgid "" | ||
8 | msgstr "" | 8 | msgstr "" |
9 | "Project-Id-Version: PACKAGE VERSION\n" | 9 | "Project-Id-Version: PACKAGE VERSION\n" |
10 | "Report-Msgid-Bugs-To: \n" | 10 | "Report-Msgid-Bugs-To: \n" |
11 | -"POT-Creation-Date: 2017-08-30 22:41-0300\n" | 11 | +"POT-Creation-Date: 2017-09-02 01:44-0300\n" |
12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
14 | "Language-Team: LANGUAGE <LL@li.org>\n" | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" |
chat/locale/pt_BR/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid "" | @@ -8,7 +8,7 @@ msgid "" | ||
8 | msgstr "" | 8 | msgstr "" |
9 | "Project-Id-Version: PACKAGE VERSION\n" | 9 | "Project-Id-Version: PACKAGE VERSION\n" |
10 | "Report-Msgid-Bugs-To: \n" | 10 | "Report-Msgid-Bugs-To: \n" |
11 | -"POT-Creation-Date: 2017-08-30 22:41-0300\n" | 11 | +"POT-Creation-Date: 2017-09-02 01:44-0300\n" |
12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
14 | "Language-Team: LANGUAGE <LL@li.org>\n" | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" |
dashboards/locale/pt_BR/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid "" | @@ -8,7 +8,7 @@ msgid "" | ||
8 | msgstr "" | 8 | msgstr "" |
9 | "Project-Id-Version: PACKAGE VERSION\n" | 9 | "Project-Id-Version: PACKAGE VERSION\n" |
10 | "Report-Msgid-Bugs-To: \n" | 10 | "Report-Msgid-Bugs-To: \n" |
11 | -"POT-Creation-Date: 2017-08-30 22:41-0300\n" | 11 | +"POT-Creation-Date: 2017-09-02 01:44-0300\n" |
12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
14 | "Language-Team: LANGUAGE <LL@li.org>\n" | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" |
file_link/locale/pt_BR/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid "" | @@ -8,7 +8,7 @@ msgid "" | ||
8 | msgstr "" | 8 | msgstr "" |
9 | "Project-Id-Version: PACKAGE VERSION\n" | 9 | "Project-Id-Version: PACKAGE VERSION\n" |
10 | "Report-Msgid-Bugs-To: \n" | 10 | "Report-Msgid-Bugs-To: \n" |
11 | -"POT-Creation-Date: 2017-08-30 22:41-0300\n" | 11 | +"POT-Creation-Date: 2017-09-02 01:44-0300\n" |
12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
14 | "Language-Team: LANGUAGE <LL@li.org>\n" | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" |
@@ -30,7 +30,7 @@ msgstr "Nome do arquivo" | @@ -30,7 +30,7 @@ msgstr "Nome do arquivo" | ||
30 | msgid "This subject already has a file link with this name" | 30 | msgid "This subject already has a file link with this name" |
31 | msgstr "Esse assunto já possui um Link para Arquivo com esse nome" | 31 | msgstr "Esse assunto já possui um Link para Arquivo com esse nome" |
32 | 32 | ||
33 | -#: file_link/forms.py:64 | 33 | +#: file_link/forms.py:64 file_link/templates/file_links/_form.html:75 |
34 | msgid "The file is too large. It should have less than 10MB." | 34 | msgid "The file is too large. It should have less than 10MB." |
35 | msgstr "Esse arquivo é muito grande. Ele deve conter menos de 10MB." | 35 | msgstr "Esse arquivo é muito grande. Ele deve conter menos de 10MB." |
36 | 36 | ||
@@ -38,7 +38,7 @@ msgstr "Esse arquivo é muito grande. Ele deve conter menos de 10MB." | @@ -38,7 +38,7 @@ msgstr "Esse arquivo é muito grande. Ele deve conter menos de 10MB." | ||
38 | msgid "This field is required." | 38 | msgid "This field is required." |
39 | msgstr "Esse campo é obrigatório." | 39 | msgstr "Esse campo é obrigatório." |
40 | 40 | ||
41 | -#: file_link/models.py:23 | 41 | +#: file_link/models.py:24 |
42 | msgid "" | 42 | msgid "" |
43 | "Please select a valid file. The uploaded file must have one of the following " | 43 | "Please select a valid file. The uploaded file must have one of the following " |
44 | "extensions: .doc, .docx, .html, .jpg, .odp, .ods, .odt, .pdf, .png, .ppt, ." | 44 | "extensions: .doc, .docx, .html, .jpg, .odp, .ods, .odt, .pdf, .png, .ppt, ." |
@@ -48,19 +48,19 @@ msgstr "" | @@ -48,19 +48,19 @@ msgstr "" | ||
48 | "das seguintes extensões: .doc, .docx, .html, .jpg, .odp, .ods, .odt, .pdf, ." | 48 | "das seguintes extensões: .doc, .docx, .html, .jpg, .odp, .ods, .odt, .pdf, ." |
49 | "png, .ppt, .pptx, .xlx e .xlsx" | 49 | "png, .ppt, .pptx, .xlx e .xlsx" |
50 | 50 | ||
51 | -#: file_link/models.py:26 | 51 | +#: file_link/models.py:27 |
52 | msgid "File" | 52 | msgid "File" |
53 | msgstr "Arquivo" | 53 | msgstr "Arquivo" |
54 | 54 | ||
55 | -#: file_link/models.py:29 | 55 | +#: file_link/models.py:30 |
56 | msgid "File Link" | 56 | msgid "File Link" |
57 | msgstr "Link para Arquivo" | 57 | msgstr "Link para Arquivo" |
58 | 58 | ||
59 | -#: file_link/models.py:30 | 59 | +#: file_link/models.py:31 |
60 | msgid "File Links" | 60 | msgid "File Links" |
61 | msgstr "Links para Arquivo" | 61 | msgstr "Links para Arquivo" |
62 | 62 | ||
63 | -#: file_link/models.py:49 | 63 | +#: file_link/models.py:50 |
64 | msgid "Are you sure you want delete the file link" | 64 | msgid "Are you sure you want delete the file link" |
65 | msgstr "Você tem certeza que deseja remover o Link para Arquivo" | 65 | msgstr "Você tem certeza que deseja remover o Link para Arquivo" |
66 | 66 | ||
@@ -76,31 +76,35 @@ msgstr "Clique ou solte o arquivo aqui" | @@ -76,31 +76,35 @@ msgstr "Clique ou solte o arquivo aqui" | ||
76 | msgid "The file could not exceed 10MB." | 76 | msgid "The file could not exceed 10MB." |
77 | msgstr "O arquivo não pode exceder 10MB." | 77 | msgstr "O arquivo não pode exceder 10MB." |
78 | 78 | ||
79 | -#: file_link/templates/file_links/_form.html:69 | 79 | +#: file_link/templates/file_links/_form.html:76 |
80 | +msgid "File not supported." | ||
81 | +msgstr "Arquivo não suportado." | ||
82 | + | ||
83 | +#: file_link/templates/file_links/_form.html:80 | ||
80 | msgid "Common resources settings" | 84 | msgid "Common resources settings" |
81 | msgstr "Configurações comuns à todos os recursos" | 85 | msgstr "Configurações comuns à todos os recursos" |
82 | 86 | ||
83 | -#: file_link/templates/file_links/_form.html:118 | 87 | +#: file_link/templates/file_links/_form.html:129 |
84 | msgid "Pendencies Notifications" | 88 | msgid "Pendencies Notifications" |
85 | msgstr "Notificações de Pendências" | 89 | msgstr "Notificações de Pendências" |
86 | 90 | ||
87 | -#: file_link/templates/file_links/_form.html:134 | 91 | +#: file_link/templates/file_links/_form.html:145 |
88 | msgid "Action not performed by the user" | 92 | msgid "Action not performed by the user" |
89 | msgstr "Ação não realizada pelo usuário" | 93 | msgstr "Ação não realizada pelo usuário" |
90 | 94 | ||
91 | -#: file_link/templates/file_links/_form.html:160 | 95 | +#: file_link/templates/file_links/_form.html:171 |
92 | msgid "Wished period" | 96 | msgid "Wished period" |
93 | msgstr "Período desejado" | 97 | msgstr "Período desejado" |
94 | 98 | ||
95 | -#: file_link/templates/file_links/_form.html:256 | 99 | +#: file_link/templates/file_links/_form.html:267 |
96 | msgid "Attribute students to file link" | 100 | msgid "Attribute students to file link" |
97 | msgstr "Atribuir estudantes ao Link para Arquivo" | 101 | msgstr "Atribuir estudantes ao Link para Arquivo" |
98 | 102 | ||
99 | -#: file_link/templates/file_links/_form.html:276 | 103 | +#: file_link/templates/file_links/_form.html:287 |
100 | msgid "Attribute groups to file link" | 104 | msgid "Attribute groups to file link" |
101 | msgstr "Atribuir grupos de estudo ao Link para Arquivo" | 105 | msgstr "Atribuir grupos de estudo ao Link para Arquivo" |
102 | 106 | ||
103 | -#: file_link/templates/file_links/_form.html:322 | 107 | +#: file_link/templates/file_links/_form.html:333 |
104 | msgid "Save" | 108 | msgid "Save" |
105 | msgstr "Salvar" | 109 | msgstr "Salvar" |
106 | 110 | ||
@@ -180,12 +184,12 @@ msgstr "Enviar" | @@ -180,12 +184,12 @@ msgstr "Enviar" | ||
180 | msgid "Edit: " | 184 | msgid "Edit: " |
181 | msgstr "Editar: " | 185 | msgstr "Editar: " |
182 | 186 | ||
183 | -#: file_link/views.py:121 file_link/views.py:134 file_link/views.py:244 | ||
184 | -#: file_link/views.py:246 file_link/views.py:262 file_link/views.py:264 | 187 | +#: file_link/views.py:121 file_link/views.py:134 file_link/views.py:245 |
188 | +#: file_link/views.py:247 file_link/views.py:263 file_link/views.py:265 | ||
185 | msgid "Visualize" | 189 | msgid "Visualize" |
186 | msgstr "Visualizar" | 190 | msgstr "Visualizar" |
187 | 191 | ||
188 | -#: file_link/views.py:205 | 192 | +#: file_link/views.py:206 |
189 | #, python-format | 193 | #, python-format |
190 | msgid "" | 194 | msgid "" |
191 | "The File Link \"%s\" was added to the Topic \"%s\" of the virtual " | 195 | "The File Link \"%s\" was added to the Topic \"%s\" of the virtual " |
@@ -194,16 +198,16 @@ msgstr "" | @@ -194,16 +198,16 @@ msgstr "" | ||
194 | "O Link para Arquivo \"%s\" foi adicionado ao tópico \"%s\" do ambiente " | 198 | "O Link para Arquivo \"%s\" foi adicionado ao tópico \"%s\" do ambiente " |
195 | "virtual \"%s\" com sucesso!" | 199 | "virtual \"%s\" com sucesso!" |
196 | 200 | ||
197 | -#: file_link/views.py:308 | 201 | +#: file_link/views.py:309 |
198 | msgid "Update File Link" | 202 | msgid "Update File Link" |
199 | msgstr "Atualizar Link para Arquivo" | 203 | msgstr "Atualizar Link para Arquivo" |
200 | 204 | ||
201 | -#: file_link/views.py:319 | 205 | +#: file_link/views.py:321 |
202 | #, python-format | 206 | #, python-format |
203 | msgid "The File Link \"%s\" was updated successfully!" | 207 | msgid "The File Link \"%s\" was updated successfully!" |
204 | msgstr "O Link para Arquivo \"%s\" foi atualizado com sucesso!" | 208 | msgstr "O Link para Arquivo \"%s\" foi atualizado com sucesso!" |
205 | 209 | ||
206 | -#: file_link/views.py:346 | 210 | +#: file_link/views.py:348 |
207 | #, python-format | 211 | #, python-format |
208 | msgid "" | 212 | msgid "" |
209 | "The File Link \"%s\" was removed successfully from virtual environment \"%s" | 213 | "The File Link \"%s\" was removed successfully from virtual environment \"%s" |
@@ -212,57 +216,54 @@ msgstr "" | @@ -212,57 +216,54 @@ msgstr "" | ||
212 | "O Link para Arquivo \"%s\" foi removido do ambiente virtual \"%s\" com " | 216 | "O Link para Arquivo \"%s\" foi removido do ambiente virtual \"%s\" com " |
213 | "sucesso!" | 217 | "sucesso!" |
214 | 218 | ||
215 | -#: file_link/views.py:405 | 219 | +#: file_link/views.py:407 |
216 | msgid "File Link Reports" | 220 | msgid "File Link Reports" |
217 | msgstr "Relatŕios de Link para Arquivo" | 221 | msgstr "Relatŕios de Link para Arquivo" |
218 | 222 | ||
219 | -#: file_link/views.py:424 | 223 | +#: file_link/views.py:426 |
220 | msgid "Realized" | 224 | msgid "Realized" |
221 | msgstr "Realizada" | 225 | msgstr "Realizada" |
222 | 226 | ||
223 | -#: file_link/views.py:424 | 227 | +#: file_link/views.py:426 |
224 | msgid "Unrealized" | 228 | msgid "Unrealized" |
225 | msgstr "Não Realizada" | 229 | msgstr "Não Realizada" |
226 | 230 | ||
227 | -#: file_link/views.py:424 | 231 | +#: file_link/views.py:426 |
228 | msgid "Historic" | 232 | msgid "Historic" |
229 | msgstr "Histórico" | 233 | msgstr "Histórico" |
230 | 234 | ||
231 | -#: file_link/views.py:439 file_link/views.py:447 | 235 | +#: file_link/views.py:441 file_link/views.py:449 |
232 | msgid "View" | 236 | msgid "View" |
233 | msgstr "Visualizar" | 237 | msgstr "Visualizar" |
234 | 238 | ||
235 | -#: file_link/views.py:448 | 239 | +#: file_link/views.py:450 |
236 | msgid "File link" | 240 | msgid "File link" |
237 | msgstr "Link para Arquivo" | 241 | msgstr "Link para Arquivo" |
238 | 242 | ||
239 | -#: file_link/views.py:453 | 243 | +#: file_link/views.py:455 |
240 | msgid "Actions about resource" | 244 | msgid "Actions about resource" |
241 | msgstr "Ações sobre o recurso" | 245 | msgstr "Ações sobre o recurso" |
242 | 246 | ||
243 | -#: file_link/views.py:454 | 247 | +#: file_link/views.py:456 |
244 | msgid "Quantity" | 248 | msgid "Quantity" |
245 | msgstr "Quantidade" | 249 | msgstr "Quantidade" |
246 | 250 | ||
247 | -#: file_link/views.py:501 | 251 | +#: file_link/views.py:503 |
248 | msgid "[Photo]" | 252 | msgid "[Photo]" |
249 | msgstr "[Imagem]" | 253 | msgstr "[Imagem]" |
250 | 254 | ||
251 | -#: file_link/views.py:513 | 255 | +#: file_link/views.py:515 |
252 | #, python-format | 256 | #, python-format |
253 | msgid "Last message in %s" | 257 | msgid "Last message in %s" |
254 | msgstr "Última mensagem em %s" | 258 | msgstr "Última mensagem em %s" |
255 | 259 | ||
256 | -#: file_link/views.py:522 | 260 | +#: file_link/views.py:524 |
257 | msgid "The message was successfull sent!" | 261 | msgid "The message was successfull sent!" |
258 | msgstr "A mensagem foi enviada com sucesso!" | 262 | msgstr "A mensagem foi enviada com sucesso!" |
259 | 263 | ||
260 | -#: file_link/views.py:524 | 264 | +#: file_link/views.py:526 |
261 | msgid "No user selected!" | 265 | msgid "No user selected!" |
262 | msgstr "Nenhum usuário selecionado!" | 266 | msgstr "Nenhum usuário selecionado!" |
263 | 267 | ||
264 | -#~ msgid "File not supported." | ||
265 | -#~ msgstr "Arquivo não suportado." | ||
266 | - | ||
267 | #~ msgid "Delete" | 268 | #~ msgid "Delete" |
268 | #~ msgstr "Remover" | 269 | #~ msgstr "Remover" |
goals/locale/pt_BR/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid "" | @@ -8,7 +8,7 @@ msgid "" | ||
8 | msgstr "" | 8 | msgstr "" |
9 | "Project-Id-Version: PACKAGE VERSION\n" | 9 | "Project-Id-Version: PACKAGE VERSION\n" |
10 | "Report-Msgid-Bugs-To: \n" | 10 | "Report-Msgid-Bugs-To: \n" |
11 | -"POT-Creation-Date: 2017-08-30 22:41-0300\n" | 11 | +"POT-Creation-Date: 2017-09-02 01:44-0300\n" |
12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
14 | "Language-Team: LANGUAGE <LL@li.org>\n" | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" |
links/locale/pt_BR/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid "" | @@ -8,7 +8,7 @@ msgid "" | ||
8 | msgstr "" | 8 | msgstr "" |
9 | "Project-Id-Version: PACKAGE VERSION\n" | 9 | "Project-Id-Version: PACKAGE VERSION\n" |
10 | "Report-Msgid-Bugs-To: \n" | 10 | "Report-Msgid-Bugs-To: \n" |
11 | -"POT-Creation-Date: 2017-08-30 22:41-0300\n" | 11 | +"POT-Creation-Date: 2017-09-02 01:44-0300\n" |
12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
14 | "Language-Team: LANGUAGE <LL@li.org>\n" | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" |
log/locale/pt_BR/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid "" | @@ -8,7 +8,7 @@ msgid "" | ||
8 | msgstr "" | 8 | msgstr "" |
9 | "Project-Id-Version: PACKAGE VERSION\n" | 9 | "Project-Id-Version: PACKAGE VERSION\n" |
10 | "Report-Msgid-Bugs-To: \n" | 10 | "Report-Msgid-Bugs-To: \n" |
11 | -"POT-Creation-Date: 2017-08-30 22:41-0300\n" | 11 | +"POT-Creation-Date: 2017-09-02 01:44-0300\n" |
12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
14 | "Language-Team: LANGUAGE <LL@li.org>\n" | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" |
mailsender/locale/pt_BR/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid "" | @@ -8,7 +8,7 @@ msgid "" | ||
8 | msgstr "" | 8 | msgstr "" |
9 | "Project-Id-Version: PACKAGE VERSION\n" | 9 | "Project-Id-Version: PACKAGE VERSION\n" |
10 | "Report-Msgid-Bugs-To: \n" | 10 | "Report-Msgid-Bugs-To: \n" |
11 | -"POT-Creation-Date: 2017-08-30 22:41-0300\n" | 11 | +"POT-Creation-Date: 2017-09-02 01:44-0300\n" |
12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
14 | "Language-Team: LANGUAGE <LL@li.org>\n" | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" |
mural/locale/pt_BR/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid "" | @@ -8,7 +8,7 @@ msgid "" | ||
8 | msgstr "" | 8 | msgstr "" |
9 | "Project-Id-Version: PACKAGE VERSION\n" | 9 | "Project-Id-Version: PACKAGE VERSION\n" |
10 | "Report-Msgid-Bugs-To: \n" | 10 | "Report-Msgid-Bugs-To: \n" |
11 | -"POT-Creation-Date: 2017-08-30 22:41-0300\n" | 11 | +"POT-Creation-Date: 2017-09-02 01:44-0300\n" |
12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
14 | "Language-Team: LANGUAGE <LL@li.org>\n" | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" |
@@ -32,7 +32,8 @@ msgstr "Pedir ajuda" | @@ -32,7 +32,8 @@ msgstr "Pedir ajuda" | ||
32 | msgid "This field is required." | 32 | msgid "This field is required." |
33 | msgstr "Esse campo é obrigatório." | 33 | msgstr "Esse campo é obrigatório." |
34 | 34 | ||
35 | -#: mural/forms.py:38 mural/forms.py:123 | 35 | +#: mural/forms.py:38 mural/forms.py:123 mural/templates/mural/_form.html:103 |
36 | +#: mural/templates/mural/_form_comment.html:68 | ||
36 | msgid "The image is too large. It should have less than 5MB." | 37 | msgid "The image is too large. It should have less than 5MB." |
37 | msgstr "A imagem é muito grande. Ela deve possuir 5MB ou menos." | 38 | msgstr "A imagem é muito grande. Ela deve possuir 5MB ou menos." |
38 | 39 | ||
@@ -40,7 +41,8 @@ msgstr "A imagem é muito grande. Ela deve possuir 5MB ou menos." | @@ -40,7 +41,8 @@ msgstr "A imagem é muito grande. Ela deve possuir 5MB ou menos." | ||
40 | msgid "Choose an especific resource" | 41 | msgid "Choose an especific resource" |
41 | msgstr "Escolha um recurso específico" | 42 | msgstr "Escolha um recurso específico" |
42 | 43 | ||
43 | -#: mural/models.py:18 | 44 | +#: mural/models.py:18 mural/templates/mural/_form.html:104 |
45 | +#: mural/templates/mural/_form_comment.html:69 | ||
44 | msgid "File not supported." | 46 | msgid "File not supported." |
45 | msgstr "Arquivo não suportado." | 47 | msgstr "Arquivo não suportado." |
46 | 48 | ||
@@ -97,7 +99,7 @@ msgid "Resource" | @@ -97,7 +99,7 @@ msgid "Resource" | ||
97 | msgstr "Recurso" | 99 | msgstr "Recurso" |
98 | 100 | ||
99 | #: mural/models.py:105 mural/models.py:119 | 101 | #: mural/models.py:105 mural/models.py:119 |
100 | -#: mural/templates/mural/_form_comment.html:66 | 102 | +#: mural/templates/mural/_form_comment.html:76 |
101 | msgid "Comment" | 103 | msgid "Comment" |
102 | msgstr "Comentar" | 104 | msgstr "Comentar" |
103 | 105 | ||
@@ -119,14 +121,14 @@ msgstr "Clique ou solte a imagem aqui" | @@ -119,14 +121,14 @@ msgstr "Clique ou solte a imagem aqui" | ||
119 | msgid "The picture could not exceed 5MB." | 121 | msgid "The picture could not exceed 5MB." |
120 | msgstr "A imagem não pode exceder 5MB." | 122 | msgstr "A imagem não pode exceder 5MB." |
121 | 123 | ||
122 | -#: mural/templates/mural/_form.html:100 | 124 | +#: mural/templates/mural/_form.html:111 |
123 | msgctxt "button" | 125 | msgctxt "button" |
124 | msgid "Post" | 126 | msgid "Post" |
125 | msgstr "Postar" | 127 | msgstr "Postar" |
126 | 128 | ||
127 | -#: mural/templates/mural/_form.html:101 | ||
128 | -#: mural/templates/mural/_form_comment.html:67 | ||
129 | -#: mural/templates/mural/_form_comment.html:85 | 129 | +#: mural/templates/mural/_form.html:112 |
130 | +#: mural/templates/mural/_form_comment.html:77 | ||
131 | +#: mural/templates/mural/_form_comment.html:95 | ||
130 | msgid "Cancel" | 132 | msgid "Cancel" |
131 | msgstr "Cancelar" | 133 | msgstr "Cancelar" |
132 | 134 | ||
@@ -134,15 +136,15 @@ msgstr "Cancelar" | @@ -134,15 +136,15 @@ msgstr "Cancelar" | ||
134 | msgid "Choose your photo..." | 136 | msgid "Choose your photo..." |
135 | msgstr "Escolha sua foto..." | 137 | msgstr "Escolha sua foto..." |
136 | 138 | ||
137 | -#: mural/templates/mural/_form_comment.html:78 | 139 | +#: mural/templates/mural/_form_comment.html:88 |
138 | msgid "Insert here the name of the user you wish to mark in this comment" | 140 | msgid "Insert here the name of the user you wish to mark in this comment" |
139 | msgstr "Insira aqui o nome do usuário que você quer marcar nesse comentário" | 141 | msgstr "Insira aqui o nome do usuário que você quer marcar nesse comentário" |
140 | 142 | ||
141 | -#: mural/templates/mural/_form_comment.html:84 | 143 | +#: mural/templates/mural/_form_comment.html:94 |
142 | msgid "Mark" | 144 | msgid "Mark" |
143 | msgstr "Marcar" | 145 | msgstr "Marcar" |
144 | 146 | ||
145 | -#: mural/templates/mural/_form_comment.html:100 | 147 | +#: mural/templates/mural/_form_comment.html:110 |
146 | msgid "Mark User" | 148 | msgid "Mark User" |
147 | msgstr "Marcar Usuário" | 149 | msgstr "Marcar Usuário" |
148 | 150 |
news/locale/pt_BR/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid "" | @@ -8,7 +8,7 @@ msgid "" | ||
8 | msgstr "" | 8 | msgstr "" |
9 | "Project-Id-Version: PACKAGE VERSION\n" | 9 | "Project-Id-Version: PACKAGE VERSION\n" |
10 | "Report-Msgid-Bugs-To: \n" | 10 | "Report-Msgid-Bugs-To: \n" |
11 | -"POT-Creation-Date: 2017-08-30 22:41-0300\n" | 11 | +"POT-Creation-Date: 2017-09-02 01:44-0300\n" |
12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
14 | "Language-Team: LANGUAGE <LL@li.org>\n" | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" |
@@ -22,7 +22,7 @@ msgstr "" | @@ -22,7 +22,7 @@ msgstr "" | ||
22 | msgid "This field is required" | 22 | msgid "This field is required" |
23 | msgstr "Este campo é obrigatório." | 23 | msgstr "Este campo é obrigatório." |
24 | 24 | ||
25 | -#: news/forms.py:74 | 25 | +#: news/forms.py:74 news/templates/news/_form.html:72 |
26 | msgid "The image is too large. It should have less than 5MB." | 26 | msgid "The image is too large. It should have less than 5MB." |
27 | msgstr "A imagem é muito grande. Ela deve ter menos que 5MB." | 27 | msgstr "A imagem é muito grande. Ela deve ter menos que 5MB." |
28 | 28 | ||
@@ -30,7 +30,7 @@ msgstr "A imagem é muito grande. Ela deve ter menos que 5MB." | @@ -30,7 +30,7 @@ msgstr "A imagem é muito grande. Ela deve ter menos que 5MB." | ||
30 | msgid "This field is required." | 30 | msgid "This field is required." |
31 | msgstr "Este campo é obrigatório." | 31 | msgstr "Este campo é obrigatório." |
32 | 32 | ||
33 | -#: news/models.py:15 | 33 | +#: news/models.py:15 news/templates/news/_form.html:73 |
34 | msgid "File not supported." | 34 | msgid "File not supported." |
35 | msgstr "Arquivo não suportado" | 35 | msgstr "Arquivo não suportado" |
36 | 36 | ||
@@ -58,19 +58,27 @@ msgstr "Data de criação" | @@ -58,19 +58,27 @@ msgstr "Data de criação" | ||
58 | msgid "Creator" | 58 | msgid "Creator" |
59 | msgstr "Autor" | 59 | msgstr "Autor" |
60 | 60 | ||
61 | -#: news/models.py:25 news/models.py:26 news/templates/news/list.html:11 | 61 | +#: news/models.py:26 news/models.py:27 news/templates/news/list.html:11 |
62 | msgid "News" | 62 | msgid "News" |
63 | msgstr "Notícia" | 63 | msgstr "Notícia" |
64 | 64 | ||
65 | -#: news/templates/news/_form.html:12 | 65 | +#: news/templates/news/_form.html:14 |
66 | msgid "Choose your photo..." | 66 | msgid "Choose your photo..." |
67 | msgstr "Escolha a foto" | 67 | msgstr "Escolha a foto" |
68 | 68 | ||
69 | -#: news/templates/news/_form.html:55 | 69 | +#: news/templates/news/_form.html:28 |
70 | +msgid "Click or drop the file here" | ||
71 | +msgstr "Clique ou solte o arquivo aqui." | ||
72 | + | ||
73 | +#: news/templates/news/_form.html:30 | ||
74 | +msgid "The photo could not exceed 5MB." | ||
75 | +msgstr "A imagem não pode exceder 5MB." | ||
76 | + | ||
77 | +#: news/templates/news/_form.html:81 | ||
70 | msgid "Save" | 78 | msgid "Save" |
71 | msgstr "Salvar" | 79 | msgstr "Salvar" |
72 | 80 | ||
73 | -#: news/templates/news/_form.html:58 | 81 | +#: news/templates/news/_form.html:84 |
74 | msgid "Cancel" | 82 | msgid "Cancel" |
75 | msgstr "Cancelar" | 83 | msgstr "Cancelar" |
76 | 84 | ||
@@ -104,7 +112,7 @@ msgid "Search by title, author or date" | @@ -104,7 +112,7 @@ msgid "Search by title, author or date" | ||
104 | msgstr "Pesquisar por título, autor ou data" | 112 | msgstr "Pesquisar por título, autor ou data" |
105 | 113 | ||
106 | #: news/templates/news/list.html:52 news/templates/news/search.html:45 | 114 | #: news/templates/news/list.html:52 news/templates/news/search.html:45 |
107 | -#: news/views.py:109 | 115 | +#: news/views.py:103 |
108 | msgid "Create News" | 116 | msgid "Create News" |
109 | msgstr "Criar notícia" | 117 | msgstr "Criar notícia" |
110 | 118 | ||
@@ -120,7 +128,7 @@ msgstr "Nenhuma notícia encontrada" | @@ -120,7 +128,7 @@ msgstr "Nenhuma notícia encontrada" | ||
120 | msgid "Search News" | 128 | msgid "Search News" |
121 | msgstr "Pesquisar Notícia" | 129 | msgstr "Pesquisar Notícia" |
122 | 130 | ||
123 | -#: news/templates/news/update.html:7 news/views.py:137 | 131 | +#: news/templates/news/update.html:7 news/views.py:147 |
124 | msgid "Update News" | 132 | msgid "Update News" |
125 | msgstr "Atualizar Notícia" | 133 | msgstr "Atualizar Notícia" |
126 | 134 | ||
@@ -132,7 +140,7 @@ msgstr "Imprimir Notícia" | @@ -132,7 +140,7 @@ msgstr "Imprimir Notícia" | ||
132 | msgid "Visualize News" | 140 | msgid "Visualize News" |
133 | msgstr "Visualizar Notícia" | 141 | msgstr "Visualizar Notícia" |
134 | 142 | ||
135 | -#: news/views.py:103 news/views.py:131 | 143 | +#: news/views.py:109 news/views.py:153 |
136 | msgid "News successfully created!" | 144 | msgid "News successfully created!" |
137 | msgstr "Notícia criada com sucesso" | 145 | msgstr "Notícia criada com sucesso" |
138 | 146 | ||
@@ -144,12 +152,3 @@ msgstr "Notícia \"%s\" removida com sucesso" | @@ -144,12 +152,3 @@ msgstr "Notícia \"%s\" removida com sucesso" | ||
144 | #: news/views.py:228 | 152 | #: news/views.py:228 |
145 | msgid "Delete News" | 153 | msgid "Delete News" |
146 | msgstr "Apagar Notícia" | 154 | msgstr "Apagar Notícia" |
147 | - | ||
148 | -#~ msgid "Create news" | ||
149 | -#~ msgstr "Criar notícia" | ||
150 | - | ||
151 | -#~ msgid "There is already a news with this name" | ||
152 | -#~ msgstr "Já existe uma notícia com esse nome" | ||
153 | - | ||
154 | -#~ msgid "Name" | ||
155 | -#~ msgstr "Nome" |
news/models.py
@@ -7,9 +7,9 @@ from django.utils.translation import ugettext_lazy as _ | @@ -7,9 +7,9 @@ from django.utils.translation import ugettext_lazy as _ | ||
7 | from django.core.exceptions import ValidationError | 7 | from django.core.exceptions import ValidationError |
8 | from users.models import User | 8 | from users.models import User |
9 | 9 | ||
10 | -def validate_img_extension(value): | ||
11 | - valid_formats = ['image/jpeg','image/x-citrix-jpeg','image/png','image/x-citrix-png','image/x-png'] | 10 | +valid_formats = ['image/jpeg','image/x-citrix-jpeg','image/png','image/x-citrix-png','image/x-png'] |
12 | 11 | ||
12 | +def validate_img_extension(value): | ||
13 | if hasattr(value.file, 'content_type'): | 13 | if hasattr(value.file, 'content_type'): |
14 | if not value.file.content_type in valid_formats: | 14 | if not value.file.content_type in valid_formats: |
15 | raise ValidationError(_('File not supported.')) | 15 | raise ValidationError(_('File not supported.')) |
@@ -21,6 +21,7 @@ class News(models.Model): | @@ -21,6 +21,7 @@ class News(models.Model): | ||
21 | content = models.TextField(_('News Content'), blank = True) | 21 | content = models.TextField(_('News Content'), blank = True) |
22 | create_date = models.DateTimeField(_('Create Date'), auto_now_add = True) | 22 | create_date = models.DateTimeField(_('Create Date'), auto_now_add = True) |
23 | creator = models.ForeignKey(User, verbose_name = _('Creator'), related_name = "news_creator_user", null = True) | 23 | creator = models.ForeignKey(User, verbose_name = _('Creator'), related_name = "news_creator_user", null = True) |
24 | + | ||
24 | class Meta: | 25 | class Meta: |
25 | verbose_name = _('News') | 26 | verbose_name = _('News') |
26 | verbose_name_plural = _('News') | 27 | verbose_name_plural = _('News') |
news/templates/news/_form.html
1 | {% load static i18n %} | 1 | {% load static i18n %} |
2 | {% load widget_tweaks %} | 2 | {% load widget_tweaks %} |
3 | 3 | ||
4 | -<form method="post" action="" enctype="multipart/form-data"> | 4 | +<form id="news-form" method="post" action="" enctype="multipart/form-data"> |
5 | {% csrf_token %} | 5 | {% csrf_token %} |
6 | {% for field in form %} | 6 | {% for field in form %} |
7 | <div class="form-group{% if form.has_error %} has-error {% endif %} is-fileinput col-lg-12 col-md-12 col-sm-12"> | 7 | <div class="form-group{% if form.has_error %} has-error {% endif %} is-fileinput col-lg-12 col-md-12 col-sm-12"> |
8 | {% if field.auto_id == 'id_image' %} | 8 | {% if field.auto_id == 'id_image' %} |
9 | - <label for="{{ field.auto_id }}">{{ field.label }} <span>*</span></label> | ||
10 | - {% render_field field class='form-control' %} | ||
11 | - <div class="input-group"> | ||
12 | - <input type="text" readonly="" class="form-control" id="pic_holder" placeholder="{% trans 'Choose your photo...' %}"> | ||
13 | - <span class="input-group-btn input-group-sm"> | ||
14 | - <button type="button" class="btn btn-fab btn-fab-mini"> | ||
15 | - <i class="material-icons">image</i> | ||
16 | - </button> | ||
17 | - </span> | ||
18 | - </div> | 9 | + <label for="{{ field.auto_id }}">{{ field.label }} <span>*</span></label> |
10 | + | ||
11 | + {% render_field field class='file-selector' data-mimetypes=mimeTypes %} | ||
12 | + | ||
13 | + <div class="input-group common-file-input"> | ||
14 | + <input type="text" readonly="" class="form-control" placeholder="{% trans 'Choose your photo...' %}"> | ||
15 | + <span class="input-group-btn input-group-sm"> | ||
16 | + <button type="button" class="btn btn-fab btn-fab-mini"> | ||
17 | + <i class="material-icons">attach_file</i> | ||
18 | + </button> | ||
19 | + </span> | ||
20 | + </div> | ||
21 | + | ||
22 | + <div class="filedrag"> | ||
23 | + {% if news.image %} | ||
24 | + <i class="fa fa-file-archive-o"></i> <br /> | ||
25 | + | ||
26 | + <small>{{ news.image.path }}</small> | ||
27 | + {% else %} | ||
28 | + {% trans 'Click or drop the file here' %}<br /> | ||
29 | + | ||
30 | + <small>{% trans 'The photo could not exceed 5MB.' %}</small> | ||
31 | + {% endif %} | ||
32 | + </div> | ||
19 | 33 | ||
20 | 34 | ||
21 | {% elif field.auto_id == 'id_content' %} | 35 | {% elif field.auto_id == 'id_content' %} |
@@ -35,19 +49,31 @@ | @@ -35,19 +49,31 @@ | ||
35 | 49 | ||
36 | {% endif %} | 50 | {% endif %} |
37 | <span id="helpBlock" class="help-block">{{ field.help_text }}</span> | 51 | <span id="helpBlock" class="help-block">{{ field.help_text }}</span> |
38 | - {% if field.errors %} | ||
39 | - <div class="alert alert-danger alert-dismissible" role="alert"> | ||
40 | - <button type="button" class="close" data-dismiss="alert" aria-label="Close"> | ||
41 | - <span aria-hidden="true">×</span> | ||
42 | - </button> | ||
43 | - <ul> | ||
44 | - {% for error in field.errors %} | ||
45 | - <li>{{ error }}</li> | ||
46 | - {% endfor %} | ||
47 | - </ul> | ||
48 | - </div> | ||
49 | - {% endif %} | ||
50 | </div> | 52 | </div> |
53 | + {% if field.errors %} | ||
54 | + <div class="alert alert-danger alert-dismissible" role="alert"> | ||
55 | + <button type="button" class="close" data-dismiss="alert" aria-label="Close"> | ||
56 | + <span aria-hidden="true">×</span> | ||
57 | + </button> | ||
58 | + <ul> | ||
59 | + {% for error in field.errors %} | ||
60 | + <li>{{ error }}</li> | ||
61 | + {% endfor %} | ||
62 | + </ul> | ||
63 | + </div> | ||
64 | + {% endif %} | ||
65 | + | ||
66 | + {% if field.auto_id == 'id_image' %} | ||
67 | + <div class="col-lg-12 col-md-12 col-sm-12 alert alert-danger alert-dismissible client-file-errors" style="display:none" role="alert"> | ||
68 | + <button type="button" class="close" data-dismiss="alert" aria-label="Close"> | ||
69 | + <span aria-hidden="true">×</span> | ||
70 | + </button> | ||
71 | + <ul> | ||
72 | + <li class="size" style="display:none">{% trans "The image is too large. It should have less than 5MB." %}</li> | ||
73 | + <li class="format" style="display:none">{% trans 'File not supported.' %}</li> | ||
74 | + </ul> | ||
75 | + </div> | ||
76 | + {% endif %} | ||
51 | {% endfor %} | 77 | {% endfor %} |
52 | <div class="row"> | 78 | <div class="row"> |
53 | <div class="col-lg-12 col-md-12 col-sm-12"> | 79 | <div class="col-lg-12 col-md-12 col-sm-12"> |
@@ -62,5 +88,42 @@ | @@ -62,5 +88,42 @@ | ||
62 | 88 | ||
63 | </form> | 89 | </form> |
64 | <script src="{% static 'js/crop_news.js' %}"></script> <!-- Js for cropper--> | 90 | <script src="{% static 'js/crop_news.js' %}"></script> <!-- Js for cropper--> |
91 | +<script type="text/javascript"> | ||
92 | +// check if browser supports drag n drop | ||
93 | +// call initialization file | ||
94 | +if (window.File && window.FileList && window.FileReader) { | ||
95 | + Init(); | ||
96 | +} | ||
97 | + | ||
98 | +// initialize | ||
99 | +function Init() { | ||
100 | + var small = $(".file-selector"), | ||
101 | + filedrag = $(".filedrag"), | ||
102 | + common = $(".common-file-input"); | ||
103 | + | ||
104 | + // file select | ||
105 | + small.on("change", FileSelectHandler); | ||
106 | + | ||
107 | + // is XHR2 available? | ||
108 | + var xhr = new XMLHttpRequest(); | ||
109 | + if (xhr.upload) { | ||
110 | + // file drop | ||
111 | + filedrag.on("drop", FileSelectHandler); | ||
112 | + filedrag.attr('style', 'display:block'); | ||
113 | + common.attr('style', 'display:none'); | ||
114 | + } | ||
115 | +} | ||
116 | + | ||
117 | +// file selection | ||
118 | +function FileSelectHandler(e) { | ||
119 | + var files = e.target.files || e.dataTransfer.files, | ||
120 | + parent = $(e.target.offsetParent); | ||
121 | + // process all File objects | ||
122 | + for (var i = 0, f; f = files[i]; i++) { | ||
123 | + parent.find('.filedrag').html(f.name); | ||
124 | + } | ||
125 | +} | ||
126 | +</script> | ||
127 | + | ||
65 | 128 | ||
66 | {% include 'users/modal_crop.html' %} | 129 | {% include 'users/modal_crop.html' %} |
news/views.py
@@ -8,7 +8,7 @@ from django.contrib import messages | @@ -8,7 +8,7 @@ from django.contrib import messages | ||
8 | from django.utils.translation import ugettext_lazy as _ | 8 | from django.utils.translation import ugettext_lazy as _ |
9 | from django.db.models import Q, Count | 9 | from django.db.models import Q, Count |
10 | 10 | ||
11 | -from .models import News | 11 | +from .models import News, valid_formats |
12 | from .forms import NewsForm | 12 | from .forms import NewsForm |
13 | 13 | ||
14 | class VisualizeNews(LoginRequiredMixin,LogMixin,generic.ListView): | 14 | class VisualizeNews(LoginRequiredMixin,LogMixin,generic.ListView): |
@@ -96,19 +96,19 @@ class CreateNewsView(LoginRequiredMixin,LogMixin,generic.edit.CreateView): | @@ -96,19 +96,19 @@ class CreateNewsView(LoginRequiredMixin,LogMixin,generic.edit.CreateView): | ||
96 | 96 | ||
97 | super(CreateNewsView, self).createLog(self.request.user, self.log_component, self.log_action, self.log_resource, self.log_context) | 97 | super(CreateNewsView, self).createLog(self.request.user, self.log_component, self.log_action, self.log_resource, self.log_context) |
98 | 98 | ||
99 | - | ||
100 | return super(CreateNewsView, self).form_valid(form) | 99 | return super(CreateNewsView, self).form_valid(form) |
101 | 100 | ||
102 | - def get_success_url(self): | ||
103 | - messages.success(self.request, _('News successfully created!')) | ||
104 | - | ||
105 | - return reverse_lazy('news:view', kwargs = {'slug': self.object.slug} ) | ||
106 | - | ||
107 | def get_context_data (self, **kwargs): | 101 | def get_context_data (self, **kwargs): |
108 | context = super(CreateNewsView, self).get_context_data(**kwargs) | 102 | context = super(CreateNewsView, self).get_context_data(**kwargs) |
109 | context['title'] = _("Create News") | 103 | context['title'] = _("Create News") |
104 | + context['mimeTypes'] = valid_formats | ||
110 | 105 | ||
111 | return context | 106 | return context |
107 | + | ||
108 | + def get_success_url(self): | ||
109 | + messages.success(self.request, _('News successfully created!')) | ||
110 | + | ||
111 | + return reverse_lazy('news:view', kwargs = {'slug': self.object.slug} ) | ||
112 | 112 | ||
113 | class UpdateNewsView(LoginRequiredMixin,LogMixin,generic.UpdateView): | 113 | class UpdateNewsView(LoginRequiredMixin,LogMixin,generic.UpdateView): |
114 | log_action = "update" | 114 | log_action = "update" |
@@ -127,17 +127,6 @@ class UpdateNewsView(LoginRequiredMixin,LogMixin,generic.UpdateView): | @@ -127,17 +127,6 @@ class UpdateNewsView(LoginRequiredMixin,LogMixin,generic.UpdateView): | ||
127 | return redirect(reverse_lazy('subjects:home')) | 127 | return redirect(reverse_lazy('subjects:home')) |
128 | return super(UpdateNewsView, self).dispatch(request, *args, **kwargs) | 128 | return super(UpdateNewsView, self).dispatch(request, *args, **kwargs) |
129 | 129 | ||
130 | - def get_success_url(self): | ||
131 | - messages.success(self.request, _('News successfully created!')) | ||
132 | - | ||
133 | - return reverse_lazy('news:view', kwargs = {'slug': self.object.slug} ) | ||
134 | - | ||
135 | - def get_context_data (self, **kwargs): | ||
136 | - context = super(UpdateNewsView, self).get_context_data(**kwargs) | ||
137 | - context['title'] = _("Update News") | ||
138 | - | ||
139 | - return context | ||
140 | - | ||
141 | def form_valid(self, form): | 130 | def form_valid(self, form): |
142 | self.object = form.save(commit = False) | 131 | self.object = form.save(commit = False) |
143 | creator = self.request.user | 132 | creator = self.request.user |
@@ -151,8 +140,19 @@ class UpdateNewsView(LoginRequiredMixin,LogMixin,generic.UpdateView): | @@ -151,8 +140,19 @@ class UpdateNewsView(LoginRequiredMixin,LogMixin,generic.UpdateView): | ||
151 | 140 | ||
152 | super(UpdateNewsView, self).createLog(self.request.user, self.log_component, self.log_action, self.log_resource, self.log_context) | 141 | super(UpdateNewsView, self).createLog(self.request.user, self.log_component, self.log_action, self.log_resource, self.log_context) |
153 | 142 | ||
154 | - | ||
155 | return super(UpdateNewsView, self).form_valid(form) | 143 | return super(UpdateNewsView, self).form_valid(form) |
144 | + | ||
145 | + def get_context_data (self, **kwargs): | ||
146 | + context = super(UpdateNewsView, self).get_context_data(**kwargs) | ||
147 | + context['title'] = _("Update News") | ||
148 | + context['mimeTypes'] = valid_formats | ||
149 | + | ||
150 | + return context | ||
151 | + | ||
152 | + def get_success_url(self): | ||
153 | + messages.success(self.request, _('News successfully created!')) | ||
154 | + | ||
155 | + return reverse_lazy('news:view', kwargs = {'slug': self.object.slug} ) | ||
156 | 156 | ||
157 | class SearchNewsView(LoginRequiredMixin, LogMixin, generic.ListView): | 157 | class SearchNewsView(LoginRequiredMixin, LogMixin, generic.ListView): |
158 | login_url = reverse_lazy("users:login") | 158 | login_url = reverse_lazy("users:login") |
notifications/locale/pt_BR/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid "" | @@ -8,7 +8,7 @@ msgid "" | ||
8 | msgstr "" | 8 | msgstr "" |
9 | "Project-Id-Version: PACKAGE VERSION\n" | 9 | "Project-Id-Version: PACKAGE VERSION\n" |
10 | "Report-Msgid-Bugs-To: \n" | 10 | "Report-Msgid-Bugs-To: \n" |
11 | -"POT-Creation-Date: 2017-08-30 22:41-0300\n" | 11 | +"POT-Creation-Date: 2017-09-02 01:44-0300\n" |
12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
14 | "Language-Team: LANGUAGE <LL@li.org>\n" | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" |
pdf_file/locale/pt_BR/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid "" | @@ -8,7 +8,7 @@ msgid "" | ||
8 | msgstr "" | 8 | msgstr "" |
9 | "Project-Id-Version: PACKAGE VERSION\n" | 9 | "Project-Id-Version: PACKAGE VERSION\n" |
10 | "Report-Msgid-Bugs-To: \n" | 10 | "Report-Msgid-Bugs-To: \n" |
11 | -"POT-Creation-Date: 2017-08-30 22:41-0300\n" | 11 | +"POT-Creation-Date: 2017-09-02 01:44-0300\n" |
12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
14 | "Language-Team: LANGUAGE <LL@li.org>\n" | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" |
@@ -30,7 +30,7 @@ msgstr "Nome do arquivo" | @@ -30,7 +30,7 @@ msgstr "Nome do arquivo" | ||
30 | msgid "This subject already has a pdf file with this name" | 30 | msgid "This subject already has a pdf file with this name" |
31 | msgstr "Este assunto já possui um arquivo PDF com este nome" | 31 | msgstr "Este assunto já possui um arquivo PDF com este nome" |
32 | 32 | ||
33 | -#: pdf_file/forms.py:63 | 33 | +#: pdf_file/forms.py:63 pdf_file/templates/pdf_file/_form.html:75 |
34 | msgid "The file is too large. It should have less than 10MB." | 34 | msgid "The file is too large. It should have less than 10MB." |
35 | msgstr "O arquivo é muito grande. Deve ser menor do que 10MB" | 35 | msgstr "O arquivo é muito grande. Deve ser menor do que 10MB" |
36 | 36 | ||
@@ -50,43 +50,49 @@ msgstr "Arquivo" | @@ -50,43 +50,49 @@ msgstr "Arquivo" | ||
50 | msgid "Are you sure you want delete the PDF File" | 50 | msgid "Are you sure you want delete the PDF File" |
51 | msgstr "Tem certeza que deseja deletar este arquivo PDF?" | 51 | msgstr "Tem certeza que deseja deletar este arquivo PDF?" |
52 | 52 | ||
53 | -#: pdf_file/templates/pdf_file/_form.html:32 | 53 | +#: pdf_file/templates/pdf_file/_form.html:33 |
54 | msgid "Choose your file..." | 54 | msgid "Choose your file..." |
55 | msgstr "Escolha seu arquivo..." | 55 | msgstr "Escolha seu arquivo..." |
56 | 56 | ||
57 | -#: pdf_file/templates/pdf_file/_form.html:46 | 57 | +#: pdf_file/templates/pdf_file/_form.html:47 |
58 | msgid "Click or drop the file here" | 58 | msgid "Click or drop the file here" |
59 | msgstr "Clique ou arraste o arquivo aqui." | 59 | msgstr "Clique ou arraste o arquivo aqui." |
60 | 60 | ||
61 | -#: pdf_file/templates/pdf_file/_form.html:48 | 61 | +#: pdf_file/templates/pdf_file/_form.html:49 |
62 | msgid "The file could not exceed 10MB." | 62 | msgid "The file could not exceed 10MB." |
63 | msgstr "O arquivo não pode exceder 10MB." | 63 | msgstr "O arquivo não pode exceder 10MB." |
64 | 64 | ||
65 | -#: pdf_file/templates/pdf_file/_form.html:68 | 65 | +#: pdf_file/templates/pdf_file/_form.html:76 |
66 | +#, fuzzy | ||
67 | +#| msgid "File not supported, use PDF format instead." | ||
68 | +msgid "File not supported." | ||
69 | +msgstr "Este formato não é suportado, use PDF." | ||
70 | + | ||
71 | +#: pdf_file/templates/pdf_file/_form.html:80 | ||
66 | msgid "Common resources settings" | 72 | msgid "Common resources settings" |
67 | msgstr "Configurações comuns à todos os recursos" | 73 | msgstr "Configurações comuns à todos os recursos" |
68 | 74 | ||
69 | -#: pdf_file/templates/pdf_file/_form.html:119 | 75 | +#: pdf_file/templates/pdf_file/_form.html:131 |
70 | msgid "Pendencies Notifications" | 76 | msgid "Pendencies Notifications" |
71 | msgstr "Notificações pendentes" | 77 | msgstr "Notificações pendentes" |
72 | 78 | ||
73 | -#: pdf_file/templates/pdf_file/_form.html:135 | 79 | +#: pdf_file/templates/pdf_file/_form.html:147 |
74 | msgid "Action not performed by the user" | 80 | msgid "Action not performed by the user" |
75 | msgstr "Ação não permitida pelo usuário" | 81 | msgstr "Ação não permitida pelo usuário" |
76 | 82 | ||
77 | -#: pdf_file/templates/pdf_file/_form.html:161 | 83 | +#: pdf_file/templates/pdf_file/_form.html:173 |
78 | msgid "Wished period" | 84 | msgid "Wished period" |
79 | msgstr "Período desejado" | 85 | msgstr "Período desejado" |
80 | 86 | ||
81 | -#: pdf_file/templates/pdf_file/_form.html:257 | 87 | +#: pdf_file/templates/pdf_file/_form.html:269 |
82 | msgid "Attribute students to file link" | 88 | msgid "Attribute students to file link" |
83 | msgstr "" | 89 | msgstr "" |
84 | 90 | ||
85 | -#: pdf_file/templates/pdf_file/_form.html:277 | 91 | +#: pdf_file/templates/pdf_file/_form.html:289 |
86 | msgid "Attribute groups to file link" | 92 | msgid "Attribute groups to file link" |
87 | msgstr "" | 93 | msgstr "" |
88 | 94 | ||
89 | -#: pdf_file/templates/pdf_file/_form.html:346 | 95 | +#: pdf_file/templates/pdf_file/_form.html:358 |
90 | msgid "Save" | 96 | msgid "Save" |
91 | msgstr "Salvar" | 97 | msgstr "Salvar" |
92 | 98 | ||
@@ -170,8 +176,8 @@ msgstr "Editar: " | @@ -170,8 +176,8 @@ msgstr "Editar: " | ||
170 | msgid "PDF could not be displayed" | 176 | msgid "PDF could not be displayed" |
171 | msgstr "PDF não pode ser mostrado" | 177 | msgstr "PDF não pode ser mostrado" |
172 | 178 | ||
173 | -#: pdf_file/views.py:127 pdf_file/views.py:140 pdf_file/views.py:251 | ||
174 | -#: pdf_file/views.py:253 pdf_file/views.py:269 pdf_file/views.py:271 | 179 | +#: pdf_file/views.py:127 pdf_file/views.py:140 pdf_file/views.py:252 |
180 | +#: pdf_file/views.py:254 pdf_file/views.py:270 pdf_file/views.py:272 | ||
175 | msgid "Visualize" | 181 | msgid "Visualize" |
176 | msgstr "Visualizar" | 182 | msgstr "Visualizar" |
177 | 183 | ||
@@ -179,7 +185,7 @@ msgstr "Visualizar" | @@ -179,7 +185,7 @@ msgstr "Visualizar" | ||
179 | msgid "Create PDF File" | 185 | msgid "Create PDF File" |
180 | msgstr "Criar o arquivo PDF" | 186 | msgstr "Criar o arquivo PDF" |
181 | 187 | ||
182 | -#: pdf_file/views.py:211 | 188 | +#: pdf_file/views.py:212 |
183 | #, python-format | 189 | #, python-format |
184 | msgid "" | 190 | msgid "" |
185 | "The PDF File \"%s\" was added to the Topic \"%s\" of the virtual environment " | 191 | "The PDF File \"%s\" was added to the Topic \"%s\" of the virtual environment " |
@@ -188,67 +194,67 @@ msgstr "" | @@ -188,67 +194,67 @@ msgstr "" | ||
188 | "O arquivo PDF \"%s\" foi adicionado ao topico \"%s\" do ambiente virtual " | 194 | "O arquivo PDF \"%s\" foi adicionado ao topico \"%s\" do ambiente virtual " |
189 | "\"%s\" com sucesso!" | 195 | "\"%s\" com sucesso!" |
190 | 196 | ||
191 | -#: pdf_file/views.py:315 | 197 | +#: pdf_file/views.py:316 |
192 | msgid "Update PDF File" | 198 | msgid "Update PDF File" |
193 | msgstr "Atualize arquivo PDF" | 199 | msgstr "Atualize arquivo PDF" |
194 | 200 | ||
195 | -#: pdf_file/views.py:326 | 201 | +#: pdf_file/views.py:328 |
196 | #, python-format | 202 | #, python-format |
197 | msgid "The PDF File \"%s\" was updated successfully!" | 203 | msgid "The PDF File \"%s\" was updated successfully!" |
198 | msgstr "O arquivo PDF \"%s\" foi atualizado com sucesso!" | 204 | msgstr "O arquivo PDF \"%s\" foi atualizado com sucesso!" |
199 | 205 | ||
200 | -#: pdf_file/views.py:353 | 206 | +#: pdf_file/views.py:355 |
201 | #, python-format | 207 | #, python-format |
202 | msgid "" | 208 | msgid "" |
203 | "The PDF File \"%s\" was removed successfully from virtual environment \"%s\"!" | 209 | "The PDF File \"%s\" was removed successfully from virtual environment \"%s\"!" |
204 | msgstr "" | 210 | msgstr "" |
205 | "O arquivo PDF \"%s\" foi removido com sucesso do ambiente virtual \"%s\" " | 211 | "O arquivo PDF \"%s\" foi removido com sucesso do ambiente virtual \"%s\" " |
206 | 212 | ||
207 | -#: pdf_file/views.py:411 | 213 | +#: pdf_file/views.py:413 |
208 | msgid "PDF File Reports" | 214 | msgid "PDF File Reports" |
209 | msgstr "Relatórios do arquivo de PDF" | 215 | msgstr "Relatórios do arquivo de PDF" |
210 | 216 | ||
211 | -#: pdf_file/views.py:431 | 217 | +#: pdf_file/views.py:433 |
212 | msgid "Realized" | 218 | msgid "Realized" |
213 | msgstr "Realizada" | 219 | msgstr "Realizada" |
214 | 220 | ||
215 | -#: pdf_file/views.py:431 | 221 | +#: pdf_file/views.py:433 |
216 | msgid "Unrealized" | 222 | msgid "Unrealized" |
217 | msgstr "Não Realizada" | 223 | msgstr "Não Realizada" |
218 | 224 | ||
219 | -#: pdf_file/views.py:431 | 225 | +#: pdf_file/views.py:433 |
220 | msgid "Historic" | 226 | msgid "Historic" |
221 | msgstr "Histórico" | 227 | msgstr "Histórico" |
222 | 228 | ||
223 | -#: pdf_file/views.py:447 pdf_file/views.py:455 | 229 | +#: pdf_file/views.py:449 pdf_file/views.py:457 |
224 | msgid "View" | 230 | msgid "View" |
225 | msgstr "Visualizar" | 231 | msgstr "Visualizar" |
226 | 232 | ||
227 | -#: pdf_file/views.py:456 | 233 | +#: pdf_file/views.py:458 |
228 | msgid "PDF File" | 234 | msgid "PDF File" |
229 | msgstr "Criar o arquivo PDF" | 235 | msgstr "Criar o arquivo PDF" |
230 | 236 | ||
231 | -#: pdf_file/views.py:461 | 237 | +#: pdf_file/views.py:463 |
232 | msgid "Actions about resource" | 238 | msgid "Actions about resource" |
233 | msgstr "Ações sobre o recurso" | 239 | msgstr "Ações sobre o recurso" |
234 | 240 | ||
235 | -#: pdf_file/views.py:462 | 241 | +#: pdf_file/views.py:464 |
236 | msgid "Quantity" | 242 | msgid "Quantity" |
237 | msgstr "Quantidade" | 243 | msgstr "Quantidade" |
238 | 244 | ||
239 | -#: pdf_file/views.py:509 | 245 | +#: pdf_file/views.py:511 |
240 | msgid "[Photo]" | 246 | msgid "[Photo]" |
241 | msgstr "[Imagem]" | 247 | msgstr "[Imagem]" |
242 | 248 | ||
243 | -#: pdf_file/views.py:521 | 249 | +#: pdf_file/views.py:523 |
244 | #, python-format | 250 | #, python-format |
245 | msgid "Last message in %s" | 251 | msgid "Last message in %s" |
246 | msgstr "Última mensagem em %s" | 252 | msgstr "Última mensagem em %s" |
247 | 253 | ||
248 | -#: pdf_file/views.py:530 | 254 | +#: pdf_file/views.py:532 |
249 | msgid "The message was successfull sent!" | 255 | msgid "The message was successfull sent!" |
250 | msgstr "A mensagem foi enviada com sucesso!" | 256 | msgstr "A mensagem foi enviada com sucesso!" |
251 | 257 | ||
252 | -#: pdf_file/views.py:532 | 258 | +#: pdf_file/views.py:534 |
253 | msgid "No user selected!" | 259 | msgid "No user selected!" |
254 | msgstr "Nenhum usuário selecionado!" | 260 | msgstr "Nenhum usuário selecionado!" |
pendencies/locale/pt_BR/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid "" | @@ -8,7 +8,7 @@ msgid "" | ||
8 | msgstr "" | 8 | msgstr "" |
9 | "Project-Id-Version: PACKAGE VERSION\n" | 9 | "Project-Id-Version: PACKAGE VERSION\n" |
10 | "Report-Msgid-Bugs-To: \n" | 10 | "Report-Msgid-Bugs-To: \n" |
11 | -"POT-Creation-Date: 2017-08-30 22:41-0300\n" | 11 | +"POT-Creation-Date: 2017-09-02 01:44-0300\n" |
12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
14 | "Language-Team: LANGUAGE <LL@li.org>\n" | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" |
reports/locale/pt_BR/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid "" | @@ -8,7 +8,7 @@ msgid "" | ||
8 | msgstr "" | 8 | msgstr "" |
9 | "Project-Id-Version: PACKAGE VERSION\n" | 9 | "Project-Id-Version: PACKAGE VERSION\n" |
10 | "Report-Msgid-Bugs-To: \n" | 10 | "Report-Msgid-Bugs-To: \n" |
11 | -"POT-Creation-Date: 2017-08-30 22:41-0300\n" | 11 | +"POT-Creation-Date: 2017-09-02 01:44-0300\n" |
12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
14 | "Language-Team: LANGUAGE <LL@li.org>\n" | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" |
security/locale/pt_BR/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid "" | @@ -8,7 +8,7 @@ msgid "" | ||
8 | msgstr "" | 8 | msgstr "" |
9 | "Project-Id-Version: PACKAGE VERSION\n" | 9 | "Project-Id-Version: PACKAGE VERSION\n" |
10 | "Report-Msgid-Bugs-To: \n" | 10 | "Report-Msgid-Bugs-To: \n" |
11 | -"POT-Creation-Date: 2017-08-30 22:41-0300\n" | 11 | +"POT-Creation-Date: 2017-09-02 01:44-0300\n" |
12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
14 | "Language-Team: LANGUAGE <LL@li.org>\n" | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" |
students_group/locale/pt_BR/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid "" | @@ -8,7 +8,7 @@ msgid "" | ||
8 | msgstr "" | 8 | msgstr "" |
9 | "Project-Id-Version: PACKAGE VERSION\n" | 9 | "Project-Id-Version: PACKAGE VERSION\n" |
10 | "Report-Msgid-Bugs-To: \n" | 10 | "Report-Msgid-Bugs-To: \n" |
11 | -"POT-Creation-Date: 2017-08-30 22:41-0300\n" | 11 | +"POT-Creation-Date: 2017-09-02 01:44-0300\n" |
12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
14 | "Language-Team: LANGUAGE <LL@li.org>\n" | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" |
subjects/locale/pt_BR/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid "" | @@ -8,7 +8,7 @@ msgid "" | ||
8 | msgstr "" | 8 | msgstr "" |
9 | "Project-Id-Version: PACKAGE VERSION\n" | 9 | "Project-Id-Version: PACKAGE VERSION\n" |
10 | "Report-Msgid-Bugs-To: \n" | 10 | "Report-Msgid-Bugs-To: \n" |
11 | -"POT-Creation-Date: 2017-08-30 22:41-0300\n" | 11 | +"POT-Creation-Date: 2017-09-02 01:44-0300\n" |
12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
14 | "Language-Team: LANGUAGE <LL@li.org>\n" | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" |
@@ -18,27 +18,27 @@ msgstr "" | @@ -18,27 +18,27 @@ msgstr "" | ||
18 | "Content-Transfer-Encoding: 8bit\n" | 18 | "Content-Transfer-Encoding: 8bit\n" |
19 | "Plural-Forms: nplurals=2; plural=(n > 1);\n" | 19 | "Plural-Forms: nplurals=2; plural=(n > 1);\n" |
20 | 20 | ||
21 | -#: subjects/forms.py:14 subjects/forms.py:117 | 21 | +#: subjects/forms.py:24 subjects/forms.py:128 |
22 | msgid "Tags" | 22 | msgid "Tags" |
23 | msgstr "Tags" | 23 | msgstr "Tags" |
24 | 24 | ||
25 | -#: subjects/forms.py:67 subjects/forms.py:170 | 25 | +#: subjects/forms.py:78 subjects/forms.py:183 |
26 | msgid "There is another subject with this name, try another one." | 26 | msgid "There is another subject with this name, try another one." |
27 | msgstr "Já existe um assunto com esse nome, tente outro." | 27 | msgstr "Já existe um assunto com esse nome, tente outro." |
28 | 28 | ||
29 | -#: subjects/forms.py:76 | 29 | +#: subjects/forms.py:87 |
30 | msgid "This date must be today or after" | 30 | msgid "This date must be today or after" |
31 | msgstr "Essa data deve ser hoje ou depois disso" | 31 | msgstr "Essa data deve ser hoje ou depois disso" |
32 | 32 | ||
33 | -#: subjects/forms.py:86 subjects/forms.py:189 | 33 | +#: subjects/forms.py:97 subjects/forms.py:201 |
34 | msgid "This date must be equal subscribe begin or after" | 34 | msgid "This date must be equal subscribe begin or after" |
35 | msgstr "Essa data deve ser igual ou depois de começarem as incrições" | 35 | msgstr "Essa data deve ser igual ou depois de começarem as incrições" |
36 | 36 | ||
37 | -#: subjects/forms.py:96 subjects/forms.py:199 | 37 | +#: subjects/forms.py:107 subjects/forms.py:211 |
38 | msgid "This date must be after subscribe end" | 38 | msgid "This date must be after subscribe end" |
39 | msgstr "Essa data deve ser depois do fim das inscrições" | 39 | msgstr "Essa data deve ser depois do fim das inscrições" |
40 | 40 | ||
41 | -#: subjects/forms.py:105 subjects/forms.py:208 | 41 | +#: subjects/forms.py:116 subjects/forms.py:220 |
42 | msgid "This date must be equal init date or after" | 42 | msgid "This date must be equal init date or after" |
43 | msgstr "Essa data deve ser igual ou depois da data de início" | 43 | msgstr "Essa data deve ser igual ou depois da data de início" |
44 | 44 | ||
@@ -189,7 +189,7 @@ msgid "DELETE" | @@ -189,7 +189,7 @@ msgid "DELETE" | ||
189 | msgstr "Deletar" | 189 | msgstr "Deletar" |
190 | 190 | ||
191 | #: subjects/templates/subjects/home.html:67 | 191 | #: subjects/templates/subjects/home.html:67 |
192 | -#: subjects/templates/subjects/initial.html:77 subjects/views.py:212 | 192 | +#: subjects/templates/subjects/initial.html:77 subjects/views.py:214 |
193 | msgid "My Subjects" | 193 | msgid "My Subjects" |
194 | msgstr "Meus assuntos" | 194 | msgstr "Meus assuntos" |
195 | 195 | ||
@@ -242,12 +242,12 @@ msgid " Any subjects or Resources were not found on the search for " | @@ -242,12 +242,12 @@ msgid " Any subjects or Resources were not found on the search for " | ||
242 | msgstr " Nenhum assunto ou recursos foram encontrados na busca por " | 242 | msgstr " Nenhum assunto ou recursos foram encontrados na busca por " |
243 | 243 | ||
244 | #: subjects/templates/subjects/list_search.html:48 | 244 | #: subjects/templates/subjects/list_search.html:48 |
245 | -#: subjects/templates/subjects/list_search.html:51 subjects/views.py:677 | 245 | +#: subjects/templates/subjects/list_search.html:51 subjects/views.py:679 |
246 | msgid "Subjects" | 246 | msgid "Subjects" |
247 | msgstr "Assuntos" | 247 | msgstr "Assuntos" |
248 | 248 | ||
249 | #: subjects/templates/subjects/list_search.html:49 | 249 | #: subjects/templates/subjects/list_search.html:49 |
250 | -#: subjects/templates/subjects/list_search.html:52 subjects/views.py:684 | 250 | +#: subjects/templates/subjects/list_search.html:52 subjects/views.py:686 |
251 | msgid "Resources" | 251 | msgid "Resources" |
252 | msgstr "Recursos" | 252 | msgstr "Recursos" |
253 | 253 | ||
@@ -362,52 +362,52 @@ msgstr "Ver Perfil" | @@ -362,52 +362,52 @@ msgstr "Ver Perfil" | ||
362 | msgid "Send Message" | 362 | msgid "Send Message" |
363 | msgstr "Enviar Mensagem" | 363 | msgstr "Enviar Mensagem" |
364 | 364 | ||
365 | -#: subjects/views.py:85 | 365 | +#: subjects/views.py:87 |
366 | msgid "Home" | 366 | msgid "Home" |
367 | msgstr "Início" | 367 | msgstr "Início" |
368 | 368 | ||
369 | -#: subjects/views.py:184 | 369 | +#: subjects/views.py:186 |
370 | msgid "Page is not 'last', nor can it be converted to an int." | 370 | msgid "Page is not 'last', nor can it be converted to an int." |
371 | msgstr "" | 371 | msgstr "" |
372 | "Página não é a 'última', e também não pode ser convertido para um inteiro" | 372 | "Página não é a 'última', e também não pode ser convertido para um inteiro" |
373 | 373 | ||
374 | -#: subjects/views.py:190 | 374 | +#: subjects/views.py:192 |
375 | #, python-format | 375 | #, python-format |
376 | msgid "Invalid page (%(page_number)s): %(message)s" | 376 | msgid "Invalid page (%(page_number)s): %(message)s" |
377 | msgstr "Página inválida (%(page_number)s): %(message)s" | 377 | msgstr "Página inválida (%(page_number)s): %(message)s" |
378 | 378 | ||
379 | -#: subjects/views.py:219 | 379 | +#: subjects/views.py:221 |
380 | msgid "All Subjects" | 380 | msgid "All Subjects" |
381 | msgstr "Todos os assuntos" | 381 | msgstr "Todos os assuntos" |
382 | 382 | ||
383 | -#: subjects/views.py:315 | 383 | +#: subjects/views.py:317 |
384 | msgid "Create Subject" | 384 | msgid "Create Subject" |
385 | msgstr "Criar Assunto" | 385 | msgstr "Criar Assunto" |
386 | 386 | ||
387 | -#: subjects/views.py:327 | 387 | +#: subjects/views.py:329 |
388 | msgid "Replicate Subject" | 388 | msgid "Replicate Subject" |
389 | msgstr "Replicar Assunto" | 389 | msgstr "Replicar Assunto" |
390 | 390 | ||
391 | -#: subjects/views.py:369 | 391 | +#: subjects/views.py:371 |
392 | #, python-format | 392 | #, python-format |
393 | msgid "The Subject \"%s\" was registered on \"%s\" Category successfully!" | 393 | msgid "The Subject \"%s\" was registered on \"%s\" Category successfully!" |
394 | msgstr "Assunto \"%s\" foi registrado na categoria \"%s\" com sucesso!" | 394 | msgstr "Assunto \"%s\" foi registrado na categoria \"%s\" com sucesso!" |
395 | 395 | ||
396 | -#: subjects/views.py:404 | 396 | +#: subjects/views.py:406 |
397 | msgid "Update Subject" | 397 | msgid "Update Subject" |
398 | msgstr "Atualizar Assunto" | 398 | msgstr "Atualizar Assunto" |
399 | 399 | ||
400 | -#: subjects/views.py:428 | 400 | +#: subjects/views.py:430 |
401 | #, python-format | 401 | #, python-format |
402 | msgid "The Subject \"%s\" was updated on \"%s\" Category successfully!" | 402 | msgid "The Subject \"%s\" was updated on \"%s\" Category successfully!" |
403 | msgstr "Assunto \"%s\" foi atualizado na categoria \"%s\" com sucesso!" | 403 | msgstr "Assunto \"%s\" foi atualizado na categoria \"%s\" com sucesso!" |
404 | 404 | ||
405 | -#: subjects/views.py:469 subjects/views.py:513 | 405 | +#: subjects/views.py:471 subjects/views.py:515 |
406 | #, python-format | 406 | #, python-format |
407 | msgid "Subject \"%s\" removed successfully!" | 407 | msgid "Subject \"%s\" removed successfully!" |
408 | msgstr "Assunto \"%s\" removido com sucesso!" | 408 | msgstr "Assunto \"%s\" removido com sucesso!" |
409 | 409 | ||
410 | -#: subjects/views.py:477 subjects/views.py:481 | 410 | +#: subjects/views.py:479 subjects/views.py:483 |
411 | msgid "" | 411 | msgid "" |
412 | "Subject can't be removed. The subject still possess students and learning " | 412 | "Subject can't be removed. The subject still possess students and learning " |
413 | "objects associated" | 413 | "objects associated" |
@@ -415,24 +415,24 @@ msgstr "" | @@ -415,24 +415,24 @@ msgstr "" | ||
415 | "Assunto não pode ser removido. Ele ainda possui alunos e objetos de " | 415 | "Assunto não pode ser removido. Ele ainda possui alunos e objetos de " |
416 | "aprendizado associados" | 416 | "aprendizado associados" |
417 | 417 | ||
418 | -#: subjects/views.py:603 | 418 | +#: subjects/views.py:605 |
419 | msgid "Subscription date is due!" | 419 | msgid "Subscription date is due!" |
420 | msgstr "O período de inscrição está encerrado!" | 420 | msgstr "O período de inscrição está encerrado!" |
421 | 421 | ||
422 | -#: subjects/views.py:616 | 422 | +#: subjects/views.py:618 |
423 | msgid "Subscription was successfull!" | 423 | msgid "Subscription was successfull!" |
424 | msgstr "Inscrição feita com sucesso!" | 424 | msgstr "Inscrição feita com sucesso!" |
425 | 425 | ||
426 | -#: subjects/views.py:749 | 426 | +#: subjects/views.py:751 |
427 | #, python-format | 427 | #, python-format |
428 | msgid "%s - Backup" | 428 | msgid "%s - Backup" |
429 | msgstr "%s - Backup" | 429 | msgstr "%s - Backup" |
430 | 430 | ||
431 | -#: subjects/views.py:885 | 431 | +#: subjects/views.py:910 |
432 | #, python-format | 432 | #, python-format |
433 | msgid "%s - Restore" | 433 | msgid "%s - Restore" |
434 | msgstr "%s - Restaurar" | 434 | msgstr "%s - Restaurar" |
435 | 435 | ||
436 | -#: subjects/views.py:951 | 436 | +#: subjects/views.py:984 |
437 | msgid "Backup restored successfully!" | 437 | msgid "Backup restored successfully!" |
438 | msgstr "Backup restaurado com sucesso!" | 438 | msgstr "Backup restaurado com sucesso!" |
themes/locale/pt_BR/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid "" | @@ -8,7 +8,7 @@ msgid "" | ||
8 | msgstr "" | 8 | msgstr "" |
9 | "Project-Id-Version: PACKAGE VERSION\n" | 9 | "Project-Id-Version: PACKAGE VERSION\n" |
10 | "Report-Msgid-Bugs-To: \n" | 10 | "Report-Msgid-Bugs-To: \n" |
11 | -"POT-Creation-Date: 2017-08-30 22:41-0300\n" | 11 | +"POT-Creation-Date: 2017-09-02 01:44-0300\n" |
12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
14 | "Language-Team: LANGUAGE <LL@li.org>\n" | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" |
@@ -18,11 +18,12 @@ msgstr "" | @@ -18,11 +18,12 @@ msgstr "" | ||
18 | "Content-Transfer-Encoding: 8bit\n" | 18 | "Content-Transfer-Encoding: 8bit\n" |
19 | "Plural-Forms: nplurals=2; plural=(n > 1);\n" | 19 | "Plural-Forms: nplurals=2; plural=(n > 1);\n" |
20 | 20 | ||
21 | -#: themes/forms.py:15 themes/forms.py:27 themes/forms.py:39 | 21 | +#: themes/forms.py:17 themes/forms.py:29 themes/forms.py:41 |
22 | +#: themes/templates/themes/basic_update.html:94 | ||
22 | msgid "The image is too large. It should have less than 2MB." | 23 | msgid "The image is too large. It should have less than 2MB." |
23 | msgstr "A imagem é muito grande. Ela deve ter menos de 2MB." | 24 | msgstr "A imagem é muito grande. Ela deve ter menos de 2MB." |
24 | 25 | ||
25 | -#: themes/models.py:11 | 26 | +#: themes/models.py:11 themes/templates/themes/basic_update.html:95 |
26 | msgid "File not supported." | 27 | msgid "File not supported." |
27 | msgstr "Arquivo não suportado." | 28 | msgstr "Arquivo não suportado." |
28 | 29 | ||
@@ -96,12 +97,12 @@ msgstr "Dimensões recomendads" | @@ -96,12 +97,12 @@ msgstr "Dimensões recomendads" | ||
96 | msgid "It is recommended to be a white image" | 97 | msgid "It is recommended to be a white image" |
97 | msgstr "É recomendável ser uma imagem branca" | 98 | msgstr "É recomendável ser uma imagem branca" |
98 | 99 | ||
99 | -#: themes/templates/themes/basic_update.html:89 | 100 | +#: themes/templates/themes/basic_update.html:103 |
100 | #: themes/templates/themes/css_update.html:75 | 101 | #: themes/templates/themes/css_update.html:75 |
101 | msgid "Save" | 102 | msgid "Save" |
102 | msgstr "Salvar" | 103 | msgstr "Salvar" |
103 | 104 | ||
104 | -#: themes/templates/themes/basic_update.html:94 | 105 | +#: themes/templates/themes/basic_update.html:108 |
105 | #: themes/templates/themes/css_update.html:17 | 106 | #: themes/templates/themes/css_update.html:17 |
106 | #: themes/templates/themes/index.html:18 themes/views.py:78 | 107 | #: themes/templates/themes/index.html:18 themes/views.py:78 |
107 | msgid "CSS Selector" | 108 | msgid "CSS Selector" |
topics/locale/pt_BR/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid "" | @@ -8,7 +8,7 @@ msgid "" | ||
8 | msgstr "" | 8 | msgstr "" |
9 | "Project-Id-Version: PACKAGE VERSION\n" | 9 | "Project-Id-Version: PACKAGE VERSION\n" |
10 | "Report-Msgid-Bugs-To: \n" | 10 | "Report-Msgid-Bugs-To: \n" |
11 | -"POT-Creation-Date: 2017-08-30 22:41-0300\n" | 11 | +"POT-Creation-Date: 2017-09-02 01:44-0300\n" |
12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
14 | "Language-Team: LANGUAGE <LL@li.org>\n" | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" |
users/locale/pt_BR/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid "" | @@ -8,7 +8,7 @@ msgid "" | ||
8 | msgstr "" | 8 | msgstr "" |
9 | "Project-Id-Version: PACKAGE VERSION\n" | 9 | "Project-Id-Version: PACKAGE VERSION\n" |
10 | "Report-Msgid-Bugs-To: \n" | 10 | "Report-Msgid-Bugs-To: \n" |
11 | -"POT-Creation-Date: 2017-08-30 22:41-0300\n" | 11 | +"POT-Creation-Date: 2017-09-02 01:44-0300\n" |
12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
14 | "Language-Team: LANGUAGE <LL@li.org>\n" | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" |
@@ -23,6 +23,7 @@ msgid "You must insert an email address" | @@ -23,6 +23,7 @@ msgid "You must insert an email address" | ||
23 | msgstr "Você deve inserir um endereço de email" | 23 | msgstr "Você deve inserir um endereço de email" |
24 | 24 | ||
25 | #: users/forms.py:43 users/templates/users/_form.html:94 | 25 | #: users/forms.py:43 users/templates/users/_form.html:94 |
26 | +#: users/templates/users/register.html:107 | ||
26 | msgid "The image is too large. It should have less than 2MB." | 27 | msgid "The image is too large. It should have less than 2MB." |
27 | msgstr "A imagem é muito grande. Ela deve conter menos de 2MB." | 28 | msgstr "A imagem é muito grande. Ela deve conter menos de 2MB." |
28 | 29 | ||
@@ -88,6 +89,7 @@ msgid "You must insert a valid email address" | @@ -88,6 +89,7 @@ msgid "You must insert a valid email address" | ||
88 | msgstr "Você deve inserir um endereço de email válido" | 89 | msgstr "Você deve inserir um endereço de email válido" |
89 | 90 | ||
90 | #: users/models.py:18 users/templates/users/_form.html:95 | 91 | #: users/models.py:18 users/templates/users/_form.html:95 |
92 | +#: users/templates/users/register.html:108 | ||
91 | msgid "File not supported." | 93 | msgid "File not supported." |
92 | msgstr "Arquivo não suportado." | 94 | msgstr "Arquivo não suportado." |
93 | 95 | ||
@@ -173,15 +175,15 @@ msgstr "Sim" | @@ -173,15 +175,15 @@ msgstr "Sim" | ||
173 | msgid "Is not an admin" | 175 | msgid "Is not an admin" |
174 | msgstr "Não é administrador" | 176 | msgstr "Não é administrador" |
175 | 177 | ||
176 | -#: users/templates/users/_form.html:18 users/templates/users/register.html:53 | 178 | +#: users/templates/users/_form.html:18 users/templates/users/register.html:56 |
177 | msgid "Choose your photo..." | 179 | msgid "Choose your photo..." |
178 | msgstr "Escolha sua foto..." | 180 | msgstr "Escolha sua foto..." |
179 | 181 | ||
180 | -#: users/templates/users/_form.html:32 | 182 | +#: users/templates/users/_form.html:32 users/templates/users/register.html:70 |
181 | msgid "Click or drop the file here" | 183 | msgid "Click or drop the file here" |
182 | msgstr "" | 184 | msgstr "" |
183 | 185 | ||
184 | -#: users/templates/users/_form.html:34 | 186 | +#: users/templates/users/_form.html:34 users/templates/users/register.html:72 |
185 | msgid "The photo could not exceed 2MB." | 187 | msgid "The photo could not exceed 2MB." |
186 | msgstr "A imagem não pode exceder o tamanho de 2MB." | 188 | msgstr "A imagem não pode exceder o tamanho de 2MB." |
187 | 189 | ||
@@ -231,7 +233,7 @@ msgstr "Recuperar" | @@ -231,7 +233,7 @@ msgstr "Recuperar" | ||
231 | 233 | ||
232 | #: users/templates/users/forgot_password.html:75 | 234 | #: users/templates/users/forgot_password.html:75 |
233 | #: users/templates/users/new_password.html:80 | 235 | #: users/templates/users/new_password.html:80 |
234 | -#: users/templates/users/register.html:93 | 236 | +#: users/templates/users/register.html:121 |
235 | msgid "Back" | 237 | msgid "Back" |
236 | msgstr "Voltar" | 238 | msgstr "Voltar" |
237 | 239 | ||
@@ -308,7 +310,7 @@ msgstr "Estudante em" | @@ -308,7 +310,7 @@ msgstr "Estudante em" | ||
308 | msgid "User Register" | 310 | msgid "User Register" |
309 | msgstr "Cadastro de Usuário" | 311 | msgstr "Cadastro de Usuário" |
310 | 312 | ||
311 | -#: users/templates/users/register.html:90 | 313 | +#: users/templates/users/register.html:118 |
312 | msgid "Register" | 314 | msgid "Register" |
313 | msgstr "Cadastrar" | 315 | msgstr "Cadastrar" |
314 | 316 |
webconference/locale/pt_BR/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid "" | @@ -8,7 +8,7 @@ msgid "" | ||
8 | msgstr "" | 8 | msgstr "" |
9 | "Project-Id-Version: PACKAGE VERSION\n" | 9 | "Project-Id-Version: PACKAGE VERSION\n" |
10 | "Report-Msgid-Bugs-To: \n" | 10 | "Report-Msgid-Bugs-To: \n" |
11 | -"POT-Creation-Date: 2017-08-30 22:41-0300\n" | 11 | +"POT-Creation-Date: 2017-09-02 01:44-0300\n" |
12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
14 | "Language-Team: LANGUAGE <LL@li.org>\n" | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" |
webpage/locale/pt_BR/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid "" | @@ -8,7 +8,7 @@ msgid "" | ||
8 | msgstr "" | 8 | msgstr "" |
9 | "Project-Id-Version: PACKAGE VERSION\n" | 9 | "Project-Id-Version: PACKAGE VERSION\n" |
10 | "Report-Msgid-Bugs-To: \n" | 10 | "Report-Msgid-Bugs-To: \n" |
11 | -"POT-Creation-Date: 2017-08-30 22:41-0300\n" | 11 | +"POT-Creation-Date: 2017-09-02 01:44-0300\n" |
12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
14 | "Language-Team: LANGUAGE <LL@li.org>\n" | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" |
youtube_video/locale/pt_BR/LC_MESSAGES/django.po
@@ -8,7 +8,7 @@ msgid "" | @@ -8,7 +8,7 @@ msgid "" | ||
8 | msgstr "" | 8 | msgstr "" |
9 | "Project-Id-Version: PACKAGE VERSION\n" | 9 | "Project-Id-Version: PACKAGE VERSION\n" |
10 | "Report-Msgid-Bugs-To: \n" | 10 | "Report-Msgid-Bugs-To: \n" |
11 | -"POT-Creation-Date: 2017-08-30 22:41-0300\n" | 11 | +"POT-Creation-Date: 2017-09-02 01:44-0300\n" |
12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
14 | "Language-Team: LANGUAGE <LL@li.org>\n" | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" |