Skip to content

Commit

Permalink
Merge pull request #1241 from hamaka/fix_translation_key
Browse files Browse the repository at this point in the history
Fix typo in translation key
  • Loading branch information
michalkleiner authored Sep 20, 2023
2 parents c8bf90c + a7625eb commit f7d2d47
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 f7d2d47

Please sign in to comment.