Fix typo for NFC cards

This commit is contained in:
Antoine Bartuccio 2019-05-20 19:12:53 +02:00
parent 19e353970d
commit 3bddf176d8
Signed by: klmp200
GPG Key ID: E7245548C53F904B
2 changed files with 2 additions and 2 deletions

View File

@ -115,7 +115,7 @@ class StudentCardForm(forms.ModelForm):
cleaned_data = super(StudentCardForm, self).clean()
uid = cleaned_data.get("uid", None)
if not uid or not StudentCard.is_valid(uid):
raise forms.ValidationError(_("This uid is invalid"), code="invalid")
raise forms.ValidationError(_("This UID is invalid"), code="invalid")
return cleaned_data

View File

@ -4128,7 +4128,7 @@ msgid "Top 100 barman %(counter_name)s (all semesters)"
msgstr "Top 100 barman %(counter_name)s (tous les semestres)"
#: counter/views.py:118
msgid "This uid is invalid"
msgid "This UID is invalid"
msgstr "Cet UID est invalide"
#: counter/views.py:176