2018-03-22 20:01:45 -07:00
< ? php
2021-06-10 13:15:52 -07:00
return [
2018-03-22 20:01:45 -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' => [
2018-03-22 20:01:45 -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
],
2018-03-22 20:01:45 -07:00
2021-06-10 13:15:52 -07:00
'update' => [
2018-03-22 20:01:45 -07:00
'error' => 'Model was not updated, please try again' ,
2021-06-10 13:15:52 -07:00
'success' => 'Model updated successfully.' ,
],
2018-03-22 20:01:45 -07:00
2021-06-10 13:15:52 -07:00
'delete' => [
2018-03-22 20:01:45 -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.' ,
],
2018-03-22 20:01:45 -07:00
2021-06-10 13:15:52 -07:00
'restore' => [
2018-03-22 20:01:45 -07:00
'error' => 'Model was not restored, please try again' ,
2021-06-10 13:15:52 -07:00
'success' => 'Model restored successfully.' ,
],
2018-03-22 20:01:45 -07:00
2021-06-10 13:15:52 -07:00
'bulkedit' => [
2018-03-22 20:01:45 -07:00
'error' => 'No fields were changed, so nothing was updated.' ,
2021-06-10 13:15:52 -07:00
'success' => 'Models updated.' ,
],
2018-03-22 20:01:45 -07:00
2021-06-10 13:15:52 -07:00
'bulkdelete' => [
2018-03-22 20:01:45 -07: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.' ,
],
2018-03-22 20:01:45 -07:00
2021-06-10 13:15:52 -07:00
];