|
From: <var...@us...> - 2021-10-13 08:14:27
|
Revision: 10631
http://sourceforge.net/p/phpwiki/code/10631
Author: vargenau
Date: 2021-10-13 08:14:24 +0000 (Wed, 13 Oct 2021)
Log Message:
-----------
lib/plugin/WikiPoll.php: better warning message; add spacing between buttons
Modified Paths:
--------------
trunk/lib/plugin/WikiPoll.php
Modified: trunk/lib/plugin/WikiPoll.php
===================================================================
--- trunk/lib/plugin/WikiPoll.php 2021-10-13 07:46:45 UTC (rev 10630)
+++ trunk/lib/plugin/WikiPoll.php 2021-10-13 08:14:24 UTC (rev 10631)
@@ -182,7 +182,10 @@
// update statistics and present them the user
return $this->doPoll($page, $request, $request->getArg('answer'));
} else {
- $html->pushContent(HTML::div(array('class' => 'warning'), _("Not enough questions answered!")));
+ $html->pushContent(HTML::div(array('class' => 'warning'),
+ _("Not enough questions answered!") . " "
+ . sprintf(_("You must answer at least %d questions."),
+ $args['require_least'])));
}
}
@@ -223,6 +226,7 @@
HTML::input(array('type' => 'submit',
'name' => "WikiPoll",
'value' => _("OK"))),
+ HTML::raw(' '),
HTML::input(array('type' => 'reset',
'name' => "reset",
'value' => _("Reset")))));
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|