blocktrans variable fix

This commit is contained in:
Arvind Tiwari 2018-05-12 03:39:38 +05:30
parent 39f7898259
commit 20f1df8a70
4 changed files with 8 additions and 8 deletions

View file

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-05-12 03:12+0530\n"
"POT-Creation-Date: 2018-05-12 03:37+0530\n"
"PO-Revision-Date: 2018-03-30 23:22+0000\n"
"Last-Translator: b'Anonymous User <coder.purple+25@gmail.com>'\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -398,10 +398,10 @@ msgstr "Mehrwertsteuer"
#, python-format
msgid ""
"By clicking \"Place order\" this plan will charge your credit card account "
"with %(vm_total_price)s CHF/month"
"with %(vm.total_price|floatformat:2|intcomma)s CHF/month"
msgstr ""
"Wenn Du \"bestellen\" auswählst, wird Deine Kreditkarte mit "
"%(vm_total_price)s CHF pro Monat belastet"
"%(vm.total_price|floatformat:2|intcomma)s CHF pro Monat belastet"
msgid "Place order"
msgstr "Bestellen"

View file

@ -101,7 +101,7 @@
{% csrf_token %}
<div class="row">
<div class="col-sm-8">
<div class="dcl-place-order-text">{% blocktrans with vm_total_price=vm.total_price|floatformat:2|intcomma %}By clicking "Place order" this plan will charge your credit card account with {{vm_total_price}} CHF/month{% endblocktrans %}.</div>
<div class="dcl-place-order-text">{% blocktrans %}By clicking "Place order" this plan will charge your credit card account with {{ vm.total_price|floatformat:2|intcomma }} CHF/month{% endblocktrans %}.</div>
</div>
<div class="col-sm-4 order-confirm-btn text-right">
<button class="btn choice-btn" id="btn-create-vm" data-toggle="modal" data-target="#createvm-modal">

View file

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-05-12 03:12+0530\n"
"POT-Creation-Date: 2018-05-12 03:37+0530\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"
@ -380,10 +380,10 @@ msgstr "Gesamt"
#, python-format
msgid ""
"By clicking \"Place order\" this plan will charge your credit card account "
"with %(vm_price|intcomma)sCHF/month"
"with %(vm.total_price|floatformat:2|intcomma)sCHF/month"
msgstr ""
"Wenn Du \"bestellen\" auswählst, wird Deine Kreditkarte mit "
"%(vm_price|intcomma)sCHF pro Monat belastet"
"%(vm.total_price|floatformat:2|intcomma)sCHF pro Monat belastet"
msgid "Place order"
msgstr "Bestellen"

View file

@ -165,7 +165,7 @@
{% csrf_token %}
<div class="row">
<div class="col-sm-8">
<div class="dcl-place-order-text">{% blocktrans with vm_price=request.session.specs.price %}By clicking "Place order" this plan will charge your credit card account with {{ vm_price|intcomma }}CHF/month{% endblocktrans %}.</div>
<div class="dcl-place-order-text">{% blocktrans %}By clicking "Place order" this plan will charge your credit card account with {{ vm.total_price|floatformat:2|intcomma }}CHF/month{% endblocktrans %}.</div>
</div>
<div class="col-sm-4 order-confirm-btn text-right">
<button class="btn choice-btn" id="btn-create-vm" data-href="{% url 'hosting:order-confirmation' %}" data-toggle="modal" data-target="#createvm-modal">