From d7f7d498f5b6c0dc58ea81b236b11587eb7c828a Mon Sep 17 00:00:00 2001 From: Levi Date: Mon, 18 Jul 2016 21:24:44 -0500 Subject: [PATCH] Created .po translation file for login.html, signup.html, reset_password.html, confirm_reset_password.html, base_short.html, order_detail.html. Created .po translation file for orders.html, virtual_machine_detail.html, virtual_machines. created .po translation file for virtual_machine_key.html, notifications.html --- hosting/locale/de/LC_MESSAGES/django.po | 359 ++++++++++++++++++ hosting/templates/hosting/base_short.html | 33 +- .../hosting/confirm_reset_password.html | 9 +- hosting/templates/hosting/login.html | 11 +- hosting/templates/hosting/notifications.html | 12 +- hosting/templates/hosting/order_detail.html | 27 +- hosting/templates/hosting/orders.html | 30 +- hosting/templates/hosting/reset_password.html | 8 +- hosting/templates/hosting/signup.html | 8 +- .../hosting/virtual_machine_detail.html | 44 ++- .../hosting/virtual_machine_key.html | 13 +- .../templates/hosting/virtual_machines.html | 16 +- 12 files changed, 470 insertions(+), 100 deletions(-) create mode 100644 hosting/locale/de/LC_MESSAGES/django.po diff --git a/hosting/locale/de/LC_MESSAGES/django.po b/hosting/locale/de/LC_MESSAGES/django.po new file mode 100644 index 00000000..f599639a --- /dev/null +++ b/hosting/locale/de/LC_MESSAGES/django.po @@ -0,0 +1,359 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-07-17 11:34-0500\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: templates/emails/password_reset_email.html:2 +#: templates/emails/password_reset_email.txt:2 +#, python-format +msgid "" +"You're receiving this email because you requested a password reset for your " +"user account at %(site_name)s." +msgstr "" + +#: templates/emails/password_reset_email.html:4 +#: templates/emails/password_reset_email.txt:4 +msgid "Please go to the following page and choose a new password:" +msgstr "" + +#: templates/emails/password_reset_email.html:9 +#: templates/emails/password_reset_email.txt:9 +msgid "Thanks for using our site!" +msgstr "" + +#: templates/emails/password_reset_email.html:11 +#: templates/emails/password_reset_email.txt:11 +#, python-format +msgid "The %(site_name)s team" +msgstr "" + +#: templates/hosting/base_short.html:67 +msgid "My Virtual Machines" +msgstr "" + +#: templates/hosting/base_short.html:72 templates/hosting/orders.html.py:12 +msgid "My Orders" +msgstr "" + +#: templates/hosting/base_short.html:77 +msgid "Notifications " +msgstr "" + +#: templates/hosting/base_short.html:84 +msgid "Logout" +msgstr "" + +#: templates/hosting/base_short.html:89 templates/hosting/base_short.html:131 +msgid "How it works" +msgstr "" + +#: templates/hosting/base_short.html:92 templates/hosting/base_short.html:134 +msgid "Your infrastructure" +msgstr "" + +#: templates/hosting/base_short.html:95 templates/hosting/base_short.html:137 +msgid "Our inftrastructure" +msgstr "" + +#: templates/hosting/base_short.html:98 templates/hosting/base_short.html:140 +msgid "Pricing" +msgstr "" + +#: templates/hosting/base_short.html:101 templates/hosting/base_short.html:144 +msgid "Contact" +msgstr "" + +#: templates/hosting/base_short.html:104 templates/hosting/login.html.py:29 +#: templates/hosting/login.html:38 templates/hosting/reset_password.html:24 +#: templates/hosting/signup.html:24 +msgid "Login" +msgstr "" + +#: templates/hosting/base_short.html:127 +msgid "Home" +msgstr "" + +#: templates/hosting/confirm_reset_password.html:19 +msgid "Set your new password" +msgstr "" + +#: templates/hosting/confirm_reset_password.html:28 +#: templates/hosting/reset_password.html:20 +msgid "Reset" +msgstr "" + +#: templates/hosting/confirm_reset_password.html:32 +#: templates/hosting/reset_password.html:24 templates/hosting/signup.html:24 +msgid "Already have an account ?" +msgstr "" + +#: templates/hosting/confirm_reset_password.html:32 +msgid "Log in" +msgstr "" + +#: templates/hosting/login.html:22 +msgid "You haven been logged out" +msgstr "" + +#: templates/hosting/login.html:42 +msgid "Don't have an account yet ? " +msgstr "" + +#: templates/hosting/login.html:42 templates/hosting/signup.html.py:11 +#: templates/hosting/signup.html:20 +msgid "Sign up" +msgstr "" + +#: templates/hosting/login.html:44 +msgid "Forgot your password ? " +msgstr "" + +#: templates/hosting/notifications.html:9 +msgid "Notifications" +msgstr "" + +#: templates/hosting/notifications.html:16 +msgid "Unread" +msgstr "" + +#: templates/hosting/notifications.html:26 +msgid "All" +msgstr "" + +#: templates/hosting/notifications.html:38 +msgid "Unread notifications" +msgstr "" + +#: templates/hosting/notifications.html:48 +msgid "Mark as read" +msgstr "" + +#: templates/hosting/notifications.html:59 +msgid "All notifications" +msgstr "" + +#: templates/hosting/order_detail.html:10 +msgid "Invoice" +msgstr "" + +#: templates/hosting/order_detail.html:10 +msgid "Order #" +msgstr "" + +#: templates/hosting/order_detail.html:16 +#: templates/hosting/order_detail.html:24 +msgid "Billed To:" +msgstr "" + +#: templates/hosting/order_detail.html:26 +msgid "Status:" +msgstr "" + +#: templates/hosting/order_detail.html:38 +msgid "Payment Method:" +msgstr "" + +#: templates/hosting/order_detail.html:49 +msgid "Order summary" +msgstr "" + +#: templates/hosting/order_detail.html:52 +msgid "Type" +msgstr "" + +#: templates/hosting/order_detail.html:54 +#: templates/hosting/virtual_machine_detail.html:96 +msgid "Configuration" +msgstr "" + +#: templates/hosting/order_detail.html:56 +#: templates/hosting/virtual_machine_detail.html:75 +msgid "Cores" +msgstr "" + +#: templates/hosting/order_detail.html:58 +#: templates/hosting/virtual_machine_detail.html:81 +msgid "Memory" +msgstr "" + +#: templates/hosting/order_detail.html:60 +msgid "Disk space" +msgstr "" + +#: templates/hosting/order_detail.html:62 +msgid "Total" +msgstr "" + +#: templates/hosting/order_detail.html:68 +msgid "Finish Configuration" +msgstr "" + +#: templates/hosting/orders.html:17 +#: templates/hosting/virtual_machine_detail.html:121 +msgid "Date" +msgstr "" + +#: templates/hosting/orders.html:18 +#: templates/hosting/virtual_machine_detail.html:122 +#: templates/hosting/virtual_machines.html:15 +msgid "Amount" +msgstr "" + +#: templates/hosting/orders.html:19 +#: templates/hosting/virtual_machine_detail.html:36 +#: templates/hosting/virtual_machine_detail.html:123 +#: templates/hosting/virtual_machines.html:16 +msgid "Status" +msgstr "" + +#: templates/hosting/orders.html:30 +#: templates/hosting/virtual_machine_detail.html:134 +msgid "Approved" +msgstr "" + +#: templates/hosting/orders.html:32 +#: templates/hosting/virtual_machine_detail.html:136 +msgid "Declined" +msgstr "" + +#: templates/hosting/orders.html:37 +#: templates/hosting/virtual_machine_detail.html:140 +#: templates/hosting/virtual_machines.html:38 +msgid "View Detail" +msgstr "" + +#: templates/hosting/orders.html:41 +msgid "Cancel Order" +msgstr "" + +#: templates/hosting/orders.html:56 +msgid "Do You want do delete your order?" +msgstr "" + +#: templates/hosting/orders.html:64 +msgid "Close" +msgstr "" + +#: templates/hosting/orders.html:66 +msgid "Delete" +msgstr "" + +#: templates/hosting/orders.html:83 templates/hosting/virtual_machines.html:49 +msgid "previous" +msgstr "" + +#: templates/hosting/orders.html:89 templates/hosting/virtual_machines.html:55 +msgid "next" +msgstr "" + +#: templates/hosting/reset_password.html:11 +msgid "Reset your password" +msgstr "" + +#: templates/hosting/virtual_machine_detail.html:19 +msgid "Settings" +msgstr "" + +#: templates/hosting/virtual_machine_detail.html:25 +msgid "Billing" +msgstr "" + +#: templates/hosting/virtual_machine_detail.html:31 +msgid "Orders" +msgstr "" + +#: templates/hosting/virtual_machine_detail.html:60 +msgid "Ip not assigned yet" +msgstr "" + +#: templates/hosting/virtual_machine_detail.html:87 +msgid "Disk" +msgstr "" + +#: templates/hosting/virtual_machine_detail.html:106 +msgid "Current pricing" +msgstr "" + +#: templates/hosting/virtual_machine_detail.html:152 +msgid "Current status" +msgstr "" + +#: templates/hosting/virtual_machine_detail.html:172 +msgid "Cancel Virtual Machine" +msgstr "" + +#: templates/hosting/virtual_machine_detail.html:181 +msgid "Cancel your Virtual Machine" +msgstr "" + +#: templates/hosting/virtual_machine_detail.html:184 +msgid "Are you sure do you want to cancel your Virtual Machine " +msgstr "" + +#: templates/hosting/virtual_machine_detail.html:184 +msgid "plan?" +msgstr "" + +#: templates/hosting/virtual_machine_detail.html:187 +msgid "Cancel" +msgstr "" + +#: templates/hosting/virtual_machine_key.html:10 +msgid "SSH Private Key" +msgstr "" + +#: templates/hosting/virtual_machine_key.html:15 +#: templates/hosting/virtual_machine_key.html:29 +msgid "Warning!" +msgstr "" + +#: templates/hosting/virtual_machine_key.html:15 +msgid "" +"You can view your SSH private key once. Copy it or if it wasn't downloaded " +"automatically, just click on Download to start it." +msgstr "" + +#: templates/hosting/virtual_machine_key.html:24 +msgid "Copy to Clipboard" +msgstr "" + +#: templates/hosting/virtual_machine_key.html:25 +msgid "Download" +msgstr "" + +#: templates/hosting/virtual_machine_key.html:29 +msgid "" +"Your SSH private key was already generated and downloaded, if you lost it, " +"contact us. " +msgstr "" + +#: templates/hosting/virtual_machine_key.html:32 +msgid "Go to my Virtual Machine Dashboard" +msgstr "" + +#: templates/hosting/virtual_machines.html:9 +msgid "Virtual Machines" +msgstr "" + +#: templates/hosting/virtual_machines.html:13 +msgid "ID" +msgstr "" + +#: templates/hosting/virtual_machines.html:14 +msgid "Location" +msgstr "" diff --git a/hosting/templates/hosting/base_short.html b/hosting/templates/hosting/base_short.html index 29fb2861..1eacd26a 100644 --- a/hosting/templates/hosting/base_short.html +++ b/hosting/templates/hosting/base_short.html @@ -1,4 +1,5 @@ {% load staticfiles bootstrap3%} +{% load i18n %} @@ -63,44 +64,44 @@ {% if request.user.is_authenticated %}
  • - My Virtual Machines + {% trans "My Virtual Machines"%}
  • - My Orders + {% trans "My Orders"%}
  • - Notifications + {% trans "Notifications "%}
  • {% else %}
  • - How it works + {% trans "How it works"%}
  • - Your infrastructure + {% trans "Your infrastructure"%}
  • - Our inftrastructure + {% trans "Our inftrastructure"%}
  • - Pricing + {% trans "Pricing" %}
  • - Contact + {% trans "Contact"%}
  • - Login + {% trans "Login"%}
  • {% endif %} @@ -123,24 +124,24 @@
    diff --git a/hosting/templates/hosting/confirm_reset_password.html b/hosting/templates/hosting/confirm_reset_password.html index 92513ced..ce4f3ba3 100644 --- a/hosting/templates/hosting/confirm_reset_password.html +++ b/hosting/templates/hosting/confirm_reset_password.html @@ -1,12 +1,13 @@ {% extends "hosting/base_short.html" %} {% load staticfiles bootstrap3%} +{% load i18n %} + {% block content %}
     
    - {% if messages %}
      {% for message in messages %} @@ -15,7 +16,7 @@
    {% endif %} -

    Set your new password

    +

    {% trans "Set your new password"%}

    {% csrf_token %} @@ -24,11 +25,11 @@ {% endfor %} {% buttons %} {% endbuttons %}
    - Already have an account ? Log in + {% trans "Already have an account ?"%}{% trans "Log in"%}
    diff --git a/hosting/templates/hosting/login.html b/hosting/templates/hosting/login.html index 08d1220f..2161f712 100644 --- a/hosting/templates/hosting/login.html +++ b/hosting/templates/hosting/login.html @@ -1,4 +1,5 @@ {% extends "hosting/base_short.html" %} +{% load i18n %} {% load staticfiles bootstrap3%} {% block content %} @@ -18,14 +19,14 @@ {% if request.GET.logged_out %}
    × - You haven been logged out + {% trans "You haven been logged out"%}
    {% endif %} {% endblock %}
    -

    Login

    +

    {% trans "Login"%}

    {% csrf_token %} {% for field in form %} @@ -34,13 +35,13 @@

    {{form.non_field_errors|striptags}}

    {% buttons %} {% endbuttons %}
    - Don't have an account yet ? Sign up + {% trans "Don't have an account yet ? "%}{% trans "Sign up"%}
    - Forgot your password ? + {% trans "Forgot your password ? "%}
      diff --git a/hosting/templates/hosting/notifications.html b/hosting/templates/hosting/notifications.html index 8bd140c7..cd6247ea 100644 --- a/hosting/templates/hosting/notifications.html +++ b/hosting/templates/hosting/notifications.html @@ -6,14 +6,14 @@
      -

      Notifications

      +

      {% trans "Notifications"%}


      @@ -35,7 +35,7 @@
      -

      Unread notifications

      +

      {% trans "Unread notifications"%}


      @@ -45,7 +45,7 @@
      {% csrf_token %} {{notification}} - - + {{notification.date}}

      @@ -56,7 +56,7 @@
      -

      All notifications

      +

      {% trans "All notifications"%}


      {% for notification in all_notifications %} {{notification.message}} diff --git a/hosting/templates/hosting/order_detail.html b/hosting/templates/hosting/order_detail.html index 3278f050..09e81ba2 100644 --- a/hosting/templates/hosting/order_detail.html +++ b/hosting/templates/hosting/order_detail.html @@ -1,18 +1,19 @@ {% extends "hosting/base_short.html" %} {% load staticfiles bootstrap3 %} +{% load i18n %} {% block content %}
      -

      Invoice

      Order # {{order.id}}

      +

      {% trans "Invoice"%}

      {% trans "Order #"%} {{order.id}}


      -

      Billed To:

      +

      {% trans "Billed To:"%}

      {{user.name}}
      {{order.billing_address.street_address}},{{order.billing_address.postal_code}}
      {{order.billing_address.city}}, {{order.billing_address.country}}. @@ -20,9 +21,9 @@
      - Order Date:
      + {% trans "Billed To:"%}
      {{order.created_at}}

      - Status:
      + {% trans "Status:"%}
      {{order.status}} @@ -34,7 +35,7 @@
      - Payment Method:
      + {% trans "Payment Method:"%}
      {{order.cc_brand}} ending **** {{order.last4}}
      {{user.email}}
      @@ -45,26 +46,26 @@
      -

      Order summary

      +

      {% trans "Order summary"%}


      -

      Type {{order.vm_plan.hosting_company_name}}

      +

      {% trans "Type"%} {{order.vm_plan.hosting_company_name}}


      -

      Configuration {{order.vm_plan.get_configuration_display}}

      +

      {% trans "Configuration"%} {{order.vm_plan.get_configuration_display}}


      -

      Cores {{order.vm_plan.cores}}

      +

      {% trans "Cores"%} {{order.vm_plan.cores}}


      -

      Memory {{order.vm_plan.memory}} GiB

      +

      {% trans "Memory"%} {{order.vm_plan.memory}} GiB


      -

      Disk space {{order.vm_plan.disk_size}} GiB

      +

      {% trans "Disk space"%} {{order.vm_plan.disk_size}} GiB


      -

      Total

      {{order.vm_plan.price}} CHF

      +

      {% trans "Total"%}

      {{order.vm_plan.price}} CHF


      {% url 'hosting:payment' as payment_url %} {% if payment_url in request.META.HTTP_REFERER %} {% endif %}
      diff --git a/hosting/templates/hosting/orders.html b/hosting/templates/hosting/orders.html index 188786c6..7d1009ea 100644 --- a/hosting/templates/hosting/orders.html +++ b/hosting/templates/hosting/orders.html @@ -1,5 +1,7 @@ {% extends "hosting/base_short.html" %} {% load staticfiles bootstrap3 %} +{% load i18n %} + {% block content %}
      @@ -7,14 +9,14 @@
      -

      My Orders

      +

      {% trans "My Orders"%}


      - - - + + + @@ -25,18 +27,18 @@ @@ -51,9 +53,7 @@ - - - + + + @@ -129,13 +131,13 @@ {% endfor %} @@ -147,7 +149,7 @@
      -

      Current status

      +

      {% trans "Current status"%}

      {% if virtual_machine.status == 'pending' %} {{virtual_machine.get_status_display}} @@ -167,7 +169,7 @@ {% csrf_token %} - +
      @@ -176,13 +178,13 @@
      #DateAmountStatus{% trans "Date"%}{% trans "Amount"%}{% trans "Status"%}
      {{ order.created_at }} {{ order.vm_plan.price }} CHF {% if order.approved %} - Approved + {% trans "Approved"%} {% else %} - Declined + {% trans "Declined"%} {% endif %}
      #DateAmountStatus{% trans "Date"%}{% trans "Amount"%}{% trans "Status"%}
      {{order.created_at}} {{order.vm_plan.price}} CHF {% if order.approved %} - Approved + {% trans "Approved"%} {% else%} - Declined + {% trans "Declined"%} {% endif%} - +
      -

      Virtual Machines

      +

      {% trans "Virtual Machines"%}


      - - - - + + + + @@ -35,7 +35,7 @@ {% endfor %} @@ -46,13 +46,13 @@
      IDLocationAmountStatus{% trans "ID"%}{% trans "Location"%} {% trans "Amount"%}{% trans "Status"%}
      - +