mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-11 08:04:09 -08:00
934afa036f
Shift automatically applies the Laravel coding style - which uses the PSR-2 coding style as a base with some minor additions. You may customize the adopted coding style by adding your own [PHP CS Fixer][1] `.php_cs` config file to your project root. Feel free to use [Shift's Laravel ruleset][2] to help you get started. [1]: https://github.com/FriendsOfPHP/PHP-CS-Fixer [2]: https://gist.github.com/laravel-shift/cab527923ed2a109dda047b97d53c200
42 lines
1.5 KiB
PHP
42 lines
1.5 KiB
PHP
<?php
|
|
|
|
return [
|
|
|
|
'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. ',
|
|
|
|
'create' => [
|
|
'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.',
|
|
],
|
|
|
|
'update' => [
|
|
'error' => 'Model was not updated, please try again',
|
|
'success' => 'Model updated successfully.',
|
|
],
|
|
|
|
'delete' => [
|
|
'confirm' => 'Are you sure you wish to delete this asset model?',
|
|
'error' => 'There was an issue deleting the model. Please try again.',
|
|
'success' => 'The model was deleted successfully.',
|
|
],
|
|
|
|
'restore' => [
|
|
'error' => 'Model was not restored, please try again',
|
|
'success' => 'Model restored successfully.',
|
|
],
|
|
|
|
'bulkedit' => [
|
|
'error' => 'No fields were changed, so nothing was updated.',
|
|
'success' => 'Models updated.',
|
|
],
|
|
|
|
'bulkdelete' => [
|
|
'error' => 'No models were selected, so nothing was deleted.',
|
|
'success' => ':success_count model(s) deleted!',
|
|
'success_partial' => ':success_count model(s) were deleted, however :fail_count were unable to be deleted because they still have assets associated with them.',
|
|
],
|
|
|
|
];
|