mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
fix typo in translation key
This commit is contained in:
parent
c8bf90c425
commit
a7625eb674
@ -50,7 +50,7 @@ class SubmittedFileField extends SubmittedFormField
|
|||||||
if (Security::getCurrentUser()) {
|
if (Security::getCurrentUser()) {
|
||||||
// Logged in CMS user without permissions to view file in the CMS
|
// Logged in CMS user without permissions to view file in the CMS
|
||||||
$default = 'You don\'t have the right permissions to download this file';
|
$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(
|
return DBField::create_field('HTMLText', sprintf(
|
||||||
'<i class="icon font-icon-lock"></i> %s - <em>%s</em>',
|
'<i class="icon font-icon-lock"></i> %s - <em>%s</em>',
|
||||||
htmlspecialchars($name, ENT_QUOTES),
|
htmlspecialchars($name, ENT_QUOTES),
|
||||||
|
Loading…
Reference in New Issue
Block a user