mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-22054 Fixed 'Edit' string in core strings
AMOS BEGIN CPY [edit,core],[edita,core] REM do not forget to drop placeholder from [edit,core] in all languages AMOS END
This commit is contained in:
parent
6c2e2008bd
commit
0831fd7841
3 changed files with 6 additions and 5 deletions
|
@ -66,11 +66,11 @@ if ($mform->is_cancelled()){
|
|||
/// Inelegant hack for bug 3408
|
||||
if ($course->format == 'site') {
|
||||
$sectionname = get_string('site');
|
||||
$stredit = get_string('edit', '', " $sectionname");
|
||||
$stredit = get_string('edita', '', " $sectionname");
|
||||
$strsummaryof = get_string('summaryof', '', " $sectionname");
|
||||
} else {
|
||||
$sectionname = get_section_name($course->format);
|
||||
$stredit = get_string('edit', '', " $sectionname $section->section");
|
||||
$stredit = get_string('edita', '', " $sectionname $section->section");
|
||||
$strsummaryof = get_string('summaryof', '', " $sectionname $section->section");
|
||||
}
|
||||
|
||||
|
@ -82,4 +82,4 @@ echo $OUTPUT->header();
|
|||
echo $OUTPUT->heading_with_help($strsummaryof, 'summaries');
|
||||
|
||||
$mform->display();
|
||||
echo $OUTPUT->footer();
|
||||
echo $OUTPUT->footer();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue