Skip to content

Commit

Permalink
fix typo in translation key
Browse files Browse the repository at this point in the history
  • Loading branch information
baukezwaan committed Sep 20, 2023
1 parent c8bf90c commit a7625eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/Model/Submission/SubmittedFileField.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function getFormattedValue()
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),
Expand Down

0 comments on commit a7625eb

Please sign in to comment.