1
0
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:
Dhruv
2014-07-23 01:23:44 +05:30
parent 4092b63be3
commit c81438e1f8
11 changed files with 55 additions and 32 deletions

View File

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