From 4d106a6318aa0c508a93acb9e2a6fb146ed177ba Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Fri, 21 Oct 2011 16:16:40 +0200 Subject: [PATCH 1/1] chunk split option comes back, u-grave in special chars --- .../catalogue/locale/pl/LC_MESSAGES/django.mo | Bin 5618 -> 5729 bytes .../catalogue/locale/pl/LC_MESSAGES/django.po | 51 ++++++++++-------- .../templates/catalogue/chunk_add.html | 13 +++-- .../templates/catalogue/chunk_edit.html | 7 ++- .../static/js/wiki/view_editor_wysiwyg.js | 2 +- 5 files changed, 43 insertions(+), 30 deletions(-) diff --git a/apps/catalogue/locale/pl/LC_MESSAGES/django.mo b/apps/catalogue/locale/pl/LC_MESSAGES/django.mo index ff6d31c668e32fc19dbb952c4a7340093baa0a79..96e4b32e3d47ffcdb4dd7df831944c026f14424d 100644 GIT binary patch delta 1995 zcmYk-Ye`BKza*Dg~tQ>|^|I#c^n`F{7{(lkgl4!pk@WyHQPV+4}qF=KPVp{t`!U z{@T`m!g$V;=qyE#N}({4iZM70y*LpoFcF)PdrTYhF#*1~(fo|5xEIy_FskFLI2Lc< zZ0y5g98I4-hp{| z7d3MqPy_jdS|T^Y9*t?JnJB=p9_*u_j7m_M*Pw1_LUq)N%G_`3x1-waL?s+SwL57& zhr0hFY5?7+=iIZ`A6lO#YyG+KiVBi6e3u z)z5reUxRQI>KCzYx*kIH(~-*jYl?PLK^yZsDuLsu899Tx;SU^x4^ZviV1J^h znQ)P8E zSFE>DBYR@6zeOeV9yO5vP)n6fBh~v*iIv;)N>snKn62M`0|ng}uow1Q527~7G1Lf8 zpf=$pTi=c9_=dfH7qvHDpb~zAnxT)#$E5MH(EU@a1(-O43a_o0tqRV|P*b)LwPvf4 zO>AZo$~-r+Cn0CfG)j6AYm(;?lL;D{xx_-Ej?l_$SLx8Zu!2|;=}X9{uBD{q7&yvo zVKJ_@pwqI!ANI1>X sZH_+_2=?r9n%a9hZ+7+UcKn;7rD@w;!)rG+x3{*e|9T-B%_w($0W_JwlmGw# delta 1886 zcmZA2Sx8h-9LMpaj#Fl4ZtdxmW^U<>liAd0o0XB z&_)y(#Y6=mRu4vG6462sl@FO2K?NBULEoRAf#@>-`#JaAd(ZiwbI-lgmG?b2@HWwL z(y-MMuU@XTs?D`U9KeL=2H=5NLkDF1~??yFz7RTcSoR0U=i@%Vc z$tUZfSd2*;Y8eG(T!%_vJtpEdRL4!I1dpORyoj2So0x--ZG9hVq|PBEg=10eHlf-% zfl1hmO5hqgG}U)0sDpc$fG<%a?7>mkhc1k#H8tpFSB`$n!2_t7x{eyaZPX)a$1&J} z8u>@m41Gl<@&g0PIEHj|Ln^AF3{=Lsw%&`n&WB308g<=zYXj>3t*FFzqB?4_=MP&? z*z>25zRl&K%s;bcLR1XLR@4l1q8fOQYWM@H!_T(Q(5zGP>P_O5u z^KMi-e$))jMI~Aj&-^QawNz+IHlc3Vi(~PSz3>wDCyJVhR@5SUhPv-7W}t&nXsWYO z*B2sB&-hUtFGPN(mR&Ax3{cR>f~W?XF%#Qx7Ivc=$YffSmqaPB^1b`6^&>n?#HF54xgh&@DA0$C*&Rz#c-8y3hH|?4o9L7 z$<@?gDz3vq+=puKCN97>^rMqbnW=!8M}fy@s;u>>5p5W_z%-%~Ie;3$G1Q~EYU|rk z2|cyPuTYPm3zc{;>OKdJsy@w{h0%KdJrp#uV$`Cm=s&?KM>V{{o?nGpG+R&!??H8N z5c!$&>~#MfYb)yh2ln`pJ?=!!)C-IyInzynMQf%K$}l~6B|6QQMM)o8O|DkLBtoAZ zP2OChhR~KXfSHD+M0qg6nN(3tNeeW*&9sI2xZIW(hEF12eY1j4J`)LTi;2qM8t2IR z5=xT^rTzb=4~4cRgdVuwvt>jkv6Rr1X{#E*RNx|8P7OYBrUiT)\n" "Language-Team: Fundacja Nowoczesna Polska \n" "Language: pl\n" @@ -25,29 +25,29 @@ msgstr "Plik ZIP" msgid "Directories are documents in chunks" msgstr "Katalogi zawierają dokumenty w częściach" -#: forms.py:74 +#: forms.py:71 msgid "Assigned to" msgstr "Przypisane do" -#: forms.py:94 -#: forms.py:108 +#: forms.py:91 +#: forms.py:105 msgid "Chunk with this slug already exists" msgstr "Część z tym slugiem już istnieje" -#: forms.py:117 +#: forms.py:114 msgid "Append to" msgstr "Dołącz do" -#: views.py:143 +#: views.py:148 #, python-format msgid "Slug already used for %s" msgstr "Slug taki sam jak dla pliku %s" -#: views.py:145 +#: views.py:150 msgid "Slug already used in repository." msgstr "Dokument o tym slugu już istnieje w repozytorium." -#: views.py:151 +#: views.py:156 msgid "File should be UTF-8 encoded." msgstr "Plik powinien mieć kodowanie UTF-8." @@ -162,7 +162,7 @@ msgstr "Dołącz książkę" #: templates/catalogue/book_detail.html:14 #: templates/catalogue/book_edit.html:9 -#: templates/catalogue/chunk_edit.html:12 +#: templates/catalogue/chunk_edit.html:13 msgid "Save" msgstr "Zapisz" @@ -212,17 +212,25 @@ msgid "Comments" msgstr "Komentarze" #: templates/catalogue/chunk_add.html:5 -#: templates/catalogue/chunk_add.html:11 +#: templates/catalogue/chunk_edit.html:19 +msgid "Split chunk" +msgstr "Podziel część" + +#: templates/catalogue/chunk_add.html:10 +msgid "Insert empty chunk after" +msgstr "Wstaw pustą część po" + +#: templates/catalogue/chunk_add.html:13 msgid "Add chunk" msgstr "Dodaj część" -#: templates/catalogue/chunk_edit.html:5 +#: templates/catalogue/chunk_edit.html:6 #: templates/catalogue/book_list/book.html:7 #: templates/catalogue/book_list/chunk.html:5 msgid "Chunk settings" msgstr "Ustawienia części" -#: templates/catalogue/chunk_edit.html:10 +#: templates/catalogue/chunk_edit.html:11 msgid "Book" msgstr "Książka" @@ -239,7 +247,7 @@ msgid "Please submit a ZIP with UTF-8 encoded XML files. Files not ending with < msgstr "Proszę wskazać archiwum ZIP z plikami XML w kodowaniu UTF-8. Pliki nie kończące się na .xml zostaną zignorowane." #: templates/catalogue/document_upload.html:17 -#: templatetags/catalogue.py:34 +#: templatetags/catalogue.py:35 msgid "Upload" msgstr "Załaduj" @@ -281,7 +289,7 @@ msgid "Recent activity for" msgstr "Ostatnia aktywność dla:" #: templates/catalogue/user_list.html:7 -#: templatetags/catalogue.py:32 +#: templatetags/catalogue.py:31 msgid "Users" msgstr "Użytkownicy" @@ -347,23 +355,23 @@ msgstr "nie opublikowane" msgid "empty" msgstr "puste" -#: templatetags/catalogue.py:28 +#: templatetags/catalogue.py:27 msgid "My page" msgstr "Moja strona" -#: templatetags/catalogue.py:30 +#: templatetags/catalogue.py:29 msgid "Activity" msgstr "Aktywność" -#: templatetags/catalogue.py:31 +#: templatetags/catalogue.py:30 msgid "All" msgstr "Wszystkie" -#: templatetags/catalogue.py:33 +#: templatetags/catalogue.py:34 msgid "Add" msgstr "Dodaj" -#: templatetags/catalogue.py:37 +#: templatetags/catalogue.py:38 msgid "Admin" msgstr "Administracja" @@ -603,6 +611,3 @@ msgstr "Komentarz" #~ msgid "Refresh" #~ msgstr "Odśwież" - -#~ msgid "Insert special character" -#~ msgstr "Wstaw znak specjalny" diff --git a/apps/catalogue/templates/catalogue/chunk_add.html b/apps/catalogue/templates/catalogue/chunk_add.html index 558fc9f1..b287479c 100755 --- a/apps/catalogue/templates/catalogue/chunk_add.html +++ b/apps/catalogue/templates/catalogue/chunk_add.html @@ -2,12 +2,15 @@ {% load i18n %} {% block content %} -

{% trans "Add chunk" %}

+

{% trans "Split chunk" %}

-
+ {% csrf_token %} - {{ form.as_p }} - -

+ + + + {{ form.as_table }} + +
{% trans "Insert empty chunk after" %}:{{ chunk.pretty_name }}
{% endblock content %} diff --git a/apps/catalogue/templates/catalogue/chunk_edit.html b/apps/catalogue/templates/catalogue/chunk_edit.html index 20e8657f..bdacd028 100755 --- a/apps/catalogue/templates/catalogue/chunk_edit.html +++ b/apps/catalogue/templates/catalogue/chunk_edit.html @@ -1,4 +1,5 @@ {% extends "catalogue/base.html" %} +{% load url from future %} {% load i18n %} {% block content %} @@ -7,10 +8,14 @@
{% csrf_token %} - + {{ form.as_table}}
{% trans "Book" %}{{ chunk.book }} ({{ chunk.number }}/{{ chunk.book|length }})
{% trans "Book" %}:{{ chunk.book }} ({{ chunk.number }}/{{ chunk.book|length }})
+ + +

{% trans "Split chunk" %}

+ {% endblock content %} diff --git a/redakcja/static/js/wiki/view_editor_wysiwyg.js b/redakcja/static/js/wiki/view_editor_wysiwyg.js index 0179f408..3ccaea71 100644 --- a/redakcja/static/js/wiki/view_editor_wysiwyg.js +++ b/redakcja/static/js/wiki/view_editor_wysiwyg.js @@ -203,7 +203,7 @@ 'Ê','ê','Ë','ë','Ē','ē','Ě','ě','Ġ','ġ','Ħ','ħ','Í','í','Î','î', 'Ī','ī','Ĭ','ĭ','Ľ','ľ','Ñ','ñ','Ň','ň','Ó','ó','Ö','ö', 'Ô','ô','Ō','ō','Ǒ','ǒ','Œ','œ','Ø','ø','Ř','ř','Š', - 'š','Ş','ş','Ť','ť','Ţ','ţ','Ű','ű','Ú','ú', + 'š','Ş','ş','Ť','ť','Ţ','ţ','Ű','ű','Ú','ú','Ù','ù', 'Ü','ü','Ů','ů','Ū','ū','Û','û','Ŭ','ŭ', 'Ý','ý','Ž','ž','ß','Ð','ð','Þ','þ','А','а','Б', 'б','В','в','Г','г','Д','д','Е','е','Ё','ё','Ж', -- 2.20.1