Skip to content

Commit

Permalink
Merge branch 'MDL-80541-main' of https://github.com/aanabit/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
HuongNV13 committed Feb 13, 2024
2 parents c5eefd2 + 3e2da7f commit 0678318
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
8 changes: 4 additions & 4 deletions course/editsection.php
Expand Up @@ -148,11 +148,11 @@
}

// 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();
Expand Down
1 change: 1 addition & 0 deletions lang/en/deprecated.txt
Expand Up @@ -137,3 +137,4 @@ addinganewto,core
editinga,core
updatinga,core
updatingain,core
summaryof,core
4 changes: 3 additions & 1 deletion lang/en/moodle.php
Expand Up @@ -630,6 +630,8 @@
$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';
Expand Down Expand Up @@ -2183,7 +2185,6 @@
$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';
Expand Down Expand Up @@ -2502,3 +2503,4 @@
$string['editinga'] = 'Editing {$a}';
$string['updatinga'] = 'Updating: {$a}';
$string['updatingain'] = 'Updating {$a->what} in {$a->in}';
$string['summaryof'] = 'Summary of {$a}';

0 comments on commit 0678318

Please sign in to comment.