Skip to content

Commit

Permalink
Language changes for main library
Browse files Browse the repository at this point in the history
  • Loading branch information
martin committed Aug 12, 2002
1 parent a049e1d commit ae35005
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 2 additions & 0 deletions lang/en/moodle.php
Expand Up @@ -97,6 +97,7 @@
$string[entercourse] = "Click to enter this course";
$string[enteremailaddress] = "Enter in your email address to reset your
password and have the new password sent to you via email.";
$string[error] = "Error";
$string[files] = "Files";
$string[firstname] = "First name";
$string[firsttime] = "Is this your first time here?";
Expand Down Expand Up @@ -263,6 +264,7 @@
$string[someallowguest] = "Some courses may allow guest access";
$string[startdate] = "Course start date";
$string[startsignup] = "Start now by creating a new account!";
$string[success] = "Success";
$string[summary] = "Summary";
$string[summaryof] = "Summary of \$a";
$string[supplyinfo] = "Please supply some information about yourself";
Expand Down
16 changes: 7 additions & 9 deletions lib/moodlelib.php
Expand Up @@ -412,7 +412,7 @@ function usertimezone($timezone=99) {
function error ($message, $link="") {
global $CFG, $SESSION;

print_header("Error");
print_header(get_string("error"));
echo "<BR>";
print_simple_box($message, "center", "", "#FFBBBB");

Expand Down Expand Up @@ -463,7 +463,7 @@ function notice ($message, $link="") {

echo "<BR>";
print_simple_box($message, "center", "", "$THEME->cellheading");
print_heading("<A HREF=\"$link\">Continue</A>");
print_heading("<A HREF=\"$link\">".get_string("continue")."</A>");
print_footer();
die;
}
Expand All @@ -474,9 +474,9 @@ function notice_yesno ($message, $linkyes, $linkno) {
print_simple_box_start("center", "", "$THEME->cellheading");
echo "<P ALIGN=CENTER><FONT SIZE=3>$message</FONT></P>";
echo "<P ALIGN=CENTER><FONT SIZE=3><B>";
echo "<A HREF=\"$linkyes\">Yes</A>";
echo "<A HREF=\"$linkyes\">".get_string("yes")."</A>";
echo "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
echo "<A HREF=\"$linkno\">No</A>";
echo "<A HREF=\"$linkno\">".get_string("no")."</A>";
echo "</B></FONT></P>";
print_simple_box_end();
}
Expand All @@ -490,7 +490,7 @@ function redirect($url, $message="", $delay=0) {
print_header();
echo "<CENTER>";
echo "<P>$message</P>";
echo "<P>( <A HREF=\"$url\">Continue</A> )</P>";
echo "<P>( <A HREF=\"$url\">".get_string("continue")."</A> )</P>";
echo "</CENTER>";
}
die;
Expand Down Expand Up @@ -529,10 +529,10 @@ function execute_sql($command) {
$result = $db->Execute("$command");

if ($result) {
echo "<P><FONT COLOR=green>SUCCESS</FONT></P>";
echo "<P><FONT COLOR=green><B>".get_string("success")."</B></FONT></P>";
return true;
} else {
echo "<P><FONT COLOR=red>ERROR</FONT></P>";
echo "<P><FONT COLOR=red><B>".get_string("error")."</B></FONT></P>";
return false;
}
}
Expand Down Expand Up @@ -1576,8 +1576,6 @@ function moodle_needs_upgrading() {
return true;
}
return false;


}


Expand Down

0 comments on commit ae35005

Please sign in to comment.