Filament\Actions\ExportAction and Filament\Actions\ImportAction doesn't respect $modelLabel defined in Resource class.
Expected behavior
To produce the same result as Filament\Tables\Actions\ExportBulkAction, Filament\Tables\Actions\ExportAction and Filament\Tables\Actions\ImportAction.
Steps to reproduce
Install filament-demo as usual, app is set to Spanish to show malformed labels.
For Filament\Actions\ExportAction:
Go to http://127.0.0.1:8000/shop/products/brands, select some records for bulkActions, see produced exporter labels, "Exportar brands" should be "Exportar marcas", same as labels generated by Filament\Tables\Actions\ExportBulkAction and Filament\Tables\Actions\ExportAction.
For Filament\Actions\ImportAction
Go to http://127.0.0.1:8000/shop/products/categories, see produced importer labels, "Importar categories" should be "Importar categorías", same as label generated by Filament\Tables\Actions\ImportAction.
Reproduction repository (issue will be closed if this is not valid)
Package
filament/actions
Package Version
v3.2.95
Laravel Version
v11.16.0
Livewire Version
v3.5.4
PHP Version
PHP 8.3.6
Problem description
Filament\Actions\ExportAction
andFilament\Actions\ImportAction
doesn't respect $modelLabel defined in Resource class.Expected behavior
To produce the same result as
Filament\Tables\Actions\ExportBulkAction
,Filament\Tables\Actions\ExportAction
andFilament\Tables\Actions\ImportAction
.Steps to reproduce
Install filament-demo as usual, app is set to Spanish to show malformed labels.
For
Filament\Actions\ExportAction
:Go to http://127.0.0.1:8000/shop/products/brands, select some records for bulkActions, see produced exporter labels, "Exportar brands" should be "Exportar marcas", same as labels generated by
Filament\Tables\Actions\ExportBulkAction
andFilament\Tables\Actions\ExportAction
.For
Filament\Actions\ImportAction
Go to http://127.0.0.1:8000/shop/products/categories, see produced importer labels, "Importar categories" should be "Importar categorías", same as label generated by
Filament\Tables\Actions\ImportAction
.Reproduction repository (issue will be closed if this is not valid)
https://github.com/ayrtonandino/filament-exporter-importer-bug
Relevant log output
No response
Donate 💰 to fund this issue