-
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
84 additions
and
50 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:07+0100\n" | ||
"PO-Revision-Date: 2021-02-15 15:56+0000\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language: en\n" | ||
|
@@ -22,85 +22,86 @@ msgstr "" | |
msgid "Please authorize data processing" | ||
msgstr "" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:30 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:33 | ||
msgid "Student" | ||
msgstr "" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:31 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:34 | ||
msgid "Unemployed" | ||
msgstr "" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:32 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:35 | ||
msgid "Public service contract" | ||
msgstr "Public institution contract" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:33 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:36 | ||
msgid "Private institution contract" | ||
msgstr "" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:34 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:37 | ||
msgid "Self employed entrepreneur" | ||
msgstr "" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:35 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:38 | ||
msgid "Other" | ||
msgstr "" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:40 | ||
msgid "I authorize data processing for this site " | ||
#: nau_openedx_extensions/custom_registration_form/models.py:43 | ||
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:48 | ||
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:51 | ||
msgid "CC NIF" | ||
msgstr "" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:49 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:54 | ||
msgid "CC NIC" | ||
msgstr "" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:52 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:57 | ||
msgid "CC NIC Check Digit" | ||
msgstr "" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:55 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:60 | ||
msgid "CC First name" | ||
msgstr "" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:57 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:62 | ||
msgid "CC Last name" | ||
msgstr "" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:59 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:64 | ||
msgid "CC Nacionality" | ||
msgstr "" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:62 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:67 | ||
msgid "CC Zip code 3 digits" | ||
msgstr "" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:65 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:70 | ||
msgid "CC Zip code 4 digits" | ||
msgstr "" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:68 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:73 | ||
msgid "CC Document number" | ||
msgstr "" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:71 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:76 | ||
msgid "CC Birth date" | ||
msgstr "" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:74 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:79 | ||
msgid "Employment situation" | ||
msgstr "" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:77 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:82 | ||
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:07+0100\n" | ||
"PO-Revision-Date: 2021-02-15 15:56+0000\n" | ||
"Last-Translator: Ivo Branco <[email protected]>\n" | ||
"Language: pt_PT\n" | ||
|
@@ -22,85 +22,88 @@ msgstr "" | |
msgid "Please authorize data processing" | ||
msgstr "" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:30 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:33 | ||
msgid "Student" | ||
msgstr "" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:31 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:34 | ||
msgid "Unemployed" | ||
msgstr "Desempregado" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:32 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:35 | ||
msgid "Public service contract" | ||
msgstr "Contrato em instituição pública" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:33 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:36 | ||
msgid "Private institution contract" | ||
msgstr "Contrato em instituição privada" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:34 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:37 | ||
msgid "Self employed entrepreneur" | ||
msgstr "Trabalhador independente/empresário" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:35 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:38 | ||
msgid "Other" | ||
msgstr "Outro" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:40 | ||
msgid "I authorize data processing for this site " | ||
#: nau_openedx_extensions/custom_registration_form/models.py:43 | ||
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:48 | ||
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:51 | ||
msgid "CC NIF" | ||
msgstr "" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:49 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:54 | ||
msgid "CC NIC" | ||
msgstr "" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:52 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:57 | ||
msgid "CC NIC Check Digit" | ||
msgstr "" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:55 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:60 | ||
msgid "CC First name" | ||
msgstr "" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:57 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:62 | ||
msgid "CC Last name" | ||
msgstr "" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:59 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:64 | ||
msgid "CC Nacionality" | ||
msgstr "" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:62 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:67 | ||
msgid "CC Zip code 3 digits" | ||
msgstr "" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:65 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:70 | ||
msgid "CC Zip code 4 digits" | ||
msgstr "" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:68 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:73 | ||
msgid "CC Document number" | ||
msgstr "" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:71 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:76 | ||
msgid "CC Birth date" | ||
msgstr "" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:74 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:79 | ||
msgid "Employment situation" | ||
msgstr "Situação profissional" | ||
|
||
#: nau_openedx_extensions/custom_registration_form/models.py:77 | ||
#: nau_openedx_extensions/custom_registration_form/models.py:82 | ||
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>"), | ||
), | ||
] |