diff options
| author | Etienne Baroux <barouxe@phelma.grenoble-inp.fr> | 2014-06-06 14:55:37 +0200 |
|---|---|---|
| committer | Etienne Baroux <barouxe@phelma.grenoble-inp.fr> | 2014-06-06 14:55:37 +0200 |
| commit | 347de7f060095cc43c2a5b5575924997ac8d3dbf (patch) | |
| tree | 4526d7d594b48c8c534504f7b8ae421351cac8be | |
| parent | 49beb2075b8a6831c6c394fb7b2ba081b860664d (diff) | |
| download | forums-347de7f060095cc43c2a5b5575924997ac8d3dbf.tar forums-347de7f060095cc43c2a5b5575924997ac8d3dbf.tar.gz forums-347de7f060095cc43c2a5b5575924997ac8d3dbf.tar.bz2 forums-347de7f060095cc43c2a5b5575924997ac8d3dbf.tar.xz forums-347de7f060095cc43c2a5b5575924997ac8d3dbf.zip | |
[ticket/12602] Rectify language keys.
PHPBB3-12602
| -rw-r--r-- | phpBB/language/en/acp/common.php | 2 | ||||
| -rw-r--r-- | phpBB/phpbb/console/command/cron/cron_list.php | 2 | ||||
| -rw-r--r-- | tests/console/cron/cron_list_test.php | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/language/en/acp/common.php b/phpBB/language/en/acp/common.php index 7d82e21799..fa0c21d76e 100644 --- a/phpBB/language/en/acp/common.php +++ b/phpBB/language/en/acp/common.php @@ -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.', diff --git a/phpBB/phpbb/console/command/cron/cron_list.php b/phpBB/phpbb/console/command/cron/cron_list.php index cc51a57f4b..9db6a23947 100644 --- a/phpBB/phpbb/console/command/cron/cron_list.php +++ b/phpBB/phpbb/console/command/cron/cron_list.php @@ -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; } diff --git a/tests/console/cron/cron_list_test.php b/tests/console/cron/cron_list_test.php index ea54c17738..46705a585f 100644 --- a/tests/console/cron/cron_list_test.php +++ b/tests/console/cron/cron_list_test.php @@ -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() |
