mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-16 21:54:00 +02:00
[ticket/12656] Use lang keys for all CLI strings
PHPBB3-12656
This commit is contained in:
@@ -30,13 +30,13 @@ class get extends command
|
||||
->addArgument(
|
||||
'key',
|
||||
InputArgument::REQUIRED,
|
||||
"The configuration option's name"
|
||||
$this->user->lang('CLI_CONFIG_OPTION_NAME')
|
||||
)
|
||||
->addOption(
|
||||
'no-newline',
|
||||
null,
|
||||
InputOption::VALUE_NONE,
|
||||
'Set this option if the value should be printed without a new line at the end.'
|
||||
$this->user->lang('CLI_CONFIG_PRINT_WITHOUT_NEWLINE')
|
||||
)
|
||||
;
|
||||
}
|
||||
@@ -66,7 +66,7 @@ class get extends command
|
||||
}
|
||||
else
|
||||
{
|
||||
$output->writeln("<error>Could not get config $key</error>");
|
||||
$output->writeln('<error>' . $this->user->lang('CLI_CONFIG_NOT_EXISTS', $key) . '</error>');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user