Commit fcc173798d940916e69a1960bc194d97f2e12d92

Authored by Zambom
1 parent 29c961ba

Adding pendencies app notifications

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-09-07 22:29-0300\n"
  11 +"POT-Creation-Date: 2017-09-10 02:55-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-09-07 22:29-0300\n"
  11 +"POT-Creation-Date: 2017-09-10 02:55-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-09-07 22:29-0300\n"
  11 +"POT-Creation-Date: 2017-09-10 02:55-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/utils.py
... ... @@ -39,7 +39,7 @@ def sendChatPushNotification(user, message):
39 39 if message.image:
40 40 simple_notify += " ".join(_("[Photo]"))
41 41  
42   - device.send_message(data = {"response": response, "title": title, "body": simple_notify, "user_from": message.user.email, "user_name": str(message.user), "user_img": message.user.image_url, "type": chat})
  42 + device.send_message(data = {"response": response, "title": title, "body": simple_notify, "user_from": message.user.email, "user_name": str(message.user), "user_img": message.user.image_url, "type": 'chat'})
43 43  
44 44 def sendMuralPushNotification(user, user_action, message):
45 45 device = FCMDevice.objects.filter(user = user, active = True).first()
... ...
api/views.py
... ... @@ -135,6 +135,8 @@ class LoginViewset(viewsets.ReadOnlyModelViewSet):
135 135 fcm_d.save()
136 136  
137 137 if not fcm_d.pk is None:
  138 + FCMDevice.objects.filter(registration_id = device).exclude(pk = fcm_d.pk).update(active = False)
  139 +
138 140 json_r["message"] = ""
139 141 json_r["type"] = ""
140 142 json_r["title"] = ""
... ...
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-09-07 22:29-0300\n"
  11 +"POT-Creation-Date: 2017-09-10 02:55-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"
... ... @@ -197,13 +197,13 @@ msgstr &quot;A imagem não pode exceder 5MB.&quot;
197 197  
198 198 #: bulletin/templates/bulletin/send_message.html:62
199 199 #: bulletin/templates/bulletin/view.html:235
200   -#: bulletin/templates/bulletin/window_view.html:257
  200 +#: bulletin/templates/bulletin/window_view.html:258
201 201 msgid "Close"
202 202 msgstr "Fechar"
203 203  
204 204 #: bulletin/templates/bulletin/send_message.html:63
205 205 #: bulletin/templates/bulletin/view.html:236
206   -#: bulletin/templates/bulletin/window_view.html:258
  206 +#: bulletin/templates/bulletin/window_view.html:259
207 207 msgid "Send"
208 208 msgstr "Enviar"
209 209  
... ... @@ -212,22 +212,22 @@ msgid &quot;Edit: &quot;
212 212 msgstr "Editar: "
213 213  
214 214 #: bulletin/templates/bulletin/view.html:215
215   -#: bulletin/templates/bulletin/window_view.html:237
  215 +#: bulletin/templates/bulletin/window_view.html:238
216 216 msgid "There are obstructions to your activities?"
217 217 msgstr "Existem impedimentos para as suas atividades?"
218 218  
219 219 #: bulletin/templates/bulletin/view.html:216
220   -#: bulletin/templates/bulletin/window_view.html:238
  220 +#: bulletin/templates/bulletin/window_view.html:239
221 221 msgid "Click here"
222 222 msgstr "Clique aqui"
223 223  
224 224 #: bulletin/templates/bulletin/view.html:216
225   -#: bulletin/templates/bulletin/window_view.html:238
  225 +#: bulletin/templates/bulletin/window_view.html:239
226 226 msgid "to communicate the difficulties that may decrease your performance."
227 227 msgstr "para informar as dificuldades que podem prejudicar seu desempenho."
228 228  
229 229 #: bulletin/templates/bulletin/view.html:231
230   -#: bulletin/templates/bulletin/window_view.html:253
  230 +#: bulletin/templates/bulletin/window_view.html:254
231 231 msgid "Type here the dificulties that may harm your performance"
232 232 msgstr "Escreva aqui as dificuldades que podem diminuir sua performance"
233 233  
... ...
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-09-07 22:29-0300\n"
  11 +"POT-Creation-Date: 2017-09-10 02:55-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-09-07 22:29-0300\n"
  11 +"POT-Creation-Date: 2017-09-10 02:55-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"
... ...
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-09-07 22:29-0300\n"
  11 +"POT-Creation-Date: 2017-09-10 02:55-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-09-07 22:29-0300\n"
  11 +"POT-Creation-Date: 2017-09-10 02:55-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"
... ... @@ -96,6 +96,10 @@ msgstr &quot;Ação não realizada pelo usuário&quot;
96 96 msgid "Wished period"
97 97 msgstr "Período desejado"
98 98  
  99 +#: file_link/templates/file_links/_form.html:237
  100 +msgid "Students"
  101 +msgstr ""
  102 +
99 103 #: file_link/templates/file_links/_form.html:267
100 104 msgid "Attribute students to file link"
101 105 msgstr "Atribuir estudantes ao Link para Arquivo"
... ...
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-09-07 22:29-0300\n"
  11 +"POT-Creation-Date: 2017-09-10 02:55-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"
... ...
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-09-07 22:29-0300\n"
  11 +"POT-Creation-Date: 2017-09-10 02:55-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"
... ... @@ -62,6 +62,10 @@ msgstr &quot;Ação não realizada pelo usuário&quot;
62 62 msgid "Wished period"
63 63 msgstr "Período desejado"
64 64  
  65 +#: links/templates/links/_form.html:222
  66 +msgid "Students"
  67 +msgstr ""
  68 +
65 69 #: links/templates/links/_form.html:252
66 70 msgid "Attribute students to file link"
67 71 msgstr "Atribuir estudantes para o link de arquivo"
... ...
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-09-07 22:29-0300\n"
  11 +"POT-Creation-Date: 2017-09-10 02:55-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-09-07 22:29-0300\n"
  11 +"POT-Creation-Date: 2017-09-10 02:55-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-09-07 22:29-0300\n"
  11 +"POT-Creation-Date: 2017-09-10 02:55-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"
... ... @@ -322,7 +322,7 @@ msgstr &quot;Grupos&quot;
322 322 #: mural/templates/mural/resource_view.html:12
323 323 #: mural/templates/mural/resource_view.html:29
324 324 #: mural/templates/mural/subject_view.html:9
325   -#: mural/templates/mural/subject_view.html:27 mural/views.py:101
  325 +#: mural/templates/mural/subject_view.html:27 mural/views.py:103
326 326 msgid "Mural"
327 327 msgstr "Mural"
328 328  
... ... @@ -334,11 +334,11 @@ msgstr &quot;&quot;
334 334 msgid "(Edited)"
335 335 msgstr "(Editado)"
336 336  
337   -#: mural/templatetags/mural_filters.py:35 mural/views.py:1226
  337 +#: mural/templatetags/mural_filters.py:35 mural/views.py:1240
338 338 msgid "Unfavorite"
339 339 msgstr "Desfavoritar"
340 340  
341   -#: mural/templatetags/mural_filters.py:37 mural/views.py:1230
  341 +#: mural/templatetags/mural_filters.py:37 mural/views.py:1244
342 342 msgid "Favorite"
343 343 msgstr "Favoritar"
344 344  
... ... @@ -358,63 +358,63 @@ msgstr &quot;&quot;
358 358 msgid "Offline"
359 359 msgstr ""
360 360  
361   -#: mural/views.py:154
  361 +#: mural/views.py:151
362 362 #, python-format
363 363 msgid "%s has made a post in General"
364 364 msgstr "%s postou em Geral"
365 365  
366   -#: mural/views.py:258 mural/views.py:522 mural/views.py:858
  366 +#: mural/views.py:263 mural/views.py:530 mural/views.py:869
367 367 msgid "Are you sure you want to delete this post?"
368 368 msgstr "Você tem certeza que deseja deletar essa postagem?"
369 369  
370   -#: mural/views.py:366
  370 +#: mural/views.py:371
371 371 msgid "Mural - Per Category"
372 372 msgstr "Mural - Por Categoria"
373 373  
374   -#: mural/views.py:411 mural/views.py:717 mural/views.py:1152
  374 +#: mural/views.py:411 mural/views.py:720 mural/views.py:1158
375 375 #, python-format
376 376 msgid "%s has made a post in %s"
377 377 msgstr "%s postou em %s"
378 378  
379   -#: mural/views.py:655
  379 +#: mural/views.py:663
380 380 msgid "Mural - Per Subject"
381 381 msgstr "Mural - Por Assunto"
382 382  
383   -#: mural/views.py:969 mural/views.py:1085
  383 +#: mural/views.py:980 mural/views.py:1096
384 384 #, python-format
385 385 msgid "%s - Mural"
386 386 msgstr "%s - Mural"
387 387  
388   -#: mural/views.py:1207
  388 +#: mural/views.py:1221
389 389 msgid "Your post was published successfully!"
390 390 msgstr "Sua postagem foi publicada com sucesso!"
391 391  
392   -#: mural/views.py:1209
  392 +#: mural/views.py:1223
393 393 msgid "Your post was edited successfully!"
394 394 msgstr "Sua postagem foi editada com sucesso!"
395 395  
396   -#: mural/views.py:1216
  396 +#: mural/views.py:1230
397 397 msgid "Post deleted successfully!"
398 398 msgstr "Postagem deletada com sucesso!"
399 399  
400   -#: mural/views.py:1284
  400 +#: mural/views.py:1293
401 401 #, python-format
402 402 msgid "%s has commented in a post"
403 403 msgstr "%s comentou em um postagem"
404 404  
405   -#: mural/views.py:1443
  405 +#: mural/views.py:1460
406 406 msgid "Are you sure you want to delete this comment?"
407 407 msgstr "Você tem certeza que deseja deletar esse comentário?"
408 408  
409   -#: mural/views.py:1510
  409 +#: mural/views.py:1527
410 410 msgid "Your comment was published successfully!"
411 411 msgstr "Seu comentário foi publicado com sucesso!"
412 412  
413   -#: mural/views.py:1512
  413 +#: mural/views.py:1529
414 414 msgid "Your comment was edited successfully!"
415 415 msgstr "Seu comentário foi editado com sucesso!"
416 416  
417   -#: mural/views.py:1519
  417 +#: mural/views.py:1536
418 418 msgid "Comment deleted successfully!"
419 419 msgstr "Comentário deletado com sucesso!"
420 420  
... ...
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-09-07 22:29-0300\n"
  11 +"POT-Creation-Date: 2017-09-10 02:55-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-09-07 22:29-0300\n"
  11 +"POT-Creation-Date: 2017-09-10 02:55-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/utils.py
... ... @@ -9,6 +9,9 @@ from log.models import Log
9 9 from pendencies.models import Pendencies
10 10 from users.models import User
11 11  
  12 +from fcm_django.models import FCMDevice
  13 +from fcm_django.fcm import fcm_send_message
  14 +
12 15 from .models import Notification
13 16  
14 17 def get_resource_users(resource):
... ... @@ -17,6 +20,18 @@ def get_resource_users(resource):
17 20  
18 21 return User.objects.filter(Q(resource_students = resource) | Q(group_participants__resource_groups = resource)).distinct()
19 22  
  23 +def notificate():
  24 + users = User.objects.all()
  25 +
  26 + for user in users:
  27 + notifications = Notification.objects.filter(user = user, viewed = False, creation_date = timezone.now()).count()
  28 +
  29 + if notifications > 0:
  30 + device = FCMDevice.objects.filter(user = user, active = True).first()
  31 +
  32 + if not device is None:
  33 + device.send_message(data = {"body": notifications, "type": "pendency"})
  34 +
20 35 def set_notifications():
21 36 pendencies = Pendencies.objects.filter(begin_date__date__lte = timezone.now(), resource__visible = True)
22 37  
... ... @@ -65,6 +80,8 @@ def set_notifications():
65 80  
66 81 notification.save()
67 82  
  83 + notificate()
  84 +
68 85 def get_order_by(order):
69 86 if order is None or order == "":
70 87 return ["-creation_date"]
... ...
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-09-07 22:29-0300\n"
  11 +"POT-Creation-Date: 2017-09-10 02:55-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"
... ... @@ -84,6 +84,10 @@ msgstr &quot;Ação não permitida pelo usuário&quot;
84 84 msgid "Wished period"
85 85 msgstr "Período desejado"
86 86  
  87 +#: pdf_file/templates/pdf_file/_form.html:239
  88 +msgid "Students"
  89 +msgstr ""
  90 +
87 91 #: pdf_file/templates/pdf_file/_form.html:269
88 92 msgid "Attribute students to file link"
89 93 msgstr ""
... ...
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-09-07 22:29-0300\n"
  11 +"POT-Creation-Date: 2017-09-10 02:55-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-09-07 22:29-0300\n"
  11 +"POT-Creation-Date: 2017-09-10 02:55-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-09-07 22:29-0300\n"
  11 +"POT-Creation-Date: 2017-09-10 02:55-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-09-07 22:29-0300\n"
  11 +"POT-Creation-Date: 2017-09-10 02:55-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"
... ... @@ -38,7 +38,8 @@ msgstr &quot;Descrição&quot;
38 38 msgid "Subject"
39 39 msgstr "Assunto"
40 40  
41   -#: students_group/models.py:13 students_group/templates/groups/index.html:75
  41 +#: students_group/models.py:13 students_group/templates/groups/_form.html:14
  42 +#: students_group/templates/groups/index.html:75
42 43 msgid "Participants"
43 44 msgstr "Participantes"
44 45  
... ...
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-09-07 22:29-0300\n"
  11 +"POT-Creation-Date: 2017-09-10 02:55-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"
... ... @@ -86,7 +86,7 @@ msgstr &quot;Início de inscrição&quot;
86 86 msgid "End Subscribe"
87 87 msgstr "Encerramento de inscrição"
88 88  
89   -#: subjects/models.py:42
  89 +#: subjects/models.py:42 subjects/templates/subjects/_form.html:14
90 90 msgid "Students"
91 91 msgstr "Estudantes"
92 92  
... ... @@ -98,6 +98,12 @@ msgstr &quot;Tamanho máximo de upload&quot;
98 98 msgid "Attribute students to subject"
99 99 msgstr "Atribuir estudantes ao assunto"
100 100  
  101 +#: subjects/templates/subjects/_form.html:34
  102 +#, fuzzy
  103 +#| msgid "Professor(s) "
  104 +msgid "Professor"
  105 +msgstr "Professor(es) "
  106 +
101 107 #: subjects/templates/subjects/_form.html:41
102 108 msgid "Attribute professors to subject"
103 109 msgstr "Atribuir professores ao assunto"
... ... @@ -146,7 +152,7 @@ msgstr &quot;Grupos&quot;
146 152 #: subjects/templates/subjects/restore.html:16
147 153 #: subjects/templates/subjects/restore.html:44
148 154 #: subjects/templates/subjects/restore.html:59
149   -#: subjects/templates/subjects/restore.html:92
  155 +#: subjects/templates/subjects/restore.html:102
150 156 #: subjects/templates/subjects/subject_card.html:34
151 157 #: subjects/templates/subjects/view.html:56
152 158 msgid "Restore"
... ... @@ -286,6 +292,10 @@ msgstr &quot;Escolha seu arquivo...&quot;
286 292 msgid "Click or drop the file here"
287 293 msgstr "Clique ou solte o arquivo aqui"
288 294  
  295 +#: subjects/templates/subjects/restore.html:96
  296 +msgid "File not supported."
  297 +msgstr ""
  298 +
289 299 #: subjects/templates/subjects/subject_card.html:39
290 300 #: subjects/templates/subjects/view.html:61
291 301 msgid "Analytics"
... ...
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-09-07 22:29-0300\n"
  11 +"POT-Creation-Date: 2017-09-10 02:55-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-09-07 22:29-0300\n"
  11 +"POT-Creation-Date: 2017-09-10 02:55-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-09-07 22:29-0300\n"
  11 +"POT-Creation-Date: 2017-09-10 02:55-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-09-07 22:29-0300\n"
  11 +"POT-Creation-Date: 2017-09-10 02:55-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"
... ... @@ -97,6 +97,10 @@ msgstr &quot;Ação não executada pelo usuário&quot;
97 97 msgid "Wished period"
98 98 msgstr "Período desejado"
99 99  
  100 +#: webconference/templates/webconference/_form.html:253
  101 +msgid "Students"
  102 +msgstr ""
  103 +
100 104 #: webconference/templates/webconference/_form.html:283
101 105 msgid "Attribute students to Web Conference"
102 106 msgstr "Atribuir alunos à web conferência"
... ...
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-09-07 22:29-0300\n"
  11 +"POT-Creation-Date: 2017-09-10 02:55-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"
... ... @@ -78,6 +78,10 @@ msgstr &quot;Ação não realizada pelo usuário&quot;
78 78 msgid "Wished period"
79 79 msgstr "Período desejado"
80 80  
  81 +#: webpage/templates/webpages/_form.html:206
  82 +msgid "Students"
  83 +msgstr ""
  84 +
81 85 #: webpage/templates/webpages/_form.html:236
82 86 msgid "Attribute students to webpage"
83 87 msgstr "Atribuir estudantes à Página Web"
... ...
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-09-07 22:29-0300\n"
  11 +"POT-Creation-Date: 2017-09-10 02:55-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"
... ... @@ -30,7 +30,7 @@ msgstr &quot;Título do Vídeo&quot;
30 30 msgid "This subject already has a resource with this name"
31 31 msgstr "Esse assunto já possui um recurso com esse nome"
32 32  
33   -#: youtube_video/forms.py:73
  33 +#: youtube_video/forms.py:75
34 34 msgid "Invalid URL. It should be an YouTube link."
35 35 msgstr "URL inválida. Ela deve ser uma URL de um vídeo do YouTube."
36 36  
... ... @@ -66,6 +66,10 @@ msgstr &quot;Ação não realizada pelo usuário&quot;
66 66 msgid "Wished period"
67 67 msgstr "Período desejado"
68 68  
  69 +#: youtube_video/templates/youtube/_form.html:212
  70 +msgid "Students"
  71 +msgstr ""
  72 +
69 73 #: youtube_video/templates/youtube/_form.html:242
70 74 msgid "Attribute students to YouTube Video"
71 75 msgstr "Atribuir estudantes ao Vídeo do YouTube"
... ...