aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/language/en/acp
diff options
context:
space:
mode:
authorCarlo <carlo@phpbbitalia.net>2014-07-17 01:16:04 +0200
committerAndreas Fischer <bantu@phpbb.com>2014-07-17 16:53:33 +0200
commitf784510494b3958f997d7777aac3bc6378809432 (patch)
tree7be1c2080a586759b9431137c8c46d2a3fb6213b /phpBB/language/en/acp
parent42477861a45935b10285a1434f4ffaf5b199c5c2 (diff)
downloadforums-f784510494b3958f997d7777aac3bc6378809432.tar
forums-f784510494b3958f997d7777aac3bc6378809432.tar.gz
forums-f784510494b3958f997d7777aac3bc6378809432.tar.bz2
forums-f784510494b3958f997d7777aac3bc6378809432.tar.xz
forums-f784510494b3958f997d7777aac3bc6378809432.zip
[ticket/12663] Extract CLI language string into their own file
PHPBB3-12663
Diffstat (limited to 'phpBB/language/en/acp')
-rw-r--r--phpBB/language/en/acp/cli.php44
-rw-r--r--phpBB/language/en/acp/common.php7
2 files changed, 44 insertions, 7 deletions
diff --git a/phpBB/language/en/acp/cli.php b/phpBB/language/en/acp/cli.php
new file mode 100644
index 0000000000..e9eb26b154
--- /dev/null
+++ b/phpBB/language/en/acp/cli.php
@@ -0,0 +1,44 @@
+<?php
+/**
+*
+* This file is part of the phpBB Forum Software package.
+*
+* @copyright (c) phpBB Limited <https://www.phpbb.com>
+* @license GNU General Public License, version 2 (GPL-2.0)
+*
+* For full copyright and license information, please see
+* the docs/CREDITS.txt file.
+*
+*/
+
+if (!defined('IN_PHPBB'))
+{
+ exit;
+}
+
+/**
+* DO NOT CHANGE
+*/
+if (empty($lang) || !is_array($lang))
+{
+ $lang = array();
+}
+
+// DEVELOPERS PLEASE NOTE
+//
+// Placeholders can now contain order information, e.g. instead of
+// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
+// translators to re-order the output of data while ensuring it remains correct
+//
+// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
+// equally where a string contains only two placeholders which are used to wrap text
+// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
+
+$lang = array_merge($lang, array(
+ 'CLI_DESCRIPTION_CRON_LIST' => 'Prints a list of ready and unready cron jobs.',
+ 'CLI_DESCRIPTION_CRON_RUN' => 'Runs all ready cron tasks.',
+ 'CLI_DESCRIPTION_CRON_RUN_ARGUMENT_1' => 'Name of the task to be run',
+
+ 'CLI_DESCRIPTION_OPTION_SHELL' => 'Launch the shell.',
+ 'CLI_DESCRIPTION_OPTION_SAFE_MODE' => 'Run in Safe Mode (without extensions).',
+));
diff --git a/phpBB/language/en/acp/common.php b/phpBB/language/en/acp/common.php
index 0c3df5862e..91fc1215fc 100644
--- a/phpBB/language/en/acp/common.php
+++ b/phpBB/language/en/acp/common.php
@@ -225,13 +225,6 @@ $lang = array_merge($lang, array(
'BACK' => 'Back',
- 'CLI_DESCRIPTION_CRON_LIST' => 'Prints a list of ready and unready cron jobs.',
- 'CLI_DESCRIPTION_CRON_RUN' => 'Runs all ready cron tasks.',
- 'CLI_DESCRIPTION_CRON_RUN_ARGUMENT_1' => 'Name of the task to be run',
-
- 'CLI_DESCRIPTION_OPTION_SHELL' => 'Launch the shell.',
- 'CLI_DESCRIPTION_OPTION_SAFE_MODE' => 'Run in Safe Mode (without extensions).',
-
'COLOUR_SWATCH' => 'Web-safe colour swatch',
'CONFIG_UPDATED' => 'Configuration updated successfully.',
'CRON_LOCK_ERROR' => 'Could not obtain cron lock.',