diff options
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 |
commit | e0f043c751fd59912ed36611adfcc7a7ce4ae15c (patch) | |
tree | 98f6fccc22dc283a84d0271a26546b03b3073d2b /archaeological_operations/forms.py | |
parent | f5cd3193e7ab86a93f2e2159fb4719f17c983991 (diff) | |
download | Ishtar-e0f043c751fd59912ed36611adfcc7a7ce4ae15c.tar.bz2 Ishtar-e0f043c751fd59912ed36611adfcc7a7ce4ae15c.zip |
Site labels: fix translation of customization
Diffstat (limited to 'archaeological_operations/forms.py')
-rw-r--r-- | archaeological_operations/forms.py | 4 |
1 files changed, 1 insertions, 3 deletions
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 |