mirror of
https://github.com/pterodactyl/panel.git
synced 2026-11-29 10:55:43 -05:00
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).
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user