[ticket/12602] Rectify language keys.

PHPBB3-12602
This commit is contained in:
Etienne Baroux 2014-06-06 14:55:37 +02:00
parent 49beb2075b
commit 347de7f060
3 changed files with 3 additions and 3 deletions

View file

@ -230,8 +230,8 @@ $lang = array_merge($lang, array(
'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_RUNNABLE_TASK' => 'No cron task needs to be run right now.',
'CRON_NO_SUCH_TASK' => 'Could not find cron task “%s”.', 'CRON_NO_SUCH_TASK' => 'Could not find cron task “%s”.',
'CRON_NO_TASKS' => 'No cron tasks could be found.',
'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.',

View file

@ -44,7 +44,7 @@ class cron_list extends \phpbb\console\command\command
if (empty($tasks)) if (empty($tasks))
{ {
$output->writeln($this->user->lang('CRON_NO_RUNNABLE_TASK')); $output->writeln($this->user->lang('CRON_NO_TASKS'));
return; return;
} }

View file

@ -39,7 +39,7 @@ class phpbb_console_command_cron_list_test extends phpbb_test_case
public function test_no_task() public function test_no_task()
{ {
$this->initiate_test(0, 0); $this->initiate_test(0, 0);
$this->assertContains('CRON_NO_RUNNABLE_TASK', $this->command_tester->getDisplay()); $this->assertContains('CRON_NO_TASKS', $this->command_tester->getDisplay());
} }
public function test_only_ready() public function test_only_ready()