Skip to content

Commit

Permalink
MDL-22050 removing moodle/langconfig duplicates
Browse files Browse the repository at this point in the history
AMOS BEGIN
  MOV [firstdayofweek,core],[firstdayofweek,core_langconfig]
AMOS END
  • Loading branch information
skodak committed Apr 10, 2010
1 parent 3c7e56c commit 0a933ae
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion calendar/lib.php
Expand Up @@ -73,7 +73,7 @@ function calendar_get_starting_weekday() {
if (isset($CFG->calendar_startwday)) {
$firstday = $CFG->calendar_startwday;
} else {
$firstday = get_string('firstdayofweek');
$firstday = get_string('firstdayofweek', 'langconfig');
}

if(!is_numeric($firstday)) {
Expand Down
1 change: 0 additions & 1 deletion lang/en/moodle.php
Expand Up @@ -688,7 +688,6 @@
$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:';
Expand Down
2 changes: 1 addition & 1 deletion lib/formslib.php
Expand Up @@ -72,7 +72,7 @@ function form_init_date_js() {
$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;
}
}
Expand Down

0 comments on commit 0a933ae

Please sign in to comment.