Skip to content

Commit 7f7b770

Browse files
committed
split reopen dialogue texts
1 parent 2de7028 commit 7f7b770

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

block_evasys_sync.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ public function get_content() {
157157
}
158158
// This javascript module sets the start and end fields to the correct values.
159159
$jsmodestring = $ismodeautomated ? 'automated' : 'manual';
160+
$jsmodestring .= $enddisabled ? '_closed' : '_open';
160161
$this->page->requires->js_call_amd('block_evasys_sync/initialize', 'init', array($start, $end, $jsmodestring));
161162

162163
// Initialize variables to pass to mustache.

lang/de/block_evasys_sync.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,11 @@
129129
"Bitte wenden Sie sich an den Support.";
130130

131131
$string['confirm_box'] = "Verstanden";
132-
$string['content_confirm_reactivate_automated'] = 'Sind Sie sicher, dass Sie die Startzeit ändern möchten?';
133-
$string['content_confirm_reactivate_manual'] = 'Sind Sie sicher, dass Sie die Startzeit ändern möchten?' .
132+
$string['content_confirm_reactivate_automated_closed'] = 'Sind Sie sicher, dass Sie die Evaluation erneut beginnen möchten?';
133+
$string['content_confirm_reactivate_automated_open'] = 'Sind Sie sicher, dass Sie die Startzeit ändern möchten?';
134+
$string['content_confirm_reactivate_manual_closed'] = 'Sind Sie sicher, dass Sie die Evaluation erneut beginnen möchten? ' .
135+
'Evaluationskoordinator*innen werden über die Änderung informiert und können die Evaluation anschließend neu starten.';
136+
$string['content_confirm_reactivate_manual_open'] = 'Sind Sie sicher, dass Sie die Startzeit ändern möchten? ' .
134137
'Evaluationskoordinator*innen werden über die Änderung informiert und können die Evaluation anpassen, ' .
135138
'aber es ist nicht sicher, dass dies rechtzeitig geschieht.';
136139

lang/en/block_evasys_sync.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,11 @@
109109
$string['title_send_rejected'] = "Invalid Date";
110110
$string['content_send_rejected'] = "One or more dates have been set to a date in the past. <br />" .
111111
"This is not allowed. Some evaluation periods may have been altered.<br />";
112-
$string['content_confirm_reactivate_automated'] = 'Are you sure you want to change the start date?';
113-
$string['content_confirm_reactivate_manual'] = 'Are you sure you want to change the start date? ' .
112+
$string['content_confirm_reactivate_automated_closed'] = 'Are you sure you want to change the start date?';
113+
$string['content_confirm_reactivate_automated_open'] = 'Are you sure you want to restart the evaluation?';
114+
$string['content_confirm_reactivate_manual_closed'] = 'Are you sure you want to restart the evaluation? ' .
115+
'Submitting the form will cause the coordinator to be notified of the change, who is then able to restart the evaluation.';
116+
$string['content_confirm_reactivate_manual_open'] = 'Are you sure you want to change the start date? ' .
114117
'Submitting the form will cause the coordinator to be notified of the change, but there is no guarantee ' .
115118
'that the dates will be modified in time.';
116119

0 commit comments

Comments
 (0)