X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/6d42bc478e3d1bd90eb294464748c21e4de0fc63..ba83b8311a93602de7f733c9a9e183e3ebbb006c:/src/search/forms.py diff --git a/src/search/forms.py b/src/search/forms.py old mode 100755 new mode 100644 index d62ab6457..4fa051d7a --- a/src/search/forms.py +++ b/src/search/forms.py @@ -2,7 +2,7 @@ # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. # from django import forms -from django.utils.translation import ugettext_lazy as _ +from django.utils.translation import gettext_lazy as _ from search.fields import JQueryAutoCompleteSearchField @@ -18,4 +18,4 @@ class SearchForm(forms.Form): self.fields['q'].widget.attrs['autocomplete'] = 'off' self.fields['q'].widget.attrs['data-source'] = source if 'q' not in self.data: - self.fields['q'].widget.attrs['placeholder'] = _('title, author, theme/topic, epoch, kind, genre, phrase') + self.fields['q'].widget.attrs['placeholder'] = _('title, author, epoch, kind, genre, phrase')