translations and test methods removed
This commit is contained in:
parent
e045caebbe
commit
8393afe141
3 changed files with 19 additions and 8 deletions
|
@ -8,7 +8,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2017-09-09 06:04+0000\n"
|
"POT-Creation-Date: 2017-09-14 02:55+0530\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
@ -524,6 +524,9 @@ msgstr "Aktueller Preis"
|
||||||
msgid "Your VM is"
|
msgid "Your VM is"
|
||||||
msgstr "Deine VM ist"
|
msgstr "Deine VM ist"
|
||||||
|
|
||||||
|
msgid "Terminating"
|
||||||
|
msgstr "Beenden"
|
||||||
|
|
||||||
msgid "Pending"
|
msgid "Pending"
|
||||||
msgstr "In Vorbereitung"
|
msgstr "In Vorbereitung"
|
||||||
|
|
||||||
|
@ -536,6 +539,11 @@ msgstr "Fehlgeschlagen"
|
||||||
msgid "Terminate VM"
|
msgid "Terminate VM"
|
||||||
msgstr "VM Beenden"
|
msgstr "VM Beenden"
|
||||||
|
|
||||||
|
msgid "Sorry, there was an unexpected error. Kindly retry."
|
||||||
|
msgstr ""
|
||||||
|
"Bitte entschuldige, es scheint ein unerwarteter Fehler aufgetreten zu sein. "
|
||||||
|
"Versuche es doch bitte noch einmal."
|
||||||
|
|
||||||
msgid "Something doesn't work?"
|
msgid "Something doesn't work?"
|
||||||
msgstr "Etwas funktioniert nicht?"
|
msgstr "Etwas funktioniert nicht?"
|
||||||
|
|
||||||
|
@ -624,12 +632,17 @@ msgid ""
|
||||||
"contact Data Center Light Support."
|
"contact Data Center Light Support."
|
||||||
msgstr "Kontaktiere den Data Center Light Support."
|
msgstr "Kontaktiere den Data Center Light Support."
|
||||||
|
|
||||||
|
msgid "Error terminating VM"
|
||||||
|
msgstr "Fehler beenden VM"
|
||||||
|
|
||||||
msgid "Virtual Machine Cancellation"
|
msgid "Virtual Machine Cancellation"
|
||||||
msgstr "VM Kündigung"
|
msgstr "VM Kündigung"
|
||||||
|
|
||||||
#, python-format
|
msgid "Terminated"
|
||||||
msgid "VM %(VM_ID)s terminated successfully"
|
msgstr "Beendet"
|
||||||
msgstr "VM %(VM_ID)s erfolgreich beendet"
|
|
||||||
|
#~ msgid "VM %(VM_ID)s terminated successfully"
|
||||||
|
#~ msgstr "VM %(VM_ID)s erfolgreich beendet"
|
||||||
|
|
||||||
#~ msgid "My Virtual Machines"
|
#~ msgid "My Virtual Machines"
|
||||||
#~ msgstr "Meine virtuellen Maschinen"
|
#~ msgstr "Meine virtuellen Maschinen"
|
||||||
|
|
|
@ -10,11 +10,8 @@ from .views import (
|
||||||
HostingBillDetailView, SSHKeyDeleteView, SSHKeyCreateView, SSHKeyListView,
|
HostingBillDetailView, SSHKeyDeleteView, SSHKeyCreateView, SSHKeyListView,
|
||||||
SSHKeyChoiceView, DashboardView, SettingsView)
|
SSHKeyChoiceView, DashboardView, SettingsView)
|
||||||
|
|
||||||
from django.views.generic import TemplateView
|
|
||||||
|
|
||||||
|
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
url(r'test/?$', TemplateView.as_view(template_name='hosting/virtual_machine_detail.html')),
|
|
||||||
url(r'index/?$', IndexView.as_view(), name='index'),
|
url(r'index/?$', IndexView.as_view(), name='index'),
|
||||||
url(r'django/?$', DjangoHostingView.as_view(), name='djangohosting'),
|
url(r'django/?$', DjangoHostingView.as_view(), name='djangohosting'),
|
||||||
url(r'dashboard/?$', DashboardView.as_view(), name='dashboard'),
|
url(r'dashboard/?$', DashboardView.as_view(), name='dashboard'),
|
||||||
|
|
|
@ -941,7 +941,8 @@ class VirtualMachineView(LoginRequiredMixin, View):
|
||||||
|
|
||||||
if not terminated:
|
if not terminated:
|
||||||
response['status'] = False
|
response['status'] = False
|
||||||
response['text'] = 'Error terminating VM %s' % (opennebula_vm_id)
|
response['text'] = ugettext(
|
||||||
|
'Error terminating VM') + opennebula_vm_id
|
||||||
else:
|
else:
|
||||||
context = {
|
context = {
|
||||||
'vm': vm_data,
|
'vm': vm_data,
|
||||||
|
|
Loading…
Reference in a new issue