Skip to content

Commit

Permalink
MDL-46344 outputrenderers: Localize 'This page is'.
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaboesch committed Jun 1, 2018
1 parent 9c607c0 commit 50e1bbb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions lang/en/admin.php
Expand Up @@ -825,6 +825,7 @@
$string['order4'] = 'Fourth';
$string['outgoingmailconfig'] = 'Outgoing mail configuration';
$string['overridetossl'] = 'HTTPS for logins has now been deprecated. This instance is now forced to SSL. To remedy this warning change your wwwroot in config.php to https://';
$string['pageinfodebugsummary'] = 'This page is: {$a}';
$string['passwordchangelogout'] = 'Log out after password change';
$string['passwordchangelogout_desc'] = 'If enabled, when a password is changed, all browser sessions are terminated, apart from the one in which the new password is specified. (This setting does not affect password changes via bulk user upload.)';
$string['passwordchangetokendeletion'] = 'Remove web service access tokens after password change';
Expand Down
3 changes: 2 additions & 1 deletion lib/outputrenderers.php
Expand Up @@ -781,7 +781,8 @@ public function standard_footer_html() {
$output .= $this->theme_switch_links();

if (!empty($CFG->debugpageinfo)) {
$output .= '<div class="performanceinfo pageinfo">This page is: ' . $this->page->debug_summary() . '</div>';
$output .= '<div class="performanceinfo pageinfo">' . get_string('pageinfodebugsummary', 'core_admin',
$this->page->debug_summary()) . '</div>';
}
if (debugging(null, DEBUG_DEVELOPER) and has_capability('moodle/site:config', context_system::instance())) { // Only in developer mode
// Add link to profiling report if necessary
Expand Down

0 comments on commit 50e1bbb

Please sign in to comment.