From 3dfcbc347e59ab893f6197c1566283f8419dac8f Mon Sep 17 00:00:00 2001 From: Jan Szejko Date: Fri, 24 Mar 2017 13:57:32 +0100 Subject: [PATCH] editor tutorial text + editor update --- apps/wiki/locale/pl/LC_MESSAGES/django.mo | Bin 2486 -> 7341 bytes apps/wiki/locale/pl/LC_MESSAGES/django.po | 177 ++++++++++++++++++++-- apps/wiki/static/wiki/editor | 2 +- apps/wiki/templates/wiki/bootstrap.html | 40 ++--- 4 files changed, 186 insertions(+), 33 deletions(-) diff --git a/apps/wiki/locale/pl/LC_MESSAGES/django.mo b/apps/wiki/locale/pl/LC_MESSAGES/django.mo index 46f40f7c1bf61dcff49c64a4d57d6ff1ccaf67d3..8a27965d4aef2252dc7d127e005901cd1e5093b1 100644 GIT binary patch literal 7341 zcmcJTU5p%Ab;pZ9J}{5~flUJ0aF=CwXR_11GqwZE*xoSAjP2RAX9myM);cKRcGaEk z+f`k+sSnq7i$us;i}036pkSFzA_P40;wM-OMe?+eqJ82iLI@$G2oxpHAcRDI=T>$1 z%-Xy}O3UScecX?8&-tJKxp#i_-nV@@;CGhmPq}{emLS*zfB07ZA@4!{1*iG%_rWvG^NY>%r@%Gde+K+6_%*N(>fa554}fog9|nI4{xNvs z_v-nc1ZAFo1o;%a2L2iN4X^_qf@0S*Zx4c}z%PR<;OpR*!2bdN1iXcj?*YFGz7zZw zDC52kz770d^ZW)V^ZW-W>-;hJP4IxmOclI~&I}nm21+{x$~X%k|AN!}$I^l|Z~?ps z%J`pc-roe@%k$rYUj+XF{5$Xi@4_eG9Z<$QixY8ia1neA+y+mA29$Zf0zL`;D@d2% zu)*(x%RK)W6g%JZ2X*@of@1%ZpoDY@{Bv*_{06c9D^UFS7M%2T(1FtaeHbhDJPwLI zi=fQ+94PBN2TJ@l!1LhWfd3AD6U@QS{$ah|{{$cB`4`}az{lQ4Ou&zVxH$MWDC;@| zp9S9lyWlUtFMywUe-L~e{8@t^#wquB{xryt!Mp#cw(BFH*n6_U7eMjDiy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Iy$!_yP$hOaT`W}VMc&`bF{=&Yma9Nv-rlTUon3r?qEX+>EHk)%gk z2Sdu)o}n7~x+gJb__|o4p2sTR(Ikl-n=`gNzE@p-|6gnFOJvF9JFF*?sx}HX*;>f? z$WV!>DRM57>yAF2muFhxdZhO=COwUlNin#sB~S delta 1010 zcmXxjPe@cz6vy$S*^FcJ$7amYrgF5Vgpe8sMMwI#h=d@hMT3k4E+Qsy%(7L)U~Ynl zic93ei~_-hLQn=GwQ18LvTYGTL5tZ*&@Q6yZ@6=L=Y8J0@6S2!y!Tdz-y|yE<4uo^ z(M#+h#v9BAaG{YEI)b+nHi2raO2Aa&W zW);h@(aA&scj7dLaSnCiLu9c9zyBO{qg8CiH4Nc9KmP%B-DlK&zM%@PB8zSL{XZBd zzx`!H7sR%ku~>>#J9eWI4PgXNde7le_Qz3)@1xFpf-2}4@{qQSOLTL^&tKpqQ%f&CEoP&Ur~kr^j1;lZD9->xtUrVN4?S{>ijI~_z\n" "Language-Team: LANGUAGE \n" @@ -18,23 +18,23 @@ msgstr "" "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " "|| n%100>=20) ? 1 : 2);\n" -#: forms.py:29 forms.py:82 +#: forms.py:29 forms.py:100 msgid "Author" msgstr "Autor" -#: forms.py:30 forms.py:83 +#: forms.py:30 forms.py:101 msgid "Your name" msgstr "Twoje imię i nazwisko" -#: forms.py:35 forms.py:88 +#: forms.py:35 forms.py:106 msgid "Author's email" msgstr "E-mail autora" -#: forms.py:36 forms.py:89 +#: forms.py:36 forms.py:107 msgid "Your email address, so we can show a gravatar :)" msgstr "Twój e-mail, do pokazania gravatara :)" -#: forms.py:42 forms.py:95 +#: forms.py:42 forms.py:113 msgid "Your comments" msgstr "Twoje komentarze" @@ -42,7 +42,7 @@ msgstr "Twoje komentarze" msgid "Describe changes you made." msgstr "Opisz swoje zmiany" -#: forms.py:49 templates/wiki/bootstrap.html:72 +#: forms.py:49 templates/wiki/bootstrap.html:75 msgid "Stage" msgstr "Etap" @@ -50,7 +50,7 @@ msgstr "Etap" msgid "If completed a work stage, change to another one." msgstr "Jeśli etap pracy został zakończony, zmień go na inny." -#: forms.py:96 +#: forms.py:114 msgid "Describe the reason for reverting." msgstr "Podaj powód wycofania zmian." @@ -58,18 +58,171 @@ msgstr "Podaj powód wycofania zmian." msgid "Table for Redmine wiki" msgstr "Tabela do wiki na Redmine" -#: templates/wiki/bootstrap.html:69 +#: templates/wiki/bootstrap.html:72 msgid "Informations about lesson" msgstr "Informacje o lekcji" -#: templates/wiki/bootstrap.html:71 +#: templates/wiki/bootstrap.html:74 msgid "Version" msgstr "Wersja" -#: templates/wiki/bootstrap.html:73 +#: templates/wiki/bootstrap.html:76 msgid "Assignment" msgstr "Przypisanie" +#: templates/wiki/bootstrap.html:109 +msgid "emphasis" +msgstr "" + +#: templates/wiki/bootstrap.html:110 +msgid "cite" +msgstr "" + +#: templates/wiki/bootstrap.html:111 +msgid "link" +msgstr "" + +#: templates/wiki/bootstrap.html:177 +msgid "Edit your document text." +msgstr "Edytuj tekst Twojego dokumentu." + +#: templates/wiki/bootstrap.html:178 +msgid "View the xml code of your document." +msgstr "Przeglądaj kod xml Twojego dokumentu." + +#: templates/wiki/bootstrap.html:179 +msgid "Here you can view the change history." +msgstr "Tutaj możesz prześledzić historię zmian w dokumencie." + +#: templates/wiki/bootstrap.html:180 +msgid "" +"Place the mouse cursor at the end of the line after which you want to add a " +"new header, and press Enter. Click “header” to switch the new paragraph into " +"a header." +msgstr "" +"Ustaw kursor myszki na końcu wiersza, pod którym chcesz dodać nowy nagłówek " +"i wciśnij Enter. Kliknij „nagłówek”, aby edytować wiersz i zamienić go w " +"nagłówek." + +#: templates/wiki/bootstrap.html:181 +msgid "Use this option to switch a header to a paragraph." +msgstr "Użyj tej opcji, by rozpocząć nowy akapit tekstu." + +#: templates/wiki/bootstrap.html:182 +msgid "" +"Add graphics to your document. Click “image” to make a frame, then click " +"this frame to insert an image file (JPG, PNG, GIF, SVG)." +msgstr "" +"Dodaj grafikę do Twojego dokumentu. Kliknij w „obraz”, by pojawiła się " +"ramka, następnie kliknij w ramkę by dodać nowy plik graficzny (JPG, PNG, " +"GIF, SVG)." + +#: templates/wiki/bootstrap.html:183 +msgid "" +"Add a video material to your document to make it more attractive. Paste the " +"http link from a YouTube channel." +msgstr "" +"Dodaj materiał video, by Twój dokument był jeszcze bardziej atrakcyjny. " +"Wklej link http z kanału YouTube." + +#: templates/wiki/bootstrap.html:184 +msgid "" +"Select this option to create a bullet list. Press Enter to add another item. " +"To end the list, place the cursor at the end of the last item, and press " +"Enter twice." +msgstr "" +"Wybierz tę opcję, by utworzyć wypunktowaną listę. Wciśnij Enter, by dodać " +"kolejny punkt listy. Aby zakończyć listę ustaw kursor na końcu ostatniego " +"punktu i dwa razy wciśnij Enter." + +#: templates/wiki/bootstrap.html:185 +msgid "" +"Create numbered lists. To end the list, set the cursor at the end of the " +"last item, and press Enter twice." +msgstr "" +"Twórz listy numerowane. Aby zakończyć listę ustaw kursor na końcu ostatniego " +"punktu i dwa razy wciśnij Enter." + +#: templates/wiki/bootstrap.html:186 +msgid "" +"Emphasize some text by using boldface. To turn it off, click the specific " +"word and then click “emphasis”." +msgstr "" +"Wyróżnij fragment tekstu używając pogrubienia. Aby je wyłączyć, kliknij w " +"dane słowo po czym wciśnij „wyróżnienie”." + +#: templates/wiki/bootstrap.html:187 +msgid "" +"Select some text and click “cite” to make it italic. To turn it off, set the " +"cursor on the specific word then click “cite” again." +msgstr "" +"Zaznacz fragment i kliknij „cytowanie”, by włączyć kursywę. Aby ją wyłączyć " +"ustaw kursor na danym słowie po czym kliknij przycisk „cytowanie”." + +#: templates/wiki/bootstrap.html:188 +msgid "" +"Paste the link and select it, or select text and click “link” to add a " +"hyperlink or to link additional materials (ODT, DOC, PDF)." +msgstr "" +"Wklej link i zaznacz go lub zaznacz fragment tekstu i kliknij w opcję " +"„link”, by dodać hiperłącze lub aby podlinkować materiały dodatkowe (ODT, " +"DOC, PDF)." + +#: templates/wiki/bootstrap.html:189 +msgid "" +"Here you can review and edit metadata. In “Attachments” you can add or " +"change the cover of your document." +msgstr "" +"Tutaj możesz przeglądać i edytować metadane. W części „załączniki” możesz " +"dodać lub zmienić okładkę Twojego dokumentu." + +#: templates/wiki/bootstrap.html:190 +msgid "Review your document before publication." +msgstr "Zobacz, jak wygląda Twój dokument zanim go opublikujesz." + +#: templates/wiki/bootstrap.html:191 +msgid "" +"Here you can add other important materials to this document (audio files, " +"JPG, PNG, ODT, PDF etc.)" +msgstr "" +"Tu możesz dodać inne ważne materiały do tego projektu (plik dźwiękowe, JPG, " +"PNG, ODT, PDF i inne)" + +#: templates/wiki/bootstrap.html:192 +msgid "" +"Select this option if you do not like your unsaved changes. Warning! Dropped " +"changes will be lost and they cannot be restored." +msgstr "" +"Wybierz tę opcję, jeżeli nie podobają Ci się wprowadzone i niezapisane " +"zmiany. Uwaga! Zmiany te zostaną utracone i nie będzie można ich przywrócić." + +#: templates/wiki/bootstrap.html:193 +msgid "" +"If you work on a document with a group, you can leave comments on each line " +"of the document. Your comment will appear as a “bubble” on the left." +msgstr "" +"Jeżeli pracujesz nad projektem w grupie, możecie zostawiać komentarze przy " +"każdym wierszu dokumentu. Komentarz wyświetli się w postaci „dymku” po lewej " +"stronie wiersza." + +#: templates/wiki/bootstrap.html:194 +msgid "" +"Click “Save” to save all the changes in your document. Remember to select " +"the appropriate stage of the work on the document (Draft, Comments, Comments " +"review, Proofreading, Publication)." +msgstr "" +"Kliknij „Zapisz” by zapisać swój dokument. Pamiętaj, by z wyświetlonej listy " +"wybrać odpowiedni etap pracy nad dokumentem (Wersja robocza, Komentarze, " +"Przegląd komentarzy, Korekta, Publikacja)." + +#: templates/wiki/bootstrap.html:195 +msgid "Click on the MIL/PEER logo to open the home page in a new window." +msgstr "Kliknij w logo MIL/PEER, by otworzyć stronę główną w nowym oknie." + +#: templates/wiki/bootstrap.html:196 +msgid "“Exit” will take you to the main page." +msgstr "Przycisk „Wyjdź” przeniesie Cię na stronę główną MIL/PEER." + #: templates/wiki/diff_table.html:5 msgid "Old version" msgstr "Stara wersja" @@ -171,7 +324,7 @@ msgstr "Wstaw przypis" msgid "Visual editor" msgstr "Edytor wizualny" -#: views.py:47 +#: views.py:48 msgid "Published" msgstr "Opublikowane" diff --git a/apps/wiki/static/wiki/editor b/apps/wiki/static/wiki/editor index 75e12ca1..24e1f421 160000 --- a/apps/wiki/static/wiki/editor +++ b/apps/wiki/static/wiki/editor @@ -1 +1 @@ -Subproject commit 75e12ca1b25cdcdb457ee2a159a0bf4287841c63 +Subproject commit 24e1f42110e9836448816a3297c3fb291dda5cea diff --git a/apps/wiki/templates/wiki/bootstrap.html b/apps/wiki/templates/wiki/bootstrap.html index 775167ef..01f4989d 100644 --- a/apps/wiki/templates/wiki/bootstrap.html +++ b/apps/wiki/templates/wiki/bootstrap.html @@ -174,26 +174,26 @@ }, tutorial: [ - {name: 'editor', text: 'e'}, - {name: 'sourceEditor', text: 's'}, - {name: 'history', text: 's'}, - {name: 'switchToHeader', text: 's'}, - {name: 'switchToParagraph', text: 's'}, - {name: 'switchToImage', text: 's'}, - {name: 'switchToVideo', text: 's'}, - {name: 'toggleBulletList', text: 's'}, - {name: 'toggleEnumList', text: 's'}, - {name: 'emphasis', text: 's'}, - {name: 'cite', text: 's'}, - {name: 'link', text: 's'}, - {name: 'showMetadataEditor', text: 's'}, - {name: 'preview', text: 's'}, - {name: 'attachments', text: 's'}, - {name: 'draft', text: 's'}, - {name: 'comment', text: 's'}, - {name: 'save', text: 'Sztuczna gadatliwość pijanych konstabli cieszy rumieńcem stareńkich notabli'}, - {name: 'mainpage', text: 's'}, - {name: 'exit', text: 'Sztuczna gadatliwość pijanych konstabli cieszy rumieńcem stareńkich notabli'} + {name: 'editor', text: '{% trans "Edit your document text." %}'}, + {name: 'sourceEditor', text: '{% trans "View the xml code of your document." %}'}, + {name: 'history', text: '{% trans "Here you can view the change history." %}'}, + {name: 'switchToHeader', text: '{% trans "Place the mouse cursor at the end of the line after which you want to add a new header, and press Enter. Click “header” to switch the new paragraph into a header." %}'}, + {name: 'switchToParagraph', text: '{% trans "Use this option to switch a header to a paragraph." %}'}, + {name: 'switchToImage', text: '{% trans "Add graphics to your document. Click “image” to make a frame, then click this frame to insert an image file (JPG, PNG, GIF, SVG)." %}'}, + {name: 'switchToVideo', text: '{% trans "Add a video material to your document to make it more attractive. Paste the http link from a YouTube channel." %}'}, + {name: 'toggleBulletList', text: '{% trans "Select this option to create a bullet list. Press Enter to add another item. To end the list, place the cursor at the end of the last item, and press Enter twice." %}'}, + {name: 'toggleEnumList', text: '{% trans "Create numbered lists. To end the list, set the cursor at the end of the last item, and press Enter twice." %}'}, + {name: 'emphasis', text: '{% trans "Emphasize some text by using boldface. To turn it off, click the specific word and then click “emphasis”." %}'}, + {name: 'cite', text: '{% trans "Select some text and click “cite” to make it italic. To turn it off, set the cursor on the specific word then click “cite” again." %}'}, + {name: 'link', text: '{% trans "Paste the link and select it, or select text and click “link” to add a hyperlink or to link additional materials (ODT, DOC, PDF)." %}'}, + {name: 'showMetadataEditor', text: '{% trans "Here you can review and edit metadata. In “Attachments” you can add or change the cover of your document." %}'}, + {name: 'preview', text: '{% trans "Review your document before publication." %}'}, + {name: 'attachments', text: '{% trans "Here you can add other important materials to this document (audio files, JPG, PNG, ODT, PDF etc.)" %}'}, + {name: 'draft', text: '{% trans "Select this option if you do not like your unsaved changes. Warning! Dropped changes will be lost and they cannot be restored." %}'}, + {name: 'comment', text: '{% trans "If you work on a document with a group, you can leave comments on each line of the document. Your comment will appear as a “bubble” on the left." %}'}, + {name: 'save', text: '{% trans "Click “Save” to save all the changes in your document. Remember to select the appropriate stage of the work on the document (Draft, Comments, Comments review, Proofreading, Publication)." %}'}, + {name: 'mainpage', text: '{% trans "Click on the MIL/PEER logo to open the home page in a new window." %}'}, + {name: 'exit', text: '{% trans "“Exit” will take you to the main page." %}'} ] }; -- 2.20.1