X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/3be2da7359a9e68a577aa28a6a9d2ff0d3e0d8e4..5bd864493e531e5600c5ca989825d89cc3ee1487:/src/search/forms.py?ds=sidebyside diff --git a/src/search/forms.py b/src/search/forms.py index d62ab6457..4fa051d7a 100644 --- 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')