translation and text fix

This commit is contained in:
Arvind Tiwari 2017-09-19 01:08:27 +05:30
commit 3ef07758ef
3 changed files with 9 additions and 9 deletions

View file

@ -929,7 +929,7 @@ class VirtualMachineView(LoginRequiredMixin, View):
pass
storage.used = True
return HttpResponse(
json.dumps({'redirect': self.get_success_url()}),
json.dumps({'text': ugettext('Terminated')}),
content_type="application/json"
)
else: