aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/console/command/config/increment.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2014-07-28 14:45:34 +0200
committerAndreas Fischer <bantu@phpbb.com>2014-07-28 14:45:34 +0200
commit26ddd5a7fc0e4c5b787602882f328686871b7fd1 (patch)
tree475dc21983ec7b61f9bbcc9f85d92b682fa809de /phpBB/phpbb/console/command/config/increment.php
parent577186db7a30316bd465eb500a0b230a210c3b71 (diff)
parent52e8a7231eb0feca005abf8a8b0df3c86a6a6895 (diff)
downloadforums-26ddd5a7fc0e4c5b787602882f328686871b7fd1.tar
forums-26ddd5a7fc0e4c5b787602882f328686871b7fd1.tar.gz
forums-26ddd5a7fc0e4c5b787602882f328686871b7fd1.tar.bz2
forums-26ddd5a7fc0e4c5b787602882f328686871b7fd1.tar.xz
forums-26ddd5a7fc0e4c5b787602882f328686871b7fd1.zip
Merge branch 'develop-ascraeus' into develop
* develop-ascraeus: [ticket/12656] Fix typo for "purged extension" [ticket/12656] Fix syntax in language file [ticket/12656] Fix typo [ticket/12656] Use utf8 ’ instead of escaping ' [ticket/12656] Use lang keys for all CLI strings [ticket/12656] Use lang keys for CLI command descriptions
Diffstat (limited to 'phpBB/phpbb/console/command/config/increment.php')
-rw-r--r--phpBB/phpbb/console/command/config/increment.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/phpBB/phpbb/console/command/config/increment.php b/phpBB/phpbb/console/command/config/increment.php
index 21f0660e61..0c25075ce8 100644
--- a/phpBB/phpbb/console/command/config/increment.php
+++ b/phpBB/phpbb/console/command/config/increment.php
@@ -26,22 +26,22 @@ 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,
- "The configuration option's name"
+ $this->user->lang('CLI_CONFIG_OPTION_NAME')
)
->addArgument(
'increment',
InputArgument::REQUIRED,
- 'Amount to increment by'
+ $this->user->lang('CLI_CONFIG_INCREMENT_BY')
)
->addOption(
'dynamic',
'd',
InputOption::VALUE_NONE,
- 'Set this option if the configuration option changes too frequently to be efficiently cached.'
+ $this->user-lang('CLI_CONFIG_CANNOT_CACHED')
)
;
}
@@ -65,6 +65,6 @@ class increment extends command
$this->config->increment($key, $increment, $use_cache);
- $output->writeln("<info>Successfully incremented config $key</info>");
+ $output->writeln('<info>' . $this->user->lang('CLI_CONFIG_INCREMENT_SUCCESS', $key) . '</info>');
}
}