Skip to content

Commit 4de5009

Browse files
REGEX777robertdrakedennis
authored andcommitted
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).
1 parent de034cf commit 4de5009

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

resources/lang/en/activity.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
'delete' => 'Deleted database :name',
7171
],
7272
'file' => [
73-
'compress_one' => 'Compressed :directory:file',
73+
'compress_one' => 'Compressed :directory:files.0',
7474
'compress_other' => 'Compressed :count files in :directory',
7575
'read' => 'Viewed the contents of :file',
7676
'copy' => 'Created a copy of :file',

0 commit comments

Comments
 (0)