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

View File

@ -475,7 +475,8 @@ $string['edhelpenablespelling'] = 'Enable or disable spell-checking. When enable
$string['edhelpfontfamily'] = 'The font-family property is a list of font family names and/or generic family names. Family names must be separated with comma.';
$string['edhelpfontlist'] = 'Define the fonts used on editors dropdown menu.';
$string['edhelpfontsize'] = 'The default font-size sets the size of a font. <br />Valid values are for example: medium, large, smaller, larger, 10pt, 11px.';
$string['edit'] = 'Edit {$a}';
$string['edit'] = 'Edit';
$string['edita'] = 'Edit {$a}';
$string['editcategorysettings'] = 'Edit category settings';
$string['editcategorythis'] = 'Edit this category';
$string['editcoursesettings'] = 'Edit course settings';

View File

@ -47,7 +47,7 @@ $tabs = $row = $inactive = $activated = array();
$attemptscount = $DB->count_records('lesson_grades', array('lessonid'=>$lesson->id));
$row[] = new tabobject('view', "$CFG->wwwroot/mod/lesson/view.php?id=$cm->id", get_string('preview', 'lesson'), get_string('previewlesson', 'lesson', format_string($lesson->name)));
$row[] = new tabobject('edit', "$CFG->wwwroot/mod/lesson/edit.php?id=$cm->id", get_string('edit', 'lesson'), get_string('edit', 'moodle', format_string($lesson->name)));
$row[] = new tabobject('edit', "$CFG->wwwroot/mod/lesson/edit.php?id=$cm->id", get_string('edit', 'lesson'), get_string('edita', 'moodle', format_string($lesson->name)));
$row[] = new tabobject('reports', "$CFG->wwwroot/mod/lesson/report.php?id=$cm->id", get_string('reports', 'lesson'), get_string('viewreports2', 'lesson', $attemptscount));
if (has_capability('mod/lesson:edit', $context)) {
$row[] = new tabobject('essay', "$CFG->wwwroot/mod/lesson/essay.php?id=$cm->id", get_string('manualgrading', 'lesson'));