mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-14 01:24:06 -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
27 lines
1.2 KiB
PHP
27 lines
1.2 KiB
PHP
<?php
|
|
|
|
return [
|
|
|
|
'does_not_exist' => 'Location does not exist.',
|
|
'assoc_users' => 'This location is currently associated with at least one user and cannot be deleted. Please update your users to no longer reference this location and try again. ',
|
|
'assoc_assets' => 'This location is currently associated with at least one asset and cannot be deleted. Please update your assets to no longer reference this location and try again. ',
|
|
'assoc_child_loc' => 'This location is currently the parent of at least one child location and cannot be deleted. Please update your locations to no longer reference this location and try again. ',
|
|
|
|
'create' => [
|
|
'error' => 'Location was not created, please try again.',
|
|
'success' => 'Location created successfully.',
|
|
],
|
|
|
|
'update' => [
|
|
'error' => 'Location was not updated, please try again',
|
|
'success' => 'Location updated successfully.',
|
|
],
|
|
|
|
'delete' => [
|
|
'confirm' => 'Are you sure you wish to delete this location?',
|
|
'error' => 'There was an issue deleting the location. Please try again.',
|
|
'success' => 'The location was deleted successfully.',
|
|
],
|
|
|
|
];
|