MDL-36615 calendar: The type of event should be named site not global for consistencies

This commit is contained in:
Ankit Agarwal 2012-11-16 11:40:34 +08:00
parent 2d7c5eeeea
commit f5b20ea317
2 changed files with 2 additions and 1 deletions

View File

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

View File

@ -161,6 +161,7 @@ $string['showglobalevents'] = 'Show global events';
$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';