mirror of
https://github.com/moodle/moodle.git
synced 2025-03-15 05:00:06 +01:00
Fixed some missing strings that no-one picked up before!
This commit is contained in:
parent
9db31d0df5
commit
27c4094294
@ -223,8 +223,11 @@
|
||||
displaydir($wdir);
|
||||
|
||||
} else {
|
||||
$strrename = get_string("rename");
|
||||
$strcancel = get_string("cancel");
|
||||
$strrenamefileto = get_string("renamefileto", "moodle", $file);
|
||||
html_header($course, $wdir, "form.name");
|
||||
echo "<P>Rename <B>$file</B> to:";
|
||||
echo "<P>$strrenamefileto:";
|
||||
echo "<TABLE><TR><TD>";
|
||||
echo "<FORM ACTION=index.php METHOD=post NAME=form>";
|
||||
echo " <INPUT TYPE=hidden NAME=id VALUE=$id>";
|
||||
@ -232,14 +235,14 @@
|
||||
echo " <INPUT TYPE=hidden NAME=action VALUE=rename>";
|
||||
echo " <INPUT TYPE=hidden NAME=oldname VALUE=\"$file\">";
|
||||
echo " <INPUT TYPE=text NAME=name SIZE=35 VALUE=\"$file\">";
|
||||
echo " <INPUT TYPE=submit VALUE=\"Rename\">";
|
||||
echo " <INPUT TYPE=submit VALUE=\"$strrename\">";
|
||||
echo "</FORM>";
|
||||
echo "</TD><TD>";
|
||||
echo "<FORM ACTION=index.php METHOD=get>";
|
||||
echo " <INPUT TYPE=hidden NAME=id VALUE=$id>";
|
||||
echo " <INPUT TYPE=hidden NAME=wdir VALUE=$wdir>";
|
||||
echo " <INPUT TYPE=hidden NAME=action VALUE=cancel>";
|
||||
echo " <INPUT TYPE=submit VALUE=\"Cancel\">";
|
||||
echo " <INPUT TYPE=submit VALUE=\"$strcancel\">";
|
||||
echo "</FORM>";
|
||||
echo "</TD></TR></TABLE>";
|
||||
}
|
||||
@ -258,22 +261,25 @@
|
||||
displaydir($wdir);
|
||||
|
||||
} else {
|
||||
$strcreate = get_string("create");
|
||||
$strcancel = get_string("cancel");
|
||||
$strcreatefolder = get_string("createfolder", "moodle", $wdir);
|
||||
html_header($course, $wdir, "form.name");
|
||||
echo "<P>Create folder in $wdir:";
|
||||
echo "<P>$strcreatefolder:";
|
||||
echo "<TABLE><TR><TD>";
|
||||
echo "<FORM ACTION=index.php METHOD=post NAME=form>";
|
||||
echo " <INPUT TYPE=hidden NAME=id VALUE=$id>";
|
||||
echo " <INPUT TYPE=hidden NAME=wdir VALUE=$wdir>";
|
||||
echo " <INPUT TYPE=hidden NAME=action VALUE=mkdir>";
|
||||
echo " <INPUT TYPE=text NAME=name SIZE=35>";
|
||||
echo " <INPUT TYPE=submit VALUE=\"Create\">";
|
||||
echo " <INPUT TYPE=submit VALUE=\"$strcreate\">";
|
||||
echo "</FORM>";
|
||||
echo "</TD><TD>";
|
||||
echo "<FORM ACTION=index.php METHOD=get>";
|
||||
echo " <INPUT TYPE=hidden NAME=id VALUE=$id>";
|
||||
echo " <INPUT TYPE=hidden NAME=wdir VALUE=$wdir>";
|
||||
echo " <INPUT TYPE=hidden NAME=action VALUE=cancel>";
|
||||
echo " <INPUT TYPE=submit VALUE=\"Cancel\">";
|
||||
echo " <INPUT TYPE=submit VALUE=\"$strcancel\">";
|
||||
echo "</FORM>";
|
||||
echo "</TD></TR></TABLE>";
|
||||
}
|
||||
@ -363,27 +369,28 @@
|
||||
|
||||
} else {
|
||||
html_header($course, $wdir, "form.name");
|
||||
|
||||
if (setfilelist($_POST)) {
|
||||
echo "<P ALIGN=CENTER>You are about create a zip file containing:</P>";
|
||||
echo "<P ALIGN=CENTER>".get_string("youareabouttocreatezip").":</P>";
|
||||
print_simple_box_start("center");
|
||||
printfilelist($USER->filelist);
|
||||
print_simple_box_end();
|
||||
echo "<BR>";
|
||||
echo "<P ALIGN=CENTER>What do you want to call the zip file?";
|
||||
echo "<P ALIGN=CENTER>".get_string("whattocallzip");
|
||||
echo "<TABLE><TR><TD>";
|
||||
echo "<FORM ACTION=index.php METHOD=post NAME=form>";
|
||||
echo " <INPUT TYPE=hidden NAME=id VALUE=$id>";
|
||||
echo " <INPUT TYPE=hidden NAME=wdir VALUE=\"$wdir\">";
|
||||
echo " <INPUT TYPE=hidden NAME=action VALUE=zip>";
|
||||
echo " <INPUT TYPE=text NAME=name SIZE=35 VALUE=\"new.zip\">";
|
||||
echo " <INPUT TYPE=submit VALUE=\"Create zip file\">";
|
||||
echo " <INPUT TYPE=submit VALUE=\"".get_string("createziparchive")."\">";
|
||||
echo "</FORM>";
|
||||
echo "</TD><TD>";
|
||||
echo "<FORM ACTION=index.php METHOD=get>";
|
||||
echo " <INPUT TYPE=hidden NAME=id VALUE=$id>";
|
||||
echo " <INPUT TYPE=hidden NAME=wdir VALUE=$wdir>";
|
||||
echo " <INPUT TYPE=hidden NAME=action VALUE=cancel>";
|
||||
echo " <INPUT TYPE=submit VALUE=\"Cancel\">";
|
||||
echo " <INPUT TYPE=submit VALUE=\"".get_string("cancel")."\">";
|
||||
echo "</FORM>";
|
||||
echo "</TD></TR></TABLE>";
|
||||
} else {
|
||||
|
@ -132,7 +132,9 @@ $string['courseformats'] = "Course formats";
|
||||
$string['courserestore'] = "Course Restore";
|
||||
$string['courses'] = "Courses";
|
||||
$string['courseupdates'] = "Course updates";
|
||||
$string['create'] = "Create";
|
||||
$string['createaccount'] = "Create my new account";
|
||||
$string['createfolder'] = "Create a folder in \$a";
|
||||
$string['createuserandpass'] = "Create a new username and password to log in with";
|
||||
$string['createziparchive'] = "Create zip archive";
|
||||
$string['creatingcategoriesandquestions'] = "Creating categories and questions";
|
||||
@ -588,6 +590,7 @@ $string['removeadmin'] = "Remove admin";
|
||||
$string['removecreator'] = "Remove course creator";
|
||||
$string['removeteacher'] = "Remove teacher";
|
||||
$string['rename'] = "Rename";
|
||||
$string['renamefileto'] = "Rename <b>\$a</b> to";
|
||||
$string['required'] = "Required";
|
||||
$string['resources'] = "Resources";
|
||||
$string['restore'] = "Restore";
|
||||
@ -721,6 +724,7 @@ One of the first things you should do is edit your profile page
|
||||
within the course so that we can learn more about you:
|
||||
|
||||
\$a->profileurl";
|
||||
$string['whattocallzip'] = "What do you want to call the zip file?";
|
||||
$string['withchosenfiles'] = "With chosen files";
|
||||
$string['withoutuserdata'] = "without user data";
|
||||
$string['withuserdata'] = "with user data";
|
||||
@ -741,6 +745,7 @@ $string['writingmoduleinfo'] = "Writing modules info";
|
||||
$string['writinguserinfo'] = "Writing users info";
|
||||
$string['wrongpassword'] = "Incorrect password for this username";
|
||||
$string['yes'] = "Yes";
|
||||
$string['youareabouttocreatezip'] = "You are going to restore from:";
|
||||
$string['youaregoingtorestorefrom'] = "You are going to restore from:";
|
||||
$string['yourlastlogin'] = "Your last login was";
|
||||
$string['yourself'] = "yourself";
|
||||
|
Loading…
x
Reference in New Issue
Block a user