Updated contrller to use trans_choice

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2023-04-03 18:55:09 -07:00
parent 1ea813a1c5
commit 8b315a6502

View file

@ -92,7 +92,7 @@ class BulkAssetModelsController extends Controller
AssetModel::whereIn('id', $models_raw_array)->update($update_array);
return redirect()->route('models.index')
->with('success', trans('admin/models/message.bulkedit.success'));
->with('success', trans_choice('admin/models/message.bulkedit.success', count($models_raw_array), ['model_count' => count($models_raw_array)]));
}
return redirect()->route('models.index')