aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/console/command/config/delete.php
diff options
context:
space:
mode:
authorDhruv <dhruv.goel92@gmail.com>2014-07-23 01:23:44 +0530
committerDhruv <dhruv.goel92@gmail.com>2014-07-23 01:23:44 +0530
commitc81438e1f85633dd770fcddd8e332b278338732f (patch)
tree87e588947878a0f3c036b91cbe7b15e594cfe913 /phpBB/phpbb/console/command/config/delete.php
parent4092b63be39453f9a7ce4f985217099ab10aae90 (diff)
downloadforums-c81438e1f85633dd770fcddd8e332b278338732f.tar
forums-c81438e1f85633dd770fcddd8e332b278338732f.tar.gz
forums-c81438e1f85633dd770fcddd8e332b278338732f.tar.bz2
forums-c81438e1f85633dd770fcddd8e332b278338732f.tar.xz
forums-c81438e1f85633dd770fcddd8e332b278338732f.zip
[ticket/12656] Use lang keys for all CLI strings
PHPBB3-12656
Diffstat (limited to 'phpBB/phpbb/console/command/config/delete.php')
-rw-r--r--phpBB/phpbb/console/command/config/delete.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/phpbb/console/command/config/delete.php b/phpBB/phpbb/console/command/config/delete.php
index 2fca8f6831..7923afd182 100644
--- a/phpBB/phpbb/console/command/config/delete.php
+++ b/phpBB/phpbb/console/command/config/delete.php
@@ -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>'');
}
}
}