2021-09-08 13:49:33 -07:00
< ? php
2022-01-13 21:27:29 -08:00
return [
2021-09-08 13:49:33 -07:00
'undeployable' => ' < strong > Warning : </ strong > This asset has been marked as currently undeployable .
If this status has changed , please update the asset status . ' ,
'does_not_exist' => 'Asset does not exist.' ,
2024-05-15 06:21:29 -07:00
'does_not_exist_var' => 'Asset with tag :asset_tag not found.' ,
'no_tag' => 'No asset tag provided.' ,
2022-01-13 21:27:29 -08:00
'does_not_exist_or_not_requestable' => 'That asset does not exist or is not requestable.' ,
2021-09-08 13:49:33 -07:00
'assoc_users' => 'This asset is currently checked out to a user and cannot be deleted. Please check the asset in first, and then try deleting again. ' ,
2024-05-15 06:56:52 -07:00
'warning_audit_date_mismatch' => 'This asset\'s next audit date (:next_audit_date) is before the last audit date (:last_audit_date). Please update the next audit date.' ,
2021-09-08 13:49:33 -07:00
2022-01-13 21:27:29 -08:00
'create' => [
2021-09-08 13:49:33 -07:00
'error' => 'Asset was not created, please try again. :(' ,
2022-01-13 21:27:29 -08:00
'success' => 'Asset created successfully. :)' ,
2023-11-27 06:43:16 -08:00
'success_linked' => 'Asset with tag :tag was created successfully. <strong><a href=":link" style="color: white;">Click here to view</a></strong>.' ,
2022-01-13 21:27:29 -08:00
],
2021-09-08 13:49:33 -07:00
2022-01-13 21:27:29 -08:00
'update' => [
2022-05-24 15:07:14 -07:00
'error' => 'Asset was not updated, please try again' ,
'success' => 'Asset updated successfully.' ,
2024-04-15 10:46:11 -07:00
'encrypted_warning' => 'Asset updated successfully, but encrypted custom fields were not due to permissions' ,
2022-05-24 15:07:14 -07:00
'nothing_updated' => 'No fields were selected, so nothing was updated.' ,
2022-05-06 05:42:02 -07:00
'no_assets_selected' => 'No assets were selected, so nothing was updated.' ,
2024-03-07 12:30:08 -08:00
'assets_do_not_exist_or_are_invalid' => 'Selected assets cannot be updated.' ,
2022-01-13 21:27:29 -08:00
],
2021-09-08 13:49:33 -07:00
2022-01-13 21:27:29 -08:00
'restore' => [
2021-09-08 13:49:33 -07:00
'error' => 'Asset was not restored, please try again' ,
2022-01-13 21:27:29 -08:00
'success' => 'Asset restored successfully.' ,
2023-04-06 19:12:55 -07:00
'bulk_success' => 'Asset restored successfully.' ,
'nothing_updated' => 'No assets were selected, so nothing was restored.' ,
2022-01-13 21:27:29 -08:00
],
2021-09-08 13:49:33 -07:00
2022-01-13 21:27:29 -08:00
'audit' => [
2024-05-15 06:21:29 -07:00
'error' => 'Asset audit unsuccessful: :error ' ,
2022-01-13 21:27:29 -08:00
'success' => 'Asset audit successfully logged.' ,
],
2021-09-08 13:49:33 -07:00
2022-01-13 21:27:29 -08:00
'deletefile' => [
2021-09-08 13:49:33 -07:00
'error' => 'File not deleted. Please try again.' ,
'success' => 'File successfully deleted.' ,
2022-01-13 21:27:29 -08:00
],
2021-09-08 13:49:33 -07:00
2022-01-13 21:27:29 -08:00
'upload' => [
2021-09-08 13:49:33 -07:00
'error' => 'File(s) not uploaded. Please try again.' ,
'success' => 'File(s) successfully uploaded.' ,
'nofiles' => 'You did not select any files for upload, or the file you are trying to upload is too large' ,
'invalidfiles' => 'One or more of your files is too large or is a filetype that is not allowed. Allowed filetypes are png, gif, jpg, doc, docx, pdf, and txt.' ,
2022-01-13 21:27:29 -08:00
],
2021-09-08 13:49:33 -07:00
2022-01-13 21:27:29 -08:00
'import' => [
2021-09-08 13:49:33 -07:00
'error' => 'Some items did not import correctly.' ,
'errorDetail' => 'The following Items were not imported because of errors.' ,
2022-01-13 21:27:29 -08:00
'success' => 'Your file has been imported' ,
'file_delete_success' => 'Your file has been been successfully deleted' ,
'file_delete_error' => 'The file was unable to be deleted' ,
2023-10-02 06:23:22 -07:00
'file_missing' => 'The file selected is missing' ,
2024-07-17 16:28:26 -07:00
'file_already_deleted' => 'The file selected was already deleted' ,
2023-02-21 03:54:55 -08:00
'header_row_has_malformed_characters' => 'One or more attributes in the header row contain malformed UTF-8 characters' ,
'content_row_has_malformed_characters' => 'One or more attributes in the first row of content contain malformed UTF-8 characters' ,
2022-01-13 21:27:29 -08:00
],
2021-09-08 13:49:33 -07:00
2022-01-13 21:27:29 -08:00
'delete' => [
2021-09-08 13:49:33 -07:00
'confirm' => 'Are you sure you wish to delete this asset?' ,
'error' => 'There was an issue deleting the asset. Please try again.' ,
'nothing_updated' => 'No assets were selected, so nothing was deleted.' ,
2022-01-13 21:27:29 -08:00
'success' => 'The asset was deleted successfully.' ,
],
2021-09-08 13:49:33 -07:00
2022-01-13 21:27:29 -08:00
'checkout' => [
2021-09-08 13:49:33 -07:00
'error' => 'Asset was not checked out, please try again' ,
'success' => 'Asset checked out successfully.' ,
'user_does_not_exist' => 'That user is invalid. Please try again.' ,
'not_available' => 'That asset is not available for checkout!' ,
2022-01-13 21:27:29 -08:00
'no_assets_selected' => 'You must select at least one asset from the list' ,
],
2021-09-08 13:49:33 -07:00
2022-01-13 21:27:29 -08:00
'checkin' => [
2021-09-08 13:49:33 -07:00
'error' => 'Asset was not checked in, please try again' ,
'success' => 'Asset checked in successfully.' ,
'user_does_not_exist' => 'That user is invalid. Please try again.' ,
'already_checked_in' => 'That asset is already checked in.' ,
2022-01-13 21:27:29 -08:00
],
2021-09-08 13:49:33 -07:00
2022-01-13 21:27:29 -08:00
'requests' => [
2021-09-08 13:49:33 -07:00
'error' => 'Asset was not requested, please try again' ,
'success' => 'Asset requested successfully.' ,
2022-01-13 21:27:29 -08:00
'canceled' => 'Checkout request successfully canceled' ,
],
2021-09-08 13:49:33 -07:00
2022-01-13 21:27:29 -08:00
];