fix inconsistent capitalization in education drop down
This commit is contained in:
@@ -290,9 +290,9 @@ class UserProfile(models.Model):
|
||||
('jhs', ugettext_noop("Junior secondary/junior high/middle school")),
|
||||
('el', ugettext_noop("Elementary/primary school")),
|
||||
# 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
|
||||
('other', ugettext_noop("Other Education"))
|
||||
('other', ugettext_noop("Other education"))
|
||||
)
|
||||
level_of_education = models.CharField(
|
||||
blank=True, null=True, max_length=6, db_index=True,
|
||||
|
||||
@@ -1020,8 +1020,8 @@ class RegistrationViewTest(ThirdPartyAuthTestMixin, UserAPITestCase):
|
||||
{"value": "hs", "name": "Secondary/high school"},
|
||||
{"value": "jhs", "name": "Junior secondary/junior high/middle school"},
|
||||
{"value": "el", "name": "Elementary/primary school"},
|
||||
{"value": "none", "name": "No Formal Education"},
|
||||
{"value": "other", "name": "Other Education"},
|
||||
{"value": "none", "name": "No formal education"},
|
||||
{"value": "other", "name": "Other education"},
|
||||
],
|
||||
}
|
||||
)
|
||||
@@ -1046,8 +1046,8 @@ class RegistrationViewTest(ThirdPartyAuthTestMixin, UserAPITestCase):
|
||||
{"value": "hs", "name": "Secondary/high school TRANSLATED"},
|
||||
{"value": "jhs", "name": "Junior secondary/junior high/middle school TRANSLATED"},
|
||||
{"value": "el", "name": "Elementary/primary school TRANSLATED"},
|
||||
{"value": "none", "name": "No Formal Education TRANSLATED"},
|
||||
{"value": "other", "name": "Other Education TRANSLATED"},
|
||||
{"value": "none", "name": "No formal education TRANSLATED"},
|
||||
{"value": "other", "name": "Other education TRANSLATED"},
|
||||
],
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user