[ticket/12597] Fix language key name

PHPBB3-12597
This commit is contained in:
LEZY Thomas 2014-05-28 22:09:38 +02:00
parent 54d60e3f78
commit 532e4470ea
2 changed files with 5 additions and 4 deletions

View file

@ -221,8 +221,9 @@ $lang = array_merge($lang, array(
'BACK' => 'Back',
'CLI_DESCR_CRON_RUN' => 'Runs all available cron tasks.',
'CLI_DESCR_CRON_ARG_RUN_1' => 'What task do you what to run?',
'CLI_DESCRIPTION_CRON_RUN' => 'Runs all available cron tasks.',
'CLI_DESCRIPTION_CRON_RUN_ARGUMENT_1' => 'What task do you what to run?',
'COLOUR_SWATCH' => 'Web-safe colour swatch',
'CONFIG_UPDATED' => 'Configuration updated successfully.',

View file

@ -54,8 +54,8 @@ class run extends \phpbb\console\command\command
{
$this
->setName('cron:run')
->setDescription($this->user->lang('CLI_DESCR_CRON_RUN'))
->addArgument('name', InputArgument::OPTIONAL, $this->user->lang('CLI_DESCR_CRON_ARG_RUN_1'))
->setDescription($this->user->lang('CLI_DESCRIPTION_CRON_RUN'))
->addArgument('name', InputArgument::OPTIONAL, $this->user->lang('CLI_DESCRIPTION_CRON_RUN_ARGUMENT_1'))
;
}