From aa36d36d7c9b39220333253d7c3b2a65bb88dd24 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Tue, 28 Aug 2012 15:43:48 +0200 Subject: [PATCH 1/1] locale --- migdal/locale/pl/LC_MESSAGES/django.po | 35 +++---- migdal/models.py | 2 +- .../locale-contrib/pl/LC_MESSAGES/django.mo | Bin 0 -> 1793 bytes .../locale-contrib/pl/LC_MESSAGES/django.po | 86 ++++++++++++++++++ prawokultury/settings.d/30-locale.conf | 4 + 5 files changed, 109 insertions(+), 18 deletions(-) create mode 100644 prawokultury/locale-contrib/pl/LC_MESSAGES/django.mo create mode 100644 prawokultury/locale-contrib/pl/LC_MESSAGES/django.po diff --git a/migdal/locale/pl/LC_MESSAGES/django.po b/migdal/locale/pl/LC_MESSAGES/django.po index 617d631..dde1a84 100644 --- a/migdal/locale/pl/LC_MESSAGES/django.po +++ b/migdal/locale/pl/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: django-migdal 0.1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-08-28 15:15+0200\n" +"POT-Creation-Date: 2012-08-28 15:43+0200\n" "PO-Revision-Date: 2012-08-28 15:17+0100\n" "Last-Translator: Radek Czajka \n" "Language-Team: FNP \n" @@ -15,7 +15,8 @@ msgstr "" "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" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " +"|| n%100>=20) ? 1 : 2)\n" "X-Poedit-Language: Polish\n" #: __init__.py:17 @@ -46,8 +47,7 @@ msgstr "Kategorie" msgid "latest" msgstr "ostatnie" -#: feeds.py:32 -#: models.py:49 +#: feeds.py:32 models.py:49 msgid "entries" msgstr "wpisy" @@ -71,9 +71,7 @@ msgstr "taksonomia" msgid "category" msgstr "kategoria" -#: models.py:19 -#: urls.py:41 -#: urls.py:43 +#: models.py:19 models.py:45 urls.py:41 urls.py:43 msgid "categories" msgstr "kategorie" @@ -125,10 +123,10 @@ msgstr "tytuł" msgid "lead" msgstr "lead" -#: models.py:80 -#: models.py:82 +#: models.py:80 models.py:82 msgid "Use Textile syntax." -msgstr "Włączona składnia Textile." +msgstr "" +"Włączona składnia Textile." #: models.py:81 msgid "body" @@ -142,8 +140,7 @@ msgstr "opublikowane" msgid "file" msgstr "plik" -#: urls.py:38 -#: urls.py:39 +#: urls.py:38 urls.py:39 msgid "submit" msgstr "wyslij" @@ -203,18 +200,22 @@ msgstr "Dodaj nowy wpis" msgid "" "\n" "By submitting a story here, you agree to publish it under the terms of the\n" -"Creative Commons Attribution-Share Alike\n" +"Creative Commons " +"Attribution-Share Alike\n" "free license." msgstr "" "\n" "Dodając wpis, zgadzasz się najego publikację na warunkach wolnej licencji\n" -"Creative Commons Uznanie autorstwa – Na tych samych warunkach." +"Creative " +"Commons Uznanie autorstwa – Na tych samych warunkach." #: templates/migdal/entry/submit.html:14 msgid "" "Stories are moderated, so please be\n" "patient, you'll be notified when it's published." -msgstr "Wpisy są moderowane. Bądź cierpliwy, otrzymasz powiadomienie o jego publikacji." +msgstr "" +"Wpisy są moderowane. Bądź cierpliwy, otrzymasz powiadomienie o jego " +"publikacji." #: templates/migdal/entry/submit.html:21 msgid "Submit" @@ -232,7 +233,8 @@ msgid "" "and comments.\n" msgstr "" "\n" -"Dziękujemy za dodanie nowego wpisu, teraz czeka on na moderację.Jeśli podano adres e-mail, będziemy Cię informowali o zmianach statusui komentarzach\n" +"Dziękujemy za dodanie nowego wpisu, teraz czeka on na moderację.Jeśli podano " +"adres e-mail, będziemy Cię informowali o zmianach statusui komentarzach\n" #: templates/search/search.html:9 msgid "Search results" @@ -263,7 +265,6 @@ msgid "Positions" msgstr "Stanowiska" #~ msgid "Please correct the error below" - #~ msgid_plural "Please correct the errors below" #~ msgstr[0] "Proszę poprawić poniższy błąd" #~ msgstr[1] "Proszę poprawić poniższe błędy" diff --git a/migdal/models.py b/migdal/models.py index 97fbab3..bce76e4 100644 --- a/migdal/models.py +++ b/migdal/models.py @@ -42,7 +42,7 @@ class Entry(models.Model): help_text=_('Used only to display gravatar and send notifications.')) image = models.ImageField(_('image'), upload_to='entry/image/', null=True, blank=True) promo = models.BooleanField(_('promoted'), default=False) - categories = models.ManyToManyField(Category, null=True, blank=True) + categories = models.ManyToManyField(Category, null=True, blank=True, verbose_name=_('categories')) class Meta: verbose_name = _('entry') diff --git a/prawokultury/locale-contrib/pl/LC_MESSAGES/django.mo b/prawokultury/locale-contrib/pl/LC_MESSAGES/django.mo new file mode 100644 index 0000000000000000000000000000000000000000..e1a238665fd431edfadbd9be3660912664896e0e GIT binary patch literal 1793 zcmZ{ky>lBy7>5@~_z++q6i~qMQjm#>Pn?94F^U!97{}wWTaX{Ec}%kG^n zr%Azh#?aAGFfM5+U?>y{otH-zC+u$#g{S)vt%>Mxq&Zrg$X|x7R zoAY(HxmcWEq{-&cT@Ej!zmD$OsCMJw^o!8gIdr%h<>czYR&^W;m7bD#mg<2E zP$+G{O(??Y{{L6n+SIVEQfFo@<}xB4hDKP+HWW`1qZ1=}DkvDcvJ}a_ptLJ3X(fmo zK}N)SAi^@+lq$rm1E-cXM9M>+a<;8g*)Av+q}$ZiQKWOql9|DQB1PuqivMoM@ZkJkAEfnnw3T zka`=Tw~L&hTBGL5>gLM&8tty_+}XIjUD^?eHmTRJ9T|EzvySyzx<;ku?UuJ{#K@ob z8IGw&Rlid8{3WltM3pPG>eb7B)%PLj?TCSN#-Av+SiS65Ah*SB>a`44HsUF+2JP@r z^l5d-dwovJhKCwEc{vy@+)z5#!BAM-6dl<ujKR*@j7R6IyON+K@RH43`iSdrH6wr+V#GdUM? zTNrOm1vrln?-86J7Jw25tvR5F^{`p4I3Jgi?*^?HRqC7-bULB+pbuhPYf zqv3LW(G4%TWq-Ni)5C|ObtmJ`L#G0r>U@c9YWE7c8O}zhx2gz+O5)~+W|-l26lWx! zv=-_bYZ-BTc=RP(anF#1H+mY|Qsl?`{P-}CxuE{3L$N?9@54cl_faLaK=$Z>GMnXG zi85>IVQ6?Rc|3WJN?;B1kjIkuC?3T&GslB2yLY^Qbb#}vWGd*SCV_~UG~^@EQ$^7I zk0#}m7BS^V2WdYmvwKC%J6z#6q$wAsXv;nidJ@-tC=$c%kjHqEt^BtidowdM!~@~S u`%f)jQ}>V$1gt#zhH(FinKDasnoD8Ap>PpTi^N%8SQJm`#}yv)&i)0i$Nn_{ literal 0 HcmV?d00001 diff --git a/prawokultury/locale-contrib/pl/LC_MESSAGES/django.po b/prawokultury/locale-contrib/pl/LC_MESSAGES/django.po new file mode 100644 index 0000000..f426b65 --- /dev/null +++ b/prawokultury/locale-contrib/pl/LC_MESSAGES/django.po @@ -0,0 +1,86 @@ +# 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: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-08-28 15:26+0200\n" +"PO-Revision-Date: 2012-08-28 15:42+0100\n" +"Last-Translator: Radek Czajka \n" +"Language-Team: LANGUAGE \n" +"Language: \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" + +#: admin.py:11 +msgid "Content" +msgstr "Treść" + +#: admin.py:13 +msgid "Metadata" +msgstr "Metadane" + +#: forms.py:13 +msgid "Notify me of follow up comments via email" +msgstr "Powiadamiaj mnie o komentarzach" + +#: forms.py:18 +msgid "Email address" +msgstr "Adres e-mail" + +#: forms.py:18 +msgid "Required for comment verification" +msgstr "Wymagany do weryfikacji" + +#: forms.py:20 +msgid "your comment" +msgstr "Twój komentarz" + +#: models.py:24 +msgid "Receive by email further comments in this conversation" +msgstr "Włącza powiadamianie e-mailem o kolejnych komentarzach w tym wątku." + +#: views.py:24 +msgid "comment confirmation request" +msgstr "potwierdzenie komentarza" + +#: views.py:152 +msgid "new comment posted" +msgstr "wysłano nowy komentarz" + +#: templates/django_comments_xtd/comment.html:15 +msgid "Comment for:" +msgstr "Komentarz do:" + +#: templates/django_comments_xtd/comment.html:19 +msgid "Inappropriate comments like this one are removed." +msgstr "Niewłaściwe komentarze, takie jak ten, są usuwane." + +#: templates/django_comments_xtd/discarded.html:4 +msgid "Comment discarded" +msgstr "Komentarz odrzucony" + +#: templates/django_comments_xtd/discarded.html:7 +msgid "Comment automatically discarded" +msgstr "Komentarz automatycznie odrzucony" + +#: templates/django_comments_xtd/discarded.html:8 +msgid "Sorry, your comment has been automatically discarded" +msgstr "Przepraszamy, Twój komentarz został automatycznie odrzucony" + +#: templates/django_comments_xtd/email_followup_comment.txt:4 +msgid "There is a new comment following up yours." +msgstr "Pojawił się nowy komentarz" + +#: templates/django_comments_xtd/email_followup_comment.txt:14 +msgid "Kind regards" +msgstr "Pozdrawiam" + +msgid "Comment" +msgstr "Komentarz" + diff --git a/prawokultury/settings.d/30-locale.conf b/prawokultury/settings.d/30-locale.conf index 77c0f12..f78e452 100755 --- a/prawokultury/settings.d/30-locale.conf +++ b/prawokultury/settings.d/30-locale.conf @@ -5,6 +5,10 @@ LANGUAGES = ( ('en', u'English'), ) +LOCALE_PATHS = [ + path.join(PROJECT_DIR, 'prawokultury/locale-contrib') +] + # Local time zone for this installation. Choices can be found here: # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name # although not all choices may be available on all operating systems. -- 2.20.1