Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.10.x will end 8 November 2021 (12 months).
  • Bug fixes for security issues in 3.10.x will end 9 May 2022 (18 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.
/lang/en/ -> plugin.php (source)

Differences Between: [Versions 310 and 400] [Versions 310 and 401] [Versions 310 and 402] [Versions 310 and 403] [Versions 39 and 310]

   1  <?php
   2  // This file is part of Moodle - http://moodle.org/
   3  //
   4  // Moodle is free software: you can redistribute it and/or modify
   5  // it under the terms of the GNU General Public License as published by
   6  // the Free Software Foundation, either version 3 of the License, or
   7  // (at your option) any later version.
   8  //
   9  // Moodle is distributed in the hope that it will be useful,
  10  // but WITHOUT ANY WARRANTY; without even the implied warranty of
  11  // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12  // GNU General Public License for more details.
  13  //
  14  // You should have received a copy of the GNU General Public License
  15  // along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
  16  
  17  /**
  18   * Defines names of plugin types and some strings used at the plugin managment
  19   *
  20   * @package    core
  21   * @subpackage plugin
  22   * @copyright  2011 David Mudrak <david@moodle.com>
  23   * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
  24   */
  25  
  26  defined('MOODLE_INTERNAL') || die();
  27  
  28  $string['actions'] = 'Actions';
  29  $string['availability'] = 'Availability';
  30  $string['cancelinstallall'] = 'Cancel new installations ({$a})';
  31  $string['cancelinstallone'] = 'Cancel this installation';
  32  $string['cancelinstallhead'] = 'Cancelling installation of plugins';
  33  $string['cancelinstallinfo'] = 'The following plugins are not fully installed yet so their installation may be cancelled. To do so, the plugin folder must be removed from the server now. Make sure this is really what you want to prevent accidental data loss (such as your own code modifications).';
  34  $string['cancelinstallinfodir'] = 'Folder to be deleted: {$a}';
  35  $string['cancelupgradeall'] = 'Cancel upgrades ({$a})';
  36  $string['cancelupgradehead'] = 'Restoring previous version of plugins';
  37  $string['cancelupgradeone'] = 'Cancel this upgrade';
  38  $string['checkforupdates'] = 'Check for available updates';
  39  $string['checkforupdateslast'] = 'Last check done on {$a}';
  40  $string['detectedmisplacedplugin'] = 'Plugin "{$a->component}" is installed in incorrect location "{$a->current}", expected location is "{$a->expected}"';
  41  $string['dependencyavailable'] = 'Available';
  42  $string['dependencyfails'] = 'Fails';
  43  $string['dependencyinstall'] = 'Install';
  44  $string['dependencyinstallhead'] = 'Installing missing dependencies';
  45  $string['dependencyinstallmissing'] = 'Install missing dependencies ({$a})';
  46  $string['dependencymissing'] = 'Missing';
  47  $string['dependencyunavailable'] = 'Unavailable';
  48  $string['dependencyupload'] = 'Upload';
  49  $string['dependencyuploadmissing'] = 'Upload ZIP files';
  50  $string['displayname'] = 'Plugin name';
  51  $string['err_response_curl'] = 'Unable to fetch available updates data - unexpected cURL error.';
  52  $string['err_response_format_version'] = 'Unexpected version of the response format. Please try to re-check for available updates.';
  53  $string['err_response_http_code'] = 'Unable to fetch available updates data - unexpected HTTP response code.';
  54  $string['filterall'] = 'Show all';
  55  $string['filtercontribonly'] = 'Show additional plugins only';
  56  $string['filterupdatesonly'] = 'Show updateable only';
  57  $string['incompatibleversion'] = 'Incompatible Moodle version: {$a}';
  58  $string['isenabled'] = 'Enabled?';
  59  $string['misdepinfoplugin'] = 'Plugin info';
  60  $string['misdepinfoversion'] = 'Version info';
  61  $string['misdepsavail'] = 'Available missing dependencies';
  62  $string['misdepsunavail'] = 'Unavailable missing dependencies';
  63  $string['misdepsunavaillist'] = 'No version found to fulfill the dependency requirements: {$a}.';
  64  $string['misdepsunknownlist'] = 'Not in the Plugins directory: <strong>{$a}</strong>.';
  65  $string['moodlebranch'] = 'Moodle {$a->min} - {$a->max}';
  66  $string['moodleversion'] = 'Moodle {$a}';
  67  $string['noneinstalled'] = 'No plugins of this type are installed';
  68  $string['notes'] = 'Notes';
  69  $string['notdownloadable'] = 'Can not download the package';
  70  $string['notdownloadable_help'] = 'The ZIP package with the update cannot be downloaded automatically.';
  71  $string['notdownloadable_link'] = 'admin/mdeploy/notdownloadable';
  72  $string['notsupported'] = 'Plugin may not be compatible with Moodle version {$a}';
  73  $string['notwritable'] = 'Plugin files not writable';
  74  $string['notwritable_help'] = 'Plugin files are not writable by the web server. The web server process must have write access to the plugin folder and all its contents. Write access to the root folder of the given plugin type may also be required.';
  75  $string['otherplugin'] = '{$a->component}';
  76  $string['otherpluginversion'] = '{$a->component} ({$a->version})';
  77  $string['overviewall'] = 'All plugins';
  78  $string['overviewext'] = 'Additional plugins';
  79  $string['overviewupdatable'] = 'Available updates';
  80  $string['packagesdebug'] = 'Debugging output enabled';
  81  $string['packagesdownloading'] = 'Downloading {$a}';
  82  $string['packagesextracting'] = 'Extracting {$a}';
  83  $string['packagesvalidating'] = 'Validating {$a}';
  84  $string['packagesvalidatingfailed'] = 'Installation aborted due to validation failure';
  85  $string['packagesvalidatingok'] = 'Validation successful, installation can continue';
  86  $string['plugincheckall'] = 'All plugins';
  87  $string['plugincheckattention'] = 'Plugins requiring attention';
  88  $string['pluginchecknone'] = 'No plugins require your attention now';
  89  $string['pluginchecknotice'] = 'This page displays plugins that may require your attention during the upgrade, such as new plugins to be installed, plugins to be upgraded, missing plugins etc. Additional plugins are displayed if there is an available update for them. It is recommended that you check whether there are more recent versions of plugins available and update their source code before continuing with this Moodle upgrade.';
  90  $string['plugindisable'] = 'Disable';
  91  $string['plugindisabled'] = 'Disabled';
  92  $string['pluginenable'] = 'Enable';
  93  $string['pluginenabled'] = 'Enabled';
  94  $string['release'] = 'Release';
  95  $string['requiredby'] = 'Required by: {$a}';
  96  $string['requires'] = 'Requires';
  97  $string['rootdir'] = 'Directory';
  98  $string['settings'] = 'Settings';
  99  $string['source'] = 'Source';
 100  $string['sourceext'] = 'Additional';
 101  $string['sourcestd'] = 'Standard';
 102  $string['status'] = 'Status';
 103  $string['status_delete'] = 'To be deleted';
 104  $string['status_downgrade'] = 'Higher version already installed!';
 105  $string['status_missing'] = 'Missing from disk!';
 106  $string['status_new'] = 'To be installed';
 107  $string['status_nodb'] = 'No database';
 108  $string['status_upgrade'] = 'To be upgraded';
 109  $string['status_uptodate'] = 'Installed';
 110  $string['supportedmoodleversions'] = 'Supported Moodle versions';
 111  $string['supportedconversions'] = 'Supported document conversions';
 112  $string['systemname'] = 'Identifier';
 113  $string['type_antivirus'] = 'Antivirus plugin';
 114  $string['type_antivirus_plural'] = 'Antivirus plugins';
 115  $string['type_auth'] = 'Authentication method';
 116  $string['type_auth_plural'] = 'Authentication methods';
 117  $string['type_availability'] = 'Availability restriction';
 118  $string['type_availability_plural'] = 'Availability restrictions';
 119  $string['type_block'] = 'Block';
 120  $string['type_block_plural'] = 'Blocks';
 121  $string['type_cachelock'] = 'Cache lock handler';
 122  $string['type_cachelock_plural'] = 'Cache lock handlers';
 123  $string['type_cachestore'] = 'Cache store';
 124  $string['type_cachestore_plural'] = 'Cache stores';
 125  $string['type_calendartype'] = 'Calendar type';
 126  $string['type_calendartype_plural'] = 'Calendar types';
 127  $string['type_contentbank'] = 'Content bank';
 128  $string['type_contentbank_plural'] = 'Content bank plugins';
 129  $string['type_customfield'] = 'Custom field';
 130  $string['type_customfield_plural'] = 'Custom fields';
 131  $string['type_coursereport'] = 'Course report';
 132  $string['type_coursereport_plural'] = 'Course reports';
 133  $string['type_dataformat'] = 'Data format';
 134  $string['type_dataformat_plural'] = 'Data formats';
 135  $string['type_editor'] = 'Editor';
 136  $string['type_editor_plural'] = 'Editors';
 137  $string['type_enrol'] = 'Enrolment method';
 138  $string['type_enrol_plural'] = 'Enrolment methods';
 139  $string['type_fileconverter'] = 'Document converter';
 140  $string['type_fileconvertermanage'] = 'Manage document converters';
 141  $string['type_fileconverter_plural'] = 'Document converters';
 142  $string['type_filter'] = 'Text filter';
 143  $string['type_filter_plural'] = 'Text filters';
 144  $string['type_format'] = 'Course format';
 145  $string['type_format_plural'] = 'Course formats';
 146  $string['type_gradeexport'] = 'Grade export method';
 147  $string['type_gradeexport_plural'] = 'Grade export methods';
 148  $string['type_gradeimport'] = 'Grade import method';
 149  $string['type_gradeimport_plural'] = 'Grade import methods';
 150  $string['type_gradereport'] = 'Gradebook report';
 151  $string['type_gradereport_plural'] = 'Gradebook reports';
 152  $string['type_gradingform'] = 'Advanced grading method';
 153  $string['type_gradingform_plural'] = 'Advanced grading methods';
 154  $string['type_h5plib'] = 'H5P framework';
 155  $string['type_h5plib_plural'] = 'H5P frameworks';
 156  $string['type_mlbackend'] = 'Machine learning backend';
 157  $string['type_mlbackend_plural'] = 'Machine learning backends';
 158  $string['type_local'] = 'Local plugin';
 159  $string['type_local_plural'] = 'Local plugins';
 160  $string['type_media'] = 'Media player';
 161  $string['type_media_plural'] = 'Media players';
 162  $string['type_message'] = 'Notification plugin';
 163  $string['type_message_plural'] = 'Notification plugins';
 164  $string['type_mnetservice'] = 'MNet service';
 165  $string['type_mnetservice_plural'] = 'MNet services';
 166  $string['type_mod'] = 'Activity module';
 167  $string['type_mod_plural'] = 'Activity modules';
 168  $string['type_paygwmanage'] = 'Manage payment gateways';
 169  $string['type_paygw'] = 'Payment gateway';
 170  $string['type_paygw_plural'] = 'Payment gateways';
 171  $string['type_plagiarism'] = 'Plagiarism plugin';
 172  $string['type_plagiarism_plural'] = 'Plagiarism plugins';
 173  $string['type_portfolio'] = 'Portfolio';
 174  $string['type_portfolio_plural'] = 'Portfolios';
 175  $string['type_profilefield'] = 'Profile field type';
 176  $string['type_profilefield_plural'] = 'Profile field types';
 177  $string['type_qbehaviour'] = 'Question behaviour';
 178  $string['type_qbehaviour_plural'] = 'Question behaviours';
 179  $string['type_qformat'] = 'Question import/export format';
 180  $string['type_qformat_plural'] = 'Question import/export formats';
 181  $string['type_qtype'] = 'Question type';
 182  $string['type_qtype_plural'] = 'Question types';
 183  $string['type_report'] = 'Site report';
 184  $string['type_report_plural'] = 'Reports';
 185  $string['type_repository'] = 'Repository';
 186  $string['type_repository_plural'] = 'Repositories';
 187  $string['type_search'] = 'Search engine';
 188  $string['type_search_plural'] = 'Search engines';
 189  $string['type_theme'] = 'Theme';
 190  $string['type_theme_plural'] = 'Themes';
 191  $string['type_tool'] = 'Admin tool';
 192  $string['type_tool_plural'] = 'Admin tools';
 193  $string['type_webservice'] = 'Webservice protocol';
 194  $string['type_webservice_plural'] = 'Webservice protocols';
 195  $string['updateavailable'] = 'There is a new version {$a} available!';
 196  $string['updateavailable_moreinfo'] = 'More info...';
 197  $string['updateavailable_release'] = 'Release {$a}';
 198  $string['updatepluginconfirm'] = 'Plugin update confirmation';
 199  $string['updatepluginconfirminfo'] = 'You are about to install a new version of the plugin <strong>{$a->name}</strong>. A zip package with version {$a->version} of the plugin will be downloaded from <a href="{$a->url}">{$a->url}</a> and extracted to your Moodle installation so it can upgrade your installation.';
 200  $string['updatepluginconfirmexternal'] = 'It appears that the current version of the plugin has been obtained via source code management system ({$a}) checkout. If you install this update, you will no longer be able to obtain plugin updates from the source code management system. Please ensure that you definitely want to update the plugin before continuing.';
 201  $string['updatepluginconfirmwarning'] = 'Please note that Moodle will not automatically make a backup of your database before the upgrade. We strongly recommend that you make a full snapshot backup now, to cope with the rare case that the new code has bugs that make your site unavailable or even corrupts your database. Proceed at your own risk.';
 202  $string['uninstall'] = 'Uninstall';
 203  $string['uninstallconfirm'] = 'You are about to uninstall the plugin <em>{$a->name}</em>. This will completely delete everything in the database associated with this plugin, including its configuration, log records, user files managed by the plugin etc. There is no way back and Moodle itself does not create any recovery backup. Are you SURE you want to continue?';
 204  $string['uninstalldelete'] = 'All data associated with the plugin <em>{$a->name}</em> has been deleted from the database. To prevent the plugin re-installing itself, its folder <em>{$a->rootdir}</em> must be manually removed from your server now. Moodle itself cannot remove the folder due to write permissions.';
 205  $string['uninstalldeleteconfirm'] = 'All data associated with the plugin <em>{$a->name}</em> has been deleted from the database. To prevent the plugin re-installing itself, its folder <em>{$a->rootdir}</em> must be removed from your server. Do you want to remove the plugin folder now?';
 206  $string['uninstalldeleteconfirmexternal'] = 'It appears that the current version of the plugin has been obtained via source code management system ({$a}) checkout. If you remove the plugin folder, you may lose important local modifications of the code. Please ensure that you definitely want to remove the plugin folder before continuing.';
 207  $string['uninstallextraconfirmblock'] = 'There are {$a->instances} instances of this block.';
 208  $string['uninstallextraconfirmenrol'] = 'There are {$a->enrolments} user enrolments.';
 209  $string['uninstallextraconfirmmod'] = 'There are {$a->instances} instances of this module in {$a->courses} courses.';
 210  $string['uninstalling'] = 'Uninstalling {$a->name}';
 211  $string['validationmsg_componentmatch'] = 'Full component name';
 212  $string['validationmsg_componentmismatchname'] = 'Plugin name mismatch';
 213  $string['validationmsg_componentmismatchname_help'] = 'Some ZIP packages, such as those generated by Github, may contain an incorrect root directory name. You need to fix the name of the root directory to match the declared plugin name.';
 214  $string['validationmsg_componentmismatchname_info'] = 'The plugin declares its name is \'{$a}\' but that does not match the name of the root directory.';
 215  $string['validationmsg_componentmismatchtype'] = 'Plugin type mismatch';
 216  $string['validationmsg_componentmismatchtype_info'] = 'Expected type \'{$a->expected}\' but the plugin declares its type is \'{$a->found}\'.';
 217  $string['validationmsg_filenotexists'] = 'Extracted file not found';
 218  $string['validationmsg_filesnumber'] = 'Not enough files found in the package';
 219  $string['validationmsg_filestatus'] = 'Unable to extract all files';
 220  $string['validationmsg_filestatus_info'] = 'Attempting to extract file {$a->file} resulted in error \'{$a->status}\'.';
 221  $string['validationmsg_foundlangfile'] = 'Found language file';
 222  $string['validationmsg_maturity'] = 'Declared maturity level';
 223  $string['validationmsg_maturity_help'] = 'The plugin can declare its maturity level. If the maintainer considers the plugin stable, the declared maturity level will read MATURITY_STABLE. All other maturity levels (such as alpha or beta) should be considered unstable and a warning is raised.';
 224  $string['validationmsg_missingcomponent'] = 'Plugin does not declare its component name';
 225  $string['validationmsg_missingcomponent_help'] = 'All plugins must provide their full component name via the `$plugin->component` declaration in the version.php file.';
 226  $string['validationmsg_missingcomponent_link'] = 'Development:version.php';
 227  $string['validationmsg_missingexpectedlangenfile'] = 'English language file name mismatch';
 228  $string['validationmsg_missingexpectedlangenfile_info'] = 'The given plugin type is missing the expected English language file {$a}.';
 229  $string['validationmsg_missinglangenfile'] = 'No English language file found';
 230  $string['validationmsg_missinglangenfolder'] = 'Missing English language folder';
 231  $string['validationmsg_missingversion'] = 'Plugin does not declare its version';
 232  $string['validationmsg_missingversionphp'] = 'File version.php not found';
 233  $string['validationmsg_multiplelangenfiles'] = 'Multiple English language files found';
 234  $string['validationmsg_onedir'] = 'Invalid structure of the ZIP package.';
 235  $string['validationmsg_onedir_help'] = 'The ZIP package must contain just one root directory that holds the plugin code. The name of that root directory must match the name of the plugin.';
 236  $string['validationmsg_pathwritable'] = 'Write access check';
 237  $string['validationmsg_pluginversion'] = 'Plugin version';
 238  $string['validationmsg_pluginversiontoolow'] = 'A higher version of this plugin is already installed';
 239  $string['validationmsg_release'] = 'Plugin release';
 240  $string['validationmsg_requiresmoodle'] = 'Required Moodle version';
 241  $string['validationmsg_rootdir'] = 'Name of the plugin to be installed';
 242  $string['validationmsg_rootdir_help'] = 'The name of the root directory in the ZIP package forms the name of the plugin to be installed. If the name is not correct, you may wish to rename the root directory in the ZIP prior to installing the plugin.';
 243  $string['validationmsg_rootdirinvalid'] = 'Invalid plugin name';
 244  $string['validationmsg_rootdirinvalid_help'] = 'The name of the root directory in the ZIP package violates formal syntax requirements. Some ZIP packages, such as those generated by Github, may contain an incorrect root directory name. You need to fix the name of the root directory to match the plugin name.';
 245  $string['validationmsg_targetexists'] = 'Target location already exists and will be removed';
 246  $string['validationmsg_targetexists_help'] = 'The plugin directory already exists and will be replaced by the plugin package contents.';
 247  $string['validationmsg_targetnotdir'] = 'Target location occupied by a file';
 248  $string['validationmsg_unknowntype'] = 'Unknown plugin type';
 249  $string['validationmsg_versionphpsyntax'] = 'Unsupported syntax detected in version.php file';
 250  $string['validationmsglevel_debug'] = 'Debug';
 251  $string['validationmsglevel_error'] = 'Error';
 252  $string['validationmsglevel_info'] = 'OK';
 253  $string['validationmsglevel_warning'] = 'Warning';
 254  $string['version'] = 'Version';
 255  $string['versiondb'] = 'Current version';
 256  $string['versiondisk'] = 'New version';