diff --git a/classes/privacy/provider.php b/classes/privacy/provider.php new file mode 100644 index 0000000..9335c92 --- /dev/null +++ b/classes/privacy/provider.php @@ -0,0 +1,47 @@ +. + +/** + * Tiny multilang2 plugin - Privacy provider + * + * @package tiny_multilang2 + * @copyright 2023 Luca Bösch + * @copyright 2023 Stephan Robotta + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ + +namespace tiny_multilang2\privacy; + +/** + * Privacy Subsystem implementing null_provider. + * + * @package tiny_multilang2 + * @copyright 2023 Luca Bösch + * @copyright 2023 Stephan Robotta + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ +class provider implements \core_privacy\local\metadata\null_provider { + + /** + * Get the language string identifier with the component's language + * file to explain why this plugin stores no data. + * + * @return string + */ + public static function get_reason() : string { + return 'privacy:metadata'; + } +} diff --git a/lang/de/tiny_multilang2.php b/lang/de/tiny_multilang2.php index d6bc08f..a9f341e 100644 --- a/lang/de/tiny_multilang2.php +++ b/lang/de/tiny_multilang2.php @@ -46,6 +46,7 @@ $string['requiremultilang2_desc'] = 'Wenn aktiviert, wird das Menü und der Button im Editor nur dann angezeigt, wenn der Multi-Language Content (v2) Filter aktiv ist.'; $string['showalllangs'] = 'Zeige alle Sprachen'; $string['showalllangs_desc'] = 'Wenn aktiviert, werden im Editor alle Sprachen angezeigt, die von Moodle unterstützt werden. Wenn nicht aktivert, werden nur die installierten und aktiven Sprachen angezeigt.'; +$string['privacy:metadata'] = 'Das Tiny Multi-Language Content (v2) Plugin speichert keine personenbezogenen Daten.'; /* All lang strings used from TinyMCE JavaScript code must be named 'pluginname:stringname', no need to create langs/en_dlg.js */ $string['multilang2:desc'] = 'Unterstützung zum Hinzufügen von sprachabhänigem Inhalt (der Multi-Language Content (v2) filter muß aktiviert sein)'; diff --git a/lang/en/tiny_multilang2.php b/lang/en/tiny_multilang2.php index 20cef50..7559838 100644 --- a/lang/en/tiny_multilang2.php +++ b/lang/en/tiny_multilang2.php @@ -46,6 +46,7 @@ $string['requiremultilang2_desc'] = 'If enabled, the language drop down menu is visible only when the Multi-Language Content (v2) filter is enabled.'; $string['showalllangs'] = 'Show all languages'; $string['showalllangs_desc'] = 'If enabled, the language drop down menu will contain all the languages Moodle supports. If not, only the installed and enabled languages will be shown.'; +$string['privacy:metadata'] = 'The Tiny Multi-Language Content (v2) plugin does not store any personal data.'; /* All lang strings used from TinyMCE JavaScript code must be named 'pluginname:stringname', no need to create langs/en_dlg.js */ $string['multilang2:desc'] = 'Helps adding multilingual content (you need the Multi-Language Content (v2) filter enabled)'; diff --git a/lang/es/tiny_multilang2.php b/lang/es/tiny_multilang2.php index a2510df..f5b41dc 100644 --- a/lang/es/tiny_multilang2.php +++ b/lang/es/tiny_multilang2.php @@ -46,6 +46,7 @@ $string['requiremultilang2_desc'] = 'Si se habilita, el menú desplegable de selección de idiomas solo es visible cuando esté habilitado el filtro de Contenido Multi-Idioma (v2).'; $string['showalllangs'] = 'Mostrar todos los idiomas'; $string['showalllangs_desc'] = 'Si se habilita, el menú desplegable de selección de idiomas contendrá todos los idiomas soportados por Moodle. En caso contrario, sólo se mostrarán los idiomas instalados y habilitados'; +$string['privacy:metadata'] = 'El plugin Tiny Contenido Multi-Idioma (v2) no guarda datos personales.'; /* All lang strings used from TinyMCE JavaScript code must be named 'pluginname:stringname', no need to create langs/en_dlg.js */ $string['multilang2:desc'] = 'Ayuda a añadir contenido multi-idioma (necesita tener habilitado el filtro de Contenido Multi-Idioma (v2))'; diff --git a/lang/fr/tiny_multilang2.php b/lang/fr/tiny_multilang2.php index e354b18..631fd35 100644 --- a/lang/fr/tiny_multilang2.php +++ b/lang/fr/tiny_multilang2.php @@ -46,6 +46,7 @@ $string['requiremultilang2_desc'] = 'Si activé, le menu déroulant des langues sera visible uniquement lorsque le filtre Contenu multilingue (v2) est activé.'; $string['showalllangs'] = 'Afficher toutes les langues'; $string['showalllangs_desc'] = 'Si activé, le menu déroulant des langues contiendra toutes les langues supporté dans Moodle. Si pas activé, seules les langues installées et activées apparaitront.'; +$string['privacy:metadata'] = 'Tiny Contenu multilingue (v2) ne stocke aucune donnée personnelle.'; /* All lang strings used from TinyMCE JavaScript code must be named 'pluginname:stringname', no need to create langs/en_dlg.js */ $string['multilang2:desc'] = 'Aide à ajouter du contenu multilingue (le filtre Contenu multilingue (v2) doit être activé)';