Skip to content

Commit

Permalink
MDL-36615 calendar: The type of event should be named site not global…
Browse files Browse the repository at this point in the history
… for consistencies
  • Loading branch information
ankitagarwal committed Nov 19, 2012
1 parent 2d7c5ee commit f5b20ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion calendar/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -2695,7 +2695,7 @@ function calendar_get_eventtype_choices($courseid) {
$choices[0] = get_string('userevents', 'calendar');
}
if ($allowed->site) {
$choices[SITEID] = get_string('globalevents', 'calendar');
$choices[SITEID] = get_string('siteevents', 'calendar');
}
if (!empty($allowed->courses)) {
$choices[$courseid] = get_string('courseevents', 'calendar');
Expand Down
1 change: 1 addition & 0 deletions lang/en/calendar.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@
$string['showgroupsevents'] = 'Show group events';
$string['showuserevents'] = 'Show user events';
$string['shown'] = 'shown';
$string['siteevents'] = 'Site events';
$string['spanningevents'] = 'Events underway';
$string['subscriptions'] = 'Subscriptions';
$string['subscriptionname'] = 'Calendar name';
Expand Down

0 comments on commit f5b20ea

Please sign in to comment.