mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-12763 - proxy_url() in langimport was doing its own custom proxied
download magic. Convert to use download_file_contents() for more robust downloads. And also add a more helpful error message while i'm at it. merged from MOODLE_19_STABLE
This commit is contained in:
parent
8bbfc1e321
commit
6e1cc99de7
2 changed files with 11 additions and 26 deletions
|
@ -8,6 +8,7 @@ $string['cannotcreatelangdir'] = 'Cannot create lang dir.';
|
|||
$string['cannotcreatetempdir'] = 'Cannot create temp dir.';
|
||||
$string['cannotcustomizelocallang'] = 'You do not have permission to customize the strings translation. This permission is controlled by the capability "moodle/site:langeditlocal". Set this capability to allow you to edit local language packages in case you want to modify translations for your site.';
|
||||
$string['cannotdownloadcomponents'] = 'Cannot download components.';
|
||||
$string['cannotdownloadlanguageupdatelist'] = 'Cannot download list of language updates from download.moodle.org';
|
||||
$string['cannotdownloadzipfile'] = 'Cannot download ZIP file.';
|
||||
$string['cannoteditmasterlang'] = 'You do not have permission to edit master language package. This permission is controlled by the capability "moodle/site:langeditmaster". Set this capability to allow you to edit master language packages in case you are the maintainer of a package.';
|
||||
$string['cannotfindcomponent'] = 'Cannot find component.';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue