Wiking Surveys branch, master, updated. 39870a99daa97e3cdfc7c80772e5d251ea0cc0d1
Hynek Hanke
hanke at devel.brailcom.org
Thu Jun 9 15:48:56 CEST 2011
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Wiking Surveys".
The branch, master has been updated
via 39870a99daa97e3cdfc7c80772e5d251ea0cc0d1 (commit)
via 6dbf57ceb40744a0b026993d877c3b8efd9e08c2 (commit)
from 404ac75f404b85093c9a09afac7e0766fcce44d0 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 39870a99daa97e3cdfc7c80772e5d251ea0cc0d1
Author: Hynek Hanke <hanke at brailcom.org>
Date: Thu Jun 9 15:44:24 2011 +0200
Czech translation updated
commit 6dbf57ceb40744a0b026993d877c3b8efd9e08c2
Author: Hynek Hanke <hanke at brailcom.org>
Date: Thu Jun 9 15:17:11 2011 +0200
Fix comments for question type options and i18n issues
-----------------------------------------------------------------------
Summary of changes:
lib/surveys.py | 20 +++-----
translations/wiking-surveys.cs.po | 97 +++++++++++++++++++++++-------------
2 files changed, 69 insertions(+), 48 deletions(-)
diff --git a/lib/surveys.py b/lib/surveys.py
index ffd6ccb..e34fdbd 100644
--- a/lib/surveys.py
+++ b/lib/surveys.py
@@ -270,14 +270,14 @@ class SurveyData(wiking.PytisModule):
if question.answer_type == 'int':
min, max = question.int_min_value, question.int_max_value
if (min is not None and max is not None):
- info = lcg.concat(info, _("It must be a number between %(min)d and %(max)d") % (min, max))
+ info = lcg.concat(info, _("It must be a number between %(min)d and %(max)d", min=min, max=max))
elif (min is not None and max is None):
- info = lcg.concat(info, _("It must be a number grater than %(min)d") % (min))
+ info = lcg.concat(info, _("It must be a number grater than %(min)d", min=min))
elif (min is None and max is not None):
- info = lcg.concat(info, _("It must be a number less than %(min)d") % (min))
+ info = lcg.concat(info, _("It must be a number less than %(min)d", min=min))
else:
info = lcg.concat(info, _("It must be a number"))
- if question.answer_type == 'option':
+ if question.answer_type == 'options':
import __builtin__
min, max = question.min, __builtin__.min(question.max, len(question.options))
if max == 1:
@@ -288,22 +288,16 @@ class SurveyData(wiking.PytisModule):
elif min == 0:
if max == len(question.options):
info = _("Check any number of answers.")
- elif max < 5:
- info = _("Check at most %(max)d answers.", max)
else:
- info = _("Check at most %d answers.", max)
+ info = _("Check at most %(max)d answers.", max=max)
info += ' ' + _("Answer is optional.")
elif max == len(question.options):
if min == 1:
info = _("Check at least one answer.")
- elif min < 5:
- info = _("Check at least %(min)d answers.", min)
else:
- info = _("Check at least %(min)d answers.", min)
- elif max < 5:
- info = _("Check at least %(min)d, at most %(max)d answers.", min, max)
+ info = _("Check at least %(min)d answers.", min=min)
else:
- info = _("Check at least %(min)d, at most %(max)d answers.", min, max)
+ info = _("Check at least %(min)d, at most %(max)d answers.", min=min, max=max)
if question.depends_on is not None:
context.resource('prototype.js')
context.resource('wiking-surveys.js')
diff --git a/translations/wiking-surveys.cs.po b/translations/wiking-surveys.cs.po
index 73df8d0..a0f691b 100644
--- a/translations/wiking-surveys.cs.po
+++ b/translations/wiking-surveys.cs.po
@@ -6,119 +6,146 @@ msgid ""
msgstr ""
"Project-Id-Version: Wiking Surveys\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2010-03-01 16:54+0100\n"
-"PO-Revision-Date: 2010-03-01 16:57+0100\n"
+"POT-Creation-Date: 2011-06-09 15:38+0200\n"
+"PO-Revision-Date: 2011-06-09 15:41+0100\n"
"Last-Translator: Hynek Hanke <hanke at brailcom.org>\n"
"Language-Team: Czech <kontakt at brailcom.org>\n"
+"Language: cs\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-Language: Czech\n"
#: ../lib/surveys.py:29
-#: ../lib/surveys.py:414
-#: ../lib/surveys.py:428
-#: ../lib/surveys.py:451
+#: ../lib/surveys.py:464
+#: ../lib/surveys.py:490
msgid "Surveys"
msgstr "DotaznÃky"
+#: ../lib/surveys.py:34
+msgid "User"
+msgstr "Uživatel"
+
#. Translators: Title as a name of a questionaire. Form field label.
-#: ../lib/surveys.py:35
+#: ../lib/surveys.py:36
msgid "Title"
msgstr "Název"
#. Translators: More detailed description of a questionaire. Form field label.
-#: ../lib/surveys.py:37
+#: ../lib/surveys.py:38
msgid "Description"
msgstr "Popis"
#. Translators: A questionaire is valid from <some-date> until <some-later-date>. Form field label.
-#: ../lib/surveys.py:39
+#: ../lib/surveys.py:40
msgid "From"
msgstr "Od"
#. Translators: A questionaire is valid from <some-date> until <some-later-date>. Form field label.
-#: ../lib/surveys.py:41
+#: ../lib/surveys.py:42
msgid "Until"
msgstr "Do"
-#: ../lib/surveys.py:100
+#. Translators: When was the questionaire filled in. Contains a date and time. Form field label.
+#: ../lib/surveys.py:44
+msgid "Filled-in"
+msgstr "VyplnÄno"
+
+#: ../lib/surveys.py:45
+msgid "Respondents role"
+msgstr "Role respondenta"
+
+#: ../lib/surveys.py:46
+msgid "Administration role"
+msgstr "Role administrátora"
+
+#. Translators: The enddate will be substituted by date, such as 02-01-2010 15:40, in the
+#. live application.
+#: ../lib/surveys.py:117
+#, python-format
+msgid "After you fill in the questionaire, you still have time until %(end_date)s to change any of your replies. After that date, the questionaire will be closed and answers evaluated."
+msgstr "Poté, co dotaznÃk odeÅ¡lete, máte do %(end_date)s stále jeÅ¡tÄ Äas jakoukoliv ze svých odpovÄdà zmÄnit. Po tomto datu již bude dotaznÃk uzavÅen a odpovÄdi vyhodnoceny."
+
+#. Translators: The timestamp and enddate will be substituted by dates, such as 02-01-2010 15:40, in the
+#. live applications.
+#: ../lib/surveys.py:123
+#, python-format
+msgid "You have filled-in the questionaire the %(timestamp)s, but you still have time to correct any of your replies till %(end_date)s. After that date, the questionaire will be closed and answers evaluated."
+msgstr "Již jste vyplnil/a dotaznÃk %(timestamp)s, ale do %(end_date)s máte stále jeÅ¡tÄ možnost své odpovÄdi zmÄnit. Po tomto datu již bude dotaznÃk uzavÅen a odpovÄdi vyhodnoceny."
+
+#: ../lib/surveys.py:135
msgid "The questionaire was already closed. It is not possible to save answers."
msgstr "DotaznÃk byl již uzavÅen. Nenà možné uložit odpovÄdi."
-#: ../lib/surveys.py:105
+#: ../lib/surveys.py:140
msgid "The questionaire was not filled correctly. Please check the error messages displayed in red along the concrete questions, check your answers and submit the questionaire again."
msgstr "DotaznÃk nebyl správnÄ vyplnÄn. ProsÃm zkontrolujte chybové zprávy zobrazené ÄervenÄ pod pÅÃsluÅ¡nými otázkami, zkontrolujte své odpovÄdi a odeÅ¡lete dotaznÃk znovu."
-#: ../lib/surveys.py:123
+#: ../lib/surveys.py:159
msgid "Thanks for filling in the questionaire. Your replies have been recorded."
msgstr "DÄkujeme za vyplnÄnà dotaznÃku. VaÅ¡e odpovÄdi byly zaznamenány."
-#: ../lib/surveys.py:232
-#: ../lib/surveys.py:254
+#: ../lib/surveys.py:266
+#: ../lib/surveys.py:287
msgid "Answer is obligatory."
msgstr "OdpovÄÄ je povinná."
-#: ../lib/surveys.py:234
-#: ../lib/surveys.py:252
-#: ../lib/surveys.py:262
+#: ../lib/surveys.py:268
+#: ../lib/surveys.py:285
+#: ../lib/surveys.py:293
msgid "Answer is optional."
msgstr "OdpovÄÄ je volitelná."
-#: ../lib/surveys.py:239
+#: ../lib/surveys.py:273
#, python-format
msgid "It must be a number between %(min)d and %(max)d"
msgstr "Musà to být ÄÃslo mezi %(min)d a %(max)d"
-#: ../lib/surveys.py:241
+#: ../lib/surveys.py:275
#, python-format
msgid "It must be a number grater than %(min)d"
msgstr "Musà to být ÄÃslo vÄtšà než %(min)d"
-#: ../lib/surveys.py:243
+#: ../lib/surveys.py:277
#, python-format
msgid "It must be a number less than %(min)d"
msgstr "Musà to být ÄÃslo menžà než %(min)d"
-#: ../lib/surveys.py:245
+#: ../lib/surveys.py:279
msgid "It must be a number"
msgstr "Musà to být ÄÃslo"
-#: ../lib/surveys.py:257
+#: ../lib/surveys.py:290
msgid "Check any number of answers."
msgstr "ZaÅ¡krtnÄte libovolný poÄet odpovÄdÃ."
-#: ../lib/surveys.py:259
+#: ../lib/surveys.py:292
#, python-format
msgid "Check at most %(max)d answers."
msgstr "ZaÅ¡krtnÄte nejvÃce %(max)d odpovÄdÃ."
-#: ../lib/surveys.py:261
-#, python-format
-msgid "Check at most %d answers."
-msgstr "ZaÅ¡krtnÄte nejvÃc %d odpovÄdÃ."
-
-#: ../lib/surveys.py:265
+#: ../lib/surveys.py:296
msgid "Check at least one answer."
msgstr "ZaÅ¡krtnÄte alespoÅ jednu odpovÄÄ."
-#: ../lib/surveys.py:267
-#: ../lib/surveys.py:269
+#: ../lib/surveys.py:298
#, python-format
msgid "Check at least %(min)d answers."
msgstr "ZaÅ¡krtnÄte nejménÄ %(min)d odpovÄdÃ."
-#: ../lib/surveys.py:271
-#: ../lib/surveys.py:273
+#: ../lib/surveys.py:300
#, python-format
msgid "Check at least %(min)d, at most %(max)d answers."
msgstr "ZaÅ¡krtnÄte nejménÄ %(min)d a nejvÃce %(max)d odpovÄdÃ."
-#: ../lib/surveys.py:280
+#: ../lib/surveys.py:307
msgid "The question is inactive in relation to previous replies."
msgstr "Tato otázka je v závislosti na vaÅ¡ich pÅedchozÃch odpovÄdÃch neaktivnÃ."
-#: ../lib/surveys.py:319
+#: ../lib/surveys.py:346
msgid "Submit"
msgstr "Odeslat"
+#~ msgid "Check at most %d answers."
+#~ msgstr "ZaÅ¡krtnÄte nejvÃc %d odpovÄdÃ."
+
hooks/post-receive
--
Wiking Surveys
More information about the Wiking-cvs
mailing list