Merge branch '5' into 6.0

This commit is contained in:
github-actions 2023-09-27 12:39:01 +00:00
commit f3bf16a065

View File

@ -50,7 +50,7 @@ class SubmittedFileField extends SubmittedFormField
if (Security::getCurrentUser()) {
// Logged in CMS user without permissions to view file in the CMS
$default = 'You don\'t have the right permissions to download this file';
$message = _t(__CLASS__ . '..INSUFFICIENTRIGHTS', $default);
$message = _t(__CLASS__ . '.INSUFFICIENTRIGHTS', $default);
return DBField::create_field('HTMLText', sprintf(
'<i class="icon font-icon-lock"></i> %s - <em>%s</em>',
htmlspecialchars($name, ENT_QUOTES),