Skip to content

Commit

Permalink
feat: add ecommerce nau extension receipt partial
Browse files Browse the repository at this point in the history
Add a receipt partial that calls ecommerce nau extension project.
fccn/nau-technical#25
  • Loading branch information
igobranco committed Mar 19, 2024
1 parent 34664dd commit dbf82fd
Show file tree
Hide file tree
Showing 3 changed files with 474 additions and 20 deletions.
138 changes: 128 additions & 10 deletions ecommerce/nau/conf/locale/en/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-01-25 12:14+0000\n"
"POT-Creation-Date: 2024-03-14 16:29+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"
Expand All @@ -17,6 +17,130 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#: templates/edx/checkout/receipt.html:13
#, python-format
msgid "Receipt for %(order_number)s"
msgstr ""

#: templates/edx/checkout/receipt.html:43
msgid "Thank you for your order!"
msgstr ""

#: templates/edx/checkout/receipt.html:53
#, python-brace-format
msgid ""
"Your order is complete. You will receive a confirmation message and your "
"enrollment code(s) at {link_start}{email}{link_end}. If you need a receipt, "
"you can print this page."
msgstr ""

#: templates/edx/checkout/receipt.html:59
#, python-brace-format
msgid ""
"Your order is complete. If you need a receipt, you can print this page. You "
"will also receive a confirmation message with this information at "
"{link_start}{email}{link_end}."
msgstr ""

#: templates/edx/checkout/receipt.html:79
msgid "Order Number:"
msgstr ""

#: templates/edx/checkout/receipt.html:82
msgid "Payment Method:"
msgstr ""

#: templates/edx/checkout/receipt.html:85
msgid "Order Date:"
msgstr ""

#: templates/edx/checkout/receipt.html:91
msgid "Order Information"
msgstr ""

#: templates/edx/checkout/receipt.html:95
#: templates/oscar/basket/partials/hosted_checkout_basket.html:43
msgid "Quantity"
msgstr ""

#: templates/edx/checkout/receipt.html:96
msgid "Description"
msgstr ""

#: templates/edx/checkout/receipt.html:97
#: templates/oscar/basket/partials/hosted_checkout_basket.html:39
msgid "Item Price"
msgstr ""

#: templates/edx/checkout/receipt.html:101
msgid "Quantity:"
msgstr ""

#: templates/edx/checkout/receipt.html:103
msgid "Description:"
msgstr ""

#: templates/edx/checkout/receipt.html:112
msgid "Item Price:"
msgstr ""

#: templates/edx/checkout/receipt.html:118
msgid "Subtotal"
msgstr ""

#: templates/edx/checkout/receipt.html:127
msgid "Discount"
msgstr ""

#: templates/edx/checkout/receipt.html:134
#, python-format
msgid "%(voucher_discount_amount)s off"
msgstr ""

#: templates/edx/checkout/receipt.html:144
#, python-format
msgid "Discount of type %(type)s provided by %(enterprise_name)s"
msgstr ""

#: templates/edx/checkout/receipt.html:149
msgid "Discount for your first upgrade"
msgstr ""

#: templates/edx/checkout/receipt.html:152
#, python-format
msgid "Discount of type %(type)s is provided."
msgstr ""

#: templates/edx/checkout/receipt.html:166
#, python-format
msgid "Courtesy of %(enterprise_name)s."
msgstr ""

#: templates/edx/checkout/receipt.html:179
msgid "Total"
msgstr ""

#: templates/edx/checkout/receipt.html:186
msgid "Get Your Course Credit"
msgstr ""

#: templates/edx/checkout/receipt.html:188
#, python-brace-format
msgid ""
"To receive academic credit for this course, you must apply for credit at the "
"organization that offers the credit. You can find a link to the "
"organization’s website on your {link_start}{lms_dashboard_url}{link_middle}"
"dashboard{link_end}, next to the course name."
msgstr ""

#: templates/edx/checkout/receipt.html:203
msgid "Go to dashboard"
msgstr ""

#: templates/edx/checkout/receipt.html:206
msgid "Find more courses"
msgstr ""

#: templates/force_translations.html:4
msgid "Price (in EUR)"
msgstr ""
Expand Down Expand Up @@ -97,7 +221,9 @@ msgstr "If you need assistance, contact NAU support."
#| msgid ""
#| "Thank you for purchasing access to %(course_name)s. Let's get your group "
#| "ready to learn with edX:"
msgid "Thank you for purchasing access to %%(course_name)s. Let"
msgid ""
"Thank you for purchasing access to %%(course_name). Let's get your group "
"ready to learn with edX:"
msgstr ""
"Thank you for purchasing access to %(course_name)s. Let's get your group "
"ready to learn with NAU:"
Expand All @@ -114,14 +240,6 @@ msgstr "For more information and assistance, contact [email protected]."
msgid "Earn a valuable certificate to showcase the skills you learn in"
msgstr ""

#: templates/oscar/basket/partials/hosted_checkout_basket.html:39
msgid "Item Price"
msgstr ""

#: templates/oscar/basket/partials/hosted_checkout_basket.html:43
msgid "Quantity"
msgstr ""

#: templates/oscar/basket/partials/hosted_checkout_basket.html:57
msgid "Updating..."
msgstr ""
Expand Down
144 changes: 134 additions & 10 deletions ecommerce/nau/conf/locale/pt_PT/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-01-25 12:14+0000\n"
"POT-Creation-Date: 2024-03-14 16:29+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"
Expand All @@ -17,6 +17,136 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#: templates/edx/checkout/receipt.html:13
#, python-format
msgid "Receipt for %(order_number)s"
msgstr ""

#: templates/edx/checkout/receipt.html:43
msgid "Thank you for your order!"
msgstr ""

#: templates/edx/checkout/receipt.html:53
#, python-brace-format
msgid ""
"Your order is complete. You will receive a confirmation message and your "
"enrollment code(s) at {link_start}{email}{link_end}. If you need a receipt, "
"you can print this page."
msgstr ""

#: templates/edx/checkout/receipt.html:59
#, python-brace-format
msgid ""
"Your order is complete. If you need a receipt, you can print this page. You "
"will also receive a confirmation message with this information at "
"{link_start}{email}{link_end}."
msgstr ""

#: templates/edx/checkout/receipt.html:79
msgid "Order Number:"
msgstr ""

#: templates/edx/checkout/receipt.html:82
msgid "Payment Method:"
msgstr ""

#: templates/edx/checkout/receipt.html:85
msgid "Order Date:"
msgstr ""

#: templates/edx/checkout/receipt.html:91
msgid "Order Information"
msgstr ""

#: templates/edx/checkout/receipt.html:95
#: templates/oscar/basket/partials/hosted_checkout_basket.html:43
msgid "Quantity"
msgstr "Quantidade"

#: templates/edx/checkout/receipt.html:96
msgid "Description"
msgstr ""

#: templates/edx/checkout/receipt.html:97
#: templates/oscar/basket/partials/hosted_checkout_basket.html:39
msgid "Item Price"
msgstr "Preço do Item"

#: templates/edx/checkout/receipt.html:101
#, fuzzy
#| msgid "Quantity"
msgid "Quantity:"
msgstr "Quantidade"

#: templates/edx/checkout/receipt.html:103
msgid "Description:"
msgstr ""

#: templates/edx/checkout/receipt.html:112
#, fuzzy
#| msgid "Item Price"
msgid "Item Price:"
msgstr "Preço do Item"

#: templates/edx/checkout/receipt.html:118
msgid "Subtotal"
msgstr ""

#: templates/edx/checkout/receipt.html:127
msgid "Discount"
msgstr ""

#: templates/edx/checkout/receipt.html:134
#, python-format
msgid "%(voucher_discount_amount)s off"
msgstr ""

#: templates/edx/checkout/receipt.html:144
#, python-format
msgid "Discount of type %(type)s provided by %(enterprise_name)s"
msgstr ""

#: templates/edx/checkout/receipt.html:149
msgid "Discount for your first upgrade"
msgstr ""

#: templates/edx/checkout/receipt.html:152
#, python-format
msgid "Discount of type %(type)s is provided."
msgstr ""

#: templates/edx/checkout/receipt.html:166
#, python-format
msgid "Courtesy of %(enterprise_name)s."
msgstr ""

#: templates/edx/checkout/receipt.html:179
#, fuzzy
#| msgid "Total:"
msgid "Total"
msgstr "Total:"

#: templates/edx/checkout/receipt.html:186
msgid "Get Your Course Credit"
msgstr ""

#: templates/edx/checkout/receipt.html:188
#, python-brace-format
msgid ""
"To receive academic credit for this course, you must apply for credit at the "
"organization that offers the credit. You can find a link to the "
"organization’s website on your {link_start}{lms_dashboard_url}{link_middle}"
"dashboard{link_end}, next to the course name."
msgstr ""

#: templates/edx/checkout/receipt.html:203
msgid "Go to dashboard"
msgstr ""

#: templates/edx/checkout/receipt.html:206
msgid "Find more courses"
msgstr ""

#: templates/force_translations.html:4
msgid "Price (in EUR)"
msgstr "Preço (em EUROS)"
Expand Down Expand Up @@ -98,7 +228,9 @@ msgstr "Se precisar de assistência, contacte o apoio da NAU."
#| msgid ""
#| "Thank you for purchasing access to %(course_name)s. Let's get your group "
#| "ready to learn with edX:"
msgid "Thank you for purchasing access to %%(course_name)s. Let"
msgid ""
"Thank you for purchasing access to %%(course_name). Let's get your group "
"ready to learn with edX:"
msgstr ""
"Obrigado por adquirir acesso a %(course_name)s. Vamos preparar o seu grupo "
"para começar a aprender com a NAU:"
Expand All @@ -116,14 +248,6 @@ msgid "Earn a valuable certificate to showcase the skills you learn in"
msgstr ""
"Ganhe um certificado valioso para mostrar as competências que aprende em"

#: templates/oscar/basket/partials/hosted_checkout_basket.html:39
msgid "Item Price"
msgstr "Preço do Item"

#: templates/oscar/basket/partials/hosted_checkout_basket.html:43
msgid "Quantity"
msgstr "Quantidade"

#: templates/oscar/basket/partials/hosted_checkout_basket.html:57
msgid "Updating..."
msgstr "A atualizar..."
Expand Down
Loading

0 comments on commit dbf82fd

Please sign in to comment.