mirror of
https://github.com/moodle/moodle.git
synced 2025-04-19 07:25:30 +02:00
MDL-14129, fix incorrect print_error() call
This commit is contained in:
parent
b05c2da9a7
commit
6e7ead3ea9
@ -21,7 +21,7 @@ function tex_filter_get_executable($debug=false) {
|
||||
if (is_executable($custom_commandpath)) {
|
||||
return $custom_commandpath;
|
||||
} else {
|
||||
print_error($error_message2.$error_message1);
|
||||
print_error('mimetexnotexecutable', 'error');
|
||||
}
|
||||
}
|
||||
|
||||
@ -31,7 +31,7 @@ function tex_filter_get_executable($debug=false) {
|
||||
case "FreeBSD": return "$CFG->dirroot/filter/tex/mimetex.freebsd";
|
||||
}
|
||||
|
||||
print_error($error_message1);
|
||||
print_error('mimetexisnotexist', 'error');
|
||||
}
|
||||
|
||||
|
||||
|
@ -7,10 +7,8 @@ $string['alternatelogin'] = 'If you enter a URL here, it will be used as the log
|
||||
$string['alternateloginurl'] = 'Alternate Login URL';
|
||||
$string['forgottenpassword'] = 'If you enter a URL here, it will be used as the lost password recovery page for this site. This is intended for sites where passwords are handled entirely outside of Moodle. Leave this blank to use the default password recovery.';
|
||||
$string['forgottenpasswordurl'] = 'Forgotten password URL';
|
||||
|
||||
$string['pluginnotenabled'] = 'Authentication plugin \'$a\' is not enabled.';
|
||||
$string['pluginnotinstalled'] = 'Authentication plugin \'$a\' is not installed.';
|
||||
|
||||
// syncronization
|
||||
$string['auth_sync_script'] ='Cron synchronization script';
|
||||
$string['auth_dbinsertuser'] ='Inserted user $a[0] id $a[1]';
|
||||
|
@ -102,6 +102,8 @@ $string['loginasnoenrol'] = 'You can not use enrol or unenrol when in course \"L
|
||||
$string['messagingdisable'] = 'Messaging is disabled on this site';
|
||||
$string['missingfield'] = 'Field \"$a\" is missing.';
|
||||
$string['missingrequiredfield'] = 'Some required field is missing';
|
||||
$string['mimetexisnotexist'] = 'Your system is not configured to run mimeTeX. You need to download the appropriate executable for you PHP_OS platform from <a href=\"http://moodle.org/download/mimetex/\">http://moodle.org/download/mimetex/</a>, or obtain the C source from <a href=\"http://www.forkosh.com/mimetex.zip\"> http://www.forkosh.com/mimetex.zip</a>, compile it and put the executable into your moodle/filter/tex/ directory.';
|
||||
$string['mimetexnotexecutable'] = 'Custom mimetex is not executable!';
|
||||
$string['moduledoesnotexist'] = 'The instance of this module doesn\'t exist';
|
||||
$string['modulemissingcode'] = 'Module $a is missing the code needed to perform this function';
|
||||
$string['modulerequirementsnotmet'] = 'Module \"$a->modulename\" ($a->moduleversion) could not be installed. It requires a newer version of Moodle (currently you are using $a->currentmoodle, you need $a->requiremoodle).';
|
||||
|
@ -166,7 +166,7 @@ $string['reviewhostservices'] = 'Review Host Services';
|
||||
$string['moodle_home_help'] = 'The path to the homepage of Moodle on the remote host, e.g. /moodle/.';
|
||||
$string['hostnamehelp'] = 'The fully-qualified domain name of the remote host, e.g. www.example.com';
|
||||
$string['idhelp'] = 'This value is automatically assigned and cannot be changed';
|
||||
$string['invalidpubkey'] = 'The key is not a valid SSL key.';
|
||||
$string['invalidpubkey'] = 'The key is not a valid SSL key. ($a)';
|
||||
$string['nopubkey'] = 'There was a problem retrieving the public key.<br />Maybe the host does not allow Moodle Networking or the key is invalid.';
|
||||
$string['last_connect_time_help'] = 'The time that you last connected to this host.';
|
||||
$string['last_transport_help'] = 'The transport that you used for the last connection to this host.';
|
||||
|
Loading…
x
Reference in New Issue
Block a user