From 5822f0692d0f64c266cad998681e6f5aea6d91d8 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Fri, 14 Jun 2013 11:45:44 +0200 Subject: [PATCH] Add collections link to api description. --- apps/api/locale/pl/LC_MESSAGES/django.mo | Bin 3443 -> 3504 bytes apps/api/locale/pl/LC_MESSAGES/django.po | 44 +++++++++++++---------- apps/api/templates/api/main.html | 2 ++ 3 files changed, 28 insertions(+), 18 deletions(-) diff --git a/apps/api/locale/pl/LC_MESSAGES/django.mo b/apps/api/locale/pl/LC_MESSAGES/django.mo index 45b7db8b304041367beaff215261488de84b7c22..788ad660818eafe914a2e80ea8c6e0a504557db4 100644 GIT binary patch delta 501 zcmXxgze@sP9LMpGrlRY;tNe|;~V>>xHQ0Dyu$%$4tk_zIM=~T_I*;%a4RKE;uo5R!f7c^zS1nn)(mDa zkLJKK=Fkb;#3K7#SU)(0$ zjmlgbS)=M5hKi9y)pOl?ZEweGwy&bk>6Mc0l**Nba(S(?+CH!fv0&Z1wrnfD;korj LZMWWjPo4h(TN5^T delta 441 zcmXZYu}cDB7{~FSb)IFOno&VESfP`GZ<3Xb{So~i($tW&L=8=ciw!k634&k_1#L|Q zK|@4C28|6a(I7PReb0OFc|SgP@7?p<+spo}G=>?cDPo>nCEMgOS&Xm{XLyU}IKcfW z=?KSIz{6?j3or2kj~$-DL{yr^CdTm!`KiOQfIZAe4LwZ$=nd@<-(mfSc4NwwUTD67 zuhhRW=?2 diff --git a/apps/api/locale/pl/LC_MESSAGES/django.po b/apps/api/locale/pl/LC_MESSAGES/django.po index bc4373be9..7c92baca4 100644 --- a/apps/api/locale/pl/LC_MESSAGES/django.po +++ b/apps/api/locale/pl/LC_MESSAGES/django.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-07-19 11:38+0200\n" -"PO-Revision-Date: 2013-06-11 15:36+0100\n" +"POT-Creation-Date: 2013-06-14 11:45+0200\n" +"PO-Revision-Date: 2013-06-14 11:45+0100\n" "Last-Translator: Radek Czajka \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" @@ -18,11 +18,15 @@ msgstr "" "|| n%100>=20) ? 1 : 2);\n" "X-Generator: Poedit 1.5.4\n" -#: templates/api/main.html:6 +#: models.py:15 +msgid "slug" +msgstr "" + +#: templates/api/main.html:5 msgid "WolneLektury.pl API" msgstr "API serwisu WolneLektury.pl" -#: templates/api/main.html:17 +#: templates/api/main.html:16 #, python-format msgid "" "\n" @@ -35,7 +39,7 @@ msgstr "" "Za jego pomocą można uzyskać informacje o utworach, ich fragmentach i " "metadanych.\n" -#: templates/api/main.html:25 +#: templates/api/main.html:24 msgid "" "\n" "Default data serialization format is\n" @@ -50,7 +54,7 @@ msgstr "" "format=xml\n" "do każdego zapytania.\n" -#: templates/api/main.html:34 +#: templates/api/main.html:33 msgid "" "\n" "The URLs in WolneLektury.pl API are:\n" @@ -58,39 +62,43 @@ msgstr "" "\n" "API Wolnych Lektur zawiera następujące adresy URL:\n" -#: templates/api/main.html:41 +#: templates/api/main.html:40 msgid "All books" msgstr "Wszystkie utwory" -#: templates/api/main.html:43 +#: templates/api/main.html:42 msgid "Audiobooks" msgstr "Audiobooki" -#: templates/api/main.html:45 +#: templates/api/main.html:44 msgid "DAISY" msgstr "DAISY" -#: templates/api/main.html:48 +#: templates/api/main.html:47 msgid "List of all authors" msgstr "Lista autorów" -#: templates/api/main.html:50 +#: templates/api/main.html:49 msgid "List of all epochs" msgstr "Lista epok" -#: templates/api/main.html:52 +#: templates/api/main.html:51 msgid "List of all genres" msgstr "Lista gatunków literackich" -#: templates/api/main.html:54 +#: templates/api/main.html:53 msgid "List of all kinds" msgstr "Lista rodzajów literackich" -#: templates/api/main.html:57 +#: templates/api/main.html:56 msgid "List of all themes" msgstr "Lista motywów i tematów literackich" -#: templates/api/main.html:63 +#: templates/api/main.html:58 +msgid "Collections" +msgstr "Kolekcje" + +#: templates/api/main.html:64 #, python-format msgid "" "\n" @@ -104,7 +112,7 @@ msgstr "" "można znaleźć szczegółowe dane, np. %(e1)s czy %(e2)s.\n" -#: templates/api/main.html:72 +#: templates/api/main.html:73 #, python-format msgid "" "\n" @@ -117,7 +125,7 @@ msgstr "" "Można łączyć autorów, epoki, gatunki i rodzaje, aby wybrać tylko utwory " "odpowiadające zadanym kryteriom. Na przykład: %(e)s.\n" -#: templates/api/main.html:80 +#: templates/api/main.html:81 #, python-format msgid "" "\n" @@ -130,7 +138,7 @@ msgstr "" "(pomijając ich podutwory), można użyć zapytania /parent_books/, np.: %(e)s.\n" -#: templates/api/main.html:88 +#: templates/api/main.html:89 #, python-format msgid "" "\n" diff --git a/apps/api/templates/api/main.html b/apps/api/templates/api/main.html index 1a79320da..5c81a2d2d 100755 --- a/apps/api/templates/api/main.html +++ b/apps/api/templates/api/main.html @@ -54,6 +54,8 @@ The URLs in WolneLektury.pl API are:
  • {% url "api_tag_list" "themes" %} – {% trans "List of all themes" %}
  • +
  • + {% url "api_collections" %} – {% trans "Collections" %}

    -- 2.20.1