Update text

This commit is contained in:
PCoder 2018-09-08 10:46:07 +02:00
parent e376f38baa
commit 304feb4f7b
2 changed files with 4 additions and 7 deletions

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-09-08 08:31+0000\n"
"POT-Creation-Date: 2018-09-08 08:45+0000\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"
@ -807,9 +807,8 @@ msgstr ""
msgid "Error terminating VM"
msgstr "Fehler beenden VM"
#, python-format
msgid ""
"VM terminate action timed out. Please contact support %(support_email)s for "
"VM terminate action timed out. Please contact support@datacenterlight.ch for "
"further information."
msgstr ""

View File

@ -1432,10 +1432,8 @@ class VirtualMachineView(LoginRequiredMixin, View):
sleep(2)
if not response['status']:
response['text'] = _("VM terminate action timed out. Please "
"contact support %(support_email)s for "
"further information.") % {
'support_email': settings.DCL_SUPPORT_FROM_ADDRESS
}
"contact support@datacenterlight.ch for "
"further information.")
context = {
'vm_name': vm_name,
'base_url': "{0}://{1}".format(