Skip to content

Commit

Permalink
MDL-39518: Change hardcoded string MOOCH to Moodle.net
Browse files Browse the repository at this point in the history
  • Loading branch information
Damyon Wiese committed May 10, 2013
1 parent 1922147 commit 727b8d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions admin/registration/renderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class core_register_renderer extends plugin_renderer_base {
public function moodleorg_registration_message() {
$moodleorgurl = html_writer::link('http://moodle.org', 'Moodle.org');
$moodleorgstatsurl = html_writer::link('http://moodle.org/stats', get_string('statsmoodleorg', 'admin'));
$moochurl = html_writer::link(HUB_MOODLEORGHUBURL, 'MOOCH');
$moochurl = html_writer::link(HUB_MOODLEORGHUBURL, get_string('moodleorghubname', 'admin'));
$moodleorgregmsg = get_string('registermoodleorg', 'admin', $moodleorgurl);
$items = array(get_string('registermoodleorgli1', 'admin'),
get_string('registermoodleorgli2', 'admin', $moodleorgstatsurl),
Expand Down Expand Up @@ -92,4 +92,4 @@ public function registeredonhublisting($hubs) {
return html_writer::table($table);
}

}
}
1 change: 1 addition & 0 deletions lang/en/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -713,6 +713,7 @@
$string['messagingallowemailoverride'] = 'Notification email override';
$string['messaginghidereadnotifications'] = 'Hide read notifications';
$string['messagingdeletereadnotificationsdelay'] = 'Delete read notifications';
$string['moodleorghubname'] = 'Moodle.net';
$string['minpassworddigits'] = 'Digits';
$string['minpasswordlength'] = 'Password length';
$string['minpasswordlower'] = 'Lowercase letters';
Expand Down

0 comments on commit 727b8d5

Please sign in to comment.