Skip to content
Snippets Groups Projects
Commit 85a87552 authored by Justus Dieckmann's avatar Justus Dieckmann
Browse files

Sort strings in lang files alphabetically

parent f2181c4b
No related branches found
No related tags found
No related merge requests found
Showing
with 404 additions and 470 deletions
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
* @copyright 2017 Tobias Reischmann WWU * @copyright 2017 Tobias Reischmann WWU
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */
require_once(__DIR__ . '/../../../config.php'); require_once(__DIR__ . '/../../../config.php');
require_once($CFG->libdir . '/adminlib.php'); require_once($CFG->libdir . '/adminlib.php');
require_login(); require_login();
......
...@@ -191,7 +191,8 @@ class form_trigger_instance extends \moodleform { ...@@ -191,7 +191,8 @@ class form_trigger_instance extends \moodleform {
} }
} }
/** Validate the form. /**
* Validate the form.
* @param array $data array of ("fieldname"=>value) of submitted data * @param array $data array of ("fieldname"=>value) of submitted data
* @param array $files array of uploaded files "element_name"=>tmp_file_path * @param array $files array of uploaded files "element_name"=>tmp_file_path
* @return array of "element_name"=>"error_description" if there are errors, * @return array of "element_name"=>"error_description" if there are errors,
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
* @copyright 2017 Tobias Reischmann WWU * @copyright 2017 Tobias Reischmann WWU
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */
require_once(__DIR__ . '/../../../config.php'); require_once(__DIR__ . '/../../../config.php');
require_once($CFG->libdir . '/adminlib.php'); require_once($CFG->libdir . '/adminlib.php');
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
* @copyright 2019 Justus Dieckmann WWU * @copyright 2019 Justus Dieckmann WWU
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */
require_once(__DIR__ . '/../../../config.php'); require_once(__DIR__ . '/../../../config.php');
require_login(); require_login();
......
This diff is collapsed.
This diff is collapsed.
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
* @copyright 2017 Tobias Reischmann WWU * @copyright 2017 Tobias Reischmann WWU
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */
require_once(__DIR__ . '/../../../config.php'); require_once(__DIR__ . '/../../../config.php');
use tool_lifecycle\local\manager\backup_manager; use tool_lifecycle\local\manager\backup_manager;
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */
$string['maximumbackupspercron'] = 'Maximale Anzahl an Sicherungen per cron';
$string['pluginname'] = 'Kurssicherungs-Schritt'; $string['pluginname'] = 'Kurssicherungs-Schritt';
$string['privacy:metadata'] = 'Dieses Subplugin speichert keine persönlichen Daten.'; $string['privacy:metadata'] = 'Dieses Subplugin speichert keine persönlichen Daten.';
$string['maximumbackupspercron'] = 'Maximale Anzahl an Sicherungen per cron';
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */
$string['maximumbackupspercron'] = 'Maximum number of backups per cron';
$string['pluginname'] = 'Create backup step'; $string['pluginname'] = 'Create backup step';
$string['privacy:metadata'] = 'This subplugin does not store any personal data.'; $string['privacy:metadata'] = 'This subplugin does not store any personal data.';
$string['maximumbackupspercron'] = 'Maximum number of backups per cron';
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */
$string['deletecourse_maximumdeletionspercron'] = 'Maximale Anzahl an Kurslöschungen per cron';
$string['pluginname'] = 'Kurslöschen-Schritt'; $string['pluginname'] = 'Kurslöschen-Schritt';
$string['privacy:metadata'] = 'Dieses Subplugin speichert keine persönlichen Daten.'; $string['privacy:metadata'] = 'Dieses Subplugin speichert keine persönlichen Daten.';
$string['deletecourse_maximumdeletionspercron'] = 'Maximale Anzahl an Kurslöschungen per cron';
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */
$string['deletecourse_maximumdeletionspercron'] = 'Maximum number of courses deleted per cron';
$string['pluginname'] = 'Delete course step'; $string['pluginname'] = 'Delete course step';
$string['privacy:metadata'] = 'This subplugin does not store any personal data.'; $string['privacy:metadata'] = 'This subplugin does not store any personal data.';
$string['deletecourse_maximumdeletionspercron'] = 'Maximum number of courses deleted per cron';
...@@ -22,14 +22,14 @@ ...@@ -22,14 +22,14 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */
$string['action_new_course_data'] = '{$a} hat neuen Kursnamen eingegeben';
$string['duplicate:enterdata'] = 'Daten für Kursduplikation eingeben';
$string['duplicate_course_header'] = 'Kurs duplizieren';
$string['duplicate_form'] = 'Daten eingeben';
$string['pluginname'] = 'Kurs-Duplizieren-Schritt'; $string['pluginname'] = 'Kurs-Duplizieren-Schritt';
$string['privacy:metadata'] = 'Dieses Subplugin speichert keine persönlichen Daten.'; $string['privacy:metadata'] = 'Dieses Subplugin speichert keine persönlichen Daten.';
$string['duplicate_form'] = 'Daten eingeben';
$string['duplicate_course_header'] = 'Kurs duplizieren';
$string['status_message_duplication'] = 'Duplizierter Kurs wird bald verfügbar sein.'; $string['status_message_duplication'] = 'Duplizierter Kurs wird bald verfügbar sein.';
$string['status_message_form'] = 'Zusätzliche Informationen benötigt'; $string['status_message_form'] = 'Zusätzliche Informationen benötigt';
$string['action_new_course_data'] = '{$a} hat neuen Kursnamen eingegeben';
$string['duplicate:enterdata'] = 'Daten für Kursduplikation eingeben';
...@@ -22,14 +22,14 @@ ...@@ -22,14 +22,14 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */
$string['action_new_course_data'] = '{$a} supplied new course name';
$string['duplicate:enterdata'] = 'Enter data for course duplication';
$string['duplicate_course_header'] = 'Duplicate course';
$string['duplicate_form'] = 'Enter data';
$string['pluginname'] = 'Duplicate step'; $string['pluginname'] = 'Duplicate step';
$string['privacy:metadata'] = 'This subplugin does not store any personal data.'; $string['privacy:metadata'] = 'This subplugin does not store any personal data.';
$string['duplicate_form'] = 'Enter data';
$string['duplicate_course_header'] = 'Duplicate course';
$string['status_message_duplication'] = 'Duplicated course will be available shortly.'; $string['status_message_duplication'] = 'Duplicated course will be available shortly.';
$string['status_message_form'] = 'Additional information required'; $string['status_message_form'] = 'Additional information required';
$string['action_new_course_data'] = '{$a} supplied new course name';
$string['duplicate:enterdata'] = 'Enter data for course duplication';
...@@ -22,35 +22,34 @@ ...@@ -22,35 +22,34 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */
$string['pluginname'] = 'Email-Schritt'; $string['action_prevented_deletion'] = '{$a} verhinderte Löschung';
$string['email:preventdeletion'] = 'Löschen verhindern';
$string['email_responsetimeout'] = 'Zeit, die der Nutzer hat, um zu reagieren'; $string['email_content'] = 'Vorlage für Emails in Klartext';
$string['email_subject'] = 'Betreffvorlage'; $string['email_content_help'] = 'Stellen Sie die Vorlage für Emails ein. (in Klartext, alternativ können Sie auch die HTML-Vorlage unten einstellen.)' . '<p>' . 'Sie können die folgenden Platzhalter benutzen:'
$emailplaceholdersnohtml = '<p>' . 'Sie können die folgenden Platzhalter benutzen:'
. '<br>' . 'Vorname des Empfängers: ##firstname##' . '<br>' . 'Vorname des Empfängers: ##firstname##'
. '<br>' . 'Nachname des Empfängers: ##lastname##' . '<br>' . 'Nachname des Empfängers: ##lastname##'
. '<br>' . 'Link zur Antwortseite: ##link##' . '<br>' . 'Link zur Antwortseite: ##link##'
. '<br>' . 'Betroffene Kurse: ##courses##' . '<br>' . 'Betroffene Kurse: ##courses##'
. '</p>'; . '</p>';
$string['email_subject_help'] = 'Stellen Sie die Vorlage für den Emailbetreff ein.' . $emailplaceholdersnohtml; $string['email_content_html'] = 'HTML-Vorlage für Emails';
$string['email_content'] = 'Vorlage für Emails in Klartext'; $string['email_content_html_help'] = 'Stellen sie die HTML-Vorlage für Emails ein. (in HTML-Format; falls gesetzt, wird es an Stelle der Klartext-Vorlage benutzt!)' . '<p>' . 'Sie können die folgenden Platzhalter benutzen:'
$string['email_content_help'] = 'Stellen Sie die Vorlage für Emails ein. (in Klartext, alternativ können Sie auch die HTML-Vorlage unten einstellen.)' . $emailplaceholdersnohtml;
$emailplaceholdershtml = '<p>' . 'Sie können die folgenden Platzhalter benutzen:'
. '<br>' . 'Vorname des Empfängers: ##firstname##' . '<br>' . 'Vorname des Empfängers: ##firstname##'
. '<br>' . 'Nachname des Empfängers: ##lastname##' . '<br>' . 'Nachname des Empfängers: ##lastname##'
. '<br>' . 'Link zur Antwortseite: ##link-html##' . '<br>' . 'Link zur Antwortseite: ##link-html##'
. '<br>' . 'Betroffene Kurse: ##courses-html##' . '<br>' . 'Betroffene Kurse: ##courses-html##'
. '</p>'; . '</p>';
$string['email_content_html'] = 'HTML-Vorlage für Emails'; $string['email_responsetimeout'] = 'Zeit, die der Nutzer hat, um zu reagieren';
$string['email_content_html_help'] = 'Stellen sie die HTML-Vorlage für Emails ein. (in HTML-Format; falls gesetzt, wird es an Stelle der Klartext-Vorlage benutzt!)' . $emailplaceholdershtml; $string['email_subject'] = 'Betreffvorlage';
$string['email_subject_help'] = 'Stellen Sie die Vorlage für den Emailbetreff ein.' . '<p>' . 'Sie können die folgenden Platzhalter benutzen:'
$string['email:preventdeletion'] = 'Löschen verhindern'; . '<br>' . 'Vorname des Empfängers: ##firstname##'
. '<br>' . 'Nachname des Empfängers: ##lastname##'
. '<br>' . 'Link zur Antwortseite: ##link##'
. '<br>' . 'Betroffene Kurse: ##courses##'
. '</p>';
$string['keep_course'] = 'Kurs behalten'; $string['keep_course'] = 'Kurs behalten';
$string['status_message_requiresattention'] = 'Kurs ist zum Löschen vorgemerkt'; $string['pluginname'] = 'Email-Schritt';
$string['action_prevented_deletion'] = '{$a} verhinderte Löschung';
$string['privacy:metadata:lifecyclestep_email:courseid'] = 'Die ID des Kurses, zu dem E-Mail-Benachrichtigungen versandt werden'; $string['privacy:metadata:lifecyclestep_email:courseid'] = 'Die ID des Kurses, zu dem E-Mail-Benachrichtigungen versandt werden';
$string['privacy:metadata:lifecyclestep_email:instanceid'] = 'Die ID der Schritt-Instanz, der E-Mails verschickt'; $string['privacy:metadata:lifecyclestep_email:instanceid'] = 'Die ID der Schritt-Instanz, der E-Mails verschickt';
$string['privacy:metadata:lifecyclestep_email:summary'] = 'Informationen, welche Benutzer per E-Mail benachrichtigt werden'; $string['privacy:metadata:lifecyclestep_email:summary'] = 'Informationen, welche Benutzer per E-Mail benachrichtigt werden';
$string['privacy:metadata:lifecyclestep_email:touser'] = 'Die ID des Benutzers, an den eine E-Mail verschickt wird'; $string['privacy:metadata:lifecyclestep_email:touser'] = 'Die ID des Benutzers, an den eine E-Mail verschickt wird';
$string['status_message_requiresattention'] = 'Kurs ist zum Löschen vorgemerkt';
...@@ -22,35 +22,34 @@ ...@@ -22,35 +22,34 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */
$string['pluginname'] = 'Email step'; $string['action_prevented_deletion'] = '{$a} prevented deletion';
$string['email:preventdeletion'] = 'Prevent deletion';
$string['email_responsetimeout'] = 'Time the user has for the response'; $string['email_content'] = 'Content plain text template';
$string['email_subject'] = 'Subject template'; $string['email_content_help'] = 'Set the template for the content of the email (plain text, alternatively you can use HTML template for HTML email below)' . '<p>' . 'You can use the following placeholders:'
$emailplaceholdersnohtml = '<p>' . 'You can use the following placeholders:'
. '<br>' . 'First name of recipient: ##firstname##' . '<br>' . 'First name of recipient: ##firstname##'
. '<br>' . 'Last name of recipient: ##lastname##' . '<br>' . 'Last name of recipient: ##lastname##'
. '<br>' . 'Link to response page: ##link##' . '<br>' . 'Link to response page: ##link##'
. '<br>' . 'Impacted courses: ##courses##' . '<br>' . 'Impacted courses: ##courses##'
. '</p>'; . '</p>';
$string['email_subject_help'] = 'Set the template for the subject of the email.' . $emailplaceholdersnohtml; $string['email_content_html'] = 'Content HTML Template';
$string['email_content'] = 'Content plain text template'; $string['email_content_html_help'] = 'Set the html template for the content of the email (HTML email, will be used instead of plaintext field if not empty!)' . '<p>' . 'You can use the following placeholders:'
$string['email_content_help'] = 'Set the template for the content of the email (plain text, alternatively you can use HTML template for HTML email below)' . $emailplaceholdersnohtml;
$emailplaceholdershtml = '<p>' . 'You can use the following placeholders:'
. '<br>' . 'First name of recipient: ##firstname##' . '<br>' . 'First name of recipient: ##firstname##'
. '<br>' . 'Last name of recipient: ##lastname##' . '<br>' . 'Last name of recipient: ##lastname##'
. '<br>' . 'Link to response page: ##link-html##' . '<br>' . 'Link to response page: ##link-html##'
. '<br>' . 'Impacted courses: ##courses-html##' . '<br>' . 'Impacted courses: ##courses-html##'
. '</p>'; . '</p>';
$string['email_content_html'] = 'Content HTML Template'; $string['email_responsetimeout'] = 'Time the user has for the response';
$string['email_content_html_help'] = 'Set the html template for the content of the email (HTML email, will be used instead of plaintext field if not empty!)' . $emailplaceholdershtml; $string['email_subject'] = 'Subject template';
$string['email_subject_help'] = 'Set the template for the subject of the email.' . '<p>' . 'You can use the following placeholders:'
$string['email:preventdeletion'] = 'Prevent deletion'; . '<br>' . 'First name of recipient: ##firstname##'
. '<br>' . 'Last name of recipient: ##lastname##'
. '<br>' . 'Link to response page: ##link##'
. '<br>' . 'Impacted courses: ##courses##'
. '</p>';
$string['keep_course'] = 'Keep course'; $string['keep_course'] = 'Keep course';
$string['status_message_requiresattention'] = 'Course is marked for deletion'; $string['pluginname'] = 'Email step';
$string['action_prevented_deletion'] = '{$a} prevented deletion';
$string['privacy:metadata:lifecyclestep_email:courseid'] = 'ID of the course, emails will be sent for'; $string['privacy:metadata:lifecyclestep_email:courseid'] = 'ID of the course, emails will be sent for';
$string['privacy:metadata:lifecyclestep_email:instanceid'] = 'ID of the step instance sending emails'; $string['privacy:metadata:lifecyclestep_email:instanceid'] = 'ID of the step instance sending emails';
$string['privacy:metadata:lifecyclestep_email:summary'] = 'Information about whhich users will be informed by email'; $string['privacy:metadata:lifecyclestep_email:summary'] = 'Information about whhich users will be informed by email';
$string['privacy:metadata:lifecyclestep_email:touser'] = 'ID of the user who is being notified via email'; $string['privacy:metadata:lifecyclestep_email:touser'] = 'ID of the user who is being notified via email';
$string['status_message_requiresattention'] = 'Course is marked for deletion';
...@@ -22,10 +22,9 @@ ...@@ -22,10 +22,9 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */
$string['pluginname'] = 'Kategorie-Trigger';
$string['privacy:metadata'] = 'Dieses Subplugin speichert keine persönlichen Daten.';
$string['categories'] = 'Kategorien, für die der Workflow ausgelöst werden soll.'; $string['categories'] = 'Kategorien, für die der Workflow ausgelöst werden soll.';
$string['categories_do_not_exist'] = 'Es gibt keine Kurskategorien mit den folgenden IDs: {$a}.';
$string['categories_noselection'] = 'Bitte wählen sie mindestens eine Kategorie aus.'; $string['categories_noselection'] = 'Bitte wählen sie mindestens eine Kategorie aus.';
$string['exclude'] = 'Falls ausgewählt, werden gerade die Kurse der angegebenen Kategorien nicht ausgelöst.'; $string['exclude'] = 'Falls ausgewählt, werden gerade die Kurse der angegebenen Kategorien nicht ausgelöst.';
$string['categories_do_not_exist'] = 'Es gibt keine Kurskategorien mit den folgenden IDs: {$a}.'; $string['pluginname'] = 'Kategorie-Trigger';
$string['privacy:metadata'] = 'Dieses Subplugin speichert keine persönlichen Daten.';
...@@ -22,10 +22,9 @@ ...@@ -22,10 +22,9 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */
$string['pluginname'] = 'Categories trigger';
$string['privacy:metadata'] = 'This subplugin does not store any personal data.';
$string['categories'] = 'Categories, for which the workflow should be triggered'; $string['categories'] = 'Categories, for which the workflow should be triggered';
$string['categories_do_not_exist'] = 'There are no categories with the following ids: {$a}.';
$string['categories_noselection'] = 'Please choose at least one category.'; $string['categories_noselection'] = 'Please choose at least one category.';
$string['exclude'] = 'If ticked, the named categories are excluded from triggering instead.'; $string['exclude'] = 'If ticked, the named categories are excluded from triggering instead.';
$string['categories_do_not_exist'] = 'There are no categories with the following ids: {$a}.'; $string['pluginname'] = 'Categories trigger';
$string['privacy:metadata'] = 'This subplugin does not store any personal data.';
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */
$string['delay'] = 'Dieser Trigger wird alle Kurse ausschließen, die durch Nutzerinteraktion verzögert wurden.';
$string['pluginname'] = 'Verzögerte Kurse ausschließen - Trigger'; $string['pluginname'] = 'Verzögerte Kurse ausschließen - Trigger';
$string['privacy:metadata'] = 'Dieses Subplugin speichert keine persönlichen Daten.'; $string['privacy:metadata'] = 'Dieses Subplugin speichert keine persönlichen Daten.';
$string['delay'] = 'Dieser Trigger wird alle Kurse ausschließen, die durch Nutzerinteraktion verzögert wurden.';
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */
$string['delay'] = 'This module will exclude all courses, which were delayed by user interaction';
$string['pluginname'] = 'Exclude delayed courses trigger'; $string['pluginname'] = 'Exclude delayed courses trigger';
$string['privacy:metadata'] = 'This subplugin does not store any personal data.'; $string['privacy:metadata'] = 'This subplugin does not store any personal data.';
$string['delay'] = 'This module will exclude all courses, which were delayed by user interaction';
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment