diff options
| author | Dhruv <dhruv.goel92@gmail.com> | 2014-07-23 01:23:44 +0530 |
|---|---|---|
| committer | Dhruv <dhruv.goel92@gmail.com> | 2014-07-23 01:23:44 +0530 |
| commit | c81438e1f85633dd770fcddd8e332b278338732f (patch) | |
| tree | 87e588947878a0f3c036b91cbe7b15e594cfe913 /phpBB/phpbb/console/command/extension/disable.php | |
| parent | 4092b63be39453f9a7ce4f985217099ab10aae90 (diff) | |
| download | forums-c81438e1f85633dd770fcddd8e332b278338732f.tar forums-c81438e1f85633dd770fcddd8e332b278338732f.tar.gz forums-c81438e1f85633dd770fcddd8e332b278338732f.tar.bz2 forums-c81438e1f85633dd770fcddd8e332b278338732f.tar.xz forums-c81438e1f85633dd770fcddd8e332b278338732f.zip | |
[ticket/12656] Use lang keys for all CLI strings
PHPBB3-12656
Diffstat (limited to 'phpBB/phpbb/console/command/extension/disable.php')
| -rw-r--r-- | phpBB/phpbb/console/command/extension/disable.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/phpbb/console/command/extension/disable.php b/phpBB/phpbb/console/command/extension/disable.php index ce32105ed5..1eee16cbd9 100644 --- a/phpBB/phpbb/console/command/extension/disable.php +++ b/phpBB/phpbb/console/command/extension/disable.php @@ -26,7 +26,7 @@ class disable extends command ->addArgument( 'extension-name', InputArgument::REQUIRED, - 'Name of the extension' + $this->user->lang('CLI_EXTENSION_NAME') ) ; } @@ -39,13 +39,13 @@ class disable extends command if ($this->manager->is_enabled($name)) { - $output->writeln("<error>Could not disable extension $name</error>"); + $output->writeln('<error>' . $this->user->lang('CLI_EXTENSION_DISABLE_FAILURE', $name) . '</error>'); return 1; } else { $this->log->add('admin', ANONYMOUS, '', 'LOG_EXT_DISABLE', time(), array($name)); - $output->writeln("<info>Successfully disabled extension $name</info>"); + $output->writeln('<info>' . $this->user->lang('CLI_EXTENSION_DISABLE_SUCCESS', $name) . '</info>'); return 0; } } |
