summaryrefslogtreecommitdiff
path: root/archaeological_operations/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_operations/forms.py
parente019be5389ff31c259c31efe6be3dfe10aa1c62b (diff)
downloadIshtar-f82589a4ad3d6501d4b07afe7b1f39467d355147.tar.bz2
Ishtar-f82589a4ad3d6501d4b07afe7b1f39467d355147.zip
Site labels: fix translation of customization
Diffstat (limited to 'archaeological_operations/forms.py')
-rw-r--r--archaeological_operations/forms.py4
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