diff --git a/config-dist.php b/config-dist.php
index 0ab586b10c8..40b87882f93 100644
--- a/config-dist.php
+++ b/config-dist.php
@@ -59,10 +59,17 @@ $CFG->dataroot = "/home/moodledata";
$CFG->theme = "standard";
-// Choose a sitewide language - this will affect navigation, help etc
+// Choose a sitewide language - this will affect text, buttons etc
// See lib/languages.php for a full list of standard language codes.
-$CFG->lang = "en";
+$CFG->lang = "en";
+
+// Choose a sitewide locale - this will affect the display of dates
+// You need to have this locale data installed on your operating
+// system. If you don't know what to choose try using the same
+// string as the language.
+
+$CFG->locale = "en";
// Give the full names of local SMTP servers that Moodle should use to
diff --git a/course/view.php b/course/view.php
index 766a52aa88d..85f5c526478 100644
--- a/course/view.php
+++ b/course/view.php
@@ -31,7 +31,9 @@
redirect("$CFG->wwwroot");
}
- print_header("Course: $course->fullname", "$course->fullname", "$course->shortname", "search.search", "", true,
+ $courseword = get_string("course");
+
+ print_header("$courseword: $course->fullname", "$course->fullname", "$course->shortname", "search.search", "", true,
update_course_icon($course->id));
if (! $modtypes = get_records_sql_menu("SELECT name,fullname FROM modules ORDER BY fullname") ) {
@@ -72,15 +74,19 @@
function make_editing_buttons($moduleid) {
+ $delete = get_string("delete");
+ $moveup = get_string("moveup");
+ $movedown = get_string("movedown");
+ $update = get_string("update");
return "
+ SRC=../pix/t/delete.gif BORDER=0 ALT=\"$delete\">
+ SRC=../pix/t/up.gif BORDER=0 ALT=\"$moveup\">
+ SRC=../pix/t/down.gif BORDER=0 ALT=\"$movedown\">
";
+ SRC=../pix/t/edit.gif BORDER=0 ALT=\"$update\">";
}
function print_side_block($heading="", $list=NULL, $footer="", $icons=NULL) {
diff --git a/lang/en/strings.php b/lang/en/strings.php
index 3551c2a560b..edf662201b3 100644
--- a/lang/en/strings.php
+++ b/lang/en/strings.php
@@ -1,30 +1,93 @@
An email should have been sent to your address at \$a
+
It contains easy instructions to complete your registration. +
If you continue to have difficulty, contact the site administrator."; $string[entercourse] = "Click to enter this course"; - +$string[firsttime] = "Is this your first time here?"; +$string[forgotten] = "Forgotten your username or password?"; +$string[fullprofile] = "Full profile"; +$string[home] = "Home"; +$string[htmlformat] = "Pretty HTML format"; +$string[icqnumber] = "ICQ number"; +$string[idnumber] = "ID number"; +$string[invalidlogin] = "Invalid login, please try again"; +$string[lastaccess] = "Last access"; +$string[location] = "Location"; $string[loggedinas] = "You are logged in as \$a."; - $string[loggedinnot] = "You are not logged in."; - $string[login] = "Login"; - +$string[loginas] = "Login as"; +$string[loginguest] = "Login as a guest"; +$string[loginsite] = "Login to the site"; +$string[loginusing] = "Login using your username and password"; +$string[loginsteps] = " + Hi! For full access to courses you'll need to take a minute to create + a new account for yourself on this web site. + Each of the individual courses may also have a one-time + "enrolment key", which you won't need until later. Here are + the steps: +
-An email should have been sent to your address at pv($user->email) ?> - -
--It contains easy instructions to complete your registration. -
- -If you continue to have difficulty, contact the site administrator. - +
| cellheading2?>>
- Returning to this web site? +print_string("returningtosite") ?> |
cellheading2?>>
- Is this your first time here? +print_string("firsttime") ?> |
|
- Log in using your username and password: print_string("loginusing") ?>: |
-Some courses may allow guest access:
+print_string("someallowguest") ?>:
-Forgotten your username or password?
+print_string("forgotten") ?>
Hi! For full access to courses you'll need to take a minute to create - a new account for yourself on this web site. - Each of the individual courses may also have a one-time - "enrolment key", which you won't need until later. Here are - the steps:
-print_string("loginsteps", "", "signup.php") ?>