Language string for nothing updated on bulk update

This commit is contained in:
snipe
2015-02-16 18:27:27 -08:00
parent e02bea4275
commit 7b331b26d3
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -853,7 +853,7 @@ class AssetsController extends AdminController
// no values given, nothing to update
} else {
return Redirect::to("hardware")->with('info','Nothing was updated');
return Redirect::to("hardware")->with('info',Lang::get('admin/hardware/message.update.nothing_updated'));
}
+3 -2
View File
@@ -13,8 +13,9 @@ return array(
),
'update' => array(
'error' => 'Asset was not updated, please try again',
'success' => 'Asset updated successfully.'
'error' => 'Asset was not updated, please try again',
'success' => 'Asset updated successfully.',
'nothing_updated' => 'No fields were selected, so nothing was updated.',
),
'restore' => array(