Skip to content

Commit

Permalink
Merge branch 'MDL-35224-master' of git://github.com/ankitagarwal/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
danpoltawski committed Sep 18, 2012
2 parents b454629 + 3fe4a2f commit a2c5f73
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions calendar/view.php
Expand Up @@ -98,11 +98,11 @@
switch($view) {
case 'day':
$PAGE->navbar->add(userdate($time, get_string('strftimedate')));
$pagetitle = get_string('dayview', 'calendar');
$pagetitle = get_string('dayviewtitle', 'calendar', userdate($time, get_string('strftimedaydate')));
break;
case 'month':
$PAGE->navbar->add(userdate($time, get_string('strftimemonthyear')));
$pagetitle = get_string('detailedmonthview', 'calendar');
$pagetitle = get_string('detailedmonthviewtitle', 'calendar', userdate($time, get_string('strftimemonthyear')));
break;
case 'upcoming':
$pagetitle = get_string('upcomingevents', 'calendar');
Expand Down
2 changes: 2 additions & 0 deletions lang/en/calendar.php
Expand Up @@ -38,11 +38,13 @@
$string['courseevents'] = 'Course events';
$string['courses'] = 'Courses';
$string['dayview'] = 'Day view';
$string['dayviewtitle'] = 'Day view: {$a}';
$string['daywithnoevents'] = 'There are no events this day.';
$string['default'] = 'Default';
$string['deleteevent'] = 'Delete event';
$string['deleteevents'] = 'Delete events';
$string['detailedmonthview'] = 'Detailed month view';
$string['detailedmonthviewtitle'] = 'Detailed month view: {$a}';
$string['durationminutes'] = 'Duration in minutes';
$string['durationnone'] = 'Without duration';
$string['durationuntil'] = 'Until';
Expand Down

0 comments on commit a2c5f73

Please sign in to comment.