mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
MDL-15249 localized cli upgrade
This commit is contained in:
parent
71d549933b
commit
926378ce4d
@ -37,8 +37,6 @@ require_once($CFG->libdir.'/clilib.php'); // cli only functions
|
||||
list($options, $unrecognized) = cli_get_params(array('help'=>false),
|
||||
array('h'=>'help'));
|
||||
|
||||
$interactive = empty($options['non-interactive']);
|
||||
|
||||
if ($unrecognized) {
|
||||
$unrecognized = implode("\n ", $unrecognized);
|
||||
cli_error(get_string('cliunknowoption', 'admin', $unrecognized));
|
||||
|
@ -64,6 +64,7 @@ $string['cliansweryes'] = 'y';
|
||||
$string['cliincorrectvalueretry'] = 'Incorrect value, please retry';
|
||||
$string['clitypevalue'] = 'type value';
|
||||
$string['clitypevaluedefault'] = 'type value, press Enter to use default value ($a)';
|
||||
$string['cliupgradefinished'] = 'Command line upgrade completed successfully.';
|
||||
$string['cliyesnoprompt'] = 'type y (means yes) or n (means no)';
|
||||
$string['cliunknowoption'] = "Unrecognized options:\n \$a\n. Please use --help option.";
|
||||
$string['commonfiltersettings'] = 'Common filter settings';
|
||||
|
Loading…
x
Reference in New Issue
Block a user