From 56ed13f0a0ea439aae31b0b172bfbb42f89bfaf8 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Tue, 28 Aug 2012 16:53:23 +0200 Subject: [PATCH] piwik --- migdal/locale/pl/LC_MESSAGES/django.mo | Bin 4012 -> 4009 bytes migdal/locale/pl/LC_MESSAGES/django.po | 36 +++++++++---------- prawokultury/locale/pl/LC_MESSAGES/django.mo | Bin 1411 -> 1419 bytes prawokultury/locale/pl/LC_MESSAGES/django.po | 20 ++++------- prawokultury/settings.d/30-apps.conf | 1 + prawokultury/settings.d/40-middleware.conf | 1 + prawokultury/templates/base.html | 8 +++-- requirements.txt | 1 + 8 files changed, 34 insertions(+), 33 deletions(-) diff --git a/migdal/locale/pl/LC_MESSAGES/django.mo b/migdal/locale/pl/LC_MESSAGES/django.mo index 70fc97dc11177961042897bad9b1decaa7895ce8..ab578083ddb892a9dc3150758c3a3b0563168527 100644 GIT binary patch delta 480 zcmXZYF-XHu5XSLKY}Ldh9i&u*(juahU};h8DD5DqYjJaMb5b{#AUL{ZQcw^C5d?*Z zQ*jn2vE6hNI&~?6iy-}<-t>F-ak+Odx22oXecy@CMWj0+Qo;Q|B!^e%;e+{vKJ_z> zVaMusvxnM0zzBaV_rw4GJdTqWaT4cH=hZ`r|AHpL2Ei8U1=m=`JJf|faT>pH6eDio z4$0#t&R_%gFpG~!tF%$)y`V1mW`3ad^`clL!=X>04p2Y%Mt+L?TJE!jz95I%H-$Q| zh&pKA>IKx7EnB^6^*ZXpEo7wZpg!ba(GG{GA0AnKVkYJp>SCAa>Bwu=tyPmBP9>$<~wTLS3VL+a~P3OzfmuYkxvna>6#BvUodBJ z3AJGbwb6pbi>NPaSiE8JHtNEANNZ`LKIBL*=;0XkV%OrHd19WSE_RXhQ%@N;tjBGy dnyxp(\n" "Language-Team: FNP \n" "Language: Polish\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" +"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 @@ -47,7 +46,8 @@ msgstr "Kategorie" msgid "latest" msgstr "ostatnie" -#: feeds.py:32 models.py:49 +#: feeds.py:32 +#: models.py:49 msgid "entries" msgstr "wpisy" @@ -71,7 +71,10 @@ msgstr "taksonomia" msgid "category" msgstr "kategoria" -#: models.py:19 models.py:45 urls.py:41 urls.py:43 +#: models.py:19 +#: models.py:45 +#: urls.py:41 +#: urls.py:43 msgid "categories" msgstr "kategorie" @@ -123,10 +126,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" @@ -140,7 +143,8 @@ msgstr "opublikowane" msgid "file" msgstr "plik" -#: urls.py:38 urls.py:39 +#: urls.py:38 +#: urls.py:39 msgid "submit" msgstr "wyslij" @@ -200,22 +204,18 @@ 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 publikacji." #: templates/migdal/entry/submit.html:21 msgid "Submit" @@ -233,8 +233,7 @@ 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 statusu i komentarzach\n" #: templates/search/search.html:9 msgid "Search results" @@ -265,6 +264,7 @@ 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/prawokultury/locale/pl/LC_MESSAGES/django.mo b/prawokultury/locale/pl/LC_MESSAGES/django.mo index 5d7a5558576cb6b451bc7c47699d5570845a22c7..41121668554a4f0ea3073f7c53488423192e60ca 100644 GIT binary patch delta 87 zcmZqX?&hAbMU|g{fx(%Tfk7Nd2Lov?Ae{}QIe~N;l;5!N=6OaIQ!7K$$!nNYSj?LjT UnDUv}gA4NWit~#m2eDcL00b`(GXMYp diff --git a/prawokultury/locale/pl/LC_MESSAGES/django.po b/prawokultury/locale/pl/LC_MESSAGES/django.po index 88bb799..cf7d400 100644 --- a/prawokultury/locale/pl/LC_MESSAGES/django.po +++ b/prawokultury/locale/pl/LC_MESSAGES/django.po @@ -8,21 +8,21 @@ msgstr "" "Project-Id-Version: prawokultury\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-08-28 15:15+0200\n" -"PO-Revision-Date: 2012-08-28 12:13+0100\n" +"PO-Revision-Date: 2012-08-28 16:42+0100\n" "Last-Translator: Radek Czajka \n" "Language-Team: FNP \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" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n" #: urls.py:23 msgid "events" msgstr "wydarzenia" -#: templates/base.html:8 templates/base.html.py:18 +#: templates/base.html:8 +#: templates/base.html.py:18 msgid "Culture's right" msgstr "Prawo kultury" @@ -36,7 +36,7 @@ msgstr "Fundacja Nowoczesna Polska" #: templates/base.html:28 msgid "Sponsor" -msgstr "Sponsor" +msgstr "Wspierane przez" #: templates/base.html:31 msgid "Trust for Civil Society in Central and Eastern Europe" @@ -55,14 +55,8 @@ msgid "Latest comments" msgstr "Ostatnie komentarze" #: templates/base.html:86 -msgid "" -"If not explicitly stated otherwise, all texts are licensed under the Creative Commons " -"Attribution-Share Alike free license." -msgstr "" -"Jeśli nie oznaczono inaczej, wszystkie teksty są objęte wolną licencją Creative " -"Commons Uznanie autorstwa – Na tych samych warunkach." +msgid "If not explicitly stated otherwise, all texts are licensed under the Creative Commons Attribution-Share Alike free license." +msgstr "Jeśli nie oznaczono inaczej, wszystkie teksty są objęte wolną licencją Creative Commons Uznanie autorstwa – Na tych samych warunkach." #: templates/prevnext/next.html:13 msgid "next" diff --git a/prawokultury/settings.d/30-apps.conf b/prawokultury/settings.d/30-apps.conf index c950a4e..5aa5144 100755 --- a/prawokultury/settings.d/30-apps.conf +++ b/prawokultury/settings.d/30-apps.conf @@ -11,6 +11,7 @@ INSTALLED_APPS = ( 'haystack', 'pagination', 'sorl.thumbnail', + 'piwik.django', 'django.contrib.auth', 'django.contrib.contenttypes', diff --git a/prawokultury/settings.d/40-middleware.conf b/prawokultury/settings.d/40-middleware.conf index 3d9f0ea..55ff33a 100755 --- a/prawokultury/settings.d/40-middleware.conf +++ b/prawokultury/settings.d/40-middleware.conf @@ -7,6 +7,7 @@ MIDDLEWARE_CLASSES = ( 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', + 'piwik.django.middleware.PiwikMiddleware', # Uncomment the next line for simple clickjacking protection: # 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'pagination.middleware.PaginationMiddleware', diff --git a/prawokultury/templates/base.html b/prawokultury/templates/base.html index 976b56e..5236f9f 100755 --- a/prawokultury/templates/base.html +++ b/prawokultury/templates/base.html @@ -82,8 +82,6 @@ 00-514 Warszawa
tel/fax: +48 22 621 30 17
e-mail: fundacja@nowoczesnapolska.org.pl
-
- {% trans "If not explicitly stated otherwise, all texts are licensed under the Creative Commons Attribution-Share Alike free license." %}

+ +
{% compressed_js 'base' %} + {{ piwik_tag|safe }} diff --git a/requirements.txt b/requirements.txt index 145192a..eb707fd 100644 --- a/requirements.txt +++ b/requirements.txt @@ -16,3 +16,4 @@ django-pipeline>=1.2,<1.3 -e git+https://github.com/toastdriven/django-haystack.git@master#egg=django-haystack pysolr +piwik -- 2.20.1