3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-02-05 00:45:35 +00:00

change translation

This commit is contained in:
spencerrlongg
2025-10-07 13:26:08 -05:00
parent b9f4dc1e9d
commit 24bb45ab97
4 changed files with 2 additions and 4 deletions

View File

@ -22,7 +22,7 @@ class BulkCategoriesController extends Controller
foreach ($request->ids as $id) {
$category = Category::find($id);
if (is_null($category)) {
$errors[] = trans('admin/categories/message.delete.not_found');
$errors[] = trans('admin/categories/message.does_not_exist');
continue;
}
try {

View File

@ -23,7 +23,7 @@ class BulkManufacturersController extends Controller
foreach ($request->ids as $id) {
$manufacturer = Manufacturer::find($id);
if (is_null($manufacturer)) {
$errors[] = trans('admin/manufacturers/message.delete.not_found');
$errors[] = trans('admin/manufacturers/message.does_not_exist');
continue;
}
try {

View File

@ -18,7 +18,6 @@ return array(
),
'delete' => array(
'not_found' => 'Category not found.',
'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.',

View File

@ -22,7 +22,6 @@ return array(
),
'delete' => array(
'not_found' => 'Manufacturer not found.',
'confirm' => 'Are you sure you wish to delete this manufacturer?',
'error' => 'There was an issue deleting the manufacturer. Please try again.',
'success' => 'The Manufacturer was deleted successfully.',