mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-36615 calendar: The type of event should be named site not global for consistencies
This commit is contained in:
parent
2d7c5eeeea
commit
f5b20ea317
@ -2695,7 +2695,7 @@ function calendar_get_eventtype_choices($courseid) {
|
|||||||
$choices[0] = get_string('userevents', 'calendar');
|
$choices[0] = get_string('userevents', 'calendar');
|
||||||
}
|
}
|
||||||
if ($allowed->site) {
|
if ($allowed->site) {
|
||||||
$choices[SITEID] = get_string('globalevents', 'calendar');
|
$choices[SITEID] = get_string('siteevents', 'calendar');
|
||||||
}
|
}
|
||||||
if (!empty($allowed->courses)) {
|
if (!empty($allowed->courses)) {
|
||||||
$choices[$courseid] = get_string('courseevents', 'calendar');
|
$choices[$courseid] = get_string('courseevents', 'calendar');
|
||||||
|
@ -161,6 +161,7 @@ $string['showglobalevents'] = 'Show global events';
|
|||||||
$string['showgroupsevents'] = 'Show group events';
|
$string['showgroupsevents'] = 'Show group events';
|
||||||
$string['showuserevents'] = 'Show user events';
|
$string['showuserevents'] = 'Show user events';
|
||||||
$string['shown'] = 'shown';
|
$string['shown'] = 'shown';
|
||||||
|
$string['siteevents'] = 'Site events';
|
||||||
$string['spanningevents'] = 'Events underway';
|
$string['spanningevents'] = 'Events underway';
|
||||||
$string['subscriptions'] = 'Subscriptions';
|
$string['subscriptions'] = 'Subscriptions';
|
||||||
$string['subscriptionname'] = 'Calendar name';
|
$string['subscriptionname'] = 'Calendar name';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user