MDL-13114 tool_uploadcourse: Web UI uses the new classes
[moodle.git] / admin / tool / uploadcourse / lang / en / tool_uploadcourse.php
CommitLineData
3a0fda69
PH
1<?php
2// This file is part of Moodle - http://moodle.org/
3//
4// Moodle is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8//
9// Moodle is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13//
14// You should have received a copy of the GNU General Public License
15// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
16
17/**
18 * Strings for component 'tool_uploadcourse', language 'en', branch 'MOODLE_22_STABLE'
19 *
20 * @package tool_uploadcourse
21 * @subpackage uploadcourse
22 * @copyright 2011 Petr Skoda {@link http://skodak.org}
23 * @copyright 2011 Piers Harding
24 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
25 */
26
1e3e4efd
FM
27$string['allowdeletes'] = 'Allow deletes';
28$string['allowrenames'] = 'Allow renames';
29$string['allowresets'] = 'Allow resets';
1d1898ac
FM
30$string['cannotdeletecoursenotexist'] = 'Cannot delete a course that does not exist';
31$string['cannotgenerateshortnameupdatemode'] = 'Cannot generate a shortname when updates are allowed';
32$string['cannotreadbackupfile'] = 'Cannot read the backup file';
33$string['cannotrenamecoursenotexist'] = 'Cannot rename a course that does not exist';
34$string['cannotrenameidnumberconflict'] = 'Cannot rename the course, the ID number conflicts with an existing course';
35$string['cannotrenameshortnamealreadyinuse'] = 'Cannot rename the course, the shortname is already used';
36$string['canonlyrenameinupdatemode'] = 'Can only rename a course when update is allowed';
37$string['canonlyresetcourseinupdatemode'] = 'Can only reset a course in update mode';
38$string['couldnotresolvecatgorybyid'] = 'Could not resolve category by ID';
39$string['couldnotresolvecatgorybyidnumber'] = 'Could not resolve category by ID number';
40$string['couldnotresolvecatgorybypath'] = 'Could not resolve category by path';
41$string['coursecreated'] = 'Course created';
42$string['coursedeleted'] = 'Course deleted';
43$string['coursedeletionnotallowed'] = 'Course deletion is not allowed';
44$string['coursedoesnotexistandcreatenotallowed'] = 'The course does not exist and creating course is not allowed';
45$string['courseexistsanduploadnotallowed'] = 'The course exists and update are not allowed';
46$string['courseidnumberincremented'] = 'Course ID number incremented {$a->from} -> {$a->to}';
47$string['courserenamed'] = 'Course renamed';
48$string['courserenamingnotallowed'] = 'Course renaming is not allowed';
49$string['coursereset'] = 'Course reset';
50$string['courseresetnotallowed'] = 'Course reset now allowed';
51$string['courserestored'] = 'Course restored';
5dcd7e28
FM
52$string['coursestotal'] = 'Courses total: {$a}';
53$string['coursescreated'] = 'Courses created: {$a}';
54$string['coursesupdated'] = 'Courses updated: {$a}';
55$string['coursesdeleted'] = 'Courses deleted: {$a}';
56$string['courseserrors'] = 'Courses errors: {$a}';
1d1898ac 57$string['courseshortnameincremented'] = 'Course shortname incremented {$a->from} -> {$a->to}';
5b2f7718 58$string['courseshortnamegenerated'] = 'Course shortname generated: {$a}';
1d1898ac
FM
59$string['coursetorestorefromdoesnotexist'] = 'The course to restore from does not exist';
60$string['courseupdated'] = 'Course updated';
1e3e4efd 61$string['csvdelimiter'] = 'CSV delimiter';
b683185b 62$string['csvfileerror'] = 'There is something wrong with the format of the CSV file. Please check the number of headings and columns match, and that the delimiter and file encoding are correct: {$a}';
5b2f7718 63$string['csvline'] = 'Line';
1e3e4efd
FM
64$string['defaultvalues'] = 'Default values';
65$string['encoding'] = 'Encoding';
1d1898ac
FM
66$string['errorwhilerestoringcourse'] = 'Error while restoring the course';
67$string['errorwhiledeletingcourse'] = 'Error while deleting the course';
68$string['generatedshortnameinvalid'] = 'The generated shortname is invalid';
69$string['generatedshortnamealreadyinuse'] = 'The generated shortname is already in use';
5b2f7718 70$string['id'] = 'ID';
5dcd7e28 71$string['idnumberalreadyinuse'] = 'ID number already used by a course';
1d1898ac
FM
72$string['invalidbackupfile'] = 'Invalid backup file';
73$string['invalidcourseformat'] = 'Invalid course format';
b683185b
FM
74$string['invalidcsvfile'] = 'Invalid input CSV file';
75$string['invalidencoding'] = 'Invalid encoding';
76$string['invalidmode'] = 'Invalid mode selected';
77$string['invalideupdatemode'] = 'Invalid update mode selected';
1d1898ac 78$string['invalidroles'] = 'Invalid role names: {$a}';
1e3e4efd 79$string['invalidshortname'] = 'Invalid shortname';
1d1898ac
FM
80$string['missingmandatoryfields'] = 'Missing value for mandatory fields: {$a}';
81$string['missingshortnamenotemplate'] = 'Missing shortname and shortname template not set';
1e3e4efd
FM
82$string['mode'] = 'Upload mode';
83$string['preview'] = 'Preview';
84$string['reset'] = 'Reset course after upload';
85$string['result'] = 'Result';
86$string['restoreafterimport'] = 'Restore after import';
87$string['rowpreviewnum'] = 'Preview rows';
88$string['shortnametemplate'] = 'Shortname template';
89$string['shortnametemplate_help'] = 'The short name of the course is displayed in the navigation. You may use template syntax here (%f = fullname, %i = idnumber), or enter an initial value that is incremented.';
90$string['unknownimportmode'] = 'Unknown import mode';
91$string['updatemode'] = 'Update mode';
1d1898ac 92$string['updatemodedoessettonothing'] = 'Update mode does not allow anything to be updated';
1e3e4efd
FM
93$string['uploadcourses'] = 'Upload courses';
94$string['uploadcourses_help'] = 'Courses may be uploaded via text file. The format of the file should be as follows:
95
96* Each line of the file contains one record
97* Each record is a series of data separated by commas (or other delimiters)
98* The first record contains a list of fieldnames defining the format of the rest of the file
99* Required fieldnames are shortname, fullname, summary and category';
5b2f7718 100$string['uploadcoursesresult'] = 'Upload courses results';
1d1898ac 101
1e3e4efd
FM
102
103
104
105
3a0fda69 106$string['deleteerrors'] = 'Delete errors';
3a0fda69
PH
107$string['errors'] = 'Errors';
108$string['invalidinput'] = 'You must specify a valid combination of --action and --mode';
109$string['nochanges'] = 'No changes';
110$string['pluginname'] = 'Course upload';
111$string['renameerrors'] = 'Rename errors';
112$string['requiredtemplate'] = 'Required. You may use template syntax here (%l = lastname, %f = firstname, %u = coursename). See help for details and examples.';
3a0fda69
PH
113$string['uploadpicture_badcoursefield'] = 'The course attribute specified is not valid. Please, try again.';
114$string['uploadpicture_cannotmovezip'] = 'Cannot move zip file to temporary directory.';
115$string['uploadpicture_cannotprocessdir'] = 'Cannot process unzipped files.';
116$string['uploadpicture_cannotsave'] = 'Cannot save picture for course {$a}. Check original picture file.';
117$string['uploadpicture_cannotunzip'] = 'Cannot unzip pictures file.';
118$string['uploadpicture_invalidfilename'] = 'Picture file {$a} has invalid characters in its name. Skipping.';
119$string['uploadpicture_overwrite'] = 'Overwrite existing course pictures?';
120$string['uploadpicture_coursefield'] = 'Course attribute to use to match pictures:';
121$string['uploadpicture_coursenotfound'] = 'Course with a \'{$a->coursefield}\' value of \'{$a->coursevalue}\' does not exist. Skipping.';
122$string['uploadpicture_courseskipped'] = 'Skipping course {$a} (already has a picture).';
123$string['uploadpicture_courseupdated'] = 'Picture updated for course {$a}.';
124$string['uploadpictures'] = 'Upload course pictures';
125$string['uploadpictures_help'] = 'Course pictures can be uploaded as a zip file of image files. The image files should be named chosen-course-attribute.extension, for example course1234.jpg for a course with coursename course1234.';
3a0fda69 126
3a0fda69 127$string['uploadcoursespreview'] = 'Upload courses preview';
3a0fda69 128$string['courseuptodate'] = 'Course up-to-date';
5dcd7e28 129$string['courseupdated'] = 'Course updated';
3a0fda69
PH
130$string['coursedeleted'] = 'Course deleted';
131$string['courserenamed'] = 'Course renamed';
3a0fda69
PH
132$string['coursesrenamed'] = 'Courses renamed';
133$string['coursesskipped'] = 'Courses skipped';
3a0fda69
PH
134$string['coursenotadded'] = 'Course not added - already exists';
135$string['coursenotaddederror'] = 'Course not added - error';
136$string['coursenotdeletederror'] = 'Course not deleted - error';
137$string['coursenotdeletedmissing'] = 'Course not deleted - missing';
138$string['coursenotdeletedoff'] = 'Course not deleted - delete off';
139$string['coursenotdeletedadmin'] = 'Course not deleted - no admin access';
140$string['coursenotupdatederror'] = 'Course not updated - error';
141$string['coursenotupdatednotexists'] = 'Course not updated - does not exist';
142$string['coursenotupdatedadmin'] = 'Course not updated - no admin';
143$string['coursenotrenamedexists'] = 'Course not renamed - target exists';
144$string['coursenotrenamedmissing'] = 'Course not renamed - source missing';
145$string['coursenotrenamedoff'] = 'Course not renamed - renaming off';
146$string['coursenotrenamedadmin'] = 'Course not renamed - no admin';
147$string['invalidvalue'] = 'Invalid value for field {$a}';
148$string['shortnamecourse'] = 'Shortname';
1e3e4efd 149
3a0fda69
PH
150$string['idnumbernotunique'] = 'idnumber is not unique';
151$string['ccbulk'] = 'Select for bulk operations';
152$string['ccbulkall'] = 'All courses';
153$string['ccbulknew'] = 'New courses';
154$string['ccbulkupdated'] = 'Updated courses';
3a0fda69
PH
155$string['cclegacy1role'] = '(Original Student) typeN=1';
156$string['cclegacy2role'] = '(Original Teacher) typeN=2';
157$string['cclegacy3role'] = '(Original Non-editing teacher) typeN=3';
158$string['ccnoemailduplicates'] = 'Prevent email address duplicates';
1e3e4efd 159
3a0fda69
PH
160$string['ccoptype_addinc'] = 'Add all, append number to shortnames if needed';
161$string['ccoptype_addnew'] = 'Add new only, skip existing courses';
162$string['ccoptype_addupdate'] = 'Add new and update existing courses';
163$string['ccoptype_update'] = 'Update existing courses only';
164$string['ccpasswordcron'] = 'Generated in cron';
165$string['ccpasswordnew'] = 'New course password';
166$string['ccpasswordold'] = 'Existing course password';
3a0fda69
PH
167$string['ccstandardshortnames'] = 'Standardise shortnames';
168$string['ccupdateall'] = 'Override with file and defaults';
169$string['ccupdatefromfile'] = 'Override with file';
170$string['ccupdatemissing'] = 'Fill in missing from file and defaults';
171$string['ccupdatetype'] = 'Existing course details';
1e3e4efd 172
3a0fda69
PH
173$string['ccfullnametemplate'] = 'Fullname template';
174$string['ccidnumbertemplate'] = 'Idnumber template';
175$string['missingtemplate'] = 'Template not found';
176$string['missing'] = 'missing';
177$string['incorrectformat'] = 'Invalid format specified';
178$string['incorrecttemplatefile'] = 'Template file not found';
179$string['invalidenrolmethod'] = 'Invalid enrolment method';
3a0fda69 180$string['invalidaction'] = 'Invalid action selected';
b683185b
FM
181
182
3a0fda69
PH
183$string['invalidcategory'] = 'Invalid category';
184$string['coursetemplatename'] = 'Course template shortname';
185$string['coursetemplatename_help'] = 'Select an existing course shortname to use as a template for the creation of all courses.';
186$string['templatefile'] = 'Template backup file';
187$string['invalidbackupfile'] = 'Invalid backup file';
188