1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +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

@@ -25,7 +25,7 @@ class delete extends command
{
$this
->setName('config:delete')
->setDescription('Deletes a configuration option')
->setDescription($this->user->lang('CLI_DESCRIPTION_DELETE_CONFIG'))
->addArgument(
'key',
InputArgument::REQUIRED,

View File

@@ -26,7 +26,7 @@ class get extends command
{
$this
->setName('config:get')
->setDescription("Gets a configuration option's value")
->setDescription($this->user->lang('CLI_DESCRIPTION_GET_CONFIG'))
->addArgument(
'key',
InputArgument::REQUIRED,

View File

@@ -26,7 +26,7 @@ class increment extends command
{
$this
->setName('config:increment')
->setDescription("Increments a configuration option's value")
->setDescription($this->user->lang('CLI_DESCRIPTION_INCREMENT_CONFIG'))
->addArgument(
'key',
InputArgument::REQUIRED,

View File

@@ -26,7 +26,7 @@ class set extends command
{
$this
->setName('config:set')
->setDescription("Sets a configuration option's value")
->setDescription($this->user->lang('CLI_DESCRIPTION_SET_CONFIG'))
->addArgument(
'key',
InputArgument::REQUIRED,

View File

@@ -26,7 +26,7 @@ class set_atomic extends command
{
$this
->setName('config:set-atomic')
->setDescription("Sets a configuration option's value only if the old matches the current value.")
->setDescription($this->user->lang('CLI_DESCRIPTION_SET_ATOMIC_CONFIG'))
->addArgument(
'key',
InputArgument::REQUIRED,