mirror of
https://github.com/moodle/moodle.git
synced 2025-03-03 15:29:08 +01:00
From now on, all English strings use the new syntax. They are not eval()'ed any more and the only valid placeholders are {$a} and {$a->foobar}. No extra quotes escaping, dollar sign escaping and putting double percent signs. The modified files were exported from AMOS database repository in the new syntax and were re-ordered by stringid. Standard GNU/GPL and PHPdoc blocks are added. Where there was no copyright note so far, I added the default one with Martin Dougiamas as the copyright holder. Live long and prosper.
53 lines
2.3 KiB
PHP
53 lines
2.3 KiB
PHP
<?php
|
|
|
|
// This file is part of Moodle - http://moodle.org/
|
|
//
|
|
// Moodle is free software: you can redistribute it and/or modify
|
|
// it under the terms of the GNU General Public License as published by
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
// (at your option) any later version.
|
|
//
|
|
// Moodle is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU General Public License for more details.
|
|
//
|
|
// You should have received a copy of the GNU General Public License
|
|
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
/**
|
|
* Strings for component 'enrol_flatfile', language 'en', branch 'MOODLE_20_STABLE'
|
|
*
|
|
* @package enrol_flatfile
|
|
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
|
|
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
|
*/
|
|
|
|
$string['description'] = 'This method will repeatedly check for and process a specially-formatted text file in the location that you specify.
|
|
The file is a comma separated file assumed to have four or six fields per line:
|
|
<pre>
|
|
* operation, role, idnumber(user), idnumber(course) [, starttime, endtime]
|
|
where:
|
|
* operation = add | del
|
|
* role = student | teacher | teacheredit
|
|
* idnumber(user) = idnumber in the user table NB not id
|
|
* idnumber(course) = idnumber in the course table NB not id
|
|
* starttime = start time (in seconds since epoch) - optional
|
|
* endtime = end time (in seconds since epoch) - optional
|
|
</pre>
|
|
It could look something like this:
|
|
<pre>
|
|
add, student, 5, CF101
|
|
add, teacher, 6, CF101
|
|
add, teacheredit, 7, CF101
|
|
del, student, 8, CF101
|
|
del, student, 17, CF101
|
|
add, student, 21, CF101, 1091115000, 1091215000
|
|
</pre>';
|
|
$string['enrolname'] = 'Flat file';
|
|
$string['filelockedmail'] = 'The text file you are using for file-based enrolments ({$a}) can not be deleted by the cron process. This usually means the permissions are wrong on it. Please fix the permissions so that Moodle can delete the file, otherwise it might be processed repeatedly.';
|
|
$string['filelockedmailsubject'] = 'Important error: Enrolment file';
|
|
$string['location'] = 'File location';
|
|
$string['mailadmin'] = 'Notify admin by email';
|
|
$string['mailusers'] = 'Notify users by email';
|