Commit e76ea01e3095970808ae211ca5382c099d12d275

Authored by Felipe Henrique de Almeida Bormann
1 parent 93aa9118

updated translations on links app

links/locale/pt_BR/LC_MESSAGES/django.po
@@ -23,7 +23,7 @@ msgstr "" @@ -23,7 +23,7 @@ msgstr ""
23 23
24 #: links/forms.py:28 24 #: links/forms.py:28
25 msgid "Website URL" 25 msgid "Website URL"
26 -msgstr "" 26 +msgstr "URL do site:"
27 27
28 #: links/forms.py:30 28 #: links/forms.py:30
29 msgid "It sets a limit date to finish viewing the website link " 29 msgid "It sets a limit date to finish viewing the website link "
@@ -31,7 +31,7 @@ msgstr "" @@ -31,7 +31,7 @@ msgstr ""
31 31
32 #: links/forms.py:36 32 #: links/forms.py:36
33 msgid "Link name" 33 msgid "Link name"
34 -msgstr "" 34 +msgstr "Nome do Link"
35 35
36 #: links/forms.py:37 36 #: links/forms.py:37
37 msgid "End View" 37 msgid "End View"
@@ -55,7 +55,7 @@ msgstr "" @@ -55,7 +55,7 @@ msgstr ""
55 55
56 #: links/forms.py:80 56 #: links/forms.py:80
57 msgid "There is already a link with this name on this subject" 57 msgid "There is already a link with this name on this subject"
58 -msgstr "" 58 +msgstr "Ja existe um link com este nome neste Assunto"
59 59
60 #: links/models.py:13 60 #: links/models.py:13
61 msgid "simpler_description" 61 msgid "simpler_description"
@@ -63,7 +63,7 @@ msgstr "" @@ -63,7 +63,7 @@ msgstr ""
63 63
64 #: links/models.py:15 64 #: links/models.py:15
65 msgid "Link_URL" 65 msgid "Link_URL"
66 -msgstr "" 66 +msgstr "URL do link"
67 67
68 #: links/models.py:17 links/models.py:19 68 #: links/models.py:17 links/models.py:19
69 msgid "Initial View" 69 msgid "Initial View"
@@ -95,27 +95,27 @@ msgstr "" @@ -95,27 +95,27 @@ msgstr ""
95 95
96 #: links/templates/links/_form.html:407 96 #: links/templates/links/_form.html:407
97 msgid "Save" 97 msgid "Save"
98 -msgstr "" 98 +msgstr "Salvar"
99 99
100 #: links/templates/links/create.html:20 100 #: links/templates/links/create.html:20
101 msgid "Create Website Link" 101 msgid "Create Website Link"
102 -msgstr "" 102 +msgstr "Criar Link do Website"
103 103
104 #: links/templates/links/delete.html:9 104 #: links/templates/links/delete.html:9
105 msgid "Are you sure you want delete the Website link" 105 msgid "Are you sure you want delete the Website link"
106 -msgstr "" 106 +msgstr "Tem certeza que voce deseja remover esse Link para Website"
107 107
108 #: links/templates/links/delete.html:14 108 #: links/templates/links/delete.html:14
109 msgid "Close" 109 msgid "Close"
110 -msgstr "" 110 +msgstr "Fechar"
111 111
112 #: links/templates/links/delete.html:17 112 #: links/templates/links/delete.html:17
113 msgid "Delete" 113 msgid "Delete"
114 -msgstr "" 114 +msgstr "Remover"
115 115
116 #: links/templates/links/update.html:20 116 #: links/templates/links/update.html:20
117 msgid "Edit: " 117 msgid "Edit: "
118 -msgstr "" 118 +msgstr "Editar: "
119 119
120 #: links/views.py:52 links/views.py:65 links/views.py:224 links/views.py:226 120 #: links/views.py:52 links/views.py:65 links/views.py:224 links/views.py:226
121 #: links/views.py:242 links/views.py:244 121 #: links/views.py:242 links/views.py:244
@@ -131,20 +131,20 @@ msgstr "" @@ -131,20 +131,20 @@ msgstr ""
131 msgid "" 131 msgid ""
132 "The Link \"%s\" was added to the Topic \"%s\" of the virtual environment " 132 "The Link \"%s\" was added to the Topic \"%s\" of the virtual environment "
133 "\"%s\" successfully!" 133 "\"%s\" successfully!"
134 -msgstr "" 134 +msgstr "O link \"%s\" foi adicionado com sucesso ao Topico \"%s\" do ambiente virtual "\"%s\"" "
135 135
136 #: links/views.py:163 136 #: links/views.py:163
137 #, python-format 137 #, python-format
138 msgid "" 138 msgid ""
139 "The Website Link \"%s\" was removed successfully from virtual environment " 139 "The Website Link \"%s\" was removed successfully from virtual environment "
140 "\"%s\"!" 140 "\"%s\"!"
141 -msgstr "" 141 +msgstr "O Link do site \"%s\" foi removido com sucesso do ambiente virtual "\"%s\" " "
142 142
143 #: links/views.py:288 143 #: links/views.py:288
144 msgid "Update Website Link" 144 msgid "Update Website Link"
145 -msgstr "" 145 +msgstr "Atualizar Link do website"
146 146
147 #: links/views.py:299 147 #: links/views.py:299
148 #, python-format 148 #, python-format
149 msgid "The Website Link \"%s\" was updated successfully!" 149 msgid "The Website Link \"%s\" was updated successfully!"
150 -msgstr "" 150 +msgstr "O link do website \"%s\" foi atualizado com sucesso! "
links/views.py
@@ -4,7 +4,6 @@ from .models import Link @@ -4,7 +4,6 @@ from .models import Link
4 from django.utils.translation import ugettext_lazy as _ 4 from django.utils.translation import ugettext_lazy as _
5 from django.core.urlresolvers import reverse_lazy 5 from django.core.urlresolvers import reverse_lazy
6 from django.contrib.auth.mixins import LoginRequiredMixin 6 from django.contrib.auth.mixins import LoginRequiredMixin
7 -  
8 from .forms import LinkForm 7 from .forms import LinkForm
9 from rolepermissions.mixins import HasRoleMixin 8 from rolepermissions.mixins import HasRoleMixin
10 9
subjects/views.py
@@ -398,6 +398,7 @@ class SubjectUpdateView(LoginRequiredMixin, LogMixin, UpdateView): @@ -398,6 +398,7 @@ class SubjectUpdateView(LoginRequiredMixin, LogMixin, UpdateView):
398 super(SubjectUpdateView, self).createLog(self.request.user, self.log_component, self.log_action, self.log_resource, self.log_context) 398 super(SubjectUpdateView, self).createLog(self.request.user, self.log_component, self.log_action, self.log_resource, self.log_context)
399 399
400 messages.success(self.request, _('The Subject "%s" was updated on "%s" Category successfully!')%(self.object.name, self.object.category.name )) 400 messages.success(self.request, _('The Subject "%s" was updated on "%s" Category successfully!')%(self.object.name, self.object.category.name ))
  401 +
401 return reverse_lazy('subjects:index') 402 return reverse_lazy('subjects:index')
402 403
403 class SubjectDeleteView(LoginRequiredMixin, LogMixin, DeleteView): 404 class SubjectDeleteView(LoginRequiredMixin, LogMixin, DeleteView):