MDL-68116 atto_h5p: deprecate unused strings
authorSara Arjona <sara@moodle.com>
Wed, 18 Mar 2020 13:25:59 +0000 (14:25 +0100)
committerSara Arjona <sara@moodle.com>
Fri, 20 Mar 2020 09:07:34 +0000 (10:07 +0100)
lib/editor/atto/plugins/h5p/lang/en/atto_h5p.php
lib/editor/atto/plugins/h5p/lang/en/deprecated.txt [new file with mode: 0644]

index 0469ddc..5bac588 100644 (file)
 $string['browserepositories'] = 'Browse repositories...';
 $string['copyrightbutton'] = 'Copyright button';
 $string['downloadbutton'] = 'Allow download';
-$string['either'] = 'Either';
 $string['embedbutton'] = 'Embed button';
-$string['enterurl'] = 'URL or embed code';
 $string['h5p:addembed'] = 'Add embedded H5P';
 $string['h5pfile'] = 'H5P file upload';
 $string['h5pfileorurl'] = 'H5P URL or file upload';
 $string['h5poptions'] = 'H5P options';
-$string['h5pproperties'] = 'H5P properties';
 $string['h5purl'] = 'H5P URL';
 $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['pluginname'] = 'Insert H5P';
 $string['privacy:metadata'] = 'The atto_h5p plugin does not store any personal data.';
-$string['or'] = 'or';
\ No newline at end of file
+
+// Deprecated since Moodle 3.9.
+$string['either'] = 'Either';
+$string['enterurl'] = 'URL or embed code';
+$string['h5pproperties'] = 'H5P properties';
+$string['or'] = 'or';
diff --git a/lib/editor/atto/plugins/h5p/lang/en/deprecated.txt b/lib/editor/atto/plugins/h5p/lang/en/deprecated.txt
new file mode 100644 (file)
index 0000000..baee94f
--- /dev/null
@@ -0,0 +1,4 @@
+either,atto_h5p
+enterurl,atto_h5p
+h5pproperties,atto_h5p
+or,atto_h5p
\ No newline at end of file