diff --git a/ProcessMaker/Http/Controllers/Api/ProcessRequestFileController.php b/ProcessMaker/Http/Controllers/Api/ProcessRequestFileController.php index db2071f3c3..fd58eaa475 100644 --- a/ProcessMaker/Http/Controllers/Api/ProcessRequestFileController.php +++ b/ProcessMaker/Http/Controllers/Api/ProcessRequestFileController.php @@ -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; } } diff --git a/resources/lang/en.json b/resources/lang/en.json index e5955d7a61..21a1f12184 100644 --- a/resources/lang/en.json +++ b/resources/lang/en.json @@ -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",