From b2f4ade206d7b14e14cd902eddd990e84eb6552f Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Thu, 23 Jul 2020 13:59:46 +0200 Subject: [PATCH] Fixes #4079: remove themes from search placeholder. --- src/search/forms.py | 2 +- src/search/locale/pl/LC_MESSAGES/django.mo | Bin 702 -> 599 bytes src/search/locale/pl/LC_MESSAGES/django.po | 26 ++++++++++----------- 3 files changed, 14 insertions(+), 14 deletions(-) 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 aab6bcfdc983c2bc14178ab979866fa1eeda3442..e6db8661c6f2b959bc4a78a26c68f77d9e561ff2 100644 GIT binary patch delta 278 zcmdnTdYz^Io)F7a1|VPtVi_Pd0b*7l_5orLNC09sAWj5gO(4zy;t7ll43mH~NL-nT zfk6jIYXNDXFdP86U^5wlQxl7lGZ;!TOL9_m6cS5IGV+Ub6jBTFlQVP_vL`N7x8(`~ z@`_4yeT&mGQ*@n5(~EUO@~srO0{nG@Qp+-nGxPIwT@p)DtrUz5j0|)Q%yo^76%387 zOf9tyj3(PM2D4Zx6y!|a#<Cq;z!}5zJ&tp;m0KvIG_W%F@ delta 381 zcmY+9u}%U(5QY~73rZ^si>)k#mEDs-xDX>EA;c31oK`j~ZjKXJb^$dKM+G?aHFg6YR=Kwt*Z=hNo6_%=_&Y?=q\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ł." -- 2.20.1