From eed61bf0725e105520012fefdded522abc25774e Mon Sep 17 00:00:00 2001 From: Aditya Dubey <86455212+REGEX777@users.noreply.github.com> Date: Mon, 8 Jun 2026 20:10:19 +0530 Subject: [PATCH] Fixed compress activity log showing {{file}} instead of the archive filename (#5637) Fix for #5630 The compress_one string in resources/lang/en/activity.php referenced :file as the placeholder, but the backend passes the filename under a files array. This caused the activity log to render {file}} instead of the actual filename Changed :file to :files.0 to correctly resolve the first filename from the array. Solution was identified by the issue reporter (@marioenache). --- resources/lang/en/activity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lang/en/activity.php b/resources/lang/en/activity.php index f19262697..a22858bf7 100644 --- a/resources/lang/en/activity.php +++ b/resources/lang/en/activity.php @@ -70,7 +70,7 @@ return [ 'delete' => 'Deleted database :name', ], 'file' => [ - 'compress_one' => 'Compressed :directory:file', + 'compress_one' => 'Compressed :directory:files.0', 'compress_other' => 'Compressed :count files in :directory', 'read' => 'Viewed the contents of :file', 'copy' => 'Created a copy of :file',