From e0f043c751fd59912ed36611adfcc7a7ce4ae15c Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 23 Feb 2018 10:21:53 +0100 Subject: Site labels: fix translation of customization --- archaeological_operations/forms.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'archaeological_operations/forms.py') diff --git a/archaeological_operations/forms.py b/archaeological_operations/forms.py index c51616e21..e0d31bef7 100644 --- a/archaeological_operations/forms.py +++ b/archaeological_operations/forms.py @@ -1277,9 +1277,7 @@ class SiteFormSelection(IshtarForm): @classmethod def form_label(cls): - return unicode(_(u"{} search")).format( - get_current_profile().get_site_label() - ) + return get_current_profile().get_site_label('search') def clean(self): cleaned_data = self.cleaned_data -- cgit v1.2.3