Commit a780b8fb32b1ed35410e3b244a1ba04ef12d2d23
1 parent
8cbfdf52
Exists in
master
and in
5 other branches
Included translations and fixed padronization issue [Issue:#398]
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
links/templates/links/update_link.html
| ... | ... | @@ -63,14 +63,14 @@ |
| 63 | 63 | $('#requisicoes_ajax').empty(); |
| 64 | 64 | $('#link_edit_{{ link.slug }}').replaceWith(data); |
| 65 | 65 | $('#link_{{ link.slug }}').replaceWith(data); |
| 66 | - alertify.alert("Sucessfully Updated!") | |
| 66 | + alertify.success(" {% trans 'Link Sucessfully Updated!' %} "); | |
| 67 | 67 | }, |
| 68 | 68 | error: function(data){ |
| 69 | 69 | $("div.modal-backdrop.fade.in").remove(); |
| 70 | 70 | $('#requisicoes_ajax').empty(); |
| 71 | 71 | $('#requisicoes_ajax').append(data.responseText); |
| 72 | 72 | $('#linksModalEdit').modal(); |
| 73 | - alertify.alert('Invalid link, insert a valid one!'); | |
| 73 | + alertify.error("{% trans 'Invalid link, insert a valid one!' %}"); | |
| 74 | 74 | } |
| 75 | 75 | }); |
| 76 | 76 | event.preventDefault(); | ... | ... |