diff --git a/resources/lang/en/admin/departments/message.php b/resources/lang/en/admin/departments/message.php new file mode 100644 index 0000000000..d65f4fbb2b --- /dev/null +++ b/resources/lang/en/admin/departments/message.php @@ -0,0 +1,21 @@ + 'Department does not exist.', + 'assoc_users' => 'This department is currently associated with at least one user and cannot be deleted. Please update your users to no longer reference this department and try again. ', + 'create' => array( + 'error' => 'Department was not created, please try again.', + 'success' => 'Department created successfully.' + ), + 'update' => array( + 'error' => 'Department was not updated, please try again', + 'success' => 'Department updated successfully.' + ), + 'delete' => array( + 'confirm' => 'Are you sure you wish to delete this department?', + 'error' => 'There was an issue deleting the department. Please try again.', + 'success' => 'The department was deleted successfully.' + ) + +); diff --git a/resources/lang/en/admin/departments/table.php b/resources/lang/en/admin/departments/table.php new file mode 100644 index 0000000000..76494247be --- /dev/null +++ b/resources/lang/en/admin/departments/table.php @@ -0,0 +1,11 @@ + 'ID', + 'name' => 'Department Name', + 'manager' => 'Manager', + 'location' => 'Location', + 'create' => 'Create Department', + 'update' => 'Update Department', + ); diff --git a/resources/lang/en/general.php b/resources/lang/en/general.php index a3422a7f91..16316ca2ad 100644 --- a/resources/lang/en/general.php +++ b/resources/lang/en/general.php @@ -57,6 +57,8 @@ 'delete' => 'Delete', 'deleted' => 'Deleted', 'delete_seats' => 'Deleted Seats', + 'departments' => 'Departments', + 'department' => 'Department', 'deployed' => 'Deployed', 'depreciation_report' => 'Depreciation Report', 'download' => 'Download', @@ -142,6 +144,7 @@ 'select' => 'Select', 'search' => 'Search', 'select_category' => 'Select a Category', + 'select_department' => 'Select a Department', 'select_depreciation' => 'Select a Depreciation Type', 'select_location' => 'Select a Location', 'select_manufacturer' => 'Select a Manufacturer',