mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/12602] Rectify language keys.
PHPBB3-12602
This commit is contained in:
parent
49beb2075b
commit
347de7f060
3 changed files with 3 additions and 3 deletions
|
@ -230,8 +230,8 @@ $lang = array_merge($lang, array(
|
|||
'COLOUR_SWATCH' => 'Web-safe colour swatch',
|
||||
'CONFIG_UPDATED' => 'Configuration updated successfully.',
|
||||
'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_TASKS' => 'No cron tasks could be found.',
|
||||
|
||||
'DEACTIVATE' => 'Deactivate',
|
||||
'DIRECTORY_DOES_NOT_EXIST' => 'The entered path “%s” does not exist.',
|
||||
|
|
|
@ -44,7 +44,7 @@ class cron_list extends \phpbb\console\command\command
|
|||
|
||||
if (empty($tasks))
|
||||
{
|
||||
$output->writeln($this->user->lang('CRON_NO_RUNNABLE_TASK'));
|
||||
$output->writeln($this->user->lang('CRON_NO_TASKS'));
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@ class phpbb_console_command_cron_list_test extends phpbb_test_case
|
|||
public function test_no_task()
|
||||
{
|
||||
$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()
|
||||
|
|
Loading…
Add table
Reference in a new issue