Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Move punctuation to trans tags

weronka4d1c34269d52
diff --git a/templates/cart/index.html b/templates/cart/index.html
index aa4d9ba931..56712dcba2 100644
--- a/templates/cart/index.html
+++ b/templates/cart/index.html
@@ -71,7 +71,7 @@
<div class="row">
<div class="col-8 cart__total__subtotal">
<h3>{% trans "Subtotal" context "Cart totals" %}</h3>
- <p>({% trans "Delivery calculated at checkout" context "Cart totals help text" %})</p>
+ <p>{% trans "(Delivery calculated at checkout)" context "Cart totals help text" %}</p>
</div>
<div class="col-4">
<p class="cart-total text-right"
diff --git a/templates/checkout/snippets/voucher-form.html b/templates/checkout/snippets/voucher-form.html
index a03d8be84b..7680a01caf 100644
--- a/templates/checkout/snippets/voucher-form.html
+++ b/templates/checkout/snippets/voucher-form.html
@@ -13,7 +13,7 @@
<button type="submit"
class="btn btn-link"
aria-label="{% trans "Remove" context "Checkout voucher form action" %}">
- ({% trans "Remove" context "Checkout voucher form action" %})
+ {% trans "(Remove)" context "Checkout voucher form action" %}
</button>
</form>
diff --git a/templates/dashboard/base.html b/templates/dashboard/base.html
index 13f08358b2..ff8469e6a1 100644
--- a/templates/dashboard/base.html
+++ b/templates/dashboard/base.html
@@ -7,7 +7,7 @@
<head>
<title>
{% block title %}
- {% trans "Dashboard - Saleor" context "Dashboard default page title" %}
+ {% trans "Dashboard - Saleor" context "Dashboard default page title" %}
{% endblock %}
</title>
{% block meta %}
@@ -169,7 +169,7 @@
{% if request.user.is_superuser %}
<li class="side-nav-section" id="version-indicator">
<p>
- {% trans "Release" context "Dashboard software version" %}: {% version %}
+ {% trans "Release:" context "Dashboard software version" %} {% version %}
</p>
</li>
{% endif %}
diff --git a/templates/dashboard/product/class_list.html b/templates/dashboard/product/class_list.html
index b0ba9e20b5..e004ad0d96 100644
--- a/templates/dashboard/product/class_list.html
+++ b/templates/dashboard/product/class_list.html
@@ -80,7 +80,7 @@
<div class="col s12">
<button class="btn" type="submit">
<i class="material-icons left">create</i>
- {% trans "Create new" context "Dashboard create new action" %}
+ {% trans "Create new" context "Dashboard create new action" %}
</button>
</div>
</div>
diff --git a/templates/materializecssform/field.html b/templates/materializecssform/field.html
index 057adb0ad8..fcd8015fbc 100644
--- a/templates/materializecssform/field.html
+++ b/templates/materializecssform/field.html
@@ -29,7 +29,7 @@
<label class="control-label {{ classes.label }}">
{{ field.label }}
{% if not field.field.required %}
- ({% trans "optional" context "Dashboard form labels" %})
+ {% trans "(optional)" context "Dashboard form labels" %}
{% endif %}
</label>
{% endif %}
@@ -56,7 +56,7 @@
<div class="input input-field col {{ classes.label }}">
{% if field.auto_id %}
<label class="control-label {{ classes.label }}">
- {{ field.label }}{% if not field.field.required %} ({% trans "optional" context "Dashboard form labels" %}){% endif %}
+ {{ field.label }}{% if not field.field.required %} {% trans "(optional)" context "Dashboard form labels" %}{% endif %}
</label>
{% endif %}
{% for choice in field %}
@@ -83,7 +83,7 @@
<label class="active" for="{{ field.auto_id }}">
{{ field.label }}
{% if not field.field.required %}
- ({% trans "optional" context "Dashboard form labels" %})
+ {% trans "(optional)" context "Dashboard form labels" %}
{% endif %}
</label>
<input type="date" id="{{ field.auto_id }}" class="datepicker" name="{{ field.name }}"
@@ -106,7 +106,7 @@
<label class="control-label {{ classes.label }}">
{{ field.label }}
{% if not field.field.required %}
- ({% trans "optional" context "Dashboard form labels" %})
+ {% trans "(optional)" context "Dashboard form labels" %}
{% endif %}
</label>
{% endif %}
@@ -132,7 +132,7 @@
</div>
{% else %}
<label for="{{ field.id_for_label }}">
- {{ field.label }}{% if not field.field.required %} ({% trans "optional" context "Dashboard form labels" %}){% endif %}
+ {{ field.label }}{% if not field.field.required %} {% trans "(optional)" context "Dashboard form labels" %}{% endif %}
</label>
{{ field }}
{% for error in field.errors %}
@@ -159,7 +159,7 @@
<label class="active {{ classes.label }}" for="{{ field.auto_id }}">
{{ field.label }}
{% if not field.field.required %}
- ({% trans "optional" context "Dashboard form labels" %})
+ {% trans "(optional)" context "Dashboard form labels" %}
{% endif %}
</label>
{% endif %}
@@ -194,7 +194,7 @@
<label class="{{ classes.label }}" for="{{ field.auto_id }}">
{{ field.label }}
{% if not field.field.required %}
- ({% trans "optional" context "Dashboard form labels" %})
+ {% trans "(optional)" context "Dashboard form labels" %}
{% endif %}
</label>
{% endif %}
@@ -227,7 +227,7 @@
<label class="active" for="{{ field.auto_id }}">
{{ field.label }}
{% if not field.field.required %}
- ({% trans "optional" context "Dashboard form labels" %})
+ {% trans "(optional)" context "Dashboard form labels" %}
{% endif %}
</label>
{% endif %}
diff --git a/templates/order/payment.html b/templates/order/payment.html
index 68c6a2b765..990c541216 100644
--- a/templates/order/payment.html
+++ b/templates/order/payment.html
@@ -45,7 +45,7 @@
We are currently waiting for an external service to authorize
your payment for this order.
{% endblocktrans %}</p>
- <p>{% trans "Current status" context "Payment status text" %}:
+ <p>{% trans "Current status:" context "Payment status text" %}
<br>
<span class="label label-default">
{{ waiting_payment.get_status_display }}
diff --git a/templates/order/payment/details.html b/templates/order/payment/details.html
index 9f9f6c3497..377cad7cb1 100644
--- a/templates/order/payment/details.html
+++ b/templates/order/payment/details.html
@@ -6,7 +6,7 @@
{% block content %}
<div class="row checkout">
<div class="col-md-6 offset-lg-1">
- <h1>{% trans "Payment" context "Payment form title" %} </h1>
+ <h1>{% trans "Payment" context "Payment form title" %}</h1>
{% block forms %}{% endblock %}
</div>
</div>
diff --git a/templates/userprofile/details.html b/templates/userprofile/details.html
index 4b2b926237..efbfe12e3e 100644
--- a/templates/userprofile/details.html
+++ b/templates/userprofile/details.html
@@ -127,7 +127,6 @@
{% trans "You will see new addresses here after first successful checkout." context "No addresses text" %}
</h3>
{% endif %}
-
</div>
</div>
</div>