Commit 122f718c by Ibrahim

fix inconsistent capitalization in education drop down

parent 07b2b1a9
...@@ -290,9 +290,9 @@ class UserProfile(models.Model): ...@@ -290,9 +290,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("No Formal Education")), ('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 Education")) ('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, UserAPITestCase): ...@@ -1020,8 +1020,8 @@ class RegistrationViewTest(ThirdPartyAuthTestMixin, UserAPITestCase):
{"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": "No Formal Education"}, {"value": "none", "name": "No formal education"},
{"value": "other", "name": "Other Education"}, {"value": "other", "name": "Other education"},
], ],
} }
) )
...@@ -1046,8 +1046,8 @@ class RegistrationViewTest(ThirdPartyAuthTestMixin, UserAPITestCase): ...@@ -1046,8 +1046,8 @@ class RegistrationViewTest(ThirdPartyAuthTestMixin, UserAPITestCase):
{"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": "No Formal Education TRANSLATED"}, {"value": "none", "name": "No formal education TRANSLATED"},
{"value": "other", "name": "Other Education TRANSLATED"}, {"value": "other", "name": "Other education 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