MDL-45104 logging: Fix spelling of writing

This commit is contained in:
John Okely 2016-02-25 09:59:28 +08:00
parent 316d6574e2
commit 3f195ab7c8
2 changed files with 3 additions and 3 deletions

View File

@ -287,7 +287,7 @@ class core_admin_renderer extends plugin_renderer_base {
$output .= $this->header();
$output .= $this->maturity_info($maturity);
$output .= $this->legacy_log_store_writting_error();
$output .= $this->legacy_log_store_writing_error();
$output .= empty($CFG->disableupdatenotifications) ? $this->available_updates($availableupdates, $availableupdatesfetch) : '';
$output .= $this->insecure_dataroot_warning($insecuredataroot);
$output .= $this->display_errors_warning($errorsdisplayed);
@ -1961,7 +1961,7 @@ class core_admin_renderer extends plugin_renderer_base {
*
* @return string An error message if writing to the legacy log store is enabled.
*/
protected function legacy_log_store_writting_error() {
protected function legacy_log_store_writing_error() {
$enabled = get_config('logstore_legacy', 'loglegacy');
if ($enabled) {
return $this->warning(get_string('legacylogginginuse'));

View File

@ -1032,7 +1032,7 @@ $string['lastyear'] = 'Last year';
$string['latestlanguagepack'] = 'Check for latest language pack on moodle.org';
$string['layouttable'] = 'Layout table';
$string['leavetokeep'] = 'Leave blank to keep current password';
$string['legacylogginginuse'] = 'This site currently has writting to the legacy log store enabled. Writing to this log store is deprecated. Please write to a supported log store such as "standard" or "external".';
$string['legacylogginginuse'] = 'This site currently has writing to the legacy log store enabled. Writing to this log store is deprecated. Please write to a supported log store such as "standard" or "external".';
$string['legacythemeinuse'] = 'This site is being displayed to you in compatibility mode because your browser is too old.';
$string['license'] = 'Licence';
$string['licenses'] = 'Licences';