Merge branch 'MDL-38857_master' of git://github.com/dmonllao/moodle
This commit is contained in:
@@ -22,8 +22,10 @@
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
$string['aim'] = 'This administration tool helps developers and test writers to create .feature files describing Moodle\'s functionalities and run them automatically.';
|
||||
$string['allavailablesteps'] = 'All the available steps definitions';
|
||||
$string['giveninfo'] = 'Given. Processes to set up the environment';
|
||||
$string['infoheading'] = 'Info';
|
||||
$string['installinfo'] = 'Read {$a} for installation and tests execution info';
|
||||
$string['moreinfoin'] = 'More info in {$a}';
|
||||
$string['newstepsinfo'] = 'Read {$a} for info about how to add new steps definitions';
|
||||
|
||||
@@ -64,9 +64,10 @@ class tool_behat_renderer extends plugin_renderer_base {
|
||||
get_string('newstepsinfo', 'tool_behat', $writestepslink)
|
||||
);
|
||||
|
||||
// List of steps
|
||||
// List of steps.
|
||||
$html .= $this->output->box_start();
|
||||
$html .= html_writer::tag('h1', 'Info');
|
||||
$html .= html_writer::tag('h1', get_string('infoheading', 'tool_behat'));
|
||||
$html .= html_writer::tag('div', get_string('aim', 'tool_behat'));
|
||||
$html .= html_writer::empty_tag('div');
|
||||
$html .= html_writer::empty_tag('ul');
|
||||
$html .= html_writer::empty_tag('li');
|
||||
|
||||
@@ -207,6 +207,8 @@ class behat_command {
|
||||
protected static function output_msg($msg) {
|
||||
|
||||
if (!CLI_SCRIPT) {
|
||||
// General info about the tool purpose.
|
||||
$msg = get_string('aim', 'tool_behat') . '<br /><br />' . $msg;
|
||||
notice($msg);
|
||||
} else {
|
||||
echo $msg;
|
||||
|
||||
Reference in New Issue
Block a user