mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/12597] Improve language for cron:run command.
PHPBB3-12597
This commit is contained in:
parent
a8e412e2b7
commit
4d80d90f73
2 changed files with 6 additions and 6 deletions
|
@ -221,14 +221,14 @@ $lang = array_merge($lang, array(
|
||||||
|
|
||||||
'BACK' => 'Back',
|
'BACK' => 'Back',
|
||||||
|
|
||||||
'CLI_DESCRIPTION_CRON_RUN' => 'Runs all available cron tasks.',
|
'CLI_DESCRIPTION_CRON_RUN' => 'Runs all ready cron tasks.',
|
||||||
'CLI_DESCRIPTION_CRON_RUN_ARGUMENT_1' => 'Name of the task to be run',
|
'CLI_DESCRIPTION_CRON_RUN_ARGUMENT_1' => 'Name of the task to be run',
|
||||||
|
|
||||||
'COLOUR_SWATCH' => 'Web-safe colour swatch',
|
'COLOUR_SWATCH' => 'Web-safe colour swatch',
|
||||||
'CONFIG_UPDATED' => 'Configuration updated successfully.',
|
'CONFIG_UPDATED' => 'Configuration updated successfully.',
|
||||||
'CRON_LOCK_ERROR' => 'Could not obtain cron lock.',
|
'CRON_LOCK_ERROR' => 'Could not obtain cron lock.',
|
||||||
'CRON_NO_SUCH_TASK' => 'No such cron task',
|
'CRON_NO_SUCH_TASK' => 'Could not find cron task “%s”.',
|
||||||
'CRON_NO_TASK' => 'No task to be run',
|
'CRON_NO_TASK' => 'No cron tasks need to be run right now.',
|
||||||
|
|
||||||
'DEACTIVATE' => 'Deactivate',
|
'DEACTIVATE' => 'Deactivate',
|
||||||
'DIRECTORY_DOES_NOT_EXIST' => 'The entered path “%s” does not exist.',
|
'DIRECTORY_DOES_NOT_EXIST' => 'The entered path “%s” does not exist.',
|
||||||
|
|
|
@ -169,7 +169,7 @@ class run extends \phpbb\console\command\command
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$output->writeln('<error>' . $this->user->lang('CRON_NO_SUCH_TASK') . '</error>');
|
$output->writeln('<error>' . $this->user->lang('CRON_NO_SUCH_TASK', $task_name) . '</error>');
|
||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue