From 7ec2b4e2fd7567aa9c0bcb8b24790ad32abc5d4c Mon Sep 17 00:00:00 2001 From: Mohamed Said Date: Wed, 22 Nov 2023 15:10:27 +0200 Subject: [PATCH] All `->translateLabel()` to MultiUploadAction --- src/Resources/MediaResource/ListMedia.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Resources/MediaResource/ListMedia.php b/src/Resources/MediaResource/ListMedia.php index 1c9cc367..7f8b91aa 100644 --- a/src/Resources/MediaResource/ListMedia.php +++ b/src/Resources/MediaResource/ListMedia.php @@ -56,7 +56,7 @@ public function getHeaderActions(): array ->action(function ($livewire): void { $livewire->dispatch('changeLayoutView'); }), - MultiUploadAction::make(), + MultiUploadAction::make()->translateLabel(), CreateAction::make() ->label(fn(): string => __('filament-actions::create.single.label', ['label' => CuratorPlugin::get()->getLabel()])), ];