diff options
| author | Andreas Fischer <bantu@phpbb.com> | 2014-07-28 14:45:33 +0200 |
|---|---|---|
| committer | Andreas Fischer <bantu@phpbb.com> | 2014-07-28 14:45:33 +0200 |
| commit | 52e8a7231eb0feca005abf8a8b0df3c86a6a6895 (patch) | |
| tree | bb7105aee442e1c208b72d4341506350911bde7b /phpBB/phpbb/console/command/extension/purge.php | |
| parent | 3df41920f7fa0291aa2b093ce3c6d036e103f9db (diff) | |
| parent | 8a046743bc083f8ca26d70cc5a1b63bd47b92f57 (diff) | |
| download | forums-52e8a7231eb0feca005abf8a8b0df3c86a6a6895.tar forums-52e8a7231eb0feca005abf8a8b0df3c86a6a6895.tar.gz forums-52e8a7231eb0feca005abf8a8b0df3c86a6a6895.tar.bz2 forums-52e8a7231eb0feca005abf8a8b0df3c86a6a6895.tar.xz forums-52e8a7231eb0feca005abf8a8b0df3c86a6a6895.zip | |
Merge pull request #2772 from dhruvgoel92/ticket/12656
[ticket/12656] Translate existing CLI commands
* dhruvgoel92/ticket/12656:
[ticket/12656] Fix typo for "purged extension"
[ticket/12656] Fix syntax in language file
[ticket/12656] Fix typo
[ticket/12656] Use utf8 ’ instead of escaping '
[ticket/12656] Use lang keys for all CLI strings
[ticket/12656] Use lang keys for CLI command descriptions
Diffstat (limited to 'phpBB/phpbb/console/command/extension/purge.php')
| -rw-r--r-- | phpBB/phpbb/console/command/extension/purge.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/phpbb/console/command/extension/purge.php b/phpBB/phpbb/console/command/extension/purge.php index 841598b90a..517e9a74c9 100644 --- a/phpBB/phpbb/console/command/extension/purge.php +++ b/phpBB/phpbb/console/command/extension/purge.php @@ -22,11 +22,11 @@ class purge extends command { $this ->setName('extension:purge') - ->setDescription('Purges the specified extension.') + ->setDescription($this->user->lang('CLI_DESCRIPTION_PURGE_EXTENSION')) ->addArgument( 'extension-name', InputArgument::REQUIRED, - 'Name of the extension' + $this->user->lang('CLI_EXTENSION_NAME') ) ; } @@ -39,13 +39,13 @@ class purge extends command if ($this->manager->is_enabled($name)) { - $output->writeln("<error>Could not purge extension $name</error>"); + $output->writeln('<error>' . $this->user->lang('CLI_EXTENSION_PURGE_FAILURE', $name) . '</error>'); return 1; } else { $this->log->add('admin', ANONYMOUS, '', 'LOG_EXT_PURGE', time(), array($name)); - $output->writeln("<info>Successfully purge extension $name</info>"); + $output->writeln('<info>' . $this->user->lang('CLI_EXTENSION_PURGE_SUCCESS', $name) . '</info>'); return 0; } } |
