From: Radek Czajka Date: Tue, 28 Aug 2012 13:43:48 +0000 (+0200) Subject: locale X-Git-Url: https://git.mdrn.pl/prawokultury.git/commitdiff_plain/aa36d36d7c9b39220333253d7c3b2a65bb88dd24?ds=inline;hp=-c locale --- aa36d36d7c9b39220333253d7c3b2a65bb88dd24 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 0000000..e1a2386 Binary files /dev/null and b/prawokultury/locale-contrib/pl/LC_MESSAGES/django.mo differ 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.