Skip to content

Commit

Permalink
feat: ecommerce translations
Browse files Browse the repository at this point in the history
  • Loading branch information
igobranco committed Apr 26, 2024
1 parent 449dfb7 commit f2b7272
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 23 deletions.
Binary file modified ecommerce/nau/conf/locale/en/LC_MESSAGES/django.mo
Binary file not shown.
28 changes: 18 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-03-19 17:33+0000\n"
"POT-Creation-Date: 2024-04-26 15:39+0100\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"
Expand Down Expand Up @@ -157,7 +157,7 @@ msgstr "The NAU team"

#: templates/force_translations.html:10
msgid "Welcome to edX"
msgstr "Welcom to NAU"
msgstr "Welcome to NAU"

#: templates/force_translations.html:13
msgid ""
Expand Down Expand Up @@ -223,23 +223,31 @@ msgid "If you need assistance, contact edX support."
msgstr "If you need assistance, contact NAU support."

#: templates/force_translations.html:29
msgid "Learners sign-in/register with edX and enroll for the course."
msgstr "Learners sign-in/register with NAU and enroll for the course."

#: templates/force_translations.html:32
msgid "For more information and assistance, contact ajuda@nau.edu.pt."
msgstr "For more information and assistance, contact ajuda@nau.edu.pt."

#: templates/force_translations.html:35
msgid "Root URL of this site's LMS (e.g. https://courses.stage.edx.org)"
msgstr "Root URL of this site's LMS (e.g. https://lms.stage.nau.fccn.pt)"

#: templates/force_translations.html:38
#, fuzzy, python-format
#| msgid ""
#| "Thank you for purchasing access to %(course_name)s. Let's get your group "
#| "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). Let's get your group "
"Thank you for purchasing access to %%(course_name)s. 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:"

#: templates/force_translations.html:33
msgid "Learners sign-in/register with edX and enroll for the course."
msgstr "Learners sign-in/register with NAU and enroll for the course."

#: templates/force_translations.html:36
msgid "For more information and assistance, contact ajuda@nau.edu.pt."
#: templates/force_translations.html:41
msgid "For more information and assistance, contact info@edx.org."
msgstr "For more information and assistance, contact ajuda@nau.edu.pt."

#: templates/oscar/basket/partials/hosted_checkout_basket.html:23
Expand Down
Binary file modified ecommerce/nau/conf/locale/pt_PT/LC_MESSAGES/django.mo
Binary file not shown.
26 changes: 17 additions & 9 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-03-19 17:33+0000\n"
"POT-Creation-Date: 2024-04-26 15:39+0100\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"
Expand Down Expand Up @@ -238,23 +238,31 @@ msgid "If you need assistance, contact edX support."
msgstr "Se precisar de assistência, contacte o apoio da NAU."

#: templates/force_translations.html:29
msgid "Learners sign-in/register with edX and enroll for the course."
msgstr "Os estudantes assinam/registam-se na NAU e inscrevem-se no curso."

#: templates/force_translations.html:32
msgid "For more information and assistance, contact ajuda@nau.edu.pt."
msgstr "Para mais informação e assistência, contacte ajuda@nau.edu.pt."

#: templates/force_translations.html:35
msgid "Root URL of this site's LMS (e.g. https://courses.stage.edx.org)"
msgstr "Raiz do URL do site do LMS (e.g. https://lms.stage.nau.fccn.pt)"

#: templates/force_translations.html:38
#, fuzzy, python-format
#| msgid ""
#| "Thank you for purchasing access to %(course_name)s. Let's get your group "
#| "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). Let's get your group "
"Thank you for purchasing access to %%(course_name)s. 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:"

#: templates/force_translations.html:33
msgid "Learners sign-in/register with edX and enroll for the course."
msgstr "Os estudantes assinam/registam-se na NAU e inscrevem-se no curso."

#: templates/force_translations.html:36
msgid "For more information and assistance, contact ajuda@nau.edu.pt."
#: templates/force_translations.html:41
msgid "For more information and assistance, contact info@edx.org."
msgstr "Para mais informação e assistência, contacte ajuda@nau.edu.pt."

#: templates/oscar/basket/partials/hosted_checkout_basket.html:23
Expand Down
13 changes: 9 additions & 4 deletions ecommerce/nau/templates/force_translations.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,18 @@
## Translators: Original on: ecommerce/templates/edx/error.html:17
{% trans 'If you need assistance, contact edX support.' %}

## Translators: Original on: ecommerce/templates/oscar/communication/emails/commtype_order_with_csv_body.html:26
## Translators: Original on: ecommerce/templates/oscar/communication/emails/commtype_order_with_csv_body.txt:6
{% trans "Thank you for purchasing access to %(course_name). Let's get your group ready to learn with edX:" %}

## Translators: Original on: ecommerce/templates/oscar/communication/emails/commtype_order_with_csv_body.html:36
## Translators: Original on: ecommerce/templates/oscar/communication/emails/commtype_order_with_csv_body.txt:11
{% trans 'Learners sign-in/register with edX and enroll for the course.' %}

## Translators: Original on: ecommerce/templates/oscar/communication/emails/commtype_order_with_csv_body.txt:14
{% trans 'For more information and assistance, contact ajuda@nau.edu.pt.' %}

## Translators: Original on ecommerce/core/models.py:47
{% trans "Root URL of this site's LMS (e.g. https://courses.stage.edx.org)" %}

## Translators: Original on ecommerce/templates/oscar/customer/emails/commtype_order_with_csv_body.html:26
{% trans "Thank you for purchasing access to %(course_name)s. Let's get your group ready to learn with edX:" %}

## Translators: Original on ecommerce/templates/oscar/customer/emails/commtype_order_with_csv_body.txt:14
{% trans "For more information and assistance, contact info@edx.org." %}

0 comments on commit f2b7272

Please sign in to comment.