Commit 15d1aa3a by Sarina Canelake

Merge pull request #10257 from edx/sarina/update-profile-wording

Create distinct terms for gender, education sign up terms
parents 970efb04 105d611c
...@@ -241,7 +241,7 @@ class UserProfile(models.Model): ...@@ -241,7 +241,7 @@ class UserProfile(models.Model):
('m', ugettext_noop('Male')), ('m', ugettext_noop('Male')),
('f', ugettext_noop('Female')), ('f', ugettext_noop('Female')),
# Translators: 'Other' refers to the student's gender # Translators: 'Other' refers to the student's gender
('o', ugettext_noop('Other')) ('o', ugettext_noop('Other/Prefer Not to Say'))
) )
gender = models.CharField( gender = models.CharField(
blank=True, null=True, max_length=6, db_index=True, choices=GENDER_CHOICES blank=True, null=True, max_length=6, db_index=True, choices=GENDER_CHOICES
...@@ -260,9 +260,9 @@ class UserProfile(models.Model): ...@@ -260,9 +260,9 @@ class UserProfile(models.Model):
('jhs', ugettext_noop("Junior secondary/junior high/middle school")), ('jhs', ugettext_noop("Junior secondary/junior high/middle school")),
('el', ugettext_noop("Elementary/primary school")), ('el', ugettext_noop("Elementary/primary school")),
# Translators: 'None' refers to the student's level of education # Translators: 'None' refers to the student's level of education
('none', ugettext_noop("None")), ('none', ugettext_noop("No Formal Education")),
# Translators: 'Other' refers to the student's level of education # Translators: 'Other' refers to the student's level of education
('other', ugettext_noop("Other")) ('other', ugettext_noop("Other Education"))
) )
level_of_education = models.CharField( level_of_education = models.CharField(
blank=True, null=True, max_length=6, db_index=True, blank=True, null=True, max_length=6, db_index=True,
......
...@@ -1020,8 +1020,8 @@ class RegistrationViewTest(ThirdPartyAuthTestMixin, ApiTestCase): ...@@ -1020,8 +1020,8 @@ class RegistrationViewTest(ThirdPartyAuthTestMixin, ApiTestCase):
{"value": "hs", "name": "Secondary/high school"}, {"value": "hs", "name": "Secondary/high school"},
{"value": "jhs", "name": "Junior secondary/junior high/middle school"}, {"value": "jhs", "name": "Junior secondary/junior high/middle school"},
{"value": "el", "name": "Elementary/primary school"}, {"value": "el", "name": "Elementary/primary school"},
{"value": "none", "name": "None"}, {"value": "none", "name": "No Formal Education"},
{"value": "other", "name": "Other"}, {"value": "other", "name": "Other Education"},
], ],
} }
) )
...@@ -1046,8 +1046,8 @@ class RegistrationViewTest(ThirdPartyAuthTestMixin, ApiTestCase): ...@@ -1046,8 +1046,8 @@ class RegistrationViewTest(ThirdPartyAuthTestMixin, ApiTestCase):
{"value": "hs", "name": "Secondary/high school TRANSLATED"}, {"value": "hs", "name": "Secondary/high school TRANSLATED"},
{"value": "jhs", "name": "Junior secondary/junior high/middle school TRANSLATED"}, {"value": "jhs", "name": "Junior secondary/junior high/middle school TRANSLATED"},
{"value": "el", "name": "Elementary/primary school TRANSLATED"}, {"value": "el", "name": "Elementary/primary school TRANSLATED"},
{"value": "none", "name": "None TRANSLATED"}, {"value": "none", "name": "No Formal Education TRANSLATED"},
{"value": "other", "name": "Other TRANSLATED"}, {"value": "other", "name": "Other Education TRANSLATED"},
], ],
} }
) )
...@@ -1064,7 +1064,7 @@ class RegistrationViewTest(ThirdPartyAuthTestMixin, ApiTestCase): ...@@ -1064,7 +1064,7 @@ class RegistrationViewTest(ThirdPartyAuthTestMixin, ApiTestCase):
{"value": "", "name": "--", "default": True}, {"value": "", "name": "--", "default": True},
{"value": "m", "name": "Male"}, {"value": "m", "name": "Male"},
{"value": "f", "name": "Female"}, {"value": "f", "name": "Female"},
{"value": "o", "name": "Other"}, {"value": "o", "name": "Other/Prefer Not to Say"},
], ],
} }
) )
...@@ -1084,7 +1084,7 @@ class RegistrationViewTest(ThirdPartyAuthTestMixin, ApiTestCase): ...@@ -1084,7 +1084,7 @@ class RegistrationViewTest(ThirdPartyAuthTestMixin, ApiTestCase):
{"value": "", "name": "--", "default": True}, {"value": "", "name": "--", "default": True},
{"value": "m", "name": "Male TRANSLATED"}, {"value": "m", "name": "Male TRANSLATED"},
{"value": "f", "name": "Female TRANSLATED"}, {"value": "f", "name": "Female TRANSLATED"},
{"value": "o", "name": "Other TRANSLATED"}, {"value": "o", "name": "Other/Prefer Not to Say TRANSLATED"},
], ],
} }
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment