translations added, modal fixed

This commit is contained in:
Arvind Tiwari 2017-09-18 23:21:04 +05:30
parent 226f744bae
commit 43300c7226
3 changed files with 27 additions and 19 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-14 12:27+0000\n"
"POT-Creation-Date: 2017-09-18 23:16+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,6 +575,15 @@ msgstr "Bist Du sicher, dass Du Deine virtuelle Maschine beenden willst"
msgid "OK"
msgstr ""
msgid "Your Virtual Machine"
msgstr "Deine Maschinen Detail"
msgid "was successfully terminated!"
msgstr "wurde erfolgreich beendet!"
msgid "Close"
msgstr "Schliessen"
msgid "Virtual Machines"
msgstr "Virtuelle Maschinen"
@ -645,12 +654,12 @@ msgstr "Kontaktiere den Data Center Light Support."
msgid "Error terminating VM"
msgstr "Fehler beenden VM"
msgid "Virtual Machine Cancellation"
msgstr "VM Kündigung"
msgid "Terminated"
msgstr "Beendet"
msgid "Virtual Machine Cancellation"
msgstr "VM Kündigung"
#~ msgid "VM %(VM_ID)s terminated successfully"
#~ msgstr "VM %(VM_ID)s erfolgreich beendet"
@ -702,9 +711,6 @@ msgstr "Beendet"
#~ msgid "Ipv6"
#~ msgstr "IPv6"
#~ msgid "Close"
#~ msgstr "Schliessen"
#~ msgid "Cancel"
#~ msgstr "Beenden"

View file

@ -40,7 +40,6 @@ function VMTerminateFail($container, data, text) {
$(document).ready(function() {
$('#confirm-cancel').on('click', '.btn-ok', function(e) {
var url = $('#virtual_machine_cancel_form').attr('action');
var $container = $('#terminate-VM');

View file

@ -123,10 +123,13 @@
<div class="modal-header">
</div>
<div class="modal-body">
<div class="modal-icon"><i class="fa fa-ban" aria-hidden="true"></i></div>
<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>
<div class="modal-text">
<p><strong>{{virtual_machine.name}}</strong></p>
</div>
<div class="modal-footer">
<a href="{% url 'hosting:virtual_machines' %}" class="btn btn-danger btn-wide">{% trans "Close" %}</a>
<a href="{% url 'hosting:virtual_machines' %}" class="btn btn-success btn-wide">{% trans "Close" %}</a>
</div>
</div>
</div>