summaryrefslogtreecommitdiff
path: root/archaeological_finds/forms_treatments.py
diff options
context:
space:
mode:
authorValérie-Emma Leroux <valerie-emma.leroux@iggdrasil.net>2017-01-09 22:40:32 +0100
committerValérie-Emma Leroux <valerie-emma.leroux@iggdrasil.net>2017-01-09 22:40:32 +0100
commit7d888972e14e30990ac361c5c7336c2fb484db8d (patch)
tree5ed943ed44c4b10ebf40eb7f56b41f8d8c32a99a /archaeological_finds/forms_treatments.py
parent41c10f52fb23ba8e831a225b9d83108b1b853e93 (diff)
downloadIshtar-7d888972e14e30990ac361c5c7336c2fb484db8d.tar.bz2
Ishtar-7d888972e14e30990ac361c5c7336c2fb484db8d.zip
Update labels
Diffstat (limited to 'archaeological_finds/forms_treatments.py')
-rw-r--r--archaeological_finds/forms_treatments.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/archaeological_finds/forms_treatments.py b/archaeological_finds/forms_treatments.py
index f73672967..7a388a10d 100644
--- a/archaeological_finds/forms_treatments.py
+++ b/archaeological_finds/forms_treatments.py
@@ -331,7 +331,7 @@ class AdministrativeActTreatmentModifForm(
pk = forms.IntegerField(required=False, widget=forms.HiddenInput)
index = forms.IntegerField(label=_("Index"), required=False)
-# treatment files
+# treatment requests
class TreatmentFileSelect(TableSelect):
@@ -459,14 +459,14 @@ class TreatmentFileModifyForm(TreatmentFileForm):
.filter(year=year, index=index).exclude(pk=pk)
if index and q.count():
raise forms.ValidationError(
- _(u"Another treatment file with this index exists for {}."
+ _(u"Another treatment request with this index exists for {}."
).format(year))
return cleaned_data
class TreatmentFileDeletionForm(FinalForm):
- confirm_msg = _(u"Are you sure you want to delete this treatment file?")
- confirm_end_msg = _(u"Would you like to delete this treatment file?")
+ confirm_msg = _(u"Are you sure you want to delete this treatment request?")
+ confirm_end_msg = _(u"Would you like to delete this treatment request?")
class AdministrativeActTreatmentFileSelect(TableSelect):
@@ -549,7 +549,7 @@ SourceTreatmentFileFormSelection = get_form_selection(
'SourceTreatmentFileFormSelection', _(u"Treatment request search"),
'treatment_file',
models.TreatmentFile, TreatmentFileSelect, 'get-treatmentfile',
- _(u"You should select a treatment file."))
+ _(u"You should select a treatment request."))
class TreatmentSourceSelect(SourceSelect):