From 6f091279d78fdb8cf74c3ac04f3f2f03c015a5fb Mon Sep 17 00:00:00 2001 From: Arvind Tiwari Date: Sat, 2 Sep 2017 01:45:07 +0530 Subject: [PATCH 1/2] translation fix on vm list page --- hosting/locale/de/LC_MESSAGES/django.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosting/locale/de/LC_MESSAGES/django.po b/hosting/locale/de/LC_MESSAGES/django.po index fac8cc5a..e70d2add 100644 --- a/hosting/locale/de/LC_MESSAGES/django.po +++ b/hosting/locale/de/LC_MESSAGES/django.po @@ -458,7 +458,7 @@ msgid "Virtual Machines" msgstr "Virtuelle Maschinen" msgid "To create a new virtual machine, click \"Create VM\"" -msgstr "" +msgstr "Um eine neue VM zu erzeugen, klicke \"Neue VM erzeugen\"" msgid "CREATE VM" msgstr "NEUE VM" From 1426cba3a5703bcc84d030f606442ad7922d4419 Mon Sep 17 00:00:00 2001 From: Arvind Tiwari Date: Sat, 2 Sep 2017 01:48:51 +0530 Subject: [PATCH 2/2] approved, declined translations added --- hosting/locale/de/LC_MESSAGES/django.po | 14 +++++++------- hosting/templates/hosting/orders.html | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/hosting/locale/de/LC_MESSAGES/django.po b/hosting/locale/de/LC_MESSAGES/django.po index e70d2add..598bcff6 100644 --- a/hosting/locale/de/LC_MESSAGES/django.po +++ b/hosting/locale/de/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-08-31 23:46+0530\n" +"POT-Creation-Date: 2017-09-02 01:47+0530\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -275,6 +275,12 @@ msgstr "Betrag" msgid "Status" msgstr "" +msgid "Approved" +msgstr "Akzeptiert" + +msgid "Declined" +msgstr "Abgelehnt" + msgid "See Invoice" msgstr "Rechnung" @@ -507,12 +513,6 @@ msgstr "Kontaktiere den Data Center Light Support." #~ msgid "Your SSH Keys" #~ msgstr "Deine SSH Keys" -#~ msgid "Approved" -#~ msgstr "Akzeptiert" - -#~ msgid "Declined" -#~ msgstr "Abgelehnt" - #~ msgid "Cancel Order" #~ msgstr "Bestellung stornieren" diff --git a/hosting/templates/hosting/orders.html b/hosting/templates/hosting/orders.html index 5515a0ab..3699e9a2 100644 --- a/hosting/templates/hosting/orders.html +++ b/hosting/templates/hosting/orders.html @@ -34,9 +34,9 @@ {{ order.price }} {% if order.approved %} - Approved + {% trans "Approved" %} {% else %} - Declined + {% trans "Declined" %} {% endif %}