$string['cannotfindsite'] = 'Cannot find site-level course';
$string['cannotfindteacher'] = 'Cannot find teacher.';
$string['cannotfinduser'] = 'Cannot find user named \"$a\"';
+$string['cannotimport'] = 'Import error';
$string['cannotimportgrade'] = 'Grade import error';
$string['cannotimportformat'] = 'Sorry, importing this format is not yet implemented!';
$string['cannotnetgeo'] = 'Can not connect to NetGeo server at http://netgeo.caida.org, please check proxy settings or better install MaxMind GeoLite City data file.';
// Do anything before that we need to
if (! $qformat->importpreprocess()) {
- print_error($txt->importerror, '', $thispageurl->out());
+ //TODO: need more detailed error info
+ print_error('cannotimport', '', $thispageurl->out());
}
// Process the uploaded file
if (! $qformat->importprocess()) {
- print_error($txt->importerror, '', $thispageurl->out());
+ //TODO: need more detailed error info
+ print_error('cannotimport', '', $thispageurl->out());
}
// In case anything needs to be done after