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 "" 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: 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" "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"
@ -807,9 +807,8 @@ msgstr ""
msgid "Error terminating VM" msgid "Error terminating VM"
msgstr "Fehler beenden VM" msgstr "Fehler beenden VM"
#, python-format
msgid "" 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." "further information."
msgstr "" msgstr ""

View file

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