Verzeichnisstruktur phpBB-3.2.0


Veröffentlicht
06.01.2017

So funktioniert es


Auf das letzte Element klicken. Dies geht jeweils ein Schritt zurück

Auf das Icon klicken, dies öffnet das Verzeichnis. Nochmal klicken schließt das Verzeichnis.
Auf den Verzeichnisnamen klicken, dies zeigt nur das Verzeichnis mit Inhalt an

(Beispiel Datei-Icons)

Auf das Icon klicken um den Quellcode anzuzeigen

cli.php

Zuletzt modifiziert: 09.10.2024, 12:52 - Dateigröße: 9.50 KiB


001  <?php
002  /**
003  *
004  * This file is part of the phpBB Forum Software package.
005  *
006  * @copyright (c) phpBB Limited <https://www.phpbb.com>
007  * @license GNU General Public License, version 2 (GPL-2.0)
008  *
009  * For full copyright and license information, please see
010  * the docs/CREDITS.txt file.
011  *
012  */
013   
014  if (!defined('IN_PHPBB'))
015  {
016      exit;
017  }
018   
019  /**
020  * DO NOT CHANGE
021  */
022  if (empty($lang) || !is_array($lang))
023  {
024      $lang = array();
025  }
026   
027  // DEVELOPERS PLEASE NOTE
028  //
029  // Placeholders can now contain order information, e.g. instead of
030  // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
031  // translators to re-order the output of data while ensuring it remains correct
032  //
033  // You do not need this where single placeholders are used, e.g. 'Message %d' is fine
034  // equally where a string contains only two placeholders which are used to wrap text
035  // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
036   
037  $lang = array_merge($lang, array(
038      'CLI_CONFIG_CANNOT_CACHED'            => 'Set this option if the configuration option changes too frequently to be efficiently cached.',
039      'CLI_CONFIG_CURRENT'                => 'Current configuration value, use 0 and 1 to specify boolean values',
040      'CLI_CONFIG_DELETE_SUCCESS'            => 'Successfully deleted config %s.',
041      'CLI_CONFIG_NEW'                    => 'New configuration value, use 0 and 1 to specify boolean values',
042      'CLI_CONFIG_NOT_EXISTS'                => 'Config %s does not exist',
043      'CLI_CONFIG_OPTION_NAME'            => 'The configuration option’s name',
044      'CLI_CONFIG_PRINT_WITHOUT_NEWLINE'    => 'Set this option if the value should be printed without a new line at the end.',
045      'CLI_CONFIG_INCREMENT_BY'            => 'Amount to increment by',
046      'CLI_CONFIG_INCREMENT_SUCCESS'        => 'Successfully incremented config %s',
047      'CLI_CONFIG_SET_FAILURE'            => 'Could not set config %s',
048      'CLI_CONFIG_SET_SUCCESS'            => 'Successfully set config %s',
049   
050      'CLI_DESCRIPTION_CRON_LIST'                    => 'Prints a list of ready and unready cron jobs.',
051      'CLI_DESCRIPTION_CRON_RUN'                    => 'Runs all ready cron tasks.',
052      'CLI_DESCRIPTION_CRON_RUN_ARGUMENT_1'        => 'Name of the task to be run',
053      'CLI_DESCRIPTION_DB_LIST'                    => 'List all installed and available migrations.',
054      'CLI_DESCRIPTION_DB_MIGRATE'                => 'Updates the database by applying migrations.',
055      'CLI_DESCRIPTION_DB_REVERT'                    => 'Revert a migration.',
056      'CLI_DESCRIPTION_DELETE_CONFIG'                => 'Deletes a configuration option',
057      'CLI_DESCRIPTION_DISABLE_EXTENSION'            => 'Disables the specified extension.',
058      'CLI_DESCRIPTION_ENABLE_EXTENSION'            => 'Enables the specified extension.',
059      'CLI_DESCRIPTION_FIND_MIGRATIONS'            => 'Finds migrations that are not depended upon.',
060      'CLI_DESCRIPTION_GET_CONFIG'                => 'Gets a configuration option’s value',
061      'CLI_DESCRIPTION_INCREMENT_CONFIG'            => 'Increments a configuration option’s integer value',
062      'CLI_DESCRIPTION_LIST_EXTENSIONS'            => 'Lists all extensions in the database and on the filesystem.',
063   
064      'CLI_DESCRIPTION_OPTION_ENV'                => 'The Environment name.',
065      'CLI_DESCRIPTION_OPTION_SAFE_MODE'            => 'Run in Safe Mode (without extensions).',
066      'CLI_DESCRIPTION_OPTION_SHELL'                => 'Launch the shell.',
067   
068      'CLI_DESCRIPTION_PURGE_EXTENSION'            => 'Purges the specified extension.',
069   
070      'CLI_DESCRIPTION_REPARSER_LIST'                        => 'Lists the types of text that can be reparsed.',
071      'CLI_DESCRIPTION_REPARSER_AVAILABLE'                => 'Available reparsers:',
072      'CLI_DESCRIPTION_REPARSER_REPARSE'                    => 'Reparses stored text with the current text_formatter services.',
073      'CLI_DESCRIPTION_REPARSER_REPARSE_ARG_1'            => 'Type of text to reparse. Leave blank to reparse everything.',
074      'CLI_DESCRIPTION_REPARSER_REPARSE_OPT_DRY_RUN'        => 'Do not save any changes; just print what would happen',
075      'CLI_DESCRIPTION_REPARSER_REPARSE_OPT_RANGE_MIN'    => 'Lowest record ID to process',
076      'CLI_DESCRIPTION_REPARSER_REPARSE_OPT_RANGE_MAX'    => 'Highest record ID to process',
077      'CLI_DESCRIPTION_REPARSER_REPARSE_OPT_RANGE_SIZE'    => 'Approximate number of records to process at a time',
078      'CLI_DESCRIPTION_REPARSER_REPARSE_OPT_RESUME'        => 'Start reparsing where the last execution stopped',
079   
080      'CLI_DESCRIPTION_RECALCULATE_EMAIL_HASH'            => 'Recalculates the user_email_hash column of the users table.',
081   
082      'CLI_DESCRIPTION_SET_ATOMIC_CONFIG'                    => 'Sets a configuration option’s value only if the old matches the current value',
083      'CLI_DESCRIPTION_SET_CONFIG'                        => 'Sets a configuration option’s value',
084   
085      'CLI_DESCRIPTION_THUMBNAIL_DELETE'                    => 'Delete all existing thumbnails.',
086      'CLI_DESCRIPTION_THUMBNAIL_GENERATE'                => 'Generate all missing thumbnails.',
087      'CLI_DESCRIPTION_THUMBNAIL_RECREATE'                => 'Recreate all thumbnails.',
088   
089      'CLI_DESCRIPTION_UPDATE_CHECK'                    => 'Check if the board is up to date.',
090      'CLI_DESCRIPTION_UPDATE_CHECK_ARGUMENT_1'        => 'Name of the extension to check (if all, checks all the extensions)',
091      'CLI_DESCRIPTION_UPDATE_CHECK_OPTION_CACHE'        => 'Run check command with cache.',
092      'CLI_DESCRIPTION_UPDATE_CHECK_OPTION_STABILITY'    => 'Run command choosing to check only stable or unstable versions.',
093   
094      'CLI_ERROR_INVALID_STABILITY' => '"%s" is not a valid stability.',
095   
096      'CLI_DESCRIPTION_USER_ACTIVATE'                => 'Activate (or deactivate) a user account.',
097      'CLI_DESCRIPTION_USER_ACTIVATE_USERNAME'    => 'Username of the account to activate.',
098      'CLI_DESCRIPTION_USER_ACTIVATE_DEACTIVATE'    => 'Deactivate the user’s account',
099      'CLI_DESCRIPTION_USER_ACTIVATE_ACTIVE'        => 'The user is already active.',
100      'CLI_DESCRIPTION_USER_ACTIVATE_INACTIVE'    => 'The user is already inactive.',
101      'CLI_DESCRIPTION_USER_ADD'                    => 'Add a new user.',
102      'CLI_DESCRIPTION_USER_ADD_OPTION_USERNAME'    => 'Username of the new user',
103      'CLI_DESCRIPTION_USER_ADD_OPTION_PASSWORD'    => 'Password of the new user',
104      'CLI_DESCRIPTION_USER_ADD_OPTION_EMAIL'        => 'E-mail address of the new user',
105      'CLI_DESCRIPTION_USER_ADD_OPTION_NOTIFY'    => 'Send account activation email to the new user (not sent by default)',
106      'CLI_DESCRIPTION_USER_DELETE'                => 'Delete a user account.',
107      'CLI_DESCRIPTION_USER_DELETE_USERNAME'        => 'Username of the user to delete',
108      'CLI_DESCRIPTION_USER_DELETE_OPTION_POSTS'    => 'Delete all posts by the user. Without this option, the user’s posts will be retained.',
109      'CLI_DESCRIPTION_USER_RECLEAN'                => 'Re-clean usernames.',
110   
111      'CLI_EXTENSION_DISABLE_FAILURE'        => 'Could not disable extension %s',
112      'CLI_EXTENSION_DISABLE_SUCCESS'        => 'Successfully disabled extension %s',
113      'CLI_EXTENSION_ENABLE_FAILURE'        => 'Could not enable extension %s',
114      'CLI_EXTENSION_ENABLE_SUCCESS'        => 'Successfully enabled extension %s',
115      'CLI_EXTENSION_NAME'                => 'Name of the extension',
116      'CLI_EXTENSION_PURGE_FAILURE'        => 'Could not purge extension %s',
117      'CLI_EXTENSION_PURGE_SUCCESS'        => 'Successfully purged extension %s',
118      'CLI_EXTENSION_UPDATE_FAILURE'        => 'Could not update extension %s',
119      'CLI_EXTENSION_UPDATE_SUCCESS'        => 'Successfully updated extension %s',
120      'CLI_EXTENSION_NOT_FOUND'            => 'No extensions were found.',
121      'CLI_EXTENSIONS_AVAILABLE'            => 'Available',
122      'CLI_EXTENSIONS_DISABLED'            => 'Disabled',
123      'CLI_EXTENSIONS_ENABLED'            => 'Enabled',
124   
125      'CLI_FIXUP_RECALCULATE_EMAIL_HASH_SUCCESS'    => 'Successfully recalculated all email hashes.',
126   
127      'CLI_MIGRATION_NAME'                    => 'Migration name, including the namespace (use forward slashes instead of backslashes to avoid problems).',
128      'CLI_MIGRATIONS_AVAILABLE'                => 'Available migrations',
129      'CLI_MIGRATIONS_INSTALLED'                => 'Installed migrations',
130      'CLI_MIGRATIONS_ONLY_AVAILABLE'            => 'Show only available migrations',
131      'CLI_MIGRATIONS_EMPTY'                  => 'No migrations.',
132   
133      'CLI_REPARSER_REPARSE_REPARSING'        => 'Reparsing %1$s (range %2$d..%3$d)',
134      'CLI_REPARSER_REPARSE_REPARSING_START'    => 'Reparsing %s...',
135      'CLI_REPARSER_REPARSE_SUCCESS'            => 'Reparsing ended with success',
136   
137      // In all the case %1$s is the logical name of the file and %2$s the real name on the filesystem
138      // eg: big_image.png (2_a51529ae7932008cf8454a95af84cacd) generated.
139      'CLI_THUMBNAIL_DELETED'        => '%1$s (%2$s) deleted.',
140      'CLI_THUMBNAIL_DELETING'    => 'Deleting thumbnails',
141      'CLI_THUMBNAIL_SKIPPED'        => '%1$s (%2$s) skipped.',
142      'CLI_THUMBNAIL_GENERATED'    => '%1$s (%2$s) generated.',
143      'CLI_THUMBNAIL_GENERATING'    => 'Generating thumbnails',
144      'CLI_THUMBNAIL_GENERATING_DONE'    => 'All thumbnails have been regenerated.',
145      'CLI_THUMBNAIL_DELETING_DONE'    => 'All thumbnails have been deleted.',
146   
147      'CLI_THUMBNAIL_NOTHING_TO_GENERATE'    => 'No thumbnails to generate.',
148      'CLI_THUMBNAIL_NOTHING_TO_DELETE'    => 'No thumbnails to delete.',
149   
150      'CLI_USER_ADD_SUCCESS'        => 'Successfully added user %s.',
151      'CLI_USER_DELETE_CONFIRM'    => 'Are you sure you want to delete ‘%s’? [y/N]',
152      'CLI_USER_RECLEAN_START'    => 'Re-cleaning usernames',
153      'CLI_USER_RECLEAN_DONE'        => [
154          0    => 'Re-cleaning complete. No usernames needed to be cleaned.',
155          1    => 'Re-cleaning complete. %d username was cleaned.',
156          2    => 'Re-cleaning complete. %d usernames were cleaned.',
157      ],
158  ));
159   
160  // Additional help for commands.
161  $lang = array_merge($lang, array(
162      'CLI_HELP_CRON_RUN'            => $lang['CLI_DESCRIPTION_CRON_RUN'] . ' Optionally you can specify a cron task name to run only the specified cron task.',
163      'CLI_HELP_USER_ACTIVATE'    => 'Activate a user account, or deactivate an account using the <info>--deactivate</info> option.
164  To optionally send an activation email to the user, use the <info>--send-email</info> option.',
165      'CLI_HELP_USER_ADD'            => 'The <info>%command.name%</info> command adds a new user:
166  If this command is run without options, you will be prompted to enter them.
167  To optionally send an email to the new user, use the <info>--send-email</info> option.',
168      '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.',
169  ));
170