Commit bf2f874c authored by Nigel McNie's avatar Nigel McNie Committed by Nigel McNie
Browse files

Changed language string back to 'uploadcsv', which makes a bit more sense

parent ebb72d47
......@@ -27,7 +27,7 @@
define('INTERNAL', 1);
define('ADMIN', 1);
define('MENUITEM', 'usermanagement');
define('SUBMENUITEM', 'addusersbycsv');
define('SUBMENUITEM', 'uploadcsv');
require(dirname(dirname(dirname(__FILE__))) . '/init.php');
require_once('form.php');
......
......@@ -123,7 +123,6 @@ $string['termsandconditions'] = 'Terms and conditions';
$string['uploadcopyright'] = 'Upload copyright statement';
// Upload CSV
$string['addusersbycsv'] = 'Add Users by CSV';
$string['csvfile'] = 'CSV File';
$string['csvfiledescription'] = 'The file containing users to add';
$string['uploadcsverrorinvalidemail'] = 'Error on line %s of your file: The e-mail address for this user is not in correct form';
......@@ -132,6 +131,7 @@ $string['uploadcsverrorinvalidusername'] = 'Error on line %s of your file: The u
$string['uploadcsverrorincorrectfieldcount'] = 'Line %s of the file does not have the correct number of fields';
$string['uploadcsverrormandatoryfieldnotspecified'] = 'Line %s of the file does not have the required "%s" field';
$string['uploadcsverroruseralreadyexists'] = 'Line %s of the file specifies the username "%s" that already exists';
$string['uploadcsv'] = 'Add Users by CSV';
$string['uploadcsvfile'] = 'Upload CSV File';
$string['uploadcsvfiledescription'] = 'You may use this facility to upload new users via a <acronym title="Comma Separated Values">CSV</acronym> file. Each record in the file must have a username, e-mail address and password.';
......
......@@ -826,7 +826,7 @@ function admin_nav() {
'link' => $wwwroot . 'admin/usermanagement/uploadcsv.php',
'submenu' => array(
array(
'name' => 'addusersbycsv',
'name' => 'uploadcsv',
'section' => 'admin',
'link' => $wwwroot . 'admin/usermanagement/uploadcsv.php'
),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment