Skip to content

Commit

Permalink
Merge branch 'wip-MDL-43135' of https://github.com/jennymgray/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Dec 10, 2013
2 parents 8f3e0bf + a080716 commit 1c432ae
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions enrol/guest/lang/en/enrol_guest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@

$string['allowguests'] = 'This course allows guest users to enter';
$string['guest:config'] = 'Configure guest access instances';
$string['guestaccess_withpassword'] = 'Guest access requires password';
$string['guestaccess_withoutpassword'] = 'Guest access';
$string['password'] = 'Password';
$string['password_help'] = 'A password allows guest access to the course to be restricted to only those who know the password. Guests will be required to supply the password each time they access the course.';
$string['passwordinvalid'] = 'Incorrect access password, please try again';
Expand Down
4 changes: 2 additions & 2 deletions enrol/guest/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ class enrol_guest_plugin extends enrol_plugin {
public function get_info_icons(array $instances) {
foreach ($instances as $instance) {
if ($instance->password !== '') {
return array(new pix_icon('withpassword', get_string('pluginname', 'enrol_guest'), 'enrol_guest'));
return array(new pix_icon('withpassword', get_string('guestaccess_withpassword', 'enrol_guest'), 'enrol_guest'));
} else {
return array(new pix_icon('withoutpassword', get_string('pluginname', 'enrol_guest'), 'enrol_guest'));
return array(new pix_icon('withoutpassword', get_string('guestaccess_withoutpassword', 'enrol_guest'), 'enrol_guest'));
}
}
}
Expand Down
1 change: 0 additions & 1 deletion lang/en/moodle.php
Original file line number Diff line number Diff line change
Expand Up @@ -1334,7 +1334,6 @@
$string['ok'] = 'OK';
$string['oldpassword'] = 'Current password';
$string['olduserdirectory'] = 'This is the OLD users directory, and is no longer needed. You may safely delete it. The files it contains have been copied to the NEW user directory.';
$string['opentoguests'] = 'Guest access';
$string['optional'] = 'optional';
$string['options'] = 'options';
$string['order'] = 'Order';
Expand Down

0 comments on commit 1c432ae

Please sign in to comment.