From c0e8a8a52627d57eeae5dc4104c2325bddb20890 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Mudr=C3=A1k?= Date: Tue, 15 Sep 2015 23:11:01 +0200 Subject: [PATCH] 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. --- lib/clilib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/clilib.php b/lib/clilib.php index 4225c20eb6b..ba243f1029e 100644 --- a/lib/clilib.php +++ b/lib/clilib.php @@ -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); } }