From 7d888972e14e30990ac361c5c7336c2fb484db8d Mon Sep 17 00:00:00 2001 From: Valérie-Emma Leroux Date: Mon, 9 Jan 2017 22:40:32 +0100 Subject: Update labels --- archaeological_finds/forms_treatments.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'archaeological_finds/forms_treatments.py') 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): -- cgit v1.2.3