MDL-51423 clilib: Fix the hard-coded English text with proper string

The string already exists and is part of the install language packs.
This was just forgotten TODO.
This commit is contained in:
David Mudrák
2015-09-17 21:12:46 +02:00
parent 028bbc5b17
commit c0e8a8a526
+1 -1
View File
@@ -67,7 +67,7 @@ function cli_input($prompt, $default='', array $options=null, $casesensitiveopti
$input = strtolower($input);
}
if (!in_array($input, $options)) {
cli_writeln('Incorrect value, please retry.'); // TODO: localize, mark as needed in install
cli_writeln(get_string('cliincorrectvalueretry', 'admin'));
return cli_input($prompt, $default, $options, $casesensitiveoptions);
}
}