translate base

This commit is contained in:
Mekan1206
2026-07-31 18:08:08 +05:00
parent a794dacd39
commit 581cb8241c
413 changed files with 9087 additions and 428 deletions

View File

@@ -18,7 +18,7 @@ class ExportExcelAction
public static function make(string $name, string $exportClass, string $filename): Action
{
return Action::make($name)
->label('Export')
->label(__('hr.actions.export'))
->icon('heroicon-o-arrow-down-tray')
->action(fn (): BinaryFileResponse => Excel::download(new $exportClass, $filename));
}
@@ -29,7 +29,7 @@ class ExportExcelAction
public static function bulk(string $name, string $exportClass, string $filename): BulkAction
{
return BulkAction::make($name)
->label('Export Selected')
->label(__('hr.actions.export_selected'))
->icon('heroicon-o-arrow-down-tray')
->action(function (Collection $records) use ($exportClass, $filename): BinaryFileResponse {
$ids = $records->pluck('id')->all();