From: Radek Czajka Date: Fri, 13 Dec 2019 12:46:52 +0000 (+0100) Subject: Locale. X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/116ce833f4ff761db288866564e430f7d2bae86d Locale. --- diff --git a/src/annoy/locale/pl/LC_MESSAGES/django.mo b/src/annoy/locale/pl/LC_MESSAGES/django.mo new file mode 100644 index 000000000..4e372203e Binary files /dev/null and b/src/annoy/locale/pl/LC_MESSAGES/django.mo differ diff --git a/src/annoy/locale/pl/LC_MESSAGES/django.po b/src/annoy/locale/pl/LC_MESSAGES/django.po new file mode 100644 index 000000000..69e2112e6 --- /dev/null +++ b/src/annoy/locale/pl/LC_MESSAGES/django.po @@ -0,0 +1,113 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2019-12-13 13:42+0100\n" +"PO-Revision-Date: 2019-12-13 13:45+0100\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=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n" +"%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n" +"%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" +"Last-Translator: \n" +"Language-Team: \n" +"X-Generator: Poedit 2.2.4\n" + +#: models.py:10 +msgid "place" +msgstr "miejsce" + +#: models.py:12 +msgid "action label" +msgstr "etykieta akcji" + +#: models.py:14 +msgid "If empty, whole banner will serve as a link" +msgstr "Jeśli pusta, cały banner będzie służył jako link." + +#: models.py:16 +msgid "open label" +msgstr "etykieta otwierania" + +#: models.py:17 +msgid "close label" +msgstr "etykieta zamykania" + +#: models.py:18 models.py:84 +msgid "text" +msgstr "tekst" + +#: models.py:19 +msgid "url" +msgstr "URL" + +#: models.py:21 +msgid "priority" +msgstr "priortytet" + +#: models.py:22 +msgid "Banners with higher priority come first." +msgstr "Bannery z wyższym priorytetem mają pierwszeństwo." + +#: models.py:23 +msgid "since" +msgstr "od" + +#: models.py:24 +msgid "until" +msgstr "do" + +#: models.py:25 +msgid "show members" +msgstr "widoczny dla członków klubu" + +#: models.py:26 +msgid "staff preview" +msgstr "podgląd tylko dla zespołu" + +#: models.py:29 +msgid "banner" +msgstr "banner" + +#: models.py:30 +msgid "banners" +msgstr "bannery" + +#: models.py:65 +msgid "pararaphs" +msgstr "akapity" + +#: models.py:69 +msgid "dynamic insert" +msgstr "dynamiczna wstawka" + +#: models.py:70 +msgid "dynamic inserts" +msgstr "dynamiczne wstawki" + +#: places.py:4 +msgid "Top of all pages." +msgstr "U góry wszystkich stron" + +#: places.py:5 +msgid "Book page" +msgstr "Strona książki" + +#: places.py:6 +msgid "Book text intermission" +msgstr "Przerwa w treści książki" + +#: places.py:7 +msgid "Next to list of book fragments." +msgstr "Obok listy fragmentów książki" + +#: places.py:8 +msgid "Blackout" +msgstr "Blackout" diff --git a/src/annoy/models.py b/src/annoy/models.py index 26b0136c7..600fe5fca 100644 --- a/src/annoy/models.py +++ b/src/annoy/models.py @@ -7,20 +7,23 @@ from .places import PLACES, PLACE_CHOICES class Banner(models.Model): - place = models.SlugField(choices=PLACE_CHOICES) + place = models.SlugField(_('place'), choices=PLACE_CHOICES) action_label = models.CharField( + _('action label'), max_length=255, blank=True, - help_text=_('') + help_text=_('If empty, whole banner will serve as a link') ) - open_label = models.CharField(max_length=255, blank=True) - close_label = models.CharField(max_length=255, blank=True) - text = models.TextField() - url = models.CharField(max_length=1024) - priority = models.PositiveSmallIntegerField(default=0) - since = models.DateTimeField(null=True, blank=True) - until = models.DateTimeField(null=True, blank=True) - show_members = models.BooleanField(default=False) - staff_preview = models.BooleanField(default=False) + open_label = models.CharField(_('open label'), max_length=255, blank=True) + close_label = models.CharField(_('close label'), max_length=255, blank=True) + text = models.TextField(_('text')) + url = models.CharField(_('url'), max_length=1024) + priority = models.PositiveSmallIntegerField( + _('priority'), default=0, + help_text=_('Banners with higher priority come first.')) + since = models.DateTimeField(_('since'), null=True, blank=True) + until = models.DateTimeField(_('until'), null=True, blank=True) + show_members = models.BooleanField(_('show members'), default=False) + staff_preview = models.BooleanField(_('staff preview'), default=False) class Meta: verbose_name = _('banner') diff --git a/src/club/templates/club/membership_form.html b/src/club/templates/club/membership_form.html index def4539a8..959bc30c9 100644 --- a/src/club/templates/club/membership_form.html +++ b/src/club/templates/club/membership_form.html @@ -2,7 +2,8 @@ {% load chunks %} {% load thumbnail %} -{% block titleextra %}Towarzystwo Wolnych Lektur{% endblock %} +{% block titleextra %}Uwalniaj książki razem z nami!{% endblock %} +{% block metadescription %}„Wolne Lektury należy wspierać, bo są” - Filip Springer{% endblock %} {% block body %}