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
26 lines
1,007 B
PHP
26 lines
1,007 B
PHP
<?php
|
|
|
|
return [
|
|
|
|
'does_not_exist' => 'Category does not exist.',
|
|
'assoc_models' => 'This category is currently associated with at least one model and cannot be deleted. Please update your models to no longer reference this category and try again. ',
|
|
'assoc_items' => 'This category is currently associated with at least one :asset_type and cannot be deleted. Please update your :asset_type to no longer reference this category and try again. ',
|
|
|
|
'create' => [
|
|
'error' => 'Category was not created, please try again.',
|
|
'success' => 'Category created successfully.',
|
|
],
|
|
|
|
'update' => [
|
|
'error' => 'Category was not updated, please try again',
|
|
'success' => 'Category updated successfully.',
|
|
],
|
|
|
|
'delete' => [
|
|
'confirm' => 'Are you sure you wish to delete this category?',
|
|
'error' => 'There was an issue deleting the category. Please try again.',
|
|
'success' => 'The category was deleted successfully.',
|
|
],
|
|
|
|
];
|