Merge branch 'MDL-80541-main' of https://github.com/aanabit/moodle

This commit is contained in:
Huong Nguyen 2024-02-13 09:04:04 +07:00
commit 06783182ef
3 changed files with 8 additions and 5 deletions

View File

@ -148,11 +148,11 @@ if ($mform->is_cancelled()){
}
// The edit form is displayed for the first time or if there was validation error on the previous step.
$sectionname = get_section_name($course, $sectionnum);
$stredit = get_string('edita', '', " $sectionname");
$strsummaryof = get_string('summaryof', '', " $sectionname");
$sectionname = get_section_name($course, $sectionnum);
$stredit = get_string('editsectiontitle', '', $sectionname);
$strsummaryof = get_string('editsectionsettings');
$PAGE->set_title($stredit);
$PAGE->set_title($stredit . moodle_page::TITLE_SEPARATOR . $course->shortname);
$PAGE->set_heading($course->fullname);
$PAGE->navbar->add($stredit);
echo $OUTPUT->header();

View File

@ -137,3 +137,4 @@ addinganewto,core
editinga,core
updatinga,core
updatingain,core
summaryof,core

View File

@ -630,6 +630,8 @@ $string['editorsettings'] = 'Editor settings';
$string['editorshortcutkeys'] = 'Editor shortcut keys';
$string['editsection'] = 'Edit settings';
$string['editsectionname'] = 'Edit section name';
$string['editsectionsettings'] = 'Edit section settings';
$string['editsectiontitle'] = 'Edit section: {$a}';
$string['edittitle'] = 'Edit title';
$string['edittitleinstructions'] = 'Escape to cancel, Enter when finished';
$string['editthisactivity'] = 'Edit this activity';
@ -2183,7 +2185,6 @@ $string['subject'] = 'Subject';
$string['success'] = 'Success';
$string['successduration'] = 'Success ({$a} seconds)';
$string['summary'] = 'Summary';
$string['summaryof'] = 'Summary of {$a}';
$string['suspended'] = 'Suspended';
$string['suspendedusers'] = 'Suspended users';
$string['switchdevicedefault'] = 'Switch to the standard theme';
@ -2502,3 +2503,4 @@ $string['addinganewto'] = 'Adding a new {$a->what} to {$a->to}';
$string['editinga'] = 'Editing {$a}';
$string['updatinga'] = 'Updating: {$a}';
$string['updatingain'] = 'Updating {$a->what} in {$a->in}';
$string['summaryof'] = 'Summary of {$a}';