2016-03-25 01:18:05 -07:00
< ? php
2021-06-10 13:15:52 -07:00
return [
2016-03-25 01:18:05 -07:00
'does_not_exist' => 'Model does not exist.' ,
'assoc_users' => 'This model is currently associated with one or more assets and cannot be deleted. Please delete the assets, and then try deleting again. ' ,
2021-06-10 13:15:52 -07:00
'create' => [
2016-03-25 01:18:05 -07:00
'error' => 'Model was not created, please try again.' ,
'success' => 'Model created successfully.' ,
'duplicate_set' => 'An asset model with that name, manufacturer and model number already exists.' ,
2021-06-10 13:15:52 -07:00
],
2016-03-25 01:18:05 -07:00
2021-06-10 13:15:52 -07:00
'update' => [
2016-03-25 01:18:05 -07:00
'error' => 'Model was not updated, please try again' ,
2021-06-10 13:15:52 -07:00
'success' => 'Model updated successfully.' ,
],
2016-03-25 01:18:05 -07:00
2021-06-10 13:15:52 -07:00
'delete' => [
2016-03-25 01:18:05 -07:00
'confirm' => 'Are you sure you wish to delete this asset model?' ,
'error' => 'There was an issue deleting the model. Please try again.' ,
2021-06-10 13:15:52 -07:00
'success' => 'The model was deleted successfully.' ,
],
2016-03-25 01:18:05 -07:00
2021-06-10 13:15:52 -07:00
'restore' => [
2016-03-25 01:18:05 -07:00
'error' => 'Model was not restored, please try again' ,
2021-06-10 13:15:52 -07:00
'success' => 'Model restored successfully.' ,
],
2016-03-25 01:18:05 -07:00
2021-06-10 13:15:52 -07:00
'bulkedit' => [
2017-07-07 13:14:51 -07:00
'error' => 'No fields were changed, so nothing was updated.' ,
2021-06-10 13:15:52 -07:00
'success' => 'Models updated.' ,
],
2017-07-07 13:14:51 -07:00
2021-06-10 13:15:52 -07:00
'bulkdelete' => [
2017-12-12 09:20:57 -08:00
'error' => 'No models were selected, so nothing was deleted.' ,
'success' => ':success_count model(s) deleted!' ,
2021-06-10 13:15:52 -07:00
'success_partial' => ':success_count model(s) were deleted, however :fail_count were unable to be deleted because they still have assets associated with them.' ,
],
2017-12-12 09:20:57 -08:00
2021-06-10 13:15:52 -07:00
];