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:
David Mudrak 2010-04-20 17:57:12 +00:00
parent 6c2e2008bd
commit 0831fd7841
3 changed files with 6 additions and 5 deletions

View file

@ -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();