|
From: <gem...@li...> - 2012-07-16 17:37:01
|
Revision: 848
http://gemstracker.svn.sourceforge.net/gemstracker/?rev=848&view=rev
Author: matijsdejong
Date: 2012-07-16 17:36:52 +0000 (Mon, 16 Jul 2012)
Log Message:
-----------
Survey duration implemented and used when entered #492
Modified Paths:
--------------
trunk/library/classes/Gems/Default/SurveyMaintenanceAction.php
trunk/library/classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php
trunk/library/classes/Gems/Tracker/Survey.php
trunk/library/classes/Gems/Util/Translated.php
trunk/library/languages/default-en.mo
trunk/library/languages/default-en.po
trunk/library/languages/default-nl.mo
trunk/library/languages/default-nl.po
trunk/library/snippets/Track/Token/ShowAllOpenSnippet.php
Modified: trunk/library/classes/Gems/Default/SurveyMaintenanceAction.php
===================================================================
--- trunk/library/classes/Gems/Default/SurveyMaintenanceAction.php 2012-07-16 07:50:44 UTC (rev 847)
+++ trunk/library/classes/Gems/Default/SurveyMaintenanceAction.php 2012-07-16 17:36:52 UTC (rev 848)
@@ -123,6 +123,7 @@
$bridge->addSelect( 'gsu_id_primary_group', 'description', $this->_('If empty, survey will never show up!'));
$bridge->addSelect( 'gsu_result_field', 'multiOptions', $surveyFields);
$bridge->addText( 'gsu_duration');
+ $bridge->addExhibitor( 'calc_duration', 'label', $this->_('Duration calculated'), 'value', $this->calculateDuration(isset($data['gsu_id_survey']) ? $data['gsu_id_survey'] : null));
$bridge->addText( 'gsu_code');
$bridge->addSelect( 'gsu_beforeanswering_event');
$bridge->addSelect( 'gsu_completed_event');
@@ -269,6 +270,57 @@
}
/**
+ * Calculates the average duration for answering a survey
+ *
+ * @param $surveyId Id of survey to calculate it for
+ * @return MUtil_Html_HtmlElement
+ */
+ public function calculateDuration($surveyId = null)
+ {
+ if ($surveyId) {
+ $fields['cnt'] = 'COUNT(*)';
+ $fields['avg'] = 'AVG(gto_duration_in_sec)';
+ $fields['std'] = 'STDDEV_POP(gto_duration_in_sec)';
+
+ $select = $this->loader->getTracker()->getTokenSelect($fields);
+ $select->forSurveyId($surveyId)
+ ->onlyCompleted();
+
+ $row = $select->fetchRow();
+ if ($row) {
+ $trs = $this->util->getTranslated();
+ $seq = new MUtil_Html_Sequence();
+ $seq->setGlue(MUtil_Html::create('br', $this->view));
+
+ $seq->append(sprintf($this->_('Answered surveys: %d.'), $row['cnt']));
+ $seq->append(sprintf($this->_('Average answer time: %s.'), $trs->formatTime($row['avg'])));
+ $seq->append(sprintf($this->_('Standard deviation: %s.'), $trs->formatTime($row['std'])));
+
+ // Picked solution from http://stackoverflow.com/questions/1291152/simple-way-to-calculate-median-with-mysql
+ $sql = "
+SELECT t1.gto_duration_in_sec as median_val
+FROM (SELECT @rownum:=@rownum+1 as `row_number`, gto_duration_in_sec
+ FROM gems__tokens, (SELECT @rownum:=0) r
+ WHERE gto_id_survey = ? AND gto_completion_time IS NOT NULL
+ ORDER BY gto_duration_in_sec
+ ) AS t1,
+ (SELECT count(*) as total_rows
+ FROM gems__tokens
+ WHERE gto_id_survey = ? AND gto_completion_time IS NOT NULL
+ ) as t2
+WHERE t1.row_number=floor(total_rows/2)+1";
+ if ($med = $this->db->fetchOne($sql, array($surveyId, $surveyId))) {
+ $seq->append(sprintf($this->_('Median value: %s.'), $trs->formatTime($med)));
+ }
+
+ return $seq;
+ }
+ }
+
+ return $this->_('incalculable');
+ }
+
+ /**
* Check the tokens for a single survey
*/
public function checkAction()
@@ -354,7 +406,11 @@
$model->set('gsu_survey_name', 'label', $this->_('Name'));
$model->set('gsu_survey_description', 'label', $this->_('Description'), 'formatFunction', array(__CLASS__, 'formatDescription'));
- $model->set('gso_source_name', 'label', $this->_('Source'));
+ if ($detailed) {
+ $model->set('gso_source_name', 'label', $this->_('Source'));
+ } else {
+ $model->set('gsu_duration', 'label', $this->_('Duration description'), 'description', $this->_('Text to inform the respondent, e.g. "20 seconds" or "1 minute".'));
+ }
$model->set('gsu_status_show', 'label', $this->_('Status in source'));
if ($detailed) {
@@ -376,10 +432,10 @@
$events = $this->loader->getEvents();
$model->set('gsu_result_field', 'label', $this->_('Result field'));
- $model->set('gsu_duration', 'label', $this->_('Duration description'), 'description', $this->_('Text to inform the respondent.'));
-
+ $model->set('gsu_duration', 'label', $this->_('Duration description'), 'description', $this->_('Text to inform the respondent, e.g. "20 seconds" or "1 minute".'));
+
$model->setIfExists('gsu_code', 'label', $this->_('Code name'), 'size', 10, 'description', $this->_('Only for programmers.'));
-
+
$model->set('gsu_beforeanswering_event', 'label', $this->_('Before answering'), 'multiOptions', $events->listSurveyBeforeAnsweringEvents());
$model->set('gsu_completed_event', 'label', $this->_('After completion'), 'multiOptions', $events->listSurveyCompletionEvents());
}
Modified: trunk/library/classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php
===================================================================
--- trunk/library/classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php 2012-07-16 07:50:44 UTC (rev 847)
+++ trunk/library/classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php 2012-07-16 17:36:52 UTC (rev 848)
@@ -60,6 +60,13 @@
protected $request;
/**
+ * Switch for showing the duration.
+ *
+ * @var boolean
+ */
+ protected $showDuration = true;
+
+ /**
* Required, the current token, possibly already answered
*
* @var Gems_Tracker_Token
@@ -129,6 +136,19 @@
}
/**
+ * Returns the duration if it should be displayed.
+ *
+ * @param string $duration
+ * @return string
+ */
+ public function formatDuration($duration)
+ {
+ if ($duration && $this->showDuration) {
+ return sprintf($this->_('Takes about %s to answer.'), $duration) . ' ';
+ }
+ }
+
+ /**
* Formats an until date for this display
*
* @param MUtil_Date $dateTime
@@ -137,30 +157,30 @@
public function formatUntil(MUtil_Date $dateTime = null)
{
if (null === $dateTime) {
- return $this->_('This survey has no set time limit.');
+ return $this->_('Survey has no time limit.');
}
$days = $dateTime->diffDays();
switch ($days) {
case 0:
- return array(MUtil_Html::create('strong', $this->_('Warning!!!')), ' ', $this->_('This survey must be answered today!'));
+ return array(MUtil_Html::create('strong', $this->_('Warning!!!')), ' ', $this->_('Survey must be answered today!'));
case 1:
- return array(MUtil_Html::create('strong', $this->_('Warning!!')), ' ', $this->_('This survey must be answered tomorrow!'));
+ return array(MUtil_Html::create('strong', $this->_('Warning!!')), ' ', $this->_('Survey must be answered tomorrow!'));
case 2:
- return $this->_('Warning! This survey must be answered over 2 days!');
+ return $this->_('Warning! Survey must be answered over 2 days!');
default:
if (abs($days) <= 14) {
if ($days >= 0) {
- return sprintf($this->_('This survey must be answered in %d days.'), $days);
+ return sprintf($this->_('Survey must be answered in %d days.'), $days);
} else {
- return $this->_('This survey can no longer be answered.');
+ return $this->_('Survey can no longer be answered.');
}
}
- return sprintf($this->_('This survey can be answered until %s.'), $dateTime->toString($this->dateFormat));
+ return sprintf($this->_('Survey can be answered until %s.'), $dateTime->toString($this->dateFormat));
}
}
Modified: trunk/library/classes/Gems/Tracker/Survey.php
===================================================================
--- trunk/library/classes/Gems/Tracker/Survey.php 2012-07-16 07:50:44 UTC (rev 847)
+++ trunk/library/classes/Gems/Tracker/Survey.php 2012-07-16 17:36:52 UTC (rev 848)
@@ -253,7 +253,7 @@
{
return $this->_gemsSurvey['gsu_code'];
}
-
+
/**
* The time the survey was completed according to the source
*
@@ -289,6 +289,14 @@
return $this->_gemsSurvey['gsu_survey_description'];
}
+ /**
+ *
+ * @return string The (manually entered) normal duration for taking this survey
+ */
+ public function getDuration()
+ {
+ return $this->_gemsSurvey['gsu_duration'];
+ }
/**
*
Modified: trunk/library/classes/Gems/Util/Translated.php
===================================================================
--- trunk/library/classes/Gems/Util/Translated.php 2012-07-16 07:50:44 UTC (rev 847)
+++ trunk/library/classes/Gems/Util/Translated.php 2012-07-16 17:36:52 UTC (rev 848)
@@ -167,6 +167,31 @@
}
/**
+ * Returns the time in seconds as aq display string
+ *
+ * @param int $dateTimeValue
+ * @return string
+ */
+ public function formatTime($dateTimeValue)
+ {
+ $seconds = str_pad($dateTimeValue % 60, 2, '0', STR_PAD_LEFT);
+ $rest = intval($dateTimeValue / 60);
+ $minutes = str_pad($rest % 60, 2, '0', STR_PAD_LEFT);
+ $hours = intval($rest / 60);
+ $days = intval($hours / 24);
+
+ if ($hours > 48) {
+ $hours = $hours % 24;
+
+ return sprintf($this->_('%d days %d:%s:%s'), $days, $hours, $minutes, $seconds);
+ } elseif ($hours) {
+ return sprintf($this->_('%d:%s:%s'), $hours, $minutes, $seconds);
+ } else {
+ return sprintf($this->_('%d:%s'), $minutes, $seconds);
+ }
+ }
+
+ /**
* The options for bulk mail token processing.
*
* @return array
Modified: trunk/library/languages/default-en.mo
===================================================================
(Binary files differ)
Modified: trunk/library/languages/default-en.po
===================================================================
--- trunk/library/languages/default-en.po 2012-07-16 07:50:44 UTC (rev 847)
+++ trunk/library/languages/default-en.po 2012-07-16 17:36:52 UTC (rev 848)
@@ -2,9 +2,9 @@
msgstr ""
"Project-Id-Version: GemsTracker EN\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2012-07-13 14:46+0100\n"
+"POT-Creation-Date: 2012-07-16 19:30+0100\n"
"PO-Revision-Date: \n"
-"Last-Translator: Menno Dekker <men...@er...>\n"
+"Last-Translator: Matijs de Jong <mj...@ma...>\n"
"Language-Team: Erasmus MGZ <mat...@ma...>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -50,49 +50,49 @@
msgid "version"
msgstr "version"
-#: classes/GemsEscort.php:1447
+#: classes/GemsEscort.php:1451
msgid "Take note: your session has expired, your inputs were not saved. Please check the input data and try again"
msgstr "Take note: your session has expired, your inputs were not saved. Please check the input data and try again"
-#: classes/GemsEscort.php:1576
+#: classes/GemsEscort.php:1580
msgid "Please check back later."
msgstr "Please check back later."
-#: classes/GemsEscort.php:1578
#: classes/GemsEscort.php:1582
-#: classes/GemsEscort.php:1583
+#: classes/GemsEscort.php:1586
+#: classes/GemsEscort.php:1587
msgid "System is in maintenance mode"
msgstr "System is in maintenance mode"
-#: classes/GemsEscort.php:1593
+#: classes/GemsEscort.php:1597
msgid "No access to site."
msgstr "No access to site."
-#: classes/GemsEscort.php:1595
-#: classes/GemsEscort.php:1638
+#: classes/GemsEscort.php:1599
+#: classes/GemsEscort.php:1642
msgid "You have no access to this site."
msgstr "You have no access to this site."
-#: classes/GemsEscort.php:1611
+#: classes/GemsEscort.php:1615
msgid "No access to page"
msgstr "No access to page"
-#: classes/GemsEscort.php:1613
+#: classes/GemsEscort.php:1617
#, php-format
msgid "Access to this page is not allowed for current role: %s."
msgstr "Access to this page is not allowed for current role: %s."
-#: classes/GemsEscort.php:1623
-#: classes/GemsEscort.php:1636
+#: classes/GemsEscort.php:1627
+#: classes/GemsEscort.php:1640
msgid "You are no longer logged in."
msgstr "You are no longer logged in."
-#: classes/GemsEscort.php:1624
+#: classes/GemsEscort.php:1628
msgid "You must login to access this page."
msgstr "You must login to access this page."
-#: classes/GemsEscort.php:1765
-#: classes/GemsEscort.php:1767
+#: classes/GemsEscort.php:1769
+#: classes/GemsEscort.php:1771
#, php-format
msgid "%d survey"
msgid_plural "%d surveys"
@@ -2206,107 +2206,137 @@
msgid "If empty, survey will never show up!"
msgstr "If empty, survey will never show up!"
-#: classes/Gems/Default/SurveyMaintenanceAction.php:130
+#: classes/Gems/Default/SurveyMaintenanceAction.php:126
+msgid "Duration calculated"
+msgstr "Duration calculated"
+
+#: classes/Gems/Default/SurveyMaintenanceAction.php:131
msgid "Upload new PDF"
msgstr "Upload new PDF"
-#: classes/Gems/Default/SurveyMaintenanceAction.php:138
+#: classes/Gems/Default/SurveyMaintenanceAction.php:139
msgid "Usage"
msgstr "Usage"
-#: classes/Gems/Default/SurveyMaintenanceAction.php:153
+#: classes/Gems/Default/SurveyMaintenanceAction.php:154
msgid "Single Survey Assignment"
msgstr "Single Survey Assignment"
-#: classes/Gems/Default/SurveyMaintenanceAction.php:198
+#: classes/Gems/Default/SurveyMaintenanceAction.php:199
msgid "Assignable since"
msgstr "Assignable since"
-#: classes/Gems/Default/SurveyMaintenanceAction.php:199
+#: classes/Gems/Default/SurveyMaintenanceAction.php:200
msgid "Assignable until"
msgstr "Assignable until"
-#: classes/Gems/Default/SurveyMaintenanceAction.php:205
+#: classes/Gems/Default/SurveyMaintenanceAction.php:206
msgid "Create Single Survey"
msgstr "Create Single Survey"
-#: classes/Gems/Default/SurveyMaintenanceAction.php:209
+#: classes/Gems/Default/SurveyMaintenanceAction.php:210
msgid "At the moment this survey can only be assigned to respondents as part of an existing track."
msgstr "At the moment this survey can only be assigned to paitents as part of an existing track."
-#: classes/Gems/Default/SurveyMaintenanceAction.php:264
+#: classes/Gems/Default/SurveyMaintenanceAction.php:265
msgid "Survey should be assigned to a group before making it active."
msgstr "Survey should be assigned to a group before making it active."
-#: classes/Gems/Default/SurveyMaintenanceAction.php:281
+#: classes/Gems/Default/SurveyMaintenanceAction.php:295
#, php-format
+msgid "Answered surveys: %d."
+msgstr "Answered surveys: %d."
+
+#: classes/Gems/Default/SurveyMaintenanceAction.php:296
+#, php-format
+msgid "Average answer time: %s."
+msgstr "Average answer time: %s."
+
+#: classes/Gems/Default/SurveyMaintenanceAction.php:297
+#, php-format
+msgid "Standard deviation: %s."
+msgstr "Standard deviation: %s."
+
+#: classes/Gems/Default/SurveyMaintenanceAction.php:313
+#, php-format
+msgid "Median value: %s."
+msgstr "Median value: %s."
+
+#: classes/Gems/Default/SurveyMaintenanceAction.php:320
+msgid "incalculable"
+msgstr "incalculable"
+
+#: classes/Gems/Default/SurveyMaintenanceAction.php:333
+#, php-format
msgid "Checking survey results for the %s survey."
msgstr "Checking survey results for the %s survey."
-#: classes/Gems/Default/SurveyMaintenanceAction.php:293
+#: classes/Gems/Default/SurveyMaintenanceAction.php:345
msgid "Checking survey results for all surveys."
msgstr "Checking survey results for all surveys."
-#: classes/Gems/Default/SurveyMaintenanceAction.php:350
+#: classes/Gems/Default/SurveyMaintenanceAction.php:402
msgid "OK"
msgstr "OK"
-#: classes/Gems/Default/SurveyMaintenanceAction.php:357
+#: classes/Gems/Default/SurveyMaintenanceAction.php:410
msgid "Source"
msgstr "Source"
-#: classes/Gems/Default/SurveyMaintenanceAction.php:358
+#: classes/Gems/Default/SurveyMaintenanceAction.php:412
+#: classes/Gems/Default/SurveyMaintenanceAction.php:435
+msgid "Duration description"
+msgstr "Duration description"
+
+#: classes/Gems/Default/SurveyMaintenanceAction.php:412
+#: classes/Gems/Default/SurveyMaintenanceAction.php:435
+msgid "Text to inform the respondent, e.g. \"20 seconds\" or \"1 minute\"."
+msgstr "Text to inform the respondent, e.g. \"20 seconds\" or \"1 minute\"."
+
+#: classes/Gems/Default/SurveyMaintenanceAction.php:414
msgid "Status in source"
msgstr "Status in source"
-#: classes/Gems/Default/SurveyMaintenanceAction.php:361
+#: classes/Gems/Default/SurveyMaintenanceAction.php:417
msgid "Active in source"
msgstr "Active in source"
-#: classes/Gems/Default/SurveyMaintenanceAction.php:362
+#: classes/Gems/Default/SurveyMaintenanceAction.php:418
#, php-format
msgid "Active in %s"
msgstr "Active in %s"
-#: classes/Gems/Default/SurveyMaintenanceAction.php:369
+#: classes/Gems/Default/SurveyMaintenanceAction.php:425
msgid "Single"
msgstr "Single"
-#: classes/Gems/Default/SurveyMaintenanceAction.php:378
+#: classes/Gems/Default/SurveyMaintenanceAction.php:434
msgid "Result field"
msgstr "Result field"
-#: classes/Gems/Default/SurveyMaintenanceAction.php:379
-msgid "Duration description"
-msgstr "Duration description"
-
-#: classes/Gems/Default/SurveyMaintenanceAction.php:379
-msgid "Text to inform the respondent."
-msgstr "Text to inform the respondent."
-
-#: classes/Gems/Default/SurveyMaintenanceAction.php:383
+#: classes/Gems/Default/SurveyMaintenanceAction.php:439
msgid "Before answering"
msgstr "Before answering"
-#: classes/Gems/Default/SurveyMaintenanceAction.php:384
+#: classes/Gems/Default/SurveyMaintenanceAction.php:440
msgid "After completion"
msgstr "After completion"
-#: classes/Gems/Default/SurveyMaintenanceAction.php:414
+#: classes/Gems/Default/SurveyMaintenanceAction.php:470
#, php-format
msgid "%d times in track."
msgstr "%d times in track."
-#: classes/Gems/Default/SurveyMaintenanceAction.php:416
+#: classes/Gems/Default/SurveyMaintenanceAction.php:472
#, php-format
msgid "%d times in %d track(s)."
msgstr "%d times in %d track(s)."
-#: classes/Gems/Default/SurveyMaintenanceAction.php:420
+#: classes/Gems/Default/SurveyMaintenanceAction.php:476
msgid "Not used in track."
msgstr "Not used in track."
-#: classes/Gems/Default/SurveyMaintenanceAction.php:422
+#: classes/Gems/Default/SurveyMaintenanceAction.php:478
msgid "Not used in tracks."
msgstr "Not used in tracks."
@@ -3479,65 +3509,70 @@
msgid "Next >"
msgstr "Next >"
-#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:115
+#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:122
msgid "We have received your answers today. Thank you!"
msgstr "We have received your answers today. Thank you!"
-#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:118
+#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:125
msgid "We have received your answers yesterday. Thank you!"
msgstr "We have received your answers yesterday. Thank you!"
-#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:121
+#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:128
msgid "We have received your answers 2 days ago. Thank you."
msgstr "We have received your answers 2 days ago. Thank you."
-#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:125
+#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:132
#, php-format
msgid "We have received your answers %d days ago. Thank you."
msgstr "We have received your answers %d days ago. Thank you."
-#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:127
+#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:134
#, php-format
msgid "We have received your answers on %s. "
msgstr "We have received your answers on %s. "
-#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:140
-msgid "This survey has no set time limit."
-msgstr "This survey has no set time limit."
+#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:147
+#, php-format
+msgid "Takes about %s to answer."
+msgstr "Takes about %s to answer."
-#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:147
+#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:160
+msgid "Survey has no time limit."
+msgstr "Survey has no time limit."
+
+#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:167
msgid "Warning!!!"
msgstr "Warning!!!"
-#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:147
-msgid "This survey must be answered today!"
-msgstr "This survey must be answered today!"
+#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:167
+msgid "Survey must be answered today!"
+msgstr "Survey must be answered today!"
-#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:150
+#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:170
msgid "Warning!!"
msgstr "Warning!!"
-#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:150
-msgid "This survey must be answered tomorrow!"
-msgstr "This survey must be answered tomorrow!"
+#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:170
+msgid "Survey must be answered tomorrow!"
+msgstr "Survey must be answered tomorrow!"
-#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:153
-msgid "Warning! This survey must be answered over 2 days!"
-msgstr "Warning! This survey must be answered over 2 days!"
+#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:173
+msgid "Warning! Survey must be answered over 2 days!"
+msgstr "Warning! Survey must be answered over 2 days!"
-#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:158
+#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:178
#, php-format
-msgid "This survey must be answered in %d days."
-msgstr "This survey must be answered in %d days."
+msgid "Survey must be answered in %d days."
+msgstr "Survey must be answered in %d days."
-#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:160
-msgid "This survey can no longer be answered."
-msgstr "This survey can no longer be answered."
+#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:180
+msgid "Survey can no longer be answered."
+msgstr "Survey can no longer be answered."
-#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:163
+#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:183
#, php-format
-msgid "This survey can be answered until %s."
-msgstr "This survey can be answered until %s."
+msgid "Survey can be answered until %s."
+msgstr "Survey can be answered until %s."
#: classes/Gems/Tracker/Source/LimeSurvey1m9Database.php:376
#: classes/Gems/Tracker/Source/LimeSurvey1m9Database.php:1162
@@ -3806,12 +3841,12 @@
msgid "Unable to send e-mail."
msgstr "Unable to send e-mail."
-#: classes/Gems/User/UserLoader.php:234
-#: classes/Gems/User/UserLoader.php:248
+#: classes/Gems/User/UserLoader.php:244
+#: classes/Gems/User/UserLoader.php:258
msgid "Db storage"
msgstr "Db storage"
-#: classes/Gems/User/UserLoader.php:249
+#: classes/Gems/User/UserLoader.php:259
msgid "Radius storage"
msgstr "Radius storage"
@@ -3944,43 +3979,58 @@
msgid "%d days ago"
msgstr "%d days ago"
-#: classes/Gems/Util/Translated.php:177
+#: classes/Gems/Util/Translated.php:186
+#, php-format
+msgid "%d days %d:%s:%s"
+msgstr "%d days %d:%s:%s"
+
+#: classes/Gems/Util/Translated.php:188
+#, php-format
+msgid "%d:%s:%s"
+msgstr "%d:%s:%s"
+
+#: classes/Gems/Util/Translated.php:190
+#, php-format
+msgid "%d:%s"
+msgstr "%d:%s"
+
+#: classes/Gems/Util/Translated.php:202
msgid "Send multiple mails per respondent, one for each checked token."
msgstr "Send multiple mails per patient, one for each checked token."
-#: classes/Gems/Util/Translated.php:178
+#: classes/Gems/Util/Translated.php:203
msgid "Send one mail per respondent, mark all checked tokens as send."
msgstr "Send one mail per patient, mark all checked tokens as send."
-#: classes/Gems/Util/Translated.php:179
+#: classes/Gems/Util/Translated.php:204
msgid "Send one mail per respondent, mark only mailed tokens as send."
msgstr "Send one mail per patient, mark only mailed tokens as send."
-#: classes/Gems/Util/Translated.php:204
+#: classes/Gems/Util/Translated.php:229
msgid "Unknown"
msgstr "Unknown"
-#: classes/Gems/Util/Translated.php:217
+#: classes/Gems/Util/Translated.php:242
msgid "mr."
msgstr "Mr."
-#: classes/Gems/Util/Translated.php:217
+#: classes/Gems/Util/Translated.php:242
msgid "mrs."
msgstr "Mrs."
-#: classes/Gems/Util/Translated.php:217
+#: classes/Gems/Util/Translated.php:242
msgid "mr./mrs."
msgstr "Mr./Mrs."
-#: classes/Gems/Util/Translated.php:230
+#: classes/Gems/Util/Translated.php:255
msgid "Mr."
msgstr "Mr."
-#: classes/Gems/Util/Translated.php:230
+#: classes/Gems/Util/Translated.php:255
msgid "Mrs."
msgstr "Mrs."
-#: classes/Gems/Util/Translated.php:230
+#: classes/Gems/Util/Translated.php:255
msgid "Mr./Mrs."
msgstr "Mr./Mrs."
@@ -4374,17 +4424,17 @@
msgid "Round: %s"
msgstr "Round: %s"
-#: snippets/Track/Token/ShowAllOpenSnippet.php:189
+#: snippets/Track/Token/ShowAllOpenSnippet.php:190
msgid "Please answer the open survey."
msgid_plural "Please answer the open surveys."
msgstr[0] "Please answer the open survey."
msgstr[1] "Please answer the open surveys."
-#: snippets/Track/Token/ShowAllOpenSnippet.php:191
+#: snippets/Track/Token/ShowAllOpenSnippet.php:192
msgid "Thank you for answering all open surveys."
msgstr "Thank you for answering all open surveys."
-#: snippets/Track/Token/ShowAllOpenSnippet.php:194
+#: snippets/Track/Token/ShowAllOpenSnippet.php:195
msgid "There are no surveys to show for this token."
msgstr "There are no surveys to show for this token."
@@ -4660,9 +4710,6 @@
#~ msgid "Completion event"
#~ msgstr "Completion event"
-#~ msgid "Do not calculate this date."
-#~ msgstr "Do not calculate this date."
-
#~ msgid ""
#~ "Let op: uw sessie is verlopen, uw invoer is niet opgeslagen. Controleer "
#~ "de gegevens en probeer a.u.b. opnieuw."
Modified: trunk/library/languages/default-nl.mo
===================================================================
(Binary files differ)
Modified: trunk/library/languages/default-nl.po
===================================================================
--- trunk/library/languages/default-nl.po 2012-07-16 07:50:44 UTC (rev 847)
+++ trunk/library/languages/default-nl.po 2012-07-16 17:36:52 UTC (rev 848)
@@ -2,9 +2,9 @@
msgstr ""
"Project-Id-Version: GemsTracker NL\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2012-07-13 14:42+0100\n"
+"POT-Creation-Date: 2012-07-16 19:31+0100\n"
"PO-Revision-Date: \n"
-"Last-Translator: Menno Dekker <men...@er...>\n"
+"Last-Translator: Matijs de Jong <mj...@ma...>\n"
"Language-Team: Erasmus MGZ <mat...@ma...>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -50,49 +50,49 @@
msgid "version"
msgstr "versie"
-#: classes/GemsEscort.php:1447
+#: classes/GemsEscort.php:1451
msgid "Take note: your session has expired, your inputs were not saved. Please check the input data and try again"
msgstr "Let op: uw sessie is verlopen, uw invoer is niet opgeslagen. Controleer uw gegevens en probeer a.u.b. opnieuw."
-#: classes/GemsEscort.php:1576
+#: classes/GemsEscort.php:1580
msgid "Please check back later."
msgstr "Probeer het later opnieuw."
-#: classes/GemsEscort.php:1578
#: classes/GemsEscort.php:1582
-#: classes/GemsEscort.php:1583
+#: classes/GemsEscort.php:1586
+#: classes/GemsEscort.php:1587
msgid "System is in maintenance mode"
msgstr "Systeem is in onderhoudsmodus"
-#: classes/GemsEscort.php:1593
+#: classes/GemsEscort.php:1597
msgid "No access to site."
msgstr "Geen toegang tot website."
-#: classes/GemsEscort.php:1595
-#: classes/GemsEscort.php:1638
+#: classes/GemsEscort.php:1599
+#: classes/GemsEscort.php:1642
msgid "You have no access to this site."
msgstr "U heeft geen toegang tot deze website."
-#: classes/GemsEscort.php:1611
+#: classes/GemsEscort.php:1615
msgid "No access to page"
msgstr "Geen toegang tot pagina"
-#: classes/GemsEscort.php:1613
+#: classes/GemsEscort.php:1617
#, php-format
msgid "Access to this page is not allowed for current role: %s."
msgstr "U heeft geen toegang tot deze pagina. Uw huidige rol is: %s."
-#: classes/GemsEscort.php:1623
-#: classes/GemsEscort.php:1636
+#: classes/GemsEscort.php:1627
+#: classes/GemsEscort.php:1640
msgid "You are no longer logged in."
msgstr "U bent niet meer ingelogd."
-#: classes/GemsEscort.php:1624
+#: classes/GemsEscort.php:1628
msgid "You must login to access this page."
msgstr "U moet ingelogd zijn voor toegang tot deze pagina."
-#: classes/GemsEscort.php:1765
-#: classes/GemsEscort.php:1767
+#: classes/GemsEscort.php:1769
+#: classes/GemsEscort.php:1771
#, php-format
msgid "%d survey"
msgid_plural "%d surveys"
@@ -2206,107 +2206,137 @@
msgid "If empty, survey will never show up!"
msgstr "Indien leeg zal de vragenlijst niet tevoorschijn komen!"
-#: classes/Gems/Default/SurveyMaintenanceAction.php:130
+#: classes/Gems/Default/SurveyMaintenanceAction.php:126
+msgid "Duration calculated"
+msgstr "Afnametijd berekent"
+
+#: classes/Gems/Default/SurveyMaintenanceAction.php:131
msgid "Upload new PDF"
msgstr "Upload nieuwe PDF"
-#: classes/Gems/Default/SurveyMaintenanceAction.php:138
+#: classes/Gems/Default/SurveyMaintenanceAction.php:139
msgid "Usage"
msgstr "Gebruik"
-#: classes/Gems/Default/SurveyMaintenanceAction.php:153
+#: classes/Gems/Default/SurveyMaintenanceAction.php:154
msgid "Single Survey Assignment"
msgstr "Losse vragenlijst toewijzing"
-#: classes/Gems/Default/SurveyMaintenanceAction.php:198
+#: classes/Gems/Default/SurveyMaintenanceAction.php:199
msgid "Assignable since"
msgstr "Toewijsbaar sinds"
-#: classes/Gems/Default/SurveyMaintenanceAction.php:199
+#: classes/Gems/Default/SurveyMaintenanceAction.php:200
msgid "Assignable until"
msgstr "Toewijsbaar tot"
-#: classes/Gems/Default/SurveyMaintenanceAction.php:205
+#: classes/Gems/Default/SurveyMaintenanceAction.php:206
msgid "Create Single Survey"
msgstr "Maak losse vragenlijst"
-#: classes/Gems/Default/SurveyMaintenanceAction.php:209
+#: classes/Gems/Default/SurveyMaintenanceAction.php:210
msgid "At the moment this survey can only be assigned to respondents as part of an existing track."
msgstr "Op dit moment kan deze vragenlijst alleen aan patiënten toegewezen als onderdeel van een traject."
-#: classes/Gems/Default/SurveyMaintenanceAction.php:264
+#: classes/Gems/Default/SurveyMaintenanceAction.php:265
msgid "Survey should be assigned to a group before making it active."
msgstr "Vragenlijst moet aan een groep toegewezen worden voordat deze actief kan worden gemaakt."
-#: classes/Gems/Default/SurveyMaintenanceAction.php:281
+#: classes/Gems/Default/SurveyMaintenanceAction.php:295
#, php-format
+msgid "Answered surveys: %d."
+msgstr "Beantwoorde vragenlijsten: %d."
+
+#: classes/Gems/Default/SurveyMaintenanceAction.php:296
+#, php-format
+msgid "Average answer time: %s."
+msgstr "Gemiddelde antwoordtijd: %s."
+
+#: classes/Gems/Default/SurveyMaintenanceAction.php:297
+#, php-format
+msgid "Standard deviation: %s."
+msgstr "Standaard deviatie: %s."
+
+#: classes/Gems/Default/SurveyMaintenanceAction.php:313
+#, php-format
+msgid "Median value: %s."
+msgstr "Median waarde: %s."
+
+#: classes/Gems/Default/SurveyMaintenanceAction.php:320
+msgid "incalculable"
+msgstr "onberekenbaar"
+
+#: classes/Gems/Default/SurveyMaintenanceAction.php:333
+#, php-format
msgid "Checking survey results for the %s survey."
msgstr "Controle op vragenlijstresultaten voor de vragenlijst '%s'."
-#: classes/Gems/Default/SurveyMaintenanceAction.php:293
+#: classes/Gems/Default/SurveyMaintenanceAction.php:345
msgid "Checking survey results for all surveys."
msgstr "Controle op vragenlijstresultaten voor alle vragenlijsten."
-#: classes/Gems/Default/SurveyMaintenanceAction.php:350
+#: classes/Gems/Default/SurveyMaintenanceAction.php:402
msgid "OK"
msgstr "OK"
-#: classes/Gems/Default/SurveyMaintenanceAction.php:357
+#: classes/Gems/Default/SurveyMaintenanceAction.php:410
msgid "Source"
msgstr "Bron"
-#: classes/Gems/Default/SurveyMaintenanceAction.php:358
+#: classes/Gems/Default/SurveyMaintenanceAction.php:412
+#: classes/Gems/Default/SurveyMaintenanceAction.php:435
+msgid "Duration description"
+msgstr "Beschrijving afnametijd"
+
+#: classes/Gems/Default/SurveyMaintenanceAction.php:412
+#: classes/Gems/Default/SurveyMaintenanceAction.php:435
+msgid "Text to inform the respondent, e.g. \"20 seconds\" or \"1 minute\"."
+msgstr "Tekst om de patiënt te informeren, bijv. \"20 seconden\" of \"1 minuut\"."
+
+#: classes/Gems/Default/SurveyMaintenanceAction.php:414
msgid "Status in source"
msgstr "Status in bron"
-#: classes/Gems/Default/SurveyMaintenanceAction.php:361
+#: classes/Gems/Default/SurveyMaintenanceAction.php:417
msgid "Active in source"
msgstr "Actief in bron"
-#: classes/Gems/Default/SurveyMaintenanceAction.php:362
+#: classes/Gems/Default/SurveyMaintenanceAction.php:418
#, php-format
msgid "Active in %s"
msgstr "Actief in %s"
-#: classes/Gems/Default/SurveyMaintenanceAction.php:369
+#: classes/Gems/Default/SurveyMaintenanceAction.php:425
msgid "Single"
msgstr "Los"
-#: classes/Gems/Default/SurveyMaintenanceAction.php:378
+#: classes/Gems/Default/SurveyMaintenanceAction.php:434
msgid "Result field"
msgstr "Resultaat veld"
-#: classes/Gems/Default/SurveyMaintenanceAction.php:379
-msgid "Duration description"
-msgstr "Beschrijving afnametijd"
-
-#: classes/Gems/Default/SurveyMaintenanceAction.php:379
-msgid "Text to inform the respondent."
-msgstr "tekst er informatie van de patiënt."
-
-#: classes/Gems/Default/SurveyMaintenanceAction.php:383
+#: classes/Gems/Default/SurveyMaintenanceAction.php:439
msgid "Before answering"
msgstr "Voor beantwoording"
-#: classes/Gems/Default/SurveyMaintenanceAction.php:384
+#: classes/Gems/Default/SurveyMaintenanceAction.php:440
msgid "After completion"
msgstr "Na afronding"
-#: classes/Gems/Default/SurveyMaintenanceAction.php:414
+#: classes/Gems/Default/SurveyMaintenanceAction.php:470
#, php-format
msgid "%d times in track."
msgstr "%d keer in traject."
-#: classes/Gems/Default/SurveyMaintenanceAction.php:416
+#: classes/Gems/Default/SurveyMaintenanceAction.php:472
#, php-format
msgid "%d times in %d track(s)."
msgstr "%d keer in %d traject(en)."
-#: classes/Gems/Default/SurveyMaintenanceAction.php:420
+#: classes/Gems/Default/SurveyMaintenanceAction.php:476
msgid "Not used in track."
msgstr "Niet in traject gebruikt."
-#: classes/Gems/Default/SurveyMaintenanceAction.php:422
+#: classes/Gems/Default/SurveyMaintenanceAction.php:478
msgid "Not used in tracks."
msgstr "Niet in trajecten gebruikt."
@@ -3479,65 +3509,70 @@
msgid "Next >"
msgstr "Verder >"
-#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:115
+#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:122
msgid "We have received your answers today. Thank you!"
msgstr "We hebben uw vragenlijst vandaag ingevuld ontvangen. Dank u wel!"
-#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:118
+#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:125
msgid "We have received your answers yesterday. Thank you!"
msgstr "We hebben uw vragenlijst gisteren ingevuld ontvangen. Dank u wel!"
-#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:121
+#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:128
msgid "We have received your answers 2 days ago. Thank you."
msgstr "We hebben uw vragenlijst eergisteren ingevuld ontvangen. Dank u wel."
-#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:125
+#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:132
#, php-format
msgid "We have received your answers %d days ago. Thank you."
msgstr "We hebben uw vragenlijst %d dagen geleden ingevuld ontvangen. Dank u wel."
-#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:127
+#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:134
#, php-format
msgid "We have received your answers on %s. "
msgstr "We hebben uw vragenlijst op %s ingevuld ontvangen."
-#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:140
-msgid "This survey has no set time limit."
-msgstr "Deze vragenlijst heeft geen eindtijd."
+#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:147
+#, php-format
+msgid "Takes about %s to answer."
+msgstr "Duurt meestal ongeveer %s."
-#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:147
+#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:160
+msgid "Survey has no time limit."
+msgstr "Vragenlijst zonder eindtijd."
+
+#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:167
msgid "Warning!!!"
msgstr "Let op!!!"
-#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:147
-msgid "This survey must be answered today!"
-msgstr "Deze vragenlijst moet vandaag ingevuld zijn!"
+#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:167
+msgid "Survey must be answered today!"
+msgstr "Vragenlijst moet vandaag ingevuld zijn!"
-#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:150
+#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:170
msgid "Warning!!"
msgstr "Let op!!"
-#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:150
-msgid "This survey must be answered tomorrow!"
-msgstr "Deze vragenlijst moet morgen ingevuld zijn!"
+#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:170
+msgid "Survey must be answered tomorrow!"
+msgstr "Vragenlijst moet morgen ingevuld zijn!"
-#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:153
-msgid "Warning! This survey must be answered over 2 days!"
-msgstr "Let op! Deze vragenlijst moet overmorgen ingevuld zijn!"
+#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:173
+msgid "Warning! Survey must be answered over 2 days!"
+msgstr "Let op! Vragenlijst moet overmorgen ingevuld zijn!"
-#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:158
+#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:178
#, php-format
-msgid "This survey must be answered in %d days."
-msgstr "Deze vragenlijst moet binnen %d dagen ingevuld zijn!"
+msgid "Survey must be answered in %d days."
+msgstr "Vragenlijst moet binnen %d dagen ingevuld zijn!"
-#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:160
-msgid "This survey can no longer be answered."
-msgstr "Deze vragenlijst kan niet langer worden ingevuld!"
+#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:180
+msgid "Survey can no longer be answered."
+msgstr "Vragenlijst kan niet langer worden ingevuld!"
-#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:163
+#: classes/Gems/Tracker/Snippets/ShowTokenLoopAbstract.php:183
#, php-format
-msgid "This survey can be answered until %s."
-msgstr "Deze vragenlijst moet ingevuld worden voor %s."
+msgid "Survey can be answered until %s."
+msgstr "Moet ingevuld worden voor %s."
#: classes/Gems/Tracker/Source/LimeSurvey1m9Database.php:376
#: classes/Gems/Tracker/Source/LimeSurvey1m9Database.php:1162
@@ -3806,12 +3841,12 @@
msgid "Unable to send e-mail."
msgstr "Verzenden email mislukt."
-#: classes/Gems/User/UserLoader.php:234
-#: classes/Gems/User/UserLoader.php:248
+#: classes/Gems/User/UserLoader.php:244
+#: classes/Gems/User/UserLoader.php:258
msgid "Db storage"
msgstr "Database opslag"
-#: classes/Gems/User/UserLoader.php:249
+#: classes/Gems/User/UserLoader.php:259
msgid "Radius storage"
msgstr "Radius authenticatie"
@@ -3944,43 +3979,58 @@
msgid "%d days ago"
msgstr "%d dagen terug"
-#: classes/Gems/Util/Translated.php:177
+#: classes/Gems/Util/Translated.php:186
+#, php-format
+msgid "%d days %d:%s:%s"
+msgstr "%d dagen %d:%s:%s"
+
+#: classes/Gems/Util/Translated.php:188
+#, php-format
+msgid "%d:%s:%s"
+msgstr "%d:%s:%s"
+
+#: classes/Gems/Util/Translated.php:190
+#, php-format
+msgid "%d:%s"
+msgstr "%d:%s"
+
+#: classes/Gems/Util/Translated.php:202
msgid "Send multiple mails per respondent, one for each checked token."
msgstr "Verstuur meerdere emails per patiënt, één per gekozen kenmerk."
-#: classes/Gems/Util/Translated.php:178
+#: classes/Gems/Util/Translated.php:203
msgid "Send one mail per respondent, mark all checked tokens as send."
msgstr "Verstuur één email per patiënt, zet alle gekozen kenmerken op verzonden."
-#: classes/Gems/Util/Translated.php:179
+#: classes/Gems/Util/Translated.php:204
msgid "Send one mail per respondent, mark only mailed tokens as send."
msgstr "Verstuur één email per patiënt, zet alleen de verzonden kenmerken op verzonden."
-#: classes/Gems/Util/Translated.php:204
+#: classes/Gems/Util/Translated.php:229
msgid "Unknown"
msgstr "Onbekend"
-#: classes/Gems/Util/Translated.php:217
+#: classes/Gems/Util/Translated.php:242
msgid "mr."
msgstr "meneer"
-#: classes/Gems/Util/Translated.php:217
+#: classes/Gems/Util/Translated.php:242
msgid "mrs."
msgstr "mevrouw"
-#: classes/Gems/Util/Translated.php:217
+#: classes/Gems/Util/Translated.php:242
msgid "mr./mrs."
msgstr "heer/mevrouw"
-#: classes/Gems/Util/Translated.php:230
+#: classes/Gems/Util/Translated.php:255
msgid "Mr."
msgstr "De heer"
-#: classes/Gems/Util/Translated.php:230
+#: classes/Gems/Util/Translated.php:255
msgid "Mrs."
msgstr "Mevrouw"
-#: classes/Gems/Util/Translated.php:230
+#: classes/Gems/Util/Translated.php:255
msgid "Mr./Mrs."
msgstr "De heer/Mevrouw"
@@ -4374,17 +4424,17 @@
msgid "Round: %s"
msgstr "Ronde: %s"
-#: snippets/Track/Token/ShowAllOpenSnippet.php:189
+#: snippets/Track/Token/ShowAllOpenSnippet.php:190
msgid "Please answer the open survey."
msgid_plural "Please answer the open surveys."
msgstr[0] "Wij verzoeken u de openstaande vragenlijst nu in te vullen."
msgstr[1] "Wij verzoeken u de openstaande vragenlijsten nu in te vullen."
-#: snippets/Track/Token/ShowAllOpenSnippet.php:191
+#: snippets/Track/Token/ShowAllOpenSnippet.php:192
msgid "Thank you for answering all open surveys."
msgstr "Dank u voor het beantwoorden van alle openstaande vragenlijsten."
-#: snippets/Track/Token/ShowAllOpenSnippet.php:194
+#: snippets/Track/Token/ShowAllOpenSnippet.php:195
msgid "There are no surveys to show for this token."
msgstr "U heeft geen open vragenlijsten voor dit kenmerk."
@@ -4675,9 +4725,6 @@
#~ msgid "Completion event"
#~ msgstr "Afrondingscode"
-#~ msgid "Do not calculate this date."
-#~ msgstr "Laat deze datum leeg."
-
#~ msgid ""
#~ "Let op: uw sessie is verlopen, uw invoer is niet opgeslagen. Controleer "
#~ "de gegevens en probeer a.u.b. opnieuw."
Modified: trunk/library/snippets/Track/Token/ShowAllOpenSnippet.php
===================================================================
--- trunk/library/snippets/Track/Token/ShowAllOpenSnippet.php 2012-07-16 07:50:44 UTC (rev 847)
+++ trunk/library/snippets/Track/Token/ShowAllOpenSnippet.php 2012-07-16 17:36:52 UTC (rev 848)
@@ -174,6 +174,7 @@
$a = $div->actionLink($this->getTokenHref($token), $token->getSurveyName());
$div->append(' ');
+ $div->append($this->formatDuration($token->getSurvey()->getDuration()));
$div->append($this->formatUntil($token->getValidUntil()));
/*
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|