fnp
/
koed-quiz.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
be0d1f2
)
fixes
author
Radek Czajka
<radoslaw.czajka@nowoczesnapolska.org.pl>
Tue, 27 Sep 2011 11:14:33 +0000
(13:14 +0200)
committer
Radek Czajka
<radoslaw.czajka@nowoczesnapolska.org.pl>
Tue, 27 Sep 2011 11:14:33 +0000
(13:14 +0200)
apps/quiz/locale/pl/LC_MESSAGES/django.po
patch
|
blob
|
history
apps/quiz/views.py
patch
|
blob
|
history
koedquiz/locale/pl/LC_MESSAGES/django.mo
patch
|
blob
|
history
koedquiz/locale/pl/LC_MESSAGES/django.po
patch
|
blob
|
history
koedquiz/templates/home.html
patch
|
blob
|
history
diff --git
a/apps/quiz/locale/pl/LC_MESSAGES/django.po
b/apps/quiz/locale/pl/LC_MESSAGES/django.po
index
94ad015
..
903a3fb
100644
(file)
--- a/
apps/quiz/locale/pl/LC_MESSAGES/django.po
+++ b/
apps/quiz/locale/pl/LC_MESSAGES/django.po
@@
-7,7
+7,7
@@
msgid ""
msgstr ""
"Project-Id-Version: Quiz 0.1\n"
"Report-Msgid-Bugs-To: \n"
msgstr ""
"Project-Id-Version: Quiz 0.1\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2011-09-2
6 10:15
+0200\n"
+"POT-Creation-Date: 2011-09-2
7 13:14
+0200\n"
"PO-Revision-Date: 2011-09-26 10:16+0100\n"
"Last-Translator: Radek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"PO-Revision-Date: 2011-09-26 10:16+0100\n"
"Last-Translator: Radek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@
-15,7
+15,8
@@
msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\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"
#: forms.py:9
msgid "Please select an option"
#: forms.py:9
msgid "Please select an option"
@@
-37,19
+38,19
@@
msgstr "rezultat"
msgid "results"
msgstr "rezultaty"
msgid "results"
msgstr "rezultaty"
-#: models.py:6
1
+#: models.py:6
2
msgid "question"
msgstr "pytanie"
msgid "question"
msgstr "pytanie"
-#: models.py:6
2
+#: models.py:6
3
msgid "questions"
msgstr "pytania"
msgid "questions"
msgstr "pytania"
-#: models.py:9
1
+#: models.py:9
2
msgid "answer"
msgstr "odpowiedź"
msgid "answer"
msgstr "odpowiedź"
-#: models.py:9
2
+#: models.py:9
3
msgid "answers"
msgstr "odpowiedzi"
msgid "answers"
msgstr "odpowiedzi"
@@
-57,18
+58,15
@@
msgstr "odpowiedzi"
msgid "Send answer"
msgstr "Wyślij odpowiedź"
msgid "Send answer"
msgstr "Wyślij odpowiedź"
-#: templates/quiz/question_detail.html:33
-#: templates/quiz/result_detail.html:24
+#: templates/quiz/question_detail.html:33 templates/quiz/result_detail.html:24
msgid "Back to last question"
msgstr "Wróć do poprzedniego pytania"
msgid "Back to last question"
msgstr "Wróć do poprzedniego pytania"
-#: templates/quiz/question_detail.html:38
-#: templates/quiz/result_detail.html:28
+#: templates/quiz/question_detail.html:38 templates/quiz/result_detail.html:28
msgid "Back to my test"
msgstr "Wróć do testu"
msgid "Back to my test"
msgstr "Wróć do testu"
-#: templates/quiz/question_detail.html:40
-#: templates/quiz/result_detail.html:33
+#: templates/quiz/question_detail.html:40 templates/quiz/result_detail.html:33
msgid "Start from the beginning"
msgstr "Zacznij od początku"
msgid "Start from the beginning"
msgstr "Zacznij od początku"
diff --git
a/apps/quiz/views.py
b/apps/quiz/views.py
index
830798d
..
18a268f
100644
(file)
--- a/
apps/quiz/views.py
+++ b/
apps/quiz/views.py
@@
-51,10
+51,9
@@
def result(request, slug=None):
cur_index = ticket.index(request.path)
if cur_index:
previous_url = ticket[cur_index - 1]
cur_index = ticket.index(request.path)
if cur_index:
previous_url = ticket[cur_index - 1]
- el
se
:
+ el
if ticket
:
valid_url = ticket[-1]
valid_url = ticket[-1]
-
result = get_object_or_404(Quiz.current().result_set, slug=slug)
return render(request, "quiz/result_detail.html", locals())
result = get_object_or_404(Quiz.current().result_set, slug=slug)
return render(request, "quiz/result_detail.html", locals())
diff --git
a/koedquiz/locale/pl/LC_MESSAGES/django.mo
b/koedquiz/locale/pl/LC_MESSAGES/django.mo
index
be99f3b
..
44920cd
100644
(file)
Binary files a/koedquiz/locale/pl/LC_MESSAGES/django.mo and b/koedquiz/locale/pl/LC_MESSAGES/django.mo differ
diff --git
a/koedquiz/locale/pl/LC_MESSAGES/django.po
b/koedquiz/locale/pl/LC_MESSAGES/django.po
index
dbc6fe5
..
0e3fd10
100644
(file)
--- a/
koedquiz/locale/pl/LC_MESSAGES/django.po
+++ b/
koedquiz/locale/pl/LC_MESSAGES/django.po
@@
-7,8
+7,8
@@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2011-09-2
6 10:17
+0200\n"
-"PO-Revision-Date: 2011-09-2
6 10:17
+0100\n"
+"POT-Creation-Date: 2011-09-2
7 13:12
+0200\n"
+"PO-Revision-Date: 2011-09-2
7 13:13
+0100\n"
"Last-Translator: Radek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"Last-Translator: Radek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
@@
-18,6
+18,8
@@
msgstr ""
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
#: templates/home.html:15
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
#: templates/home.html:15
-msgid "Start
quiz
!"
-msgstr "Rozpocznij
quiz
!"
+msgid "Start
the test
!"
+msgstr "Rozpocznij
test
!"
+#~ msgid "Start quiz!"
+#~ msgstr "Rozpocznij quiz!"
diff --git
a/koedquiz/templates/home.html
b/koedquiz/templates/home.html
index
78dd39a
..
b4c1d20
100644
(file)
--- a/
koedquiz/templates/home.html
+++ b/
koedquiz/templates/home.html
@@
-12,6
+12,6
@@
{{ quiz.description|safe }}
</div>
{{ quiz.description|safe }}
</div>
-<a class='big-button' href="{{ quiz.get_absolute_url }}">{% trans "Start
quiz
!" %}</a>
+<a class='big-button' href="{{ quiz.get_absolute_url }}">{% trans "Start
the test
!" %}</a>
{% endblock %}
{% endblock %}