Skip to content

Commit

Permalink
Add language string
Browse files Browse the repository at this point in the history
  • Loading branch information
aydevworks committed Dec 2, 2024
1 parent 25d8641 commit 8e0e5d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lang/en/block_lifecycle.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
2 changes: 1 addition & 1 deletion templates/unfreeze_button.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@
data-confirmation-destination="{{url}}"
>
{{#str}} label:unfreezebutton, block_lifecycle {{/str}}
<span class="sr-only"> for course {{coursename}}</span>
<span class="sr-only"> {{#str}} label:for, block_lifecycle, {{coursename}}{{/str}}</span>
</button>

0 comments on commit 8e0e5d5

Please sign in to comment.