Issue #12: English references removed, using language pack, except on code related to Issue #11 later.

This commit is contained in:
Daniel Thee Roperto
2016-09-02 14:39:45 +10:00
parent 729c8f521a
commit 06b3e4f918
7 changed files with 67 additions and 29 deletions

View File

@@ -41,7 +41,7 @@ class delete extends \moodleform {
$mform->addElement('hidden', 'id');
$mform->setType('id', PARAM_INT);
$this->add_action_buttons(true, get_string('ok'));
$this->add_action_buttons(true, get_string('remove'));
}
/**

View File

@@ -41,16 +41,16 @@ class edit extends \moodleform {
$mform->addElement('hidden', 'id');
$mform->setType('id', PARAM_INT);
$mform->addElement('date_time_selector', 'starttime', 'Start Time');
$mform->addElement('date_time_selector', 'starttime', get_string('starttime', 'auth_outage'));
$mform->addElement('date_time_selector', 'stoptime', 'Stop Time');
$mform->addElement('date_time_selector', 'stoptime', get_string('stoptime', 'auth_outage'));
$mform->addElement('duration', 'warningduration', 'Warning Duration');
$mform->addElement('duration', 'warningduration', get_string('warningduration', 'auth_outage'));
$mform->addElement('text', 'title', 'Title');
$mform->addElement('text', 'title', get_string('title', 'auth_outage'));
$mform->setType('title', PARAM_TEXT);
$mform->addElement('editor', 'description', 'Description');
$mform->addElement('editor', 'description', get_string('description', 'auth_outage'));
$this->add_action_buttons();
}