aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/console/command/extension/show.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2014-07-28 14:45:33 +0200
committerAndreas Fischer <bantu@phpbb.com>2014-07-28 14:45:33 +0200
commit52e8a7231eb0feca005abf8a8b0df3c86a6a6895 (patch)
treebb7105aee442e1c208b72d4341506350911bde7b /phpBB/phpbb/console/command/extension/show.php
parent3df41920f7fa0291aa2b093ce3c6d036e103f9db (diff)
parent8a046743bc083f8ca26d70cc5a1b63bd47b92f57 (diff)
downloadforums-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/show.php')
-rw-r--r--phpBB/phpbb/console/command/extension/show.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/console/command/extension/show.php b/phpBB/phpbb/console/command/extension/show.php
index 2db1c59e24..6ce9607098 100644
--- a/phpBB/phpbb/console/command/extension/show.php
+++ b/phpBB/phpbb/console/command/extension/show.php
@@ -21,7 +21,7 @@ class show extends command
{
$this
->setName('extension:show')
- ->setDescription('Lists all extensions in the database and on the filesystem.')
+ ->setDescription($this->user->lang('CLI_DESCRIPTION_LIST_EXTENSIONS'))
;
}
@@ -32,7 +32,7 @@ class show extends command
if (empty($all))
{
- $output->writeln('<comment>No extensions were found.</comment>');
+ $output->writeln('<comment>' . $this->user->lang('CLI_EXTENSION_NOT_FOUND') . '</comment>');
return 3;
}