Skip to content

Commit

Permalink
fix: rename to Learner Dashboard (#24)
Browse files Browse the repository at this point in the history
* fix: rename occurences of 'Learning Dashboard'
  • Loading branch information
jmorrph committed Aug 8, 2024
1 parent 87f7b0f commit 8c25a18
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 33 deletions.
2 changes: 1 addition & 1 deletion block_disealytics.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ private function loadviewsettings(array $viewsinpref): array {
}

/**
* Checks if the user has given consent to use the DiSEA Dashboard.
* Checks if the user has given consent to use the Learner Dashboard.
* @throws dml_exception
*/
private function getuserconsent(): bool {
Expand Down
2 changes: 1 addition & 1 deletion classes/data/README_assignment.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,6 @@ There are two complex functions to generate the status of an assignment:
* `block_disealytics_get_scale_grade_text()` returns the text of the scale value.
* `block_disealytics_has_tries_left()` returns true if there are still tries remaining to answer the assignment.

Finally, to display the status on the learning dashboard, the following two functions will generate the assignment link and the representing HTML. Both functions are used in the assignment_view.php file.
Finally, to display the status on the Learner Dashboard, the following two functions will generate the assignment link and the representing HTML. Both functions are used in the assignment_view.php file.
* `block_disealytics_build_name_link()` will build a link for the assignment.
* `block_disealytics_gen_status_html()` will generate the HTML representation of the assignment status.
2 changes: 1 addition & 1 deletion classes/data/assignment.php
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ public function block_disealytics_gen_submission_status(): int {
}

/**
* Generate the grade status for the learning dashboard item.
* Generate the grade status for the Learner Dashboard item.
*
* @return int Returns the grade status:
* self::GRADE_STATUS_FAILED if the item's grade is failed.
Expand Down
24 changes: 12 additions & 12 deletions lang/de/block_disealytics.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,21 @@

defined('MOODLE_INTERNAL') || die();

$string['pluginname'] = 'DiSEA Dashboard';
$string['plugin-title'] = 'Learning Dashboard';
$string['disea'] = 'DiSEA Learning Dashboard';
$string['disealytics:addinstance'] = 'Füge einen neuen DiSEA Dashboard Block hinzu.';
$string['disealytics:myaddinstance'] = 'Füge einen neuen DiSEA Dashboard Block zu meinem Dashboard hinzu.';
$string['pluginname'] = 'Learner Dashboard';
$string['plugin-title'] = 'Learner Dashboard';
$string['disea'] = 'Learner Dashboard';
$string['disealytics:addinstance'] = 'Füge einen neuen Learner Dashboard Block hinzu.';
$string['disealytics:myaddinstance'] = 'Füge einen neuen Learner Dashboard Block zu meinem Dashboard hinzu.';
$string['languagesetting'] = 'de';
$string['login_alert'] = 'Bitte melden Sie sich an, um das DiSEA Dashboard benutzten zu können.';
$string['course_alert'] = 'Das DiSEA Dashboard kann nur auf der Kurshauptseite angezeigt werden.';
$string['login_alert'] = 'Bitte melden Sie sich an, um das Learner Dashboard benutzten zu können.';
$string['course_alert'] = 'Das Learner Dashboard kann nur auf der Kurshauptseite angezeigt werden.';
$string['consent_start_msg'] = 'Um das Plugin nutzen zu können, müssen Sie der Datenverarbeitung zustimmen.';
$string['consent_start_btn'] = 'Einwilligen und Dashboard nutzen';
$string['change-to-expandable-view'] = 'Zur Detailansicht ...';

$string['nouserconsent'] = 'Einwilligung für die Datenverarbeitung erforderlich.';

$string['diseasettings'] = 'DiSEA Learningdashboard Einstellungen';
$string['diseasettings'] = 'Learner Dashboard Einstellungen';
$string['activityviewsetting'] = 'Aktivitätsübersicht anzeigen';
$string['assignmentviewsetting'] = 'Aufgabenübersicht anzeigen';
$string['editing_mode_setting'] = 'Aktiviere den Editiermodus';
Expand Down Expand Up @@ -87,7 +87,7 @@
$string['calendarweeks'] = 'Kalenderwochen';

$string['testcontent'] = 'Dies ist etwas Test-Inhalt';
$string['testfooter'] = 'Das DiSEA Dashboard wird geladen.';
$string['testfooter'] = 'Das Learner Dashboard wird geladen.';

// Selection Form.
$string['select_view'] = 'Ansichtauswahl';
Expand Down Expand Up @@ -203,9 +203,9 @@
$string['modal_remove_cancel'] = "Abbrechen";
$string['modal_remove_check'] = "Aus dem Dashboard entfernen";

$string['main_help_title'] = "Hilfeseite zum Learning Dashboard";
$string['main_help_title'] = "Hilfeseite zum Learner Dashboard";
$string['main_help_views_summary'] = "Systematik Karten";
$string['main_help_views_details'] = "Das Learning Dashboard (LD) beinhaltet Karten in denen verschiedene Informationen oder Funktionen inkludiert sind. Karten lassen sich dem LD hinzufügen und wieder löschen. Es gibt viele verschiedene Themen aus denen Sie Ihr persönliches LD zusammenstellen können. Informationen zu den verschiedenen Themen erhalten Sie jeweils über die Hilfefunktion in den einzelnen Karten.";
$string['main_help_views_details'] = "Das Learner Dashboard (LD) beinhaltet Karten in denen verschiedene Informationen oder Funktionen inkludiert sind. Karten lassen sich dem LD hinzufügen und wieder löschen. Es gibt viele verschiedene Themen aus denen Sie Ihr persönliches LD zusammenstellen können. Informationen zu den verschiedenen Themen erhalten Sie jeweils über die Hilfefunktion in den einzelnen Karten.";
$string['main_help_add_remove_summary'] = "Hinzufügen oder entfernen von Karten";
$string['main_help_add_remove_details'] = "Zum hinzufügen oder entfernen von Karten klicken Sie in der Gesamtansichtsseite auf das Stift-Symbol. Danach können Sie einzelne Karten über das eingeblendete “x”-Symbol an der rechten oberen Ecke einer Karte entfernen. Unter Ihren gewählten Karten im LD haben Sie die Möglichkeit, weitere Karten dem LD hinzuzufügen.";
$string['main_help_help_summary'] = "Wiederkehrende Funktionen innerhalb der Karten";
Expand All @@ -217,7 +217,7 @@
$string['main_add_view_info_text_empty'] = "Sie haben alle verfügbaren Karten hinzugefügt.";

$string['main_config_title'] = "Konfiguration";
$string['main_config_desc'] = "Hier können Sie die Konfiguration für das Learning Dashboard vornehmen.";
$string['main_config_desc'] = "Hier können Sie die Konfiguration für das Learner Dashboard vornehmen.";
$string['main_config_consent_title'] = "Datenverarbeitung";
$string['main_config_consent_desc'] = "Sie haben der Datenverarbeitung zugestimmt.";
$string['consent_config_title'] = "Datenverarbeitung";
Expand Down
30 changes: 15 additions & 15 deletions lang/en/block_disealytics.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,21 @@

defined('MOODLE_INTERNAL') || die();

$string['pluginname'] = 'DiSEA Dashboard';
$string['plugin-title'] = 'Learning Dashboard';
$string['disea'] = 'DiSEA Learning Dashboard';
$string['disealytics:addinstance'] = 'Add a new DiSEA Dashboard block.';
$string['disealytics:myaddinstance'] = 'Add a new DiSEA Dashboard block to my dashboard.';
$string['pluginname'] = 'Learner Dashboard';
$string['plugin-title'] = 'Learner Dashboard';
$string['disea'] = 'Learner Dashboard';
$string['disealytics:addinstance'] = 'Add a new Learner Dashboard block.';
$string['disealytics:myaddinstance'] = 'Add a new Learner Dashboard block to my dashboard.';
$string['languagesetting'] = 'en';
$string['login_alert'] = 'Please log in to use the DiSEA Dashboard.';
$string['course_alert'] = 'The DiSEA Dashboard can only be displayed on the main course page.';
$string['login_alert'] = 'Please log in to use the Learner Dashboard.';
$string['course_alert'] = 'The Learner Dashboard can only be displayed on the main course page.';
$string['consent_start_msg'] = 'Please consent to data processing in order to use the plugin.';
$string['consent_start_btn'] = 'Consent and use plugin';
$string['change-to-expandable-view'] = 'Go to the detail view ...';

$string['nouserconsent'] = 'Consent to required data processing.';

$string['diseasettings'] = 'DiSEA Learning Dashboard settings';
$string['diseasettings'] = 'Learner Dashboard settings';
$string['activityviewsetting'] = 'Show activity overview';
$string['assignmentviewsetting'] = 'Show assignment overview';
$string['editing_mode_setting'] = 'Activate editing mode';
Expand Down Expand Up @@ -87,7 +87,7 @@
$string['calendarweeks'] = 'calendar weeks';

$string['testcontent'] = 'This is test content.';
$string['testfooter'] = 'The DiSEA Dashboard is loading.';
$string['testfooter'] = 'The Learner Dashboard is loading.';

// Selection Form.
$string['select_view'] = 'Select view';
Expand Down Expand Up @@ -203,25 +203,25 @@
$string['modal_remove_cancel'] = "Cancel";
$string['modal_remove_check'] = "Remove from dashboard";

$string['main_help_title'] = "Help page for the Learning Dashboard";
$string['main_help_title'] = "Help page for the Learner Dashboard";
$string['main_help_views_summary'] = "Classification of cards";
$string['main_help_views_details'] = "The Learning Dashboard (LD) contains cards in which various information or functions are included. Cards can be added to the LD and deleted again. There are many different topics from which you can compile your personal LD. Information on the various topics is available via the help function in the individual cards.";
$string['main_help_views_details'] = "The Learner Dashboard (LD) contains cards in which various information or functions are included. Cards can be added to the LD and deleted again. There are many different topics from which you can compile your personal LD. Information on the various topics is available via the help function in the individual cards.";
$string['main_help_add_remove_summary'] = "Adding or removing cards";
$string['main_help_add_remove_details'] = 'To add or remove cards, click on the pencil icon on the overall view page. You can then remove individual cards by clicking on the "x" symbol in the top right-hand corner of a card. Under your selected cards in the LD, you have the option of adding further cards to the LD.';
$string['main_help_help_summary'] = "Recurring functions within the cards";
$string['main_help_help_details'] = 'Each card and the dashboard itself contains a help icon ("?" icon). The cards contain an icon for calling up a detailed view of a card. Use the help icon to call up context-related help on the content of a card.';
$string['main_help_edit_summary'] = "Editing mode";
$string['main_help_edit_details'] = "Clicking on the pencil icon starts the editing mode for adding or deleting cards in the dashboard (see Figure 1). You can use this feature to customise your dashboard with the cards that are relevant to you. Click on the red X on the relevant card to remove it. You can add a new card by selecting the \"Add card\" button. This button opens a new dialogue with the available cards.";
$string['main_add_view_title'] = "Add cards";
$string['main_add_view_info_text'] = "Select the cards you would like to have displayed in the DiSEA dashboard.";
$string['main_add_view_info_text'] = "Select the cards you would like to have displayed in the Learner Dashboard.";
$string['main_add_view_info_text_empty'] = "You have added all available cards.";

$string['main_config_title'] = "Configuration";
$string['main_config_desc'] = "You can configure the Learning Dashboard here.";
$string['main_config_desc'] = "You can configure the Learner Dashboard here.";
$string['main_config_consent_title'] = "Data processing";
$string['main_config_consent_desc'] = "You have consented to the data processing.";
$string['consent_config_title'] = "Data processing";
$string['consent_config_desc'] = "Would you like to withdraw your consent to data processing? The Learning Dashboard can then no longer be used and the following data will be deleted:";
$string['consent_config_desc'] = "Would you like to withdraw your consent to data processing? The Learner Dashboard can then no longer be used and the following data will be deleted:";
$string['consent_config_list_item_1'] = "Self-defined learning goals";
$string['consent_config_list_item_2'] = "Settings of the progress bar (input learning materials)";
$string['consent_config_list_item_3'] = "Dates of the 'Planning Assistant'";
Expand Down Expand Up @@ -380,7 +380,7 @@
$string['privacy:metadata:user_goal_finished'] = 'goal_finished';

// For: block_disealytics_opin.
$string['privacy:metadata:block_disealytics_user_pages'] = 'User pages of the Learning Dashboard';
$string['privacy:metadata:block_disealytics_user_pages'] = 'User pages of the Learner Dashboard';
$string['privacy:metadata:user_pages_id'] = 'user_pages_id';
$string['privacy:metadata:user_pages_usermodified'] = 'user_pages_usermodified';
$string['privacy:metadata:user_pages_courseid'] = 'user_pages_courseid';
Expand Down
4 changes: 2 additions & 2 deletions templates/main.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
<p>{{#str}} main_help_edit_details, block_disealytics {{/str}}</p>
</details>
</div>
<div class="modal-footer">DiSEA Learning Dashboard 2024 - Version 0.2.4 2024071500</div>
<div class="modal-footer">DiSEA Learner Dashboard 2024 - Version 0.2.4 2024080800</div>
</div>

</div>
Expand Down Expand Up @@ -248,7 +248,7 @@
</button>
</div>
</div>
<div class="modal-footer">DiSEA Learning Dashboard 2024</div>
<div class="modal-footer">DiSEA Learner Dashboard 2024</div>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion version.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@

$plugin->component = 'block_disealytics';
$plugin->release = '0.2.4';
$plugin->version = 2024071500;
$plugin->version = 2024080800;
$plugin->requires = 2021051700;

0 comments on commit 8c25a18

Please sign in to comment.