translation and text fix

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

View file

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-09-18 23:16+0530\n"
"POT-Creation-Date: 2017-09-19 01:04+0530\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -575,10 +575,10 @@ msgstr "Bist Du sicher, dass Du Deine virtuelle Maschine beenden willst"
msgid "OK"
msgstr ""
msgid "Your Virtual Machine"
msgstr "Deine Maschinen Detail"
msgid "Your virtual machine"
msgstr "Deine Virtuelle Machine (VM)"
msgid "was successfully terminated!"
msgid "is successfully terminated!"
msgstr "wurde erfolgreich beendet!"
msgid "Close"
@ -651,12 +651,12 @@ msgid ""
"contact Data Center Light Support."
msgstr "Kontaktiere den Data Center Light Support."
msgid "Error terminating VM"
msgstr "Fehler beenden VM"
msgid "Terminated"
msgstr "Beendet"
msgid "Error terminating VM"
msgstr "Fehler beenden VM"
msgid "Virtual Machine Cancellation"
msgstr "VM Kündigung"

View file

@ -124,7 +124,7 @@
</div>
<div class="modal-body">
<div class="modal-icon"><i class="fa fa-check" aria-hidden="true"></i></div>
<h4 class="modal-title" id="ModalLabel">{% trans "Your Virtual Machine" %} {{vm.id}} {% trans "was successfully terminated!" %}</h4>
<h4 class="modal-title" id="ModalLabel">{% trans "Your Virtual Machine" %} {{vm.id}} {% trans "is successfully terminated!" %}</h4>
<div class="modal-text">
<p><strong>{{virtual_machine.name}}</strong></p>
</div>

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: