mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/12656] Use lang keys for all CLI strings
PHPBB3-12656
This commit is contained in:
@@ -29,7 +29,7 @@ class delete extends command
|
||||
->addArgument(
|
||||
'key',
|
||||
InputArgument::REQUIRED,
|
||||
"The configuration option's name"
|
||||
$this->user->lang('CLI_CONFIG_OPTION_NAME')
|
||||
)
|
||||
;
|
||||
}
|
||||
@@ -53,11 +53,11 @@ class delete extends command
|
||||
{
|
||||
$this->config->delete($key);
|
||||
|
||||
$output->writeln("<info>Successfully deleted config $key</info>");
|
||||
$output->writeln('<info>' . $this->user->lang('CLI_CONFIG_DELETE_SUCCESS', $key) . '</info>');
|
||||
}
|
||||
else
|
||||
{
|
||||
$output->writeln("<error>Config $key does not exist</error>");
|
||||
$output->writeln('<error>' . $this->user->lang('CLI_CONFIG_NOT_EXISTS', $key) . '</error>'');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user