From: Radek Czajka Date: Thu, 23 Jul 2020 11:59:46 +0000 (+0200) Subject: Fixes #4079: remove themes from search placeholder. X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/b2f4ade206d7b14e14cd902eddd990e84eb6552f?ds=sidebyside Fixes #4079: remove themes from search placeholder. --- diff --git a/src/search/forms.py b/src/search/forms.py index d62ab6457..34af136dc 100644 --- a/src/search/forms.py +++ b/src/search/forms.py @@ -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') diff --git a/src/search/locale/pl/LC_MESSAGES/django.mo b/src/search/locale/pl/LC_MESSAGES/django.mo index aab6bcfdc..e6db8661c 100644 Binary files a/src/search/locale/pl/LC_MESSAGES/django.mo and b/src/search/locale/pl/LC_MESSAGES/django.mo differ diff --git a/src/search/locale/pl/LC_MESSAGES/django.po b/src/search/locale/pl/LC_MESSAGES/django.po index 7913af539..f2bd665e4 100644 --- a/src/search/locale/pl/LC_MESSAGES/django.po +++ b/src/search/locale/pl/LC_MESSAGES/django.po @@ -5,30 +5,30 @@ # msgid "" msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" +"Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-09-14 12:34+0200\n" -"PO-Revision-Date: 2012-01-27 16:41+0100\n" +"POT-Creation-Date: 2020-07-23 13:59+0200\n" +"PO-Revision-Date: 2020-07-23 13:59+0200\n" "Last-Translator: Radek Czajka \n" -"Language-Team: LANGUAGE \n" -"Language: \n" +"Language: pl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " -"|| n%100>=20) ? 1 : 2)\n" +"|| n%100>=20) ? 1 : 2);\n" +"Language-Team: \n" +"X-Generator: Poedit 2.3\n" -#: forms.py:12 templates/newsearch/search.html:16 +#: forms.py:11 templates/newsearch/search.html:16 msgid "Search" msgstr "Szukaj" -#: forms.py:22 -msgid "title, author, theme/topic, epoch, kind, genre, phrase" -msgstr "tytuł, autor, motyw/temat, epoka, rodzaj, gatunek, cytat" +#: forms.py:21 +msgid "title, author, epoch, kind, genre, phrase" +msgstr "tytuł, autor, epoka, rodzaj, gatunek, cytat" -#: views.py:119 -msgid "book" -msgstr "utwór" +#~ msgid "book" +#~ msgstr "utwór" #~ msgid "off" #~ msgstr "wył."