From 3bddf176d8235191203cc257a73646cf34d3fa71 Mon Sep 17 00:00:00 2001 From: Bartuccio Antoine Date: Mon, 20 May 2019 19:12:53 +0200 Subject: [PATCH] Fix typo for NFC cards --- counter/views.py | 2 +- locale/fr/LC_MESSAGES/django.po | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/counter/views.py b/counter/views.py index 8296aa2b..e3f92058 100644 --- a/counter/views.py +++ b/counter/views.py @@ -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 diff --git a/locale/fr/LC_MESSAGES/django.po b/locale/fr/LC_MESSAGES/django.po index f32db813..4041b770 100644 --- a/locale/fr/LC_MESSAGES/django.po +++ b/locale/fr/LC_MESSAGES/django.po @@ -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