Skip to content

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

Add trimmed flag to translations

Anna Siwik8ad8156adf58
diff --git a/templates/templated_email/html/source/dashboard/staff/promote_customer.mjml b/templates/templated_email/html/source/dashboard/staff/promote_customer.mjml
index 4c6b84db1b..0990ce2d3e 100644
--- a/templates/templated_email/html/source/dashboard/staff/promote_customer.mjml
+++ b/templates/templated_email/html/source/dashboard/staff/promote_customer.mjml
@@ -18,7 +18,7 @@
{% trans "Hi!" context "Promote customer to staff member confirmation e-mail text" %}
</mj-text>
<mj-text>
- {% blocktrans context "Promote customer to staff member confirmation e-mail text" %}
+ {% blocktrans trimmed context "Promote customer to staff member confirmation e-mail text" %}
You're receiving this e-mail because you have been promoted to staff member at {{ domain }}.<br/>
To access dashboard please visit: <a href="{{ url }}">{{ url }}</a>
{% endblocktrans %}
diff --git a/templates/templated_email/html/source/dashboard/staff/set_password.mjml b/templates/templated_email/html/source/dashboard/staff/set_password.mjml
index 6c22a423ca..df5baff858 100644
--- a/templates/templated_email/html/source/dashboard/staff/set_password.mjml
+++ b/templates/templated_email/html/source/dashboard/staff/set_password.mjml
@@ -18,7 +18,7 @@
{% trans "Hi!" context "Set password for staff member e-mail text" %}
</mj-text>
<mj-text>
- {% blocktrans context "Set password for staff member e-mail text" %}
+ {% blocktrans trimmed context "Set password for staff member e-mail text" %}
You're receiving this e-mail because you have to set password for your staff member account at {{ domain }}.<br/>
Click the link below to set up your password.
{% endblocktrans %}
diff --git a/templates/templated_email/html/source/order/confirm_order.mjml b/templates/templated_email/html/source/order/confirm_order.mjml
index 3fd73c8669..954cbcd68f 100644
--- a/templates/templated_email/html/source/order/confirm_order.mjml
+++ b/templates/templated_email/html/source/order/confirm_order.mjml
@@ -19,7 +19,7 @@
{% trans "Hi!" context "Order confirmation e-mail text" %}
</mj-text>
<mj-text>
- {% blocktrans context "Order confirmation e-mail text" %}
+ {% blocktrans trimmed context "Order confirmation e-mail text" %}
Thank you for your order. Below is the list of ordered products. To see your payment details please visit: <a href="{{ url }}">{{ url }}</a>
{% endblocktrans %}
</mj-text>
diff --git a/templates/templated_email/html/source/order/note/confirm_note.mjml b/templates/templated_email/html/source/order/note/confirm_note.mjml
index 561c9b6ce6..43d5b2d55b 100644
--- a/templates/templated_email/html/source/order/note/confirm_note.mjml
+++ b/templates/templated_email/html/source/order/note/confirm_note.mjml
@@ -18,7 +18,7 @@
{% trans "Hi!" context "Note confirmation e-mail text" %}
</mj-text>
<mj-text>
- {% blocktrans context "Note confirmation e-mail text" %}
+ {% blocktrans trimmed context "Note confirmation e-mail text" %}
A new note has been added to your order. To see details please visit: <a href="{{ url }}">{{ url }}</a>
{% endblocktrans %}
</mj-text>
diff --git a/templates/templated_email/html/source/order/payment/confirm_payment.mjml b/templates/templated_email/html/source/order/payment/confirm_payment.mjml
index f8aa3a3037..21aa1a9069 100644
--- a/templates/templated_email/html/source/order/payment/confirm_payment.mjml
+++ b/templates/templated_email/html/source/order/payment/confirm_payment.mjml
@@ -18,7 +18,7 @@
{% trans "Hi!" context "Payment confirmation e-mail text" %}
</mj-text>
<mj-text>
- {% blocktrans context "Payment confirmation e-mail text" %}
+ {% blocktrans trimmed context "Payment confirmation e-mail text" %}
Thank you for your payment. To see your payment details please visit: <a href="{{ url }}">{{ url }}</a>
{% endblocktrans %}
</mj-text>
diff --git a/templates/templated_email/html/source/shared/footer.mjml b/templates/templated_email/html/source/shared/footer.mjml
index 1f8801e5de..ca620c9a4c 100644
--- a/templates/templated_email/html/source/shared/footer.mjml
+++ b/templates/templated_email/html/source/shared/footer.mjml
@@ -1,7 +1,7 @@
<mj-section>
<mj-column>
<mj-text>
- {% blocktrans context "Base e-mail text" %}
+ {% blocktrans trimmed context "Base e-mail text" %}
This is an automatically generated e-mail, please do not reply.
{% endblocktrans %}
</mj-text>