diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-08-25 14:04:55 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-08-25 14:04:55 +0200 |
| commit | c8583b83fee43b9068dc4a3345a5abca8b81e7e9 (patch) | |
| tree | fd0d991638f2fc22e5065f873eaea9955f28a607 /archaeological_operations/forms.py | |
| parent | 247ac765cb478ceefca96249641015bd10661d32 (diff) | |
| download | Ishtar-c8583b83fee43b9068dc4a3345a5abca8b81e7e9.tar.bz2 Ishtar-c8583b83fee43b9068dc4a3345a5abca8b81e7e9.zip | |
Update french translations
Diffstat (limited to 'archaeological_operations/forms.py')
| -rw-r--r-- | archaeological_operations/forms.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/archaeological_operations/forms.py b/archaeological_operations/forms.py index d2303a43b..d524fdbc5 100644 --- a/archaeological_operations/forms.py +++ b/archaeological_operations/forms.py @@ -841,8 +841,8 @@ class OperationFormGeneral(forms.Form): if 'pk' in cleaned_data and cleaned_data['pk']: ops = ops.exclude(pk=cleaned_data['pk']) if ops.count(): - msg = _(u"Ce code Patriarche a déjà été affecté à une " - u"autre opération") + msg = u"Ce code Patriarche a déjà été affecté à une "\ + u"autre opération" raise forms.ValidationError(msg) # manage unique operation ID year = self.cleaned_data.get("year") |
