Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Update csv emails and transaltions
IKarbowiak03bed647e985
diff --git a/locale/en/LC_MESSAGES/django.po b/locale/en/LC_MESSAGES/django.poindex 8c608a795b..80e38bdec1 100644--- a/locale/en/LC_MESSAGES/django.po+++ b/locale/en/LC_MESSAGES/django.po@@ -8,7 +8,7 @@ msgid ""msgstr """Project-Id-Version: master\n""Report-Msgid-Bugs-To: \n"-"POT-Creation-Date: 2020-07-07 11:55+0000\n"+"POT-Creation-Date: 2020-07-08 07:57+0000\n""PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n""Last-Translator: FULL NAME <EMAIL@ADDRESS>\n""Language-Team: LANGUAGE <[email protected]>\n"@@ -208,17 +208,14 @@ msgstr ""#: templates/templated_email/csv/export_failed.email:10msgctxt "Export products e-mail text"msgid ""-"\n"-"Sorry, we cannot finish product export, some unexpected errors occurred.\n"-"Please try again.\n"+"Sorry, we cannot finish product export, some unexpected errors occurred. "+"Please try again."msgstr ""#: templates/templated_email/csv/export_products_file.email:10#, python-formatmsgctxt "Export products e-mail text"-msgid ""-"\n"-"Your file with products data is ready to download: %(csv_link)s\n"+msgid "Your file with products data is ready to download: %(csv_link)s"msgstr ""#: templates/templated_email/dashboard/customer/set_password.email:2@@ -448,7 +445,7 @@ msgstr ""#: templates/templated_email/source/confirm_payment.mjml:13#: templates/templated_email/source/email_changed_notification.mjml:13#: templates/templated_email/source/export_failed.mjml:13-#: templates/templated_email/source/export_products_csv.mjml:13+#: templates/templated_email/source/export_products_file.mjml:13#: templates/templated_email/source/password_reset.mjml:13#: templates/templated_email/source/request_email_change.mjml:13#: templates/templated_email/source/send_invoice.mjml:13@@ -528,21 +525,16 @@ msgstr ""#: templates/templated_email/source/export_failed.mjml:16msgctxt "Export products e-mail text"msgid ""-"\n"-" Sorry, we couldn't finish exporting products, some unexpected "-"errors occurred.\n"-" Please try again.\n"-" "+"Sorry, we couldn't finish exporting products, some unexpected errors "+"occurred. Please try again."msgstr ""-#: templates/templated_email/source/export_products_csv.mjml:16+#: templates/templated_email/source/export_products_file.mjml:16#, python-formatmsgctxt "Export products e-mail text"msgid ""-"\n"-" Your file with products data is ready to download: <a href="-"\"%(csv_link)s\">%(csv_link)s</a>\n"-" "+"Your file with products data is ready to download: <a href=\"%(csv_link)s\">"+"%(csv_link)s</a>"msgstr ""#: templates/templated_email/source/partials/_fulfillment_lines.mjml:11diff --git a/templates/templated_email/compiled/export_failed.html b/templates/templated_email/compiled/export_failed.htmlindex 3136e94f35..0f483c74fd 100644--- a/templates/templated_email/compiled/export_failed.html+++ b/templates/templated_email/compiled/export_failed.html@@ -103,7 +103,7 @@<tr><td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">- <div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">{% blocktrans context "Export products e-mail text" %}+ <div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">{% blocktrans trimmed context "Export products e-mail text" %}Sorry, we couldn't finish exporting products, some unexpected errors occurred.Please try again.{% endblocktrans %}</div>diff --git a/templates/templated_email/compiled/export_products_file.html b/templates/templated_email/compiled/export_products_file.htmlnew file mode 100644index 0000000000..294440b16d--- /dev/null+++ b/templates/templated_email/compiled/export_products_file.html@@ -0,0 +1,329 @@++ <!doctype html>+ <html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">+ <head>+ <title>++ </title>+ <!--[if !mso]><!-- -->+ <meta http-equiv="X-UA-Compatible" content="IE=edge">+ <!--<![endif]-->+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">+ <meta name="viewport" content="width=device-width, initial-scale=1">+ <style type="text/css">+ #outlook a { padding:0; }+ body { margin:0;padding:0;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%; }+ table, td { border-collapse:collapse;mso-table-lspace:0pt;mso-table-rspace:0pt; }+ img { border:0;height:auto;line-height:100%; outline:none;text-decoration:none;-ms-interpolation-mode:bicubic; }+ p { display:block;margin:13px 0; }+ </style>+ <!--[if mso]>+ <xml>+ <o:OfficeDocumentSettings>+ <o:AllowPNG/>+ <o:PixelsPerInch>96</o:PixelsPerInch>+ </o:OfficeDocumentSettings>+ </xml>+ <![endif]-->+ <!--[if lte mso 11]>+ <style type="text/css">+ .mj-outlook-group-fix { width:100% !important; }+ </style>+ <![endif]-->++ <!--[if !mso]><!-->+ <link href="https://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700" rel="stylesheet" type="text/css">+ <style type="text/css">+ @import url(https://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700);+ </style>+ <!--<![endif]-->++++ <style type="text/css">+ @media only screen and (min-width:480px) {+ .mj-column-per-100 { width:100% !important; max-width: 100%; }+ }+ </style>+++ <style type="text/css">+++ </style>+ <style type="text/css">address {+ font-style: inherit;+ font-family: Ubuntu, Helvetica, Arial;+ }</style>++ </head>+ <body>+++ <div style>+ {% load i18n %}{% load static %}++ <!--[if mso | IE]>+ <table+ align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"+ >+ <tr>+ <td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">+ <![endif]-->+++ <div style="margin:0px auto;max-width:600px;">++ <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">+ <tbody>+ <tr>+ <td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">+ <!--[if mso | IE]>+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">++ <tr>++ <td+ class="" style="vertical-align:top;width:600px;"+ >+ <![endif]-->++ <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">++ <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">++ <tr>+ <td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">++ <div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:16px;line-height:1;text-align:left;color:#000000;">{% trans "Hi!" context "Standard e-mail greeting" %}</div>++ </td>+ </tr>++ <tr>+ <td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">++ <div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">{% blocktrans trimmed context "Export products e-mail text" %}+ Your file with products data is ready to download: <a href="{{ csv_link }}">{{ csv_link }}</a>+ {% endblocktrans %}</div>++ </td>+ </tr>++ </table>++ </div>++ <!--[if mso | IE]>+ </td>++ </tr>++ </table>+ <![endif]-->+ </td>+ </tr>+ </tbody>+ </table>++ </div>+++ <!--[if mso | IE]>+ </td>+ </tr>+ </table>++ <table+ align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"+ >+ <tr>+ <td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">+ <![endif]-->+++ <div style="margin:0px auto;max-width:600px;">++ <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">+ <tbody>+ <tr>+ <td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">+ <!--[if mso | IE]>+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">++ <tr>++ <td+ class="" style="vertical-align:top;width:600px;"+ >+ <![endif]-->++ <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">++ <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">++ <tr>+ <td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">++ <div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">{% blocktrans trimmed context "Base email text" %}+ This is an automatically generated e-mail, please do not reply.+ {% endblocktrans %}</div>++ </td>+ </tr>++ </table>++ </div>++ <!--[if mso | IE]>+ </td>++ </tr>++ </table>+ <![endif]-->+ </td>+ </tr>+ </tbody>+ </table>++ </div>+++ <!--[if mso | IE]>+ </td>+ </tr>+ </table>++ <table+ align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600"+ >+ <tr>+ <td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">+ <![endif]-->+++ <div style="background:#F2F2F2;background-color:#F2F2F2;margin:0px auto;max-width:600px;">++ <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:#F2F2F2;background-color:#F2F2F2;width:100%;">+ <tbody>+ <tr>+ <td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">+ <!--[if mso | IE]>+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">++ <tr>++ <td+ class="" style="vertical-align:top;width:600px;"+ >+ <![endif]-->++ <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">++ <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">++ <tr>+ <td align="center" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">++ <div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:center;color:#000000;">{% blocktrans trimmed context "Base email footer" %}+ Sincerely, {{ site_name }}+ {% endblocktrans %}</div>++ </td>+ </tr>++ </table>++ </div>++ <!--[if mso | IE]>+ </td>++ </tr>++ </table>+ <![endif]-->+ </td>+ </tr>+ </tbody>+ </table>++ </div>+++ <!--[if mso | IE]>+ </td>+ </tr>+ </table>++ <table+ align="center" border="0" cellpadding="0" cellspacing="0" class="no-display-outlook" style="width:600px;" width="600"+ >+ <tr>+ <td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">+ <![endif]-->+++ <div class="no-display" style="display: none; margin: 0px auto; max-width: 600px;">++ <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">+ <tbody>+ <tr>+ <td style="direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">+ <!--[if mso | IE]>+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">++ <tr>++ <td+ class="" style="vertical-align:top;width:600px;"+ >+ <![endif]-->++ <div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">++ <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%">++ <tr>+ <td align="left" style="font-size: 0px; padding: 10px 25px; word-break: break-word;">++ <div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">{% if schema_markup %}+ <script type="application/ld+json">{{ schema_markup|safe }}</script>+ {% endif %}</div>++ </td>+ </tr>++ </table>++ </div>++ <!--[if mso | IE]>+ </td>++ </tr>++ </table>+ <![endif]-->+ </td>+ </tr>+ </tbody>+ </table>++ </div>+++ <!--[if mso | IE]>+ </td>+ </tr>+ </table>+ <![endif]-->+++ </div>++ </body>+ </html>+\ No newline at end of filediff --git a/templates/templated_email/csv/export_failed.email b/templates/templated_email/csv/export_failed.emailindex fa4d3aaabb..3769f385cc 100644--- a/templates/templated_email/csv/export_failed.email+++ b/templates/templated_email/csv/export_failed.email@@ -7,7 +7,7 @@{% block plain %}{% include 'templated_email/shared/_header.email' %}-{% blocktrans context "Export products e-mail text" %}+{% blocktrans trimmed context "Export products e-mail text" %}Sorry, we cannot finish product export, some unexpected errors occurred.Please try again.{% endblocktrans %}diff --git a/templates/templated_email/csv/export_products_file.email b/templates/templated_email/csv/export_products_file.emailindex 4d3dc8d76d..0519e154aa 100644--- a/templates/templated_email/csv/export_products_file.email+++ b/templates/templated_email/csv/export_products_file.email@@ -7,7 +7,7 @@{% block plain %}{% include 'templated_email/shared/_header.email' %}-{% blocktrans context "Export products e-mail text" %}+{% blocktrans trimmed context "Export products e-mail text" %}Your file with products data is ready to download: {{ csv_link }}{% endblocktrans %}diff --git a/templates/templated_email/source/export_failed.mjml b/templates/templated_email/source/export_failed.mjmlindex 3395b0865c..2a58e51051 100644--- a/templates/templated_email/source/export_failed.mjml+++ b/templates/templated_email/source/export_failed.mjml@@ -13,7 +13,7 @@{% trans "Hi!" context "Standard e-mail greeting" %}</mj-text><mj-text>- {% blocktrans context "Export products e-mail text" %}+ {% blocktrans trimmed context "Export products e-mail text" %}Sorry, we couldn't finish exporting products, some unexpected errors occurred.Please try again.{% endblocktrans %}diff --git a/templates/templated_email/source/export_products_csv.mjml b/templates/templated_email/source/export_products_file.mjmlsimilarity index 89%rename from templates/templated_email/source/export_products_csv.mjmlrename to templates/templated_email/source/export_products_file.mjmlindex 5d7b2c0613..9a0aefe698 100644--- a/templates/templated_email/source/export_products_csv.mjml+++ b/templates/templated_email/source/export_products_file.mjml@@ -13,7 +13,7 @@{% trans "Hi!" context "Standard e-mail greeting" %}</mj-text><mj-text>- {% blocktrans context "Export products e-mail text" %}+ {% blocktrans trimmed context "Export products e-mail text" %}Your file with products data is ready to download: <a href="{{ csv_link }}">{{ csv_link }}</a>{% endblocktrans %}</mj-text>