Developer Documentation

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.
  • Differences Between: [Versions 310 and 311] [Versions 311 and 400] [Versions 37 and 311] [Versions 38 and 311] [Versions 39 and 311]

       1  <?php
       2  // This file is part of Moodle -
       3  //
       4  // Moodle is free software: you can redistribute it and/or modify
       5  // it under the terms of the GNU General Public License as published by
       6  // the Free Software Foundation, either version 3 of the License, or
       7  // (at your option) any later version.
       8  //
       9  // Moodle is distributed in the hope that it will be useful,
      10  // but WITHOUT ANY WARRANTY; without even the implied warranty of
      12  // GNU General Public License for more details.
      13  //
      14  // You should have received a copy of the GNU General Public License
      15  // along with Moodle.  If not, see <>.
      17  /**
      18   * Strings for component 'tool_mobile', language 'en'
      19   *
      20   * @package    tool_mobile
      21   * @copyright  2016 Juan Leyva
      22   * @license GNU GPL v3 or later
      23   */
      25  $string['adodbdebugwarning'] = 'ADOdb debugging is enabled. It should be disabled in the external database authentication or external database enrolment plugin settings.';
      26  $string['androidappid'] = 'Android app\'s unique identifier';
      27  $string['androidappid_desc'] = 'This setting may be left as default unless you have a custom Android app.';
      28  $string['apppolicy'] = 'App policy URL';
      29  $string['apppolicy_help'] = 'The URL of a policy for app users which is listed on the About page in the app. If the field is left empty, the site policy URL will be used instead.';
      30  $string['apprequired'] = 'This functionality is only available when accessed via the Moodle mobile or desktop app.';
      31  $string['autologinkeygenerationlockout'] = 'Auto-login key generation is blocked. You need to wait 6 minutes between requests.';
      32  $string['autologinnotallowedtoadmins'] = 'Auto-login is not allowed for site admins.';
      33  $string['cachedef_plugininfo'] = 'This stores the list of plugins with mobile addons';
      34  $string['cachedef_subscriptiondata'] = 'This stores the Moodle app subscription information.';
      35  $string['clickheretolaunchtheapp'] = 'Click here if the app does not open automatically.';
      36  $string['configmobilecssurl'] = 'A CSS file to customise your mobile app interface.';
      37  $string['customlangstrings'] = 'Custom language strings';
      38  $string['customlangstrings_desc'] = 'Words and phrases displayed in the app can be customised here. Enter each custom language string on a new line with format: string identifier, custom language string and language code, separated by pipe characters. For example:
      39  <pre>
      40  mm.user.student|Learner|en
      41  mm.user.student|Aprendiz|es
      42  </pre>
      43  For a complete list of string identifiers, see the documentation.';
      44  $string['custommenuitems'] = 'Custom menu items';
      45  $string['custommenuitems_desc'] = 'Additional items can be added to the app\'s main menu by specifying them here. Enter each custom menu item on a new line with format: item text, link URL, link-opening method and language code (optional, for displaying the item to users of the specified language only), separated by pipe characters.
      47  Link-opening methods are: app (for linking to an activity supported by the app), inappbrowser (for opening a link in a browser without leaving the app), browser (for opening the link in the device default browser outside the app) and embedded (for displaying the link in an iframe in a new page in the app).
      49  When items are missing a translation for a given language, they will use other languages as fallback unless "_only" is appended to the language code.
      51  For example:
      52  <pre>
      53  App help||inappbrowser
      54  My grades||embedded|en
      55  Mis calificaciones||embedded|es
      56  You will only see this in English||browser|en_only
      57  </pre>';
      58  $string['darkmode'] = 'Dark mode';
      59  $string['disabledfeatures'] = 'Disabled features';
      60  $string['disabledfeatures_desc'] = 'Select here the features you want to disable in the Mobile app for your site. Please note that some features listed here could be already disabled via other site settings. You will have to log out and log in again in the app to see the changes.';
      61  $string['displayerrorswarning'] = 'Display debug messages (debugdisplay) is enabled. It should be disabled.';
      62  $string['downloadcourse'] = 'Download course';
      63  $string['downloadcourses'] = 'Download courses';
      64  $string['enablesmartappbanners'] = 'Enable App Banners';
      65  $string['enablesmartappbanners_desc'] = 'If enabled, a banner promoting the mobile app will be displayed when accessing the site using a mobile browser.';
      66  $string['filetypeexclusionlist'] = 'File type exclusion list';
      67  $string['filetypeexclusionlist_desc'] = 'Select all file types which are not for use on a mobile device. Such files will be listed in the course, then if a user attempts to open them, a warning will be displayed advising that the file type is not intended for use on a mobile device. The user can then cancel or ignore the warning and open the file anyway.';
      68  $string['filetypeexclusionlistplaceholder'] = 'Mobile file type exclusion list';
      69  $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.';
      70  $string['forcedurlscheme_key'] = 'URL scheme';
      71  $string['forcelogout'] = 'Force log out';
      72  $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.';
      73  $string['h5poffline'] = 'View H5P content offline';
      74  $string['httpsrequired'] = 'HTTPS required';
      75  $string['insecurealgorithmwarning'] = 'It seems that the HTTPS certificate uses an insecure algorithm for signing (SHA-1). Please try updating the certificate.';
      76  $string['invalidcertificatechainwarning'] = 'It seems that the certificate chain is invalid. This certificate might work for a browser but not for a mobile app.';
      77  $string['invalidcertificateexpiredatewarning'] = 'It seems that the HTTPS certificate for the site has expired.';
      78  $string['invalidcertificatestartdatewarning'] = 'It seems that the HTTPS certificate for the site is not yet valid (with a start date in the future).';
      79  $string['invalidprivatetoken'] = 'Invalid private token. Token should not be empty or passed via GET parameter.';
      80  $string['invaliduserquotawarning'] = 'The user quota (userquota) is set to an invalid number. It should be set to a valid number (an integer value) in Site security settings.';
      81  $string['iosappid'] = 'iOS app\'s unique identifier';
      82  $string['iosappid_desc'] = 'This setting may be left as default unless you have a custom iOS app.';
      83  $string['launchviasiteinbrowser'] = 'Launch via site in system browser';
      84  $string['loginintheapp'] = 'Via the app';
      85  $string['logininthebrowser'] = 'Via a browser window (for SSO plugins)';
      86  $string['loginintheembeddedbrowser'] = 'Via an embedded browser (for SSO plugins)';
      87  $string['logoutconfirmation'] = 'Are you sure you want to log out from the mobile app on your mobile devices? By logging out, you will then need to re-enter your username and password in the mobile app on all devices where you have the app installed.';
      88  $string['mainmenu'] = 'Main menu';
      89  $string['managefiletypes'] = 'Manage file types';
      90  $string['minimumversion'] = 'If an app version is specified (3.8.0 or higher), any users using an older app version will be prompted to upgrade their app before being allowed access to the site.';
      91  $string['minimumversion_key'] = 'Minimum app version required';
      92  $string['mobileapp'] = 'Mobile app';
      93  $string['mobileappenabled'] = 'This site has mobile app access enabled.<br /><a href="{$a}">Download the mobile app</a>.';
      94  $string['mobileappearance'] = 'Mobile appearance';
      95  $string['mobileappsubscription'] = 'Moodle app subscription';
      96  $string['mobileauthentication'] = 'Mobile authentication';
      97  $string['mobilecssurl'] = 'CSS';
      98  $string['mobilefeatures'] = 'Mobile features';
      99  $string['mobilenotificationsdisabledwarning'] = 'Mobile notifications are not enabled. They should be enabled in Notification settings.';
     100  $string['mobilesettings'] = 'Mobile settings';
     101  $string['moodleappsportalfeatureswarning'] = 'Please note that some features may be restricted depending on your Moodle app subscription. For details, visit the <a href="{$a}" target="_blank">Moodle Apps Portal</a>.';
     102  $string['notifications'] = 'Notifications';
     103  $string['notificationsactivedevices'] = 'Active devices';
     104  $string['notificationsignorednotifications'] = 'Notifications not sent';
     105  $string['notificationslimitreached'] = 'The monthly active user devices limit has been exceeded. Notifications for some users will not be sent. It is recommended that you upgrade your app plan in the <a href="{$a}" target="_blank">Moodle Apps Portal</a>.';
     106  $string['notificationsmissingwarning'] = 'Moodle app notification statistics could not be retrieved. This is most likely because mobile notifications are not yet enabled on the site. You can enable them in Site Administration / Messaging / Mobile.';
     107  $string['notificationsnewdevices'] = 'New devices';
     108  $string['notificationsseemore'] = 'Note: Moodle app usage statistics are not calculated in real time. To access more detailed statistics, including data from previous months, please log in to the <a href="{$a}" target="_blank">Moodle Apps Portal</a>.';
     109  $string['notificationssentnotifications'] = 'Notifications sent';
     110  $string['notificationscurrentactivedevices'] = 'Devices receiving notifications this month';
     111  $string['oauth2identityproviders'] = 'OAuth 2 identity providers';
     112  $string['offlineuse'] = 'Offline use';
     113  $string['pluginname'] = 'Moodle app tools';
     114  $string['pluginnotenabledorconfigured'] = 'Plugin not enabled or configured.';
     115  $string['qrcodedisabled'] = 'Access via QR code disabled';
     116  $string['qrcodeformobileappaccess'] = 'QR code for mobile app access';
     117  $string['qrcodeformobileapploginabout'] = 'Scan the QR code with your mobile app and you will be automatically logged in. The QR code will expire in {$a} minutes.';
     118  $string['qrcodeformobileappurlabout'] = 'Scan the QR code with your mobile app to fill in the site URL in your app.';
     119  $string['qrsiteadminsnotallowed'] = 'For security reasons login via QR code is not allowed for site administrators or if you are logged in as another user.';
     120  $string['qrcodetype'] = 'QR code access';
     121  $string['qrcodetype_desc'] = 'A QR code can be provided for mobile app users to scan. This can be used to fill in the site URL, or where the site is secured using HTTPS, to automatically log the user in without having to enter their username and password.';
     122  $string['qrcodetypeurl'] = 'QR code with site URL';
     123  $string['qrcodetypelogin'] = 'QR code with automatic login';
     124  $string['readingthisemailgettheapp'] = 'Reading this in an email? <a href="{$a}">Download the mobile app and receive notifications on your mobile device</a>.';
     125  $string['remoteaddons'] = 'Remote add-ons';
     126  $string['scanqrcode'] = 'Scan QR code';
     127  $string['selfsignedoruntrustedcertificatewarning'] = 'It seems that the HTTPS certificate is self-signed or not trusted. The mobile app will only work with trusted sites. Please use any online SSL checker to diagnose the problem. If it indicates that your certificate is OK, you can ignore this warning.';
     128  $string['setuplink'] = 'App download page';
     129  $string['setuplink_desc'] = 'URL of page with options to download the mobile app from the App Store and Google Play. The app download page link is displayed in the page footer and in a user\'s profile. Leave blank to not display a link.';
     130  $string['smartappbanners'] = 'App Banners';
     131  $string['subscription'] = 'Subscription';
     132  $string['subscriptioncreated'] = 'Start date';
     133  $string['subscriptionerrorrequest'] = 'There was an unexpected error when trying to retrieve your Moodle app subscription information.';
     134  $string['subscriptionexpiration'] = 'Expiry date';
     135  $string['subscriptionfeaturenotapplied'] = 'This feature is configured on your site but it is not included in your Moodle app plan. Thus, the setting will have no effect.';
     136  $string['subscriptionfeatures'] = 'Subscription features';
     137  $string['subscriptionlimitsurpassed'] = 'Subscription limit exceeded';
     138  $string['subscriptionregister'] = 'For details of the various app plans, and to access Moodle app usage statistics, please visit the <a href="{$a}" target="_blank">Moodle Apps Portal</a>.';
     139  $string['subscriptionsseemore'] = 'Note: The information displayed is not updated in real time. You may need to log out and log in again to see updates. For information on upgrading your app plan, please log in to the <a href="{$a}" target="_blank">Moodle Apps Portal</a>.';
     140  $string['typeoflogin'] = 'Type of login';
     141  $string['typeoflogin_desc'] = 'If the site uses a SSO authentication method, then select via a browser window or via an embedded browser. An embedded browser provides a better user experience, though it doesn\'t work with all SSO plugins.';
     142  $string['getmoodleonyourmobile'] = 'Get the mobile app';
     143  $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.';
     144  $string['privacy:metadata:core_userkey'] = 'User\'s keys used to create auto-login key for the current user.';
     145  $string['responsivemainmenuitems'] = 'Responsive menu items';
     146  $string['switchaccount'] = 'Switch account';
     147  $string['viewqrcode'] = 'View QR code';
     149  // Deprecated since Moodle 3.10.
     150  $string['mobileappconnected'] = 'Mobile app connected';
     152  // Deprecated since Moodle 3.11.
     153  $string['openusingembeddedbrowser'] = 'Open using embedded browser';