MDL-48493 admin: Move the acknowledgement to the plugin validation page
[moodle.git] / admin / tool / installaddon / lang / en / tool_installaddon.php
CommitLineData
0056f2a3
DM
1<?php
2
3// This file is part of Moodle - http://moodle.org/
4//
5// Moodle is free software: you can redistribute it and/or modify
6// it under the terms of the GNU General Public License as published by
7// the Free Software Foundation, either version 3 of the License, or
8// (at your option) any later version.
9//
10// Moodle is distributed in the hope that it will be useful,
11// but WITHOUT ANY WARRANTY; without even the implied warranty of
12// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13// GNU General Public License for more details.
14//
15// You should have received a copy of the GNU General Public License
16// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
17
18/**
19 * Strings for the tool_installaddon component.
20 *
21 * @package tool_installaddon
22 * @category string
23 * @copyright 2013 David Mudrak <david@moodle.com>
24 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
25 */
26
27defined('MOODLE_INTERNAL') || die();
28
29$string['acknowledgement'] = 'Acknowledgement';
d49db5b2
DM
30$string['acknowledgementtext'] = 'I understand that it is my responsibility to have full backups of this site prior to installing additional plugins. I accept and understand that plugins (especially but not only those originating in unofficial sources) may contain security holes, can make the site unavailable, or cause private data leaks or loss.';
31$string['featuredisabled'] = 'The plugin installer is disabled on this site.';
32$string['installaddon'] = 'Install plugin!';
33$string['installaddons'] = 'Install plugins';
34$string['installexception'] = 'Oops... An error occurred while trying to install the plugin. Turn debugging mode on to see details of the error.';
35$string['installfromrepo'] = 'Install plugins from the Moodle plugins directory';
36$string['installfromrepo_help'] = 'You will be redirected to the Moodle plugins directory to search for and install a plugin. Note that your site full name, URL and Moodle version will be sent as well, to make the installation process easier for you.';
37$string['installfromzip'] = 'Install plugin from ZIP file';
38$string['installfromzip_help'] = 'An alternative to installing a plugin directly from the Moodle plugins directory is to upload a ZIP package of the plugin. The ZIP package should have the same structure as a package downloaded from the Moodle plugins directory.';
0056f2a3 39$string['installfromzipfile'] = 'ZIP package';
9f3e0968 40$string['installfromzipfile_help'] = 'The plugin ZIP package must contain just one directory, named to match the plugin. The ZIP will be extracted into an appropriate location for the plugin type. If the package has been downloaded from the Moodle plugins directory then it will have this structure.';
a143984a 41$string['installfromziprootdir'] = 'Rename the root directory';
9f3e0968 42$string['installfromziprootdir_help'] = 'Some ZIP packages, such as those generated by Github, may contain an incorrect root directory name. If so, the correct name may be entered here.';
d49db5b2 43$string['installfromzipsubmit'] = 'Install plugin from the ZIP file';
0056f2a3 44$string['installfromziptype'] = 'Plugin type';
c192a330
DM
45$string['installfromziptype_help'] = 'For plugins that correctly declare their component name, the installer is able to detect the plugin type automatically. If the auto-detection fails, choose the correct type of plugin manually. Warning: The installation procedure can fail badly if an incorrect plugin type is specified.';
46$string['installfromziptype_link'] = 'Development:Plugins';
9f3e0968 47$string['permcheck'] = 'Make sure the plugin type root location is writable by the web server process.';
ddab904b
DM
48$string['permcheckerror'] = 'Error while checking for write permission';
49$string['permcheckprogress'] = 'Checking for write permission ...';
9f3e0968 50$string['permcheckresultno'] = 'Plugin type location <em>{$a->path}</em> is not writable';
ddab904b 51$string['permcheckresultyes'] = 'Plugin type location <em>{$a->path}</em> is writable';
1f6a9391 52$string['permcheckrepeat'] = 'Check again';
d49db5b2
DM
53$string['pluginname'] = 'Plugin installer';
54$string['remoterequestalreadyinstalled'] = 'There is a request to install plugin {$a->name} ({$a->component}) version {$a->version} from the Moodle plugins directory on this site. However, this plugin is <strong>already installed</strong> on the site.';
55$string['remoterequestconfirm'] = 'There is a request to install plugin <strong>{$a->name}</strong> ({$a->component}) version {$a->version} from the Moodle plugins directory on this site. If you continue, the plugin ZIP package will be downloaded for validation. Nothing will be installed yet.';
56$string['remoterequestinvalid'] = 'There is a request to install a plugin from the Moodle plugins directory on this site. Unfortunately the request is not valid and so the plugin cannot be installed.';
272a0716 57$string['remoterequestpermcheck'] = 'There is a request to install plugin {$a->name} ({$a->component}) version {$a->version} from the Moodle plugins directory on this site. However, the location <strong>{$a->typepath}</strong> is <strong>not writable</strong>. You need to give write access for the web server user to the location, then press the continue button to repeat the check.';
d49db5b2 58$string['remoterequestpluginfoexception'] = 'Oops... An error occurred while trying to obtain information about the plugin {$a->name} ({$a->component}) version {$a->version}. The plugin cannot be installed. Turn debugging mode on to see details of the error.';
c192a330 59$string['typedetectionfailed'] = 'Unable to detect the plugin type. Please choose the plugin type manually.';
d49db5b2 60$string['validation'] = 'Plugin package validation';
a143984a 61$string['validationmsg_componentmatch'] = 'Full component name';
d49db5b2
DM
62$string['validationmsg_componentmismatchname'] = 'Plugin name mismatch';
63$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.';
64$string['validationmsg_componentmismatchname_info'] = 'The plugin declares its name is \'{$a}\' but that does not match the name of the root directory.';
65$string['validationmsg_componentmismatchtype'] = 'Plugin type mismatch';
c192a330 66$string['validationmsg_componentmismatchtype_info'] = 'Expected type \'{$a->expected}\' but the plugin declares its type is \'{$a->found}\'.';
a143984a
DM
67$string['validationmsg_filenotexists'] = 'Extracted file not found';
68$string['validationmsg_filesnumber'] = 'Not enough files found in the package';
69$string['validationmsg_filestatus'] = 'Unable to extract all files';
70$string['validationmsg_filestatus_info'] = 'Attempting to extract file {$a->file} resulted in error \'{$a->status}\'.';
fb1f2b9b 71$string['validationmsg_foundlangfile'] = 'Found language file';
a143984a 72$string['validationmsg_maturity'] = 'Declared maturity level';
d49db5b2 73$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.';
a143984a 74$string['validationmsg_missingexpectedlangenfile'] = 'English language file name mismatch';
d49db5b2 75$string['validationmsg_missingexpectedlangenfile_info'] = 'The given plugin type is missing the expected English language file {$a}.';
a143984a
DM
76$string['validationmsg_missinglangenfile'] = 'No English language file found';
77$string['validationmsg_missinglangenfolder'] = 'Missing English language folder';
d49db5b2 78$string['validationmsg_missingversion'] = 'Plugin does not declare its version';
a143984a
DM
79$string['validationmsg_missingversionphp'] = 'File version.php not found';
80$string['validationmsg_multiplelangenfiles'] = 'Multiple English language files found';
81$string['validationmsg_onedir'] = 'Invalid structure of the ZIP package.';
d49db5b2 82$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.';
a143984a 83$string['validationmsg_pathwritable'] = 'Write access check';
d49db5b2
DM
84$string['validationmsg_pluginversion'] = 'Plugin version';
85$string['validationmsg_release'] = 'Plugin release';
a143984a 86$string['validationmsg_requiresmoodle'] = 'Required Moodle version';
d49db5b2
DM
87$string['validationmsg_rootdir'] = 'Name of the plugin to be installed';
88$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.';
89$string['validationmsg_rootdirinvalid'] = 'Invalid plugin name';
90$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.';
a143984a 91$string['validationmsg_targetexists'] = 'Target location already exists';
272a0716 92$string['validationmsg_targetexists_help'] = 'The directory that the plugin is to be installed to must not yet exist.';
a143984a
DM
93$string['validationmsg_unknowntype'] = 'Unknown plugin type';
94$string['validationmsglevel_debug'] = 'Debug';
95$string['validationmsglevel_error'] = 'Error';
96$string['validationmsglevel_info'] = 'OK';
97$string['validationmsglevel_warning'] = 'Warning';
98$string['validationresult0'] = 'Validation failed!';
d49db5b2 99$string['validationresult0_help'] = 'A serious problem was detected and so it is not safe to install the plugin. See the validation log messages for details.';
a143984a 100$string['validationresult1'] = 'Validation passed!';
d49db5b2
DM
101$string['validationresult2_help'] = 'No serious problems were detected. You can continue with the plugin installation. See the validation log messages for more details and eventual warnings.';
102$string['validationresult1_help'] = 'The plugin package has been validated and no serious problems were detected.';
a143984a
DM
103$string['validationresultinfo'] = 'Info';
104$string['validationresultmsg'] = 'Message';
105$string['validationresultstatus'] = 'Status';