Permalink
Browse files

MDL-9034: Brought lang file up to sync. The field_mapping string does…

…n't exist anywhere, it was a typo in enrol/database/config.html, and should have been remote_fields_mapping.
  • Loading branch information...
1 parent 699768e commit b5a5a482bd8e95c18c76b36086a6903d1d2f47cc nicolasconnault committed Mar 27, 2007
Showing with 15 additions and 2 deletions.
  1. +1 −1 enrol/database/config.html
  2. +14 −1 lang/en_utf8/enrol_database.php
@@ -79,7 +79,7 @@
</td>
</tr>
<th colspan="2">
- <?php print_string("field_mapping", "enrol_database") ?>
+ <?php print_string("remote_fields_mapping", "enrol_database") ?>
</td>
<tr valign="top">
<td align="right">enrol_localcoursefield:</td>
@@ -9,15 +9,28 @@
$string['course_id'] = 'The name of the field where the course ID is stored. The values of this field are used to match those in the \"enrol_db_l_coursefield\" field in Moodle\'s course table.';
$string['course_shortname'] = 'The name of the field where the course shortname is stored.';
$string['course_table'] = 'Then name of the table where we expect to find the course details in (short name, fullname, ID, etc.)';
+$string['dbtype'] = 'Database type';
+$string['dbhost'] = 'Server IP name or number';
+$string['dbuser'] = 'Server user';
+$string['dbpass'] = 'Server password';
+$string['dbname'] = 'Database name';
+$string['dbtable'] = 'Database table';
+$string['defaultcourseroleid'] = 'The role that will be assigned by default if no other role is specified.';
$string['description'] = 'You can use a external database (of nearly any kind) to control your enrolments. It is assumed your external database contains a field containing a course ID, and a field containing a user ID. These are compared against fields that you choose in the local course and user tables.';
$string['enrolname'] = 'External Database';
+$string['enrol_database_autocreation_settings'] = 'Auto-creation of new courses';
$string['general_options'] = 'General Options';
$string['host'] = 'Database server hostname.';
-$string['local_coursefield'] = 'The name of the field in the course table that we are using to match entries in the remote database (eg idnumber).';
+$string['localcoursefield'] = 'The name of the field in the course table that we are using to match entries in the remote database (eg idnumber).';
+$string['localrolefield'] = 'The name of the field in the roles table that we are using to match entries in the remote database (eg shortname).';
+$string['localuserfield'] = 'The name of the field in the user table that we are using to match entries in the remote database (eg idnumber).';
$string['local_fields_mapping'] = 'Moodle (local) database fields';
$string['name'] = 'The specific database to use.';
$string['pass'] = 'Password to access the server.';
$string['remote_fields_mapping'] = 'Enrolment (remote) database fields.';
+$string['remotecoursefield'] = 'The name of the field in the remote table that we are using to match entries in the course table.';
+$string['remoterolefield'] = 'The name of the field in the remote table that we are using to match entries in the roles table.';
+$string['remoteuserfield'] = 'The name of the field in the remote table that we are using to match entries in the user table.';
$string['server_settings'] = 'External Database Server Settings';
$string['student_coursefield'] = 'The name of the field in the student enrolment table that we expect to find the course ID in.';
$string['student_l_userfield'] = 'The name of the field in the local user table that we use to match the user to a remote record for students (eg idnumber).';

0 comments on commit b5a5a48

Please sign in to comment.