Merge branch 'MDL-73625-master' of https://github.com/jleyva/moodle
This commit is contained in:
@@ -418,7 +418,8 @@ class api {
|
||||
$course = new lang_string('course');
|
||||
$modules = new lang_string('managemodules');
|
||||
$blocks = new lang_string('blocks');
|
||||
$user = new lang_string('user');
|
||||
$useraccount = new lang_string('useraccount');
|
||||
$participants = new lang_string('participants');
|
||||
$files = new lang_string('files');
|
||||
$remoteaddons = new lang_string('remoteaddons', 'tool_mobile');
|
||||
$identityproviders = new lang_string('oauth2identityproviders', 'tool_mobile');
|
||||
@@ -426,8 +427,8 @@ class api {
|
||||
$availablemods = core_plugin_manager::instance()->get_plugins_of_type('mod');
|
||||
$coursemodules = array();
|
||||
$appsupportedmodules = array(
|
||||
'assign', 'book', 'chat', 'choice', 'data', 'feedback', 'folder', 'forum', 'glossary', 'h5pactivity', 'imscp',
|
||||
'label', 'lesson', 'lti', 'page', 'quiz', 'resource', 'scorm', 'survey', 'url', 'wiki', 'workshop');
|
||||
'assign', 'bigbluebuttonbn', 'book', 'chat', 'choice', 'data', 'feedback', 'folder', 'forum', 'glossary', 'h5pactivity',
|
||||
'imscp', 'label', 'lesson', 'lti', 'page', 'quiz', 'resource', 'scorm', 'survey', 'url', 'wiki', 'workshop');
|
||||
|
||||
foreach ($availablemods as $mod) {
|
||||
if (in_array($mod->name, $appsupportedmodules)) {
|
||||
@@ -452,6 +453,7 @@ class api {
|
||||
'activity_results' => 'CoreBlockDelegate_AddonBlockActivityResults',
|
||||
'site_main_menu' => 'CoreBlockDelegate_AddonBlockSiteMainMenu',
|
||||
'myoverview' => 'CoreBlockDelegate_AddonBlockMyOverview',
|
||||
'course_list' => 'CoreBlockDelegate_AddonBlockCourseList',
|
||||
'timeline' => 'CoreBlockDelegate_AddonBlockTimeline',
|
||||
'recentlyaccessedcourses' => 'CoreBlockDelegate_AddonBlockRecentlyAccessedCourses',
|
||||
'starredcourses' => 'CoreBlockDelegate_AddonBlockStarredCourses',
|
||||
@@ -470,6 +472,9 @@ class api {
|
||||
'lp' => 'CoreBlockDelegate_AddonBlockLp',
|
||||
'news_items' => 'CoreBlockDelegate_AddonBlockNewsItems',
|
||||
'online_users' => 'CoreBlockDelegate_AddonBlockOnlineUsers',
|
||||
'private_files' => 'CoreBlockDelegate_AddonBlockPrivateFiles',
|
||||
'recent_activity' => 'CoreBlockDelegate_AddonBlockRecentActivity',
|
||||
'rss_client' => 'CoreBlockDelegate_AddonBlockRssClient',
|
||||
'selfcompletion' => 'CoreBlockDelegate_AddonBlockSelfCompletion',
|
||||
'tags' => 'CoreBlockDelegate_AddonBlockTags',
|
||||
);
|
||||
@@ -497,42 +502,43 @@ class api {
|
||||
),
|
||||
"$mainmenu" => array(
|
||||
'$mmSideMenuDelegate_mmaFrontpage' => new lang_string('sitehome'),
|
||||
'$mmSideMenuDelegate_mmCourses' => new lang_string('mycourses'),
|
||||
'CoreMainMenuDelegate_CoreCoursesDashboard' => new lang_string('myhome'),
|
||||
'$mmSideMenuDelegate_mmaCalendar' => new lang_string('calendar', 'calendar'),
|
||||
'$mmSideMenuDelegate_mmaNotifications' => new lang_string('notifications', 'message'),
|
||||
'$mmSideMenuDelegate_mmCourses' => new lang_string('mycourses'),
|
||||
'$mmSideMenuDelegate_mmaMessages' => new lang_string('messages', 'message'),
|
||||
'$mmSideMenuDelegate_mmaGrades' => new lang_string('grades', 'grades'),
|
||||
'$mmSideMenuDelegate_mmaCompetency' => new lang_string('myplans', 'tool_lp'),
|
||||
'$mmSideMenuDelegate_mmaNotifications' => new lang_string('notifications', 'message'),
|
||||
'$mmSideMenuDelegate_mmaCalendar' => new lang_string('calendar', 'calendar'),
|
||||
'CoreMainMenuDelegate_AddonBlog' => new lang_string('blog', 'blog'),
|
||||
'$mmSideMenuDelegate_mmaFiles' => new lang_string('files'),
|
||||
'CoreMainMenuDelegate_CoreTag' => new lang_string('tags'),
|
||||
'$mmSideMenuDelegate_website' => new lang_string('webpage'),
|
||||
'$mmSideMenuDelegate_help' => new lang_string('help'),
|
||||
'CoreMainMenuDelegate_QrReader' => new lang_string('scanqrcode', 'tool_mobile'),
|
||||
),
|
||||
"$useraccount" => array(
|
||||
'$mmSideMenuDelegate_mmaGrades' => new lang_string('grades', 'grades'),
|
||||
'$mmSideMenuDelegate_mmaFiles' => new lang_string('files'),
|
||||
'CoreUserDelegate_AddonBadges:account' => new lang_string('badges', 'badges'),
|
||||
'CoreUserDelegate_AddonBlog:account' => new lang_string('blog', 'blog'),
|
||||
'$mmSideMenuDelegate_mmaCompetency' => new lang_string('myplans', 'tool_lp'),
|
||||
'NoDelegate_SwitchAccount' => new lang_string('switchaccount', 'tool_mobile'),
|
||||
),
|
||||
"$course" => array(
|
||||
'$mmCoursesDelegate_mmaParticipants' => new lang_string('participants'),
|
||||
'$mmCoursesDelegate_mmaGrades' => new lang_string('grades', 'grades'),
|
||||
'$mmCoursesDelegate_mmaCompetency' => new lang_string('competencies', 'competency'),
|
||||
'$mmCoursesDelegate_mmaNotes' => new lang_string('notes', 'notes'),
|
||||
'$mmCoursesDelegate_mmaCourseCompletion' => new lang_string('coursecompletion', 'completion'),
|
||||
'NoDelegate_CourseBlocks' => new lang_string('blocks'),
|
||||
'CoreCourseOptionsDelegate_AddonBlog' => new lang_string('blog', 'blog'),
|
||||
'$mmCoursesDelegate_search' => new lang_string('search'),
|
||||
'$mmCoursesDelegate_mmaCompetency' => new lang_string('competencies', 'competency'),
|
||||
'$mmCoursesDelegate_mmaParticipants' => new lang_string('participants'),
|
||||
'$mmCoursesDelegate_mmaGrades' => new lang_string('grades', 'grades'),
|
||||
'$mmCoursesDelegate_mmaCourseCompletion' => new lang_string('coursecompletion', 'completion'),
|
||||
'$mmCoursesDelegate_mmaNotes' => new lang_string('notes', 'notes'),
|
||||
'NoDelegate_CoreCourseDownload' => new lang_string('downloadcourse', 'tool_mobile'),
|
||||
'NoDelegate_CoreCoursesDownload' => new lang_string('downloadcourses', 'tool_mobile'),
|
||||
),
|
||||
"$user" => array(
|
||||
'CoreUserDelegate_AddonBlog:blogs' => new lang_string('blog', 'blog'),
|
||||
'$mmUserDelegate_mmaBadges' => new lang_string('badges', 'badges'),
|
||||
'$mmUserDelegate_mmaCompetency:learningPlan' => new lang_string('competencies', 'competency'),
|
||||
'$mmUserDelegate_mmaCourseCompletion:viewCompletion' => new lang_string('coursecompletion', 'completion'),
|
||||
"$participants" => array(
|
||||
'$mmUserDelegate_mmaGrades:viewGrades' => new lang_string('grades', 'grades'),
|
||||
'$mmUserDelegate_mmaCourseCompletion:viewCompletion' => new lang_string('coursecompletion', 'completion'),
|
||||
'$mmUserDelegate_mmaBadges' => new lang_string('badges', 'badges'),
|
||||
'$mmUserDelegate_mmaNotes:addNote' => new lang_string('notes', 'notes'),
|
||||
'CoreUserDelegate_AddonBlog:blogs' => new lang_string('blog', 'blog'),
|
||||
'$mmUserDelegate_mmaCompetency:learningPlan' => new lang_string('competencies', 'competency'),
|
||||
'$mmUserDelegate_mmaMessages:sendMessage' => new lang_string('sendmessage', 'message'),
|
||||
'$mmUserDelegate_mmaMessages:addContact' => new lang_string('addcontact', 'message'),
|
||||
'$mmUserDelegate_mmaMessages:blockContact' => new lang_string('blockcontact', 'message'),
|
||||
'$mmUserDelegate_mmaNotes:addNote' => new lang_string('addnewnote', 'notes'),
|
||||
'$mmUserDelegate_picture' => new lang_string('userpic'),
|
||||
),
|
||||
"$files" => array(
|
||||
|
||||
@@ -71,7 +71,7 @@ $string['filetypeexclusionlistplaceholder'] = 'Mobile file type exclusion list';
|
||||
$string['forcedurlscheme'] = 'If you want to allow only your custom branded app to be opened via a browser window, then specify its URL scheme here. If you want to allow only the official app, then set the default value. Leave the field empty if you want to allow any app.';
|
||||
$string['forcedurlscheme_key'] = 'URL scheme';
|
||||
$string['forcelogout'] = 'Force log out';
|
||||
$string['forcelogout_desc'] = 'If enabled, the app option \'Change site\' is replaced by \'Log out\'. This results in the user being completely logged out. They must then re-enter their password the next time they wish to access the site.';
|
||||
$string['forcelogout_desc'] = 'If enabled, users will be always completely logged out even when switching accounts. They must then re-enter their password the next time they wish to access the site.';
|
||||
$string['h5poffline'] = 'View H5P content offline';
|
||||
$string['httpsrequired'] = 'HTTPS required';
|
||||
$string['insecurealgorithmwarning'] = 'It seems that the HTTPS certificate uses an insecure algorithm for signing (SHA-1). Please try updating the certificate.';
|
||||
@@ -147,6 +147,7 @@ $string['getmoodleonyourmobile'] = 'Get the mobile app';
|
||||
$string['privacy:metadata:preference:tool_mobile_autologin_request_last'] = 'The date of the last auto-login key request. Between each request 6 minutes are required.';
|
||||
$string['privacy:metadata:core_userkey'] = 'User\'s keys used to create auto-login key for the current user.';
|
||||
$string['responsivemainmenuitems'] = 'Responsive menu items';
|
||||
$string['switchaccount'] = 'Switch account';
|
||||
$string['viewqrcode'] = 'View QR code';
|
||||
|
||||
// Deprecated since Moodle 3.10.
|
||||
|
||||
Reference in New Issue
Block a user