summaryrefslogtreecommitdiff
path: root/archaeological_finds/forms_treatments.py
diff options
context:
space:
mode:
authorValérie-Emma Leroux <emma@iggdrasil.net>2017-01-09 22:40:32 +0100
committerValérie-Emma Leroux <emma@iggdrasil.net>2017-01-09 22:40:32 +0100
commitdc7c0cdf9ceba039b2536c0db8e816a3d29880d9 (patch)
tree5ed943ed44c4b10ebf40eb7f56b41f8d8c32a99a /archaeological_finds/forms_treatments.py
parentf5f93b8c556d591967dd2001a684fd67dca7b44f (diff)
downloadIshtar-dc7c0cdf9ceba039b2536c0db8e816a3d29880d9.tar.bz2
Ishtar-dc7c0cdf9ceba039b2536c0db8e816a3d29880d9.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):