diff --git a/admin/tool/mobile/classes/api.php b/admin/tool/mobile/classes/api.php index aea9aef3f48..b78de8f3147 100644 --- a/admin/tool/mobile/classes/api.php +++ b/admin/tool/mobile/classes/api.php @@ -48,8 +48,6 @@ class api { const LOGIN_VIA_EMBEDDED_BROWSER = 3; /** @var int seconds an auto-login key will expire. */ const LOGIN_KEY_TTL = 60; - /** @var str link to the custom strings documentation for the app */ - const CUSTOM_STRINGS_DOC_URL = 'https://docs.moodle.org/en/Moodle_Mobile_language_strings_customisation'; /** * Returns a list of Moodle plugins supporting the mobile app. diff --git a/admin/tool/mobile/lang/en/tool_mobile.php b/admin/tool/mobile/lang/en/tool_mobile.php index bdab272efc4..842f45bfc2b 100644 --- a/admin/tool/mobile/lang/en/tool_mobile.php +++ b/admin/tool/mobile/lang/en/tool_mobile.php @@ -32,7 +32,7 @@ $string['customlangstrings_desc'] = 'Words and phrases displayed in the app can mm.user.student|Learner|en mm.user.student|Aprendiz|es -For a complete list of string identifiers and more information, see the documentation page.'; +For a complete list of string identifiers, see the documentation.'; $string['custommenuitems'] = 'Custom menu items'; $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 (inappbrowser, browser or embedded) and language code (optional, for displaying the item to users of the specified language only), separated by pipe characters. For example:
diff --git a/admin/tool/mobile/settings.php b/admin/tool/mobile/settings.php
index 11e3c98bcbd..2700816bb52 100644
--- a/admin/tool/mobile/settings.php
+++ b/admin/tool/mobile/settings.php
@@ -109,8 +109,7 @@ if ($hassiteconfig) {
 
         $temp->add(new admin_setting_configtextarea('tool_mobile/customlangstrings',
                     new lang_string('customlangstrings', 'tool_mobile'),
-                    new lang_string('customlangstrings_desc', 'tool_mobile', tool_mobile\api::CUSTOM_STRINGS_DOC_URL),
-                    '', PARAM_RAW, '50', '10'));
+                    new lang_string('customlangstrings_desc', 'tool_mobile'), '', PARAM_RAW, '50', '10'));
 
         $ADMIN->add('mobileapp', $temp);
     }