AMOS BEGIN
MOV [firstdayofweek,core],[firstdayofweek,core_langconfig]
AMOS END
if (isset($CFG->calendar_startwday)) {
$firstday = $CFG->calendar_startwday;
} else {
- $firstday = get_string('firstdayofweek');
+ $firstday = get_string('firstdayofweek', 'langconfig');
}
if(!is_numeric($firstday)) {
$string['filter'] = 'Filter';
$string['findmorecourses'] = 'Find more courses...';
$string['firstaccess'] = 'First access';
-$string['firstdayofweek'] = '0';
$string['firstname'] = 'First name';
$string['firsttime'] = 'Is this your first time here?';
$string['flashlinkmessage'] = 'Please upgrade your Flash player now:';
$PAGE->requires->yui2_lib('calendar');
$PAGE->requires->yui2_lib('container');
$PAGE->requires->js_function_call('init_date_selectors',
- array(get_string('firstdayofweek')));
+ array(get_string('firstdayofweek', 'langconfig')));
$done = true;
}
}