Commit f8c765687f83e4f2ce4b14446783f8209a889e84

Authored by Zambom
1 parent 207b5d26

Adjusting goals submission date limit restriction

amadeus/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: 2017-08-16 19:24-0300\n"
  11 +"POT-Creation-Date: 2017-08-21 20:43-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"
... ...
analytics/locale/pt_BR/LC_MESSAGES/django.po
... ... @@ -8,7 +8,7 @@ msgid &quot;&quot;
8 8 msgstr ""
9 9 "Project-Id-Version: PACKAGE VERSION\n"
10 10 "Report-Msgid-Bugs-To: \n"
11   -"POT-Creation-Date: 2017-08-16 19:24-0300\n"
  11 +"POT-Creation-Date: 2017-08-21 20:43-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"
... ...
api/locale/pt_BR/LC_MESSAGES/django.po
... ... @@ -8,7 +8,7 @@ msgid &quot;&quot;
8 8 msgstr ""
9 9 "Project-Id-Version: PACKAGE VERSION\n"
10 10 "Report-Msgid-Bugs-To: \n"
11   -"POT-Creation-Date: 2017-08-16 19:24-0300\n"
  11 +"POT-Creation-Date: 2017-08-21 20:43-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,23 +18,23 @@ msgstr &quot;&quot;
18 18 "Content-Transfer-Encoding: 8bit\n"
19 19 "Plural-Forms: nplurals=2; plural=(n > 1);\n"
20 20  
21   -#: api/views.py:299
  21 +#: api/views.py:332
22 22 #, python-format
23 23 msgid "Last message in %s"
24 24 msgstr ""
25 25  
26   -#: api/views.py:316
  26 +#: api/views.py:349
27 27 msgid "Message sent successfully!"
28 28 msgstr ""
29 29  
30   -#: api/views.py:320
  30 +#: api/views.py:353
31 31 msgid "Error while sending message!"
32 32 msgstr ""
33 33  
34   -#: api/views.py:327
  34 +#: api/views.py:360
35 35 msgid "No information received!"
36 36 msgstr ""
37 37  
38   -#: api/views.py:333
  38 +#: api/views.py:366
39 39 msgid "Amadeus"
40 40 msgstr ""
... ...
bulletin/locale/pt_BR/LC_MESSAGES/django.po
... ... @@ -8,7 +8,7 @@ msgid &quot;&quot;
8 8 msgstr ""
9 9 "Project-Id-Version: PACKAGE VERSION\n"
10 10 "Report-Msgid-Bugs-To: \n"
11   -"POT-Creation-Date: 2017-08-16 19:24-0300\n"
  11 +"POT-Creation-Date: 2017-08-21 20:43-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"
... ... @@ -70,7 +70,7 @@ msgstr &quot;Metas&quot;
70 70 msgid "Relevant Indicators"
71 71 msgstr "Indicadores Relevantes"
72 72  
73   -#: bulletin/models.py:25 bulletin/views.py:847
  73 +#: bulletin/models.py:25 bulletin/views.py:845
74 74 msgid "Bulletin"
75 75 msgstr "Boletim"
76 76  
... ... @@ -189,14 +189,14 @@ msgid &quot;The picture could not exceed 5MB.&quot;
189 189 msgstr "A imagem não pode exceder 5MB."
190 190  
191 191 #: bulletin/templates/bulletin/send_message.html:62
192   -#: bulletin/templates/bulletin/view.html:145
193   -#: bulletin/templates/bulletin/window_view.html:127
  192 +#: bulletin/templates/bulletin/view.html:209
  193 +#: bulletin/templates/bulletin/window_view.html:219
194 194 msgid "Close"
195 195 msgstr "Fechar"
196 196  
197 197 #: bulletin/templates/bulletin/send_message.html:63
198   -#: bulletin/templates/bulletin/view.html:146
199   -#: bulletin/templates/bulletin/window_view.html:128
  198 +#: bulletin/templates/bulletin/view.html:210
  199 +#: bulletin/templates/bulletin/window_view.html:220
200 200 msgid "Send"
201 201 msgstr "Enviar"
202 202  
... ... @@ -204,37 +204,27 @@ msgstr &quot;Enviar&quot;
204 204 msgid "Edit: "
205 205 msgstr "Editar: "
206 206  
207   -#: bulletin/templates/bulletin/view.html:61
208   -#: bulletin/templates/bulletin/window_view.html:70
209   -msgid "Check your goals"
210   -msgstr "Veja suas metas"
211   -
212   -#: bulletin/templates/bulletin/view.html:122
213   -#: bulletin/templates/bulletin/window_view.html:106
  207 +#: bulletin/templates/bulletin/view.html:189
  208 +#: bulletin/templates/bulletin/window_view.html:199
214 209 msgid "There are obstructions to your activities?"
215 210 msgstr "Existem impedimentos para as suas atividades?"
216 211  
217   -#: bulletin/templates/bulletin/view.html:123
218   -#: bulletin/templates/bulletin/window_view.html:107
  212 +#: bulletin/templates/bulletin/view.html:190
  213 +#: bulletin/templates/bulletin/window_view.html:200
219 214 msgid "Click here"
220 215 msgstr "Clique aqui"
221 216  
222   -#: bulletin/templates/bulletin/view.html:123
223   -#: bulletin/templates/bulletin/window_view.html:107
  217 +#: bulletin/templates/bulletin/view.html:190
  218 +#: bulletin/templates/bulletin/window_view.html:200
224 219 msgid "to communicate the difficulties that may decrease your performance."
225 220 msgstr "para informar as dificuldades que podem prejudicar seu desempenho."
226 221  
227   -#: bulletin/templates/bulletin/view.html:135
228   -#: bulletin/templates/bulletin/window_view.html:117
229   -msgid "Inform difficulties"
230   -msgstr "Informe as dificuldades"
231   -
232   -#: bulletin/templates/bulletin/view.html:141
233   -#: bulletin/templates/bulletin/window_view.html:123
  222 +#: bulletin/templates/bulletin/view.html:205
  223 +#: bulletin/templates/bulletin/window_view.html:215
234 224 msgid "Type here the dificulties that may harm your performance"
235 225 msgstr "Escreva aqui as dificuldades que podem diminuir sua performance"
236 226  
237   -#: bulletin/utils.py:50 bulletin/views.py:914
  227 +#: bulletin/utils.py:50 bulletin/views.py:912
238 228 #, python-format
239 229 msgid "Last message in %s"
240 230 msgstr "Última mensagem em %s"
... ... @@ -262,15 +252,17 @@ msgstr &quot;O tópico %s não possui metas, então você não pode criar um Boletim.
262 252 msgid ""
263 253 "The deadline to submit the goals of the topic %s has not yet closed, so you "
264 254 "can't create a Bulletin."
265   -msgstr "O prazo para submeter as metas do tópico %s ainda não foi fechado, então você não pode criar um Boletim."
  255 +msgstr ""
  256 +"O prazo para submeter as metas do tópico %s ainda não foi fechado, então "
  257 +"você não pode criar um Boletim."
266 258  
267 259 #: bulletin/views.py:325
268 260 #, python-format
269 261 msgid "The topic %s already has a Bulletin, so you can't create another."
270 262 msgstr "O tópico %s já possui um Boletim, então você não pode criar outro."
271 263  
272   -#: bulletin/views.py:343 bulletin/views.py:356 bulletin/views.py:627
273   -#: bulletin/views.py:629 bulletin/views.py:645 bulletin/views.py:647
  264 +#: bulletin/views.py:343 bulletin/views.py:356 bulletin/views.py:625
  265 +#: bulletin/views.py:627 bulletin/views.py:643 bulletin/views.py:645
274 266 msgid "Visualize"
275 267 msgstr "Visualizar"
276 268  
... ... @@ -283,60 +275,66 @@ msgstr &quot;&quot;
283 275 "O Boletim \"%s\" foi adicionado ao Tópio \"%s\" do ambiente virtual \"%s\" "
284 276 "com sucesso!"
285 277  
286   -#: bulletin/views.py:691
  278 +#: bulletin/views.py:689
287 279 msgid "Update Bulletin"
288 280 msgstr "Atualizar boletim"
289 281  
290   -#: bulletin/views.py:709
  282 +#: bulletin/views.py:707
291 283 #, python-format
292 284 msgid "The Bulletin \"%s\" was updated successfully!"
293 285 msgstr "O Boletim \"%s\" foi atualizado com sucesso!"
294 286  
295   -#: bulletin/views.py:745
  287 +#: bulletin/views.py:743
296 288 #, python-format
297 289 msgid ""
298 290 "The bulletin \"%s\" was removed successfully from virtual environment \"%s\"!"
299 291 msgstr "O boletim \"%s\" foi removido com sucesso do ambiente virtual \"%s\"! "
300 292  
301   -#: bulletin/views.py:804
  293 +#: bulletin/views.py:802
302 294 msgid "Bulletin Reports"
303 295 msgstr "Relatórios do Boletim"
304 296  
305   -#: bulletin/views.py:823
  297 +#: bulletin/views.py:821
306 298 msgid "Realized"
307 299 msgstr "Realizada"
308 300  
309   -#: bulletin/views.py:823
  301 +#: bulletin/views.py:821
310 302 msgid "Unrealized"
311 303 msgstr "Não realizada"
312 304  
313   -#: bulletin/views.py:823
  305 +#: bulletin/views.py:821
314 306 msgid "Historic"
315 307 msgstr "Histórico"
316 308  
317   -#: bulletin/views.py:838 bulletin/views.py:846
  309 +#: bulletin/views.py:836 bulletin/views.py:844
318 310 msgid "View"
319 311 msgstr "Visualizar"
320 312  
321   -#: bulletin/views.py:852
  313 +#: bulletin/views.py:850
322 314 msgid "Actions about resource"
323 315 msgstr "Ações sobre o recurso"
324 316  
325   -#: bulletin/views.py:853
  317 +#: bulletin/views.py:851
326 318 msgid "Quantity"
327 319 msgstr "Quantidade"
328 320  
329   -#: bulletin/views.py:902
  321 +#: bulletin/views.py:900
330 322 msgid "[Photo]"
331 323 msgstr "[Foto]"
332 324  
333   -#: bulletin/views.py:923
  325 +#: bulletin/views.py:921
334 326 msgid "The message was successfull sent!"
335 327 msgstr "A mensagem foi enviada com sucesso!"
336 328  
337   -#: bulletin/views.py:925
  329 +#: bulletin/views.py:923
338 330 msgid "No user selected!"
339 331 msgstr "Nenhum usuário selecionado!"
340 332  
  333 +#~ msgid "Check your goals"
  334 +#~ msgstr "Veja suas metas"
  335 +
  336 +#~ msgid "Inform difficulties"
  337 +#~ msgstr "Informe as dificuldades"
  338 +
341 339 #~ msgid "Bulletin Data (Goals)"
342 340 #~ msgstr "Dados do boletim (Metas)"
... ...
categories/locale/pt_BR/LC_MESSAGES/django.po
... ... @@ -8,7 +8,7 @@ msgid &quot;&quot;
8 8 msgstr ""
9 9 "Project-Id-Version: PACKAGE VERSION\n"
10 10 "Report-Msgid-Bugs-To: \n"
11   -"POT-Creation-Date: 2017-08-16 19:24-0300\n"
  11 +"POT-Creation-Date: 2017-08-21 20:43-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"
... ...
chat/locale/pt_BR/LC_MESSAGES/django.po
... ... @@ -8,7 +8,7 @@ msgid &quot;&quot;
8 8 msgstr ""
9 9 "Project-Id-Version: PACKAGE VERSION\n"
10 10 "Report-Msgid-Bugs-To: \n"
11   -"POT-Creation-Date: 2017-08-16 19:24-0300\n"
  11 +"POT-Creation-Date: 2017-08-21 20:43-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"
... ... @@ -143,7 +143,7 @@ msgstr &quot;Ver Perfil&quot;
143 143 #: chat/templates/chat/subject_view.html:9
144 144 #: chat/templates/chat/subject_view.html:27
145 145 #: chat/templates/chat/subject_view_participants.html:9
146   -#: chat/templates/chat/subject_view_participants.html:31 chat/views.py:65
  146 +#: chat/templates/chat/subject_view_participants.html:31 chat/views.py:67
147 147 msgid "Messages"
148 148 msgstr "Mensagens"
149 149  
... ... @@ -250,33 +250,33 @@ msgstr &quot;Inativo&quot;
250 250 msgid "Offline"
251 251 msgstr "Offline"
252 252  
253   -#: chat/templatetags/chat_tags.py:63 chat/views.py:422
  253 +#: chat/templatetags/chat_tags.py:63 chat/views.py:429
254 254 msgid "Unfavorite"
255 255 msgstr "Desfavoritar"
256 256  
257   -#: chat/templatetags/chat_tags.py:65 chat/views.py:426
  257 +#: chat/templatetags/chat_tags.py:65 chat/views.py:433
258 258 msgid "Favorite"
259 259 msgstr "Favoritar"
260 260  
261   -#: chat/views.py:104
  261 +#: chat/views.py:106
262 262 msgid "Messages - Participants"
263 263 msgstr "Mensagems - Participantes"
264 264  
265   -#: chat/views.py:159
  265 +#: chat/views.py:161
266 266 #, python-format
267 267 msgid "%s - Participants"
268 268 msgstr "%s - Participantes"
269 269  
270   -#: chat/views.py:214
  270 +#: chat/views.py:216
271 271 #, python-format
272 272 msgid "%s - Messages"
273 273 msgstr "%s - Mensagens"
274 274  
275   -#: chat/views.py:353
  275 +#: chat/views.py:355
276 276 msgid "[Photo]"
277 277 msgstr "[Foto]"
278 278  
279   -#: chat/views.py:365
  279 +#: chat/views.py:367
280 280 #, python-format
281 281 msgid "Last message in %s"
282 282 msgstr "Última mensagem em %s"
... ...
dashboards/locale/pt_BR/LC_MESSAGES/django.po
... ... @@ -8,7 +8,7 @@ msgid &quot;&quot;
8 8 msgstr ""
9 9 "Project-Id-Version: PACKAGE VERSION\n"
10 10 "Report-Msgid-Bugs-To: \n"
11   -"POT-Creation-Date: 2017-08-16 19:24-0300\n"
  11 +"POT-Creation-Date: 2017-08-21 20:43-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"
... ...
file_link/locale/pt_BR/LC_MESSAGES/django.po
... ... @@ -8,7 +8,7 @@ msgid &quot;&quot;
8 8 msgstr ""
9 9 "Project-Id-Version: PACKAGE VERSION\n"
10 10 "Report-Msgid-Bugs-To: \n"
11   -"POT-Creation-Date: 2017-08-16 19:24-0300\n"
  11 +"POT-Creation-Date: 2017-08-21 20:43-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"
... ...
goals/locale/pt_BR/LC_MESSAGES/django.po
... ... @@ -8,7 +8,7 @@ msgid &quot;&quot;
8 8 msgstr ""
9 9 "Project-Id-Version: PACKAGE VERSION\n"
10 10 "Report-Msgid-Bugs-To: \n"
11   -"POT-Creation-Date: 2017-08-16 19:24-0300\n"
  11 +"POT-Creation-Date: 2017-08-21 20:43-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"
... ... @@ -81,7 +81,7 @@ msgid &quot;Goal&quot;
81 81 msgstr "Meta"
82 82  
83 83 #: goals/models.py:15 goals/templates/goals/_answered.html:20
84   -#: goals/views.py:1108
  84 +#: goals/views.py:1112
85 85 msgid "Goals"
86 86 msgstr "Metas"
87 87  
... ... @@ -169,7 +169,7 @@ msgid &quot;Wished period&quot;
169 169 msgstr "Período desejado"
170 170  
171 171 #: goals/templates/goals/_form.html:402
172   -#: goals/templates/goals/_form_submit.html:63
  172 +#: goals/templates/goals/_form_submit.html:69
173 173 msgid "Save"
174 174 msgstr "Salvar"
175 175  
... ... @@ -189,11 +189,11 @@ msgstr &quot;Adicionar nova notificação&quot;
189 189 msgid "Remove this"
190 190 msgstr "Remover essa notificação"
191 191  
192   -#: goals/templates/goals/_form_submit.html:54
  192 +#: goals/templates/goals/_form_submit.html:58
193 193 msgid "There are obstacles to your activities?"
194 194 msgstr "Existem impedimentos para as suas atividades?"
195 195  
196   -#: goals/templates/goals/_form_submit.html:55
  196 +#: goals/templates/goals/_form_submit.html:59
197 197 msgid "Type here the dificulties that may harm your performance"
198 198 msgstr "Digite aqui os obstáculos que podem prejudicar o seu desempenho."
199 199  
... ... @@ -369,7 +369,7 @@ msgstr &quot;Editar: Metas de Tópico&quot;
369 369 msgid "Update My Goals"
370 370 msgstr "Atualizar Minhas Metas"
371 371  
372   -#: goals/templates/goals/view.html:19 goals/templatetags/goals_filters.py:72
  372 +#: goals/templates/goals/view.html:19 goals/templatetags/goals_filters.py:73
373 373 #: goals/views.py:235
374 374 msgid "My Goals"
375 375 msgstr "Minhas Metas"
... ... @@ -378,37 +378,37 @@ msgstr &quot;Minhas Metas&quot;
378 378 msgid "Goal stabilished"
379 379 msgstr "Meta estabelecida"
380 380  
381   -#: goals/templates/goals/view.html:83
  381 +#: goals/templates/goals/view.html:84
382 382 msgid "Update Goals"
383 383 msgstr "Atualizar Metas"
384 384  
385   -#: goals/templatetags/goals_filters.py:59
  385 +#: goals/templatetags/goals_filters.py:60
386 386 msgid "Visualized"
387 387 msgstr "Visualizou"
388 388  
389   -#: goals/templatetags/goals_filters.py:61
  389 +#: goals/templatetags/goals_filters.py:62
390 390 msgid "Added"
391 391 msgstr "Adicionou"
392 392  
393   -#: goals/templatetags/goals_filters.py:63
  393 +#: goals/templatetags/goals_filters.py:64
394 394 msgid "Updated"
395 395 msgstr "Atualizou"
396 396  
397   -#: goals/templatetags/goals_filters.py:65 goals/views.py:1088
  397 +#: goals/templatetags/goals_filters.py:66 goals/views.py:1092
398 398 msgid "Submitted"
399 399 msgstr "Submeteu"
400 400  
401   -#: goals/templatetags/goals_filters.py:76
  401 +#: goals/templatetags/goals_filters.py:77
402 402 #, python-format
403 403 msgid "%s Instance"
404 404 msgstr "Instância de %s"
405 405  
406   -#: goals/utils.py:59 goals/views.py:1179
  406 +#: goals/utils.py:59 goals/views.py:1183
407 407 #, python-format
408 408 msgid "Last message in %s"
409 409 msgstr "Última mensagem em %s"
410 410  
411   -#: goals/views.py:354 goals/views.py:490 goals/views.py:608
  411 +#: goals/views.py:354 goals/views.py:490 goals/views.py:612
412 412 #, python-format
413 413 msgid "#Dificulty(ies) found in %s"
414 414 msgstr "#Dificuldade(s) comunicada(s) em %s"
... ... @@ -418,80 +418,87 @@ msgstr &quot;#Dificuldade(s) comunicada(s) em %s&quot;
418 418 msgid "Your goals for %s was save successfully!"
419 419 msgstr "Suas metas para %s foram salvas com sucesso!"
420 420  
421   -#: goals/views.py:632
  421 +#: goals/views.py:561
  422 +#, python-format
  423 +msgid ""
  424 +"The date limit to submit your Goals specification for the topic %s has "
  425 +"passed, so you can't edit your values!"
  426 +msgstr "A data limite para submeter suas Metas para o tópico %s passou, então você não pode editar seus valores!"
  427 +
  428 +#: goals/views.py:636
422 429 #, python-format
423 430 msgid "Your goals for %s was update successfully!"
424 431 msgstr "Suas metas para %s foram atualizadas com sucesso!"
425 432  
426   -#: goals/views.py:683 goals/views.py:697 goals/views.py:722 goals/views.py:841
427   -#: goals/views.py:855 goals/views.py:865
  433 +#: goals/views.py:687 goals/views.py:701 goals/views.py:726 goals/views.py:845
  434 +#: goals/views.py:859 goals/views.py:869
428 435 msgid "Visualize"
429 436 msgstr "Visualizar"
430 437  
431   -#: goals/views.py:683 goals/views.py:697 goals/views.py:722 goals/views.py:841
432   -#: goals/views.py:855 goals/views.py:865
  438 +#: goals/views.py:687 goals/views.py:701 goals/views.py:726 goals/views.py:845
  439 +#: goals/views.py:859 goals/views.py:869
433 440 msgid "Submit"
434 441 msgstr "Submeter"
435 442  
436   -#: goals/views.py:785
  443 +#: goals/views.py:789
437 444 msgid "Create Topic Goals"
438 445 msgstr "Adicionar Metas do Tópico"
439 446  
440   -#: goals/views.py:796
  447 +#: goals/views.py:800
441 448 #, python-format
442 449 msgid "The Goals specification for the topic %s was realized successfully!"
443 450 msgstr "A Especificação de Metas para o tópico %s foi realizada com sucesso!"
444 451  
445   -#: goals/views.py:920
  452 +#: goals/views.py:924
446 453 msgid "Update Topic Goals"
447 454 msgstr "Atualizar Metas do Tópico"
448 455  
449   -#: goals/views.py:931
  456 +#: goals/views.py:935
450 457 #, python-format
451 458 msgid "The Goals specification for the topic %s was updated successfully!"
452 459 msgstr "A Especificação de Metas para o tópico %s foi atualizada com sucesso!"
453 460  
454   -#: goals/views.py:967
  461 +#: goals/views.py:971
455 462 #, python-format
456 463 msgid "The Goals specification of the topic %s was removed successfully!"
457 464 msgstr "A Especificação de Metas para o tópico %s foi removida com sucesso!"
458 465  
459   -#: goals/views.py:1057
  466 +#: goals/views.py:1061
460 467 msgid "Goals Reports"
461 468 msgstr "Relatórios de metas"
462 469  
463   -#: goals/views.py:1076
  470 +#: goals/views.py:1080
464 471 msgid "Realized"
465 472 msgstr "Realizada"
466 473  
467   -#: goals/views.py:1076
  474 +#: goals/views.py:1080
468 475 msgid "Unrealized"
469 476 msgstr "Não Realizada"
470 477  
471   -#: goals/views.py:1076
  478 +#: goals/views.py:1080
472 479 msgid "Historic"
473 480 msgstr "Histórico"
474 481  
475   -#: goals/views.py:1088
  482 +#: goals/views.py:1092
476 483 msgid "View"
477 484 msgstr "Visualizar"
478 485  
479   -#: goals/views.py:1119
  486 +#: goals/views.py:1123
480 487 msgid "Actions about resource"
481 488 msgstr "Ações sobre o recurso"
482 489  
483   -#: goals/views.py:1120
  490 +#: goals/views.py:1124
484 491 msgid "Quantity"
485 492 msgstr "Quantidade"
486 493  
487   -#: goals/views.py:1167
  494 +#: goals/views.py:1171
488 495 msgid "[Photo]"
489 496 msgstr "[Imagem]"
490 497  
491   -#: goals/views.py:1187
  498 +#: goals/views.py:1191
492 499 msgid "The message was successfull sent!"
493 500 msgstr "A mensagem foi enviada com sucesso!"
494 501  
495   -#: goals/views.py:1189
  502 +#: goals/views.py:1193
496 503 msgid "No user selected!"
497 504 msgstr "Nenhum usuário selecionado!"
... ...
goals/templates/goals/view.html
1 1 {% extends 'subjects/view.html' %}
2 2  
3   -{% load static i18n pagination permissions_tags subject_counter %}
  3 +{% load static i18n pagination permissions_tags subject_counter goals_filters %}
4 4 {% load django_bootstrap_breadcrumbs %}
5 5  
6 6 {% block style %}
... ... @@ -77,11 +77,13 @@
77 77 </div>
78 78 {% endfor %}
79 79  
80   - <hr />
  80 + {% if not goal|is_close %}
  81 + <hr />
81 82  
82   - <div class="text-center">
83   - <a href="{% url 'goals:update_submit' goal.slug %}" class="btn btn-success btn-raised">{% trans 'Update Goals' %}</a>
84   - </div>
  83 + <div class="text-center">
  84 + <a href="{% url 'goals:update_submit' goal.slug %}" class="btn btn-success btn-raised">{% trans 'Update Goals' %}</a>
  85 + </div>
  86 + {% endif %}
85 87 </div>
86 88 </div>
87 89 {% endblock %}
... ...
goals/templatetags/goals_filters.py
1 1 from django import template
  2 +from django.utils import timezone
2 3 from django.utils.translation import ugettext_lazy as _
3 4  
4 5 from goals.models import MyGoals
... ... @@ -73,4 +74,11 @@ def log_object(log):
73 74  
74 75 name = log.context['goals_name']
75 76  
76   - return _("%s Instance")%(name)
77 77 \ No newline at end of file
  78 + return _("%s Instance")%(name)
  79 +
  80 +@register.filter(name = 'is_close')
  81 +def is_close(goal):
  82 + if goal.limit_submission_date < timezone.now():
  83 + return True
  84 +
  85 + return False
78 86 \ No newline at end of file
... ...
goals/views.py
... ... @@ -31,7 +31,7 @@ from webpage.forms import FormModalMessage
31 31  
32 32 from django.db.models import Q
33 33 from django.template.loader import render_to_string
34   -from django.utils import formats
  34 +from django.utils import formats, timezone
35 35 import textwrap
36 36 from django.utils.html import strip_tags
37 37 import json
... ... @@ -557,6 +557,10 @@ class UpdateSubmit(LoginRequiredMixin, LogMixin, generic.UpdateView):
557 557 if not has_resource_permissions(request.user, goals):
558 558 return redirect(reverse_lazy('subjects:home'))
559 559  
  560 + if goals.limit_submission_date < timezone.now():
  561 + messages.error(self.request, _('The date limit to submit your Goals specification for the topic %s has passed, so you can\'t edit your values!')%(goals.topic.name))
  562 + return redirect(reverse_lazy('goals:view', kwargs = {'slug': slug}))
  563 +
560 564 return super(UpdateSubmit, self).dispatch(request, *args, **kwargs)
561 565  
562 566 def get(self, request, *args, **kwargs):
... ...
links/locale/pt_BR/LC_MESSAGES/django.po
... ... @@ -8,7 +8,7 @@ msgid &quot;&quot;
8 8 msgstr ""
9 9 "Project-Id-Version: PACKAGE VERSION\n"
10 10 "Report-Msgid-Bugs-To: \n"
11   -"POT-Creation-Date: 2017-08-16 19:24-0300\n"
  11 +"POT-Creation-Date: 2017-08-21 20:43-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"
... ...
log/locale/pt_BR/LC_MESSAGES/django.po
... ... @@ -8,7 +8,7 @@ msgid &quot;&quot;
8 8 msgstr ""
9 9 "Project-Id-Version: PACKAGE VERSION\n"
10 10 "Report-Msgid-Bugs-To: \n"
11   -"POT-Creation-Date: 2017-08-16 19:24-0300\n"
  11 +"POT-Creation-Date: 2017-08-21 20:43-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"
... ...
mailsender/locale/pt_BR/LC_MESSAGES/django.po
... ... @@ -8,7 +8,7 @@ msgid &quot;&quot;
8 8 msgstr ""
9 9 "Project-Id-Version: PACKAGE VERSION\n"
10 10 "Report-Msgid-Bugs-To: \n"
11   -"POT-Creation-Date: 2017-08-16 19:24-0300\n"
  11 +"POT-Creation-Date: 2017-08-21 20:43-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"
... ...
mural/locale/pt_BR/LC_MESSAGES/django.po
... ... @@ -8,7 +8,7 @@ msgid &quot;&quot;
8 8 msgstr ""
9 9 "Project-Id-Version: PACKAGE VERSION\n"
10 10 "Report-Msgid-Bugs-To: \n"
11   -"POT-Creation-Date: 2017-08-16 19:24-0300\n"
  11 +"POT-Creation-Date: 2017-08-21 20:43-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"
... ...
news/locale/pt_BR/LC_MESSAGES/django.po
... ... @@ -8,7 +8,7 @@ msgid &quot;&quot;
8 8 msgstr ""
9 9 "Project-Id-Version: PACKAGE VERSION\n"
10 10 "Report-Msgid-Bugs-To: \n"
11   -"POT-Creation-Date: 2017-08-16 19:24-0300\n"
  11 +"POT-Creation-Date: 2017-08-21 20:43-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"
... ...
notifications/locale/pt_BR/LC_MESSAGES/django.po
... ... @@ -8,7 +8,7 @@ msgid &quot;&quot;
8 8 msgstr ""
9 9 "Project-Id-Version: PACKAGE VERSION\n"
10 10 "Report-Msgid-Bugs-To: \n"
11   -"POT-Creation-Date: 2017-08-16 19:24-0300\n"
  11 +"POT-Creation-Date: 2017-08-21 20:43-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"
... ...
pdf_file/locale/pt_BR/LC_MESSAGES/django.po
... ... @@ -8,7 +8,7 @@ msgid &quot;&quot;
8 8 msgstr ""
9 9 "Project-Id-Version: PACKAGE VERSION\n"
10 10 "Report-Msgid-Bugs-To: \n"
11   -"POT-Creation-Date: 2017-08-16 19:24-0300\n"
  11 +"POT-Creation-Date: 2017-08-21 20:43-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"
... ...
pendencies/locale/pt_BR/LC_MESSAGES/django.po
... ... @@ -8,7 +8,7 @@ msgid &quot;&quot;
8 8 msgstr ""
9 9 "Project-Id-Version: PACKAGE VERSION\n"
10 10 "Report-Msgid-Bugs-To: \n"
11   -"POT-Creation-Date: 2017-08-16 19:24-0300\n"
  11 +"POT-Creation-Date: 2017-08-21 20:43-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"
... ...
reports/locale/pt_BR/LC_MESSAGES/django.po
... ... @@ -8,7 +8,7 @@ msgid &quot;&quot;
8 8 msgstr ""
9 9 "Project-Id-Version: PACKAGE VERSION\n"
10 10 "Report-Msgid-Bugs-To: \n"
11   -"POT-Creation-Date: 2017-08-16 19:24-0300\n"
  11 +"POT-Creation-Date: 2017-08-21 20:43-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"
... ...
security/locale/pt_BR/LC_MESSAGES/django.po
... ... @@ -8,7 +8,7 @@ msgid &quot;&quot;
8 8 msgstr ""
9 9 "Project-Id-Version: PACKAGE VERSION\n"
10 10 "Report-Msgid-Bugs-To: \n"
11   -"POT-Creation-Date: 2017-08-16 19:24-0300\n"
  11 +"POT-Creation-Date: 2017-08-21 20:43-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"
... ...
students_group/locale/pt_BR/LC_MESSAGES/django.po
... ... @@ -8,7 +8,7 @@ msgid &quot;&quot;
8 8 msgstr ""
9 9 "Project-Id-Version: PACKAGE VERSION\n"
10 10 "Report-Msgid-Bugs-To: \n"
11   -"POT-Creation-Date: 2017-08-16 19:24-0300\n"
  11 +"POT-Creation-Date: 2017-08-21 20:43-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"
... ...
subjects/locale/pt_BR/LC_MESSAGES/django.po
... ... @@ -8,7 +8,7 @@ msgid &quot;&quot;
8 8 msgstr ""
9 9 "Project-Id-Version: PACKAGE VERSION\n"
10 10 "Report-Msgid-Bugs-To: \n"
11   -"POT-Creation-Date: 2017-08-16 19:24-0300\n"
  11 +"POT-Creation-Date: 2017-08-21 20:43-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"
... ...
themes/locale/pt_BR/LC_MESSAGES/django.po
... ... @@ -8,7 +8,7 @@ msgid &quot;&quot;
8 8 msgstr ""
9 9 "Project-Id-Version: PACKAGE VERSION\n"
10 10 "Report-Msgid-Bugs-To: \n"
11   -"POT-Creation-Date: 2017-08-16 19:24-0300\n"
  11 +"POT-Creation-Date: 2017-08-21 20:43-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"
... ...
topics/locale/pt_BR/LC_MESSAGES/django.po
... ... @@ -8,7 +8,7 @@ msgid &quot;&quot;
8 8 msgstr ""
9 9 "Project-Id-Version: PACKAGE VERSION\n"
10 10 "Report-Msgid-Bugs-To: \n"
11   -"POT-Creation-Date: 2017-08-16 19:24-0300\n"
  11 +"POT-Creation-Date: 2017-08-21 20:43-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"
... ...
users/locale/pt_BR/LC_MESSAGES/django.po
... ... @@ -8,7 +8,7 @@ msgid &quot;&quot;
8 8 msgstr ""
9 9 "Project-Id-Version: PACKAGE VERSION\n"
10 10 "Report-Msgid-Bugs-To: \n"
11   -"POT-Creation-Date: 2017-08-16 19:24-0300\n"
  11 +"POT-Creation-Date: 2017-08-21 20:43-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"
... ...
webconference/locale/pt_BR/LC_MESSAGES/django.po
... ... @@ -8,7 +8,7 @@ msgid &quot;&quot;
8 8 msgstr ""
9 9 "Project-Id-Version: PACKAGE VERSION\n"
10 10 "Report-Msgid-Bugs-To: \n"
11   -"POT-Creation-Date: 2017-08-16 19:24-0300\n"
  11 +"POT-Creation-Date: 2017-08-21 20:43-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"
... ...
webpage/locale/pt_BR/LC_MESSAGES/django.po
... ... @@ -8,7 +8,7 @@ msgid &quot;&quot;
8 8 msgstr ""
9 9 "Project-Id-Version: PACKAGE VERSION\n"
10 10 "Report-Msgid-Bugs-To: \n"
11   -"POT-Creation-Date: 2017-08-16 19:24-0300\n"
  11 +"POT-Creation-Date: 2017-08-21 20:43-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"
... ...
youtube_video/locale/pt_BR/LC_MESSAGES/django.po
... ... @@ -8,7 +8,7 @@ msgid &quot;&quot;
8 8 msgstr ""
9 9 "Project-Id-Version: PACKAGE VERSION\n"
10 10 "Report-Msgid-Bugs-To: \n"
11   -"POT-Creation-Date: 2017-08-16 19:24-0300\n"
  11 +"POT-Creation-Date: 2017-08-21 20:43-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"
... ...