1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-09 10:16:36 +02:00

[ticket/12656] Use lang keys for CLI command descriptions

PHPBB3-12656
This commit is contained in:
Dhruv
2014-07-23 00:35:09 +05:30
parent e11875527d
commit 4092b63be3
14 changed files with 30 additions and 19 deletions

View File

@@ -22,7 +22,7 @@ class disable extends command
{
$this
->setName('extension:disable')
->setDescription('Disables the specified extension.')
->setDescription($this->user->lang('CLI_DESCRIPTION_DISABLE_EXTENSION'))
->addArgument(
'extension-name',
InputArgument::REQUIRED,

View File

@@ -22,7 +22,7 @@ class enable extends command
{
$this
->setName('extension:enable')
->setDescription('Enables the specified extension.')
->setDescription($this->user->lang('CLI_DESCRIPTION_ENABLE_EXTENSION'))
->addArgument(
'extension-name',
InputArgument::REQUIRED,

View File

@@ -22,7 +22,7 @@ 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,

View File

@@ -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'))
;
}