Skip to content

Commit ff3379d

Browse files
committed
Adapt cron waiting message and version bump
1 parent e43d3d4 commit ff3379d

4 files changed

+7
-4
lines changed

lang/de/block_evasys_sync.php

+2
Original file line numberDiff line numberDiff line change
@@ -290,3 +290,5 @@
290290
$string['missing_course_id'] = 'Fehlende Kurs-ID! Bitte wenden Sie sich an den Learnweb Support mit einem Link zu der Veranstaltung im HIS LSF, die evaluiert werden soll.';
291291
$string['no_evasys_course_found'] = 'Kein passender EvaSys-Kurs gefunden! Bitte wenden Sie sich an Ihren Evaluationskoordinator.';
292292
$string['not_inside_evaluation_category'] = 'Dieser Kurs ist in keiner Evaluationskategorie! Bitte wenden Sie sich an den Learnweb Support.';
293+
294+
$string["running_crontask"] = "Die Synchronization der ausgewählten Kurse von {$a} zu Evasys wird derzeit durchgeführt. Dies kann evt. einige Minuten dauern. Bitte warten Sie einige Zeit und laden die Seite neu.";

lang/en/block_evasys_sync.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -302,4 +302,4 @@
302302
$string['no_evasys_course_found'] = 'No matching EvaSys-Course found! Please contact your evaluation coordinator.';
303303
$string['not_inside_evaluation_category'] = 'This course isn\'t inside any evaluation category! Please contact the Learnweb support.';
304304

305-
$string["running_crontask"] = "The synchronization to Evasys is currently being processed. This may take a few minutes. Please wait and reload the page.";
305+
$string["running_crontask"] = "The synchronization of the selected courses of {$a} to evasys are currently being processed. This may take a few minutes. Please wait and reload the page.";

managecategory_remaining.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
$task->set_userid($USER->id);
6363
\core\task\manager::queue_adhoc_task($task, true);
6464
} else {
65-
\core\notification::warning(get_string("running_crontask", "block_evasys"));
65+
\core\notification::warning(get_string("running_crontask", "block_evasys_sync"));
6666
}
6767
redirect($PAGE->url);
6868
}
@@ -97,7 +97,8 @@
9797
$renderer->print_evasys_category_header($evasyscategory);
9898

9999
if(!empty($tasksofcurrentmodule)){
100-
\core\notification::warning(get_string("running_crontask", "block_evasys"));
100+
$category = \core_course_category::get($id);
101+
\core\notification::warning(get_string("running_crontask", "block_evasys_sync", $category->name));
101102
}
102103

103104
$table->out(48, false);

version.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@
1818
defined('MOODLE_INTERNAL') || die();
1919

2020
$plugin->component = 'block_evasys_sync';
21-
$plugin->version = 2023040900; // YYYYMMDDHH (year, month, day, 24-hr time).
21+
$plugin->version = 2023080700; // YYYYMMDDHH (year, month, day, 24-hr time).
2222
$plugin->requires = 2022041900; // YYYYMMDDHH (This is the release version for Moodle 4.0).
2323
$plugin->maturity = MATURITY_RC;

0 commit comments

Comments
 (0)