Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add email unsubscribe message #61

Merged
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions edx-platform/nau-basic/conf/locale/babel_mako.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ input_encoding = utf-8
# [django: **/templates/**.html]
# input_encoding = utf-8

# Use to target ace_common django template files
BryanttV marked this conversation as resolved.
Show resolved Hide resolved
[django: **/templates/ace_common/**.html]
input_encoding = utf-8

# Use to target schedules django template files
[django: **/templates/schedules/**.html]
input_encoding = utf-8

[reactjs: **.jsx]
input_encoding = utf-8

Expand Down
Binary file modified edx-platform/nau-basic/conf/locale/en/LC_MESSAGES/django.mo
Binary file not shown.
125 changes: 124 additions & 1 deletion edx-platform/nau-basic/conf/locale/en/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: ajuda@nau.edu.pt\n"
"POT-Creation-Date: 2024-06-26 17:55+0100\n"
"POT-Creation-Date: 2024-12-23 17:40-0500\n"
"PO-Revision-Date: 2021-06-02 21:22+0000\n"
"Last-Translator: NAU <info@nau.edu.pt>\n"
"Language: en\n"
Expand Down Expand Up @@ -927,6 +927,7 @@ msgid ""
msgstr ""

#: edx-platform/nau-basic/cms/templates/widgets/footer.html:94
#: edx-platform/nau-basic/lms/templates/ace_common/edx_ace/common/base_body.html:175
#: edx-platform/nau-basic/lms/templates/footer.html:95
msgid "All rights reserved"
msgstr ""
Expand Down Expand Up @@ -1082,6 +1083,7 @@ msgid "Help NAU"
msgstr ""

#: edx-platform/nau-basic/cms/templates/widgets/header.html:253
#: edx-platform/nau-basic/lms/templates/ace_common/edx_ace/common/base_body.html:68
msgid "Sign In"
msgstr ""

Expand Down Expand Up @@ -1214,6 +1216,58 @@ msgstr ""
msgid "Accept new terms of service"
msgstr ""

#: edx-platform/nau-basic/lms/templates/ace_common/edx_ace/common/base_body.html:65
#, python-format
msgid "Go to %(platform_name)s Home Page"
msgstr ""

#: edx-platform/nau-basic/lms/templates/ace_common/edx_ace/common/base_body.html:98
#, python-format
msgid "%(platform_name)s on LinkedIn"
msgstr ""

#: edx-platform/nau-basic/lms/templates/ace_common/edx_ace/common/base_body.html:106
#, python-format
msgid "%(platform_name)s on Twitter"
msgstr ""

#: edx-platform/nau-basic/lms/templates/ace_common/edx_ace/common/base_body.html:114
#, python-format
msgid "%(platform_name)s on Facebook"
msgstr ""

#: edx-platform/nau-basic/lms/templates/ace_common/edx_ace/common/base_body.html:122
#, python-format
msgid "%(platform_name)s on Google Plus"
msgstr ""

#: edx-platform/nau-basic/lms/templates/ace_common/edx_ace/common/base_body.html:130
#, python-format
msgid "%(platform_name)s on Reddit"
msgstr ""

#: edx-platform/nau-basic/lms/templates/ace_common/edx_ace/common/base_body.html:144
msgid "Download the iOS app on the Apple Store"
msgstr ""

#: edx-platform/nau-basic/lms/templates/ace_common/edx_ace/common/base_body.html:151
msgid "Download the Android app on the Google Play Store"
msgstr ""

#: edx-platform/nau-basic/lms/templates/ace_common/edx_ace/common/base_body.html:177
msgid "Our mailing address is"
msgstr ""

#: edx-platform/nau-basic/lms/templates/ace_common/edx_ace/common/nudge_email_unsubscribe_message.html:8
msgid ""
"If you prefer not to receive automatic emails and keep only the essential"
" ones, update your newsletter preferences in your"
msgstr ""

#: edx-platform/nau-basic/lms/templates/ace_common/edx_ace/common/nudge_email_unsubscribe_message.html:10
msgid "Account Settings"
msgstr ""

#: edx-platform/nau-basic/lms/templates/certificates/_accomplishment-banner.html:59
msgid "Print or share your certificate:"
msgstr ""
Expand Down Expand Up @@ -1397,6 +1451,75 @@ msgstr ""
msgid "Sign Out"
msgstr ""

#: edx-platform/nau-basic/lms/templates/schedules/edx_ace/recurringnudge_day10/email/body.html:11
#: edx-platform/nau-basic/lms/templates/schedules/edx_ace/recurringnudge_day10/email/body.html:35
#, python-format
msgid ""
"Many %(platform_name)s learners are completing more problems every week, "
"and participating in the discussion forums. What do you want to do to "
"keep learning?"
msgstr ""

#: edx-platform/nau-basic/lms/templates/schedules/edx_ace/recurringnudge_day10/email/body.html:18
#, python-format
msgid ""
"Many %(platform_name)s learners in %(course_name)s are completing more "
"problems every week, and participating in the discussion forums. What do "
"you want to do to keep learning?"
msgstr ""

#: edx-platform/nau-basic/lms/templates/schedules/edx_ace/recurringnudge_day10/email/body.html:27
msgid "Keep up the momentum!"
msgstr ""

#: edx-platform/nau-basic/lms/templates/schedules/edx_ace/recurringnudge_day10/email/body.html:41
msgid ""
"Many {platform_name} learners in {start_strong}{course_name}{end_strong} "
"are completing more problems every week, and participating in the "
"discussion forums. What do you want to do to keep learning?"
msgstr ""

#: edx-platform/nau-basic/lms/templates/schedules/edx_ace/recurringnudge_day10/email/body.html:47
msgid "Keep learning"
msgstr ""

#: edx-platform/nau-basic/lms/templates/schedules/edx_ace/recurringnudge_day3/email/body.html:11
#, python-format
msgid ""
"Remember when you enrolled in %(course_name)s, and other courses on "
"%(platform_name)s? We do, and we’re glad to have you! Come see what "
"everyone is learning."
msgstr ""

#: edx-platform/nau-basic/lms/templates/schedules/edx_ace/recurringnudge_day3/email/body.html:18
#, python-format
msgid ""
"Remember when you enrolled in %(course_name)s on %(platform_name)s? We "
"do, and we’re glad to have you! Come see what everyone is learning."
msgstr ""

#: edx-platform/nau-basic/lms/templates/schedules/edx_ace/recurringnudge_day3/email/body.html:27
msgid "Keep learning today"
msgstr ""

#: edx-platform/nau-basic/lms/templates/schedules/edx_ace/recurringnudge_day3/email/body.html:34
msgid ""
"Remember when you enrolled in {start_strong}{course_name}{end_strong}, "
"and other courses on {platform_name}? We do, and we’re glad to have you! "
"Come see what everyone is learning."
msgstr ""

#: edx-platform/nau-basic/lms/templates/schedules/edx_ace/recurringnudge_day3/email/body.html:40
msgid ""
"Remember when you enrolled in {start_strong}{course_name}{end_strong} on "
"{platform_name}? We do, and we’re glad to have you! Come see what "
"everyone is learning."
msgstr ""

#: edx-platform/nau-basic/lms/templates/schedules/edx_ace/recurringnudge_day3/email/body.html:46
msgid "Start learning now"
msgstr ""

#: edx-platform/nau-basic/lms/templates/widgets/cookie-consent.html:24
msgid ""
"This website uses cookies to ensure you get the best experience on our "
Expand Down
Binary file modified edx-platform/nau-basic/conf/locale/en/LC_MESSAGES/djangojs.mo
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: ajuda@nau.edu.pt\n"
"POT-Creation-Date: 2024-06-26 17:55+0100\n"
"POT-Creation-Date: 2024-12-23 17:40-0500\n"
"PO-Revision-Date: 2021-06-02 21:22+0000\n"
"Last-Translator: NAU <info@nau.edu.pt>\n"
"Language: en\n"
Expand Down
Binary file modified edx-platform/nau-basic/conf/locale/pt_PT/LC_MESSAGES/django.mo
Binary file not shown.
127 changes: 126 additions & 1 deletion edx-platform/nau-basic/conf/locale/pt_PT/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: support@edunext.co\n"
"POT-Creation-Date: 2024-06-26 17:55+0100\n"
"POT-Creation-Date: 2024-12-23 17:40-0500\n"
"PO-Revision-Date: 2021-03-12 12:49+0000\n"
"Last-Translator: NAU <info@nau.edu.pt>\n"
"Language: pt_PT\n"
Expand Down Expand Up @@ -1053,6 +1053,7 @@ msgid ""
msgstr ""

#: edx-platform/nau-basic/cms/templates/widgets/footer.html:94
#: edx-platform/nau-basic/lms/templates/ace_common/edx_ace/common/base_body.html:175
#: edx-platform/nau-basic/lms/templates/footer.html:95
msgid "All rights reserved"
msgstr "Todos os direitos reservados"
Expand Down Expand Up @@ -1208,6 +1209,7 @@ msgid "Help NAU"
msgstr "Ajuda NAU"

#: edx-platform/nau-basic/cms/templates/widgets/header.html:253
#: edx-platform/nau-basic/lms/templates/ace_common/edx_ace/common/base_body.html:68
msgid "Sign In"
msgstr "Entrar"

Expand Down Expand Up @@ -1345,6 +1347,60 @@ msgstr ""
msgid "Accept new terms of service"
msgstr "Aceito os novos termos de serviço"

#: edx-platform/nau-basic/lms/templates/ace_common/edx_ace/common/base_body.html:65
#, python-format
msgid "Go to %(platform_name)s Home Page"
msgstr "Vá para a página inicial de %(platform_name)"

#: edx-platform/nau-basic/lms/templates/ace_common/edx_ace/common/base_body.html:98
#, python-format
msgid "%(platform_name)s on LinkedIn"
msgstr "%(platform_name)s no LinkedIn"

#: edx-platform/nau-basic/lms/templates/ace_common/edx_ace/common/base_body.html:106
#, python-format
msgid "%(platform_name)s on Twitter"
msgstr "%(platform_name)s no Twitter"

#: edx-platform/nau-basic/lms/templates/ace_common/edx_ace/common/base_body.html:114
#, python-format
msgid "%(platform_name)s on Facebook"
msgstr "%(platform_name)s no Facebook"

#: edx-platform/nau-basic/lms/templates/ace_common/edx_ace/common/base_body.html:122
#, python-format
msgid "%(platform_name)s on Google Plus"
msgstr "%(platform_name)s no Google Plus"

#: edx-platform/nau-basic/lms/templates/ace_common/edx_ace/common/base_body.html:130
#, python-format
msgid "%(platform_name)s on Reddit"
msgstr "%(platform_name)s no Reddit"

#: edx-platform/nau-basic/lms/templates/ace_common/edx_ace/common/base_body.html:144
msgid "Download the iOS app on the Apple Store"
msgstr "Descarregue a aplicação iOS na Apple Store"

#: edx-platform/nau-basic/lms/templates/ace_common/edx_ace/common/base_body.html:151
msgid "Download the Android app on the Google Play Store"
msgstr "Descarregue a aplicação Android na Google Play Store"

#: edx-platform/nau-basic/lms/templates/ace_common/edx_ace/common/base_body.html:177
msgid "Our mailing address is"
msgstr "O nosso endereço postal é"

#: edx-platform/nau-basic/lms/templates/ace_common/edx_ace/common/nudge_email_unsubscribe_message.html:8
msgid ""
"If you prefer not to receive automatic emails and keep only the essential"
" ones, update your newsletter preferences in your"
msgstr ""
"Se preferir não receber emails automáticos e manter apenas os essenciais,"
" atualize as suas preferências de newsletter nas"

#: edx-platform/nau-basic/lms/templates/ace_common/edx_ace/common/nudge_email_unsubscribe_message.html:10
msgid "Account Settings"
msgstr "Configurações de Conta"

#: edx-platform/nau-basic/lms/templates/certificates/_accomplishment-banner.html:59
msgid "Print or share your certificate:"
msgstr "Imprimir ou partilhar o seu certificado:"
Expand Down Expand Up @@ -1540,6 +1596,75 @@ msgstr ""
msgid "Sign Out"
msgstr "Terminar Sessão"

#: edx-platform/nau-basic/lms/templates/schedules/edx_ace/recurringnudge_day10/email/body.html:11
#: edx-platform/nau-basic/lms/templates/schedules/edx_ace/recurringnudge_day10/email/body.html:35
#, python-format
msgid ""
"Many %(platform_name)s learners are completing more problems every week, "
"and participating in the discussion forums. What do you want to do to "
"keep learning?"
msgstr ""

#: edx-platform/nau-basic/lms/templates/schedules/edx_ace/recurringnudge_day10/email/body.html:18
#, python-format
msgid ""
"Many %(platform_name)s learners in %(course_name)s are completing more "
"problems every week, and participating in the discussion forums. What do "
"you want to do to keep learning?"
msgstr ""

#: edx-platform/nau-basic/lms/templates/schedules/edx_ace/recurringnudge_day10/email/body.html:27
msgid "Keep up the momentum!"
msgstr ""

#: edx-platform/nau-basic/lms/templates/schedules/edx_ace/recurringnudge_day10/email/body.html:41
msgid ""
"Many {platform_name} learners in {start_strong}{course_name}{end_strong} "
"are completing more problems every week, and participating in the "
"discussion forums. What do you want to do to keep learning?"
msgstr ""

#: edx-platform/nau-basic/lms/templates/schedules/edx_ace/recurringnudge_day10/email/body.html:47
msgid "Keep learning"
msgstr ""

#: edx-platform/nau-basic/lms/templates/schedules/edx_ace/recurringnudge_day3/email/body.html:11
#, python-format
msgid ""
"Remember when you enrolled in %(course_name)s, and other courses on "
"%(platform_name)s? We do, and we’re glad to have you! Come see what "
"everyone is learning."
msgstr ""

#: edx-platform/nau-basic/lms/templates/schedules/edx_ace/recurringnudge_day3/email/body.html:18
#, python-format
msgid ""
"Remember when you enrolled in %(course_name)s on %(platform_name)s? We "
"do, and we’re glad to have you! Come see what everyone is learning."
msgstr ""

#: edx-platform/nau-basic/lms/templates/schedules/edx_ace/recurringnudge_day3/email/body.html:27
msgid "Keep learning today"
msgstr ""

#: edx-platform/nau-basic/lms/templates/schedules/edx_ace/recurringnudge_day3/email/body.html:34
msgid ""
"Remember when you enrolled in {start_strong}{course_name}{end_strong}, "
"and other courses on {platform_name}? We do, and we’re glad to have you! "
"Come see what everyone is learning."
msgstr ""

#: edx-platform/nau-basic/lms/templates/schedules/edx_ace/recurringnudge_day3/email/body.html:40
msgid ""
"Remember when you enrolled in {start_strong}{course_name}{end_strong} on "
"{platform_name}? We do, and we’re glad to have you! Come see what "
"everyone is learning."
msgstr ""

#: edx-platform/nau-basic/lms/templates/schedules/edx_ace/recurringnudge_day3/email/body.html:46
msgid "Start learning now"
msgstr ""

#: edx-platform/nau-basic/lms/templates/widgets/cookie-consent.html:24
msgid ""
"This website uses cookies to ensure you get the best experience on our "
Expand Down
Binary file modified edx-platform/nau-basic/conf/locale/pt_PT/LC_MESSAGES/djangojs.mo
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: ajuda@nau.edu.pt\n"
"POT-Creation-Date: 2024-06-26 17:55+0100\n"
"POT-Creation-Date: 2024-12-23 17:40-0500\n"
"PO-Revision-Date: 2021-06-02 21:22+0000\n"
"Last-Translator: NAU <info@nau.edu.pt>\n"
"Language: pt_PT\n"
Expand Down
MaferMazu marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,9 @@
{% endfor %}
</td>
</tr>
<tr>
BryanttV marked this conversation as resolved.
Show resolved Hide resolved
{% block footer_extension %}{% endblock %}
</tr>
<tr>
<!-- COPYRIGHT -->
<td>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{% load i18n %}
{% load ace %}

<span>
{% blocktrans trimmed %}
If you prefer not to receive automatic emails and keep only the essential ones,
MaferMazu marked this conversation as resolved.
Show resolved Hide resolved
update your newsletter preferences in your
{% endblocktrans %}
<a href="{% with_link_tracking homepage_url|add:'account/settings' %}">
{% trans "Account Settings" %}
</a>.
</span>
Loading
Loading