From: Aleksander Łukasz Date: Thu, 14 Aug 2014 14:29:00 +0000 (+0200) Subject: Editor update - edumed exercises X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/d95ee90d7f346871a256172bd65e274056a3635d?ds=inline Editor update - edumed exercises --- diff --git a/apps/wiki/locale/pl/LC_MESSAGES/djangojs.mo b/apps/wiki/locale/pl/LC_MESSAGES/djangojs.mo index 9a81bcc9..45254a34 100644 Binary files a/apps/wiki/locale/pl/LC_MESSAGES/djangojs.mo and b/apps/wiki/locale/pl/LC_MESSAGES/djangojs.mo differ diff --git a/apps/wiki/locale/pl/LC_MESSAGES/djangojs.po b/apps/wiki/locale/pl/LC_MESSAGES/djangojs.po index 6f7f393e..16d331db 100644 --- a/apps/wiki/locale/pl/LC_MESSAGES/djangojs.po +++ b/apps/wiki/locale/pl/LC_MESSAGES/djangojs.po @@ -409,3 +409,78 @@ msgstr "Metadane dokumentu" msgid "Close" msgstr "Zamknij" + +msgid "Exercise" +msgstr "Zadanie" + +msgid "Insert exercise" +msgstr "Wstaw zadanie" + +msgid "Single Choice" +msgstr "Wybór jednokrotny" + +msgid "Multiple Choice" +msgstr "Wybór wielokrotny" + +msgid "Gaps" +msgstr "Luki" + +msgid "Replace" +msgstr "Zastąp" + +msgid "Order" +msgstr "Uporządkuj" + +msgid "True or False" +msgstr "Prawda lub fałsz" + +msgid "True" +msgstr "Prawda" + +msgid "False" +msgstr "Fałsz" + +msgid "Mark to replace" +msgstr "Oznacz do zastąpienia" + +msgid "Edit replace mark" +msgstr "Edytuj zastąpienie" + +msgid "Remove replace mark" +msgstr "Usuń zastąpienie" + +msgid "Create a gap" +msgstr "Stwórz lukę" + +msgid "Remove a gap" +msgstr "Usuń lukę" + +msgid "Description goes here" +msgstr "Tu wpisz polecenie" + +msgid "Removing exercise" +msgstr "Usuwanie zadania" + +msgid "Do you really want to remove this exercise?" +msgstr "Czy na pewno chcesz usunąć to zadanie?" + +msgid "Yes" +msgstr "Tak" + +msgid "No, don't do anything!" +msgstr "Nie, nic nie rób!" + +msgid "Edit text to replace with" +msgstr "Edytuj tekst zastępujący" + +msgid "Initial" +msgstr "Inicjalnie" + +msgid "Solution" +msgstr "Rozwiązanie" + +msgid "Change solution" +msgstr "Zmień rozwiązanie" + +msgid "First item" +msgstr "Pierwszy element" \ No newline at end of file diff --git a/apps/wiki/static/wiki/editor b/apps/wiki/static/wiki/editor index c8101069..8411d228 160000 --- a/apps/wiki/static/wiki/editor +++ b/apps/wiki/static/wiki/editor @@ -1 +1 @@ -Subproject commit c8101069e6de3c7eeb44e97e391c9fa4b9db0872 +Subproject commit 8411d228c0928c0a2d6c280a2f39adacc972ee13 diff --git a/apps/wiki/templates/wiki/bootstrap.html b/apps/wiki/templates/wiki/bootstrap.html index cbf0232a..03f8d4ce 100644 --- a/apps/wiki/templates/wiki/bootstrap.html +++ b/apps/wiki/templates/wiki/bootstrap.html @@ -329,6 +329,14 @@ ['core.template'], ['core.showMetadataEditor'], + [ + 'core.insertOrderExercise', + 'core.insertChoiceSingleExercise', + 'core.insertChoiceMultiExercise', + 'core.insertChoiceTrueOrFalseExercise', + 'core.insertGapsExercise', + 'core.insertReplaceExercise' + ] ], documentSaveUrl: function(id) { return '/editor/text/' + id + '/'; },