Skip to content

Commit

Permalink
feat: change translations
Browse files Browse the repository at this point in the history
Change translations on register page.
Change from a simply agree to I've read and agree.
The motivation is that we need to add multiple authorization
checkboxes to the register page, requested by the DPO.

fccn/nau-technical#83
  • Loading branch information
igobranco committed Apr 12, 2024
1 parent 95b75eb commit 2b4566b
Show file tree
Hide file tree
Showing 9 changed files with 82 additions and 94 deletions.
12 changes: 12 additions & 0 deletions edx-platform/nau-basic/cms/templates/force-translations.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,15 @@

## Translators: GN-206
${_("Answers are displayed within the problem")}

## Translators: Change Terms of Service to Terms and Conditions https://github.com/fccn/nau-technical/issues/83
${_("Terms of Service")}

## Translators: Change from a simply agree to I've read and agree, used by Honor Code
${_("I agree to the {platform_name} {terms_of_service_link_start}{terms_of_service}{terms_of_service_link_end}")}

## Translators: Change from a simply agree to I've read and agree, used by Honor Code
${_("You must agree to the {platform_name} {terms_of_service}")}

## Translators:Change from a simply agree to I've read and agree, used by Terms of Service
${_("I agree to the {platform_name} {tos_link_start}{terms_of_service}{tos_link_end}")}
Binary file modified edx-platform/nau-basic/conf/locale/en/LC_MESSAGES/django.mo
Binary file not shown.
39 changes: 34 additions & 5 deletions 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: [email protected]\n"
"POT-Creation-Date: 2023-07-17 17:51+0100\n"
"POT-Creation-Date: 2024-04-12 17:01+0100\n"
"PO-Revision-Date: 2021-06-02 21:22+0000\n"
"Last-Translator: NAU <[email protected]>\n"
"Language: en\n"
Expand Down Expand Up @@ -671,6 +671,39 @@ msgstr ""
msgid "Answers are displayed within the problem"
msgstr ""

#. Translators: Change Terms of Service to Terms and Conditions
#. https://github.com/fccn/nau-technical/issues/83
#: edx-platform/nau-basic/cms/templates/force-translations.html:73
#: edx-platform/nau-basic/cms/templates/widgets/footer.html:26
msgid "Terms of Service"
msgstr "Terms and Conditions"

#. Translators: Change from a simply agree to I've read and agree, used by
#. Honor Code
#: edx-platform/nau-basic/cms/templates/force-translations.html:76
msgid ""
"I agree to the {platform_name} "
"{terms_of_service_link_start}{terms_of_service}{terms_of_service_link_end}"
msgstr ""
"I have read and understood the "
"{terms_of_service_link_start}{terms_of_service}{terms_of_service_link_end}"

#. Translators: Change from a simply agree to I've read and agree, used by
#. Honor Code
#: edx-platform/nau-basic/cms/templates/force-translations.html:79
msgid "You must agree to the {platform_name} {terms_of_service}"
msgstr "You must read and understood the {terms_of_service}"

#. Translators:Change from a simply agree to I've read and agree, used by Terms
#. of Service
#: edx-platform/nau-basic/cms/templates/force-translations.html:82
msgid ""
"I agree to the {platform_name} "
"{tos_link_start}{terms_of_service}{tos_link_end}"
msgstr ""
"I have read, understood and accept the "
"{tos_link_start}{terms_of_service}{tos_link_end}"

#: edx-platform/nau-basic/cms/templates/howitworks.html:11
msgid "Welcome"
msgstr ""
Expand Down Expand Up @@ -865,10 +898,6 @@ msgstr ""
msgid "Policies"
msgstr ""

#: edx-platform/nau-basic/cms/templates/widgets/footer.html:26
msgid "Terms of Service"
msgstr ""

#: edx-platform/nau-basic/cms/templates/widgets/footer.html:31
msgid "Privacy Policy"
msgstr ""
Expand Down
Binary file modified edx-platform/nau-basic/conf/locale/en/LC_MESSAGES/djangojs.mo
Binary file not shown.
43 changes: 1 addition & 42 deletions edx-platform/nau-basic/conf/locale/en/LC_MESSAGES/djangojs.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: [email protected]\n"
"POT-Creation-Date: 2023-07-17 17:51+0100\n"
"POT-Creation-Date: 2024-04-12 17:01+0100\n"
"PO-Revision-Date: 2021-06-02 21:22+0000\n"
"Last-Translator: NAU <[email protected]>\n"
"Language: en\n"
Expand Down Expand Up @@ -222,44 +222,3 @@ msgstr ""
msgid "New Unit"
msgstr ""

#: edx-platform/nau-basic/lms/templates/student_account/register.underscore:6
msgid "Already have an {platformName} account?"
msgstr ""

#: edx-platform/nau-basic/lms/templates/student_account/register.underscore:7
msgid "Sign in."
msgstr ""

#: edx-platform/nau-basic/lms/templates/student_account/register.underscore:18
msgid "Create an account using"
msgstr ""

#: edx-platform/nau-basic/lms/templates/student_account/register.underscore:31
#, python-format
msgid "Create account using %(providerName)s."
msgstr ""

#: edx-platform/nau-basic/lms/templates/student_account/register.underscore:38
msgid "Use my institution/campus credentials"
msgstr ""

#: edx-platform/nau-basic/lms/templates/student_account/register.underscore:44
msgid "or create a new one here"
msgstr ""

#: edx-platform/nau-basic/lms/templates/student_account/register.underscore:48
msgid "Create an Account"
msgstr ""

#: edx-platform/nau-basic/lms/templates/student_account/register.underscore:60
msgid "Support education research by providing additional information"
msgstr ""

#: edx-platform/nau-basic/lms/templates/student_account/register.underscore:67
msgid "Create Account"
msgstr ""

#: edx-platform/nau-basic/lms/templates/student_account/register.underscore:78
msgid "Find out how to associate your Portuguese Citizen Card to your NAU account"
msgstr ""

Binary file modified edx-platform/nau-basic/conf/locale/pt_PT/LC_MESSAGES/django.mo
Binary file not shown.
39 changes: 34 additions & 5 deletions 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: [email protected]\n"
"POT-Creation-Date: 2023-07-17 17:51+0100\n"
"POT-Creation-Date: 2024-04-12 17:01+0100\n"
"PO-Revision-Date: 2021-03-12 12:49+0000\n"
"Last-Translator: NAU <[email protected]>\n"
"Language: pt_PT\n"
Expand Down Expand Up @@ -797,6 +797,39 @@ msgstr "Resposta"
msgid "Answers are displayed within the problem"
msgstr "As respostas corretas encontram-se marcadas diretamente no problema"

#. Translators: Change Terms of Service to Terms and Conditions
#. https://github.com/fccn/nau-technical/issues/83
#: edx-platform/nau-basic/cms/templates/force-translations.html:73
#: edx-platform/nau-basic/cms/templates/widgets/footer.html:26
msgid "Terms of Service"
msgstr "Termos e Condições"

#. Translators: Change from a simply agree to I've read and agree, used by
#. Honor Code
#: edx-platform/nau-basic/cms/templates/force-translations.html:76
msgid ""
"I agree to the {platform_name} "
"{terms_of_service_link_start}{terms_of_service}{terms_of_service_link_end}"
msgstr ""
"Li e compreendi o "
"{terms_of_service_link_start}{terms_of_service}{terms_of_service_link_end}"

#. Translators: Change from a simply agree to I've read and agree, used by
#. Honor Code
#: edx-platform/nau-basic/cms/templates/force-translations.html:79
msgid "You must agree to the {platform_name} {terms_of_service}"
msgstr "Deverá ler e compreender o {terms_of_service}"

#. Translators:Change from a simply agree to I've read and agree, used by Terms
#. of Service
#: edx-platform/nau-basic/cms/templates/force-translations.html:82
msgid ""
"I agree to the {platform_name} "
"{tos_link_start}{terms_of_service}{tos_link_end}"
msgstr ""
"Li, compreendi e aceito os "
"{tos_link_start}{terms_of_service}{tos_link_end}"

#: edx-platform/nau-basic/cms/templates/howitworks.html:11
msgid "Welcome"
msgstr "Bem vindo"
Expand Down Expand Up @@ -991,10 +1024,6 @@ msgstr ""
msgid "Policies"
msgstr "Painel"

#: edx-platform/nau-basic/cms/templates/widgets/footer.html:26
msgid "Terms of Service"
msgstr "Termos de Serviço"

#: edx-platform/nau-basic/cms/templates/widgets/footer.html:31
msgid "Privacy Policy"
msgstr "Política de Privacidade"
Expand Down
Binary file modified edx-platform/nau-basic/conf/locale/pt_PT/LC_MESSAGES/djangojs.mo
Binary file not shown.
43 changes: 1 addition & 42 deletions edx-platform/nau-basic/conf/locale/pt_PT/LC_MESSAGES/djangojs.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: [email protected]\n"
"POT-Creation-Date: 2023-07-17 17:51+0100\n"
"POT-Creation-Date: 2024-04-12 17:01+0100\n"
"PO-Revision-Date: 2021-06-02 21:22+0000\n"
"Last-Translator: NAU <[email protected]>\n"
"Language: pt_PT\n"
Expand Down Expand Up @@ -248,44 +248,3 @@ msgstr ""
msgid "New Unit"
msgstr ""

#: edx-platform/nau-basic/lms/templates/student_account/register.underscore:6
msgid "Already have an {platformName} account?"
msgstr "Já tem uma conta {platformName}?"

#: edx-platform/nau-basic/lms/templates/student_account/register.underscore:7
msgid "Sign in."
msgstr "Iniciar sessão."

#: edx-platform/nau-basic/lms/templates/student_account/register.underscore:18
msgid "Create an account using"
msgstr "Criar uma conta utilizando"

#: edx-platform/nau-basic/lms/templates/student_account/register.underscore:31
#, python-format
msgid "Create account using %(providerName)s."
msgstr "Criar conta utilizando %(providerName)s."

#: edx-platform/nau-basic/lms/templates/student_account/register.underscore:38
msgid "Use my institution/campus credentials"
msgstr "Utilize as minhas credenciais da instituição/campus"

#: edx-platform/nau-basic/lms/templates/student_account/register.underscore:44
msgid "or create a new one here"
msgstr "ou criar uma nova aqui"

#: edx-platform/nau-basic/lms/templates/student_account/register.underscore:48
msgid "Create an Account"
msgstr "Criar uma Conta"

#: edx-platform/nau-basic/lms/templates/student_account/register.underscore:60
msgid "Support education research by providing additional information"
msgstr "Apoiar a investigação em educação, fornecendo informações adicionais"

#: edx-platform/nau-basic/lms/templates/student_account/register.underscore:67
msgid "Create Account"
msgstr "Criar Conta"

#: edx-platform/nau-basic/lms/templates/student_account/register.underscore:78
msgid "Find out how to associate your Portuguese Citizen Card to your NAU account"
msgstr "Descubra como associar o seu Cartão de Cidadão Português à sua conta NAU"

0 comments on commit 2b4566b

Please sign in to comment.