Skip to content

Commit 0f4a25d

Browse files
committed
Improve language strings
1 parent 16d12ba commit 0f4a25d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lang/en/block_qrcode.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
$string['customfilepng'] = 'Custom File .png';
3030
$string['customfilesvg'] = 'Custom File .svg';
3131
$string['customwwwroot'] = 'Custom wwwroot';
32-
$string['customwwwroot_desc'] = 'Define a custom wwwroot that will replace the entire value of $CFG->wwwroot in the qr-codes course link (e.g., https://host/moodle/course/view.php?id=...). Note that the entire value of $CFG->wwwroot needs to be covered, or the link wont work otherwise! Your current CFG->wwwroot is: {$a}';
32+
$string['customwwwroot_desc'] = 'This defines a custom wwwroot that is used for the generation of the course link URL in the QR code. In other words, this value becomes the prefix for /course/view.php?id=12345 in the QR code URL. The current configuration value of $CFG->wwwroot is as follows: {$a}';
3333
$string['editblock'] = 'Edit QR code block';
3434
$string['filename'] = 'course';
3535
$string['formats'] = 'Format';
@@ -46,7 +46,7 @@
4646
$string['submit'] = 'Save changes';
4747
$string['uploadpng'] = 'Upload Customlogo as .png also';
4848
$string['use_customwwwroot'] = 'Use a custom wwwroot';
49-
$string['use_customwwwroot_desc'] = 'If enabled, a custom wwwroot name can be defined for the QR-code url. Only use this if you have a good reason to do so!';
49+
$string['use_customwwwroot_desc'] = 'If enabled, a custom wwwroot for the QR code URL can be defined. This option should only be used in cases where there is a compelling reason to do so.';
5050
$string['use_logo'] = 'Use logo';
5151
$string['use_logo_help'] = 'If the checkbox is checked, a logo is shown in the QR code. By default the moodle logo is shown but you can upload a custom logo.';
5252
$string['usedefault'] = 'Use default settings';

0 commit comments

Comments
 (0)