mirror of
https://gh.llkk.cc/https://github.com/h5p/moodle-mod_hvp.git
synced 2026-07-23 19:35:55 +08:00
276 lines
16 KiB
PHP
276 lines
16 KiB
PHP
<?php
|
|
// This file is part of Moodle - http://moodle.org/
|
|
//
|
|
// Moodle is free software: you can redistribute it and/or modify
|
|
// it under the terms of the GNU General Public License as published by
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
// (at your option) any later version.
|
|
//
|
|
// Moodle is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU General Public License for more details.
|
|
//
|
|
// You should have received a copy of the GNU General Public License
|
|
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
$string['modulename'] = 'Interactive Content';
|
|
$string['modulename_help'] = 'The H5P activity module enables you to create interactive content such as Interactive Videos, Question Sets, Drag and Drop Questions, Multi-Choice Questions, Presentations and much more.
|
|
|
|
In addition to being an authoring tool for rich content, H5P enables you to import and export H5P files for effective reuse and sharing of content.
|
|
|
|
User interactions and scores are tracked using xAPI and are available through the Moodle Gradebook.
|
|
|
|
You add interactive H5P content by uploading a .h5p file. You can create and download .h5p files on h5p.org';
|
|
$string['modulename_link'] = 'https://h5p.org/moodle-more-help';
|
|
$string['modulenameplural'] = 'Interactive Content';
|
|
$string['pluginadministration'] = 'H5P';
|
|
$string['pluginname'] = 'H5P';
|
|
$string['intro'] = 'Introduction';
|
|
$string['h5pfile'] = 'H5P File';
|
|
$string['fullscreen'] = 'Fullscreen';
|
|
$string['disablefullscreen'] = 'Disable fullscreen';
|
|
$string['download'] = 'Download';
|
|
$string['copyright'] = 'Rights of use';
|
|
$string['embed'] = 'Embed';
|
|
$string['showadvanced'] = 'Show advanced';
|
|
$string['hideadvanced'] = 'Hide advanced';
|
|
$string['resizescript'] = 'Include this script on your website if you want dynamic sizing of the embedded content:';
|
|
$string['size'] = 'Size';
|
|
$string['close'] = 'Close';
|
|
$string['title'] = 'Title';
|
|
$string['author'] = 'Author';
|
|
$string['year'] = 'Year';
|
|
$string['source'] = 'Source';
|
|
$string['license'] = 'License';
|
|
$string['thumbnail'] = 'Thumbnail';
|
|
$string['nocopyright'] = 'No copyright information available for this content.';
|
|
$string['downloadtitle'] = 'Download this content as a H5P file.';
|
|
$string['copyrighttitle'] = 'View copyright information for this content.';
|
|
$string['embedtitle'] = 'View the embed code for this content.';
|
|
$string['h5ptitle'] = 'Visit H5P.org to check out more cool content.';
|
|
$string['contentchanged'] = 'This content has changed since you last used it.';
|
|
$string['startingover'] = "You'll be starting over.";
|
|
$string['confirmdialogheader'] = 'Confirm action';
|
|
$string['confirmdialogbody'] = 'Please confirm that you wish to proceed. This action is not reversible.';
|
|
$string['cancellabel'] = 'Cancel';
|
|
$string['confirmlabel'] = 'Confirm';
|
|
$string['noh5ps'] = 'There\'s no interactive content available for this course.';
|
|
|
|
// Update message email for admin
|
|
$string['messageprovider:updates'] = 'Notification of available H5P updates';
|
|
$string['updatesavailabletitle'] = 'New H5P updates are available';
|
|
$string['updatesavailablemsgpt1'] = 'There are updates available for the H5P content types you\'ve installed on your Moodle site.';
|
|
$string['updatesavailablemsgpt2'] = 'Head over to the page linked to below for further instructions.';
|
|
$string['updatesavailablemsgpt3'] = 'The latest update was released on: {$a}';
|
|
$string['updatesavailablemsgpt4'] = 'Your are running a version from: {$a}';
|
|
|
|
$string['lookforupdates'] = 'Look for H5P updates';
|
|
$string['removetmpfiles'] = 'Remove old H5P temporary files';
|
|
$string['removeoldlogentries'] = 'Remove old H5P log entries';
|
|
|
|
// Admin settings.
|
|
$string['displayoptions'] = 'Display Options';
|
|
$string['enableframe'] = 'Display action bar and frame';
|
|
$string['enabledownload'] = 'Download button';
|
|
$string['enableembed'] = 'Embed button';
|
|
$string['enablecopyright'] = 'Copyright button';
|
|
$string['enableabout'] = 'About H5P button';
|
|
|
|
$string['externalcommunication'] = 'External communication';
|
|
$string['externalcommunication_help'] = 'Aid in the development of H5P by contributing anonymous usage data. Disabling this option will prevent your site from fetching the newest H5P updates. You can read more about <a {$a}>which data is collected</a> on h5p.org.';
|
|
$string['enablesavecontentstate'] = 'Save content state';
|
|
$string['enablesavecontentstate_help'] = 'Automatically save the current state of interactive content for each user. This means that the user may pick up where he left off.';
|
|
$string['contentstatefrequency'] = 'Save content state frequency';
|
|
$string['contentstatefrequency_help'] = 'In seconds, how often do you wish the user to auto save their progress. Increase this number if you\'re having issues with many ajax requests';
|
|
|
|
// Admin menu.
|
|
$string['settings'] = 'H5P Settings';
|
|
$string['libraries'] = 'H5P Libraries';
|
|
|
|
// Update libraries section.
|
|
$string['updatelibraries'] = 'Update All Libraries';
|
|
$string['updatesavailable'] = 'There are updates available for your H5P content types.';
|
|
$string['whyupdatepart1'] = 'You can read about why it\'s important to update and the benefits from doing so on the <a {$a}>Why Update H5P</a> page.';
|
|
$string['whyupdatepart2'] = 'The page also list the different changelogs, where you can read about the new features introduced and the issues that have been fixed.';
|
|
$string['currentversion'] = 'You are running';
|
|
$string['availableversion'] = 'Available update';
|
|
$string['usebuttonbelow'] = 'You can use the button below to automatically download and update all of your content types.';
|
|
$string['downloadandupdate'] = 'Download & Update';
|
|
$string['missingh5purl'] = 'We were unable to download and install the standard H5P content types for you because of a ' .
|
|
'missing or faulty URL to the package.';
|
|
$string['unabletodownloadh5p'] = 'We were unable to download and install the standard H5P content types for you.';
|
|
$string['downloadh5pmanually'] = 'You may get them manually by following the install guide at <a {$a}>H5P.org</a>';
|
|
|
|
// Upload libraries section.
|
|
$string['uploadlibraries'] = 'Upload Libraries';
|
|
$string['options'] = 'Options';
|
|
$string['onlyupdate'] = 'Only update existing libraries';
|
|
$string['disablefileextensioncheck'] = 'Disable file extension check';
|
|
$string['disablefileextensioncheckwarning'] = "Warning! Disabling the file extension check may have security implications as it allows for uploading of php files. That in turn could make it possible for attackers to execute malicious code on your site. Please make sure you know exactly what you're uploading.";
|
|
$string['upload'] = 'Upload';
|
|
|
|
// Installed libraries section.
|
|
$string['installedlibraries'] = 'Installed Libraries';
|
|
$string['invalidtoken'] = 'Invalid security token.';
|
|
$string['missingparameters'] = 'Missing parameters';
|
|
|
|
// H5P library list headers on admin page.
|
|
$string['librarylisttitle'] = 'Title';
|
|
$string['librarylistrestricted'] = 'Restricted';
|
|
$string['librarylistinstances'] = 'Instances';
|
|
$string['librarylistinstancedependencies'] = 'Instance dependencies';
|
|
$string['librarylistlibrarydependencies'] = 'Library dependencies';
|
|
$string['librarylistactions'] = 'Actions';
|
|
|
|
// H5P library page labels.
|
|
$string['addlibraries'] = 'Add libraries';
|
|
$string['installedlibraries'] = 'Installed libraries';
|
|
$string['notapplicable'] = 'N/A';
|
|
$string['upgradelibrarycontent'] = 'Upgrade library content';
|
|
|
|
// Upgrade H5P content page.
|
|
$string['upgrade'] = 'Upgrade H5P';
|
|
$string['upgradeheading'] = 'Upgrade {$a} content';
|
|
$string['upgradenoavailableupgrades'] = 'There are no available upgrades for this library.';
|
|
$string['enablejavascript'] = 'Please enable JavaScript.';
|
|
$string['upgrademessage'] = 'You are about to upgrade {$a} content instance(s). Please select upgrade version.';
|
|
$string['upgradeinprogress'] = 'Upgrading to %ver...';
|
|
$string['upgradeerror'] = 'An error occurred while processing parameters:';
|
|
$string['upgradeerrordata'] = 'Could not load data for library %lib.';
|
|
$string['upgradeerrorscript'] = 'Could not load upgrades script for %lib.';
|
|
$string['upgradeerrorcontent'] = 'Could not upgrade content %id:';
|
|
$string['upgradeerrorparamsbroken'] = 'Parameters are broken.';
|
|
$string['upgradedone'] = 'You have successfully upgraded {$a} content instance(s).';
|
|
$string['upgradereturn'] = 'Return';
|
|
$string['upgradenothingtodo'] = "There's no content instances to upgrade.";
|
|
$string['upgradebuttonlabel'] = 'Upgrade';
|
|
$string['upgradeinvalidtoken'] = 'Error: Invalid security token!';
|
|
$string['upgradelibrarymissing'] = 'Error: Your library is missing!';
|
|
|
|
// Results / report page.
|
|
$string['user'] = 'User';
|
|
$string['score'] = 'Score';
|
|
$string['maxscore'] = 'Maximum Score';
|
|
$string['finished'] = 'Finished';
|
|
$string['loadingdata'] = 'Loading data.';
|
|
$string['ajaxfailed'] = 'Failed to load data.';
|
|
$string['nodata'] = "There's no data available that matches your criteria.";
|
|
$string['currentpage'] = 'Page $current of $total';
|
|
$string['nextpage'] = 'Next page';
|
|
$string['previouspage'] = 'Previous page';
|
|
$string['search'] = 'Search';
|
|
$string['empty'] = 'No results available';
|
|
|
|
// Editor
|
|
$string['javascriptloading'] = 'Waiting for JavaScript...';
|
|
$string['action'] = 'Action';
|
|
$string['upload'] = 'Upload';
|
|
$string['create'] = 'Create';
|
|
$string['editor'] = 'Editor';
|
|
|
|
$string['invalidlibrary'] = 'Invalid library';
|
|
$string['nosuchlibrary'] = 'No such library';
|
|
$string['noparameters'] = 'No parameters';
|
|
$string['invalidparameters'] = 'Invalid Parameters';
|
|
$string['missingcontentuserdata'] = 'Error: Could not find content user data';
|
|
|
|
// Capabilities
|
|
$string['hvp:addinstance'] = 'Add a new H5P Activity';
|
|
$string['hvp:restrictlibraries'] = 'Restrict a H5P library';
|
|
$string['hvp:updatelibraries'] = 'Update the version of an H5P library';
|
|
$string['hvp:userestrictedlibraries'] = 'Use restricted H5P libraries';
|
|
$string['hvp:deletecontentuserdata'] = 'Delete H5P content user data';
|
|
$string['hvp:savecontentuserdata'] = 'Save H5P content user data';
|
|
$string['hvp:saveresults'] = 'Save result for H5P content';
|
|
$string['hvp:viewresults'] = 'View result for H5P content';
|
|
$string['hvp:getcachedassets'] = 'Get cached H5P content assets';
|
|
$string['hvp:getcontent'] = 'Get/view content of H5P file in course';
|
|
$string['hvp:getexport'] = 'Get export file from H5P in course';
|
|
$string['hvp:updatesavailable'] = 'Get notification when H5P updates are available';
|
|
|
|
// Capabilities error messages
|
|
$string['nopermissiontoupgrade'] = 'You do not have permission to upgrade libraries.';
|
|
$string['nopermissiontorestrict'] = 'You do not have permission to restrict libraries.';
|
|
$string['nopermissiontodeletecontentuserdata'] = 'You do not have permission to delete content user data.';
|
|
$string['nopermissiontosavecontentuserdata'] = 'You do not have permission to save content user data.';
|
|
$string['nopermissiontosaveresult'] = 'You do not have permission to save result for this content.';
|
|
$string['nopermissiontoviewresult'] = 'You do not have permission to view results for this content.';
|
|
|
|
// Editor translations
|
|
$string['noziparchive'] = 'Your PHP version does not support ZipArchive.';
|
|
$string['noextension'] = 'The file you uploaded is not a valid HTML5 Package (It does not have the .h5p file extension)';
|
|
$string['nounzip'] = 'The file you uploaded is not a valid HTML5 Package (We are unable to unzip it)';
|
|
$string['noparse'] = 'Could not parse the main h5p.json file';
|
|
$string['nojson'] = 'The main h5p.json file is not valid';
|
|
$string['invalidcontentfolder'] = 'Invalid content folder';
|
|
$string['nocontent'] = 'Could not find or parse the content.json file';
|
|
$string['librarydirectoryerror'] = 'Library directory name must match machineName or machineName-majorVersion.minorVersion (from library.json). (Directory: {$a->%directoryName} , machineName: {$a->%machineName}, majorVersion: {$a->%majorVersion}, minorVersion: {$a->%minorVersion})';
|
|
$string['missingcontentfolder'] = 'A valid content folder is missing';
|
|
$string['invalidmainjson'] = 'A valid main h5p.json file is missing';
|
|
$string['missinglibrary'] = 'Missing required library {$a->@library}';
|
|
$string['missinguploadpermissions'] = "Note that the libraries may exist in the file you uploaded, but you're not allowed to upload new libraries. Contact the site administrator about this.";
|
|
$string['invalidlibraryname'] = 'Invalid library name: {$a->%name}';
|
|
$string['missinglibraryjson'] = 'Could not find library.json file with valid json format for library {$a->%name}';
|
|
$string['invalidsemanticsjson'] = 'Invalid semantics.json file has been included in the library {$a->%name}';
|
|
$string['invalidlanguagefile'] = 'Invalid language file {$a->%file} in library {$a->%library}';
|
|
$string['invalidlanguagefile2'] = 'Invalid language file {$a->%languageFile} has been included in the library {$a->%name}';
|
|
$string['missinglibraryfile'] = 'The file "{$a->%file}" is missing from library: "{$a->%name}"';
|
|
$string['missingcoreversion'] = 'The library "{$a->%libraryName}" requires H5P {$a->%requiredVersion}, but only H5P {$a->%coreApi} is installed.';
|
|
$string['invalidlibrarydataboolean'] = 'Invalid data provided for {$a->%property} in {$a->%library}. Boolean expected.';
|
|
$string['invalidlibrarydata'] = 'Invalid data provided for {$a->%property} in {$a->%library}';
|
|
$string['invalidlibraryproperty'] = 'Can\'t read the property {$a->%property} in {$a->%library}';
|
|
$string['missinglibraryproperty'] = 'The required property {$a->%property} is missing from {$a->%library}';
|
|
$string['invalidlibraryoption'] = 'Illegal option {$a->%option} in {$a->%library}';
|
|
$string['addedandupdatelibraries'] = 'Added {$a->%new} new H5P libraries and updated {$a->%old} old.';
|
|
$string['addednewlibraries'] = 'Added {$a->%new} new H5P libraries.';
|
|
$string['updatedlibraries'] = 'Updated {$a->%old} H5P libraries.';
|
|
$string['missingdependency'] = 'Missing dependency {$a->@dep} required by {$a->@lib}.';
|
|
$string['invalidstring'] = 'Provided string is not valid according to regexp in semantics. (value: \"{$a->%value}\", regexp: \"{$a->%regexp}\")';
|
|
$string['invalidfile'] = 'File "{$a->%filename}" not allowed. Only files with the following extensions are allowed: {$a->%files-allowed}.';
|
|
$string['invalidmultiselectoption'] = 'Invalid selected option in multi-select.';
|
|
$string['invalidselectoption'] = 'Invalid selected option in select.';
|
|
$string['invalidsemanticstype'] = 'H5P internal error: unknown content type "{$a->@type}" in semantics. Removing content!';
|
|
$string['invalidsemantics'] = 'Library used in content is not a valid library according to semantics';
|
|
$string['copyrightinfo'] = 'Copyright information';
|
|
$string['years'] = 'Year(s)';
|
|
$string['undisclosed'] = 'Undisclosed';
|
|
$string['attribution'] = 'Attribution 4.0';
|
|
$string['attributionsa'] = 'Attribution-ShareAlike 4.0';
|
|
$string['attributionnd'] = 'Attribution-NoDerivs 4.0';
|
|
$string['attributionnc'] = 'Attribution-NonCommercial 4.0';
|
|
$string['attributionncsa'] = 'Attribution-NonCommercial-ShareAlike 4.0';
|
|
$string['attributionncnd'] = 'Attribution-NonCommercial-NoDerivs 4.0';
|
|
$string['gpl'] = 'General Public License v3';
|
|
$string['pd'] = 'Public Domain';
|
|
$string['pddl'] = 'Public Domain Dedication and Licence';
|
|
$string['pdm'] = 'Public Domain Mark';
|
|
$string['copyrightstring'] = 'Copyright';
|
|
$string['unabletocreatedir'] = 'Unable to create directory.';
|
|
$string['unabletogetfieldtype'] = 'Unable to get field type.';
|
|
$string['filetypenotallowed'] = 'File type isn\'t allowed.';
|
|
$string['invalidfieldtype'] = 'Invalid field type.';
|
|
$string['invalidimageformat'] = 'Invalid image file format. Use jpg, png or gif.';
|
|
$string['filenotimage'] = 'File is not an image.';
|
|
$string['invalidaudioformat'] = 'Invalid audio file format. Use mp3 or wav.';
|
|
$string['invalidvideoformat'] = 'Invalid video file format. Use mp4 or webm.';
|
|
$string['couldnotsave'] = 'Could not save file.';
|
|
$string['couldnotcopy'] = 'Could not copy file.';
|
|
|
|
// Welcome messages
|
|
$string['welcomeheader'] = 'Welcome to the world of H5P!';
|
|
$string['welcomegettingstarted'] =
|
|
'To get started with H5P and Moodle take a look at our ' .
|
|
'<a {$a->moodle_tutorial}>tutorial</a> and check out the ' .
|
|
'<a {$a->example_content}>example content</a> at H5P.org for inspiration.<br>';
|
|
$string['welcomeinstalledh5ps'] =
|
|
'The most popuplar content types have been installed for your convenience!';
|
|
$string['welcomecommunity'] =
|
|
'We hope you will enjoy H5P and get engaged in our growing community through our ' .
|
|
'<a {$a->forums}>forums</a> and chat room ' .
|
|
'<a {$a->gitter}>H5P at Gitter</a>';
|
|
$string['welcomecontactus'] =
|
|
'If you have any feedback, don\'t hesitate to ' .
|
|
'<a {$a}>contact us</a>. ' .
|
|
'We take feedback very seriously and are dedicated ' .
|
|
'to making H5P better every day!';
|