Commit 16de1bf618ae6cf29538e3e78b476cd0f2b09564
1 parent
e17eb15c
Exists in
master
and in
5 other branches
Included translations [Issue:#398]
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
links/templates/links/create_link.html
| @@ -58,14 +58,14 @@ | @@ -58,14 +58,14 @@ | ||
| 58 | $('#requisicoes_ajax').empty(); | 58 | $('#requisicoes_ajax').empty(); |
| 59 | $('#list-topic{{ topic.id }}-links').append(data); | 59 | $('#list-topic{{ topic.id }}-links').append(data); |
| 60 | $('#list-topic{{ topic.id }}-links-edit').append(data); | 60 | $('#list-topic{{ topic.id }}-links-edit').append(data); |
| 61 | - alertify.success('Link successfully created!'); | 61 | + alertify.success(" {% trans 'Link successfully created!' %} "); |
| 62 | }, | 62 | }, |
| 63 | error: function(data){ | 63 | error: function(data){ |
| 64 | $("div.modal-backdrop.fade.in").remove(); | 64 | $("div.modal-backdrop.fade.in").remove(); |
| 65 | $('#requisicoes_ajax').empty(); | 65 | $('#requisicoes_ajax').empty(); |
| 66 | $('#requisicoes_ajax').append(data.responseText); | 66 | $('#requisicoes_ajax').append(data.responseText); |
| 67 | $('#createLinksModal').modal('show'); | 67 | $('#createLinksModal').modal('show'); |
| 68 | - alertify.error('Invalid link, insert a valid one!'); | 68 | + alertify.error("{% trans 'Invalid link, insert a valid one!' %}"); |
| 69 | } | 69 | } |
| 70 | }); | 70 | }); |
| 71 | event.preventDefault(); | 71 | event.preventDefault(); |