summaryrefslogtreecommitdiff
path: root/archaeological_context_records/forms.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2018-02-23 10:21:53 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2018-02-23 10:21:53 +0100
commitf82589a4ad3d6501d4b07afe7b1f39467d355147 (patch)
tree98f6fccc22dc283a84d0271a26546b03b3073d2b /archaeological_context_records/forms.py
parente019be5389ff31c259c31efe6be3dfe10aa1c62b (diff)
downloadIshtar-f82589a4ad3d6501d4b07afe7b1f39467d355147.tar.bz2
Ishtar-f82589a4ad3d6501d4b07afe7b1f39467d355147.zip
Site labels: fix translation of customization
Diffstat (limited to 'archaeological_context_records/forms.py')
-rw-r--r--archaeological_context_records/forms.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/archaeological_context_records/forms.py b/archaeological_context_records/forms.py
index de44998e6..e776f2ec7 100644
--- a/archaeological_context_records/forms.py
+++ b/archaeological_context_records/forms.py
@@ -150,7 +150,8 @@ class RecordFormGeneral(CustomForm, ManageOldType):
parcel = forms.ChoiceField(label=_("Parcel"), choices=[])
archaeological_site = forms.ChoiceField(
label=" ", choices=[], required=False,
- help_text=_(u"Only the items associated to the operation can be selected.")
+ help_text=_(u"Only the items associated to the operation can be "
+ u"selected.")
)
label = forms.CharField(label=_(u"ID"),
validators=[validators.MaxLengthValidator(200)])
@@ -233,10 +234,6 @@ class RecordFormGeneral(CustomForm, ManageOldType):
site_label = IshtarSiteProfile.get_default_site_label()
self.fields['archaeological_site'].label = site_label
- self.fields['archaeological_site'].help_text = \
- unicode(self.fields['archaeological_site'].help_text).format(
- site_label
- )
self.fields['archaeological_site'].choices = [('', '--')]
if operation: