-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename the data_authorization field of NauUserExtendedModel. 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
Showing
6 changed files
with
70 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: PROJECT VERSION\n" | ||
"Report-Msgid-Bugs-To: [email protected]\n" | ||
"POT-Creation-Date: 2023-07-03 17:12+0100\n" | ||
"POT-Creation-Date: 2024-04-12 17:27+0100\n" | ||
"PO-Revision-Date: 2021-02-15 15:56+0000\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language: en\n" | ||
|
@@ -47,60 +47,61 @@ msgid "Other" | |
msgstr "" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:40 | ||
msgid "I authorize data processing for this site " | ||
msgid "" | ||
"I have read and understood the <a href='https://www.nau.edu.pt/legal" | ||
"/politica-de-privacidade/' rel='noopener' target='_blank'>Privacy " | ||
"Policy</a>" | ||
msgstr "" | ||
"I authorize data to be processed according to terms of service and " | ||
"privacy policy" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:43 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:46 | ||
msgid "NIF" | ||
msgstr "NIF - Portuguese VAT identification number" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:46 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:49 | ||
msgid "CC NIF" | ||
msgstr "" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:49 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:52 | ||
msgid "CC NIC" | ||
msgstr "" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:52 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:55 | ||
msgid "CC NIC Check Digit" | ||
msgstr "" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:55 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:58 | ||
msgid "CC First name" | ||
msgstr "" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:57 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:60 | ||
msgid "CC Last name" | ||
msgstr "" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:59 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:62 | ||
msgid "CC Nacionality" | ||
msgstr "" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:62 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:65 | ||
msgid "CC Zip code 3 digits" | ||
msgstr "" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:65 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:68 | ||
msgid "CC Zip code 4 digits" | ||
msgstr "" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:68 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:71 | ||
msgid "CC Document number" | ||
msgstr "" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:71 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:74 | ||
msgid "CC Birth date" | ||
msgstr "" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:74 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:77 | ||
msgid "Employment situation" | ||
msgstr "" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:77 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:80 | ||
msgid "Allow newsletter" | ||
msgstr "" | ||
"I agree to receive information regarding the courses offered by NAU, as " | ||
|
@@ -163,3 +164,9 @@ msgstr "" | |
msgid "Send Message" | ||
msgstr "" | ||
|
||
#~ msgid "I have read and understood the Privacy Policy" | ||
#~ msgstr "" | ||
#~ "I authorize data to be processed " | ||
#~ "according to terms of service and " | ||
#~ "privacy policy" | ||
|
Binary file modified
BIN
+147 Bytes
(110%)
nau_openedx_extensions/locale/pt_PT/LC_MESSAGES/django.mo
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: PROJECT VERSION\n" | ||
"Report-Msgid-Bugs-To: [email protected]\n" | ||
"POT-Creation-Date: 2023-07-03 17:12+0100\n" | ||
"POT-Creation-Date: 2024-04-12 17:27+0100\n" | ||
"PO-Revision-Date: 2021-02-15 15:56+0000\n" | ||
"Last-Translator: Ivo Branco <[email protected]>\n" | ||
"Language: pt_PT\n" | ||
|
@@ -47,60 +47,63 @@ msgid "Other" | |
msgstr "Outro" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:40 | ||
msgid "I authorize data processing for this site " | ||
msgid "" | ||
"I have read and understood the <a href='https://www.nau.edu.pt/legal" | ||
"/politica-de-privacidade/' rel='noopener' target='_blank'>Privacy " | ||
"Policy</a>" | ||
msgstr "" | ||
"Autorizo que os dados sejam processados segundo os termos de serviço e " | ||
"política de privacidade" | ||
"Li e compreendi a <a href='https://www.nau.edu.pt/legal/politica-de-" | ||
"privacidade/' rel='noopener' target='_blank'>Política de Privacidade</a>" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:43 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:46 | ||
msgid "NIF" | ||
msgstr "NIF - Nº de Identificação Fiscal" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:46 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:49 | ||
msgid "CC NIF" | ||
msgstr "" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:49 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:52 | ||
msgid "CC NIC" | ||
msgstr "" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:52 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:55 | ||
msgid "CC NIC Check Digit" | ||
msgstr "" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:55 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:58 | ||
msgid "CC First name" | ||
msgstr "" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:57 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:60 | ||
msgid "CC Last name" | ||
msgstr "" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:59 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:62 | ||
msgid "CC Nacionality" | ||
msgstr "" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:62 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:65 | ||
msgid "CC Zip code 3 digits" | ||
msgstr "" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:65 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:68 | ||
msgid "CC Zip code 4 digits" | ||
msgstr "" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:68 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:71 | ||
msgid "CC Document number" | ||
msgstr "" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:71 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:74 | ||
msgid "CC Birth date" | ||
msgstr "" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:74 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:77 | ||
msgid "Employment situation" | ||
msgstr "Situação profissional" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:77 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:80 | ||
msgid "Allow newsletter" | ||
msgstr "" | ||
"Aceito receber informações no âmbito dos cursos disponibilizados pela " | ||
|
21 changes: 21 additions & 0 deletions
21
nau_openedx_extensions/migrations/0008_rename_data_authorization.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Generated by Django 3.2.16 on 2024-04-12 15:20 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('nau_openedx_extensions', '0007_auto_20220223_1158'), | ||
] | ||
|
||
operations = [ | ||
migrations.DeleteModel( | ||
name='CourseAccessRoleProxy', | ||
), | ||
migrations.AlterField( | ||
model_name='nauuserextendedmodel', | ||
name='data_authorization', | ||
field=models.BooleanField(default=False, verbose_name="I have read and understood the <a href='https://www.nau.edu.pt/legal/politica-de-privacidade/' rel='noopener' target='_blank'>Privacy Policy</a>"), | ||
), | ||
] |