Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 153 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
||
| 1 | <?php |
| 2 | /** |
| 3 | * |
| 4 | * This file is part of the phpBB Forum Software package. |
| 5 | * |
| 6 | * @copyright (c) phpBB Limited <https://www.phpbb.com> |
| 7 | * @license GNU General Public License, version 2 (GPL-2.0) |
| 8 | * |
| 9 | * For full copyright and license information, please see |
| 10 | * the docs/CREDITS.txt file. |
| 11 | * |
| 12 | */ |
| 13 | |
| 14 | if (!defined('IN_PHPBB')) |
| 15 | { |
| 16 | exit; |
| 17 | } |
| 18 | |
| 19 | /** |
| 20 | * DO NOT CHANGE |
| 21 | */ |
| 22 | if (empty($lang) || !is_array($lang)) |
| 23 | { |
| 24 | $lang = array(); |
| 25 | } |
| 26 | |
| 27 | // DEVELOPERS PLEASE NOTE |
| 28 | // |
| 29 | // Placeholders can now contain order information, e.g. instead of |
| 30 | // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows |
| 31 | // translators to re-order the output of data while ensuring it remains correct |
| 32 | // |
| 33 | // You do not need this where single placeholders are used, e.g. 'Message %d' is fine |
| 34 | // equally where a string contains only two placeholders which are used to wrap text |
| 35 | // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine |
| 36 | |
| 37 | $lang = array_merge($lang, array( |
| 38 | 'CLI_APCU_CACHE_NOTICE' => 'APCu cache has to be purged through the Administration Control Panel.', |
| 39 | |
| 40 | 'CLI_CONFIG_CANNOT_CACHED' => 'Set this option if the configuration option changes too frequently to be efficiently cached.', |
| 41 | 'CLI_CONFIG_CURRENT' => 'Current configuration value, use 0 and 1 to specify boolean values', |
| 42 | 'CLI_CONFIG_DELETE_SUCCESS' => 'Successfully deleted config %s.', |
| 43 | 'CLI_CONFIG_NEW' => 'New configuration value, use 0 and 1 to specify boolean values', |
| 44 | 'CLI_CONFIG_NOT_EXISTS' => 'Config %s does not exist', |
| 45 | 'CLI_CONFIG_OPTION_NAME' => 'The configuration option’s name', |
| 46 | 'CLI_CONFIG_PRINT_WITHOUT_NEWLINE' => 'Set this option if the value should be printed without a new line at the end.', |
| 47 | 'CLI_CONFIG_INCREMENT_BY' => 'Amount to increment by', |
| 48 | 'CLI_CONFIG_INCREMENT_SUCCESS' => 'Successfully incremented config %s', |
| 49 | 'CLI_CONFIG_SET_FAILURE' => 'Could not set config %s', |
| 50 | 'CLI_CONFIG_SET_SUCCESS' => 'Successfully set config %s', |
| 51 | |
| 52 | 'CLI_DESCRIPTION_CRON_LIST' => 'Prints a list of ready and unready cron jobs.', |
| 53 | 'CLI_DESCRIPTION_CRON_RUN' => 'Runs all ready cron tasks.', |
| 54 | 'CLI_DESCRIPTION_CRON_RUN_ARGUMENT_1' => 'Name of the task to be run', |
| 55 | 'CLI_DESCRIPTION_DB_LIST' => 'List all installed and available migrations.', |
| 56 | 'CLI_DESCRIPTION_DB_MIGRATE' => 'Updates the database by applying migrations.', |
| 57 | 'CLI_DESCRIPTION_DB_REVERT' => 'Revert a migration.', |
| 58 | 'CLI_DESCRIPTION_DELETE_CONFIG' => 'Deletes a configuration option', |
| 59 | 'CLI_DESCRIPTION_DISABLE_EXTENSION' => 'Disables the specified extension.', |
| 60 | 'CLI_DESCRIPTION_ENABLE_EXTENSION' => 'Enables the specified extension.', |
| 61 | 'CLI_DESCRIPTION_FIND_MIGRATIONS' => 'Finds migrations that are not depended upon.', |
| 62 | 'CLI_DESCRIPTION_FIX_LEFT_RIGHT_IDS' => 'Repairs the tree structure of the forums and modules.', |
| 63 | 'CLI_DESCRIPTION_GET_CONFIG' => 'Gets a configuration option’s value', |
| 64 | 'CLI_DESCRIPTION_INCREMENT_CONFIG' => 'Increments a configuration option’s integer value', |
| 65 | 'CLI_DESCRIPTION_LIST_EXTENSIONS' => 'Lists all extensions in the database and on the filesystem.', |
| 66 | |
| 67 | 'CLI_DESCRIPTION_OPTION_ENV' => 'The Environment name.', |
| 68 | 'CLI_DESCRIPTION_OPTION_SAFE_MODE' => 'Run in Safe Mode (without extensions).', |
| 69 | 'CLI_DESCRIPTION_OPTION_SHELL' => 'Launch the shell.', |
| 70 | |
| 71 | 'CLI_DESCRIPTION_PURGE_EXTENSION' => 'Purges the specified extension.', |
| 72 | |
| 73 | 'CLI_DESCRIPTION_REPARSER_LIST' => 'Lists the types of text that can be reparsed.', |
| 74 | 'CLI_DESCRIPTION_REPARSER_AVAILABLE' => 'Available reparsers:', |
| 75 | 'CLI_DESCRIPTION_REPARSER_REPARSE' => 'Reparses stored text with the current text_formatter services.', |
| 76 | 'CLI_DESCRIPTION_REPARSER_REPARSE_ARG_1' => 'Type of text to reparse. Leave blank to reparse everything.', |
| 77 | 'CLI_DESCRIPTION_REPARSER_REPARSE_OPT_DRY_RUN' => 'Do not save any changes; just print what would happen', |
| 78 | 'CLI_DESCRIPTION_REPARSER_REPARSE_OPT_FORCE_BBCODE' => 'Re-parse all BBCodes without exception. Note that any previously disabled BBCodes will be reprocessed, enabled, and fully rendered.', |
| 79 | 'CLI_DESCRIPTION_REPARSER_REPARSE_OPT_RANGE_MIN' => 'Lowest record ID to process', |
| 80 | 'CLI_DESCRIPTION_REPARSER_REPARSE_OPT_RANGE_MAX' => 'Highest record ID to process', |
| 81 | 'CLI_DESCRIPTION_REPARSER_REPARSE_OPT_RANGE_SIZE' => 'Approximate number of records to process at a time', |
| 82 | 'CLI_DESCRIPTION_REPARSER_REPARSE_OPT_RESUME' => 'Start reparsing where the last execution stopped', |
| 83 | |
| 84 | 'CLI_DESCRIPTION_SET_ATOMIC_CONFIG' => 'Sets a configuration option’s value only if the old matches the current value', |
| 85 | 'CLI_DESCRIPTION_SET_CONFIG' => 'Sets a configuration option’s value', |
| 86 | |
| 87 | 'CLI_DESCRIPTION_SEARCHINDEX_DELETE' => 'Delete search index.', |
| 88 | 'CLI_DESCRIPTION_SEARCHINDEX_CREATE' => 'Create search index.', |
| 89 | 'CLI_DESCRIPTION_SEARCHINDEX_LIST' => 'List all search backends.', |
| 90 | |
| 91 | 'CLI_DESCRIPTION_THUMBNAIL_DELETE' => 'Delete all existing thumbnails.', |
| 92 | 'CLI_DESCRIPTION_THUMBNAIL_GENERATE' => 'Generate all missing thumbnails.', |
| 93 | 'CLI_DESCRIPTION_THUMBNAIL_RECREATE' => 'Recreate all thumbnails.', |
| 94 | |
| 95 | 'CLI_DESCRIPTION_UPDATE_CHECK' => 'Check if the board is up to date.', |
| 96 | 'CLI_DESCRIPTION_UPDATE_CHECK_ARGUMENT_1' => 'Name of the extension to check (if all, checks all the extensions)', |
| 97 | 'CLI_DESCRIPTION_UPDATE_CHECK_OPTION_CACHE' => 'Run check command with cache.', |
| 98 | 'CLI_DESCRIPTION_UPDATE_CHECK_OPTION_STABILITY' => 'Run command choosing to check only stable or unstable versions.', |
| 99 | |
| 100 | 'CLI_DESCRIPTION_UPDATE_HASH_BCRYPT' => 'Updates outdated password hashes to be hashed with bcrypt.', |
| 101 | |
| 102 | 'CLI_ERROR_INVALID_STABILITY' => '"%s" needs to be set to "stable" or "unstable".', |
| 103 | |
| 104 | 'CLI_DESCRIPTION_USER_ACTIVATE' => 'Activate (or deactivate) a user account.', |
| 105 | 'CLI_DESCRIPTION_USER_ACTIVATE_USERNAME' => 'Username of the account to activate.', |
| 106 | 'CLI_DESCRIPTION_USER_ACTIVATE_DEACTIVATE' => 'Deactivate the user’s account', |
| 107 | 'CLI_DESCRIPTION_USER_ACTIVATE_ACTIVE' => 'The user is already active.', |
| 108 | 'CLI_DESCRIPTION_USER_ACTIVATE_INACTIVE' => 'The user is already inactive.', |
| 109 | 'CLI_DESCRIPTION_USER_ADD' => 'Add a new user.', |
| 110 | 'CLI_DESCRIPTION_USER_ADD_OPTION_USERNAME' => 'Username of the new user', |
| 111 | 'CLI_DESCRIPTION_USER_ADD_OPTION_PASSWORD' => 'Password of the new user', |
| 112 | 'CLI_DESCRIPTION_USER_ADD_OPTION_EMAIL' => 'E-mail address of the new user', |
| 113 | 'CLI_DESCRIPTION_USER_ADD_OPTION_NOTIFY' => 'Send account activation email to the new user (not sent by default)', |
| 114 | 'CLI_DESCRIPTION_USER_DELETE' => 'Delete a user account.', |
| 115 | 'CLI_DESCRIPTION_USER_DELETE_USERNAME' => 'Username of the user to delete', |
| 116 | 'CLI_DESCRIPTION_USER_DELETE_ID' => 'Delete user accounts by ID.', |
| 117 | 'CLI_DESCRIPTION_USER_DELETE_ID_OPTION_ID' => 'User IDs of the users to delete', |
| 118 | 'CLI_DESCRIPTION_USER_DELETE_OPTION_POSTS' => 'Delete all posts by the user. Without this option, the user’s posts will be retained.', |
| 119 | 'CLI_DESCRIPTION_USER_RECLEAN' => 'Re-clean usernames.', |
| 120 | |
| 121 | 'CLI_EXTENSION_DISABLE_FAILURE' => 'Could not disable extension %s', |
| 122 | 'CLI_EXTENSION_DISABLE_SUCCESS' => 'Successfully disabled extension %s', |
| 123 | 'CLI_EXTENSION_DISABLED' => 'Extension %s is not enabled', |
| 124 | 'CLI_EXTENSION_ENABLE_FAILURE' => 'Could not enable extension %s', |
| 125 | 'CLI_EXTENSION_ENABLE_SUCCESS' => 'Successfully enabled extension %s', |
| 126 | 'CLI_EXTENSION_ENABLED' => 'Extension %s is already enabled', |
| 127 | 'CLI_EXTENSION_NOT_EXIST' => 'Extension %s does not exist', |
| 128 | 'CLI_EXTENSION_NAME' => 'Name of the extension', |
| 129 | 'CLI_EXTENSION_PURGE_FAILURE' => 'Could not purge extension %s', |
| 130 | 'CLI_EXTENSION_PURGE_SUCCESS' => 'Successfully purged extension %s', |
| 131 | 'CLI_EXTENSION_UPDATE_FAILURE' => 'Could not update extension %s', |
| 132 | 'CLI_EXTENSION_UPDATE_SUCCESS' => 'Successfully updated extension %s', |
| 133 | 'CLI_EXTENSION_NOT_FOUND' => 'No extensions were found.', |
| 134 | 'CLI_EXTENSION_NOT_ENABLEABLE' => 'Extension %s is not enableable.', |
| 135 | 'CLI_EXTENSIONS_AVAILABLE' => 'Available', |
| 136 | 'CLI_EXTENSIONS_DISABLED' => 'Disabled', |
| 137 | 'CLI_EXTENSIONS_ENABLED' => 'Enabled', |
| 138 | |
| 139 | 'CLI_FIXUP_FIX_LEFT_RIGHT_IDS_SUCCESS' => 'Successfully repaired the tree structure of the forums and modules.', |
| 140 | 'CLI_FIXUP_UPDATE_HASH_BCRYPT_SUCCESS' => 'Successfully updated outdated password hashes to bcrypt.', |
| 141 | |
| 142 | 'CLI_MIGRATION_NAME' => 'Migration name, including the namespace (use forward slashes instead of backslashes to avoid problems).', |
| 143 | 'CLI_MIGRATIONS_AVAILABLE' => 'Available migrations', |
| 144 | 'CLI_MIGRATIONS_INSTALLED' => 'Installed migrations', |
| 145 | 'CLI_MIGRATIONS_ONLY_AVAILABLE' => 'Show only available migrations', |
| 146 | 'CLI_MIGRATIONS_EMPTY' => 'No migrations.', |
| 147 | |
| 148 | 'CLI_REPARSER_REPARSE_REPARSING' => 'Reparsing %1$s (range %2$d..%3$d)', |
| 149 | 'CLI_REPARSER_REPARSE_REPARSING_START' => 'Reparsing %s...', |
| 150 | 'CLI_REPARSER_REPARSE_SUCCESS' => 'Reparsing ended with success', |
| 151 | |
| 152 | 'CLI_ROWS_PER_SECOND' => '%s rows/s', |
| 153 | |
| 154 | 'CLI_SEARCHINDEX_SEARCH_BACKEND_NAME' => 'Backend class', |
| 155 | 'CLI_SEARCHINDEX_BACKEND_NOT_FOUND' => 'Search module not found', |
| 156 | 'CLI_SEARCHINDEX_CREATE_SUCCESS' => 'Search index created successfully', |
| 157 | 'CLI_SEARCHINDEX_CREATE_FAILURE' => 'Error creating search index', |
| 158 | 'CLI_SEARCHINDEX_DELETE_SUCCESS' => 'Search index deleted successfully', |
| 159 | 'CLI_SEARCHINDEX_DELETE_FAILURE' => 'Error deleting search index', |
| 160 | 'CLI_SEARCHINDEX_ACTION_IN_PROGRESS' => 'There is an action currently in progress. CLI doesn’t support incomplete index/delete actions, please solve it from the ACP.', |
| 161 | 'CLI_SEARCHINDEX_ACTIVE_NOT_INDEXED' => 'Active search backend isn’t indexed', |
| 162 | 'CLI_SEARCHINDEX_BACKEND_NOT_AVAILABLE' => 'Search backend isn’t available.', |
| 163 | |
| 164 | // In all the case %1$s is the logical name of the file and %2$s the real name on the filesystem |
| 165 | // eg: big_image.png (2_a51529ae7932008cf8454a95af84cacd) generated. |
| 166 | 'CLI_THUMBNAIL_DELETED' => '%1$s (%2$s) deleted.', |
| 167 | 'CLI_THUMBNAIL_DELETING' => 'Deleting thumbnails', |
| 168 | 'CLI_THUMBNAIL_SKIPPED' => '%1$s (%2$s) skipped.', |
| 169 | 'CLI_THUMBNAIL_GENERATED' => '%1$s (%2$s) generated.', |
| 170 | 'CLI_THUMBNAIL_GENERATING' => 'Generating thumbnails', |
| 171 | 'CLI_THUMBNAIL_GENERATING_DONE' => 'All thumbnails have been regenerated.', |
| 172 | 'CLI_THUMBNAIL_DELETING_DONE' => 'All thumbnails have been deleted.', |
| 173 | |
| 174 | 'CLI_THUMBNAIL_NOTHING_TO_GENERATE' => 'No thumbnails to generate.', |
| 175 | 'CLI_THUMBNAIL_NOTHING_TO_DELETE' => 'No thumbnails to delete.', |
| 176 | |
| 177 | 'CLI_USER_ADD_SUCCESS' => 'Successfully added user %s.', |
| 178 | 'CLI_USER_DELETE_CONFIRM' => 'Are you sure you want to delete ‘%s’? [y/N]', |
| 179 | 'CLI_USER_DELETE_ID_CONFIRM' => 'Are you sure you want to delete the user IDs ‘%s’? [y/N]', |
| 180 | 'CLI_USER_DELETE_ID_SUCCESS' => 'Successfully deleted user IDs.', |
| 181 | 'CLI_USER_DELETE_ID_START' => 'Deleting users by ID', |
| 182 | 'CLI_USER_DELETE_NONE' => 'No users were deleted by user ID.', |
| 183 | 'CLI_USER_RECLEAN_START' => 'Re-cleaning usernames', |
| 184 | 'CLI_USER_RECLEAN_DONE' => [ |
| 185 | 0 => 'Re-cleaning complete. No usernames needed to be cleaned.', |
| 186 | 1 => 'Re-cleaning complete. %d username was cleaned.', |
| 187 | 2 => 'Re-cleaning complete. %d usernames were cleaned.', |
| 188 | ], |
| 189 | |
| 190 | 'CLI_DESCRIPTION_EXTENSION_MANAGE' => 'Manages an extension', |
| 191 | 'CLI_DESCRIPTION_EXTENSION_MANAGE_ARGUMENT' => 'Extension to manage', |
| 192 | 'CLI_DESCRIPTION_EXTENSION_INSTALL' => 'Install the specified extension(s).', |
| 193 | 'CLI_DESCRIPTION_EXTENSION_INSTALL_OPTION_ENABLE' => 'Enable extension(s) after installation', |
| 194 | 'CLI_DESCRIPTION_EXTENSION_INSTALL_ARGUMENT' => 'Extension(s) to install, e.g.: vendor/package', |
| 195 | 'CLI_DESCRIPTION_EXTENSION_LIST_AVAILABLE' => 'List extensions available for installation.', |
| 196 | 'CLI_DESCRIPTION_EXTENSION_REMOVE' => 'Remove the specified extension(s).', |
| 197 | 'CLI_DESCRIPTION_EXTENSION_REMOVE_OPTION_PURGE' => 'Purge extension(s) when removing them', |
| 198 | 'CLI_DESCRIPTION_EXTENSION_REMOVE_ARGUMENT' => 'Extension(s) to remove, e.g.: vendor/package', |
| 199 | 'CLI_DESCRIPTION_EXTENSION_UPDATE' => 'Update the specified extension(s).', |
| 200 | 'CLI_DESCRIPTION_EXTENSION_UPDATE_ARGUMENT' => 'Extension(s) to update, e.g.: vendor/package', |
| 201 | )); |
| 202 | |
| 203 | // Additional help for commands. |
| 204 | $lang = array_merge($lang, array( |
| 205 | 'CLI_HELP_CRON_RUN' => $lang['CLI_DESCRIPTION_CRON_RUN'] . ' Optionally you can specify a cron task name to run only the specified cron task.', |
| 206 | 'CLI_HELP_USER_ACTIVATE' => 'Activate a user account, or deactivate an account using the <info>--deactivate</info> option. |
| 207 | To optionally send an activation email to the user, use the <info>--send-email</info> option.', |
| 208 | 'CLI_HELP_USER_ADD' => 'The <info>%command.name%</info> command adds a new user: |
| 209 | If this command is run without options, you will be prompted to enter them. |
| 210 | To optionally send an email to the new user, use the <info>--send-email</info> option.', |
| 211 | 'CLI_HELP_USER_RECLEAN' => 'Re-clean usernames will check all stored usernames and ensure clean versions are also stored. Cleaned usernames are a case insensitive form, NFC normalized and transformed to ASCII.', |
| 212 | )); |