Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.11.10, 4.0.4
-
MOODLE_311_STABLE, MOODLE_400_STABLE
-
MOODLE_402_STABLE
-
-
1
-
Team Hedgehog Sprint 2.1
Description
From MDL-75970, when using the tool_customlang CLI export the zip file is named using a language string exportzipfilename.
$string['exportzipfilename'] = 'customlang-export-{$a->lang}.zip'
I don't know of any reason for making the name of the zip file translatable. The zip file can easily be renamed, and giving it a hard-coded generic name makes it consistent with other exported content such as download course content, assignment submissions etc.
Thus, how about removing the language string exportzipfilename and naming the zip file something like
customlang-{$a->lang}.zip
(no need to include the word 'export').
Attachments
Issue Links
- has a non-specific relationship to
-
MDL-75970 tool_customlang CLI export does not use a valid filename
-
- Closed
-