Skip to content

Commit

Permalink
Add translation string
Browse files Browse the repository at this point in the history
  • Loading branch information
danloa committed Sep 3, 2024
1 parent 2beddf2 commit 9844b41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ private function validatePDFFile(UploadedFile $file, &$errors)

foreach ($jsKeywords as $keyword) {
if (strpos($text, $keyword) !== false) {
$errors[] = __('Dangerous PDF file content.');
$errors[] = __('Dangerous PDF file content');
break;
}
}
Expand Down
1 change: 1 addition & 0 deletions resources/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,7 @@
"Cycle": "Cycle",
"danger": "danger",
"Danger": "Danger",
"Dangerous PDF file content": "Dangerous PDF file content",
"dark": "dark",
"Dark": "Dark",
"DashboardCreated": "Dashboard Created",
Expand Down

0 comments on commit 9844b41

Please sign in to comment.