error msgs translation

This commit is contained in:
Arvind Tiwari 2017-09-23 19:01:22 +05:30
parent 6be245a811
commit be0c50aa2f
2 changed files with 22 additions and 16 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: 2017-09-21 19:20+0530\n" "POT-Creation-Date: 2017-09-23 19:00+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"
@ -361,15 +361,9 @@ msgstr "Arbeitsspeicher"
msgid "Disk space" msgid "Disk space"
msgstr "Festplattenkapazität" msgstr "Festplattenkapazität"
msgid "Configuration"
msgstr "Konfiguration"
msgid "Total" msgid "Total"
msgstr "Gesamt" msgstr "Gesamt"
msgid "Month"
msgstr "Monat"
#, python-format #, python-format
msgid "" msgid ""
"By clicking \"Place order\" this plan will charge your credit card account " "By clicking \"Place order\" this plan will charge your credit card account "
@ -414,9 +408,15 @@ msgstr ""
msgid "Your Order" msgid "Your Order"
msgstr "Deine Bestellung" msgstr "Deine Bestellung"
msgid "Configuration"
msgstr "Konfiguration"
msgid "including VAT" msgid "including VAT"
msgstr "inkl. Mehrwertsteuer" msgstr "inkl. Mehrwertsteuer"
msgid "Month"
msgstr "Monat"
msgid "Billing Address" msgid "Billing Address"
msgstr "Rechnungsadresse" msgstr "Rechnungsadresse"
@ -645,6 +645,15 @@ msgstr "Ungültige Kreditkarte"
msgid "Confirm Order" msgid "Confirm Order"
msgstr "Bestellung Bestätigen" msgstr "Bestellung Bestätigen"
msgid ""
"The VM you are looking for is unavailable at the moment. Please contact Data "
"Center Light support."
msgstr ""
msgid "In order to create a VM, you need to create/upload your SSH KEY first."
msgstr ""
"Um eine VM zu erstellen musst du zuerst einen SSH-Key erstellen / hochladen."
msgid "Thank you for the order." msgid "Thank you for the order."
msgstr "Danke für Deine Bestellung." msgstr "Danke für Deine Bestellung."
@ -652,12 +661,8 @@ msgid ""
"Your VM will be up and running in a few moments. We will send you a " "Your VM will be up and running in a few moments. We will send you a "
"confirmation email as soon as it is ready." "confirmation email as soon as it is ready."
msgstr "" msgstr ""
"Deine VM ist gleich bereit. Wir senden Dir eine Bestätigungsemail, " "Deine VM ist gleich bereit. Wir senden Dir eine Bestätigungsemail, sobald Du "
"sobald Du auf sie zugreifen kannst." "auf sie zugreifen kannst."
msgid "In order to create a VM, you need to create/upload your SSH KEY first."
msgstr ""
"Um eine VM zu erstellen musst du zuerst einen SSH-Key erstellen / hochladen."
msgid "" msgid ""
"We could not find the requested VM. Please " "We could not find the requested VM. Please "

View file

@ -679,15 +679,16 @@ class OrdersHostingDetailView(LoginRequiredMixin,
except WrongIdError: except WrongIdError:
messages.error( messages.error(
self.request, self.request,
'The VM you are looking for is unavailable at the moment. \ _('The VM you are looking for is unavailable at the '
Please contact Data Center Light support.' 'moment. Please contact Data Center Light support.')
) )
self.kwargs['error'] = 'WrongIdError' self.kwargs['error'] = 'WrongIdError'
context['error'] = 'WrongIdError' context['error'] = 'WrongIdError'
except ConnectionRefusedError: except ConnectionRefusedError:
messages.error( messages.error(
self.request, self.request,
'In order to create a VM, you need to create/upload your SSH KEY first.' _('In order to create a VM, you need to create/upload '
'your SSH KEY first.')
) )
elif not card_details.get('response_object'): elif not card_details.get('response_object'):
# new order, failed to get card details # new order, failed to get card details