mirror of
https://github.com/moodle/moodle.git
synced 2025-04-16 14:02:32 +02:00
MDL-81572 editor_tiny: use standard plugin name in editor help dialog.
This commit is contained in:
parent
bcd8e0d6ed
commit
6cb06dc43a
7
.upgradenotes/MDL-81572-2024052421131873.yml
Normal file
7
.upgradenotes/MDL-81572-2024052421131873.yml
Normal file
@ -0,0 +1,7 @@
|
||||
issueNumber: MDL-81572
|
||||
notes:
|
||||
editor_tiny:
|
||||
- message: >-
|
||||
The `helplinktext` language string is no longer required by editor
|
||||
plugins, instead the `pluginname` will be used in the help dialogue
|
||||
type: changed
|
2
lib/editor/tiny/amd/build/utils.min.js
vendored
2
lib/editor/tiny/amd/build/utils.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -240,7 +240,7 @@ export const getDocumentationLink = (pluginName) => `https://docs.moodle.org/en/
|
||||
* @returns {object}
|
||||
*/
|
||||
export const getPluginMetadata = async(component, pluginName, url = null) => {
|
||||
const name = await getString('helplinktext', component);
|
||||
const name = await getString('pluginname', component);
|
||||
return {
|
||||
getMetadata: () => ({
|
||||
name,
|
||||
|
@ -0,0 +1 @@
|
||||
helplinktext,tiny_accessibilitychecker
|
@ -35,4 +35,6 @@ $string['tablesmissingheaders'] = 'Tables should use row and/or column headers.'
|
||||
$string['tableswithmergedcells'] = 'Tables should not contain merged cells, as screen readers may not support them.';
|
||||
$string['privacy:metadata'] = 'The accessibility checker for TinyMCE does not store any personal data.';
|
||||
$string['viewissue'] = 'View';
|
||||
|
||||
// Deprecated since Moodle 4.5.
|
||||
$string['helplinktext'] = 'Accessibility helper';
|
||||
|
1
lib/editor/tiny/plugins/autosave/lang/en/deprecated.txt
Normal file
1
lib/editor/tiny/plugins/autosave/lang/en/deprecated.txt
Normal file
@ -0,0 +1 @@
|
||||
helplinktext,tiny_autosave
|
@ -23,8 +23,10 @@
|
||||
*/
|
||||
|
||||
$string['pluginname'] = 'Tiny autosave';
|
||||
$string['helplinktext'] = 'Autosave';
|
||||
$string['privacy:metadata:database:tiny_autosave:userid'] = 'The user ID of the user who created the autosave session';
|
||||
$string['privacy:metadata:database:tiny_autosave:drafttext'] = 'The text content of the autosave session';
|
||||
$string['privacy:metadata:database:tiny_autosave:timemodified'] = 'The time that the autosave session was last modified';
|
||||
$string['privacy:metadata:database:tiny_autosave'] = 'A table storing autosave session data for the TinyMCE editor';
|
||||
|
||||
// Deprecated since Moodle 4.5.
|
||||
$string['helplinktext'] = 'Autosave';
|
||||
|
1
lib/editor/tiny/plugins/equation/lang/en/deprecated.txt
Normal file
1
lib/editor/tiny/plugins/equation/lang/en/deprecated.txt
Normal file
@ -0,0 +1 @@
|
||||
helplinktext,tiny_equation
|
@ -25,7 +25,6 @@
|
||||
$string['cursorinfo'] = 'An arrow indicates the position that new elements from the element library will be inserted.';
|
||||
$string['editequation'] = 'Edit equation using <a href="{$a}" target="_blank">TeX</a>';
|
||||
$string['buttontitle'] = 'Equation editor';
|
||||
$string['helplinktext'] = 'Equation helper';
|
||||
$string['librarygroup1'] = 'Operators';
|
||||
$string['librarygroup1_desc'] = 'TeX commands listed on the operators tab.';
|
||||
$string['librarygroup2'] = 'Arrows';
|
||||
@ -40,3 +39,6 @@ $string['settings'] = 'Equation editor settings';
|
||||
$string['pluginname'] = 'Tiny equation editor';
|
||||
$string['preview'] = 'Equation preview';
|
||||
$string['privacy:metadata'] = 'The equation editor for TinyMCE does not store any personal data.';
|
||||
|
||||
// Deprecated since Moodle 4.5.
|
||||
$string['helplinktext'] = 'Equation helper';
|
||||
|
1
lib/editor/tiny/plugins/h5p/lang/en/deprecated.txt
Normal file
1
lib/editor/tiny/plugins/h5p/lang/en/deprecated.txt
Normal file
@ -0,0 +1 @@
|
||||
helplinktext,tiny_h5p
|
@ -22,7 +22,6 @@
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
$string['helplinktext'] = 'H5P helper';
|
||||
$string['modaltitle'] = 'Insert H5P content';
|
||||
$string['buttontitle'] = 'Configure H5P content';
|
||||
$string['insert'] = 'Insert H5P content';
|
||||
@ -40,3 +39,6 @@ $string['invalidh5purl'] = 'Invalid URL';
|
||||
$string['instructions'] = 'You can insert H5P content by <strong>either</strong> entering a URL <strong>or</strong> by uploading an H5P file.';
|
||||
$string['noh5pcontent'] = 'No H5P content added';
|
||||
$string['privacy:metadata'] = 'The H5P plugin for TinyMCE does not store any personal data.';
|
||||
|
||||
// Deprecated since Moodle 4.5.
|
||||
$string['helplinktext'] = 'H5P helper';
|
||||
|
1
lib/editor/tiny/plugins/html/lang/en/deprecated.txt
Normal file
1
lib/editor/tiny/plugins/html/lang/en/deprecated.txt
Normal file
@ -0,0 +1 @@
|
||||
helplinktext,tiny_html
|
@ -25,6 +25,8 @@
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$string['helplinktext'] = 'HTML format helper';
|
||||
$string['pluginname'] = 'Tiny HTML formatter';
|
||||
$string['privacy:metadata'] = 'The HTML formatter plugin for TinyMCE does not store any personal data.';
|
||||
|
||||
// Deprecated since Moodle 4.5.
|
||||
$string['helplinktext'] = 'HTML format helper';
|
||||
|
1
lib/editor/tiny/plugins/link/lang/en/deprecated.txt
Normal file
1
lib/editor/tiny/plugins/link/lang/en/deprecated.txt
Normal file
@ -0,0 +1 @@
|
||||
helplinktext,tiny_link
|
@ -25,7 +25,6 @@
|
||||
$string['browserepositories'] = 'Browse repositories...';
|
||||
$string['createlink'] = 'Create link';
|
||||
$string['enterurl'] = 'Enter a URL';
|
||||
$string['helplinktext'] = 'Link';
|
||||
$string['openinnewwindow'] = 'Open in new window';
|
||||
$string['pluginname'] = 'Tiny link';
|
||||
$string['link'] = 'Link';
|
||||
@ -33,3 +32,6 @@ $string['unlink'] = 'Unlink';
|
||||
$string['updatelink'] = 'Update link';
|
||||
$string['privacy:metadata'] = 'The link plugin for TinyMCE does not store any personal data.';
|
||||
$string['texttodisplay'] = 'Text to display';
|
||||
|
||||
// Deprecated since Moodle 4.5.
|
||||
$string['helplinktext'] = 'Link';
|
||||
|
@ -3,4 +3,5 @@ alignment_bottom,tiny_media
|
||||
alignment_left,tiny_media
|
||||
alignment_middle,tiny_media
|
||||
alignment_right,tiny_media
|
||||
alignment_top,tiny_media
|
||||
alignment_top,tiny_media
|
||||
helplinktext,tiny_media
|
||||
|
@ -63,7 +63,6 @@ $string['enterurlor'] = 'Or add via URL';
|
||||
$string['filemanager'] = 'File manager';
|
||||
$string['hasmissingfiles'] = 'Warning! The following files that are referenced in the text area appear to be missing:';
|
||||
$string['height'] = 'Height';
|
||||
$string['helplinktext'] = 'Media helper';
|
||||
$string['imagebuttontitle'] = 'Image';
|
||||
$string['imagedetails'] = 'Image details';
|
||||
$string['imageproperties'] = 'Image properties';
|
||||
@ -120,3 +119,6 @@ $string['alignment_left'] = 'Left';
|
||||
$string['alignment_middle'] = 'Middle';
|
||||
$string['alignment_right'] = 'Right';
|
||||
$string['alignment_top'] = 'Top';
|
||||
|
||||
// Deprecated since Moodle 4.5.
|
||||
$string['helplinktext'] = 'Media helper';
|
||||
|
@ -0,0 +1 @@
|
||||
helplinktext,tiny_noautolink
|
@ -24,9 +24,11 @@
|
||||
|
||||
$string['buttontitle'] = 'No auto-link';
|
||||
$string['errorinvalidurl'] = 'The selected content is not a URL. Please try again.';
|
||||
$string['helplinktext'] = 'No auto-link helper';
|
||||
$string['infoaddsuccess'] = 'Auto-link prevention added.';
|
||||
$string['infoemptyselection'] = 'Select a URL and try again.';
|
||||
$string['inforemovesuccess'] = 'Auto-link prevention removed.';
|
||||
$string['pluginname'] = 'Tiny no auto-link';
|
||||
$string['privacy:metadata'] = 'The tiny_noautolink plugin does not store any personal data.';
|
||||
|
||||
// Deprecated since Moodle 4.5.
|
||||
$string['helplinktext'] = 'No auto-link helper';
|
||||
|
1
lib/editor/tiny/plugins/premium/lang/en/deprecated.txt
Normal file
1
lib/editor/tiny/plugins/premium/lang/en/deprecated.txt
Normal file
@ -0,0 +1 @@
|
||||
helplinktext,tiny_premium
|
@ -28,7 +28,6 @@ defined('MOODLE_INTERNAL') || die();
|
||||
$string['apikey'] = 'API key';
|
||||
$string['apikey_desc'] = 'Your API key is available on your <a target="_blank" href="https://www.tiny.cloud">Tiny Cloud</a> account page if you have purchased a subscription, or if you are on a free trial.';
|
||||
$string['emptyapikeywarning'] = 'Enabled TinyMCE Premium plugins will not be available until an API key is added.';
|
||||
$string['helplinktext'] = 'Premium plugins';
|
||||
$string['pluginname'] = 'TinyMCE Premium';
|
||||
$string['pluginnotfound'] = 'Tiny Premium plugin {$a} not found.';
|
||||
$string['premium:accesspremium'] = 'Access TinyMCE Premium features';
|
||||
@ -50,3 +49,6 @@ $string['premiumplugin:typography'] = 'Advanced Typography';
|
||||
$string['premiumplugins'] = 'Premium plugins';
|
||||
$string['premiumplugins_desc'] = 'Access to TinyMCE Premium plugins requires an API key. Not all listed plugins may be available with your TinyMCE Premium subscription. You can check available plugins on your <a target="_blank" href="https://www.tiny.cloud/my-account/integrate/">Tiny Cloud</a> account page.';
|
||||
$string['privacy:metadata'] = 'The Tiny premium plugin for TinyMCE does not store any personal data.';
|
||||
|
||||
// Deprecated since Moodle 4.5.
|
||||
$string['helplinktext'] = 'Premium plugins';
|
||||
|
1
lib/editor/tiny/plugins/recordrtc/lang/en/deprecated.txt
Normal file
1
lib/editor/tiny/plugins/recordrtc/lang/en/deprecated.txt
Normal file
@ -0,0 +1 @@
|
||||
helplinktext,tiny_recordrtc
|
@ -99,4 +99,6 @@ $string['videorecordmenutitle'] = 'Video record menu';
|
||||
$string['videotimelimit'] = 'Video time limit';
|
||||
$string['videotimelimit_desc'] = 'Maximum recording length for video clips.';
|
||||
$string['videotitle'] = 'Record video';
|
||||
|
||||
// Deprecated since Moodle 4.5.
|
||||
$string['helplinktext'] = 'RecordRTC';
|
||||
|
Loading…
x
Reference in New Issue
Block a user