From 8e0e5d5b39611d2315b07bbb0889249c52b09f94 Mon Sep 17 00:00:00 2001 From: Alex Yeung Date: Mon, 2 Dec 2024 09:46:48 +0000 Subject: [PATCH] Add language string --- lang/en/block_lifecycle.php | 1 + templates/unfreeze_button.mustache | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lang/en/block_lifecycle.php b/lang/en/block_lifecycle.php index d3053c4..90e624a 100644 --- a/lang/en/block_lifecycle.php +++ b/lang/en/block_lifecycle.php @@ -38,6 +38,7 @@ $string['help:delayfreezedate_help'] = 'The date for a Read-Only override must be post the automatically suggested date, earlier dates may not be used.'; $string['help:togglefreezing'] = 'Disable Automatic Read-Only'; $string['help:togglefreezing_help'] = 'Disable Automatic Read-Only.'; +$string['label:for'] = 'for {$a}'; $string['label:readonlydate'] = 'This course will be made automatically Read Only on: '; $string['label:readonlydateinput'] = 'Override Read-Only date:'; $string['label:unfreezebutton'] = 'Enable editing'; diff --git a/templates/unfreeze_button.mustache b/templates/unfreeze_button.mustache index 43ba964..0ffc6c1 100644 --- a/templates/unfreeze_button.mustache +++ b/templates/unfreeze_button.mustache @@ -43,5 +43,5 @@ data-confirmation-destination="{{url}}" > {{#str}} label:unfreezebutton, block_lifecycle {{/str}} - for course {{coursename}} + {{#str}} label:for, block_lifecycle, {{coursename}}{{/str}}